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 | } from "@executor-js/sdk"; | 33 | } from "@executor-js/sdk"; |
| 34 | 34 | ||
| 35 | import { fileSecretsPlugin } from "@executor-js/plugin-file-secrets"; | 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 | import { graphqlPlugin } from "@executor-js/plugin-graphql"; | 37 | import { graphqlPlugin } from "@executor-js/plugin-graphql"; |
| 38 | import { keychainPlugin } from "@executor-js/plugin-keychain"; | 38 | import { keychainPlugin } from "@executor-js/plugin-keychain"; |
| 39 | import { mcpPlugin } from "@executor-js/plugin-mcp"; | 39 | import { mcpPlugin } from "@executor-js/plugin-mcp"; |
| 40 | import { onepasswordPlugin } from "@executor-js/plugin-onepassword"; | 40 | import { onepasswordPlugin } from "@executor-js/plugin-onepassword"; |
| 41 | import { openApiPlugin, variable } from "@executor-js/plugin-openapi"; | 41 | import { openApiPlugin, variable } from "@executor-js/plugin-openapi"; |
| 42 | import { microsoftCatalog, microsoftGraphAdapter } from "@executor-js/plugin-microsoft"; | ||
| 42 | import { workosVaultPlugin } from "@executor-js/plugin-workos-vault"; | 43 | import { workosVaultPlugin } from "@executor-js/plugin-workos-vault"; |
| 43 | 44 | ||
| 44 | // --------------------------------------------------------------------------- | 45 | // --------------------------------------------------------------------------- |
| @@ -78,10 +79,12 @@ const plugins = [ · 33 unmodified lines | |||
| 78 | // Integration plugins — these declare their own schemas (tables), register | 79 | // Integration plugins — these declare their own schemas (tables), register |
| 79 | // integrations via their extension methods (`addSpec` / `addServer` / | 80 | // integrations via their extension methods (`addSpec` / `addServer` / |
| 80 | // `addIntegration`), and produce tools per connection. | 81 | // `addIntegration`), and produce tools per connection. |
| 81 | googlePlugin(), | ||
| 82 | graphqlPlugin(), | 82 | graphqlPlugin(), |
| 83 | mcpPlugin({ dangerouslyAllowStdioMCP: false }), | 83 | mcpPlugin({ dangerouslyAllowStdioMCP: false }), |
| 84 | openApiPlugin(), | 84 | openApiPlugin({ |
| 85 | presets: [...googleCatalog, ...microsoftCatalog], | ||
| 86 | specFormats: [googleDiscoveryAdapter, microsoftGraphAdapter], | ||
| 87 | }), | ||
| 85 | 88 | ||
| 86 | // workos-vault is a cloud-hosted credential provider. It would contribute a | 89 | // workos-vault is a cloud-hosted credential provider. It would contribute a |
| 87 | // "workos-vault" provider if credentials were available. We skip it here | 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 | console.log(" executor.fileSecrets.filePath: ", executor.fileSecrets.filePath); | 421 | console.log(" executor.fileSecrets.filePath: ", executor.fileSecrets.filePath); |
| 419 | 422 | ||
| 420 | // executor.mcp.addServer({ transport: "remote", name: "...", endpoint: "...", slug: "..." }); | 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 | // executor.onepassword.configure({ auth: { kind: "desktop-app", accountName: "..." }, vaultId: "..." }); | 425 | // executor.onepassword.configure({ auth: { kind: "desktop-app", accountName: "..." }, vaultId: "..." }); |
| 423 | 426 | ||
| 424 | // ------------------------------------------------------------------------- | 427 | // ------------------------------------------------------------------------- |