@tangle-network/cli-agent-registry 0.15.110 → 0.15.111

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +14 -0
  2. package/package.json +8 -6
package/README.md CHANGED
@@ -43,6 +43,20 @@ Credential exclusions, native-store identity and conservation still apply.
43
43
  environment names. Non-JavaScript Git consumers can pin this committed file by
44
44
  commit and hash. Build emits its byte-identical package copy in `dist`; the public
45
45
  `/host-contracts.json` export resolves there, and prepack rejects drift in either copy.
46
+ The invariant group, preflight and `release:check` run `check:host-contracts`
47
+ before a build can regenerate the copy. This reads the committed JSON and the
48
+ source declarations. A clean checkout uses the Node runtime in `.nvmrc`.
49
+ Author workspaces on Node versions without native type stripping use the
50
+ registry’s installed TypeScript compiler.
51
+ Node resolves runtime-contracts through that package’s own source exports.
52
+ An earlier build healing the worktree cannot make a stale commit pass.
53
+ `scripts/bump-nix-agent-clis.mjs --write` checks that source runtime before
54
+ changing pins, then exports the final versions through the same projection.
55
+ For other declaration edits, `export:host-contracts:source` writes only the
56
+ source copy; commit it with the declarations. Neither source command builds
57
+ packages or installs dependencies. The existing build and prepack keep their
58
+ package-copy requirements. These gates hold qualification and deployment;
59
+ they do not add a merge restriction.
46
60
  The real CLI/Python
47
61
  boundary check is `node tests/host-contracts.integration.mjs`.
48
62
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/cli-agent-registry",
3
- "version": "0.15.110",
3
+ "version": "0.15.111",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./cli-backend-auth-env": {
@@ -73,12 +73,12 @@
73
73
  "tsdown": "^0.21.10",
74
74
  "typescript": "^6.0.3",
75
75
  "vitest": "^4.1.12",
76
- "@tangle-network/runtime-contracts": "0.20.0",
77
- "@repo/airgap-guard": "0.0.0"
76
+ "@repo/airgap-guard": "0.0.0",
77
+ "@tangle-network/runtime-contracts": "0.20.0"
78
78
  },
79
79
  "tangleRelease": {
80
- "sourceSha": "683f9d7a93c93328111e8600d638fda926553204",
81
- "mergedAt": "2026-11-17T23:28:41-08:00"
80
+ "sourceSha": "f4654d49c0c7460f140d900f518ca9e42ec01cfa",
81
+ "mergedAt": "2026-11-18T11:01:55-08:00"
82
82
  },
83
83
  "scripts": {
84
84
  "build": "tsdown && node scripts/export-host-contracts.mjs --write",
@@ -86,6 +86,8 @@
86
86
  "check-types": "node ../../scripts/tsc-native.mjs --noEmit",
87
87
  "test": "vitest run --config ../../vitest.config.cjs",
88
88
  "test:watch": "vitest --config ../../vitest.config.cjs",
89
- "export:host-contracts": "node scripts/export-host-contracts.mjs --write"
89
+ "export:host-contracts": "node scripts/export-host-contracts.mjs --write",
90
+ "export:host-contracts:source": "node scripts/export-host-contracts.mjs --write-source",
91
+ "check:host-contracts": "node scripts/export-host-contracts.mjs --check-source"
90
92
  }
91
93
  }