somora 2026.930.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +364 -0
- package/bin/node-version.d.mts +3 -0
- package/bin/node-version.mjs +45 -0
- package/bin/somora.mjs +77 -0
- package/config.example.yaml +896 -0
- package/docs/agents.md +677 -0
- package/docs/api.md +3194 -0
- package/docs/browser.md +317 -0
- package/docs/builder.md +331 -0
- package/docs/cache-strategy.md +373 -0
- package/docs/compaction.md +253 -0
- package/docs/display.md +154 -0
- package/docs/dream-phases.md +891 -0
- package/docs/files.md +387 -0
- package/docs/imagegen.md +366 -0
- package/docs/images/somora-hero.png +0 -0
- package/docs/images/somora-mobile-2026-05-23.png +0 -0
- package/docs/images/somora-tui-2026-05-23.png +0 -0
- package/docs/images/somora-web-2026-05-23.png +0 -0
- package/docs/index.md +178 -0
- package/docs/lsp.md +93 -0
- package/docs/mcp.md +332 -0
- package/docs/memory.md +407 -0
- package/docs/mobile.md +310 -0
- package/docs/models.md +379 -0
- package/docs/projects.md +425 -0
- package/docs/realtime-voice.md +293 -0
- package/docs/resources.md +230 -0
- package/docs/sampling.md +128 -0
- package/docs/security.md +189 -0
- package/docs/sentinel.md +295 -0
- package/docs/setup.md +1217 -0
- package/docs/skills.md +501 -0
- package/docs/team.md +189 -0
- package/docs/thinking.md +463 -0
- package/docs/tmux.md +399 -0
- package/docs/tools.md +117 -0
- package/docs/videogen.md +191 -0
- package/docs/voice.md +288 -0
- package/docs/web.md +893 -0
- package/docs/wiki.md +583 -0
- package/npm-shrinkwrap.json +5670 -0
- package/package.json +116 -0
- package/src/attachments/store.ts +196 -0
- package/src/browser/change-stream.ts +31 -0
- package/src/browser/display.ts +108 -0
- package/src/browser/policy.ts +121 -0
- package/src/browser/screencast.ts +374 -0
- package/src/browser/service.ts +1337 -0
- package/src/browser/session.ts +15 -0
- package/src/browser/snapshot.ts +40 -0
- package/src/cli/auth.ts +117 -0
- package/src/cli/codex.ts +41 -0
- package/src/cli/lsp.ts +71 -0
- package/src/cli/resolvers/clawhub.ts +400 -0
- package/src/cli/setup.ts +835 -0
- package/src/cli/skill.ts +619 -0
- package/src/cli/somora.ts +548 -0
- package/src/cli/systemd-unit.ts +72 -0
- package/src/cli/team.ts +148 -0
- package/src/cli/tui/activity-stream.ts +121 -0
- package/src/cli/tui/api.ts +479 -0
- package/src/cli/tui/app.tsx +1169 -0
- package/src/cli/tui/autocomplete.tsx +55 -0
- package/src/cli/tui/commands.ts +913 -0
- package/src/cli/tui/dream-glyphs.ts +22 -0
- package/src/cli/tui/footer.tsx +15 -0
- package/src/cli/tui/format.ts +28 -0
- package/src/cli/tui/header.tsx +279 -0
- package/src/cli/tui/index.tsx +120 -0
- package/src/cli/tui/markdown.tsx +63 -0
- package/src/cli/tui/sampling.ts +162 -0
- package/src/cli/tui/separator.tsx +13 -0
- package/src/cli/tui/state.ts +42 -0
- package/src/cli/tui/stream.ts +330 -0
- package/src/cli/tui/thinking-text.ts +54 -0
- package/src/cli/tui/turn-views.tsx +499 -0
- package/src/cli/tui/types.ts +410 -0
- package/src/cli/tui/work-queue.ts +161 -0
- package/src/cli/update-args.ts +55 -0
- package/src/cli/wiki.ts +406 -0
- package/src/compaction/index.ts +28 -0
- package/src/compaction/midturn.ts +210 -0
- package/src/compaction/policy.ts +154 -0
- package/src/compaction/summarize.ts +691 -0
- package/src/compaction/template.ts +90 -0
- package/src/compaction/types.ts +148 -0
- package/src/config/loader.ts +276 -0
- package/src/config/reload.ts +43 -0
- package/src/config/types.ts +2292 -0
- package/src/dream/deep-actions.ts +324 -0
- package/src/dream/deep-dispatcher.ts +237 -0
- package/src/dream/deep-llm.ts +388 -0
- package/src/dream/deep-prompts.ts +106 -0
- package/src/dream/deep-runner.ts +757 -0
- package/src/dream/deep-skip-cache.ts +199 -0
- package/src/dream/deep-worker.ts +229 -0
- package/src/dream/json-salvage.ts +34 -0
- package/src/dream/judge.ts +188 -0
- package/src/dream/loop-state.ts +286 -0
- package/src/dream/lucid-actions.ts +303 -0
- package/src/dream/lucid-batches.ts +94 -0
- package/src/dream/lucid-prompt.ts +82 -0
- package/src/dream/lucid-runner.ts +744 -0
- package/src/dream/lucid-storage.ts +277 -0
- package/src/dream/lucid-structure.ts +102 -0
- package/src/dream/lucid-types.ts +137 -0
- package/src/dream/lucid-worker.ts +224 -0
- package/src/dream/rem-dedup.ts +502 -0
- package/src/dream/rem-extract.ts +782 -0
- package/src/dream/rem-reset-run.ts +67 -0
- package/src/dream/rem-runner.ts +696 -0
- package/src/dream/rem-worker.ts +527 -0
- package/src/dream/review-window.ts +71 -0
- package/src/dream/scheduler-state.ts +129 -0
- package/src/dream/storage.ts +497 -0
- package/src/dream/types.ts +133 -0
- package/src/dream/wiki-context.ts +133 -0
- package/src/engine/a2a.ts +33 -0
- package/src/engine/availability.ts +63 -0
- package/src/engine/claude-cli.ts +969 -0
- package/src/engine/codex-app-server-client.ts +294 -0
- package/src/engine/codex-bin.ts +49 -0
- package/src/engine/codex-cli.ts +1014 -0
- package/src/engine/codex-dynamic-tools.ts +239 -0
- package/src/engine/codex-home.ts +63 -0
- package/src/engine/codex-thread-config.ts +74 -0
- package/src/engine/context-budget.ts +257 -0
- package/src/engine/engine-meta-labels.ts +211 -0
- package/src/engine/grok-cli.ts +941 -0
- package/src/engine/inline-think.ts +59 -0
- package/src/engine/model-availability.ts +105 -0
- package/src/engine/openai-compatible.ts +2464 -0
- package/src/engine/reasoning-retry.ts +83 -0
- package/src/engine/registry.ts +13 -0
- package/src/engine/replay.ts +195 -0
- package/src/engine/sampling.ts +90 -0
- package/src/engine/thinking-params.ts +264 -0
- package/src/engine/types.ts +269 -0
- package/src/engine/user-tag.ts +24 -0
- package/src/imagegen/aspect.ts +128 -0
- package/src/imagegen/generate.ts +642 -0
- package/src/imagegen/references.ts +75 -0
- package/src/imagegen/types.ts +154 -0
- package/src/lsp/client.ts +183 -0
- package/src/lsp/fake-server.helper.mjs +42 -0
- package/src/lsp/format.ts +29 -0
- package/src/lsp/index.ts +21 -0
- package/src/lsp/manager.ts +238 -0
- package/src/lsp/registry.ts +151 -0
- package/src/mcp/config.ts +117 -0
- package/src/mcp/hub/audit.ts +55 -0
- package/src/mcp/hub/bridge.ts +115 -0
- package/src/mcp/hub/catalog.ts +69 -0
- package/src/mcp/hub/credentials.ts +406 -0
- package/src/mcp/hub/env-expand.ts +14 -0
- package/src/mcp/hub/manager.ts +770 -0
- package/src/mcp/hub/normalize.ts +213 -0
- package/src/mcp/server.ts +368 -0
- package/src/mcp/tool-schema.ts +20 -0
- package/src/media/capabilities.ts +392 -0
- package/src/media/records.ts +175 -0
- package/src/media/store.ts +217 -0
- package/src/media/types.ts +69 -0
- package/src/memory/chunking.ts +168 -0
- package/src/memory/embeddings.ts +262 -0
- package/src/memory/index.ts +15 -0
- package/src/memory/inject.ts +197 -0
- package/src/memory/manager.ts +996 -0
- package/src/memory/registry.ts +176 -0
- package/src/memory/rescan.ts +101 -0
- package/src/memory/retrieval.ts +586 -0
- package/src/memory/shared-index.ts +372 -0
- package/src/memory/slug.ts +39 -0
- package/src/memory/storage.ts +385 -0
- package/src/memory/watcher.ts +134 -0
- package/src/multimodal/blocks.ts +101 -0
- package/src/multimodal/dimensions.ts +214 -0
- package/src/multimodal/load.ts +86 -0
- package/src/multimodal/mime.ts +135 -0
- package/src/multimodal/pdf-render.ts +80 -0
- package/src/multimodal/user-content.ts +266 -0
- package/src/persona/files.ts +144 -0
- package/src/persona/loader.ts +598 -0
- package/src/persona/skill-gating-store.ts +59 -0
- package/src/persona/tool-gating-store.ts +113 -0
- package/src/projects/focus.ts +186 -0
- package/src/projects/prompt-block.ts +106 -0
- package/src/projects/scheme.ts +107 -0
- package/src/projects/store.ts +144 -0
- package/src/projects/types.ts +73 -0
- package/src/sentinel/dispatcher.ts +97 -0
- package/src/sentinel/schedule.ts +271 -0
- package/src/sentinel/scheduler.ts +840 -0
- package/src/sentinel/store.ts +259 -0
- package/src/sentinel/types.ts +221 -0
- package/src/server/activity-stream.ts +160 -0
- package/src/server/ask-calls.ts +137 -0
- package/src/server/ask-wait-graph.ts +171 -0
- package/src/server/async-tasks.ts +199 -0
- package/src/server/builder-busy.ts +86 -0
- package/src/server/builder-prompt.ts +204 -0
- package/src/server/builder-questions.ts +117 -0
- package/src/server/builder-session.ts +249 -0
- package/src/server/chat-aborts.ts +83 -0
- package/src/server/claude-config-dir.ts +71 -0
- package/src/server/claude-credential-sync.ts +454 -0
- package/src/server/env-file.ts +100 -0
- package/src/server/env.ts +115 -0
- package/src/server/heal-session.ts +151 -0
- package/src/server/history-page.ts +46 -0
- package/src/server/index.ts +7244 -0
- package/src/server/lockfile.ts +89 -0
- package/src/server/logger.ts +67 -0
- package/src/server/logs.ts +187 -0
- package/src/server/loopback-fetch.ts +130 -0
- package/src/server/openai-client.ts +89 -0
- package/src/server/prompt-assembly.ts +334 -0
- package/src/server/restart-reconcile.ts +139 -0
- package/src/server/run-turn-fallback.ts +275 -0
- package/src/server/run-turn-types.ts +91 -0
- package/src/server/run-turn.ts +1474 -0
- package/src/server/sanitize-assistant-text.ts +112 -0
- package/src/server/session-export.ts +220 -0
- package/src/server/session-queue.ts +376 -0
- package/src/server/session-workdir.ts +49 -0
- package/src/server/sse-h2-safe.ts +61 -0
- package/src/server/sse-liveness.ts +162 -0
- package/src/server/sse-serializer.ts +161 -0
- package/src/server/start-turn.ts +249 -0
- package/src/server/steer-inbox.ts +107 -0
- package/src/server/tls-keeper.ts +153 -0
- package/src/server/tool-format.ts +167 -0
- package/src/server/turn-framing.ts +52 -0
- package/src/server/turn-origin-kind.ts +74 -0
- package/src/server/turn-origin.ts +40 -0
- package/src/server/work-ledger.ts +975 -0
- package/src/server/workspace.ts +114 -0
- package/src/setup/config-edit.ts +201 -0
- package/src/setup/presets.ts +71 -0
- package/src/setup/prompt.ts +163 -0
- package/src/setup/tailscale.ts +44 -0
- package/src/skills/bin-checks.ts +227 -0
- package/src/skills/bootstrap.ts +347 -0
- package/src/skills/env-scope.ts +175 -0
- package/src/skills/gating.ts +71 -0
- package/src/skills/lint.ts +202 -0
- package/src/skills/load.ts +368 -0
- package/src/skills/path-helpers.ts +102 -0
- package/src/skills/registry.ts +178 -0
- package/src/ssh/exec.ts +142 -0
- package/src/ssh/index.ts +12 -0
- package/src/ssh/known-hosts.ts +109 -0
- package/src/ssh/pool.ts +307 -0
- package/src/storage/sessions.ts +602 -0
- package/src/team/render.ts +149 -0
- package/src/team/resolve.ts +122 -0
- package/src/team/store.ts +124 -0
- package/src/team/types.ts +111 -0
- package/src/team/write.ts +95 -0
- package/src/testing/isolated-home.mts +46 -0
- package/src/tmux/attention-watcher.ts +272 -0
- package/src/tmux/attention.ts +336 -0
- package/src/tmux/list.ts +91 -0
- package/src/tmux/origin-store.ts +102 -0
- package/src/tmux/tui-markers.ts +267 -0
- package/src/tools/agents/ask-cancel.ts +94 -0
- package/src/tools/agents/ask-result.ts +235 -0
- package/src/tools/agents/ask.ts +704 -0
- package/src/tools/agents/builder-dispatch.ts +217 -0
- package/src/tools/agents/images.ts +104 -0
- package/src/tools/agents/index.ts +42 -0
- package/src/tools/agents/long-task-timeouts.ts +39 -0
- package/src/tools/agents/session-list.ts +136 -0
- package/src/tools/agents/session-model.ts +106 -0
- package/src/tools/agents/spawn.ts +845 -0
- package/src/tools/agents/status.ts +589 -0
- package/src/tools/browser/index.ts +6 -0
- package/src/tools/browser/ops.ts +145 -0
- package/src/tools/browser/tools.ts +184 -0
- package/src/tools/builder/short-descriptions.ts +80 -0
- package/src/tools/builder/tools.ts +222 -0
- package/src/tools/docs/index.ts +1 -0
- package/src/tools/docs/tools.ts +228 -0
- package/src/tools/dream/index.ts +11 -0
- package/src/tools/dream/tools.ts +1002 -0
- package/src/tools/exec/allowlist.ts +233 -0
- package/src/tools/exec/background-detach.helper.mts +27 -0
- package/src/tools/exec/blacklist.ts +336 -0
- package/src/tools/exec/concurrency.ts +150 -0
- package/src/tools/exec/fit-output.ts +82 -0
- package/src/tools/exec/index.ts +7 -0
- package/src/tools/exec/internal-env.ts +89 -0
- package/src/tools/exec/job-store.ts +403 -0
- package/src/tools/exec/local.ts +649 -0
- package/src/tools/exec/remote.ts +399 -0
- package/src/tools/exec/tools.ts +934 -0
- package/src/tools/file/analyze.ts +378 -0
- package/src/tools/file/index.ts +2 -0
- package/src/tools/file/local.ts +707 -0
- package/src/tools/file/lsp-hook.ts +72 -0
- package/src/tools/file/persona-guard.ts +61 -0
- package/src/tools/file/policy.ts +292 -0
- package/src/tools/file/read-format.ts +129 -0
- package/src/tools/file/remote.ts +680 -0
- package/src/tools/file/replace.ts +507 -0
- package/src/tools/file/search-window.ts +224 -0
- package/src/tools/file/tools.ts +658 -0
- package/src/tools/file/write-scope.ts +182 -0
- package/src/tools/gating.ts +106 -0
- package/src/tools/image/budget.ts +82 -0
- package/src/tools/image/index.ts +7 -0
- package/src/tools/image/tools.ts +601 -0
- package/src/tools/index.ts +99 -0
- package/src/tools/memory/index.ts +12 -0
- package/src/tools/memory/tools.ts +399 -0
- package/src/tools/projects/index.ts +1 -0
- package/src/tools/projects/tools.ts +643 -0
- package/src/tools/registry.ts +427 -0
- package/src/tools/resources/index.ts +8 -0
- package/src/tools/resources/tools.ts +176 -0
- package/src/tools/resources/visibility.ts +60 -0
- package/src/tools/sentinel/index.ts +1 -0
- package/src/tools/sentinel/tools.ts +592 -0
- package/src/tools/skill/index.ts +4 -0
- package/src/tools/skill/tools.ts +285 -0
- package/src/tools/time/index.ts +5 -0
- package/src/tools/time/tools.ts +123 -0
- package/src/tools/tmux/index.ts +1 -0
- package/src/tools/tmux/local.ts +277 -0
- package/src/tools/tmux/remote.ts +168 -0
- package/src/tools/tmux/tools.ts +1064 -0
- package/src/tools/tool-output.ts +97 -0
- package/src/tools/types.ts +227 -0
- package/src/tools/video/index.ts +1 -0
- package/src/tools/video/tools.ts +425 -0
- package/src/tools/web/fetch.ts +337 -0
- package/src/tools/web/index.ts +4 -0
- package/src/tools/web/tools.ts +186 -0
- package/src/tools/wiki/index.ts +1 -0
- package/src/tools/wiki/tools.ts +445 -0
- package/src/tts/cache-gc.ts +128 -0
- package/src/tts/prepare-for-tts.ts +114 -0
- package/src/tts/service.ts +332 -0
- package/src/types/events.ts +695 -0
- package/src/types/turn-origin.ts +53 -0
- package/src/version.ts +21 -0
- package/src/videogen/dialects.ts +222 -0
- package/src/videogen/generate.ts +484 -0
- package/src/videogen/jobs.ts +178 -0
- package/src/videogen/runner.ts +125 -0
- package/src/videogen/wake.ts +119 -0
- package/src/voice/realtime/call.ts +948 -0
- package/src/voice/realtime/consult.ts +293 -0
- package/src/voice/realtime/fake-provider.ts +134 -0
- package/src/voice/realtime/manager.ts +384 -0
- package/src/voice/realtime/openai-provider.ts +471 -0
- package/src/voice/realtime/persona.ts +227 -0
- package/src/voice/realtime/session-match.ts +116 -0
- package/src/voice/realtime/types.ts +182 -0
- package/src/wiki/conflict.ts +113 -0
- package/src/wiki/explorer.ts +578 -0
- package/src/wiki/index-builder.ts +172 -0
- package/src/wiki/language.ts +134 -0
- package/src/wiki/log-builder.ts +150 -0
- package/src/wiki/map.ts +258 -0
- package/src/wiki/migration/analyze.ts +304 -0
- package/src/wiki/migration/execute.ts +689 -0
- package/src/wiki/migration/refine.ts +402 -0
- package/src/wiki/migration/store.ts +100 -0
- package/src/wiki/move-page.ts +57 -0
- package/src/wiki/structure-file.ts +192 -0
- package/src/wiki/taxonomy.ts +140 -0
- package/src/wiki/templates.ts +163 -0
- package/src/wiki/types.ts +133 -0
- package/templates/skills/README.md +24 -0
- package/templates/skills/_templates/api-wrapper/SKILL.md +26 -0
- package/templates/skills/_templates/cli-wrapper/BOOTSTRAP.md +32 -0
- package/templates/skills/_templates/cli-wrapper/SKILL.md +24 -0
- package/templates/skills/_templates/default/SKILL.md +25 -0
- package/templates/skills/builder-handover/SKILL.md +96 -0
- package/templates/skills/builder-handover/assets/ORDER.md +12 -0
- package/templates/skills/skill-author/SKILL.md +110 -0
- package/tsconfig.json +22 -0
- package/web/dist/assets/index-BaVv6pB2.js +631 -0
- package/web/dist/assets/index-BaVv6pB2.js.map +1 -0
- package/web/dist/assets/index-V3FV3Z25.css +32 -0
- package/web/dist/favicon.svg +8 -0
- package/web/dist/index.html +20 -0
- package/web/package.json +36 -0
- package/web/tsconfig.json +25 -0
- package/web-mobile/dist/apple-touch-icon.png +0 -0
- package/web-mobile/dist/assets/index-BqKt7IMx.css +1 -0
- package/web-mobile/dist/assets/index-X_vRr6cd.js +88 -0
- package/web-mobile/dist/assets/index-X_vRr6cd.js.map +1 -0
- package/web-mobile/dist/favicon.svg +8 -0
- package/web-mobile/dist/icon-192.png +0 -0
- package/web-mobile/dist/icon-512.png +0 -0
- package/web-mobile/dist/index.html +27 -0
- package/web-mobile/dist/manifest.webmanifest +32 -0
- package/web-mobile/dist/service-worker.js +90 -0
- package/web-mobile/package.json +28 -0
- package/web-mobile/tsconfig.json +25 -0
|
@@ -0,0 +1,896 @@
|
|
|
1
|
+
# Example somora config. Real config lives at ~/.somora/config.yaml
|
|
2
|
+
# (created with sane defaults on first server start).
|
|
3
|
+
#
|
|
4
|
+
# Secrets:
|
|
5
|
+
# - Subscription engines (claude-cli, codex-cli) do not need any keys
|
|
6
|
+
# here — they authenticate via their CLI's own `login` flow.
|
|
7
|
+
# - OpenAI-compatible providers (custom endpoints, OpenRouter, oMLX,
|
|
8
|
+
# Ollama, …) read `apiKey` directly from this file. The recommended
|
|
9
|
+
# posture is to put the keys here in plain text — ~/.somora/config.yaml
|
|
10
|
+
# stays under your home, is never committed, and is the same file
|
|
11
|
+
# somora itself reads.
|
|
12
|
+
# - For skills (CLI tools an agent shells out to via `exec`), credentials
|
|
13
|
+
# go in env vars on the somora service (systemd EnvironmentFile, etc.)
|
|
14
|
+
# — skill subprocesses don't read this file. See docs/skills.md.
|
|
15
|
+
#
|
|
16
|
+
# Provider names are free-form keys. Pick whatever's memorable for you:
|
|
17
|
+
# 'anthropic', 'ollama', 'lmstudio', 'home-gpu', 'pi-edge', etc.
|
|
18
|
+
#
|
|
19
|
+
# Per-model 'alias' lets you reference a model by short nickname anywhere
|
|
20
|
+
# (persona frontmatter, later /model in the CLI). Aliases must be globally
|
|
21
|
+
# unique across the whole config — server refuses to start otherwise.
|
|
22
|
+
|
|
23
|
+
server:
|
|
24
|
+
# Bind address. Default 127.0.0.1 (loopback = private). Set 0.0.0.0 to
|
|
25
|
+
# accept LAN / Tailscale clients — an explicit opt-in that lives here in
|
|
26
|
+
# config.yaml so it survives `somora update` (a SOMORA_HOST env in the
|
|
27
|
+
# systemd unit does NOT — the update rebakes the unit and drops it).
|
|
28
|
+
host: 127.0.0.1
|
|
29
|
+
port: 18737
|
|
30
|
+
# HTTPS (HTTP/2). `somora setup access` writes this block for Tailscale;
|
|
31
|
+
# by hand see docs/setup.md → HTTPS. `renew: tailscale` lets the server
|
|
32
|
+
# renew the certificate itself and load it without a restart.
|
|
33
|
+
# tls:
|
|
34
|
+
# cert: ~/.somora/certs/<your-host>.<your-tailnet>.ts.net.crt
|
|
35
|
+
# key: ~/.somora/certs/<your-host>.<your-tailnet>.ts.net.key
|
|
36
|
+
# publicHost: <your-host>.<your-tailnet>.ts.net
|
|
37
|
+
# renew: tailscale
|
|
38
|
+
|
|
39
|
+
# capabilities (per model):
|
|
40
|
+
# text — always present, plain text I/O
|
|
41
|
+
# image — accepts image input (vision)
|
|
42
|
+
# reasoning — model exposes a thinking/reasoning-effort knob; per-engine
|
|
43
|
+
# adapter applies the cross-engine /thinking setting only for
|
|
44
|
+
# models with this capability. For models without it, the
|
|
45
|
+
# setting is dormant and the TUI marks it accordingly.
|
|
46
|
+
providers:
|
|
47
|
+
# Anthropic via Claude Code subscription. Uses the local Claude Code
|
|
48
|
+
# binary (~/.local/bin/claude) — no baseUrl / apiKey needed.
|
|
49
|
+
anthropic:
|
|
50
|
+
engine: claude-cli
|
|
51
|
+
models:
|
|
52
|
+
- id: claude-opus-5
|
|
53
|
+
alias: opus
|
|
54
|
+
contextWindow: 1000000
|
|
55
|
+
capabilities: [text, image, pdf, reasoning]
|
|
56
|
+
- id: claude-sonnet-5
|
|
57
|
+
alias: sonnet
|
|
58
|
+
contextWindow: 1000000
|
|
59
|
+
capabilities: [text, image, pdf, reasoning]
|
|
60
|
+
- id: claude-haiku-4-5
|
|
61
|
+
alias: haiku
|
|
62
|
+
contextWindow: 200000
|
|
63
|
+
capabilities: [text, image, pdf]
|
|
64
|
+
|
|
65
|
+
# OpenAI via the bundled Codex (ChatGPT Plus/Pro/Business
|
|
66
|
+
# subscription). Log in with `somora codex login`; an existing
|
|
67
|
+
# `codex login` on the machine is mirrored. No baseUrl / apiKey here.
|
|
68
|
+
# Model ids are provider-owned and change with Codex releases; on an
|
|
69
|
+
# HTTP 400 from the backend, take the current ids from docs/models.md
|
|
70
|
+
# and update this block.
|
|
71
|
+
openai:
|
|
72
|
+
engine: codex-cli
|
|
73
|
+
models:
|
|
74
|
+
- id: gpt-5.5
|
|
75
|
+
alias: gpt55
|
|
76
|
+
contextWindow: 400000
|
|
77
|
+
capabilities: [text, image, pdf, reasoning]
|
|
78
|
+
- id: gpt-5.4-mini
|
|
79
|
+
alias: gpt54mini
|
|
80
|
+
contextWindow: 400000
|
|
81
|
+
capabilities: [text, reasoning]
|
|
82
|
+
- id: gpt-5.3-codex
|
|
83
|
+
alias: codex53
|
|
84
|
+
contextWindow: 400000
|
|
85
|
+
capabilities: [text, reasoning]
|
|
86
|
+
|
|
87
|
+
# xAI via the Grok Build CLI (`grok`), driven over ACP — a SuperGrok /
|
|
88
|
+
# Premium subscription authenticates the binary (`grok login`), no API
|
|
89
|
+
# key. Text attachments only; no image/PDF input. Community-maintained
|
|
90
|
+
# engine — see docs/setup.md#xai-via-grok-build-cli-subscription-no-api-key.
|
|
91
|
+
# xai:
|
|
92
|
+
# engine: grok-cli
|
|
93
|
+
# models:
|
|
94
|
+
# - id: grok-4.5
|
|
95
|
+
# alias: grok
|
|
96
|
+
# contextWindow: 500000
|
|
97
|
+
# capabilities: [text, reasoning]
|
|
98
|
+
|
|
99
|
+
# Local OpenAI-compatible server (Ollama, LM Studio, oMLX, vLLM, ...).
|
|
100
|
+
# Multiple providers of the same engine are fine — just give each a unique key.
|
|
101
|
+
omlx:
|
|
102
|
+
engine: openai-compatible
|
|
103
|
+
baseUrl: http://localhost:11434/v1
|
|
104
|
+
apiKey: lm-studio
|
|
105
|
+
models:
|
|
106
|
+
- id: gemma-4-31b-it-8bit
|
|
107
|
+
alias: gemma4big
|
|
108
|
+
contextWindow: 131072
|
|
109
|
+
capabilities: [text, image]
|
|
110
|
+
- id: gemma-4-26b-a4b-it-4bit
|
|
111
|
+
alias: gemma4small
|
|
112
|
+
contextWindow: 131072
|
|
113
|
+
capabilities: [text, image]
|
|
114
|
+
|
|
115
|
+
# Same engine, different host — totally fine.
|
|
116
|
+
# ollama:
|
|
117
|
+
# engine: openai-compatible
|
|
118
|
+
# baseUrl: http://other-host.local:11434/v1
|
|
119
|
+
# apiKey: dummy
|
|
120
|
+
# models:
|
|
121
|
+
# - id: llama3.3:70b
|
|
122
|
+
# alias: llama
|
|
123
|
+
# contextWindow: 131072
|
|
124
|
+
# capabilities: [text]
|
|
125
|
+
|
|
126
|
+
# OpenRouter — proxies Claude / GPT / many other models through an
|
|
127
|
+
# openai-compatible API. Useful as a vision worker (Anthropic via
|
|
128
|
+
# openrouter accepts native PDF document blocks) and for testing
|
|
129
|
+
# alternative text models without their bespoke SDKs. Get a key at
|
|
130
|
+
# openrouter.ai/keys.
|
|
131
|
+
# openrouter:
|
|
132
|
+
# engine: openai-compatible
|
|
133
|
+
# baseUrl: https://openrouter.ai/api/v1
|
|
134
|
+
# apiKey: <YOUR_OPENROUTER_KEY>
|
|
135
|
+
# models:
|
|
136
|
+
# - id: anthropic/claude-haiku-4.5
|
|
137
|
+
# alias: orhaiku
|
|
138
|
+
# contextWindow: 200000
|
|
139
|
+
# capabilities: [text, image, pdf] # vision worker candidate
|
|
140
|
+
# - id: minimax/minimax-m2.7
|
|
141
|
+
# alias: minimax27
|
|
142
|
+
# contextWindow: 197000
|
|
143
|
+
# capabilities: [text]
|
|
144
|
+
# - id: moonshotai/kimi-k2.5
|
|
145
|
+
# alias: kimi25
|
|
146
|
+
# contextWindow: 262144
|
|
147
|
+
# capabilities: [text]
|
|
148
|
+
|
|
149
|
+
# Vision / multimodal worker (Phase Y). Optional. When set, the
|
|
150
|
+
# `analyze_file` tool dispatches images and PDFs to the worker model
|
|
151
|
+
# and returns its text analysis — useful when the active main model
|
|
152
|
+
# lacks `image` capability or when you want a token-cheap description
|
|
153
|
+
# instead of dropping image-bytes into main context. Worker must be on
|
|
154
|
+
# `openai-compatible` engine (reach Claude or GPT through a proxy such
|
|
155
|
+
# as OpenRouter if you want them here).
|
|
156
|
+
#
|
|
157
|
+
# file_read polymorph (the workspace-drop UX) does NOT depend on this
|
|
158
|
+
# — it uses the active main model's `image` capability directly. The
|
|
159
|
+
# vision worker is only for the `analyze_file` route.
|
|
160
|
+
#
|
|
161
|
+
# `worker` takes a single model OR an ordered list. A list is tried
|
|
162
|
+
# front to back and the first one that answers wins — put a locally
|
|
163
|
+
# hosted worker first and something always-available last. This matters
|
|
164
|
+
# when the local worker sits on a GPU box that runs one profile at a
|
|
165
|
+
# time: without a chain, a profile switch takes analyze_file down for
|
|
166
|
+
# every agent at once, and quietly.
|
|
167
|
+
# vision:
|
|
168
|
+
# worker: openrouter/anthropic/claude-haiku-4-5 # single model, still valid
|
|
169
|
+
# pdfWorker: openrouter/anthropic/claude-sonnet-4-6 # optional override for PDFs
|
|
170
|
+
#
|
|
171
|
+
# vision: # ...or local-first with a safety net
|
|
172
|
+
# worker:
|
|
173
|
+
# - local/qwen-vision # preferred, free, stays in-house
|
|
174
|
+
# - local/other-vision # a different local profile
|
|
175
|
+
# - openrouter/anthropic/claude-haiku-4-5 # always there, costs money
|
|
176
|
+
# pdfWorker: openrouter/anthropic/claude-sonnet-4-6
|
|
177
|
+
# timeoutMs: 60000 # per attempt, then the chain moves on
|
|
178
|
+
# totalBudgetMs: 90000 # for the WHOLE chain, not one attempt
|
|
179
|
+
# maxOutputTokens: 1500 # a caption is not a chat answer
|
|
180
|
+
# healthCacheMs: 60000 # skip a just-failed worker this long
|
|
181
|
+
# timeoutCooldownMs: 10000 # after a timeout only: slow is not dead
|
|
182
|
+
#
|
|
183
|
+
# The worker is the substitute for models that cannot see: `analyze_file`
|
|
184
|
+
# is hidden from agents whose model has the `image` capability, and a chat
|
|
185
|
+
# attachment to such a model is described by the worker instead of
|
|
186
|
+
# refusing the turn.
|
|
187
|
+
|
|
188
|
+
# Speech-to-Text (Phase voice). Optional. When `enabled: true`, the
|
|
189
|
+
# web chat input grows a mic button next to send: click → record, click
|
|
190
|
+
# again → transcribe → text lands in the textarea ready to send. Audio
|
|
191
|
+
# is forwarded to an OpenAI-compatible STT endpoint
|
|
192
|
+
# (`POST /v1/audio/transcriptions`); supported upstreams include oMLX
|
|
193
|
+
# (mlx-audio backend), faster-whisper-server, OpenAI itself, etc.
|
|
194
|
+
#
|
|
195
|
+
# `provider` references an entry from `providers` above so connection
|
|
196
|
+
# details (baseUrl, apiKey) aren't duplicated. The STT model is NOT
|
|
197
|
+
# listed in `providers.<x>.models` — keeps it out of chat-model pickers,
|
|
198
|
+
# agent-config validation, and `/v1/models`.
|
|
199
|
+
#
|
|
200
|
+
# Browser-side capability gate: the mic button auto-hides when the
|
|
201
|
+
# browser lacks MediaRecorder / getUserMedia (e.g. some older Safari
|
|
202
|
+
# variants), so a feature that'd fail on click never tease-renders.
|
|
203
|
+
# stt:
|
|
204
|
+
# enabled: true
|
|
205
|
+
# provider: omlx # ← references providers.omlx
|
|
206
|
+
# model: mlx-community/whisper-large-v3-turbo
|
|
207
|
+
# language: de # optional default lang hint
|
|
208
|
+
|
|
209
|
+
# Text-to-Speech (TTS) — mirror of STT. Generates spoken audio from
|
|
210
|
+
# assistant text and serves it back to clients. Same posture: somora
|
|
211
|
+
# proxies to an OpenAI-compatible TTS upstream (oMLX, fish-audio, etc),
|
|
212
|
+
# the model is NOT listed in `providers.<x>.models`.
|
|
213
|
+
#
|
|
214
|
+
# Two flows are wired:
|
|
215
|
+
# (1) Auto-TTS in normal chat: when you submit via mic AND the
|
|
216
|
+
# per-session auto-play toggle is on, somora generates audio
|
|
217
|
+
# for the assistant reply and the client auto-plays it. Pure
|
|
218
|
+
# text turns and toggle-off sessions stay silent.
|
|
219
|
+
# (2) /voice/turn HTTP endpoint: independent audio-in/audio-out
|
|
220
|
+
# endpoint for integrations (panels, voice satellites, etc).
|
|
221
|
+
# Always generates audio, regardless of toggles.
|
|
222
|
+
#
|
|
223
|
+
# Per-client policy seeds the localStorage toggle on first session
|
|
224
|
+
# open; users can flip it per chat window if `allowUserOverride` is
|
|
225
|
+
# true. Cache is content-addressed (sha256(text+voice+model+format)),
|
|
226
|
+
# lives at ~/.somora/tts-cache/, auto-GC'd by retention + size cap.
|
|
227
|
+
# tts:
|
|
228
|
+
# enabled: true
|
|
229
|
+
# provider: omlx # ← references providers.omlx
|
|
230
|
+
# model: fish-audio-s2-pro-8bit
|
|
231
|
+
# language: de # optional default lang hint
|
|
232
|
+
# # voice: <id> # optional OpenAI-style speaker selector
|
|
233
|
+
# # (ignored by mlx-audio's fish adapter — see textPrefix)
|
|
234
|
+
# #
|
|
235
|
+
# # textPrefix is an inline string prepended to EVERY synthesize input.
|
|
236
|
+
# # Used to push speaker / emotion / style tags into the text itself,
|
|
237
|
+
# # which is how Fish Audio S2 Pro (and similar OSS TTS) actually steer
|
|
238
|
+
# # voice — the `voice` JSON field is ignored. Example tags:
|
|
239
|
+
# # "<|speaker:0|>" — lock speaker (Fish S2 has many)
|
|
240
|
+
# # "[deep male voice] " — descriptive style tag
|
|
241
|
+
# # "<|speaker:7|>[calm] " — combine speaker + emotion
|
|
242
|
+
# # Acts as fallback when an agent has no entry in `agentVoices`.
|
|
243
|
+
# # textPrefix: "<|speaker:0|>"
|
|
244
|
+
# #
|
|
245
|
+
# # agentVoices is a per-agent override map. When somora synthesises
|
|
246
|
+
# # audio FOR agent X, the prefix from `agentVoices[X]` is used (and
|
|
247
|
+
# # `textPrefix` is ignored). Agent names match the directory under
|
|
248
|
+
# # ~/.somora/agents/<name>/. The prefix flows into the cache key so
|
|
249
|
+
# # different speakers get different cached audio files.
|
|
250
|
+
# # agentVoices:
|
|
251
|
+
# # <agent-a>: "[deep male voice] "
|
|
252
|
+
# # <agent-b>: "<|speaker:7|>[male voice] "
|
|
253
|
+
# # <agent-c>: "<|speaker:2|>"
|
|
254
|
+
# #
|
|
255
|
+
# cache:
|
|
256
|
+
# retentionDays: 7 # 0 disables GC
|
|
257
|
+
# maxSizeMB: 500
|
|
258
|
+
# reencode:
|
|
259
|
+
# enabled: true # use ffmpeg for opus/m4a when client Accept asks
|
|
260
|
+
# opusBitrateKbps: 24
|
|
261
|
+
# clients:
|
|
262
|
+
# web:
|
|
263
|
+
# autoPlayVoiceReplies: false # default for new sessions
|
|
264
|
+
# allowUserOverride: true # show the 🔊/🔇 toggle in chat header
|
|
265
|
+
# mobile:
|
|
266
|
+
# autoPlayVoiceReplies: false
|
|
267
|
+
# allowUserOverride: true
|
|
268
|
+
|
|
269
|
+
# Image generation — text-to-image via an OpenAI-shaped image endpoint
|
|
270
|
+
# (OpenRouter's /api/v1/images, OpenAI's /v1/images/generations, or a
|
|
271
|
+
# local server that speaks the same shape). Same standalone posture as
|
|
272
|
+
# stt/tts: image models are NOT listed in `providers.<x>.models`, so
|
|
273
|
+
# they never show up as selectable chat models.
|
|
274
|
+
#
|
|
275
|
+
# Both a human and an agent drive the same code path: the web app's
|
|
276
|
+
# Images window POSTs to /images/generate, agents call the
|
|
277
|
+
# `image_generate` tool. The prompt is passed through verbatim — specs
|
|
278
|
+
# travel as separate request fields, never as prose inside the prompt.
|
|
279
|
+
#
|
|
280
|
+
# Allowed spec values differ per model (grok-imagine renders 1K/2K
|
|
281
|
+
# only; other models do 512 or 4K). somora discovers them from the
|
|
282
|
+
# provider's image-model catalog at runtime and validates against that,
|
|
283
|
+
# so a newly configured model works without a code change. Use `allow`
|
|
284
|
+
# below only when discovery isn't available (local server) or is wrong.
|
|
285
|
+
#
|
|
286
|
+
# Every image lands in `outputDir` regardless of which agent generated
|
|
287
|
+
# it — that single directory is what the gallery and the file-serving
|
|
288
|
+
# route index. A caller-supplied destination (`save_to` on the tool,
|
|
289
|
+
# the target field in the UI) additionally gets a HARDLINK, so a second
|
|
290
|
+
# location costs a name, not a second copy. Across filesystems somora
|
|
291
|
+
# falls back to a real copy automatically.
|
|
292
|
+
# imageGen:
|
|
293
|
+
# enabled: true
|
|
294
|
+
# outputDir: ~/somoraworkspace/images # canonical home for every image
|
|
295
|
+
# monthlyFolders: false # true → <outputDir>/2026-08/
|
|
296
|
+
# maxImagesPerTurn: 5 # cost brake per turn
|
|
297
|
+
# timeoutMs: 300000 # image models are slow; 5 min
|
|
298
|
+
# models:
|
|
299
|
+
# - name: grok-imagine # handle used by tool + UI
|
|
300
|
+
# provider: openrouter # ← references providers.openrouter
|
|
301
|
+
# model: x-ai/grok-imagine-image-2.0 # (baseUrl + apiKey come from there)
|
|
302
|
+
# label: "Grok Imagine 2.0"
|
|
303
|
+
# # wire: openrouter # dialect for REFERENCE images:
|
|
304
|
+
# # # openrouter → base64 in JSON
|
|
305
|
+
# # # openai → multipart image[]
|
|
306
|
+
# # endpoint: /images # default; OpenRouter's path
|
|
307
|
+
# # capabilitiesEndpoint: /images/models # default. A provider that
|
|
308
|
+
# # # publishes a catalog needs NO
|
|
309
|
+
# # # `allow` block — somora asks it
|
|
310
|
+
# # # what each model takes. Read
|
|
311
|
+
# # # once per process: restart after
|
|
312
|
+
# # # adding a model there.
|
|
313
|
+
# # # null = no catalog (local server)
|
|
314
|
+
# defaults: # applied when the caller omits them
|
|
315
|
+
# resolution: 1K
|
|
316
|
+
# aspect_ratio: "16:9"
|
|
317
|
+
# output_format: png
|
|
318
|
+
# # allow: # offline override — skip when the
|
|
319
|
+
# # supported: [resolution, aspect_ratio, seed, n] # complete field set
|
|
320
|
+
# # resolution: ["1K", "2K"] # provider catalog is reachable
|
|
321
|
+
# # aspect_ratio: ["1:1", "16:9", "9:16", "4:3", "3:4", "2:3"]
|
|
322
|
+
# # quality: ["low", "medium"]
|
|
323
|
+
# # maxN: 4
|
|
324
|
+
# # maxReferences: 3
|
|
325
|
+
#
|
|
326
|
+
# # An OpenAI-shaped endpoint: OpenAI itself, or a router such as
|
|
327
|
+
# # LiteLLM in front of a local image backend. The difference that
|
|
328
|
+
# # matters is `wire` — reference images go out as multipart to
|
|
329
|
+
# # editEndpoint instead of base64 in JSON.
|
|
330
|
+
# - name: local-flux
|
|
331
|
+
# provider: local-images # ← another providers.<name>
|
|
332
|
+
# model: flux-dev
|
|
333
|
+
# wire: openai
|
|
334
|
+
# endpoint: /images/generations
|
|
335
|
+
# editEndpoint: /images/edits # wire: openai only
|
|
336
|
+
# capabilitiesEndpoint: null # no catalog → `allow` is the truth
|
|
337
|
+
# fallback: grok-imagine # tried when THIS one is
|
|
338
|
+
# # unavailable (503 / unreachable
|
|
339
|
+
# # / timeout). Caller mistakes are
|
|
340
|
+
# # never retried elsewhere.
|
|
341
|
+
# allow:
|
|
342
|
+
# # The COMPLETE set of fields this model takes. Without it, a
|
|
343
|
+
# # field the endpoint doesn't read is forwarded, ignored on the
|
|
344
|
+
# # far side, and you get an image that quietly disregards it —
|
|
345
|
+
# # no error anywhere. Unnecessary when a catalog exists.
|
|
346
|
+
# supported: [size, aspect_ratio, seed, steps, guidance, n]
|
|
347
|
+
# aspect_ratio: ["1:1", "16:9", "9:16"]
|
|
348
|
+
# maxReferences: 4
|
|
349
|
+
#
|
|
350
|
+
# Video generation. Job-based, unlike images: a render takes MINUTES, so
|
|
351
|
+
# somora starts the job, lets the agent's turn end, and wakes the agent
|
|
352
|
+
# when its video is ready. Nobody waits.
|
|
353
|
+
#
|
|
354
|
+
# Shared browser (docs/browser.md) — a managed Chromium per agent profile
|
|
355
|
+
# that agents drive with the `browser` tool and you can watch and take
|
|
356
|
+
# over in the web client. Needs a Chromium on the host; off by default.
|
|
357
|
+
# browser:
|
|
358
|
+
# enabled: true
|
|
359
|
+
# executablePath: /usr/bin/chromium # optional; auto-detected when unset
|
|
360
|
+
# headed: false # true: Chromium with a window — no
|
|
361
|
+
# # "HeadlessChrome" user agent, no
|
|
362
|
+
# # navigator.webdriver. Needs a DISPLAY
|
|
363
|
+
# # or Xvfb (sudo apt install xvfb); refuses
|
|
364
|
+
# # to start otherwise. docs/browser.md
|
|
365
|
+
# extraArgs: [] # extra Chromium flags, verbatim, e.g.
|
|
366
|
+
# # ["--proxy-server=http://proxy:3128"]
|
|
367
|
+
# maxTabsPerAgent: 8
|
|
368
|
+
# idleStopMinutes: 30 # stop an unused browser; logins stay
|
|
369
|
+
# viewport: { width: 1280, height: 800 }
|
|
370
|
+
# allowPrivate: [] # LAN hosts/CIDRs agents may open,
|
|
371
|
+
# # e.g. ["192.168.1.0/24", "nas.local"]
|
|
372
|
+
# deny: [] # hostnames never opened, e.g. ["*.bank.at"]
|
|
373
|
+
# profiles: {} # shared profiles: { firma: { agents: [a, b] } }
|
|
374
|
+
|
|
375
|
+
# videoGen:
|
|
376
|
+
# enabled: true
|
|
377
|
+
# outputDir: ~/somoraworkspace/videos
|
|
378
|
+
# monthlyFolders: true
|
|
379
|
+
# maxConcurrent: 4 # across ALL agents, not per
|
|
380
|
+
# # agent: a GPU is shared, and
|
|
381
|
+
# # a per-agent budget lets four
|
|
382
|
+
# # agents take twelve slots.
|
|
383
|
+
# # The caller that finds it full
|
|
384
|
+
# # is refused, not queued.
|
|
385
|
+
# pollIntervalMs: 8000
|
|
386
|
+
# jobTimeoutMs: 2700000 # 45 min; 14s of video ≈ 8 min
|
|
387
|
+
# models:
|
|
388
|
+
# - name: h3
|
|
389
|
+
# provider: local-video # ← reuses providers.<name>
|
|
390
|
+
# model: h3
|
|
391
|
+
# wire: passthrough # job id in the QUERY — the shape
|
|
392
|
+
# # that survives a proxy which
|
|
393
|
+
# # forwards exact paths only
|
|
394
|
+
# capabilitiesEndpoint: /video/models # catalog: what each model takes
|
|
395
|
+
#
|
|
396
|
+
# - name: sora # OpenAI: job id in the PATH
|
|
397
|
+
# provider: openai
|
|
398
|
+
# model: sora-2
|
|
399
|
+
# wire: openai
|
|
400
|
+
# capabilitiesEndpoint: null # OpenAI publishes no video
|
|
401
|
+
# allow: # catalog, so declare it here
|
|
402
|
+
# supported: [seconds, size, input_reference]
|
|
403
|
+
# variants: [video, thumbnail] # thumbnail → gallery preview,
|
|
404
|
+
# maxReferences: 1 # and analyze_file can read it
|
|
405
|
+
#
|
|
406
|
+
# # ⚠ NOT YET VERIFIED against a live endpoint — somora has had no
|
|
407
|
+
# # Vertex access to test with. The dialect is written from Google's
|
|
408
|
+
# # published shape (operation name instead of a job id, POST to poll,
|
|
409
|
+
# # result inside the poll response) so that adding Veo is a config
|
|
410
|
+
# # entry rather than a refactor. Do not assume it works until someone
|
|
411
|
+
# # has run it once.
|
|
412
|
+
# - name: veo
|
|
413
|
+
# provider: vertex
|
|
414
|
+
# model: veo-3
|
|
415
|
+
# wire: veo
|
|
416
|
+
# capabilitiesEndpoint: null
|
|
417
|
+
|
|
418
|
+
# Per-agent, in ~/.somora/agents/<name>/agent.yaml:
|
|
419
|
+
# imageReview: never # never (default) | always
|
|
420
|
+
# `always` feeds each generated image back into that agent's context so
|
|
421
|
+
# it can judge and re-prompt on its own (~2k tokens per image). `never`
|
|
422
|
+
# is not a lock — the agent can still request the image per call, and
|
|
423
|
+
# the file stays readable via file_read afterwards.
|
|
424
|
+
|
|
425
|
+
# Projects — pointer-file index over existing storage locations. Each
|
|
426
|
+
# project lives as ~/.somora/projects/<slug>.md with YAML frontmatter
|
|
427
|
+
# that lists Obsidian paths, local paths, URLs, and remote-resource
|
|
428
|
+
# refs (`<resource>:/path`). A session can `/projekt <slug>` to pin
|
|
429
|
+
# the project, and the pointer-list lands in the system-prompt tail so
|
|
430
|
+
# the agent knows which paths matter for this conversation.
|
|
431
|
+
#
|
|
432
|
+
# `entities` is a CONTROLLED VOCABULARY — projects belong to one
|
|
433
|
+
# entity (e.g. "privat", "enovom"), and the agent picks FROM this list
|
|
434
|
+
# at create time. Prevents STT mishearings from inventing phantom
|
|
435
|
+
# entities ("enofhom" silently becoming a new category). Only edited
|
|
436
|
+
# here — agents cannot extend it via tools.
|
|
437
|
+
# projects:
|
|
438
|
+
# enabled: true
|
|
439
|
+
# entities:
|
|
440
|
+
# - slug: privat
|
|
441
|
+
# label: Privat
|
|
442
|
+
# - slug: enovom
|
|
443
|
+
# label: enovom GmbH
|
|
444
|
+
# - slug: firma2
|
|
445
|
+
# label: Firma Zwei
|
|
446
|
+
|
|
447
|
+
# Compaction tunables (DECISION #21). All optional — built-in defaults apply
|
|
448
|
+
# when omitted. SOMORA_COMPACTION_* env vars override these for ops/CI.
|
|
449
|
+
# compaction:
|
|
450
|
+
# triggerRatio: 0.8 # compact at 80% of the input budget (window minus the answer)
|
|
451
|
+
# safetyCushionPairs: 4 # keep N most-recent user/assistant pairs uncompacted
|
|
452
|
+
# modelOverride: opus # force a specific worker model (alias or provider/id)
|
|
453
|
+
# workers: [small-local, big-local, opus] # who may summarise, in the order they are tried.
|
|
454
|
+
# # A model that is not listed is never a worker. Without the list
|
|
455
|
+
# # somora auto-picks: every model whose window fits, smallest first.
|
|
456
|
+
# # At most three workers are asked per compaction; one refusing
|
|
457
|
+
# # (busy host, rate limit, reloading route) costs an attempt, not
|
|
458
|
+
# # the compaction.
|
|
459
|
+
|
|
460
|
+
# Realtime voice — talking to an agent (docs/realtime-voice.md).
|
|
461
|
+
# A standing, interruptible call: a realtime model does the talking, the
|
|
462
|
+
# agent does the knowing. NOT the same feature as stt/tts above, which
|
|
463
|
+
# is press-to-talk dictation plus spoken replies — these two share
|
|
464
|
+
# nothing but the word "voice" and can both be on.
|
|
465
|
+
# realtimeVoice:
|
|
466
|
+
# enabled: true
|
|
467
|
+
# provider: openai # openai | local — the same adapter, one talks to OpenAI, the
|
|
468
|
+
# # other to a service of your own that speaks the same protocol.
|
|
469
|
+
# # google has no adapter yet (different protocol entirely).
|
|
470
|
+
# model: gpt-realtime-2.1-mini
|
|
471
|
+
# apiKeyFile: ~/.somora/secrets/openai-realtime.key # a FILE (chmod 600), never the key itself
|
|
472
|
+
# # url: ws://127.0.0.1:8787/realtime # where to connect. Omitted = OpenAI. Required for
|
|
473
|
+
# # provider: local. The model id is appended as ?model=…, and a
|
|
474
|
+
# # service without a credential needs no apiKeyFile.
|
|
475
|
+
# transport: websocket # audio goes browser -> somora -> provider
|
|
476
|
+
# defaultVoice: alloy # alloy ash ballad coral echo sage shimmer verse marin cedar
|
|
477
|
+
# consultPolicy: always # auto | substantive | always — when the voice must ask the agent
|
|
478
|
+
# maxCallMinutes: 20 # hard stop; the meter runs while nobody speaks
|
|
479
|
+
# allowAgentSwitch: false # let a call move to another agent or session mid-conversation
|
|
480
|
+
# consult: # how long a spoken question waits on the agent. It queues on
|
|
481
|
+
# # the session like any turn, but a conversation cannot wait on
|
|
482
|
+
# # a build: past this the voice says it handed the request over
|
|
483
|
+
# # and keeps talking; the answer is read out when it lands, or
|
|
484
|
+
# # fetched when the user asks.
|
|
485
|
+
# quickAnswerMs: 8000 # session lock + answer together (1000..120000)
|
|
486
|
+
# turnDetection: # how easily you can interrupt the agent
|
|
487
|
+
# threshold: 0.4 # lower = reacts to quieter speech
|
|
488
|
+
# prefixPaddingMs: 200 # run-up that counts as speech
|
|
489
|
+
# silenceDurationMs: 420 # pause that ends YOUR turn
|
|
490
|
+
# Per agent, in agent.yaml:
|
|
491
|
+
# voice: { enabled: true, voice: ash, language: de, style: "trocken", consultPolicy: always, maxSpokenSentences: 4 }
|
|
492
|
+
# Optional per agent: ~/.somora/agents/<name>/VOICE.md replaces the
|
|
493
|
+
# character derived from the persona; the honesty rules always stay.
|
|
494
|
+
|
|
495
|
+
# Memory-Layer tunables (DECISIONS #25–#27). All optional. Per-agent
|
|
496
|
+
# overrides can live in agent.yaml later. (Phase 2-Stufe-B — not yet
|
|
497
|
+
# wired into the runtime.)
|
|
498
|
+
# Agent-loop tunables (DECISION #31 + #37). Apply to engines that run
|
|
499
|
+
# their own tool-call loop — currently openai-compatible — for the per-
|
|
500
|
+
# tool-call race. The longTask* values ALSO inform CLI-engine tools
|
|
501
|
+
# (subagent_result, agent_ask) which run inside MCP children, so all
|
|
502
|
+
# three engines honor the same caller-friendly politik for slow models.
|
|
503
|
+
#
|
|
504
|
+
# Three timeout knobs, each for a different tool class:
|
|
505
|
+
# 1. toolCallTimeoutMs — fast tools (memory, web, file, time)
|
|
506
|
+
# 2. longTaskDefaultTimeoutMs — slow A2A tools, used when the caller
|
|
507
|
+
# doesn't pass an explicit timeout_ms
|
|
508
|
+
# 3. longTaskMaxTimeoutMs — hard ceiling for slow A2A tools, even
|
|
509
|
+
# when the caller passes a higher value
|
|
510
|
+
#
|
|
511
|
+
# When a long-task hits its timeout, the tool returns state:"pending"
|
|
512
|
+
# (NOT an error) — the sub keeps running, the caller can retry with a
|
|
513
|
+
# higher timeout_ms or check status later. See DECISION #37.
|
|
514
|
+
# agentLoop:
|
|
515
|
+
# maxRounds: 8 # max tool-call rounds per turn (1..100).
|
|
516
|
+
# # Most conversations finish in 1-3;
|
|
517
|
+
# # 8 is defensive headroom against
|
|
518
|
+
# # runaway models.
|
|
519
|
+
#
|
|
520
|
+
# maxTurnMs: 28800000 # optional wall-clock cap per turn (ms).
|
|
521
|
+
# # Unset = none. Builder agents (agent.yaml
|
|
522
|
+
# # kind: builder) default to 500 rounds,
|
|
523
|
+
# # 2000 tool calls and 8 h per turn and
|
|
524
|
+
# # may override all three per agent
|
|
525
|
+
# # (agent.yaml agentLoop, docs/builder.md).
|
|
526
|
+
#
|
|
527
|
+
# toolCallTimeoutMs: 30000 # 30 sec — fast tools (memory_search,
|
|
528
|
+
# # web_fetch, time_now, file_read,
|
|
529
|
+
# # obsidian_*). Plenty for anything
|
|
530
|
+
# # that hits a local DB, reads a file,
|
|
531
|
+
# # or does a single HTTP round-trip.
|
|
532
|
+
# # Slow tools declare their own.
|
|
533
|
+
#
|
|
534
|
+
# longTaskDefaultTimeoutMs: 300000 # 5 min — DEFAULT for slow A2A tools
|
|
535
|
+
# # (subagent_result wait_until_done,
|
|
536
|
+
# # agent_ask). Local models like
|
|
537
|
+
# # gemma4big regularly need minutes
|
|
538
|
+
# # for a turn — this default is
|
|
539
|
+
# # generous so agents don't have to
|
|
540
|
+
# # adapt with retries on every call.
|
|
541
|
+
# # Used when caller omits timeout_ms.
|
|
542
|
+
#
|
|
543
|
+
# longTaskMaxTimeoutMs: 1800000 # 30 min — HARD CEILING for slow A2A
|
|
544
|
+
# # tools, even with explicit timeout_ms.
|
|
545
|
+
# # Bounds how long a single tool call
|
|
546
|
+
# # can sit blocking; the underlying
|
|
547
|
+
# # sub-task itself runs unbounded in
|
|
548
|
+
# # the background (capped by its own
|
|
549
|
+
# # agentLoop.maxRounds), so this is
|
|
550
|
+
# # really just a per-call ceiling.
|
|
551
|
+
#
|
|
552
|
+
# wakeGraceMs: 3000 # 3 sec — when work an agent started and
|
|
553
|
+
# # walked away from finishes (a late
|
|
554
|
+
# # agent_ask answer, a background
|
|
555
|
+
# # sub-agent, a rendered video), the
|
|
556
|
+
# # agent is woken in the session it asked
|
|
557
|
+
# # from — unless it fetched the result
|
|
558
|
+
# # (agent_ask_result, subagent_result,
|
|
559
|
+
# # video_status) within this grace.
|
|
560
|
+
# # 0..60000.
|
|
561
|
+
# # Raise for exceptionally slow setups
|
|
562
|
+
# # (CPU-only inference, huge models).
|
|
563
|
+
# # claudeCli.mcpToolTimeoutMs and
|
|
564
|
+
# # codexCli.toolTimeoutSec MUST be ≥
|
|
565
|
+
# # this — the CLI's MCP layer sits
|
|
566
|
+
# # above us and will cut us off
|
|
567
|
+
# # otherwise.
|
|
568
|
+
|
|
569
|
+
|
|
570
|
+
# Engine watchdog — idle-event timeout per engine. If an engine produces
|
|
571
|
+
# no events (assistant_delta, tool_call, …) for the configured window
|
|
572
|
+
# mid-turn, we assume the subprocess (claude-cli / codex-cli) died or
|
|
573
|
+
# the remote HTTP call (openai-compatible) is wedged. The turn is
|
|
574
|
+
# aborted, an error is surfaced to the client, and the per-session lock
|
|
575
|
+
# releases — so the user can simply send the next message instead of
|
|
576
|
+
# restarting the server. Dream workers (Deep/Lucid) bypass this entirely;
|
|
577
|
+
# they have their own timing.
|
|
578
|
+
# engineWatchdog:
|
|
579
|
+
# claudeCliIdleMs: 300000 # 5 min — subscription, fast first event
|
|
580
|
+
# codexCliIdleMs: 300000 # 5 min — subscription, fast first event
|
|
581
|
+
# grokCliIdleMs: 300000 # 5 min — same class as the other CLIs
|
|
582
|
+
# openaiCompatibleIdleMs: 1200000 # 20 min — local LLMs (oMLX, ollama, vLLM)
|
|
583
|
+
# # can legitimately stream slowly on
|
|
584
|
+
# # consumer hardware. Raise if your
|
|
585
|
+
# # backend regularly silences for longer
|
|
586
|
+
# # than 20 min mid-turn.
|
|
587
|
+
|
|
588
|
+
# SSE broadcast tunables. Per subscribed client (web/mobile/TUI) somora
|
|
589
|
+
# has a write budget per SINGLE event packet. A healthy SSE write takes
|
|
590
|
+
# microseconds; a wedged stream (mobile browser in the background, frozen
|
|
591
|
+
# TCP receive window, half-dead TLS handshake) would otherwise backpressure
|
|
592
|
+
# forever without throwing — and block EVERY following turn on that
|
|
593
|
+
# (agent, session). Does NOT apply to turn duration / LLM streaming time /
|
|
594
|
+
# long tool calls — those keep running, each event packet only needs µs.
|
|
595
|
+
# sse:
|
|
596
|
+
# publishTimeoutMs: 10000 # 10 s per event write — self-heal budget for
|
|
597
|
+
# # a wedged subscriber. Practically never hit by
|
|
598
|
+
# # healthy clients; two orders of magnitude above
|
|
599
|
+
# # what a normal write takes.
|
|
600
|
+
# publishParallel: true # write to all subscribers at once instead of
|
|
601
|
+
# # one after another — a slow client never blocks
|
|
602
|
+
# # the others. Set false only if you strictly need
|
|
603
|
+
# # serial delivery order.
|
|
604
|
+
# heartbeatMs: 20000 # server→client heartbeat on /chat/stream + /activity/stream
|
|
605
|
+
# deadAfterMs: 60000 # a heartbeat write hanging longer → stream counts as dead, socket closed
|
|
606
|
+
# h2PingIntervalMs: 30000 # HTTP/2 PING pro Client-Session (TLS-Listener) …
|
|
607
|
+
# h2PingTimeoutMs: 30000 # … ohne ACK in dieser Zeit → Session zerstört (Tab weg, WLAN weg)
|
|
608
|
+
# keepAliveDelayMs: 30000 # TCP-Keepalive auf jedem Socket (Kernel-Probes obendrauf)
|
|
609
|
+
# tmux attention watcher — somora watches its own tmux sessions that were
|
|
610
|
+
# created with kind "claude-code" or "codex" and detects when the CLI in
|
|
611
|
+
# the pane goes from running to ready (finished OR waiting for input).
|
|
612
|
+
# If the agent that started the session missed that moment (its wait_idle
|
|
613
|
+
# timed out and its turn ended), somora dispatches a wake turn: "session X
|
|
614
|
+
# became ready — read the output and continue". If the agent observed the
|
|
615
|
+
# completion itself (capture/wait_idle after the event), NO wake fires.
|
|
616
|
+
# One wake per completion, never repeated when ignored.
|
|
617
|
+
# tmux:
|
|
618
|
+
# attention:
|
|
619
|
+
# enabled: true # watcher + needs_attention metadata/badge
|
|
620
|
+
# wake: true # agent-wakeup stage (false = flag/badge only)
|
|
621
|
+
# pollMs: 3000 # watcher poll interval
|
|
622
|
+
# cooldownS: 60 # min seconds between wakes per tmux session
|
|
623
|
+
# dailyCapPerSession: 40 # hard daily wake ceiling per tmux session (UTC)
|
|
624
|
+
|
|
625
|
+
# claude-cli engine tunables. Surfaced from claude-agent-sdk env vars so
|
|
626
|
+
# they're configurable here instead of hidden as undocumented env overrides.
|
|
627
|
+
# Applied at server boot; an explicit env var (MCP_TOOL_TIMEOUT etc.) wins
|
|
628
|
+
# over config (override layer).
|
|
629
|
+
# claudeCli:
|
|
630
|
+
# mcpToolTimeoutMs: 1800000 # 30 min — per-MCP-tool-call timeout (ms);
|
|
631
|
+
# # sets MCP_TOOL_TIMEOUT in the claude-agent-sdk
|
|
632
|
+
# # subprocess. SDK hidden default is 5min — way
|
|
633
|
+
# # too short for slow local models. Default 30min
|
|
634
|
+
# # matches agentLoop.longTaskMaxTimeoutMs so the
|
|
635
|
+
# # CLI's MCP layer never cuts off a long-blocking
|
|
636
|
+
# # tool call before our own ceiling does. Raise
|
|
637
|
+
# # both together if you need more; lower this for
|
|
638
|
+
# # fail-fast on a fast setup.
|
|
639
|
+
# mcpConnectTimeoutMs: 60000 # 60 sec — initial MCP server connect handshake
|
|
640
|
+
# # timeout (ms); sets MCP_TIMEOUT. Only affects
|
|
641
|
+
# # startup, not running calls.
|
|
642
|
+
# sharedUserCredentials: true # share the user's `claude login` with somora's
|
|
643
|
+
# # isolated claude-home via continuous credential
|
|
644
|
+
# # sync (fs-watcher + 60s poll + pre-turn check;
|
|
645
|
+
# # newest OAuth chain wins on divergence). Set
|
|
646
|
+
# # false to run somora on a SEPARATE Claude
|
|
647
|
+
# # account — somora then never touches either
|
|
648
|
+
# # credentials file. See docs/setup.md
|
|
649
|
+
# # "Isolated Claude config dir". Inspect with
|
|
650
|
+
# # `somora auth status`.
|
|
651
|
+
|
|
652
|
+
# codex-cli engine tunables. Same posture as claudeCli — surface codex-
|
|
653
|
+
# internal limits so they're configurable here. Applied as thread config
|
|
654
|
+
# on the bundled Codex app-server every turn.
|
|
655
|
+
# codexCli:
|
|
656
|
+
# toolTimeoutSec: 1800 # 30 min — per-MCP-tool-call timeout in
|
|
657
|
+
# # seconds; sets mcp_servers.somora.tool_timeout_sec
|
|
658
|
+
# # in codex's TOML. Codex's hidden default is
|
|
659
|
+
# # 60s — way too short for slow local models.
|
|
660
|
+
# # Default 1800s matches claudeCli.mcpToolTimeoutMs
|
|
661
|
+
# # and agentLoop.longTaskMaxTimeoutMs so the CLI's
|
|
662
|
+
# # MCP layer never cuts off a long-blocking tool
|
|
663
|
+
# # call before our own ceiling does.
|
|
664
|
+
# shellEnvironmentPolicy: inherit-all
|
|
665
|
+
# # 'inherit-all' (default) — pass the full somora-
|
|
666
|
+
# # server process env into codex's exec-tool shells.
|
|
667
|
+
# # Required for skills like `gog` that depend on env
|
|
668
|
+
# # secrets (GOG_KEYRING_PASSWORD, GOG_ACCOUNT, ...)
|
|
669
|
+
# # loaded from systemd EnvironmentFile or
|
|
670
|
+
# # ~/.somora/somora.env.
|
|
671
|
+
# # 'core-only' — codex's restrictive default
|
|
672
|
+
# # (PATH/HOME/USER/LANG only). Use only after
|
|
673
|
+
# # auditing every skill — declared env_vars will
|
|
674
|
+
# # silently appear missing inside shells.
|
|
675
|
+
# directTools: # somora tools kept in Codex's DIRECT tool list
|
|
676
|
+
# - memory_search # (schemas in context every turn). Everything
|
|
677
|
+
# - memory_get # else is a deferred dynamic tool the model
|
|
678
|
+
# - memory_write # reaches via Codex tool search / Code Mode
|
|
679
|
+
# - memory_edit # discovery. Default = this everyday core;
|
|
680
|
+
# - file_read # add tools an agent needs in nearly every
|
|
681
|
+
# - file_write # turn, drop what it rarely uses.
|
|
682
|
+
# - file_patch
|
|
683
|
+
# - file_list
|
|
684
|
+
# - file_search
|
|
685
|
+
# - exec
|
|
686
|
+
# - tmux
|
|
687
|
+
# - web_search
|
|
688
|
+
# - web_fetch
|
|
689
|
+
# - time_now
|
|
690
|
+
# - agent_ask
|
|
691
|
+
# - spawn_subagent
|
|
692
|
+
# - subagent_result
|
|
693
|
+
# - somora_docs_list
|
|
694
|
+
# - somora_docs_read
|
|
695
|
+
|
|
696
|
+
# memory:
|
|
697
|
+
# embedding:
|
|
698
|
+
# provider: local # 'local' (@huggingface/transformers) | future: openai/gemini/...
|
|
699
|
+
# model: all-MiniLM-L6-v2 # alias OR full HF repo path (e.g. 'Xenova/foo')
|
|
700
|
+
# # known-good aliases: all-MiniLM-L6-v2 (default,
|
|
701
|
+
# # 384 dim, ~30MB), all-mpnet-base-v2 (768 dim,
|
|
702
|
+
# # ~110MB), paraphrase-multilingual-MiniLM-L12-v2
|
|
703
|
+
# # (multilingual, 384 dim, ~120MB)
|
|
704
|
+
# chunking:
|
|
705
|
+
# targetTokens: 400
|
|
706
|
+
# overlapTokens: 80
|
|
707
|
+
# autoInject: # docs/memory.md — "What gets injected"
|
|
708
|
+
# queryTurns: 3 # last turns that give the recall query its context
|
|
709
|
+
# maxResults: 5 # top-N matches injected
|
|
710
|
+
# minScore: 0.35 # discard matches below this score
|
|
711
|
+
# maxTokens: 1500 # hard cap on the injected memory block
|
|
712
|
+
# historyWeight: 0.3 # how much those turns steer the vector query
|
|
713
|
+
# historyWeightShort: 0.55 # … when the message has only 1–2 content words
|
|
714
|
+
# historyWeightEmpty: 0.8 # … when it has none ("you should know that, right?")
|
|
715
|
+
# historyTurnChars: 800 # chars taken from each history turn
|
|
716
|
+
# shortQueryBm25Weight: 0.5 # BM25 weight for 1–2-word messages (null = hybrid.bm25Weight)
|
|
717
|
+
# hybrid:
|
|
718
|
+
# vectorWeight: 0.7 # weight of vector similarity in fused score
|
|
719
|
+
# bm25Weight: 0.3 # weight of BM25/FTS5 in fused score
|
|
720
|
+
# slugMatchBoost: 1.5 # page whose slug names a query word (1 = off); all searches
|
|
721
|
+
|
|
722
|
+
# Obsidian vault + wiki layer (docs/wiki.md, docs/dream-phases.md).
|
|
723
|
+
# The vault is read as a recall source for every agent; the wiki is a
|
|
724
|
+
# subfolder of it that Deep writes (memory → wiki consolidation) and
|
|
725
|
+
# Lucid reviews. Without `obsidian.vault` there is no vault read and no
|
|
726
|
+
# wiki.
|
|
727
|
+
# obsidian:
|
|
728
|
+
# vault: ~/Documents/Vault
|
|
729
|
+
# wiki:
|
|
730
|
+
# enabled: true
|
|
731
|
+
# vaultSubfolder: somora # → <vault>/somora/ becomes the wiki
|
|
732
|
+
# language: de # de | en — section headings, page types,
|
|
733
|
+
# # default subfolders, index/log wording and
|
|
734
|
+
# # the language Deep writes page prose in.
|
|
735
|
+
# # de is the historical default; existing
|
|
736
|
+
# # wikis keep it. Existing pages are never
|
|
737
|
+
# # translated; Merge keeps their headings.
|
|
738
|
+
# # defaultSubdirs: [people, projects] # replaces the language's default folders
|
|
739
|
+
# deep:
|
|
740
|
+
# enabled: true
|
|
741
|
+
# intervalHours: 12
|
|
742
|
+
# model: opus # worker model ref (alias or provider/model)
|
|
743
|
+
# lucid:
|
|
744
|
+
# enabled: true
|
|
745
|
+
# intervalDays: 7
|
|
746
|
+
# model: opus
|
|
747
|
+
# requireApproval: true
|
|
748
|
+
|
|
749
|
+
# Workspace — default cwd for file_* tools. NOT a sandbox: agents can
|
|
750
|
+
# also write outside (their own persona files, the global config).
|
|
751
|
+
# Protection comes from a path-blacklist in the file tools, not from
|
|
752
|
+
# confinement here. Per-agent override in agent.yaml under
|
|
753
|
+
# `workspace.path`. ~ expands. Auto-created at server start.
|
|
754
|
+
# workspace:
|
|
755
|
+
# default: ~/somoraworkspace
|
|
756
|
+
|
|
757
|
+
# Resources — named SSH targets. file_* and exec tools take an optional
|
|
758
|
+
# `target` parameter (default `local`, otherwise one of these names).
|
|
759
|
+
# `keyPath` is the private key on the somora server itself. `hostKey`
|
|
760
|
+
# (sha256:...) enforces strict mode instead of TOFU.
|
|
761
|
+
#
|
|
762
|
+
# `allowBlocked` (optional, per resource): a list of command patterns
|
|
763
|
+
# that override the global exec blacklist FOR THIS RESOURCE ONLY. Use
|
|
764
|
+
# it on dedicated agent-workstations where Somora-agents legitimately
|
|
765
|
+
# run admin commands (system updates, kernel reboots, mount fixes).
|
|
766
|
+
# Match rule: entry E matches command C if normalize(C) === normalize(E)
|
|
767
|
+
# OR normalize(C).startsWith(normalize(E) + ' '). The space boundary
|
|
768
|
+
# stops `sudo` from matching `pseudo`. The `local` target never gets
|
|
769
|
+
# overrides. Every privileged-allowed execution appends a line to
|
|
770
|
+
# ~/.somora/audit/exec-privileged.jsonl. See docs/resources.md.
|
|
771
|
+
# resources:
|
|
772
|
+
# linuxserver-1:
|
|
773
|
+
# type: ssh
|
|
774
|
+
# host: 192.0.2.10
|
|
775
|
+
# user: alice
|
|
776
|
+
# keyPath: ~/.ssh/id_ed25519
|
|
777
|
+
# description: |
|
|
778
|
+
# Bastion in the workshop. Ubuntu 24.04, Docker installed.
|
|
779
|
+
# workspace: /home/alice/work
|
|
780
|
+
# # hostKey: 'sha256:abc...' # optional; TOFU when omitted
|
|
781
|
+
# homeserver:
|
|
782
|
+
# type: ssh
|
|
783
|
+
# host: 192.0.2.42
|
|
784
|
+
# user: agent-user
|
|
785
|
+
# keyPath: ~/.ssh/id_ed25519
|
|
786
|
+
# description: |
|
|
787
|
+
# Dedicated AI/GPU workstation. Agents run routine maintenance
|
|
788
|
+
# here; reboot, system updates and mount fixes are normal ops.
|
|
789
|
+
# allowBlocked:
|
|
790
|
+
# - sudo ~/bin/system-update.sh
|
|
791
|
+
# - sudo ~/bin/fix-mount.sh
|
|
792
|
+
# - systemctl reboot
|
|
793
|
+
# - sudo # broad: any "sudo ..." command
|
|
794
|
+
|
|
795
|
+
# Web-tools credentials. Per-provider keys — tools whose provider isn't
|
|
796
|
+
# configured are hidden from the agent (the `available()` probe on the
|
|
797
|
+
# tool returns false). Brave is the only provider today; free tier gives
|
|
798
|
+
# 2k requests/month — sign up at https://api-dashboard.search.brave.com/.
|
|
799
|
+
# web:
|
|
800
|
+
# brave:
|
|
801
|
+
# apiKey: "BSAxxx..."
|
|
802
|
+
|
|
803
|
+
# Sentinel — proactive trigger runtime (time-based fires that wake
|
|
804
|
+
# agents on a schedule, see docs/sentinel.md). Only knob today is how
|
|
805
|
+
# long completed `at`-triggers (one-shot fires that have already run)
|
|
806
|
+
# linger in the registry before they're garbage-collected.
|
|
807
|
+
#
|
|
808
|
+
# completedRetentionDays:
|
|
809
|
+
# Days a `completed` trigger and its history are kept after the
|
|
810
|
+
# fire's lastFireAt timestamp. The scheduler sweeps at boot and on
|
|
811
|
+
# each daily re-arm tick; older entries get auto-deleted. Set to 0
|
|
812
|
+
# to disable GC entirely (manual cleanup only). Default 7.
|
|
813
|
+
# sentinel:
|
|
814
|
+
# completedRetentionDays: 7
|
|
815
|
+
|
|
816
|
+
# External MCP servers (docs/mcp.md). somora connects as MCP client,
|
|
817
|
+
# imports the servers' tools and offers them to every engine next to the
|
|
818
|
+
# built-in tools, namespaced `mcp__<server>__<tool>`. Phase 1 supports
|
|
819
|
+
# remote HTTP servers (streamable-http, automatic SSE fallback) with
|
|
820
|
+
# static header auth; header values expand `${VAR}` / `${VAR:-default}`
|
|
821
|
+
# from the server process env at connect time.
|
|
822
|
+
#
|
|
823
|
+
# Server names: lowercase letters/digits/hyphens, max 30 chars, no
|
|
824
|
+
# underscores (they'd break the `mcp__…__` name parsing).
|
|
825
|
+
#
|
|
826
|
+
# Per-agent visibility is controlled in each agent's agent.yaml
|
|
827
|
+
# (`tools:` section) — see docs/mcp.md.
|
|
828
|
+
# mcp:
|
|
829
|
+
# servers:
|
|
830
|
+
# parallel:
|
|
831
|
+
# url: https://mcp.parallel.ai/v1beta/search_mcp/
|
|
832
|
+
# headers:
|
|
833
|
+
# x-api-key: "${PARALLEL_API_KEY}"
|
|
834
|
+
# # enabled: true
|
|
835
|
+
# # tools:
|
|
836
|
+
# # include: [] # empty = all tools the server offers
|
|
837
|
+
# # exclude: []
|
|
838
|
+
# # timeoutMs: 60000 # per tool call
|
|
839
|
+
# # connectTimeoutMs: 15000
|
|
840
|
+
# # supportsParallelToolCalls: false # keep serial unless known-safe
|
|
841
|
+
# # Servers that authenticate via an OAuth login (token in a JSON
|
|
842
|
+
# # file). Claude Design ships as a one-line preset. It needs the
|
|
843
|
+
# # separate `/design-login` credential: Anthropic split Claude
|
|
844
|
+
# # Design onto its own `user:design:*` scope, which the ordinary
|
|
845
|
+
# # Claude login does not carry. Run /design-login once in a Claude
|
|
846
|
+
# # Code session; the preset picks the credential up by itself
|
|
847
|
+
# # (docs/mcp.md#claude-design):
|
|
848
|
+
# claude-design:
|
|
849
|
+
# preset: claude-design
|
|
850
|
+
# # Generic form for other such servers:
|
|
851
|
+
# # my-oauth-server:
|
|
852
|
+
# # url: https://example.com/mcp
|
|
853
|
+
# # auth:
|
|
854
|
+
# # type: oauth-refresh
|
|
855
|
+
# # credentialKey: myServiceOauth
|
|
856
|
+
# # # …or an ordered list, first key PRESENT in the file wins.
|
|
857
|
+
# # # Useful when a provider moves its auth and you want one
|
|
858
|
+
# # # config to work before and after:
|
|
859
|
+
# # # credentialKey: [newServiceOauth, myServiceOauth]
|
|
860
|
+
# # tokenEndpoint: https://example.com/oauth/token
|
|
861
|
+
# # # refresh: false # read-only when another process owns the
|
|
862
|
+
# # # # token's refresh chain (two refreshers on
|
|
863
|
+
# # # # one rotating chain invalidate each other)
|
|
864
|
+
|
|
865
|
+
# TUI display defaults for the Ink CLI. Render-only — the server still
|
|
866
|
+
# injects memory and runs tools regardless. Live-toggle via /show and
|
|
867
|
+
# /verbose slash commands.
|
|
868
|
+
#
|
|
869
|
+
# show.* — whether the row appears at all
|
|
870
|
+
# verbose.* — how much detail shows when it does appear:
|
|
871
|
+
# tools → full input/output payload below each call/result
|
|
872
|
+
# memory → full memory inject block below each [memory · …]
|
|
873
|
+
# system → /verbose system on prints the persona system prompt once
|
|
874
|
+
# tui:
|
|
875
|
+
# show:
|
|
876
|
+
# memory: true
|
|
877
|
+
# tools: true
|
|
878
|
+
# verbose:
|
|
879
|
+
# tools: false
|
|
880
|
+
# memory: false
|
|
881
|
+
# system: false
|
|
882
|
+
|
|
883
|
+
# ── Language servers for builder agents (docs/lsp.md) ─────────────────
|
|
884
|
+
# After file_write / file_patch a builder's result carries the errors
|
|
885
|
+
# the language server found in that file. Servers are installed with
|
|
886
|
+
# `somora lsp install` into ~/.somora/lsp; nothing is downloaded during
|
|
887
|
+
# a turn. Chat agents are not affected.
|
|
888
|
+
# lsp:
|
|
889
|
+
# enabled: true
|
|
890
|
+
# waitMs: 3000 # wait for the verdict after a write (ms)
|
|
891
|
+
# servers:
|
|
892
|
+
# typescript:
|
|
893
|
+
# enabled: true
|
|
894
|
+
# # command: /path/to/typescript-language-server # instead of ~/.somora/lsp or PATH
|
|
895
|
+
# pyright:
|
|
896
|
+
# enabled: true
|