feat(release): publish execution, cli, and kernel packages to npm
Showing the changes to apps (6 of 35 files). Show all
Unified · Split
| @@ -41,6 +41,7 @@ import * as Cause from "effect/Cause"; · 40 unmodified lines | ||
| 41 | 41 | |
| 42 | 42 | import { ExecutorApi } from "@executor/api"; |
| 43 | 43 | import { startServer, runMcpStdioServer, getExecutor } from "@executor/local"; |
| 44 | +import { makeQuickJsExecutor } from "@executor/runtime-quickjs"; | |
| 44 | 45 | |
| 45 | 46 | // Embedded web UI — baked into compiled binaries via `with { type: "file" }` |
| 46 | 47 | import embeddedWebUI from "./embedded-web-ui.gen"; |
| @@ -154,7 +155,9 @@ const runForegroundSession = (input: { · 107 unmodified lines | ||
| 154 | 155 | const runStdioMcpSession = () => |
| 155 | 156 | Effect.gen(function* () { |
| 156 | 157 | const executor = yield* Effect.promise(() => getExecutor()); |
| 157 | − yield* Effect.promise(() => runMcpStdioServer({ executor })); | |
| 158 | + yield* Effect.promise(() => | |
| 159 | + runMcpStdioServer({ executor, codeExecutor: makeQuickJsExecutor() }), | |
| 160 | + ); | |
| 158 | 161 | }); |
| 159 | 162 | |
| 160 | 163 | // --------------------------------------------------------------------------- |
| @@ -38,6 +38,7 @@ · 37 unmodified lines | ||
| 38 | 38 | "@executor/plugin-workos-vault": "workspace:*", |
| 39 | 39 | "@executor/react": "workspace:*", |
| 40 | 40 | "@executor/runtime-dynamic-worker": "workspace:*", |
| 41 | + "@executor/runtime-quickjs": "workspace:*", | |
| 41 | 42 | "@executor/sdk": "workspace:*", |
| 42 | 43 | "@executor/storage-core": "workspace:*", |
| 43 | 44 | "@executor/storage-postgres": "workspace:*", |
| @@ -23,6 +23,7 @@ import type { ClientCapabilities } from "@modelcontextprotocol/sdk/types.js"; · 22 unmodified lines | ||
| 23 | 23 | |
| 24 | 24 | import { createExecutorMcpServer } from "@executor/host-mcp"; |
| 25 | 25 | import { createExecutionEngine } from "@executor/execution"; |
| 26 | +import { makeQuickJsExecutor } from "@executor/runtime-quickjs"; | |
| 26 | 27 | import { |
| 27 | 28 | ElicitationResponse, |
| 28 | 29 | FormElicitation, |
| @@ -134,7 +135,7 @@ const openSession = ( · 105 unmodified lines | ||
| 134 | 135 | Effect.acquireRelease( |
| 135 | 136 | Effect.gen(function* () { |
| 136 | 137 | const executor = yield* buildScopedExecutor(orgId, `Org ${orgId}`, options); |
| 137 | − const engine = createExecutionEngine({ executor }); | |
| 138 | + const engine = createExecutionEngine({ executor, codeExecutor: makeQuickJsExecutor() }); | |
| 138 | 139 | const mcpServer = yield* Effect.promise(() => createExecutorMcpServer({ engine })); |
| 139 | 140 | const [clientTransport, serverTransport] = InMemoryTransport.createLinkedPair(); |
| 140 | 141 | const client = new Client( |
| @@ -31,6 +31,7 @@ import { · 30 unmodified lines | ||
| 31 | 31 | ExecutorService, |
| 32 | 32 | } from "@executor/api/server"; |
| 33 | 33 | import { createExecutionEngine } from "@executor/execution"; |
| 34 | +import { makeQuickJsExecutor } from "@executor/runtime-quickjs"; | |
| 34 | 35 | import { |
| 35 | 36 | Scope, |
| 36 | 37 | ScopeId, |
| @@ -215,7 +216,7 @@ const TestApiLive = HttpApiBuilder.api(ProtectedCloudApi).pipe( · 178 unmodified lines | ||
| 215 | 216 | const buildAppForScope = (scopeId: string, scopeName: string) => |
| 216 | 217 | Effect.gen(function* () { |
| 217 | 218 | const executor = yield* createTestScopedExecutor(scopeId, scopeName); |
| 218 | − const engine = createExecutionEngine({ executor }); | |
| 219 | + const engine = createExecutionEngine({ executor, codeExecutor: makeQuickJsExecutor() }); | |
| 219 | 220 | const services = Layer.mergeAll( |
| 220 | 221 | Layer.succeed(ExecutorService, executor), |
| 221 | 222 | Layer.succeed(ExecutionEngineService, engine), |
| @@ -33,6 +33,7 @@ · 32 unmodified lines | ||
| 33 | 33 | "@executor/plugin-onepassword": "workspace:*", |
| 34 | 34 | "@executor/plugin-openapi": "workspace:*", |
| 35 | 35 | "@executor/react": "workspace:*", |
| 36 | + "@executor/runtime-quickjs": "workspace:*", | |
| 36 | 37 | "@executor/sdk": "workspace:*", |
| 37 | 38 | "@executor/storage-file": "workspace:*", |
| 38 | 39 | "@modelcontextprotocol/sdk": "^1.12.1", |
| @@ -10,6 +10,7 @@ import { Context, Effect, Layer, ManagedRuntime } from "effect"; · 9 unmodified lines | ||
| 10 | 10 | import { addGroup } from "@executor/api"; |
| 11 | 11 | import { CoreHandlers, ExecutorService, ExecutionEngineService } from "@executor/api/server"; |
| 12 | 12 | import { createExecutionEngine } from "@executor/execution"; |
| 13 | +import { makeQuickJsExecutor } from "@executor/runtime-quickjs"; | |
| 13 | 14 | import { |
| 14 | 15 | OpenApiGroup, |
| 15 | 16 | OpenApiHandlers, |
| @@ -78,7 +79,7 @@ const closeServerHandlers = async (handlers: ServerHandlers): Promise<void> => { · 62 unmodified lines | ||
| 78 | 79 | |
| 79 | 80 | export const createServerHandlers = async (): Promise<ServerHandlers> => { |
| 80 | 81 | const executor = await getExecutor(); |
| 81 | − const engine = createExecutionEngine({ executor }); | |
| 82 | + const engine = createExecutionEngine({ executor, codeExecutor: makeQuickJsExecutor() }); | |
| 82 | 83 | |
| 83 | 84 | const pluginExtensions = Layer.mergeAll( |
| 84 | 85 | Layer.succeed(OpenApiExtensionService, executor.openapi), |