somora 2026.1001.4 → 2026.1004.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/README.md +5 -2
  2. package/config.example.yaml +10 -1
  3. package/docs/agents.md +714 -584
  4. package/docs/api.md +2282 -2549
  5. package/docs/browser.md +450 -265
  6. package/docs/builder.md +408 -282
  7. package/docs/cache-strategy.md +230 -301
  8. package/docs/compaction.md +332 -231
  9. package/docs/display.md +355 -130
  10. package/docs/dream-phases.md +598 -789
  11. package/docs/files.md +467 -333
  12. package/docs/imagegen.md +412 -302
  13. package/docs/images/somora-hero.png +0 -0
  14. package/docs/index.md +139 -174
  15. package/docs/lsp.md +142 -60
  16. package/docs/mcp.md +365 -273
  17. package/docs/memory.md +287 -356
  18. package/docs/mobile.md +255 -282
  19. package/docs/models.md +400 -197
  20. package/docs/projects.md +297 -316
  21. package/docs/realtime-voice.md +358 -234
  22. package/docs/resources.md +246 -176
  23. package/docs/sampling.md +141 -78
  24. package/docs/security.md +413 -169
  25. package/docs/sentinel.md +268 -208
  26. package/docs/setup.md +756 -1117
  27. package/docs/skills.md +415 -430
  28. package/docs/team.md +268 -143
  29. package/docs/thinking.md +387 -387
  30. package/docs/tmux.md +384 -334
  31. package/docs/tools.md +492 -109
  32. package/docs/videogen.md +319 -146
  33. package/docs/voice.md +335 -220
  34. package/docs/web.md +624 -835
  35. package/docs/wiki.md +442 -482
  36. package/package.json +1 -1
  37. package/src/cli/banner.ts +56 -0
  38. package/src/cli/server-call.ts +65 -0
  39. package/src/cli/setup.ts +15 -1
  40. package/src/cli/somora.ts +30 -3
  41. package/src/cli/team.ts +13 -6
  42. package/src/cli/tui/app.tsx +15 -0
  43. package/src/cli/tui/commands.ts +2 -2
  44. package/src/cli/tui/stream.ts +1 -0
  45. package/src/cli/tui/turn-views.tsx +22 -0
  46. package/src/cli/tui/types.ts +4 -2
  47. package/src/compaction/summarize.ts +8 -3
  48. package/src/config/types.ts +19 -13
  49. package/src/dream/deep-llm.ts +83 -3
  50. package/src/dream/deep-runner.ts +8 -2
  51. package/src/dream/deep-worker.ts +1 -0
  52. package/src/dream/lucid-runner.ts +7 -3
  53. package/src/dream/lucid-types.ts +3 -0
  54. package/src/dream/rem-extract.ts +99 -69
  55. package/src/dream/worker-model.ts +31 -0
  56. package/src/persona/loader.ts +2 -2
  57. package/src/server/index.ts +157 -23
  58. package/src/server/restart-intent.ts +138 -0
  59. package/src/server/restart-reconcile.ts +6 -2
  60. package/src/server/run-turn.ts +1 -1
  61. package/src/server/turn-origin-kind.ts +2 -2
  62. package/src/ssh/known-hosts.ts +17 -2
  63. package/src/ssh/pool.ts +7 -1
  64. package/src/tools/dream/tools.ts +2 -2
  65. package/src/tools/exec/tools.ts +16 -2
  66. package/src/types/events.ts +2 -2
  67. package/src/types/turn-origin.ts +6 -2
  68. package/web/dist/apple-touch-icon.png +0 -0
  69. package/web/dist/assets/{index-CrkkIfd9.js → index-Cl1xtY5g.js} +131 -126
  70. package/web/dist/assets/index-Cl1xtY5g.js.map +1 -0
  71. package/web/dist/assets/{index-BA5mmiV0.css → index-D0q6NZer.css} +1 -1
  72. package/web/dist/favicon-48.png +0 -0
  73. package/web/dist/favicon.ico +0 -0
  74. package/web/dist/favicon.svg +1 -8
  75. package/web/dist/index.html +6 -2
  76. package/web-mobile/dist/apple-touch-icon.png +0 -0
  77. package/web-mobile/dist/assets/index-BpsX8_mX.js +88 -0
  78. package/web-mobile/dist/assets/index-BpsX8_mX.js.map +1 -0
  79. package/web-mobile/dist/assets/index-DZXivrMo.css +1 -0
  80. package/web-mobile/dist/favicon-48.png +0 -0
  81. package/web-mobile/dist/favicon.ico +0 -0
  82. package/web-mobile/dist/favicon.svg +1 -8
  83. package/web-mobile/dist/icon-192.png +0 -0
  84. package/web-mobile/dist/icon-512.png +0 -0
  85. package/web-mobile/dist/index.html +5 -3
  86. package/web-mobile/dist/manifest.webmanifest +2 -2
  87. package/web/dist/assets/index-CrkkIfd9.js.map +0 -1
  88. package/web-mobile/dist/assets/index-BqKt7IMx.css +0 -1
  89. package/web-mobile/dist/assets/index-X_vRr6cd.js +0 -88
  90. package/web-mobile/dist/assets/index-X_vRr6cd.js.map +0 -1
