revspec 0.7.1 → 0.7.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/cli/watch.ts +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "revspec",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "description": "Terminal-based spec review tool with real-time AI conversation",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/src/cli/watch.ts CHANGED
@@ -235,8 +235,8 @@ function processNewEvents(
235
235
  return { approved: false, output: "", newOffset: offset };
236
236
  }
237
237
 
238
- // Save new offset
239
- atomicWriteFileSync(offsetPath, String(newOffset));
238
+ // Save new offset (preserve submit_ts if present)
239
+ atomicWriteFileSync(offsetPath, lastSubmitTs ? `${newOffset}\n${lastSubmitTs}` : String(newOffset));
240
240
 
241
241
  // Check for approve event
242
242
  const hasApprove = events.some((e) => e.type === "approve");