@sentropic/cluster-mesh 0.15.0 → 0.16.0

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 CHANGED
@@ -103,7 +103,7 @@ topology introduced in 0.1: one Sentropic server, its attached local workstation
103
103
  local signed projections, and the existing device-code lifecycle. It does not
104
104
  implement server-to-server federation.
105
105
 
106
- ## Lazy integration surface (0.12+, tuple of 0.13)
106
+ ## Lazy integration surface (0.12+, tuple of 0.14)
107
107
 
108
108
  Cluster Mesh is the single integration surface for llm-mesh and llm-gateway. Those
109
109
  providers stay independent packages and never depend on cluster-mesh. They are
@@ -112,8 +112,8 @@ providers stay independent packages and never depend on cluster-mesh. They are
112
112
 
113
113
  | Entry | Provider | Selected optional peers |
114
114
  |---|---|---|
115
- | `/llm-mesh`, `/llm-mesh/facade`, `/llm-mesh/enrollment`, `/llm-mesh/node`, `/llm-mesh/transport/cloud-code` | matching `@sentropic/llm-mesh` entry | `@sentropic/llm-mesh >=0.22.0 <0.23.0` |
116
- | `/gateway` | `@sentropic/llm-gateway` root (neither auth mode) | llm-mesh + `@sentropic/llm-gateway >=0.19.0 <0.20.0` |
115
+ | `/llm-mesh`, `/llm-mesh/facade`, `/llm-mesh/enrollment`, `/llm-mesh/node`, `/llm-mesh/transport/cloud-code` | matching `@sentropic/llm-mesh` entry | `@sentropic/llm-mesh >=0.22.0 <0.27.0` |
116
+ | `/gateway` | `@sentropic/llm-gateway` root (neither auth mode) | llm-mesh + `@sentropic/llm-gateway >=0.19.0 <0.21.0` |
117
117
  | `/gateway/auth` (service mode) | `@sentropic/llm-gateway/auth` | gateway + `@sentropic/mcp-auth >=0.2.1 <0.3.0`, `jose ^5.10.0` |
118
118
  | `/gateway/auth-hono` (session mode) | `@sentropic/llm-gateway/auth-hono` | gateway + `@sentropic/auth-hono ^0.15.0` |
119
119
  | `/loaders/<leaf>` | async typed loader (`loadLlmMesh`, `loadGateway`, `loadGatewayAuth`, ...) | as its leaf, resolved on call |
@@ -151,7 +151,7 @@ the llm-mesh range; gateway entries check the llm-gateway and llm-mesh ranges. R
151
151
  are checked on the copies cluster-mesh actually resolves (llm-mesh and llm-gateway from
152
152
  its own physical location, the gateway's llm-mesh from the gateway's location), release
153
153
  versions only: a prerelease version never satisfies, and `+build` metadata is ignored
154
- as npm does (`0.22.0+build.1` satisfies `>=0.22.0 <0.23.0`). An absent
154
+ as npm does (`0.26.0+build.1` satisfies `>=0.22.0 <0.27.0`). An absent
155
155
  provider is left to the leaf import itself.
156
156
  Copies are keyed by module URL without `?query`/`#hash`: a copy loaded from another
157
157
  path (nested install, `npm link`, a `--preserve-symlinks` link path) is a duplicate,
@@ -169,7 +169,7 @@ next to it (remove that gateway copy or align its llm-mesh).
169
169
  **Consumer rules.** Every manifest that declares cluster-mesh and imports a leaf
170
170
  also declares that leaf's selected peers at the qualified versions; the installed
171
171
  tree must hold exactly one cluster-mesh and one llm-mesh shared with the gateway.
