@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.
Files changed (203) hide show
  1. package/dist/_danger-detect.d.ts +8 -0
  2. package/dist/_syntax-check.d.ts +1 -2
  3. package/dist/audit.d.ts +4 -5
  4. package/dist/audit.js +8 -8
  5. package/dist/auto-proceed-loop-guard.js +9 -160
  6. package/dist/bash-kill-guard.d.ts +2 -3
  7. package/dist/bash.d.ts +2 -3
  8. package/dist/bash.js +6 -6
  9. package/dist/batch-tool-use.d.ts +2 -3
  10. package/dist/batch-tool-use.js +1 -1
  11. package/dist/browser/index.d.ts +1 -1
  12. package/dist/browser/index.js +1 -1
  13. package/dist/browser/tools.d.ts +56 -45
  14. package/dist/builtin.js +55 -55
  15. package/dist/{chunk-RJZQWEMS.js → chunk-24T5XIJU.js} +3 -2
  16. package/dist/{chunk-DTQ75VBC.js → chunk-2CTZW6JQ.js} +2 -2
  17. package/dist/chunk-37QKUQ2Z.js +171 -0
  18. package/dist/{chunk-LOBRWKCR.js → chunk-3D5DJWOE.js} +3 -3
  19. package/dist/{chunk-YOKD4GWJ.js → chunk-4ERMPDHV.js} +14 -8
  20. package/dist/{chunk-5EUJF3WC.js → chunk-4WPBS45A.js} +4 -5
  21. package/dist/{chunk-42BHI7TN.js → chunk-5ITQPCLC.js} +2 -2
  22. package/dist/{chunk-B4HTSV6Z.js → chunk-5KS24LTS.js} +11 -11
  23. package/dist/{chunk-QPNYDH5B.js → chunk-62OAECEQ.js} +29 -7
  24. package/dist/{chunk-IYKXK356.js → chunk-6GOZTS6F.js} +4 -4
  25. package/dist/{chunk-OG2BEUBY.js → chunk-7HL23T3T.js} +73 -16
  26. package/dist/{chunk-HFXSNKCV.js → chunk-7JJFC6CT.js} +1 -1
  27. package/dist/{chunk-TTZOK6IY.js → chunk-7N5U2RAU.js} +2 -2
  28. package/dist/{chunk-QBV725YG.js → chunk-7ODZTPCU.js} +2 -2
  29. package/dist/{chunk-OTINMOKK.js → chunk-AB2CAUOP.js} +66 -55
  30. package/dist/{chunk-6AAOT4PW.js → chunk-AQ5YBURX.js} +16 -4
  31. package/dist/{chunk-JDPQOR7C.js → chunk-ASEXQRA7.js} +19 -19
  32. package/dist/{chunk-FRN7TIAA.js → chunk-B3MGJBFI.js} +1 -1
  33. package/dist/{chunk-IWS56OY7.js → chunk-CGXTR34H.js} +63 -4
  34. package/dist/{chunk-IU4DV2PA.js → chunk-CHEK3ASV.js} +6 -3
  35. package/dist/{chunk-GOIZNNOA.js → chunk-DJYLI7EW.js} +1 -1
  36. package/dist/{chunk-CFLJFDYV.js → chunk-DK4J2WMH.js} +14 -11
  37. package/dist/{chunk-ZHH3BEWU.js → chunk-DRRY6SCM.js} +49 -22
  38. package/dist/{chunk-BK732J7I.js → chunk-FBUP524S.js} +4 -4
  39. package/dist/{chunk-WHIIIREL.js → chunk-FVM3O4JQ.js} +7 -3
  40. package/dist/chunk-FYDBUVQD.js +244 -0
  41. package/dist/{chunk-UDVKRX5R.js → chunk-GDDXX27P.js} +50 -50
  42. package/dist/{chunk-O44IMQCN.js → chunk-GKSG5CPH.js} +6 -6
  43. package/dist/{chunk-3PVYQFRQ.js → chunk-HDYUBRMF.js} +5 -3
  44. package/dist/{chunk-ELRRTWNP.js → chunk-IXIS7RSG.js} +2 -2
  45. package/dist/{chunk-X5FOFGXX.js → chunk-IYH4OHBP.js} +6 -6
  46. package/dist/{chunk-MNP3GE7H.js → chunk-JDOO4P6Z.js} +21 -16
  47. package/dist/{chunk-BSJSNVGA.js → chunk-KDEXUQY7.js} +24 -11
  48. package/dist/{chunk-V43EQ6VR.js → chunk-KE7A76VC.js} +3 -2
  49. package/dist/{chunk-2OXHS3KZ.js → chunk-KLJZ4WV4.js} +4 -3
  50. package/dist/{chunk-3M7LLN7W.js → chunk-LQSOU63Z.js} +12 -11
  51. package/dist/{chunk-DC4KMPJO.js → chunk-M6UV67BH.js} +2 -2
  52. package/dist/{chunk-C2DQKVLO.js → chunk-MJSJWXBF.js} +1 -1
  53. package/dist/{chunk-RNWUCZ2U.js → chunk-MK2JK35J.js} +29 -12
  54. package/dist/{chunk-FQZOHLG3.js → chunk-MSOAX3GC.js} +3 -2
  55. package/dist/{chunk-KY4PXYSO.js → chunk-N3K2SFEI.js} +534 -494
  56. package/dist/{chunk-EADULOZV.js → chunk-NJX2RXKJ.js} +50 -7
  57. package/dist/{chunk-AKHYMB4V.js → chunk-NN2SNP2R.js} +6 -6
  58. package/dist/{chunk-CMOUCKGC.js → chunk-NU2IZ72J.js} +6 -6
  59. package/dist/{chunk-RLMX75EM.js → chunk-O6BY43ZB.js} +29 -8
  60. package/dist/{chunk-NKNOBUBU.js → chunk-PVCB7RUZ.js} +2 -2
  61. package/dist/{chunk-UQQS3VNT.js → chunk-QA6IASYX.js} +8 -8
  62. package/dist/{chunk-VPALDFYM.js → chunk-RV7BVTDG.js} +1 -1
  63. package/dist/chunk-S57CDR2H.js +288 -0
  64. package/dist/{chunk-2VSZC6QM.js → chunk-SCMRM6NL.js} +6 -4
  65. package/dist/{chunk-W2CECGTG.js → chunk-SMARDKAC.js} +1 -1
  66. package/dist/{chunk-45JPRMC2.js → chunk-SOR7OCYP.js} +7 -3
  67. package/dist/{chunk-ATSKPZUK.js → chunk-T3SMFF5Q.js} +11 -5
  68. package/dist/{chunk-4BHUSMNL.js → chunk-UI3ZJIG3.js} +1 -1
  69. package/dist/{chunk-WXJY3BKV.js → chunk-VBF2YXUW.js} +2 -2
  70. package/dist/{chunk-FQNXYA6W.js → chunk-VU3QBYL4.js} +36 -5
  71. package/dist/{chunk-IIF5HIVF.js → chunk-VVZPQPTY.js} +2 -2
  72. package/dist/{chunk-VD2LV5WO.js → chunk-VZGPASGD.js} +37 -12
  73. package/dist/{chunk-64VIJPFV.js → chunk-WEEVSWQB.js} +17 -6
  74. package/dist/chunk-XXRMF2BC.js +186 -0
  75. package/dist/{chunk-RTZWBNTY.js → chunk-YEISRT4S.js} +7 -12
  76. package/dist/{chunk-Q5JPPCZC.js → chunk-YJTXRH5Y.js} +3 -2
  77. package/dist/{chunk-GMZYW52L.js → chunk-YULVUTK5.js} +6 -3
  78. package/dist/{chunk-NWZ6XGBJ.js → chunk-ZBMANLYH.js} +5 -3
  79. package/dist/{chunk-DP6CXMJZ.js → chunk-ZTCJCYLN.js} +3 -3
  80. package/dist/circuit-breaker.d.ts +1 -0
  81. package/dist/circuit-breaker.js +1 -1
  82. package/dist/clarify.d.ts +1 -0
  83. package/dist/codebase-index/codebase-ast-replace-tool.d.ts +2 -3
  84. package/dist/codebase-index/codebase-impact-analysis-tool.d.ts +5 -4
  85. package/dist/codebase-index/codebase-incoming-calls-tool.d.ts +4 -3
  86. package/dist/codebase-index/codebase-index-tool.d.ts +2 -3
  87. package/dist/codebase-index/codebase-invariant-check-tool.d.ts +2 -3
  88. package/dist/codebase-index/codebase-outgoing-calls-tool.d.ts +4 -3
  89. package/dist/codebase-index/codebase-repo-map-tool.d.ts +2 -3
  90. package/dist/codebase-index/codebase-search-tool.d.ts +2 -3
  91. package/dist/codebase-index/codebase-skeleton-tool.d.ts +2 -3
  92. package/dist/codebase-index/codebase-stats-tool.d.ts +9 -3
  93. package/dist/codebase-index/codebase-targeted-test-tool.d.ts +4 -3
  94. package/dist/codebase-index/index.d.ts +11 -11
  95. package/dist/codebase-index/index.js +12 -12
  96. package/dist/codebase-index/parser-worker-script.js +3 -3
  97. package/dist/codebase-index/project-server-framing.d.ts +29 -0
  98. package/dist/codebase-index/project-server-lifecycle.d.ts +20 -0
  99. package/dist/codebase-index/project-server-operations.d.ts +37 -0
  100. package/dist/codebase-index/project-server-types.d.ts +30 -0
  101. package/dist/codebase-index/project-server-watcher.d.ts +25 -0
  102. package/dist/codebase-index/project-server.js +451 -394
  103. package/dist/codebase-index/worker.js +5 -5
  104. package/dist/codebase-index/writer-init.d.ts +13 -0
  105. package/dist/codebase-index/writer-maintenance.d.ts +14 -0
  106. package/dist/codebase-index/writer.d.ts +0 -15
  107. package/dist/design.d.ts +2 -2
  108. package/dist/design.js +1 -1
  109. package/dist/diff.d.ts +4 -4
  110. package/dist/diff.js +2 -2
  111. package/dist/document.d.ts +3 -4
  112. package/dist/document.js +1 -1
  113. package/dist/e2e.d.ts +1 -1
  114. package/dist/e2e.js +1 -1
  115. package/dist/edit.d.ts +3 -3
  116. package/dist/edit.js +9 -9
  117. package/dist/exec.d.ts +2 -3
  118. package/dist/exec.js +6 -6
  119. package/dist/fetch.d.ts +4 -3
  120. package/dist/fetch.js +1 -1
  121. package/dist/format.d.ts +17 -45
  122. package/dist/format.js +14 -10
  123. package/dist/git.d.ts +3 -3
  124. package/dist/git.js +1 -1
  125. package/dist/glob.d.ts +2 -3
  126. package/dist/glob.js +3 -3
  127. package/dist/{go-parser-IKHW67WE.js → go-parser-D7ELWQ7F.js} +2 -2
  128. package/dist/grep.d.ts +7 -5
  129. package/dist/grep.js +4 -4
  130. package/dist/index.d.ts +54 -45
  131. package/dist/index.js +122 -63
  132. package/dist/install.d.ts +7 -55
  133. package/dist/install.js +8 -8
  134. package/dist/{json-parser-2EOVP5MR.js → json-parser-34DHYCPW.js} +1 -18
  135. package/dist/json.d.ts +3 -4
  136. package/dist/json.js +2 -2
  137. package/dist/kanban-tool-types.d.ts +1 -2
  138. package/dist/kanban.d.ts +3 -19
  139. package/dist/kanban.js +1 -1
  140. package/dist/languages/execute-tool.d.ts +2 -3
  141. package/dist/languages/index.d.ts +2 -2
  142. package/dist/languages/index.js +6 -6
  143. package/dist/languages/tool.d.ts +3 -4
  144. package/dist/legacy-bridge-YXANP5QB.js +18 -0
  145. package/dist/lint.d.ts +5 -4
  146. package/dist/lint.js +8 -8
  147. package/dist/logs.d.ts +3 -4
  148. package/dist/logs.js +2 -2
  149. package/dist/memory.d.ts +7 -8
  150. package/dist/memory.js +1 -1
  151. package/dist/mode.d.ts +3 -4
  152. package/dist/mode.js +1 -1
  153. package/dist/next-steps-tool.d.ts +2 -3
  154. package/dist/next-steps.d.ts +11 -0
  155. package/dist/next-steps.js +10 -132
  156. package/dist/outdated.d.ts +5 -29
  157. package/dist/outdated.js +4 -4
  158. package/dist/pack.js +56 -56
  159. package/dist/{parser-dispatch-QGC4HSP5.js → parser-dispatch-BDVCJXTV.js} +4 -4
  160. package/dist/patch.d.ts +2 -3
  161. package/dist/patch.js +8 -8
  162. package/dist/plan.d.ts +4 -4
  163. package/dist/plan.js +3 -3
  164. package/dist/process-registry.js +2 -2
  165. package/dist/ps-slash.js +4 -4
  166. package/dist/pwsh.d.ts +1 -0
  167. package/dist/{py-parser-RFWG2HYI.js → py-parser-QC6MR4GB.js} +3 -3
  168. package/dist/read.d.ts +5 -5
  169. package/dist/read.js +8 -8
  170. package/dist/replace.d.ts +2 -3
  171. package/dist/replace.js +10 -10
  172. package/dist/scaffold.d.ts +7 -3
  173. package/dist/scaffold.js +3 -1
  174. package/dist/search.d.ts +17 -3
  175. package/dist/search.js +5 -1
  176. package/dist/set-working-dir.d.ts +2 -3
  177. package/dist/skill.d.ts +4 -5
  178. package/dist/skill.js +1 -1
  179. package/dist/task.d.ts +6 -6
  180. package/dist/task.js +3 -3
  181. package/dist/test.d.ts +5 -4
  182. package/dist/test.js +8 -8
  183. package/dist/todo.d.ts +8 -8
  184. package/dist/todo.js +2 -2
  185. package/dist/tool-diff.js +11 -230
  186. package/dist/tool-help.d.ts +2 -3
  187. package/dist/tool-help.js +1 -1
  188. package/dist/tool-search.d.ts +2 -3
  189. package/dist/tool-search.js +1 -1
  190. package/dist/tool-summary.js +5 -281
  191. package/dist/tool-tier.js +57 -57
  192. package/dist/tool-use.d.ts +2 -3
  193. package/dist/tool-use.js +1 -1
  194. package/dist/tree.d.ts +5 -3
  195. package/dist/tree.js +5 -1
  196. package/dist/typecheck.d.ts +3 -3
  197. package/dist/typecheck.js +8 -8
  198. package/dist/win32.js +1 -1
  199. package/dist/write.d.ts +2 -3
  200. package/dist/write.js +9 -9
  201. package/package.json +5 -5
  202. package/dist/legacy-bridge-3T7SR4SK.js +0 -18
  203. package/dist/spawn-background.d.ts +0 -80
