@wrongstack/tools 1.0.5 → 1.0.7
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/audit.js +4 -4
- package/dist/bash.js +2 -2
- package/dist/builtin.js +39 -39
- package/dist/{chunk-HKR56VNF.js → chunk-2IAEJRLT.js} +4 -3
- package/dist/{chunk-5UA4TNJJ.js → chunk-2NTHMZV3.js} +2 -2
- package/dist/{chunk-ZSW5KO5S.js → chunk-2W4XTULI.js} +2 -2
- package/dist/{chunk-JQ43NVFU.js → chunk-3LQJXJDM.js} +2 -2
- package/dist/{chunk-OVFQC6FU.js → chunk-4DK5WZGR.js} +341 -146
- package/dist/{chunk-47GYABZW.js → chunk-4SW6BXUR.js} +2 -2
- package/dist/{chunk-7EQ2LUXU.js → chunk-5MP76C72.js} +3 -3
- package/dist/{chunk-7PEZU5Y4.js → chunk-7E55DAFW.js} +8 -8
- package/dist/{chunk-YILT3CSO.js → chunk-A3LNNBYO.js} +14 -5
- package/dist/{chunk-D4HWMWGE.js → chunk-AH7J5HWL.js} +3 -3
- package/dist/{chunk-OZVGRDCM.js → chunk-B62LKMWQ.js} +3 -3
- package/dist/{chunk-WKXL5XHU.js → chunk-BVHKBBGA.js} +2 -2
- package/dist/{chunk-54SIRJ6D.js → chunk-C4DSQBTT.js} +3 -3
- package/dist/{chunk-2ZWQIVEW.js → chunk-CAF4L6KN.js} +2 -2
- package/dist/{chunk-4KI4HHID.js → chunk-CLJXKFVS.js} +2 -2
- package/dist/{chunk-MG7CUN6R.js → chunk-EGT5QLCB.js} +6 -3
- package/dist/{chunk-TL5T4A4E.js → chunk-GF4JHLCO.js} +3 -3
- package/dist/{chunk-ZETZHHV5.js → chunk-H2VB7GCR.js} +3 -3
- package/dist/{chunk-C64UUXTA.js → chunk-HCPSVK7J.js} +3 -3
- package/dist/{chunk-K7Y2IWEB.js → chunk-HIRVCXLP.js} +4 -4
- package/dist/{chunk-CYPYJIAF.js → chunk-JB5JLY7V.js} +4 -4
- package/dist/{chunk-IMIHTHF7.js → chunk-JKFIDWQG.js} +2 -2
- package/dist/{chunk-S6E2AM4U.js → chunk-KF7GMVNU.js} +3 -3
- package/dist/{chunk-IOOFLBVM.js → chunk-KMXPP32M.js} +3 -3
- package/dist/{chunk-6ZRP5IKQ.js → chunk-KPR53VKZ.js} +2 -2
- package/dist/{chunk-REWOZIA4.js → chunk-M2W36JT7.js} +2 -2
- package/dist/{chunk-BU6VUXWG.js → chunk-N3OTTQNC.js} +2 -2
- package/dist/{chunk-YJQQ5F5J.js → chunk-NL45OWEO.js} +3 -3
- package/dist/{chunk-NKOTOW6X.js → chunk-O6AGFJBO.js} +3 -3
- package/dist/{chunk-OBVXDVLE.js → chunk-QJARSK2G.js} +3 -3
- package/dist/{chunk-R36RWYXE.js → chunk-R3HIZVFS.js} +3 -3
- package/dist/{chunk-TGVQMKVH.js → chunk-S6CGSFLX.js} +3 -3
- package/dist/{chunk-JK5WXW4S.js → chunk-SEONDNLN.js} +2 -2
- package/dist/{chunk-6IEBD27U.js → chunk-SKRMUHTU.js} +2 -2
- package/dist/{chunk-DOHU3XHS.js → chunk-TU6UVATU.js} +3 -3
- package/dist/{chunk-G35NLPG5.js → chunk-WKLUOXR4.js} +3 -3
- package/dist/{chunk-FRIUJ534.js → chunk-YPSIG23D.js} +3 -3
- package/dist/{chunk-5BKQVP56.js → chunk-YZECCW3F.js} +34 -14
- package/dist/{chunk-3F7HQ3KS.js → chunk-YZQSUL5G.js} +2 -2
- package/dist/{chunk-2IC5FRD7.js → chunk-ZMCV3XOV.js} +2 -2
- package/dist/{chunk-WBAPU3AB.js → chunk-ZOUG3KKS.js} +2 -2
- package/dist/clarify.d.ts +26 -19
- package/dist/codebase-index/index.js +8 -8
- 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/diff.js +2 -2
- package/dist/e2e.js +2 -2
- package/dist/edit.js +8 -8
- package/dist/exec.js +2 -2
- package/dist/fetch.js +2 -2
- package/dist/format.js +4 -4
- package/dist/{generic-parser-WFMIRHBX.js → generic-parser-N2PLGBC2.js} +2 -2
- package/dist/git.js +2 -2
- package/dist/glob.js +2 -2
- package/dist/{go-parser-EMKTAAD3.js → go-parser-VDPRQEGM.js} +5 -5
- package/dist/grep.js +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +41 -41
- package/dist/install.js +4 -4
- package/dist/{json-parser-34DHYCPW.js → json-parser-IJD77VL4.js} +11 -17
- package/dist/json.js +2 -2
- package/dist/kanban.js +2 -2
- package/dist/languages/index.js +2 -2
- package/dist/{legacy-bridge-XM2GV665.js → legacy-bridge-4T4OTSQP.js} +4 -4
- package/dist/lint.js +4 -4
- package/dist/logs.js +2 -2
- package/dist/outdated.js +2 -2
- package/dist/pack.js +40 -40
- package/dist/{parser-dispatch-HZDZSIYH.js → parser-dispatch-4E2SDQUO.js} +4 -4
- package/dist/patch.js +8 -8
- package/dist/plan.js +4 -4
- package/dist/{py-parser-DDG53RXI.js → py-parser-MAW6DHFE.js} +3 -3
- package/dist/read.js +8 -8
- package/dist/replace.js +8 -8
- package/dist/session-kanban.d.ts +7 -0
- package/dist/session-kanban.js +3 -1
- package/dist/task.js +4 -4
- package/dist/test.js +4 -4
- package/dist/todo.js +3 -3
- package/dist/tool-tier.js +41 -41
- package/dist/tree.js +2 -2
- package/dist/typecheck.js +4 -4
- package/dist/write.js +8 -8
- package/dist/{yaml-parser-RGBXEZE4.js → yaml-parser-DFBC5FWH.js} +7 -6
- package/package.json +5 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolvePythonBinary
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-M2W36JT7.js";
|
|
4
4
|
import {
|
|
5
5
|
parseParserBatchOutput,
|
|
6
6
|
recordParserSubprocess,
|
|
@@ -830,11 +830,11 @@ async function dispatch(file, content, lang) {
|
|
|
830
830
|
return parseSymbols({ file, content, lang });
|
|
831
831
|
}
|
|
832
832
|
case "go": {
|
|
833
|
-
const { parseSymbols } = await import("./go-parser-
|
|
833
|
+
const { parseSymbols } = await import("./go-parser-VDPRQEGM.js");
|
|
834
834
|
return parseSymbols({ file, content, lang: "go" });
|
|
835
835
|
}
|
|
836
836
|
case "py": {
|
|
837
|
-
const { parseSymbols } = await import("./py-parser-
|
|
837
|
+
const { parseSymbols } = await import("./py-parser-MAW6DHFE.js");
|
|
838
838
|
return parseSymbols({ file, content, lang: "py" });
|
|
839
839
|
}
|
|
840
840
|
case "rs": {
|
|
@@ -842,11 +842,11 @@ async function dispatch(file, content, lang) {
|
|
|
842
842
|
return parseSymbols({ file, content, lang: "rs" });
|
|
843
843
|
}
|
|
844
844
|
case "json": {
|
|
845
|
-
const { parseSymbols } = await import("./json-parser-
|
|
845
|
+
const { parseSymbols } = await import("./json-parser-IJD77VL4.js");
|
|
846
846
|
return parseSymbols({ file, content, lang: "json" });
|
|
847
847
|
}
|
|
848
848
|
case "yaml": {
|
|
849
|
-
const { parseSymbols } = await import("./yaml-parser-
|
|
849
|
+
const { parseSymbols } = await import("./yaml-parser-DFBC5FWH.js");
|
|
850
850
|
return parseSymbols({ file, content, lang: "yaml" });
|
|
851
851
|
}
|
|
852
852
|
// Phase 1: ten languages now route through the Tree-Sitter WASM
|
|
@@ -870,11 +870,11 @@ async function dispatch(file, content, lang) {
|
|
|
870
870
|
if (parsed.symbols.length > 0) return parsed;
|
|
871
871
|
} catch {
|
|
872
872
|
}
|
|
873
|
-
const { parseSymbols } = await import("./generic-parser-
|
|
873
|
+
const { parseSymbols } = await import("./generic-parser-N2PLGBC2.js");
|
|
874
874
|
return parseSymbols({ file, content, lang });
|
|
875
875
|
}
|
|
876
876
|
default: {
|
|
877
|
-
const { parseSymbols } = await import("./generic-parser-
|
|
877
|
+
const { parseSymbols } = await import("./generic-parser-N2PLGBC2.js");
|
|
878
878
|
return parseSymbols({ file, content, lang });
|
|
879
879
|
}
|
|
880
880
|
}
|
|
@@ -891,4 +891,4 @@ export {
|
|
|
891
891
|
parseFileContent,
|
|
892
892
|
parseFilesContent
|
|
893
893
|
};
|
|
894
|
-
//# sourceMappingURL=chunk-
|
|
894
|
+
//# sourceMappingURL=chunk-7E55DAFW.js.map
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
COMMAND_OUTPUT_MAX_BYTES,
|
|
21
21
|
normalizeCommandOutput,
|
|
22
22
|
safeResolveReal
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-2IAEJRLT.js";
|
|
24
24
|
|
|
25
25
|
// src/exec.ts
|
|
26
26
|
import { spawn } from "node:child_process";
|
|
@@ -74,9 +74,18 @@ var RULES = [
|
|
|
74
74
|
}
|
|
75
75
|
const letters = flagLetters(args);
|
|
76
76
|
if (letters.has("r") && letters.has("f")) return true;
|
|
77
|
-
const
|
|
78
|
-
|
|
79
|
-
|
|
77
|
+
const cmdFlags = /* @__PURE__ */ new Set();
|
|
78
|
+
for (const a of args) {
|
|
79
|
+
if (/^(?:\/[a-zA-Z])+$/.test(a)) {
|
|
80
|
+
for (const ch of a.toLowerCase()) {
|
|
81
|
+
if (ch >= "a" && ch <= "z") cmdFlags.add(ch);
|
|
82
|
+
}
|
|
83
|
+
} else if (/^\/[sqfpa]+$/i.test(a)) {
|
|
84
|
+
for (const ch of a.toLowerCase().slice(1)) cmdFlags.add(ch);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
if (cmd === "rmdir" || cmd === "rd") return cmdFlags.has("s") && cmdFlags.has("q");
|
|
88
|
+
if (cmd === "del" || cmd === "erase") return cmdFlags.has("s");
|
|
80
89
|
return false;
|
|
81
90
|
},
|
|
82
91
|
reason: "recursive force-delete"
|
|
@@ -1835,4 +1844,4 @@ export {
|
|
|
1835
1844
|
getExecAllowlist,
|
|
1836
1845
|
execTool
|
|
1837
1846
|
};
|
|
1838
|
-
//# sourceMappingURL=chunk-
|
|
1847
|
+
//# sourceMappingURL=chunk-A3LNNBYO.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
tryLegacyCodeOperation
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3LQJXJDM.js";
|
|
4
4
|
import {
|
|
5
5
|
spawnStream
|
|
6
6
|
} from "./chunk-EMA2XENR.js";
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
detectPackageManager,
|
|
9
9
|
normalizeCommandOutput,
|
|
10
10
|
safeResolveReal
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2IAEJRLT.js";
|
|
12
12
|
|
|
13
13
|
// src/typecheck.ts
|
|
14
14
|
import * as path from "node:path";
|
|
@@ -162,4 +162,4 @@ async function findTsConfig(cwd) {
|
|
|
162
162
|
export {
|
|
163
163
|
typecheckTool
|
|
164
164
|
};
|
|
165
|
-
//# sourceMappingURL=chunk-
|
|
165
|
+
//# sourceMappingURL=chunk-AH7J5HWL.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
todoTool
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-S6CGSFLX.js";
|
|
4
4
|
import {
|
|
5
5
|
mirrorSessionTasksToKanban
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YZECCW3F.js";
|
|
7
7
|
|
|
8
8
|
// src/task.ts
|
|
9
9
|
import { randomUUID } from "node:crypto";
|
|
@@ -582,4 +582,4 @@ ${formatTaskList(file.tasks)}` : file.tasks.length > 0 ? formatTaskList(file.tas
|
|
|
582
582
|
export {
|
|
583
583
|
taskTool
|
|
584
584
|
};
|
|
585
|
-
//# sourceMappingURL=chunk-
|
|
585
|
+
//# sourceMappingURL=chunk-B62LKMWQ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
safeResolveReal
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2IAEJRLT.js";
|
|
4
4
|
|
|
5
5
|
// src/e2e.ts
|
|
6
6
|
import { open, readdir } from "node:fs/promises";
|
|
@@ -422,4 +422,4 @@ export {
|
|
|
422
422
|
discoverE2EProjects,
|
|
423
423
|
e2ePlanTool
|
|
424
424
|
};
|
|
425
|
-
//# sourceMappingURL=chunk-
|
|
425
|
+
//# sourceMappingURL=chunk-BVHKBBGA.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseFilesContent
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7E55DAFW.js";
|
|
4
4
|
import {
|
|
5
5
|
recordFilesystemRead
|
|
6
6
|
} from "./chunk-ZKC5UNGD.js";
|
|
@@ -4993,7 +4993,7 @@ var ParserWorkerPool = class {
|
|
|
4993
4993
|
*/
|
|
4994
4994
|
async reparseInline(batch, orphaned, workerId) {
|
|
4995
4995
|
try {
|
|
4996
|
-
const { parseFileContent } = await import("./parser-dispatch-
|
|
4996
|
+
const { parseFileContent } = await import("./parser-dispatch-4E2SDQUO.js");
|
|
4997
4997
|
for (const item of orphaned) {
|
|
4998
4998
|
if (batch.settled) return;
|
|
4999
4999
|
try {
|
|
@@ -5856,4 +5856,4 @@ export {
|
|
|
5856
5856
|
incomingCallsService,
|
|
5857
5857
|
outgoingCallsService
|
|
5858
5858
|
};
|
|
5859
|
-
//# sourceMappingURL=chunk-
|
|
5859
|
+
//# sourceMappingURL=chunk-C4DSQBTT.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-YJTXRH5Y.js";
|
|
4
4
|
import {
|
|
5
5
|
safeResolveReal
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2IAEJRLT.js";
|
|
7
7
|
|
|
8
8
|
// src/logs.ts
|
|
9
9
|
import { spawn } from "node:child_process";
|
|
@@ -299,4 +299,4 @@ function parseLine(line) {
|
|
|
299
299
|
export {
|
|
300
300
|
logsTool
|
|
301
301
|
};
|
|
302
|
-
//# sourceMappingURL=chunk-
|
|
302
|
+
//# sourceMappingURL=chunk-CAF4L6KN.js.map
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./chunk-5U5ULQX2.js";
|
|
18
18
|
import {
|
|
19
19
|
normalizeCommandOutput
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-2IAEJRLT.js";
|
|
21
21
|
|
|
22
22
|
// src/bash.ts
|
|
23
23
|
import { spawn } from "node:child_process";
|
|
@@ -1093,4 +1093,4 @@ export {
|
|
|
1093
1093
|
checkAndBlockKillCommand,
|
|
1094
1094
|
bashTool
|
|
1095
1095
|
};
|
|
1096
|
-
//# sourceMappingURL=chunk-
|
|
1096
|
+
//# sourceMappingURL=chunk-CLJXKFVS.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-YJTXRH5Y.js";
|
|
5
5
|
import {
|
|
6
6
|
safeResolveReal
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2IAEJRLT.js";
|
|
8
8
|
|
|
9
9
|
// src/json.ts
|
|
10
10
|
import * as fs from "node:fs/promises";
|
|
@@ -615,8 +615,11 @@ function validateJsonSchema(data, schema) {
|
|
|
615
615
|
}
|
|
616
616
|
if (typeof value === "object" && value !== null && !Array.isArray(value) && s["properties"]) {
|
|
617
617
|
const props = s["properties"];
|
|
618
|
+
const obj = value;
|
|
618
619
|
for (const [k, propSchema] of Object.entries(props)) {
|
|
619
|
-
|
|
620
|
+
if (Object.prototype.hasOwnProperty.call(obj, k)) {
|
|
621
|
+
check(obj[k], propSchema, `${path}.${k}`);
|
|
622
|
+
}
|
|
620
623
|
}
|
|
621
624
|
}
|
|
622
625
|
}
|
|
@@ -701,4 +704,4 @@ ${toYaml(v, indent + 1)}`;
|
|
|
701
704
|
export {
|
|
702
705
|
jsonTool
|
|
703
706
|
};
|
|
704
|
-
//# sourceMappingURL=chunk-
|
|
707
|
+
//# sourceMappingURL=chunk-EGT5QLCB.js.map
|
|
@@ -3,12 +3,12 @@ import {
|
|
|
3
3
|
} from "./chunk-MSOAX3GC.js";
|
|
4
4
|
import {
|
|
5
5
|
enqueueReindex
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TU6UVATU.js";
|
|
7
7
|
import {
|
|
8
8
|
safeResolveReal,
|
|
9
9
|
sha256hex,
|
|
10
10
|
truncateDiffPayload
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2IAEJRLT.js";
|
|
12
12
|
|
|
13
13
|
// src/write.ts
|
|
14
14
|
import * as fs from "node:fs/promises";
|
|
@@ -179,4 +179,4 @@ async function finishWrite(input, ctx, prepared, signal) {
|
|
|
179
179
|
export {
|
|
180
180
|
writeTool
|
|
181
181
|
};
|
|
182
|
-
//# sourceMappingURL=chunk-
|
|
182
|
+
//# sourceMappingURL=chunk-GF4JHLCO.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
tryLegacyPackageOperation
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3LQJXJDM.js";
|
|
4
4
|
import {
|
|
5
5
|
spawnStream
|
|
6
6
|
} from "./chunk-EMA2XENR.js";
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
detectPackageManager,
|
|
9
9
|
normalizeCommandOutput,
|
|
10
10
|
safeResolveReal
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2IAEJRLT.js";
|
|
12
12
|
|
|
13
13
|
// src/install.ts
|
|
14
14
|
import { join } from "node:path";
|
|
@@ -253,4 +253,4 @@ function resolveManifestPath(cwd, pkgManager) {
|
|
|
253
253
|
export {
|
|
254
254
|
installTool
|
|
255
255
|
};
|
|
256
|
-
//# sourceMappingURL=chunk-
|
|
256
|
+
//# sourceMappingURL=chunk-H2VB7GCR.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
tryLegacyPackageOperation
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3LQJXJDM.js";
|
|
4
4
|
import {
|
|
5
5
|
spawnStream
|
|
6
6
|
} from "./chunk-EMA2XENR.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
detectPackageManager,
|
|
10
10
|
normalizeCommandOutput,
|
|
11
11
|
safeResolveReal
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-2IAEJRLT.js";
|
|
13
13
|
|
|
14
14
|
// src/audit.ts
|
|
15
15
|
import { ToolValidationError } from "@wrongstack/core/types";
|
|
@@ -220,4 +220,4 @@ function extractAdvisories(data) {
|
|
|
220
220
|
export {
|
|
221
221
|
auditTool
|
|
222
222
|
};
|
|
223
|
-
//# sourceMappingURL=chunk-
|
|
223
|
+
//# sourceMappingURL=chunk-HCPSVK7J.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getIndexState,
|
|
3
3
|
searchCodebaseIndex
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-TU6UVATU.js";
|
|
5
5
|
import {
|
|
6
6
|
codebaseIndexDirOverride
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-C4DSQBTT.js";
|
|
8
8
|
import {
|
|
9
9
|
isBinaryBuffer,
|
|
10
10
|
safeResolveReal,
|
|
11
11
|
sha256hex
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-2IAEJRLT.js";
|
|
13
13
|
|
|
14
14
|
// src/read.ts
|
|
15
15
|
import * as fs from "node:fs/promises";
|
|
@@ -340,4 +340,4 @@ ${interesting.join("\n")}` : "symbols/imports: (none detected)"
|
|
|
340
340
|
export {
|
|
341
341
|
readTool
|
|
342
342
|
};
|
|
343
|
-
//# sourceMappingURL=chunk-
|
|
343
|
+
//# sourceMappingURL=chunk-HIRVCXLP.js.map
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
outgoingCallsService,
|
|
16
16
|
runStartupIndex,
|
|
17
17
|
searchCodebaseIndex
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-TU6UVATU.js";
|
|
19
19
|
import {
|
|
20
20
|
IndexTimeoutError,
|
|
21
21
|
SCHEMA_VERSION,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
posixIndexPath,
|
|
27
27
|
resolveIndexDir,
|
|
28
28
|
xxhash64String
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-C4DSQBTT.js";
|
|
30
30
|
import {
|
|
31
31
|
EXT_TO_LANG,
|
|
32
32
|
detectLang,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
import {
|
|
39
39
|
normalizeCommandOutput,
|
|
40
40
|
safeResolveProjectPath
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-2IAEJRLT.js";
|
|
42
42
|
|
|
43
43
|
// src/codebase-index/ast-invariant-engine.ts
|
|
44
44
|
var tsModule = null;
|
|
@@ -4047,4 +4047,4 @@ export {
|
|
|
4047
4047
|
embedFiles,
|
|
4048
4048
|
embedProjectFiles
|
|
4049
4049
|
};
|
|
4050
|
-
//# sourceMappingURL=chunk-
|
|
4050
|
+
//# sourceMappingURL=chunk-JB5JLY7V.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
assertRealInsideRoot,
|
|
9
9
|
makeRootRelativizer,
|
|
10
10
|
safeResolveReal
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2IAEJRLT.js";
|
|
12
12
|
|
|
13
13
|
// src/glob.ts
|
|
14
14
|
import * as fs from "node:fs/promises";
|
|
@@ -160,4 +160,4 @@ var globTool = {
|
|
|
160
160
|
export {
|
|
161
161
|
globTool
|
|
162
162
|
};
|
|
163
|
-
//# sourceMappingURL=chunk-
|
|
163
|
+
//# sourceMappingURL=chunk-JKFIDWQG.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
tryLegacyCodeOperation
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3LQJXJDM.js";
|
|
4
4
|
import {
|
|
5
5
|
spawnStream
|
|
6
6
|
} from "./chunk-EMA2XENR.js";
|
|
7
7
|
import {
|
|
8
8
|
normalizeCommandOutput,
|
|
9
9
|
safeResolveReal
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2IAEJRLT.js";
|
|
11
11
|
|
|
12
12
|
// src/test.ts
|
|
13
13
|
import * as path from "node:path";
|
|
@@ -231,4 +231,4 @@ ${result.stderr}` : result.stdout || result.stderr || result.error || "";
|
|
|
231
231
|
export {
|
|
232
232
|
testTool
|
|
233
233
|
};
|
|
234
|
-
//# sourceMappingURL=chunk-
|
|
234
|
+
//# sourceMappingURL=chunk-KF7GMVNU.js.map
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
} from "./chunk-ZBMANLYH.js";
|
|
7
7
|
import {
|
|
8
8
|
enqueueReindex
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TU6UVATU.js";
|
|
10
10
|
import {
|
|
11
11
|
isBinaryBuffer,
|
|
12
12
|
safeResolveReal,
|
|
13
13
|
sha256hex,
|
|
14
14
|
truncateDiffPayload
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-2IAEJRLT.js";
|
|
16
16
|
|
|
17
17
|
// src/replace.ts
|
|
18
18
|
import { spawn } from "node:child_process";
|
|
@@ -413,4 +413,4 @@ export {
|
|
|
413
413
|
replaceTool,
|
|
414
414
|
__resetRgDetectionForTests
|
|
415
415
|
};
|
|
416
|
-
//# sourceMappingURL=chunk-
|
|
416
|
+
//# sourceMappingURL=chunk-KMXPP32M.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
builtinTools
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4DK5WZGR.js";
|
|
4
4
|
|
|
5
5
|
// src/pack.ts
|
|
6
6
|
var builtinToolsPack = {
|
|
@@ -12,4 +12,4 @@ var builtinToolsPack = {
|
|
|
12
12
|
export {
|
|
13
13
|
builtinToolsPack
|
|
14
14
|
};
|
|
15
|
-
//# sourceMappingURL=chunk-
|
|
15
|
+
//# sourceMappingURL=chunk-KPR53VKZ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseGeneric
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SKRMUHTU.js";
|
|
4
4
|
import {
|
|
5
5
|
parseParserOutput,
|
|
6
6
|
recordParserSubprocess,
|
|
@@ -384,4 +384,4 @@ export {
|
|
|
384
384
|
parseSymbols,
|
|
385
385
|
resolvePythonBinary
|
|
386
386
|
};
|
|
387
|
-
//# sourceMappingURL=chunk-
|
|
387
|
+
//# sourceMappingURL=chunk-M2W36JT7.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-ZBMANLYH.js";
|
|
4
4
|
import {
|
|
5
5
|
safeResolveReal
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2IAEJRLT.js";
|
|
7
7
|
|
|
8
8
|
// src/diff.ts
|
|
9
9
|
import { spawn } from "node:child_process";
|
|
@@ -302,4 +302,4 @@ ${parts.join("\n")}`;
|
|
|
302
302
|
export {
|
|
303
303
|
diffTool
|
|
304
304
|
};
|
|
305
|
-
//# sourceMappingURL=chunk-
|
|
305
|
+
//# sourceMappingURL=chunk-N3OTTQNC.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
detectPackageManager,
|
|
12
12
|
normalizeCommandOutput,
|
|
13
13
|
safeResolveReal
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-2IAEJRLT.js";
|
|
15
15
|
|
|
16
16
|
// src/outdated.ts
|
|
17
17
|
import { spawn } from "node:child_process";
|
|
@@ -66,7 +66,7 @@ var outdatedTool = {
|
|
|
66
66
|
const manager = await detectPackageManager(cwd, ctx.projectRoot);
|
|
67
67
|
if (manager === "npm") {
|
|
68
68
|
try {
|
|
69
|
-
const { detectNonJsEcosystem } = await import("./legacy-bridge-
|
|
69
|
+
const { detectNonJsEcosystem } = await import("./legacy-bridge-4T4OTSQP.js");
|
|
70
70
|
const nonJs = await detectNonJsEcosystem(cwd, ctx.projectRoot);
|
|
71
71
|
if (nonJs) {
|
|
72
72
|
const { planLanguageOperation, executePackagePlan } = await import("./languages/index.js");
|
|
@@ -282,4 +282,4 @@ Note: exit code 1 from \`outdated\` means outdated packages were found (expected
|
|
|
282
282
|
export {
|
|
283
283
|
outdatedTool
|
|
284
284
|
};
|
|
285
|
-
//# sourceMappingURL=chunk-
|
|
285
|
+
//# sourceMappingURL=chunk-NL45OWEO.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
todoTool
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-S6CGSFLX.js";
|
|
4
4
|
import {
|
|
5
5
|
projectSessionPlanToKanban
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YZECCW3F.js";
|
|
7
7
|
|
|
8
8
|
// src/plan.ts
|
|
9
9
|
import { randomUUID } from "node:crypto";
|
|
@@ -414,4 +414,4 @@ function mkResult(plan, ok, message, todos) {
|
|
|
414
414
|
export {
|
|
415
415
|
planTool
|
|
416
416
|
};
|
|
417
|
-
//# sourceMappingURL=chunk-
|
|
417
|
+
//# sourceMappingURL=chunk-O6AGFJBO.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
tryLegacyCodeOperation
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3LQJXJDM.js";
|
|
4
4
|
import {
|
|
5
5
|
spawnStream
|
|
6
6
|
} from "./chunk-EMA2XENR.js";
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
ensureInsideRoot,
|
|
9
9
|
normalizeCommandOutput,
|
|
10
10
|
safeResolveReal
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2IAEJRLT.js";
|
|
12
12
|
|
|
13
13
|
// src/format.ts
|
|
14
14
|
import * as path from "node:path";
|
|
@@ -251,4 +251,4 @@ export {
|
|
|
251
251
|
parseFormatterCounts,
|
|
252
252
|
detectFixer
|
|
253
253
|
};
|
|
254
|
-
//# sourceMappingURL=chunk-
|
|
254
|
+
//# sourceMappingURL=chunk-QJARSK2G.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
tryLegacyCodeOperation
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3LQJXJDM.js";
|
|
4
4
|
import {
|
|
5
5
|
spawnStream
|
|
6
6
|
} from "./chunk-EMA2XENR.js";
|
|
7
7
|
import {
|
|
8
8
|
normalizeCommandOutput,
|
|
9
9
|
safeResolveReal
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2IAEJRLT.js";
|
|
11
11
|
|
|
12
12
|
// src/lint.ts
|
|
13
13
|
import { ToolValidationError } from "@wrongstack/core/types";
|
|
@@ -189,4 +189,4 @@ async function detectLinter(cwd) {
|
|
|
189
189
|
export {
|
|
190
190
|
lintTool
|
|
191
191
|
};
|
|
192
|
-
//# sourceMappingURL=chunk-
|
|
192
|
+
//# sourceMappingURL=chunk-R3HIZVFS.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
kanbanTool
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2NTHMZV3.js";
|
|
4
4
|
import {
|
|
5
5
|
applyManagedKanbanBoardToTodos,
|
|
6
6
|
blockingTitles,
|
|
7
7
|
mirrorSessionTodosToKanban,
|
|
8
8
|
takeSessionMirrorFailure
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YZECCW3F.js";
|
|
10
10
|
|
|
11
11
|
// src/todo.ts
|
|
12
12
|
import {
|
|
@@ -487,4 +487,4 @@ var todoTool = {
|
|
|
487
487
|
export {
|
|
488
488
|
todoTool
|
|
489
489
|
};
|
|
490
|
-
//# sourceMappingURL=chunk-
|
|
490
|
+
//# sourceMappingURL=chunk-S6CGSFLX.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
normalizeCommandOutput,
|
|
6
6
|
safeResolveReal
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2IAEJRLT.js";
|
|
8
8
|
|
|
9
9
|
// src/languages/detect.ts
|
|
10
10
|
import { createHash } from "node:crypto";
|
|
@@ -3515,4 +3515,4 @@ export {
|
|
|
3515
3515
|
languagePackageTool,
|
|
3516
3516
|
languageInfoTool
|
|
3517
3517
|
};
|
|
3518
|
-
//# sourceMappingURL=chunk-
|
|
3518
|
+
//# sourceMappingURL=chunk-SEONDNLN.js.map
|
|
@@ -262,7 +262,7 @@ function lineColAt(offsets, index) {
|
|
|
262
262
|
else high = mid;
|
|
263
263
|
}
|
|
264
264
|
const lastNl = low > 0 ? offsets[low - 1] : -1;
|
|
265
|
-
return { line: low + 1, col: index - lastNl };
|
|
265
|
+
return { line: low + 1, col: index - lastNl - 1 };
|
|
266
266
|
}
|
|
267
267
|
var GENERIC_MAX_SYMBOLS_DEFAULT = 500;
|
|
268
268
|
var GENERIC_MAX_FILE_CHARS = 128 * 1024;
|
|
@@ -329,4 +329,4 @@ export {
|
|
|
329
329
|
parseGeneric,
|
|
330
330
|
parseSymbols
|
|
331
331
|
};
|
|
332
|
-
//# sourceMappingURL=chunk-
|
|
332
|
+
//# sourceMappingURL=chunk-SKRMUHTU.js.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
projectIndexServerMetadataPath,
|
|
14
14
|
projectIndexServerStderrPath,
|
|
15
15
|
readProjectIndexServerStderrTail
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ZOUG3KKS.js";
|
|
17
17
|
import {
|
|
18
18
|
CircuitOpenError,
|
|
19
19
|
IndexTimeoutError,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
searchService,
|
|
29
29
|
statsService,
|
|
30
30
|
symbolGraphService
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-C4DSQBTT.js";
|
|
32
32
|
import {
|
|
33
33
|
recordIpcPending
|
|
34
34
|
} from "./chunk-ZKC5UNGD.js";
|
|
@@ -1352,4 +1352,4 @@ export {
|
|
|
1352
1352
|
checkCodebaseIndexServerHealth,
|
|
1353
1353
|
ensureCodebaseIndexServer
|
|
1354
1354
|
};
|
|
1355
|
-
//# sourceMappingURL=chunk-
|
|
1355
|
+
//# sourceMappingURL=chunk-TU6UVATU.js.map
|
|
@@ -3,12 +3,12 @@ import {
|
|
|
3
3
|
} from "./chunk-MSOAX3GC.js";
|
|
4
4
|
import {
|
|
5
5
|
enqueueReindex
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TU6UVATU.js";
|
|
7
7
|
import {
|
|
8
8
|
safeResolveReal,
|
|
9
9
|
sha256hex,
|
|
10
10
|
truncateDiffPayload
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2IAEJRLT.js";
|
|
12
12
|
|
|
13
13
|
// src/edit.ts
|
|
14
14
|
import * as fs from "node:fs/promises";
|
|
@@ -518,4 +518,4 @@ Compare this against your old_string and retry with the file's actual text.` : "
|
|
|
518
518
|
export {
|
|
519
519
|
editTool
|
|
520
520
|
};
|
|
521
|
-
//# sourceMappingURL=chunk-
|
|
521
|
+
//# sourceMappingURL=chunk-WKLUOXR4.js.map
|