omnius 1.0.891 → 1.0.893

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.
@@ -17,18 +17,20 @@ import {
17
17
  fstatSync,
18
18
  fsyncSync,
19
19
  lstatSync,
20
+ readlinkSync,
20
21
  mkdirSync,
21
22
  openSync,
22
23
  readFileSync,
23
24
  readSync,
24
25
  renameSync,
25
26
  statSync,
27
+ symlinkSync,
26
28
  unlinkSync,
27
29
  writeFileSync,
28
30
  writeSync
29
31
  } from "node:fs";
30
32
  import { homedir } from "node:os";
31
- import { dirname, isAbsolute, join, resolve } from "node:path";
33
+ import { dirname, isAbsolute, join, relative, resolve } from "node:path";
32
34
 
33
35
  // packages/cli/src/service-version.ts
34
36
  var OmniusVersionError = class extends Error {
@@ -23971,7 +23971,7 @@
23971
23971
  "id": "command.gpu",
23972
23972
  "kind": "command",
23973
23973
  "title": "/gpu",
23974
- "summary": "Select enabled GPUs with arrow keys and Space",
23974
+ "summary": "Select enabled GPUs and CPU offload with arrow keys and Space",
23975
23975
  "aliases": [
23976
23976
  "/gpu",
23977
23977
  "gpu"
@@ -24005,7 +24005,7 @@
24005
24005
  "signatures": [
24006
24006
  {
24007
24007
  "signature": "/gpu",
24008
- "description": "Select enabled GPUs with arrow keys and Space"
24008
+ "description": "Select enabled GPUs and CPU offload with arrow keys and Space"
24009
24009
  },
24010
24010
  {
24011
24011
  "signature": "/gpu status|reset",
@@ -33200,6 +33200,36 @@
33200
33200
  }
33201
33201
  ]
33202
33202
  },
33203
+ {
33204
+ "id": "guide.rea",
33205
+ "kind": "guide",
33206
+ "title": "REA reverse engineering",
33207
+ "summary": "Omnius includes rea-agents 6.7.0 as a required dependency, with the matching MIT-licensed investigation skill and reference guides. The REA documentation describes its supported targets and analysis providers.",
33208
+ "keywords": [
33209
+ "rea",
33210
+ "md"
33211
+ ],
33212
+ "maturity": "stable",
33213
+ "audiences": [
33214
+ "user",
33215
+ "integrator",
33216
+ "coding-agent"
33217
+ ],
33218
+ "layer": "documentation",
33219
+ "interfaces": [
33220
+ {
33221
+ "type": "file",
33222
+ "target": "docs/rea.md"
33223
+ }
33224
+ ],
33225
+ "references": [
33226
+ {
33227
+ "type": "documentation",
33228
+ "target": "docs/rea.md",
33229
+ "relation": "canonical-artifact"
33230
+ }
33231
+ ]
33232
+ },
33203
33233
  {
33204
33234
  "id": "guide.reference-auth-map",
33205
33235
  "kind": "guide",
package/docs/DISCOVERY.md CHANGED
@@ -330,7 +330,7 @@ Daemon equivalents are `GET /v1/discovery/bootstrap`, `GET /v1/discovery?q=<inte
330
330
  | `command.flow` | /flow | Toggle FlowState protocol - immediate action, tight loops, goal clarity |
331
331
  | `command.fortemi` | /fortemi | Manage Fortemi React bridge integration |
332
332
  | `command.full-send-bless` | /full-send-bless | Infinite warm loop - DMN self-reflection chains tasks autonomously |
333
- | `command.gpu` | /gpu | Select enabled GPUs with arrow keys and Space |
333
+ | `command.gpu` | /gpu | Select enabled GPUs and CPU offload with arrow keys and Space |
334
334
  | `command.hangup` | /hangup | End active call session |
335
335
  | `command.help` | /help | Show this help |
336
336
  | `command.hf` | /hf | Show HF token status (set / not set) |
@@ -506,6 +506,7 @@ Daemon equivalents are `GET /v1/discovery/bootstrap`, `GET /v1/discovery?q=<inte
506
506
  | `guide.proposals-opencode-modules-compaction-agent-uppercase` | Compaction Agent | Bundled Omnius documentation artifact: docs/proposals/opencode-modules/compactionAgent.ts. |
507
507
  | `guide.proposals-opencode-modules-orchestrator` | Orchestrator | Bundled Omnius documentation artifact: docs/proposals/opencode-modules/orchestrator.ts. |
508
508
  | `guide.proposals-opencode-modules-runner` | Runner | Bundled Omnius documentation artifact: docs/proposals/opencode-modules/runner.ts. |
509
+ | `guide.rea` | REA reverse engineering | Omnius includes rea-agents 6.7.0 as a required dependency, with the matching MIT-licensed investigation skill and reference guides. The REA documentation describes its supported targets and analysis providers. |
509
510
  | `guide.reference-auth-map` | Authentication And Authorization Map | Omnius has two separate credential boundaries: |
510
511
  | `guide.reference-configuration` | Configuration Reference | Configuration is layered from environment, global user settings, project settings, and active TUI state. |
511
512
  | `guide.reference-omni-analysis` | Omni media analysis | Omnius uses an explicitly configured Omni adapter for genuine audio and video comprehension. A model name containing -omni does not add audio/video execution to stock Ollama: the adapter must decode the media and run the corresponding model/projector weights. An unavailable runtime is an unavailable capability, never a reason to substitute synthetic observat |
package/docs/rea.md ADDED
@@ -0,0 +1,39 @@
1
+ # REA reverse engineering
2
+
3
+ Omnius includes [`rea-agents` 6.7.0](https://www.npmjs.com/package/rea-agents/v/6.7.0)
4
+ as a required dependency, with the matching MIT-licensed investigation skill
5
+ and reference guides. The [REA documentation](https://rea.tools/) describes its
6
+ supported targets and analysis providers.
7
+
8
+ ```sh
9
+ omnius rea status --json
10
+ omnius rea analyze-javascript-application "/absolute/path/to/app" --json
11
+ omnius rea --help
12
+ ```
13
+
14
+ `omnius rea` runs the installed package directly. It preserves trailing arguments
15
+ and exit status, requires no model server, and performs no additional npm
16
+ download or setup. Static JavaScript/Electron inspection does not need a native
17
+ decompiler. Native routes use existing provider configuration; Omnius does not
18
+ install Ghidra, Java, Hopper, IDA, or other engines automatically. REA's optional
19
+ native providers keep their own prerequisites.
20
+
21
+ The `omnius-rea` and `reverse-engineer-anything` skills appear in normal skill
22
+ discovery from any working directory. Only their metadata enters the skill
23
+ listing; their bodies and reference guides load when selected. Project-local
24
+ skills retain precedence. The shipped `assets/rea/UPSTREAM.json` records the
25
+ upstream release integrity and checksums of the original skill and license.
26
+
27
+ For an MCP connection, `omnius rea mcp-config` prints the exact installed stdio
28
+ binding without changing any client configuration. `omnius rea --mcp` starts that
29
+ server with unmodified protocol streams. Use the existing MCP onboarding path
30
+ when a task benefits from that connection. Ordinary tasks do not start REA or
31
+ load its full tool catalog.
32
+
33
+ The upstream `omnius rea mcp add` and `omnius rea mcp doctor` commands retain
34
+ their registration and connection-diagnostic behavior and arguments.
35
+
36
+ Begin with the user's explicit artifact or capture. Keep static observations,
37
+ runtime observations, inferences, and unknowns distinct. Preserve evidence
38
+ identities and coverage limits; execute a target only within the requested
39
+ investigation's scope.
@@ -18,6 +18,7 @@ Configuration is layered from environment, global user settings, project setting
18
18
  | `OMNIUS_DAEMON` | Start in daemon mode when set to `1` |
19
19
  | `OMNIUS_FORCE_NO_THINK` | Force `think: false` for Qwen-style backends |
20
20
  | `OMNIUS_THINK_AUTO` | Enable opt-in automatic thinking mode trigger |
21
+ | `OMNIUS_CPU_OFFLOAD_ALLOWED` | `1` permits native Ollama CPU overflow; any other explicit value disables it. When absent, use saved `cpuOffloadAllowed` (default `false`) |
21
22
  | `OMNIUS_TG_LATENCY_TARGET_MS` | Desired end-to-end Telegram reply time (default `30000`) |
22
23
  | `OMNIUS_TG_LATENCY_HARD_MS` | Trial a leaner Telegram chat profile after this total latency (default `60000`) |
23
24
  | `OMNIUS_TG_LATENCY_MIN_SAMPLES` | Receipt-valid samples required to retain a leaner profile (default `3`) |
@@ -77,6 +78,26 @@ remains saved but disabled until a protocol is selected.
77
78
 
78
79
  ## Runtime State
79
80
 
81
+ ### GPU selection and CPU offload
82
+
83
+ Open `/gpu`, use Space to toggle devices or **CPU offload OK**, then Enter to
84
+ save. Escape cancels. The ordered `gpuEnabledUuids` setting limits native broker
85
+ requests to those devices; enabling two or more lets the broker split a model
86
+ across them. The preferred device does not restrict the request to one GPU.
87
+
88
+ `cpuOffloadAllowed` defaults to `false`. When enabled, native Ollama requests
89
+ permit overflow layers in system RAM. The broker still prefers full GPU
90
+ placement. A model larger than the enabled GPUs' combined physical capacity
91
+ can use an exclusive GPU scope with CPU overflow after host and service memory
92
+ checks. GPU selection and CPU permission have independent project/global
93
+ settings, and `/gpu reset` resets only the GPU selection. An empty GPU selection
94
+ still disables CUDA; CPU permission does not enable CPU-only fallback.
95
+
96
+ The broker advertises support through its discovery endpoint. Older brokers
97
+ must be updated before accepting CPU overflow. Remote OpenAI and Anthropic
98
+ providers do not receive this host policy. Changes apply to future requests;
99
+ existing model placement is not migrated.
100
+
80
101
  Project runtime state:
81
102
 
82
103
  ```text
@@ -19,12 +19,12 @@ Command metadata drives the TUI, REST command proxy, gateway exposure, and agent
19
19
  | Sessions And Control | 16 |
20
20
  | Runtime | 14 |
21
21
  | Media | 11 |
22
- | Network And P2P | 11 |
22
+ | Network And P2P | 12 |
23
23
  | Memory And Context | 3 |
24
24
  | Tools And Skills | 6 |
25
25
  | External Gateways | 2 |
26
26
  | Secrets | 2 |
27
- | Interface | 10 |
27
+ | Interface | 12 |
28
28
  | Administration | 2 |
29
29
  | Planned | 8 |
30
30
 
@@ -522,7 +522,7 @@ Open sound-effect model/setup menu
522
522
  | Status | implemented |
523
523
  | Surfaces | tui, rest, gateway, agentTool |
524
524
  | Safety | none |
525
- | Aliases | - |
525
+ | Aliases | /audio |
526
526
  | Args | - |
527
527
  | Subcommands | --model, setup, list |
528
528
 
@@ -1048,7 +1048,7 @@ Show or manage the local API daemon
1048
1048
  Signatures:
1049
1049
 
1050
1050
  - `/daemon` - Show or manage the local API daemon
1051
- - `/daemon &lt;start\|stop\|restart\|takeover&gt;` - Control the local API daemon
1051
+ - `/daemon &lt;status\|diagnostics\|start\|stop\|restart\|takeover&gt;` - Inspect startup diagnostics or control the local API daemon
1052
1052
 
1053
1053
  ### /debug
1054
1054
 
@@ -1114,7 +1114,7 @@ Signatures:
1114
1114
 
1115
1115
  ### /gpu
1116
1116
 
1117
- Select enabled GPUs with arrow keys and Space
1117
+ Select enabled GPUs and CPU offload with arrow keys and Space
1118
1118
 
1119
1119
  | Field | Value |
1120
1120
  | --- | --- |
@@ -1124,12 +1124,13 @@ Select enabled GPUs with arrow keys and Space
1124
1124
  | Safety | userOnly |
1125
1125
  | Aliases | - |
1126
1126
  | Args | - |
1127
- | Subcommands | - |
1127
+ | Subcommands | select |
1128
1128
 
1129
1129
  Signatures:
1130
1130
 
1131
- - `/gpu` - Select enabled GPUs with arrow keys and Space
1131
+ - `/gpu` - Select enabled GPUs and CPU offload with arrow keys and Space
1132
1132
  - `/gpu status\|reset` - Inspect or reset the host-local GPU policy
1133
+ - `/gpu select &lt;UUID&gt;` - Open the GPU policy selector focused on a device
1133
1134
 
1134
1135
  ### /parallel
1135
1136
 
@@ -1554,7 +1555,7 @@ Signatures:
1554
1555
 
1555
1556
  ### /endpoint
1556
1557
 
1557
- Show current endpoint
1558
+ Select an endpoint or provider
1558
1559
 
1559
1560
  | Field | Value |
1560
1561
  | --- | --- |
@@ -1568,8 +1569,8 @@ Show current endpoint
1568
1569
 
1569
1570
  Signatures:
1570
1571
 
1571
- - `/endpoint` - Show current endpoint
1572
- - `/endpoint &lt;url&gt;` - Set backend URL (auto-detects type)
1572
+ - `/endpoint` - Select an endpoint or provider
1573
+ - `/endpoint &lt;provider\|alias\|url&gt;` - Set a provider name, alias, or backend URL
1573
1574
  - `/endpoint &lt;url&gt; --auth &lt;t&gt;` - Set endpoint with Bearer auth
1574
1575
  - `/endpoint sponsor` - Browse and connect to sponsored inference from the nexus mesh
1575
1576
 
@@ -1634,6 +1635,24 @@ Signatures:
1634
1635
  - `/ipfs share &lt;tool\|skill&gt; &lt;name&gt;` - Share a tool or skill through IPFS
1635
1636
  - `/ipfs import &lt;cid&gt;` - Import a shared IPFS tool or skill reference
1636
1637
 
1638
+ ### /mesh
1639
+
1640
+ Inspect trusted inference mesh routing and public identity
1641
+
1642
+ | Field | Value |
1643
+ | --- | --- |
1644
+ | Category | Network And P2P |
1645
+ | Status | implemented |
1646
+ | Surfaces | tui, rest, gateway, agentTool |
1647
+ | Safety | none |
1648
+ | Aliases | - |
1649
+ | Args | [status\|identity] |
1650
+ | Subcommands | - |
1651
+
1652
+ Signatures:
1653
+
1654
+ - `/mesh [status\|identity]` - Inspect trusted inference mesh routing and public identity
1655
+
1637
1656
  ### /network
1638
1657
 
1639
1658
  Quick network access helper
@@ -1700,21 +1719,22 @@ Signatures:
1700
1719
 
1701
1720
  ### /provider
1702
1721
 
1703
- Show or select provider profile
1722
+ Configure rate-limited inference sponsorship to the mesh
1704
1723
 
1705
1724
  | Field | Value |
1706
1725
  | --- | --- |
1707
1726
  | Category | Network And P2P |
1708
- | Status | planned |
1727
+ | Status | implemented |
1709
1728
  | Surfaces | tui |
1710
- | Safety | none |
1729
+ | Safety | userOnly, networked, secretBearing, profileGated |
1711
1730
  | Aliases | - |
1712
1731
  | Args | - |
1713
- | Subcommands | - |
1732
+ | Subcommands | status |
1714
1733
 
1715
1734
  Signatures:
1716
1735
 
1717
- - `/provider` - Show or select provider profile
1736
+ - `/provider` - Configure rate-limited inference sponsorship to the mesh
1737
+ - `/provider status` - Inspect saved and active mesh provider state
1718
1738
 
1719
1739
  ### /sponsor
1720
1740
 
@@ -2043,7 +2063,7 @@ Signatures:
2043
2063
 
2044
2064
  ### /color
2045
2065
 
2046
- Show or configure colors (Omnius Earth by default)
2066
+ Use terminal colors and thin section rules
2047
2067
 
2048
2068
  | Field | Value |
2049
2069
  | --- | --- |
@@ -2057,10 +2077,10 @@ Show or configure colors (Omnius Earth by default)
2057
2077
 
2058
2078
  Signatures:
2059
2079
 
2060
- - `/color` - Show or configure colors (Omnius Earth by default)
2061
- - `/color status` - Show TUI chrome effect settings
2062
- - `/color frill on\|off\|toggle\|status` - Control ornamental TUI button ends
2063
- - `/color flow on\|off\|toggle\|status` - Control animated and gradient-flowing box borders
2080
+ - `/color` - Use terminal colors and thin section rules
2081
+ - `/color status` - Show terminal appearance preferences
2082
+ - `/color frill on\|off\|toggle\|status` - Legacy text ornament preference
2083
+ - `/color flow on\|off\|toggle\|status` - Legacy border animation preference
2064
2084
  - `/theme` - Alias for /color
2065
2085
 
2066
2086
  ### /emojis
@@ -2081,6 +2101,24 @@ Signatures:
2081
2101
 
2082
2102
  - `/emojis` - Toggle emoji rendering in TUI messages
2083
2103
 
2104
+ ### /enhance
2105
+
2106
+ Enhance a prompt into the input editor
2107
+
2108
+ | Field | Value |
2109
+ | --- | --- |
2110
+ | Category | Interface |
2111
+ | Status | implemented |
2112
+ | Surfaces | tui |
2113
+ | Safety | userOnly, networked |
2114
+ | Aliases | - |
2115
+ | Args | &lt;prompt&gt; |
2116
+ | Subcommands | - |
2117
+
2118
+ Signatures:
2119
+
2120
+ - `/enhance &lt;prompt&gt;` - Enhance a prompt into the input editor
2121
+
2084
2122
  ### /indicator
2085
2123
 
2086
2124
  Start the native system indicator and report readiness
@@ -2132,7 +2170,7 @@ Toggle embedded Neovim editor (Ctrl+N to switch focus)
2132
2170
  | Status | implemented |
2133
2171
  | Surfaces | tui, rest, gateway, agentTool |
2134
2172
  | Safety | none |
2135
- | Aliases | /nvim, /vim |
2173
+ | Aliases | /nvim |
2136
2174
  | Args | - |
2137
2175
  | Subcommands | - |
2138
2176
 
@@ -2141,7 +2179,6 @@ Signatures:
2141
2179
  - `/neovim` - Toggle embedded Neovim editor (Ctrl+N to switch focus)
2142
2180
  - `/neovim &lt;file&gt;` - Open file in embedded Neovim editor
2143
2181
  - `/nvim &lt;file&gt;` - Alias for /neovim &lt;file&gt;
2144
- - `/vim &lt;file&gt;` - Alias for /neovim &lt;file&gt;
2145
2182
 
2146
2183
  ### /personality
2147
2184
 
@@ -2234,6 +2271,25 @@ Signatures:
2234
2271
  - `/statusbar` - Configure the status bar
2235
2272
  - `/sb` - Alias for /statusbar
2236
2273
 
2274
+ ### /vim
2275
+
2276
+ Toggle Vim composer editing (Esc normal; i insert)
2277
+
2278
+ | Field | Value |
2279
+ | --- | --- |
2280
+ | Category | Interface |
2281
+ | Status | implemented |
2282
+ | Surfaces | tui, rest, gateway, agentTool |
2283
+ | Safety | none |
2284
+ | Aliases | - |
2285
+ | Args | - |
2286
+ | Subcommands | - |
2287
+
2288
+ Signatures:
2289
+
2290
+ - `/vim` - Toggle Vim composer editing (Esc normal; i insert)
2291
+ - `/vim on\|off\|status` - Set or inspect Vim composer editing
2292
+
2237
2293
 
2238
2294
  ## Administration
2239
2295