omnius 1.0.867 → 1.0.868

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/dist/api/py-embed.js +13 -0
  2. package/dist/index.js +2 -2
  3. package/dist/library.js +220 -194
  4. package/dist/tui/native/worker.js +857 -143
  5. package/dist/update-worker.js +128 -77
  6. package/docs/DISCOVERY.json +1069 -139
  7. package/docs/DISCOVERY.md +26 -7
  8. package/docs/design/media-unification-TODO.md +26 -6
  9. package/docs/design/media-unification-design.md +89 -0
  10. package/docs/design/update-operation-cancellation.md +40 -0
  11. package/docs/design/update-session-restoration-TODO.md +30 -0
  12. package/docs/work-orders/evidence/instrument-media-live-20261016/media-audio-playing.png +0 -0
  13. package/docs/work-orders/evidence/instrument-media-live-20261016/media-image-100x30.png +0 -0
  14. package/docs/work-orders/evidence/instrument-media-live-20261016/media-image-120x36.png +0 -0
  15. package/docs/work-orders/evidence/instrument-media-live-20261016/media-image-160x48.png +0 -0
  16. package/docs/work-orders/evidence/instrument-media-live-20261016/media-image-60x20.png +0 -0
  17. package/docs/work-orders/evidence/instrument-media-live-20261016/media-image-80x24.png +0 -0
  18. package/docs/work-orders/evidence/instrument-media-live-20261016/media-progress-collapsed.png +0 -0
  19. package/docs/work-orders/evidence/instrument-media-live-20261016/media-video-frame-a.png +0 -0
  20. package/docs/work-orders/evidence/instrument-media-live-20261016/media-video-frame-b.png +0 -0
  21. package/docs/work-orders/evidence/instrument-media-live-20261016/media-voice-autocomplete-junction.png +0 -0
  22. package/docs/work-orders/evidence/instrument-media-live-20261016/report.json +813 -0
  23. package/docs/work-orders/evidence/instrument-media-verification-20261016.json +59 -0
  24. package/docs/work-orders/evidence/native-interface-state-verification-20261016.json +59 -0
  25. package/docs/work-orders/evidence/project-media-unification-20261016.json +108 -0
  26. package/npm-shrinkwrap.json +2 -2
  27. package/package.json +1 -1
