@enderfga/claw-orchestrator 7.3.0 → 7.4.1

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.
@@ -1 +1 @@
1
- {"version":3,"file":"persistent-agy-session.js","sourceRoot":"","sources":["../../src/persistent-agy-session.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAEH,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAGlC,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,+BAA+B,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC7F,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAwB/D,+EAA+E;AAE/E,MAAM,OAAO,oBAAqB,SAAQ,kBAAkB;IAC1D;;;;OAIG;IACK,iBAAiB,CAAqB;IAE9C,YAAY,MAAqB,EAAE,MAAe;QAChD,KAAK,CAAC,MAAM,EAAE,MAAM,IAAI,OAAO,CAAC,GAAG,CAAC,OAAO,IAAI,KAAK,EAAE;YACpD,YAAY,EAAE,KAAK;YACnB,qEAAqE;YACrE,wEAAwE;YACxE,qEAAqE;YACrE,0EAA0E;YAC1E,wEAAwE;YACxE,sEAAsE;YACtE,yBAAyB;YACzB,YAAY,EAAE,kBAAkB;YAChC,oBAAoB,EAAE,KAAK;YAC3B,iBAAiB,EAAE,aAAa;SACjC,CAAC,CAAC;QACH,0EAA0E;QAC1E,sEAAsE;QACtE,IAAI,mBAAmB,CAAC,MAAM,CAAC,eAAe,CAAC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AE,CAAC,CAAC,CAAC,CAAC,gCAAgC,CAAC,CAAC,CAAC,oBAAoB,CACpG,CACF,CAAC;gBACJ,CAAC;qBAAM,CAAC;oBACN,OAAO,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC;gBAC3B,CAAC;YACH,CAAC,CAAC,CAAC;YAEH,IAAI,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,GAAG,EAAE,EAAE;gBACvB,YAAY,CAAC,KAAK,CAAC,CAAC;gBACpB,IAAI,CAAC,OAAO,EAAE,CAAC;oBACb,OAAO,GAAG,IAAI,CAAC;oBACf,MAAM,CAAC,GAAG,CAAC,CAAC;gBACd,CAAC;YACH,CAAC,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;IACL,CAAC;IAED,sEAAsE;IACtE,IAAI;QACF,KAAK,CAAC,IAAI,EAAE,CAAC;QACb,IAAI,CAAC;YACH,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAC/B,CAAC;QAAC,MAAM,CAAC;YACP,iCAAiC;QACnC,CAAC;IACH,CAAC;IAED,gEAAgE;IAChE,QAAQ;QACN,MAAM,IAAI,GAAG,KAAK,CAAC,QAAQ,EAAE,CAAC;QAC9B,OAAO,EAAE,GAAG,IAAI,EAAE,iBAAiB,EAAE,IAAI,CAAC,iBAAiB,EAAE,CAAC;IAChE,CAAC;CACF"}
@@ -152,6 +152,25 @@ export interface CustomEngineConfig {
152
152
  */
153
153
  sanitizePatterns?: string[];
154
154
  }
155
+ /**
156
+ * One entry of Claude Code's `--agents` JSON, passed to the CLI verbatim.
157
+ *
158
+ * Only `prompt` is required. The CLI's schema for this object grows from
159
+ * release to release — `tools`, `model`, `maxTurns`, `background`, `memory`,
160
+ * `isolation` and `effort` already sit beside the two fields this type used to
161
+ * name — so it stays open: a field the CLI adds reaches it without waiting for
162
+ * a change here.
163
+ */
164
+ export interface AgentDefinition {
165
+ description?: string;
166
+ prompt: string;
167
+ /**
168
+ * Run the subagent without the user, project and local CLAUDE.md files
169
+ * (CLI 2.1.271+; managed policy still applies). Verified accepted by 2.1.271.
170
+ */
171
+ omitClaudeMd?: boolean;
172
+ [field: string]: unknown;
173
+ }
155
174
  export interface SessionConfig {
156
175
  name: string;
157
176
  cwd: string;
@@ -167,10 +186,7 @@ export interface SessionConfig {
167
186
  systemPrompt?: string;
168
187
  appendSystemPrompt?: string;
169
188
  dangerouslySkipPermissions?: boolean;
170
- agents?: Record<string, {
171
- description?: string;
172
- prompt: string;
173
- }>;
189
+ agents?: Record<string, AgentDefinition>;
174
190
  agent?: string;
175
191
  customSessionId?: string;
176
192
  sessionName?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enderfga/claw-orchestrator",
3
- "version": "7.3.0",
3
+ "version": "7.4.1",
4
4
  "description": "Claw Orchestrator \u2014 run Claude Code, Codex, Gemini, Cursor Agent, OpenCode and custom coding CLIs as one unified runtime. Drop into Hermes Agent, Claude Desktop, Cursor, Cline, Continue, Zed, Windsurf, Goose or any Model Context Protocol (MCP) host, install as an OpenClaw plugin, or run standalone. Persistent sessions, multi-agent council, ultraplan, ultrareview, autoloop, tool orchestration.",
5
5
  "type": "module",
6
6
  "main": "./dist/src/index.js",
@@ -52,6 +52,22 @@ Planner receives `permissionMode: 'manual'` and its `CustomEngineConfig` **must*
52
52
  map that mode to the CLI's read-only flag — if it cannot, the session refuses to
53
53
  start rather than silently running write-enabled.
54
54
 
55
+ Antigravity's read-only boundary remains `--mode plan` on every Planner turn,
56
+ including recovery. agy 1.1.26 can soft-deny a tool confirmation, emit a valid
57
+ conversation id, leave `result.response` blank, and still exit 0. A missing or
58
+ whitespace-only response is therefore a failed turn at the agy adapter boundary
59
+ for every caller, not a successful empty Planner reply. If the private log for
60
+ that exact turn contains agy's narrow `tool_confirmation_manager` soft-denial
61
+ marker, the caller receives a fixed, sanitized diagnosis; native log content is
62
+ never returned. The captured conversation id remains usable, so a later
63
+ operator-initiated chat resumes with `--conversation`. Recovery neither retries
64
+ the failed message automatically nor relaxes permissions. Because the failed
65
+ reply never reaches the control parser, it cannot change `plan.md` or
66
+ `goal.json`, spawn subagents, or emit an initial directive. agy 1.2.2 can instead
67
+ return a non-empty successful reply for the same soft denial; the adapter emits
68
+ the refused tool names through `SendResult.permissionDenials` while preserving
69
+ that reply.
70
+
55
71
  Coder and Reviewer engine/model choices can be overridden by the first successful
56
72
  `spawn_subagents`; later attempts to change an already-started role are rejected
57
73
  instead of silently diverging from the running session.
@@ -151,6 +167,18 @@ The Planner controls the run by emitting fenced ` ```autoloop ` JSON blocks
151
167
  inside its replies. The dispatcher parses them out and applies them. You
152
168
  never see the JSON — only the Planner's narrative.
153
169
 
170
+ These fenced reply blocks are the only Planner control channel. Native shell or
171
+ file-tool activity is never interpreted as a control, and the read-only Planner
172
+ still cannot write the artifacts directly. The dispatcher parses and validates
173
+ the complete block batch before applying any effect, including rejecting
174
+ malformed blocks and duplicate `write_plan`, `write_goal`, or
175
+ `spawn_subagents` controls. A valid batch has fixed ordering even when the
176
+ blocks appear in another order: all plan/goal bodies are staged and replaced as
177
+ one failure-atomic artifact transaction, then policy effects run, then at most
178
+ one subagent spawn runs, and only then are directive messages returned to the
179
+ runner. A staging or replacement failure restores the prior artifact bytes,
180
+ removes partial files, and suppresses both spawn and directives.
181
+
154
182
  | Tool | Args | What |
155
183
  | -------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
156
184
  | `notify_user` | `level` ('info' / 'warn' / 'decision' / 'error'), `summary`, `detail?`, `channel?` ('auto' / 'wechat' / 'webchat' / 'both' / 'email') | Push you out-of-band. |
@@ -2,11 +2,12 @@
2
2
 
3
3
  This document tracks which Claude Code CLI version Claw Orchestrator is currently synced to, and which features have been integrated.
4
4
 
5
- ## Currently tracked: **Claude Code CLI 2.1.269** (as of 2026-09-13, plugin v7.2.0)
5
+ ## Currently tracked: **Claude Code CLI 2.1.271** (as of 2026-09-15, plugin v7.4.1)
6
6
 
7
7
  ## Sync history
8
8
 
9
9
  | Plugin Version | Claude CLI Version | Date | Notable integrations |
10
+ | v7.4.1 | 2.1.271 | 2026-09-15 | **Short sweep: two Claude Code releases and one OpenCode release, nothing broken.** 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 already latest by their own updaters. Every live turn passed through the real wrapper, registry 25 models / 0 drift, and no engine's flag surface changed. From the changelogs: 2.1.271 added `omitClaudeMd` to the `--agents` JSON (run a subagent without the user/project/local CLAUDE.md files). It already reached the CLI — the tool schema takes any object and the wrapper stringifies it verbatim, verified accepted by 2.1.271 — but the TypeScript type still named only `description` and `prompt`, while the CLI's schema has long carried `tools`, `model`, `maxTurns`, `background`, `memory`, `isolation` and `effort` too. The type is now `AgentDefinition`: `omitClaudeMd` named, the rest passed through, and a test pins the verbatim hand-over so a future allowlist cannot drop the next field silently. Needing nothing here: MCP-only `-p --resume` sessions now work, `--resume` keeps the `[1m]` tag across model families, Monitor watches get a 10-minute cap in `-p`. OpenCode 1.18.31's fixes are to its own ACP and TUI. Asked whether Opus 5.2 had shipped: it has not — Anthropic's pricing and model pages and the 2.1.271 binary all stop at `claude-opus-5`. That question exposed that the sweep would not have said so either: its missing-model check covered only GPT, and on inspection it had never run at all, because it resolved the engine binary against the working directory rather than `PATH` and an empty result is indistinguishable from "nothing new". Fixed, extended to Claude with retired rows excluded, and made loud when a binary cannot be scanned; mutation-verified by hiding `claude-opus-5` and `gpt-6-astra` from the registry, each of which it then named. Its first real run named `gpt-4.1`, now registered. |
10
11
  | v7.2.0 | 2.1.269 | 2026-09-13 | **Nine Claude Code releases with no new flag in `--help` — the change that mattered was in the result event.** 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; every live turn passed through the real wrapper, registry 25 models / 0 drift. The flag diff was empty for every engine but Codex, so the Claude changelog was read for what help cannot show. 2.1.269 made stream-json report *all* refused tool calls in the result event's `permission_denials`; measured with `--permission-prompts none`, a turn asked to write a file ended `subtype: success`, `is_error: false`, the Bash call listed as denied and no file on disk. `sendMessage` dropped that event, so every caller saw a clean success — it is now surfaced as `SendResult.permissionDenials`. agy 1.2.2 has the same shape: in `--mode plan` a refused `RunCommand` still produced `status: SUCCESS` and a non-empty reply, the refusal visible only as a `soft-denying tool confirmation` line in its log. Codex 0.154.0's `--worktree` (behind `--enable worktrees`) measured and deliberately not wired: edits land in `~/.codex/worktrees/<hash>/<repo>` on a detached HEAD, never in the session cwd, so contracts and evidence would verify an untouched tree. Also in 2.1.261–2.1.269 and needing nothing here: `-p --resume` no longer inserts a spurious "Continue" turn, non-interactive sessions no longer reset cwd per message, a mid-turn model switch no longer loses the reply; `--append-subagent-system-prompt-file` exists but is hidden from help and has no counterpart option in this wrapper. |
11
12
  | v7.1.0 | 2.1.260 | 2026-09-04 | **Weekly sweep: five engines, zero regressions — the finding was in our own registry, not in a wrapper.** 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. Grok's live turn passed for the first time since its free tier ran out — last week's pin was carried unverified, because an exhausted quota hangs silently rather than erroring. Two registry corrections: all three GPT-5.6 tiers had been repriced by OpenAI after launch while this repo kept the launch rates (Luna over-reported 5x), and `gpt-6-astra` needed registering (1,050,000 window, 10/1/50) or it would have fallen back to Sonnet pricing and a 200K window. Astra is absent from Codex 0.153.0 and present in 0.153.2 — baselining on the installed binary instead of upstream would have hidden it another week, which is the concrete case for that rule. The guard test for bare `gpt-5.6` had pinned launch literals and so failed to notice the repricing; it now asserts equality with `gpt-5.6-sol`, the invariant that actually holds. Still unregistered on purpose: `gpt-5.6-pro` (in the binary, no docs/pricing) and `gpt-5.6-cyber` (documented, not selectable by any engine here). |
12
13
  | v6.5.0 | 2.1.259 | 2026-09-03 | **First sweep run by script, not by hand — and it caught what by-hand missed.** 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 unverifiable (silent hang on a spent free tier; pin stays 1.0.13). `scripts/sweep.ts` measures versions/pins/upstream, the wrapper's flags against each binary's `--help`, one live turn per engine *through the real wrapper class*, and the ACP/MCP handshakes; `scripts/sweep-workflow.json` wraps it as verifier→router→draft-agent→human-gate. CC delta: `--permission-prompts none` (2.1.259) now passed whenever no prompt tool is configured — a prompt nobody can answer is denied instead of hanging to the turn timeout. agy delta: 1.1.25 dropped `gemini-3.5-flash` (status: ERROR), which was this wrapper's default — every model-less Antigravity session was failing; default and `agy-flash` alias moved to 3.8 (registered, $0.75/$3.75 current rate), verified live. The by-hand sweep and the script's first version both exercised agy with a minimal argv and no `--model`, so both passed on agy's own default and never saw it; the live turn now goes through the wrapper. Two script lessons: help-text diffing flagged four still-accepted Claude flags as removed (advisory now, not a verdict), and `execFile` left a dangling stdin that timed out every one-shot engine (stdin is closed now, as the opencode wrapper always did). |
@@ -133,7 +133,7 @@ await manager.startSession({
133
133
 
134
134
  Wraps Google's **Antigravity CLI** (`agy`) — the successor to Gemini CLI (consumer
135
135
  Gemini CLI tiers stopped serving 2026-06-18). Each `send()` spawns a new process
136
- in print mode. Verified against `agy` **1.1.13**.
136
+ in print mode. Adapter behavior is covered through `agy` **1.2.2**.
137
137
 
138
138
  - One-shot execution per message (no persistent subprocess)
139
139
  - **Structured output and real usage** — `--output-format stream-json` emits an
@@ -145,6 +145,18 @@ in print mode. Verified against `agy` **1.1.13**.
145
145
  scrape remains as a fallback for turns that die before emitting `init`. Seed it
146
146
  externally via `resumeSessionId` (bare UUID only); read it back from
147
147
  `getStats().agyConversationId`.
148
+ - **Empty responses fail adapter-wide and remain recoverable**: an exit-0 result
149
+ with a missing, blank, or whitespace-only response rejects instead of becoming
150
+ a successful empty reply, whether the caller is Autoloop, MCP, HTTP, or the
151
+ library API. agy 1.1.26 may do this after plan mode soft-denies a tool
152
+ confirmation. The adapter clears the per-session log before each spawn and
153
+ recognizes only the narrow current-turn `tool_confirmation_manager` marker,
154
+ returning a fixed sanitized diagnosis without exposing native log content. A
155
+ conversation id already emitted by `init` is retained for the caller's next
156
+ send; the failed turn is not retried automatically. On agy 1.2.2 the same
157
+ denial can accompany `status: SUCCESS` and a non-empty reply; the refused tool
158
+ names are emitted as `permission_denials`, which SessionManager exposes as
159
+ `SendResult.permissionDenials` without discarding the reply.
148
160
  - **Reasoning effort**: session `effort` and per-turn `session_send` overrides map
149
161
  to `--effort`. agy accepts `low`, `medium`, and `high`; everything above that
150
162
  (`xhigh`, `max`, `ultra`) clamps to `high`. agy 1.1.25 requires an effort with unsuffixed base
@@ -163,15 +175,21 @@ in print mode. Verified against `agy` **1.1.13**.
163
175
  - Permission modes: `bypassPermissions` → `--dangerously-skip-permissions`,
164
176
  `default` → `--sandbox` (terminal-restricted), and
165
177
  `sandboxMode: 'read-only'` → `--mode plan` (takes precedence). Other modes
166
- run agy's own approval flow, which blocks in headless print mode — use
167
- `bypassPermissions` for autonomous write-enabled work
178
+ run agy's own approval flow, which can block in headless print mode. A caller
179
+ must explicitly choose `bypassPermissions` for a write-enabled session; it is
180
+ not a recovery mechanism. In particular, an Autoloop Planner stays on
181
+ `--mode plan` when its preserved conversation is resumed.
168
182
  - agy enforces its own print timeout (default 5m); the engine derives
169
183
  `--print-timeout` from the send timeout so the wrapper timer decides
170
- - Unknown `--model` slugs do **not** error — agy silently falls back to its
171
- default model. Registered slugs: `gemini-3.5-flash` (alias `agy-flash`),
172
- `gemini-3.1-pro` (alias `agy-pro`); agy also proxies Claude and GPT-OSS
173
- models (`agy models` lists them) which pass through unregistered. The
174
- `agy/` prefix forces Antigravity routing for provider-like model strings
184
+ - Do not rely on an unknown `--model` falling back: current agy versions can
185
+ report `status: ERROR` with no usable response. The adapter rejects result
186
+ errors, non-success statuses, and empty responses. `agy-flash` and the engine
187
+ default resolve to `gemini-3.8-flash`; `agy-pro` resolves to
188
+ `gemini-3.1-pro`. The registry also describes the 3.5/3.6/3.7 Flash API
189
+ families for pricing and routing, but agy's own `agy models` output decides
190
+ which slugs are executable. agy also proxies Claude and GPT-OSS models, which
191
+ pass through unregistered. The `agy/` prefix forces Antigravity routing for
192
+ provider-like model strings.
175
193
  - Consumer auth is a one-time `agy` Google OAuth login (subscription quotas, no
176
194
  per-token billing — registry pricing mirrors Gemini API rates as a value proxy)
177
195
  - Requires `agy` installed: `curl -fsSL https://antigravity.google/cli/install.sh | bash`
@@ -181,7 +199,7 @@ in print mode. Verified against `agy` **1.1.13**.
181
199
  await manager.startSession({
182
200
  name: 'antigravity-task',
183
201
  engine: 'agy',
184
- model: 'gemini-3.5-flash',
202
+ model: 'gemini-3.8-flash',
185
203
  effort: 'high',
186
204
  cwd: '/project',
187
205
  });