executor 1.1.9 → 1.1.10-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -7
- package/bin/emscripten-module.wasm +0 -0
- package/bin/executor.mjs +367034 -157926
- package/bin/impl/edit.js +201 -0
- package/bin/impl/format.js +275 -0
- package/bin/impl/parser.js +682 -0
- package/bin/impl/scanner.js +456 -0
- package/bin/impl/string-intern.js +42 -0
- package/bin/openapi-extractor-wasm/openapi_extractor_bg.wasm +0 -0
- package/package.json +1 -4
- package/resources/web/assets/__vite-browser-external-BIHI7g3E.js +1 -0
- package/resources/web/assets/{highlighted-body-TPN3WLV5-D2YQWXND.js → highlighted-body-TPN3WLV5-CNtoUE2O.js} +1 -1
- package/resources/web/assets/{index-BnjZoxRo.js → index-Dyhx5qgf.js} +2 -2
- package/resources/web/assets/mermaid-O7DHMXV3-CfqEcqYS.js +658 -0
- package/resources/web/assets/mermaid-O7DHMXV3-D1toCiZx.css +1 -0
- package/resources/web/assets/openapi_extractor_bg-IMRXzuHp.wasm +0 -0
- package/resources/web/index.html +1 -1
- package/bin/pglite.data +0 -0
- package/bin/pglite.wasm +0 -0
- package/bin/postinstall.js +0 -38
- package/resources/migrations/20260306091536_abnormal_martin_li/migration.sql +0 -158
- package/resources/migrations/20260306091536_abnormal_martin_li/snapshot.json +0 -1937
- package/resources/migrations/20260306094249_large_giant_girl/migration.sql +0 -39
- package/resources/migrations/20260306094249_large_giant_girl/snapshot.json +0 -2425
- package/resources/migrations/20260307090915_blue_bullseye/migration.sql +0 -70
- package/resources/migrations/20260307090915_blue_bullseye/snapshot.json +0 -3122
- package/resources/migrations/20260307134000_openapi_tool_identity/migration.sql +0 -37
- package/resources/migrations/20260307152000_source_document_text/migration.sql +0 -1
- package/resources/migrations/20260308041000_credentials_model/migration.sql +0 -41
- package/resources/migrations/20260308120000_search_and_indexes/migration.sql +0 -16
- package/resources/migrations/20260308140000_secret_materials_name/migration.sql +0 -1
- package/resources/migrations/20260309103000_policy_scope_and_interaction_purpose/migration.sql +0 -17
- package/resources/web/assets/mermaid-O7DHMXV3-37jaM6li.js +0 -393
- package/resources/web/assets/mermaid-O7DHMXV3-DgCU8P81.css +0 -1
- package/resources/web/assets/openapi_extractor_bg-DZrbVm4x.wasm +0 -0
package/README.md
CHANGED
|
@@ -228,7 +228,7 @@ At a high level, every execution follows the same loop:
|
|
|
228
228
|
|
|
229
229
|
1. `executor` resolves the current local installation and workspace.
|
|
230
230
|
2. It builds a tool catalog from built-in tools plus all connected workspace sources.
|
|
231
|
-
3. It runs your TypeScript inside the
|
|
231
|
+
3. It runs your TypeScript inside the QuickJS sandbox runtime by default.
|
|
232
232
|
4. Tool calls are dispatched through `executor` rather than directly from your code.
|
|
233
233
|
5. If a tool needs interaction, the run pauses and records a pending interaction.
|
|
234
234
|
6. Once the interaction is resolved, the execution continues and eventually completes or fails.
|
|
@@ -280,18 +280,16 @@ The server also maintains local PID and log files in its runtime directory.
|
|
|
280
280
|
|
|
281
281
|
## Persistence and data
|
|
282
282
|
|
|
283
|
-
`executor` persists the local control plane to
|
|
284
|
-
|
|
285
|
-
By default it uses embedded PGlite for a local install, which keeps the product self-contained. If you provide a Postgres URL, the persistence layer can target real Postgres instead.
|
|
283
|
+
`executor` persists the local control plane to local files.
|
|
286
284
|
|
|
287
285
|
Persisted concepts include:
|
|
288
286
|
|
|
289
|
-
-
|
|
290
|
-
- organizations and workspaces provisioned for that install
|
|
287
|
+
- local installation identity
|
|
291
288
|
- connected sources
|
|
292
289
|
- indexed tool artifacts and related metadata
|
|
293
290
|
- credentials and secret material bindings
|
|
294
291
|
- source auth sessions
|
|
292
|
+
- execution and interaction state
|
|
295
293
|
- executions and execution interactions
|
|
296
294
|
- policies
|
|
297
295
|
|
|
@@ -319,10 +317,22 @@ If you are exploring the repo, these are the directories that matter most:
|
|
|
319
317
|
- `apps/web`: local React web UI
|
|
320
318
|
- `packages/server`: local HTTP server that serves API, MCP, and UI
|
|
321
319
|
- `packages/control-plane`: source management, secrets, persistence, execution, and inspection
|
|
322
|
-
- `packages/runtime-
|
|
320
|
+
- `packages/runtime-quickjs`: default QuickJS sandbox runtime for TypeScript execution
|
|
321
|
+
- `packages/runtime-ses`: optional SES sandbox runtime for TypeScript execution
|
|
323
322
|
- `packages/executor-mcp`: MCP bridge for `execute` and `resume`
|
|
324
323
|
- `packages/codemode-*`: core tool abstractions plus MCP and OpenAPI adapters
|
|
325
324
|
|
|
325
|
+
## Releasing
|
|
326
|
+
|
|
327
|
+
- `bun run release:beta` is the simplest beta flow. It bumps `apps/executor/package.json`, runs the local publish dry-run, commits, pushes the branch, pushes the matching tag, and lets GitHub Actions publish it.
|
|
328
|
+
- `bun run release:beta:dry-run` prints the next beta version and the exact git actions without changing anything.
|
|
329
|
+
- `bun run --cwd apps/executor release:publish` is the only supported publish command.
|
|
330
|
+
- One-time npm setup: either configure npm trusted publishing for `RhysSullivan/executor` with the workflow file `.github/workflows/publish-executor-package.yml`, or add a GitHub Actions secret named `NPM_TOKEN` that can publish the `executor` package.
|
|
331
|
+
- Stable releases use a normal semver like `1.2.3` and publish to npm under `latest`.
|
|
332
|
+
- Beta releases use a prerelease semver like `1.3.0-beta.1` and publish to npm under `beta`.
|
|
333
|
+
- Push a matching git tag such as `v1.2.3` or `v1.3.0-beta.1` to trigger `.github/workflows/publish-executor-package.yml`.
|
|
334
|
+
- To build and pack the publish artifact locally without publishing, run `bun run --cwd apps/executor release:publish:dry-run`.
|
|
335
|
+
|
|
326
336
|
## Project status
|
|
327
337
|
|
|
328
338
|
This repository is explicitly on its third major architecture iteration.
|
|
Binary file
|