diffprism 1.6.0 → 1.6.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 CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-RFDSC6MC.js";
6
6
  import {
7
7
  demo
8
- } from "./chunk-KV6SCJI7.js";
8
+ } from "./chunk-ZFVQBTBB.js";
9
9
  import {
10
10
  COMMIT_GATE_DIFF_REF,
11
11
  DEFAULT_DIFF_REF,
@@ -26,7 +26,7 @@ import {
26
26
  recordError,
27
27
  startGlobalServer,
28
28
  submitReviewToServer
29
- } from "./chunk-CMPCHK4Z.js";
29
+ } from "./chunk-3BB3NNRU.js";
30
30
  import {
31
31
  getDiff
32
32
  } from "./chunk-GGK6TIQZ.js";
@@ -176,11 +176,14 @@ ${REPORT_HINT}`);
176
176
  `Commit blocked: no review decision was returned (got ${String(decision)}).`
177
177
  );
178
178
  }
179
+ function lineLabel(at) {
180
+ return at.side === "old" ? `${at.file}:${at.line} (deleted line)` : `${at.file}:${at.line}`;
181
+ }
179
182
  function printQuestions(sessionId, threads) {
180
183
  console.error("");
181
184
  for (const t of threads) {
182
185
  const last = t.replies?.at(-1)?.body ?? t.body;
183
- console.error(` ${t.file}:${t.line}`);
186
+ console.error(` ${lineLabel(t)}`);
184
187
  for (const line of last.split("\n")) {
185
188
  console.error(` ${line}`);
186
189
  }
@@ -207,7 +210,7 @@ function printFeedback(review2) {
207
210
  }
208
211
  }
209
212
  for (const c of comments) {
210
- console.error(` ${c.file}:${c.line} [${c.type}] ${c.body}`);
213
+ console.error(` ${lineLabel(c)} [${c.type}] ${c.body}`);
211
214
  }
212
215
  console.error("");
213
216
  }
@@ -721,7 +724,7 @@ async function setupInteractive(flags) {
721
724
  }
722
725
  async function runDemo(dev) {
723
726
  console.log("");
724
- const { demo: demo2 } = await import("./demo-332VCI4K.js");
727
+ const { demo: demo2 } = await import("./demo-D6NYAZWR.js");
725
728
  await demo2({ dev });
726
729
  }
727
730
  async function setupBatch(flags) {
@@ -111,7 +111,7 @@ import fs2 from "fs";
111
111
  import path2 from "path";
112
112
  import { fileURLToPath } from "url";
113
113
  function builtAt() {
114
- return true ? 1789701624097 : null;
114
+ return true ? 1789702097017 : null;
115
115
  }
116
116
  function getBuildInfo() {
117
117
  let dir = path2.dirname(fileURLToPath(import.meta.url));
@@ -141,7 +141,7 @@ function describeVersion(version) {
141
141
  var ISSUES_NEW_URL = "https://github.com/CodeJonesW/diffprism/issues/new";
142
142
  var MAX_ERROR_CHARS = 1500;
143
143
  function currentVersion() {
144
- return true ? "1.6.0" : "0.0.0-dev";
144
+ return true ? "1.6.1" : "0.0.0-dev";
145
145
  }
146
146
  function describeEnvironment() {
147
147
  return {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ensureServer,
3
3
  submitReviewToServer
4
- } from "./chunk-CMPCHK4Z.js";
4
+ } from "./chunk-3BB3NNRU.js";
5
5
  import {
6
6
  parseDiff
7
7
  } from "./chunk-GGK6TIQZ.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  demo
3
- } from "./chunk-KV6SCJI7.js";
4
- import "./chunk-CMPCHK4Z.js";
3
+ } from "./chunk-ZFVQBTBB.js";
4
+ import "./chunk-3BB3NNRU.js";
5
5
  import "./chunk-GGK6TIQZ.js";
6
6
  import "./chunk-DHCVZGHE.js";
7
7
  import "./chunk-JSBRDJBE.js";
@@ -14,7 +14,7 @@ import {
14
14
  recordError,
15
15
  submitReviewToServer,
16
16
  waitForDecision
17
- } from "./chunk-CMPCHK4Z.js";
17
+ } from "./chunk-3BB3NNRU.js";
18
18
  import {
19
19
  getDiff
20
20
  } from "./chunk-GGK6TIQZ.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "diffprism",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "type": "module",
5
5
  "description": "Local-first code review tool for agent-generated code changes",
6
6
  "bin": {