@enderfga/claw-orchestrator 7.5.0 → 7.5.2

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.
Files changed (35) hide show
  1. package/README.md +3 -3
  2. package/configs/council-system-prompt.md +2 -0
  3. package/dist/src/base-oneshot-session.d.ts +24 -0
  4. package/dist/src/base-oneshot-session.js +26 -1
  5. package/dist/src/base-oneshot-session.js.map +1 -1
  6. package/dist/src/council.js +12 -37
  7. package/dist/src/council.js.map +1 -1
  8. package/dist/src/index.js +4 -1
  9. package/dist/src/index.js.map +1 -1
  10. package/dist/src/persistent-agy-session.d.ts +4 -2
  11. package/dist/src/persistent-agy-session.js +18 -5
  12. package/dist/src/persistent-agy-session.js.map +1 -1
  13. package/dist/src/persistent-codex-app-session.d.ts +6 -0
  14. package/dist/src/persistent-codex-app-session.js +14 -1
  15. package/dist/src/persistent-codex-app-session.js.map +1 -1
  16. package/dist/src/persistent-codex-session.d.ts +1 -0
  17. package/dist/src/persistent-codex-session.js +3 -0
  18. package/dist/src/persistent-codex-session.js.map +1 -1
  19. package/dist/src/persistent-cursor-session.d.ts +1 -0
  20. package/dist/src/persistent-cursor-session.js +3 -0
  21. package/dist/src/persistent-cursor-session.js.map +1 -1
  22. package/dist/src/persistent-grok-session.js +1 -0
  23. package/dist/src/persistent-grok-session.js.map +1 -1
  24. package/dist/src/persistent-opencode-session.d.ts +1 -0
  25. package/dist/src/persistent-opencode-session.js +3 -0
  26. package/dist/src/persistent-opencode-session.js.map +1 -1
  27. package/dist/src/persistent-session.d.ts +15 -2
  28. package/dist/src/persistent-session.js +30 -2
  29. package/dist/src/persistent-session.js.map +1 -1
  30. package/package.json +1 -1
  31. package/skills/references/claude-cli-tracking.md +2 -1
  32. package/skills/references/council.md +7 -1
  33. package/skills/references/observability.md +1 -1
  34. package/skills/references/sessions.md +1 -1
  35. package/skills/references/tools.md +1 -1
@@ -140,7 +140,7 @@ flagged `tokensEstimated: true`; the CLI marks those costs with a trailing `~`.
140
140
 
141
141
  | Engine | Token counts |
142
142
  | ----------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
143
- | `claude` | Engine-reported — and so is the **cost**: the `result` event's `total_cost_usd` is taken as-is, so registry drift cannot affect a Claude row. It is the session running total rather than the turn's, so spend advances by the difference between turns. Proxy sessions (`baseUrl` set) are the exception: the CLI is told it is running `opus` while another provider serves the tokens, so its figure is Opus list price for someone else's model and the registry estimate is used instead |
143
+ | `claude` | Engine-reported — and so is the **cost**: the `result` event's `total_cost_usd` is taken as-is, so registry drift cannot affect a Claude row. It is the session running total rather than the turn's, so spend advances by the difference between turns. A process started with `--resume` (a model switch, a session recovered after a restart) inherits the resumed session's total since Claude Code 2.1.277, so its first report is taken as a baseline and that one turn is priced from the registry instead — charging the inherited figure would bill the whole history again, and `maxBudgetUsd` gates against this number. Proxy sessions (`baseUrl` set) are the exception: the CLI is told it is running `opus` while another provider serves the tokens, so its figure is Opus list price for someone else's model and the registry estimate is used instead |
144
144
  | `codex` | Engine-reported |
145
145
  | `codex-app` | Engine-reported |
146
146
  | `grok` | Engine-reported — and so is the **cost**: this engine reports `total_cost_usd`, which the wrapper passes through instead of pricing tokens from the registry, so registry drift cannot affect a grok row |
@@ -35,7 +35,7 @@ Key options:
35
35
  | `effort` | `low`, `medium`, `high`, `max`, `auto` |
36
36
  | `bare` | Skip hooks, LSP, auto-memory, CLAUDE.md |
37
37
  | `worktree` | Run in isolated git worktree |
38
- | `appendSystemPrompt` | Append custom instructions to the system prompt |
38
+ | `appendSystemPrompt` | Append custom instructions to the system prompt. Claude Code and Grok take it natively; Codex, Antigravity and OpenCode have no such flag and receive it at the top of the first message of a conversation |
39
39
 
40
40
  ### Sending Messages
41
41
 
@@ -22,7 +22,7 @@ Start a persistent coding session with full CLI flag support.
22
22
  | `maxTurns` | number | Max agent loop turns |
23
23
  | `maxBudgetUsd` | number | Max API spend (USD). Enforced by the runtime on every engine: once the session's cumulative cost reaches the cap, further sends are refused before the engine is spawned. See [observability.md](observability.md) for the accuracy caveat on engines that estimate token counts. |
24
24
  | `systemPrompt` | string | Replace system prompt |
25
- | `appendSystemPrompt` | string | Append to system prompt |
25
+ | `appendSystemPrompt` | string | Append custom instructions to the system prompt. Claude Code and Grok take it natively; Codex, Antigravity and OpenCode have no such flag and receive it at the top of the first message of a conversation |
26
26
  | `agents` | object | Custom sub-agents JSON |
27
27
  | `agent` | string | Default agent to use |
28
28
  | `bare` | boolean | Skip hooks, LSP, auto-memory, CLAUDE.md |