diffprism 0.13.0 → 0.13.1
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/dist/bin.js +2 -2
- package/dist/mcp-server.js +1 -1
- package/package.json +1 -1
package/dist/bin.js
CHANGED
|
@@ -240,7 +240,7 @@ function setupStopHook(gitRoot, force) {
|
|
|
240
240
|
const existing = readJsonFile(filePath);
|
|
241
241
|
const hooks = existing.hooks ?? {};
|
|
242
242
|
const stopHooks = hooks.Stop;
|
|
243
|
-
const hookCommand = "npx diffprism notify-stop";
|
|
243
|
+
const hookCommand = "npx diffprism@latest notify-stop";
|
|
244
244
|
if (stopHooks && !force) {
|
|
245
245
|
const hasHook = stopHooks.some((entry) => {
|
|
246
246
|
const innerHooks = entry.hooks;
|
|
@@ -380,7 +380,7 @@ async function notifyStop() {
|
|
|
380
380
|
|
|
381
381
|
// cli/src/index.ts
|
|
382
382
|
var program = new Command();
|
|
383
|
-
program.name("diffprism").description("Local-first code review tool for agent-generated changes").version(true ? "0.13.
|
|
383
|
+
program.name("diffprism").description("Local-first code review tool for agent-generated changes").version(true ? "0.13.1" : "0.0.0-dev");
|
|
384
384
|
program.command("review [ref]").description("Open a browser-based diff review").option("--staged", "Review staged changes").option("--unstaged", "Review unstaged changes").option("-t, --title <title>", "Review title").option("--dev", "Use Vite dev server with HMR instead of static files").action(review);
|
|
385
385
|
program.command("watch [ref]").description("Start a persistent diff watcher with live-updating browser UI").option("--staged", "Watch staged changes").option("--unstaged", "Watch unstaged changes").option("-t, --title <title>", "Review title").option("--interval <ms>", "Poll interval in milliseconds (default: 1000)").option("--dev", "Use Vite dev server with HMR instead of static files").action(watch);
|
|
386
386
|
program.command("notify-stop").description("Signal the watch server to refresh (used by Claude Code hooks)").action(notifyStop);
|
package/dist/mcp-server.js
CHANGED