@@ -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-IYKXK356.js";
4
- import "./chunk-3PVYQFRQ.js";
5
- import "./chunk-HFXSNKCV.js";
6
- import "./chunk-V43EQ6VR.js";
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-DC4KMPJO.js";
4
- import "./chunk-OTINMOKK.js";
5
- import "./chunk-VPALDFYM.js";
6
- import "./chunk-RTZWBNTY.js";
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-B4HTSV6Z.js";
9
- import "./chunk-3M7LLN7W.js";
10
- import "./chunk-RJZQWEMS.js";
11
- import "./chunk-FRN7TIAA.js";
12
- import "./chunk-WXJY3BKV.js";
13
- import "./chunk-QBV725YG.js";
14
- import "./chunk-ELRRTWNP.js";
15
- import "./chunk-UQQS3VNT.js";
16
- import "./chunk-RLMX75EM.js";
17
- import "./chunk-64VIJPFV.js";
18
- import "./chunk-IYKXK356.js";
19
- import "./chunk-FQNXYA6W.js";
20
- import "./chunk-IU4DV2PA.js";
21
- import "./chunk-2OXHS3KZ.js";
22
- import "./chunk-6AAOT4PW.js";
23
- import "./chunk-IWS56OY7.js";
24
- import "./chunk-VD2LV5WO.js";
25
- import "./chunk-OG2BEUBY.js";
26
- import "./chunk-MNP3GE7H.js";
27
- import "./chunk-LOBRWKCR.js";
28
- import "./chunk-EADULOZV.js";
29
- import "./chunk-5EUJF3WC.js";
30
- import "./chunk-ATSKPZUK.js";
31
- import "./chunk-TTZOK6IY.js";
32
- import "./chunk-ZHH3BEWU.js";
33
- import "./chunk-X5FOFGXX.js";
34
- import "./chunk-JDPQOR7C.js";
35
- import "./chunk-YOKD4GWJ.js";
36
- import "./chunk-Q5JPPCZC.js";
37
- import "./chunk-NWZ6XGBJ.js";
38
- import "./chunk-AKHYMB4V.js";
39
- import "./chunk-BSJSNVGA.js";
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-NKNOBUBU.js";
42
- import "./chunk-2VSZC6QM.js";
43
- import "./chunk-3PVYQFRQ.js";
44
- import "./chunk-HFXSNKCV.js";
45
- import "./chunk-C2DQKVLO.js";
46
- import "./chunk-QPNYDH5B.js";
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-BK732J7I.js";
49
- import "./chunk-W2CECGTG.js";
48
+ import "./chunk-FBUP524S.js";
49
+ import "./chunk-SMARDKAC.js";
50
50
  import "./chunk-X6KXNHUO.js";