package/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  <p align="center">
2
- <img src="docs/images/somora-hero.png" alt="somora — agent runtime. Run. Rest. Dream. Agents that dream of what they did and never forget." />
2
+ <img src="docs/images/somora-hero.png" alt="somora.ai — Build your own AI team. Local-first agents that never forget." />
3
3
  </p>
4
4
 
5
5
  # somora 🐨
@@ -15,6 +15,8 @@
15
15
  [![Status: active dev](https://img.shields.io/badge/status-active%20dev-green.svg)](#status)
16
16
  [![Node ≥22](https://img.shields.io/badge/node-%E2%89%A522-brightgreen.svg)](#requirements)
17
17
 
18
+ **[Website](https://somora.ai) · [Documentation](https://docs.somora.ai) · [npm](https://www.npmjs.com/package/somora)**
19
+
18
20
  ## Install
19
21
 
20
22
  ```bash
@@ -359,7 +361,8 @@ Anything else can talk to the server the same way the clients do:
359
361
  ## Documentation
360
362
 
361
363
  Start at [docs/index.md](docs/index.md): what somora is, which page to read
362
- for which goal, and every concept in one sentence.
364
+ for which goal, and every concept in one sentence. The same pages, rendered
365
+ and searchable: [docs.somora.ai](https://docs.somora.ai).
363
366
 
364
367
  - **Get running:** [setup](docs/setup.md) · [models](docs/models.md) · [agents](docs/agents.md) · [team](docs/team.md) · [security](docs/security.md)
365
368
  - **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)
@@ -27,6 +27,14 @@ server:
27
27
  # systemd unit does NOT — the update rebakes the unit and drops it).
28
28
  host: 127.0.0.1
29
29
  port: 18737
30
+ # Who is woken after a restart to check the outcome and carry on:
31
+ # requested (default) — the session that asked for the restart
32
+ # (`somora server restart` / `somora update` run by
33
+ # an agent wait for the end of its turn) or that
34
+ # visibly restarted the server from its own turn
35
+ # all — also every other turn the restart cut
36
+ # off — nobody; cut turns are only marked
37
+ # resumeAfterRestart: requested
30
38
  # HTTPS (HTTP/2). `somora setup access` writes this block for Tailscale;
31
39
  # by hand see docs/setup.md → HTTPS. `renew: tailscale` lets the server
32
40
  # renew the certificate itself and load it without a restart.
@@ -754,11 +762,12 @@ providers:
754
762
  # enabled: true
755
763
  # intervalHours: 12
756
764
  # model: opus # worker model ref (alias or provider/model)
765
+ # fallback: [gpt56] # backup(s) when `model` is unreachable — best on another provider
757
766
  # lucid:
758
767
  # enabled: true
759
768
  # intervalDays: 7
760
769
  # model: opus
761
- # requireApproval: true
770
+ # fallback: [gpt56]
762
771
 
763
772
  # Workspace — default cwd for file_* tools. NOT a sandbox: agents can
764
773
  # also write outside (their own persona files, the global config).