@lifeaitools/rdc-skills 0.31.1 → 0.31.2

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rdc",
3
- "version": "0.31.1",
3
+ "version": "0.31.2",
4
4
  "description": "RDC typed-agent dispatch skill suite for Claude Code — plan, build, review, overnight unattended builds with work-item tracking and TDD enforcement.",
5
5
  "author": {
6
6
  "name": "LIFEAI",
@@ -10,6 +10,12 @@ if [[ "$repo_root" != "/srv/regen/rdc-skills" ]]; then
10
10
  exit 1
11
11
  fi
12
12
 
13
+ cd "$repo_root"
14
+ # The MCP imports declared runtime dependencies (including express). A Git
15
+ # checkout alone cannot satisfy those imports after a clean host or dependency
16
+ # cleanup, so install the committed production graph before the unit is enabled.
17
+ npm ci --omit=dev --no-audit --no-fund
18
+
13
19
  install -m 0644 "$unit_source" "$unit_target"
14
20
  systemctl daemon-reload
15
21
  systemctl enable --now rdc-skills-mcp.service
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lifeaitools/rdc-skills",
3
- "version": "0.31.1",
3
+ "version": "0.31.2",
4
4
  "description": "RDC typed-agent dispatch skill suite for Claude Code - plan, build, review, overnight builds",
5
5
  "keywords": [
6
6
  "claude-code",
@@ -2,7 +2,7 @@
2
2
  import assert from 'node:assert/strict';
3
3
  import { spawnSync } from 'node:child_process';
4
4
  import { createRequire } from 'node:module';
5
- import { mkdtempSync, mkdirSync, readFileSync, rmSync, writeFileSync } from 'node:fs';
5
+ import { existsSync, mkdtempSync, mkdirSync, readFileSync, rmSync, writeFileSync } from 'node:fs';
6
6
  import { tmpdir } from 'node:os';
7
7
  import { dirname, join, resolve } from 'node:path';
8
8
  import { fileURLToPath } from 'node:url';
@@ -31,6 +31,16 @@ assert.equal(
31
31
  packageJson.version,
32
32
  'plugin manifest version must match the published package version',
33
33
  );
34
+ const packageLockPath = join(REPO_ROOT, 'package-lock.json');
35
+ assert.equal(existsSync(packageLockPath), true, 'systemd deployment requires a committed package-lock.json for npm ci');
36
+ const packageLock = JSON.parse(readFileSync(packageLockPath, 'utf8'));
37
+ assert.equal(packageLock.version, packageJson.version, 'package-lock version must match package.json');
38
+ const systemdInstaller = readFileSync(join(REPO_ROOT, 'deploy', 'install-systemd.sh'), 'utf8');
39
+ assert.match(
40
+ systemdInstaller,
41
+ /npm ci --omit=dev --no-audit --no-fund/,
42
+ 'systemd installer must install the locked production dependency graph before starting the MCP',
43
+ );
34
44
  const skillCount = Array.isArray(plugin.skills_meta)
35
45
  ? plugin.skills_meta.length
36
46
  : Object.keys(plugin.skills_meta || {}).length;