omnius 1.0.778 → 1.0.780
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/dist/index.js +2 -2
- package/docs/DISCOVERY.json +86 -12
- package/docs/DISCOVERY.md +2 -1
- package/npm-shrinkwrap.json +328 -9
- package/package.json +3 -2
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
[diffend] Oversized file quarantined before diffing.
|
|
2
2
|
name: package/dist/index.js
|
|
3
|
-
size:
|
|
4
|
-
sha256:
|
|
3
|
+
size: 39103653 bytes
|
|
4
|
+
sha256: b0db5a6439c0354111bb59a4c799cd53038a53e4bb8c23c483b3fc95ee622a4d
|
package/docs/DISCOVERY.json
CHANGED
|
@@ -24300,6 +24300,70 @@
|
|
|
24300
24300
|
"Allowing an autonomous agent to invoke it without an explicit user action"
|
|
24301
24301
|
]
|
|
24302
24302
|
},
|
|
24303
|
+
{
|
|
24304
|
+
"id": "command.new",
|
|
24305
|
+
"kind": "command",
|
|
24306
|
+
"title": "/new",
|
|
24307
|
+
"summary": "Start a fresh chat in the current project",
|
|
24308
|
+
"aliases": [
|
|
24309
|
+
"/new",
|
|
24310
|
+
"new"
|
|
24311
|
+
],
|
|
24312
|
+
"keywords": [
|
|
24313
|
+
"command",
|
|
24314
|
+
"session",
|
|
24315
|
+
"new"
|
|
24316
|
+
],
|
|
24317
|
+
"maturity": "stable",
|
|
24318
|
+
"layer": "interface",
|
|
24319
|
+
"audiences": [
|
|
24320
|
+
"user",
|
|
24321
|
+
"coding-agent",
|
|
24322
|
+
"integrator"
|
|
24323
|
+
],
|
|
24324
|
+
"interfaces": [
|
|
24325
|
+
{
|
|
24326
|
+
"type": "tui",
|
|
24327
|
+
"target": "/new"
|
|
24328
|
+
},
|
|
24329
|
+
{
|
|
24330
|
+
"type": "gateway-command",
|
|
24331
|
+
"target": "/new"
|
|
24332
|
+
}
|
|
24333
|
+
],
|
|
24334
|
+
"references": [
|
|
24335
|
+
{
|
|
24336
|
+
"type": "source",
|
|
24337
|
+
"target": "packages/cli/src/tui/command-registry.ts",
|
|
24338
|
+
"relation": "registry"
|
|
24339
|
+
}
|
|
24340
|
+
],
|
|
24341
|
+
"signatures": [
|
|
24342
|
+
{
|
|
24343
|
+
"signature": "/new",
|
|
24344
|
+
"description": "Start a fresh chat in the current project"
|
|
24345
|
+
}
|
|
24346
|
+
],
|
|
24347
|
+
"subcommands": [],
|
|
24348
|
+
"implementation_status": "implemented",
|
|
24349
|
+
"surfaces": {
|
|
24350
|
+
"tui": true,
|
|
24351
|
+
"rest": false,
|
|
24352
|
+
"gateway": true,
|
|
24353
|
+
"agentTool": false
|
|
24354
|
+
},
|
|
24355
|
+
"safety": {
|
|
24356
|
+
"userOnly": true,
|
|
24357
|
+
"destructive": false,
|
|
24358
|
+
"networked": false,
|
|
24359
|
+
"secretBearing": false,
|
|
24360
|
+
"profileGated": false
|
|
24361
|
+
},
|
|
24362
|
+
"avoid_when": [
|
|
24363
|
+
"Calling it through the REST command proxy; this command is not REST-exposed",
|
|
24364
|
+
"Allowing an autonomous agent to invoke it without an explicit user action"
|
|
24365
|
+
]
|
|
24366
|
+
},
|
|
24303
24367
|
{
|
|
24304
24368
|
"id": "command.nexus",
|
|
24305
24369
|
"kind": "command",
|
|
@@ -25762,7 +25826,7 @@
|
|
|
25762
25826
|
"id": "command.resume",
|
|
25763
25827
|
"kind": "command",
|
|
25764
25828
|
"title": "/resume",
|
|
25765
|
-
"summary": "Resume a paused
|
|
25829
|
+
"summary": "Resume a paused task or choose a saved project chat",
|
|
25766
25830
|
"aliases": [
|
|
25767
25831
|
"/resume",
|
|
25768
25832
|
"resume"
|
|
@@ -25799,7 +25863,11 @@
|
|
|
25799
25863
|
"signatures": [
|
|
25800
25864
|
{
|
|
25801
25865
|
"signature": "/resume",
|
|
25802
|
-
"description": "Resume a paused
|
|
25866
|
+
"description": "Resume a paused task or choose a saved project chat"
|
|
25867
|
+
},
|
|
25868
|
+
{
|
|
25869
|
+
"signature": "/resume <session>",
|
|
25870
|
+
"description": "Resume a saved project chat by id or title"
|
|
25803
25871
|
}
|
|
25804
25872
|
],
|
|
25805
25873
|
"subcommands": [],
|
|
@@ -26196,10 +26264,11 @@
|
|
|
26196
26264
|
"runtime",
|
|
26197
26265
|
"selfimprove",
|
|
26198
26266
|
"status",
|
|
26199
|
-
"
|
|
26267
|
+
"start",
|
|
26268
|
+
"stop",
|
|
26269
|
+
"disable",
|
|
26200
26270
|
"review",
|
|
26201
26271
|
"autonomous",
|
|
26202
|
-
"pause",
|
|
26203
26272
|
"rollback"
|
|
26204
26273
|
],
|
|
26205
26274
|
"maturity": "stable",
|
|
@@ -26236,8 +26305,16 @@
|
|
|
26236
26305
|
"description": "Show durable review/proposal backlog, leases, retries, and last error"
|
|
26237
26306
|
},
|
|
26238
26307
|
{
|
|
26239
|
-
"signature": "/selfimprove
|
|
26240
|
-
"description": "
|
|
26308
|
+
"signature": "/selfimprove start",
|
|
26309
|
+
"description": "Enable review mode and drain eligible work with the parent model"
|
|
26310
|
+
},
|
|
26311
|
+
{
|
|
26312
|
+
"signature": "/selfimprove stop",
|
|
26313
|
+
"description": "Disable processing while retaining the durable backlog"
|
|
26314
|
+
},
|
|
26315
|
+
{
|
|
26316
|
+
"signature": "/selfimprove disable",
|
|
26317
|
+
"description": "Alias for /selfimprove stop"
|
|
26241
26318
|
},
|
|
26242
26319
|
{
|
|
26243
26320
|
"signature": "/selfimprove review",
|
|
@@ -26247,10 +26324,6 @@
|
|
|
26247
26324
|
"signature": "/selfimprove autonomous",
|
|
26248
26325
|
"description": "Opt in to downstream candidate experiment and promotion orchestration"
|
|
26249
26326
|
},
|
|
26250
|
-
{
|
|
26251
|
-
"signature": "/selfimprove pause",
|
|
26252
|
-
"description": "Pause processing while retaining the durable backlog"
|
|
26253
|
-
},
|
|
26254
26327
|
{
|
|
26255
26328
|
"signature": "/selfimprove rollback <promotion-id> [reason]",
|
|
26256
26329
|
"description": "Restore the exact pre-promotion baseline and verify the rollback"
|
|
@@ -26258,10 +26331,11 @@
|
|
|
26258
26331
|
],
|
|
26259
26332
|
"subcommands": [
|
|
26260
26333
|
"status",
|
|
26261
|
-
"
|
|
26334
|
+
"start",
|
|
26335
|
+
"stop",
|
|
26336
|
+
"disable",
|
|
26262
26337
|
"review",
|
|
26263
26338
|
"autonomous",
|
|
26264
|
-
"pause",
|
|
26265
26339
|
"rollback"
|
|
26266
26340
|
],
|
|
26267
26341
|
"implementation_status": "implemented",
|
package/docs/DISCOVERY.md
CHANGED
|
@@ -340,6 +340,7 @@ Daemon equivalents are `GET /v1/discovery/bootstrap`, `GET /v1/discovery?q=<inte
|
|
|
340
340
|
| `command.music` | /music | Open music-generation model/setup menu |
|
|
341
341
|
| `command.neovim` | /neovim | Toggle embedded Neovim editor (Ctrl+N to switch focus) |
|
|
342
342
|
| `command.network` | /network | Quick network access helper |
|
|
343
|
+
| `command.new` | /new | Start a fresh chat in the current project |
|
|
343
344
|
| `command.nexus` | /nexus | Show nexus P2P network status |
|
|
344
345
|
| `command.ollama` | /ollama | Dry-run stale Ollama pool process cleanup |
|
|
345
346
|
| `command.p2p` | /p2p | Join the P2P agent mesh network |
|
|
@@ -359,7 +360,7 @@ Daemon equivalents are `GET /v1/discovery/bootstrap`, `GET /v1/discovery?q=<inte
|
|
|
359
360
|
| `command.reasoning` | /reasoning | Alias family for thinking/reasoning controls |
|
|
360
361
|
| `command.reload-mcp` | /reload-mcp | Reload MCP servers and tools |
|
|
361
362
|
| `command.reminder` | /reminder | List scoped TUI reminders |
|
|
362
|
-
| `command.resume` | /resume | Resume a paused
|
|
363
|
+
| `command.resume` | /resume | Resume a paused task or choose a saved project chat |
|
|
363
364
|
| `command.retry` | /retry | Retry the last submitted request |
|
|
364
365
|
| `command.rollback` | /rollback | List checkpoints or restore an explicit checkpoint when policy allows |
|
|
365
366
|
| `command.scheduler` | /scheduler | Scheduled tasks control panel (list/kill/toggle) |
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "omnius",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.780",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "omnius",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.780",
|
|
10
10
|
"bundleDependencies": [
|
|
11
11
|
"image-to-ascii"
|
|
12
12
|
],
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
"node": ">=22.0.0"
|
|
31
31
|
},
|
|
32
32
|
"optionalDependencies": {
|
|
33
|
+
"cli-highlight": "^2.1.11",
|
|
33
34
|
"moondream": "^0.2.0",
|
|
34
35
|
"neovim": "^5.4.0",
|
|
35
36
|
"node-pty": "^1.1.0",
|
|
@@ -2479,6 +2480,39 @@
|
|
|
2479
2480
|
"node": ">= 6.0.0"
|
|
2480
2481
|
}
|
|
2481
2482
|
},
|
|
2483
|
+
"node_modules/ansi-regex": {
|
|
2484
|
+
"version": "5.0.1",
|
|
2485
|
+
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
|
|
2486
|
+
"integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
|
|
2487
|
+
"license": "MIT",
|
|
2488
|
+
"optional": true,
|
|
2489
|
+
"engines": {
|
|
2490
|
+
"node": ">=8"
|
|
2491
|
+
}
|
|
2492
|
+
},
|
|
2493
|
+
"node_modules/ansi-styles": {
|
|
2494
|
+
"version": "4.3.0",
|
|
2495
|
+
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
|
|
2496
|
+
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
|
|
2497
|
+
"license": "MIT",
|
|
2498
|
+
"optional": true,
|
|
2499
|
+
"dependencies": {
|
|
2500
|
+
"color-convert": "^2.0.1"
|
|
2501
|
+
},
|
|
2502
|
+
"engines": {
|
|
2503
|
+
"node": ">=8"
|
|
2504
|
+
},
|
|
2505
|
+
"funding": {
|
|
2506
|
+
"url": "https://github.com/chalk/ansi-styles?sponsor=1"
|
|
2507
|
+
}
|
|
2508
|
+
},
|
|
2509
|
+
"node_modules/any-promise": {
|
|
2510
|
+
"version": "1.3.0",
|
|
2511
|
+
"resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz",
|
|
2512
|
+
"integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==",
|
|
2513
|
+
"license": "MIT",
|
|
2514
|
+
"optional": true
|
|
2515
|
+
},
|
|
2482
2516
|
"node_modules/any-signal": {
|
|
2483
2517
|
"version": "4.2.0",
|
|
2484
2518
|
"resolved": "https://registry.npmjs.org/any-signal/-/any-signal-4.2.0.tgz",
|
|
@@ -2845,12 +2879,63 @@
|
|
|
2845
2879
|
"cborg": "lib/bin.js"
|
|
2846
2880
|
}
|
|
2847
2881
|
},
|
|
2882
|
+
"node_modules/chalk": {
|
|
2883
|
+
"version": "4.1.2",
|
|
2884
|
+
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
|
|
2885
|
+
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
|
|
2886
|
+
"license": "MIT",
|
|
2887
|
+
"optional": true,
|
|
2888
|
+
"dependencies": {
|
|
2889
|
+
"ansi-styles": "^4.1.0",
|
|
2890
|
+
"supports-color": "^7.1.0"
|
|
2891
|
+
},
|
|
2892
|
+
"engines": {
|
|
2893
|
+
"node": ">=10"
|
|
2894
|
+
},
|
|
2895
|
+
"funding": {
|
|
2896
|
+
"url": "https://github.com/chalk/chalk?sponsor=1"
|
|
2897
|
+
}
|
|
2898
|
+
},
|
|
2848
2899
|
"node_modules/chownr": {
|
|
2849
2900
|
"version": "1.1.4",
|
|
2850
2901
|
"resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz",
|
|
2851
2902
|
"integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==",
|
|
2852
2903
|
"license": "ISC"
|
|
2853
2904
|
},
|
|
2905
|
+
"node_modules/cli-highlight": {
|
|
2906
|
+
"version": "2.1.11",
|
|
2907
|
+
"resolved": "https://registry.npmjs.org/cli-highlight/-/cli-highlight-2.1.11.tgz",
|
|
2908
|
+
"integrity": "sha512-9KDcoEVwyUXrjcJNvHD0NFc/hiwe/WPVYIleQh2O1N2Zro5gWJZ/K+3DGn8w8P/F6FxOgzyC5bxDyHIgCSPhGg==",
|
|
2909
|
+
"license": "ISC",
|
|
2910
|
+
"optional": true,
|
|
2911
|
+
"dependencies": {
|
|
2912
|
+
"chalk": "^4.0.0",
|
|
2913
|
+
"highlight.js": "^10.7.1",
|
|
2914
|
+
"mz": "^2.4.0",
|
|
2915
|
+
"parse5": "^5.1.1",
|
|
2916
|
+
"parse5-htmlparser2-tree-adapter": "^6.0.0",
|
|
2917
|
+
"yargs": "^16.0.0"
|
|
2918
|
+
},
|
|
2919
|
+
"bin": {
|
|
2920
|
+
"highlight": "bin/highlight"
|
|
2921
|
+
},
|
|
2922
|
+
"engines": {
|
|
2923
|
+
"node": ">=8.0.0",
|
|
2924
|
+
"npm": ">=5.0.0"
|
|
2925
|
+
}
|
|
2926
|
+
},
|
|
2927
|
+
"node_modules/cliui": {
|
|
2928
|
+
"version": "7.0.4",
|
|
2929
|
+
"resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz",
|
|
2930
|
+
"integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==",
|
|
2931
|
+
"license": "ISC",
|
|
2932
|
+
"optional": true,
|
|
2933
|
+
"dependencies": {
|
|
2934
|
+
"string-width": "^4.2.0",
|
|
2935
|
+
"strip-ansi": "^6.0.0",
|
|
2936
|
+
"wrap-ansi": "^7.0.0"
|
|
2937
|
+
}
|
|
2938
|
+
},
|
|
2854
2939
|
"node_modules/clone-regexp": {
|
|
2855
2940
|
"version": "3.0.0",
|
|
2856
2941
|
"resolved": "https://registry.npmjs.org/clone-regexp/-/clone-regexp-3.0.0.tgz",
|
|
@@ -3135,6 +3220,13 @@
|
|
|
3135
3220
|
"tweetnacl": "1.x.x"
|
|
3136
3221
|
}
|
|
3137
3222
|
},
|
|
3223
|
+
"node_modules/emoji-regex": {
|
|
3224
|
+
"version": "8.0.0",
|
|
3225
|
+
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
|
|
3226
|
+
"integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
|
|
3227
|
+
"license": "MIT",
|
|
3228
|
+
"optional": true
|
|
3229
|
+
},
|
|
3138
3230
|
"node_modules/enabled": {
|
|
3139
3231
|
"version": "2.0.0",
|
|
3140
3232
|
"resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz",
|
|
@@ -3202,6 +3294,16 @@
|
|
|
3202
3294
|
"node": ">= 0.4"
|
|
3203
3295
|
}
|
|
3204
3296
|
},
|
|
3297
|
+
"node_modules/escalade": {
|
|
3298
|
+
"version": "3.2.0",
|
|
3299
|
+
"resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz",
|
|
3300
|
+
"integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==",
|
|
3301
|
+
"license": "MIT",
|
|
3302
|
+
"optional": true,
|
|
3303
|
+
"engines": {
|
|
3304
|
+
"node": ">=6"
|
|
3305
|
+
}
|
|
3306
|
+
},
|
|
3205
3307
|
"node_modules/event-target-shim": {
|
|
3206
3308
|
"version": "5.0.1",
|
|
3207
3309
|
"resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz",
|
|
@@ -3397,6 +3499,16 @@
|
|
|
3397
3499
|
"url": "https://github.com/sponsors/sindresorhus"
|
|
3398
3500
|
}
|
|
3399
3501
|
},
|
|
3502
|
+
"node_modules/get-caller-file": {
|
|
3503
|
+
"version": "2.0.5",
|
|
3504
|
+
"resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
|
|
3505
|
+
"integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==",
|
|
3506
|
+
"license": "ISC",
|
|
3507
|
+
"optional": true,
|
|
3508
|
+
"engines": {
|
|
3509
|
+
"node": "6.* || 8.* || >= 10.*"
|
|
3510
|
+
}
|
|
3511
|
+
},
|
|
3400
3512
|
"node_modules/get-intrinsic": {
|
|
3401
3513
|
"version": "1.3.0",
|
|
3402
3514
|
"resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz",
|
|
@@ -3537,6 +3649,16 @@
|
|
|
3537
3649
|
"multiformats": "^14.0.0"
|
|
3538
3650
|
}
|
|
3539
3651
|
},
|
|
3652
|
+
"node_modules/has-flag": {
|
|
3653
|
+
"version": "4.0.0",
|
|
3654
|
+
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
|
|
3655
|
+
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
|
|
3656
|
+
"license": "MIT",
|
|
3657
|
+
"optional": true,
|
|
3658
|
+
"engines": {
|
|
3659
|
+
"node": ">=8"
|
|
3660
|
+
}
|
|
3661
|
+
},
|
|
3540
3662
|
"node_modules/has-symbols": {
|
|
3541
3663
|
"version": "1.1.0",
|
|
3542
3664
|
"resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz",
|
|
@@ -3629,6 +3751,16 @@
|
|
|
3629
3751
|
"multiformats": "^13.4.1"
|
|
3630
3752
|
}
|
|
3631
3753
|
},
|
|
3754
|
+
"node_modules/highlight.js": {
|
|
3755
|
+
"version": "10.7.3",
|
|
3756
|
+
"resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-10.7.3.tgz",
|
|
3757
|
+
"integrity": "sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A==",
|
|
3758
|
+
"license": "BSD-3-Clause",
|
|
3759
|
+
"optional": true,
|
|
3760
|
+
"engines": {
|
|
3761
|
+
"node": "*"
|
|
3762
|
+
}
|
|
3763
|
+
},
|
|
3632
3764
|
"node_modules/https-proxy-agent": {
|
|
3633
3765
|
"version": "5.0.1",
|
|
3634
3766
|
"resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz",
|
|
@@ -3854,6 +3986,16 @@
|
|
|
3854
3986
|
"node": ">=0.10.0"
|
|
3855
3987
|
}
|
|
3856
3988
|
},
|
|
3989
|
+
"node_modules/is-fullwidth-code-point": {
|
|
3990
|
+
"version": "3.0.0",
|
|
3991
|
+
"resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
|
|
3992
|
+
"integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
|
|
3993
|
+
"license": "MIT",
|
|
3994
|
+
"optional": true,
|
|
3995
|
+
"engines": {
|
|
3996
|
+
"node": ">=8"
|
|
3997
|
+
}
|
|
3998
|
+
},
|
|
3857
3999
|
"node_modules/is-glob": {
|
|
3858
4000
|
"version": "4.0.3",
|
|
3859
4001
|
"resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
|
|
@@ -4604,6 +4746,18 @@
|
|
|
4604
4746
|
"integrity": "sha512-eh6eHCrRi1+POZ3dA+Dq1C6jhP1GNtr9CRINMb67OKzqW9I5DUuZM/3jLPlzhgpGeiNUlEGEbkCYChXMCc/8DQ==",
|
|
4605
4747
|
"license": "Apache-2.0 OR MIT"
|
|
4606
4748
|
},
|
|
4749
|
+
"node_modules/mz": {
|
|
4750
|
+
"version": "2.7.0",
|
|
4751
|
+
"resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz",
|
|
4752
|
+
"integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==",
|
|
4753
|
+
"license": "MIT",
|
|
4754
|
+
"optional": true,
|
|
4755
|
+
"dependencies": {
|
|
4756
|
+
"any-promise": "^1.0.0",
|
|
4757
|
+
"object-assign": "^4.0.1",
|
|
4758
|
+
"thenify-all": "^1.0.0"
|
|
4759
|
+
}
|
|
4760
|
+
},
|
|
4607
4761
|
"node_modules/nanoid": {
|
|
4608
4762
|
"version": "5.1.16",
|
|
4609
4763
|
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-5.1.16.tgz",
|
|
@@ -4811,6 +4965,16 @@
|
|
|
4811
4965
|
"node-addon-api": "^7.1.0"
|
|
4812
4966
|
}
|
|
4813
4967
|
},
|
|
4968
|
+
"node_modules/object-assign": {
|
|
4969
|
+
"version": "4.1.1",
|
|
4970
|
+
"resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
|
|
4971
|
+
"integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==",
|
|
4972
|
+
"license": "MIT",
|
|
4973
|
+
"optional": true,
|
|
4974
|
+
"engines": {
|
|
4975
|
+
"node": ">=0.10.0"
|
|
4976
|
+
}
|
|
4977
|
+
},
|
|
4814
4978
|
"node_modules/omnius-fabric": {
|
|
4815
4979
|
"version": "0.12.9",
|
|
4816
4980
|
"resolved": "https://registry.npmjs.org/omnius-fabric/-/omnius-fabric-0.12.9.tgz",
|
|
@@ -5078,6 +5242,30 @@
|
|
|
5078
5242
|
"integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==",
|
|
5079
5243
|
"license": "(MIT AND Zlib)"
|
|
5080
5244
|
},
|
|
5245
|
+
"node_modules/parse5": {
|
|
5246
|
+
"version": "5.1.1",
|
|
5247
|
+
"resolved": "https://registry.npmjs.org/parse5/-/parse5-5.1.1.tgz",
|
|
5248
|
+
"integrity": "sha512-ugq4DFI0Ptb+WWjAdOK16+u/nHfiIrcE+sh8kZMaM0WllQKLI9rOUq6c2b7cwPkXdzfQESqvoqK6ug7U/Yyzug==",
|
|
5249
|
+
"license": "MIT",
|
|
5250
|
+
"optional": true
|
|
5251
|
+
},
|
|
5252
|
+
"node_modules/parse5-htmlparser2-tree-adapter": {
|
|
5253
|
+
"version": "6.0.1",
|
|
5254
|
+
"resolved": "https://registry.npmjs.org/parse5-htmlparser2-tree-adapter/-/parse5-htmlparser2-tree-adapter-6.0.1.tgz",
|
|
5255
|
+
"integrity": "sha512-qPuWvbLgvDGilKc5BoicRovlT4MtYT6JfJyBOMDsKoiT+GiuP5qyrPCnR9HcPECIJJmZh5jRndyNThnhhb/vlA==",
|
|
5256
|
+
"license": "MIT",
|
|
5257
|
+
"optional": true,
|
|
5258
|
+
"dependencies": {
|
|
5259
|
+
"parse5": "^6.0.1"
|
|
5260
|
+
}
|
|
5261
|
+
},
|
|
5262
|
+
"node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5": {
|
|
5263
|
+
"version": "6.0.1",
|
|
5264
|
+
"resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz",
|
|
5265
|
+
"integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==",
|
|
5266
|
+
"license": "MIT",
|
|
5267
|
+
"optional": true
|
|
5268
|
+
},
|
|
5081
5269
|
"node_modules/path-scurry": {
|
|
5082
5270
|
"version": "2.0.2",
|
|
5083
5271
|
"resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.2.tgz",
|
|
@@ -5385,6 +5573,16 @@
|
|
|
5385
5573
|
"integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==",
|
|
5386
5574
|
"license": "MIT"
|
|
5387
5575
|
},
|
|
5576
|
+
"node_modules/require-directory": {
|
|
5577
|
+
"version": "2.1.1",
|
|
5578
|
+
"resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz",
|
|
5579
|
+
"integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==",
|
|
5580
|
+
"license": "MIT",
|
|
5581
|
+
"optional": true,
|
|
5582
|
+
"engines": {
|
|
5583
|
+
"node": ">=0.10.0"
|
|
5584
|
+
}
|
|
5585
|
+
},
|
|
5388
5586
|
"node_modules/retimeable-signal": {
|
|
5389
5587
|
"version": "1.0.1",
|
|
5390
5588
|
"resolved": "https://registry.npmjs.org/retimeable-signal/-/retimeable-signal-1.0.1.tgz",
|
|
@@ -5659,6 +5857,34 @@
|
|
|
5659
5857
|
"safe-buffer": "~5.2.0"
|
|
5660
5858
|
}
|
|
5661
5859
|
},
|
|
5860
|
+
"node_modules/string-width": {
|
|
5861
|
+
"version": "4.2.3",
|
|
5862
|
+
"resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
|
|
5863
|
+
"integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
|
|
5864
|
+
"license": "MIT",
|
|
5865
|
+
"optional": true,
|
|
5866
|
+
"dependencies": {
|
|
5867
|
+
"emoji-regex": "^8.0.0",
|
|
5868
|
+
"is-fullwidth-code-point": "^3.0.0",
|
|
5869
|
+
"strip-ansi": "^6.0.1"
|
|
5870
|
+
},
|
|
5871
|
+
"engines": {
|
|
5872
|
+
"node": ">=8"
|
|
5873
|
+
}
|
|
5874
|
+
},
|
|
5875
|
+
"node_modules/strip-ansi": {
|
|
5876
|
+
"version": "6.0.1",
|
|
5877
|
+
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
|
|
5878
|
+
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
|
|
5879
|
+
"license": "MIT",
|
|
5880
|
+
"optional": true,
|
|
5881
|
+
"dependencies": {
|
|
5882
|
+
"ansi-regex": "^5.0.1"
|
|
5883
|
+
},
|
|
5884
|
+
"engines": {
|
|
5885
|
+
"node": ">=8"
|
|
5886
|
+
}
|
|
5887
|
+
},
|
|
5662
5888
|
"node_modules/strip-json-comments": {
|
|
5663
5889
|
"version": "2.0.1",
|
|
5664
5890
|
"resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz",
|
|
@@ -5686,15 +5912,16 @@
|
|
|
5686
5912
|
}
|
|
5687
5913
|
},
|
|
5688
5914
|
"node_modules/supports-color": {
|
|
5689
|
-
"version": "
|
|
5690
|
-
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-
|
|
5691
|
-
"integrity": "sha512-
|
|
5915
|
+
"version": "7.2.0",
|
|
5916
|
+
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
|
|
5917
|
+
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
|
|
5692
5918
|
"license": "MIT",
|
|
5693
|
-
"
|
|
5694
|
-
|
|
5919
|
+
"optional": true,
|
|
5920
|
+
"dependencies": {
|
|
5921
|
+
"has-flag": "^4.0.0"
|
|
5695
5922
|
},
|
|
5696
|
-
"
|
|
5697
|
-
"
|
|
5923
|
+
"engines": {
|
|
5924
|
+
"node": ">=8"
|
|
5698
5925
|
}
|
|
5699
5926
|
},
|
|
5700
5927
|
"node_modules/systray2": {
|
|
@@ -5791,6 +6018,29 @@
|
|
|
5791
6018
|
"license": "MIT",
|
|
5792
6019
|
"optional": true
|
|
5793
6020
|
},
|
|
6021
|
+
"node_modules/thenify": {
|
|
6022
|
+
"version": "3.3.1",
|
|
6023
|
+
"resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz",
|
|
6024
|
+
"integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==",
|
|
6025
|
+
"license": "MIT",
|
|
6026
|
+
"optional": true,
|
|
6027
|
+
"dependencies": {
|
|
6028
|
+
"any-promise": "^1.0.0"
|
|
6029
|
+
}
|
|
6030
|
+
},
|
|
6031
|
+
"node_modules/thenify-all": {
|
|
6032
|
+
"version": "1.6.0",
|
|
6033
|
+
"resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz",
|
|
6034
|
+
"integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==",
|
|
6035
|
+
"license": "MIT",
|
|
6036
|
+
"optional": true,
|
|
6037
|
+
"dependencies": {
|
|
6038
|
+
"thenify": ">= 3.1.0 < 4"
|
|
6039
|
+
},
|
|
6040
|
+
"engines": {
|
|
6041
|
+
"node": ">=0.8"
|
|
6042
|
+
}
|
|
6043
|
+
},
|
|
5794
6044
|
"node_modules/thunky": {
|
|
5795
6045
|
"version": "1.1.0",
|
|
5796
6046
|
"resolved": "https://registry.npmjs.org/thunky/-/thunky-1.1.0.tgz",
|
|
@@ -6094,6 +6344,18 @@
|
|
|
6094
6344
|
"node": ">=20"
|
|
6095
6345
|
}
|
|
6096
6346
|
},
|
|
6347
|
+
"node_modules/weald/node_modules/supports-color": {
|
|
6348
|
+
"version": "10.2.2",
|
|
6349
|
+
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-10.2.2.tgz",
|
|
6350
|
+
"integrity": "sha512-SS+jx45GF1QjgEXQx4NJZV9ImqmO2NPz5FNsIHrsDjh2YsHnawpan7SNQ1o8NuhrbHZy9AZhIoCUiCeaW/C80g==",
|
|
6351
|
+
"license": "MIT",
|
|
6352
|
+
"engines": {
|
|
6353
|
+
"node": ">=18"
|
|
6354
|
+
},
|
|
6355
|
+
"funding": {
|
|
6356
|
+
"url": "https://github.com/chalk/supports-color?sponsor=1"
|
|
6357
|
+
}
|
|
6358
|
+
},
|
|
6097
6359
|
"node_modules/webcrypto-core": {
|
|
6098
6360
|
"version": "1.9.2",
|
|
6099
6361
|
"resolved": "https://registry.npmjs.org/webcrypto-core/-/webcrypto-core-1.9.2.tgz",
|
|
@@ -6210,6 +6472,24 @@
|
|
|
6210
6472
|
"node": ">= 6"
|
|
6211
6473
|
}
|
|
6212
6474
|
},
|
|
6475
|
+
"node_modules/wrap-ansi": {
|
|
6476
|
+
"version": "7.0.0",
|
|
6477
|
+
"resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
|
|
6478
|
+
"integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",
|
|
6479
|
+
"license": "MIT",
|
|
6480
|
+
"optional": true,
|
|
6481
|
+
"dependencies": {
|
|
6482
|
+
"ansi-styles": "^4.0.0",
|
|
6483
|
+
"string-width": "^4.1.0",
|
|
6484
|
+
"strip-ansi": "^6.0.0"
|
|
6485
|
+
},
|
|
6486
|
+
"engines": {
|
|
6487
|
+
"node": ">=10"
|
|
6488
|
+
},
|
|
6489
|
+
"funding": {
|
|
6490
|
+
"url": "https://github.com/chalk/wrap-ansi?sponsor=1"
|
|
6491
|
+
}
|
|
6492
|
+
},
|
|
6213
6493
|
"node_modules/wrappy": {
|
|
6214
6494
|
"version": "1.0.2",
|
|
6215
6495
|
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
|
|
@@ -6259,6 +6539,45 @@
|
|
|
6259
6539
|
"node": ">=4.0"
|
|
6260
6540
|
}
|
|
6261
6541
|
},
|
|
6542
|
+
"node_modules/y18n": {
|
|
6543
|
+
"version": "5.0.8",
|
|
6544
|
+
"resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz",
|
|
6545
|
+
"integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==",
|
|
6546
|
+
"license": "ISC",
|
|
6547
|
+
"optional": true,
|
|
6548
|
+
"engines": {
|
|
6549
|
+
"node": ">=10"
|
|
6550
|
+
}
|
|
6551
|
+
},
|
|
6552
|
+
"node_modules/yargs": {
|
|
6553
|
+
"version": "16.2.2",
|
|
6554
|
+
"resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.2.tgz",
|
|
6555
|
+
"integrity": "sha512-Nt9ZJjXTv5R8MHbqby/wXQ6Gi0Bb3TcYZkR1bzuL4yB2OxWPkXknz513gEF0GoA6tn00UpbPvERW8rzCuWCA6w==",
|
|
6556
|
+
"license": "MIT",
|
|
6557
|
+
"optional": true,
|
|
6558
|
+
"dependencies": {
|
|
6559
|
+
"cliui": "^7.0.2",
|
|
6560
|
+
"escalade": "^3.1.1",
|
|
6561
|
+
"get-caller-file": "^2.0.5",
|
|
6562
|
+
"require-directory": "^2.1.1",
|
|
6563
|
+
"string-width": "^4.2.0",
|
|
6564
|
+
"y18n": "^5.0.5",
|
|
6565
|
+
"yargs-parser": "^20.2.2"
|
|
6566
|
+
},
|
|
6567
|
+
"engines": {
|
|
6568
|
+
"node": ">=10"
|
|
6569
|
+
}
|
|
6570
|
+
},
|
|
6571
|
+
"node_modules/yargs-parser": {
|
|
6572
|
+
"version": "20.2.9",
|
|
6573
|
+
"resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz",
|
|
6574
|
+
"integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==",
|
|
6575
|
+
"license": "ISC",
|
|
6576
|
+
"optional": true,
|
|
6577
|
+
"engines": {
|
|
6578
|
+
"node": ">=10"
|
|
6579
|
+
}
|
|
6580
|
+
},
|
|
6262
6581
|
"node_modules/zod": {
|
|
6263
6582
|
"version": "4.6.5",
|
|
6264
6583
|
"resolved": "https://registry.npmjs.org/zod/-/zod-4.6.5.tgz",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "omnius",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.780",
|
|
4
4
|
"description": "AI coding agent powered by open-source models (Ollama/vLLM) — interactive TUI with agentic tool-calling loop",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/library.js",
|
|
@@ -165,7 +165,8 @@
|
|
|
165
165
|
"node-pty": "^1.1.0",
|
|
166
166
|
"systray2": "2.1.4",
|
|
167
167
|
"transcribe-cli": "^2.0.1",
|
|
168
|
-
"viem": "2.47.4"
|
|
168
|
+
"viem": "2.47.4",
|
|
169
|
+
"cli-highlight": "^2.1.11"
|
|
169
170
|
},
|
|
170
171
|
"readme": "# Omnius\n\nOmnius is a local-first agentic coding runtime: terminal UI, autonomous coding loop, REST daemon, model router, memory layer, media tools, Telegram bridge, and peer-to-peer inference mesh in one CLI.\n\nIt is designed for open-weight and user-controlled models first, while still routing cleanly through Ollama, vLLM, OpenAI-compatible endpoints, OpenRouter, Groq, Chutes, sponsor peers, COHERE peers, and other configured providers.\n\n[](https://www.npmjs.com/package/omnius)\n[](https://nodejs.org/)\n[](LICENSE)\n\n## Install\n\n```bash\nnpm install -g omnius\nomnius\n```\n\nThe base install is compiler-free: a fresh machine does not need `make`, a C++\ntoolchain, or Python just to install and launch Omnius. The installer provisions\nthe AIWG companion separately without its optional native semantic-index addon,\nso an unavailable native build cannot roll back the Omnius CLI.\n\nIf npm succeeds but a new terminal reports `omnius: command not found`, inspect\nthe global prefix and add its command directory to `PATH`:\n\n```bash\nnpm prefix -g\nexport PATH=\"$(npm prefix -g)/bin:$PATH\"\nhash -r\nomnius --version\n```\n\nPersist that export in the profile used by your shell, or open a new terminal\nafter an nvm/fnm setup change. `npx omnius@latest` is an immediate fallback.\n\nRequirements:\n\n- Node.js 22 or newer\n- npm 10 or newer for published CLI use\n- pnpm 9 or newer for workspace development\n- A local model or configured remote endpoint\n\nStart the REST daemon:\n\n```bash\nomnius serve\n```\n\nThe daemon defaults to `http://127.0.0.1:11435`. Open the interactive API docs at `http://127.0.0.1:11435/docs`.\n\nRegister the native system tray indicator (Linux, macOS, and Windows x64):\n\n```bash\nomnius tray install\nomnius tray status\n```\n\nThe per-login indicator observes the daemon over loopback, checks health and npm\nupdates every 10 seconds, and provides dashboard, logs, and explicit daemon\ncontrols. Its version row is passive when current and becomes a verified global\nupdate action only when a newer exact semver is available. See the\n[system tray guide](docs/guides/system-tray.md), including Ubuntu/GNOME setup.\n\n## Agent Discovery\n\nThe npm package ships its complete documentation and a machine-readable\ncapability catalog. An agent does not need to inspect Omnius source or guess\nwhich endpoint owns a capability:\n\n```bash\nomnius discover \"bring your own inference\"\nomnius show workflow.choose-entrypoint\nomnius show layer.orchestration\nomnius show store.project\nomnius show provider.anthropic\nomnius show provider.gemini\nomnius show tool.web-search\nomnius discover \"evidence-bound decision impasse\"\nomnius show tool.adjudicate\nomnius discover \"osint research\"\nomnius show capability.osint-research\nomnius capabilities --json\n```\n\nWith the daemon running, begin at `GET /v1/discovery/bootstrap`. The same\ndiscovery cascade is available at `GET /v1/discovery`, with exact entry expansion at\n`GET /v1/discovery/{id}`. The live API contract remains available at\n`/openapi.json`, direct tool metadata at `/v1/tools`, and skills at\n`/v1/skills`.\n\nStart with [the discovery guide](docs/DISCOVERY.md) when integrating another\nagent or service, and use the [agent system map](docs/architecture/agent-system-map.md)\nto trace layers, modules, runtimes, and state ownership. Use [bring-your-own inference](docs/guides/bring-your-own-inference.md)\nfor provider protocols and keys, and [tools and web search](docs/guides/tools-and-web-search.md)\nfor the distinction between direct tools and agent-bound tools. The\n[evidence-bound adjudication guide](docs/ADJUDICATION.md) explains how a\ntop-level full agent freezes an admissible record, isolates a genuine decision\nimpasse from accumulated working context, fans review out across fresh\nevidence-scoped constituents, validates evidence citations and quorum, and\nproduces a durable verdict receipt. Top-level runtimes execute constituents in\na dedicated `full_sub_agent` process profile that cannot load tools, project\ncontext, memory, or the ambient parent environment. The process runs outside\nthe project directory. Cancellation and deadlines terminate its child processes;\nordinary child transport failure is recorded before bounded direct fallback.\nPlanner schema drift uses a deterministic question-framing fallback, and\ndurable artifact replay verifies the case, findings, verdict, and receipt\nhashes without new inference. The\n[categorized OSINT research guide](docs/guides/osint-research.md) documents\nthe local discover → exact expansion → explicit web-tool workflow.\n\n## What Omnius Does\n\n- Runs autonomous coding tasks, edits files, executes tools, tests changes, and iterates on failures.\n- Resolves genuine decision impasses in fresh evidence-scoped contexts that reduce parent-context anchoring, with host-validated citations, quorum, preserved dissent, and durable verdict receipts.\n- Provides a dense terminal UI for model selection, endpoint routing, task control, shell output, voice, sponsors, Telegram, and system telemetry.\n- Exposes a REST daemon with OpenAI/Ollama-compatible inference, agentic task execution, memory, skills, tools, MCP, events, voice, projects, and governance endpoints.\n- Routes models through local, cloud, sponsor, and peer-to-peer endpoints without assuming local Ollama is the only source.\n- Supports realtime spoken conversation for ASR/TTS clients through `/realtime` and REST `realtime: true`.\n- Supports image, video, sound, music, TTS, ASR, voice clone references, Telegram media workflows, and sponsor-provided media generation.\n- Keeps project runtime state in `.omnius/`, which is intentionally ignored by git.\n\n## Common Workflows\n\n```bash\nomnius \"inspect this repo and summarize the main entrypoints\"\nomnius serve\n```\n\n```text\n/help command help\n/model select or inspect the active model\n/endpoint select or configure local, cloud, sponsor, or peer endpoints\n/title name the current session\n/realtime toggle short ASR/TTS-oriented conversation mode\n/voice choose TTS, voice-clone, voicechat, and ASR controls\n/voice asr select, set up, activate, or test an exact ASR engine/model\n/indicator reconcile the daemon, then start the native tray indicator\n/update check force an update availability check\n/update quick run the verified global update with live TUI progress\n/update full run the full clean/build/install/restart verification flow\n/broker inspect model broker, RAM/VRAM thresholds, and loaded models\n/sponsor expose local or upstream capacity to peers\n/cohere participate in distributed COHERE inference\n/telegram configure or toggle the Telegram bridge\n/skills list explorable skills and docs memories\n/pause pause after the current turn boundary\n/stop interrupt the active run\n/resume resume saved state\n```\n\n## Current Feature Areas\n\n| Area | What to read |\n| --- | --- |\n| Install and setup | [Install](docs/getting-started/install.md), [First run](docs/getting-started/first-run.md), [Model providers](docs/getting-started/model-providers.md) |\n| Agent discovery | [Discovery cascade](docs/DISCOVERY.md), [machine catalog](docs/DISCOVERY.json), [agent integration](docs/guides/agent-integration.md) |\n| Bring your own inference | [Provider protocols and keys](docs/guides/bring-your-own-inference.md) |\n| Tools and web search | [Tool discovery and invocation](docs/guides/tools-and-web-search.md) |\n| Evidence-bound adjudication | [Adjudication tool, panel workflow, verdict contract, and harness](docs/ADJUDICATION.md) |\n| Terminal workflows | [TUI workflows](docs/guides/tui-workflows.md), [Slash commands](docs/reference/slash-commands.md) |\n| Web dashboard | [All dashboard routes, workspaces, sessions, Voice, Generate, updates, and observability](docs/guides/dashboard.md) |\n| REST daemon | [REST reference](docs/reference/rest-api.md), [REST quickref](docs/rest/QUICKREF.md), [OpenAPI source](docs/rest/openapi-source.md) |\n| System tray | [Cross-platform tray and Ubuntu setup](docs/guides/system-tray.md) |\n| Realtime voice chat | [Realtime guide](docs/guides/realtime.md) |\n| TTS and selectable ASR | [Voice/vision REST guide](docs/rest/endpoints/voice-vision.md), [Dashboard Voice page](docs/guides/dashboard.md#voice-and-asr) |\n| Sponsor and COHERE mesh | [Sponsor and COHERE guide](docs/guides/sponsor-and-cohere.md) |\n| Telegram bridge | [Telegram guide](docs/guides/telegram.md) |\n| Media generation | [Media guide](docs/guides/media-generation.md) |\n| Operations | [Runtime hygiene](docs/operations/runtime-hygiene.md), [Security and remote access](docs/operations/security-and-remote-access.md) |\n| Service compatibility | [Runtime version gate](docs/operations/version-compatibility.md) |\n| Architecture | [Architecture overview](docs/architecture/overview.md) |\n| Agent-explorable docs | [Agent memory docs index](docs/agent-memory/INDEX.md) |\n\n## Web Dashboard\n\n`omnius serve` exposes a self-contained operational dashboard at\n`http://127.0.0.1:11435/`. All pages use the same compact NOCLIP-derived style\ntokens and responsive observability-card grid, while keeping workspace, model,\nsession, run, service, and update state visible instead of hiding it behind\ndecorative pages.\n\n| Route | Purpose |\n| --- | --- |\n| `/chat` (`/`) | Stateful browser and imported TUI chats, full-history hydration, live run recovery, attachments, files, plan/context, and steering check-ins |\n| `/agent` | One-shot task contracts, personas/profiles, tool/isolation controls, run records, output, and events |\n| `/voice` | Voicechat, exact TTS model/options, clone references, ASR engine/model setup and activation, real-file ASR testing, transcript, and TTS testing |\n| `/generate` | Image/video/audio/music jobs, AV analysis, model/store controls, relocation progress, and global gallery |\n| `/projects` | Scan, register, rename, activate, and remove workspaces |\n| `/dashboard` (`/jobs`) | CPU/RAM/GPU/VRAM, processes, scheduler, services, usage, and verified updates |\n| `/activity` | Live run/tool/memory/engine event observability |\n| `/discover` | Agent bootstrap, capability intent search, and exact entry expansion |\n| `/settings` (`/config`) | Models, endpoints, voice, runtime, access, keys, appearance, and services |\n\nThe clickable sidebar brand opens the registered-workspace picker. Workspace\nselection scopes preferences, files, session history, chat pins/folders/search,\nand agent defaults. Chats, TUI visual history, and one-shot agent runs are\ndistinct records: `/quit`, `/exit`, manual-save noise, empty histories, and\nduplicate TUI transcripts are rejected from the chat projection; selecting a\nvalid session loads its full history and in-flight status from the daemon.\nThe chat top bar also reports the effective API base path and authentication\nmode. Streams retain split frames, Stop terminates the daemon-owned process\nlease, and assistant-provided web/file links stay inert until the daemon\nreturns a validation receipt.\n\nThe dashboard checks for updates every 10 seconds. An update button appears only\nfor a newer exact semver and drives `POST /v1/update`, then polls the durable\ntransaction until the global npm package, resolved executable, restarted daemon,\npackage/boot hashes, and tray runtime are reconciled. See the\n[complete dashboard guide](docs/guides/dashboard.md) for state ownership,\nsecurity, page-by-page behavior, and exact REST flows.\n\n## Terminal Over SSH\n\nThe TUI paints for a local terminal, where a full-area repaint costs nothing.\nOver a network the same cadence has to share the link with your keystrokes, so\nOmnius detects a remote session (`SSH_TTY` / `SSH_CONNECTION` / `SSH_CLIENT`)\nand paces itself: decorative chrome animates slower, a wheel-scroll burst is\ncollapsed into a single repaint, unchanged footer frames are not re-sent, and\nthe mouse filter allows more time for escape sequences split across packets.\nNothing changes about how the TUI looks, and local sessions are unaffected.\n\nDetection is environment-based, so it can miss a session where those variables\ndo not reach the process — most often tmux or mosh, whose panes may inherit a\nstale environment from the server. Force the profile when that happens:\n\n```bash\nOMNIUS_TUI_PACING=remote omnius # pace for a network link\nOMNIUS_TUI_PACING=local omnius # force local cadence\n```\n\nIf scrolling or typing still feels heavy, `OMNIUS_TUI_PROFILE=compatible`\nadditionally drops the animated truecolor chrome, and `OMNIUS_TUI_PERF=1` logs\nany content reflow that overruns its frame budget to stderr.\n\n## Shared Media Dependencies\n\nImage, video, audio, and music generation share a **single, system-wide dependency store** instead of duplicating heavy runtimes per project or per Telegram group.\n\nEarlier builds wrote a private Python venv plus Hugging Face / Torch / pip caches under every scoped working directory (for example `…/telegram-creative/<group-id>/.omnius/image-gen/.venv`). On a busy machine the same multi-gigabyte diffusers stack and model weights were re-downloaded once per group — tens of gigabytes of pure duplication.\n\nEverything now resolves to one source of truth under `~/.omnius` (override with `OMNIUS_HOME`):\n\n| Location | Holds |\n| --- | --- |\n| `~/.omnius/runtimes/<kind>/.venv-<backend>` | One shared Python venv per kind+backend (image/video/audio) |\n| `~/.omnius/models/huggingface/{hub,transformers,diffusers}` | Shared model weights — downloaded once, reused everywhere |\n| `~/.omnius/models/{torch,cache,pip-cache}` | Shared Torch hub, XDG, and pip caches |\n| `~/.omnius/models/_meta.json` | LRU usage index for automatic disk-pressure eviction |\n| `~/.omnius/media/{images,videos,audio,music}` | Global generated-media gallery (project-independent) |\n\nProject directories keep only lightweight session artifacts; no venvs or model weights are written per project.\n\n**Migrate and dedup existing machines.** A one-time cleanup consolidates any legacy per-group caches into the unified store — unique weights are moved (never re-downloaded), duplicates and stale venvs are reclaimed:\n\n```bash\n# TUI — current project only\n/models cleanup\n# TUI — every project + nested scoped group on this machine (dry-run first)\n/models cleanup --all --dry-run\n/models cleanup --all\n```\n\n```bash\n# REST — preview, then apply\ncurl -s -X POST localhost:11435/v1/media/migrate -H 'content-type: application/json' -d '{\"dryRun\":true}'\ncurl -s -X POST localhost:11435/v1/media/migrate -H 'content-type: application/json' -d '{}'\n# Inspect store + reclaimable legacy caches\ncurl -s localhost:11435/v1/media/store\n```\n\n**Generate over REST.** The daemon (default `127.0.0.1:11435`, a port in the IANA dynamic/private range that avoids common system-service collisions) exposes the local generators so any user on the machine can list models, generate, and browse the global gallery without the CLI:\n\n```bash\ncurl -s localhost:11435/v1/media/models\ncurl -s -X POST localhost:11435/v1/media/image -H 'content-type: application/json' -d '{\"prompt\":\"a compact robot painter\"}'\ncurl -s -X POST localhost:11435/v1/media/music -H 'content-type: application/json' -d '{\"prompt\":\"warm lo-fi piano loop\"}'\ncurl -s localhost:11435/v1/media/gallery\n```\n\nThe same surface drives the **Generate** tab in the web UI (`http://127.0.0.1:11435`) — pick a kind (image/video/audio/music), choose a model loaded from the system, generate, and review every previously generated file in one global gallery.\n\n## Recent Highlights\n\n- The dashboard now has nine route-level operational surfaces with shared modular observability grids, a searchable workspace picker, and project-scoped navigation state.\n- Chat history unifies persisted browser sessions with quality-filtered TUI transcripts, rejects command/noise sessions such as `/quit`, hydrates full history on selection, and exposes summaries, follow-up suggestions, reactive live deltas, and canonical deletion.\n- `/indicator` reconciles daemon ownership and health before launching the tray; the tray polls every 10 seconds and turns its version row into a retryable verified-update action only when an update exists.\n- Dashboard, tray, and TUI update actions now share an exact-version global transaction with live phase/output and package, executable, daemon, hash, restart, and tray verification.\n- TTS exposes GLaDOS, Overwatch, `luxtts:announcer-testchamber03`, and configurable Voicebox models; ASR independently exposes Whisper, managed `transcribe-cli`, Nemotron readiness, and pinned Microsoft VibeVoice ASR with Jetson/ARM64 CUDA-aware setup.\n- LuxTTS auto-setup on Jetson ARM64 requires CPU ONNX Runtime at import time, validates CUDA Torch separately against the host runtime, preserves existing caches during repair, and never substitutes generic PyPI Torch or automatic sudo for an AGX Orin deployment.\n- `/realtime` and REST `realtime: true` provide short, natural, SOUL.md-aware conversation for ASR/TTS clients.\n- Endpoint setup and sponsor setup aggregate models from all enabled endpoints, including external OpenAI-compatible routers.\n- `/sponsor` can expose text inference and media generation for image, video, sound, and music with per-modality limits.\n- Sponsor and COHERE status surfaces now use shared telemetry concepts: concurrency, request rate, daily tokens, peer usage, model usage, and remote system metrics.\n- The TUI reports token production rate as `t/s`, supports Shift+Enter multiline input, and renders dynamic shell output inside bounded Unicode cards.\n- Telegram state is scoped by user and group, supports durable reply preferences, and feeds raw platform/tool failures back into the agent loop.\n- Telegram media ingress is byte- and duration-bounded, cache-only before routing, deduplicated by Telegram file identity, and evidence-gated after admission. Speech uses scoped transcription; music/general audio uses typed semantic or explicitly acoustic-only analysis without false listening claims.\n- Telegram public creative work now includes typed PDF/DOCX creation and hash-guarded review, fixed-operation FFmpeg audio editing, and root-confined image crop/resize/mask/composite workflows. Host-signed content capabilities bind review evidence and durable Telegram delivery to the exact artifact bytes.\n- Ollama pool cleanup now accounts for process groups and orphan runner processes that can keep VRAM pinned.\n- REST documentation is available both as human docs and as Omnius-discoverable docs skills.\n\n## REST API\n\nStart the daemon (default `http://127.0.0.1:11435`; interactive docs at `/docs`, machine spec at `/openapi.json`):\n\n```bash\nomnius serve\n```\n\nFor shared deployments, gate access with scoped bearer keys (`read` < `run` < `admin`):\n\n```bash\nOMNIUS_REST_API_KEYS=\"read-key:read:grafana,run-key:run:ci:60:100000:3,admin-key:admin:ops\" omnius serve\n# then: Authorization: Bearer <key>\n```\n\nThe complete supported endpoint inventory follows. The canonical machine\ncontract is generated from [`packages/cli/src/api/openapi.ts`](packages/cli/src/api/openapi.ts),\nvalidated against [`docs/reference/rest-api.md`](docs/reference/rest-api.md),\nand projected into the generated block below. `pnpm docs:check` now fails when\nany of those three surfaces drift. Browser HTML pages, Swagger static assets,\nand implementation-only compatibility bridges are intentionally outside this\nstable REST contract.\n\n<!-- BEGIN GENERATED REST INVENTORY -->\n### Docs And Compatibility Aliases\n\n| Method | Path | Purpose |\n| --- | --- | --- |\n| `GET` | `/docs` | Swagger UI |\n| `GET` | `/api/docs` | Swagger UI alias |\n| `GET` | `/openapi.json` | OpenAPI JSON |\n| `GET` | `/openapi.yaml` | OpenAPI YAML |\n| `GET` | `/v3/api-docs` | OpenAPI alias |\n| `GET` | `/swagger.json` | Swagger-era alias |\n| `GET` | `/api-docs` | OpenAPI alias |\n| `GET` | `/swagger-ui` | Swagger UI alias |\n| `GET` | `/redoc` | ReDoc renderer |\n| `GET` | `/` | HATEOAS API root when the client does not request HTML |\n| `GET` | `/help` | Compact daemon integration help |\n| `GET` | `/v1/routes` | Flat grep-friendly daemon route summary |\n| `GET` | `/routes` | Route-summary compatibility alias |\n| `GET` | `/asyncapi.json` | AsyncAPI 2.6 voicechat WebSocket contract |\n| `GET` | `/asyncapi` | AsyncAPI compatibility alias |\n\n### Health And Observability\n\n| Method | Path | Purpose |\n| --- | --- | --- |\n| `GET` | `/health` | Liveness probe |\n| `GET` | `/health/ready` | Backend readiness |\n| `GET` | `/health/startup` | Startup probe |\n| `GET` | `/version` | Package version and platform |\n| `GET` | `/metrics` | Prometheus metrics |\n| `GET` | `/v1/events` | Server-sent event stream |\n| `GET` | `/v1/usage` | Token usage and rate limits |\n| `GET` | `/v1/audit` | Audit log query |\n| `GET` | `/v1/cost` | Cost tracker |\n| `GET` | `/v1/system` | CPU, RAM, GPU, and system snapshot |\n\n### Discovery\n\n| Method | Path | Purpose |\n| --- | --- | --- |\n| `GET` | `/v1/discovery/bootstrap` | Compact agent bootstrap and start-here map |\n| `GET` | `/v1/discovery` | Search layers, workflows, runtimes, modules, stores, and capabilities |\n| `GET` | `/v1/discovery/{id}` | Expand one stable capability entry |\n\n### Inference And Chat\n\n| Method | Path | Purpose |\n| --- | --- | --- |\n| `GET` | `/v1/models` | Aggregated model list |\n| `POST` | `/v1/chat/completions` | OpenAI-compatible chat completion |\n| `POST` | `/v1/chat` | Stateful Omnius chat |\n| `POST` | `/api/chat` | Ollama-compatible chat alias |\n| `POST` | `/v1/generate` | Ollama-compatible one-shot generation |\n| `POST` | `/api/generate` | Ollama-compatible generate alias |\n| `POST` | `/v1/embeddings` | OpenAI-compatible embeddings |\n| `POST` | `/api/embed` | Ollama-compatible embeddings alias |\n| `GET` | `/api/tags` | Ollama-compatible model tags |\n| `POST` | `/realtime` | Text-only voice-adapter reply from a transcript |\n| `POST` | `/v1/realtime` | Auth-scoped realtime adapter alias |\n| `GET` | `/v1/chat/sessions` | Workspace-scoped persisted browser chats and importable TUI sessions |\n| `GET` | `/v1/chat/sessions/{id}` | Hydrate full session history, transcript, and in-flight state |\n| `DELETE` | `/v1/chat/sessions/{id}` | Permanently delete a canonical chat or TUI history session |\n| `POST` | `/v1/chat/sessions/{id}/summarize` | Generate + cache an inference-based session title/summary |\n| `POST` | `/v1/chat/suggest-followup` | Suggest one short next-message follow-up (ghost-text input) |\n| `GET` | `/v1/chat/sessions/{id}/status` | Reactive recall: live run status + unseen deltas (`?since=<seq>`) |\n| `POST` | `/v1/chat/sessions/{id}/pause` | Pause the exact daemon-owned chat generation at a safe admission boundary |\n| `POST` | `/v1/chat/sessions/{id}/resume` | Resume the exact paused daemon-owned chat generation |\n| `POST` | `/v1/chat/sessions/{id}/stop` | Stop the daemon-owned chat process lease; idle/terminal calls are idempotent |\n| `POST` | `/v1/chat/check-in` | Steering check-in for active chat |\n| `POST` | `/v1/chat/attachments` | Upload an attachment for a stateful chat |\n| `POST` | `/v1/links/validate` | Validate an external HTTP(S) destination under the daemon egress policy |\n\n#### Session History Contract\n\n`GET /v1/chat/sessions` is a history index, not merely a list of processes that\nare currently active. It returns canonical persisted browser chats for the\nselected workspace and, by default, quality-filtered TUI visual sessions that\ncan be imported on demand. Pass `?root=/absolute/workspace` to scope the list and\n`?include_tui=0` to omit TUI history. Exit-only inputs such as `/quit` and\n`/exit`, manual-save noise, empty transcripts, and duplicate normalized TUI\nsessions are rejected by the session-quality projection rather than presented as\nchats.\n\nSelecting a row should call `GET /v1/chat/sessions/{id}`. That response hydrates\nthe complete public message history (system prompts are intentionally omitted),\nthe original TUI transcript when applicable, token counts, timestamps, source\nand project identity, and any in-flight run with a bounded partial-output tail.\nUse the `status` endpoint with `?since=<seq>` for cheap reactive polling while a\nrun is active. `DELETE /v1/chat/sessions/{id}` is an admin operation and removes\nthe canonical record; deleting only a browser-side row does not remove daemon\nhistory.\n\nPause and resume use the exact session and active external-run identity. Both\noperations require `run` scope. An idle session returns `200`. An accepted\nrequest returns `200` with the lifecycle acknowledgement, owner generation,\ncurrent phase, resumability, and pending acknowledgement count. A lifecycle\nrejection returns `409`. A live owner that does not acknowledge within the\ncontrol deadline returns `504`. Clients must not treat a local UI pause as a\ndaemon pause.\n\n`POST /realtime` and `/v1/realtime` are text-only conversation adapters. They\naccept transcript text through `message`, `text`, `recent_turn`, `asr_text`, or\n`callerText`, optionally accept adapter-local `soul_md`, and can return plain\ntext with `Accept: text/plain` or `format: \"text\"`. ASR and TTS remain separate\noperations.\n\n### Agentic Runs\n\n| Method | Path | Purpose |\n| --- | --- | --- |\n| `POST` | `/v1/run` | Submit agentic task |\n| `GET` | `/v1/runs` | List runs |\n| `GET` | `/v1/runs/{id}` | Get run details |\n| `GET` | `/v1/runs/{id}/output` | Read captured run output and status |\n| `DELETE` | `/v1/runs/{id}` | Abort run |\n| `POST` | `/v1/todos` | Create or update todos for current session |\n| `GET` | `/v1/todos` | List sessions with todos |\n| `GET` | `/v1/todos/{session_id}` | Get session todos |\n| `DELETE` | `/v1/todos/{session_id}` | Delete session todos |\n| `POST` | `/v1/evaluate` | Evaluate a run |\n| `POST` | `/v1/index` | Trigger repository indexing |\n\n### Configuration, Keys, Profiles, Projects\n\n| Method | Path | Purpose |\n| --- | --- | --- |\n| `GET` | `/v1/config` | Read daemon config |\n| `PATCH` | `/v1/config` | Update daemon config |\n| `GET` | `/v1/config/model` | Current model |\n| `PUT` | `/v1/config/model` | Switch model |\n| `POST` | `/v1/config/model/check` | Probe model readiness with non-empty text |\n| `GET` | `/v1/config/endpoint` | Current endpoint |\n| `PUT` | `/v1/config/endpoint` | Switch endpoint |\n| `POST` | `/v1/config/endpoint/test` | Probe endpoint |\n| `GET` | `/v1/config/endpoint/history` | Endpoint history |\n| `DELETE` | `/v1/config/endpoint/history` | Remove endpoint history item |\n| `POST` | `/v1/share/generate` | Generate remote-access share URL |\n| `GET` | `/v1/keys` | List runtime API keys |\n| `POST` | `/v1/keys` | Mint runtime API key |\n| `DELETE` | `/v1/keys/{prefix}` | Revoke runtime API keys by prefix |\n| `GET` | `/v1/profiles` | List tool profiles |\n| `POST` | `/v1/profiles` | Create tool profile |\n| `GET` | `/v1/profiles/{name}` | Get profile |\n| `DELETE` | `/v1/profiles/{name}` | Delete profile |\n| `GET` | `/v1/projects` | List known projects |\n| `DELETE` | `/v1/projects` | Unregister a project |\n| `GET` | `/v1/projects/current` | Current project |\n| `POST` | `/v1/projects/switch` | Switch project |\n| `POST` | `/v1/projects/register` | Register project |\n| `POST` | `/v1/projects/rename` | Rename project |\n| `GET` | `/v1/projects/preferences` | Read project preferences |\n| `PUT` | `/v1/projects/preferences` | Patch project preferences |\n| `DELETE` | `/v1/projects/preferences` | Reset project preferences |\n| `GET` | `/v1/projects/scan` | Scan configured roots for discoverable workspaces |\n| `GET` | `/v1/admin/access` | Read the daemon network access mode |\n| `POST` | `/v1/admin/access` | Change and persist access mode from loopback only |\n\n### Skills, Commands, Tools, MCP\n\n| Method | Path | Purpose |\n| --- | --- | --- |\n| `GET` | `/v1/skills` | List skills |\n| `GET` | `/v1/skills/{name}` | Load skill content |\n| `GET` | `/v1/commands` | List slash commands |\n| `POST` | `/v1/commands/{cmd}` | Execute slash command |\n| `GET` | `/v1/tools` | List tools (built-in + external) |\n| `POST` | `/v1/tools/register` | Register an application-specific external tool |\n| `GET` | `/v1/tools/{name}` | Tool metadata |\n| `DELETE` | `/v1/tools/{name}` | Unregister an external tool |\n| `POST` | `/v1/tools/{name}/call` | Call tool |\n| `POST` | `/v1/tools/{name}/eval` | Evaluate an external tool against test cases |\n| `GET` | `/v1/mcps` | List MCP servers |\n| `GET` | `/v1/mcps/{name}` | MCP server details |\n| `POST` | `/v1/mcps/{name}/call` | Call MCP tool |\n| `GET` | `/v1/hooks` | Hook registry |\n| `GET` | `/v1/agents` | Agent type registry |\n| `GET` | `/v1/codegraph/snapshot` | Code graph snapshot |\n| `GET` | `/v1/codegraph/events` | Code graph SSE |\n\n#### Registering Application-Specific Tools\n\nApplications can register their own tools so Omnius agents can discover and\ninvoke them alongside built-ins. `transport.type` selects the bridge:\n\n- `http` makes Omnius POST `{name, args, session_id}` to the application's\n `callback_url` and relay the result.\n- `mcp` proxies to a named tool on an MCP server and can auto-connect from the\n supplied connection descriptor.\n\nRegistrations persist per workspace at `.omnius/external-tools.json`, appear in\n`GET /v1/tools`, and use the same scope and off-device security gates as built-in\ntools. Registration needs `run` scope; a non-loopback caller needs `admin`.\n\n```bash\ncurl -s -X POST localhost:11435/v1/tools/register -H 'content-type: application/json' -d '{\n \"name\": \"lookup_order\",\n \"description\": \"Look up an order by id\",\n \"parameters\": {\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"}},\"required\":[\"id\"]},\n \"security\": {\"requires_scope\":\"run\",\"risk\":\"low\"},\n \"transport\": {\"type\":\"http\",\"callback_url\":\"https://app.internal/tools/lookup_order\",\"auth_header\":\"Bearer …\"}\n}'\ncurl -s localhost:11435/v1/tools/lookup_order\ncurl -s -X POST localhost:11435/v1/tools/lookup_order/call -H 'content-type: application/json' -d '{\"args\":{\"id\":\"A-1001\"}}'\ncurl -s -X POST localhost:11435/v1/tools/lookup_order/eval -H 'content-type: application/json' -d '{\"cases\":[{\"name\":\"known\",\"args\":{\"id\":\"A-1001\"},\"expect\":{\"success\":true}}]}'\ncurl -s -X DELETE localhost:11435/v1/tools/lookup_order\n```\n\nThe MCP equivalent uses a transport such as\n`{\"type\":\"mcp\",\"server\":\"acme\",\"tool\":\"search\",\"connect\":{\"url\":\"https://app.internal/mcp\",\"transport\":\"streamable-http\"}}`.\n\n### AIWG\n\n| Method | Path | Purpose |\n| --- | --- | --- |\n| `GET` | `/v1/aiwg` | AIWG root and control map |\n| `GET` | `/v1/aiwg/frameworks` | List frameworks |\n| `GET` | `/v1/aiwg/frameworks/{name}` | Framework details |\n| `GET` | `/v1/aiwg/frameworks/{name}/content` | Tier-aware content |\n| `GET` | `/v1/aiwg/skills` | List AIWG skills |\n| `GET` | `/v1/aiwg/skills/{name}` | Load AIWG skill |\n| `GET` | `/v1/aiwg/agents` | List AIWG agents |\n| `GET` | `/v1/aiwg/agents/{name}` | Load AIWG agent |\n| `GET` | `/v1/aiwg/addons` | List AIWG addons |\n| `POST` | `/v1/aiwg/use` | Tier-sized activation bundle |\n| `POST` | `/v1/aiwg/expand` | Expand matching AIWG item |\n\n### Memory, Sessions, Context\n\n| Method | Path | Purpose |\n| --- | --- | --- |\n| `GET` | `/v1/memory` | Memory backend summary |\n| `POST` | `/v1/memory/search` | Search memory |\n| `POST` | `/v1/memory/write` | Write memory |\n| `GET` | `/v1/memory/episodes` | List episodes |\n| `GET` | `/v1/memory/failures` | List failure records |\n| `POST` | `/v1/memory/ingest` | Ingest content or files into memory |\n| `GET` | `/v1/memory/entities` | List extracted memory entities |\n| `POST` | `/v1/memory/jobs/run` | Run a named memory-maintenance job |\n| `POST` | `/v1/memory/feedback` | Record relevance or quality feedback for a memory item |\n| `POST` | `/v1/memory/speaker-identities/enroll` | Admin-only, explicit-consent speaker exemplar enrollment in one exact vector space |\n| `POST` | `/v1/memory/speaker-identities/match` | Admin-only provisional speaker candidate matching without durable assignment |\n| `GET` | `/v1/sessions` | List task sessions |\n| `GET` | `/v1/sessions/{id}` | Get session history |\n| `GET` | `/v1/context` | Current context snapshot |\n| `GET` | `/v1/context/window-dumps` | List persisted outbound model context-window dumps |\n| `GET` | `/v1/context/window-dumps/{id}` | Fetch a full outbound model context-window dump |\n| `POST` | `/v1/context/save` | Save context entry |\n| `GET` | `/v1/context/restore` | Build restore prompt |\n| `POST` | `/v1/context/compact` | Request compaction |\n\nContext-window dumps are written before backend inference for main agents, sub-agents, internal runners, and adversary audits. Query\n`GET /v1/context/window-dumps?agent_type=main` for summaries with signal/noise\nmetrics, or fetch a full payload by id. Dumps include focus-supervisor state when\na next-action contract is active. Set `OMNIUS_CONTEXT_WINDOW_DUMP_DIR` to move\nthe store, `OMNIUS_DISABLE_CONTEXT_WINDOW_DUMPS=1` to disable it, and\n`OMNIUS_FOCUS_SUPERVISOR=off|auto|strict` to tune focus enforcement.\n\n### Files, Web, Nexus, Ollama Pool\n\n| Method | Path | Purpose |\n| --- | --- | --- |\n| `GET` | `/v1/files` | List workspace directory |\n| `POST` | `/v1/files/read` | Read workspace file |\n| `GET` | `/v1/files/raw` | Stream raw workspace bytes with content type and range support |\n| `HEAD` | `/v1/files/raw` | Inspect raw-file response metadata |\n| `GET` | `/v1/web/search` | Inspect web-search availability, schema, and security policy |\n| `POST` | `/v1/web/search` | Search the web directly through the Omnius tool runtime |\n| `GET` | `/v1/web/fetch` | Inspect web-fetch availability, schema, and security policy |\n| `POST` | `/v1/web/fetch` | Fetch a URL directly through the Omnius tool runtime |\n| `GET` | `/v1/web/crawl` | Inspect web-crawl availability, schema, and security policy |\n| `POST` | `/v1/web/crawl` | Crawl a website directly through the Omnius tool runtime |\n| `GET` | `/v1/nexus/status` | Nexus peer state |\n| `GET` | `/v1/sponsors` | Sponsor directory cache |\n| `GET` | `/v1/ollama/pool/processes` | Ollama process inventory |\n| `POST` | `/v1/ollama/pool/cleanup` | Cleanup stale Ollama pool processes |\n\nThe `/v1/web/*` routes are stable aliases of the shared tool registry. `GET`\nreturns the corresponding tool metadata. `POST` uses the same authentication,\nprofile, origin, timeout, output-size, audit, and network-egress policy as a\ndirect tool call. Send search requests as\n`{\"args\":{\"query\":\"...\",\"num_results\":5,\"provider\":\"duckduckgo\"}}` and\nfetch requests as `{\"args\":{\"url\":\"https://example.com\"}}`. Crawl uses the\nschema returned by its `GET` route and requires the browser dependencies that\nthe metadata reports. POST responses use the standard `ToolResult` envelope.\n\n### Voice, Audio, Vision\n\n| Method | Path | Purpose |\n| --- | --- | --- |\n| `GET` | `/v1/voice/state` | Voice runtime status |\n| `POST` | `/v1/voice/start` | Select an optional model, enable voice, and wait for readiness |\n| `POST` | `/v1/voice/stop` | Pause daemon voice input while leaving TTS warm |\n| `GET` | `/v1/voice/models` | TTS models |\n| `POST` | `/v1/voice/models/switch` | Switch and enable an exact TTS model by default |\n| `POST` | `/v1/voice/models/{modelId}/pull` | Install runtime prerequisites and pull one managed TTS model |\n| `POST` | `/v1/voice/models/{modelId}/deploy` | Pull and deploy one managed CUDA TTS model |\n| `GET` | `/v1/voice/supertonic-settings` | Voice tuning settings |\n| `POST` | `/v1/voice/supertonic-settings` | Update voice tuning settings |\n| `GET` | `/v1/asr/engines` | Canonical ASR engines/models, capabilities, readiness, and selection |\n| `GET` | `/v1/asr/status` · `/v1/asr/selection` | Selected engine/model and runtime status |\n| `GET` | `/v1/asr/downloads` | List persistent ASR weight download and deployment transitions |\n| `POST` | `/v1/asr/downloads` | Start or resume an ASR weight download |\n| `GET` | `/v1/asr/downloads/{engineId}/{modelId}` | Poll one ASR download and deployment transition |\n| `POST` | `/v1/asr/downloads/{engineId}/{modelId}` | Start or resume this model download |\n| `POST` | `/v1/asr/downloads/{engineId}/{modelId}/retry` | Retry or resume a failed or interrupted ASR weight download |\n| `PATCH` | `/v1/asr/selection` | Persist and activate an exact engine/model |\n| `POST` | `/v1/asr/activate` | Activate and persist an exact engine/model |\n| `POST` | `/v1/asr/engines/{engineId}/setup` | Install a managed runtime and pinned weights |\n| `POST` | `/v1/asr/engines/{engineId}/models/{modelId}/pull` | Pull one exact ASR model and validate its managed runtime |\n| `POST` | `/v1/asr/engines/{engineId}/models/{modelId}/deploy` | Pull, select, and activate one exact ASR model |\n| `POST` | `/v1/asr/transcriptions` · `/v1/asr/test` | Transcribe/test using the real selected backend |\n| `GET` | `/v1/voice/asr-models` | Compatibility registry alias |\n| `POST` | `/v1/voice/asr-models/switch` | Compatibility activation alias |\n| `POST` | `/v1/voice/tts` | Synthesize speech |\n| `POST` | `/v1/audio/speech` | OpenAI-compatible TTS alias |\n| `GET` | `/v1/audio/classify/health` | Jetson CUDA/TensorRT YAMNet readiness |\n| `POST` | `/v1/audio/classify/setup` | Provision and warm the pinned JetPack TensorRT YAMNet runtime |\n| `POST` | `/v1/audio/classify` | Direct-tool compatible CUDA audio classification |\n| `GET` | `/v1/audio/embed/health` | Role-typed embedding readiness (`?kind=acoustic|speaker|semantic`) |\n| `POST` | `/v1/audio/embed/setup` | Provision/warm one role-typed embedding runtime (admin; `?kind=...`) |\n| `POST` | `/v1/audio/embed` | Managed role-typed audio embedding (`?kind=...`) |\n| `GET` | `/v1/audio/diarization/live/readiness` | Non-mutating managed Sortformer worker readiness |\n| `POST` | `/v1/audio/diarization/live/setup` | Verify and warm a local Sortformer runtime (admin) |\n| `POST` | `/v1/audio/diarization/live` | Managed live/session-local speaker-turn diarization |\n| `POST` | `/v1/audio/diarization/live/cancel` | Terminate live worker work and clear its queue |\n| `GET` | `/v1/audio/diarization/reconcile/readiness` | Non-mutating managed Community-1 worker readiness |\n| `POST` | `/v1/audio/diarization/reconcile/setup` | Verify and warm a local Community-1 runtime (admin) |\n| `POST` | `/v1/audio/diarization/reconcile` | Managed offline/dream reconciliation proposals |\n| `POST` | `/v1/audio/diarization/reconcile/cancel` | Terminate reconciliation work and clear its queue |\n| `POST` | `/v1/voice/transcribe` | Transcribe audio |\n| `POST` | `/v1/voice/asr` | Legacy transcription alias |\n| `POST` | `/v1/audio/transcriptions` | OpenAI-compatible transcription alias |\n| `POST` | `/v1/voice/transcribe/stream` | Isolated final transcription over SSE (no shared mic state or fake partials) |\n| `POST` | `/v1/voice/clone-refs` | Upload voice clone reference |\n| `GET` | `/v1/voice/clone-refs` | List clone references |\n| `POST` | `/v1/voice/clone-refs/upload` | Upload clone reference |\n| `POST` | `/v1/voice/clone-refs/from-url` | Fetch clone reference |\n| `POST` | `/v1/voice/clone-refs/{filename}/activate` | Activate clone reference |\n| `POST` | `/v1/voice/clone-refs/{filename}/rename` | Rename clone reference |\n| `DELETE` | `/v1/voice/clone-refs/{filename}` | Delete clone reference |\n| `POST` | `/v1/voice/speak` | Broadcast speech to voicechat clients |\n| `GET` | `/v1/voicechat/ws` | WebSocket upgrade for full-duplex voicechat |\n| `POST` | `/v1/vision/describe` | Vision describe placeholder |\n| `GET` | `/v1/vision/embed/readiness` | Non-mutating isolated OpenCLIP readiness |\n| `POST` | `/v1/vision/embed/setup` | Explicit isolated OpenCLIP setup (admin scope) |\n| `POST` | `/v1/vision/embed` | Create a vision embedding from media |\n| `GET` | `/v1/ocr/readiness` | Non-mutating advanced-OCR dependency and backend readiness |\n| `POST` | `/v1/ocr/setup` | Create and verify the isolated OCR venv (admin scope) |\n| `POST` | `/v1/ocr/advanced` | Agent-equivalent managed advanced OCR (alias of `/v1/tools/ocr_image_advanced/call`) |\n\n`POST /v1/voice/tts` and `/v1/audio/speech` automatically warm the daemon.\nAn explicit model must render exactly or the request fails; Omnius does not\nsilently synthesize with another voice. Responses include `X-Voice-Model`,\n`X-Voice-Backend`, and `X-Sample-Rate`. Available models include GLaDOS,\nOverwatch, `luxtts:announcer-testchamber03`, and the selected Voicebox suite.\nSet `OMNIUS_VOICEBOX_MODELS=all` for every carried-in Voicebox model, leave it\nat `stable` for the default set, or provide a comma-separated subset.\n\nASR selection is independent from TTS selection. The registry currently exposes\nOpenAI Whisper, managed `transcribe-cli`, NVIDIA Nemotron (reported unavailable\nuntil its legacy bootstrap is migrated), and Microsoft VibeVoice ASR. VibeVoice\nuses the exact pinned `microsoft/VibeVoice-ASR` checkpoint, reports setup and\nactivation separately, supports completed files up to 60 minutes with speakers,\ntimestamps, and `?context=` hotwords, and is deliberately not advertised as an\nincremental PCM backend. Its managed setup inherits the host CUDA-enabled Torch\nbuild (needed on Jetson/ARM64), never installs generic PyPI Torch, and activation\nrequires one explicit capable GPU. Discrete Linux uses `nvidia-smi` process/GPU\nevidence; Jetson/L4T uses NVIDIA's documented `tegrastats` plus CUDA Torch device\nproperties because `nvidia-smi` is unavailable there. Model weights live under\nthe unified Omnius ASR cache and are not shipped in the npm package.\n\n### Generative Media\n\nAll generation is backed by the unified `~/.omnius` model store and shared venvs (single source of truth — no per-project duplication). Generated files are consolidated into the global gallery at `~/.omnius/media/{images,videos,audio,music}`.\n\n| Method | Path | Purpose |\n| --- | --- | --- |\n| `GET` | `/v1/media/models` | List available image/video/audio/music models |\n| `GET` | `/v1/media/store` | Unified store disk usage + reclaimable legacy caches |\n| `POST` | `/v1/media/migrate` | Dedup + migrate legacy per-group caches into the unified store |\n| `POST` | `/v1/media/relocate` | Relocate the whole media store (weights/venvs/gallery) to a chosen folder |\n| `GET` | `/v1/media/relocate/status` | Status + progress of the media-store relocation job |\n| `POST` | `/v1/media/av/analyze` | Analyze a media file into a grounded entity/event answer (AV comprehension) |\n| `POST` | `/v1/media/image` | Generate an image |\n| `POST` | `/v1/media/video` | Generate a video |\n| `POST` | `/v1/media/audio` | Generate a sound effect |\n| `POST` | `/v1/media/music` | Generate music |\n| `GET` | `/v1/media/gallery` | List previously generated media (global, newest first) |\n| `GET` | `/v1/media/file` | Stream one generated media file |\n\nManaged TTS `pull` installs the model's runtime prerequisites and weights. It\ndoes not start inference. Managed TTS `deploy` also verifies the selected CUDA\ndevice and starts the persistent runtime. Both operations return `200` when\nready, `404` when the model has no matching managed adapter, and `500` when\ninstallation, download, CUDA preflight, or startup fails.\n\nASR download requests use `{engineId, modelId, device?}`. A collection POST\nreturns `200` when weights are ready or `202` with `statusUrl`, `retryUrl`, and\n`pollAfterMs` while work is pending. Duplicate work coalesces. Poll the model\nURL until its download is ready and its deployment is active. A missing job\nreturns `404`. Model-specific POST and retry requests return `200` when ready or\n`202` when accepted. The model `pull` and `deploy` routes accept optional\n`{device}`. Pull validates the managed runtime and CUDA placement. Deploy also\npersists the selection after readiness and returns a pollable `202` transition\nwhen activation is pending.\n\n### Engines And Scheduled Jobs\n\n| Method | Path | Purpose |\n| --- | --- | --- |\n| `GET` | `/v1/engines` | Long-running engine status |\n| `GET` | `/v1/services` | List all active daemon-owned REST services and their routes |\n| `GET` | `/v1/services/{id}` | Get one daemon-owned REST service contract |\n| `GET` | `/v1/scheduled` | List scheduled jobs |\n| `DELETE` | `/v1/scheduled/all` | Delete all tasks, timers, cron entries, and persisted sources |\n| `GET` | `/v1/scheduled/status` | Scheduler status |\n| `POST` | `/v1/scheduled/{id}` | Enable or disable one scheduled task or user timer |\n| `DELETE` | `/v1/scheduled/{id}` | Delete one scheduled task or user timer |\n| `POST` | `/v1/scheduled/kill` | Kill scheduled job |\n| `POST` | `/v1/scheduled/fixup` | Reconcile scheduled state |\n| `GET` | `/v1/scheduled/reconcile` | Preview scheduled reconciliation |\n| `POST` | `/v1/scheduled/reconcile` | Preview or apply scheduled reconciliation |\n| `GET` | `/v1/services/systemd` | Systemd service status |\n| `POST` | `/v1/services/systemd/{unit}` | Act on one user-level systemd unit |\n| `GET` | `/v1/update` | Self-update status |\n| `POST` | `/v1/update` | Start an exact-version verified global update transaction |\n\n`GET /v1/services` is the agent-readable service inventory generated from the\nOpenAPI document. Each entry states lifecycle ownership, interactive-session\ndependency, registered routes, and a readiness or status route when one exists.\n`GET /v1/services/{id}` returns one service contract or `404` for an unknown\nservice ID. These discovery routes do not mutate services. `/listen` and\n`/hangup` control voice sessions only and do not own the REST daemon.\n\n#### Verified Global Update Transaction\n\n`POST /v1/update` is not a CLI-local package edit. It starts one durable\ntransaction that installs the requested exact npm version globally, verifies\nthe installed package and resolved `omnius` executable, restarts and verifies\nthe daemon, verifies package/hash/runtime agreement, and relaunches the tray if\nit was running. The response is `202` with operation state; poll\n`GET /v1/update` for live phase, subprocess output, verification evidence, and\nthe final success or failure. Concurrent transactions and requests with no\navailable target return `409`.\n\nThe web dashboard and native tray both use this same endpoint. Update discovery\nis shared and semver-aware, so an older cached registry result cannot downgrade\nor falsely present an update. A completed transaction means the global package,\nexecutable, daemon, and tray runtime were all reconciled—not merely that `npm`\nexited successfully.\n\n### AIMS Governance\n\n| Method | Path | Purpose |\n| --- | --- | --- |\n| `GET` | `/v1/aims` | AIMS root and endpoint index |\n| `GET` | `/v1/aims/policies` | Policy register |\n| `PUT` | `/v1/aims/policies` | Replace policy register |\n| `GET` | `/v1/aims/roles` | Roles and responsibilities |\n| `GET` | `/v1/aims/resources` | Resource inventory |\n| `GET` | `/v1/aims/impact-assessments` | Impact assessments |\n| `POST` | `/v1/aims/impact-assessments` | File impact assessment |\n| `GET` | `/v1/aims/lifecycle` | Lifecycle state |\n| `GET` | `/v1/aims/data-quality` | Data quality controls |\n| `GET` | `/v1/aims/transparency` | Model cards and transparency |\n| `GET` | `/v1/aims/usage` | AIMS usage view |\n| `GET` | `/v1/aims/suppliers` | Supplier inventory |\n| `GET` | `/v1/aims/incidents` | Incident records |\n| `POST` | `/v1/aims/incidents` | File incident |\n| `GET` | `/v1/aims/oversight` | Human oversight gates |\n| `GET` | `/v1/aims/decisions` | Consequential decision log |\n| `GET` | `/v1/aims/config-history` | Config change history |\n\n### Browser And Compatibility Surfaces\n\nThe dashboard HTML routes (`/`, `/chat`, `/agent`, `/voice`, `/generate`,\n`/projects`, `/dashboard`, `/jobs`, `/activity`, `/discover`, `/settings`, and\n`/config`) are documented in the [dashboard guide](../guides/dashboard.md). They\nare pages, not JSON API operations; `/` returns the HATEOAS JSON root when the\nclient does not request HTML.\n\nSwagger/ReDoc trailing-slash variants, `/api/docs/*` static assets, and\n`/favicon.ico` exist for browsers. They are delivery details rather than stable\nintegration endpoints. The daemon also retains browser/legacy bridges at\n`/v1/model`, `/v1/endpoint`, `/v1/theme`, `/v1/tor/*`, `/v1/remote-proxy`, and\n`/v1/command`. New clients should prefer `/v1/config/model`,\n`/v1/config/endpoint`, `/v1/config`, and `/v1/commands/{cmd}`. Compatibility\nhandlers may accept additional HTTP verbs for old dashboard bundles; only the\nmethods in the supported inventory above are contractual.\n<!-- END GENERATED REST INVENTORY -->\n## Agent-Explorable Documentation\n\nOmnius discovers project-local docs skills from `.aiwg/addons/*/skills`. The docs bundles in this repo expose high-signal entrypoints for agents:\n\n```text\n/skills omnius docs\nskill_execute name=\"omnius-docs\"\nskill_execute name=\"omnius-rest-docs\"\nskill_extract name=\"omnius-realtime-docs\" query=\"How does realtime REST mode work?\"\n```\n\nThe intended pattern is index first, targeted document second, not loading the whole manual into the active context.\n\n## Development\n\n```bash\npnpm install\npnpm -r build\npnpm docs:check\n```\n\nFocused checks used for the docs skill surface:\n\n```bash\npnpm --filter @omnius/execution exec vitest run tests/skill-discovery.test.ts\npnpm --filter omnius exec vitest run tests/realtime-mode.test.ts tests/command-registry.test.ts\n```\n\n## Publishing\n\nPublish only from `publish/`.\n\n```bash\ncd omnius\npnpm -r clean || true\nfind . -name 'tsconfig.tsbuildinfo' -not -path '*/node_modules/*' -delete\npnpm -r build\nnode scripts/build-publish.mjs\ncd publish\nmkdir -p .npm-cache\nNPM_CONFIG_CACHE=$(pwd)/.npm-cache npm pack --prefer-online --cache-min=0 --registry https://registry.npmjs.org/\nNPM_CONFIG_CACHE=$(pwd)/.npm-cache npm publish --access public --prefer-online --cache-min=0 --registry https://registry.npmjs.org/\n```\n\nBefore publishing, verify `README.md`, `package.json`, `dist/index.js`, and `dist/launcher.cjs` are in the tarball, and that `package.json` includes `readmeFilename: \"README.md\"` plus a string `readme`.\n\n## License\n\nOmnius is released under [CC-BY-NC-4.0](LICENSE) for non-commercial use. Commercial use, redistribution, hosted services, and enterprise deployment require a commercial license.\n"
|
|
171
172
|
}
|