lody 0.74.0 → 0.76.0
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/chunks/{diff-line-counts-BLxwWP6r.js → diff-line-counts-Du5QanrM.js} +3 -2
- package/dist/chunks/{directory-handle-zGmrHbmq.js → directory-handle-B50CtQcb.js} +2 -2
- package/dist/chunks/{index-B9fKl40V.js → index-Bn7ENQt8.js} +2 -1
- package/dist/chunks/{index-Cuqd9gip.js → index-VHXDv9iy.js} +1420 -348
- package/dist/chunks/loro_wasm_bg-DLsklGR5.js +5197 -0
- package/dist/chunks/{package-C4jJQVT8.js → package-C-zjBee4.js} +1 -1
- package/dist/chunks/{review-viewer-BTyuDovX.js → review-viewer-DRumOFSW.js} +1 -1
- package/dist/chunks/{schemas-BDpQ67Nq.js → schemas-DAtmu1t9.js} +2 -2
- package/dist/chunks/{turn-diff-replay-qRat9u1k.js → turn-diff-replay-BUdzlx5r.js} +2 -2
- package/dist/claude-acp.js +2 -2
- package/dist/codex-acp.js +1 -1
- package/dist/diff-worker.js +1 -1
- package/dist/file-index-scan-worker.js +3 -3
- package/dist/index.js +6377 -1822
- package/dist/turn-diff-replay-worker.js +1 -1
- package/package.json +7 -7
- package/dist/chunks/loro_wasm_bg-N-tMVpou.js +0 -5197
|
@@ -603,7 +603,7 @@ let gitAvailable;
|
|
|
603
603
|
function isGitAvailable() {
|
|
604
604
|
if (gitAvailable === void 0) {
|
|
605
605
|
try {
|
|
606
|
-
gitAvailable = spawnSync("git", ["--version"], { stdio: "ignore" }).status === 0;
|
|
606
|
+
gitAvailable = spawnSync("git", ["--version"], { stdio: "ignore", windowsHide: true }).status === 0;
|
|
607
607
|
} catch {
|
|
608
608
|
gitAvailable = false;
|
|
609
609
|
}
|
|
@@ -624,7 +624,8 @@ function gitNumstatLineCounts(oldText, newText) {
|
|
|
624
624
|
writeFileSync(newPath, newText);
|
|
625
625
|
const result = spawnSync("git", ["diff", "--no-index", "--numstat", "--", oldPath, newPath], {
|
|
626
626
|
encoding: "utf8",
|
|
627
|
-
maxBuffer: GIT_NUMSTAT_MAX_BUFFER
|
|
627
|
+
maxBuffer: GIT_NUMSTAT_MAX_BUFFER,
|
|
628
|
+
windowsHide: true
|
|
628
629
|
});
|
|
629
630
|
if (result.status !== 0 && result.status !== 1) {
|
|
630
631
|
return null;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { o as object, s as string, l as literal, b as boolean, a as _enum,
|
|
1
|
+
import { o as object, s as string, l as literal, b as boolean, a as _enum, e as union, n as number, d as discriminatedUnion, c as array, r as record, I as tuple, u as unknown } from "./schemas-DAtmu1t9.js";
|
|
2
2
|
import { execFile } from "node:child_process";
|
|
3
3
|
import { readFile } from "node:fs/promises";
|
|
4
4
|
import path__default from "node:path";
|
|
5
5
|
import { promisify } from "node:util";
|
|
6
|
-
import { a as countTextLines } from "./diff-line-counts-
|
|
6
|
+
import { a as countTextLines } from "./diff-line-counts-Du5QanrM.js";
|
|
7
7
|
_enum(["host", "write", "read"]);
|
|
8
8
|
_enum([
|
|
9
9
|
"not-started",
|
|
@@ -293,7 +293,8 @@ async function runGit(repoPath, args, maxBuffer = 8 * 1024 * 1024) {
|
|
|
293
293
|
const result = await execFileAsync("git", args, {
|
|
294
294
|
cwd: repoPath,
|
|
295
295
|
encoding: "utf8",
|
|
296
|
-
maxBuffer
|
|
296
|
+
maxBuffer,
|
|
297
|
+
windowsHide: true
|
|
297
298
|
});
|
|
298
299
|
return result.stdout;
|
|
299
300
|
}
|