@enderfga/claw-orchestrator 7.14.0 → 7.16.0
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 +162 -135
- package/configs/autoloop-reviewer-prompt.md +1 -1
- package/configs/engines/README.md +31 -11
- package/dist/bin/acp-server.js +7 -12
- package/dist/bin/acp-server.js.map +1 -1
- package/dist/bin/cli.js +84 -46
- package/dist/bin/cli.js.map +1 -1
- package/dist/bin/mcp-server.js +2 -54
- package/dist/bin/mcp-server.js.map +1 -1
- package/dist/src/acp-server.d.ts +17 -9
- package/dist/src/acp-server.js +149 -30
- package/dist/src/acp-server.js.map +1 -1
- package/dist/src/autoloop/agent-tools.d.ts +2 -0
- package/dist/src/autoloop/agent-tools.js +7 -0
- package/dist/src/autoloop/agent-tools.js.map +1 -1
- package/dist/src/autoloop/dispatcher.d.ts +6 -0
- package/dist/src/autoloop/dispatcher.js +72 -9
- package/dist/src/autoloop/dispatcher.js.map +1 -1
- package/dist/src/autoloop/planner-tools.js +2 -0
- package/dist/src/autoloop/planner-tools.js.map +1 -1
- package/dist/src/claude-goal-session.d.ts +147 -0
- package/dist/src/claude-goal-session.js +355 -0
- package/dist/src/claude-goal-session.js.map +1 -0
- package/dist/src/council.d.ts +8 -0
- package/dist/src/council.js +45 -12
- package/dist/src/council.js.map +1 -1
- package/dist/src/dashboard/index.html +28 -14
- package/dist/src/embedded-server.js +27 -8
- package/dist/src/embedded-server.js.map +1 -1
- package/dist/src/engine-spawn.js +3 -1
- package/dist/src/engine-spawn.js.map +1 -1
- package/dist/src/fanout.d.ts +13 -3
- package/dist/src/fanout.js +10 -0
- package/dist/src/fanout.js.map +1 -1
- package/dist/src/inbox-manager.d.ts +9 -0
- package/dist/src/inbox-manager.js +8 -2
- package/dist/src/inbox-manager.js.map +1 -1
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.js +135 -53
- package/dist/src/index.js.map +1 -1
- package/dist/src/kernel/agent-step.d.ts +6 -0
- package/dist/src/kernel/agent-step.js.map +1 -1
- package/dist/src/kernel/conditions.d.ts +1 -1
- package/dist/src/kernel/conditions.js +1 -1
- package/dist/src/kernel/engine.d.ts +28 -8
- package/dist/src/kernel/engine.js +93 -19
- package/dist/src/kernel/engine.js.map +1 -1
- package/dist/src/kernel/nodes/agent.js +2 -0
- package/dist/src/kernel/nodes/agent.js.map +1 -1
- package/dist/src/kernel/nodes/council.js +9 -4
- package/dist/src/kernel/nodes/council.js.map +1 -1
- package/dist/src/kernel/nodes/fanout.js +5 -0
- package/dist/src/kernel/nodes/fanout.js.map +1 -1
- package/dist/src/kernel/nodes/goal.d.ts +19 -5
- package/dist/src/kernel/nodes/goal.js +81 -34
- package/dist/src/kernel/nodes/goal.js.map +1 -1
- package/dist/src/kernel/nodes/subflow.js +9 -1
- package/dist/src/kernel/nodes/subflow.js.map +1 -1
- package/dist/src/kernel/nodes/ultraapp.d.ts +1 -0
- package/dist/src/kernel/nodes/ultraapp.js +1 -0
- package/dist/src/kernel/nodes/ultraapp.js.map +1 -1
- package/dist/src/kernel/nodes/verifier.js +5 -1
- package/dist/src/kernel/nodes/verifier.js.map +1 -1
- package/dist/src/kernel/projections.d.ts +1 -0
- package/dist/src/kernel/projections.js +7 -1
- package/dist/src/kernel/projections.js.map +1 -1
- package/dist/src/kernel/templates/index.d.ts +16 -11
- package/dist/src/kernel/templates/index.js +14 -8
- package/dist/src/kernel/templates/index.js.map +1 -1
- package/dist/src/kernel/types.d.ts +37 -13
- package/dist/src/kernel/types.js.map +1 -1
- package/dist/src/logger.d.ts +6 -0
- package/dist/src/logger.js +14 -0
- package/dist/src/logger.js.map +1 -1
- package/dist/src/mcp-annotations.d.ts +13 -0
- package/dist/src/mcp-annotations.js +100 -0
- package/dist/src/mcp-annotations.js.map +1 -0
- package/dist/src/models.d.ts +7 -0
- package/dist/src/models.js +9 -0
- package/dist/src/models.js.map +1 -1
- package/dist/src/openai-compat.d.ts +11 -5
- package/dist/src/openai-compat.js +55 -54
- package/dist/src/openai-compat.js.map +1 -1
- package/dist/src/persistent-acp-session.d.ts +7 -0
- package/dist/src/persistent-acp-session.js +26 -2
- package/dist/src/persistent-acp-session.js.map +1 -1
- package/dist/src/persistent-codex-app-session.d.ts +2 -0
- package/dist/src/persistent-codex-app-session.js +18 -9
- package/dist/src/persistent-codex-app-session.js.map +1 -1
- package/dist/src/persistent-codex-session.d.ts +14 -3
- package/dist/src/persistent-codex-session.js +22 -19
- package/dist/src/persistent-codex-session.js.map +1 -1
- package/dist/src/persistent-custom-session.d.ts +9 -0
- package/dist/src/persistent-custom-session.js +41 -21
- package/dist/src/persistent-custom-session.js.map +1 -1
- package/dist/src/persistent-grok-session.js +1 -1
- package/dist/src/persistent-grok-session.js.map +1 -1
- package/dist/src/persistent-session.d.ts +9 -0
- package/dist/src/persistent-session.js +23 -0
- package/dist/src/persistent-session.js.map +1 -1
- package/dist/src/run-ledger.d.ts +3 -3
- package/dist/src/session-manager.d.ts +45 -1
- package/dist/src/session-manager.js +199 -34
- package/dist/src/session-manager.js.map +1 -1
- package/dist/src/types.d.ts +34 -11
- package/dist/src/types.js.map +1 -1
- package/dist/src/ultraapp/build.d.ts +5 -11
- package/dist/src/ultraapp/build.js +5 -11
- package/dist/src/ultraapp/build.js.map +1 -1
- package/dist/src/ultraapp/council-adapter.d.ts +5 -2
- package/dist/src/ultraapp/council-adapter.js +6 -6
- package/dist/src/ultraapp/council-adapter.js.map +1 -1
- package/dist/src/ultraapp/files.d.ts +7 -0
- package/dist/src/ultraapp/files.js +7 -1
- package/dist/src/ultraapp/files.js.map +1 -1
- package/dist/src/ultraapp/manager.d.ts +23 -3
- package/dist/src/ultraapp/manager.js +170 -72
- package/dist/src/ultraapp/manager.js.map +1 -1
- package/dist/src/ultraapp/narrator.js +1 -1
- package/dist/src/ultraapp/narrator.js.map +1 -1
- package/dist/src/ultraapp/versions.d.ts +27 -5
- package/dist/src/ultraapp/versions.js +58 -13
- package/dist/src/ultraapp/versions.js.map +1 -1
- package/openclaw.plugin.json +4 -13
- package/package.json +13 -6
- package/skills/SKILL.md +52 -24
- package/skills/references/acp.md +140 -61
- package/skills/references/autoloop.md +148 -38
- package/skills/references/claude-cli-tracking.md +9 -6
- package/skills/references/cli.md +139 -108
- package/skills/references/council.md +44 -22
- package/skills/references/dashboard.md +37 -21
- package/skills/references/getting-started.md +49 -15
- package/skills/references/inbox.md +13 -8
- package/skills/references/mcp.md +25 -17
- package/skills/references/multi-engine.md +161 -145
- package/skills/references/observability.md +90 -58
- package/skills/references/openai-compat.md +172 -82
- package/skills/references/sessions.md +101 -65
- package/skills/references/tools.md +217 -158
- package/skills/references/ultra.md +7 -7
- package/skills/references/ultraapp.md +101 -56
- package/skills/references/verification.md +112 -56
- package/skills/references/workflow.md +275 -97
- package/assets/banner.jpg +0 -0
package/README.md
CHANGED
|
@@ -1,15 +1,27 @@
|
|
|
1
|
+
<p align="center"><img src="./assets/teaser.webp" alt="Claw Orchestrator: one run through six steps — declare the checks, dispatch to any engine, run, verify, record, verdict — with a failed check sent back to the agent, on a family of coding agents" width="100%"></p>
|
|
2
|
+
|
|
3
|
+
<h1 align="center">Claw Orchestrator: A Unified Runtime for Coding Agent CLIs</h1>
|
|
4
|
+
|
|
1
5
|
<p align="center">
|
|
2
|
-
<
|
|
6
|
+
📦 <a href="https://www.npmjs.com/package/@enderfga/claw-orchestrator">npm</a> •
|
|
7
|
+
📖 <a href="./skills/references/getting-started.md">Documentation</a> •
|
|
8
|
+
🎬 <a href="./examples/promo-video/">Demo film</a> •
|
|
9
|
+
📝 <a href="./CHANGELOG.md">Changelog</a> •
|
|
10
|
+
📚 <a href="#citation">Citation</a>
|
|
3
11
|
</p>
|
|
4
12
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
13
|
+
<p align="center">
|
|
14
|
+
<a href="https://www.npmjs.com/package/@enderfga/claw-orchestrator"><img src="https://img.shields.io/npm/v/@enderfga/claw-orchestrator.svg" alt="npm version"></a>
|
|
15
|
+
<a href="https://www.npmjs.com/package/@enderfga/claw-orchestrator"><img src="https://img.shields.io/npm/dm/@enderfga/claw-orchestrator.svg" alt="npm downloads"></a>
|
|
16
|
+
<a href="https://github.com/Enderfga/claw-orchestrator/actions/workflows/ci.yml"><img src="https://github.com/Enderfga/claw-orchestrator/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
|
|
17
|
+
<a href="./LICENSE"><img src="https://img.shields.io/badge/License-MIT-blue.svg" alt="License: MIT"></a>
|
|
18
|
+
</p>
|
|
8
19
|
|
|
9
|
-
|
|
10
|
-
[
|
|
11
|
-
|
|
12
|
-
|
|
20
|
+
**Claw Orchestrator** runs Claude Code, Codex, Antigravity, Grok Build, OpenCode and any
|
|
21
|
+
[Agent Client Protocol](https://agentclientprotocol.com) agent (Kimi Code, dsh) as persistent sessions behind one API.
|
|
22
|
+
A run counts as done only when checks the agent did not write pass: you declare the checks, the runtime runs them
|
|
23
|
+
and reads the exit codes, and the evidence stays on disk. Runs are checkpointed workflows that survive a crash, and
|
|
24
|
+
every turn on every engine is recorded with its model, tokens and cost.
|
|
13
25
|
|
|
14
26
|
<p align="center">
|
|
15
27
|
<img src="./assets/hero.gif" alt="An agent reports that all tests pass; the runtime's own check refutes it. Five engines, three runs each, tallied by verdict." width="800">
|
|
@@ -17,74 +29,93 @@
|
|
|
17
29
|
|
|
18
30
|
<p align="center"><sub>
|
|
19
31
|
One bug, one acceptance contract, five engines, three runs each, first attempt only. The runtime ran the checks itself:
|
|
20
|
-
9 verified, 4 refuted, 2 errored (Grok Build hit its free-tier usage limit). One task, not a benchmark.
|
|
21
|
-
<a href="./examples/promo-video/">
|
|
32
|
+
9 verified, 4 refuted, 2 errored (Grok Build hit its free-tier usage limit). One task, not a benchmark.
|
|
33
|
+
<a href="./examples/promo-video/">How the film was made, and how to re-run it</a>.
|
|
22
34
|
</sub></p>
|
|
23
35
|
|
|
24
36
|
<details>
|
|
25
|
-
<summary><b
|
|
37
|
+
<summary><b>The 40-second film, with sound</b></summary>
|
|
26
38
|
|
|
27
39
|
https://github.com/user-attachments/assets/5bf9bea8-e5ac-4632-a292-a80a45831dff
|
|
28
40
|
|
|
29
41
|
</details>
|
|
30
42
|
|
|
31
|
-
|
|
43
|
+
## News
|
|
44
|
+
|
|
45
|
+
- **[2026-10]** v7.16.0: `clawo goal --engine claude` runs a goal on Claude Code's `/goal`, with the same
|
|
46
|
+
checkpointing, resume and verification as a Codex goal.
|
|
47
|
+
- **[2026-10]** [ResearchBoost-Agent](https://github.com/AI4AI-for-Anything/ResearchBoost-Agent), an autonomous agent
|
|
48
|
+
that profiles, optimizes and validates AI training code, now runs its goal mode on Claw Orchestrator.
|
|
49
|
+
- **[2026-10]** v7.14.0: any Agent Client Protocol agent runs as a session (`engine: 'acp'`), with presets for
|
|
50
|
+
Kimi Code and dsh.
|
|
51
|
+
- **[2026-10]** v7.13.0: `clawo goal` keeps a Codex `/goal` running for hours on one thread, reattaches it after a
|
|
52
|
+
crash, and judges the result with your checks.
|
|
53
|
+
- **[2026-09]** [Declare, Compile, Look](https://openreview.net/forum?id=Romd50Ce0w), built on Claw Orchestrator,
|
|
54
|
+
was presented as a talk at the ECCV 2026 Workshop on Multimodal Digital Agents.
|
|
55
|
+
- **[2026-08]** v6.0.0: the durable run kernel and the verification plane. A run survives its own process dying, and
|
|
56
|
+
a run with an acceptance contract is judged by the runtime, not by the agent.
|
|
57
|
+
|
|
58
|
+
## Highlights
|
|
59
|
+
|
|
60
|
+
- ✅ **Verdicts the agent cannot write**: acceptance contracts (commands, HTTP probes, screenshots, diff policy, file
|
|
61
|
+
assertions) run by the runtime. A run ends `verified`, `refuted` or `unverified`, and editing the tests its contract
|
|
62
|
+
runs refutes it ([guide](./skills/references/verification.md)).
|
|
63
|
+
- 🔀 **Many vendors, one API**: Claude Code, Codex, Antigravity, Grok Build, OpenCode, any ACP agent and custom CLIs.
|
|
64
|
+
`clawo fanout` asks several at once; `session_handoff` moves a live conversation to another engine in the same
|
|
65
|
+
workspace ([guide](./skills/references/multi-engine.md)).
|
|
66
|
+
- 💾 **Survives a crash**: every state transition is checkpointed; resume, retry, timeout, cancel and steer come from
|
|
67
|
+
the kernel ([guide](./skills/references/workflow.md)).
|
|
68
|
+
- 🎯 **Long goals**: `clawo goal` runs a Codex `/goal` unattended on one thread, resumes it after usage limits within a
|
|
69
|
+
bound, optionally inside your own sandbox ([guide](./skills/references/workflow.md#goal)).
|
|
70
|
+
- 💰 **Known cost**: one per-turn ledger across engines (`clawo runs`) and a `maxBudgetUsd` cap the runtime enforces on
|
|
71
|
+
every engine ([guide](./skills/references/observability.md)).
|
|
72
|
+
- 🔌 **Fits your tools**: a CLI, an MCP server, an ACP agent for editors, an OpenAI-compatible endpoint, a TypeScript
|
|
73
|
+
SDK and an OpenClaw plugin ([ways to run](#ways-to-run)).
|
|
74
|
+
|
|
75
|
+
claude-squad, Conductor and Vibe Kanban are interfaces for running agents side by side in worktrees; Claude Code
|
|
76
|
+
subagents and Codex's parallel attempts stay within one vendor. Claw Orchestrator is a headless runtime underneath:
|
|
77
|
+
several vendors behind one API, durable workflows, and a verification step the agents cannot edit. They can be used
|
|
78
|
+
together.
|
|
79
|
+
|
|
80
|
+
## Quick Start
|
|
81
|
+
|
|
82
|
+
Requires Node 22+ and at least one engine CLI installed and logged in (`claude`, `codex`, `agy`, `grok` or `opencode`).
|
|
32
83
|
|
|
33
84
|
```bash
|
|
34
85
|
npm install -g @enderfga/claw-orchestrator
|
|
35
86
|
clawo serve & # local runtime + dashboard on 127.0.0.1:18796
|
|
87
|
+
```
|
|
36
88
|
|
|
89
|
+
```bash
|
|
37
90
|
clawo solve "The test fails. Fix price.js." --engine codex \
|
|
38
91
|
--check "npm test" --check "node ../holdout/price.spec.mjs" --wait
|
|
39
92
|
clawo verify <runId> # each check, why it failed, the files that changed
|
|
40
93
|
clawo runs --since 1h # every turn on every engine: model, tokens, cost, verdict
|
|
41
94
|
```
|
|
42
95
|
|
|
43
|
-
## What you get
|
|
44
|
-
|
|
45
|
-
| You want to… | Claw Orchestrator gives you |
|
|
46
|
-
| -------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
47
|
-
| Stop trusting "All tests pass ✓" | Acceptance contracts — commands, HTTP probes, screenshots, diff policy, file assertions — that the runtime runs itself. A run with a contract ends `verified`, `refuted` or `unverified`, never "the agent said so". Editing the tests a contract runs refutes the run. → [verification](./skills/references/verification.md) |
|
|
48
|
-
| Use more than one vendor | Persistent sessions for Claude Code, Codex, Antigravity, Grok Build, OpenCode and custom CLIs behind one interface. `clawo fanout` asks several of them the same question at once. → [multi-engine](./skills/references/multi-engine.md) |
|
|
49
|
-
| Switch engines mid-task | `session_handoff` replays a live conversation onto another engine in the same workspace. → [sessions](./skills/references/sessions.md) |
|
|
50
|
-
| Know what it cost | A durable per-turn ledger across engines (`clawo runs`) and a `maxBudgetUsd` cap the runtime enforces on every engine. → [observability](./skills/references/observability.md) |
|
|
51
|
-
| Runs that survive a crash | Durable workflows: every transition is checkpointed; resume, retry, timeout, cancel and steer come from the kernel. → [workflow](./skills/references/workflow.md) |
|
|
52
|
-
| Leave Codex on a goal for hours | `clawo goal` runs a Codex `/goal` on one thread until it finishes, reattaches it after a crash, resumes it after usage limits within a bound, optionally inside your own sandbox, then judges it with your checks. → [workflow](./skills/references/workflow.md#goal) |
|
|
53
|
-
| Call it from your own tools | An MCP server (`clawo-mcp`), an ACP agent (`clawo acp`) for Zed, JetBrains and other ACP editors, an OpenAI-compatible endpoint, a TypeScript SDK, and the CLI. → [integrations](#integrations) |
|
|
54
|
-
|
|
55
|
-
**How it relates to other tools.** claude-squad, Conductor and Vibe Kanban are interfaces for running agents side by side in worktrees; Claude Code subagents and Codex's parallel attempts stay within one vendor. Claw Orchestrator is a headless runtime: several vendors behind one API, durable workflows, and a verification step the agents cannot edit. They can be used together.
|
|
56
|
-
|
|
57
|
-
---
|
|
58
|
-
|
|
59
|
-
## Quick Start
|
|
60
|
-
|
|
61
|
-
Requires Node 22+ and at least one engine CLI installed and logged in (`claude`, `codex`, `agy`, `grok` or `opencode`).
|
|
62
|
-
|
|
63
|
-
```bash
|
|
64
|
-
npm install -g @enderfga/claw-orchestrator
|
|
65
|
-
clawo serve # dashboard at http://127.0.0.1:18796/dash
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
The server writes an access token to `~/.openclaw/server-token`; the CLI reads it from there. Open `http://127.0.0.1:18796/login?token=<token>&redirect=/dash` once to sign in the browser.
|
|
69
|
-
|
|
70
|
-
**From a terminal:**
|
|
71
|
-
|
|
72
96
|
```bash
|
|
73
|
-
clawo solve "Fix the failing tests" --engine claude --check "npm test" --wait
|
|
74
97
|
clawo fanout "How would you speed up this test suite?" --engines claude,codex,grok --synthesize --wait
|
|
75
98
|
clawo goal --objective-file GOAL.md --check "npm run bench:check" --check-timeout 120 --wait
|
|
76
|
-
clawo workflow list
|
|
77
99
|
```
|
|
78
100
|
|
|
79
|
-
|
|
101
|
+
The server writes an access token to `~/.openclaw/server-token` and the CLI reads it from there. To sign in the
|
|
102
|
+
browser once, open `http://127.0.0.1:18796/login?token=<token>&redirect=/dash`.
|
|
80
103
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
104
|
+
- 🧪 **Acceptance contracts and evidence bundles** ([guide](./skills/references/verification.md))
|
|
105
|
+
- 🔁 **Workflows, resume and the goal node** ([guide](./skills/references/workflow.md))
|
|
106
|
+
- 🖥️ **Every CLI command** ([guide](./skills/references/cli.md))
|
|
107
|
+
- 🧰 **All 78 tools** ([guide](./skills/references/tools.md))
|
|
84
108
|
|
|
85
|
-
|
|
109
|
+
## Ways to run
|
|
86
110
|
|
|
87
|
-
|
|
111
|
+
| | For | Start here |
|
|
112
|
+
| ------------------------------ | ----------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- |
|
|
113
|
+
| **CLI and dashboard** | Terminals and scripts | `clawo serve`, then [`cli.md`](./skills/references/cli.md) |
|
|
114
|
+
| **MCP server** | Claude Code, Claude Desktop, Cursor, Cline, Continue, Zed, Windsurf, Goose, Hermes Agent | `claude mcp add clawo -- clawo-mcp`, then [`mcp.md`](./skills/references/mcp.md) |
|
|
115
|
+
| **ACP agent** | Zed, JetBrains, Neovim, Emacs, the VS Code ACP extension, dsh | `clawo acp`, then [`acp.md`](./skills/references/acp.md) |
|
|
116
|
+
| **OpenAI-compatible endpoint** | Any OpenAI SDK client or webchat, without changing call sites | `POST /v1/chat/completions` ([`openai-compat.md`](./skills/references/openai-compat.md)) |
|
|
117
|
+
| **TypeScript SDK** | Embedding the runtime in your own service | `import { SessionManager } from '@enderfga/claw-orchestrator'` (below) |
|
|
118
|
+
| **OpenClaw plugin** | Every OpenClaw agent gets all 78 tools | `curl -fsSL https://raw.githubusercontent.com/Enderfga/claw-orchestrator/main/install.sh \| bash` |
|
|
88
119
|
|
|
89
120
|
```ts
|
|
90
121
|
import { SessionManager } from '@enderfga/claw-orchestrator';
|
|
@@ -94,80 +125,13 @@ await manager.startSession({ name: 'fix-tests', engine: 'claude', cwd: '/project
|
|
|
94
125
|
const result = await manager.sendMessage('fix-tests', 'Fix the failing tests');
|
|
95
126
|
```
|
|
96
127
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
| Capability | What it does | Reference |
|
|
102
|
-
| --------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------- |
|
|
103
|
-
| **Persistent Sessions** | Long-lived coding agents kept alive across requests, with full context, tool, model, and worktree control. | [`sessions.md`](./skills/references/sessions.md) |
|
|
104
|
-
| **Multi-Engine Runtime** | One interface over Claude Code, Codex, Antigravity (agy), Grok Build, OpenCode, any Agent Client Protocol agent (Kimi Code, dsh), and arbitrary custom CLIs. | [`multi-engine.md`](./skills/references/multi-engine.md) |
|
|
105
|
-
| **Session Handoff** | Move a live conversation to another engine or model — a stuck Claude session into Codex, an expensive model into a cheaper one. The new session picks up where the old one stopped, in the same workspace; the old one keeps running. | [`sessions.md`](./skills/references/sessions.md) |
|
|
106
|
-
| **Multi-Agent Council** | Parallel agents in isolated git worktrees, voting on consensus until they agree. | [`council.md`](./skills/references/council.md) |
|
|
107
|
-
| **Fan-out** | Run one task across N engine/model agents in parallel and collect their answers, with an optional synthesis pass — the cross-engine best-of-N / diverse-perspective primitive (no rounds or worktrees). | [`tools.md`](./skills/references/tools.md) |
|
|
108
|
-
| **ultracode** | `session_start({ ultracode: true })` lets Claude orchestrate a dynamic JS workflow and fan out to subagents per task (Claude engine). | [`tools.md`](./skills/references/tools.md) |
|
|
109
|
-
| **Autoloop** | Three-agent autonomous workspace iteration with independent engine/model selection for Planner, Coder, and Reviewer. Chat with the Planner; it spawns Coder + Reviewer into a self-iterating subloop and pushes you on regression, target-hit, or decision points. | [`autoloop.md`](./skills/references/autoloop.md) |
|
|
110
|
-
| **Ultraapp** | A three-agent Opus council turns a short structured interview into a deployed web app — Tailwind UI, BYOK, file-queue runtime, smoke test, all live at `localhost:19000/forge/<slug>/`. | [`ultraapp.md`](./skills/references/ultraapp.md) |
|
|
111
|
-
| **Embedded Dashboard** | Three-tab UI for Autoloop, Council, and Forge with sidebar lifecycle controls, per-run live event streaming, and cookie-based auth via a `/login` redirect. | [`dashboard.md`](./skills/references/dashboard.md) |
|
|
112
|
-
| **OpenAI-Compatible Proxy** | `POST /v1/chat/completions` accepts OpenAI-format requests and routes them to persistent sessions on the engine the model name selects, streaming replies back in OpenAI shape. Point any OpenAI-SDK client or webchat at the orchestrator without changing call sites. | [`openai-compat.md`](./skills/references/openai-compat.md) |
|
|
113
|
-
| **Durable Run Kernel** | Declarative workflows over `agent` / `fanout` / `council` / `verifier` / `human_gate` / `router` / `subflow` / `autoloop` / `ultraapp_*` nodes. Every state transition is checkpointed, so a run survives a process restart and resumes at the node boundary. Retry, per-node timeout, cancel, steer, and bounded loops come from the kernel. | [`workflow.md`](./skills/references/workflow.md) |
|
|
114
|
-
| **Verification Plane** | Acceptance contracts the runtime executes itself — commands, HTTP probes, screenshots, diff policy, file assertions — producing an evidence bundle on disk. A run carrying a contract cannot reach `completed` unless it passes, and one without a contract completes as `unverified` rather than claiming success. The tests a contract runs are held to what the run started with, so a run cannot pass by editing them. | [`verification.md`](./skills/references/verification.md) |
|
|
115
|
-
| **Run Ledger & Spend Caps** | Every turn on every engine is appended to a durable JSONL ledger — engine, model, tokens, cost, duration, and the council/fanout/autoloop it belonged to — queryable with `clawo runs` after a restart. Rows carry both the engine's self-report (`ok`) and the runtime's own measurement (`verified`), kept apart. `maxBudgetUsd` is enforced by the runtime, so a cap holds on Codex, Grok, agy and OpenCode too, not just Claude Code. | [`observability.md`](./skills/references/observability.md) |
|
|
116
|
-
|
|
117
|
-
The full 78-tool surface is enumerated in [`tools.md`](./skills/references/tools.md).
|
|
118
|
-
|
|
119
|
-
---
|
|
128
|
+
From an MCP host, ask for `workflow_start` with template `solve`, a task, and a contract such as
|
|
129
|
+
`{"checks":[{"type":"command","cmd":"npm","args":["test"]}]}`. In an ACP editor, the model selector is grouped by
|
|
130
|
+
engine, so one dropdown switches between Claude, Codex, Antigravity and Grok models mid-session.
|
|
120
131
|
|
|
121
|
-
##
|
|
132
|
+
## Engine compatibility
|
|
122
133
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
```bash
|
|
126
|
-
clawo serve # dashboard + HTTP server on :18796
|
|
127
|
-
clawo session-start fix-tests --engine claude --cwd . # start a session
|
|
128
|
-
clawo session-send fix-tests "Fix the failing tests" # send into it
|
|
129
|
-
```
|
|
130
|
-
|
|
131
|
-
Every command is documented in [`cli.md`](./skills/references/cli.md).
|
|
132
|
-
|
|
133
|
-
### OpenClaw Plugin
|
|
134
|
-
|
|
135
|
-
```bash
|
|
136
|
-
curl -fsSL https://raw.githubusercontent.com/Enderfga/claw-orchestrator/main/install.sh | bash
|
|
137
|
-
```
|
|
138
|
-
|
|
139
|
-
Installs via npm, registers the plugin in `~/.openclaw/openclaw.json`, restarts the gateway. All 78 tools become available to every OpenClaw agent.
|
|
140
|
-
|
|
141
|
-
### Model Context Protocol Server
|
|
142
|
-
|
|
143
|
-
```bash
|
|
144
|
-
npm install -g @enderfga/claw-orchestrator # clawo-mcp is now on PATH
|
|
145
|
-
```
|
|
146
|
-
|
|
147
|
-
Register `clawo-mcp` with any MCP-compatible host: Hermes Agent, Claude Desktop, Cursor, Cline, Continue, Zed, Windsurf, Goose, and others. Per-host stdio-config snippets and the `CLAWO_MCP_TOOLS` allowlist for tight tool budgets are in [`mcp.md`](./skills/references/mcp.md).
|
|
148
|
-
|
|
149
|
-
### Agent Client Protocol Agent
|
|
150
|
-
|
|
151
|
-
```bash
|
|
152
|
-
clawo acp # or the dedicated binary: clawo-acp
|
|
153
|
-
```
|
|
154
|
-
|
|
155
|
-
MCP gives tools _to_ an agent; ACP makes you _be_ the agent. `clawo acp` speaks
|
|
156
|
-
[Agent Client Protocol](https://agentclientprotocol.com) over stdio, so Zed, JetBrains,
|
|
157
|
-
Neovim, Emacs, the VS Code ACP extension — or `dsh` via its `subagent-acp` provider —
|
|
158
|
-
can drive Claw Orchestrator as their coding agent.
|
|
159
|
-
|
|
160
|
-
The model selector is grouped by engine, so one dropdown holds Claude, Codex and Grok
|
|
161
|
-
models at once and switching it switches engine mid-session; `/council`, `/ultraplan`
|
|
162
|
-
and `/ultrareview` run multi-agent orchestrations from the chat box. Setup, the `dsh` YAML
|
|
163
|
-
block, and the cancellation and permission limitations are in
|
|
164
|
-
[`acp.md`](./skills/references/acp.md).
|
|
165
|
-
|
|
166
|
-
---
|
|
167
|
-
|
|
168
|
-
## Engine Compatibility
|
|
169
|
-
|
|
170
|
-
| Engine | CLI | Tested Version |
|
|
134
|
+
| Engine | CLI | Tested version |
|
|
171
135
|
| ----------- | ---------- | ------------------------------- |
|
|
172
136
|
| Claude Code | `claude` | 2.1.310 |
|
|
173
137
|
| Codex | `codex` | 0.164.0 |
|
|
@@ -177,27 +141,90 @@ block, and the cancellation and permission limitations are in
|
|
|
177
141
|
| ACP agent | any | Kimi Code 2.3.1, dsh 0.2.1-rc.2 |
|
|
178
142
|
| Custom CLI | any | — |
|
|
179
143
|
|
|
180
|
-
An agent that serves the Agent Client Protocol on stdio runs as
|
|
144
|
+
An agent that serves the Agent Client Protocol on stdio runs as
|
|
145
|
+
[`engine: 'acp'`](./skills/references/multi-engine.md#acp-agents-engine-acp); any other coding CLI that runs as a
|
|
146
|
+
subprocess can be wired up as a [custom engine](./skills/references/multi-engine.md#custom-engine-engine-custom).
|
|
181
147
|
|
|
182
|
-
|
|
148
|
+
<details>
|
|
149
|
+
<summary><b>How the table stays current</b></summary>
|
|
183
150
|
|
|
184
|
-
|
|
151
|
+
The versions above are what the weekly sweep last ran. `scripts/sweep.ts` measures each core engine's installed,
|
|
152
|
+
pinned and upstream version, diffs the flags the wrapper passes against the binary's `--help`, runs one live turn
|
|
153
|
+
**through the real wrapper class**, smokes the ACP and MCP entry points, and checks `src/models.ts` against the
|
|
154
|
+
OpenAI, Anthropic and xAI published price tables. It contains no model call, so the check that reports a wrapper as broken does not
|
|
155
|
+
share the wrapper's failure modes.
|
|
185
156
|
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
the ACP and MCP entry points, and checks `src/models.ts` against both vendors' published price
|
|
190
|
-
tables. It contains no model call, so the check that reports a wrapper as broken does not share the
|
|
191
|
-
wrapper's failure modes.
|
|
157
|
+
`scripts/sweep-workflow.json` wraps the same script as a durable run on this project's own kernel: verifier → router
|
|
158
|
+
→ an agent that drafts the alignment on a `sweep/<date>` branch → a human gate. A person reviews and merges; the
|
|
159
|
+
orchestrator does not edit its own code unattended.
|
|
192
160
|
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
161
|
+
</details>
|
|
162
|
+
|
|
163
|
+
## All features
|
|
164
|
+
|
|
165
|
+
| Capability | What it does | Reference |
|
|
166
|
+
| --------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------- |
|
|
167
|
+
| **Persistent sessions** | Long-lived agents kept alive across requests, with context, tool, model and worktree control. | [`sessions.md`](./skills/references/sessions.md) |
|
|
168
|
+
| **Multi-engine runtime** | One interface over the engines above, any ACP agent, and custom CLIs. | [`multi-engine.md`](./skills/references/multi-engine.md) |
|
|
169
|
+
| **Session handoff** | Moves a live conversation to another engine or model in the same workspace; the old session keeps running. | [`sessions.md`](./skills/references/sessions.md) |
|
|
170
|
+
| **Verification plane** | Acceptance contracts the runtime runs itself, with an evidence bundle on disk; a run without a contract ends `unverified`. | [`verification.md`](./skills/references/verification.md) |
|
|
171
|
+
| **Durable run kernel** | Declarative workflows over `agent`, `goal`, `fanout`, `council`, `verifier`, `human_gate`, `router` and more, checkpointed. | [`workflow.md`](./skills/references/workflow.md) |
|
|
172
|
+
| **Fan-out** | One task across N engine/model agents in parallel, with an optional synthesis pass. | [`tools.md`](./skills/references/tools.md) |
|
|
173
|
+
| **Council** | Parallel agents in isolated git worktrees, voting until they reach consensus. | [`council.md`](./skills/references/council.md) |
|
|
174
|
+
| **Autoloop** | A Planner, Coder and Reviewer iterating on a workspace, each with its own engine and model; you chat with the Planner. | [`autoloop.md`](./skills/references/autoloop.md) |
|
|
175
|
+
| **Ultraapp** | A short structured interview turned into a deployed web app at `localhost:19000/forge/<slug>/`. | [`ultraapp.md`](./skills/references/ultraapp.md) |
|
|
176
|
+
| **ultracode** | `session_start({ ultracode: true })` lets Claude orchestrate a dynamic workflow of subagents. | [`tools.md`](./skills/references/tools.md) |
|
|
177
|
+
| **Run ledger, spend caps** | Every turn on every engine in one JSONL ledger (`clawo runs`), and a `maxBudgetUsd` cap enforced on every engine. | [`observability.md`](./skills/references/observability.md) |
|
|
178
|
+
| **OpenAI-compatible proxy** | `POST /v1/chat/completions` routed to persistent sessions on the engine the model name selects, streamed back in OpenAI shape. | [`openai-compat.md`](./skills/references/openai-compat.md) |
|
|
179
|
+
| **Dashboard** | Autoloop, Council and Forge tabs with lifecycle controls and live event streams, and a Runs tab of durable workflow runs. | [`dashboard.md`](./skills/references/dashboard.md) |
|
|
180
|
+
|
|
181
|
+
## Built on Claw Orchestrator
|
|
182
|
+
|
|
183
|
+
- [ResearchBoost-Agent](https://github.com/AI4AI-for-Anything/ResearchBoost-Agent): an autonomous agent that profiles,
|
|
184
|
+
optimizes and validates AI training code; its long goal-mode runs use `clawo goal`
|
|
185
|
+
([blog](https://ydove0324.github.io/hx_resume/blog/researchboost/)).
|
|
186
|
+
- [Declare, Compile, Look](https://openreview.net/forum?id=Romd50Ce0w): coordinate-free layout generation with
|
|
187
|
+
vision-in-the-loop repair, ECCV 2026 Workshop on Multimodal Digital Agents (talk).
|
|
188
|
+
|
|
189
|
+
Using Claw Orchestrator in a project or paper? Open a pull request to add it here.
|
|
190
|
+
|
|
191
|
+
## Citation
|
|
192
|
+
|
|
193
|
+
If Claw Orchestrator helps your research, please cite it:
|
|
194
|
+
|
|
195
|
+
```bibtex
|
|
196
|
+
@misc{fang2026claworchestrator,
|
|
197
|
+
title = {Claw Orchestrator: A Unified Runtime for Coding Agent CLIs},
|
|
198
|
+
author = {Fang, Guian},
|
|
199
|
+
year = {2026},
|
|
200
|
+
howpublished = {\url{https://github.com/Enderfga/claw-orchestrator}}
|
|
201
|
+
}
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
Research built on Claw Orchestrator:
|
|
205
|
+
|
|
206
|
+
```bibtex
|
|
207
|
+
@misc{researchboost2026infra,
|
|
208
|
+
author = {{ResearchBoost Team}},
|
|
209
|
+
title = {{ResearchBoost}: {RSI} starts with Infra},
|
|
210
|
+
year = {2026},
|
|
211
|
+
url = {https://ydove0324.github.io/hx_resume/blog/researchboost/}
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
@inproceedings{fang2026declare,
|
|
215
|
+
title = {Declare, Compile, Look: Coordinate-Free Layout Generation with Vision-in-the-Loop Repair},
|
|
216
|
+
author = {Fang, Guian and Liu, Mengsha and Shou, Mike Zheng},
|
|
217
|
+
booktitle = {ECCV 2026 Multimodal Digital Agents Workshop},
|
|
218
|
+
year = {2026},
|
|
219
|
+
url = {https://openreview.net/forum?id=Romd50Ce0w}
|
|
220
|
+
}
|
|
221
|
+
```
|
|
196
222
|
|
|
197
223
|
## Contributing
|
|
198
224
|
|
|
199
|
-
See [`CONTRIBUTING.md`](./CONTRIBUTING.md). Run `npm run build && npm run lint && npm run format:check && npm run test`
|
|
225
|
+
See [`CONTRIBUTING.md`](./CONTRIBUTING.md). Run `npm run build && npm run lint && npm run format:check && npm run test`
|
|
226
|
+
before submitting.
|
|
200
227
|
|
|
201
228
|
## License
|
|
202
229
|
|
|
203
|
-
MIT
|
|
230
|
+
MIT, see [`LICENSE`](./LICENSE).
|
|
@@ -56,7 +56,7 @@ Autoloop control:
|
|
|
56
56
|
| Tool | Args | When |
|
|
57
57
|
|---|---|---|
|
|
58
58
|
| `review_complete` | `decision` ('advance' / 'hold' / 'rollback'), `metric` (number or null), `audit_notes` (string), `flags?` (string[]) | Always emit exactly one of these per turn (Rule 4). |
|
|
59
|
-
| `reviewer_log` | `message` (string) |
|
|
59
|
+
| `reviewer_log` | `message` (string) | Appended to `reviewer_log.jsonl` in your sandbox cwd, which is kept across iters. Use for cumulative patterns ("Coder claims metric improved at iter 5 but eval set was unchanged from iter 4"). |
|
|
60
60
|
|
|
61
61
|
---
|
|
62
62
|
|
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
# Community engine presets
|
|
2
2
|
|
|
3
|
-
Each `*.json` here describes one third-party coding CLI
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
Each `*.json` here describes one third-party coding CLI, so a caller can name it by
|
|
4
|
+
id instead of retyping its configuration. A preset carries exactly one of two blocks:
|
|
5
|
+
|
|
6
|
+
- `engine` — a `CustomEngineConfig`, started with `engine: "custom", customEngine: "<id>"`
|
|
7
|
+
(`clawo session-start <name> -e custom --custom-engine <id>`);
|
|
8
|
+
- `acp` — an agent that serves the Agent Client Protocol on stdio, started with
|
|
9
|
+
`engine: "acp", acpAgent: "<id>"` (`clawo session-start <name> -e acp --acp-agent <id>`).
|
|
10
|
+
|
|
11
|
+
The `id` is lower-case kebab-case, 3–40 characters, and the filename must match it.
|
|
12
|
+
`clawo engines` lists what is bundled:
|
|
13
|
+
|
|
14
|
+
| Preset | Block | Runs |
|
|
15
|
+
| ----------- | -------- | -------------------- |
|
|
16
|
+
| `zcode` | `engine` | `zcode-claw-adapter` |
|
|
17
|
+
| `kimi-code` | `acp` | `kimi acp` |
|
|
18
|
+
| `dsh` | `acp` | `dsh --profile acp` |
|
|
6
19
|
|
|
7
20
|
These are **community** entries. This project validates their schema and ships
|
|
8
21
|
them; it does not claim they work. What stands behind a preset is its
|
|
@@ -15,8 +28,9 @@ not hold; see
|
|
|
15
28
|
A preset never contains protocol translation. If the CLI speaks its own wire
|
|
16
29
|
format rather than something `CustomEngineConfig` can already describe, the
|
|
17
30
|
adapter belongs in your own package as a binary, and the preset points `bin` at
|
|
18
|
-
it. The
|
|
19
|
-
|
|
31
|
+
it. The `zcode` preset is an example: its `bin` is `zcode-claw-adapter`, an
|
|
32
|
+
adapter published from its maintainer's own repository. An agent that serves ACP
|
|
33
|
+
needs no adapter.
|
|
20
34
|
|
|
21
35
|
Contribution steps, the smoke script, and the full field reference are in
|
|
22
36
|
[CONTRIBUTING.md](https://github.com/Enderfga/claw-orchestrator/blob/main/CONTRIBUTING.md#contributing-an-engine).
|
|
@@ -45,15 +59,19 @@ Contribution steps, the smoke script, and the full field reference are in
|
|
|
45
59
|
}
|
|
46
60
|
```
|
|
47
61
|
|
|
62
|
+
`id`, `tier` (always `"community"`) and `description` are required, and so are
|
|
63
|
+
`provenance.maintainer`, `verifiedAgainst` and an ISO `verifiedOn` date;
|
|
64
|
+
`sourceUrl` and `smokeUrl` are optional in the schema, and `smokeUrl` is expected
|
|
65
|
+
in review. `engine.name`, `engine.bin` and `engine.args` (which may be empty) are
|
|
66
|
+
required.
|
|
67
|
+
|
|
48
68
|
`engine.bin` must be a command name, not an absolute path — one machine's layout
|
|
49
69
|
is not a preset. Use `binEnv` so people who installed it elsewhere can point at it.
|
|
50
70
|
|
|
51
71
|
## ACP agents
|
|
52
72
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
with `engine: "acp"` (`clawo session-start <name> -e acp --acp-agent <id>`). No
|
|
56
|
-
protocol mapping is needed, since every ACP agent speaks the same protocol.
|
|
73
|
+
An `acp` block takes the place of `engine` and needs no protocol mapping, since
|
|
74
|
+
every ACP agent speaks the same protocol: it names the command and its arguments.
|
|
57
75
|
|
|
58
76
|
```json
|
|
59
77
|
{
|
|
@@ -65,5 +83,7 @@ protocol mapping is needed, since every ACP agent speaks the same protocol.
|
|
|
65
83
|
}
|
|
66
84
|
```
|
|
67
85
|
|
|
68
|
-
`acp.
|
|
69
|
-
`
|
|
86
|
+
`acp.name` and `acp.command` are required; `commandEnv`, `args`, `env`,
|
|
87
|
+
`contextWindow` and `pricing` (per million tokens, used only when the agent
|
|
88
|
+
reports no cost) are optional. `acp.command` follows the same rule as
|
|
89
|
+
`engine.bin`: a command name, with `commandEnv` for an install elsewhere.
|
package/dist/bin/acp-server.js
CHANGED
|
@@ -23,30 +23,25 @@
|
|
|
23
23
|
*/
|
|
24
24
|
import { Readable, Writable } from 'node:stream';
|
|
25
25
|
import * as acp from '@agentclientprotocol/sdk';
|
|
26
|
+
import { createStderrLogger } from '../src/logger.js';
|
|
26
27
|
// Suppress the embedded HTTP server before anything can construct it — it is
|
|
27
28
|
// dead weight here and its start() writes to stdout.
|
|
28
29
|
process.env.CLAWO_NO_EMBEDDED_SERVER ??= '1';
|
|
29
30
|
const { SessionManager } = await import('../src/session-manager.js');
|
|
30
|
-
const { createAcpAgent } = await import('../src/acp-server.js');
|
|
31
|
-
/**
|
|
32
|
-
const
|
|
31
|
+
const { createAcpAgent, ACP_PERMISSION_MODES } = await import('../src/acp-server.js');
|
|
32
|
+
/** Every level to stderr, filtered by OPENCLAW_LOG_LEVEL. See the header: stdout belongs to the protocol. */
|
|
33
|
+
const log = createStderrLogger('clawo-acp');
|
|
34
|
+
/** Only the modes the ACP config selector offers are accepted from the env. */
|
|
33
35
|
function envPermissionMode() {
|
|
34
36
|
const raw = (process.env.CLAWO_ACP_PERMISSION || '').trim();
|
|
35
37
|
if (!raw)
|
|
36
38
|
return undefined;
|
|
37
|
-
if (!
|
|
38
|
-
|
|
39
|
+
if (!ACP_PERMISSION_MODES.includes(raw)) {
|
|
40
|
+
log.warn(`ignoring CLAWO_ACP_PERMISSION='${raw}' — expected one of ${ACP_PERMISSION_MODES.join(',')}`);
|
|
39
41
|
return undefined;
|
|
40
42
|
}
|
|
41
43
|
return raw;
|
|
42
44
|
}
|
|
43
|
-
/** Every level to stderr. See the header: stdout belongs to the protocol. */
|
|
44
|
-
const log = {
|
|
45
|
-
debug: (msg, ...args) => console.error('[clawo-acp]', msg, ...args),
|
|
46
|
-
info: (msg, ...args) => console.error('[clawo-acp]', msg, ...args),
|
|
47
|
-
warn: (msg, ...args) => console.error('[clawo-acp]', msg, ...args),
|
|
48
|
-
error: (msg, ...args) => console.error('[clawo-acp]', msg, ...args),
|
|
49
|
-
};
|
|
50
45
|
const manager = new SessionManager({
|
|
51
46
|
maxConcurrentSessions: parseInt(process.env.OPENCLAW_SERVE_MAX_SESSIONS || '', 10) || 32,
|
|
52
47
|
sessionTtlMinutes: parseInt(process.env.OPENCLAW_SERVE_TTL_MINUTES || '', 10) || 60,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acp-server.js","sourceRoot":"","sources":["../../bin/acp-server.ts"],"names":[],"mappings":";AACA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEjD,OAAO,KAAK,GAAG,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"acp-server.js","sourceRoot":"","sources":["../../bin/acp-server.ts"],"names":[],"mappings":"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"}
|