@planu/cli 3.9.10 → 3.9.11

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/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## [3.9.11] - 2026-05-17
2
+
3
+ **Tarball SHA-256:** `a201430a93ae5f87af8322409c328266c29b340e890eb2fa49c7181da32886d3`
4
+
5
+ ### Bug Fixes
6
+ - fix(types): keep duplicate export gate deterministic
7
+ - fix(release): prevent banner and project id drift
8
+
9
+
1
10
  ## [3.9.6] - 2026-05-15
2
11
 
3
12
  **Tarball SHA-256:** `56592815d33401b0cd7aa1d02ca26c7dda8dd131176841ccda3163932e53b43b`
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Compute a deterministic projectId from a filesystem path.
3
- * Uses the same SHA-256 algorithm as storage/base-store.ts hashProjectPath.
3
+ * Delegates to storage/base-store so CLI commands never drift from MCP/tools.
4
4
  */
5
5
  export declare function detectProjectId(path?: string): string;
6
6
  //# sourceMappingURL=project-detector.d.ts.map
@@ -1,12 +1,12 @@
1
- // cli/project-detector.ts — Detect projectId from path using same hash as storage (SPEC-124)
2
- import { createHash } from 'node:crypto';
1
+ // cli/project-detector.ts — Detect projectId from path using the canonical storage hash.
3
2
  import { resolve } from 'node:path';
3
+ import { hashProjectPath } from '../storage/base-store.js';
4
4
  /**
5
5
  * Compute a deterministic projectId from a filesystem path.
6
- * Uses the same SHA-256 algorithm as storage/base-store.ts hashProjectPath.
6
+ * Delegates to storage/base-store so CLI commands never drift from MCP/tools.
7
7
  */
8
8
  export function detectProjectId(path) {
9
9
  const resolved = resolve(path ?? process.cwd());
10
- return createHash('sha256').update(resolved).digest('hex').slice(0, 16);
10
+ return hashProjectPath(resolved);
11
11
  }
12
12
  //# sourceMappingURL=project-detector.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@planu/cli",
3
- "version": "3.9.10",
3
+ "version": "3.9.11",
4
4
  "description": "Planu — MCP Server for Spec Driven Development with native Rust acceleration for hot paths. Cross-platform (Linux/macOS/Windows, x64/arm64, glibc/musl).",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",