omnius 1.0.706 → 1.0.708
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 +6741 -6048
- package/dist/launcher.cjs +7 -2
- package/dist/update-worker.js +1 -1
- package/docs/DISCOVERY.json +60 -0
- package/docs/DISCOVERY.md +1 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
package/dist/launcher.cjs
CHANGED
|
@@ -8,22 +8,27 @@ const { spawn, spawnSync } = require('node:child_process');
|
|
|
8
8
|
const { resolve } = require('node:path');
|
|
9
9
|
|
|
10
10
|
function resetTerminal() {
|
|
11
|
-
|
|
12
|
-
//
|
|
11
|
+
// Disable reporting before canonical/ECHO mode returns. Reversing this order
|
|
12
|
+
// lets buffered pointer reports appear as literal ESC[<35;x;yM text.
|
|
13
13
|
const ESC = '\x1B';
|
|
14
14
|
try {
|
|
15
15
|
process.stdout.write(
|
|
16
16
|
ESC + '[?25h' + // show cursor
|
|
17
|
+
ESC + '[?9l' + // legacy X10 mouse off
|
|
17
18
|
ESC + '[?1000l' + // X10 mouse off
|
|
19
|
+
ESC + '[?1001l' + // highlight tracking off
|
|
18
20
|
ESC + '[?1002l' + // button-event mouse off
|
|
19
21
|
ESC + '[?1003l' + // any-event mouse off
|
|
22
|
+
ESC + '[?1005l' + // UTF-8 mouse encoding off
|
|
20
23
|
ESC + '[?1006l' + // SGR mouse off
|
|
21
24
|
ESC + '[?1015l' + // urxvt mouse off
|
|
25
|
+
ESC + '[?1016l' + // SGR pixel mouse off
|
|
22
26
|
ESC + '[?2004l' + // bracketed paste off
|
|
23
27
|
ESC + '[?1049l' + // exit alt screen
|
|
24
28
|
ESC + '[0m' // reset attributes
|
|
25
29
|
);
|
|
26
30
|
} catch {}
|
|
31
|
+
try { if (process.stdin.isTTY && typeof process.stdin.setRawMode === 'function') process.stdin.setRawMode(false); } catch {}
|
|
27
32
|
// stty sane (POSIX)
|
|
28
33
|
if (process.platform !== 'win32' && process.stdin.isTTY) {
|
|
29
34
|
try { spawnSync('stty', ['sane'], { stdio: 'inherit' }); } catch {}
|
package/dist/update-worker.js
CHANGED
|
@@ -296726,7 +296726,7 @@ import { basename as basename8, dirname as dirname9, join as join17 } from "node
|
|
|
296726
296726
|
|
|
296727
296727
|
// packages/cli/src/updater.ts
|
|
296728
296728
|
import { join as join16 } from "node:path";
|
|
296729
|
-
var
|
|
296729
|
+
var UPDATE_CHECK_INTERVAL_MS = 60 * 1e3;
|
|
296730
296730
|
var CACHE_DIR = resolveUpdatePaths().stateDir;
|
|
296731
296731
|
var CACHE_FILE = join16(CACHE_DIR, "registry-check.json");
|
|
296732
296732
|
|
package/docs/DISCOVERY.json
CHANGED
|
@@ -20786,6 +20786,66 @@
|
|
|
20786
20786
|
},
|
|
20787
20787
|
"avoid_when": []
|
|
20788
20788
|
},
|
|
20789
|
+
{
|
|
20790
|
+
"id": "command.compacted",
|
|
20791
|
+
"kind": "command",
|
|
20792
|
+
"title": "/compacted",
|
|
20793
|
+
"summary": "Review applied, held, rejected, and failed compaction attempts",
|
|
20794
|
+
"aliases": [
|
|
20795
|
+
"/compacted",
|
|
20796
|
+
"compacted"
|
|
20797
|
+
],
|
|
20798
|
+
"keywords": [
|
|
20799
|
+
"command",
|
|
20800
|
+
"session",
|
|
20801
|
+
"compacted"
|
|
20802
|
+
],
|
|
20803
|
+
"maturity": "stable",
|
|
20804
|
+
"layer": "interface",
|
|
20805
|
+
"audiences": [
|
|
20806
|
+
"user",
|
|
20807
|
+
"coding-agent",
|
|
20808
|
+
"integrator"
|
|
20809
|
+
],
|
|
20810
|
+
"interfaces": [
|
|
20811
|
+
{
|
|
20812
|
+
"type": "tui",
|
|
20813
|
+
"target": "/compacted"
|
|
20814
|
+
}
|
|
20815
|
+
],
|
|
20816
|
+
"references": [
|
|
20817
|
+
{
|
|
20818
|
+
"type": "source",
|
|
20819
|
+
"target": "packages/cli/src/tui/command-registry.ts",
|
|
20820
|
+
"relation": "registry"
|
|
20821
|
+
}
|
|
20822
|
+
],
|
|
20823
|
+
"signatures": [
|
|
20824
|
+
{
|
|
20825
|
+
"signature": "/compacted",
|
|
20826
|
+
"description": "Review applied, held, rejected, and failed compaction attempts"
|
|
20827
|
+
}
|
|
20828
|
+
],
|
|
20829
|
+
"subcommands": [],
|
|
20830
|
+
"implementation_status": "implemented",
|
|
20831
|
+
"surfaces": {
|
|
20832
|
+
"tui": true,
|
|
20833
|
+
"rest": false,
|
|
20834
|
+
"gateway": false,
|
|
20835
|
+
"agentTool": false
|
|
20836
|
+
},
|
|
20837
|
+
"safety": {
|
|
20838
|
+
"userOnly": true,
|
|
20839
|
+
"destructive": false,
|
|
20840
|
+
"networked": false,
|
|
20841
|
+
"secretBearing": false,
|
|
20842
|
+
"profileGated": false
|
|
20843
|
+
},
|
|
20844
|
+
"avoid_when": [
|
|
20845
|
+
"Calling it through the REST command proxy; this command is not REST-exposed",
|
|
20846
|
+
"Allowing an autonomous agent to invoke it without an explicit user action"
|
|
20847
|
+
]
|
|
20848
|
+
},
|
|
20789
20849
|
{
|
|
20790
20850
|
"id": "command.config",
|
|
20791
20851
|
"kind": "command",
|
package/docs/DISCOVERY.md
CHANGED
|
@@ -294,6 +294,7 @@ Daemon equivalents are `GET /v1/discovery/bootstrap`, `GET /v1/discovery?q=<inte
|
|
|
294
294
|
| `command.color` | /color | Show or configure terminal colors/theme |
|
|
295
295
|
| `command.commands` | /commands | Allow agent to invoke slash commands as tools |
|
|
296
296
|
| `command.compact` | /compact | Force context compaction now (default strategy) |
|
|
297
|
+
| `command.compacted` | /compacted | Review applied, held, rejected, and failed compaction attempts |
|
|
297
298
|
| `command.config` | /config | Show current configuration |
|
|
298
299
|
| `command.context` | /context | Force-save session context to .omnius/context/ |
|
|
299
300
|
| `command.cost` | /cost | Show session token cost breakdown |
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "omnius",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.708",
|
|
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.708",
|
|
10
10
|
"bundleDependencies": [
|
|
11
11
|
"image-to-ascii"
|
|
12
12
|
],
|
package/package.json
CHANGED