somora 2026.1116.11 → 2026.1128.3
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/README.md +37 -29
- package/config.example.yaml +24 -3
- package/docs/agents.md +3 -3
- package/docs/api.md +4 -4
- package/docs/browser.md +9 -1
- package/docs/builder.md +1 -1
- package/docs/cache-strategy.md +6 -4
- package/docs/compaction.md +10 -8
- package/docs/display.md +125 -14
- package/docs/dream-phases.md +3 -2
- package/docs/index.md +2 -2
- package/docs/lsp.md +1 -1
- package/docs/mcp.md +3 -2
- package/docs/memory.md +3 -2
- package/docs/mobile.md +17 -1
- package/docs/models.md +131 -17
- package/docs/sampling.md +2 -2
- package/docs/security.md +38 -5
- package/docs/setup.md +50 -17
- package/docs/thinking.md +14 -10
- package/docs/tmux.md +3 -0
- package/docs/tools.md +62 -9
- package/docs/videogen.md +1 -1
- package/docs/web.md +6 -6
- package/package.json +1 -2
- package/src/browser/display.ts +8 -0
- package/src/browser/executable.ts +22 -0
- package/src/browser/service.ts +4 -16
- package/src/cli/agy.ts +47 -0
- package/src/cli/help-args.ts +1 -1
- package/src/cli/key.ts +22 -0
- package/src/cli/setup.ts +406 -21
- package/src/cli/somora.ts +11 -4
- package/src/cli/tui/activity-stream.ts +5 -0
- package/src/cli/tui/api.ts +19 -4
- package/src/cli/tui/app.tsx +648 -117
- package/src/cli/tui/attention.ts +46 -0
- package/src/cli/tui/autocomplete.tsx +12 -5
- package/src/cli/tui/blocks.ts +133 -0
- package/src/cli/tui/editor-model.ts +182 -0
- package/src/cli/tui/editor.tsx +193 -0
- package/src/cli/tui/footer.tsx +14 -6
- package/src/cli/tui/header.tsx +136 -127
- package/src/cli/tui/herdr.ts +100 -0
- package/src/cli/tui/index.tsx +35 -19
- package/src/cli/tui/layout.ts +182 -0
- package/src/cli/tui/picker.tsx +124 -0
- package/src/cli/tui/resync.ts +80 -0
- package/src/cli/tui/separator.tsx +10 -1
- package/src/cli/tui/state.ts +38 -1
- package/src/cli/tui/stream.ts +9 -0
- package/src/cli/tui/turn-views.tsx +86 -4
- package/src/cli/tui/types.ts +28 -1
- package/src/compaction/summarize.ts +15 -0
- package/src/config/loader.ts +7 -2
- package/src/config/settings/catalog/agents.ts +6 -0
- package/src/config/settings/catalog/interfaces.ts +30 -3
- package/src/config/types.ts +61 -0
- package/src/dream/deep-llm.ts +35 -2
- package/src/dream/rem-extract.ts +1 -1
- package/src/engine/agy-bin.ts +64 -0
- package/src/engine/agy-cli.ts +1023 -0
- package/src/engine/agy-home.ts +135 -0
- package/src/engine/agy-mcp-launch.mjs +49 -0
- package/src/engine/engine-meta-labels.ts +4 -0
- package/src/engine/registry.ts +2 -0
- package/src/engine/thinking-params.ts +20 -0
- package/src/server/ask-attended.ts +1 -1
- package/src/server/heal-session.ts +3 -0
- package/src/server/inbox-sources.ts +2 -0
- package/src/server/run-turn-fallback.ts +4 -1
- package/src/server/run-turn.ts +2 -0
- package/src/server/session-compact.ts +20 -1
- package/src/server/tls-keeper.ts +21 -12
- package/src/setup/presets.ts +20 -4
- package/src/setup/tailscale-bin.ts +69 -0
- package/src/setup/tailscale.ts +10 -4
- package/src/tmux/detection/somora-rules/agy.json +39 -0
- package/src/tools/builder/short-descriptions.ts +1 -1
- package/src/tools/dream/tools.ts +1 -1
- package/src/tools/exec/internal-env.ts +1 -0
- package/src/tools/types.ts +1 -1
- package/src/tools/web/index.ts +2 -1
- package/src/tools/web/search-providers.ts +268 -0
- package/src/tools/web/tools.ts +32 -102
- package/web/dist/assets/{index-D5acQA-P.js → index-CCsUnCP2.js} +3 -3
- package/web/dist/assets/index-CCsUnCP2.js.map +1 -0
- package/web/dist/index.html +1 -1
- package/web-mobile/dist/assets/{index-DbeY-LMP.css → index-BZSmZ3_V.css} +1 -1
- package/web-mobile/dist/assets/index-qQNiNr_G.js +87 -0
- package/web-mobile/dist/assets/index-qQNiNr_G.js.map +1 -0
- package/web-mobile/dist/index.html +2 -2
- package/web/dist/assets/index-D5acQA-P.js.map +0 -1
- package/web-mobile/dist/assets/index-DPTi-G6u.js +0 -50
- package/web-mobile/dist/assets/index-DPTi-G6u.js.map +0 -1
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
> **Your AI team. Shared memory. Your choice of models.**
|
|
8
8
|
>
|
|
9
9
|
> Run personal AI agents on your own machine, switch between Claude, ChatGPT,
|
|
10
|
-
> Grok and local models in the middle of a conversation, and let the agents
|
|
10
|
+
> Grok, Gemini and local models in the middle of a conversation, and let the agents
|
|
11
11
|
> turn what they learn into a shared long-term wiki while they sleep.
|
|
12
12
|
> Run. Rest. Dream.
|
|
13
13
|
|
|
@@ -75,10 +75,11 @@ same local server, the same agents, the same memory.
|
|
|
75
75
|
into a shared Obsidian wiki — with your approval where it matters. What
|
|
76
76
|
one agent learns today, another can use next week.
|
|
77
77
|
- **Any model, one conversation.** Flip between Claude (your Claude
|
|
78
|
-
subscription), ChatGPT (your ChatGPT subscription), Grok,
|
|
78
|
+
subscription), ChatGPT (your ChatGPT subscription), Grok, Gemini (your
|
|
79
|
+
Google AI subscription), or any
|
|
79
80
|
OpenAI-compatible endpoint (Ollama, LM Studio, vLLM, OpenRouter) with a
|
|
80
81
|
slash command. History and tools carry over; the same tool registry
|
|
81
|
-
feeds all
|
|
82
|
+
feeds all five engines.
|
|
82
83
|
- **Yours.** Config, agent memory, sessions and attachments live in
|
|
83
84
|
`~/.somora/`; the shared wiki lives in your Obsidian vault; workspace
|
|
84
85
|
files and generated media in your configured workspace. Which models and
|
|
@@ -112,7 +113,7 @@ one you give a repository to.
|
|
|
112
113
|
| **Memory** | Notices facts, dreams them into notes and the wiki | Reads memory, never writes it; does not dream |
|
|
113
114
|
| **Works in** | Its workspace | The pinned project's folder, and folders an order allows besides it |
|
|
114
115
|
| **Window** | Chat | Chat plus a task panel, in the web client and on the phone: mode, plan → Go, tasks, acceptance list, questions, running time |
|
|
115
|
-
| **Made how** | `somora setup agent`, or a folder with an `AGENTS.md` and an `agent.yaml` |
|
|
116
|
+
| **Made how** | `somora setup agent`, or a folder with an `AGENTS.md` and an `agent.yaml` | `somora setup agent` offers one after your first agent, or a folder whose `agent.yaml` says `kind: builder` — fixed for life |
|
|
116
117
|
|
|
117
118
|
You can talk to a builder directly — describe the project, let it plan,
|
|
118
119
|
press Go — or let a chat agent hand it the order in one call and be
|
|
@@ -181,7 +182,8 @@ Hard:
|
|
|
181
182
|
- **At least one LLM backend:** a Claude subscription (engine
|
|
182
183
|
`claude-cli` — Claude Code is bundled, `somora claude login`); a ChatGPT
|
|
183
184
|
subscription (engine `codex-cli` — Codex is bundled, `somora codex login`); a SuperGrok or
|
|
184
|
-
Premium subscription (engine `grok-cli` — the Grok CLI is bundled, `somora grok login`);
|
|
185
|
+
Premium subscription (engine `grok-cli` — the Grok CLI is bundled, `somora grok login`); a Google AI Pro or Ultra
|
|
186
|
+
subscription (engine `agy-cli` — install Google's Antigravity CLI, then `somora agy login`); or any OpenAI-compatible HTTP
|
|
185
187
|
server (Ollama, LM Studio, vLLM, oMLX, OpenRouter, …).
|
|
186
188
|
|
|
187
189
|
Optional: an **Obsidian vault** for the shared wiki and read-only vault
|
|
@@ -214,13 +216,14 @@ then starts the **setup assistant**:
|
|
|
214
216
|
|
|
215
217
|
```text
|
|
216
218
|
somora setup
|
|
217
|
-
1 Models connect a Claude, ChatGPT or
|
|
218
|
-
2 Web search a Brave Search API key, so agents can search
|
|
219
|
-
3
|
|
220
|
-
4
|
|
221
|
-
5
|
|
222
|
-
6
|
|
223
|
-
7
|
|
219
|
+
1 Models connect a Claude, ChatGPT, Grok or Google AI subscription, or your own model server
|
|
220
|
+
2 Web search a Brave Search API key or your own SearXNG, so agents can search
|
|
221
|
+
3 Browser optional: a browser the agents can use (checks Chromium or Chrome)
|
|
222
|
+
4 First agent name, language, model and a backup model, then optionally a builder
|
|
223
|
+
5 Memory REM, Deep and Lucid — and where the shared wiki lives
|
|
224
|
+
6 Team who is who, once there is more than one agent
|
|
225
|
+
7 Access HTTPS through Tailscale, so phone and laptop can reach it
|
|
226
|
+
8 Start + test starts the service, sends your agent a real message, signs in the phone
|
|
224
227
|
```
|
|
225
228
|
|
|
226
229
|
Every step first looks at what is already there, so `somora setup` is safe
|
|
@@ -290,6 +293,8 @@ ONNXRUNTIME_NODE_INSTALL=skip npm install -g somora \
|
|
|
290
293
|
somora claude login # Claude subscription; Claude Code is bundled
|
|
291
294
|
somora codex login # ChatGPT subscription; Codex is bundled
|
|
292
295
|
somora grok login # SuperGrok or Premium subscription; the Grok CLI is bundled
|
|
296
|
+
somora agy login # Google AI subscription; install the Antigravity CLI first:
|
|
297
|
+
# curl -fsSL https://antigravity.google/cli/install.sh | bash
|
|
293
298
|
# local models: run Ollama / LM Studio / oMLX and add the endpoint to
|
|
294
299
|
# ~/.somora/config.yaml after step 4
|
|
295
300
|
|
|
@@ -309,21 +314,24 @@ its [contributor section](docs/setup.md#develop-from-a-checkout).
|
|
|
309
314
|
|
|
310
315
|
## What works where
|
|
311
316
|
|
|
312
|
-
Every engine gets the same feature set:
|
|
313
|
-
|
|
314
|
-
| Capability | claude-cli | codex-cli | grok-cli | openai-compatible |
|
|
315
|
-
|
|
316
|
-
| Chat (streaming) | ✓ | ✓ | ✓ | ✓ |
|
|
317
|
-
| Memory auto-injection | ✓ | ✓ | ✓ | ✓ |
|
|
318
|
-
| Memory tools (read + write) | ✓ via MCP | ✓ dynamic tools | ✓ via MCP | ✓ in-process |
|
|
319
|
-
| Wiki layer (shared) | ✓ | ✓ | ✓ | ✓ |
|
|
320
|
-
| Three-phase dreams | ✓ | ✓ | ✓ | ✓ |
|
|
321
|
-
| Tool surface | ✓ via MCP | ✓ dynamic tools | ✓ via MCP | ✓ in-process |
|
|
322
|
-
| Skills (markdown how-tos) | ✓ | ✓ | ✓ | ✓ |
|
|
323
|
-
| Multimodal attachments (image, PDF) | ✓ native | ✓ image native, PDF rasterized | ✓ image native, PDF rasterized | ✓ image; PDF native or rasterized per provider |
|
|
324
|
-
| Image + video generation¹ | ✓ via MCP | ✓ dynamic tools | ✓ via MCP | ✓ in-process |
|
|
325
|
-
| Sub-agents, agent-to-agent questions, follow-ups | ✓ | ✓ | ✓ | ✓ |
|
|
326
|
-
| SSH-resource exec | ✓ | ✓ | ✓ | ✓ |
|
|
317
|
+
Every engine gets the same core feature set; the last three rows differ:
|
|
318
|
+
|
|
319
|
+
| Capability | claude-cli | codex-cli | grok-cli | agy-cli | openai-compatible |
|
|
320
|
+
|---|:-:|:-:|:-:|:-:|:-:|
|
|
321
|
+
| Chat (streaming) | ✓ | ✓ | ✓ | ✓ | ✓ |
|
|
322
|
+
| Memory auto-injection | ✓ | ✓ | ✓ | ✓ | ✓ |
|
|
323
|
+
| Memory tools (read + write) | ✓ via MCP | ✓ dynamic tools | ✓ via MCP | ✓ via MCP | ✓ in-process |
|
|
324
|
+
| Wiki layer (shared) | ✓ | ✓ | ✓ | ✓ | ✓ |
|
|
325
|
+
| Three-phase dreams | ✓ | ✓ | ✓ | ✓ | ✓ |
|
|
326
|
+
| Tool surface | ✓ via MCP | ✓ dynamic tools | ✓ via MCP | ✓ via MCP | ✓ in-process |
|
|
327
|
+
| Skills (markdown how-tos) | ✓ | ✓ | ✓ | ✓ | ✓ |
|
|
328
|
+
| Multimodal attachments (image, PDF) | ✓ native | ✓ image native, PDF rasterized | ✓ image native, PDF rasterized | ✓ read through `file_read`, PDF as page images | ✓ image; PDF native or rasterized per provider |
|
|
329
|
+
| Image + video generation¹ | ✓ via MCP | ✓ dynamic tools | ✓ via MCP | ✓ via MCP | ✓ in-process |
|
|
330
|
+
| Sub-agents, agent-to-agent questions, follow-ups | ✓ | ✓ | ✓ | ✓ | ✓ |
|
|
331
|
+
| SSH-resource exec | ✓ | ✓ | ✓ | ✓ | ✓ |
|
|
332
|
+
| Steering a running turn | ✓ | ✓ | ✓ | — queued as the next turn | ✓ |
|
|
333
|
+
| `/compact` uses your focus | ✓ | — | — | ✓ | ✓ |
|
|
334
|
+
| Thinking text | placeholder | summary | short notes | — count only | full text |
|
|
327
335
|
|
|
328
336
|
¹ Off until an `imageGen` / `videoGen` block exists in `config.yaml`.
|
|
329
337
|
|
|
@@ -343,8 +351,8 @@ Every engine gets the same feature set:
|
|
|
343
351
|
│ work ledger: what runs, what waits, what is arriving · wakes when
|
|
344
352
|
│ late results land · follow-ups to whoever asked · visible in every client
|
|
345
353
|
│
|
|
346
|
-
├─ Engines claude-cli · codex-cli · grok-cli · openai-compatible
|
|
347
|
-
│ one tool registry for all
|
|
354
|
+
├─ Engines claude-cli · codex-cli · grok-cli · agy-cli · openai-compatible
|
|
355
|
+
│ one tool registry for all five (in-process · MCP child · Codex dynamic tools)
|
|
348
356
|
│
|
|
349
357
|
├─ Tools memory · dream · wiki · file · exec + tmux · web · agents
|
|
350
358
|
│ skills · sentinel · browser · image · video · media · projects
|
package/config.example.yaml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# (created with sane defaults on first server start).
|
|
3
3
|
#
|
|
4
4
|
# Secrets:
|
|
5
|
-
# - Subscription engines (claude-cli, codex-cli, grok-cli) do not need any keys
|
|
5
|
+
# - Subscription engines (claude-cli, codex-cli, grok-cli, agy-cli) do not need any keys
|
|
6
6
|
# here — they authenticate via their CLI's own `login` flow.
|
|
7
7
|
# - OpenAI-compatible providers (custom endpoints, OpenRouter, oMLX,
|
|
8
8
|
# Ollama, …) read `apiKey` directly from this file. The recommended
|
|
@@ -112,6 +112,19 @@ providers:
|
|
|
112
112
|
# contextWindow: 256000
|
|
113
113
|
# capabilities: [text, image, reasoning]
|
|
114
114
|
|
|
115
|
+
# Gemini via Google's Antigravity CLI (`agy`, installed with
|
|
116
|
+
# `curl -fsSL https://antigravity.google/cli/install.sh | bash`). A Google
|
|
117
|
+
# AI Pro or Ultra subscription signs it in with `somora agy login`; no API
|
|
118
|
+
# key. Images and PDFs reach the model through file_read. See
|
|
119
|
+
# docs/models.md, section "Google AI subscription (Gemini)".
|
|
120
|
+
# google:
|
|
121
|
+
# engine: agy-cli
|
|
122
|
+
# models:
|
|
123
|
+
# - id: gemini-4-neon
|
|
124
|
+
# alias: neon
|
|
125
|
+
# contextWindow: 512000
|
|
126
|
+
# capabilities: [text, image, pdf, reasoning]
|
|
127
|
+
|
|
115
128
|
# Local OpenAI-compatible server (Ollama, LM Studio, oMLX, vLLM, ...).
|
|
116
129
|
# Multiple providers of the same engine are fine — just give each a unique key.
|
|
117
130
|
omlx:
|
|
@@ -664,6 +677,7 @@ providers:
|
|
|
664
677
|
# claudeCliIdleMs: 300000 # 5 min — subscription, fast first event
|
|
665
678
|
# codexCliIdleMs: 300000 # 5 min — subscription, fast first event
|
|
666
679
|
# grokCliIdleMs: 300000 # 5 min — same class as the other CLIs
|
|
680
|
+
# agyCliIdleMs: 300000 # 5 min — same class as the other CLIs
|
|
667
681
|
# openaiCompatibleIdleMs: 1200000 # 20 min — local LLMs (oMLX, ollama, vLLM)
|
|
668
682
|
# # can legitimately stream slowly on
|
|
669
683
|
# # consumer hardware. Raise if your
|
|
@@ -997,11 +1011,18 @@ providers:
|
|
|
997
1011
|
|
|
998
1012
|
# Web-tools credentials. Per-provider keys — tools whose provider isn't
|
|
999
1013
|
# configured are hidden from the agent (the `available()` probe on the
|
|
1000
|
-
# tool returns false).
|
|
1001
|
-
#
|
|
1014
|
+
# tool returns false). web_search asks Brave (free tier: 2k
|
|
1015
|
+
# requests/month, https://api-dashboard.search.brave.com/) and/or a
|
|
1016
|
+
# SearXNG instance you run (it must allow format=json). With both, Brave
|
|
1017
|
+
# is asked first and SearXNG answers when Brave fails; `search.order`
|
|
1018
|
+
# changes that. Docs: docs/tools.md "Web search".
|
|
1002
1019
|
# web:
|
|
1003
1020
|
# brave:
|
|
1004
1021
|
# apiKey: "BSAxxx..."
|
|
1022
|
+
# searxng:
|
|
1023
|
+
# baseUrl: http://192.0.2.20:8888
|
|
1024
|
+
# search:
|
|
1025
|
+
# order: [searxng, brave] # first answers; next only when it fails
|
|
1005
1026
|
# # Internal hosts web_fetch may read (host, *.suffix, IP or IPv4 CIDR);
|
|
1006
1027
|
# # everything private is refused otherwise.
|
|
1007
1028
|
# fetchAllowPrivate: [wiki.home.lan, 10.0.0.0/24]
|
package/docs/agents.md
CHANGED
|
@@ -732,7 +732,7 @@ How the fallback chain works:
|
|
|
732
732
|
|---|---|---|---|
|
|
733
733
|
| `kind` | `chat`, `builder` | `chat` | The kind of agent. Set once at creation. |
|
|
734
734
|
| `a2a` | boolean | `false` | Other agent systems may send this agent tasks over [A2A](a2a.md#taking-work-in), if `config.yaml` lists them under `a2a.peers`. Also the A2A switch in the Agent window. Never for a builder. |
|
|
735
|
-
| `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
|
|
735
|
+
| `steering` | boolean | `false` | Default for a message typed in the web client or the terminal 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, Ctrl+T in the terminal client for the session. Steering works on `openai-compatible`, `claude-cli`, `codex-cli` and `grok-cli`. On `agy-cli` a message always waits for its own turn. |
|
|
736
736
|
| `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. |
|
|
737
737
|
| `agentLoop.maxRounds` | integer | server value (8) | Rounds per turn on the `openai-compatible` engine. Builders have none unless set. |
|
|
738
738
|
| `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. |
|
|
@@ -804,8 +804,8 @@ Deep and Lucid themselves work for the whole install and are set under
|
|
|
804
804
|
| `rem.chunkTimeoutMs` | integer | `600000` | Time limit per piece. Ten minutes leaves room for local models. A piece that runs out is marked failed and REM continues with the next. |
|
|
805
805
|
| `rem.thinking` | `off`, `low`, `medium`, `high` | none | Reasoning depth for the worker, when its model has the `reasoning` capability. |
|
|
806
806
|
|
|
807
|
-
The worker can be a model on `claude-cli`, `codex-cli`, `grok-cli
|
|
808
|
-
an `openai-compatible` provider.
|
|
807
|
+
The worker can be a model on `claude-cli`, `codex-cli`, `grok-cli`,
|
|
808
|
+
`agy-cli` or an `openai-compatible` provider.
|
|
809
809
|
|
|
810
810
|
> **Note:** The switch in the Agent window applies at once. After you
|
|
811
811
|
> edit `dreams` or `rem.*` in `agent.yaml` by hand,
|
package/docs/api.md
CHANGED
|
@@ -662,7 +662,7 @@ What a client sees, in order:
|
|
|
662
662
|
| Case | Result |
|
|
663
663
|
|---|---|
|
|
664
664
|
| Engine `openai-compatible`, `claude-cli`, `codex-cli` or `grok-cli` | The message is steered. |
|
|
665
|
-
|
|
|
665
|
+
| Engine `agy-cli`, or no turn running | It is queued as a turn of its own (`steered: false`). agy cannot take a message into a running turn. |
|
|
666
666
|
| The turn is already finishing | It becomes an ordinary queued turn. Nothing is lost. |
|
|
667
667
|
| The message carries `agent_ask_call_id` | Never steered: such a question needs a turn of its own. |
|
|
668
668
|
|
|
@@ -731,7 +731,7 @@ Response `200`, the turn result:
|
|
|
731
731
|
| `tool_calls`, `rounds`, `ms` | How much work the turn was. For a builder sent back to open work, `tool_calls`, `files_written` and `tools_used` cover the follow-up turns too, and `finalText` is the last turn's report ([Builder](builder.md#when-the-builder-wants-to-stop)). |
|
|
732
732
|
| `files_written`, `media` | Files and generated media of the turn, when there are any. |
|
|
733
733
|
| `tools_used` | The tools the turn called, each once, by their registry name. |
|
|
734
|
-
| `engine`, `agentKind` | The engine that ran the turn (`claude-cli`, `codex-cli`, `grok-cli`, `openai-compatible`) and the agent's kind (`chat` or `builder`). |
|
|
734
|
+
| `engine`, `agentKind` | The engine that ran the turn (`claude-cli`, `codex-cli`, `grok-cli`, `agy-cli`, `openai-compatible`) and the agent's kind (`chat` or `builder`). |
|
|
735
735
|
| `follow_ups` | Texts that reached the caller after the report. See `GET /spawn-result`. |
|
|
736
736
|
| `usage`, `contextWindow`, `provider`, `model` | Tokens and the model that answered. `fallback` is added when a backup model answered. |
|
|
737
737
|
| `thinkingActive`, `thinkingLevel` | Whether a thinking level was applied. |
|
|
@@ -1277,11 +1277,11 @@ Compacts the session now, on the engine of its model. See
|
|
|
1277
1277
|
|
|
1278
1278
|
| Body field | Required | Meaning |
|
|
1279
1279
|
|---|---|---|
|
|
1280
|
-
| `instructions` | no | What the summary should keep. Used on `openai-compatible` and `
|
|
1280
|
+
| `instructions` | no | What the summary should keep. Used on `openai-compatible`, `claude-cli` and `agy-cli`, at most 2000 characters. |
|
|
1281
1281
|
|
|
1282
1282
|
| Status | Body |
|
|
1283
1283
|
|---|---|
|
|
1284
|
-
| `200` | `{agent, session, status: "compacted", engine, tokensBefore?, tokensAfter?, note?}`. `note` says when the engine ignored the instructions (`codex-cli`, `grok-cli`). |
|
|
1284
|
+
| `200` | `{agent, session, status: "compacted", engine, tokensBefore?, tokensAfter?, note?}`. `note` says when the engine ignored the instructions (`codex-cli`, `grok-cli`). `agy-cli` uses them. |
|
|
1285
1285
|
| `200` | `{agent, session, status: "nothing_to_compact", engine, note}`. The session is too short, or the engine has no conversation for it yet. |
|
|
1286
1286
|
| `400` | `{status: "unsupported", engine, note}`. The engine cannot compact by hand. |
|
|
1287
1287
|
| `409` | `{error, busy: true}`. A turn or another compaction is running. |
|
package/docs/browser.md
CHANGED
|
@@ -23,8 +23,16 @@ now signed-in tab.
|
|
|
23
23
|
|
|
24
24
|
## Set it up
|
|
25
25
|
|
|
26
|
+
`somora setup browser` does the steps below for you: it looks for
|
|
27
|
+
Chromium or Chrome, offers to install it where one command does it,
|
|
28
|
+
starts it once to check it, and switches the browser on. It also asks about "Headed mode" below and
|
|
29
|
+
installs Xvfb when that needs it. By hand:
|
|
30
|
+
|
|
26
31
|
1. Install Chromium or Chrome on the somora host, for example
|
|
27
|
-
`sudo apt install chromium`.
|
|
32
|
+
`sudo apt install chromium`. On Ubuntu prefer Google Chrome: Ubuntu's
|
|
33
|
+
Chromium is a snap, and a snap may not open folders whose name starts
|
|
34
|
+
with a dot, such as `~/.somora`, where the browser keeps its profile.
|
|
35
|
+
The check in `somora setup browser` shows whether it starts.
|
|
28
36
|
2. Switch the browser on in `config.yaml`:
|
|
29
37
|
|
|
30
38
|
```yaml
|
package/docs/builder.md
CHANGED
|
@@ -277,7 +277,7 @@ How the builder is sent back depends on the engine:
|
|
|
277
277
|
| Engine | How |
|
|
278
278
|
|---|---|
|
|
279
279
|
| openai-compatible | Inside the running turn. The chat shows an `open tasks` row. At most twice per turn, and not again when the builder ends right after such a notice. |
|
|
280
|
-
| claude-cli, codex-cli, grok-cli | These engines run their own tool loop, so somora sees the turn only once it ended. It starts a follow-up turn at once, under the same lock: a message from somora itself (`system · open items`) that names what is open and asks for the complete report again. At most two follow-ups, and none after a follow-up without a tool call: that answer stands. The log line is `builder.turn_end_follow_up`. |
|
|
280
|
+
| claude-cli, codex-cli, grok-cli, agy-cli | These engines run their own tool loop, so somora sees the turn only once it ended. It starts a follow-up turn at once, under the same lock: a message from somora itself (`system · open items`) that names what is open and asks for the complete report again. At most two follow-ups, and none after a follow-up without a tool call: that answer stands. The log line is `builder.turn_end_follow_up`. |
|
|
281
281
|
|
|
282
282
|
Whoever gave the order gets the answer only after the follow-ups: the
|
|
283
283
|
answer of the last turn, with the acceptance list under it. A follow-up
|
package/docs/cache-strategy.md
CHANGED
|
@@ -114,15 +114,16 @@ How that block reaches the model depends on the engine.
|
|
|
114
114
|
| `claude-cli` | the Claude session, resumed | every turn, unchanged | catch-up, per-turn block, your text |
|
|
115
115
|
| `codex-cli` | the Codex thread, resumed | as developer instructions on every thread start and resume | attachment notes, per-turn block, project block on a resumed thread, catch-up, your text |
|
|
116
116
|
| `grok-cli` | the Grok session, resumed | in the session's agent profile, replaced on every resume | per-turn block, project block on a resumed session, attachments, your text |
|
|
117
|
+
| `agy-cli` | the agy conversation, resumed | in the agent file at the start of a conversation. A changed prompt starts a new conversation with the history replayed. | per-turn block, project block on a resumed conversation, attachments, catch-up, your text |
|
|
117
118
|
| `openai-compatible` | somora, rebuilt from the session file on every request | every request, as the one system message | per-turn block, your text |
|
|
118
119
|
|
|
119
120
|
"Catch-up" is the summary of turns another engine answered, sent when
|
|
120
121
|
you switch engines within a session.
|
|
121
122
|
|
|
122
|
-
`claude-cli`, `codex-cli` and `
|
|
123
|
+
`claude-cli`, `codex-cli`, `grok-cli` and `agy-cli` keep the conversation themselves. somora only
|
|
123
124
|
sends the new turn, and the provider's cache covers the rest.
|
|
124
125
|
|
|
125
|
-
On `codex-cli` and `
|
|
126
|
+
On `codex-cli`, `grok-cli` and `agy-cli` a resumed conversation also gets the
|
|
126
127
|
project block in front of the user message, so the model sees a new pin
|
|
127
128
|
at once.
|
|
128
129
|
|
|
@@ -273,8 +274,8 @@ wiki:
|
|
|
273
274
|
| `wiki.search.overviewTopNSlugs` | `30` | Most sections listed when the overview falls back to section names and counts. |
|
|
274
275
|
|
|
275
276
|
Set `memoryInjectMode: system` only for a model server that mishandles
|
|
276
|
-
a memory block inside user messages. `claude-cli`, `codex-cli
|
|
277
|
-
`grok-cli` have no such setting: the placement is fixed.
|
|
277
|
+
a memory block inside user messages. `claude-cli`, `codex-cli`,
|
|
278
|
+
`grok-cli` and `agy-cli` have no such setting: the placement is fixed.
|
|
278
279
|
|
|
279
280
|
## Where the numbers come from
|
|
280
281
|
|
|
@@ -283,6 +284,7 @@ a memory block inside user messages. `claude-cli`, `codex-cli` and
|
|
|
283
284
|
| `claude-cli` | `cache_read_input_tokens` |
|
|
284
285
|
| `codex-cli` | `cachedInputTokens` |
|
|
285
286
|
| `grok-cli` | `cachedReadTokens` |
|
|
287
|
+
| `agy-cli` | `cache_read_tokens`, summed over the turn's model steps |
|
|
286
288
|
| `openai-compatible` | `prompt_tokens_details.cached_tokens` |
|
|
287
289
|
|
|
288
290
|
somora passes the value on as `tokens_in_cached` in the usage of a turn.
|
package/docs/compaction.md
CHANGED
|
@@ -42,7 +42,7 @@ Who compacts depends on the engine of the model that answers.
|
|
|
42
42
|
| Engine | Who compacts | When | What you see |
|
|
43
43
|
|---|---|---|---|
|
|
44
44
|
| `openai-compatible` | somora | Before a turn, when the prompt reaches `triggerRatio` times the input budget | A `context compacted` row with the context before and after, and the usage display drops |
|
|
45
|
-
| `claude-cli`, `codex-cli`, `grok-cli` | The CLI itself, inside its own session | At the CLI's own threshold | A `context compacted` row, and the usage display drops |
|
|
45
|
+
| `claude-cli`, `codex-cli`, `grok-cli`, `agy-cli` | The CLI itself, inside its own session | At the CLI's own threshold | A `context compacted` row, and the usage display drops |
|
|
46
46
|
|
|
47
47
|
Every `context compacted` row shows in every client, also with the
|
|
48
48
|
tool rows hidden. On the phone it is a divider line in the chat.
|
|
@@ -80,6 +80,7 @@ What happens depends on the engine of the session's model:
|
|
|
80
80
|
| `claude-cli` | Claude Code compacts its own session, as `/compact` does in Claude Code. | Passed to Claude as its instructions. |
|
|
81
81
|
| `codex-cli` | Codex compacts its own thread. | Not used: Codex takes no instructions for it. The reply says so. |
|
|
82
82
|
| `grok-cli` | Grok compacts its own conversation. | Not used: Grok takes no instructions for it. The reply says so. |
|
|
83
|
+
| `agy-cli` | The Antigravity CLI compacts its own conversation. | Passed to agy with its `/compact`, and used. |
|
|
83
84
|
|
|
84
85
|
Good to know:
|
|
85
86
|
|
|
@@ -173,7 +174,7 @@ The summary is saved in the session's meta data together with the time
|
|
|
173
174
|
it covers. Later turns send the summary plus the exchanges after that
|
|
174
175
|
time.
|
|
175
176
|
|
|
176
|
-
`claude-cli`, `codex-cli` and `
|
|
177
|
+
`claude-cli`, `codex-cli`, `grok-cli` and `agy-cli` use the same record when they have to
|
|
177
178
|
rebuild a session, for example after a Codex thread is gone. That replay
|
|
178
179
|
is limited to the 40 most recent exchanges and 60,000 characters.
|
|
179
180
|
|
|
@@ -273,9 +274,9 @@ affected.
|
|
|
273
274
|
|
|
274
275
|
## Which model summarises
|
|
275
276
|
|
|
276
|
-
A summary is a separate, single model call without tools. All
|
|
277
|
-
engines can do it: `openai-compatible`, `claude-cli`, `codex-cli
|
|
278
|
-
`grok-cli`.
|
|
277
|
+
A summary is a separate, single model call without tools. All five
|
|
278
|
+
engines can do it: `openai-compatible`, `claude-cli`, `codex-cli`,
|
|
279
|
+
`grok-cli` and `agy-cli`.
|
|
279
280
|
|
|
280
281
|
### With a workers list
|
|
281
282
|
|
|
@@ -290,14 +291,14 @@ all, the compaction fails.
|
|
|
290
291
|
|
|
291
292
|
### Without a list
|
|
292
293
|
|
|
293
|
-
somora picks from every configured model on the
|
|
294
|
+
somora picks from every configured model on the five engines above:
|
|
294
295
|
each model whose `contextWindow` is at least 1.3 times the estimated
|
|
295
296
|
size of the summary request, smallest window first.
|
|
296
297
|
|
|
297
298
|
Three things follow from this:
|
|
298
299
|
|
|
299
300
|
- **A subscription model may be picked.** If the smallest fitting window
|
|
300
|
-
belongs to a Claude, Codex or
|
|
301
|
+
belongs to a Claude, Codex, Grok or Gemini model, the summary runs through that CLI
|
|
301
302
|
and counts against that subscription. Nothing in the UI says so. Set
|
|
302
303
|
`workers` to keep summaries on local models.
|
|
303
304
|
- **A wrong `contextWindow` misleads the pick.** Too high makes a model
|
|
@@ -348,7 +349,7 @@ once. The memory is not kept across a restart.
|
|
|
348
349
|
|
|
349
350
|
The same per-model field does three jobs:
|
|
350
351
|
|
|
351
|
-
| Job | `openai-compatible` | `claude-cli`, `codex-cli`, `grok-cli` |
|
|
352
|
+
| Job | `openai-compatible` | `claude-cli`, `codex-cli`, `grok-cli`, `agy-cli` |
|
|
352
353
|
|---|---|---|
|
|
353
354
|
| Compaction trigger and in-turn limit | yes | no, the CLI compacts on its own threshold |
|
|
354
355
|
| Choice of summariser | yes | yes |
|
|
@@ -363,6 +364,7 @@ enforces:
|
|
|
363
364
|
|---|---|---|
|
|
364
365
|
| `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
366
|
| `claude-cli` | the model's real window | Claude Code sessions run against it: 1M for the Claude 5 family, 200k for Haiku 4.5. |
|
|
367
|
+
| `agy-cli` | 512000 | Antigravity states up to 512K. agy reports no window, so the header uses this value. |
|
|
366
368
|
| `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
369
|
|
|
368
370
|
> **Warning:** A value that is too high on `openai-compatible` means
|
package/docs/display.md
CHANGED
|
@@ -26,8 +26,9 @@ Start the client against a running server:
|
|
|
26
26
|
somora tui
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
-
It opens the agent you used last, in its `main` session.
|
|
30
|
-
|
|
29
|
+
It opens the agent you used last, in its `main` session.
|
|
30
|
+
`somora tui --agent <name> --session <name>` opens that conversation
|
|
31
|
+
instead. An empty session greets you with the somora lettering. Type a message and press
|
|
31
32
|
Enter. Then try the switches:
|
|
32
33
|
|
|
33
34
|
```
|
|
@@ -36,13 +37,21 @@ Enter. Then try the switches:
|
|
|
36
37
|
/help
|
|
37
38
|
```
|
|
38
39
|
|
|
39
|
-
Type `/` to see
|
|
40
|
+
Type `/` to see the commands, eight at a time. Tab completes the highlighted one.
|
|
40
41
|
|
|
41
42
|
## The screen
|
|
42
43
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
The client fills the terminal. The bottom panel sits on the last rows:
|
|
45
|
+
a separator, the status line, the command list while you type a `/`,
|
|
46
|
+
the input, and a line of hints. Above it the chat shows the latest
|
|
47
|
+
lines. The panel stays where it is when the command list opens or
|
|
48
|
+
closes, when a reply ends, and when the window changes size.
|
|
49
|
+
|
|
50
|
+
A line moves into your terminal's own scrollback as soon as it leaves
|
|
51
|
+
the top of the screen, so scrolling up in the terminal shows everything
|
|
52
|
+
in order, each line once. Long replies, notices and messages move line
|
|
53
|
+
by line. When the window gets smaller, the terminal itself pushes rows
|
|
54
|
+
into the scrollback, and those rows can appear there twice.
|
|
46
55
|
|
|
47
56
|
### The status line
|
|
48
57
|
|
|
@@ -59,8 +68,19 @@ list while you type a `/`, the input, and a line of hints.
|
|
|
59
68
|
| `📁 <project>` | The project pinned to this session. `⚠` marks an archived one. |
|
|
60
69
|
| `📬 2` | Two other agents have something unread. |
|
|
61
70
|
| `⌛3 ▶1 🤖2 ↩1` | Work counters, see "The work queue". Absent when the session is idle. |
|
|
71
|
+
| `↪ steer` or `⏸ queue` | During a turn: what Enter does with a message you type now. `steer` hands it into the running turn, `queue` lets it wait for its own. Ctrl+T switches, see "Sending and keys". |
|
|
62
72
|
| `●` | Green: connected. Red: not connected. During a turn a spinner with `thinking` or `streaming` takes its place. |
|
|
63
73
|
|
|
74
|
+
The status line is always one row. When the window is too narrow for
|
|
75
|
+
all of it, the least important parts are left out first: the somora
|
|
76
|
+
name, the wiki review, the display switches, the thinking depth, the project, the token
|
|
77
|
+
counts. Agent and session, the connection dot, the steer or queue mark
|
|
78
|
+
and the work counters stay longest. A session's date prefix is left out: `ada:notes` instead of
|
|
79
|
+
`ada:20261122-133050_notes`.
|
|
80
|
+
|
|
81
|
+
When you open a session, the status line shows the last turn's model
|
|
82
|
+
and token counts from its history right away.
|
|
83
|
+
|
|
64
84
|
### Lines in the chat
|
|
65
85
|
|
|
66
86
|
| Line | Meaning |
|
|
@@ -78,6 +98,13 @@ list while you type a `/`, the input, and a line of hints.
|
|
|
78
98
|
| `i`, `!`, `✗` | A notice from the client: info in gray, warning in yellow, error in red. |
|
|
79
99
|
| `✗ config.yaml does not validate …` | `config.yaml` has a mistake. somora keeps running on the last valid version, the line lists the problems. See [A broken config file](setup.md#a-broken-config-file). |
|
|
80
100
|
|
|
101
|
+
Replies show their markdown. Headings are bold without their `#`, list
|
|
102
|
+
items get a `•` or their number and keep their indent when a line
|
|
103
|
+
wraps, quotes a `│` bar, code blocks a frame `┌─ <language>` with the
|
|
104
|
+
code in yellow, and tables line up their columns (a row wider than the
|
|
105
|
+
window is cut at the edge). Inside a line `**bold**`, `*italic*` and
|
|
106
|
+
`` `code` `` are shown as such.
|
|
107
|
+
|
|
81
108
|
### Turns nobody typed
|
|
82
109
|
|
|
83
110
|
A turn that somora or another part of the system started is one gray
|
|
@@ -106,11 +133,28 @@ locale is not UTF-8.
|
|
|
106
133
|
| Key | What it does |
|
|
107
134
|
|---|---|
|
|
108
135
|
| Enter | Sends the message or runs the slash command. |
|
|
109
|
-
|
|
|
110
|
-
|
|
|
136
|
+
| Alt+Enter, Ctrl+J | Starts a new line. So does Shift+Enter on terminals that report it, and Enter after a `\` at the end of a line. |
|
|
137
|
+
| Tab, Shift+Tab | Fills in the highlighted slash command. Further presses step through the same list, forwards or backwards. |
|
|
138
|
+
| Up, Down | Inside a message of several lines: moves between its lines. On its first or last line, or in a one-line message: steps through what you sent before, up to 500 entries. Your unsent draft comes back at the end. |
|
|
139
|
+
| Ctrl+R | Searches what you sent before, newest first. Typing narrows the search, Ctrl+R again finds an older match, Enter puts the match into the input without sending it, Esc gives your draft back. |
|
|
140
|
+
| Left, Right | Moves by one character; with Ctrl or Alt by one word. An emoji counts as one character. |
|
|
141
|
+
| Home, End, Ctrl+A, Ctrl+E | Jumps to the start or end of the line. |
|
|
142
|
+
| Ctrl+W, Ctrl+U, Ctrl+K | Deletes the word before the cursor, everything before it on the line, everything after it on the line. |
|
|
143
|
+
| Ctrl+G, Ctrl+P, Ctrl+O | Opens a list to pick an agent, a session of this agent, or a model for this session, see "Pickers". |
|
|
144
|
+
| Ctrl+N | Jumps to the session with the newest unread reply, at this agent or another. |
|
|
145
|
+
| Ctrl+T | During a turn: switches between steering a message into it and queueing it, for this session. |
|
|
111
146
|
| Esc | During a turn: stops the running turn and keeps your input. Otherwise: clears the input. |
|
|
112
147
|
| Ctrl+C | Clears the input. With an empty input it quits. |
|
|
113
148
|
|
|
149
|
+
What you sent is kept across runs in `~/.somora/tui-history.json`, the
|
|
150
|
+
last 500 messages, readable only by you.
|
|
151
|
+
|
|
152
|
+
Pasted text never sends by itself, whatever line breaks it carries. A
|
|
153
|
+
paste of more than 8 lines or 800 characters stands in the input as
|
|
154
|
+
`[paste #1 · 40 lines]` and is sent in full. Text and Enter that arrive
|
|
155
|
+
in one piece, as `herdr pane run` or a script's `tmux send-keys` type
|
|
156
|
+
them, are sent.
|
|
157
|
+
|
|
114
158
|
When an agent asks you something, the question appears with numbered
|
|
115
159
|
options. Type the number and press Enter, or `1,3` when several answers
|
|
116
160
|
are allowed. A question that does not wait (a chat agent's `ask_user`,
|
|
@@ -121,9 +165,29 @@ does not have. For an external agent, `/model`, `/thinking` and
|
|
|
121
165
|
`/sampling` say that its own system sets them.
|
|
122
166
|
|
|
123
167
|
You can keep typing while the agent works. A message sent during a
|
|
124
|
-
running turn
|
|
125
|
-
|
|
126
|
-
|
|
168
|
+
running turn goes one of two ways:
|
|
169
|
+
|
|
170
|
+
- **Queued**: it waits for its own turn and shows `· queued`, or
|
|
171
|
+
`· queued · N ahead` when others wait before it. It moves into the
|
|
172
|
+
chat when it starts.
|
|
173
|
+
- **Steered**: it goes into the running turn and shows `· steered`.
|
|
174
|
+
The agent reads it at its next step, after the tools of the current
|
|
175
|
+
round, and it moves into the chat at that point. See
|
|
176
|
+
[Steering](api.md#steering) for the engines that take it; on the
|
|
177
|
+
others it is queued.
|
|
178
|
+
|
|
179
|
+
Which way Enter sends follows the agent's `steering:` setting in
|
|
180
|
+
`agent.yaml`, as in the web client. Ctrl+T switches it for this session.
|
|
181
|
+
The input says which way the next message goes while a turn runs.
|
|
182
|
+
|
|
183
|
+
### Pickers
|
|
184
|
+
|
|
185
|
+
Ctrl+G lists the agents, Ctrl+P the current agent's sessions with their
|
|
186
|
+
message count and last activity, Ctrl+O the configured models. `*`
|
|
187
|
+
marks the one in use. Typing narrows the list: the letters only need to
|
|
188
|
+
appear in order, so `trn` finds `travel-notes`. Up and Down move, Enter
|
|
189
|
+
picks, Esc closes. Your draft stays in the input, and a pick does not
|
|
190
|
+
enter the history.
|
|
127
191
|
|
|
128
192
|
## The two switches
|
|
129
193
|
|
|
@@ -271,6 +335,45 @@ The three project commands appear only when `projects.enabled` is
|
|
|
271
335
|
user unit on Linux or the LaunchAgent on macOS. A server started by
|
|
272
336
|
hand refuses, because nothing would bring it back.
|
|
273
337
|
|
|
338
|
+
## When you look away
|
|
339
|
+
|
|
340
|
+
The terminal's title shows the agent and session with a mark:
|
|
341
|
+
`⏳ ada:main` while a turn runs, `⚠` when the agent asks you something,
|
|
342
|
+
`✓` after a reply until you type again. tmux shows it as the pane title.
|
|
343
|
+
The title you had before comes back when the client ends, on terminals
|
|
344
|
+
that keep a title stack.
|
|
345
|
+
|
|
346
|
+
The terminal bell rings when the agent asks you something and when a
|
|
347
|
+
turn that ran 10 seconds or longer ends. tmux marks the window, and
|
|
348
|
+
many terminals and window managers flash or badge it.
|
|
349
|
+
|
|
350
|
+
## Inside herdr
|
|
351
|
+
|
|
352
|
+
[herdr](https://github.com/herdrdev/herdr) is a terminal workspace for
|
|
353
|
+
coding agents. Run `somora tui` in one of its panes and herdr knows the
|
|
354
|
+
pane as a somora agent:
|
|
355
|
+
|
|
356
|
+
| The TUI shows | herdr sees |
|
|
357
|
+
|---|---|
|
|
358
|
+
| A turn running, or work waiting in the queue | `working` |
|
|
359
|
+
| A question from the agent | `blocked` |
|
|
360
|
+
| Nothing to do | `idle` |
|
|
361
|
+
| No connection to the server, or still loading | `unknown` |
|
|
362
|
+
|
|
363
|
+
herdr names the pane `<agent> · Somora`. With it, the TUI hands herdr
|
|
364
|
+
the command that reopens the same conversation,
|
|
365
|
+
`somora tui --agent <name> --session <name>`, so the pane comes back
|
|
366
|
+
where it was after herdr restarts. Leaving the TUI frees the pane
|
|
367
|
+
again.
|
|
368
|
+
|
|
369
|
+
Nothing needs to be set up. The TUI notices herdr from the variables
|
|
370
|
+
herdr sets in its panes and does nothing outside herdr. herdr cannot
|
|
371
|
+
send the TUI a prompt with `herdr agent prompt` yet. That command only
|
|
372
|
+
takes the agents herdr knows itself.
|
|
373
|
+
|
|
374
|
+
The other direction, somora watching coding agents in tmux with
|
|
375
|
+
herdr's rules, is in [tmux](tmux.md#how-the-state-is-read).
|
|
376
|
+
|
|
274
377
|
## Settings
|
|
275
378
|
|
|
276
379
|
The start values of the switches live in `~/.somora/config.yaml`:
|
|
@@ -376,9 +479,17 @@ the client and has no work route. Update the server.
|
|
|
376
479
|
|
|
377
480
|
**`stream closed by server` or `stream error` notices.** The live
|
|
378
481
|
connection dropped. The client reconnects by itself, first after half a
|
|
379
|
-
second, then with growing pauses up to ten seconds.
|
|
380
|
-
|
|
381
|
-
|
|
482
|
+
second, then with growing pauses up to ten seconds.
|
|
483
|
+
|
|
484
|
+
After it is back it reads the session again. A reply that finished
|
|
485
|
+
meanwhile appears in full, turns that started meanwhile follow, and a
|
|
486
|
+
line says how many tool calls of that turn are not repeated. `/export`
|
|
487
|
+
has them. An open question shows again with its options.
|
|
488
|
+
|
|
489
|
+
A notice ending in `giving up` means the agent or session no longer
|
|
490
|
+
exists: switch with `/agent` or `/session`. A notice that the server
|
|
491
|
+
refused the key means `SOMORA_KEY` is missing or wrong, see "Where the
|
|
492
|
+
client connects".
|
|
382
493
|
|
|
383
494
|
**No lettering in an empty session.** The terminal is narrower than 22
|
|
384
495
|
columns, the locale is not UTF-8, or the lettering was already shown in
|
package/docs/dream-phases.md
CHANGED
|
@@ -120,8 +120,9 @@ disk, whoever wrote them.
|
|
|
120
120
|
### Which models can do the work
|
|
121
121
|
|
|
122
122
|
A worker model can sit on an `openai-compatible` provider, on
|
|
123
|
-
`claude-cli`, on `codex-cli` or on `
|
|
124
|
-
Grok subscription is therefore enough for all
|
|
123
|
+
`claude-cli`, on `codex-cli`, on `grok-cli` or on `agy-cli`. A Claude,
|
|
124
|
+
ChatGPT, Grok or Google AI subscription is therefore enough for all
|
|
125
|
+
three phases. A worker on
|
|
125
126
|
a subscription engine runs locked down like a chat turn: no shell, no
|
|
126
127
|
web search, no plugins or MCP servers of its own.
|
|
127
128
|
|
package/docs/index.md
CHANGED
|
@@ -10,7 +10,7 @@ each page is for.
|
|
|
10
10
|
- **Agents with memory.** Each agent has its own character, model and
|
|
11
11
|
notes. Background phases turn finished conversations into notes and
|
|
12
12
|
into a shared wiki.
|
|
13
|
-
- **Your models.** A Claude, ChatGPT or
|
|
13
|
+
- **Your models.** A Claude, ChatGPT, Grok or Google AI subscription, a local model
|
|
14
14
|
server or an API key. somora brings no model of its own.
|
|
15
15
|
- **Three clients.** A desktop in the browser, an app for the phone and
|
|
16
16
|
a terminal client. All talk to the same server.
|
|
@@ -58,7 +58,7 @@ takes about ten minutes. [Setup](setup.md) explains each step.
|
|
|
58
58
|
|---|---|
|
|
59
59
|
| **agent** | A persona with its own instructions, model, notes and conversations. Lives in `~/.somora/agents/<name>/`. A chat agent talks and coordinates. A builder plans and writes software. |
|
|
60
60
|
| **session** | One conversation with one agent. Stored as a file, can be resumed and switched. |
|
|
61
|
-
| **engine** | The way somora reaches a model: `claude-cli` (Claude subscription), `codex-cli` (ChatGPT subscription), `grok-cli` (SuperGrok or Premium subscription) or `openai-compatible` (any server or API that speaks the OpenAI chat format). |
|
|
61
|
+
| **engine** | The way somora reaches a model: `claude-cli` (Claude subscription), `codex-cli` (ChatGPT subscription), `grok-cli` (SuperGrok or Premium subscription), `agy-cli` (Google AI subscription, through the Antigravity CLI) or `openai-compatible` (any server or API that speaks the OpenAI chat format). |
|
|
62
62
|
| **provider, model, alias** | `config.yaml` lists providers and the models on each. An alias is a short name for a model that works everywhere. |
|
|
63
63
|
| **memory** | An agent's own short-term notes. Recalled automatically for every message, together with the wiki and your vault. |
|
|
64
64
|
| **wiki** | The long-term knowledge base shared by all agents. Lives in a folder, usually inside your Obsidian vault. |
|
package/docs/lsp.md
CHANGED
|
@@ -79,7 +79,7 @@ model knows what to expect: `typescript ✓`, `pyright — off`, or
|
|
|
79
79
|
|
|
80
80
|
The servers live in the main somora process. The file tools ask it over
|
|
81
81
|
loopback HTTP, so builders on the CLI engines (`claude-cli`,
|
|
82
|
-
`codex-cli`, `grok-cli`) get the same verdicts.
|
|
82
|
+
`codex-cli`, `grok-cli`, `agy-cli`) get the same verdicts.
|
|
83
83
|
|
|
84
84
|
## The project root
|
|
85
85
|
|