@automatalabs/workflows 0.46.2 → 0.46.4

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.
Files changed (3) hide show
  1. package/README.md +13 -6
  2. package/dist/mcp-server.js +1453 -119
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -12,9 +12,9 @@ or a registered custom ACP agent — driving the actual subprocess to completion
12
12
  This package is the **canonical SDK** that the stdio MCP server
13
13
  [`@automatalabs/mcp-server`](https://www.npmjs.com/package/@automatalabs/mcp-server) is built on.
14
14
  Its CLI can also delegate to a build-time embedded copy of that server with the `mcp` subcommand,
15
- so an MCP host can expose the `workflow` tool without a separate package install. The standalone
16
- MCP server package remains independently published, while programs embedding the runner continue
17
- to use this package's workflow/runner APIs.
15
+ so an MCP host can expose the `workflow` and `repl` tools without a separate package install. The
16
+ standalone MCP server package remains independently published, while programs embedding the runner
17
+ continue to use this package's workflow/runner APIs.
18
18
 
19
19
  The SDK itself remains a thin programmatic facade over the engine + ACP packages, with
20
20
  ACP-defaulted helpers for ordinary runs (`runDynamicWorkflow`) and substitution tests
@@ -808,6 +808,13 @@ hosts (Claude Code `--transport http`, Codex `config.toml` `url`), which can ski
808
808
  entirely. See the [`@automatalabs/mcp-server` README](../mcp-server#the-workflow-daemon) for
809
809
  the daemon's full contract (discovery, project routing, idle shutdown, security posture).
810
810
 
811
+ The bundled server exposes **two** model-facing tools — `workflow` and **`repl`** — and no auth
812
+ tools. The `repl` tool is a persistent QuickJS-in-WASM JavaScript REPL, **one VM per `projectDir`**
813
+ (the same per-project model as `workflow`), for live, stateful subagent orchestration: workspace
814
+ state (bindings, pending subagent calls, checkpoints, logged values) persists in the VM across tool
815
+ calls and daemon restarts through the per-project `repl/` store, and drains when the project's last
816
+ MCP client disconnects. See [The `repl` tool](../mcp-server#the-repl-tool) for its full contract.
817
+
811
818
  For the source inner loop, build workflows before launching its compiled CLI:
812
819
 
813
820
  ```bash
@@ -1003,9 +1010,9 @@ the exhaustive option tables.
1003
1010
  autonomous cross-vendor triage; and `image-gate`, a single gated script with an
1004
1011
  MCP-wired image producer.
1005
1012
  - **[`@automatalabs/mcp-server`](https://www.npmjs.com/package/@automatalabs/mcp-server)** — the
1006
- stdio MCP server built on this SDK. It wraps the same engine + ACP backend behind `workflow`
1007
- and conditional auth tools (bin: `agentprism-workflow`) for any MCP host. Use it when you want the
1008
- **MCP-tool route** instead of embedding the runner in code.
1013
+ stdio MCP server built on this SDK. It wraps the same engine + ACP backend behind the `workflow`
1014
+ and `repl` tools (bin: `agentprism-workflow`; no auth tools) for any MCP host. Use it when you want
1015
+ the **MCP-tool route** instead of embedding the runner in code.
1009
1016
 
1010
1017
  ## License
1011
1018