somora 2026.1111.1 → 2026.1116.11
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/config.example.yaml +17 -16
- package/docs/agents.md +6 -1
- package/docs/api.md +7 -4
- package/docs/browser.md +1 -1
- package/docs/compaction.md +1 -1
- package/docs/decisions.md +25 -4
- package/docs/display.md +1 -1
- package/docs/mobile.md +16 -10
- package/docs/models.md +20 -12
- package/docs/setup.md +2 -1
- package/docs/skills.md +2 -1
- package/docs/tmux.md +324 -203
- package/docs/tools.md +4 -4
- package/docs/voice.md +4 -3
- package/docs/web.md +33 -5
- package/package.json +1 -1
- package/src/cli/tui/app.tsx +5 -0
- package/src/cli/tui/commands.ts +3 -0
- package/src/config/settings/catalog/engines.ts +2 -2
- package/src/config/settings/catalog/models.ts +1 -1
- package/src/decisions/client.ts +92 -21
- package/src/decisions/input.ts +1 -1
- package/src/mcp/server.ts +12 -2
- package/src/server/routes/terminals.ts +85 -4
- package/src/server/run-external-turn.ts +4 -2
- package/src/server/run-turn.ts +15 -3
- package/src/setup/presets.ts +2 -2
- package/src/tmux/attention-watcher.ts +105 -55
- package/src/tmux/attention.ts +154 -26
- package/src/tmux/detection/engine.ts +415 -0
- package/src/tmux/detection/identify.ts +149 -0
- package/src/tmux/detection/manifests/LICENSE +201 -0
- package/src/tmux/detection/manifests/SOURCE.json +120 -0
- package/src/tmux/detection/manifests/agy.json +89 -0
- package/src/tmux/detection/manifests/amp.json +139 -0
- package/src/tmux/detection/manifests/claude.json +512 -0
- package/src/tmux/detection/manifests/cline.json +122 -0
- package/src/tmux/detection/manifests/codex.json +294 -0
- package/src/tmux/detection/manifests/copilot.json +98 -0
- package/src/tmux/detection/manifests/cursor.json +121 -0
- package/src/tmux/detection/manifests/devin.json +159 -0
- package/src/tmux/detection/manifests/droid.json +93 -0
- package/src/tmux/detection/manifests/gemini.json +70 -0
- package/src/tmux/detection/manifests/grok.json +207 -0
- package/src/tmux/detection/manifests/hermes.json +265 -0
- package/src/tmux/detection/manifests/kilo.json +75 -0
- package/src/tmux/detection/manifests/kimi.json +180 -0
- package/src/tmux/detection/manifests/kiro.json +133 -0
- package/src/tmux/detection/manifests/letta.json +139 -0
- package/src/tmux/detection/manifests/maki.json +107 -0
- package/src/tmux/detection/manifests/muse.json +208 -0
- package/src/tmux/detection/manifests/opencode.json +103 -0
- package/src/tmux/detection/manifests/pi.json +49 -0
- package/src/tmux/detection/manifests/qodercli.json +116 -0
- package/src/tmux/detection/manifests/qwen.json +216 -0
- package/src/tmux/detection/manifests.ts +157 -0
- package/src/tmux/detection/somora-rules/codex.json +50 -0
- package/src/tmux/drive.ts +367 -0
- package/src/tmux/list.ts +6 -2
- package/src/tmux/observe.ts +157 -0
- package/src/tmux/origin-store.ts +28 -13
- package/src/tmux/tui-markers.ts +6 -158
- package/src/tools/agents/ask.ts +25 -4
- package/src/tools/builder/tools.ts +2 -1
- package/src/tools/tmux/local.ts +24 -2
- package/src/tools/tmux/remote.ts +9 -1
- package/src/tools/tmux/tools.ts +448 -406
- package/templates/skills/coding-team/SKILL.md +114 -0
- package/templates/skills/coding-team/assets/AGENTS.md +38 -0
- package/web/dist/assets/index-BVhnDi0K.css +1 -0
- package/web/dist/assets/{index-DaK5Ia6s.js → index-D5acQA-P.js} +45 -44
- package/web/dist/assets/index-D5acQA-P.js.map +1 -0
- package/web/dist/index.html +2 -2
- package/web-mobile/dist/assets/index-DPTi-G6u.js +50 -0
- package/web-mobile/dist/assets/index-DPTi-G6u.js.map +1 -0
- package/web-mobile/dist/assets/{index-LxDshn5l.css → index-DbeY-LMP.css} +1 -1
- package/web-mobile/dist/index.html +2 -2
- package/web/dist/assets/index-4Y3UWgKl.css +0 -1
- package/web/dist/assets/index-DaK5Ia6s.js.map +0 -1
- package/web-mobile/dist/assets/index-CuFyR52B.js +0 -50
- package/web-mobile/dist/assets/index-CuFyR52B.js.map +0 -1
package/config.example.yaml
CHANGED
|
@@ -320,7 +320,8 @@ providers:
|
|
|
320
320
|
# apiKey: <key> # leave out without authentication
|
|
321
321
|
# model: clef
|
|
322
322
|
# capabilities: [text, image] # image: the tool takes up to four images
|
|
323
|
-
# # maxInputTokens: 16000 # optional; the lower of this and the server's limit applies
|
|
323
|
+
# # maxInputTokens: 16000 # optional; the lower of this and the server's limit applies.
|
|
324
|
+
# # A Flide server (OneJev) reports no limit: set it there.
|
|
324
325
|
# # timeoutMs: 90000 # default
|
|
325
326
|
|
|
326
327
|
# Image generation — text-to-image via an OpenAI-shaped image endpoint
|
|
@@ -433,7 +434,7 @@ providers:
|
|
|
433
434
|
# allowPrivate: [] # LAN hosts/CIDRs agents may open,
|
|
434
435
|
# # e.g. ["192.0.2.0/24", "nas.local"]
|
|
435
436
|
# deny: [] # hostnames never opened, e.g. ["*.bank.at"]
|
|
436
|
-
# profiles: {} # shared profiles: {
|
|
437
|
+
# profiles: {} # shared profiles: { team: { agents: [a, b] } }
|
|
437
438
|
|
|
438
439
|
# videoGen:
|
|
439
440
|
# enabled: true
|
|
@@ -501,19 +502,19 @@ providers:
|
|
|
501
502
|
# the agent knows which paths matter for this conversation.
|
|
502
503
|
#
|
|
503
504
|
# `entities` is a CONTROLLED VOCABULARY — projects belong to one
|
|
504
|
-
# entity (e.g. "
|
|
505
|
+
# entity (e.g. "personal", "acme"), and the agent picks FROM this list
|
|
505
506
|
# at create time. Prevents STT mishearings from inventing phantom
|
|
506
507
|
# entities ("enofhom" silently becoming a new category). Only edited
|
|
507
508
|
# here — agents cannot extend it via tools.
|
|
508
509
|
# projects:
|
|
509
510
|
# enabled: true
|
|
510
511
|
# entities:
|
|
511
|
-
# - slug:
|
|
512
|
-
# label:
|
|
512
|
+
# - slug: personal
|
|
513
|
+
# label: Personal
|
|
513
514
|
# - slug: acme
|
|
514
|
-
# label:
|
|
515
|
-
# - slug:
|
|
516
|
-
# label:
|
|
515
|
+
# label: Acme Inc.
|
|
516
|
+
# - slug: other-co
|
|
517
|
+
# label: Other Co
|
|
517
518
|
|
|
518
519
|
# Compaction tunables. All optional — built-in defaults apply
|
|
519
520
|
# when omitted. SOMORA_COMPACTION_* env vars override these for ops/CI.
|
|
@@ -690,14 +691,14 @@ providers:
|
|
|
690
691
|
# h2PingIntervalMs: 30000 # HTTP/2 PING per client session (TLS listener) …
|
|
691
692
|
# h2PingTimeoutMs: 30000 # … no ACK within this time → session destroyed (tab closed, Wi-Fi gone)
|
|
692
693
|
# keepAliveDelayMs: 30000 # TCP keepalive on every socket (kernel probes on top)
|
|
693
|
-
# tmux attention watcher — somora watches
|
|
694
|
-
#
|
|
695
|
-
# the
|
|
696
|
-
#
|
|
697
|
-
#
|
|
698
|
-
#
|
|
699
|
-
#
|
|
700
|
-
#
|
|
694
|
+
# tmux attention watcher — somora watches the tmux sessions it created
|
|
695
|
+
# that hold a coding agent it recognises (docs/tmux.md) and notices when
|
|
696
|
+
# the agent stops working and is idle, or stops at a dialog. If the agent
|
|
697
|
+
# that started the session missed that moment (its turn ended), somora
|
|
698
|
+
# starts a wake turn: "session X (codex) stopped working and is idle
|
|
699
|
+
# after 6 min" or "… needs an answer: it stopped at a dialog". If the
|
|
700
|
+
# agent looked at the session itself after that, no wake fires. One wake
|
|
701
|
+
# per event, never repeated when ignored.
|
|
701
702
|
# tmux:
|
|
702
703
|
# attention:
|
|
703
704
|
# enabled: true # watcher + needs_attention metadata/badge
|
package/docs/agents.md
CHANGED
|
@@ -230,7 +230,7 @@ be deleted. In the TUI:
|
|
|
230
230
|
| `/session <slug-or-id>` | Switches to a session. |
|
|
231
231
|
| `/new <slug>` | Creates a session and switches to it. |
|
|
232
232
|
| `/main` | Back to the main session. |
|
|
233
|
-
| `/reset YES` | Archives the current session and starts it fresh.
|
|
233
|
+
| `/reset YES` | Archives the current session and starts it fresh. `/unarchive <id>` brings the archive back. |
|
|
234
234
|
| `/model` | Shows the model in use. |
|
|
235
235
|
| `/model <alias>` | Uses that model for this session only. |
|
|
236
236
|
| `/model default` | Drops the override. |
|
|
@@ -397,6 +397,11 @@ circle, even through three or more agents, is refused with an error
|
|
|
397
397
|
that says so. Sub-agents waiting on their parents are part of the same
|
|
398
398
|
check.
|
|
399
399
|
|
|
400
|
+
An agent answering a question does not `agent_ask` the asker back: its
|
|
401
|
+
reply already goes there. Such a call to the session the question came
|
|
402
|
+
from is refused, also when the asker did not wait. Another session of
|
|
403
|
+
the same agent is another conversation and can be asked as usual.
|
|
404
|
+
|
|
400
405
|
## Sub-agents
|
|
401
406
|
|
|
402
407
|
`spawn_subagent` delegates a sealed task. The sub runs in a fresh
|
package/docs/api.md
CHANGED
|
@@ -1083,7 +1083,7 @@ origin?:
|
|
|
1083
1083
|
| `human` | A person typing (`chat`) or dictating (`voice-stt`). |
|
|
1084
1084
|
| `agent` | Another agent's question, or its follow-up on one (`callId` is the original call). |
|
|
1085
1085
|
| `subagent` | A brief running in its own `sub-…` session. |
|
|
1086
|
-
| `sentinel`, `tmux`, `browser`, `voice` | A trigger, a tmux
|
|
1086
|
+
| `sentinel`, `tmux`, `browser`, `voice` | A trigger, a coding agent in tmux that finished or stopped at a dialog, a browser window handed back, a question from a voice call. |
|
|
1087
1087
|
| `wake` | Something the agent started earlier has finished: a late answer (`about: "a2a"`, `ref` is the call id), a sub-agent (`subagent`, task id) or a video (`job`, job id). |
|
|
1088
1088
|
| `peer` | A task from another agent system over A2A ([A2A](a2a.md#taking-work-in)). |
|
|
1089
1089
|
| `wake` with `about: "system"` | somora itself speaks. `cause` names the occasion. Today that is `restart`, and the text begins `[system: restart]`. |
|
|
@@ -3041,19 +3041,22 @@ The tmux sessions on the server.
|
|
|
3041
3041
|
curl -H "Authorization: Bearer $KEY" $BASE/tmux/sessions
|
|
3042
3042
|
```
|
|
3043
3043
|
|
|
3044
|
-
Returns `{sessions: [{name, windows, activeCommand, activeTitle, createdEpoch, lastActivityEpoch, origin?}]}`.
|
|
3044
|
+
Returns `{sessions: [{name, windows, activeCommand, activeTitle, createdEpoch, lastActivityEpoch, sessionId, origin?}]}`.
|
|
3045
3045
|
The two `…Epoch` fields are in seconds. `origin` says which agent and
|
|
3046
3046
|
session created the tmux session, when somora did.
|
|
3047
3047
|
|
|
3048
3048
|
### `WS /tmux/attach?session=<name>`
|
|
3049
3049
|
|
|
3050
|
-
A WebSocket to `tmux attach-session -d -t <name>`.
|
|
3050
|
+
A WebSocket to `tmux attach-session -d -t <name>`. A session somora
|
|
3051
|
+
created is attached with `-f ignore-size`, so the viewer never changes
|
|
3052
|
+
its size.
|
|
3051
3053
|
|
|
3052
3054
|
| Direction | Frame | Meaning |
|
|
3053
3055
|
|---|---|---|
|
|
3054
3056
|
| server to client | binary | Terminal output. |
|
|
3055
3057
|
| client to server | binary | Keyboard input. |
|
|
3056
|
-
| client to server | text `{"type":"resize","cols":N,"rows":N}` | The terminal's size
|
|
3058
|
+
| client to server | text `{"type":"resize","cols":N,"rows":N}` | The terminal's size. Send it on open and when it changes; one sent before the server's terminal is up is applied when it starts. |
|
|
3059
|
+
| server to client | text `{"type":"attached","sessionId":"$N","createdEpoch":N,"fixedCols":N,"fixedRows":N}` | Attached; names the session (tmux's id and start second), so a client can tell a session started anew under the same name. `fixedCols` and `fixedRows` come for a session somora created: show exactly that size, the window plus its status line. |
|
|
3057
3060
|
| server to client | text `{"type":"ping"}` | Sent every 25 seconds. |
|
|
3058
3061
|
|
|
3059
3062
|
Any message from the client counts as a sign of life. After 80 seconds
|
package/docs/browser.md
CHANGED
|
@@ -359,7 +359,7 @@ browser:
|
|
|
359
359
|
| `browser.viewport` | `1280` x `800` | Page size. Minimum 320 x 240. |
|
|
360
360
|
| `browser.stream.quality` | `60` | JPEG quality of the live picture, 10 to 100. |
|
|
361
361
|
| `browser.stream.maxFps` | `15` | Frames per second of the live picture, 1 to 30. The stream never sends more than 20. |
|
|
362
|
-
| `browser.allowPrivate` | `[]` | Private hosts or ranges agents may open, for example `["192.0.2.0/24", "nas.local"]`. |
|
|
362
|
+
| `browser.allowPrivate` | `[]` | Private hosts or ranges agents may open, for example `["192.0.2.0/24", "nas.local"]`. `[localhost, 127.0.0.1, "::1"]` lets agents check dev servers and test builds on the somora machine and nothing else of your network. |
|
|
363
363
|
| `browser.deny` | `[]` | Hosts never opened, for example `["*.exampleco.com"]`. |
|
|
364
364
|
| `browser.profiles` | `{}` | Shared profiles: `<name>: { agents: [...] }`. Names use lowercase letters, digits, `-` and `_`. |
|
|
365
365
|
|
package/docs/compaction.md
CHANGED
|
@@ -361,7 +361,7 @@ enforces:
|
|
|
361
361
|
|
|
362
362
|
| Engine | Set `contextWindow` to | Why |
|
|
363
363
|
|---|---|---|
|
|
364
|
-
| `codex-cli` | 258400 | Codex runs every session against its own window, which is smaller than the model's API window. |
|
|
364
|
+
| `codex-cli` | 258400 (475000 for `gpt-6.1-terra`) | Codex runs every session against its own window, which is smaller than the model's API window. |
|
|
365
365
|
| `claude-cli` | the model's real window | Claude Code sessions run against it: 1M for the Claude 5 family, 200k for Haiku 4.5. |
|
|
366
366
|
| `openai-compatible` | the server's limit | Use vLLM `--max-model-len`, SGLang `--context-length` or oMLX's configured length, not the number on the model card. |
|
|
367
367
|
|
package/docs/decisions.md
CHANGED
|
@@ -59,8 +59,27 @@ models page lists the decision models somora was run with.
|
|
|
59
59
|
| Model | Where it runs | Images | Checked with somora |
|
|
60
60
|
|---|---|---|---|
|
|
61
61
|
| Clef | Self-hosted, Cloudflare's open decision model | yes | yes |
|
|
62
|
+
| OneJev | Self-hosted on a Flide server | yes | yes |
|
|
62
63
|
| Jev | TypeSafe AI, hosted | no, text only | no |
|
|
63
64
|
|
|
65
|
+
Text questions look the same on every server; images do not. Clef
|
|
66
|
+
takes them as an `images` list. A Flide server (OneJev and the other
|
|
67
|
+
models Flide serves) takes them as `media`, each named once in the state
|
|
68
|
+
by a `<image:N>` marker, and quietly ignores an `images` list.
|
|
69
|
+
|
|
70
|
+
somora tells the two apart by the server's `GET <baseUrl>/v1/models`
|
|
71
|
+
(Flide lists `models` with a `name`, Clef `data` with an `id`; a server
|
|
72
|
+
without that route counts as Clef) and sends the form that server reads. For Flide it adds the markers itself: an
|
|
73
|
+
object state gets an `images` list of them, a text state gets them
|
|
74
|
+
appended, and a state with an `images` key of its own is wrapped as
|
|
75
|
+
`{state, images}`.
|
|
76
|
+
|
|
77
|
+
When the list cannot be read and the server's form is not known yet, a
|
|
78
|
+
call with images is refused as `transport` and nothing is sent.
|
|
79
|
+
|
|
80
|
+
Flide's models list carries no input limit, so set `maxInputTokens` for
|
|
81
|
+
a model there. An input over Flide's own limit comes back as `too-long`.
|
|
82
|
+
|
|
64
83
|
Jev was not tested with somora. By its public description it speaks the
|
|
65
84
|
same API, so the same block with Jev's address, key and model name
|
|
66
85
|
should work. Treat it as untested.
|
|
@@ -126,8 +145,10 @@ neither, the server decides. somora reads the server's value at most
|
|
|
126
145
|
every ten minutes, so a change there takes effect without a restart.
|
|
127
146
|
|
|
128
147
|
Before sending, somora estimates the size and refuses a clearly too long
|
|
129
|
-
input.
|
|
130
|
-
|
|
148
|
+
input.
|
|
149
|
+
|
|
150
|
+
A server that rejects an input as too long (HTTP 413, or Flide's HTTP
|
|
151
|
+
422 naming its limit) passes its error message on, or the limit when it sends none. A server that cuts
|
|
131
152
|
the input off silently is caught too: when it reports exactly its limit
|
|
132
153
|
as the tokens read, the answers are discarded. When the server allows
|
|
133
154
|
more than your `maxInputTokens`, its exact count is checked against
|
|
@@ -170,8 +191,8 @@ A result is either `ok` or `unavailable`. An unavailable result names a
|
|
|
170
191
|
| `authentication` | The server rejected the key. |
|
|
171
192
|
| `rate-limited` | The server asks to slow down. |
|
|
172
193
|
| `not-ready` | The server is up but the model is not, for example not loaded right now. |
|
|
173
|
-
| `transport` | The server could not be reached,
|
|
174
|
-
| `too-long` | The input exceeds the limit. Nothing was sent, or the server's answers were discarded because its exact count was above your `maxInputTokens`. |
|
|
194
|
+
| `transport` | The server could not be reached, answered with an unexpected HTTP error, or its image form is unknown for a call with images. |
|
|
195
|
+
| `too-long` | The input exceeds the limit. Nothing was sent, the server refused it as too long, or the server's answers were discarded because its exact count was above your `maxInputTokens`. |
|
|
175
196
|
| `truncated` | The server cut the input off. The answers were discarded. |
|
|
176
197
|
| `unsupported-input` | The request was rejected, or an image could not be used. |
|
|
177
198
|
| `invalid-response` | The answers did not match the questions. |
|
package/docs/display.md
CHANGED
|
@@ -241,7 +241,7 @@ A path only works after the format word.
|
|
|
241
241
|
| `/new <slug>` | Creates a session and switches to it. |
|
|
242
242
|
| `/main` | Returns to the `main` session. |
|
|
243
243
|
| `/compact [what to keep]` | Compacts this session now and the conversation goes on. The sentence is the focus of the summary. See [Compact by hand](compaction.md#compact-by-hand). |
|
|
244
|
-
| `/reset [YES]` | Without `YES`: explains what would happen. With `YES`: archives the current session and starts it fresh. `/unarchive` brings the archive back. |
|
|
244
|
+
| `/reset [YES]` | Without `YES`: explains what would happen. With `YES`: archives the current session and starts it fresh; an open question of the archived conversation goes away. `/unarchive` brings the archive back. |
|
|
245
245
|
| `/models` | Lists the configured models with alias, engine, context size and capabilities. |
|
|
246
246
|
| `/model [<alias>\|default]` | No argument: shows the model in effect and where it comes from. An alias or `provider/id`: sets it for this session. `default` or `-`: back to the agent's own model. |
|
|
247
247
|
| `/show [memory\|tools] [on\|off]` | Line visibility, see "The two switches". |
|
package/docs/mobile.md
CHANGED
|
@@ -66,7 +66,9 @@ Otherwise the link points at `127.0.0.1`, which the phone cannot open.
|
|
|
66
66
|
|
|
67
67
|
| Part | What it does |
|
|
68
68
|
|---|---|
|
|
69
|
-
| **Header** | Shows `agent · session ▾ model`. Tap it to switch session or model. On the right: the work badge,
|
|
69
|
+
| **Header** | Shows `agent · session ▾ model`. Tap it to switch session or model. On the right: the work badge, in a builder session the **builder** button (a clipboard, with the number of open tasks), with realtime voice the **call** button (a phone), and the **settings** button (sliders). |
|
|
70
|
+
| **Settings** | The sliders button opens a sheet with the settings of the chat on screen: tool activity, recalled notes and reading replies aloud, each where it applies. A dot on the button means at least one of them is not as it starts out. |
|
|
71
|
+
| **This phone** | Where the browser can keep the screen awake, the koala in the top-left corner opens the settings of the phone itself, whatever chat is open: keeping the screen awake. A dot on the koala means it is on. Elsewhere the koala is only the logo. |
|
|
70
72
|
| **Avatar row** | One tile per agent. Tap to switch. The app remembers the last agent. Long-press a tile to change the order, see below. |
|
|
71
73
|
| **Chat** | The history of the open session, newest first loaded. Scroll to the top, or tap **Load older messages**, for the next older part. Replies are rendered as Markdown. A wide code block scrolls sideways. |
|
|
72
74
|
| **Input bar** | Paperclip, microphone, text field, Send. Enter sends, Shift+Enter starts a new line. |
|
|
@@ -169,6 +171,9 @@ message, or write anything else, which answers it too. A card with
|
|
|
169
171
|
several questions, or one that allows several answers, has a **Send**
|
|
170
172
|
button.
|
|
171
173
|
|
|
174
|
+
The question stays in the chat with its options after the card
|
|
175
|
+
closes, also with the tools switch off.
|
|
176
|
+
|
|
172
177
|
A question that waits, such as an external agent's permission request,
|
|
173
178
|
shows how long it still waits. The card is read again after
|
|
174
179
|
a reload or a dropped connection.
|
|
@@ -202,9 +207,9 @@ again and the transcript lands in the text field for you to check. It
|
|
|
202
207
|
is never sent by itself. The button is greyed out when `stt.enabled` is
|
|
203
208
|
off or the browser cannot record.
|
|
204
209
|
|
|
205
|
-
**Spoken replies.** With text-to-speech configured, the
|
|
206
|
-
|
|
207
|
-
reply is also played. The
|
|
210
|
+
**Spoken replies.** With text-to-speech configured, the settings sheet
|
|
211
|
+
has a **Read replies aloud** switch. When it is on and you sent the message by voice, the
|
|
212
|
+
reply is also played. The switch is remembered per agent. Replies with
|
|
208
213
|
audio get a Play button. Details are in the [voice guide](voice.md).
|
|
209
214
|
|
|
210
215
|
### Calling an agent
|
|
@@ -233,12 +238,12 @@ the screen follows. After a call ends: **call again** or **close**.
|
|
|
233
238
|
|
|
234
239
|
### Keeping the screen awake
|
|
235
240
|
|
|
236
|
-
|
|
237
|
-
|
|
241
|
+
**Keep screen awake** keeps the display on while the app is open. Tap
|
|
242
|
+
the koala in the top-left corner to find it. It is off by default and remembered per browser.
|
|
238
243
|
|
|
239
244
|
> **Note:** On an iPhone this needs iOS 18.4 or newer. Older versions
|
|
240
|
-
> accept the request and let the screen sleep anyway. The
|
|
241
|
-
>
|
|
245
|
+
> accept the request and let the screen sleep anyway. The switch still
|
|
246
|
+
> works there, and the line under it says so.
|
|
242
247
|
|
|
243
248
|
## What the chat shows
|
|
244
249
|
|
|
@@ -250,6 +255,7 @@ is open. It is off by default and remembered per browser.
|
|
|
250
255
|
| `memory · N notes` line | The notes recalled for the turn, see "Recalled notes" below. Only with the memory switch on. |
|
|
251
256
|
| `⇄ fallback · <model>` | A backup model answered. The tooltip names the models that failed and why. |
|
|
252
257
|
| **⚠** block | The turn ended in an error. |
|
|
258
|
+
| Question row | A question the agent asked you, with its options. Hidden only while its card is open. |
|
|
253
259
|
| `◌ history compacted …` divider | The history was compacted: before a turn, by hand, or by the engine itself. When somora compacted, the line says by how much. |
|
|
254
260
|
| Media line | The reply produced a picture or video. The phone shows a line naming it. Open the web client to see it. |
|
|
255
261
|
| `Image from <host>` with **Show** and **Always show** | A picture from another website, held back until you allow it. See [Security](security.md#pictures-from-other-websites). |
|
|
@@ -259,7 +265,7 @@ The thinking row only exists when the server captures reasoning.
|
|
|
259
265
|
|
|
260
266
|
### Tool activity
|
|
261
267
|
|
|
262
|
-
|
|
268
|
+
**Tool activity in chat** in the settings sheet shows what the agent does between
|
|
263
269
|
its messages. A builder writes almost no text while it works, so
|
|
264
270
|
without it a build of several hours shows an empty chat.
|
|
265
271
|
|
|
@@ -294,7 +300,7 @@ agents, off by default.
|
|
|
294
300
|
|
|
295
301
|
### Recalled notes
|
|
296
302
|
|
|
297
|
-
|
|
303
|
+
**Recalled notes in chat** in the settings sheet shows which notes somora gave the
|
|
298
304
|
agent before a turn. A line stands above the reply:
|
|
299
305
|
|
|
300
306
|
```text
|
package/docs/models.md
CHANGED
|
@@ -68,7 +68,7 @@ providers:
|
|
|
68
68
|
anthropic:
|
|
69
69
|
engine: claude-cli
|
|
70
70
|
models:
|
|
71
|
-
- id: claude-fable-5-
|
|
71
|
+
- id: claude-fable-5-2
|
|
72
72
|
alias: fable
|
|
73
73
|
contextWindow: 1000000
|
|
74
74
|
capabilities: [text, image, pdf, reasoning]
|
|
@@ -88,7 +88,8 @@ providers:
|
|
|
88
88
|
|
|
89
89
|
| Model | contextWindow | Notes | Checked |
|
|
90
90
|
|---|---|---|---|
|
|
91
|
-
| `claude-fable-5-
|
|
91
|
+
| `claude-fable-5-2` | 1000000 | The current Fable. It replaces `claude-fable-5-1`: keep your alias, change the `id`. Same surface: adaptive thinking always on, the thinking text is a placeholder. | in use |
|
|
92
|
+
| `claude-fable-5-1` | 1000000 | The previous Fable. Frontier model, adaptive thinking always on. The SDK discloses no thinking text for it, so somora shows a placeholder row that the model thought. No separate reasoning token count: it is part of `tokens_out`. | full check |
|
|
92
93
|
| `claude-opus-5-5` | 1000000 | Anthropic's recommendation for most workloads. It replaces `claude-opus-5`: keep your alias, change the `id`. Thinking text is a placeholder, as above. | full check |
|
|
93
94
|
| `claude-sonnet-5-5` | 1000000 | The current Sonnet: same surface as Opus, cheaper on the subscription budget. It replaces `claude-sonnet-5`: keep your alias, change the `id`. | in use |
|
|
94
95
|
| `claude-sonnet-5` | 1000000 | The previous Sonnet. | full check |
|
|
@@ -136,10 +137,12 @@ providers:
|
|
|
136
137
|
capabilities: [text, image, pdf, reasoning]
|
|
137
138
|
reasoning:
|
|
138
139
|
levels: { high: xhigh } # optional: /thinking high → codex xhigh
|
|
139
|
-
- id: gpt-
|
|
140
|
+
- id: gpt-6.1-terra
|
|
140
141
|
alias: terra
|
|
141
|
-
contextWindow:
|
|
142
|
+
contextWindow: 475000 # what codex reports for 6.1 Terra
|
|
142
143
|
capabilities: [text, image, pdf, reasoning]
|
|
144
|
+
reasoning:
|
|
145
|
+
levels: { "off": low, high: xhigh } # refuses `minimal`: map `off` explicitly
|
|
143
146
|
- id: gpt-6-luna
|
|
144
147
|
alias: luna
|
|
145
148
|
contextWindow: 258400
|
|
@@ -162,7 +165,8 @@ move along.
|
|
|
162
165
|
| `gpt-6-sol` | 258400 | The first GPT-6 Sol, followed by 6.1. | in use |
|
|
163
166
|
| `gpt-6-luna` | 258400 | Fast and cheap: extraction, classification, volume. The current Luna. | in use |
|
|
164
167
|
| `gpt-5.6-sol` | 258400 | The previous Sol. | full check |
|
|
165
|
-
| `gpt-
|
|
168
|
+
| `gpt-6.1-terra` | 475000 | The current Terra, the workhorse between Sol and Luna. Codex reports a 475000 window for it. It refuses `minimal` with HTTP 400, so map `off: low` as in the block above. | in use |
|
|
169
|
+
| `gpt-5.6-terra` | 258400 | The previous Terra. OpenAI positions it as GPT-5.5 class at lower cost. | full check |
|
|
166
170
|
| `gpt-5.6-luna` | 258400 | The previous Luna. | full check |
|
|
167
171
|
| `gpt-5.5` | 258400 | Still listed by Codex. The one model here that does not run in Code Mode only. Terra is the equivalent at lower cost. | full check |
|
|
168
172
|
| `gpt-5.4-mini`, `gpt-5.3-codex` | none | Retired for ChatGPT accounts. Codex answers with an error, which shows as a failed turn or a crashed compaction worker. Remove them. | retired |
|
|
@@ -170,9 +174,10 @@ move along.
|
|
|
170
174
|
### The Codex context window
|
|
171
175
|
|
|
172
176
|
Codex runs a session against a window it sets itself and reports on
|
|
173
|
-
every turn as `modelContextWindow`: 258,400 for
|
|
174
|
-
while the API window of the same models
|
|
175
|
-
|
|
177
|
+
every turn as `modelContextWindow`: 258,400 for most models it offers
|
|
178
|
+
and 475,000 for `gpt-6.1-terra`, while the API window of the same models
|
|
179
|
+
is larger. Configure the number Codex reports for each model, not the
|
|
180
|
+
number from the model card.
|
|
176
181
|
|
|
177
182
|
somora shows the reported number once the first turn has run. Until
|
|
178
183
|
then the header uses the configured value. The configured value also
|
|
@@ -565,12 +570,15 @@ decisions:
|
|
|
565
570
|
| Model | Where it runs | Images | Input limit | Checked |
|
|
566
571
|
|---|---|---|---|---|
|
|
567
572
|
| Clef | Self-hosted, Cloudflare's open decision model | yes, up to 4 per call | what the server reports at `/v1/models` | yes: all three question types, images, the limit, refusal of too long input |
|
|
573
|
+
| OneJev 1.6 9B | Self-hosted on a Flide server | yes; somora sends them in Flide's form | set `maxInputTokens` (32768 on Flide; its `/v1/models` names none) | yes: text questions, images, Flide's length refusal |
|
|
568
574
|
| Jev | TypeSafe AI, hosted | no | per its documentation | no: not tested with somora |
|
|
569
575
|
|
|
570
576
|
Clef's answer time grows with the input: a short request takes well
|
|
571
577
|
under a second, four images or tens of thousands of tokens take tens of
|
|
572
|
-
seconds.
|
|
573
|
-
|
|
578
|
+
seconds. OneJev answers a short request in about 0.1 to 0.2 seconds. Jev
|
|
579
|
+
speaks the same API by its public description; somora was checked
|
|
580
|
+
against Clef and OneJev only. How images differ between the servers is
|
|
581
|
+
in [decision models](decisions.md).
|
|
574
582
|
|
|
575
583
|
## Settings
|
|
576
584
|
|
|
@@ -603,7 +611,7 @@ providers:
|
|
|
603
611
|
|
|
604
612
|
| Field | Default | openai-compatible | claude-cli | codex-cli | grok-cli |
|
|
605
613
|
|---|---|---|---|---|---|
|
|
606
|
-
| `contextWindow` | required | compaction trigger, worker choice, display. Use the server's limit. | worker choice, display. The native window is right. | worker choice, display. Use the Codex
|
|
614
|
+
| `contextWindow` | required | compaction trigger, worker choice, display. Use the server's limit. | worker choice, display. The native window is right. | worker choice, display. Use the window Codex reports for the model: 258400, or 475000 for `gpt-6.1-terra`. | display. Grok reports the window itself, and that number is shown. |
|
|
607
615
|
| `capabilities` | `[text]` | `image` and `pdf` gate attachments, `reasoning` decides whether a thinking level is sent | same | same | same |
|
|
608
616
|
| `alias` | none | short name for `model:` in `agent.yaml`, letters, digits, `-` and `_` | same | same | same |
|
|
609
617
|
| `reasoning.default` | unset | the thinking level used when session and agent set none, in somora's words; sent explicitly and shown as the model's default | same | same | same |
|
|
@@ -671,7 +679,7 @@ update.
|
|
|
671
679
|
| Symptom | Cause and fix |
|
|
672
680
|
|---|---|
|
|
673
681
|
| `400 ContextWindowExceededError` before somora compacts | `contextWindow` is above the server's limit. Set it to the server's `--context-length` or `--max-model-len`. |
|
|
674
|
-
| The header says the context is over full on a Codex model | `contextWindow` is not 258400. |
|
|
682
|
+
| The header says the context is over full on a Codex model | `contextWindow` is not the window Codex reports: 258400, or 475000 for `gpt-6.1-terra`. |
|
|
675
683
|
| A Codex turn fails at once, or a compaction worker crashes | The model id is retired. Remove `gpt-5.4-mini` and `gpt-5.3-codex`. |
|
|
676
684
|
| A chat row says the model rejected the reasoning effort | The model does not know the word. Map the level in `reasoning.levels`. The log line is `engine.reasoning_effort_rejected`. |
|
|
677
685
|
| Every thinking level gives the same amount of reasoning | A router drops `reasoning_effort`. Allow the parameter in the router. |
|
package/docs/setup.md
CHANGED
|
@@ -439,7 +439,8 @@ Everything else, such as `providers`, `compaction`, `agentLoop` or
|
|
|
439
439
|
### A broken config file
|
|
440
440
|
|
|
441
441
|
somora also picks up an edited `config.yaml` by itself on the next
|
|
442
|
-
turn.
|
|
442
|
+
turn. A turn that is already running sees it too: its tools read the
|
|
443
|
+
new version from their next call on. When the edited file has a mistake, somora keeps running on the
|
|
443
444
|
last valid version. No turn fails because of it. Your edit is simply
|
|
444
445
|
not in effect until the file is fixed.
|
|
445
446
|
|
package/docs/skills.md
CHANGED
|
@@ -255,13 +255,14 @@ Use ClawHub's own slug as the local name. When ClawHub limits requests
|
|
|
255
255
|
|
|
256
256
|
## Built in skills
|
|
257
257
|
|
|
258
|
-
somora ships
|
|
258
|
+
somora ships three skills and copies them to `~/.somora/skills/` when the
|
|
259
259
|
server starts:
|
|
260
260
|
|
|
261
261
|
| Skill | Teaches |
|
|
262
262
|
|---|---|
|
|
263
263
|
| `skill-author` | Writing and installing skills with `somora skill`. |
|
|
264
264
|
| `builder-handover` | Handing a coding task to a builder agent. |
|
|
265
|
+
| `coding-team` | Coordinating several coding agents (Claude Code, Codex, OpenCode, Pi) in tmux sessions as one team, with an `AGENTS.md` template. |
|
|
265
266
|
|
|
266
267
|
A new somora version may bring a newer text. What happens to your copy
|
|
267
268
|
at server start:
|