@planu/cli 8.2.2 → 8.2.3
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 +15 -0
- package/README.md +13 -0
- package/dist/sdd-engine/lock-integrity.js +12 -7
- package/package.json +3 -1
- package/templates/skills/lib-sync.md +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
## [Unreleased]
|
|
2
2
|
|
|
3
|
+
## [8.2.3] - 2026-09-24
|
|
4
|
+
|
|
5
|
+
- manifest parser ignores `none` placeholder paths and re-evaluates the section at every heading, so a plan title containing "File Manifest" no longer empties the manifest (`sdd_lock_spec` / `sdd_apply_file_patch`)
|
|
6
|
+
- Claude Code plugin marketplace: `/plugin marketplace add planu-dev/planu` then `/plugin install planu@planu`
|
|
7
|
+
- operator-only `pnpm eval:skills` measures pass@k of the spec-architect skill through headless `claude -p`
|
|
8
|
+
- retire orphan `.claude/hooks` scripts left after the v8 detach
|
|
9
|
+
- #commercial places the caret in the email field
|
|
10
|
+
- commercial email accepts click-to-type; header chrome no longer steals form clicks
|
|
11
|
+
- commercial email field is typeable; honeypot no longer covers the lead form
|
|
12
|
+
- commercial lead form is an opaque card with a 44px privacy-consent hit target
|
|
13
|
+
- interactive SDD cycle board on the homepage (lock, allowed write, rejected write, next task)
|
|
14
|
+
- homepage hero names the editor and the terminal, not only a generic agent
|
|
15
|
+
- homepage hero and meta speak to any MCP coding agent; vendor names live in install tabs, not the H1
|
|
16
|
+
- Spanish homepage uses LatAm wording (cambios controlados); drop parche/trinidad calques
|
|
17
|
+
|
|
3
18
|
## [8.2.2] - 2026-09-21
|
|
4
19
|
|
|
5
20
|
- `sdd_init_workspace` copies cognitive skills into `.claude/skills/`, `.cursor/skills/`, `.agents/skills/`, and `.gemini/skills/` instead of `.sdd/skills` in client projects
|
package/README.md
CHANGED
|
@@ -25,6 +25,17 @@ Authentication is **not required**. Do not call `mcp_auth`.
|
|
|
25
25
|
|
|
26
26
|
## Installation
|
|
27
27
|
|
|
28
|
+
### Claude Code plugin
|
|
29
|
+
|
|
30
|
+
Claude Code users can install Planu as a plugin instead of hand-editing `.mcp.json`:
|
|
31
|
+
|
|
32
|
+
```
|
|
33
|
+
/plugin marketplace add planu-dev/planu
|
|
34
|
+
/plugin install planu@planu
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
This registers the same `npx -y @planu/cli@latest` server.
|
|
38
|
+
|
|
28
39
|
Paste this into **Claude Code, Cursor, Windsurf, Codex, Copilot, Gemini CLI, OpenCode, or any stdio MCP client**. Prefer a **project** config so the host can bind the open folder. A user-global server with no workspace interpolation will start in `$HOME` and fail closed.
|
|
29
40
|
|
|
30
41
|
```json
|
|
@@ -139,6 +150,8 @@ MCP:
|
|
|
139
150
|
node dist/sdd-engine/cli.js
|
|
140
151
|
```
|
|
141
152
|
|
|
153
|
+
`pnpm eval:skills` is an operator-only eval of the spec-architect skill. It spends API budget by shelling out to the local `claude` CLI against a throwaway workspace, so it is not part of `pnpm check` and never runs in CI.
|
|
154
|
+
|
|
142
155
|
---
|
|
143
156
|
|
|
144
157
|
## License
|
|
@@ -113,13 +113,10 @@ export function parseManifestContent(content) {
|
|
|
113
113
|
let inManifestSection = false;
|
|
114
114
|
for (const rawLine of content.split('\n')) {
|
|
115
115
|
const line = rawLine.trim();
|
|
116
|
-
if (/^#{1,3}\s
|
|
117
|
-
inManifestSection =
|
|
116
|
+
if (/^#{1,3}\s+/.test(line)) {
|
|
117
|
+
inManifestSection = /^#{1,3}\s+.*file\s+manifest/i.test(line);
|
|
118
118
|
continue;
|
|
119
119
|
}
|
|
120
|
-
if (inManifestSection && /^#{1,3}\s+/.test(line)) {
|
|
121
|
-
break;
|
|
122
|
-
}
|
|
123
120
|
if (inManifestSection && /^[-*]\s+/.test(line)) {
|
|
124
121
|
parseManifestLine(line, allowedFiles);
|
|
125
122
|
}
|
|
@@ -130,12 +127,20 @@ function parseManifestLine(rawLine, allowedFiles) {
|
|
|
130
127
|
const item = rawLine.replace(/^[-*]\s+/, '').trim();
|
|
131
128
|
const prefixMatch = /^(CREATE|MODIFY|READ_ONLY|DELETE):\s*`?([^`\s#]+)`?\s*$/i.exec(item);
|
|
132
129
|
if (prefixMatch?.[1] && prefixMatch[2]) {
|
|
133
|
-
|
|
130
|
+
const prefixPath = toPosixPath(prefixMatch[2].trim());
|
|
131
|
+
if (prefixPath.toLowerCase() === 'none') {
|
|
132
|
+
return;
|
|
133
|
+
}
|
|
134
|
+
allowedFiles.set(prefixPath, prefixMatch[1].toUpperCase());
|
|
134
135
|
return;
|
|
135
136
|
}
|
|
136
137
|
const postfixMatch = /^`?([^`\s:#]+)`?:\s*(CREATE|MODIFY|READ_ONLY|DELETE)\s*$/i.exec(item);
|
|
137
138
|
if (postfixMatch?.[1] && postfixMatch[2]) {
|
|
138
|
-
|
|
139
|
+
const postfixPath = toPosixPath(postfixMatch[1].trim());
|
|
140
|
+
if (postfixPath.toLowerCase() === 'none') {
|
|
141
|
+
return;
|
|
142
|
+
}
|
|
143
|
+
allowedFiles.set(postfixPath, postfixMatch[2].toUpperCase());
|
|
139
144
|
}
|
|
140
145
|
}
|
|
141
146
|
export function toPosixPath(value) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@planu/cli",
|
|
3
|
-
"version": "8.2.
|
|
3
|
+
"version": "8.2.3",
|
|
4
4
|
"description": "Planu — MCP Server for Spec Driven Development. Cross-platform (Linux/macOS/Windows, x64/arm64).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -87,6 +87,7 @@
|
|
|
87
87
|
"eslint-config-prettier": "^10.1.8",
|
|
88
88
|
"eslint-import-resolver-typescript": "^4.4.5",
|
|
89
89
|
"eslint-plugin-import": "^2.32.0",
|
|
90
|
+
"happy-dom": "^20.14.5",
|
|
90
91
|
"husky": "^9.1.7",
|
|
91
92
|
"jiti": "2.7.0",
|
|
92
93
|
"knip": "^6.37.0",
|
|
@@ -109,6 +110,7 @@
|
|
|
109
110
|
"build:ts": "pnpm clean && tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json",
|
|
110
111
|
"dev": "tsc --watch",
|
|
111
112
|
"start": "node dist/sdd-engine/cli.js",
|
|
113
|
+
"eval:skills": "node scripts/eval-skills.mjs",
|
|
112
114
|
"clean": "rm -rf dist",
|
|
113
115
|
"lint": "eslint src/ tests/ --max-warnings 0 --cache --cache-strategy content --cache-location node_modules/.cache/eslint/",
|
|
114
116
|
"lint:gate": "eslint src/ tests/ --max-warnings 0",
|
|
@@ -47,5 +47,6 @@ The same change MUST also keep these surfaces coherent:
|
|
|
47
47
|
- `planu.json`: remove or update obsolete configuration that points to retired storage;
|
|
48
48
|
- package inspection: verify `pnpm pack --dry-run` contains required runtime and templates and excludes source-only or legacy artifacts;
|
|
49
49
|
- negative tool gate: fail when a deleted v6 tool is registered or advertised outside historical documentation.
|
|
50
|
+
- `plugin/.claude-plugin/plugin.json`: version equal to `package.json`, MCP args `-y @planu/cli@latest`;
|
|
50
51
|
|
|
51
52
|
A source build alone does not prove the published contract. Verify the packed artifact and a real MCP `initialize` plus `tools/list` exchange when the public surface changes.
|