@@ -0,0 +1,59 @@
1
+ {
2
+ "passed": true,
3
+ "scope": "Production native source components under real OpenTUI and GNOME/VTE using CPU-decoded fixture files. No CLI backend or live inference.",
4
+ "unit": {
5
+ "files": 5,
6
+ "tests": 13,
7
+ "log": "/tmp/omnius-native-media-frozen-tests.log",
8
+ "nativeFixtureInternalChecks": 8,
9
+ "overlap": "The eight native checks execute within one of the thirteen Vitest tests; do not add them to that total.",
10
+ "filesTested": [
11
+ "tests/media-generation-block.test.ts",
12
+ "tests/native-media.test.ts",
13
+ "tests/native-components.test.ts",
14
+ "tests/native-session-tabs.test.ts",
15
+ "tests/native-sidebar-divider.test.ts"
16
+ ]
17
+ },
18
+ "cliTypecheck": {
19
+ "passed": true,
20
+ "command": "pnpm exec tsc --noEmit --tsBuildInfoFile /tmp/omnius-native-media-final2.tsbuildinfo",
21
+ "log": "/tmp/omnius-native-media-final-typecheck.log"
22
+ },
23
+ "vte": {
24
+ "passed": true,
25
+ "checks": 12,
26
+ "screenshots": 10,
27
+ "report": "docs/work-orders/evidence/instrument-media-live-20261016/report.json",
28
+ "log": "/tmp/omnius-native-media-vte2.log",
29
+ "inspected": [
30
+ "media-voice-autocomplete-junction.png",
31
+ "media-audio-playing.png"
32
+ ]
33
+ },
34
+ "inferenceRequests": 0,
35
+ "modelLoads": 0,
36
+ "audibleOutput": false,
37
+ "externalViewerLaunched": false,
38
+ "sharedDistBuilds": 0,
39
+ "files": {
40
+ "packages/cli/src/tui/media-generation-block.ts": "59204de1b660ba1f5278f67a6e26232a62043c8e789491ace91db59053b37a3e",
41
+ "packages/cli/src/tui/native/components/media.ts": "443d16344fd63061c8ed8ec670e7e5532116c08c256fcd5590ea11881cf540bf",
42
+ "packages/cli/src/tui/native/components/media-playback.ts": "cda7feab608138194006e4de69462c63fd3a76e60cc5f458ef74e9bde6051510",
43
+ "packages/cli/src/tui/native/components/blocks.ts": "c29b813d5af58c8c13997264e5a2e55d7ef3aaf4685c658742dc345472a3b626",
44
+ "packages/cli/src/tui/native/components/frontend.ts": "63c82767870de86cb3be89df00721b59f4cb2713770ac664aa451c4613e23f4e",
45
+ "packages/cli/src/tui/native/worker.ts": "66ac87fac20937bbb12a9f07649de37e5c64f5f95f1c50eb35f2a58afb7cd54d",
46
+ "packages/cli/src/tui/native/host.ts": "d055040dc4875353ecd87378bf8bfccb3e684f6b28042bd57067101092470d37",
47
+ "packages/cli/src/tui/native/protocol.ts": "39670156402fe0210372a30ad48a838ba03c54e290997c734e4865b33e10105f",
48
+ "packages/cli/src/tui/generative-progress.ts": "a2d0e1d842d876b22ed6786749d3f5c867d54cd52a524268fe90d6d74c332bf7",
49
+ "packages/cli/src/tui/commands.ts": "650691c3e7c41d6dcc7a9a7856431e8fe522f0e13f285f1341c20ab0329b601e",
50
+ "packages/cli/src/tui/command-registry.ts": "d270e0c413f33157c212193138d726104086cf188525aea9a994cb0ece57e9c6",
51
+ "packages/cli/src/tui/interactive.ts": "f169a2e93c31fda54757f73c21f3d0a363a12466fda014c7e5cd46fc83bd0db6",
52
+ "packages/cli/src/tui/render.ts": "a69b6e25573265ba2f162a8df69a949d1ddda8da3030a1f2bfbf0c11af98723e",
53
+ "packages/cli/tests/media-generation-block.test.ts": "76f46f5ee600364a043bf8d8b32129e6e57b8d94a8a42724b27af20b9232becf",
54
+ "packages/cli/tests/native-media.test.ts": "404c0d6d82a13682430c26b3890c2b39b6806bd402ab56a66ce75f19157790a4",
55
+ "packages/cli/tests/native-media.bun.ts": "15f9b0ad8cb2daedb33bbd89096c151608c1d607e0235c1f539f89e1b8fefb27",
56
+ "packages/cli/tests/native-media-live.bun.ts": "e005a69de8039cd35b46eee5474c3d73ba7b1845172f45b6972f70bc4632ddde",
57
+ "scripts/test-tui-media-live.mjs": "08c8da50dc118e371876cb811f6cd470bac57a09c989b07ef7ace51f9757ebf3"
58
+ }
59
+ }
@@ -0,0 +1,59 @@
1
+ {
2
+ "passed": true,
3
+ "scope": "Durable native presentation and full agent documents from source; actual OpenTUI fresh-renderer restore, typed host transport lifecycle, disk validation. No published artifact/install/update-service claim.",
4
+ "tests": {
5
+ "files": 7,
6
+ "tests": 46,
7
+ "log": "/tmp/omnius-native-interface-frozen-tests.log",
8
+ "tested": [
9
+ "native-interface-state.test.ts",
10
+ "native-host.test.ts",
11
+ "native-session-views.test.ts",
12
+ "tui-session-state-disk.test.ts",
13
+ "native-document-retention.test.ts",
14
+ "native-media.test.ts",
15
+ "native-session-tabs.test.ts"
16
+ ],
17
+ "nativeInterfaceInternalChecks": 4,
18
+ "nativeMediaInternalChecks": 8,
19
+ "overlap": "Internal native checks run within Vitest wrapper tests and are included in 46."
20
+ },
21
+ "typecheck": {
22
+ "passed": true,
23
+ "command": "pnpm exec tsc --noEmit --tsBuildInfoFile /tmp/omnius-native-interface-second.tsbuildinfo",
24
+ "log": "/tmp/omnius-native-interface-second-typecheck.log"
25
+ },
26
+ "coverage": [
27
+ "Exact native per-session/agent/presentation scroll and live state",
28
+ "Retained nested disclosure with same IDs across agent/session boundaries",
29
+ "Canonical UTF-16 cursor with CJK, combining, emoji, newline and tab",
30
+ "Chosen sidebar width and independent wide/narrow disclosure",
31
+ "Instrument section disclosure and session tab overflow",
32
+ "Coalesced state acknowledgement before typed capture",
33
+ "Inactive retained documents serialized without reactivating or invoking expired producers",
34
+ "Main and child semantic documents with paused restored runtime",
35
+ "Version-2 legacy disk compatibility and optional-field containment"
36
+ ],
37
+ "inferenceCalls": 0,
38
+ "modelLoads": 0,
39
+ "sharedDistBuilds": 0,
40
+ "files": {
41
+ "packages/cli/src/tui/native/interface-state.ts": "e9966e685b245781437802266918eac88fc55e2924d8d81716b56ad80a36107e",
42
+ "packages/cli/src/tui/native/protocol.ts": "cd451f02ed4b5c4881d40f50de8373b9ac1d75987a8ec4449407e4e719e8bd2e",
43
+ "packages/cli/src/tui/native/host.ts": "855cf798a671a5c59392a66af9d5597f0efbcb3d848974b48cd47e13860e71c7",
44
+ "packages/cli/src/tui/native/worker.ts": "b13499f0193eb881cac315392b396212c51cfeda11b451795179d75fef4e9e3a",
45
+ "packages/cli/src/tui/native/components/frontend.ts": "d394172a6b5eaf95a94f0c0157949882ab2db1434aa08b0aa414745eb4dc5f06",
46
+ "packages/cli/src/tui/native/components/blocks.ts": "f45d7f66adb928897c3f54d1664156c79cd607641d71d4fd0197339888d88018",
47
+ "packages/cli/src/tui/native/components/instruments.ts": "345722e2b151eb201ea0cf18652ae11761b9719b16aa0aa53e242d436358efbe",
48
+ "packages/cli/src/tui/native/components/tab-strip.ts": "f94bcb26b1332abbc48a891b7b7b1db9184b32b442b91fe897c6063d3c79f80e",
49
+ "packages/cli/src/tui/status-bar.ts": "fae2ccd1fb1c55009abae004d235d46c2da9ccb6d8f720b20677254a64057252",
50
+ "packages/cli/src/tui/render.ts": "e3916cd0995c60145148070c47d04d373f508c777b4a6d6f977f5090dd908cb9",
51
+ "packages/cli/src/tui/omnius-directory.ts": "dbe53c8822d7e7551add3429b6067d41421dc34fa9e3df558ad8b4661e5e4737",
52
+ "packages/cli/tests/native-interface-state.bun.ts": "3d5d3ec75a3b572c59b968c25421bf562c1fd994256e5b3a4797e1e11a00d817",
53
+ "packages/cli/tests/native-interface-state.test.ts": "25daac066740f6d9ba061baf1ab5afa1f681b5be3dd9ce3df89c363d50a041ae",
54
+ "packages/cli/tests/native-host.test.ts": "1074f29a5aa8dcb4d665e417c87d28a0782c2966331b1b68ec7d3ea2766d87eb",
55
+ "packages/cli/tests/native-session-views.test.ts": "df662fec04db489f24215aedd650091abd182b9df2493902941b00e7646aeefe",
56
+ "packages/cli/tests/native-document-retention.test.ts": "3a123663dd72754945e0352ee2128b8e647433554cfe8763302bd655a9996756",
57
+ "packages/cli/tests/tui-session-state-disk.test.ts": "0f56aab47b6c6930120c21d17e9556dc7622290966d4210bb6e18b69a04c2900"
58
+ }
59
+ }
@@ -0,0 +1,108 @@
1
+ {
2
+ "phase": "Project-scoped generated artifacts with global shared media weights",
3
+ "verifiedAt": "2026-10-17T02:16:35.624507+00:00",
4
+ "baseCommit": "0a6e9adac127f4fc7288ae3df99dd0d725f50711",
5
+ "passed": true,
6
+ "verificationScope": "Focused backend, filesystem, authorization and required transport regressions; not the full CLI or workspace suite.",
7
+ "uniqueTests": 122,
8
+ "uniqueTestFiles": 11,
9
+ "batches": [
10
+ {
11
+ "name": "project media, HTTP authorization and existing management/archive routing",
12
+ "command": "pnpm --filter omnius exec vitest run tests/project-media-auth.test.ts tests/project-media.test.ts tests/media-management.test.ts tests/routes-media.test.ts --maxWorkers 2 --minWorkers 1",
13
+ "passed": 54,
14
+ "files": 4,
15
+ "cases": {
16
+ "project-media": 14,
17
+ "project-media-auth": 2,
18
+ "media-management": 20,
19
+ "routes-media": 18
20
+ }
21
+ },
22
+ {
23
+ "name": "shared cache leases, model store and migration",
24
+ "command": "pnpm --filter @omnius/execution exec vitest run tests/media-store-lease.test.ts tests/model-store.test.ts tests/media-store-migrate.test.ts tests/relocate-media-store.test.ts --maxWorkers 2 --minWorkers 1",
25
+ "passed": 34,
26
+ "files": 4,
27
+ "cases": {
28
+ "media-store-lease": 8,
29
+ "model-store": 15,
30
+ "media-store-migrate": 4,
31
+ "relocate-media-store": 7
32
+ }
33
+ },
34
+ {
35
+ "name": "mandatory daemon frontend transport gate",
36
+ "command": "pnpm --filter omnius exec vitest run tests/web-chat-transport-lifecycle.test.ts tests/web-ui-client-runtime.test.ts tests/web-ui-script.test.ts --maxWorkers 2 --minWorkers 1",
37
+ "passed": 34,
38
+ "files": 3,
39
+ "cases": {
40
+ "web-chat-transport-lifecycle": 21,
41
+ "web-ui-client-runtime": 4,
42
+ "web-ui-script": 9
43
+ },
44
+ "notes": "Existing repeated SIGINT/SIGTERM listener warnings appeared in the fixture process; all lifecycle assertions passed."
45
+ }
46
+ ],
47
+ "checks": {
48
+ "cliNoEmit": "PASS: pnpm --filter omnius exec tsc --noEmit --pretty false",
49
+ "ownedDiffCheck": "PASS"
50
+ },
51
+ "deduplication": "Earlier 50/52-test backend runs and the repeated two-test authorization run are superseded by the final 54-test batch, and are not added again.",
52
+ "behavior": [
53
+ "Image, video, audio and music generation capture registered projectRoot, use existing project .omnius output directories directly and never copy new outputs into a global gallery.",
54
+ "Gallery discovers existing project artifacts without import. Global model weights stay shared; older global gallery copies require explicit legacy-global scope and are not auto-attributed or moved.",
55
+ "Known session IDs must match the captured project. Stable IDs use physical project identity; stat-based revisions, ETags and If-Match reject replaced artifacts between inspection and byte acquisition/deletion.",
56
+ "Basenames, supported media types, regular directories/files, containment and matching sidecars are validated. Sidecars cannot redirect access. Project video deletion includes only its exact derived regular thumbnail.",
57
+ "Daemon Stop requires matching project, generation/request identity and authenticated owner with run/admin scope. Acknowledgement means stopping; actual terminal settlement comes from the invocation. Repeated Stop is idempotent, and late cancel errors cannot reopen terminal jobs.",
58
+ "Configured root symlink aliases share a canonical physical media-store lease; nested cache/lock symlinks remain rejected.",
59
+ "REST register, rename, unregister and preference-sentinel writes require admin. switch registerIfMissing also requires admin. Existing-root switching and read-only scan/list stay available. Actual HTTP scan finds an unregistered .omnius workspace without changing registry bytes or granting media access."
60
+ ],
61
+ "isolation": [
62
+ "All artifact/model/cache tests use scratch OMNIUS_HOME and OMNIUS_MEDIA_HOME; Vitest and HTTP helper use scratch OMNIUS_CONFIG_HOME/ASR_ROOT.",
63
+ "Generation constructors are replaced with deterministic fixture implementations that write dummy bytes into scratch project directories. Cancellation uses controlled promises, never GPU/model workers.",
64
+ "Authorization uses actual loopback HTTP and fixture bearer scopes. No external inference, model download, daemon restart, publication, global installation or real user artifact deletion was performed."
65
+ ],
66
+ "limits": [
67
+ "Generation control records are bounded daemon-memory state (terminal expiry ten minutes); they do not survive a daemon restart.",
68
+ "Revision is a stat fingerprint rather than a content checksum. File acquisition uses O_NOFOLLOW plus fstat revision verification.",
69
+ "The existing shared store lease conservatively serializes generation with cache mutations because generation can auto-download/evict; no new concurrent-reader lease policy is claimed.",
70
+ "Browser visual/playback coverage and actual native playback coverage are supplied by separate team verification; this receipt claims only the tests listed here."
71
+ ],
72
+ "priorEvidenceCorrection": {
73
+ "file": "docs/work-orders/evidence/dashboard-media-management-20261016.json",
74
+ "note": "The earlier initialFailure diagnosis of real-home lease contention was unproven. Subsequent parent reproduction showed the configured root was a legitimate symlink rejected by the original lease root check, before allocation. No actual cache/model operation or persistent real-home lease was observed. This phase canonicalizes configured aliases and tests that behavior explicitly."
75
+ },
76
+ "ownedFiles": [
77
+ "docs/design/media-unification-design.md",
78
+ "packages/cli/src/media-artifacts.ts",
79
+ "packages/cli/src/api/media-projects.ts",
80
+ "packages/cli/src/api/routes-media.ts",
81
+ "packages/cli/src/api/media-management.ts",
82
+ "packages/cli/src/api/openapi.ts",
83
+ "packages/cli/src/api/serve.ts",
84
+ "packages/execution/src/tools/media-store-lease.ts",
85
+ "packages/execution/src/tools/media-store-migrate.ts",
86
+ "packages/cli/tests/project-media.test.ts",
87
+ "packages/cli/tests/project-media-auth.test.ts",
88
+ "packages/cli/tests/media-management.test.ts",
89
+ "packages/cli/tests/routes-media.test.ts",
90
+ "packages/execution/tests/media-store-lease.test.ts"
91
+ ],
92
+ "sourceSha256": {
93
+ "docs/design/media-unification-design.md": "4f30985a9797fa081c765193335397c876d5a7d6bc06bfde17d4709d648cc4ac",
94
+ "packages/cli/src/media-artifacts.ts": "3c38afa640bd38667167dd5973cad5c9d0daa4b2b4d7ef652eb6cf3b948b8226",
95
+ "packages/cli/src/api/media-projects.ts": "fd065f09e4cd99409da5416754818320adc782aa834485a5c242ef1ae7e3b840",
96
+ "packages/cli/src/api/routes-media.ts": "834ff2a2230d5ca1a80d27f37a43d22011608e40343117f465ff0879a8b19ff4",
97
+ "packages/cli/src/api/media-management.ts": "c7d617401dc48968ad2347c2cb02cb0210731cbd86a4ae3c9c972689ab281cbb",
98
+ "packages/cli/src/api/openapi.ts": "c99840dae2e8023524a0ebc20c8b93fbc1d8c5e45ce4973bcd607148de2e27ea",
99
+ "packages/cli/src/api/serve.ts": "535d96d283855b9c46340f6dac2370bf7c85b694f3dc0fa15a4eb7b17ebe86d3",
100
+ "packages/execution/src/tools/media-store-lease.ts": "126fbe2012a75ac4f3ccedfbe8ec17a6a593e767a6db7a1e85f77f6993dc1f2d",
101
+ "packages/execution/src/tools/media-store-migrate.ts": "de5f8b16ce07ea50254374660c62534255659255b487618b174d8abd6bfc9c1d",
102
+ "packages/cli/tests/project-media.test.ts": "f1723b555cedc5c2973f09a61442b066b2c547bb8b35c2739cb2962ef7d6eed2",
103
+ "packages/cli/tests/project-media-auth.test.ts": "1d919cbd902839159598eff23cdbdc354246e5c6efdac46608599754d7895978",
104
+ "packages/cli/tests/media-management.test.ts": "fc467b9c41ae50e9a1bf2e88e51fcf4aaf06cdb09e9e35c02509fefd14fd36f5",
105
+ "packages/cli/tests/routes-media.test.ts": "cd1a4d4d5436c225e2c82107daf087dc8f3f442617da47baf60489a55b2c20ef",
106
+ "packages/execution/tests/media-store-lease.test.ts": "46fe3fb40ab062b0a1afd285da1ed3d88220ebb65756869ab4f4cae2dba14078"
107
+ }
108
+ }
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "omnius",
3
- "version": "1.0.867",
3
+ "version": "1.0.868",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "omnius",
9
- "version": "1.0.867",
9
+ "version": "1.0.868",
10
10
  "bundleDependencies": [
11
11
  "image-to-ascii"
12
12
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omnius",
3
- "version": "1.0.867",
3
+ "version": "1.0.868",
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",