@codyswann/lisa 2.331.3 → 2.332.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.
Files changed (66) hide show
  1. package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
  2. package/dist/core/upstream-evidence-manifest.js +3 -2
  3. package/dist/core/upstream-evidence-manifest.js.map +1 -1
  4. package/package.json +1 -1
  5. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  6. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  7. package/plugins/lisa/.codex-plugin/skills/lisa-setup-remote-env/scripts/setup-remote-env.mjs +40 -0
  8. package/plugins/lisa/.codex-plugin/skills/lisa-setup-remote-env/scripts/toolchain.mjs +13 -1
  9. package/plugins/lisa/skills/lisa-setup-remote-env/scripts/setup-remote-env.mjs +40 -0
  10. package/plugins/lisa/skills/lisa-setup-remote-env/scripts/toolchain.mjs +13 -1
  11. package/plugins/lisa-agy/plugin.json +1 -1
  12. package/plugins/lisa-agy/skills/lisa-setup-remote-env/scripts/setup-remote-env.mjs +40 -0
  13. package/plugins/lisa-agy/skills/lisa-setup-remote-env/scripts/toolchain.mjs +13 -1
  14. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  15. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  16. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  17. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  18. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  19. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  20. package/plugins/lisa-copilot/skills/lisa-setup-remote-env/scripts/setup-remote-env.mjs +40 -0
  21. package/plugins/lisa-copilot/skills/lisa-setup-remote-env/scripts/toolchain.mjs +13 -1
  22. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  23. package/plugins/lisa-cursor/skills/lisa-setup-remote-env/scripts/setup-remote-env.mjs +40 -0
  24. package/plugins/lisa-cursor/skills/lisa-setup-remote-env/scripts/toolchain.mjs +13 -1
  25. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  26. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  27. package/plugins/lisa-expo-agy/plugin.json +1 -1
  28. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  29. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  30. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  31. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  32. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  33. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  34. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  35. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  36. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  37. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  38. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  39. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  40. package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
  41. package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
  42. package/plugins/lisa-openclaw-agy/plugin.json +1 -1
  43. package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
  44. package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
  45. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  46. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  47. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  48. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  49. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  50. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  51. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  52. package/plugins/lisa-rails-agy/plugin.json +1 -1
  53. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  54. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  55. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  56. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  57. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  58. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  59. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  60. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  61. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  62. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  63. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  64. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  65. package/plugins/src/base/skills/lisa-setup-remote-env/scripts/setup-remote-env.mjs +40 -0
  66. package/plugins/src/base/skills/lisa-setup-remote-env/scripts/toolchain.mjs +13 -1
package/package.json CHANGED
@@ -115,7 +115,7 @@
115
115
  "brace-expansion": ">=5.0.9"
116
116
  },
117
117
  "name": "@codyswann/lisa",
118
- "version": "2.331.3",
118
+ "version": "2.332.0",
119
119
  "description": "Claude Code governance framework that applies guardrails, guidance, and automated enforcement to projects",
120
120
  "main": "dist/index.js",
121
121
  "exports": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "2.331.3",
3
+ "version": "2.332.0",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "2.331.3",
3
+ "version": "2.332.0",
4
4
  "description": "Universal governance: agents, skills, commands, hooks, and rules for all projects.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -300,6 +300,44 @@ function installReleaseTree(tool, binDir) {
300
300
  }
301
301
  }
302
302
 