172
- 0.13.0 is qualified with **npm only** (flat project installs, `npm ci` from a lockfile,
172
+ 0.16.0 is qualified with **npm only** (flat project installs, `npm ci` from a lockfile,
173
173
  and a global consumer beside a separately installed runtime); other package managers
174
174
  are not qualified. The tested bundler is esbuild with `@sentropic/cluster-mesh` **and**
175
175
  `@sentropic/cluster-mesh/*` (and the peer packages) externalized, which keeps the
@@ -177,11 +177,19 @@ resolution anchor at the installed package; bundling the root inline (as the API
177
177
  build does) embeds no provider code. TypeScript >= 5.7 is required with
178
178
  `skipLibCheck: false` (hono's declarations); with `skipLibCheck: true`, a missing
179
179
  peer surfaces as TS2305 on the named import. Frozen tuple (committed lockfile):
180
- cluster-mesh 0.13.0, llm-mesh 0.22.0, llm-gateway 0.19.0, mcp-auth 0.2.1,
180
+ cluster-mesh 0.16.0, llm-mesh 0.26.0, llm-gateway 0.20.0, mcp-auth 0.2.1,
181
181
  oauth-verify 0.1.0, jose 5.10.0, hono 4.10.7; session mode with auth-hono 0.15.0
182
- (llm-gateway 0.19.0's declared peer range `^0.15.0`); the latest versions inside
182
+ (llm-gateway 0.20.0's declared peer range `^0.15.0`); the latest versions inside
183
183
  every declared range are re-qualified on each release run. The previous tuple
184
184
  (llm-mesh 0.21.x, llm-gateway 0.18.x) is refused, see "Upgrading to 0.13" below.
185
+
186
+ The current release target is **cluster-mesh 0.16.0, llm-mesh 0.26.0 and
187
+ llm-gateway 0.20.0** (llm-mesh/llm-gateway still unpublished; cluster-mesh 0.15.0
188
+ is published on npm). Final sibling archive qualification
189
+ and the selected-lock integrity refresh remain release gates; the selected fixture
190
+ retains the baseline until that final refresh. The widened ranges retain the prior
191
+ qualified minors.
192
+
185
193
  Release-train runs qualify the unpublished llm-mesh and llm-gateway candidates from
186
194
  same-PR sibling archives validated by the CI `loadSiblings` rules (sha256, packed
187
195
  identity and manifest guard, receipts packed from the current commit, no unlisted
@@ -190,6 +198,11 @@ SIBLING_ARCHIVES_FILE=tmp/ci-manifest-guard/siblings/cluster-mesh/receipts.json`
190
198
  receipt for cluster-mesh itself replaces the local pack as the qualified candidate. The
191
199
  committed `selected` lockfile carries their registry URL and the sha512 of those bytes.
192
200
 
201
+ **Upgrading to 0.16.** Gateway 0.20.0 requires llm-mesh `^0.26.0`: upgrade both
202
+ providers in the same artifact and keep their physical llm-mesh instance shared.
203
+ Cluster-mesh 0.16.0 also accepts the prior 0.22.x / 0.19.x tuple. Prereleases
204
+ are refused.
205
+
193
206
  **Upgrading to 0.13.** Bump cluster-mesh 0.13, llm-mesh 0.22 and llm-gateway 0.19 in
194
207
  the same commit; npm may not error on a partial bump. Measured with npm 11.19: a
195
208
  consumer keeping its own `^0.21.2`/`^0.18.0` pins fails with `ERESOLVE`, while
@@ -203,6 +216,12 @@ loaders (`modules.load('gateway')`) refuse with `cluster_mesh_module_unavailable
203
216
  `incompatible_version` as well. `verifyClusterMeshTopology()` is an optional earlier
204
217
  check for hosts that mount routes before importing any leaf.
205
218
 
219
+ **Upgrading to 0.16.** Cluster-mesh 0.16.0 is a minor with no runtime change from
220
+ main's 0.15.0 (the live-storage registration export is inherited): it keeps
221
+ the `>=0.22.0 <0.27.0` / `>=0.19.0 <0.21.0` peer ceilings and qualifies the
222
+ llm-mesh 0.26.0 + llm-gateway 0.20.0 train. It supersedes main's 0.15.0 (taken by
223
+ PR #664, which merged first) strictly greater than npm (0.15.0) and main (0.15.0).
224
+
206
225
  **Namespace remap.** `createClusterMeshPlugin({ mounts })` mounts each enabled module
207
226
  once at `mounts[namespace] ?? namespace`. A standalone gateway host passes
208
227
  `mounts: { '/gw': '/' }` and serves exactly `/healthz`, `/readyz`, `/v1/messages`,
@@ -2,8 +2,8 @@ import type { ClusterMeshNamespace } from '@sentropic/contracts';
2
2
  import { type ClusterMeshGatedModuleId, type ClusterMeshModuleInfo, type ClusterMeshProviderModuleId } from './contracts.js';
3
3
  export declare const LLM_MESH_PACKAGE = "@sentropic/llm-mesh";
4
4
  export declare const LLM_GATEWAY_PACKAGE = "@sentropic/llm-gateway";
5
- export declare const LLM_MESH_RANGE = ">=0.22.0 <0.26.0";
6
- export declare const LLM_GATEWAY_RANGE = ">=0.19.0 <0.20.0";
5
+ export declare const LLM_MESH_RANGE = ">=0.22.0 <0.27.0";
6
+ export declare const LLM_GATEWAY_RANGE = ">=0.19.0 <0.21.0";
7
7
  export declare const MCP_AUTH_RANGE = ">=0.2.1 <0.3.0";
8
8
  export declare const JOSE_RANGE = "^5.10.0";
9
9
  /** Follows llm-gateway 0.19.0's declared optional peer range. */
@@ -1,8 +1,8 @@
1
1
  import { CLUSTER_MESH_GATED_MODULE_IDS, } from './contracts.js';
2
2
  export const LLM_MESH_PACKAGE = '@sentropic/llm-mesh';
3
3
  export const LLM_GATEWAY_PACKAGE = '@sentropic/llm-gateway';
4
- export const LLM_MESH_RANGE = '>=0.22.0 <0.26.0';
5
- export const LLM_GATEWAY_RANGE = '>=0.19.0 <0.20.0';
4
+ export const LLM_MESH_RANGE = '>=0.22.0 <0.27.0';
5
+ export const LLM_GATEWAY_RANGE = '>=0.19.0 <0.21.0';
6
6
  export const MCP_AUTH_RANGE = '>=0.2.1 <0.3.0';
7
7
  export const JOSE_RANGE = '^5.10.0';
8
8
  /** Follows llm-gateway 0.19.0's declared optional peer range. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentropic/cluster-mesh",
3
- "version": "0.15.0",
3
+ "version": "0.16.0",
4
4
  "description": "Injectable Cluster Mesh control-plane contracts, namespace modules, and single-instance runtime.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -122,8 +122,8 @@
122
122
  "hono": "^4.10.7"
123
123
  },
124
124
  "peerDependencies": {
125
- "@sentropic/llm-mesh": ">=0.22.0 <0.26.0",
126
- "@sentropic/llm-gateway": ">=0.19.0 <0.20.0",
125
+ "@sentropic/llm-mesh": ">=0.22.0 <0.27.0",
126
+ "@sentropic/llm-gateway": ">=0.19.0 <0.21.0",
127
127
  "@sentropic/mcp-auth": ">=0.2.1 <0.3.0",
128
128
  "@sentropic/auth-hono": "^0.15.0",
129
129
  "jose": "^5.10.0"