omnirush 0.8.6 → 0.9.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.
Files changed (54) hide show
  1. package/assets/CHANGELOG.md +120 -0
  2. package/assets/extensions/omnirush/agents-lib.ts +501 -63
  3. package/assets/extensions/omnirush/agents.ts +140 -115
  4. package/assets/extensions/omnirush/bgshell-lib.ts +432 -0
  5. package/assets/extensions/omnirush/bgshell.ts +392 -0
  6. package/assets/extensions/omnirush/capture/workspace-collector.ts +86 -22
  7. package/assets/extensions/omnirush/collector.ts +275 -43
  8. package/assets/extensions/omnirush/commands.ts +2 -0
  9. package/assets/extensions/omnirush/deliveries.ts +145 -0
  10. package/assets/extensions/omnirush/guard/UPSTREAM +2 -0
  11. package/assets/extensions/omnirush/guard/git-command-policy.ts +885 -0
  12. package/assets/extensions/omnirush/guard-lib.ts +230 -0
  13. package/assets/extensions/omnirush/guard.ts +340 -0
  14. package/assets/extensions/omnirush/index.ts +32 -6
  15. package/assets/extensions/omnirush/mcp.ts +103 -8
  16. package/assets/extensions/omnirush/memory-lib.ts +516 -0
  17. package/assets/extensions/omnirush/pi-engine.ts +115 -3
  18. package/assets/extensions/omnirush/plan-lib.ts +38 -9
  19. package/assets/extensions/omnirush/plan.ts +85 -30
  20. package/assets/extensions/omnirush/sota.ts +52 -4
  21. package/assets/extensions/omnirush/status-lib.ts +3 -0
  22. package/assets/extensions/omnirush/subagent-marker.ts +21 -0
  23. package/assets/extensions/omnirush/subagents-lib.ts +623 -0
  24. package/assets/extensions/omnirush/subagents.ts +305 -0
  25. package/assets/extensions/omnirush/swarm-lib.ts +142 -0
  26. package/assets/extensions/omnirush/swarm.ts +95 -0
  27. package/assets/extensions/omnirush/voice/capture.ts +502 -0
  28. package/assets/extensions/omnirush/voice/core/UPSTREAM +16 -0
  29. package/assets/extensions/omnirush/voice/core/file-source.ts +70 -0
  30. package/assets/extensions/omnirush/voice/core/index.ts +21 -0
  31. package/assets/extensions/omnirush/voice/core/keyterms.ts +117 -0
  32. package/assets/extensions/omnirush/voice/core/resample.ts +63 -0
  33. package/assets/extensions/omnirush/voice/core/segmenter.ts +231 -0
  34. package/assets/extensions/omnirush/voice/core/session.ts +403 -0
  35. package/assets/extensions/omnirush/voice/core/text.ts +81 -0
  36. package/assets/extensions/omnirush/voice/core/transcriber.ts +135 -0
  37. package/assets/extensions/omnirush/voice/core/types.ts +102 -0
  38. package/assets/extensions/omnirush/voice/core/wav.ts +95 -0
  39. package/assets/extensions/omnirush/voice/keys.ts +435 -0
  40. package/assets/extensions/omnirush/voice/kitty.ts +64 -0
  41. package/assets/extensions/omnirush/voice/pvrecorder-worker.cjs +43 -0
  42. package/assets/extensions/omnirush/voice/settings.ts +67 -0
  43. package/assets/extensions/omnirush/voice.ts +838 -0
  44. package/assets/extensions/omnirush/yolo-lib.ts +80 -0
  45. package/assets/extensions/omnirush/yolo.ts +85 -0
  46. package/package.json +7 -3
  47. package/scripts/brand-engine.js +526 -0
  48. package/scripts/build-all-packages.py +29 -1
  49. package/scripts/smoke-packages.py +33 -1
  50. package/src/bin.js +232 -33
  51. package/src/compat.js +272 -0
  52. package/src/lib.js +64 -0
  53. package/src/sessions.js +222 -0
  54. package/scripts/patch-pi-branding.js +0 -251
