History

Move Google discovery ownership out of OpenAPI

Rhys Sullivan committed 4 months ago

Commit ba657e31 parent ecf7b3d43 files · +2209 −2876Browse files

Showing the changes to examples/all-plugins/src (1 of 43 files). Show all

Unified · Split

examples/all-plugins/src/main.ts+3−1
@@ -33,6 +33,7 @@ import { · 32 unmodified lines
3333 } from "@executor-js/sdk";
3434
3535 import { fileSecretsPlugin } from "@executor-js/plugin-file-secrets";
36+import { googlePlugin } from "@executor-js/plugin-google";
3637 import { graphqlPlugin } from "@executor-js/plugin-graphql";
3738 import { keychainPlugin } from "@executor-js/plugin-keychain";
3839 import { mcpPlugin } from "@executor-js/plugin-mcp";
@@ -77,6 +78,7 @@ const plugins = [ · 38 unmodified lines
7778 // Integration plugins — these declare their own schemas (tables), register
7879 // integrations via their extension methods (`addSpec` / `addServer` /
7980 // `addIntegration`), and produce tools per connection.
81+ googlePlugin(),
8082 graphqlPlugin(),
8183 mcpPlugin({ dangerouslyAllowStdioMCP: false }),
8284 openApiPlugin(),
@@ -416,7 +418,7 @@ const program = Effect.gen(function* () { · 333 unmodified lines
416418 console.log(" executor.fileSecrets.filePath: ", executor.fileSecrets.filePath);
417419
418420 // executor.mcp.addServer({ transport: "remote", name: "...", endpoint: "...", slug: "..." });
419− // executor.openapi.addSpec({ spec: { kind: "googleDiscovery", url: "..." }, slug: "..." });
421+ // executor.google.addBundle({ urls: ["..."], slug: "google" });
420422 // executor.onepassword.configure({ auth: { kind: "desktop-app", accountName: "..." }, vaultId: "..." });
421423
422424 // -------------------------------------------------------------------------