chainlesschain 0.156.4 → 0.156.5
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/bin/chainlesschain.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "chainlesschain",
|
|
3
|
-
"version": "0.156.
|
|
3
|
+
"version": "0.156.5",
|
|
4
4
|
"description": "CLI for ChainlessChain - install, configure, and manage your personal AI management system",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"lint": "eslint src/ bin/ --ext .js",
|
|
20
20
|
"format": "prettier --write \"src/**/*.js\" \"bin/**/*.js\" \"__tests__/**/*.js\"",
|
|
21
21
|
"sync-skill-packs": "node --input-type=module -e \"import { generateCliPacks } from './src/lib/skill-packs/generator.js'; const r = await generateCliPacks({ force: false }); console.log('Skill packs synced:', r.generated.length, 'generated,', r.skipped.length, 'skipped');\"",
|
|
22
|
-
"postinstall": "node
|
|
22
|
+
"postinstall": "node scripts/postinstall.mjs",
|
|
23
23
|
"build:web-panel": "node scripts/build-web-panel.mjs",
|
|
24
24
|
"build:web-panel:force": "node scripts/build-web-panel.mjs --force",
|
|
25
25
|
"prepublishOnly": "npm run build:web-panel"
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
"files": [
|
|
31
31
|
"bin/",
|
|
32
32
|
"src/",
|
|
33
|
+
"scripts/postinstall.mjs",
|
|
33
34
|
"README.md"
|
|
34
35
|
],
|
|
35
36
|
"keywords": [
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// Runs after `npm install` to pre-generate the CLI skill packs.
|
|
3
|
+
// Must never fail the install — swallow all errors and exit 0.
|
|
4
|
+
// Cross-platform: no shell redirects, no `|| true`.
|
|
5
|
+
|
|
6
|
+
try {
|
|
7
|
+
const { generateCliPacks } = await import("../src/lib/skill-packs/generator.js");
|
|
8
|
+
await generateCliPacks({ force: false });
|
|
9
|
+
} catch {
|
|
10
|
+
// Intentionally silent: skill pack generation is best-effort during install.
|
|
11
|
+
// Users can re-run it via `npm run sync-skill-packs` or `cc skill sync-cli`.
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
process.exit(0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
62d51feda6103d847d9c24b2a81ef16db28c896bc0393a00a9d9d8bdebd9f3ab
|