claude-plan-review 0.5.1 → 0.5.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-plan-review",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "Review, comment on, and approve/reject Claude Code plans in a local GitHub-style web UI — with persistent comments, version history, and diffs.",
5
5
  "type": "module",
6
6
  "bin": {
package/src/mcp.js CHANGED
@@ -25,12 +25,13 @@ import { getReview, recordPlan } from "./store.js";
25
25
 
26
26
  const HERE = dirname(fileURLToPath(import.meta.url));
27
27
  const SERVER_SCRIPT = join(HERE, "server.js");
28
+ const pkg = JSON.parse(readFileSync(join(HERE, "..", "package.json"), "utf8"));
28
29
 
29
30
  // Latest MCP protocol revision we implement. We echo the client's requested
30
31
  // version back when it sends one (the compatible behaviour for a version-
31
32
  // agnostic tools server), else advertise this.
32
33
  const PROTOCOL_VERSION = "2025-06-18";
33
- const SERVER_INFO = { name: "claude-plan-review", version: "0.4.0" };
34
+ const SERVER_INFO = { name: "claude-plan-review", version: pkg.version };
34
35
 
35
36
  const sleep = (ms) => new Promise((r) => setTimeout(r, ms));
36
37
 
package/src/ui/style.css CHANGED
@@ -200,9 +200,6 @@ textarea {
200
200
  /* ---------- multi-document: sidebar + layout ---------- */
201
201
  .preview-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 10px; }
202
202
  .preview-toolbar .selhint { margin: 0; }
203
- .tree-toggle { font-size: 12px; padding: 4px 10px; flex: none; }
204
- .tree-toggle.active { background: var(--accent); border-color: var(--accent); color: #fff; }
205
- .tree-toggle.active:hover { filter: brightness(1.08); }
206
203
 
207
204
  .preview-layout { display: flex; align-items: flex-start; gap: 20px; }
208
205
  .preview-main { flex: 1; min-width: 0; }