omnius 1.0.873 → 1.0.875
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/dist/library.js +259 -62
- package/dist/providerRegistry.d.ts +6 -0
- package/dist/tui/native/worker.js +91 -10
- package/docs/DISCOVERY.json +1054 -130
- package/docs/DISCOVERY.md +26 -1
- package/docs/guides/endpoint-requirements.md +33 -0
- package/docs/guides/sponsored-inference-mesh.md +84 -0
- package/docs/work-orders/evidence/chat-session-document-revision-20261017.json +57 -0
- package/docs/work-orders/evidence/chat-session-legacy-document-20261017.json +60 -0
- package/docs/work-orders/evidence/chat-session-live-sidecar-20261017.json +158 -0
- package/docs/work-orders/evidence/chat-session-shared-store-20261017.json +89 -0
- package/docs/work-orders/evidence/endpoint-completion-verification-20261017.json +95 -0
- package/docs/work-orders/evidence/endpoint-source-verification-20261017.json +175 -0
- package/docs/work-orders/evidence/expanded-variant-repair-20261017.json +88 -0
- package/docs/work-orders/evidence/final-presentation-native-20261017/final-160x48.txt +48 -0
- package/docs/work-orders/evidence/final-presentation-native-20261017/final-60x20.txt +20 -0
- package/docs/work-orders/evidence/final-presentation-native-20261017/report.json +1225 -0
- package/docs/work-orders/evidence/final-presentation-native-20261017/rich-final-160x48.txt +48 -0
- package/docs/work-orders/evidence/final-presentation-native-20261017.json +116 -0
- package/docs/work-orders/evidence/inference-route-attempts-20261017.json +82 -0
- package/docs/work-orders/evidence/mesh-source-verification-20261017.json +46 -0
- package/docs/work-orders/evidence/mesh-transport-verification-20261017.json +156 -0
- package/docs/work-orders/evidence/opencode-endpoint-regression-20261017.json +984 -0
- package/docs/work-orders/evidence/project-session-delete-shared-state-20261017.json +54 -0
- package/docs/work-orders/evidence/public-session-live-20261017.json +52 -0
- package/docs/work-orders/evidence/session-live-sidecar-profile-20261017.json +315 -0
- package/docs/work-orders/evidence/session-live-write-profile-20261017.json +167 -0
- package/docs/work-orders/evidence/sticky-catalog-candidate-release-20261017.json +314 -0
- package/npm-shrinkwrap.json +1705 -202
- package/package.json +78 -34
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": "omnius.chat-session-shared-store-verification.v1",
|
|
3
|
+
"recordedAt": "2026-10-17",
|
|
4
|
+
"scope": "source-only canonical session persistence repair; no title-helper integration",
|
|
5
|
+
"baseCommit": "118b3e99ce131f5e032ff5c9f52788de966ffcae",
|
|
6
|
+
"before": {
|
|
7
|
+
"schema": "omnius.chat-store-before-source-fixture.v1",
|
|
8
|
+
"baseCommit": "118b3e99ce131f5e032ff5c9f52788de966ffcae",
|
|
9
|
+
"kind": "actual independent process plus held-source-reference storage reproduction",
|
|
10
|
+
"staleLookup": true,
|
|
11
|
+
"lostExternalAppend": true,
|
|
12
|
+
"externalDeleteConfirmed": true,
|
|
13
|
+
"resurrectedDeletedRecord": true,
|
|
14
|
+
"inferenceCalls": 0,
|
|
15
|
+
"servicesChanged": 0,
|
|
16
|
+
"sourceSha256": "92745a12ffc69276205b2c05e42991ea3776512c2944fbf31b94cbcb33d83ee6",
|
|
17
|
+
"fixtureSource": "import {mkdtempSync,mkdirSync,readFileSync,existsSync,writeFileSync,rmSync} from \"node:fs\";\nimport {join} from \"node:path\";import {tmpdir} from \"node:os\";import {spawnSync} from \"node:child_process\";import {createHash} from \"node:crypto\";\nglobalThis.fetch=async()=>{throw new Error(\"Storage-only fixture forbids network\");};\nconst {getSession,lookupSession,addAssistantMessage}=await import(\"./src/api/chat-session.ts\");\nconst {omniusConfigDir}=await import(\"./src/config-home.ts\");\nconst root=mkdtempSync(join(tmpdir(),\"omnius-chat-before-fixture-\"));process.env.OMNIUS_CONFIG_HOME=root;const project=join(root,\"project\");mkdirSync(project);\nconst id=\"controlled-store-before\",held=getSession(id,\"fixture\",project),file=omniusConfigDir(\"chat-sessions\",id+\".json\");\nconst child=(operation:string)=>{const result=spawnSync(process.execPath,[\"-e\",`globalThis.fetch=async()=>{throw new Error(\"Network forbidden\");}; const s=await import(${JSON.stringify(new URL(\"./src/api/chat-session.ts\",import.meta.url).pathname)});${operation};process.exit(0);`],{env:{...process.env},encoding:\"utf8\",timeout:10000});if(result.status!==0)throw new Error(result.stderr);};\nchild(`s.addAssistantMessage(s.getSession(${JSON.stringify(id)},\"fixture\",${JSON.stringify(project)}),\"REMOTE_PROCESS_ANSWER\")`);\nconst staleLookup=lookupSession(id)===held&&!held.messages.some(m=>m.content===\"REMOTE_PROCESS_ANSWER\");\naddAssistantMessage(held,\"LOCAL_APPEND_FROM_STALE_REFERENCE\");\nconst lostExternalAppend=!JSON.parse(readFileSync(file,\"utf8\")).messages.some((m:any)=>m.content===\"REMOTE_PROCESS_ANSWER\");\nchild(`s.deleteSession(${JSON.stringify(id)})`);const externalDeleteConfirmed=!existsSync(file);\naddAssistantMessage(held,\"LATE_STALE_ANSWER\");const resurrectedDeletedRecord=existsSync(file);\nconst report={schema:\"omnius.chat-store-before-source-fixture.v1\",baseCommit:\"118b3e99ce131f5e032ff5c9f52788de966ffcae\",kind:\"actual independent process plus held-source-reference storage reproduction\",staleLookup,lostExternalAppend,externalDeleteConfirmed,resurrectedDeletedRecord,inferenceCalls:0,servicesChanged:0,sourceSha256:createHash(\"sha256\").update(readFileSync(new URL(\"./src/api/chat-session.ts\",import.meta.url))).digest(\"hex\")};\nwriteFileSync(\"/tmp/omnius-chat-store-before-proof.json\",JSON.stringify(report,null,2)+\"\\n\");console.log(JSON.stringify(report));rmSync(root,{recursive:true,force:true});process.exit(staleLookup&&lostExternalAppend&&externalDeleteConfirmed&&resurrectedDeletedRecord?0:1);\n",
|
|
18
|
+
"fixtureSha256": "76a3458bc6b88d312251ec63e9caa4f4606396bf679fd6610702abe55f69e291",
|
|
19
|
+
"log": "{\"schema\":\"omnius.chat-store-before-source-fixture.v1\",\"baseCommit\":\"118b3e99ce131f5e032ff5c9f52788de966ffcae\",\"kind\":\"actual independent process plus held-source-reference storage reproduction\",\"staleLookup\":true,\"lostExternalAppend\":true,\"externalDeleteConfirmed\":true,\"resurrectedDeletedRecord\":true,\"inferenceCalls\":0,\"servicesChanged\":0,\"sourceSha256\":\"92745a12ffc69276205b2c05e42991ea3776512c2944fbf31b94cbcb33d83ee6\"}\n"
|
|
20
|
+
},
|
|
21
|
+
"after": {
|
|
22
|
+
"tests": {
|
|
23
|
+
"status": "passed",
|
|
24
|
+
"files": 9,
|
|
25
|
+
"tests": 103,
|
|
26
|
+
"command": "pnpm exec vitest run --config /tmp/omnius-chat-store-MmoiqU/chat-store-vitest.config.mts --maxWorkers=3 --minWorkers=1 --reporter=verbose",
|
|
27
|
+
"log": "/tmp/omnius-chat-store-frozen-tests.log",
|
|
28
|
+
"summary": " 9 passed (9)\n Tests 103 passed (103)\n Start at 12:34:25\n Duration 11.56s (transform 4.65s, setup 132ms, collect 21.91s, tests 5.77s, environment 1ms, prepare 326ms)\n\n"
|
|
29
|
+
},
|
|
30
|
+
"typecheck": {
|
|
31
|
+
"status": "passed",
|
|
32
|
+
"diagnostics": 0,
|
|
33
|
+
"command": "pnpm exec tsc -p tsconfig.json --noEmit --incremental false --composite false",
|
|
34
|
+
"log": "/tmp/omnius-chat-store-frozen-typecheck.log"
|
|
35
|
+
},
|
|
36
|
+
"diffCheck": "passed",
|
|
37
|
+
"coverage": [
|
|
38
|
+
"Actual separate source-importing Bun processes append 40 messages each; all 80 unique messages and revision increments retained.",
|
|
39
|
+
"Actual separate producers append 25 mailbox entries each while parent drains; all 50 retained.",
|
|
40
|
+
"Held Session references hydrate in place after external atomic writes and strong-cache expiry.",
|
|
41
|
+
"External deletion rejects stale held writes, fresh-process imports, and explicit recreation of the exact physical identity.",
|
|
42
|
+
"Wrong project ownership and sanitized filename identity collisions fail closed.",
|
|
43
|
+
"Every public canonical mutation refreshes inside the shared store lock before committing.",
|
|
44
|
+
"Storage commit/delete failures surface without publishing phantom state.",
|
|
45
|
+
"Bounded typed live projections preserve timestamps/terminal ordering without acquiring foreign run or Stop authority.",
|
|
46
|
+
"Full imported transcript and structured messages remain available; bounded model context remains separate."
|
|
47
|
+
],
|
|
48
|
+
"sourceSha256": {
|
|
49
|
+
"packages/cli/src/api/chat-session.ts": "2f813be68b6bcc45388634afdb6547bd7e78744c6427b516e8d622ffc6d09038",
|
|
50
|
+
"packages/cli/tests/chat-session-tool-events.test.ts": "fb813545602aeeb1b38f18df1bff9ef0c1d6eaab1a9e979d21154806c049f1dc",
|
|
51
|
+
"packages/cli/tests/chat-session-shared-store.test.ts": "368de8943277e89071d4752dd213eefdfe5ddef21d645d290085558c70c80424",
|
|
52
|
+
"packages/cli/tests/chat-session-store-failure.test.ts": "82c9720424ebf21033e9e0afa7c3d8d2a13d5cb6f61caa70fb5cfaa46a9609d2",
|
|
53
|
+
"packages/cli/tests/chat-session-cache-retention.test.ts": "cdfd52be8cb91d5aa2331b49c23ae03be9816fb376a46ba99a31a645c4e0f216",
|
|
54
|
+
"packages/cli/tests/fixtures/chat-session-store-child.ts": "748290f07e500f28b37bd6a30c73af50856b29242bc665d0b5e2077a04724ba6"
|
|
55
|
+
},
|
|
56
|
+
"parentOwnedCoordinator": {
|
|
57
|
+
"copiedForVerificationOnly": true,
|
|
58
|
+
"includedInPatch": false,
|
|
59
|
+
"sha256": "14bc0d0231122427a4af28c0c33bd485aa10a15abdac2cee5a7c063cf672dc30"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"artifact": {
|
|
63
|
+
"sourcePatch": "/tmp/omnius-chat-store-source.patch",
|
|
64
|
+
"sourcePatchSha256": "0e9431ed9b0e667669bdbaee04a4dd177ed6a1d815b5a2e63df9cf45284a5832",
|
|
65
|
+
"ownedSourcePaths": [
|
|
66
|
+
"packages/cli/src/api/chat-session.ts",
|
|
67
|
+
"packages/cli/tests/chat-session-tool-events.test.ts",
|
|
68
|
+
"packages/cli/tests/chat-session-shared-store.test.ts",
|
|
69
|
+
"packages/cli/tests/chat-session-store-failure.test.ts",
|
|
70
|
+
"packages/cli/tests/chat-session-cache-retention.test.ts",
|
|
71
|
+
"packages/cli/tests/fixtures/chat-session-store-child.ts"
|
|
72
|
+
]
|
|
73
|
+
},
|
|
74
|
+
"boundaries": [
|
|
75
|
+
"This verifies source storage behavior, not an installed package or daemon/frontend transport.",
|
|
76
|
+
"Callers retain run ownership and must fence different-run late live callbacks and explicit live clearing.",
|
|
77
|
+
"Tombstones protect the exact physical storage key; root-owned project deletion must mark proven logical bare/tui aliases.",
|
|
78
|
+
"Listing projections expose additive optional revision/live fields for legacy synthetic row compatibility."
|
|
79
|
+
],
|
|
80
|
+
"safety": {
|
|
81
|
+
"liveInferenceRequests": 0,
|
|
82
|
+
"modelLoadRequests": 0,
|
|
83
|
+
"cudaWorkloads": 0,
|
|
84
|
+
"servicesChanged": 0,
|
|
85
|
+
"sharedBuilds": 0,
|
|
86
|
+
"globalInstalls": 0,
|
|
87
|
+
"publishes": 0
|
|
88
|
+
}
|
|
89
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"date": "2026-10-17",
|
|
4
|
+
"scope": "Source-only native endpoint provider argument completion",
|
|
5
|
+
"baseCommit": "3459b16e",
|
|
6
|
+
"sourceHashes": {
|
|
7
|
+
"packages/cli/src/tui/endpoint-completion.ts": "31ec68120175e75ee712afc142605edf8245bbeef58f810bdd9eac44c21d89ef",
|
|
8
|
+
"packages/cli/src/tui/interactive.ts": "4f71a143644ce62ae826e0f870f653a6b5babd5766fa534745058dc8a7608487",
|
|
9
|
+
"packages/cli/src/tui/status-bar.ts": "41da64db8ddc8276d5e646b4f0f9bc55667d709ce9166b4c16a4273848622e19",
|
|
10
|
+
"packages/cli/src/tui/command-registry.ts": "ca526f7abfa54e5eb31b015924346b3106ff609481f1229b9b7dc4117f80500e"
|
|
11
|
+
},
|
|
12
|
+
"verificationSourceHashes": {
|
|
13
|
+
"packages/cli/tests/endpoint-completion.test.ts": "bb845faf92dc376c9412f4629dd7549a31800f880a9fbb44eae923a198aa7c36",
|
|
14
|
+
"packages/cli/tests/native-endpoint-completion.test.ts": "3d2f053e03d15446cde83f2353679ec479a75b180f618ab537400acf66c3d956",
|
|
15
|
+
"packages/cli/tests/native-endpoint-completion.bun.ts": "782b9bef5be6c54d32895574bba24e6a2430d5ce8d560004104d611a611136eb"
|
|
16
|
+
},
|
|
17
|
+
"dependencyOwnership": {
|
|
18
|
+
"endpointPresetModule": "owned by terminal_inventory; copied for verification and excluded from patch",
|
|
19
|
+
"providerRegistry": "owned by terminal_inventory; copied for verification and excluded from patch"
|
|
20
|
+
},
|
|
21
|
+
"behavior": {
|
|
22
|
+
"choices": "all active canonical provider IDs and aliases, including claude; registry retirement filter omits Hyperbolic",
|
|
23
|
+
"credentialOrSavedUrlReads": false,
|
|
24
|
+
"nativeViewportRows": 4,
|
|
25
|
+
"choicesTruncatedToFive": false,
|
|
26
|
+
"selection": "Tab or pointer fills existing editor; only Enter submits; bare /endpoint Enter remains picker",
|
|
27
|
+
"cas": "existing NativeInput expectedText/expectedCursor authority preserved",
|
|
28
|
+
"noPresentationDocumentRebuild": true,
|
|
29
|
+
"ordinaryDraftsDoNotEnumerateProviders": true
|
|
30
|
+
},
|
|
31
|
+
"before": {
|
|
32
|
+
"source": "actual prior StatusBar._updateSuggestions body",
|
|
33
|
+
"bare": [
|
|
34
|
+
"endpoint"
|
|
35
|
+
],
|
|
36
|
+
"partial": []
|
|
37
|
+
},
|
|
38
|
+
"beforeBaselineSha256": "05cfe74c492540c14d015d6e1f64a82e886102188577998f3324e22e7c9b01d8",
|
|
39
|
+
"tests": {
|
|
40
|
+
"passed": 39,
|
|
41
|
+
"failed": 0,
|
|
42
|
+
"files": 5,
|
|
43
|
+
"sourceAliased": true,
|
|
44
|
+
"log": "/tmp/omnius-endpoint-completion-final-tests.json",
|
|
45
|
+
"logSha256": "dc6e2bc919fe1247daf2f655f45c58d376f9194688b3820ce7a4c2ff504883ac",
|
|
46
|
+
"nativeActualCoreChecks": 5,
|
|
47
|
+
"nativeSizes": [
|
|
48
|
+
[
|
|
49
|
+
60,
|
|
50
|
+
20
|
|
51
|
+
],
|
|
52
|
+
[
|
|
53
|
+
80,
|
|
54
|
+
24
|
|
55
|
+
],
|
|
56
|
+
[
|
|
57
|
+
100,
|
|
58
|
+
30
|
|
59
|
+
],
|
|
60
|
+
[
|
|
61
|
+
120,
|
|
62
|
+
36
|
|
63
|
+
],
|
|
64
|
+
[
|
|
65
|
+
160,
|
|
66
|
+
48
|
|
67
|
+
]
|
|
68
|
+
],
|
|
69
|
+
"coverage": [
|
|
70
|
+
"all registry names and aliases",
|
|
71
|
+
"retired provider exclusion",
|
|
72
|
+
"prefix and command alias matching",
|
|
73
|
+
"inert hostile URL/key/flag/line metadata",
|
|
74
|
+
"retained transcript identity",
|
|
75
|
+
"NativeInput CAS completion",
|
|
76
|
+
"actual native bare Enter/Tab/pointer/keyboard scrolling",
|
|
77
|
+
"continuous sidebar divider through voice/status/suggestion/scroll rows at five sizes"
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
"typecheck": {
|
|
81
|
+
"log": "/tmp/omnius-endpoint-completion-noemit.log",
|
|
82
|
+
"exitCode": 0,
|
|
83
|
+
"scope": "CLI + execution source with current source aliases, noEmit",
|
|
84
|
+
"diagnostics": 0
|
|
85
|
+
},
|
|
86
|
+
"safety": {
|
|
87
|
+
"providerRequests": 0,
|
|
88
|
+
"inferenceRequests": 0,
|
|
89
|
+
"modelLoads": 0,
|
|
90
|
+
"cudaActions": 0,
|
|
91
|
+
"serviceChanges": 0,
|
|
92
|
+
"sharedBuilds": 0,
|
|
93
|
+
"rootWrites": 0
|
|
94
|
+
}
|
|
95
|
+
}
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": "omnius.endpoint-source-verification.v1",
|
|
3
|
+
"date": "2026-10-17",
|
|
4
|
+
"base": "8270d3b0",
|
|
5
|
+
"verifiedStagedTree": "e4d51863c35d795ae3ce86e9b08a55d4421bdc7e",
|
|
6
|
+
"sourceHashes": {
|
|
7
|
+
"packages/backend-vllm/src/normalizeUrl.ts": "129a9d6c327345648bf4f798c966887f6b8fb905adf6cc2991c6016e60ceba8c",
|
|
8
|
+
"packages/backend-vllm/src/providerRegistry.ts": "e2e7718c32626621f09f831ce8d9046229bb3de1bfd55c4bfb0ff0120fb7840d",
|
|
9
|
+
"packages/backend-vllm/tests/normalizeUrl.test.ts": "19a5a19b5d375782930201ed98ba4c0ff7665f9db49ed31790cd46cd8241ad4a",
|
|
10
|
+
"packages/backend-vllm/tests/providerRegistry.test.ts": "41647303c2d4f537bb0b1948aac52af9ca16f559425f68da15b49a92f7a7c818",
|
|
11
|
+
"packages/cli/src/onboarding/provider-setup.ts": "bd4696656f312c5165f36602fab113667c8f8cd394b17fc23948eba204d4116e",
|
|
12
|
+
"packages/cli/src/tui/command-registry.ts": "cc7d915787217b3dc97b2e6662f4755639dac34025e7ae9c8230a40be97b5320",
|
|
13
|
+
"packages/cli/src/tui/commands.ts": "1a918115ad9b3cc81d93fc9ad12a93817a38a175bcb21fac2d3de480d95c38e6",
|
|
14
|
+
"packages/cli/src/tui/endpoint-completion.ts": "31ec68120175e75ee712afc142605edf8245bbeef58f810bdd9eac44c21d89ef",
|
|
15
|
+
"packages/cli/src/tui/endpoint-preset.ts": "6392856ea9bc7d42c9a91a195dade5a8a377ed6b290abc8404786218cb086807",
|
|
16
|
+
"packages/cli/src/tui/interactive.ts": "3cfc351793ce41ec16315752ae2f48c9a1e5fc80b8f99a35b0017d2b42fec670",
|
|
17
|
+
"packages/cli/src/tui/mesh-endpoint.ts": "404464ba64fc057f3927bdbe441aa0a571556445dea4dfb2cec1f270f4738007",
|
|
18
|
+
"packages/cli/src/tui/model-picker.ts": "9cb71e7639e4c77cc5929cdfc1e717af35ebd535e72562a848959f83b8ee7974",
|
|
19
|
+
"packages/cli/src/tui/setup.ts": "1206e2ca35abb21d1e9054cf9b97d12333ccd53cb243d97f083f0b8b771d121a",
|
|
20
|
+
"packages/cli/src/tui/status-bar.ts": "41da64db8ddc8276d5e646b4f0f9bc55667d709ce9166b4c16a4273848622e19",
|
|
21
|
+
"packages/cli/src/tui/telegram-inference.ts": "e164349ccee453ecf89f99887ae94dbd1846389be3598500c4798d3a3ae23a23",
|
|
22
|
+
"packages/cli/tests/command-native-presentation.test.ts": "268edcfaeb63c17b57dcdefc6dac630b1511c5046f32e1a8c9d4ed86b2982998",
|
|
23
|
+
"packages/cli/tests/endpoint-catalog-transport.test.ts": "1e0475d61f8e364d9263b6a470e8c1836f8b8b121bbd21083b1501c548711945",
|
|
24
|
+
"packages/cli/tests/endpoint-completion.test.ts": "bb845faf92dc376c9412f4629dd7549a31800f880a9fbb44eae923a198aa7c36",
|
|
25
|
+
"packages/cli/tests/endpoint-mesh.test.ts": "2ff3bc017acfad780d7b1f38ea012b1f908104872f08d02a33f244cc3f1abb1d",
|
|
26
|
+
"packages/cli/tests/endpoint-preset-command.test.ts": "c0982bdc467b04d6b494eaf18f92dad2b8bf3ed5083b68edec0fbf54ff83d590",
|
|
27
|
+
"packages/cli/tests/endpoint-preset.test.ts": "6366f7bc3e3c747a78ad1f106a7a9d2e7cc44f0d21f2891624b24e31f83f83c9",
|
|
28
|
+
"packages/cli/tests/native-endpoint-completion.bun.ts": "782b9bef5be6c54d32895574bba24e6a2430d5ce8d560004104d611a611136eb",
|
|
29
|
+
"packages/cli/tests/native-endpoint-completion.test.ts": "3d2f053e03d15446cde83f2353679ec479a75b180f618ab537400acf66c3d956",
|
|
30
|
+
"packages/cli/tests/onboarding-provider-setup.test.ts": "179d7a61797b583ce88a2e1a70a57b4ee77b122a79177a6c047b3ae1982697cf"
|
|
31
|
+
},
|
|
32
|
+
"uniquePassingTests": 314,
|
|
33
|
+
"failedTests": 0,
|
|
34
|
+
"gates": [
|
|
35
|
+
{
|
|
36
|
+
"name": "cli",
|
|
37
|
+
"passed": 243,
|
|
38
|
+
"failed": 0,
|
|
39
|
+
"selectedOut": 0,
|
|
40
|
+
"reportSha256": "219d79979dda915bbc054b144e261ad4116965e86f65351bc62f98ced20d4a2d",
|
|
41
|
+
"files": [
|
|
42
|
+
{
|
|
43
|
+
"file": "builtin-free-models.test.ts",
|
|
44
|
+
"passed": 15
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"file": "endpoint-catalog-transport.test.ts",
|
|
48
|
+
"passed": 43
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"file": "endpoint-completion.test.ts",
|
|
52
|
+
"passed": 5
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"file": "endpoint-history-redaction.test.ts",
|
|
56
|
+
"passed": 1
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"file": "endpoint-mesh.test.ts",
|
|
60
|
+
"passed": 9
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"file": "endpoint-model-policy.test.ts",
|
|
64
|
+
"passed": 2
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"file": "endpoint-preset-command.test.ts",
|
|
68
|
+
"passed": 22
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"file": "endpoint-preset.test.ts",
|
|
72
|
+
"passed": 8
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"file": "endpoint-provider-picker.test.ts",
|
|
76
|
+
"passed": 6
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"file": "mesh-backend.test.ts",
|
|
80
|
+
"passed": 42
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"file": "mesh-gateway.test.ts",
|
|
84
|
+
"passed": 15
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"file": "model-availability.test.ts",
|
|
88
|
+
"passed": 6
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"file": "model-picker-context-telemetry.test.ts",
|
|
92
|
+
"passed": 10
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"file": "native-endpoint-completion.test.ts",
|
|
96
|
+
"passed": 1
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"file": "onboarding-provider-setup.test.ts",
|
|
100
|
+
"passed": 14
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"file": "web-chat-transport-lifecycle.test.ts",
|
|
104
|
+
"passed": 31
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"file": "web-ui-client-runtime.test.ts",
|
|
108
|
+
"passed": 4
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"file": "web-ui-script.test.ts",
|
|
112
|
+
"passed": 9
|
|
113
|
+
}
|
|
114
|
+
]
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"name": "backend",
|
|
118
|
+
"passed": 62,
|
|
119
|
+
"failed": 0,
|
|
120
|
+
"selectedOut": 0,
|
|
121
|
+
"reportSha256": "ab2cdfc40881165dfea762bfcfe6b49906601b5cc2de5101bd644cc484506d81",
|
|
122
|
+
"files": [
|
|
123
|
+
{
|
|
124
|
+
"file": "normalizeUrl.test.ts",
|
|
125
|
+
"passed": 44
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"file": "providerRegistry.test.ts",
|
|
129
|
+
"passed": 18
|
|
130
|
+
}
|
|
131
|
+
]
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"name": "native",
|
|
135
|
+
"passed": 9,
|
|
136
|
+
"failed": 0,
|
|
137
|
+
"selectedOut": 6,
|
|
138
|
+
"reportSha256": "1ce76c1aafde49f4f8816be2cfb357f7df4acead2228041bab2a88166fddbbc1",
|
|
139
|
+
"files": [
|
|
140
|
+
{
|
|
141
|
+
"file": "command-native-presentation.test.ts",
|
|
142
|
+
"passed": 9
|
|
143
|
+
}
|
|
144
|
+
]
|
|
145
|
+
}
|
|
146
|
+
],
|
|
147
|
+
"nativeSubscenarios": 5,
|
|
148
|
+
"nativeSizes": [
|
|
149
|
+
"60x20",
|
|
150
|
+
"80x24",
|
|
151
|
+
"100x30",
|
|
152
|
+
"120x36",
|
|
153
|
+
"160x48"
|
|
154
|
+
],
|
|
155
|
+
"noEmit": {
|
|
156
|
+
"passed": true,
|
|
157
|
+
"scope": "All CLI and execution source, importing backend-vllm/orchestrator source with explicit aliases; no build/emit"
|
|
158
|
+
},
|
|
159
|
+
"independentReview": [
|
|
160
|
+
"Captured catalog protocol/path/auth and subsequent /model use",
|
|
161
|
+
"Exact credential/pool scopes and cancelled secret/protocol input",
|
|
162
|
+
"Custom Ollama prefix retained for metadata",
|
|
163
|
+
"Remote runtime ports cannot silently select catalog-first models",
|
|
164
|
+
"Authenticated catalog capabilities retained in endpoint and model status updates"
|
|
165
|
+
],
|
|
166
|
+
"limits": [
|
|
167
|
+
"Catalog/parser/provider tests use HTTP fixtures; no provider access claim",
|
|
168
|
+
"Actual OpenTUI fixtures exercise keyboard, pointer, viewport scrolling and divider continuity without inference",
|
|
169
|
+
"Six unrelated native presentation cases outside the selected subset, including independently confirmed pre-existing recovered-session header assertion mismatch, were not selected",
|
|
170
|
+
"Mesh core has separate previously committed verification; this gate additionally reruns42 origin backend and15 gateway cases",
|
|
171
|
+
"Source only: zero live inference, model loads, new network/provider probes, service changes, shared builds or publication",
|
|
172
|
+
"Current genuine OpenCode access controls still return403; endpoint shortcuts do not alter provider access controls"
|
|
173
|
+
],
|
|
174
|
+
"reproducibility": "Staged source was archived before checks; this receipt and later planning delivery metadata do not change the checked source hashes."
|
|
175
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": "omnius.expanded-variant-repair-verification.v1",
|
|
3
|
+
"date": "2026-10-17",
|
|
4
|
+
"scope": "Source-only repair endpoint binding, honest diagnostic outcomes and independent loopback endpoint cooldown. Startup transcript/daemon diagnostic presentation is a separate integration owned by the parent/native frontend agent.",
|
|
5
|
+
"baseline": {
|
|
6
|
+
"gitHead": "56fceb0070166eb92e751d490d82295757de3fba",
|
|
7
|
+
"sourceSha256": "c592ec81fd9f012604d928e6f2eedb8264cda0f2ada5f9a3dabc2e538cf7a632",
|
|
8
|
+
"beforeEvidence": [
|
|
9
|
+
"createExpandedVariantNamedAsync accepted no backendUrl, invoked a shell command and inherited OLLAMA_HOST/default despite reading metadata from a selected endpoint.",
|
|
10
|
+
"Failed child creation was caught as null; stale-context, missing-tools and canonical-alias repair branches could count it as unchanged.",
|
|
11
|
+
"readExpandedVariantState returned null for HTTP, invalid JSON and transport failures; sweep collapsed these with policy/base/create failures into one inaccurate startup warning."
|
|
12
|
+
]
|
|
13
|
+
},
|
|
14
|
+
"ownedPaths": [
|
|
15
|
+
"packages/cli/src/tui/setup.ts",
|
|
16
|
+
"packages/cli/src/tui/expanded-variant-sweep.ts",
|
|
17
|
+
"packages/cli/tests/ollama-broker-model-identity.test.ts",
|
|
18
|
+
"packages/cli/tests/expanded-variant-repair.test.ts",
|
|
19
|
+
"packages/cli/tests/expanded-variant-sweep.test.ts",
|
|
20
|
+
"docs/work-orders/evidence/expanded-variant-repair-20261017.json"
|
|
21
|
+
],
|
|
22
|
+
"sourceHashes": {
|
|
23
|
+
"packages/cli/src/tui/setup.ts": "e64691d02455c3ff1b691f3d4be4467e39bfbee3718fac85be248f8e3a3649d4",
|
|
24
|
+
"packages/cli/src/tui/expanded-variant-sweep.ts": "65cdb17f9aaedf7aba27481a7818eb6251bb2192d0766dd2c4337813f30e13cb",
|
|
25
|
+
"packages/cli/tests/ollama-broker-model-identity.test.ts": "927b0b76d9e588c19b7afa68ab488c9b428611d6d272b86e8f175d14dd058566",
|
|
26
|
+
"packages/cli/tests/expanded-variant-repair.test.ts": "dfb2f96beed5eac75759a022b88c3733ef469bb6386f2aa33979122a3c721cc1",
|
|
27
|
+
"packages/cli/tests/expanded-variant-sweep.test.ts": "a2bd245f0d10560950b66b56e5270f110210002d4f44a89e34ccf1dce20bee1e"
|
|
28
|
+
},
|
|
29
|
+
"verification": {
|
|
30
|
+
"result": "PASS",
|
|
31
|
+
"testFiles": 3,
|
|
32
|
+
"tests": 58,
|
|
33
|
+
"newCases": 36,
|
|
34
|
+
"caseCounts": {
|
|
35
|
+
"packages/cli/tests/ollama-broker-model-identity.test.ts": 22,
|
|
36
|
+
"packages/cli/tests/expanded-variant-repair.test.ts": 17,
|
|
37
|
+
"packages/cli/tests/expanded-variant-sweep.test.ts": 19
|
|
38
|
+
},
|
|
39
|
+
"counting": "One complete focused batch; 22 existing broker identity cases plus 17 new repair cases and 19 new endpoint/cadence cases. Do not add earlier overlapping test batches.",
|
|
40
|
+
"testLog": "/tmp/omnius-expanded-repair-final-tests.log",
|
|
41
|
+
"testLogSha256": "880733870231877e568a95226633f65911384466228b12f2975d281b9c43bc0d",
|
|
42
|
+
"testCommand": "pnpm exec vitest run tests/expanded-variant-repair.test.ts tests/expanded-variant-sweep.test.ts tests/ollama-broker-model-identity.test.ts --maxWorkers=2 --minWorkers=1 --reporter=verbose",
|
|
43
|
+
"typecheck": {
|
|
44
|
+
"result": "PASS",
|
|
45
|
+
"diagnostics": 0,
|
|
46
|
+
"log": "/tmp/omnius-expanded-repair-final-typecheck.log",
|
|
47
|
+
"command": "pnpm exec tsc -p tsconfig.json --noEmit --incremental false --composite false"
|
|
48
|
+
},
|
|
49
|
+
"sourcePatch": "/tmp/omnius-expanded-repair-source.patch",
|
|
50
|
+
"sourcePatchSha256": "cfd49415516843e855e51f3a2eab1b102a53ee27b66c7cf59d30d370fab41194",
|
|
51
|
+
"rootApplyCheck": "PASS before integration",
|
|
52
|
+
"scopedDiffCheck": "PASS"
|
|
53
|
+
},
|
|
54
|
+
"contract": {
|
|
55
|
+
"creation": "Every async wrapper-create caller explicitly passes the requested endpoint. execFile invokes ollama with an argument vector; the normalized HTTP(S) endpoint overrides OLLAMA_HOST only in a copied child environment. Global environment is unchanged. Credentials/query/fragment URLs are refused.",
|
|
56
|
+
"failureReasons": [
|
|
57
|
+
"metadata_http",
|
|
58
|
+
"metadata_invalid",
|
|
59
|
+
"metadata_unavailable",
|
|
60
|
+
"missing_base",
|
|
61
|
+
"broker_policy",
|
|
62
|
+
"create_failed"
|
|
63
|
+
],
|
|
64
|
+
"failureDetails": "Fixed host-owned diagnostic text and optional numeric HTTP status; no raw model response, thrown exception text, subprocess stdout/stderr or inherited credentials. A missing friendly base must be installed in the selected catalog before a repair is attempted.",
|
|
65
|
+
"success": "Only a completed creation enters repaired. Required failed creates enter failed, not unchanged. Broker-managed aliases remain untouched.",
|
|
66
|
+
"metadata": "The initial validated wrapper state also supplies the tools-capability decision, avoiding a redundant unchecked wrapper-state probe. A later authoritative read failure remains a typed failure.",
|
|
67
|
+
"scheduler": "createExpandedVariantSweepScheduler(scan,{ttlMs?,now?}).run(backendType,url) returns one result Promise for a real scan or null for invalid/non-Ollama/nonloopback, in-flight or cooldown-suppressed repeats. Per-normalized-endpoint state is independent. Default cooldown is five minutes after success or rejection completes.",
|
|
68
|
+
"loopback": "Exact localhost, 127.0.0.1 and IPv6 ::1 only, parsed as URL host; username/password, query, fragment, wildcard bind address and remote substring tricks are excluded.",
|
|
69
|
+
"retention": "At most 32 completed endpoint entries; active scans retain their guards until settlement. Cadence is per scheduler instance, not a cross-process persistent lock."
|
|
70
|
+
},
|
|
71
|
+
"coveredBehaviors": [
|
|
72
|
+
"Selected custom-port/basepath overrides unrelated inherited OLLAMA_HOST for stale-context, missing-tools and canonical-alias repairs.",
|
|
73
|
+
"Public async new-wrapper creation uses the same endpoint binding.",
|
|
74
|
+
"Failed creation in all three repair branches does not masquerade as unchanged.",
|
|
75
|
+
"HTTP failure, invalid JSON, wrong/empty metadata structure and unavailable metadata remain distinct from missing base and broker refusal.",
|
|
76
|
+
"Lost/missing friendly bases never trigger implicit registry lookup or create.",
|
|
77
|
+
"Unchanged valid wrapper yields unchanged without any create call.",
|
|
78
|
+
"Uppercase/trailing-slash/default-port normalization, IPv6 loopback and rejection of deceptive remote URLs.",
|
|
79
|
+
"Duplicate in-flight suppression, independent new endpoints, cooldown after completion, failed-scan retry after cooldown and synchronous callback throw recovery."
|
|
80
|
+
],
|
|
81
|
+
"verificationLimits": [
|
|
82
|
+
"All fetch calls and exec/execFile/spawn entry points used by the new fixtures are mocked or rejected. Synthetic memory/device metadata does not claim actual GPU placement.",
|
|
83
|
+
"No actual model creation, repair, model loading, inference, network request, CUDA workload, service change, shared build or publication was performed.",
|
|
84
|
+
"The existing omnius-expanded-models.test.ts interactive source-string expectations are owned by the native frontend integration agent and are excluded from this patch; the first exploratory batch exposed their stale pre-existing interactive naming assertion.",
|
|
85
|
+
"This change retains existing per-request metadata deadlines and sequential variant traversal. It does not introduce an overall sweep deadline or cross-process scheduling.",
|
|
86
|
+
"Read-only local filesystem discovery found 20 wrapper manifests with valid JSON/present referenced blobs and 13 non-reversible base names, but did not execute the sweep or establish the specific seven runtime failures."
|
|
87
|
+
]
|
|
88
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
■ ▾ OMNIUS 1.0.872 - DETAILS HELP VOICE
|
|
2
|
+
Controlled header panel
|
|
3
|
+
Presentation fixture × + NEW SESSIONS
|
|
4
|
+
───────────────────────────────────────────────────────────────────────────────────────────────────┬────────────────────────────────────────────────────────────
|
|
5
|
+
Indicator ready │ - INFERENCE ──────────────────────────────────────────────
|
|
6
|
+
▸ Model generation · complete · 0s · ~2 tok │ ROUTE......................................... UNKNOWN
|
|
7
|
+
│ BACKEND....................................... --
|
|
8
|
+
Pong. │ MODEL --
|
|
9
|
+
│ IN TOK........................................ --
|
|
10
|
+
Complete · 1 turns · 1 tools · 1.0s │ OUT TOK....................................... --
|
|
11
|
+
│ RATE.......................................... --
|
|
12
|
+
│ CTX TOK............................... --/--
|
|
13
|
+
│ CTX LOAD................................ [........] --
|
|
14
|
+
│ STATE......................................... UNKNOWN
|
|
15
|
+
│ + SESSION / AGENTS ───────────────────────────────────────
|
|
16
|
+
│
|
|
17
|
+
│
|
|
18
|
+
│
|
|
19
|
+
│
|
|
20
|
+
│
|
|
21
|
+
│
|
|
22
|
+
│
|
|
23
|
+
│
|
|
24
|
+
│
|
|
25
|
+
›
|
|
26
|
+
│
|
|
27
|
+
│
|
|
28
|
+
│
|
|
29
|
+
│
|
|
30
|
+
│
|
|
31
|
+
│
|
|
32
|
+
│
|
|
33
|
+
│
|
|
34
|
+
│
|
|
35
|
+
│
|
|
36
|
+
│
|
|
37
|
+
│
|
|
38
|
+
│
|
|
39
|
+
│
|
|
40
|
+
│
|
|
41
|
+
│
|
|
42
|
+
│
|
|
43
|
+
│
|
|
44
|
+
│
|
|
45
|
+
│
|
|
46
|
+
───────────────────────────────────────────────────────────────────────────────────────────────────┴────────────────────────────────────────────────────────────
|
|
47
|
+
❯ Draft 界 é 🌲
|
|
48
|
+
F1 HELP TAB FOCUS SOURCE FIXTURE / NO MODEL OR DAEMON
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
▾ OMNIUS 1.0.872 + DETAILS HELP VOICE
|
|
2
|
+
Controlled header panel
|
|
3
|
+
Presentation fixture × + NEW SESSIONS
|
|
4
|
+
────────────────────────────────────────────────────────────
|
|
5
|
+
Indicator ready
|
|
6
|
+
▸ Model generation · complete · 0s · ~2 tok
|
|
7
|
+
|
|
8
|
+
Pong.
|
|
9
|
+
|
|
10
|
+
Complete · 1 turns · 1 tools · 1.0s
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
────────────────────────────────────────────────────────────
|
|
19
|
+
❯ Draft 界 é 🌲
|
|
20
|
+
F1 HELP TAB FOCUS SOURCE FIXTURE / NO MODEL OR DAEMON
|