somora 2026.1106.3 → 2026.1111.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.
Files changed (133) hide show
  1. package/config.example.yaml +7 -7
  2. package/docs/a2a.md +3 -0
  3. package/docs/agents.md +3 -1
  4. package/docs/api.md +27 -13
  5. package/docs/builder.md +29 -28
  6. package/docs/compaction.md +1 -1
  7. package/docs/external-agents.md +3 -1
  8. package/docs/memory.md +1 -1
  9. package/docs/models.md +18 -2
  10. package/docs/realtime-voice.md +21 -5
  11. package/docs/security.md +16 -1
  12. package/docs/sentinel.md +2 -1
  13. package/docs/setup.md +3 -2
  14. package/docs/thinking.md +1 -1
  15. package/docs/tools.md +41 -10
  16. package/docs/wiki.md +3 -2
  17. package/package.json +12 -12
  18. package/src/a2a/client.ts +11 -0
  19. package/src/a2a/files.ts +2 -1
  20. package/src/a2a/server.ts +5 -2
  21. package/src/acp/somora-agent.ts +49 -7
  22. package/src/acp/translate.ts +4 -1
  23. package/src/attachments/store.ts +19 -2
  24. package/src/cli/acp.ts +3 -6
  25. package/src/cli/help-args.ts +21 -0
  26. package/src/cli/lsp.ts +1 -1
  27. package/src/cli/server-base.ts +4 -1
  28. package/src/cli/somora.ts +8 -1
  29. package/src/cli/team.ts +1 -1
  30. package/src/cli/tui/app.tsx +4 -2
  31. package/src/cli/tui/stream.ts +1 -0
  32. package/src/cli/tui/types.ts +2 -0
  33. package/src/config/loader.ts +1 -0
  34. package/src/config/reload.ts +1 -0
  35. package/src/config/settings/catalog/agents.ts +15 -0
  36. package/src/config/settings/catalog/models.ts +22 -0
  37. package/src/config/types.ts +50 -0
  38. package/src/dream/deep-actions.ts +3 -2
  39. package/src/dream/deep-runner.ts +5 -4
  40. package/src/dream/deep-worker.ts +9 -4
  41. package/src/dream/lucid-actions.ts +20 -8
  42. package/src/dream/lucid-storage.ts +12 -3
  43. package/src/dream/lucid-worker.ts +9 -4
  44. package/src/dream/scheduler-state.ts +10 -0
  45. package/src/dream/wiki-file.ts +24 -0
  46. package/src/engine/a2a-external.ts +9 -7
  47. package/src/engine/acp-external.ts +1 -1
  48. package/src/engine/claude-cli.ts +56 -10
  49. package/src/engine/codex-app-server-client.ts +9 -1
  50. package/src/engine/codex-cli.ts +34 -9
  51. package/src/engine/codex-thread-config.ts +4 -0
  52. package/src/engine/grok-cli.ts +72 -10
  53. package/src/engine/grok-home.ts +44 -18
  54. package/src/engine/openai-compatible.ts +183 -163
  55. package/src/engine/thinking-params.ts +6 -1
  56. package/src/engine/tool-concurrency.ts +62 -0
  57. package/src/external/connection.ts +64 -37
  58. package/src/external/transport.ts +13 -1
  59. package/src/external/unprompted.ts +1 -1
  60. package/src/lsp/client.ts +8 -1
  61. package/src/mcp/config.ts +7 -12
  62. package/src/mcp/hub/credentials.ts +5 -1
  63. package/src/mcp/server.ts +17 -0
  64. package/src/memory/manager.ts +5 -2
  65. package/src/sentinel/check-store.ts +4 -3
  66. package/src/sentinel/schedule.ts +22 -7
  67. package/src/sentinel/scheduler.ts +31 -4
  68. package/src/sentinel/store.ts +27 -6
  69. package/src/server/async-questions.ts +25 -6
  70. package/src/server/auth-key.ts +11 -1
  71. package/src/server/builder-prompt.ts +35 -48
  72. package/src/server/builder-questions.ts +8 -0
  73. package/src/server/builder-session.ts +8 -6
  74. package/src/server/env-file.ts +82 -1
  75. package/src/server/index.ts +114 -21
  76. package/src/server/logger.ts +39 -0
  77. package/src/server/routes/attachments.ts +5 -1
  78. package/src/server/routes/builder.ts +15 -6
  79. package/src/server/routes/chat.ts +2 -2
  80. package/src/server/routes/external.ts +2 -2
  81. package/src/server/routes/mcp.ts +2 -2
  82. package/src/server/routes/sessions.ts +8 -0
  83. package/src/server/routes/settings.ts +17 -2
  84. package/src/server/routes/terminals.ts +14 -0
  85. package/src/server/run-external-turn.ts +1 -1
  86. package/src/server/run-turn-fallback.ts +46 -2
  87. package/src/server/run-turn.ts +7 -29
  88. package/src/server/session-export.ts +3 -1
  89. package/src/server/session-queue.ts +10 -1
  90. package/src/tools/agents/ask-result.ts +2 -0
  91. package/src/tools/agents/session-list.ts +2 -0
  92. package/src/tools/agents/status.ts +6 -0
  93. package/src/tools/builder/short-descriptions.ts +3 -4
  94. package/src/tools/builder/tools.ts +11 -2
  95. package/src/tools/docs/tools.ts +4 -0
  96. package/src/tools/dream/tools.ts +9 -3
  97. package/src/tools/exec/job-store.ts +19 -2
  98. package/src/tools/exec/local.ts +10 -2
  99. package/src/tools/exec/systemd-scope.ts +53 -0
  100. package/src/tools/exec/tools.ts +3 -2
  101. package/src/tools/file/analyze.ts +2 -0
  102. package/src/tools/file/remote.ts +32 -8
  103. package/src/tools/file/tools.ts +6 -0
  104. package/src/tools/image/tools.ts +8 -2
  105. package/src/tools/memory/tools.ts +6 -0
  106. package/src/tools/projects/tools.ts +6 -0
  107. package/src/tools/resources/tools.ts +2 -0
  108. package/src/tools/sentinel/tools.ts +3 -1
  109. package/src/tools/skill/tools.ts +4 -0
  110. package/src/tools/time/tools.ts +2 -0
  111. package/src/tools/tmux/local.ts +7 -0
  112. package/src/tools/types.ts +9 -0
  113. package/src/tools/video/tools.ts +4 -0
  114. package/src/tools/web/fetch.ts +2 -0
  115. package/src/tools/web/tools.ts +2 -0
  116. package/src/types/events.ts +3 -0
  117. package/src/voice/realtime/call.ts +167 -16
  118. package/src/voice/realtime/manager.ts +100 -17
  119. package/src/voice/realtime/openai-provider.ts +4 -1
  120. package/src/voice/realtime/persona.ts +6 -0
  121. package/web/dist/assets/index-4Y3UWgKl.css +1 -0
  122. package/web/dist/assets/index-DaK5Ia6s.js +71 -0
  123. package/web/dist/assets/index-DaK5Ia6s.js.map +1 -0
  124. package/web/dist/index.html +2 -2
  125. package/web-mobile/dist/assets/index-CuFyR52B.js +50 -0
  126. package/web-mobile/dist/assets/index-CuFyR52B.js.map +1 -0
  127. package/web-mobile/dist/assets/{index-DiO_w3fL.css → index-LxDshn5l.css} +1 -1
  128. package/web-mobile/dist/index.html +2 -2
  129. package/web/dist/assets/index-BVoxGfbc.js +0 -68
  130. package/web/dist/assets/index-BVoxGfbc.js.map +0 -1
  131. package/web/dist/assets/index-X7Hrih2o.css +0 -1
  132. package/web-mobile/dist/assets/index-KDmfPamH.js +0 -47
  133. package/web-mobile/dist/assets/index-KDmfPamH.js.map +0 -1
