@wrongstack/tools 0.313.1 → 0.316.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.
- package/dist/_edit-match.d.ts +3 -2
- package/dist/_output-spool.d.ts +4 -3
- package/dist/_shell-pick.d.ts +2 -1
- package/dist/_spawn-stream.d.ts +2 -1
- package/dist/_syntax-check.d.ts +2 -1
- package/dist/audit.js +5 -5
- package/dist/bash-kill-guard.d.ts +3 -6
- package/dist/bash.js +3 -3
- package/dist/browser/index.js +1 -1
- package/dist/browser/network-guard-proxy.d.ts +2 -1
- package/dist/builtin.js +36 -36
- package/dist/{chunk-MAN26PZ5.js → chunk-22B7GE5T.js} +2 -2
- package/dist/{chunk-2TFQDEPU.js → chunk-2VSZC6QM.js} +1 -1
- package/dist/{chunk-IWDFZ6XR.js → chunk-42BHI7TN.js} +2 -2
- package/dist/{chunk-TVTCSBJF.js → chunk-4UESMQDP.js} +2 -2
- package/dist/{chunk-H5OHH6F4.js → chunk-5H4GSJAI.js} +3 -3
- package/dist/{chunk-J4SRJKBW.js → chunk-7EY5DCRO.js} +13 -7
- package/dist/{chunk-HC5RM4WY.js → chunk-BSLVR56S.js} +3 -3
- package/dist/{chunk-OA6YJIWL.js → chunk-DA4KNE2H.js} +4 -4
- package/dist/{chunk-FW65TP4G.js → chunk-DR7JOQTC.js} +3 -3
- package/dist/{chunk-B2CIOKWP.js → chunk-EEOFQDT6.js} +1 -2
- package/dist/{chunk-INF5CGAO.js → chunk-EJWSCQ6D.js} +3 -3
- package/dist/{chunk-3QMQBO5Z.js → chunk-FQZOHLG3.js} +1 -1
- package/dist/{chunk-2ME7ZWDD.js → chunk-HYX2TZ7O.js} +4 -4
- package/dist/{chunk-RP2ZA47V.js → chunk-I64BS3VC.js} +2 -2
- package/dist/{chunk-FGOABE4Z.js → chunk-IVWV2UM6.js} +3 -3
- package/dist/{chunk-QHVW4AAM.js → chunk-IYK7XGDZ.js} +10 -10
- package/dist/{chunk-55KF77OK.js → chunk-JNNVRHMV.js} +339 -172
- package/dist/{chunk-H5MJUAA6.js → chunk-JOHXDF3D.js} +3 -3
- package/dist/{chunk-XMIFYKUT.js → chunk-K3WNSHUF.js} +1 -1
- package/dist/{chunk-OZC255IC.js → chunk-L25CVUVR.js} +6 -6
- package/dist/{chunk-2CTB3UK5.js → chunk-LWKUTMD5.js} +2 -2
- package/dist/{chunk-YF2RSV34.js → chunk-MQX2KXVW.js} +3 -3
- package/dist/{chunk-6HLZK37X.js → chunk-MZZN7VCD.js} +2 -2
- package/dist/{chunk-KXNDHMUB.js → chunk-NKJW5GFO.js} +3 -3
- package/dist/{chunk-ZIGAZFWE.js → chunk-NKNOBUBU.js} +2 -2
- package/dist/{chunk-DIJKHSUO.js → chunk-O4MBV4AX.js} +3 -3
- package/dist/{chunk-DPL47QGS.js → chunk-OUBDL3WH.js} +2 -2
- package/dist/{chunk-NHA6BEIH.js → chunk-PQKK5JH7.js} +2 -2
- package/dist/{chunk-QNJ7AQ4B.js → chunk-PY2IOS7C.js} +1 -1
- package/dist/{chunk-2ZCJNKFE.js → chunk-QZQSPUBF.js} +2 -2
- package/dist/{chunk-UTV7YAW7.js → chunk-SDLVH5RZ.js} +3 -3
- package/dist/{chunk-HXSBQ2SE.js → chunk-T2F4S7U4.js} +3 -3
- package/dist/{chunk-ILESNGNM.js → chunk-TEBQ4VPZ.js} +1 -1
- package/dist/{chunk-42SKEETB.js → chunk-UCYQTZ7F.js} +1 -1
- package/dist/{chunk-PUR6WU2B.js → chunk-VFKPWSOX.js} +3 -3
- package/dist/{chunk-HEQFMLZ7.js → chunk-VJNHFZ7J.js} +3 -3
- package/dist/{chunk-URFKEIHM.js → chunk-VXECAJJ7.js} +23 -23
- package/dist/{chunk-MKRQMLZA.js → chunk-ZJQ4IGXK.js} +3 -3
- package/dist/{chunk-42AKKX7O.js → chunk-ZLTFLC25.js} +2 -2
- package/dist/codebase-index/ast-invariant-engine.d.ts +5 -4
- package/dist/codebase-index/binary-frame.d.ts +0 -2
- package/dist/codebase-index/bm25.d.ts +1 -1
- package/dist/codebase-index/circuit-breaker.d.ts +2 -1
- package/dist/codebase-index/codebase-ast-replace-tool.d.ts +3 -2
- package/dist/codebase-index/codebase-impact-analysis-tool.d.ts +4 -3
- package/dist/codebase-index/codebase-invariant-check-tool.d.ts +3 -2
- package/dist/codebase-index/codebase-repo-map-tool.d.ts +3 -2
- package/dist/codebase-index/codebase-skeleton-tool.d.ts +3 -2
- package/dist/codebase-index/codebase-targeted-test-tool.d.ts +3 -2
- package/dist/codebase-index/content-hash.d.ts +0 -2
- package/dist/codebase-index/import-extractor.d.ts +0 -13
- package/dist/codebase-index/index-service.d.ts +1 -1
- package/dist/codebase-index/index.js +11 -11
- package/dist/codebase-index/languages.d.ts +2 -1
- package/dist/codebase-index/module-roots.d.ts +3 -2
- package/dist/codebase-index/parser-batch.d.ts +0 -5
- package/dist/codebase-index/parser-dispatch.d.ts +2 -1
- package/dist/codebase-index/parser-output.d.ts +4 -3
- package/dist/codebase-index/parser-worker-pool.d.ts +0 -2
- package/dist/codebase-index/parser-worker-script.d.ts +1 -16
- package/dist/codebase-index/parser-worker-script.js +4 -4
- package/dist/codebase-index/project-server-client-state.d.ts +2 -2
- package/dist/codebase-index/project-server-endpoint.d.ts +0 -15
- package/dist/codebase-index/project-server.js +6 -6
- package/dist/codebase-index/tree-sitter/visitor.d.ts +2 -1
- package/dist/codebase-index/tree-sitter-parser.d.ts +0 -2
- package/dist/codebase-index/ts-parser.d.ts +1 -1
- package/dist/codebase-index/vector-search.d.ts +2 -1
- package/dist/codebase-index/wal-maintenance.d.ts +3 -2
- package/dist/codebase-index/worker.js +5 -5
- package/dist/codebase-index/writer-admin.d.ts +0 -1
- package/dist/codebase-index/writer-search.d.ts +0 -9
- package/dist/edit.js +9 -9
- package/dist/exec.js +3 -3
- package/dist/format.js +5 -5
- package/dist/{go-parser-6CA77WZ4.js → go-parser-JXYKJHRC.js} +3 -3
- package/dist/index.js +39 -39
- package/dist/install.js +5 -5
- package/dist/{json-parser-7YMDJSBJ.js → json-parser-IBHZ4BZC.js} +2 -2
- package/dist/kanban-contract-actions.d.ts +1 -1
- package/dist/kanban-detail-actions.d.ts +2 -1
- package/dist/kanban-presence.d.ts +2 -1
- package/dist/kanban-serializer.d.ts +0 -8
- package/dist/kanban-split-task-handler.d.ts +2 -2
- package/dist/kanban-tool-types.d.ts +2 -1
- package/dist/kanban.js +2 -2
- package/dist/languages/diagnostics.d.ts +2 -1
- package/dist/languages/index.js +3 -3
- package/dist/languages/legacy-bridge.d.ts +3 -2
- package/dist/languages/types.d.ts +2 -1
- package/dist/{legacy-bridge-7UKZT46G.js → legacy-bridge-7M6QLUQN.js} +5 -5
- package/dist/lint.js +5 -5
- package/dist/outdated.js +1 -1
- package/dist/pack.js +37 -37
- package/dist/parser-dispatch-QH4XPGG6.js +14 -0
- package/dist/patch.js +8 -8
- package/dist/plan.js +4 -4
- package/dist/ps-slash.js +2 -2
- package/dist/pwsh.d.ts +0 -1
- package/dist/{py-parser-GPM5VYRG.js → py-parser-IS4HKYMF.js} +4 -4
- package/dist/read.js +8 -8
- package/dist/replace.js +8 -8
- package/dist/{rs-parser-WVQ4KYCX.js → rs-parser-XHUUO2KZ.js} +2 -2
- package/dist/session-kanban-sync.d.ts +0 -6
- package/dist/session-kanban.js +1 -1
- package/dist/spawn-background.d.ts +1 -1
- package/dist/task.js +4 -4
- package/dist/test.js +5 -5
- package/dist/todo.js +3 -3
- package/dist/tool-tier.js +38 -38
- package/dist/{tree-sitter-parser-YCILHGZD.js → tree-sitter-parser-AIERW3YI.js} +2 -4
- package/dist/{ts-parser-YH4ZMWMH.js → ts-parser-RCTYKSVI.js} +2 -2
- package/dist/typecheck.js +5 -5
- package/dist/write.js +9 -9
- package/dist/{yaml-parser-GFAOKV53.js → yaml-parser-4SAXV3PL.js} +2 -2
- package/package.json +6 -6
- package/dist/parser-dispatch-VPOFDO2U.js +0 -14
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getIndexState,
|
|
3
3
|
searchCodebaseIndex
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-HYX2TZ7O.js";
|
|
5
5
|
import {
|
|
6
6
|
codebaseIndexDirOverride
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-DA4KNE2H.js";
|
|
8
8
|
import {
|
|
9
9
|
isBinaryBuffer,
|
|
10
10
|
safeResolveReal,
|
|
@@ -292,4 +292,4 @@ ${interesting.join("\n")}` : "symbols/imports: (none detected)"
|
|
|
292
292
|
export {
|
|
293
293
|
readTool
|
|
294
294
|
};
|
|
295
|
-
//# sourceMappingURL=chunk-
|
|
295
|
+
//# sourceMappingURL=chunk-JOHXDF3D.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseTreeSitterAst
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-EEOFQDT6.js";
|
|
4
4
|
import {
|
|
5
5
|
spawnStream
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-22B7GE5T.js";
|
|
7
7
|
import {
|
|
8
8
|
codebaseIndexStats,
|
|
9
9
|
enqueueReindex,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
outgoingCallsService,
|
|
14
14
|
runStartupIndex,
|
|
15
15
|
searchCodebaseIndex
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-HYX2TZ7O.js";
|
|
17
17
|
import {
|
|
18
18
|
IndexTimeoutError,
|
|
19
19
|
SCHEMA_VERSION,
|
|
@@ -21,12 +21,12 @@ import {
|
|
|
21
21
|
indexCircuitBreaker,
|
|
22
22
|
indexStorePool,
|
|
23
23
|
resolveIndexDir
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-DA4KNE2H.js";
|
|
25
25
|
import {
|
|
26
26
|
EXT_TO_LANG,
|
|
27
27
|
detectLang,
|
|
28
28
|
isIndexablePath
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-TEBQ4VPZ.js";
|
|
30
30
|
import {
|
|
31
31
|
normalizeCommandOutput
|
|
32
32
|
} from "./chunk-D33S4RQG.js";
|
|
@@ -2827,4 +2827,4 @@ export {
|
|
|
2827
2827
|
deadCodeScanTool,
|
|
2828
2828
|
runDeadCodeScan
|
|
2829
2829
|
};
|
|
2830
|
-
//# sourceMappingURL=chunk-
|
|
2830
|
+
//# sourceMappingURL=chunk-L25CVUVR.js.map
|
|
@@ -52,7 +52,7 @@ var outdatedTool = {
|
|
|
52
52
|
const manager = await detectPackageManager(cwd, ctx.projectRoot);
|
|
53
53
|
if (manager === "npm") {
|
|
54
54
|
try {
|
|
55
|
-
const { detectNonJsEcosystem } = await import("./legacy-bridge-
|
|
55
|
+
const { detectNonJsEcosystem } = await import("./legacy-bridge-7M6QLUQN.js");
|
|
56
56
|
const nonJs = await detectNonJsEcosystem(cwd, ctx.projectRoot);
|
|
57
57
|
if (nonJs) {
|
|
58
58
|
const { planLanguageOperation, executePackagePlan } = await import("./languages/index.js");
|
|
@@ -194,4 +194,4 @@ Note: exit code 1 from \`outdated\` means outdated packages were found (expected
|
|
|
194
194
|
export {
|
|
195
195
|
outdatedTool
|
|
196
196
|
};
|
|
197
|
-
//# sourceMappingURL=chunk-
|
|
197
|
+
//# sourceMappingURL=chunk-LWKUTMD5.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
builtinToolsPack
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-I64BS3VC.js";
|
|
4
4
|
import {
|
|
5
5
|
TIER1_TOOLS,
|
|
6
6
|
TIER2_TOOLS
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VXECAJJ7.js";
|
|
8
8
|
|
|
9
9
|
// src/tool-tier.ts
|
|
10
10
|
function toolNameSet(tools) {
|
|
@@ -51,4 +51,4 @@ export {
|
|
|
51
51
|
selectBuiltinToolsForTier,
|
|
52
52
|
registerBuiltinToolTier
|
|
53
53
|
};
|
|
54
|
-
//# sourceMappingURL=chunk-
|
|
54
|
+
//# sourceMappingURL=chunk-MQX2KXVW.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-Q5JPPCZC.js";
|
|
4
4
|
import {
|
|
5
5
|
enqueueReindex
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HYX2TZ7O.js";
|
|
7
7
|
import {
|
|
8
8
|
isBinaryBuffer,
|
|
9
9
|
safeResolveReal,
|
|
@@ -356,4 +356,4 @@ export {
|
|
|
356
356
|
replaceTool,
|
|
357
357
|
__resetRgDetectionForTests
|
|
358
358
|
};
|
|
359
|
-
//# sourceMappingURL=chunk-
|
|
359
|
+
//# sourceMappingURL=chunk-MZZN7VCD.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
todoTool
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7EY5DCRO.js";
|
|
4
4
|
import {
|
|
5
5
|
projectSessionPlanToKanban
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PY2IOS7C.js";
|
|
7
7
|
|
|
8
8
|
// src/plan.ts
|
|
9
9
|
import { randomUUID } from "node:crypto";
|
|
@@ -363,4 +363,4 @@ function mkResult(plan, ok, message, todos) {
|
|
|
363
363
|
export {
|
|
364
364
|
planTool
|
|
365
365
|
};
|
|
366
|
-
//# sourceMappingURL=chunk-
|
|
366
|
+
//# sourceMappingURL=chunk-NKJW5GFO.js.map
|
|
@@ -118,7 +118,7 @@ async function readRegistryFile(filePath) {
|
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
async function writeRegistryFile(filePath, data) {
|
|
121
|
-
const tmpPath = `${filePath}.tmp.${process.pid}`;
|
|
121
|
+
const tmpPath = `${filePath}.tmp.${process.pid}.${Date.now().toString(36)}.${Math.random().toString(36).slice(2, 8)}`;
|
|
122
122
|
const content = JSON.stringify(
|
|
123
123
|
data,
|
|
124
124
|
(_k, v) => {
|
|
@@ -519,4 +519,4 @@ export {
|
|
|
519
519
|
getPersistentProcessRegistry,
|
|
520
520
|
resetPersistentProcessRegistry
|
|
521
521
|
};
|
|
522
|
-
//# sourceMappingURL=chunk-
|
|
522
|
+
//# sourceMappingURL=chunk-NKNOBUBU.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
tryLegacyCodeOperation
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PQKK5JH7.js";
|
|
4
4
|
import {
|
|
5
5
|
spawnStream
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-22B7GE5T.js";
|
|
7
7
|
import {
|
|
8
8
|
normalizeCommandOutput,
|
|
9
9
|
safeResolveReal
|
|
@@ -131,4 +131,4 @@ async function detectLinter(cwd) {
|
|
|
131
131
|
export {
|
|
132
132
|
lintTool
|
|
133
133
|
};
|
|
134
|
-
//# sourceMappingURL=chunk-
|
|
134
|
+
//# sourceMappingURL=chunk-O4MBV4AX.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
spawnStream
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-22B7GE5T.js";
|
|
4
4
|
import {
|
|
5
5
|
normalizeCommandOutput,
|
|
6
6
|
safeResolveReal
|
|
@@ -3512,4 +3512,4 @@ export {
|
|
|
3512
3512
|
languagePackageTool,
|
|
3513
3513
|
languageInfoTool
|
|
3514
3514
|
};
|
|
3515
|
-
//# sourceMappingURL=chunk-
|
|
3515
|
+
//# sourceMappingURL=chunk-OUBDL3WH.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
executeLanguagePlan,
|
|
3
3
|
executePackagePlan,
|
|
4
4
|
planLanguageOperation
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-OUBDL3WH.js";
|
|
6
6
|
|
|
7
7
|
// src/languages/legacy-bridge.ts
|
|
8
8
|
import * as fs from "node:fs/promises";
|
|
@@ -98,4 +98,4 @@ export {
|
|
|
98
98
|
tryLegacyCodeOperation,
|
|
99
99
|
tryLegacyPackageOperation
|
|
100
100
|
};
|
|
101
|
-
//# sourceMappingURL=chunk-
|
|
101
|
+
//# sourceMappingURL=chunk-PQKK5JH7.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
enqueueReindex
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HYX2TZ7O.js";
|
|
4
4
|
import {
|
|
5
5
|
resolveRealInsideRoot,
|
|
6
6
|
safeResolveReal,
|
|
@@ -312,4 +312,4 @@ function extractPatchedFiles(output) {
|
|
|
312
312
|
export {
|
|
313
313
|
patchTool
|
|
314
314
|
};
|
|
315
|
-
//# sourceMappingURL=chunk-
|
|
315
|
+
//# sourceMappingURL=chunk-QZQSPUBF.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
tryLegacyCodeOperation
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PQKK5JH7.js";
|
|
4
4
|
import {
|
|
5
5
|
spawnStream
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-22B7GE5T.js";
|
|
7
7
|
import {
|
|
8
8
|
normalizeCommandOutput,
|
|
9
9
|
safeResolveReal
|
|
@@ -175,4 +175,4 @@ async function detectFixer(cwd) {
|
|
|
175
175
|
export {
|
|
176
176
|
formatTool
|
|
177
177
|
};
|
|
178
|
-
//# sourceMappingURL=chunk-
|
|
178
|
+
//# sourceMappingURL=chunk-SDLVH5RZ.js.map
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk-BTSFTGIL.js";
|
|
4
4
|
import {
|
|
5
5
|
getPersistentProcessRegistry
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-NKNOBUBU.js";
|
|
7
7
|
import {
|
|
8
8
|
createOutputSpool,
|
|
9
9
|
spoolNote
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2VSZC6QM.js";
|
|
11
11
|
import {
|
|
12
12
|
getProcessRegistry,
|
|
13
13
|
redactCommand
|
|
@@ -1720,4 +1720,4 @@ export {
|
|
|
1720
1720
|
getExecAllowlist,
|
|
1721
1721
|
execTool
|
|
1722
1722
|
};
|
|
1723
|
-
//# sourceMappingURL=chunk-
|
|
1723
|
+
//# sourceMappingURL=chunk-T2F4S7U4.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
checkSyntax
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FQZOHLG3.js";
|
|
4
4
|
import {
|
|
5
5
|
enqueueReindex
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HYX2TZ7O.js";
|
|
7
7
|
import {
|
|
8
8
|
safeResolveReal,
|
|
9
9
|
sha256hex,
|
|
@@ -151,4 +151,4 @@ async function finishWrite(input, ctx, prepared, signal) {
|
|
|
151
151
|
export {
|
|
152
152
|
writeTool
|
|
153
153
|
};
|
|
154
|
-
//# sourceMappingURL=chunk-
|
|
154
|
+
//# sourceMappingURL=chunk-VFKPWSOX.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
tryLegacyPackageOperation
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PQKK5JH7.js";
|
|
4
4
|
import {
|
|
5
5
|
spawnStream
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-22B7GE5T.js";
|
|
7
7
|
import {
|
|
8
8
|
COMMAND_OUTPUT_MAX_BYTES,
|
|
9
9
|
detectPackageManager,
|
|
@@ -187,4 +187,4 @@ function extractAdvisories(data) {
|
|
|
187
187
|
export {
|
|
188
188
|
auditTool
|
|
189
189
|
};
|
|
190
|
-
//# sourceMappingURL=chunk-
|
|
190
|
+
//# sourceMappingURL=chunk-VJNHFZ7J.js.map
|
|
@@ -14,13 +14,13 @@ import {
|
|
|
14
14
|
codebaseStatsTool,
|
|
15
15
|
codebaseTargetedTestTool,
|
|
16
16
|
deadCodeScanTool
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-L25CVUVR.js";
|
|
18
18
|
import {
|
|
19
19
|
planTool
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-NKJW5GFO.js";
|
|
21
21
|
import {
|
|
22
22
|
taskTool
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-DR7JOQTC.js";
|
|
24
24
|
import {
|
|
25
25
|
toolSearchTool
|
|
26
26
|
} from "./chunk-RJZQWEMS.js";
|
|
@@ -38,16 +38,16 @@ import {
|
|
|
38
38
|
} from "./chunk-6RNIFLG4.js";
|
|
39
39
|
import {
|
|
40
40
|
testTool
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-BSLVR56S.js";
|
|
42
42
|
import {
|
|
43
43
|
installTool
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-5H4GSJAI.js";
|
|
45
45
|
import {
|
|
46
46
|
auditTool
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-VJNHFZ7J.js";
|
|
48
48
|
import {
|
|
49
49
|
outdatedTool
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-LWKUTMD5.js";
|
|
51
51
|
import {
|
|
52
52
|
logsTool
|
|
53
53
|
} from "./chunk-RGISBZBD.js";
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
} from "./chunk-RXISBFR5.js";
|
|
63
63
|
import {
|
|
64
64
|
patchTool
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-QZQSPUBF.js";
|
|
66
66
|
import {
|
|
67
67
|
jsonTool
|
|
68
68
|
} from "./chunk-VB3MJGCV.js";
|
|
@@ -74,21 +74,21 @@ import {
|
|
|
74
74
|
} from "./chunk-J5SKD6LN.js";
|
|
75
75
|
import {
|
|
76
76
|
lintTool
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-O4MBV4AX.js";
|
|
78
78
|
import {
|
|
79
79
|
formatTool
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-SDLVH5RZ.js";
|
|
81
81
|
import {
|
|
82
82
|
typecheckTool
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-EJWSCQ6D.js";
|
|
84
84
|
import {
|
|
85
85
|
languageInfoTool,
|
|
86
86
|
languagePackageTool,
|
|
87
87
|
languageTool
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-OUBDL3WH.js";
|
|
89
89
|
import {
|
|
90
90
|
replaceTool
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-MZZN7VCD.js";
|
|
92
92
|
import {
|
|
93
93
|
globTool
|
|
94
94
|
} from "./chunk-UNSKG6DC.js";
|
|
@@ -100,18 +100,18 @@ import {
|
|
|
100
100
|
checkAndBlockKillCommand,
|
|
101
101
|
diagnoseBashism,
|
|
102
102
|
shellArgs
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-IVWV2UM6.js";
|
|
104
104
|
import {
|
|
105
105
|
detectDanger,
|
|
106
106
|
execTool
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-T2F4S7U4.js";
|
|
108
108
|
import {
|
|
109
109
|
buildChildEnv
|
|
110
110
|
} from "./chunk-BTSFTGIL.js";
|
|
111
111
|
import {
|
|
112
112
|
createOutputSpool,
|
|
113
113
|
spoolNote
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-2VSZC6QM.js";
|
|
115
115
|
import {
|
|
116
116
|
getProcessRegistry,
|
|
117
117
|
redactCommand
|
|
@@ -124,22 +124,22 @@ import {
|
|
|
124
124
|
} from "./chunk-4I4LWFOO.js";
|
|
125
125
|
import {
|
|
126
126
|
todoTool
|
|
127
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-7EY5DCRO.js";
|
|
128
128
|
import {
|
|
129
129
|
kanbanTool
|
|
130
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-JNNVRHMV.js";
|
|
131
131
|
import {
|
|
132
132
|
browserTools
|
|
133
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-K3WNSHUF.js";
|
|
134
134
|
import {
|
|
135
135
|
readTool
|
|
136
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-JOHXDF3D.js";
|
|
137
137
|
import {
|
|
138
138
|
writeTool
|
|
139
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-VFKPWSOX.js";
|
|
140
140
|
import {
|
|
141
141
|
editTool
|
|
142
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-ZJQ4IGXK.js";
|
|
143
143
|
import {
|
|
144
144
|
resolvePowerShell
|
|
145
145
|
} from "./chunk-V43EQ6VR.js";
|
|
@@ -1088,4 +1088,4 @@ export {
|
|
|
1088
1088
|
TIER3_TOOLS,
|
|
1089
1089
|
builtinTools
|
|
1090
1090
|
};
|
|
1091
|
-
//# sourceMappingURL=chunk-
|
|
1091
|
+
//# sourceMappingURL=chunk-VXECAJJ7.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
checkSyntax
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FQZOHLG3.js";
|
|
4
4
|
import {
|
|
5
5
|
enqueueReindex
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HYX2TZ7O.js";
|
|
7
7
|
import {
|
|
8
8
|
safeResolveReal,
|
|
9
9
|
sha256hex,
|
|
@@ -471,4 +471,4 @@ Compare this against your old_string and retry with the file's actual text.` : "
|
|
|
471
471
|
export {
|
|
472
472
|
editTool
|
|
473
473
|
};
|
|
474
|
-
//# sourceMappingURL=chunk-
|
|
474
|
+
//# sourceMappingURL=chunk-ZJQ4IGXK.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
parseParserOutput,
|
|
6
6
|
withSpawnGate
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-UCYQTZ7F.js";
|
|
8
8
|
import {
|
|
9
9
|
resolveWin32Command
|
|
10
10
|
} from "./chunk-V43EQ6VR.js";
|
|
@@ -382,4 +382,4 @@ export {
|
|
|
382
382
|
parseSymbols,
|
|
383
383
|
resolvePythonBinary
|
|
384
384
|
};
|
|
385
|
-
//# sourceMappingURL=chunk-
|
|
385
|
+
//# sourceMappingURL=chunk-ZLTFLC25.js.map
|
|
@@ -35,26 +35,26 @@ export interface InvariantEvaluationResult {
|
|
|
35
35
|
durationMs: number;
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
|
-
|
|
38
|
+
interface ParameterContract {
|
|
39
39
|
name: string;
|
|
40
40
|
isOptional: boolean;
|
|
41
41
|
hasDefault: boolean;
|
|
42
42
|
isRest: boolean;
|
|
43
43
|
type?: string | undefined;
|
|
44
44
|
}
|
|
45
|
-
|
|
45
|
+
interface FunctionContract {
|
|
46
46
|
name: string;
|
|
47
47
|
isExported: boolean;
|
|
48
48
|
params: ParameterContract[];
|
|
49
49
|
returnType?: string | undefined;
|
|
50
50
|
}
|
|
51
|
-
|
|
51
|
+
interface InterfacePropertyContract {
|
|
52
52
|
name: string;
|
|
53
53
|
isOptional: boolean;
|
|
54
54
|
hasDefault?: boolean | undefined;
|
|
55
55
|
type?: string | undefined;
|
|
56
56
|
}
|
|
57
|
-
|
|
57
|
+
interface InterfaceContract {
|
|
58
58
|
name: string;
|
|
59
59
|
isExported: boolean;
|
|
60
60
|
properties: InterfacePropertyContract[];
|
|
@@ -99,4 +99,5 @@ export declare class PolyglotInvariantEngine {
|
|
|
99
99
|
}
|
|
100
100
|
/** Singleton instance ready for use across WrongStack */
|
|
101
101
|
export declare const polyglotInvariantEngine: PolyglotInvariantEngine;
|
|
102
|
+
export {};
|
|
102
103
|
//# sourceMappingURL=ast-invariant-engine.d.ts.map
|
|
@@ -25,8 +25,6 @@
|
|
|
25
25
|
* of a different version (the buildId changes when the compiled artifact
|
|
26
26
|
* changes), so there is no protocol ambiguity in practice.
|
|
27
27
|
*/
|
|
28
|
-
/** Magic byte that prefixes every binary frame. 'W' for WrongStack. */
|
|
29
|
-
export declare const BINARY_FRAME_MAGIC = 87;
|
|
30
28
|
/**
|
|
31
29
|
* Hard cap on one binary frame's declared payload length for the CLIENT
|
|
32
30
|
* reader (project-server-client.ts). A malformed or hostile peer could
|
|
@@ -52,7 +52,7 @@ export declare class IndexTimeoutError extends Error {
|
|
|
52
52
|
export declare class LockError extends Error {
|
|
53
53
|
readonly name = "LockError";
|
|
54
54
|
}
|
|
55
|
-
|
|
55
|
+
interface CircuitBreakerOptions {
|
|
56
56
|
/** Consecutive failures before the circuit opens. Default: 3. */
|
|
57
57
|
failureThreshold?: number | undefined;
|
|
58
58
|
/** How long an open circuit rejects requests before allowing a probe. Default: 60s. */
|
|
@@ -91,4 +91,5 @@ export declare class IndexCircuitBreaker {
|
|
|
91
91
|
export declare const indexCircuitBreaker: IndexCircuitBreaker;
|
|
92
92
|
/** Reset the shared breaker — used by `/codebase-reindex` and tests. */
|
|
93
93
|
export declare function resetIndexCircuitBreaker(): void;
|
|
94
|
+
export {};
|
|
94
95
|
//# sourceMappingURL=circuit-breaker.d.ts.map
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import type { Tool } from '@wrongstack/core/types';
|
|
12
12
|
import { type MutateSymbolOptions } from './ast-symbol-mutator.js';
|
|
13
|
-
|
|
13
|
+
interface CodebaseAstReplaceInput extends MutateSymbolOptions {
|
|
14
14
|
}
|
|
15
|
-
|
|
15
|
+
interface CodebaseAstReplaceOutput {
|
|
16
16
|
status: 'ok' | 'error';
|
|
17
17
|
file: string;
|
|
18
18
|
symbol: string;
|
|
@@ -28,4 +28,5 @@ export interface CodebaseAstReplaceOutput {
|
|
|
28
28
|
error?: string | undefined;
|
|
29
29
|
}
|
|
30
30
|
export declare const codebaseAstReplaceTool: Tool<CodebaseAstReplaceInput, CodebaseAstReplaceOutput>;
|
|
31
|
+
export {};
|
|
31
32
|
//# sourceMappingURL=codebase-ast-replace-tool.d.ts.map
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* })
|
|
9
9
|
*/
|
|
10
10
|
import type { Tool } from '@wrongstack/core/types';
|
|
11
|
-
|
|
11
|
+
interface ImpactAnalysisInput {
|
|
12
12
|
/** The symbol name (function, method, class, interface, type) to analyze. */
|
|
13
13
|
symbol: string;
|
|
14
14
|
/** Optional file path to disambiguate when multiple symbols share a name. */
|
|
@@ -16,7 +16,7 @@ export interface ImpactAnalysisInput {
|
|
|
16
16
|
/** Whether to traverse transitive callers (callers of callers). Defaults to true. */
|
|
17
17
|
transitive?: boolean | undefined;
|
|
18
18
|
}
|
|
19
|
-
|
|
19
|
+
interface ImpactCallSite {
|
|
20
20
|
file: string;
|
|
21
21
|
line: number;
|
|
22
22
|
callerName: string;
|
|
@@ -24,7 +24,7 @@ export interface ImpactCallSite {
|
|
|
24
24
|
callType: string;
|
|
25
25
|
isTest: boolean;
|
|
26
26
|
}
|
|
27
|
-
|
|
27
|
+
interface ImpactAnalysisOutput {
|
|
28
28
|
status: 'ok' | 'error';
|
|
29
29
|
symbol: string;
|
|
30
30
|
riskLevel: 'low' | 'medium' | 'high';
|
|
@@ -39,4 +39,5 @@ export interface ImpactAnalysisOutput {
|
|
|
39
39
|
error?: string | undefined;
|
|
40
40
|
}
|
|
41
41
|
export declare const codebaseImpactAnalysisTool: Tool<ImpactAnalysisInput, ImpactAnalysisOutput>;
|
|
42
|
+
export {};
|
|
42
43
|
//# sourceMappingURL=codebase-impact-analysis-tool.d.ts.map
|
|
@@ -7,17 +7,18 @@
|
|
|
7
7
|
import type { Tool } from '@wrongstack/core/types';
|
|
8
8
|
import { type InvariantViolation } from './ast-invariant-engine.js';
|
|
9
9
|
import type { SymbolLang } from './schema.js';
|
|
10
|
-
|
|
10
|
+
interface CodebaseInvariantCheckInput {
|
|
11
11
|
file?: string | undefined;
|
|
12
12
|
originalCode?: string | undefined;
|
|
13
13
|
modifiedCode: string;
|
|
14
14
|
lang?: SymbolLang | undefined;
|
|
15
15
|
}
|
|
16
|
-
|
|
16
|
+
interface CodebaseInvariantCheckOutput {
|
|
17
17
|
valid: boolean;
|
|
18
18
|
violations: InvariantViolation[];
|
|
19
19
|
summary: string;
|
|
20
20
|
error?: string | undefined;
|
|
21
21
|
}
|
|
22
22
|
export declare const codebaseInvariantCheckTool: Tool<CodebaseInvariantCheckInput, CodebaseInvariantCheckOutput>;
|
|
23
|
+
export {};
|
|
23
24
|
//# sourceMappingURL=codebase-invariant-check-tool.d.ts.map
|
|
@@ -8,15 +8,16 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import type { Tool } from '@wrongstack/core/types';
|
|
10
10
|
import { type RepoMapResult } from './repo-map.js';
|
|
11
|
-
|
|
11
|
+
interface CodebaseRepoMapInput {
|
|
12
12
|
/** Maximum token budget (approximate) for the generated map. Defaults to 1200. */
|
|
13
13
|
maxTokens?: number | undefined;
|
|
14
14
|
/** Optional file paths to prioritize and boost in the map generation. */
|
|
15
15
|
focusFiles?: string[] | undefined;
|
|
16
16
|
}
|
|
17
|
-
|
|
17
|
+
interface CodebaseRepoMapOutput extends RepoMapResult {
|
|
18
18
|
status: 'ok' | 'error';
|
|
19
19
|
error?: string | undefined;
|
|
20
20
|
}
|
|
21
21
|
export declare const codebaseRepoMapTool: Tool<CodebaseRepoMapInput, CodebaseRepoMapOutput>;
|
|
22
|
+
export {};
|
|
22
23
|
//# sourceMappingURL=codebase-repo-map-tool.d.ts.map
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
import type { Tool } from '@wrongstack/core/types';
|
|
15
15
|
import { type FileSkeletonResult, type SkeletonOptions } from './skeleton-extractor.js';
|
|
16
|
-
|
|
16
|
+
interface CodebaseSkeletonInput extends SkeletonOptions {
|
|
17
17
|
/** Relative or absolute file or directory path. */
|
|
18
18
|
path: string;
|
|
19
19
|
/** Maximum number of files to process if `path` is a directory. Defaults to 20. */
|
|
20
20
|
maxFiles?: number;
|
|
21
21
|
}
|
|
22
|
-
|
|
22
|
+
interface CodebaseSkeletonOutput {
|
|
23
23
|
path: string;
|
|
24
24
|
isDir: boolean;
|
|
25
25
|
skeleton: string;
|
|
@@ -33,4 +33,5 @@ export interface CodebaseSkeletonOutput {
|
|
|
33
33
|
files?: FileSkeletonResult[];
|
|
34
34
|
}
|
|
35
35
|
export declare const codebaseSkeletonTool: Tool<CodebaseSkeletonInput, CodebaseSkeletonOutput>;
|
|
36
|
+
export {};
|
|
36
37
|
//# sourceMappingURL=codebase-skeleton-tool.d.ts.map
|