diffprism 0.22.2 → 0.22.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/dist/bin.js CHANGED
@@ -80,14 +80,12 @@ Look for \`diffprism.config.json\` at the project root. If it exists, read it fo
80
80
 
81
81
  \`\`\`json
82
82
  {
83
- "reviewTrigger": "ask | before_commit | always",
84
83
  "defaultDiffScope": "staged | unstaged | working-copy",
85
84
  "includeReasoning": true | false
86
85
  }
87
86
  \`\`\`
88
87
 
89
88
  **Defaults** (when fields are missing or file doesn't exist):
90
- - \`reviewTrigger\`: \`"ask"\`
91
89
  - \`defaultDiffScope\`: \`"working-copy"\`
92
90
  - \`includeReasoning\`: \`true\`
93
91
 
@@ -135,12 +133,9 @@ You can also check for feedback without blocking by calling \`get_review_result\
135
133
 
136
134
  ## Behavior Rules
137
135
 
138
- - When invoked via \`/review\`, always open a review regardless of the \`reviewTrigger\` setting.
139
- - The \`reviewTrigger\` setting only applies to automatic review behavior during other workflows:
140
- - \`"ask"\` \u2014 Never auto-review; only review when the user asks.
141
- - \`"before_commit"\` \u2014 Open a review before creating any git commit.
142
- - \`"always"\` \u2014 Open a review after any code change.
143
- - Power users can create \`diffprism.config.json\` manually to customize defaults.
136
+ - **IMPORTANT: Do NOT open reviews automatically.** Only open a review when the user explicitly invokes \`/review\` or directly asks for a review.
137
+ - Do NOT open reviews before commits, after code changes, or at any other time unless the user requests it.
138
+ - Power users can create \`diffprism.config.json\` manually to customize defaults (diff scope, reasoning).
144
139
  `;
145
140
 
146
141
  // cli/src/commands/setup.ts
@@ -832,7 +827,7 @@ async function serverStop() {
832
827
 
833
828
  // cli/src/index.ts
834
829
  var program = new Command();
835
- program.name("diffprism").description("Local-first code review tool for agent-generated changes").version(true ? "0.22.2" : "0.0.0-dev");
830
+ program.name("diffprism").description("Local-first code review tool for agent-generated changes").version(true ? "0.22.3" : "0.0.0-dev");
836
831
  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);
837
832
  program.command("start [ref]").description("Set up DiffPrism and start watching for changes").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").option("--global", "Install skill globally (~/.claude/skills/)").option("--force", "Overwrite existing configuration files").action(start);
838
833
  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);
@@ -76,7 +76,7 @@ async function reviewViaGlobalServer(serverInfo, diffRef, options) {
76
76
  async function startMcpServer() {
77
77
  const server = new McpServer({
78
78
  name: "diffprism",
79
- version: true ? "0.22.2" : "0.0.0-dev"
79
+ version: true ? "0.22.3" : "0.0.0-dev"
80
80
  });
81
81
  server.tool(
82
82
  "open_review",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "diffprism",
3
- "version": "0.22.2",
3
+ "version": "0.22.3",
4
4
  "type": "module",
5
5
  "description": "Local-first code review tool for agent-generated code changes",
6
6
  "bin": {