@@ -632,6 +632,13 @@ providers:
632
632
  # # the background (capped by its own
633
633
  # # agentLoop.maxRounds), so this is
634
634
  # # really just a per-call ceiling.
635
+ # # Raise for exceptionally slow setups
636
+ # # (CPU-only inference, huge models).
637
+ # # claudeCli.mcpToolTimeoutMs and
638
+ # # codexCli.toolTimeoutSec MUST be ≥
639
+ # # this — the CLI's MCP layer sits
640
+ # # above us and will cut us off
641
+ # # otherwise.
635
642
  #
636
643
  # wakeGraceMs: 3000 # 3 sec — when work an agent started and
637
644
  # # walked away from finishes (a late
@@ -642,13 +649,6 @@ providers:
642
649
  # # (agent_ask_result, subagent_result,
643
650
  # # video_status) within this grace.
644
651
  # # 0..60000.
645
- # # Raise for exceptionally slow setups
646
- # # (CPU-only inference, huge models).
647
- # # claudeCli.mcpToolTimeoutMs and
648
- # # codexCli.toolTimeoutSec MUST be ≥
649
- # # this — the CLI's MCP layer sits
650
- # # above us and will cut us off
651
- # # otherwise.
652
652
 
653
653
 
654
654
  # Engine watchdog — idle-event timeout per engine. If an engine produces
package/docs/a2a.md CHANGED
@@ -551,6 +551,9 @@ logged as `a2a.inbound_refused`.
551
551
  minute. A right token always passes. The cards are public, as the standard wants: anyone who
552
552
  reaches the server sees which agents are switched on and their
553
553
  descriptions.
554
+ - **Tokens go only where they belong.** somora sends a peer's token
555
+ only to an endpoint on the same host as the peer's agent card, the
556
+ `a2a.url` you configured. A card that names another host is refused.
554
557
  - **The login key stays apart.** A peer's token opens the A2A endpoint
555
558
  and nothing else in somora. The A2A paths are the only ones the login
556
559
  key does not guard, and they check the peer tokens themselves.
package/docs/agents.md CHANGED
@@ -730,7 +730,7 @@ How the fallback chain works:
730
730
  | `steering` | boolean | `false` | Default for a message typed in the web client while a turn runs. `true` hands it into the running turn before its next step. `false` queues it as its own turn. The toggle next to Send flips it per message. Steering works on every engine: `openai-compatible`, `claude-cli`, `codex-cli` and `grok-cli`. |
731
731
  | `imageReview` | `never`, `always` | `never` | `always` feeds each generated image back to the agent so it can judge it, about 2k tokens per image. Not a lock: the agent can set `return_image` per call either way. |
732
732
  | `agentLoop.maxRounds` | integer | server value (8) | Rounds per turn on the `openai-compatible` engine. Builders have none unless set. |
733
- | `agentLoop.maxToolCallsPerTurn` | integer | server value (30) | Tool calls per turn, across all rounds. Builders default to 2000. |
733
+ | `agentLoop.maxToolCallsPerTurn` | integer | server value (30) | Tool calls per turn, across all rounds. Builders default to 2000. A hard limit: calls in a reply beyond it are refused, not run, and the model is asked to answer. |
734
734
  | `agentLoop.maxTurnMs` | integer | none | Time limit per turn in milliseconds. Builders default to 8 hours. |
735
735
 
736
736
  ### Workspace and visibility
@@ -813,6 +813,8 @@ an `openai-compatible` provider.
813
813
  | `fallback.retryUnavailableMinutes` | `60` | How long an unreachable model is skipped. 1 to 1440. |
814
814
  | `agentLoop.maxRounds` | `8` | Rounds per turn, `openai-compatible` engine. |
815
815
  | `agentLoop.maxToolCallsPerTurn` | `30` | Tool calls per turn. |
816
+ | `agentLoop.maxParallelTools` | `8` | Calls of one reply that run at the same time, for tools that change nothing. See [Tools](tools.md#results-limits-and-timeouts). |
817
+ | `agentLoop.parallelToolHint` | `false` | Tells a model with `parallelToolCalls: true` that independent calls can go in one reply. |
816
818
  | `agentLoop.longTaskDefaultTimeoutMs` | `300000` | Default wait of `agent_ask` and the result tools. |
817
819
  | `agentLoop.longTaskMaxTimeoutMs` | `1800000` | Longest wait. |
818
820
  | `agentLoop.wakeGraceMs` | `3000` | Delay before a wake turn. 0 to 60000. |
package/docs/api.md CHANGED
@@ -64,7 +64,7 @@ the turn and returns the reply in the response.
64
64
  | Base URL | `https://<your-host>.<your-tailnet>.ts.net:18737` with HTTPS set up, else `http://127.0.0.1:18737`. The web client is under `/web/`, the mobile app under `/mobile/`. |
65
65
  | Bodies | JSON in, JSON out (`Content-Type: application/json`), unless a route says otherwise. Uploads are raw bytes or `multipart/form-data`, as noted per route. |
66
66
  | Errors | A non-2xx response carries `{ "error": "<message>" }`. The message is written for a person. Some routes add fields, noted per route. |
67
- | Unknown agent or session | `404` on every route that takes one, except `POST /chat/abort` and `POST /server/restart`. |
67
+ | Unknown agent or session | `404` on every route that takes one, except `POST /chat/abort`. |
68
68
  | Agent being renamed | `409` with `error: "agent '<name>' is being renamed — try again in a moment"` on every route under `/agents/:agent/` except reads (`GET`), and on `POST /chat/send` and `POST /chat/send-sync`, for the old and the new name. Retry in a moment. |
69
69
  | Times | Epoch milliseconds as numbers, or ISO 8601 strings. The examples show which. |
70
70
  | Streams | Server-Sent Events with named events. `data` is always JSON. |
@@ -214,7 +214,7 @@ the day, a `subagents.tools.deny` entry that names no tool).
214
214
  | Field | Meaning |