303
+ /**
304
+ * Install a pinned artifact that IS the binary, with no archive around it.
305
+ *
306
+ * Several tools worth pinning publish a raw executable rather than an archive —
307
+ * jq ships `jq-linux-amd64` and a `sha256sum.txt`, which is ideal material for a
308
+ * checksummed pin and fits none of the archive kinds.
309
+ *
310
+ * Without this the only entry that passes `assertPinned` is `release-zip`, which
311
+ * then fails at install when `unzip` is handed a binary. A manifest entry that
312
+ * validates and cannot install is worse than one that is rejected outright: the
313
+ * error arrives during provisioning rather than during review.
314
+ *
315
+ * There is no `binary` field here, deliberately — the download is the binary,
316
+ * so there is nothing inside it to name.
317
+ * @param {object} tool Manifest entry.
318
+ * @param {string} binDir Directory to install into.
319
+ */
320
+ function installReleaseBinary(tool, binDir) {
321
+ const temporary = join(binDir, `.${tool.name}-download`);
322
+ mkdirSync(temporary, { recursive: true });
323
+ try {
324
+ const artifact = join(temporary, tool.name);
325
+ execFileSync("curl", ["-fsSL", tool.url, "-o", artifact], {
326
+ stdio: "inherit",
327
+ });
328
+ // Verify before it reaches a directory on PATH. For this kind that ordering
329
+ // matters more than for the archives: the downloaded file is directly
330
+ // executable, so a wrong artifact placed first is a wrong artifact that can
331
+ // be run.
332
+ verifyChecksum(artifact, tool.sha256, tool.name);
333
+ execFileSync("install", ["-m", "0755", artifact, join(binDir, tool.name)], {
334
+ stdio: "inherit",
335
+ });
336
+ } finally {
337
+ rmSync(temporary, { recursive: true, force: true });
338
+ }
339
+ }
340
+
303
341
  /**
304
342
  * Install a pinned global npm package.
305
343
  * @param {object} tool Manifest entry.
@@ -328,6 +366,8 @@ export function installTool(tool, binDir) {
328
366
  if (tool.install === "release-zip") installReleaseZip(tool, binDir);
329
367
  else if (tool.install === "release-tar") installReleaseTar(tool, binDir);
330
368
  else if (tool.install === "release-tree") installReleaseTree(tool, binDir);
369
+ else if (tool.install === "release-binary")
370
+ installReleaseBinary(tool, binDir);
331
371
  else installNpmGlobal(tool);
332
372
  }
333
373
 
@@ -354,6 +354,18 @@ export function assertPinned(tool) {
354
354
  }
355
355
  return;
356
356
  }
357
+ // The download IS the binary, so there is no `binary` path to require — but
358
+ // the checksum matters more here than anywhere else, because the artifact is
359
+ // directly executable rather than something that has to be unpacked first.
360
+ if (tool.install === "release-binary") {
361
+ if (!tool.url || !tool.sha256) {
362
+ throw new Error(
363
+ `${tool.name}: a release-binary install needs both url and sha256.\n` +
364
+ `A version bump must move the checksum in the same reviewed commit.`
365
+ );
366
+ }
367
+ return;
368
+ }
357
369
  if (tool.install === "npm-global") {
358
370
  if (!tool.package)
359
371
  throw new Error(`${tool.name}: npm-global install needs a package`);
@@ -361,6 +373,6 @@ export function assertPinned(tool) {
361
373
  }
362
374
  throw new Error(
363
375
  `${tool.name}: unknown install method "${tool.install}".\n` +
364
- `Supported: release-zip, release-tar, release-tree, npm-global.`
376
+ `Supported: release-zip, release-tar, release-tree, release-binary, npm-global.`
365
377
  );
366
378
  }
@@ -300,6 +300,44 @@ function installReleaseTree(tool, binDir) {
300
300
  }
301
301
  }
302
302
 
303
+ /**
304
+ * Install a pinned artifact that IS the binary, with no archive around it.
305
+ *
306
+ * Several tools worth pinning publish a raw executable rather than an archive —
307
+ * jq ships `jq-linux-amd64` and a `sha256sum.txt`, which is ideal material for a
308
+ * checksummed pin and fits none of the archive kinds.
309
+ *
310
+ * Without this the only entry that passes `assertPinned` is `release-zip`, which
311
+ * then fails at install when `unzip` is handed a binary. A manifest entry that
312
+ * validates and cannot install is worse than one that is rejected outright: the
313
+ * error arrives during provisioning rather than during review.
314
+ *
315
+ * There is no `binary` field here, deliberately — the download is the binary,
316
+ * so there is nothing inside it to name.
317
+ * @param {object} tool Manifest entry.
318
+ * @param {string} binDir Directory to install into.
319
+ */
320
+ function installReleaseBinary(tool, binDir) {
321
+ const temporary = join(binDir, `.${tool.name}-download`);
322
+ mkdirSync(temporary, { recursive: true });
323
+ try {
324
+ const artifact = join(temporary, tool.name);
325
+ execFileSync("curl", ["-fsSL", tool.url, "-o", artifact], {
326
+ stdio: "inherit",
327
+ });
328
+ // Verify before it reaches a directory on PATH. For this kind that ordering
329
+ // matters more than for the archives: the downloaded file is directly
330
+ // executable, so a wrong artifact placed first is a wrong artifact that can
331
+ // be run.
332
+ verifyChecksum(artifact, tool.sha256, tool.name);
333
+ execFileSync("install", ["-m", "0755", artifact, join(binDir, tool.name)], {
334
+ stdio: "inherit",
335
+ });
336
+ } finally {
337
+ rmSync(temporary, { recursive: true, force: true });
338
+ }
339
+ }
340
+
303
341
  /**
304
342
  * Install a pinned global npm package.
305
343
  * @param {object} tool Manifest entry.
@@ -328,6 +366,8 @@ export function installTool(tool, binDir) {
328
366
  if (tool.install === "release-zip") installReleaseZip(tool, binDir);
329
367
  else if (tool.install === "release-tar") installReleaseTar(tool, binDir);
330
368
  else if (tool.install === "release-tree") installReleaseTree(tool, binDir);
369
+ else if (tool.install === "release-binary")
370
+ installReleaseBinary(tool, binDir);
331
371
  else installNpmGlobal(tool);
332
372
  }
333
373
 
@@ -354,6 +354,18 @@ export function assertPinned(tool) {
354
354
  }
355
355
  return;
356
356
  }
357
+ // The download IS the binary, so there is no `binary` path to require — but
358
+ // the checksum matters more here than anywhere else, because the artifact is
359
+ // directly executable rather than something that has to be unpacked first.
360
+ if (tool.install === "release-binary") {
361
+ if (!tool.url || !tool.sha256) {
362
+ throw new Error(
363
+ `${tool.name}: a release-binary install needs both url and sha256.\n` +
364
+ `A version bump must move the checksum in the same reviewed commit.`
365
+ );
366
+ }
367
+ return;
368
+ }
357
369
  if (tool.install === "npm-global") {
358
370
  if (!tool.package)
359
371
  throw new Error(`${tool.name}: npm-global install needs a package`);
@@ -361,6 +373,6 @@ export function assertPinned(tool) {
361
373
  }
362
374
  throw new Error(
363
375
  `${tool.name}: unknown install method "${tool.install}".\n` +
364
- `Supported: release-zip, release-tar, release-tree, npm-global.`
376
+ `Supported: release-zip, release-tar, release-tree, release-binary, npm-global.`
365
377
  );
366
378
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "2.331.3",
3
+ "version": "2.332.0",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -300,6 +300,44 @@ function installReleaseTree(tool, binDir) {
300
300
  }
301
301
  }
302
302
 
303
+ /**
304
+ * Install a pinned artifact that IS the binary, with no archive around it.
305
+ *
306
+ * Several tools worth pinning publish a raw executable rather than an archive —
307
+ * jq ships `jq-linux-amd64` and a `sha256sum.txt`, which is ideal material for a
308
+ * checksummed pin and fits none of the archive kinds.
309
+ *
310
+ * Without this the only entry that passes `assertPinned` is `release-zip`, which
311
+ * then fails at install when `unzip` is handed a binary. A manifest entry that
312
+ * validates and cannot install is worse than one that is rejected outright: the
313
+ * error arrives during provisioning rather than during review.
314
+ *
315
+ * There is no `binary` field here, deliberately — the download is the binary,
316
+ * so there is nothing inside it to name.
317
+ * @param {object} tool Manifest entry.
318
+ * @param {string} binDir Directory to install into.
319
+ */
320
+ function installReleaseBinary(tool, binDir) {
321
+ const temporary = join(binDir, `.${tool.name}-download`);
322
+ mkdirSync(temporary, { recursive: true });
323
+ try {
324
+ const artifact = join(temporary, tool.name);
325
+ execFileSync("curl", ["-fsSL", tool.url, "-o", artifact], {
326
+ stdio: "inherit",
327
+ });
328
+ // Verify before it reaches a directory on PATH. For this kind that ordering
329
+ // matters more than for the archives: the downloaded file is directly
330
+ // executable, so a wrong artifact placed first is a wrong artifact that can
331
+ // be run.
332
+ verifyChecksum(artifact, tool.sha256, tool.name);
333
+ execFileSync("install", ["-m", "0755", artifact, join(binDir, tool.name)], {
334
+ stdio: "inherit",
335
+ });
336
+ } finally {
337
+ rmSync(temporary, { recursive: true, force: true });
338
+ }
339
+ }
340
+
303
341
  /**
304
342
  * Install a pinned global npm package.
305
343
  * @param {object} tool Manifest entry.
@@ -328,6 +366,8 @@ export function installTool(tool, binDir) {
328
366
  if (tool.install === "release-zip") installReleaseZip(tool, binDir);
329
367
  else if (tool.install === "release-tar") installReleaseTar(tool, binDir);
330
368
  else if (tool.install === "release-tree") installReleaseTree(tool, binDir);
369
+ else if (tool.install === "release-binary")
370
+ installReleaseBinary(tool, binDir);
331
371
  else installNpmGlobal(tool);
332
372
  }
333
373
 
@@ -354,6 +354,18 @@ export function assertPinned(tool) {
354
354
  }
355
355
  return;
356
356
  }
357
+ // The download IS the binary, so there is no `binary` path to require — but
358
+ // the checksum matters more here than anywhere else, because the artifact is
359
+ // directly executable rather than something that has to be unpacked first.
360
+ if (tool.install === "release-binary") {
361
+ if (!tool.url || !tool.sha256) {
362
+ throw new Error(
363
+ `${tool.name}: a release-binary install needs both url and sha256.\n` +
364
+ `A version bump must move the checksum in the same reviewed commit.`
365
+ );
366
+ }
367
+ return;
368
+ }
357
369
  if (tool.install === "npm-global") {
358
370
  if (!tool.package)
359
371
  throw new Error(`${tool.name}: npm-global install needs a package`);
@@ -361,6 +373,6 @@ export function assertPinned(tool) {
361
373
  }
362
374
  throw new Error(
363
375
  `${tool.name}: unknown install method "${tool.install}".\n` +
364
- `Supported: release-zip, release-tar, release-tree, npm-global.`
376
+ `Supported: release-zip, release-tar, release-tree, release-binary, npm-global.`
365
377
  );
366
378
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "2.331.3",
3
+ "version": "2.332.0",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "2.331.3",
3
+ "version": "2.332.0",
4
4
  "description": "AWS CDK-specific Lisa plugin.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "2.331.3",
3
+ "version": "2.332.0",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "2.331.3",
3
+ "version": "2.332.0",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "2.331.3",
3
+ "version": "2.332.0",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "2.331.3",
3
+ "version": "2.332.0",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -300,6 +300,44 @@ function installReleaseTree(tool, binDir) {
300
300
  }
301
301
  }
302
302
 
303
+ /**
304
+ * Install a pinned artifact that IS the binary, with no archive around it.
305
+ *
306
+ * Several tools worth pinning publish a raw executable rather than an archive —
307
+ * jq ships `jq-linux-amd64` and a `sha256sum.txt`, which is ideal material for a
308
+ * checksummed pin and fits none of the archive kinds.
309
+ *
310
+ * Without this the only entry that passes `assertPinned` is `release-zip`, which
311
+ * then fails at install when `unzip` is handed a binary. A manifest entry that
312
+ * validates and cannot install is worse than one that is rejected outright: the
313
+ * error arrives during provisioning rather than during review.
314
+ *
315
+ * There is no `binary` field here, deliberately — the download is the binary,
316
+ * so there is nothing inside it to name.
317
+ * @param {object} tool Manifest entry.
318
+ * @param {string} binDir Directory to install into.
319
+ */
320
+ function installReleaseBinary(tool, binDir) {
321
+ const temporary = join(binDir, `.${tool.name}-download`);
322
+ mkdirSync(temporary, { recursive: true });
323
+ try {
324
+ const artifact = join(temporary, tool.name);
325
+ execFileSync("curl", ["-fsSL", tool.url, "-o", artifact], {
326
+ stdio: "inherit",
327
+ });
328
+ // Verify before it reaches a directory on PATH. For this kind that ordering
329
+ // matters more than for the archives: the downloaded file is directly
330
+ // executable, so a wrong artifact placed first is a wrong artifact that can
331
+ // be run.
332
+ verifyChecksum(artifact, tool.sha256, tool.name);
333
+ execFileSync("install", ["-m", "0755", artifact, join(binDir, tool.name)], {
334
+ stdio: "inherit",
335
+ });
336
+ } finally {
337
+ rmSync(temporary, { recursive: true, force: true });
338
+ }
339
+ }
340
+
303
341
  /**
304
342
  * Install a pinned global npm package.
305
343
  * @param {object} tool Manifest entry.
@@ -328,6 +366,8 @@ export function installTool(tool, binDir) {
328
366
  if (tool.install === "release-zip") installReleaseZip(tool, binDir);
329
367
  else if (tool.install === "release-tar") installReleaseTar(tool, binDir);
330
368
  else if (tool.install === "release-tree") installReleaseTree(tool, binDir);
369
+ else if (tool.install === "release-binary")
370
+ installReleaseBinary(tool, binDir);
331
371
  else installNpmGlobal(tool);
332
372
  }
333
373
 
@@ -354,6 +354,18 @@ export function assertPinned(tool) {
354
354
  }
355
355
  return;
356
356
  }
357
+ // The download IS the binary, so there is no `binary` path to require — but
358
+ // the checksum matters more here than anywhere else, because the artifact is
359
+ // directly executable rather than something that has to be unpacked first.
360
+ if (tool.install === "release-binary") {
361
+ if (!tool.url || !tool.sha256) {
362
+ throw new Error(
363
+ `${tool.name}: a release-binary install needs both url and sha256.\n` +
364
+ `A version bump must move the checksum in the same reviewed commit.`
365
+ );
366
+ }
367
+ return;
368
+ }
357
369
  if (tool.install === "npm-global") {
358
370
  if (!tool.package)
359
371
  throw new Error(`${tool.name}: npm-global install needs a package`);
@@ -361,6 +373,6 @@ export function assertPinned(tool) {
361
373
  }
362
374
  throw new Error(
363
375
  `${tool.name}: unknown install method "${tool.install}".\n` +
364
- `Supported: release-zip, release-tar, release-tree, npm-global.`
376
+ `Supported: release-zip, release-tar, release-tree, release-binary, npm-global.`
365
377
  );
366
378
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "2.331.3",
3
+ "version": "2.332.0",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -300,6 +300,44 @@ function installReleaseTree(tool, binDir) {
300
300
  }
301
301
  }
302
302
 
303
+ /**
304
+ * Install a pinned artifact that IS the binary, with no archive around it.
305
+ *
306
+ * Several tools worth pinning publish a raw executable rather than an archive —
307
+ * jq ships `jq-linux-amd64` and a `sha256sum.txt`, which is ideal material for a
308
+ * checksummed pin and fits none of the archive kinds.
309
+ *
310
+ * Without this the only entry that passes `assertPinned` is `release-zip`, which
311
+ * then fails at install when `unzip` is handed a binary. A manifest entry that
312
+ * validates and cannot install is worse than one that is rejected outright: the
313
+ * error arrives during provisioning rather than during review.
314
+ *
315
+ * There is no `binary` field here, deliberately — the download is the binary,
316
+ * so there is nothing inside it to name.
317
+ * @param {object} tool Manifest entry.
318
+ * @param {string} binDir Directory to install into.
319
+ */
320
+ function installReleaseBinary(tool, binDir) {
321
+ const temporary = join(binDir, `.${tool.name}-download`);
322
+ mkdirSync(temporary, { recursive: true });
323
+ try {
324
+ const artifact = join(temporary, tool.name);
325
+ execFileSync("curl", ["-fsSL", tool.url, "-o", artifact], {
326
+ stdio: "inherit",
327
+ });
328
+ // Verify before it reaches a directory on PATH. For this kind that ordering
329
+ // matters more than for the archives: the downloaded file is directly
330
+ // executable, so a wrong artifact placed first is a wrong artifact that can
331
+ // be run.
332
+ verifyChecksum(artifact, tool.sha256, tool.name);
333
+ execFileSync("install", ["-m", "0755", artifact, join(binDir, tool.name)], {
334
+ stdio: "inherit",
335
+ });
336
+ } finally {
337
+ rmSync(temporary, { recursive: true, force: true });
338
+ }
339
+ }
340
+
303
341
  /**
304
342
  * Install a pinned global npm package.
305
343
  * @param {object} tool Manifest entry.
@@ -328,6 +366,8 @@ export function installTool(tool, binDir) {
328
366
  if (tool.install === "release-zip") installReleaseZip(tool, binDir);
329
367
  else if (tool.install === "release-tar") installReleaseTar(tool, binDir);
330
368
  else if (tool.install === "release-tree") installReleaseTree(tool, binDir);
369
+ else if (tool.install === "release-binary")
370
+ installReleaseBinary(tool, binDir);
331
371
  else installNpmGlobal(tool);
332
372
  }
333
373
 
@@ -354,6 +354,18 @@ export function assertPinned(tool) {
354
354
  }
355
355
  return;
356
356
  }
357
+ // The download IS the binary, so there is no `binary` path to require — but
358
+ // the checksum matters more here than anywhere else, because the artifact is
359
+ // directly executable rather than something that has to be unpacked first.
360
+ if (tool.install === "release-binary") {
361
+ if (!tool.url || !tool.sha256) {
362
+ throw new Error(
363
+ `${tool.name}: a release-binary install needs both url and sha256.\n` +
364
+ `A version bump must move the checksum in the same reviewed commit.`
365
+ );
366
+ }
367
+ return;
368
+ }
357
369
  if (tool.install === "npm-global") {
358
370
  if (!tool.package)
359
371
  throw new Error(`${tool.name}: npm-global install needs a package`);
@@ -361,6 +373,6 @@ export function assertPinned(tool) {
361
373
  }
362
374
  throw new Error(
363
375
  `${tool.name}: unknown install method "${tool.install}".\n` +
364
- `Supported: release-zip, release-tar, release-tree, npm-global.`
376
+ `Supported: release-zip, release-tar, release-tree, release-binary, npm-global.`
365
377
  );
366
378
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "2.331.3",
3
+ "version": "2.332.0",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "2.331.3",
3
+ "version": "2.332.0",
4
4
  "description": "Expo and React Native-specific skills, agents, rules, and MCP servers.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "2.331.3",
3
+ "version": "2.332.0",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "2.331.3",
3
+ "version": "2.332.0",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "2.331.3",
3
+ "version": "2.332.0",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "2.331.3",
3
+ "version": "2.332.0",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "2.331.3",
3
+ "version": "2.332.0",
4
4
  "description": "Harper/Fabric-specific Lisa rules for TypeScript component apps.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "2.331.3",
3
+ "version": "2.332.0",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "2.331.3",
3
+ "version": "2.332.0",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "2.331.3",
3
+ "version": "2.332.0",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "2.331.3",
3
+ "version": "2.332.0",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (migration write-protection)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "2.331.3",
3
+ "version": "2.332.0",
4
4
  "description": "NestJS-specific skills and migration write-protection hooks.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "2.331.3",
3
+ "version": "2.332.0",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (migration write-protection)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "2.331.3",
3
+ "version": "2.332.0",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (migration write-protection)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "2.331.3",
3
+ "version": "2.332.0",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (migration write-protection)",
5
5
  "author": {
6
6
  "name": "Cody Swann"