51
- import "./chunk-45JPRMC2.js";
52
- import "./chunk-RNWUCZ2U.js";
53
- import "./chunk-O44IMQCN.js";
54
- import "./chunk-CFLJFDYV.js";
55
- import "./chunk-FQZOHLG3.js";
56
- import "./chunk-DP6CXMJZ.js";
57
- import "./chunk-UDVKRX5R.js";
58
- import "./chunk-KY4PXYSO.js";
59
- import "./chunk-CMOUCKGC.js";
60
- import "./chunk-IIF5HIVF.js";
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-DTQ75VBC.js";
65
- import "./chunk-V43EQ6VR.js";
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-CMOUCKGC.js";
5
- import "./chunk-IIF5HIVF.js";
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-V43EQ6VR.js";
9
+ import "./chunk-KE7A76VC.js";
10
10
  export {
11
11
  parseFileContent,
12
12
  parseFilesContent
13
13
  };
14
- //# sourceMappingURL=parser-dispatch-QGC4HSP5.js.map
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-IWS56OY7.js";
4
- import "./chunk-DP6CXMJZ.js";
5
- import "./chunk-UDVKRX5R.js";
6
- import "./chunk-KY4PXYSO.js";
7
- import "./chunk-CMOUCKGC.js";
8
- import "./chunk-IIF5HIVF.js";
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-DTQ75VBC.js";
13
- import "./chunk-V43EQ6VR.js";
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
- interface PlanInput {
17
- action: 'show' | 'add' | 'status' | 'start' | 'done' | 'remove' | 'promote' | 'template_use' | 'clear' | 'taskify';
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-B4HTSV6Z.js";
4
- import "./chunk-BK732J7I.js";
5
- import "./chunk-W2CECGTG.js";
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
@@ -4,8 +4,8 @@ import {
4
4
  getProcessRegistry,
5
5
  killWin32Tree,
6
6
  redactCommand
7
- } from "./chunk-3PVYQFRQ.js";
8
- import "./chunk-HFXSNKCV.js";
7
+ } from "./chunk-HDYUBRMF.js";
8
+ import "./chunk-7JJFC6CT.js";
9
9
  export {
10
10
  ProcessRegistryImpl,
11
11
  _resetProcessRegistry,
package/dist/ps-slash.js CHANGED
@@ -6,10 +6,10 @@ import {
6
6
  getGlobalProcessStatus,
7
7
  getInstanceCount,
8
8
  listInstances
9
- } from "./chunk-42BHI7TN.js";
10
- import "./chunk-NKNOBUBU.js";
11
- import "./chunk-3PVYQFRQ.js";
12
- import "./chunk-HFXSNKCV.js";
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-IIF5HIVF.js";
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-V43EQ6VR.js";
10
+ import "./chunk-KE7A76VC.js";
11
11
  export {
12
12
  detectLang,
13
13
  parseSymbols,
14
14
  resolvePythonBinary
15
15
  };
16
- //# sourceMappingURL=py-parser-RFWG2HYI.js.map
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
- interface ReadInput {
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?: 'content' | 'summary' | undefined;
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-RNWUCZ2U.js";
4
- import "./chunk-DP6CXMJZ.js";
5
- import "./chunk-UDVKRX5R.js";
6
- import "./chunk-KY4PXYSO.js";
7
- import "./chunk-CMOUCKGC.js";
8
- import "./chunk-IIF5HIVF.js";
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-DTQ75VBC.js";
13
- import "./chunk-V43EQ6VR.js";
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-X5FOFGXX.js";
5
- import "./chunk-Q5JPPCZC.js";
6
- import "./chunk-NWZ6XGBJ.js";
7
- import "./chunk-DP6CXMJZ.js";
8
- import "./chunk-UDVKRX5R.js";
9
- import "./chunk-KY4PXYSO.js";
10
- import "./chunk-CMOUCKGC.js";
11
- import "./chunk-IIF5HIVF.js";
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-DTQ75VBC.js";
16
- import "./chunk-V43EQ6VR.js";
15
+ import "./chunk-2CTZW6JQ.js";
16
+ import "./chunk-KE7A76VC.js";
17
17
  import "./chunk-ZUFHAHTE.js";
18
18
  export {
19
19
  __resetRgDetectionForTests,
@@ -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
@@ -1,8 +1,10 @@
1
1
  import {
2
+ BUILT_IN_TEMPLATES,
2
3
  scaffoldTool
3
- } from "./chunk-2OXHS3KZ.js";
4
+ } from "./chunk-KLJZ4WV4.js";
4
5
  import "./chunk-ZUFHAHTE.js";
5
6
  export {
7
+ BUILT_IN_TEMPLATES,
6
8
  scaffoldTool
7
9
  };
8
10
  //# sourceMappingURL=scaffold.js.map
package/dist/search.d.ts CHANGED
@@ -1,11 +1,22 @@
1
1
  import type { Tool } from '@wrongstack/core/types';
2
- interface SearchInput {
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
- export {};
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-QPNYDH5B.js";
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
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  makeSkillTool
3
- } from "./chunk-GOIZNNOA.js";
3
+ } from "./chunk-DJYLI7EW.js";
4
4
  export {
5
5
  makeSkillTool
6
6
  };
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
- interface TaskInput {
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: 'replace' | 'add' | 'status' | 'show' | 'promote' | 'planify';
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