215
215
  |---|---|
216
216
  | `key` | Stable per thing, e.g. `update:<version>`, `news:<hash>`, `config`, `login:claude-cli`, `login:openai-compatible:<provider>`, `login:mcp:<server>`, `tls`, `rem:<agent>`, `deep:<agent>/<slug>`, `lucid`, `mcp:<server>`, `model:<provider/id>`, `sentinel:<triggerId>`, `config:subagents-deny`, `config:rem-model` (agents that dream without a REM model), `dream:switch` (the one-time rewrite to the dreams switch). |
217
- | `kind` | `update`, `news`, `config`, `login`, `tls`, `dream`, `mcp`, `model`, `sentinel`. |
217
+ | `kind` | `update`, `news`, `config`, `login`, `tls`, `dream`, `mcp`, `model`, `sentinel`, `a2a`. |
218
218
  | `level` | `info`, `warning`, `important`. |
219
219
  | `title`, `text`, `url?` | Plain text. `url` is `https://` only. |
220
220
  | `firstSeen`, `lastSeen`, `count` | Epoch ms; `count` counts events, a checked state stays `1`. |
@@ -536,9 +536,11 @@ stay. Before writing, the file is saved to `~/.somora/config-backups/`
536
536
 
537
537
  #### `POST /settings/restore`
538
538
 
539
- Body `{name, hash}`. Writes that backup back after checking it, keeps
540
- the current file as a backup too, and reloads. `400` for a name that
541
- is not a backup or a version that does not validate, `404` for a backup
539
+ Body `{name, hash}`, both required. Writes that backup back after the
540
+ same checks as `apply`, keeps the current file as a backup too, and
541
+ reloads. `400` for a missing hash, a name that is not a backup, a
542
+ version that does not validate, or one that would change a locked
543
+ setting or remove a model or provider still in use; `404` for a backup
542
544
  that is not there, `409` as above.
543
545
 
544
546
  ### `POST /server/restart`
@@ -979,7 +981,7 @@ All events:
979
981
  | `builder_state` | A builder session's mode, phase or plan file changed | `{mode, phase, planPath}` |
980
982
  | `todo_updated` | A builder replaced its task list | `{todos: [{content, status, priority?}], by?}` |
981
983
  | `acceptance_updated` | A builder wrote its acceptance list, an item was reviewed, or the list became required or optional | `{items: [{id, requirement, status, evidence?, updatedAt, review?}], required, by?}`. `by` is the builder, `person` or the reviewing agent; absent when only `required` changed. |
982
- | `question_asked` | An agent asks the person | `{questionId, question, header?, options, multiple, expiresAt, kind?, from?, async?, parts?, source?}`. `kind: "permission"` and `from: "external"` mark an external agent asking to run something; each option's `description` is then its kind (`allow_once`, `reject_once`, …). `async: true` marks a question that does not wait (`expiresAt` is `0`); `parts` lists several questions asked at once, `source` is `ask_user`, or `codex` for Codex's own question tool. |
984
+ | `question_asked` | An agent asks the person | `{questionId, question, header?, options, multiple, expiresAt, kind?, from?, async?, parts?, source?, details?}`. `kind: "permission"` and `from: "external"` mark an external agent asking to run something; each option's `description` is then its kind (`allow_once`, `reject_once`, …). `async: true` marks a question that does not wait (`expiresAt` is `0`); `parts` lists several questions asked at once, `source` is `ask_user`, or `codex` for Codex's own question tool. `details` is what the person decides on, in full (markdown), shown on the card. |
983
985
  | `question_answered` | The open question was answered, replaced or ran out of time | `{questionId?, answered, choice?, by?}`. `by: "message"`: a question that does not wait, answered by writing something else. |
984
986
 
985
987
  Details where the table is not enough:
