(provider: CredentialProvider)
| 868 | }); |
| 869 | |
| 870 | const durabilityPlugin = (provider: CredentialProvider) => |
| 871 | definePlugin(() => ({ |
| 872 | id: "durable" as const, |
| 873 | credentialProviders: [provider], |
| 874 | storage: () => ({}), |
| 875 | resolveTools: () => |
| 876 | Effect.succeed({ tools: [{ name: ToolName.make("deploy"), description: "deploy" }] }), |
| 877 | invokeTool: ({ toolRow }) => Effect.succeed({ ran: toolRow.name }), |
| 878 | extension: (ctx) => ({ |
| 879 | seed: () => |
| 880 | ctx.core.integrations.register({ slug: INTEG, description: "Vercel", config: {} }), |
| 881 | }), |
| 882 | }))(); |
| 883 | |
| 884 | /** Wrap a test `FumaDb` so deletes on the `connection` table can be made to |
| 885 | * fail on demand — the raw driver-level failure the compensating delete must |
no test coverage detected