@@ -0,0 +1,120 @@
1
+ # Omnirush CLI release notes
2
+
3
+ Shown by `/changelog` inside the agent and after an update. Newest first;
4
+ keep entries free of links (the agent core rewrites relative links).
5
+
6
+ ## [0.9.1]
7
+
8
+ ### Added
9
+ - Sub-agents can hand parts of their task to sub-agents of their own, up
10
+ to three layers below your session, as in the desktop app. The third
11
+ layer does its work itself, and every layer is recorded in the session
12
+ with who started whom.
13
+ - Sub-agents start as memory allows. There is still no limit on how many
14
+ run at once, but a sub-agent only starts while your machine keeps enough
15
+ memory free (a fifth of its RAM) and all of omnirush's agents together
16
+ stay under half of it; the others wait, shown as "queued: waiting for
17
+ memory", and start as memory frees up. When memory gets critically low
18
+ (under a tenth of RAM) no new sub-agent starts and omnirush tells you;
19
+ the running ones carry on. `/agents memory` shows the numbers.
20
+ `OMNIRUSH_AGENT_MIN_FREE`, `OMNIRUSH_AGENT_MEMORY_BUDGET` and
21
+ `OMNIRUSH_AGENT_CRITICAL_FREE` (for example `25%` or `6G`), or
22
+ `"subagentMemory"` in `~/.omnirush/settings.json`, change the limits;
23
+ `OMNIRUSH_AGENT_MEMORY=off` turns this off.
24
+
25
+ ### Changed
26
+ - Far less memory with many sub-agents and in long sessions: sub-agent
27
+ output is read as it streams, sub-agents leave out what only your session
28
+ uses and start an MCP server only when they call one of its tools, and
29
+ finished shell commands no longer hold their output.
30
+ - `/resume` and `--continue` show only your own sessions. Sub-agents keep
31
+ their sessions in a `subagents` folder next to yours, and the ones older
32
+ versions left among your sessions are moved there on the next start.
33
+ - Every turn's prompt in your session trace is exactly what you typed. A
34
+ sub-agent's task, or a message an extension sends, is no longer shown as
35
+ your prompt.
36
+ - The task list in the footer reads `tasks 2/4 · ▸ <current task>` and no
37
+ longer looks like a mode. It says when the agent has not updated it for a
38
+ while, shows `idle` when a reply leaves it unfinished, clears when every
39
+ task is done, and only shows the current session's list.
40
+
41
+ ## [0.9.0]
42
+
43
+ ### Added
44
+ - Voice mode: `/voice` turns on dictation. Hold Space to talk and your words
45
+ are typed into the prompt at the cursor as you speak, ready to edit before
46
+ you send. Esc cancels and puts your draft back. `/voice tap` toggles with a
47
+ tap instead, `/voice key <key>` picks another key, `/voice auto-send on`
48
+ sends dictations of three words or more when you let go, and `/voice off`
49
+ turns it off. Audio is never saved to disk and never becomes part of your
50
+ session; only the text you send does.
51
+ - Long shell commands no longer get killed. A command still running after
52
+ five minutes (or the time the agent asked for) keeps going in the
53
+ background and its output arrives when it finishes; servers, watchers and
54
+ long builds can start in the background right away. `/jobs` lists them and
55
+ `/jobs kill <id|all>` stops them. `OMNIRUSH_BASH_FOREGROUND_SECONDS`
56
+ changes the five minutes.
57
+ - `/subagents` picks the model and effort sub-agents run on, as in the
58
+ desktop app: `/subagents model <id|same>`, `/subagents effort <level|same>`
59
+ and `/subagents reset`. The choice is remembered for the next runs;
60
+ `--subagent-model` / `--subagent-effort` (or `OMNIRUSH_SUBAGENT_MODEL` /
61
+ `OMNIRUSH_SUBAGENT_EFFORT`) set it for one run. If your account cannot use
62
+ the picked model, sub-agents run on your main model and say so. A task's
63
+ own `model:effort` still wins over the pick.
64
+ - Swarms: when you ask for a big job split across three or more sub-agents
65
+ (or ask for a swarm), omnirush coordinates them on a shared board in
66
+ `.omnirush/swarm.md` and archives it to `.omnirush/swarms/` when the swarm
67
+ ends. Smaller requests never create a board, and the board is kept out of
68
+ git.
69
+ - Guarded mode, on by default, as in the desktop app: before the agent
70
+ commits, pushes, rewrites git history, runs a destructive command
71
+ (`rm -rf`, `git reset --hard`, `git push --force` ...), uses `sudo`, reads
72
+ a `.env` file or touches files outside the project, omnirush shows you the
73
+ command and asks: allow once, allow for this session, or deny. Sub-agents
74
+ ask in the same place. Runs with `-p` cannot ask, so those calls are
75
+ blocked there with a note to rerun with `--yolo`.
76
+ - Yolo mode: `omnirush --yolo`, `/yolo on` or `/mode yolo` (remembered), or
77
+ `OMNIRUSH_YOLO=1`. Nothing asks, every command is allowed and the project
78
+ folder is trusted. The footer, `/status` and `/mode` show which mode you
79
+ are in.
80
+
81
+ ### Changed
82
+ - Omnirush everywhere: every screen, help page, message, file name and
83
+ update note now says omnirush.
84
+ - Your agent data (sessions, settings, models.json, provider logins,
85
+ installed packages) now lives in `~/.omnirush/agent`. It is copied over
86
+ automatically the first time 0.9.0 starts; the previous folder is left
87
+ untouched, and `--continue` and `/resume` find your earlier sessions.
88
+ - Project settings live in `<project>/.omnirush/`. A project that still has
89
+ its settings in the folder older versions used keeps working unchanged.
90
+ - Environment variables: every agent setting can be set as `OMNIRUSH_<NAME>`
91
+ (for example `OMNIRUSH_CACHE_RETENTION`); the older names still work.
92
+ `OMNIRUSH_AGENT_DIR` moves the agent data folder.
93
+
94
+ ### Removed
95
+ - `/bug` and `/share`: omnirush no longer sends reports, sessions, install
96
+ reports, analytics or version checks to the agent core's upstream service.
97
+
98
+ ## [0.8.6]
99
+
100
+ ### Added
101
+ - Sub-agents run on your session's current model and effort, and a task can
102
+ name its own as `model:effort` (for example `gpt-6-sol:high`).
103
+ - A footer line shows your sub-agents while they run: how many are running,
104
+ queued and finished.
105
+
106
+ ### Fixed
107
+ - No more false "this device's session is no longer valid" after another
108
+ omnirush process refreshed the sign-in.
109
+
110
+ ## [0.8.1]
111
+
112
+ ### Added
113
+ - GPT 6 Sol, and the model list now comes from the gateway's catalog, as in
114
+ the desktop app.
115
+
116
+ ## [0.8.0]
117
+
118
+ ### Added
119
+ - Session capture in the desktop app's format, with sub-agents and project
120
+ archives.