Showing the changes to examples/all-plugins (2 of 161 files). Show all
Unified · Split
| @@ -16,6 +16,7 @@ · 15 unmodified lines | |||
| 16 | "@executor-js/plugin-onepassword": "workspace:*", | 16 | "@executor-js/plugin-onepassword": "workspace:*", |
| 17 | "@executor-js/plugin-openapi": "workspace:*", | 17 | "@executor-js/plugin-openapi": "workspace:*", |
| 18 | "@executor-js/plugin-workos-vault": "workspace:*", | 18 | "@executor-js/plugin-workos-vault": "workspace:*", |
| 19 | "@executor-js/product-access": "workspace:*", | ||
| 19 | "@executor-js/sdk": "workspace:*", | 20 | "@executor-js/sdk": "workspace:*", |
| 20 | "effect": "catalog:" | 21 | "effect": "catalog:" |
| 21 | }, | 22 | }, |
| @@ -31,6 +31,7 @@ import { · 30 unmodified lines | |||
| 31 | ToolAddress, | 31 | ToolAddress, |
| 32 | type CredentialProvider, | 32 | type CredentialProvider, |
| 33 | } from "@executor-js/sdk"; | 33 | } from "@executor-js/sdk"; |
| 34 | import { workspaceServiceAccess } from "@executor-js/product-access"; | ||
| 34 | 35 | ||
| 35 | import { fileSecretsPlugin } from "@executor-js/plugin-file-secrets"; | 36 | import { fileSecretsPlugin } from "@executor-js/plugin-file-secrets"; |
| 36 | import { | 37 | import { |
| @@ -192,6 +193,8 @@ const program = Effect.gen(function* () { · 155 unmodified lines | |||
| 192 | 193 | ||
| 193 | const executor = yield* createExecutor({ | 194 | const executor = yield* createExecutor({ |
| 194 | tenant: Tenant.make("example-tenant"), | 195 | tenant: Tenant.make("example-tenant"), |
| 196 | // Subject-less single-workspace example: org partition, writes allowed. | ||
| 197 | access: workspaceServiceAccess(), | ||
| 195 | plugins, | 198 | plugins, |
| 196 | providers: [memoryProvider], | 199 | providers: [memoryProvider], |
| 197 | onElicitation: "accept-all" as const, | 200 | onElicitation: "accept-all" as const, |