@wrongstack/tools 0.319.1 → 1.0.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/_danger-detect.d.ts +8 -0
- package/dist/_syntax-check.d.ts +1 -2
- package/dist/audit.d.ts +4 -5
- package/dist/audit.js +8 -8
- package/dist/auto-proceed-loop-guard.js +9 -160
- package/dist/bash-kill-guard.d.ts +2 -3
- package/dist/bash.d.ts +2 -3
- package/dist/bash.js +6 -6
- package/dist/batch-tool-use.d.ts +2 -3
- package/dist/batch-tool-use.js +1 -1
- package/dist/browser/index.d.ts +1 -1
- package/dist/browser/index.js +1 -1
- package/dist/browser/tools.d.ts +56 -45
- package/dist/builtin.js +55 -55
- package/dist/{chunk-RJZQWEMS.js → chunk-24T5XIJU.js} +3 -2
- package/dist/{chunk-DTQ75VBC.js → chunk-2CTZW6JQ.js} +2 -2
- package/dist/chunk-37QKUQ2Z.js +171 -0
- package/dist/{chunk-LOBRWKCR.js → chunk-3D5DJWOE.js} +3 -3
- package/dist/{chunk-YOKD4GWJ.js → chunk-4ERMPDHV.js} +14 -8
- package/dist/{chunk-5EUJF3WC.js → chunk-4WPBS45A.js} +4 -5
- package/dist/{chunk-42BHI7TN.js → chunk-5ITQPCLC.js} +2 -2
- package/dist/{chunk-B4HTSV6Z.js → chunk-5KS24LTS.js} +11 -11
- package/dist/{chunk-QPNYDH5B.js → chunk-62OAECEQ.js} +29 -7
- package/dist/{chunk-IYKXK356.js → chunk-6GOZTS6F.js} +4 -4
- package/dist/{chunk-OG2BEUBY.js → chunk-7HL23T3T.js} +73 -16
- package/dist/{chunk-HFXSNKCV.js → chunk-7JJFC6CT.js} +1 -1
- package/dist/{chunk-TTZOK6IY.js → chunk-7N5U2RAU.js} +2 -2
- package/dist/{chunk-QBV725YG.js → chunk-7ODZTPCU.js} +2 -2
- package/dist/{chunk-OTINMOKK.js → chunk-AB2CAUOP.js} +66 -55
- package/dist/{chunk-6AAOT4PW.js → chunk-AQ5YBURX.js} +16 -4
- package/dist/{chunk-JDPQOR7C.js → chunk-ASEXQRA7.js} +19 -19
- package/dist/{chunk-FRN7TIAA.js → chunk-B3MGJBFI.js} +1 -1
- package/dist/{chunk-IWS56OY7.js → chunk-CGXTR34H.js} +63 -4
- package/dist/{chunk-IU4DV2PA.js → chunk-CHEK3ASV.js} +6 -3
- package/dist/{chunk-GOIZNNOA.js → chunk-DJYLI7EW.js} +1 -1
- package/dist/{chunk-CFLJFDYV.js → chunk-DK4J2WMH.js} +14 -11
- package/dist/{chunk-ZHH3BEWU.js → chunk-DRRY6SCM.js} +49 -22
- package/dist/{chunk-BK732J7I.js → chunk-FBUP524S.js} +4 -4
- package/dist/{chunk-WHIIIREL.js → chunk-FVM3O4JQ.js} +7 -3
- package/dist/chunk-FYDBUVQD.js +244 -0
- package/dist/{chunk-UDVKRX5R.js → chunk-GDDXX27P.js} +50 -50
- package/dist/{chunk-O44IMQCN.js → chunk-GKSG5CPH.js} +6 -6
- package/dist/{chunk-3PVYQFRQ.js → chunk-HDYUBRMF.js} +5 -3
- package/dist/{chunk-ELRRTWNP.js → chunk-IXIS7RSG.js} +2 -2
- package/dist/{chunk-X5FOFGXX.js → chunk-IYH4OHBP.js} +6 -6
- package/dist/{chunk-MNP3GE7H.js → chunk-JDOO4P6Z.js} +21 -16
- package/dist/{chunk-BSJSNVGA.js → chunk-KDEXUQY7.js} +24 -11
- package/dist/{chunk-V43EQ6VR.js → chunk-KE7A76VC.js} +3 -2
- package/dist/{chunk-2OXHS3KZ.js → chunk-KLJZ4WV4.js} +4 -3
- package/dist/{chunk-3M7LLN7W.js → chunk-LQSOU63Z.js} +12 -11
- package/dist/{chunk-DC4KMPJO.js → chunk-M6UV67BH.js} +2 -2
- package/dist/{chunk-C2DQKVLO.js → chunk-MJSJWXBF.js} +1 -1
- package/dist/{chunk-RNWUCZ2U.js → chunk-MK2JK35J.js} +29 -12
- package/dist/{chunk-FQZOHLG3.js → chunk-MSOAX3GC.js} +3 -2
- package/dist/{chunk-KY4PXYSO.js → chunk-N3K2SFEI.js} +534 -494
- package/dist/{chunk-EADULOZV.js → chunk-NJX2RXKJ.js} +50 -7
- package/dist/{chunk-AKHYMB4V.js → chunk-NN2SNP2R.js} +6 -6
- package/dist/{chunk-CMOUCKGC.js → chunk-NU2IZ72J.js} +6 -6
- package/dist/{chunk-RLMX75EM.js → chunk-O6BY43ZB.js} +29 -8
- package/dist/{chunk-NKNOBUBU.js → chunk-PVCB7RUZ.js} +2 -2
- package/dist/{chunk-UQQS3VNT.js → chunk-QA6IASYX.js} +8 -8
- package/dist/{chunk-VPALDFYM.js → chunk-RV7BVTDG.js} +1 -1
- package/dist/chunk-S57CDR2H.js +288 -0
- package/dist/{chunk-2VSZC6QM.js → chunk-SCMRM6NL.js} +6 -4
- package/dist/{chunk-W2CECGTG.js → chunk-SMARDKAC.js} +1 -1
- package/dist/{chunk-45JPRMC2.js → chunk-SOR7OCYP.js} +7 -3
- package/dist/{chunk-ATSKPZUK.js → chunk-T3SMFF5Q.js} +11 -5
- package/dist/{chunk-4BHUSMNL.js → chunk-UI3ZJIG3.js} +1 -1
- package/dist/{chunk-WXJY3BKV.js → chunk-VBF2YXUW.js} +2 -2
- package/dist/{chunk-FQNXYA6W.js → chunk-VU3QBYL4.js} +36 -5
- package/dist/{chunk-IIF5HIVF.js → chunk-VVZPQPTY.js} +2 -2
- package/dist/{chunk-VD2LV5WO.js → chunk-VZGPASGD.js} +37 -12
- package/dist/{chunk-64VIJPFV.js → chunk-WEEVSWQB.js} +17 -6
- package/dist/chunk-XXRMF2BC.js +186 -0
- package/dist/{chunk-RTZWBNTY.js → chunk-YEISRT4S.js} +7 -12
- package/dist/{chunk-Q5JPPCZC.js → chunk-YJTXRH5Y.js} +3 -2
- package/dist/{chunk-GMZYW52L.js → chunk-YULVUTK5.js} +6 -3
- package/dist/{chunk-NWZ6XGBJ.js → chunk-ZBMANLYH.js} +5 -3
- package/dist/{chunk-DP6CXMJZ.js → chunk-ZTCJCYLN.js} +3 -3
- package/dist/circuit-breaker.d.ts +1 -0
- package/dist/circuit-breaker.js +1 -1
- package/dist/clarify.d.ts +1 -0
- package/dist/codebase-index/codebase-ast-replace-tool.d.ts +2 -3
- package/dist/codebase-index/codebase-impact-analysis-tool.d.ts +5 -4
- package/dist/codebase-index/codebase-incoming-calls-tool.d.ts +4 -3
- package/dist/codebase-index/codebase-index-tool.d.ts +2 -3
- package/dist/codebase-index/codebase-invariant-check-tool.d.ts +2 -3
- package/dist/codebase-index/codebase-outgoing-calls-tool.d.ts +4 -3
- package/dist/codebase-index/codebase-repo-map-tool.d.ts +2 -3
- package/dist/codebase-index/codebase-search-tool.d.ts +2 -3
- package/dist/codebase-index/codebase-skeleton-tool.d.ts +2 -3
- package/dist/codebase-index/codebase-stats-tool.d.ts +9 -3
- package/dist/codebase-index/codebase-targeted-test-tool.d.ts +4 -3
- package/dist/codebase-index/index.d.ts +11 -11
- package/dist/codebase-index/index.js +12 -12
- package/dist/codebase-index/parser-worker-script.js +3 -3
- package/dist/codebase-index/project-server-framing.d.ts +29 -0
- package/dist/codebase-index/project-server-lifecycle.d.ts +20 -0
- package/dist/codebase-index/project-server-operations.d.ts +37 -0
- package/dist/codebase-index/project-server-types.d.ts +30 -0
- package/dist/codebase-index/project-server-watcher.d.ts +25 -0
- package/dist/codebase-index/project-server.js +451 -394
- package/dist/codebase-index/worker.js +5 -5
- package/dist/codebase-index/writer-init.d.ts +13 -0
- package/dist/codebase-index/writer-maintenance.d.ts +14 -0
- package/dist/codebase-index/writer.d.ts +0 -15
- package/dist/design.d.ts +2 -2
- package/dist/design.js +1 -1
- package/dist/diff.d.ts +4 -4
- package/dist/diff.js +2 -2
- package/dist/document.d.ts +3 -4
- package/dist/document.js +1 -1
- package/dist/e2e.d.ts +1 -1
- package/dist/e2e.js +1 -1
- package/dist/edit.d.ts +3 -3
- package/dist/edit.js +9 -9
- package/dist/exec.d.ts +2 -3
- package/dist/exec.js +6 -6
- package/dist/fetch.d.ts +4 -3
- package/dist/fetch.js +1 -1
- package/dist/format.d.ts +17 -45
- package/dist/format.js +14 -10
- package/dist/git.d.ts +3 -3
- package/dist/git.js +1 -1
- package/dist/glob.d.ts +2 -3
- package/dist/glob.js +3 -3
- package/dist/{go-parser-IKHW67WE.js → go-parser-D7ELWQ7F.js} +2 -2
- package/dist/grep.d.ts +7 -5
- package/dist/grep.js +4 -4
- package/dist/index.d.ts +54 -45
- package/dist/index.js +122 -63
- package/dist/install.d.ts +7 -55
- package/dist/install.js +8 -8
- package/dist/{json-parser-2EOVP5MR.js → json-parser-34DHYCPW.js} +1 -18
- package/dist/json.d.ts +3 -4
- package/dist/json.js +2 -2
- package/dist/kanban-tool-types.d.ts +1 -2
- package/dist/kanban.d.ts +3 -19
- package/dist/kanban.js +1 -1
- package/dist/languages/execute-tool.d.ts +2 -3
- package/dist/languages/index.d.ts +2 -2
- package/dist/languages/index.js +6 -6
- package/dist/languages/tool.d.ts +3 -4
- package/dist/legacy-bridge-YXANP5QB.js +18 -0
- package/dist/lint.d.ts +5 -4
- package/dist/lint.js +8 -8
- package/dist/logs.d.ts +3 -4
- package/dist/logs.js +2 -2
- package/dist/memory.d.ts +7 -8
- package/dist/memory.js +1 -1
- package/dist/mode.d.ts +3 -4
- package/dist/mode.js +1 -1
- package/dist/next-steps-tool.d.ts +2 -3
- package/dist/next-steps.d.ts +11 -0
- package/dist/next-steps.js +10 -132
- package/dist/outdated.d.ts +5 -29
- package/dist/outdated.js +4 -4
- package/dist/pack.js +56 -56
- package/dist/{parser-dispatch-QGC4HSP5.js → parser-dispatch-BDVCJXTV.js} +4 -4
- package/dist/patch.d.ts +2 -3
- package/dist/patch.js +8 -8
- package/dist/plan.d.ts +4 -4
- package/dist/plan.js +3 -3
- package/dist/process-registry.js +2 -2
- package/dist/ps-slash.js +4 -4
- package/dist/pwsh.d.ts +1 -0
- package/dist/{py-parser-RFWG2HYI.js → py-parser-QC6MR4GB.js} +3 -3
- package/dist/read.d.ts +5 -5
- package/dist/read.js +8 -8
- package/dist/replace.d.ts +2 -3
- package/dist/replace.js +10 -10
- package/dist/scaffold.d.ts +7 -3
- package/dist/scaffold.js +3 -1
- package/dist/search.d.ts +17 -3
- package/dist/search.js +5 -1
- package/dist/set-working-dir.d.ts +2 -3
- package/dist/skill.d.ts +4 -5
- package/dist/skill.js +1 -1
- package/dist/task.d.ts +6 -6
- package/dist/task.js +3 -3
- package/dist/test.d.ts +5 -4
- package/dist/test.js +8 -8
- package/dist/todo.d.ts +8 -8
- package/dist/todo.js +2 -2
- package/dist/tool-diff.js +11 -230
- package/dist/tool-help.d.ts +2 -3
- package/dist/tool-help.js +1 -1
- package/dist/tool-search.d.ts +2 -3
- package/dist/tool-search.js +1 -1
- package/dist/tool-summary.js +5 -281
- package/dist/tool-tier.js +57 -57
- package/dist/tool-use.d.ts +2 -3
- package/dist/tool-use.js +1 -1
- package/dist/tree.d.ts +5 -3
- package/dist/tree.js +5 -1
- package/dist/typecheck.d.ts +3 -3
- package/dist/typecheck.js +8 -8
- package/dist/win32.js +1 -1
- package/dist/write.d.ts +2 -3
- package/dist/write.js +9 -9
- package/package.json +5 -5
- package/dist/legacy-bridge-3T7SR4SK.js +0 -18
- package/dist/spawn-background.d.ts +0 -80
package/dist/outdated.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { Tool } from '@wrongstack/core/types';
|
|
2
|
-
interface OutdatedInput {
|
|
2
|
+
export interface OutdatedInput {
|
|
3
3
|
cwd?: string | undefined;
|
|
4
4
|
}
|
|
5
|
-
interface OutdatedPackage {
|
|
5
|
+
export interface OutdatedPackage {
|
|
6
6
|
name: string;
|
|
7
7
|
current: string;
|
|
8
8
|
latest: string;
|
|
@@ -10,37 +10,13 @@ interface OutdatedPackage {
|
|
|
10
10
|
type: string;
|
|
11
11
|
location: string;
|
|
12
12
|
}
|
|
13
|
-
interface OutdatedOutput {
|
|
13
|
+
export interface OutdatedOutput {
|
|
14
14
|
exit_code: number;
|
|
15
15
|
packages: OutdatedPackage[];
|
|
16
16
|
total: number;
|
|
17
17
|
output: string;
|
|
18
18
|
truncated: boolean;
|
|
19
19
|
}
|
|
20
|
-
type OutdatedContext = Parameters<Tool<OutdatedInput, OutdatedOutput>['execute']>[1];
|
|
21
|
-
export declare const outdatedTool:
|
|
22
|
-
name: string;
|
|
23
|
-
category: string;
|
|
24
|
-
description: string;
|
|
25
|
-
usageHint: string;
|
|
26
|
-
permission: "confirm";
|
|
27
|
-
icon: "package";
|
|
28
|
-
subjectKey: string;
|
|
29
|
-
mutating: true;
|
|
30
|
-
capabilities: string[];
|
|
31
|
-
timeoutMs: number;
|
|
32
|
-
inputSchema: {
|
|
33
|
-
type: string;
|
|
34
|
-
properties: {
|
|
35
|
-
cwd: {
|
|
36
|
-
type: string;
|
|
37
|
-
description: string;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
execute(input: OutdatedInput, ctx: OutdatedContext, opts?: {
|
|
42
|
-
signal: AbortSignal;
|
|
43
|
-
}): Promise<OutdatedOutput>;
|
|
44
|
-
};
|
|
45
|
-
export {};
|
|
20
|
+
export type OutdatedContext = Parameters<Tool<OutdatedInput, OutdatedOutput>['execute']>[1];
|
|
21
|
+
export declare const outdatedTool: Tool<OutdatedInput, OutdatedOutput>;
|
|
46
22
|
//# sourceMappingURL=outdated.d.ts.map
|
package/dist/outdated.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
outdatedTool
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-6GOZTS6F.js";
|
|
4
|
+
import "./chunk-HDYUBRMF.js";
|
|
5
|
+
import "./chunk-7JJFC6CT.js";
|
|
6
|
+
import "./chunk-KE7A76VC.js";
|
|
7
7
|
import "./chunk-ZUFHAHTE.js";
|
|
8
8
|
export {
|
|
9
9
|
outdatedTool
|
package/dist/pack.js
CHANGED
|
@@ -1,68 +1,68 @@
|
|
|
1
1
|
import {
|
|
2
2
|
builtinToolsPack
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-M6UV67BH.js";
|
|
4
|
+
import "./chunk-AB2CAUOP.js";
|
|
5
|
+
import "./chunk-RV7BVTDG.js";
|
|
6
|
+
import "./chunk-YEISRT4S.js";
|
|
7
7
|
import "./chunk-XRNN44QY.js";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-5KS24LTS.js";
|
|
9
|
+
import "./chunk-LQSOU63Z.js";
|
|
10
|
+
import "./chunk-24T5XIJU.js";
|
|
11
|
+
import "./chunk-B3MGJBFI.js";
|
|
12
|
+
import "./chunk-VBF2YXUW.js";
|
|
13
|
+
import "./chunk-7ODZTPCU.js";
|
|
14
|
+
import "./chunk-IXIS7RSG.js";
|
|
15
|
+
import "./chunk-QA6IASYX.js";
|
|
16
|
+
import "./chunk-O6BY43ZB.js";
|
|
17
|
+
import "./chunk-WEEVSWQB.js";
|
|
18
|
+
import "./chunk-6GOZTS6F.js";
|
|
19
|
+
import "./chunk-VU3QBYL4.js";
|
|
20
|
+
import "./chunk-CHEK3ASV.js";
|
|
21
|
+
import "./chunk-KLJZ4WV4.js";
|
|
22
|
+
import "./chunk-AQ5YBURX.js";
|
|
23
|
+
import "./chunk-CGXTR34H.js";
|
|
24
|
+
import "./chunk-VZGPASGD.js";
|
|
25
|
+
import "./chunk-7HL23T3T.js";
|
|
26
|
+
import "./chunk-JDOO4P6Z.js";
|
|
27
|
+
import "./chunk-3D5DJWOE.js";
|
|
28
|
+
import "./chunk-NJX2RXKJ.js";
|
|
29
|
+
import "./chunk-4WPBS45A.js";
|
|
30
|
+
import "./chunk-T3SMFF5Q.js";
|
|
31
|
+
import "./chunk-7N5U2RAU.js";
|
|
32
|
+
import "./chunk-DRRY6SCM.js";
|
|
33
|
+
import "./chunk-IYH4OHBP.js";
|
|
34
|
+
import "./chunk-ASEXQRA7.js";
|
|
35
|
+
import "./chunk-4ERMPDHV.js";
|
|
36
|
+
import "./chunk-YJTXRH5Y.js";
|
|
37
|
+
import "./chunk-ZBMANLYH.js";
|
|
38
|
+
import "./chunk-NN2SNP2R.js";
|
|
39
|
+
import "./chunk-KDEXUQY7.js";
|
|
40
40
|
import "./chunk-BTSFTGIL.js";
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-PVCB7RUZ.js";
|
|
42
|
+
import "./chunk-SCMRM6NL.js";
|
|
43
|
+
import "./chunk-HDYUBRMF.js";
|
|
44
|
+
import "./chunk-7JJFC6CT.js";
|
|
45
|
+
import "./chunk-MJSJWXBF.js";
|
|
46
|
+
import "./chunk-62OAECEQ.js";
|
|
47
47
|
import "./chunk-NBDZMMG2.js";
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
48
|
+
import "./chunk-FBUP524S.js";
|
|
49
|
+
import "./chunk-SMARDKAC.js";
|
|
50
50
|
import "./chunk-X6KXNHUO.js";
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-SOR7OCYP.js";
|
|
52
|
+
import "./chunk-MK2JK35J.js";
|
|
53
|
+
import "./chunk-GKSG5CPH.js";
|
|
54
|
+
import "./chunk-DK4J2WMH.js";
|
|
55
|
+
import "./chunk-MSOAX3GC.js";
|
|
56
|
+
import "./chunk-ZTCJCYLN.js";
|
|
57
|
+
import "./chunk-GDDXX27P.js";
|
|
58
|
+
import "./chunk-N3K2SFEI.js";
|
|
59
|
+
import "./chunk-NU2IZ72J.js";
|
|
60
|
+
import "./chunk-VVZPQPTY.js";
|
|
61
61
|
import "./chunk-6IEBD27U.js";
|
|
62
62
|
import "./chunk-UCYQTZ7F.js";
|
|
63
63
|
import "./chunk-YOHO4DVT.js";
|
|
64
|
-
import "./chunk-
|
|
65
|
-
import "./chunk-
|
|
64
|
+
import "./chunk-2CTZW6JQ.js";
|
|
65
|
+
import "./chunk-KE7A76VC.js";
|
|
66
66
|
import "./chunk-ZUFHAHTE.js";
|
|
67
67
|
export {
|
|
68
68
|
builtinToolsPack
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseFileContent,
|
|
3
3
|
parseFilesContent
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-NU2IZ72J.js";
|
|
5
|
+
import "./chunk-VVZPQPTY.js";
|
|
6
6
|
import "./chunk-6IEBD27U.js";
|
|
7
7
|
import "./chunk-UCYQTZ7F.js";
|
|
8
8
|
import "./chunk-YOHO4DVT.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-KE7A76VC.js";
|
|
10
10
|
export {
|
|
11
11
|
parseFileContent,
|
|
12
12
|
parseFilesContent
|
|
13
13
|
};
|
|
14
|
-
//# sourceMappingURL=parser-dispatch-
|
|
14
|
+
//# sourceMappingURL=parser-dispatch-BDVCJXTV.js.map
|
package/dist/patch.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { Tool } from '@wrongstack/core/types';
|
|
2
|
-
interface PatchInput {
|
|
2
|
+
export interface PatchInput {
|
|
3
3
|
patch: string;
|
|
4
4
|
directory?: string | undefined;
|
|
5
5
|
strip?: number | undefined;
|
|
6
6
|
dry_run?: boolean | undefined;
|
|
7
7
|
}
|
|
8
|
-
interface PatchOutput {
|
|
8
|
+
export interface PatchOutput {
|
|
9
9
|
applied: number;
|
|
10
10
|
rejected: number;
|
|
11
11
|
files: string[];
|
|
@@ -13,5 +13,4 @@ interface PatchOutput {
|
|
|
13
13
|
message: string;
|
|
14
14
|
}
|
|
15
15
|
export declare const patchTool: Tool<PatchInput, PatchOutput>;
|
|
16
|
-
export {};
|
|
17
16
|
//# sourceMappingURL=patch.d.ts.map
|
package/dist/patch.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
patchTool
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-CGXTR34H.js";
|
|
4
|
+
import "./chunk-ZTCJCYLN.js";
|
|
5
|
+
import "./chunk-GDDXX27P.js";
|
|
6
|
+
import "./chunk-N3K2SFEI.js";
|
|
7
|
+
import "./chunk-NU2IZ72J.js";
|
|
8
|
+
import "./chunk-VVZPQPTY.js";
|
|
9
9
|
import "./chunk-6IEBD27U.js";
|
|
10
10
|
import "./chunk-UCYQTZ7F.js";
|
|
11
11
|
import "./chunk-YOHO4DVT.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-2CTZW6JQ.js";
|
|
13
|
+
import "./chunk-KE7A76VC.js";
|
|
14
14
|
import "./chunk-ZUFHAHTE.js";
|
|
15
15
|
export {
|
|
16
16
|
patchTool
|
package/dist/plan.d.ts
CHANGED
|
@@ -13,8 +13,9 @@ import type { Tool } from '@wrongstack/core/types';
|
|
|
13
13
|
* derive / template_use / clear via a single tool registration instead of
|
|
14
14
|
* bloating the surface with nine near-identical tools.
|
|
15
15
|
*/
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
export type PlanAction = 'show' | 'add' | 'status' | 'start' | 'done' | 'remove' | 'promote' | 'template_use' | 'clear' | 'taskify';
|
|
17
|
+
export interface PlanInput {
|
|
18
|
+
action: PlanAction;
|
|
18
19
|
/** Required for add. */
|
|
19
20
|
title?: string | undefined;
|
|
20
21
|
/** Optional detail line for add. */
|
|
@@ -35,7 +36,7 @@ interface PlanInput {
|
|
|
35
36
|
*/
|
|
36
37
|
scope?: 'session' | 'project';
|
|
37
38
|
}
|
|
38
|
-
interface PlanOutput {
|
|
39
|
+
export interface PlanOutput {
|
|
39
40
|
ok: boolean;
|
|
40
41
|
message: string;
|
|
41
42
|
/** Formatted plan after the operation. Same string the user sees from `/plan show`. */
|
|
@@ -54,5 +55,4 @@ interface PlanOutput {
|
|
|
54
55
|
}>;
|
|
55
56
|
}
|
|
56
57
|
export declare const planTool: Tool<PlanInput, PlanOutput>;
|
|
57
|
-
export {};
|
|
58
58
|
//# sourceMappingURL=plan.d.ts.map
|
package/dist/plan.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
planTool
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-5KS24LTS.js";
|
|
4
|
+
import "./chunk-FBUP524S.js";
|
|
5
|
+
import "./chunk-SMARDKAC.js";
|
|
6
6
|
import "./chunk-X6KXNHUO.js";
|
|
7
7
|
export {
|
|
8
8
|
planTool
|
package/dist/process-registry.js
CHANGED
package/dist/ps-slash.js
CHANGED
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
getGlobalProcessStatus,
|
|
7
7
|
getInstanceCount,
|
|
8
8
|
listInstances
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-5ITQPCLC.js";
|
|
10
|
+
import "./chunk-PVCB7RUZ.js";
|
|
11
|
+
import "./chunk-HDYUBRMF.js";
|
|
12
|
+
import "./chunk-7JJFC6CT.js";
|
|
13
13
|
export {
|
|
14
14
|
createGlobalPsSlashCommand,
|
|
15
15
|
formatGlobalStatus,
|
package/dist/pwsh.d.ts
CHANGED
|
@@ -17,5 +17,6 @@ export interface PwshOutput {
|
|
|
17
17
|
error?: string | undefined;
|
|
18
18
|
}
|
|
19
19
|
export declare const PWSH_TOOL_DESCRIPTION: string;
|
|
20
|
+
export declare const PWSH_TOOL_USAGE_HINT: string;
|
|
20
21
|
export declare const pwshTool: Tool<PwshInput, PwshOutput>;
|
|
21
22
|
//# sourceMappingURL=pwsh.d.ts.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseSymbols,
|
|
3
3
|
resolvePythonBinary
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-VVZPQPTY.js";
|
|
5
5
|
import "./chunk-6IEBD27U.js";
|
|
6
6
|
import "./chunk-UCYQTZ7F.js";
|
|
7
7
|
import {
|
|
8
8
|
detectLang
|
|
9
9
|
} from "./chunk-YOHO4DVT.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-KE7A76VC.js";
|
|
11
11
|
export {
|
|
12
12
|
detectLang,
|
|
13
13
|
parseSymbols,
|
|
14
14
|
resolvePythonBinary
|
|
15
15
|
};
|
|
16
|
-
//# sourceMappingURL=py-parser-
|
|
16
|
+
//# sourceMappingURL=py-parser-QC6MR4GB.js.map
|
package/dist/read.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { type Tool } from '@wrongstack/core/types';
|
|
2
2
|
import type { SymbolKind } from './codebase-index/schema.js';
|
|
3
|
-
|
|
3
|
+
export type ReadMode = 'content' | 'summary';
|
|
4
|
+
export interface ReadInput {
|
|
4
5
|
path: string;
|
|
5
6
|
offset?: number | undefined;
|
|
6
7
|
limit?: number | undefined;
|
|
7
|
-
mode?:
|
|
8
|
+
mode?: ReadMode | undefined;
|
|
8
9
|
/**
|
|
9
10
|
* When true, include the codebase-index symbol list for this file
|
|
10
11
|
* as a structured `symbols` field in the result. Overrides the
|
|
@@ -18,7 +19,7 @@ interface ReadInput {
|
|
|
18
19
|
* advanced mode is on or `includeSymbols` is set. The LLM must treat
|
|
19
20
|
* this as a symbol listing — not as file content.
|
|
20
21
|
*/
|
|
21
|
-
interface SymbolEntry {
|
|
22
|
+
export interface SymbolEntry {
|
|
22
23
|
/** Symbol name (e.g. myFunction, MyClass). */
|
|
23
24
|
name: string;
|
|
24
25
|
/** Kind of symbol (function, class, interface, const, etc.). */
|
|
@@ -30,7 +31,7 @@ interface SymbolEntry {
|
|
|
30
31
|
/** Full signature or declaration text. */
|
|
31
32
|
signature: string;
|
|
32
33
|
}
|
|
33
|
-
interface ReadOutput {
|
|
34
|
+
export interface ReadOutput {
|
|
34
35
|
text: string;
|
|
35
36
|
total_lines: number;
|
|
36
37
|
encoding: string;
|
|
@@ -45,5 +46,4 @@ interface ReadOutput {
|
|
|
45
46
|
symbols?: SymbolEntry[] | undefined;
|
|
46
47
|
}
|
|
47
48
|
export declare const readTool: Tool<ReadInput, ReadOutput>;
|
|
48
|
-
export {};
|
|
49
49
|
//# sourceMappingURL=read.d.ts.map
|
package/dist/read.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readTool
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-MK2JK35J.js";
|
|
4
|
+
import "./chunk-ZTCJCYLN.js";
|
|
5
|
+
import "./chunk-GDDXX27P.js";
|
|
6
|
+
import "./chunk-N3K2SFEI.js";
|
|
7
|
+
import "./chunk-NU2IZ72J.js";
|
|
8
|
+
import "./chunk-VVZPQPTY.js";
|
|
9
9
|
import "./chunk-6IEBD27U.js";
|
|
10
10
|
import "./chunk-UCYQTZ7F.js";
|
|
11
11
|
import "./chunk-YOHO4DVT.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-2CTZW6JQ.js";
|
|
13
|
+
import "./chunk-KE7A76VC.js";
|
|
14
14
|
import "./chunk-ZUFHAHTE.js";
|
|
15
15
|
export {
|
|
16
16
|
readTool
|
package/dist/replace.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Tool } from '@wrongstack/core/types';
|
|
2
|
-
interface ReplaceInput {
|
|
2
|
+
export interface ReplaceInput {
|
|
3
3
|
pattern: string;
|
|
4
4
|
replacement: string;
|
|
5
5
|
files: string | string[];
|
|
@@ -7,7 +7,7 @@ interface ReplaceInput {
|
|
|
7
7
|
replace_all?: boolean | undefined;
|
|
8
8
|
dry_run?: boolean | undefined;
|
|
9
9
|
}
|
|
10
|
-
interface ReplaceOutput {
|
|
10
|
+
export interface ReplaceOutput {
|
|
11
11
|
files_modified: number;
|
|
12
12
|
total_replacements: number;
|
|
13
13
|
results: {
|
|
@@ -22,5 +22,4 @@ interface ReplaceOutput {
|
|
|
22
22
|
export declare const replaceTool: Tool<ReplaceInput, ReplaceOutput>;
|
|
23
23
|
/** Test-only: forget the cached rg availability so mocks can vary per test. */
|
|
24
24
|
export declare function __resetRgDetectionForTests(): void;
|
|
25
|
-
export {};
|
|
26
25
|
//# sourceMappingURL=replace.d.ts.map
|
package/dist/replace.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__resetRgDetectionForTests,
|
|
3
3
|
replaceTool
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-IYH4OHBP.js";
|
|
5
|
+
import "./chunk-YJTXRH5Y.js";
|
|
6
|
+
import "./chunk-ZBMANLYH.js";
|
|
7
|
+
import "./chunk-ZTCJCYLN.js";
|
|
8
|
+
import "./chunk-GDDXX27P.js";
|
|
9
|
+
import "./chunk-N3K2SFEI.js";
|
|
10
|
+
import "./chunk-NU2IZ72J.js";
|
|
11
|
+
import "./chunk-VVZPQPTY.js";
|
|
12
12
|
import "./chunk-6IEBD27U.js";
|
|
13
13
|
import "./chunk-UCYQTZ7F.js";
|
|
14
14
|
import "./chunk-YOHO4DVT.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-2CTZW6JQ.js";
|
|
16
|
+
import "./chunk-KE7A76VC.js";
|
|
17
17
|
import "./chunk-ZUFHAHTE.js";
|
|
18
18
|
export {
|
|
19
19
|
__resetRgDetectionForTests,
|
package/dist/scaffold.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { Tool } from '@wrongstack/core/types';
|
|
2
|
-
interface ScaffoldInput {
|
|
2
|
+
export interface ScaffoldInput {
|
|
3
3
|
template: string;
|
|
4
4
|
name: string;
|
|
5
5
|
cwd?: string | undefined;
|
|
6
6
|
vars?: Record<string, string>;
|
|
7
7
|
dry_run?: boolean | undefined;
|
|
8
8
|
}
|
|
9
|
-
interface ScaffoldOutput {
|
|
9
|
+
export interface ScaffoldOutput {
|
|
10
10
|
template: string;
|
|
11
11
|
name: string;
|
|
12
12
|
files_created: number;
|
|
@@ -14,6 +14,10 @@ interface ScaffoldOutput {
|
|
|
14
14
|
dry_run: boolean;
|
|
15
15
|
output: string;
|
|
16
16
|
}
|
|
17
|
+
export interface ScaffoldTemplate {
|
|
18
|
+
description: string;
|
|
19
|
+
files: Record<string, string>;
|
|
20
|
+
}
|
|
21
|
+
export declare const BUILT_IN_TEMPLATES: Record<string, ScaffoldTemplate>;
|
|
17
22
|
export declare const scaffoldTool: Tool<ScaffoldInput, ScaffoldOutput>;
|
|
18
|
-
export {};
|
|
19
23
|
//# sourceMappingURL=scaffold.d.ts.map
|
package/dist/scaffold.js
CHANGED
package/dist/search.d.ts
CHANGED
|
@@ -1,11 +1,22 @@
|
|
|
1
1
|
import type { Tool } from '@wrongstack/core/types';
|
|
2
|
-
interface
|
|
2
|
+
export interface SearchResult {
|
|
3
|
+
title: string;
|
|
4
|
+
url: string;
|
|
5
|
+
snippet: string;
|
|
6
|
+
score: number;
|
|
7
|
+
}
|
|
8
|
+
export interface CacheEntry {
|
|
9
|
+
results: SearchResult[];
|
|
10
|
+
source: string;
|
|
11
|
+
timestamp: number;
|
|
12
|
+
}
|
|
13
|
+
export interface SearchInput {
|
|
3
14
|
query: string;
|
|
4
15
|
num_results?: number | undefined;
|
|
5
16
|
source?: 'duckduckgo' | 'google' | 'bing' | undefined;
|
|
6
17
|
skip_cache?: boolean | undefined;
|
|
7
18
|
}
|
|
8
|
-
interface SearchOutput {
|
|
19
|
+
export interface SearchOutput {
|
|
9
20
|
query: string;
|
|
10
21
|
results: {
|
|
11
22
|
title: string;
|
|
@@ -25,5 +36,8 @@ interface SearchOutput {
|
|
|
25
36
|
export declare const searchTool: Tool<SearchInput, SearchOutput>;
|
|
26
37
|
/** Exposed for tests so they can reset the module-level cache between cases. */
|
|
27
38
|
export declare function __clearSearchCache(): void;
|
|
28
|
-
|
|
39
|
+
/** Exposed for tests so they can seed the module-level cache between cases. */
|
|
40
|
+
export declare function __setSearchCacheForTest(key: string, entry: CacheEntry): void;
|
|
41
|
+
/** Exposed for tests so they can observe module-level cache size. */
|
|
42
|
+
export declare function __getSearchCacheSizeForTest(): number;
|
|
29
43
|
//# sourceMappingURL=search.d.ts.map
|
package/dist/search.js
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__clearSearchCache,
|
|
3
|
+
__getSearchCacheSizeForTest,
|
|
4
|
+
__setSearchCacheForTest,
|
|
3
5
|
searchTool
|
|
4
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-62OAECEQ.js";
|
|
5
7
|
import "./chunk-NBDZMMG2.js";
|
|
6
8
|
export {
|
|
7
9
|
__clearSearchCache,
|
|
10
|
+
__getSearchCacheSizeForTest,
|
|
11
|
+
__setSearchCacheForTest,
|
|
8
12
|
searchTool
|
|
9
13
|
};
|
|
10
14
|
//# sourceMappingURL=search.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Tool } from '@wrongstack/core/types';
|
|
2
|
-
interface SetWorkingDirInput {
|
|
2
|
+
export interface SetWorkingDirInput {
|
|
3
3
|
/** Relative or absolute path to navigate to. Must stay within projectRoot. */
|
|
4
4
|
path?: string | undefined;
|
|
5
5
|
}
|
|
6
|
-
interface SetWorkingDirOutput {
|
|
6
|
+
export interface SetWorkingDirOutput {
|
|
7
7
|
/** The new working directory (absolute path). */
|
|
8
8
|
current: string;
|
|
9
9
|
/** The previous working directory (absolute path). */
|
|
@@ -14,5 +14,4 @@ interface SetWorkingDirOutput {
|
|
|
14
14
|
error?: string | undefined;
|
|
15
15
|
}
|
|
16
16
|
export declare const setWorkingDirTool: Tool<SetWorkingDirInput, SetWorkingDirOutput>;
|
|
17
|
-
export {};
|
|
18
17
|
//# sourceMappingURL=set-working-dir.d.ts.map
|
package/dist/skill.d.ts
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import type { SkillLoader, Tool } from '@wrongstack/core/types';
|
|
2
|
-
interface SkillToolInput {
|
|
2
|
+
export interface SkillToolInput {
|
|
3
3
|
name: string;
|
|
4
4
|
/** Optional relative path of a bundled resource to load (e.g. `references/REF.md`, `scripts/extract.py`, `assets/template.html`). Omit to list resources. */
|
|
5
5
|
resource?: string | undefined;
|
|
6
6
|
}
|
|
7
|
-
interface SkillResource {
|
|
7
|
+
export interface SkillResource {
|
|
8
8
|
/** Path relative to the skill directory (e.g. `scripts/extract.py`). */
|
|
9
9
|
path: string;
|
|
10
10
|
bytes: number;
|
|
11
11
|
}
|
|
12
|
-
interface LoadedResource {
|
|
12
|
+
export interface LoadedResource {
|
|
13
13
|
rel: string;
|
|
14
14
|
absPath: string;
|
|
15
15
|
content: string;
|
|
16
16
|
bytes: number;
|
|
17
17
|
truncated: boolean;
|
|
18
18
|
}
|
|
19
|
-
interface SkillToolOutput {
|
|
19
|
+
export interface SkillToolOutput {
|
|
20
20
|
name: string;
|
|
21
21
|
description: string;
|
|
22
22
|
/** Frontmatter-stripped SKILL.md body (capped). */
|
|
@@ -47,5 +47,4 @@ interface SkillToolOutput {
|
|
|
47
47
|
* their absolute path so the agent can run them via `bash`.
|
|
48
48
|
*/
|
|
49
49
|
export declare function makeSkillTool(skillLoader: SkillLoader): Tool<SkillToolInput, SkillToolOutput>;
|
|
50
|
-
export {};
|
|
51
50
|
//# sourceMappingURL=skill.d.ts.map
|
package/dist/skill.js
CHANGED
package/dist/task.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import type { TaskStatus, Tool } from '@wrongstack/core/types';
|
|
2
2
|
import { type TaskItem } from '@wrongstack/core/utils';
|
|
3
|
-
type TaskReplacementItem = Omit<TaskItem, 'createdAt' | 'updatedAt'> & Partial<Pick<TaskItem, 'createdAt' | 'updatedAt'>>;
|
|
4
|
-
type TaskAdditionItem = Omit<TaskItem, 'id' | 'createdAt' | 'updatedAt' | 'status'> & Partial<Pick<TaskItem, 'status'>>;
|
|
5
|
-
|
|
3
|
+
export type TaskReplacementItem = Omit<TaskItem, 'createdAt' | 'updatedAt'> & Partial<Pick<TaskItem, 'createdAt' | 'updatedAt'>>;
|
|
4
|
+
export type TaskAdditionItem = Omit<TaskItem, 'id' | 'createdAt' | 'updatedAt' | 'status'> & Partial<Pick<TaskItem, 'status'>>;
|
|
5
|
+
export type TaskAction = 'replace' | 'add' | 'status' | 'show' | 'promote' | 'planify';
|
|
6
|
+
export interface TaskInput {
|
|
6
7
|
/** Replace: set new task list. Add: append a task. Status: update task status. Promote: convert a task to todo items. */
|
|
7
|
-
action:
|
|
8
|
+
action: TaskAction;
|
|
8
9
|
/** Full task list for action=replace. */
|
|
9
10
|
tasks?: TaskReplacementItem[] | undefined;
|
|
10
11
|
/** Single task for action=add. id, createdAt, updatedAt are auto-generated. */
|
|
@@ -25,7 +26,7 @@ interface TaskInput {
|
|
|
25
26
|
*/
|
|
26
27
|
scope?: 'session' | 'project';
|
|
27
28
|
}
|
|
28
|
-
interface TaskOutput {
|
|
29
|
+
export interface TaskOutput {
|
|
29
30
|
ok: boolean;
|
|
30
31
|
message: string;
|
|
31
32
|
count: number;
|
|
@@ -33,5 +34,4 @@ interface TaskOutput {
|
|
|
33
34
|
inProgress: number;
|
|
34
35
|
}
|
|
35
36
|
export declare const taskTool: Tool<TaskInput, TaskOutput>;
|
|
36
|
-
export {};
|
|
37
37
|
//# sourceMappingURL=task.d.ts.map
|