@rightkit/release 0.2.25 → 0.2.26

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.
@@ -60,15 +60,12 @@ export function assertLegalReleaseContract(root, legal, appName, platform) {
60
60
  const manifest = readJson(manifestPath, appName, "legal manifest");
61
61
  const snapshotRoot = realpathSync(path.dirname(manifestPath));
62
62
 
63
- if (manifest.schema !== 1 || manifest.suite !== "right-suite-desktop") {
64
- fail(appName, "manifest must use Right Suite legal schema 1");
63
+ if (manifest.schema !== 2 || manifest.suite !== "right-suite-desktop") {
64
+ fail(appName, "manifest must use Right Suite legal schema 2");
65
65
  }
66
66
  if (!APP_KEY.test(manifest.appKey ?? "") || (appName && manifest.appKey !== appName)) {
67
67
  fail(appName, `manifest appKey must match release app (${manifest.appKey ?? "missing"})`);
68
68
  }
69
- if (manifest.freeWorkerMaximum !== 9 || manifest.paidWorkerMinimum !== 10) {
70
- fail(appName, "manifest Worker threshold must be free through 9 and paid from 10");
71
- }
72
69
  if (typeof manifest.acceptanceVersion !== "string" || !manifest.acceptanceVersion.trim()) {
73
70
  fail(appName, "manifest acceptanceVersion is required");
74
71
  }
@@ -26,15 +26,13 @@ function fixture() {
26
26
  ];
27
27
  for (const [, file, content] of definitions) writeFileSync(path.join(legalDir, file), content);
28
28
  const manifest = {
29
- schema: 1,
29
+ schema: 2,
30
30
  suite: "right-suite-desktop",
31
31
  appKey: "fixture",
32
32
  productName: "Fixture",
33
33
  licensor: "Damned Ventures LLC",
34
34
  effectiveDate: "2026-07-16",
35
35
  acceptanceVersion: "fixture-2026-07-16-v1",
36
- freeWorkerMaximum: 9,
37
- paidWorkerMinimum: 10,
38
36
  documents: definitions.map(([role, file, content]) => ({
39
37
  id: `fixture-${role}`,
40
38
  role,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rightkit/release",
3
- "version": "0.2.25",
3
+ "version": "0.2.26",
4
4
  "description": "Portable Right Suite release CLI/SDK: signed installers, updater artifacts, patch/update routing, hardening, R2 publish, and RightApps registration.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -317,8 +317,8 @@ test("Cargo version contract rejects staged versions that mismatch canonical man
317
317
  test("RightKit exposes one current version manifest", () => {
318
318
  assert.equal(existsSync(versionsPath), true, "rightkit-versions.json must be the single current-version source");
319
319
  assert.match(versions.packageManager, /^pnpm@\d+\.\d+\.\d+$/);
320
- assert.equal(versions.npm["@rightkit/release"], "0.2.25");
321
- assert.equal(versions.npm["@rightkit/legal"], "0.1.0");
320
+ assert.equal(versions.npm["@rightkit/release"], "0.2.26");
321
+ assert.equal(versions.npm["@rightkit/legal"], "0.2.0");
322
322
  assert.equal(versions.npm["@rightkit/license"], "0.1.5");
323
323
  assert.equal(versions.npm["@rightkit/logs"], "0.1.3");
324
324
  assert.equal(versions.npm["@rightkit/tauri"], "0.1.0");
@@ -326,7 +326,7 @@ test("RightKit exposes one current version manifest", () => {
326
326
  assert.equal(versions.cargo["rightkit-license"], "0.1.2");
327
327
  assert.equal(versions.cargo["rightkit-logs"], "0.1.0");
328
328
  assert.equal(versions.cargo["rightkit-tauri"], "0.1.0");
329
- assert.deepEqual(versions.stagedCargo, {});
329
+ assert.deepEqual(versions.stagedCargo, { "rightkit-license": "0.1.3" });
330
330
  getCurrentCargoVersionContract();
331
331
  });
332
332
 
@@ -2,12 +2,12 @@
2
2
  "schema": 1,
3
3
  "packageManager": "pnpm@11.12.0",
4
4
  "npm": {
5
- "@rightkit/legal": "0.1.0",
5
+ "@rightkit/legal": "0.2.0",
6
6
  "@rightkit/license": "0.1.5",
7
7
  "@rightkit/logs": "0.1.3",
8
8
  "@rightkit/platform-ui": "0.1.0",
9
9
  "@rightkit/qa": "0.1.0",
10
- "@rightkit/release": "0.2.25",
10
+ "@rightkit/release": "0.2.26",
11
11
  "@rightkit/tauri": "0.1.0",
12
12
  "@rightkit/updates": "0.2.3"
13
13
  },
@@ -17,7 +17,7 @@
17
17
  "rightkit-process": "0.1.0",
18
18
  "rightkit-tauri": "0.1.0"
19
19
  },
20
- "stagedCargo": {},
20
+ "stagedCargo": { "rightkit-license": "0.1.3" },
21
21
  "swift": {
22
22
  "rightkit-swift": {
23
23
  "url": "https://github.com/bogusyogi/rightkit-swift.git",