omnius 1.0.874 → 1.0.876
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 +37 -20
- package/dist/providerRegistry.d.ts +6 -0
- package/dist/tui/native/worker.js +137 -8
- package/docs/DISCOVERY.json +747 -47
- package/docs/DISCOVERY.md +20 -1
- package/docs/guides/endpoint-requirements.md +33 -0
- package/docs/guides/sponsored-inference-mesh.md +84 -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/mesh-optional-startup-verification-20261017.json +70 -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/packaged-startup-independent-20261017.json +106 -0
- package/docs/work-orders/evidence/packaged-startup-native-20261017.json +131 -0
- package/docs/work-orders/evidence/publish-lock-verification-20261017.json +80 -0
- package/docs/work-orders/evidence/published-startup-investigation-20261017.json +158 -0
- package/docs/work-orders/evidence/startup-recovery-delivery-20261017.json +77 -0
- package/docs/work-orders/evidence/sticky-catalog-candidate-release-20261017.json +314 -0
- package/docs/work-orders/evidence/system-devices-source-verification-20261017.json +60 -0
- package/docs/work-orders/evidence/system-devices-verification-20261017.json +39 -0
- package/npm-shrinkwrap.json +1657 -636
- package/package.json +15 -33
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"date": "2026-10-17",
|
|
4
|
+
"task": "Optional mesh dependencies must not prevent ordinary CLI startup",
|
|
5
|
+
"baseCommit": "5172dc4b",
|
|
6
|
+
"runtime": {
|
|
7
|
+
"node": "22.23.3",
|
|
8
|
+
"platform": "linux-x64"
|
|
9
|
+
},
|
|
10
|
+
"cause": "Single-file esbuild with splitting:false hoisted external static mesh imports into CLI startup despite dynamic relative command imports.",
|
|
11
|
+
"change": "Keep only erased mesh type imports at module scope; load identity/transport dependencies through literal dynamic external imports inside explicit asynchronous factories.",
|
|
12
|
+
"sourceHashes": {
|
|
13
|
+
"packages/cli/src/mesh/libp2p-transport.ts": "30da153a247418d09d367ff6771390be924603f2a610480f9a88f9600e9db11b",
|
|
14
|
+
"packages/cli/tests/mesh-optional-startup.test.ts": "33896fd20c72271a7e5eaeecb46af90042e2a08002b3a0557c24720bf3f27164"
|
|
15
|
+
},
|
|
16
|
+
"before": {
|
|
17
|
+
"passed": 0,
|
|
18
|
+
"failed": 2,
|
|
19
|
+
"log": "/tmp/omnius-mesh-lazy-startup-before.json",
|
|
20
|
+
"failure": "OPTIONAL_MESH_BLOCKED during module startup, before command routing or exported factory calls"
|
|
21
|
+
},
|
|
22
|
+
"after": {
|
|
23
|
+
"bundleStartup": {
|
|
24
|
+
"passed": 2,
|
|
25
|
+
"failed": 0,
|
|
26
|
+
"log": "/tmp/omnius-mesh-lazy-startup-tests.json",
|
|
27
|
+
"checks": [
|
|
28
|
+
"Actual CLI --help and mesh help from production-style single-file bundle run while every mesh dependency resolution is forbidden",
|
|
29
|
+
"Exported factories import safely; explicit identity/transport requests then reach the dependency deny guard"
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
"encryptedTransport": {
|
|
33
|
+
"passed": 17,
|
|
34
|
+
"failed": 0,
|
|
35
|
+
"log": "/tmp/omnius-mesh-lazy-transport-tests.json",
|
|
36
|
+
"coverage": [
|
|
37
|
+
"private identity concurrency/permissions",
|
|
38
|
+
"TCP Noise/Yamux",
|
|
39
|
+
"untrusted/target identity rejection",
|
|
40
|
+
"ciphertext tamper",
|
|
41
|
+
"frame bounds and Unicode",
|
|
42
|
+
"send/read backpressure and Stop",
|
|
43
|
+
"real configured relay with end-to-end Noise",
|
|
44
|
+
"WSS CA validation"
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
"sourceTypecheck": {
|
|
48
|
+
"exitCode": 0,
|
|
49
|
+
"log": "/tmp/omnius-mesh-lazy-startup-noemit.log"
|
|
50
|
+
},
|
|
51
|
+
"focusedSourceAndTestTypecheck": {
|
|
52
|
+
"exitCode": 0,
|
|
53
|
+
"log": "/tmp/omnius-mesh-lazy-startup-focused-noemit.log"
|
|
54
|
+
},
|
|
55
|
+
"diffCheck": "PASS"
|
|
56
|
+
},
|
|
57
|
+
"limits": [
|
|
58
|
+
"Source-only isolated production-style bundles; final packed/global installation verification is owned separately by parent agents.",
|
|
59
|
+
"The startup deny-loader intentionally prevents any mesh transport/identity operation; no provider or inference requests were performed."
|
|
60
|
+
],
|
|
61
|
+
"operations": {
|
|
62
|
+
"inferenceRequests": 0,
|
|
63
|
+
"modelLoads": 0,
|
|
64
|
+
"externalPeerConnections": 0,
|
|
65
|
+
"cudaOperations": 0,
|
|
66
|
+
"globalInstallChanges": 0,
|
|
67
|
+
"sharedBuilds": 0,
|
|
68
|
+
"sharedServiceChanges": 0
|
|
69
|
+
}
|
|
70
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"date": "2026-10-17",
|
|
3
|
+
"sourceOnly": true,
|
|
4
|
+
"stagedTree": "f63386d8c55a5702629454fac22dc930a0a14c9b",
|
|
5
|
+
"sourceChecks": {
|
|
6
|
+
"passed": 240,
|
|
7
|
+
"failed": 0,
|
|
8
|
+
"typecheck": "passed",
|
|
9
|
+
"mandatoryFrontendSuitesIncluded": true
|
|
10
|
+
},
|
|
11
|
+
"transportChecks": {
|
|
12
|
+
"unique": 17,
|
|
13
|
+
"existingLockedGraph": "17 passed",
|
|
14
|
+
"freshNpmGraph": "17 passed",
|
|
15
|
+
"minimumNode": "22.23.3",
|
|
16
|
+
"realCircuitRelay": true,
|
|
17
|
+
"relayHopPromptPlaintextAbsent": true,
|
|
18
|
+
"wssCertificateVerification": true,
|
|
19
|
+
"backpressureAndStop": true
|
|
20
|
+
},
|
|
21
|
+
"integrationChecks": {
|
|
22
|
+
"actualProductionAdapterToGatewayToNoiseToSponsor": true,
|
|
23
|
+
"fixtureProvidersOnly": true,
|
|
24
|
+
"twoSponsorsConcurrent": true,
|
|
25
|
+
"secondCallToBusySponsorWithFreeSlot": true,
|
|
26
|
+
"denialDoesNotDispatchToAnotherSponsor": true,
|
|
27
|
+
"originOnlyConfiguredRuntime": true,
|
|
28
|
+
"noRealInference": true
|
|
29
|
+
},
|
|
30
|
+
"reviewRepairs": [
|
|
31
|
+
"Preserve streamed401/403/429 status including after partial output",
|
|
32
|
+
"Do not double-count accepted local reservations",
|
|
33
|
+
"Allow same-origin main/child concurrency within actual available slots",
|
|
34
|
+
"Project cross-model per-origin capacity consistently",
|
|
35
|
+
"Align validated configuration and runtime limits",
|
|
36
|
+
"Clean transport after sponsor constructor/startup failure"
|
|
37
|
+
],
|
|
38
|
+
"limits": [
|
|
39
|
+
"No GPU or paid provider acceptance test",
|
|
40
|
+
"Provider and selected inference sponsor receive plaintext; relays see metadata",
|
|
41
|
+
"Other Tracker relay carrier adapters are inventoried only",
|
|
42
|
+
"Trusted peers/endpoints require explicit operator configuration",
|
|
43
|
+
"Crash ownership lock and saturated dedup ledger fail closed"
|
|
44
|
+
],
|
|
45
|
+
"patchSha256": "f5364f8c54183bb5ce22d32dede030c8cc3a199654b1a732c8f53255118ca48f"
|
|
46
|
+
}
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"scope": "source-only authenticated libp2p transport and private installation verification",
|
|
4
|
+
"date": "2026-10-17",
|
|
5
|
+
"node": "v22.23.3",
|
|
6
|
+
"baseCommit": "395f010d",
|
|
7
|
+
"protocol": "/omnius/sponsored-inference/1.0.0",
|
|
8
|
+
"sourceHashes": {
|
|
9
|
+
"packages/cli/src/mesh/libp2p-transport.ts": "be06968ef6987f072289179c4d670078a531d1c30ccd3ec915678b56895fc70b",
|
|
10
|
+
"packages/cli/package.json": "f193fc1f66d41c1a1c46aaf5b5ea93496d6c467e436f044547247b11b612f0f4",
|
|
11
|
+
"scripts/build-publish.mjs": "0cbdad4dc5baed907b650e7f23bd4523e8c4b5b42ce815088734ce82c6dd8e48"
|
|
12
|
+
},
|
|
13
|
+
"verificationOnlyContract": {
|
|
14
|
+
"path": "packages/cli/src/mesh/contracts.ts",
|
|
15
|
+
"sha256": "e9e44c3d02e0f5abdcee706993ba00f5491c82f1614dab793b8694e6a10ad682",
|
|
16
|
+
"includedInPatch": false
|
|
17
|
+
},
|
|
18
|
+
"tests": {
|
|
19
|
+
"uniqueCases": 17,
|
|
20
|
+
"file": "packages/cli/tests/mesh-libp2p-transport.test.ts",
|
|
21
|
+
"sha256": "291efb51ed8e9535d3a1cfeb08a643452adf4a64c73a4e1d5f20d69860bbc18b",
|
|
22
|
+
"runs": [
|
|
23
|
+
{
|
|
24
|
+
"graph": "locked",
|
|
25
|
+
"passed": 17,
|
|
26
|
+
"failed": 0,
|
|
27
|
+
"log": "/tmp/omnius-libp2p-mesh-locked-tests.json",
|
|
28
|
+
"sha256": "71ad0723357b22d1d77efd6e4ede6edc7a9daa9faf9e86a7dc8360613d149cc9"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"graph": "npm",
|
|
32
|
+
"passed": 17,
|
|
33
|
+
"failed": 0,
|
|
34
|
+
"log": "/tmp/omnius-libp2p-mesh-npm-tests.json",
|
|
35
|
+
"sha256": "afc9f75460ef833d0535fcf6b2fab7bb554877b2b44963fd2f52bc2a292cba52"
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"cases": [
|
|
39
|
+
"creates one private identity atomically across concurrent initializers without starting a listener",
|
|
40
|
+
"refuses corrupted, publicly readable and symlinked identities without silently replacing them",
|
|
41
|
+
"exchanges ordered Unicode frames over real TCP Noise/Yamux and replies after peer half-close",
|
|
42
|
+
"rejects untrusted remote identities and mismatched dial targets before application admission",
|
|
43
|
+
"authenticates a pinned peer even through a local TCP forwarder, then rejects modified ciphertext",
|
|
44
|
+
"rejects oversized length from an authenticated peer",
|
|
45
|
+
"rejects invalid JSON from an authenticated peer",
|
|
46
|
+
"rejects invalid UTF-8 from an authenticated peer",
|
|
47
|
+
"rejects truncated payload from an authenticated peer",
|
|
48
|
+
"accepts a frame split across many writes and coalesced frames without losing boundaries",
|
|
49
|
+
"bounds outgoing frames and queue memory while retaining valid ordered traffic",
|
|
50
|
+
"applies real stream backpressure and aborts a blocked large write on operator Stop",
|
|
51
|
+
"aborts pending receives promptly on caller cancellation and transport Stop",
|
|
52
|
+
"bounds idle reads and refuses public/unconfigured relay addresses",
|
|
53
|
+
"exchanges end-to-end Noise frames through a real relay while the relay sees ciphertext and endpoint identities remain pinned",
|
|
54
|
+
"scopes legacy npm pins without changing unrelated or nested consumer overrides",
|
|
55
|
+
"uses WSS with normal CA verification and pinned Noise peer identity on Node22+"
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
"typecheck": {
|
|
59
|
+
"mode": "strict NodeNext noEmit, actual transport source + integration tests",
|
|
60
|
+
"diagnostics": 0,
|
|
61
|
+
"graphs": [
|
|
62
|
+
"existing workspace locked dependencies",
|
|
63
|
+
"fresh private npm installed dependencies"
|
|
64
|
+
],
|
|
65
|
+
"log": "/tmp/omnius-libp2p-mesh-noemit-final.log",
|
|
66
|
+
"latestParentContractCompatible": true
|
|
67
|
+
},
|
|
68
|
+
"privateNpmInstall": {
|
|
69
|
+
"directRuntimeDependencies": {
|
|
70
|
+
"libp2p": "3.3.0",
|
|
71
|
+
"@libp2p/crypto": "5.1.18",
|
|
72
|
+
"@libp2p/peer-id": "6.0.9",
|
|
73
|
+
"@libp2p/tcp": "11.0.19",
|
|
74
|
+
"@libp2p/websockets": "10.1.12",
|
|
75
|
+
"@libp2p/circuit-relay-v2": "4.2.4",
|
|
76
|
+
"@libp2p/identify": "4.1.5",
|
|
77
|
+
"@chainsafe/libp2p-noise": "17.0.0",
|
|
78
|
+
"@chainsafe/libp2p-yamux": "8.0.1",
|
|
79
|
+
"@multiformats/multiaddr": "13.0.3"
|
|
80
|
+
},
|
|
81
|
+
"installedPackages": 135,
|
|
82
|
+
"scripts": "ignored",
|
|
83
|
+
"manifest": "synthetic private mesh runtime dependencies plus actual release overrides scoped by production helper",
|
|
84
|
+
"shrinkwrapInput": "actual existing publish/npm-shrinkwrap.json (stale, reconciled by npm)",
|
|
85
|
+
"shrinkwrapInputSha256": "c5b519f308ba4b490916b33defe49a97a87960b312afd53df43519e139b68c11",
|
|
86
|
+
"newShrinkwrapSha256": "3511c03c5b1ed9799020ccfe3ef279a6e8c92f7174b24e2e58517e74dbdfd797",
|
|
87
|
+
"evidence": [
|
|
88
|
+
"all17 actual transport tests pass against fresh npm packages",
|
|
89
|
+
"separate forced circuit-only Node22 exchange passes"
|
|
90
|
+
],
|
|
91
|
+
"legacyConsumerRuntimeInstalled": false,
|
|
92
|
+
"limitations": "Nexus/Helia nested version preservation is asserted by focused manifest policy test; full release install belongs to parent packaging gate."
|
|
93
|
+
},
|
|
94
|
+
"transport": {
|
|
95
|
+
"identity": "standard Ed25519 private-key protobuf; private owner directory0700/file0600; no listener during load/create; atomic no-clobber concurrent initialization",
|
|
96
|
+
"encryption": "standard libp2p Noise + Yamux; no copied Tracker encryption or source",
|
|
97
|
+
"peerTrust": "pinned authenticated remotePeer; exact dial target; configured relay identity alone does not authorize application access",
|
|
98
|
+
"relayProof": "real circuit-v2 reservation and forced circuit-only payload; relay HOP stream observed after outer Noise decryption, prompt remains absent; endpoint IDs remain origin and destination",
|
|
99
|
+
"wssProof": "real TLS listener with generated local CA supplied by NODE_EXTRA_CA_CERTS in isolated child; no disabled certificate verification",
|
|
100
|
+
"bounds": {
|
|
101
|
+
"frameBytes": 8388608,
|
|
102
|
+
"applicationQueuedFrames": 8,
|
|
103
|
+
"applicationQueuedSendBytes": 16777224,
|
|
104
|
+
"pausedNativeReadBytes": 16777224,
|
|
105
|
+
"applicationReadBytes": 16777224,
|
|
106
|
+
"channels": 64,
|
|
107
|
+
"connections": 32,
|
|
108
|
+
"dialQueue": 16,
|
|
109
|
+
"parallelDials": 4,
|
|
110
|
+
"defaultDialMs": 15000,
|
|
111
|
+
"defaultIdleMs": 120000
|
|
112
|
+
},
|
|
113
|
+
"readBackpressure": "synchronous pause-on-message + bounded owned parser; convenience async iterator deliberately avoided because its pushable can drain beyond native cap",
|
|
114
|
+
"cancellation": "caller AbortSignal and Stop abort active receive/send/dial; actual4MiB backpressured send test"
|
|
115
|
+
},
|
|
116
|
+
"lockPatch": {
|
|
117
|
+
"path": "/tmp/omnius-libp2p-mesh-lock-importers.patch",
|
|
118
|
+
"sha256": "2be41bd58915449e7e5800ed9c3e6ce4b11c57edfd9e310f675ac863bb151b91",
|
|
119
|
+
"addedImporterLines": 30,
|
|
120
|
+
"transitiveVersionChanges": 0,
|
|
121
|
+
"rootLockChanged": false
|
|
122
|
+
},
|
|
123
|
+
"safety": {
|
|
124
|
+
"externalPeerConnections": 0,
|
|
125
|
+
"publicRendezvous": false,
|
|
126
|
+
"inferenceRequests": 0,
|
|
127
|
+
"modelLoads": 0,
|
|
128
|
+
"cudaActions": 0,
|
|
129
|
+
"serviceChanges": 0,
|
|
130
|
+
"sharedBuilds": 0,
|
|
131
|
+
"rootSourceWrites": 0,
|
|
132
|
+
"publishDirectoryWrites": 0,
|
|
133
|
+
"trackerSourceCopied": false
|
|
134
|
+
},
|
|
135
|
+
"primaryReferences": [
|
|
136
|
+
"https://libp2p.github.io/js-libp2p/interfaces/libp2p.index.Libp2pInit.html",
|
|
137
|
+
"https://libp2p.io/docs/circuit-relay/",
|
|
138
|
+
"https://github.com/libp2p/specs/blob/master/noise/README.md"
|
|
139
|
+
],
|
|
140
|
+
"beforeAfter": {
|
|
141
|
+
"fixture": "actual4MiB send to a trusted peer whose application does not receive",
|
|
142
|
+
"before": {
|
|
143
|
+
"sourceSha256": "a9a84ad1d26530917a50f6d350bb06de673728bf824c9b815d850eb12ef1bd61",
|
|
144
|
+
"testFailures": 1,
|
|
145
|
+
"skippedOtherTests": 16,
|
|
146
|
+
"observation": "write settles before50ms because convenience iterator/native stream never pauses at application boundary",
|
|
147
|
+
"log": "/tmp/omnius-libp2p-mesh-before-pressure.json",
|
|
148
|
+
"logSha256": "f72f038891aba9ab604ba42437d4eb2ef8efc4f353ebbf0655390fb5b90a4d03"
|
|
149
|
+
},
|
|
150
|
+
"after": {
|
|
151
|
+
"observation": "write remains backpressured after50ms; explicit AbortSignal cancels it promptly",
|
|
152
|
+
"testPasses": 17,
|
|
153
|
+
"testFailures": 0
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|