omnius 1.0.995 → 1.0.996
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/update-worker-runtime.js +109 -23
- package/dist/update-worker.js +3 -0
- package/docs/DISCOVERY.json +72 -0
- package/docs/DISCOVERY.md +2 -0
- package/docs/work-orders/WO-omnius-update-archive-propagation-20261125.md +18 -0
- package/docs/work-orders/WO-telegram-quick-reply-settlement-20261125.md +22 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +2 -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: 43651409 bytes
|
|
4
|
+
sha256: 4098e81f82593171f2ca94f3d4ea95b3a47287025b71bc3fb85c88d7f4d1f63d
|
|
@@ -320768,7 +320768,7 @@ import { spawn as spawn5 } from "node:child_process";
|
|
|
320768
320768
|
|
|
320769
320769
|
// packages/cli/src/update-service.ts
|
|
320770
320770
|
import { spawn as spawn3 } from "node:child_process";
|
|
320771
|
-
import { createHash as createHash6, randomUUID as
|
|
320771
|
+
import { createHash as createHash6, randomUUID as randomUUID6 } from "node:crypto";
|
|
320772
320772
|
import {
|
|
320773
320773
|
constants as constants4,
|
|
320774
320774
|
chmodSync,
|
|
@@ -320871,7 +320871,7 @@ function userManagerEnvironment(env, uid = process.getuid?.(), inspect = lstatSy
|
|
|
320871
320871
|
}
|
|
320872
320872
|
|
|
320873
320873
|
// packages/cli/src/update-package-preflight.ts
|
|
320874
|
-
import { createHash as createHash5 } from "node:crypto";
|
|
320874
|
+
import { createHash as createHash5, randomUUID as randomUUID5 } from "node:crypto";
|
|
320875
320875
|
import { constants as constants3 } from "node:fs";
|
|
320876
320876
|
import { lstat as lstat2, mkdir as mkdir2, mkdtemp, open, realpath as realpath2, rm as rm2 } from "node:fs/promises";
|
|
320877
320877
|
import { dirname as dirname10, isAbsolute as isAbsolute8, join as join17 } from "node:path";
|
|
@@ -321411,6 +321411,66 @@ async function removeVerifiedNpmRetirementBackup(backup) {
|
|
|
321411
321411
|
}
|
|
321412
321412
|
|
|
321413
321413
|
// packages/cli/src/update-package-preflight.ts
|
|
321414
|
+
var PackageCommandError = class extends Error {
|
|
321415
|
+
constructor(message, stderr) {
|
|
321416
|
+
super(message);
|
|
321417
|
+
this.stderr = stderr;
|
|
321418
|
+
}
|
|
321419
|
+
stderr;
|
|
321420
|
+
};
|
|
321421
|
+
var UpdateArchiveUnavailableError = class extends Error {
|
|
321422
|
+
code = "update_archive_unavailable";
|
|
321423
|
+
constructor() {
|
|
321424
|
+
super("Exact Omnius package download failed: verified registry archive is temporarily unavailable (HTTP 404)");
|
|
321425
|
+
this.name = "UpdateArchiveUnavailableError";
|
|
321426
|
+
}
|
|
321427
|
+
};
|
|
321428
|
+
var ARCHIVE_DOWNLOAD_TIMEOUT_MS = 45e3;
|
|
321429
|
+
var MAX_RECOVERY_ARCHIVE_BYTES = 256 * 1024 * 1024;
|
|
321430
|
+
function exactArchiveOnRegistry(rawTarball, rawRegistry, filename) {
|
|
321431
|
+
try {
|
|
321432
|
+
const registry2 = new URL(rawRegistry);
|
|
321433
|
+
const loopback = ["127.0.0.1", "[::1]", "localhost"].includes(registry2.hostname);
|
|
321434
|
+
if (registry2.protocol !== "https:" && !(registry2.protocol === "http:" && loopback) || registry2.username || registry2.password || registry2.search || registry2.hash)
|
|
321435
|
+
return void 0;
|
|
321436
|
+
const expected = new URL(`omnius/-/${filename}`, registry2.href.replace(/\/?$/, "/"));
|
|
321437
|
+
return rawTarball === expected.href ? expected : void 0;
|
|
321438
|
+
} catch {
|
|
321439
|
+
return void 0;
|
|
321440
|
+
}
|
|
321441
|
+
}
|
|
321442
|
+
async function downloadFreshArchive(url2, archivePath, ownerSignal) {
|
|
321443
|
+
url2.searchParams.set("omnius_update", randomUUID5());
|
|
321444
|
+
const deadline = AbortSignal.timeout(ARCHIVE_DOWNLOAD_TIMEOUT_MS);
|
|
321445
|
+
const signal = ownerSignal ? AbortSignal.any([ownerSignal, deadline]) : deadline;
|
|
321446
|
+
const handle = await open(archivePath, "wx", 384);
|
|
321447
|
+
try {
|
|
321448
|
+
const response = await fetch(url2, { redirect: "error", headers: { "cache-control": "no-cache" }, signal });
|
|
321449
|
+
const length = Number(response.headers.get("content-length"));
|
|
321450
|
+
if (response.status !== 200 || !response.body || length > MAX_RECOVERY_ARCHIVE_BYTES) {
|
|
321451
|
+
await response.body?.cancel().catch(() => void 0);
|
|
321452
|
+
if (response.status === 404) throw new UpdateArchiveUnavailableError();
|
|
321453
|
+
if (length > MAX_RECOVERY_ARCHIVE_BYTES) throw new Error("The fresh npm archive exceeded the download size limit.");
|
|
321454
|
+
throw new Error(`The fresh npm archive download returned an invalid response (HTTP ${response.status}).`);
|
|
321455
|
+
}
|
|
321456
|
+
const reader = response.body.getReader();
|
|
321457
|
+
try {
|
|
321458
|
+
let bytes = 0;
|
|
321459
|
+
for (; ; ) {
|
|
321460
|
+
signal.throwIfAborted();
|
|
321461
|
+
const chunk = await reader.read();
|
|
321462
|
+
if (chunk.done) break;
|
|
321463
|
+
bytes += chunk.value.byteLength;
|
|
321464
|
+
if (bytes > MAX_RECOVERY_ARCHIVE_BYTES) throw new Error("The fresh npm archive exceeded the download size limit.");
|
|
321465
|
+
await handle.writeFile(chunk.value);
|
|
321466
|
+
}
|
|
321467
|
+
} finally {
|
|
321468
|
+
await reader.cancel().catch(() => void 0);
|
|
321469
|
+
}
|
|
321470
|
+
} finally {
|
|
321471
|
+
await handle.close();
|
|
321472
|
+
}
|
|
321473
|
+
}
|
|
321414
321474
|
function sameFile(left, right) {
|
|
321415
321475
|
return left.dev === right.dev && left.ino === right.ino && left.size === right.size && left.mtimeMs === right.mtimeMs && left.ctimeMs === right.ctimeMs;
|
|
321416
321476
|
}
|
|
@@ -321452,7 +321512,11 @@ function verifyRegistryReceipt(raw, targetVersion) {
|
|
|
321452
321512
|
throw new Error(`npm view did not identify one exact Omnius v${targetVersion} release with SHA-512 integrity.`);
|
|
321453
321513
|
const sourceRevision = cleanSourceRevision(receipt.omniusBuild);
|
|
321454
321514
|
if (!sourceRevision) throw new Error(`Omnius v${targetVersion} has no valid clean source revision in the npm registry.`);
|
|
321455
|
-
return {
|
|
321515
|
+
return {
|
|
321516
|
+
integrity: receipt["dist.integrity"],
|
|
321517
|
+
sourceRevision,
|
|
321518
|
+
tarball: typeof receipt["dist.tarball"] === "string" ? receipt["dist.tarball"] : void 0
|
|
321519
|
+
};
|
|
321456
321520
|
}
|
|
321457
321521
|
async function prepareUpdatePackage(input) {
|
|
321458
321522
|
const { cacheDir, operationId, npmPath, targetVersion, signal } = input;
|
|
@@ -321489,10 +321553,10 @@ async function prepareUpdatePackage(input) {
|
|
|
321489
321553
|
OMNIUS_SKIP_DAEMON_INSTALL: "1",
|
|
321490
321554
|
OMNIUS_SKIP_TRAY_INSTALL: "1"
|
|
321491
321555
|
};
|
|
321492
|
-
const run2 = async (label, args) => {
|
|
321556
|
+
const run2 = async (label, args, timeout = 5 * 6e4) => {
|
|
321493
321557
|
signal?.throwIfAborted();
|
|
321494
321558
|
await assertStage();
|
|
321495
|
-
const result = await input.runCommand(npmPath, args, { env, cwd: stage, signal, timeout
|
|
321559
|
+
const result = await input.runCommand(npmPath, args, { env, cwd: stage, signal, timeout });
|
|
321496
321560
|
if (result.processGroupSettled === false) {
|
|
321497
321561
|
ownedSubprocessSettled = false;
|
|
321498
321562
|
throw new Error(`${label} did not settle. Isolated candidate files remain at ${stage}.`);
|
|
@@ -321500,7 +321564,7 @@ async function prepareUpdatePackage(input) {
|
|
|
321500
321564
|
signal?.throwIfAborted();
|
|
321501
321565
|
if (result.status !== 0 || result.error) {
|
|
321502
321566
|
const detail = result.error?.message || result.stderr.trim().slice(-2e3) || `exit code ${result.status ?? "unknown"}`;
|
|
321503
|
-
throw new
|
|
321567
|
+
throw new PackageCommandError(`${label} failed: ${detail}`, result.stderr);
|
|
321504
321568
|
}
|
|
321505
321569
|
return result.stdout;
|
|
321506
321570
|
};
|
|
@@ -321513,24 +321577,41 @@ async function prepareUpdatePackage(input) {
|
|
|
321513
321577
|
"name",
|
|
321514
321578
|
"version",
|
|
321515
321579
|
"dist.integrity",
|
|
321580
|
+
"dist.tarball",
|
|
321516
321581
|
"omniusBuild",
|
|
321517
321582
|
"--json",
|
|
321518
321583
|
"--prefer-online",
|
|
321519
321584
|
"--loglevel=error"
|
|
321520
321585
|
]), targetVersion);
|
|
321521
321586
|
const expectedFilename = `omnius-${targetVersion}.tgz`;
|
|
321522
|
-
|
|
321523
|
-
|
|
321524
|
-
|
|
321525
|
-
|
|
321526
|
-
|
|
321527
|
-
|
|
321528
|
-
|
|
321529
|
-
|
|
321530
|
-
|
|
321531
|
-
|
|
321532
|
-
|
|
321533
|
-
|
|
321587
|
+
let tarballPath = join17(stage, expectedFilename);
|
|
321588
|
+
try {
|
|
321589
|
+
const packedFilename = (await run2("Exact Omnius package download", [
|
|
321590
|
+
"pack",
|
|
321591
|
+
spec,
|
|
321592
|
+
"--pack-destination",
|
|
321593
|
+
stage,
|
|
321594
|
+
"--prefer-online",
|
|
321595
|
+
"--ignore-scripts",
|
|
321596
|
+
"--no-progress",
|
|
321597
|
+
"--no-color",
|
|
321598
|
+
"--loglevel=error"
|
|
321599
|
+
])).trim();
|
|
321600
|
+
if (packedFilename !== expectedFilename) throw new Error("npm pack did not produce the exact expected Omnius archive.");
|
|
321601
|
+
} catch (error51) {
|
|
321602
|
+
if (!(error51 instanceof PackageCommandError) || !registry2.tarball || !/^npm (?:error|ERR!) code E404\r?$/m.test(error51.stderr)) throw error51;
|
|
321603
|
+
const failedRequest = ` GET ${registry2.tarball}`;
|
|
321604
|
+
if (!error51.stderr.split(/\r?\n/).some((line) => line.endsWith(failedRequest) || line.includes(`${failedRequest} - `))) throw error51;
|
|
321605
|
+
const selectedRegistry = (await run2("Selected npm registry lookup", ["config", "get", "registry", "--loglevel=error"], 1e4)).trim();
|
|
321606
|
+
const archiveUrl = exactArchiveOnRegistry(registry2.tarball, selectedRegistry, expectedFilename);
|
|
321607
|
+
if (!archiveUrl) throw error51;
|
|
321608
|
+
signal?.throwIfAborted();
|
|
321609
|
+
await assertStage();
|
|
321610
|
+
input.onArchiveRetry?.();
|
|
321611
|
+
tarballPath = join17(stage, `fresh-${expectedFilename}`);
|
|
321612
|
+
await downloadFreshArchive(archiveUrl, tarballPath, signal);
|
|
321613
|
+
}
|
|
321614
|
+
await assertStage();
|
|
321534
321615
|
const archive = await readArchiveIntegrity(tarballPath, signal, true);
|
|
321535
321616
|
if (archive.integrity !== registry2.integrity) throw new Error("The staged npm archive differs from the registry's SHA-512 receipt.");
|
|
321536
321617
|
const assertArchiveUnchanged = async () => {
|
|
@@ -321827,7 +321908,7 @@ function guardOwnerIsProvablyDead(owner) {
|
|
|
321827
321908
|
function recoverInterruptedUpdateGuard(path3) {
|
|
321828
321909
|
const initial = interruptedGuardSnapshot(path3);
|
|
321829
321910
|
if (!initial || !guardOwnerIsProvablyDead(initial.owner)) return false;
|
|
321830
|
-
const recoveryPath = path3 + ".recovery", nonce =
|
|
321911
|
+
const recoveryPath = path3 + ".recovery", nonce = randomUUID6();
|
|
321831
321912
|
let fd;
|
|
321832
321913
|
try {
|
|
321833
321914
|
fd = openSync4(recoveryPath, constants4.O_WRONLY | constants4.O_CREAT | constants4.O_EXCL | constants4.O_NOFOLLOW, 384);
|
|
@@ -321860,7 +321941,7 @@ function recoverInterruptedUpdateGuard(path3) {
|
|
|
321860
321941
|
}
|
|
321861
321942
|
function withUpdateOwnership(paths, mutation) {
|
|
321862
321943
|
ensurePrivateDirectories(paths);
|
|
321863
|
-
const path3 = paths.lockFile + ".guard", nonce =
|
|
321944
|
+
const path3 = paths.lockFile + ".guard", nonce = randomUUID6();
|
|
321864
321945
|
let fd;
|
|
321865
321946
|
try {
|
|
321866
321947
|
fd = openSync4(path3, constants4.O_WRONLY | constants4.O_CREAT | constants4.O_EXCL | constants4.O_NOFOLLOW, 384);
|
|
@@ -321941,7 +322022,7 @@ function releaseMatchingUpdateLock(paths, operationId, pid) {
|
|
|
321941
322022
|
if (lock?.operation_id === operationId && (pid === void 0 || lock.pid === pid)) unlinkSync4(paths.lockFile);
|
|
321942
322023
|
}
|
|
321943
322024
|
function atomicPrivateJson(path3, value) {
|
|
321944
|
-
const temp = `${path3}.${process.pid}.${
|
|
322025
|
+
const temp = `${path3}.${process.pid}.${randomUUID6()}.tmp`;
|
|
321945
322026
|
try {
|
|
321946
322027
|
const fd = openSync4(temp, "wx", 384);
|
|
321947
322028
|
try {
|
|
@@ -322410,6 +322491,11 @@ async function runVerifiedUpdateTransaction(initial, dependencies, paths = resol
|
|
|
322410
322491
|
env,
|
|
322411
322492
|
signal: dependencies.signal,
|
|
322412
322493
|
runCommand,
|
|
322494
|
+
onArchiveRetry: () => {
|
|
322495
|
+
assertOwned();
|
|
322496
|
+
process.stdout.write(`[omnius update ${initial.operation_id}] npm metadata is available while the archive edge reports HTTP 404. Trying the exact archive with a fresh cache key.
|
|
322497
|
+
`);
|
|
322498
|
+
},
|
|
322413
322499
|
inspectInstall: inspectGlobalOmniusInstall
|
|
322414
322500
|
});
|
|
322415
322501
|
throwIfCancelled();
|
|
@@ -322476,7 +322562,7 @@ async function runVerifiedUpdateTransaction(initial, dependencies, paths = resol
|
|
|
322476
322562
|
throwIfCancelled();
|
|
322477
322563
|
const installer = dependencies.install ?? installGlobalPackageStreaming;
|
|
322478
322564
|
for (let attempt = 1; attempt <= 2; attempt++) {
|
|
322479
|
-
state = await transition(state, { installer_attempt: attempt }, paths);
|
|
322565
|
+
state = await transition(state, { installer_attempt: attempt, installer_settled: void 0, installer_exit_code: void 0, installer_process_group: void 0 }, paths);
|
|
322480
322566
|
await prepared?.assertArchiveUnchanged();
|
|
322481
322567
|
throwIfCancelled();
|
|
322482
322568
|
installStarted = true;
|
|
@@ -322808,6 +322894,7 @@ async function runVerifiedUpdateTransaction(initial, dependencies, paths = resol
|
|
|
322808
322894
|
failure_phase: failurePhase,
|
|
322809
322895
|
completed_at: (/* @__PURE__ */ new Date()).toISOString(),
|
|
322810
322896
|
...deferred ? { automatic_deferred: true } : {},
|
|
322897
|
+
...!cancelled && failurePhase === "staging" && error51 instanceof UpdateArchiveUnavailableError ? { failure_code: error51.code } : {},
|
|
322811
322898
|
error: cancelled && !deferred ? installerSettled ? "Update cancelled after the owned operation settled." : "Update cancellation requested; owned installer shutdown could not be confirmed." : message,
|
|
322812
322899
|
remediation: [
|
|
322813
322900
|
packageRecoveryNote,
|
|
@@ -323545,7 +323632,6 @@ var SAME_TASK_REPLACE_WINDOW_MS = 12 * 60 * 60 * 1e3;
|
|
|
323545
323632
|
|
|
323546
323633
|
// packages/cli/src/service-auto-update.ts
|
|
323547
323634
|
var SERVICE_AUTO_UPDATE_INTERVAL_MS = 60 * 60 * 1e3;
|
|
323548
|
-
var FAILED_TARGET_RETRY_MS = 24 * 60 * 60 * 1e3;
|
|
323549
323635
|
|
|
323550
323636
|
// packages/cli/src/tray.ts
|
|
323551
323637
|
var DEFAULT_ENDPOINT = "http://127.0.0.1:11435";
|
package/dist/update-worker.js
CHANGED
|
@@ -85,6 +85,9 @@ function compareOmniusVersions(left, right) {
|
|
|
85
85
|
return 0;
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
+
// packages/cli/src/update-package-preflight.ts
|
|
89
|
+
var MAX_RECOVERY_ARCHIVE_BYTES = 256 * 1024 * 1024;
|
|
90
|
+
|
|
88
91
|
// packages/cli/src/update-service.ts
|
|
89
92
|
var UpdateOwnershipBusyError = class extends Error {
|
|
90
93
|
};
|
package/docs/DISCOVERY.json
CHANGED
|
@@ -51913,6 +51913,42 @@
|
|
|
51913
51913
|
}
|
|
51914
51914
|
]
|
|
51915
51915
|
},
|
|
51916
|
+
{
|
|
51917
|
+
"id": "guide.work-orders-wo-omnius-update-archive-propagation-20261125-uppercase",
|
|
51918
|
+
"kind": "guide",
|
|
51919
|
+
"title": "Keep updates live during npm archive propagation",
|
|
51920
|
+
"summary": "The daemon on 1.0.994 accepted an update to 1.0.995 at 3:11:37 p.m. local time. Its worker failed during staging about three seconds later. npm already advertised the exact version and integrity, but its canonical archive URL returned a cached HTTP 404 with a five-minute lifetime. The same registry returned the correct bytes when the request bypassed that ca",
|
|
51921
|
+
"keywords": [
|
|
51922
|
+
"work",
|
|
51923
|
+
"orders",
|
|
51924
|
+
"WO",
|
|
51925
|
+
"omnius",
|
|
51926
|
+
"update",
|
|
51927
|
+
"archive",
|
|
51928
|
+
"propagation",
|
|
51929
|
+
"20261125",
|
|
51930
|
+
"md"
|
|
51931
|
+
],
|
|
51932
|
+
"maturity": "internal",
|
|
51933
|
+
"audiences": [
|
|
51934
|
+
"maintainer",
|
|
51935
|
+
"large-context-agent"
|
|
51936
|
+
],
|
|
51937
|
+
"layer": "documentation",
|
|
51938
|
+
"interfaces": [
|
|
51939
|
+
{
|
|
51940
|
+
"type": "file",
|
|
51941
|
+
"target": "docs/work-orders/WO-omnius-update-archive-propagation-20261125.md"
|
|
51942
|
+
}
|
|
51943
|
+
],
|
|
51944
|
+
"references": [
|
|
51945
|
+
{
|
|
51946
|
+
"type": "documentation",
|
|
51947
|
+
"target": "docs/work-orders/WO-omnius-update-archive-propagation-20261125.md",
|
|
51948
|
+
"relation": "canonical-artifact"
|
|
51949
|
+
}
|
|
51950
|
+
]
|
|
51951
|
+
},
|
|
51916
51952
|
{
|
|
51917
51953
|
"id": "guide.work-orders-wo-opencode-all-free-models-20261012-uppercase",
|
|
51918
51954
|
"kind": "guide",
|
|
@@ -52422,6 +52458,42 @@
|
|
|
52422
52458
|
}
|
|
52423
52459
|
]
|
|
52424
52460
|
},
|
|
52461
|
+
{
|
|
52462
|
+
"id": "guide.work-orders-wo-telegram-quick-reply-settlement-20261125-uppercase",
|
|
52463
|
+
"kind": "guide",
|
|
52464
|
+
"title": "Telegram quick-reply settlement",
|
|
52465
|
+
"summary": "NOCLIP OFFICIAL message 21291 explicitly addressed the bot and asked for the KV-cache formula mentioned in message 21290. The workspace admitted both messages. Four inference rounds each produced a draft, a first review that requested continuation, and two unsuccessful continuation reviews. The final intake transition recorded reviewcontractrejected. The del",
|
|
52466
|
+
"keywords": [
|
|
52467
|
+
"work",
|
|
52468
|
+
"orders",
|
|
52469
|
+
"WO",
|
|
52470
|
+
"telegram",
|
|
52471
|
+
"quick",
|
|
52472
|
+
"reply",
|
|
52473
|
+
"settlement",
|
|
52474
|
+
"20261125",
|
|
52475
|
+
"md"
|
|
52476
|
+
],
|
|
52477
|
+
"maturity": "internal",
|
|
52478
|
+
"audiences": [
|
|
52479
|
+
"maintainer",
|
|
52480
|
+
"large-context-agent"
|
|
52481
|
+
],
|
|
52482
|
+
"layer": "documentation",
|
|
52483
|
+
"interfaces": [
|
|
52484
|
+
{
|
|
52485
|
+
"type": "file",
|
|
52486
|
+
"target": "docs/work-orders/WO-telegram-quick-reply-settlement-20261125.md"
|
|
52487
|
+
}
|
|
52488
|
+
],
|
|
52489
|
+
"references": [
|
|
52490
|
+
{
|
|
52491
|
+
"type": "documentation",
|
|
52492
|
+
"target": "docs/work-orders/WO-telegram-quick-reply-settlement-20261125.md",
|
|
52493
|
+
"relation": "canonical-artifact"
|
|
52494
|
+
}
|
|
52495
|
+
]
|
|
52496
|
+
},
|
|
52425
52497
|
{
|
|
52426
52498
|
"id": "guide.work-orders-wo-telegram-reply-lifecycle-20261013-uppercase",
|
|
52427
52499
|
"kind": "guide",
|
package/docs/DISCOVERY.md
CHANGED
|
@@ -1010,6 +1010,7 @@ Daemon equivalents are `GET /v1/discovery/bootstrap`, `GET /v1/discovery?q=<inte
|
|
|
1010
1010
|
| `guide.work-orders-wo-local-admission-provider-access-20261014-uppercase` | Local admission and remote access recovery — 2026-10-14 | Status: local admission/access classification repair verified and delivered in 539cf00e; TUI/Runner producers verified and committed in a3fd9bab. Remote public access was subsequently diagnosed and repaired in genuine-client validation. Do not reset operator configuration or restart the live Telegram/TUI session as part of validation. |
|
|
1011
1011
|
| `guide.work-orders-wo-native-agent-collaboration-20261124-uppercase` | Native parent and worker collaboration | Live admin DM qualification on e7d2a638 verified that one parent launched two foreground children, received independently committed results, and delivered a source-backed answer. This work adds a native message exchange with explicit custody at each step of that dependency. |
|
|
1012
1012
|
| `guide.work-orders-wo-native-transport-fresh-install-20261012-uppercase` | Native transport failure in the fresh npm installation gate | Status: implemented and verified. Publication remains with the user. |
|
|
1013
|
+
| `guide.work-orders-wo-omnius-update-archive-propagation-20261125-uppercase` | Keep updates live during npm archive propagation | The daemon on 1.0.994 accepted an update to 1.0.995 at 3:11:37 p.m. local time. Its worker failed during staging about three seconds later. npm already advertised the exact version and integrity, but its canonical archive URL returned a cached HTTP 404 with a five-minute lifetime. The same registry returned the correct bytes when the request bypassed that ca |
|
|
1013
1014
|
| `guide.work-orders-wo-opencode-all-free-models-20261012-uppercase` | All OpenCode free models in the fallback cascade | Status: implemented and verified. Publication and runtime replacement remain with the user. The subsequent live-reply fixes are tracked separately in fallback reply contracts. The original preferred-first/provider-fairness ordering recorded below has been superseded by benchmark-informed priority at the user's subsequent request. |
|
|
1014
1015
|
| `guide.work-orders-wo-opencode-production-compatibility-20261012-uppercase` | OpenCode production request compatibility | Status: implemented and verified. Telegram presentation is also completed. Publication and active-runtime restart remain with the operator. Step's native attention-format compatibility remains unverified after a provider limit; the working cascade can continue to other compatible models. |
|
|
1015
1016
|
| `guide.work-orders-wo-primary-checkout-fallback-delivery-20261012-uppercase` | Primary checkout delivery and remote output capacity | Status: implementation complete and verified in the primary checkout. Publication remains with the user. |
|
|
@@ -1024,6 +1025,7 @@ Daemon equivalents are `GET /v1/discovery/bootstrap`, `GET /v1/discovery?q=<inte
|
|
|
1024
1025
|
| `guide.work-orders-wo-telegram-progress-presentation-20261012-uppercase` | Telegram progress presentation | Status: implemented and verified, resumed by the user with instructions to complete, commit and push. The evidenced OpenCode compatibility failure is handled in the current repair order. |
|
|
1025
1026
|
| `guide.work-orders-wo-telegram-public-research-stream-progress-20261013-uppercase` | Public research stream recovery and meaningful progress | Status: repaired and verified in the isolated installed runtime. Publication and the operator's bot restart are separate. |
|
|
1026
1027
|
| `guide.work-orders-wo-telegram-quick-reply-and-admin-progress-20261125-uppercase` | Public Telegram replies and admin task progress | On the running 1.0.992, NOCLIP inputs 21256 and 21258 received the same copied history line in messages 21257 and 21259. Both used the regular quick-chat route and completed fresh router, draft, and review calls. Telegram acknowledged both final sends. The prior copy guard was limited to active-task interactive replies. The quick review accepted valid JSON a |
|
|
1028
|
+
| `guide.work-orders-wo-telegram-quick-reply-settlement-20261125-uppercase` | Telegram quick-reply settlement | NOCLIP OFFICIAL message 21291 explicitly addressed the bot and asked for the KV-cache formula mentioned in message 21290. The workspace admitted both messages. Four inference rounds each produced a draft, a first review that requested continuation, and two unsuccessful continuation reviews. The final intake transition recorded reviewcontractrejected. The del |
|
|
1027
1029
|
| `guide.work-orders-wo-telegram-reply-lifecycle-20261013-uppercase` | Telegram reply lifecycle | Status: implemented and verified. The built-in-model/startup and multi-model live acceptance work continues under WO-built-in-free-model-startup-20261012.md. |
|
|
1028
1030
|
| `guide.work-orders-wo-telegram-retained-source-handoff-20261013-uppercase` | Recover accepted Telegram drafts without restarting completed work | Status: implementation and installed-package live verification complete. Follow-up to the Case Theory stall on installed Omnius 1.0.854, PID 161677, running from telegramtest. Publication and bot restart remain operator-owned. |
|
|
1029
1031
|
| `guide.work-orders-wo-telegram-unavailable-review-presentation-20261012-uppercase` | Telegram reply presentation when an auxiliary review is unavailable | Status: implemented and verified. Publication and runtime replacement remain with the user. |
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Keep updates live during npm archive propagation
|
|
2
|
+
|
|
3
|
+
The daemon on 1.0.994 accepted an update to 1.0.995 at 3:11:37 p.m. local time. Its worker failed during staging about three seconds later. npm already advertised the exact version and integrity, but its canonical archive URL returned a cached HTTP 404 with a five-minute lifetime. The same registry returned the correct bytes when the request bypassed that cache entry. The worker never reached global installation, and the daemon stayed healthy on 1.0.994.
|
|
4
|
+
|
|
5
|
+
The publisher had treated matching registry metadata as release readiness. The daemon and tray also applied the same 24-hour cooldown to staging failures and failures that could have changed the installed package.
|
|
6
|
+
|
|
7
|
+
## Acceptance checks
|
|
8
|
+
|
|
9
|
+
- [x] The publisher uploads a staged version and checks the exact canonical archive bytes before advancing `latest`. If staging verification stops after an accepted upload, a later invocation leaves that immutable version intact.
|
|
10
|
+
- [x] The update worker can recover an exact archive from a stale 404 without weakening registry, integrity, source-revision, or cancellation checks.
|
|
11
|
+
- [x] Retry failures on the regular schedule without a failure cooldown. Give a download-only archive miss one extra service check at the next minute. Honor manual mode, explicit cancellation, rollback and unresolved installer recovery.
|
|
12
|
+
- [x] Test staging, retry admission, cancellation, and normal update-worker behavior.
|
|
13
|
+
- [ ] Publish the verified package through `scripts/publish-omnius.sh --yes`, and match an independent npm download to the committed revision and the staged SHA-512.
|
|
14
|
+
- [ ] Confirm the daemon's installed and serving versions after the rollout.
|
|
15
|
+
|
|
16
|
+
## Progress
|
|
17
|
+
|
|
18
|
+
The loopback registry tests exercised both a normal `npm pack` and a cached canonical 404 with a successful SHA-512-verified fetch. Detached worker tests verified retry admission under lock. The updater, publisher, and Telegram quick-chat regression suites passed 232 tests. CLI typechecking passed.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Telegram quick-reply settlement
|
|
2
|
+
|
|
3
|
+
NOCLIP OFFICIAL message 21291 explicitly addressed the bot and asked for the KV-cache formula mentioned in message 21290. The workspace admitted both messages. Four inference rounds each produced a draft, a first review that requested continuation, and two unsuccessful continuation reviews. The final intake transition recorded `review_contract_rejected`. The delivery ledger contained no attempt for that message.
|
|
4
|
+
|
|
5
|
+
The review flow proceeded from a reply review into a continuation-only schema. A later model response could no longer settle the original request with a direct answer. The retry scheduler replayed that same branch, and the managed worker discarded the detailed validation codes with its absent terminal callback.
|
|
6
|
+
|
|
7
|
+
## Acceptance checks
|
|
8
|
+
|
|
9
|
+
- [x] A public mention after ordinary same-thread context can recover from a mistaken continuation decision and deliver one grounded, reviewed direct answer.
|
|
10
|
+
- [x] A valid continuation keeps the existing plan validation, delivery ownership, and action authority.
|
|
11
|
+
- [x] Exhausted review for an explicit current public request settles with one truthful host-authored reply when Telegram accepts the send.
|
|
12
|
+
- [x] Ambient input, superseded ownership, and uncertain sends never cause an extra public response or replay.
|
|
13
|
+
- [x] Internal recovery receipts retain bounded validation codes and the original message identity. The group sees plain-language status.
|
|
14
|
+
- [x] Build the CLI and run the public Telegram Bot API fixture plus focused review, recovery, and delivery tests.
|
|
15
|
+
|
|
16
|
+
## Delivery
|
|
17
|
+
|
|
18
|
+
The continuation review now has both outcomes in its schema. The reviewer sees the full bounded thread during reconsideration. If it asks for a revision, a fresh draft is generated once and independently reviewed. A valid action continuation still uses the existing evidence and permission checks.
|
|
19
|
+
|
|
20
|
+
If review exhausts its recovery budget, the workspace can post one host-authored status to the exact explicit message. An exclusive durable send claim prevents duplicate status messages. The intake retains its failed state and the validation codes.
|
|
21
|
+
|
|
22
|
+
Verified through the workspace worker with a loopback Bot API and scripted model responses. The fixture covers the original formula pair, a direct answer after an unnecessary continuation, and the retained status after repeated invalid reviews. It replays the native update to verify deduplication.
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "omnius",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.996",
|
|
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.996",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"license": "CC-BY-NC-4.0",
|
|
12
12
|
"dependencies": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "omnius",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.996",
|
|
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",
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
},
|
|
157
157
|
"readme": "# Omnius\n\nOmnius is a local-first runtime for AI-assisted software development and generative work. It brings a terminal interface, browser dashboard, automation API, agent execution, memory, and media tools into one workspace-oriented system.\n\nOmnius connects to local and remote model providers. Projects retain their own sessions and generated artifacts, while model weights and runtime dependencies are shared across workspaces.\n\n[](https://www.npmjs.com/package/omnius)\n[](https://nodejs.org/)\n[](https://creativecommons.org/licenses/by-nc/4.0/)\n\n## Get started\n\nRequires Node.js 22 or newer and npm 10 or newer.\n\n```bash\nnpm install -g omnius\nomnius\n```\n\nUse `/setup` to configure inference and `/help` to explore terminal commands. See [installation](docs/getting-started/install.md), [first run](docs/getting-started/first-run.md), and [model providers](docs/getting-started/model-providers.md) for setup details.\n\nTo open the browser dashboard and API:\n\n```bash\nomnius serve\n```\n\nThe default dashboard address is `http://127.0.0.1:11435/`, with interactive API documentation at `/docs`.\n\n## System overview\n\n| Layer | Responsibility |\n| --- | --- |\n| Interfaces | Terminal sessions, browser workspaces, command-line automation, and system tray integration |\n| Agent runtime | Task execution, tool use, delegated agents, verification, and resumable work |\n| Inference | Model selection and routing across local servers, configured providers, and peers |\n| Tools | Files, code, shell commands, web access, browser automation, and extensible capabilities |\n| Memory and retrieval | Project context, indexed material, persistent memory, and targeted retrieval |\n| Media and voice | Image, video, audio, music, speech recognition, and speech synthesis |\n| Integration | REST APIs, events, MCP, Telegram, and shared inference services |\n\nThe [architecture overview](docs/architecture/overview.md) and [agent system map](docs/architecture/agent-system-map.md) describe the runtime boundaries and state ownership.\n\n## Workspaces and sessions\n\nA project provides the working directory for files, tools, conversations, and generated media. Terminal and browser interfaces expose saved sessions and project artifacts. Operational details remain available alongside the conversation without replacing its authored content.\n\nProject state lives under `.omnius/`. Shared model weights and runtime dependencies are managed separately from project-generated media. See [terminal workflows](docs/guides/tui-workflows.md), the [dashboard guide](docs/guides/dashboard.md), and [media generation](docs/guides/media-generation.md).\n\n## Automation and discovery\n\nOmnius can run a task directly from the command line:\n\n```bash\nomnius \"inspect this repository and explain its main entrypoints\"\n```\n\nAgents and integrations can discover capabilities through the CLI or daemon:\n\n```bash\nomnius discover \"bring your own inference\"\nomnius show layer.orchestration\nomnius capabilities --json\n```\n\nThe daemon provides stateful chat, agent execution, tools, memory, media, and OpenAI/Ollama-compatible inference interfaces. Begin with [agent integration](docs/guides/agent-integration.md) and the [discovery guide](docs/DISCOVERY.md).\n\n<!-- BEGIN GENERATED REST INVENTORY -->\nThe complete API inventory is maintained in the [REST reference](docs/reference/rest-api.md). The running daemon serves its machine-readable contract at `/openapi.json`.\n<!-- END GENERATED REST INVENTORY -->\n\n## Documentation\n\n| Topic | Guide |\n| --- | --- |\n| Inference configuration | [Provider protocols and keys](docs/guides/bring-your-own-inference.md) |\n| Commands and tools | [Slash commands](docs/reference/slash-commands.md), [tool discovery](docs/guides/tools-and-web-search.md) |\n| Agent coordination | [Adjudication](docs/ADJUDICATION.md), [agent system map](docs/architecture/agent-system-map.md) |\n| Browser interface | [Dashboard](docs/guides/dashboard.md) |\n| Voice and media | [Realtime voice](docs/guides/realtime.md), [media generation](docs/guides/media-generation.md), [Omni analysis](docs/reference/omni-analysis.md) |\n| Connected services | [Telegram](docs/guides/telegram.md), [system tray](docs/guides/system-tray.md), [sponsor and peer inference](docs/guides/sponsor-and-cohere.md) |\n| Runtime administration | [Runtime hygiene](docs/operations/runtime-hygiene.md), [access control](docs/operations/security-and-remote-access.md) |\n| Agent-readable documentation | [Documentation index](docs/agent-memory/INDEX.md) |\n\n## Development\n\nThe repository is a pnpm workspace. `packages/cli` contains the interfaces and daemon; `packages/orchestrator` coordinates agent execution; `packages/execution` provides tools. Supporting packages cover memory, indexing, retrieval, schemas, prompts, and backend integration.\n\nRequires pnpm 9 or newer.\n\n```bash\npnpm install\npnpm -r build\npnpm docs:check\n```\n\nPublishing uses the generated `publish/` package. The build, verification, and release procedure is documented in [AGENTS.md](AGENTS.md).\n\n## License\n\nOmnius is released under [CC-BY-NC-4.0](https://creativecommons.org/licenses/by-nc/4.0/) for non-commercial use. Commercial use, redistribution, hosted services, and enterprise deployment require a commercial license.\n",
|
|
158
158
|
"omniusBuild": {
|
|
159
|
-
"sourceRevision": "
|
|
159
|
+
"sourceRevision": "69c353218d09fae95c79f14800bffecd1b53d983",
|
|
160
160
|
"sourceDirtyAtBuildStart": false
|
|
161
161
|
}
|
|
162
162
|
}
|