pi-gsd 1.6.4 → 1.6.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.
@@ -274,17 +274,18 @@ export default function (pi: ExtensionAPI) {
274
274
  ? Math.round((data.total_summaries / data.total_plans) * 100)
275
275
  : 0;
276
276
 
277
- `━━ GSD Progress ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━`,
277
+ const lines = [
278
+ `━━ GSD Progress ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━`,
278
279
  `📋 ${data.milestone_name} (${data.milestone_version})`,
279
280
  ``,
280
281
  `Phases ${bar(phasePct)} ${done}/${total} (${phasePct}%)`,
281
282
  `Plans ${bar(planPct)} ${data.total_summaries}/${data.total_plans} (${planPct}%)`,
282
283
  ``,
283
284
  `Next steps:`,
284
- ...nextSteps(data.phases),
285
+ ...nextSteps(data.phases),
285
286
  ``,
286
287
  `━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━`,
287
- ]
288
+ ];
288
289
  return { text: lines.join("\n"), data };
289
290
  };
290
291
 
package/README.md CHANGED
@@ -157,16 +157,31 @@ Projects started with the original GSD work without migration.
157
157
  ## Development
158
158
 
159
159
  ```sh
160
- # Type-check
160
+ # Type-check (covers src/ + .gsd/extensions/)
161
161
  npm run typecheck
162
162
 
163
163
  # Build CLI (TypeScript → dist/pi-gsd-tools.js)
164
164
  npm run build
165
165
 
166
+ # Unified gate: typecheck + build
167
+ npm run check
168
+
166
169
  # Validate integrity
167
170
  node scripts/validate-model-profiles.cjs
168
171
  ```
169
172
 
173
+ ### Pre-commit hook
174
+
175
+ The pre-commit hook runs `ralphi check` (typecheck + build) via [prek](https://github.com/j178/prek).
176
+ prek is a dev-only tool — install it once:
177
+
178
+ ```sh
179
+ # macOS / Linux (Homebrew)
180
+ brew install prek
181
+ ```
182
+
183
+ The hook fires automatically on `git commit`. Without prek installed, commits still work but the gate is skipped.
184
+
170
185
  ---
171
186
 
172
187
  ## License
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-gsd",
3
- "version": "1.6.4",
3
+ "version": "1.6.5",
4
4
  "description": "Get Shit Done - Unofficial port of the renowned AI-native project-planning spec-driven toolkit",
5
5
  "main": "dist/pi-gsd-tools.js",
6
6
  "bin": {
@@ -11,6 +11,7 @@
11
11
  "build": "tsup src/cli.ts --format cjs --out-dir dist --minify --no-splitting && mv dist/cli.js dist/pi-gsd-tools.js && chmod +x dist/pi-gsd-tools.js",
12
12
  "dev": "tsup src/cli.ts --format cjs --out-dir dist --watch",
13
13
  "typecheck": "tsc --noEmit",
14
+ "check": "tsc --noEmit && npm run build",
14
15
  "postinstall": "node scripts/postinstall.js",
15
16
  "prepublishOnly": "npm run build"
16
17
  },
@@ -70,6 +71,7 @@
70
71
  "zod": "^3.25.76"
71
72
  },
72
73
  "devDependencies": {
74
+ "@mariozechner/pi-coding-agent": "^0.65.0",
73
75
  "@types/node": "^22.0.0",
74
76
  "tsup": "^8.0.0",
75
77
  "typescript": "^5.0.0"