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
33} from "@executor-js/sdk";33} from "@executor-js/sdk";
34 34
35import { fileSecretsPlugin } from "@executor-js/plugin-file-secrets";35import { fileSecretsPlugin } from "@executor-js/plugin-file-secrets";
36import { googlePlugin } from "@executor-js/plugin-google";
36import { graphqlPlugin } from "@executor-js/plugin-graphql";37import { graphqlPlugin } from "@executor-js/plugin-graphql";
37import { keychainPlugin } from "@executor-js/plugin-keychain";38import { keychainPlugin } from "@executor-js/plugin-keychain";
38import { mcpPlugin } from "@executor-js/plugin-mcp";39import { mcpPlugin } from "@executor-js/plugin-mcp";
@@ -77,6 +78,7 @@ const plugins = [ · 38 unmodified lines
77 // Integration plugins — these declare their own schemas (tables), register78 // Integration plugins — these declare their own schemas (tables), register
78 // integrations via their extension methods (`addSpec` / `addServer` /79 // integrations via their extension methods (`addSpec` / `addServer` /
79 // `addIntegration`), and produce tools per connection.80 // `addIntegration`), and produce tools per connection.
81 googlePlugin(),
80 graphqlPlugin(),82 graphqlPlugin(),
81 mcpPlugin({ dangerouslyAllowStdioMCP: false }),83 mcpPlugin({ dangerouslyAllowStdioMCP: false }),
82 openApiPlugin(),84 openApiPlugin(),
@@ -416,7 +418,7 @@ const program = Effect.gen(function* () { · 333 unmodified lines
416 console.log(" executor.fileSecrets.filePath: ", executor.fileSecrets.filePath);418 console.log(" executor.fileSecrets.filePath: ", executor.fileSecrets.filePath);
417 419
418 // executor.mcp.addServer({ transport: "remote", name: "...", endpoint: "...", slug: "..." });420 // executor.mcp.addServer({ transport: "remote", name: "...", endpoint: "...", slug: "..." });
419 // executor.openapi.addSpec({ spec: { kind: "googleDiscovery", url: "..." }, slug: "..." });421 // executor.google.addBundle({ urls: ["..."], slug: "google" });
420 // executor.onepassword.configure({ auth: { kind: "desktop-app", accountName: "..." }, vaultId: "..." });422 // executor.onepassword.configure({ auth: { kind: "desktop-app", accountName: "..." }, vaultId: "..." });
421 423
422 // -------------------------------------------------------------------------424 // -------------------------------------------------------------------------