@enderfga/claw-orchestrator 6.5.0 → 7.0.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/dist/bin/mcp-server.js +5 -3
- package/dist/bin/mcp-server.js.map +1 -1
- package/dist/src/autoloop/dispatcher.d.ts +37 -3
- package/dist/src/autoloop/dispatcher.js +171 -30
- package/dist/src/autoloop/dispatcher.js.map +1 -1
- package/dist/src/autoloop/messages.d.ts +19 -1
- package/dist/src/autoloop/messages.js +4 -0
- package/dist/src/autoloop/messages.js.map +1 -1
- package/dist/src/autoloop/runner.d.ts +57 -2
- package/dist/src/autoloop/runner.js +260 -26
- package/dist/src/autoloop/runner.js.map +1 -1
- package/dist/src/autoloop/types.d.ts +62 -2
- package/dist/src/autoloop/types.js +63 -0
- package/dist/src/autoloop/types.js.map +1 -1
- package/dist/src/embedded-server.d.ts +8 -0
- package/dist/src/embedded-server.js +65 -4
- package/dist/src/embedded-server.js.map +1 -1
- package/dist/src/index.d.ts +9 -7
- package/dist/src/index.js +120 -80
- package/dist/src/index.js.map +1 -1
- package/dist/src/kernel/engine.js +19 -14
- package/dist/src/kernel/engine.js.map +1 -1
- package/dist/src/session-manager.d.ts +6 -0
- package/dist/src/session-manager.js +246 -13
- package/dist/src/session-manager.js.map +1 -1
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -1
- package/skills/SKILL.md +1 -1
- package/skills/references/autoloop.md +34 -3
- package/skills/references/multi-engine.md +1 -1
- package/skills/references/tools.md +23 -2
|
@@ -300,7 +300,7 @@ Codex app-server v2 RPCs (require `engine: "codex-app"`). Method names + param s
|
|
|
300
300
|
| `codex_fork` | `thread/fork` | `name` | `{ ok, threadId }` — branches the thread; returns the forked id |
|
|
301
301
|
| `codex_rollback` | `thread/rollback` | `name`, `numTurns` | `{ ok, numTurns }` — drops the last N turns |
|
|
302
302
|
| `codex_models` | `model/list` | `name` | `{ ok, models }` — incl. each model's `supportedReasoningEfforts` |
|
|
303
|
-
| `
|
|
303
|
+
| `codex_thread_list` | `thread/list` | `name`, `searchTerm?`, `cwd?`, `archived?`, `cursor?`, `limit?` | `{ ok, data, nextCursor }` — list threads with filters + pagination |
|
|
304
304
|
|
|
305
305
|
To **resume** a codex-app thread, start a session with `engine: "codex-app"` and
|
|
306
306
|
`resumeSessionId: "<threadId>"` — it loads the existing thread via `thread/resume` instead of
|
|
@@ -557,7 +557,9 @@ Start a chat-mode autoloop. Planner starts immediately; Coder + Reviewer start o
|
|
|
557
557
|
| `reviewer_engine` | EngineType | | Default Reviewer engine (default `claude`) |
|
|
558
558
|
| `reviewer_model` | string | | Default Reviewer model (Claude default `sonnet`) |
|
|
559
559
|
| `reviewer_custom_engine` | object | | Trusted config when Reviewer may use `custom`. **Local callers only** |
|
|
560
|
-
| `send_timeout_ms` | number | | Per-
|
|
560
|
+
| `send_timeout_ms` | number | | Per-agent send cap in ms (default 600000; inclusive 5000–7200000) |
|
|
561
|
+
| `activity_lease_ms` | number | | Inactivity lease in ms (default 1800000; inclusive 60000–7200000) |
|
|
562
|
+
| `autoloop_hard_timeout_ms` | number | | Absolute run cap in ms (default 86400000; inclusive 600000–259200000) |
|
|
561
563
|
|
|
562
564
|
> **Custom engines are local-only.** A `CustomEngineConfig` names an executable to
|
|
563
565
|
> spawn plus its argv and env, so it may only be supplied by a caller that already
|
|
@@ -587,6 +589,25 @@ Start a chat-mode autoloop. Planner starts immediately; Coder + Reviewer start o
|
|
|
587
589
|
|
|
588
590
|
Custom configs are not persisted or accepted from Planner output. See [`multi-engine.md`](./multi-engine.md) for their shape.
|
|
589
591
|
|
|
592
|
+
The three timeout controls form a hierarchy. `send_timeout_ms` caps one
|
|
593
|
+
Planner, Coder, or Reviewer delivery. A genuine send timeout is not retried:
|
|
594
|
+
the run pauses in `awaiting_resume` with a stable pending dispatch identity.
|
|
595
|
+
`activity_lease_ms` bounds inactivity and is renewed only by validated user or
|
|
596
|
+
agent progress, never by timer checks or runner bookkeeping.
|
|
597
|
+
`autoloop_hard_timeout_ms` is anchored to run start and never renews; it wins
|
|
598
|
+
when it coincides with lease expiry.
|
|
599
|
+
|
|
600
|
+
Recovery is exposed by `POST /autoloop/<id>/resume`, not by an MCP resume tool.
|
|
601
|
+
Its timeout body is limited to `send_timeout_ms` plus
|
|
602
|
+
`pending_dispatch_id`. The send timeout must be finite, in range, and strictly
|
|
603
|
+
larger than the run's latest effective value (legacy baseline: 600000). Equal
|
|
604
|
+
or smaller values are rejected, and there is deliberately no
|
|
605
|
+
`allow_decrease`. Lease and hard-cap overrides are not accepted on resume.
|
|
606
|
+
Each successful increase appends one migration row to `decisions.jsonl`; the
|
|
607
|
+
original run spec, history, and prior audit bytes are not rewritten. The
|
|
608
|
+
matching live awaiting-resume condition is advanced without replaying the
|
|
609
|
+
timed-out logical dispatch.
|
|
610
|
+
|
|
590
611
|
### `autoloop_chat`
|
|
591
612
|
|
|
592
613
|
Send a message into the Planner conversation.
|