runcastle 1.6.2 → 1.6.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.
Files changed (2) hide show
  1. package/bin/runcastle.js +5 -2
  2. package/package.json +1 -1
package/bin/runcastle.js CHANGED
@@ -76466,7 +76466,7 @@ var BLOCK = 512, USTAR_MAX_SIZE = 8589934591;
76466
76466
  var init_tar = () => {};
76467
76467
 
76468
76468
  // src/move/pack.ts
76469
- import { closeSync as closeSync6, copyFileSync as copyFileSync4, existsSync as existsSync43, mkdtempSync as mkdtempSync2, openSync as openSync6, rmSync as rmSync11, statSync as statSync15 } from "fs";
76469
+ import { closeSync as closeSync6, copyFileSync as copyFileSync4, existsSync as existsSync43, mkdtempSync as mkdtempSync2, openSync as openSync6, rmSync as rmSync11, statSync as statSync15, utimesSync } from "fs";
76470
76470
  import { spawnSync as spawnSync4 } from "child_process";
76471
76471
  import { dirname as dirname23, join as join51, resolve as resolve16 } from "path";
76472
76472
  function isLeftOut(entry) {
@@ -76528,8 +76528,11 @@ async function addWip(tar, projectId, wip, scratch) {
76528
76528
  const patch9 = join51(scratch, "changes.patch");
76529
76529
  const index2 = resolve16(wip.path, gitOrThrow(wip.path, ["rev-parse", "--git-path", "index"]).trim());
76530
76530
  const indexCopy = join51(scratch, "index");
76531
- if (existsSync43(index2))
76531
+ if (existsSync43(index2)) {
76532
76532
  copyFileSync4(index2, indexCopy);
76533
+ const { atime, mtime } = statSync15(index2);
76534
+ utimesSync(indexCopy, atime, new Date(mtime.getTime() - 1000));
76535
+ }
76533
76536
  const fd = openSync6(patch9, "w");
76534
76537
  try {
76535
76538
  const diff8 = spawnSync4("git", ["-c", "core.quotepath=off", "diff", "--binary", "HEAD"], {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "runcastle",
3
- "version": "1.6.2",
3
+ "version": "1.6.3",
4
4
  "description": "Burn tickets into shipped features with Claude Code.",
5
5
  "license": "FSL-1.1-ALv2",
6
6
  "type": "module",