somora 2026.1014.5 → 2026.1017.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 +15 -14
- package/config.example.yaml +104 -24
- package/docs/a2a.md +577 -0
- package/docs/acp.md +219 -0
- package/docs/agents.md +93 -18
- package/docs/api.md +281 -17
- package/docs/builder.md +6 -5
- package/docs/display.md +6 -1
- package/docs/dream-phases.md +91 -26
- package/docs/external-agents.md +255 -0
- package/docs/files.md +8 -3
- package/docs/index.md +8 -0
- package/docs/mobile.md +2 -1
- package/docs/models.md +21 -11
- package/docs/resources.md +2 -0
- package/docs/security.md +41 -3
- package/docs/setup.md +8 -1
- package/docs/team.md +20 -0
- package/docs/themes/ocean/theme.json +53 -0
- package/docs/tools.md +51 -10
- package/docs/videogen.md +1 -1
- package/docs/web.md +147 -8
- package/docs/wiki.md +7 -6
- package/package.json +4 -2
- package/src/a2a/client.ts +439 -0
- package/src/a2a/files.ts +254 -0
- package/src/a2a/limits.ts +128 -0
- package/src/a2a/protocol.ts +153 -0
- package/src/a2a/server.ts +783 -0
- package/src/acp/profiles.ts +78 -0
- package/src/acp/somora-agent.ts +431 -0
- package/src/acp/translate.ts +527 -0
- package/src/browser/service.ts +10 -0
- package/src/cli/acp.ts +67 -0
- package/src/cli/agent.ts +57 -0
- package/src/cli/config.ts +32 -2
- package/src/cli/server-base.ts +24 -0
- package/src/cli/setup.ts +38 -14
- package/src/cli/somora.ts +21 -6
- package/src/cli/team.ts +18 -5
- package/src/cli/tui/api.ts +45 -10
- package/src/cli/tui/app.tsx +79 -1
- package/src/cli/tui/commands.ts +10 -0
- package/src/cli/tui/header.tsx +10 -1
- package/src/cli/tui/index.tsx +3 -23
- package/src/cli/tui/stream.ts +21 -0
- package/src/cli/tui/turn-views.tsx +5 -0
- package/src/cli/tui/types.ts +29 -1
- package/src/config/loader.ts +51 -55
- package/src/config/types.ts +173 -1
- package/src/dream/deep-runner.ts +1 -1
- package/src/dream/dreams.ts +50 -0
- package/src/dream/rem-extract.ts +1 -1
- package/src/dream/rem-reset-run.ts +2 -1
- package/src/dream/rem-runner.ts +3 -2
- package/src/dream/rem-worker.ts +53 -6
- package/src/engine/a2a-external.ts +223 -0
- package/src/engine/acp-external.ts +188 -0
- package/src/engine/engine-meta-labels.ts +14 -0
- package/src/engine/openai-compatible.ts +22 -0
- package/src/external/badge.ts +28 -0
- package/src/external/connection.ts +395 -0
- package/src/external/registry.ts +72 -0
- package/src/external/transport.ts +138 -0
- package/src/external/unprompted.ts +152 -0
- package/src/mcp/server.ts +6 -6
- package/src/memory/registry.ts +18 -0
- package/src/multimodal/blocks.ts +4 -4
- package/src/multimodal/pdf-render.ts +39 -9
- package/src/multimodal/user-content.ts +12 -10
- package/src/persona/a2a-store.ts +33 -0
- package/src/persona/dreams-migrate.ts +149 -0
- package/src/persona/dreams-store.ts +44 -0
- package/src/persona/loader.ts +71 -16
- package/src/persona/rename-lock.ts +38 -0
- package/src/persona/rename.ts +710 -0
- package/src/persona/yaml-switch.ts +39 -0
- package/src/server/activity-stream.ts +4 -0
- package/src/server/ask-attended.ts +36 -0
- package/src/server/builder-questions.ts +30 -0
- package/src/server/chat-aborts.ts +11 -3
- package/src/server/inbox-sources.ts +1 -1
- package/src/server/inbox.ts +1 -1
- package/src/server/index.ts +87 -12
- package/src/server/rename-guard.ts +15 -0
- package/src/server/routes/abilities.ts +8 -1
- package/src/server/routes/agents.ts +120 -2
- package/src/server/routes/auth.ts +4 -0
- package/src/server/routes/builder.ts +13 -1
- package/src/server/routes/chat.ts +31 -9
- package/src/server/routes/dream.ts +13 -2
- package/src/server/routes/external.ts +121 -0
- package/src/server/routes/models.ts +13 -1
- package/src/server/routes/server.ts +4 -1
- package/src/server/routes/sessions.ts +86 -14
- package/src/server/routes/spawn.ts +2 -1
- package/src/server/routes/team.ts +5 -5
- package/src/server/routes/themes.ts +47 -0
- package/src/server/run-external-turn.ts +244 -0
- package/src/server/run-turn.ts +23 -3
- package/src/server/session-queue.ts +3 -0
- package/src/server/start-turn.ts +1 -1
- package/src/server/themes.ts +432 -0
- package/src/server/turn-origin-kind.ts +3 -1
- package/src/server/workspace.ts +1 -1
- package/src/setup/config-edit.ts +2 -1
- package/src/setup/presets.ts +6 -6
- package/src/ssh/pool.ts +33 -0
- package/src/storage/sessions.ts +9 -1
- package/src/team/render.ts +48 -8
- package/src/team/resolve.ts +3 -2
- package/src/team/store.ts +27 -3
- package/src/team/types.ts +17 -4
- package/src/testing/own-home.mts +16 -0
- package/src/tools/agents/ask-cancel.ts +14 -1
- package/src/tools/agents/ask.ts +27 -4
- package/src/tools/agents/spawn.ts +17 -3
- package/src/tools/builder/tools.ts +6 -3
- package/src/tools/file/analyze.ts +3 -3
- package/src/tools/file/local.ts +4 -0
- package/src/tools/file/tools.ts +6 -6
- package/src/tools/file/vault-lock.ts +38 -0
- package/src/tools/gating.ts +57 -8
- package/src/tools/resources/visibility.ts +2 -0
- package/src/tools/web/fetch.ts +3 -3
- package/src/types/events.ts +11 -4
- package/src/types/turn-origin.ts +4 -0
- package/src/videogen/dialects.ts +2 -5
- package/src/videogen/media.ts +1 -2
- package/web/dist/assets/index-C2J8Fvlt.css +1 -0
- package/web/dist/assets/index-C2UYh7Af.js +68 -0
- package/web/dist/assets/index-C2UYh7Af.js.map +1 -0
- package/web/dist/index.html +2 -2
- package/web-mobile/dist/assets/index-BUnNxF-t.css +1 -0
- package/web-mobile/dist/assets/{index-qa6yxobf.js → index-CqdlMkSS.js} +30 -30
- package/web-mobile/dist/assets/index-CqdlMkSS.js.map +1 -0
- package/web-mobile/dist/index.html +2 -2
- package/web/dist/assets/index-BP3n2Q5o.css +0 -1
- package/web/dist/assets/index-n8ft7qOa.js +0 -68
- package/web/dist/assets/index-n8ft7qOa.js.map +0 -1
- package/web-mobile/dist/assets/index-CqYMdu9X.css +0 -1
- package/web-mobile/dist/assets/index-qa6yxobf.js.map +0 -1
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
|
|
22
22
|
<p align="center">
|
|
23
23
|
<a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-blue.svg" alt="License: MIT" /></a>
|
|
24
|
-
<a href="#
|
|
24
|
+
<a href="#what-works-where"><img src="https://img.shields.io/badge/status-active%20dev-green.svg" alt="Status: active development" /></a>
|
|
25
25
|
<a href="#requirements"><img src="https://img.shields.io/badge/node-%E2%89%A522.22-brightgreen.svg" alt="Node 22.22 or newer" /></a>
|
|
26
26
|
</p>
|
|
27
27
|
|
|
@@ -108,7 +108,7 @@ one you give a repository to.
|
|
|
108
108
|
| **What it is for** | Talking, thinking, remembering, orchestrating: the assistant you ask, the analyst, the coordinator | Building software in a repository: plan, edit, run, test, report |
|
|
109
109
|
| **Its prompt** | Its persona (`AGENTS.md`, `SOUL.md`, `USER.md`), your team, the wiki map, memory recall | Harness rules, an environment block, the repository's own `AGENTS.md`/`CLAUDE.md`; no persona, no memory recall |
|
|
110
110
|
| **Tools** | The whole programme, gated per agent | A short coding set: files, shell, task list, questions, helpers, colleagues, search |
|
|
111
|
-
| **Turns** | A few rounds; the loop stops at 30 tool calls | Hours; hundreds of rounds, compaction mid-turn, a task list you watch |
|
|
111
|
+
| **Turns** | A few rounds; on an OpenAI-compatible model the loop stops at 30 tool calls (the CLI engines run their own loop) | Hours; hundreds of rounds, compaction mid-turn, a task list you watch |
|
|
112
112
|
| **Memory** | Notices facts, dreams them into notes and the wiki | Reads memory, never writes it; does not dream |
|
|
113
113
|
| **Works in** | Its workspace | The pinned project's folder, and only there |
|
|
114
114
|
| **Window** | Chat | Chat plus a task panel: mode, plan → Go, tasks, questions, running time |
|
|
@@ -145,6 +145,12 @@ On top of chat and memory, each optional and off until configured:
|
|
|
145
145
|
something happen; a decision model can judge what the script fetched,
|
|
146
146
|
such as "a new mail that needs an answer today"
|
|
147
147
|
([docs/sentinel.md](docs/sentinel.md)).
|
|
148
|
+
- **External agents** — bring an OpenClaw or Hermes agent into somora:
|
|
149
|
+
you chat with it in its own window, and your agents hand it work over
|
|
150
|
+
A2A, images and files included. Other systems reach your agents the
|
|
151
|
+
same way, and an editor talks to them through `somora acp`
|
|
152
|
+
([docs/external-agents.md](docs/external-agents.md),
|
|
153
|
+
[docs/a2a.md](docs/a2a.md), [docs/acp.md](docs/acp.md)).
|
|
148
154
|
- **External MCP servers** — one config entry, all engines see the tools,
|
|
149
155
|
gateable per agent ([docs/mcp.md](docs/mcp.md)).
|
|
150
156
|
- **Language servers** — with one installed, every file a builder
|
|
@@ -162,7 +168,7 @@ On top of chat and memory, each optional and off until configured:
|
|
|
162
168
|
|
|
163
169
|
Hard:
|
|
164
170
|
|
|
165
|
-
- **Node ≥22.22.2** —
|
|
171
|
+
- **Node ≥22.22.2** — the memory database uses `better-sqlite3` with `sqlite-vec`, both prebuilt. On an
|
|
166
172
|
older Node every `somora` command stops with the upgrade steps.
|
|
167
173
|
- **macOS, or Linux with glibc ≥2.34** — Debian 12, Ubuntu 22.04, RHEL 9,
|
|
168
174
|
Fedora 35 or newer. The memory database ships prebuilt for these.
|
|
@@ -301,11 +307,9 @@ arrange it in the **team** tile of the web client
|
|
|
301
307
|
HTTPS are in [docs/setup.md](docs/setup.md); hacking on somora itself in
|
|
302
308
|
its [contributor section](docs/setup.md#develop-from-a-checkout).
|
|
303
309
|
|
|
304
|
-
##
|
|
310
|
+
## What works where
|
|
305
311
|
|
|
306
|
-
|
|
307
|
-
wiki + dream system + web + tmux + mobile) is feature-complete and used
|
|
308
|
-
daily:
|
|
312
|
+
Every engine gets the same feature set:
|
|
309
313
|
|
|
310
314
|
| Capability | claude-cli | codex-cli | grok-cli | openai-compatible |
|
|
311
315
|
|---|:-:|:-:|:-:|:-:|
|
|
@@ -321,10 +325,7 @@ daily:
|
|
|
321
325
|
| Sub-agents, agent-to-agent questions, follow-ups | ✓ | ✓ | ✓ | ✓ |
|
|
322
326
|
| SSH-resource exec | ✓ | ✓ | ✓ | ✓ |
|
|
323
327
|
|
|
324
|
-
¹ Off until an `imageGen` / `videoGen` block exists
|
|
325
|
-
against a self-hosted OpenAI-shaped endpoint; the hosted providers
|
|
326
|
-
(OpenAI images/video, Google Veo) are implemented to their published
|
|
327
|
-
shapes but **not yet tested against a live account**.
|
|
328
|
+
¹ Off until an `imageGen` / `videoGen` block exists in `config.yaml`.
|
|
328
329
|
|
|
329
330
|
## Architecture at a glance
|
|
330
331
|
|
|
@@ -371,7 +372,7 @@ Three first-party clients, all hitting the same local server:
|
|
|
371
372
|
| Client | Launch | What you get |
|
|
372
373
|
|---|---|---|
|
|
373
374
|
| **TUI** | `somora tui` | Terminal multi-agent chat with full keyboard control, the session's queue (`/queue`), memory and tool detail toggles. |
|
|
374
|
-
| **Web** | `https://<host>.<tailnet>.ts.net:18737/web/` | A browser desktop: one window per agent, drag-and-drop attachments and screenshots, tmux app and shell terminal, Wiki Explorer with link graph, Media gallery, Sessions browser, the agent's Chromium window, server log, an inbox for updates and things that need you, a light or dark theme, Abilities matrix (which tools and skills each agent may use), Team and Agent windows, a queue badge per session (what runs, what waits, what is arriving — take back or stop from there), dictation and spoken replies, and a voice window for a live call. HTTPS
|
|
375
|
+
| **Web** | `https://<host>.<tailnet>.ts.net:18737/web/` | A browser desktop: one window per agent, drag-and-drop attachments and screenshots, tmux app and shell terminal, Wiki Explorer with link graph, Media gallery, Sessions browser, the agent's Chromium window, server log, an inbox for updates and things that need you, a light or dark theme plus the bundled Ocean theme, or themes of your own (colours and wallpaper, [docs/web.md#themes](docs/web.md#themes)), Abilities matrix (which tools and skills each agent may use), Team and Agent windows, a queue badge per session (what runs, what waits, what is arriving — take back or stop from there), dictation and spoken replies, and a voice window for a live call. HTTPS recommended (needed from other devices and for the microphone); sign in once with the server's key (`somora key link`). [docs/web.md](docs/web.md) |
|
|
375
376
|
| **Mobile (PWA)** | `…:18737/mobile/`, then "Add to Home Screen" | The phone app: avatar row to switch agent, a sheet in the header to switch session and model or restore an archived session, the same queue sheet with steering, the thinking level per session, voice input and spoken replies, photo/PDF attachments via the native picker. Signs in once by scanning the QR code from `somora key link`. [docs/mobile.md](docs/mobile.md) |
|
|
376
377
|
|
|
377
378
|
Anything else can talk to the server the same way the clients do, with
|
|
@@ -386,8 +387,8 @@ and searchable: [docs.somora.ai](https://docs.somora.ai).
|
|
|
386
387
|
|
|
387
388
|
- **Get running:** [setup](docs/setup.md) · [models](docs/models.md) · [agents](docs/agents.md) · [team](docs/team.md) · [security](docs/security.md)
|
|
388
389
|
- **Memory and knowledge:** [memory](docs/memory.md) · [wiki](docs/wiki.md) · [dream phases](docs/dream-phases.md) · [compaction](docs/compaction.md) · [cache strategy](docs/cache-strategy.md)
|
|
389
|
-
- **What agents can do:** [tools](docs/tools.md) · [builders](docs/builder.md) · [language servers](docs/lsp.md) · [files](docs/files.md) · [tmux](docs/tmux.md) · [resources](docs/resources.md) · [skills](docs/skills.md) · [MCP servers](docs/mcp.md) · [projects](docs/projects.md) · [sentinel](docs/sentinel.md) · [browser](docs/browser.md) · [image generation](docs/imagegen.md) · [video generation](docs/videogen.md) · [decision models](docs/decisions.md) · [image handling](docs/image-handling.md)
|
|
390
|
-
- **Clients and API:** [web](docs/web.md) · [mobile](docs/mobile.md) · [TUI display](docs/display.md) · [voice](docs/voice.md) · [realtime voice](docs/realtime-voice.md) · [API](docs/api.md)
|
|
390
|
+
- **What agents can do:** [tools](docs/tools.md) · [builders](docs/builder.md) · [language servers](docs/lsp.md) · [files](docs/files.md) · [tmux](docs/tmux.md) · [resources](docs/resources.md) · [skills](docs/skills.md) · [MCP servers](docs/mcp.md) · [projects](docs/projects.md) · [sentinel](docs/sentinel.md) · [browser](docs/browser.md) · [image generation](docs/imagegen.md) · [video generation](docs/videogen.md) · [decision models](docs/decisions.md) · [image handling](docs/image-handling.md) · [external agents](docs/external-agents.md) · [A2A](docs/a2a.md)
|
|
391
|
+
- **Clients and API:** [web](docs/web.md) · [mobile](docs/mobile.md) · [TUI display](docs/display.md) · [voice](docs/voice.md) · [realtime voice](docs/realtime-voice.md) · [editors (ACP)](docs/acp.md) · [API](docs/api.md)
|
|
391
392
|
- **Models in detail:** [thinking](docs/thinking.md) · [sampling](docs/sampling.md)
|
|
392
393
|
|
|
393
394
|
## Contributing
|
package/config.example.yaml
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
# 'anthropic', 'ollama', 'lmstudio', 'home-gpu', 'pi-edge', etc.
|
|
18
18
|
#
|
|
19
19
|
# Per-model 'alias' lets you reference a model by short nickname anywhere
|
|
20
|
-
# (
|
|
20
|
+
# (agent.yaml, /model in the clients). Aliases must be globally
|
|
21
21
|
# unique across the whole config — server refuses to start otherwise.
|
|
22
22
|
|
|
23
23
|
server:
|
|
@@ -72,14 +72,14 @@ providers:
|
|
|
72
72
|
alias: opus
|
|
73
73
|
contextWindow: 1000000
|
|
74
74
|
capabilities: [text, image, pdf, reasoning]
|
|
75
|
-
- id: claude-sonnet-5
|
|
75
|
+
- id: claude-sonnet-5-5
|
|
76
76
|
alias: sonnet
|
|
77
77
|
contextWindow: 1000000
|
|
78
78
|
capabilities: [text, image, pdf, reasoning]
|
|
79
|
-
- id: claude-haiku-
|
|
79
|
+
- id: claude-haiku-5-5
|
|
80
80
|
alias: haiku
|
|
81
|
-
contextWindow:
|
|
82
|
-
capabilities: [text, image, pdf]
|
|
81
|
+
contextWindow: 1000000
|
|
82
|
+
capabilities: [text, image, pdf, reasoning]
|
|
83
83
|
|
|
84
84
|
# OpenAI via the bundled Codex (ChatGPT Plus/Pro/Business
|
|
85
85
|
# subscription). Log in with `somora codex login`; an existing
|
|
@@ -90,18 +90,14 @@ providers:
|
|
|
90
90
|
openai:
|
|
91
91
|
engine: codex-cli
|
|
92
92
|
models:
|
|
93
|
-
- id: gpt-
|
|
94
|
-
alias:
|
|
95
|
-
contextWindow:
|
|
93
|
+
- id: gpt-6.1-sol
|
|
94
|
+
alias: sol
|
|
95
|
+
contextWindow: 258400 # the Codex session window, not the API one
|
|
96
|
+
capabilities: [text, image, pdf, reasoning]
|
|
97
|
+
- id: gpt-6-luna
|
|
98
|
+
alias: luna
|
|
99
|
+
contextWindow: 258400
|
|
96
100
|
capabilities: [text, image, pdf, reasoning]
|
|
97
|
-
- id: gpt-5.4-mini
|
|
98
|
-
alias: gpt54mini
|
|
99
|
-
contextWindow: 400000
|
|
100
|
-
capabilities: [text, reasoning]
|
|
101
|
-
- id: gpt-5.3-codex
|
|
102
|
-
alias: codex53
|
|
103
|
-
contextWindow: 400000
|
|
104
|
-
capabilities: [text, reasoning]
|
|
105
101
|
|
|
106
102
|
# xAI via the Grok CLI, bundled with somora. A SuperGrok or Premium
|
|
107
103
|
# subscription signs it in with `somora grok login`; no API key. Images
|
|
@@ -187,7 +183,7 @@ providers:
|
|
|
187
183
|
# maxImageBytes: 5242880 # largest image sent, after scaling
|
|
188
184
|
# maxImageEdge: 2048 # longer side in pixels; larger images are scaled down first, 0 = off
|
|
189
185
|
|
|
190
|
-
# Vision / multimodal worker
|
|
186
|
+
# Vision / multimodal worker. Optional. When set, the
|
|
191
187
|
# `analyze_file` tool dispatches images and PDFs to the worker model
|
|
192
188
|
# and returns its text analysis — useful when the active main model
|
|
193
189
|
# lacks `image` capability or when you want a token-cheap description
|
|
@@ -230,7 +226,7 @@ providers:
|
|
|
230
226
|
# attachment to such a model is described by the worker instead of
|
|
231
227
|
# refusing the turn.
|
|
232
228
|
|
|
233
|
-
# Speech-to-Text
|
|
229
|
+
# Speech-to-Text. Optional. When `enabled: true`, the
|
|
234
230
|
# web chat input grows a mic button next to send: click → record, click
|
|
235
231
|
# again → transcribe → text lands in the textarea ready to send. Audio
|
|
236
232
|
# is forwarded to an OpenAI-compatible STT endpoint
|
|
@@ -482,8 +478,7 @@ providers:
|
|
|
482
478
|
# character_image: { field: image_url, min: 1, max: 1 }
|
|
483
479
|
#
|
|
484
480
|
# # Written from Google's published shape (operation name instead of a
|
|
485
|
-
# # job id, POST to poll, result inside the poll response)
|
|
486
|
-
# # against a live Vertex endpoint.
|
|
481
|
+
# # job id, POST to poll, result inside the poll response).
|
|
487
482
|
# - name: veo
|
|
488
483
|
# provider: vertex
|
|
489
484
|
# model: veo-3
|
|
@@ -778,7 +773,7 @@ providers:
|
|
|
778
773
|
|
|
779
774
|
# memory:
|
|
780
775
|
# embedding:
|
|
781
|
-
# provider: local # 'local' (@huggingface/transformers)
|
|
776
|
+
# provider: local # 'local' (@huggingface/transformers)
|
|
782
777
|
# model: all-MiniLM-L6-v2 # alias OR full HF repo path (e.g. 'Xenova/foo')
|
|
783
778
|
# # known-good aliases: all-MiniLM-L6-v2 (default,
|
|
784
779
|
# # 384 dim, ~30MB), all-mpnet-base-v2 (768 dim,
|
|
@@ -817,6 +812,18 @@ providers:
|
|
|
817
812
|
# enabled: true
|
|
818
813
|
# endpoint: https://somora.ai/api/latest-version # a mirror of your own
|
|
819
814
|
|
|
815
|
+
# REM — reads the conversations of every agent that dreams (agent.yaml
|
|
816
|
+
# `dreams: true`, the default for chat agents) and proposes notes for its
|
|
817
|
+
# memory. One worker model for all of them; an agent's own `rem.model`
|
|
818
|
+
# in its agent.yaml wins. Without any model, agents that dream get no
|
|
819
|
+
# REM and the inbox says so. docs/dream-phases.md → "Who dreams".
|
|
820
|
+
# rem:
|
|
821
|
+
# model: haiku # alias or provider/model
|
|
822
|
+
# fallback: [luna] # backup(s) for `model`
|
|
823
|
+
# dedup:
|
|
824
|
+
# judge:
|
|
825
|
+
# enabled: false # a model checks whether a note is already known
|
|
826
|
+
|
|
820
827
|
# Obsidian vault + wiki layer (docs/wiki.md, docs/dream-phases.md).
|
|
821
828
|
# The vault is read as a recall source for every agent; the wiki is a
|
|
822
829
|
# subfolder of it that Deep writes (memory → wiki consolidation) and
|
|
@@ -838,13 +845,13 @@ providers:
|
|
|
838
845
|
# enabled: true
|
|
839
846
|
# intervalHours: 12
|
|
840
847
|
# model: opus # worker model ref (alias or provider/model)
|
|
841
|
-
# fallback: [
|
|
848
|
+
# fallback: [sol] # backup(s) when `model` is unreachable — best on another provider
|
|
842
849
|
# callTimeoutMs: 300000 # one model call (one note); past it the note goes to the backup
|
|
843
850
|
# lucid:
|
|
844
851
|
# enabled: true
|
|
845
852
|
# intervalDays: 7
|
|
846
853
|
# model: opus
|
|
847
|
-
# fallback: [
|
|
854
|
+
# fallback: [sol]
|
|
848
855
|
|
|
849
856
|
# Workspace — default cwd for file_* tools. NOT a sandbox: agents can
|
|
850
857
|
# also write outside (their own persona files, the global config).
|
|
@@ -891,10 +898,76 @@ providers:
|
|
|
891
898
|
# - sudo ~/bin/fix-mount.sh
|
|
892
899
|
# - systemctl reboot
|
|
893
900
|
# - sudo # broad: any "sudo ..." command
|
|
901
|
+
# agents-vm:
|
|
902
|
+
# type: ssh
|
|
903
|
+
# host: 192.0.2.50
|
|
904
|
+
# user: agents
|
|
905
|
+
# keyPath: ~/.ssh/id_ed25519
|
|
906
|
+
# externalOnly: true # only for external agents (below);
|
|
907
|
+
# # somora's own agents don't see it
|
|
908
|
+
|
|
909
|
+
# External agents — agents of other agent systems (OpenClaw, Hermes, any
|
|
910
|
+
# ACP agent) you chat with from somora. They keep their own model, tools
|
|
911
|
+
# and memory. somora starts the system's ACP command on a resource (over
|
|
912
|
+
# ssh, login shell) or locally. {session} = the somora session id (gains
|
|
913
|
+
# -r1, -r2 after resets), {agent} = the name in somora. See
|
|
914
|
+
# docs/external-agents.md.
|
|
915
|
+
# a2a: lets somora agents hand the agent work (agent_ask, spawn_subagent)
|
|
916
|
+
# over the A2A standard, straight over the network; chat stays on ACP.
|
|
917
|
+
# See docs/a2a.md for switching A2A on in OpenClaw and Hermes.
|
|
918
|
+
# external:
|
|
919
|
+
# idleMinutes: 10 # close an idle connection
|
|
920
|
+
# questionTimeoutMinutes: 10 # unanswered question = rejected
|
|
921
|
+
# a2a: # brakes for work over A2A
|
|
922
|
+
# maxConcurrentPerAgent: 2 # tasks one agent works on at once
|
|
923
|
+
# maxCallsPerDay: 200 # tasks to all external agents a day
|
|
924
|
+
# maxTaskMinutes: 60 # stop following a task after this
|
|
925
|
+
# pollMaxSeconds: 10 # longest gap between status checks
|
|
926
|
+
# cardRefreshMinutes: 10 # re-read the Agent Card after this
|
|
927
|
+
# introduce: true # first line names the asking agent
|
|
928
|
+
# systems:
|
|
929
|
+
# openclaw:
|
|
930
|
+
# transport: { resource: agents-vm }
|
|
931
|
+
# agents:
|
|
932
|
+
# claw:
|
|
933
|
+
# command: openclaw acp --session agent:main:somora-{session}
|
|
934
|
+
# # description: Lab assistant # shown on the tile and in the team list
|
|
935
|
+
# # icon: 🦀 # tile emoji
|
|
936
|
+
# # cwd: /home/agents/work # working folder over there (default: its home)
|
|
937
|
+
# a2a:
|
|
938
|
+
# url: https://<machine>.<tailnet>.ts.net
|
|
939
|
+
# token: <token> # the token OpenClaw has for "somora"
|
|
940
|
+
# hermes:
|
|
941
|
+
# transport: { resource: agents-vm }
|
|
942
|
+
# # badge: ☤ # tile-corner sign or image path
|
|
943
|
+
# # profile: hermes # openclaw | hermes | generic (default: from its introduction)
|
|
944
|
+
# agents:
|
|
945
|
+
# herm:
|
|
946
|
+
# command: hermes acp
|
|
947
|
+
|
|
948
|
+
# A2A in (docs/a2a.md): other agent systems send tasks to somora agents
|
|
949
|
+
# with `a2a: true` in their agent.yaml. Only the peers listed here, each
|
|
950
|
+
# with its own token (openssl rand -hex 32). No peers = nothing reachable.
|
|
951
|
+
# a2a:
|
|
952
|
+
# publicUrl: https://<host>.<tailnet>.ts.net:18737 # written into the cards
|
|
953
|
+
# # defaultAgent: <your-agent> # the agent /.well-known/agent-card.json describes
|
|
954
|
+
# peers: # names: lower-case letters, digits, _ . -
|
|
955
|
+
# hermes:
|
|
956
|
+
# token: <token Hermes sends>
|
|
957
|
+
# openclaw:
|
|
958
|
+
# token: <token OpenClaw sends>
|
|
959
|
+
# agents: [<your-agent>] # optional: only these agents
|
|
960
|
+
# rateLimitPerMinute: 30 # per peer
|
|
961
|
+
# maxTasksPerDay: 200 # per peer
|
|
962
|
+
# replyTimeoutSeconds: 300 # a waiting request returns "working" after this
|
|
963
|
+
# maxMessageChars: 64000 # longest task text
|
|
964
|
+
# archiveAfterDays: 7 # quiet conversations with peers are archived
|
|
965
|
+
# tools:
|
|
966
|
+
# deny: [agent_ask, agent_ask_result, agent_ask_cancel, spawn_subagent, spawn_subagents, builder_dispatch, session_model, sentinel]
|
|
894
967
|
|
|
895
968
|
# Web-tools credentials. Per-provider keys — tools whose provider isn't
|
|
896
969
|
# configured are hidden from the agent (the `available()` probe on the
|
|
897
|
-
# tool returns false).
|
|
970
|
+
# tool returns false). The provider is Brave; its free tier gives
|
|
898
971
|
# 2k requests/month — sign up at https://api-dashboard.search.brave.com/.
|
|
899
972
|
# web:
|
|
900
973
|
# brave:
|
|
@@ -1005,3 +1078,10 @@ providers:
|
|
|
1005
1078
|
# # command: /path/to/typescript-language-server # instead of ~/.somora/lsp or PATH
|
|
1006
1079
|
# pyright:
|
|
1007
1080
|
# enabled: true
|
|
1081
|
+
|
|
1082
|
+
# More sections, each described on its own page (all optional):
|
|
1083
|
+
# fallback — model to switch to when one fails (docs/setup.md)
|
|
1084
|
+
# promptBudgets — size limits of the persona files (docs/team.md, docs/agents.md)
|
|
1085
|
+
# thinkingContent — show or hide the models' thinking (docs/thinking.md)
|
|
1086
|
+
# mobile — the phone app (docs/mobile.md)
|
|
1087
|
+
# skills — skill sources and checks (docs/skills.md)
|