@wrongstack/tools 0.319.0 → 0.320.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/_edit-match.d.ts +1 -3
- package/dist/_util.d.ts +7 -0
- package/dist/audit.js +8 -8
- package/dist/bash.js +6 -6
- package/dist/browser/index.js +1 -1
- package/dist/builtin.d.ts +10 -0
- package/dist/builtin.js +54 -52
- package/dist/{chunk-65EMYN5G.js → chunk-23EX5WDO.js} +6 -3
- package/dist/{chunk-2472NT76.js → chunk-2OXHS3KZ.js} +17 -5
- package/dist/{chunk-7WV3D4S3.js → chunk-34VLZ35Z.js} +75 -36
- package/dist/{chunk-MYRMD6PZ.js → chunk-3GIKYHLA.js} +32 -8
- package/dist/{chunk-X5K3U6GI.js → chunk-3M7LLN7W.js} +71 -7
- package/dist/{chunk-VALQFAY2.js → chunk-4BABEJC2.js} +158 -45
- package/dist/{chunk-42BHI7TN.js → chunk-4CQWNZ62.js} +2 -2
- package/dist/{chunk-WNUJR3H4.js → chunk-5UFVCIUB.js} +40 -16
- package/dist/{chunk-UMXVT7ST.js → chunk-6AAOT4PW.js} +58 -10
- package/dist/{chunk-H6AWAZ2Y.js → chunk-B4HTSV6Z.js} +57 -6
- package/dist/{chunk-5ZYEGP2P.js → chunk-BK732J7I.js} +72 -27
- package/dist/{chunk-KD5EHYA2.js → chunk-C2DQKVLO.js} +61 -28
- package/dist/{chunk-Z4VBTVUM.js → chunk-DFQDJT22.js} +99 -12
- package/dist/{chunk-6RNIFLG4.js → chunk-ELRRTWNP.js} +38 -6
- package/dist/{chunk-3PVYQFRQ.js → chunk-ESLPBT5A.js} +2 -1
- package/dist/{chunk-YZHK4TLF.js → chunk-FQNXYA6W.js} +45 -6
- package/dist/{chunk-OYVPBPCL.js → chunk-HR67OWEP.js} +72 -33
- package/dist/{chunk-ZDUGI5BC.js → chunk-I7FBZOEP.js} +2 -2
- package/dist/{chunk-HBM4QNXU.js → chunk-IU4DV2PA.js} +18 -8
- package/dist/{chunk-TFMVHYJI.js → chunk-J43O3BOX.js} +9 -15
- package/dist/{chunk-ODFVG54U.js → chunk-J74TMK4M.js} +37 -13
- package/dist/{chunk-COUNXG4X.js → chunk-JLYA4X7K.js} +75 -8
- package/dist/{chunk-FQZOHLG3.js → chunk-JSNSMG5R.js} +3 -2
- package/dist/{chunk-SYXW3Y5Z.js → chunk-JVRLTEO7.js} +2 -2
- package/dist/{chunk-V43EQ6VR.js → chunk-KE7A76VC.js} +3 -2
- package/dist/{chunk-ZKSBHXVB.js → chunk-KWXIKGE3.js} +64 -15
- package/dist/{chunk-RK47IWO3.js → chunk-LRDIRJJL.js} +62 -30
- package/dist/{chunk-UC3RKRIV.js → chunk-NDIT3SBZ.js} +3 -3
- package/dist/{chunk-C3W3V54D.js → chunk-NSPNFOJ7.js} +57 -27
- package/dist/{chunk-TX3R5NVV.js → chunk-NU2IZ72J.js} +7 -7
- package/dist/{chunk-WHIIIREL.js → chunk-NYRLWDT5.js} +7 -3
- package/dist/{chunk-PMHVSHMU.js → chunk-OTPTQBYE.js} +80 -19
- package/dist/{chunk-ZHH3BEWU.js → chunk-OYP27E3I.js} +4 -4
- package/dist/{chunk-W4GAAI3M.js → chunk-PV6HIZQD.js} +2 -2
- package/dist/{chunk-NKNOBUBU.js → chunk-QGF2C7TF.js} +2 -2
- package/dist/{chunk-PQTONQ4P.js → chunk-QPNYDH5B.js} +19 -5
- package/dist/{chunk-VFF3Q5Z3.js → chunk-QSNVDHOZ.js} +37 -9
- package/dist/{chunk-45JPRMC2.js → chunk-QWKSKFKZ.js} +7 -3
- package/dist/{chunk-2VSZC6QM.js → chunk-SCMRM6NL.js} +6 -4
- package/dist/{chunk-RJZQWEMS.js → chunk-T77XOX7E.js} +3 -2
- package/dist/{chunk-QZDOQRF7.js → chunk-UZFY3CKD.js} +35 -14
- package/dist/{chunk-D4CXUZIF.js → chunk-VD2LV5WO.js} +82 -13
- package/dist/{chunk-DPKTXJQS.js → chunk-VPALDFYM.js} +2 -2
- package/dist/{chunk-IIF5HIVF.js → chunk-VVZPQPTY.js} +2 -2
- package/dist/{chunk-HWDB2G7J.js → chunk-W232EFEM.js} +49 -36
- package/dist/{chunk-FJEQZHZN.js → chunk-W2CECGTG.js} +24 -14
- package/dist/{chunk-4Q7LFU4T.js → chunk-WAQASTXB.js} +20 -9
- package/dist/{chunk-CWALNI6K.js → chunk-X6KXNHUO.js} +1 -1
- package/dist/{chunk-OCUXN6Y3.js → chunk-XRNN44QY.js} +1 -1
- package/dist/{chunk-N5O3FK5Q.js → chunk-XSSFBS5I.js} +70 -29
- package/dist/{chunk-Y7QXSE7N.js → chunk-YTKSNTT4.js} +44 -10
- package/dist/{chunk-MRKWZCHZ.js → chunk-Z5Q3TXRY.js} +3 -3
- package/dist/{chunk-PRXZOIEW.js → chunk-Z6IHMJMC.js} +104 -59
- package/dist/{chunk-NWZ6XGBJ.js → chunk-ZBMANLYH.js} +5 -3
- package/dist/{chunk-OJ4FIBAN.js → chunk-ZMW6WJFT.js} +30 -23
- package/dist/{chunk-QLF74MSV.js → chunk-ZUFHAHTE.js} +12 -6
- package/dist/codebase-index/index.js +12 -12
- package/dist/codebase-index/parser-worker-script.js +3 -3
- package/dist/codebase-index/project-server.js +5 -5
- package/dist/codebase-index/worker.js +4 -4
- package/dist/design.d.ts +1 -1
- package/dist/design.js +1 -1
- package/dist/diff.js +3 -2
- package/dist/document.js +2 -2
- package/dist/e2e.js +2 -2
- package/dist/edit.js +9 -9
- package/dist/exec.js +6 -6
- package/dist/fetch.js +2 -2
- package/dist/format.js +8 -8
- package/dist/git.js +2 -2
- package/dist/glob.js +3 -3
- package/dist/{go-parser-IKHW67WE.js → go-parser-D7ELWQ7F.js} +2 -2
- package/dist/grep.d.ts +2 -0
- package/dist/grep.js +5 -3
- package/dist/index.js +56 -56
- package/dist/install.js +8 -8
- package/dist/{json-parser-2EOVP5MR.js → json-parser-34DHYCPW.js} +1 -18
- package/dist/json.js +2 -2
- package/dist/kanban-tool-types.d.ts +2 -0
- package/dist/kanban.js +2 -2
- package/dist/languages/index.js +6 -6
- package/dist/legacy-bridge-FOV5ODDI.js +18 -0
- package/dist/lint.js +8 -8
- package/dist/logs.js +2 -2
- package/dist/memory.js +1 -1
- package/dist/next-steps.d.ts +7 -0
- package/dist/next-steps.js +82 -38
- package/dist/outdated.js +5 -3
- package/dist/pack.js +53 -53
- package/dist/{parser-dispatch-3PDBKIQ7.js → parser-dispatch-BDVCJXTV.js} +4 -4
- package/dist/patch.js +8 -8
- package/dist/plan.js +4 -4
- package/dist/process-registry.js +1 -1
- package/dist/ps-slash.js +3 -3
- package/dist/{py-parser-RFWG2HYI.js → py-parser-QC6MR4GB.js} +3 -3
- package/dist/read.js +8 -8
- package/dist/replace.js +9 -8
- package/dist/scaffold.js +2 -2
- package/dist/search.js +1 -1
- package/dist/session-kanban.js +1 -1
- package/dist/task.js +4 -4
- package/dist/test.js +8 -8
- package/dist/todo.js +3 -3
- package/dist/tool-search.js +1 -1
- package/dist/tool-tier.js +54 -54
- package/dist/{tree-sitter-parser-FGKHJGSX.js → tree-sitter-parser-GILYQLS4.js} +2 -2
- package/dist/tree.js +2 -2
- package/dist/typecheck.js +8 -8
- package/dist/win32.js +1 -1
- package/dist/write.js +9 -9
- package/package.json +5 -5
- package/dist/legacy-bridge-EC7GM2IW.js +0 -18
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mapWithConcurrency
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZBMANLYH.js";
|
|
4
4
|
import {
|
|
5
5
|
loadGitignoreMatcher
|
|
6
6
|
} from "./chunk-DTQ75VBC.js";
|
|
7
7
|
import {
|
|
8
8
|
assertRealInsideRoot,
|
|
9
9
|
safeResolveReal
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZUFHAHTE.js";
|
|
11
11
|
|
|
12
12
|
// src/glob.ts
|
|
13
13
|
import * as fs from "node:fs/promises";
|
|
@@ -52,9 +52,9 @@ var globTool = {
|
|
|
52
52
|
required: ["pattern"]
|
|
53
53
|
},
|
|
54
54
|
async execute(input, ctx, opts) {
|
|
55
|
-
if (!input?.pattern) {
|
|
55
|
+
if (!input?.pattern || typeof input.pattern !== "string" || !input.pattern.trim()) {
|
|
56
56
|
throw new ToolValidationError({
|
|
57
|
-
message: "glob: pattern is required",
|
|
57
|
+
message: "glob: pattern is required and cannot be empty",
|
|
58
58
|
field: "pattern"
|
|
59
59
|
});
|
|
60
60
|
}
|
|
@@ -63,24 +63,36 @@ var globTool = {
|
|
|
63
63
|
return { files: [], truncated: true };
|
|
64
64
|
}
|
|
65
65
|
const base = input.path ? await safeResolveReal(input.path, ctx) : ctx.cwd;
|
|
66
|
-
const
|
|
66
|
+
const rawLimit = typeof input.limit === "number" && !Number.isNaN(input.limit) ? input.limit : 1e3;
|
|
67
|
+
const limit = Math.max(1, Math.min(Math.floor(rawLimit), 5e3));
|
|
67
68
|
const isGitIgnored = await loadGitignoreMatcher(base);
|
|
68
69
|
const re = compileGlob(input.pattern);
|
|
69
70
|
const results = [];
|
|
71
|
+
const visitedRealDirs = /* @__PURE__ */ new Set();
|
|
70
72
|
let truncated = false;
|
|
71
73
|
const pushResult = async (full) => {
|
|
72
|
-
if (signal?.aborted
|
|
74
|
+
if (signal?.aborted) {
|
|
73
75
|
truncated = true;
|
|
74
76
|
return;
|
|
75
77
|
}
|
|
76
78
|
try {
|
|
77
79
|
const st = await fs.stat(full);
|
|
78
|
-
if (
|
|
80
|
+
if (signal?.aborted) {
|
|
79
81
|
truncated = true;
|
|
80
82
|
return;
|
|
81
83
|
}
|
|
82
|
-
results.
|
|
83
|
-
|
|
84
|
+
if (results.length < limit) {
|
|
85
|
+
results.push({ rel: full, mtime: st.mtimeMs });
|
|
86
|
+
return;
|
|
87
|
+
}
|
|
88
|
+
truncated = true;
|
|
89
|
+
let oldestIndex = 0;
|
|
90
|
+
for (let i = 1; i < results.length; i++) {
|
|
91
|
+
if (results[i].mtime < results[oldestIndex].mtime) oldestIndex = i;
|
|
92
|
+
}
|
|
93
|
+
if (st.mtimeMs > results[oldestIndex].mtime) {
|
|
94
|
+
results[oldestIndex] = { rel: full, mtime: st.mtimeMs };
|
|
95
|
+
}
|
|
84
96
|
} catch {
|
|
85
97
|
}
|
|
86
98
|
};
|
|
@@ -89,10 +101,9 @@ var globTool = {
|
|
|
89
101
|
truncated = true;
|
|
90
102
|
return;
|
|
91
103
|
}
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
}
|
|
104
|
+
const realDir = await fs.realpath(dir).catch(() => dir);
|
|
105
|
+
if (visitedRealDirs.has(realDir)) return;
|
|
106
|
+
visitedRealDirs.add(realDir);
|
|
96
107
|
let entries;
|
|
97
108
|
try {
|
|
98
109
|
entries = await fs.readdir(dir, { withFileTypes: true });
|
|
@@ -111,7 +122,8 @@ var globTool = {
|
|
|
111
122
|
subdirs.push({ full, rel });
|
|
112
123
|
} else if (e.isFile()) {
|
|
113
124
|
if (isGitIgnored(rel, false)) continue;
|
|
114
|
-
|
|
125
|
+
re.lastIndex = 0;
|
|
126
|
+
if (re.test(rel) || (re.lastIndex = 0, re.test(name))) {
|
|
115
127
|
matchedFiles.push(full);
|
|
116
128
|
}
|
|
117
129
|
} else if (e.isSymbolicLink()) {
|
|
@@ -126,7 +138,8 @@ var globTool = {
|
|
|
126
138
|
if (isGitIgnored(rel, false)) continue;
|
|
127
139
|
const real = await fs.realpath(full);
|
|
128
140
|
await assertRealInsideRoot(real, ctx);
|
|
129
|
-
|
|
141
|
+
re.lastIndex = 0;
|
|
142
|
+
if (re.test(rel) || (re.lastIndex = 0, re.test(name))) matchedFiles.push(full);
|
|
130
143
|
}
|
|
131
144
|
} catch {
|
|
132
145
|
}
|
|
@@ -134,13 +147,7 @@ var globTool = {
|
|
|
134
147
|
if (truncated) return;
|
|
135
148
|
}
|
|
136
149
|
await mapWithConcurrency(matchedFiles, WALK_CONCURRENCY, pushResult);
|
|
137
|
-
|
|
138
|
-
const remainingSubdirs = truncated ? [] : subdirs;
|
|
139
|
-
await mapWithConcurrency(
|
|
140
|
-
remainingSubdirs,
|
|
141
|
-
WALK_CONCURRENCY,
|
|
142
|
-
({ full, rel }) => walk(full, rel)
|
|
143
|
-
);
|
|
150
|
+
await mapWithConcurrency(subdirs, WALK_CONCURRENCY, ({ full, rel }) => walk(full, rel));
|
|
144
151
|
};
|
|
145
152
|
await walk(base, "");
|
|
146
153
|
results.sort((a, b) => b.mtime - a.mtime);
|
|
@@ -151,4 +158,4 @@ var globTool = {
|
|
|
151
158
|
export {
|
|
152
159
|
globTool
|
|
153
160
|
};
|
|
154
|
-
//# sourceMappingURL=chunk-
|
|
161
|
+
//# sourceMappingURL=chunk-ZMW6WJFT.js.map
|
|
@@ -127,11 +127,17 @@ function truncateDiffPayload(diff, maxBytes) {
|
|
|
127
127
|
};
|
|
128
128
|
}
|
|
129
129
|
function truncateMiddle(s, max) {
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
130
|
+
const total = Buffer.byteLength(s, "utf8");
|
|
131
|
+
if (total <= max) return s;
|
|
132
|
+
const MARKER_RESERVE = 64;
|
|
133
|
+
const avail = Math.max(0, max - MARKER_RESERVE);
|
|
134
|
+
if (avail === 0) return takeHeadBytes(s, max);
|
|
135
|
+
const head = takeHeadBytes(s, Math.floor(avail / 2));
|
|
136
|
+
const tail = takeTailBytes(s, avail - Buffer.byteLength(head, "utf8"));
|
|
137
|
+
const kept = Buffer.byteLength(head, "utf8") + Buffer.byteLength(tail, "utf8");
|
|
138
|
+
return `${head}
|
|
139
|
+
\u2026[truncated ${total - kept} bytes from middle]\u2026
|
|
140
|
+
${tail}`;
|
|
135
141
|
}
|
|
136
142
|
function isBinaryBuffer(buf) {
|
|
137
143
|
const len = Math.min(buf.length, 8192);
|
|
@@ -225,4 +231,4 @@ export {
|
|
|
225
231
|
COMMAND_OUTPUT_MAX_BYTES,
|
|
226
232
|
normalizeCommandOutput
|
|
227
233
|
};
|
|
228
|
-
//# sourceMappingURL=chunk-
|
|
234
|
+
//# sourceMappingURL=chunk-ZUFHAHTE.js.map
|
|
@@ -18,11 +18,11 @@ import {
|
|
|
18
18
|
polyglotInvariantEngine,
|
|
19
19
|
replaceSymbolInFile,
|
|
20
20
|
runDeadCodeScan
|
|
21
|
-
} from "../chunk-
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
25
|
-
import "../chunk-
|
|
21
|
+
} from "../chunk-LRDIRJJL.js";
|
|
22
|
+
import "../chunk-XRNN44QY.js";
|
|
23
|
+
import "../chunk-OYP27E3I.js";
|
|
24
|
+
import "../chunk-SCMRM6NL.js";
|
|
25
|
+
import "../chunk-ESLPBT5A.js";
|
|
26
26
|
import "../chunk-HFXSNKCV.js";
|
|
27
27
|
import {
|
|
28
28
|
cancelPendingReindexes,
|
|
@@ -45,11 +45,11 @@ import {
|
|
|
45
45
|
shutdownCodebaseIndexHost,
|
|
46
46
|
shutdownCodebaseIndexServer,
|
|
47
47
|
symbolGraphService
|
|
48
|
-
} from "../chunk-
|
|
48
|
+
} from "../chunk-Z5Q3TXRY.js";
|
|
49
49
|
import {
|
|
50
50
|
projectIndexServerEndpoint,
|
|
51
51
|
projectIndexServerMetadataPath
|
|
52
|
-
} from "../chunk-
|
|
52
|
+
} from "../chunk-PV6HIZQD.js";
|
|
53
53
|
import {
|
|
54
54
|
CircuitOpenError,
|
|
55
55
|
IndexCircuitBreaker,
|
|
@@ -66,9 +66,9 @@ import {
|
|
|
66
66
|
resolveIndexDir,
|
|
67
67
|
runIndexer,
|
|
68
68
|
tokenise
|
|
69
|
-
} from "../chunk-
|
|
70
|
-
import "../chunk-
|
|
71
|
-
import "../chunk-
|
|
69
|
+
} from "../chunk-J43O3BOX.js";
|
|
70
|
+
import "../chunk-NU2IZ72J.js";
|
|
71
|
+
import "../chunk-VVZPQPTY.js";
|
|
72
72
|
import "../chunk-6IEBD27U.js";
|
|
73
73
|
import "../chunk-UCYQTZ7F.js";
|
|
74
74
|
import {
|
|
@@ -80,8 +80,8 @@ import {
|
|
|
80
80
|
compileGitignore,
|
|
81
81
|
loadGitignoreMatcher
|
|
82
82
|
} from "../chunk-DTQ75VBC.js";
|
|
83
|
-
import "../chunk-
|
|
84
|
-
import "../chunk-
|
|
83
|
+
import "../chunk-KE7A76VC.js";
|
|
84
|
+
import "../chunk-ZUFHAHTE.js";
|
|
85
85
|
export {
|
|
86
86
|
CircuitOpenError,
|
|
87
87
|
INDEXABLE_EXTENSIONS,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseFilesContent
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-NU2IZ72J.js";
|
|
4
|
+
import "../chunk-VVZPQPTY.js";
|
|
5
5
|
import "../chunk-6IEBD27U.js";
|
|
6
6
|
import "../chunk-UCYQTZ7F.js";
|
|
7
7
|
import "../chunk-YOHO4DVT.js";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-KE7A76VC.js";
|
|
9
9
|
|
|
10
10
|
// src/codebase-index/parser-worker-script.ts
|
|
11
11
|
import { parentPort, threadId } from "node:worker_threads";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
projectIndexServerBuildId,
|
|
11
11
|
projectIndexServerEndpoint,
|
|
12
12
|
projectIndexServerMetadataPath
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-PV6HIZQD.js";
|
|
14
14
|
import {
|
|
15
15
|
fileGraphService,
|
|
16
16
|
incomingCallsService,
|
|
@@ -22,16 +22,16 @@ import {
|
|
|
22
22
|
searchService,
|
|
23
23
|
statsService,
|
|
24
24
|
symbolGraphService
|
|
25
|
-
} from "../chunk-
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-
|
|
25
|
+
} from "../chunk-J43O3BOX.js";
|
|
26
|
+
import "../chunk-NU2IZ72J.js";
|
|
27
|
+
import "../chunk-VVZPQPTY.js";
|
|
28
28
|
import "../chunk-6IEBD27U.js";
|
|
29
29
|
import "../chunk-UCYQTZ7F.js";
|
|
30
30
|
import {
|
|
31
31
|
isIndexablePath
|
|
32
32
|
} from "../chunk-YOHO4DVT.js";
|
|
33
33
|
import "../chunk-DTQ75VBC.js";
|
|
34
|
-
import "../chunk-
|
|
34
|
+
import "../chunk-KE7A76VC.js";
|
|
35
35
|
|
|
36
36
|
// src/codebase-index/project-server.ts
|
|
37
37
|
import { randomBytes } from "node:crypto";
|
|
@@ -7,14 +7,14 @@ import {
|
|
|
7
7
|
searchService,
|
|
8
8
|
statsService,
|
|
9
9
|
symbolGraphService
|
|
10
|
-
} from "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
10
|
+
} from "../chunk-J43O3BOX.js";
|
|
11
|
+
import "../chunk-NU2IZ72J.js";
|
|
12
|
+
import "../chunk-VVZPQPTY.js";
|
|
13
13
|
import "../chunk-6IEBD27U.js";
|
|
14
14
|
import "../chunk-UCYQTZ7F.js";
|
|
15
15
|
import "../chunk-YOHO4DVT.js";
|
|
16
16
|
import "../chunk-DTQ75VBC.js";
|
|
17
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-KE7A76VC.js";
|
|
18
18
|
|
|
19
19
|
// src/codebase-index/worker.ts
|
|
20
20
|
import { parentPort } from "node:worker_threads";
|
package/dist/design.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ interface DesignInput {
|
|
|
14
14
|
/** action "materialize": overwrite an existing file. */
|
|
15
15
|
force?: boolean | undefined;
|
|
16
16
|
/** action "verify": explicit files to scan (project-relative). Defaults to a UI-file walk. */
|
|
17
|
-
files?: string[] | undefined;
|
|
17
|
+
files?: string | string[] | undefined;
|
|
18
18
|
}
|
|
19
19
|
interface DesignOutput {
|
|
20
20
|
action: string;
|
package/dist/design.js
CHANGED
package/dist/diff.js
CHANGED
package/dist/document.js
CHANGED
package/dist/e2e.js
CHANGED
package/dist/edit.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
editTool
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-Z6IHMJMC.js";
|
|
4
|
+
import "./chunk-JSNSMG5R.js";
|
|
5
|
+
import "./chunk-Z5Q3TXRY.js";
|
|
6
|
+
import "./chunk-PV6HIZQD.js";
|
|
7
|
+
import "./chunk-J43O3BOX.js";
|
|
8
|
+
import "./chunk-NU2IZ72J.js";
|
|
9
|
+
import "./chunk-VVZPQPTY.js";
|
|
10
10
|
import "./chunk-6IEBD27U.js";
|
|
11
11
|
import "./chunk-UCYQTZ7F.js";
|
|
12
12
|
import "./chunk-YOHO4DVT.js";
|
|
13
13
|
import "./chunk-DTQ75VBC.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-KE7A76VC.js";
|
|
15
|
+
import "./chunk-ZUFHAHTE.js";
|
|
16
16
|
export {
|
|
17
17
|
editTool
|
|
18
18
|
};
|
package/dist/exec.js
CHANGED
|
@@ -7,14 +7,14 @@ import {
|
|
|
7
7
|
isExecCommandAllowed,
|
|
8
8
|
resetDangerBypass,
|
|
9
9
|
resetExecPolicy
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-OTPTQBYE.js";
|
|
11
11
|
import "./chunk-BTSFTGIL.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-QGF2C7TF.js";
|
|
13
|
+
import "./chunk-SCMRM6NL.js";
|
|
14
|
+
import "./chunk-ESLPBT5A.js";
|
|
15
15
|
import "./chunk-HFXSNKCV.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-KE7A76VC.js";
|
|
17
|
+
import "./chunk-ZUFHAHTE.js";
|
|
18
18
|
export {
|
|
19
19
|
configureDangerBypass,
|
|
20
20
|
configureExecPolicy,
|
package/dist/fetch.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fetchTool
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-C2DQKVLO.js";
|
|
4
4
|
import {
|
|
5
5
|
guardedFetch,
|
|
6
6
|
guardedLookup
|
|
7
7
|
} from "./chunk-NBDZMMG2.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-ZUFHAHTE.js";
|
|
9
9
|
export {
|
|
10
10
|
fetchTool,
|
|
11
11
|
guardedFetch,
|
package/dist/format.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
formatTool
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-J74TMK4M.js";
|
|
4
|
+
import "./chunk-I7FBZOEP.js";
|
|
5
|
+
import "./chunk-NDIT3SBZ.js";
|
|
6
|
+
import "./chunk-OYP27E3I.js";
|
|
7
|
+
import "./chunk-SCMRM6NL.js";
|
|
8
|
+
import "./chunk-ESLPBT5A.js";
|
|
9
9
|
import "./chunk-HFXSNKCV.js";
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-KE7A76VC.js";
|
|
11
|
+
import "./chunk-ZUFHAHTE.js";
|
|
12
12
|
export {
|
|
13
13
|
formatTool
|
|
14
14
|
};
|
package/dist/git.js
CHANGED
package/dist/glob.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
globTool
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-ZMW6WJFT.js";
|
|
4
|
+
import "./chunk-ZBMANLYH.js";
|
|
5
5
|
import "./chunk-DTQ75VBC.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-ZUFHAHTE.js";
|
|
7
7
|
export {
|
|
8
8
|
globTool
|
|
9
9
|
};
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-YOHO4DVT.js";
|
|
8
8
|
import {
|
|
9
9
|
resolveWin32Command
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KE7A76VC.js";
|
|
11
11
|
|
|
12
12
|
// src/codebase-index/go-parser.ts
|
|
13
13
|
import { spawn } from "node:child_process";
|
|
@@ -466,4 +466,4 @@ export {
|
|
|
466
466
|
detectLang,
|
|
467
467
|
parseSymbols
|
|
468
468
|
};
|
|
469
|
-
//# sourceMappingURL=go-parser-
|
|
469
|
+
//# sourceMappingURL=go-parser-D7ELWQ7F.js.map
|
package/dist/grep.d.ts
CHANGED
|
@@ -17,5 +17,7 @@ interface GrepOutput {
|
|
|
17
17
|
export declare const grepTool: Tool<GrepInput, GrepOutput>;
|
|
18
18
|
/** Test-only: forget the cached rg availability so mocks can vary per test. */
|
|
19
19
|
export declare function __resetRgDetectionForTests(): void;
|
|
20
|
+
/** Test-only: explicitly set rg availability to test both engines. */
|
|
21
|
+
export declare function __setRgAvailableForTests(available: boolean | undefined): void;
|
|
20
22
|
export {};
|
|
21
23
|
//# sourceMappingURL=grep.d.ts.map
|
package/dist/grep.js
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__resetRgDetectionForTests,
|
|
3
|
+
__setRgAvailableForTests,
|
|
3
4
|
grepTool
|
|
4
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-XSSFBS5I.js";
|
|
5
6
|
import "./chunk-Q5JPPCZC.js";
|
|
6
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-ZBMANLYH.js";
|
|
7
8
|
import "./chunk-DTQ75VBC.js";
|
|
8
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-ZUFHAHTE.js";
|
|
9
10
|
export {
|
|
10
11
|
__resetRgDetectionForTests,
|
|
12
|
+
__setRgAvailableForTests,
|
|
11
13
|
grepTool
|
|
12
14
|
};
|
|
13
15
|
//# sourceMappingURL=grep.js.map
|