@enderfga/claw-orchestrator 7.5.3 → 7.5.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 +21 -22
- package/configs/engines/README.md +7 -6
- package/dist/bin/cli.js +1 -1
- package/dist/bin/cli.js.map +1 -1
- package/dist/src/acp-server.d.ts +1 -1
- package/dist/src/acp-server.js +7 -5
- package/dist/src/acp-server.js.map +1 -1
- package/dist/src/autoloop/notify.d.ts +5 -7
- package/dist/src/autoloop/notify.js +21 -20
- package/dist/src/autoloop/notify.js.map +1 -1
- package/dist/src/embedded-server.js +8 -5
- package/dist/src/embedded-server.js.map +1 -1
- package/dist/src/fanout.d.ts +6 -0
- package/dist/src/fanout.js +1 -0
- package/dist/src/fanout.js.map +1 -1
- package/dist/src/index.js +21 -13
- package/dist/src/index.js.map +1 -1
- package/dist/src/kernel/engine.d.ts +39 -1
- package/dist/src/kernel/engine.js +120 -10
- package/dist/src/kernel/engine.js.map +1 -1
- package/dist/src/kernel/nodes/fanout.js +1 -0
- package/dist/src/kernel/nodes/fanout.js.map +1 -1
- package/dist/src/kernel/types.d.ts +9 -0
- package/dist/src/kernel/types.js.map +1 -1
- package/dist/src/openai-compat.d.ts +2 -2
- package/dist/src/openai-compat.js +5 -2
- package/dist/src/openai-compat.js.map +1 -1
- package/dist/src/session-manager.d.ts +7 -2
- package/dist/src/session-manager.js +21 -7
- package/dist/src/session-manager.js.map +1 -1
- package/dist/src/types.d.ts +2 -0
- package/openclaw.plugin.json +1 -1
- package/package.json +2 -2
- package/skills/SKILL.md +31 -32
- package/skills/references/acp.md +19 -36
- package/skills/references/autoloop.md +158 -180
- package/skills/references/claude-cli-tracking.md +27 -27
- package/skills/references/cli.md +62 -79
- package/skills/references/council.md +40 -63
- package/skills/references/dashboard.md +42 -55
- package/skills/references/getting-started.md +20 -14
- package/skills/references/inbox.md +6 -4
- package/skills/references/mcp.md +29 -24
- package/skills/references/multi-engine.md +105 -153
- package/skills/references/observability.md +42 -32
- package/skills/references/openai-compat.md +169 -303
- package/skills/references/sessions.md +20 -29
- package/skills/references/tools.md +67 -78
- package/skills/references/ultra.md +17 -16
- package/skills/references/ultraapp.md +59 -64
- package/skills/references/verification.md +29 -52
- package/skills/references/workflow.md +49 -107
- package/skills/ultraapp/SKILL.md +9 -10
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
# Claude Code CLI Feature Tracking
|
|
2
2
|
|
|
3
|
-
This document tracks which Claude Code CLI version Claw Orchestrator is currently synced to, and which features have been integrated.
|
|
3
|
+
This document tracks which Claude Code CLI version Claw Orchestrator is currently synced to, and which features have been integrated. Recent rows also record the other engines' versions checked in the same sync.
|
|
4
4
|
|
|
5
5
|
## Currently tracked: **Claude Code CLI 2.1.280** (as of 2026-09-23, plugin v7.5.3)
|
|
6
6
|
|
|
7
7
|
## Sync history
|
|
8
8
|
|
|
9
|
-
| Plugin Version
|
|
10
|
-
|
|
|
11
|
-
| v7.5.
|
|
12
|
-
| v7.5.
|
|
13
|
-
| v7.
|
|
14
|
-
| v7.
|
|
15
|
-
| v7.
|
|
16
|
-
|
|
|
17
|
-
| v6.
|
|
18
|
-
| v6.2.
|
|
19
|
-
| v6.
|
|
20
|
-
|
|
|
21
|
-
| v4.
|
|
22
|
-
| v4.
|
|
23
|
-
| v4.
|
|
24
|
-
| v4.
|
|
25
|
-
| v4.
|
|
26
|
-
| v4.
|
|
27
|
-
| v4.1.
|
|
28
|
-
|
|
29
|
-
| v4.1.0
|
|
30
|
-
| v2.14.2
|
|
31
|
-
| v2.14.0
|
|
32
|
-
| v2.13.0
|
|
33
|
-
| v2.12.2 and earlier | 2.1.91
|
|
9
|
+
| Plugin Version | Claude CLI Version | Date | Notable integrations |
|
|
10
|
+
| ------------------- | ------------------ | ---------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
11
|
+
| v7.5.3 | 2.1.280 | 2026-09-23 | CC 2.1.278→2.1.280, Codex 0.155.1→0.156.1, agy 1.2.7→1.2.8, grok 1.0.34→1.0.41, OpenCode 1.18.31→1.18.32. Integrated: Claude Opus 5.5 registered and the `opus` alias moved to `claude-opus-5-5` (the CLI resolves `--model opus` to it); Opus 5.5 is priced at $4/$20 per Mtok with cache reads at 5% of input. GPT-6 Sol and Luna (Codex 0.156.1) registered from the vendors' published price tables. The weekly sweep's Codex upstream lookup now uses `gh release list` and prints the reason when a lookup fails. Codex was not exercised live this cycle. Read, no change needed: agy 1.2.8 (compaction and TUI); CC 2.1.280 fixes for symlinked writes, auto-mode retries, and subagent reports lost on compaction. |
|
|
12
|
+
| v7.5.1 | 2.1.278 | 2026-09-20 | CC 2.1.274→2.1.278, Codex 0.154.0→0.155.1, agy 1.2.5→1.2.7; grok 1.0.34 and OpenCode 1.18.31 unchanged. No flag surface changed. Integrated: since 2.1.277 a process started with `--resume` reports the resumed session's saved cost totals, so the first cost report of a resumed process is now taken as a baseline and that turn keeps its registry estimate, so the inherited total is not counted toward `maxBudgetUsd`. Read, no change needed: agy 1.2.6's unlimited `-p` default timeout (the wrapper passes `--print-timeout`); agy 1.2.6 exit code 3 with an `AGY_ERROR: {...}` line (already treated as a failed turn); agy 1.2.7 removed `find_by_name`, `grep_search` and `list_dir` from the default toolset; CC 2.1.277 fixed `claude -p` hanging after an internal error; CC 2.1.275 fixed `--forward-subagent-text` for `context: fork` skills; Codex 0.155.x is TUI work. |
|
|
13
|
+
| v7.5.0 | 2.1.274 | 2026-09-17 | CC 2.1.271→2.1.274, agy 1.2.2→1.2.5, grok 1.0.30→1.0.34; Codex 0.154.0 and OpenCode 1.18.31 unchanged. No flag surface changed. Integrated, from 2.1.274 stream recordings: tool calls are counted once (with `--include-partial-messages` each `tool_use` appears on `content_block_start` and again in the `assistant` event); `toolErrors` reads tool results from `user` messages; the ledger records the model named in the `init` event. A headless ultracode launch returns one `result` at launch and a second, tagged `origin: {kind: "task-notification"}`, when the workflow finishes; sends now carry an id and resolve only on the `result` whose `user_message_uuids` includes it. The sweep now fails on an empty upstream lookup and reads grok's upstream from `grok update --check --json`. Read, no change needed: agy 1.2.4–1.2.5 still report refused `RunCommand` calls as `permission_denials`; agy's new `--remote-control` flag is interactive; CC stream-json fixes for deferred MCP servers, backgrounded subagent reports and `unexpected tool_use_id`; agy no longer ends a turn with `NO_TOOL_CALL` on a schema-invalid tool call. |
|
|
14
|
+
| v7.4.1 | 2.1.271 | 2026-09-15 | CC 2.1.269→2.1.271, OpenCode 1.18.30→1.18.31; Codex 0.154.0, agy 1.2.2 and grok 1.0.30 unchanged. No flag surface changed. Integrated: `omitClaudeMd` in the `--agents` JSON (2.1.271) — the `agents` value is passed to the CLI verbatim, and its TypeScript type is now `AgentDefinition`, naming `omitClaudeMd` and passing other fields through. The sweep's missing-model check now resolves engine binaries on `PATH`, covers Claude as well as GPT, and reports a binary it cannot scan; `gpt-4.1` registered. Read, no change needed: MCP-only `-p --resume` sessions, `--resume` keeping the `[1m]` tag, a 10-minute Monitor cap in `-p`; OpenCode 1.18.31 ACP and TUI fixes. |
|
|
15
|
+
| v7.2.0 | 2.1.269 | 2026-09-13 | CC 2.1.260→2.1.269, Codex 0.153.2→0.154.0, agy 1.1.25→1.2.2, grok 1.0.13→1.0.30, OpenCode 1.18.27→1.18.30. Integrated: 2.1.269 reports all refused tool calls in the result event's `permission_denials`, even when the turn ends `subtype: success`; these are now surfaced as `SendResult.permissionDenials`. agy 1.2.2 in `--mode plan` also reports a refused `RunCommand` as `status: SUCCESS`. Not wired: Codex 0.154.0 `--worktree` (behind `--enable worktrees`), because edits land in `~/.codex/worktrees/<hash>/<repo>` rather than the session cwd, so contracts and evidence would check an untouched tree. Read, no change needed: `-p --resume` no longer inserts a "Continue" turn, cwd no longer resets per message, a mid-turn model switch keeps the reply; the hidden `--append-subagent-system-prompt-file` has no counterpart option here. |
|
|
16
|
+
| v7.1.0 | 2.1.260 | 2026-09-04 | CC 2.1.259→2.1.260, Codex 0.153.0→0.153.2; agy 1.1.25, grok 1.0.13, OpenCode 1.18.27 unchanged. No wrapper change. Registry: GPT-5.6 tiers repriced to OpenAI's current rates; `gpt-6-astra` registered (1,050,000-token window). Not registered: `gpt-5.6-pro` (no published pricing) and `gpt-5.6-cyber` (not selectable by any engine here). |
|
|
17
|
+
| v6.5.0 | 2.1.259 | 2026-09-03 | CC 2.1.258→2.1.259, Codex 0.152.1→0.153.0, agy 1.1.22→1.1.25, OpenCode 1.18.26→1.18.27; grok not verified live (pin stays 1.0.13). Added `scripts/sweep.ts` (versions, flag surface against each binary's `--help`, one live turn per engine through the wrapper, ACP/MCP handshakes) and `scripts/sweep-workflow.json`. Integrated: `--permission-prompts none` (2.1.259) is passed whenever no permission-prompt tool is configured, so an unanswerable prompt is denied instead of waiting for the turn timeout. agy 1.1.25 dropped `gemini-3.5-flash`, the previous default; the agy default and the `agy-flash` alias moved to `gemini-3.8-flash`. |
|
|
18
|
+
| v6.2.1 | 2.1.258 | 2026-09-02 | CC 2.1.251→2.1.258, Codex 0.151.0→0.152.1, OpenCode 1.18.25→1.18.26. Integrated: `claude-fable-5-1` and `claude-mythos-5-1` registered; the `fable` alias moved to `claude-fable-5-1`. Fable 5.1 cache reads are priced at 0.025× base input ($0.25/Mtok); cache writes keep the usual 1.25×/2×. Read, no change needed: `timeFormat`/`timeZone`, `/effort s`, `CLAUDE_CODE_SUBAGENT_MODEL_FORCE`, `permissions.blockReadsOutsideWorkingDirectories`, gateway model discovery, the auto-mode Containment Escape rule. |
|
|
19
|
+
| v6.2.0 | 2.1.251 | 2026-08-31 | CC 2.1.246→2.1.251, Codex 0.149.1→0.151.0, agy 1.1.21→1.1.22, grok 1.0.5→1.0.13, OpenCode 1.18.23→1.18.25. Integrated: `--restricted` (2.1.249) as the separate `restricted` option, not part of read-only mode. grok options `--rules`, `--tools`, `--disallowed-tools`, `--json-schema`, `--agent`, `--agents`, `--always-approve`, `--session-id` and `--fork-session` wired (grok does not validate tool names). grok read-only sessions stay refused: a `--tools` allowlist plus plan mode blocked direct and shell writes but not writes through a delegated subagent. `--no-subagents` not yet wired. Registry: Sonnet 5's $2/$10 per Mtok is now the standard rate. |
|
|
20
|
+
| v6.1.0 | 2.1.246 | 2026-08-27 | CC 2.1.237→2.1.246, Codex 0.148.0→0.149.1, agy 1.1.15→1.1.21, OpenCode 1.18.18→1.18.23; grok unchanged at 1.0.5. No new Claude flag. Fixed token accounting: usage is counted once per turn; Claude cost uses the engine's `total_cost_usd` (applied as a difference, so cache writes are included); cached reads are subtracted from input only on Codex; `contextPercent` uses the whole prompt over `modelUsage[*].contextWindow`. Effort: Codex `max` and `ultra` passed natively, Grok `xhigh` passed natively, OpenCode receives effort via `--variant`. Codex `--ephemeral`, `--ignore-user-config` and `--add-dir` wired. Registry: `gemini-3.7-flash`, `gemini-3.6-flash` and `gpt-5.2` registered; `gemini-3.5-flash` repriced to $1.50/$9. |
|
|
21
|
+
| v4.8.0 | 2.1.207 | 2026-07-12 | Autoloop Planner, Coder and Reviewer can each use a different engine and model; Claude stays the default. Non-Claude Planners use their engine's read-only/plan mode and receive the role protocol in-band. Engine selections persist across resume; Codex persists its thread ID. Checked against Claude Code 2.1.207 and Codex 0.144.1. |
|
|
22
|
+
| v4.7.0 | 2.1.206 | 2026-07-10 | Added `engine: 'agy'` (Antigravity; PR #71) with resume-ID gating, `agy/` prefix routing, shared `sanitize.ts` across engines and `ENGINE_TYPES` as the single engine list. CC 2.1.200 renamed the `default` permission mode to `manual`: `manual` added, `default` still accepted, `delegate` removed (rejected by the CLI); agy/gemini map `manual` like `default` (→ `--sandbox`). Codex `max` effort still mapped to `xhigh` (rejected for gpt-5.5 on Codex 0.143.0). GPT-5.6 Sol/Terra/Luna registered ($5/$30, $2.50/$15, $1/$6; 1M/1M/400K context); Codex default stays gpt-5.5. Read, no change needed: CC 2.1.205 `--json-schema` fixes, CC 2.1.203 `ANTHROPIC_BASE_URL` fix for background sessions. |
|
|
23
|
+
| v4.6.0 | 2.1.199 | 2026-07-03 | Registered `claude-fable-5` ($10/$50 per Mtok, cache read $1, 1M context) with the `fable` alias; `isClaudeModel` and `resolveProvider` recognise `fable`/`mythos` model names. Read, no change needed: CC 2.1.198–2.1.199 subagent reliability fixes. Codex unchanged (0.142.4). |
|
|
24
|
+
| v4.5.0 | 2.1.197 | 2026-07-01 | Registered `claude-sonnet-5` (1M context, $3/$15 per Mtok standard) and moved the `sonnet` alias to it; `claude-sonnet-4-6` remains selectable by full id. `gpt-5.5` priced at $5/$30 per Mtok with 1M context. Read, no change needed: CC 2.1.179–2.1.197 and Codex 0.138–0.142.x (no invocation or event-schema change), including CC 2.1.181 prompt caching on custom `ANTHROPIC_BASE_URL`, 2.1.187 `--json-schema` fix, 2.1.196 streaming idle watchdog on by default, Codex 0.139 `oneOf`/`allOf` in `--output-schema`. |
|
|
25
|
+
| v4.3.0 | 2.1.178 | 2026-06-16 | Claude `--fallback-model` array form. Codex app-server `thread/list` tool and `thread/resume` on start when `resumeSessionId` is set. Council agents gain per-agent `effort` and `ultracode`. `ultrareview` runs on the cross-engine `fanout` primitive (opt-in `engines`, default Claude only). Consensus parsing reports its match source. Not adopted: `codex cloud exec`, `--bg`, `--output-last-message`, `ultracode` for ultraplan; autoloop mid-turn steer (the loop runs Coder and Reviewer sequentially). |
|
|
26
|
+
| v4.2.0 | 2.1.178 | 2026-06-16 | Added `ultracode` on `session_start` (the `ultracode: true` settings key merged into `--settings`) and `claude_agents_list` (wraps `claude agents --json`). `claude continue/respawn/stop/logs` are not headless subcommands; continuation uses `--resume`. Codex 0.137: app-server tools `codex_interrupt`, `codex_steer`, `codex_fork`, `codex_rollback`, `codex_models`; `codex exec` reasoning effort (`-c model_reasoning_effort`) and `--profile`; cross-engine `fanout` primitive. |
|
|
27
|
+
| v4.1.2 | 2.1.161 | 2026-06-03 | Registered Opus 4.8 (`claude-opus-4-8`, now the `opus` alias) and Opus 4.7. The `low/medium/high/xhigh/max` effort ladder was already supported. Read, no change needed: 2.1.151–2.1.161 TUI/reliability/telemetry work, including 2.1.153 (stream-json stdin-close hang) and 2.1.161 (`-p` stdout corruption from background subagents). Note: since 2.1.160, `acceptEdits` prompts before editing build-tool config files (`.npmrc`, `.bazelrc`, `.pre-commit-config.yaml`, `.devcontainer/`, etc.) and shell startup files; headless flows that touch them need a bypass permission mode. Codex `turn.failed`/`error` events are now surfaced. |
|
|
28
|
+
| v4.1.1 | 2.1.150 | 2026-05-24 | No Claude wrapper change: 2.1.141–2.1.150 is TUI, agent-view, security and visual work; `claude agents --json` (2.1.145) lists _CLI-managed_ sessions and is not used by the session manager. Codex `--output-schema` wired into `jsonSchema` (Codex 0.132+); Gemini `--skip-trust` for the 0.43 trusted-folders check. |
|
|
29
|
+
| v4.1.0 | 2.1.140 | 2026-05-13 | `claude_goal_set` / `claude_goal_clear` / `claude_goal_status` tools (wrap CLI 2.1.139 `/goal` slash command), `plugin_details` tool (wraps `claude plugin details`, 2.1.139), `pluginUrl` config (maps to `--plugin-url`, 2.1.129). Skipped items that are user-controlled via `--settings` (worktree.baseRef, autoMode.hard_deny, skillOverrides, sandbox.bwrapPath / socatPath, parentSettingsBehavior) or auto-set by the CLI (`CLAUDE_CODE_SESSION_ID`, `CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN`, `CLAUDE_CODE_FORCE_SYNC_OUTPUT` — all TTY-only). Hook `args: string[]`, `continueOnBlock`, hook input `effort.level`, subagent `x-claude-code-agent-id` headers are CLI-internal — no wrapper change needed. |
|
|
30
|
+
| v2.14.2 | 2.1.126 | 2026-05-04 | `bedrockServiceTier` (Bedrock service-tier env, 2.1.122), `project_purge` tool (wraps `claude project purge`, 2.1.126); skipped passive-only items (OTel numeric attr, `invocation_trigger`, `/v1/models` gateway discovery, PowerShell shell changes) |
|
|
31
|
+
| v2.14.0 | 2.1.121 | 2026-04-28 | `forkSubagent` (fork subagent env), `enableToolSearch` (Vertex AI tool search env), `otelLogUserPrompts` / `otelLogRawApiBodies` (OTEL logging toggles), `xhigh` effort level (Opus 4.7), `stats.pluginErrors` capture from `system/init` |
|
|
32
|
+
| v2.13.0 | 2.1.111 | 2026-04-16 | Hook events, permission delegation, prompt cache optimization (exclude-dynamic-sections + 1H cache), debug control, `--from-pr`, MCP channels, `system/api_retry` event tracking |
|
|
33
|
+
| v2.12.2 and earlier | 2.1.91 | — | Bare mode, worktree, json-schema, mcp-config, betas, fallback-model, effort, agent teams |
|
|
34
34
|
|
|
35
35
|
## How to update this
|
|
36
36
|
|
|
@@ -41,4 +41,4 @@ When syncing to a new Claude Code CLI version:
|
|
|
41
41
|
3. Decide which features are valuable for programmatic/agent use (vs human-interactive only)
|
|
42
42
|
4. Implement worthwhile features (add to `SessionConfig` → wire into `persistent-session.ts` → expose in tool schema → document)
|
|
43
43
|
5. Update this file with the new version + notable integrations
|
|
44
|
-
6. Update `
|
|
44
|
+
6. Update the engine tables in `AGENTS.md` and `README.md`
|
package/skills/references/cli.md
CHANGED
|
@@ -5,14 +5,14 @@ The CLI is an HTTP client that talks to the Claw Orchestrator embedded server. I
|
|
|
5
5
|
## Server
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
clawo serve [-p, --port <port>]
|
|
8
|
+
clawo serve [-p, --port <port>] [-H, --host <host>] [--ultraapp-runtime host|docker]
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
Start standalone embedded server (default port 18796).
|
|
11
|
+
Start standalone embedded server (default port 18796, bound to `127.0.0.1`; pass `-H 0.0.0.0` for remote access). `--ultraapp-runtime` selects how ultraapp builds run: `host` (default, spawns Node directly) or `docker`. CLI commands reach the server at `CLAWO_API_URL` (default `http://127.0.0.1:18796`).
|
|
12
12
|
|
|
13
13
|
### Rate Limiting
|
|
14
14
|
|
|
15
|
-
The embedded server
|
|
15
|
+
The embedded server limits each IP address to 300 requests per minute (sliding window; override with `OPENCLAW_RATE_LIMIT`). Requests over the limit receive HTTP 429 (Too Many Requests).
|
|
16
16
|
|
|
17
17
|
### OpenAI-Compatible API
|
|
18
18
|
|
|
@@ -29,7 +29,7 @@ The server exposes an OpenAI-compatible chat completions endpoint, enabling any
|
|
|
29
29
|
|
|
30
30
|
```json
|
|
31
31
|
{
|
|
32
|
-
"model": "
|
|
32
|
+
"model": "sonnet",
|
|
33
33
|
"messages": [{ "role": "user", "content": "Hello!" }],
|
|
34
34
|
"stream": true
|
|
35
35
|
}
|
|
@@ -39,21 +39,31 @@ The server exposes an OpenAI-compatible chat completions endpoint, enabling any
|
|
|
39
39
|
|
|
40
40
|
1. `X-Session-Id` header
|
|
41
41
|
2. `user` field in the request body
|
|
42
|
-
3.
|
|
42
|
+
3. A hash of the model, system prompt and tool definitions (`sys-<hash>`)
|
|
43
|
+
4. `default`, when all of those are empty
|
|
43
44
|
|
|
44
45
|
**Model routing:** The `model` field auto-routes to the correct engine:
|
|
45
46
|
|
|
46
47
|
- `claude-*`, `opus`, `sonnet`, `haiku` → Claude engine
|
|
47
|
-
- `gpt
|
|
48
|
-
- `grok
|
|
49
|
-
- `composer
|
|
50
|
-
- `gemini-3.
|
|
51
|
-
- other `gemini
|
|
48
|
+
- `gpt-*`, `o3*`, `o4*`, `codex*` → Codex engine
|
|
49
|
+
- `grok*` → Grok engine
|
|
50
|
+
- `composer*`, `cursor*`, `auto` → Cursor engine (legacy)
|
|
51
|
+
- `agy/*`, the `agy-flash` / `agy-pro` aliases, and the registered Antigravity models (e.g. `gemini-3.8-flash`, `gemini-3.1-pro`) → Antigravity (`agy`) engine
|
|
52
|
+
- other `gemini*` → the legacy `gemini` engine (Gemini CLI is sunset; prefer `agy`)
|
|
53
|
+
- anything else → Claude engine
|
|
52
54
|
|
|
53
55
|
**CORS:** `/v1/` paths allow cross-origin requests by default. Set `OPENCLAW_CORS_ORIGINS=*` to allow all origins on all paths.
|
|
54
56
|
|
|
55
57
|
**Auto-compact:** When a session's context utilization exceeds 80%, the endpoint automatically compacts the session before sending the next message.
|
|
56
58
|
|
|
59
|
+
## ACP agent
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
clawo acp
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Run as an Agent Client Protocol agent over stdio (same as the `clawo-acp` binary). See [acp.md](./acp.md).
|
|
66
|
+
|
|
57
67
|
## Session Management
|
|
58
68
|
|
|
59
69
|
### session-start
|
|
@@ -62,38 +72,37 @@ The server exposes an OpenAI-compatible chat completions endpoint, enabling any
|
|
|
62
72
|
clawo session-start [name] [options]
|
|
63
73
|
```
|
|
64
74
|
|
|
65
|
-
| Flag
|
|
66
|
-
|
|
|
67
|
-
| `-d, --cwd <dir>`
|
|
68
|
-
| `-e, --engine <engine>`
|
|
69
|
-
| `-m, --model <model>`
|
|
70
|
-
| `--permission-mode <mode>`
|
|
71
|
-
| `--effort <level>`
|
|
72
|
-
| `--allowed-tools <tools>`
|
|
73
|
-
| `--
|
|
74
|
-
| `--max-
|
|
75
|
-
| `--
|
|
76
|
-
| `--
|
|
77
|
-
| `--
|
|
78
|
-
| `--
|
|
79
|
-
| `--
|
|
80
|
-
|
|
|
81
|
-
|
|
|
82
|
-
| `--
|
|
83
|
-
| `--
|
|
84
|
-
| `--
|
|
85
|
-
| `--
|
|
86
|
-
| `--
|
|
87
|
-
| `--
|
|
88
|
-
| `--
|
|
89
|
-
| `--
|
|
90
|
-
| `--
|
|
91
|
-
| `--
|
|
92
|
-
| `--
|
|
93
|
-
| `--
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
| `ENABLE_PROMPT_CACHING_1H=1` (env var) | Enable 1-hour prompt cache TTL (auto-set with `--bare`) |
|
|
75
|
+
| Flag | Description |
|
|
76
|
+
| ------------------------------- | ------------------------------------------------------------------------------------------- |
|
|
77
|
+
| `-d, --cwd <dir>` | Working directory |
|
|
78
|
+
| `-e, --engine <engine>` | Engine: `claude` (default), `codex`, `codex-app`, `agy`, `grok`, `opencode`, or `custom` |
|
|
79
|
+
| `-m, --model <model>` | Model name or alias |
|
|
80
|
+
| `--permission-mode <mode>` | `acceptEdits` (default), `plan`, `auto`, `bypassPermissions`, `manual`, `dontAsk` |
|
|
81
|
+
| `--effort <level>` | `low`, `medium`, `high`, `xhigh`, `max`, `ultra`, `auto` |
|
|
82
|
+
| `--allowed-tools <tools>` | Comma-separated tool whitelist |
|
|
83
|
+
| `--disallowed-tools <tools>` | Comma-separated tools to deny |
|
|
84
|
+
| `--max-turns <n>` | Max agent loop turns |
|
|
85
|
+
| `--max-budget <usd>` | API cost ceiling |
|
|
86
|
+
| `--system-prompt <text>` | Replace system prompt |
|
|
87
|
+
| `--append-system-prompt <text>` | Append to system prompt |
|
|
88
|
+
| `--agents <json>` | Custom sub-agents JSON |
|
|
89
|
+
| `--agent <name>` | Default agent |
|
|
90
|
+
| `--bare` | No CLAUDE.md, no git context |
|
|
91
|
+
| `-w, --worktree [name]` | Git worktree |
|
|
92
|
+
| `--fallback-model <model>` | Fallback model |
|
|
93
|
+
| `--json-schema <schema>` | JSON Schema for structured output |
|
|
94
|
+
| `--mcp-config <paths>` | MCP config files (comma-separated) |
|
|
95
|
+
| `--settings <pathOrJson>` | Settings.json path or inline JSON |
|
|
96
|
+
| `--skip-persistence` | Do not save the session — neither the engine's transcript nor the resume registry |
|
|
97
|
+
| `--betas <headers>` | Beta headers (comma-separated) |
|
|
98
|
+
| `--enable-agent-teams` | Enable agent teams |
|
|
99
|
+
| `--enable-auto-mode` | Enable auto permission mode |
|
|
100
|
+
| `--resume-session-id <id>` | Resume an existing session by ID |
|
|
101
|
+
| `--base-url <url>` | Custom API endpoint (for proxy) |
|
|
102
|
+
| `--add-dir <dirs>` | Comma-separated additional working directories |
|
|
103
|
+
| `--custom-engine <preset>` | With `-e custom`: the id of a bundled engine preset (see [`clawo engines`](#clawo-engines)) |
|
|
104
|
+
|
|
105
|
+
The remaining `session_start` options (hook events, permission-prompt tool, debug output, `fromPr`, MCP channels, prompt-cache settings and others) are tool parameters only and have no CLI flag. See [Tools Reference](./tools.md#session_start).
|
|
97
106
|
|
|
98
107
|
### session-send
|
|
99
108
|
|
|
@@ -141,15 +150,17 @@ clawo session-compact <name> [--summary <text>]
|
|
|
141
150
|
## Run Ledger
|
|
142
151
|
|
|
143
152
|
```bash
|
|
144
|
-
clawo runs [--since <window>] [-n, --limit <n>] [--session <name>] [--engine <engine>] [--parent <id>] [--json]
|
|
153
|
+
clawo runs [-s, --since <window>] [-n, --limit <n>] [--session <name>] [--engine <engine>] [--parent <id>] [--verified | --refuted] [--json]
|
|
145
154
|
```
|
|
146
155
|
|
|
147
156
|
Show the durable per-turn record kept at `~/.claw-orchestrator/runs/`. Unlike
|
|
148
157
|
`session-status`, this survives restarts and covers sessions this process never
|
|
149
158
|
owned. `--since` takes `30m` / `24h` / `7d` / `2w` or an ISO timestamp (default
|
|
150
|
-
`24h`); `--parent` filters to one council / fanout / autoloop
|
|
151
|
-
|
|
152
|
-
|
|
159
|
+
`24h`); `--parent` filters to one council / fanout / autoloop / workflow run;
|
|
160
|
+
`--verified` / `--refuted` keep only turns whose acceptance contract passed /
|
|
161
|
+
failed. Costs marked with a trailing `~` came from estimated token counts. The
|
|
162
|
+
`VERIFIED` column reads `yes`, `NO`, or `—` ("no contract was declared, so
|
|
163
|
+
nothing checked it"). See [observability.md](observability.md).
|
|
153
164
|
|
|
154
165
|
## Agent Management
|
|
155
166
|
|
|
@@ -179,30 +190,13 @@ clawo session-team-list <name>
|
|
|
179
190
|
clawo session-team-send <name> <teammate> <message>
|
|
180
191
|
```
|
|
181
192
|
|
|
182
|
-
##
|
|
183
|
-
|
|
184
|
-
The following tools are available through the OpenClaw plugin SDK and TypeScript API but do not have CLI commands. Use the SDK directly or call them via OpenClaw's tool system.
|
|
193
|
+
## Tools Without a CLI Command
|
|
185
194
|
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
| `session_update_tools` | Hot-swap allowed/disallowed tools via `--resume` |
|
|
190
|
-
| `session_switch_model` | Switch model mid-session via `--resume` |
|
|
191
|
-
| `council_start` | Start multi-agent council with worktree isolation |
|
|
192
|
-
| `council_status` | Poll council progress and agent responses |
|
|
193
|
-
| `council_abort` | Abort a running council |
|
|
194
|
-
| `council_inject` | Inject a message into the next council round |
|
|
195
|
-
| `session_send_to` | Cross-session messaging (immediate or queued) |
|
|
196
|
-
| `session_inbox` | Read inbox messages for a session |
|
|
197
|
-
| `session_deliver_inbox` | Deliver queued messages to an idle session |
|
|
198
|
-
| `ultraplan_start` | Start background Opus planning session |
|
|
199
|
-
| `ultraplan_status` | Poll ultraplan progress |
|
|
200
|
-
| `ultrareview_start` | Start fleet of parallel reviewer agents |
|
|
201
|
-
| `ultrareview_status` | Poll ultrareview findings |
|
|
195
|
+
Tools without a CLI command are reachable through the OpenClaw plugin, the MCP
|
|
196
|
+
server (`clawo-mcp`, see [mcp.md](./mcp.md)), or the `SessionManager` API. See
|
|
197
|
+
[Tools Reference](./tools.md) for full parameter documentation.
|
|
202
198
|
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
## `clawo workflow` (6.0.0)
|
|
199
|
+
## `clawo workflow`
|
|
206
200
|
|
|
207
201
|
```bash
|
|
208
202
|
clawo workflow list [--state <s>] [--workflow <name>] [--limit N] [--json]
|
|
@@ -230,17 +224,6 @@ Prints the evidence bundle: per-check pass/fail with the failing command and its
|
|
|
230
224
|
output tail, the base and head commits, and the files the run changed (created
|
|
231
225
|
files included).
|
|
232
226
|
|
|
233
|
-
## `clawo runs` additions
|
|
234
|
-
|
|
235
|
-
```bash
|
|
236
|
-
clawo runs --verified # only turns whose acceptance contract passed
|
|
237
|
-
clawo runs --refuted # only turns whose acceptance contract failed
|
|
238
|
-
```
|
|
239
|
-
|
|
240
|
-
The table gains a `VERIFIED` column with three values: `yes`, `NO`, and `—` for
|
|
241
|
-
"no contract was declared, so nothing checked it". See
|
|
242
|
-
[`observability.md`](./observability.md).
|
|
243
|
-
|
|
244
227
|
## `clawo engines`
|
|
245
228
|
|
|
246
229
|
Lists the community engine presets bundled with the installed package, with each
|