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
4040 "@executor/executor-mcp": "workspace:*",
4141 "@executor/plugin-google-discovery-sdk": "workspace:*",
4242 "@executor/plugin-graphql-sdk": "workspace:*",
43+ "@executor/plugin-internal-sdk": "workspace:*",
4344 "@executor/plugin-mcp-sdk": "workspace:*",
4445 "@executor/plugin-openapi-sdk": "workspace:*",
4546 "@executor/platform-api": "workspace:*",
46− "@executor/platform-internal": "workspace:*",
4747 "@executor/platform-sdk": "workspace:*",
4848 "@executor/platform-sdk-file": "workspace:*",
4949 "@executor/server": "workspace:*",
apps/executor/src/cli/main.ts+4−2
@@ -20,13 +20,15 @@ import { · 19 unmodified lines
2020 import {
2121 graphqlSdkPlugin,
2222 } from "@executor/plugin-graphql-sdk";
23+import {
24+ internalSdkPlugin,
25+} from "@executor/plugin-internal-sdk";
2326 import {
2427 mcpSdkPlugin,
2528 } from "@executor/plugin-mcp-sdk";
2629 import {
2730 openApiSdkPlugin,
2831 } from "@executor/plugin-openapi-sdk";
29−import { createWorkspaceExecutorAdminToolMap } from "@executor/platform-internal";
3032 import {
3133 getExecutorSourcesAddHelpLines,
3234 RuntimeExecutionResolverService,
@@ -303,6 +305,7 @@ const loadRunWorkflowText = (): Effect.Effect<string, Error, never> => · 270 unmodified lines
303305 localDataDir: DEFAULT_LOCAL_DATA_DIR,
304306 }),
305307 plugins: [
308+ internalSdkPlugin(),
306309 graphqlSdkPlugin({
307310 storage: createFileGraphqlSourceStorage({
308311 rootDir: `${DEFAULT_LOCAL_DATA_DIR}/plugins/graphql/sources`,
@@ -330,7 +333,6 @@ const loadRunWorkflowText = (): Effect.Effect<string, Error, never> => · 21 unmodified lines
330333 }),
331334 }),
332335 ] as const,
333− createInternalToolMap: createWorkspaceExecutorAdminToolMap,
334336 }).pipe(Effect.mapError(toError)),
335337 (executor) =>
336338 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