@@ -1052,12 +1054,12 @@ HTTPS the connection is also pinged (`sse.h2PingIntervalMs`,
1052
1054
  |---|---|
1053
1055
  | `text` | The message as it is kept: what a person typed, what an agent asked, what a trigger's prompt says, or the one-line statement of a wake-up. |
1054
1056
  | `ts` | Epoch ms. |
1055
- | `turnId` | The id from `POST /chat/send`. Match it to the bubble you drew. |
1057
+ | `turnId` | Live event only. The id from `POST /chat/send`. Match it to the bubble you drew. |
1056
1058
  | `origin` | Where the turn came from. See below. |
1057
1059
  | `input` | `{modality?: "text"\|"voice", source?: "stt"\|"realtime"}` when the turn was not typed. `stt` is dictation, `realtime` a sentence from a call. |
1058
1060
  | `steer`, `steer_id` | `steer: true` marks a message that went into the running turn `turnId`. `steer_id` matches the `steer_queued` event. |
1059
1061
  | `from_agent`, `from_session`, `agent_ask_call_id` | Older fields, derived from an `agent` origin. |
1060
- | `attachments` | `{hash, name, mime, size}` of the files sent with the message. |
1062
+ | `attachments` | Stored row only. `{hash, name, mime, size}` of the files sent with the message. |
1061
1063
  | `attachment_descriptions` | Stored row only. The vision worker's description of each attachment the model could not see, one string per file. |
1062
1064
  | `from_system` | Older field, derived from the origin: `sentinel`, `tmux`, `browser`, `voice`, `peer`, or for a wake its `about` (`a2a`, `subagent`, `job`, `system`). The shipped clients draw these as a divider, not as a bubble. |
1063
1065
 
@@ -1200,7 +1202,7 @@ The sessions of one agent.
1200
1202
 
1201
1203
  | Field | Meaning |
1202
1204
  |---|---|
1203
- | `dreamCoverageTs`, `dreamLagEvents` | How far REM has read this session, and how many events it has not read yet. `null` when it never ran. |
1205
+ | `dreamCoverageTs`, `dreamLagEvents` | How far REM has read this session, and how many events it has not read yet. `dreamCoverageTs` is `null` when REM never ran; `dreamLagEvents` is always a number (then all of the session's events). |
1204
1206
  | `unreadAt`, `seenAt` | Unread state, see `GET /activity/stream`. |
1205
1207
  | `archivedAt`, `archiveReason` | Present on archived sessions. |
1206
1208
  | `projectSlug` | Present when a project is pinned. |
@@ -2038,6 +2040,7 @@ turn a person started does not block: it returns at once with
2038
2040
  | `options` | yes | 2 to 6 of `{label, description?}`. |
2039
2041
  | `header` | no | A short title, at most 40 characters. |
2040
2042
  | `multiple` | no | `true` allows several answers. |
2043
+ | `details` | no | What the person decides on, in full (markdown, at most 8000 characters): the text to approve, the drafts to pick from. Shown on the card; blank is left out. |
2041
2044
  | `timeout_ms` | no | Default 30 minutes for a builder, 10 for a chat agent; at most 4 hours. |
2042
2045
 
2043
2046
  Returns `{answered, answers: string[], text?}`. A second question on
@@ -2551,7 +2554,9 @@ upload in `attachments` on `POST /chat/send` or `POST /chat/send-sync`.
2551
2554
  ### `POST /attachments`
2552
2555
 
2553
2556
  Uploads one file as the raw request body. The file name goes into the
2554
- `X-Somora-Filename` header, URL-encoded.
2557
+ `X-Somora-Filename` header, URL-encoded. An upload larger than the
2558
+ largest accepted file (50 MB, the size an image may have before it is
2559
+ scaled) is stopped while it streams, with `400`.
2555
2560
 
2556
2561
  ```bash
2557
2562
  curl -H "Authorization: Bearer $KEY" -X POST $BASE/attachments \
@@ -2845,7 +2850,8 @@ route did not use is listed in `job.warnings` as `ignored: <field>`.
2845
2850
  ## Voice
2846
2851
 
2847
2852
  Dictation and spoken replies. Each route answers `503` when its part,
2848
- `stt` or `tts`, is not enabled in the config.
2853
+ `stt` or `tts`, is not enabled in the config, except `GET /stt/config`
2854
+ and `GET /tts/config`, which answer `{enabled: false}`.
2849
2855
 
2850
2856
  ### `GET /stt/config`
2851
2857
 
@@ -3550,6 +3556,8 @@ question that does not wait. That last kind carries `async: true` and
3550
3556
  `expiresAt: 0`, and with several questions asked at once `parts`
3551
3557
  (`[{question, header?, options, multiple}]`, the first repeated at the
3552
3558
  top). It stays open between turns, after a reload and a restart.
3559
+ `details`, when the agent gave it, is what the person decides on, in
3560
+ full (markdown).
3553
3561
 
3554
3562
  ```json
3555
3563
  { "question": { "id": "…", "question": "claw asks for permission: exec: rm -rf /tmp/x",
@@ -3570,8 +3578,14 @@ A question that does not wait takes the same body, or `parts` with one
3570
3578
  `{answers?, text?}` per question. The answer is sent as the person's
3571
3579
  next message, the way `POST /chat/send` sends a typed one: the chosen
3572
3580
  labels for one question, each question with its answer for several.
3573
- Returns `{ ok: true, sent: true, turnId, text }`; `400` when nothing
3574
- was chosen or typed. Any message the person sends to the session with
3581
+ `400` when nothing was chosen or typed.
3582
+
3583
+ While a turn of the session is running, usually the one that asked,
3584
+ the answer goes into that turn the way a steered message does (`POST /chat/send` with `steer:
3585
+ true`): every client gets `steer_queued`, and the response is
3586
+ `{ ok: true, sent: true, steered: true, steerId, turnId, text }` with
3587
+ the running turn's id. Otherwise it starts a turn of its own: `{ ok:
3588
+ true, sent: true, steered: false, turnId, text }`. Any message the person sends to the session with
3575
3589
  `POST /chat/send` answers such a question too and removes it.
3576
3590
 
3577
3591
  ## External MCP servers
package/docs/builder.md CHANGED
@@ -1,15 +1,15 @@
1
1
  # Builder agents
2
2
 
3
3
  A builder is an agent made for writing software. It works in a
4
- repository on the machine somora runs on: it reads the code, makes a
5
- plan, waits for your Go, then edits, runs and tests until the job is
6
- done. You talk to it in the chat like to any other agent, and another
4
+ repository on the machine somora runs on: it reads the code, edits,
5
+ runs and tests until the job is done, and looks at what it built. You talk to it in the chat like to any other agent, and another
7
6
  agent can hand it an order.
8
7
 
9
8
  ## What you get
10
9
 
11
- - **Plan first, then build.** The builder writes a plan file and stops.
12
- Nothing in the repository changes until you press Go.
10
+ - **Builds straight away, plans when you ask.** A new session starts
11
+ building. Switch on the plan phase in the task panel and the builder
12
+ writes a plan file and waits for your Go.
13
13
  - **A task panel beside the chat.** You see the task list, how long the
14
14
  turn has been running and what it is doing right now.
15
15
  - **Questions with buttons.** At a real fork the builder asks you and
@@ -74,15 +74,16 @@ them any time in the task panel.
74
74
  |---|---|---|---|
75
75
  | Mode | **attended** | a person opened the session | `ask_user` is offered. The builder asks at a real fork in the road. |
76
76
  | Mode | **unattended** | an agent handed over an order | `ask_user` is hidden. The builder decides itself, notes each decision in its report and never waits. |
77
- | Phase | **plan** | a person opened the session | The builder reads, searches, runs read-only commands and asks. The only file it writes is the plan. |
78
- | Phase | **build** | an agent handed over an order | The builder edits, runs, tests and reports. A plan file, if there is one, counts as approved. |
77
+ | Phase | **build** | always, unless a plan is asked for | The builder edits, runs, tests and reports. A plan file, if there is one, counts as approved. |
78
+ | Phase | **plan** | you switch it on in the task panel, or an order asks for it (`phase: "plan"`) | The builder reads, searches, runs read-only commands and asks. The only file it writes is the plan. |
79
79
 
80
80
  In the plan phase these tools are hidden: `file_write`, `file_patch`,
81
81
  `process`, `spawn_subagent` and `subagent_result`. The builder ends the
82
82
  phase by saying "Plan ready" and stopping.
83
83
 
84
84
  **Go** switches the phase to build and sends the builder a message: the
85
- plan is approved, execute it, keep the task list, end with the report.
85
+ plan is approved, execute it, end with the report. A reply in the chat
86
+ does not end the plan phase; press Go.
86
87
  So a project can start directly with the builder, with no other agent
87
88
  in between.
88
89
 
@@ -178,8 +179,8 @@ green test suite are not an accepted build.
178
179
  compaction carries the list word for word. After a compaction before
179
180
  a turn, the builder reads it with `acceptance_write` and no items.
180
181
 
181
- At most 60 items. A requirement is cut at 500 characters, evidence and
182
- review notes at 1000.
182
+ At most 60 items. A requirement may have 500 characters, evidence and
183
+ review notes 1000; the tool refuses a longer one (the HTTP route cuts it).
183
184
 
184
185
  ### Reviewing the list
185
186
 
@@ -438,17 +439,25 @@ byte. In order:
438
439
  1. **Identity and environment.** One line who it is, then working
439
440
  directory, whether that is a git repository, platform, model, date
440
441
  and language servers.
441
- 2. **Harness rules.** How to work: everything through tools, read
442
- before patching, search before assuming, verify after every change
443
- with the repository's own build and test commands, the smallest
444
- correct change, git only when asked, no secrets. A fix covers the
445
- cause and the sibling code paths. Every response either makes
446
- progress with a tool call or is the final report.
447
- 3. **Done and messages.** Done means every requirement checked, test
448
- output read, the diff looked at, nothing still running, nothing
449
- invented. A `[somora]` message is a notice from the harness, or a
450
- message someone sent during the turn. Then what the final report
442
+ 2. **Harness rules.** Short rules for the tools: everything through
443
+ tools, read a file before changing it (unless the builder just wrote
444
+ it), file tools instead of shell commands for files, check every exit
445
+ code, do not repeat a failing call. Git only when asked, no secrets.
446
+ Every response either makes progress or is the final report.
447
+
448
+ The builder verifies by running its work: the project's own tests
449
+ and build, and for a web page or a game a screenshot it looks at.
450
+ Background jobs are not polled.
451
+ 3. **Done and messages.** Done means every requirement checked and
452
+ nothing invented. A `[somora]` message is a notice from the harness,
453
+ or a message someone sent during the turn. Then what the final report
451
454
  contains.
455
+
456
+ The rules are kept short on purpose. On the same model a prompt of
457
+ tool rules alone did every task of a five-task comparison at least as
458
+ well as an earlier, much longer prompt that also prescribed a method
459
+ (tests as proof, evidence for every claim, a task list kept every few
460
+ rounds), and better on the hardest task.
452
461
  4. **Team, compact.** The principal and the colleagues it can consult
453
462
  with `agent_ask`, one line each, plus the team rules.
454
463
  5. **Rules for this builder.** The body of its `AGENTS.md`.
@@ -499,14 +508,6 @@ The session file keeps every record, and the chat shows an
499
508
  `engine_meta` row `context_compacted`. When no compaction worker
500
509
  answers, old tool results are shortened as for chat agents.
501
510
 
502
- **A stale task list.** After twelve tool rounds without `todo_write`
503
- while items are open, the builder gets one line asking for an update.
504
- The list is what you watch.
505
-
506
- **Checkpoints.** Every 100 tool rounds the builder is told to refresh
507
- its task list and append a short status to its report file, so a crash
508
- late in a long build loses minutes.
509
-
510
511
  **No round cap.** A builder has no `maxRounds` unless its `agent.yaml`
511
512
  sets one. A round count says nothing about progress. The brakes are the tool-call
512
513
  budget (2000), the time cap (8 hours) and the loop guard below. A number
@@ -418,7 +418,7 @@ fallback:
418
418
  | `compaction.builderTargetRatio` | 0.6 | Builders only: the share of the input budget a turn may start with. 0.2 to 0.9. `openai-compatible` only. See [Builder turns](#builder-turns). |
419
419
  | `compaction.workers` | unset | Models that may summarise, in the order they are tried. Unset means automatic choice. |
420
420
  | `compaction.preferSessionModel` | false | Ask the session's own model before the workers. |
421
- | `compaction.modelOverride` | unset | One model that is always asked first. |
421
+ | `compaction.modelOverride` | unset | One model that is always asked first. The compaction inside a builder turn does not use it; it asks `compaction.workers` (and the session's model with `preferSessionModel`). |
422
422
  | `fallback.retryUnavailableMinutes` | 60 | How long an unreachable model is skipped by chat, REM and compaction. 1 to 1440. |
423
423
 
424
424
  Environment variables override the file:
@@ -27,7 +27,9 @@ over that command's input and output.
27
27
  options numbered.
28
28
  - **Stop.** The stop button cancels the agent's turn on its side. It
29
29
  also works while the connection is still starting: the turn ends at
30
- once and nothing is sent.
30
+ once and nothing is sent. An agent that ignores the cancel gets ten
31
+ seconds; then somora closes the connection and the turn ends as
32
+ stopped. The next message starts the agent again.
31
33
  - **Messages it sends on its own.** Some agents write again after their
32
34
  turn ended, for example when a sub-task they started finishes. somora
33
35
  keeps listening, see
package/docs/memory.md CHANGED
@@ -391,7 +391,7 @@ Ask the index directly. Replace `<name>` with the agent.
391
391
  curl -H "Authorization: Bearer $(somora key)" 'http://127.0.0.1:18737/agents/<name>/memory/notes' | jq '.count'
392
392
 
393
393
  # State of the shared vault and wiki index: building | ready
394
- curl -H "Authorization: Bearer $(somora key)" 'http://127.0.0.1:18737/health' | jq '.sharedIndex'
394
+ curl -H "Authorization: Bearer $(somora key)" 'http://127.0.0.1:18737/health' | jq '.sharedIndex.state'
395
395
 
396
396
  # Is the embedding model loaded? "failed" means words-only search
397
397
  curl -H "Authorization: Bearer $(somora key)" 'http://127.0.0.1:18737/health' | jq '.memoryEmbedder'
package/docs/models.md CHANGED
@@ -209,7 +209,11 @@ them as the thinking block.
209
209
  ### Tools on Codex
210
210
 
211
211
  somora hands its tools to Codex as dynamic tools, so every Codex model
212
- reaches the same tools as on the other engines.
212
+ reaches the same tools as on the other engines. Codex's own tools are
213
+ off: its shell, web search, apps, plugins, image tools, and its `clock`
214
+ and `sleep`. What the model has besides somora's tools is Code Mode's
215
+ own `exec` and `wait`. A test checks this against the bundled Codex, so
216
+ an update that brings a new tool of its own is caught before release.
213
217
 
214
218
  | Namespace | What is in it |
215
219
  |---|---|
@@ -255,6 +259,15 @@ providers:
255
259
  |---|---|---|---|
256
260
  | `grok-4.7` | 256000 | Thinking levels are passed as `--reasoning-effort`. `off` is sent as `low`, because the model always reasons. `reasoning.levels` is applied. Images go to Grok as images, PDFs as page images. | yes: chat, tools, thinking text, images and PDFs, steering, stop, `/compact`, model switch and back |
257
261
 
262
+ **Tools on Grok.** The model has two tools of Grok's, `search_tool` and
263
+ `use_tool`, and reaches only somora's tools through them. Grok's own
264
+ built-ins (terminal, file edit, web search, its sub-agents and
265
+ scheduler) are off. xAI account connectors that Grok would add from
266
+ your account, such as `tasks` (automations) and `cursor` (your X
267
+ account), are blocked in somora's Grok home. A connector a later Grok
268
+ brings is logged (`engine.grok_foreign_mcp`) and blocked from the next
269
+ turn on.
270
+
258
271
  Grok compacts its own conversation near the end of the window, and a
259
272
  row in the chat says so. `/compact` asks Grok to compact now. A Grok
260
273
  model can also be the worker for REM, Deep, Lucid and compaction: each
@@ -293,6 +306,7 @@ providers:
293
306
  maxTokens: 16384 # operational output budget INCLUDING reasoning, not the model's max
294
307
  reasoning:
295
308
  levels: { "off": none, low: low, medium: high, high: max }
309
+ builder: { maxTokens: 65536, thinking: medium } # builders write whole files and think before each
296
310
  - id: glm-5.3-flash # vLLM TP=4, native FP8; behind LiteLLM use the route name
297
311
  alias: glm
298
312
  contextWindow: 700000 # = --max-model-len (model-native 1M; 262k in the reference recipe)
@@ -597,7 +611,9 @@ providers:
597
611
  | `reasoning.param` | `reasoning_effort` | where the word goes: `reasoning_effort`, nested `reasoning` for OpenRouter, or `chat_template_kwargs` | not used | not used | not used |
598
612
  | `sampling` | unset | sent on every call, dropped once when the server rejects a key | not used | not used | not used |
599
613
  | `maxTokens` | unset, nothing sent | output cap on every call, dream and compaction workers included | not used | not used | not used |
600
- | `parallelToolCalls` | unset | unset or `false`: one tool call per round. `true` lets a model you trust call several tools at once. | not used | not used | not used |
614
+ | `builder.maxTokens` | unset | replaces `maxTokens` when a [builder](builder.md) runs on this model | not used | not used | not used |
615
+ | `builder.thinking` | unset | replaces `reasoning.default` for builders; an agent's or session's own level still wins | same | same | same |
616
+ | `parallelToolCalls` | unset | unset or `false`: the model is asked for one tool call per round. `true` lets a model you trust call several tools at once; calls of tools that only read then run at the same time ([Tools](tools.md#results-limits-and-timeouts)). | not used | not used | not used |
601
617
 
602
618
  Keys allowed in `sampling`: `temperature`, `top_p`, `top_k`, `min_p`,
603
619
  `frequency_penalty`, `presence_penalty`, `repetition_penalty`, `seed`,
@@ -112,13 +112,22 @@ A handed-over answer reaches you in one of two ways.
112
112
  **The call reads it out.** At the next pause the voice says that this
113
113
  is the answer to your earlier question, then gives it. If the voice is
114
114
  mid-sentence at that moment, the reading is kept and spoken as soon as
115
- it falls silent. It is read once, only in the call that asked, and only
116
- while that call still talks to the same agent.
115
+ it falls silent. It is read once, in the call that is on the agent and
116
+ session that were asked: usually the call that asked, otherwise the
117
+ next call there (see below).
117
118
 
118
119
  **You ask.** Ask whether it is done and the voice fetches the answer. It
119
- is then not read out a second time. Ask how far along the agent is and
120
- the voice reports the running work and each handed-over request with
121
- its place in the queue.
120
+ is then not read out a second time. An answer fetched again later, or
121
+ more than a minute after it was given, comes with its time. When the
122
+ agent has reported finished work in the session since, the voice gives
123
+ that newer state instead of an old "still running".
124
+
125
+ Ask how far along the agent is and the voice reports the running work
126
+ and each handed-over request with its place in the queue. It also
127
+ names the voice requests of the session from the last hours, earlier
128
+ calls included: still running, answered while work it started still
129
+ runs, or that work finished in the last 30 minutes, with what the agent
130
+ reported.
122
131
 
123
132
  Good to know:
124
133
 
@@ -129,6 +138,13 @@ Good to know:
129
138
  is read out once as a follow-up to that question.
130
139
  - If you hang up first, the answer still lands in the session's chat.
131
140
  Hanging up cancels nothing.
141
+ - An answer or follow-up whose call has ended (hung up, time limit) or
142
+ moved to another agent goes to the call on the same agent and session
143
+ at that moment, as the answer to a question from an earlier call.
144
+ With no such call, it waits up to 24 hours and is read out when the
145
+ next one starts.
146
+ - Waiting answers are held in memory: a restart of somora drops them.
147
+ The chat still has them.
132
148
 
133
149
  ## What the session records
134
150
 
package/docs/security.md CHANGED
@@ -98,6 +98,19 @@ show it. A script an agent writes reads it with `somora key`. The
98
98
  exception is a command or tmux session started with
99
99
  `inherit_agent_env: true`, which passes it through.
100
100
 
101
+ Secrets stay off command lines, which every user of the machine can
102
+ read with `ps`. Claude Code starts somora's tool server with an
103
+ environment that it puts on its own command line, so that environment
104
+ leaves out the key, everything from `somora.env` and every variable whose
105
+ name looks like a secret (`KEY`, `TOKEN`, `SECRET`, `PASSWORD` and
106
+ similar).
107
+
108
+ The tool server gets the full environment from
109
+ `~/.somora/run/mcp-child-env.json`, which only your user can read. An
110
+ external agent started on this machine gets the server's environment
111
+ without the key, without those secrets and without somora's own
112
+ variables.
113
+
101
114
  Ten wrong keys from one address within five minutes block that address
102
115
  for a minute. The server's own machine is never blocked.
103
116
 
@@ -244,7 +257,9 @@ name that changes its answer is refused too.
244
257
  Redirects are followed one hop at a time, each checked before anything
245
258
  is sent to it, at most five. To let agents read an internal page, list its host, IP or IPv4 range in
246
259
  `web.fetchAllowPrivate`. A `*.example.lan` entry covers every name
247
- under that domain.
260
+ under that domain. The names `localhost`, `*.localhost` and the Docker
261
+ host names stay blocked even when listed; list `127.0.0.1` to allow this
262
+ machine.
248
263
 
249
264
  The browser tools are off by default (`browser.enabled`). When on, they
250
265
  block private networks unless a host or range is listed in
package/docs/sentinel.md CHANGED
@@ -642,6 +642,7 @@ Use `cron` for the rest, such as monthly jobs or several times a day.
642
642
  "0 9 1 * *" # 1st of each month, 9:00
643
643
  "*/15 * * * *" # every 15 minutes
644
644
  "0 9,17 * * *" # 9:00 and 17:00 daily
645
+ "0 9 * * 1-5" # weekdays at 9:00
645
646
  "0 0 * * 0" # Sundays at midnight
646
647
  ```
647
648
 
@@ -651,7 +652,7 @@ purpose:
651
652
 
652
653
  | Supported | Not supported |
653
654
  |---|---|
654
- | `*`, a number `N`, a step `*/N`, a list `a,b,c` | Ranges like `1-5` (write `1,2,3,4,5`), names like `MON` or `JAN`, macros like `@daily` or `@hourly` |
655
+ | `*`, a number `N`, a step `*/N`, a range `a-b`, a stepped range `a-b/N`, and lists of these (`1-5`, `8,12-14`) | Names like `MON` or `JAN`, macros like `@daily` or `@hourly` |
655
656
 
656
657
  When both day of month and day of week are set, the trigger fires when
657
658
  either one matches.
package/docs/setup.md CHANGED
@@ -376,7 +376,8 @@ Cmd+Shift+R on a Mac, so the browser drops the old script.
376
376
  ## The daily update check
377
377
 
378
378
  Once a day the server asks somora.ai whether a newer version exists.
379
- It is the only request somora makes on its own. The answer shows up in
379
+ Apart from downloading the embedding model on the first start (see
380
+ [Memory](memory.md)), it is the only request somora makes on its own. The answer shows up in
380
381
  the web client's inbox, in `somora server status` and in the server
381
382
  log as `update.available`. `somora update` itself asks npm.
382
383
 
@@ -861,7 +862,7 @@ service's environment.
861
862
  | `SOMORA_HOST` | `server.host` | Overrides the listen address. Prefer the config. With HTTPS on, the server sets it to `server.tls.publicHost` for its own child processes. |
862
863
  | `SOMORA_KEY` | `~/.somora/server.key` | The key a client sends. Only useful for the terminal client on another machine. On the server it has no effect: the server always reads the key file, sets it for its own child processes and keeps it out of agents' shells. |
863
864
  | `SOMORA_TLS` | unset | Set to `1` by the server when it serves HTTPS, for its child processes. Do not set it yourself. |
864
- | `SOMORA_LOG_LEVEL` | `info` | Log level. |
865
+ | `SOMORA_LOG_LEVEL` | `info` | Log level. Set it in the service's environment: the logger starts before `somora.env` is read, so a value there does not apply. |
865
866
  | `SOMORA_ENV_FILE` | `~/.somora/somora.env` | Another env file to load at start. |
866
867
  | `DO_NOT_TRACK` | unset | `1` turns the daily update check off. A set `CI` does the same. |
867
868
  | `SOMORA_CLAUDE_BIN` | `~/.local/bin/claude`, else the bundled one | Path of the Claude Code binary. |
package/docs/thinking.md CHANGED
@@ -46,7 +46,7 @@ The first source that has a value wins.
46
46
  |---|---|---|
47
47
  | 1 | The session | `/thinking <level>`, or the THINKING section of the `•••` session menu in the web client |
48
48
  | 2 | The agent | `thinking:` in `agent.yaml` |
49
- | 3 | The model | `reasoning.default` of the model in `config.yaml` |
49
+ | 3 | The model | `reasoning.default` of the model in `config.yaml`; for a [builder](builder.md), `builder.thinking` of the model when set |
50
50
  | 4 | Nothing set | somora sends no level and the model uses its own default |
51
51
 
52
52
  In the TUI, `/thinking -` does the same as `/thinking default`: it
package/docs/tools.md CHANGED
@@ -39,7 +39,7 @@ window in the web client. Each tool has a switch there.
39
39
  ## The tool families
40
40
 
41
41
  Every tool carries a toolset tag. The tag groups tools for the
42
- per-agent switch (`toolset:<tag>`). There are 64 built-in tools, plus
42
+ per-agent switch (`toolset:<tag>`). There are 66 built-in tools, plus
43
43
  whatever your external MCP servers bring.
44
44
 
45
45
  | Toolset | Tools | Offered when |
@@ -51,7 +51,7 @@ whatever your external MCP servers bring.
51
51
  | `web` | 2 | `web_fetch` always, `web_search` with `web.brave.apiKey` |
52
52
  | `file` | 6 | always, except `analyze_file` (see below) |
53
53
  | `exec` | 3 | always |
54
- | `agents` | 13 | always (`ask_user` only in a turn someone watches) |
54
+ | `agents` | 14 | always (`ask_user` only in a turn someone watches) |
55
55
  | `skills` | 2 | always |
56
56
  | `sentinel` | 1 | always |
57
57
  | `projects` | 6 | `projects.enabled: true` |
@@ -60,7 +60,7 @@ whatever your external MCP servers bring.
60
60
  | `media` | 1 | image or video generation is set up |
61
61
  | `browser` | 1 | `browser.enabled: true` |
62
62
  | `decision` | 1 | `decisions.model` names an entry in `decisions.models` |
63
- | `builder` | 2 | builder agents only |
63
+ | `builder` | 3 | builder agents only |
64
64
  | `mcp` | varies | servers listed under `mcp.servers` |
65
65
 
66
66
  ### Memory, docs and resources
@@ -145,12 +145,17 @@ Toolset `exec`.
145
145
  | `process` | Handles background jobs: `action` is `list`, `poll`, `log`, `write` or `kill`. |
146
146
  | `tmux` | Keeps terminal sessions open across turns: `action` is `create`, `send`, `capture`, `wait_idle`, `list` or `kill`, against `target: local` or an SSH resource. |
147
147
 
148
- Destructive command patterns are blocked. A resource can lift single
149
- blocks with `allowBlocked`, for a machine that belongs to the agent.
148
+ Destructive command patterns are blocked in `exec` and in Sentinel
149
+ check scripts. A resource can lift single blocks with `allowBlocked`,
150
+ for a machine that belongs to the agent. `tmux send` is not filtered:
151
+ it types into a program that is already running, often a prompt for
152
+ another tool, where the same words are harmless text.
150
153
 
151
154
  Background jobs are detached: they survive a somora restart and are
152
155
  tracked on disk. `poll` checks the real process, never a remembered
153
- state.
156
+ state. When somora runs as a systemd service, each background job, and
157
+ a tmux server an agent starts, runs in a systemd scope of its own, so a
158
+ restart or `somora update` does not end it.
154
159
 
155
160
  #### When a command times out
156
161
 
@@ -441,12 +446,19 @@ each with a short explanation. It can allow several answers at once
441
446
  appears as a card above the input in the web client and on the phone,
442
447
  and with numbered options in the TUI.
443
448
 
449
+ When you are to approve or pick content, such as a text to post or
450
+ send, drafts or a plan, the agent puts it in full into `details`. The
451
+ card shows it above the options, as formatted text that scrolls on its
452
+ own when long; the TUI prints it before the question. The agent's
453
+ reply around the card may be out of view where you answer, the card
454
+ never is.
455
+
444
456
  It is offered only while someone watches, and who that is decides
445
457
  whether the question waits:
446
458
 
447
459
  | Turn | The question |
448
460
  |---|---|
449
- | A chat agent's turn you started, typed or spoken | Does not wait. The agent's turn ends; the card stays until you answer, also after a reload or a restart. A click sends the option as your next message. Writing anything else in the chat answers it too. |
461
+ | A chat agent's turn you started, typed or spoken | Does not wait. The agent's turn ends; the card stays until you answer, also after a reload or a restart. A click sends the option as your next message; while the agent is still working, the answer goes into its running turn, like a [steered](web.md) message, whatever the agent's `steering` setting says. Writing anything else in the chat answers it too. |
450
462
  | A chat agent working on a task another system sent over [A2A](a2a.md#taking-work-in) | Waits, and goes back to that system. |
451
463
  | A builder's turn while the session is attended (see [Builder agents](builder.md)) | Waits in the task panel. |
452
464
  | A turn from Sentinel, another agent or a sub-agent | Not offered: nobody would answer. |
@@ -464,9 +476,13 @@ when it is offered, not behind the tool search.
464
476
  Codex has a question tool of its own. Its questions arrive as the same
465
477
  card, without waiting; one card can then hold several questions, some
466
478
  answered in your own words. The answer goes out as one message with
467
- each question and its answer. This holds for a builder too: Codex has
468
- ended its turn when it asks, so its question is a card next to the
469
- task panel, while the builder's own `ask_user` still waits.
479
+ each question and its answer.
480
+
481
+ Codex often keeps working after it asks. An answer that comes while it
482
+ does goes straight into that turn; it does not wait for the turn to
483
+ end. This holds for a builder too:
484
+ Codex's question is a card next to the task panel, while the builder's
485
+ own `ask_user` still waits.
470
486
 
471
487
  ## How a tool reaches the model
472
488
 
@@ -579,6 +595,19 @@ their own limit, or take it from the call: `agent_ask` and
579
595
  `agentLoop.longTaskMaxTimeoutMs`. `exec` takes `timeout_ms`, up to one
580
596
  hour.
581
597
 
598
+ **Several calls at once.** When a model asks for several tool calls in
599
+ one reply on `openai-compatible`, the calls of tools that change
600
+ nothing run at the same time: reading and listing files, searching
601
+ memory and the web, fetching a page, reading docs and skills, and
602
+ looking up projects, sessions, sub-agents and media. At most
603
+ `agentLoop.maxParallelTools` run at once.
604
+
605
+ Every other call runs alone: it waits for the calls before it, and the
606
+ calls after it wait for it. The results go back in the order the model asked for them, so the
607
+ model reads exactly what it would read with one call after another.
608
+ Whether a model may ask for several calls at once is its
609
+ `parallelToolCalls` setting (see [Models](models.md)).
610
+
582
611
  **Wrong input.** Input is checked against the tool's schema, and the
583
612
  error names the field. A nested object sent as a JSON string is read
584
613
  and accepted. An unknown tool name is answered with up to three similar
@@ -622,6 +651,8 @@ Settings that shape how tools run:
622
651
  | Setting | Default | Meaning |
623
652
  |---|---|---|
624
653
  | `agentLoop.toolCallTimeoutMs` | `30000` | Time limit of one tool call, unless the tool sets its own. |
654
+ | `agentLoop.maxParallelTools` | `8` | Calls of one reply that run at the same time, for tools that change nothing. `1` runs them one after another. `openai-compatible` only. |
655
+ | `agentLoop.parallelToolHint` | `false` | Tells a model with `parallelToolCalls: true` that independent calls can go in one reply. `openai-compatible` only. |
625
656
  | `agentLoop.longTaskMaxTimeoutMs` | `1800000` | Longest wait of the tools that wait for other work. |
626
657
  | `wiki.lucid.maxCallsPerTurn` | `3` | `wiki_*` calls per turn inside a review loop. |
627
658
  | `toolCatalog.alwaysVisible` | the list above | Tools kept in the model's list on `claude-cli`, `codex-cli` and `openai-compatible` instead of behind the tool search. Takes effect on the next turn. |
package/docs/wiki.md CHANGED
@@ -480,8 +480,9 @@ wiki:
480
480
 
481
481
  ## Commands
482
482
 
483
- The commands talk to the running server. They never touch the wiki
484
- themselves.
483
+ The commands talk to the running server and leave the wiki to it,
484
+ with one exception: `migrate undo` moves the current wiki aside and
485
+ copies the backup back itself.
485
486
 
486
487
  | Command | What it does |
487
488
  |---|---|