@enderfga/claw-orchestrator 6.5.0 → 7.1.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.
@@ -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
- | `codex_threads` | `thread/list` | `name`, `searchTerm?`, `cwd?`, `archived?`, `cursor?`, `limit?` | `{ ok, data, nextCursor }` — list threads with filters + pagination |
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-message timeout (default 600000) |
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.