(provider: CredentialProvider)
| 603 | }); |
| 604 | |
| 605 | const durabilityPlugin = (provider: CredentialProvider) => |
| 606 | definePlugin(() => ({ |
| 607 | id: "durable" as const, |
| 608 | credentialProviders: [provider], |
| 609 | storage: () => ({}), |
| 610 | resolveTools: () => |
| 611 | Effect.succeed({ tools: [{ name: ToolName.make("deploy"), description: "deploy" }] }), |
| 612 | invokeTool: ({ toolRow }) => Effect.succeed({ ran: toolRow.name }), |
| 613 | extension: (ctx) => ({ |
| 614 | seed: () => |
| 615 | ctx.core.integrations.register({ slug: INTEG, description: "Vercel", config: {} }), |
| 616 | }), |
| 617 | }))(); |
| 618 | |
| 619 | /** Wrap a test `FumaDb` so deletes on the `connection` table can be made to |
| 620 | * fail on demand — the raw driver-level failure the compensating delete must |
no test coverage detected