Showing the changes to examples/all-plugins/src (1 of 75 files). Show all
Unified · Split
| @@ -33,12 +33,13 @@ import { · 32 unmodified lines | ||
| 33 | 33 | } from "@executor-js/sdk"; |
| 34 | 34 | |
| 35 | 35 | import { fileSecretsPlugin } from "@executor-js/plugin-file-secrets"; |
| 36 | −import { googlePlugin } from "@executor-js/plugin-google"; | |
| 36 | +import { googleCatalog, googleDiscoveryAdapter } from "@executor-js/plugin-google"; | |
| 37 | 37 | import { graphqlPlugin } from "@executor-js/plugin-graphql"; |
| 38 | 38 | import { keychainPlugin } from "@executor-js/plugin-keychain"; |
| 39 | 39 | import { mcpPlugin } from "@executor-js/plugin-mcp"; |
| 40 | 40 | import { onepasswordPlugin } from "@executor-js/plugin-onepassword"; |
| 41 | 41 | import { openApiPlugin, variable } from "@executor-js/plugin-openapi"; |
| 42 | +import { microsoftCatalog, microsoftGraphAdapter } from "@executor-js/plugin-microsoft"; | |
| 42 | 43 | import { workosVaultPlugin } from "@executor-js/plugin-workos-vault"; |
| 43 | 44 | |
| 44 | 45 | // --------------------------------------------------------------------------- |
| @@ -78,10 +79,12 @@ const plugins = [ · 33 unmodified lines | ||
| 78 | 79 | // Integration plugins — these declare their own schemas (tables), register |
| 79 | 80 | // integrations via their extension methods (`addSpec` / `addServer` / |
| 80 | 81 | // `addIntegration`), and produce tools per connection. |
| 81 | − googlePlugin(), | |
| 82 | 82 | graphqlPlugin(), |
| 83 | 83 | mcpPlugin({ dangerouslyAllowStdioMCP: false }), |
| 84 | − openApiPlugin(), | |
| 84 | + openApiPlugin({ | |
| 85 | + presets: [...googleCatalog, ...microsoftCatalog], | |
| 86 | + specFormats: [googleDiscoveryAdapter, microsoftGraphAdapter], | |
| 87 | + }), | |
| 85 | 88 | |
| 86 | 89 | // workos-vault is a cloud-hosted credential provider. It would contribute a |
| 87 | 90 | // "workos-vault" provider if credentials were available. We skip it here |
| @@ -418,7 +421,7 @@ const program = Effect.gen(function* () { · 330 unmodified lines | ||
| 418 | 421 | console.log(" executor.fileSecrets.filePath: ", executor.fileSecrets.filePath); |
| 419 | 422 | |
| 420 | 423 | // executor.mcp.addServer({ transport: "remote", name: "...", endpoint: "...", slug: "..." }); |
| 421 | − // executor.google.addBundle({ urls: ["..."], slug: "google" }); | |
| 424 | + // Google catalog rows are added through executor.openapi.addSpec with specFormat "google-discovery". | |
| 422 | 425 | // executor.onepassword.configure({ auth: { kind: "desktop-app", accountName: "..." }, vaultId: "..." }); |
| 423 | 426 | |
| 424 | 427 | // ------------------------------------------------------------------------- |