History

disable admin tools

Rhys Sullivan committed 7 months ago

Commit f2797e51 parent f2a7b1116 files · +43 −909Browse files

Showing the changes to apps (2 of 16 files). Show all

Unified · Split

2 files
  1. apps/executor/package.json +1 −1
  2. apps/executor/src/cli/main.ts +4 −2
apps/executor/package.json+1−1
@@ -40,10 +40,10 @@ · 39 unmodified lines
40 "@executor/executor-mcp": "workspace:*",40 "@executor/executor-mcp": "workspace:*",
41 "@executor/plugin-google-discovery-sdk": "workspace:*",41 "@executor/plugin-google-discovery-sdk": "workspace:*",
42 "@executor/plugin-graphql-sdk": "workspace:*",42 "@executor/plugin-graphql-sdk": "workspace:*",
43 "@executor/plugin-internal-sdk": "workspace:*",
43 "@executor/plugin-mcp-sdk": "workspace:*",44 "@executor/plugin-mcp-sdk": "workspace:*",
44 "@executor/plugin-openapi-sdk": "workspace:*",45 "@executor/plugin-openapi-sdk": "workspace:*",
45 "@executor/platform-api": "workspace:*",46 "@executor/platform-api": "workspace:*",
46 "@executor/platform-internal": "workspace:*",
47 "@executor/platform-sdk": "workspace:*",47 "@executor/platform-sdk": "workspace:*",
48 "@executor/platform-sdk-file": "workspace:*",48 "@executor/platform-sdk-file": "workspace:*",
49 "@executor/server": "workspace:*",49 "@executor/server": "workspace:*",
apps/executor/src/cli/main.ts+4−2
@@ -20,13 +20,15 @@ import { · 19 unmodified lines
20import {20import {
21 graphqlSdkPlugin,21 graphqlSdkPlugin,
22} from "@executor/plugin-graphql-sdk";22} from "@executor/plugin-graphql-sdk";
23import {
24 internalSdkPlugin,
25} from "@executor/plugin-internal-sdk";
23import {26import {
24 mcpSdkPlugin,27 mcpSdkPlugin,
25} from "@executor/plugin-mcp-sdk";28} from "@executor/plugin-mcp-sdk";
26import {29import {
27 openApiSdkPlugin,30 openApiSdkPlugin,
28} from "@executor/plugin-openapi-sdk";31} from "@executor/plugin-openapi-sdk";
29import { createWorkspaceExecutorAdminToolMap } from "@executor/platform-internal";
30import {32import {
31 getExecutorSourcesAddHelpLines,33 getExecutorSourcesAddHelpLines,
32 RuntimeExecutionResolverService,34 RuntimeExecutionResolverService,
@@ -303,6 +305,7 @@ const loadRunWorkflowText = (): Effect.Effect<string, Error, never> => · 270 unmodified lines
303 localDataDir: DEFAULT_LOCAL_DATA_DIR,305 localDataDir: DEFAULT_LOCAL_DATA_DIR,
304 }),306 }),
305 plugins: [307 plugins: [
308 internalSdkPlugin(),
306 graphqlSdkPlugin({309 graphqlSdkPlugin({
307 storage: createFileGraphqlSourceStorage({310 storage: createFileGraphqlSourceStorage({
308 rootDir: `${DEFAULT_LOCAL_DATA_DIR}/plugins/graphql/sources`,311 rootDir: `${DEFAULT_LOCAL_DATA_DIR}/plugins/graphql/sources`,
@@ -330,7 +333,6 @@ const loadRunWorkflowText = (): Effect.Effect<string, Error, never> => · 21 unmodified lines
330 }),333 }),
331 }),334 }),
332 ] as const,335 ] as const,
333 createInternalToolMap: createWorkspaceExecutorAdminToolMap,
334 }).pipe(Effect.mapError(toError)),336 }).pipe(Effect.mapError(toError)),
335 (executor) =>337 (executor) =>
336 Effect.gen(function* () {338 Effect.gen(function* () {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t