diffprism 0.37.1 → 0.37.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
|
@@ -244,12 +244,6 @@ function setupSkill(gitRoot, global, force) {
|
|
|
244
244
|
if (existingContent === skillContent) {
|
|
245
245
|
return { action: "skipped", filePath };
|
|
246
246
|
}
|
|
247
|
-
if (!force) {
|
|
248
|
-
console.log(
|
|
249
|
-
` Warning: ${filePath} exists with different content. Use --force to overwrite.`
|
|
250
|
-
);
|
|
251
|
-
return { action: "skipped", filePath };
|
|
252
|
-
}
|
|
253
247
|
}
|
|
254
248
|
if (!fs.existsSync(skillDir)) {
|
|
255
249
|
fs.mkdirSync(skillDir, { recursive: true });
|
|
@@ -761,7 +755,7 @@ async function serverStop() {
|
|
|
761
755
|
|
|
762
756
|
// cli/src/index.ts
|
|
763
757
|
var program = new Command();
|
|
764
|
-
program.name("diffprism").description("Local-first code review tool for agent-generated changes").version(true ? "0.37.
|
|
758
|
+
program.name("diffprism").description("Local-first code review tool for agent-generated changes").version(true ? "0.37.3" : "0.0.0-dev");
|
|
765
759
|
program.command("demo").description("Open a sample review to see DiffPrism in action").option("--dev", "Use Vite dev server").action(demo);
|
|
766
760
|
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);
|
|
767
761
|
program.command("review-pr <pr>").description("Review a GitHub pull request in DiffPrism").option("-t, --title <title>", "Override review title").option("--reasoning <text>", "Agent reasoning about the PR").option("--dev", "Use Vite dev server with HMR instead of static files").option("--post-to-github", "Automatically post review back to GitHub without prompting").action(reviewPr);
|
package/dist/mcp-server.js
CHANGED