chainlesschain 0.166.146 → 0.166.147
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/README.md +17 -5
- package/package.json +1 -1
- package/src/assets/linux-subreaper/linux-arm64/manifest.json +1 -1
- package/src/assets/linux-subreaper/linux-x64/manifest.json +1 -1
- package/src/data/changelog.json +13 -0
- package/src/lib/evolution/evolution-ledger-file-manifest-head-store.js +19 -0
- package/src/lib/evolution/evolution-ledger-manifest-catalog.js +13 -0
- package/src/lib/evolution/evolution-ledger-manifest-head-store.js +17 -0
- package/src/lib/evolution/evolution-ledger-v2-manifest-backend.js +29 -2
package/README.md
CHANGED
|
@@ -2,15 +2,27 @@
|
|
|
2
2
|
|
|
3
3
|
Command-line interface for installing, configuring, and managing [ChainlessChain](https://www.chainlesschain.com), including the coding agent, governed tools, sessions, memory, and IDE integrations.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## CLI 0.166.147 / IDE pairing (2026-11-11 candidate)
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
This version retains original manifest catalog/head ownership through Evolution Ledger factories, rejecting substituted directories and mixed head ports while preserving custom-backend behavior. These local storage capabilities do not grant promotion authority. The evaluation harness has a separate original 36-task plus nine-first-run round with fixed source, model, budgets and independent acceptance; preparation is not a new task-completion result.
|
|
8
8
|
|
|
9
|
-
After
|
|
9
|
+
After the official OIDC release is verified, install `npm i -g chainlesschain@0.166.147 --registry https://registry.npmjs.org`, restart hosts, and run `cc --version` and `cc doctor`. Pairing targets are Open VSX **0.37.186** and JetBrains **0.4.201**, each published after the CLI. Session Core **0.3.27**, Protocol **0.1.13**, Agent SDK **0.2.18** and Context/Memory Kernel **0.1.12** are unchanged.
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
The [upgrade and release-status guide](../../docs-site/docs/chainlesschain/cli-ide-update-2026-11-11-147.md) separates candidate gates from public availability. Currently verified public versions are CLI **0.166.146**, Open VSX **0.37.185** and JetBrains **0.4.200**. Microsoft Marketplace and new mobile/PC client releases remain separate. Automatic promotion, independent business effects, invoice reconciliation and paid admission remain incomplete; **NOT_PAID_READY / NOT_ADMITTED / HOLD** remain.
|
|
12
12
|
|
|
13
|
-
##
|
|
13
|
+
## Previous public CLI 0.166.146 / verified IDE pairing (2026-11-10)
|
|
14
|
+
|
|
15
|
+
CLI **0.166.146**, Context/Memory Kernel **0.1.12**, Protocol **0.1.13** and Agent SDK **0.2.18** are public. Session Core remains **0.3.27**. Immutable source `daafda2cf7790580467dae8ce006ceaa1285d3b4` passed the [official Actions OIDC publication](https://github.com/chainlesschain/chainlesschain/actions/runs/42758119265), including exact-source CLI CI / Strict Sandbox gates, public registry bytes/provenance and registry-only child installation. Public npm version queries also succeeded. [Publication receipt](../../docs/research/cli/evidence/release146-public/publication.json).
|
|
16
|
+
|
|
17
|
+
Install `npm i -g chainlesschain@0.166.146 --registry https://registry.npmjs.org`, restart CLI/IDE hosts, then run `cc --version` and `cc doctor`.
|
|
18
|
+
|
|
19
|
+
Paired Open VSX **0.37.185** and JetBrains **0.4.199** are public and both recommend CLI **0.166.146**. The [VS Code/Open VSX release](https://github.com/chainlesschain/chainlesschain/actions/runs/42819326161) uses source `2ae832f9054ac834b06d00a38ce1a95038ff43bb`; the [JetBrains release](https://github.com/chainlesschain/chainlesschain/actions/runs/42761723143) uses `daafda2cf7790580467dae8ce006ceaa1285d3b4` and has completed Marketplace approval. Microsoft Marketplace remains unpublished; VS Code users can install the versioned Open VSX VSIX.
|
|
20
|
+
|
|
21
|
+
PC/mobile **v5.0.3.146** is not fully released; public clients remain **v5.0.3.145**. Android's fixed bundle still contains CLI .145 and failed the release version check; a bundle refresh has started, and complete five-platform product and public-asset verification remains required. Successful IDE or individual platform builds do not upgrade the public clients. See the [current upgrade guide](../../docs-site/docs/chainlesschain/cli-ide-update-2026-11-10-146.md). The earlier publication receipt and candidate records retain their dated scope.
|
|
22
|
+
|
|
23
|
+
This release adds canonical `memory inspect` and revision-checked `memory correct`, body-free correction notifications and persisted stream model-input diagnostics. The paired public JetBrains plugin restores tool traces; VS Code .185 retains the strict Remote-SSH host gate with bounded container dependency installation. A correction conflicts on a stale revision; an error after durable publication exits 2 and must be inspected without automatic replay. SQLite stores that contain correction events require the newer reader. Explicit output-token limits and durable MCP continuation retain their documented scope. Natural-language multilingual retrieval, complete lifecycle/platform acceptance, billing reconciliation and paid admission remain incomplete. **NOT_PAID_READY / NOT_ADMITTED / HOLD** remain.
|
|
24
|
+
|
|
25
|
+
## Historical public CLI 0.166.145 / verified IDE pairing
|
|
14
26
|
|
|
15
27
|
Public versions checked 2026-11-09: Session Core **0.3.27**, CLI **0.166.145**, Open VSX **0.37.181**, JetBrains **0.4.198**. Both IDEs recommend CLI .145. Open VSX passed **70K+ downloads** (owner-confirmed milestone). Source VS Code .182 is separate from public .181.
|
|
16
28
|
|
package/package.json
CHANGED
package/src/data/changelog.json
CHANGED
|
@@ -1,6 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"source": "CHANGELOG.md",
|
|
3
3
|
"releases": [
|
|
4
|
+
{
|
|
5
|
+
"productVersion": null,
|
|
6
|
+
"cliVersion": "0.166.147",
|
|
7
|
+
"cliVersions": ["0.166.147"],
|
|
8
|
+
"date": "2026-11-11",
|
|
9
|
+
"title": "",
|
|
10
|
+
"sections": [
|
|
11
|
+
{
|
|
12
|
+
"heading": "Added - cc CLI 0.166.147: original manifest ownership and verified retest preparation (candidate, 2026-11-11)",
|
|
13
|
+
"body": "- Retain original file catalog/head ownership through the actual Evolution Ledger factories. Reject mixed load/CAS ports, forwarding wrappers and replaced directories without changing existing custom-backend read/write behavior or granting storage-graph/promotion authority.\n- Pair with VS Code/Open VSX 0.37.186 and JetBrains 0.4.201, both recommending CLI 0.166.147. Keep the public JetBrains 0.4.200 Rewind fix. Required child package versions remain unchanged.\n- Prepare a separately identified 36-task plus nine-first-run Volcengine round with the original task source/allocation, fixed model and budgets, explicit-output-limit preservation and publication evidence. This prepares evaluation; it does not claim new model-task results or self-evolution gains.\n- Update the Mongoose dependency lock and reject malformed or timed-out audit reports. Add a synthetic-clock native DMM overnight notification journey, with real timers and independent host verification; actual overnight wall time and installed-client acceptance remain separate.\n- Publish only after exact-source CLI CI and Strict Sandbox on all configured systems, using Actions OIDC, then IDE host matrices and public readback. Automatic promotion remains HOLD; complete business, billing and paid admission remain open."
|
|
14
|
+
}
|
|
15
|
+
]
|
|
16
|
+
},
|
|
4
17
|
{
|
|
5
18
|
"productVersion": null,
|
|
6
19
|
"cliVersion": "0.166.146",
|
|
@@ -20,6 +20,8 @@ const STATE_SCHEMA =
|
|
|
20
20
|
const STATE_KEYS = new Set(["head", "schema"]);
|
|
21
21
|
const DEFAULT_MAXIMUM_BYTES = 256 * 1024;
|
|
22
22
|
const DIRECTORY_BOUNDARIES = new WeakMap();
|
|
23
|
+
const LOAD_OWNERS = new WeakMap();
|
|
24
|
+
const CAS_OWNERS = new WeakMap();
|
|
23
25
|
|
|
24
26
|
function exactRecord(value, keys, label) {
|
|
25
27
|
if (
|
|
@@ -222,9 +224,26 @@ export function createEvolutionLedgerFileManifestHeadBackend({
|
|
|
222
224
|
backend,
|
|
223
225
|
captureEvolutionManifestStateReaderDirectoryBoundary(stateReader),
|
|
224
226
|
);
|
|
227
|
+
LOAD_OWNERS.set(backend.load, backend);
|
|
228
|
+
CAS_OWNERS.set(backend.compareAndSet, backend);
|
|
225
229
|
return backend;
|
|
226
230
|
}
|
|
227
231
|
|
|
232
|
+
/** A head-store factory must retain both original ports from the same backend. */
|
|
233
|
+
export function captureEvolutionLedgerFileManifestHeadPortsDirectoryBoundary(
|
|
234
|
+
load,
|
|
235
|
+
compareAndSet,
|
|
236
|
+
) {
|
|
237
|
+
if (arguments.length !== 2)
|
|
238
|
+
throw new TypeError("head directory capture takes two original ports");
|
|
239
|
+
const owner = LOAD_OWNERS.get(load);
|
|
240
|
+
if (!owner || CAS_OWNERS.get(compareAndSet) !== owner)
|
|
241
|
+
throw new TypeError(
|
|
242
|
+
"original load and CAS ports from one file head backend are required",
|
|
243
|
+
);
|
|
244
|
+
return captureEvolutionLedgerFileManifestHeadDirectoryBoundary(owner);
|
|
245
|
+
}
|
|
246
|
+
|
|
228
247
|
/** Original local head directory only; structural wrappers are not owners. */
|
|
229
248
|
export function captureEvolutionLedgerFileManifestHeadDirectoryBoundary(
|
|
230
249
|
backend,
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { types as utilTypes } from "node:util";
|
|
2
|
+
import { captureEvolutionLedgerFileManifestCatalogDirectoryBoundary } from "./evolution-ledger-file-manifest-catalog.js";
|
|
3
|
+
|
|
4
|
+
const ORIGINAL_BACKENDS = new WeakMap();
|
|
2
5
|
|
|
3
6
|
import {
|
|
4
7
|
captureEvolutionLedgerManifestAuthority,
|
|
@@ -437,9 +440,19 @@ export function createEvolutionLedgerManifestCatalog(options = undefined) {
|
|
|
437
440
|
readLatest,
|
|
438
441
|
});
|
|
439
442
|
CATALOGS.add(catalog);
|
|
443
|
+
ORIGINAL_BACKENDS.set(catalog, backend);
|
|
440
444
|
return catalog;
|
|
441
445
|
}
|
|
442
446
|
|
|
447
|
+
/** Reuse the exact backend retained by this factory, never its public path. */
|
|
448
|
+
export function captureEvolutionLedgerManifestCatalogDirectoryBoundary(value) {
|
|
449
|
+
if (arguments.length !== 1 || !ORIGINAL_BACKENDS.has(value))
|
|
450
|
+
throw new TypeError("one original manifest catalog is required");
|
|
451
|
+
return captureEvolutionLedgerFileManifestCatalogDirectoryBoundary(
|
|
452
|
+
ORIGINAL_BACKENDS.get(value),
|
|
453
|
+
);
|
|
454
|
+
}
|
|
455
|
+
|
|
443
456
|
export function captureEvolutionLedgerManifestCatalog(
|
|
444
457
|
value,
|
|
445
458
|
expected = undefined,
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { types as utilTypes } from "node:util";
|
|
2
|
+
import { captureEvolutionLedgerFileManifestHeadPortsDirectoryBoundary } from "./evolution-ledger-file-manifest-head-store.js";
|
|
3
|
+
|
|
4
|
+
const ORIGINAL_PORTS = new WeakMap();
|
|
2
5
|
|
|
3
6
|
import {
|
|
4
7
|
captureEvolutionLedgerManifestAuthority,
|
|
@@ -373,9 +376,23 @@ export function createEvolutionLedgerManifestHeadStore(options = undefined) {
|
|
|
373
376
|
},
|
|
374
377
|
});
|
|
375
378
|
STORES.add(store);
|
|
379
|
+
ORIGINAL_PORTS.set(store, Object.freeze({ load, compareAndSet }));
|
|
376
380
|
return store;
|
|
377
381
|
}
|
|
378
382
|
|
|
383
|
+
/** Only the same original raw backend can own both captured head-store ports. */
|
|
384
|
+
export function captureEvolutionLedgerManifestHeadStoreDirectoryBoundary(
|
|
385
|
+
value,
|
|
386
|
+
) {
|
|
387
|
+
if (arguments.length !== 1 || !ORIGINAL_PORTS.has(value))
|
|
388
|
+
throw new TypeError("one original manifest head store is required");
|
|
389
|
+
const ports = ORIGINAL_PORTS.get(value);
|
|
390
|
+
return captureEvolutionLedgerFileManifestHeadPortsDirectoryBoundary(
|
|
391
|
+
ports.load,
|
|
392
|
+
ports.compareAndSet,
|
|
393
|
+
);
|
|
394
|
+
}
|
|
395
|
+
|
|
379
396
|
export function captureEvolutionLedgerManifestHeadStore(
|
|
380
397
|
value,
|
|
381
398
|
expected = undefined,
|
|
@@ -9,8 +9,14 @@ import {
|
|
|
9
9
|
verifyEvolutionLedgerManifestChain,
|
|
10
10
|
readEvolutionLedgerManifestEvents,
|
|
11
11
|
} from "./evolution-ledger-manifest-chain.js";
|
|
12
|
-
import {
|
|
13
|
-
|
|
12
|
+
import {
|
|
13
|
+
captureEvolutionLedgerManifestHeadStore,
|
|
14
|
+
captureEvolutionLedgerManifestHeadStoreDirectoryBoundary,
|
|
15
|
+
} from "./evolution-ledger-manifest-head-store.js";
|
|
16
|
+
import {
|
|
17
|
+
captureEvolutionLedgerManifestCatalog,
|
|
18
|
+
captureEvolutionLedgerManifestCatalogDirectoryBoundary,
|
|
19
|
+
} from "./evolution-ledger-manifest-catalog.js";
|
|
14
20
|
import { captureEvolutionLedgerManifestWitnessAdapter } from "./evolution-ledger-manifest-witness-adapter.js";
|
|
15
21
|
|
|
16
22
|
export const EVOLUTION_LEDGER_V2_MANIFEST_BACKEND_SCHEMA =
|
|
@@ -52,6 +58,7 @@ const APPEND_KEYS = new Set([
|
|
|
52
58
|
]);
|
|
53
59
|
const VERIFY_KEYS = new Set();
|
|
54
60
|
const BACKENDS = new WeakSet();
|
|
61
|
+
const ORIGINAL_MANIFEST_COMPONENTS = new WeakMap();
|
|
55
62
|
|
|
56
63
|
export class EvolutionLedgerV2ManifestBackendError extends Error {
|
|
57
64
|
constructor(code, message, options = undefined) {
|
|
@@ -602,9 +609,29 @@ export function createEvolutionLedgerV2ManifestBackend(options = undefined) {
|
|
|
602
609
|
},
|
|
603
610
|
});
|
|
604
611
|
BACKENDS.add(backend);
|
|
612
|
+
ORIGINAL_MANIFEST_COMPONENTS.set(backend, {
|
|
613
|
+
catalog,
|
|
614
|
+
headStore,
|
|
615
|
+
boundaries: null,
|
|
616
|
+
});
|
|
605
617
|
return backend;
|
|
606
618
|
}
|
|
607
619
|
|
|
620
|
+
/** Local metadata only. Capturing these components does not authenticate state. */
|
|
621
|
+
export function captureEvolutionLedgerV2ManifestDirectoryBoundaries(value) {
|
|
622
|
+
if (arguments.length !== 1 || !ORIGINAL_MANIFEST_COMPONENTS.has(value))
|
|
623
|
+
throw new TypeError("one original v2 manifest backend is required");
|
|
624
|
+
const components = ORIGINAL_MANIFEST_COMPONENTS.get(value);
|
|
625
|
+
const catalog = captureEvolutionLedgerManifestCatalogDirectoryBoundary(
|
|
626
|
+
components.catalog,
|
|
627
|
+
);
|
|
628
|
+
const head = captureEvolutionLedgerManifestHeadStoreDirectoryBoundary(
|
|
629
|
+
components.headStore,
|
|
630
|
+
);
|
|
631
|
+
components.boundaries ??= Object.freeze({ catalog, head });
|
|
632
|
+
return components.boundaries;
|
|
633
|
+
}
|
|
634
|
+
|
|
608
635
|
export function captureEvolutionLedgerV2ManifestBackend(value) {
|
|
609
636
|
if (!BACKENDS.has(value)) {
|
|
610
637
|
throw new TypeError(
|