@wrongstack/tools 1.0.6 → 1.0.8

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 (89) hide show
  1. package/dist/audit.js +4 -4
  2. package/dist/bash.js +2 -2
  3. package/dist/builtin.js +39 -39
  4. package/dist/{chunk-HKR56VNF.js → chunk-2IAEJRLT.js} +4 -3
  5. package/dist/{chunk-5UA4TNJJ.js → chunk-2NTHMZV3.js} +2 -2
  6. package/dist/{chunk-JQ43NVFU.js → chunk-3LQJXJDM.js} +2 -2
  7. package/dist/{chunk-47GYABZW.js → chunk-4SW6BXUR.js} +2 -2
  8. package/dist/{chunk-4KI4HHID.js → chunk-5KRKL3WD.js} +3 -3
  9. package/dist/{chunk-7EQ2LUXU.js → chunk-5MP76C72.js} +3 -3
  10. package/dist/{chunk-7PEZU5Y4.js → chunk-7E55DAFW.js} +8 -8
  11. package/dist/{chunk-D4HWMWGE.js → chunk-AH7J5HWL.js} +3 -3
  12. package/dist/{chunk-OZVGRDCM.js → chunk-B62LKMWQ.js} +3 -3
  13. package/dist/{chunk-WKXL5XHU.js → chunk-BVHKBBGA.js} +2 -2
  14. package/dist/{chunk-54SIRJ6D.js → chunk-C4DSQBTT.js} +3 -3
  15. package/dist/{chunk-2ZWQIVEW.js → chunk-CAF4L6KN.js} +2 -2
  16. package/dist/{chunk-MG7CUN6R.js → chunk-EGT5QLCB.js} +6 -3
  17. package/dist/{chunk-ZSW5KO5S.js → chunk-FI6SOIVE.js} +31 -7
  18. package/dist/{chunk-TL5T4A4E.js → chunk-GF4JHLCO.js} +3 -3
  19. package/dist/{chunk-OVFQC6FU.js → chunk-GNLHBDFO.js} +341 -146
  20. package/dist/{chunk-ZETZHHV5.js → chunk-H2VB7GCR.js} +3 -3
  21. package/dist/{chunk-C64UUXTA.js → chunk-HCPSVK7J.js} +3 -3
  22. package/dist/{chunk-K7Y2IWEB.js → chunk-HIRVCXLP.js} +4 -4
  23. package/dist/{chunk-IMIHTHF7.js → chunk-HOFVYIPI.js} +38 -10
  24. package/dist/{chunk-CYPYJIAF.js → chunk-JB5JLY7V.js} +4 -4
  25. package/dist/{chunk-S6E2AM4U.js → chunk-KF7GMVNU.js} +3 -3
  26. package/dist/{chunk-IOOFLBVM.js → chunk-KMXPP32M.js} +3 -3
  27. package/dist/{chunk-REWOZIA4.js → chunk-M2W36JT7.js} +2 -2
  28. package/dist/{chunk-FRIUJ534.js → chunk-MF6ZUBI7.js} +3 -3
  29. package/dist/{chunk-BU6VUXWG.js → chunk-N3OTTQNC.js} +2 -2
  30. package/dist/{chunk-YJQQ5F5J.js → chunk-NL45OWEO.js} +3 -3
  31. package/dist/{chunk-NKOTOW6X.js → chunk-O6AGFJBO.js} +3 -3
  32. package/dist/{chunk-YILT3CSO.js → chunk-OGQMPX3J.js} +18 -7
  33. package/dist/{chunk-OBVXDVLE.js → chunk-QJARSK2G.js} +3 -3
  34. package/dist/{chunk-R36RWYXE.js → chunk-R3HIZVFS.js} +3 -3
  35. package/dist/{chunk-TGVQMKVH.js → chunk-S6CGSFLX.js} +3 -3
  36. package/dist/{chunk-JK5WXW4S.js → chunk-SEONDNLN.js} +2 -2
  37. package/dist/{chunk-6IEBD27U.js → chunk-SKRMUHTU.js} +2 -2
  38. package/dist/{chunk-DOHU3XHS.js → chunk-TU6UVATU.js} +3 -3
  39. package/dist/{chunk-G35NLPG5.js → chunk-WKLUOXR4.js} +3 -3
  40. package/dist/{chunk-6ZRP5IKQ.js → chunk-YUK3WLHJ.js} +2 -2
  41. package/dist/{chunk-5BKQVP56.js → chunk-YZECCW3F.js} +34 -14
  42. package/dist/{chunk-3F7HQ3KS.js → chunk-YZQSUL5G.js} +2 -2
  43. package/dist/{chunk-2IC5FRD7.js → chunk-ZMCV3XOV.js} +2 -2
  44. package/dist/{chunk-WBAPU3AB.js → chunk-ZOUG3KKS.js} +2 -2
  45. package/dist/clarify.d.ts +26 -19
  46. package/dist/codebase-index/index.js +8 -8
  47. package/dist/codebase-index/parser-worker-script.js +3 -3
  48. package/dist/codebase-index/project-server.js +5 -5
  49. package/dist/codebase-index/worker.js +4 -4
  50. package/dist/diff.js +2 -2
  51. package/dist/e2e.js +2 -2
  52. package/dist/edit.js +8 -8
  53. package/dist/exec.js +2 -2
  54. package/dist/fetch.js +2 -2
  55. package/dist/format.js +4 -4
  56. package/dist/{generic-parser-WFMIRHBX.js → generic-parser-N2PLGBC2.js} +2 -2
  57. package/dist/git.js +2 -2
  58. package/dist/glob.js +2 -2
  59. package/dist/{go-parser-EMKTAAD3.js → go-parser-VDPRQEGM.js} +5 -5
  60. package/dist/grep.js +2 -2
  61. package/dist/index.d.ts +1 -1
  62. package/dist/index.js +41 -41
  63. package/dist/install.js +4 -4
  64. package/dist/{json-parser-34DHYCPW.js → json-parser-IJD77VL4.js} +11 -17
  65. package/dist/json.js +2 -2
  66. package/dist/kanban.js +2 -2
  67. package/dist/languages/index.js +2 -2
  68. package/dist/{legacy-bridge-XM2GV665.js → legacy-bridge-4T4OTSQP.js} +4 -4
  69. package/dist/lint.js +4 -4
  70. package/dist/logs.js +2 -2
  71. package/dist/outdated.js +2 -2
  72. package/dist/pack.js +40 -40
  73. package/dist/{parser-dispatch-HZDZSIYH.js → parser-dispatch-4E2SDQUO.js} +4 -4
  74. package/dist/patch.js +8 -8
  75. package/dist/plan.js +4 -4
  76. package/dist/{py-parser-DDG53RXI.js → py-parser-MAW6DHFE.js} +3 -3
  77. package/dist/read.js +8 -8
  78. package/dist/replace.js +8 -8
  79. package/dist/session-kanban.d.ts +7 -0
  80. package/dist/session-kanban.js +3 -1
  81. package/dist/task.js +4 -4
  82. package/dist/test.js +4 -4
  83. package/dist/todo.js +3 -3
  84. package/dist/tool-tier.js +41 -41
  85. package/dist/tree.js +2 -2
  86. package/dist/typecheck.js +4 -4
  87. package/dist/write.js +8 -8
  88. package/dist/{yaml-parser-RGBXEZE4.js → yaml-parser-DFBC5FWH.js} +7 -6
  89. package/package.json +5 -5
package/dist/clarify.d.ts CHANGED
@@ -1,45 +1,52 @@
1
- /**
2
- * `clarify` tool — Proactive Ambiguity Clarifier & Intent Alignment.
3
- *
4
- * Prompts the user with structured, multiple-choice questions when architectural,
5
- * database schema, API contract, or domain logic assumptions are underspecified.
6
- * Bridges clarify + ask_question into a single unified interactive tool
7
- * functioning consistently across CLI, TUI, and WebUI.
8
- */
9
1
  import type { Tool } from '@wrongstack/core/types';
2
+ export interface ClarifyOptionInput {
3
+ id?: string | undefined;
4
+ label: string;
5
+ description?: string | undefined;
6
+ }
10
7
  export interface ClarifyQuestionItem {
11
- /** The core decision or question to clarify with the user. */
8
+ id?: string | undefined;
12
9
  question: string;
13
- /** Context or explanation of why this decision matters (e.g. index performance, validation). */
14
10
  context?: string | undefined;
15
- /** 2 to 6 structured, distinct choices for the user to select. */
16
- options: string[];
17
- /** The option recommended by the assistant based on best practices. */
11
+ type?: 'single_select' | 'multi_select' | 'text' | undefined;
12
+ options?: Array<string | ClarifyOptionInput> | undefined;
18
13
  recommendedOption?: string | undefined;
19
- /** Whether the user can select multiple options simultaneously. */
14
+ recommendedOptions?: string[] | undefined;
15
+ recommendedText?: string | undefined;
16
+ recommendationReason?: string | undefined;
20
17
  isMultiSelect?: boolean | undefined;
21
- /** Snake-case alias for isMultiSelect (Antigravity compatibility). */
22
18
  is_multi_select?: boolean | undefined;
23
- /** Allow write-in custom responses in addition to options (default: true). */
24
19
  allowCustomResponse?: boolean | undefined;
20
+ required?: boolean | undefined;
21
+ placeholder?: string | undefined;
22
+ }
23
+ export interface ClarifyTabInput {
24
+ id?: string | undefined;
25
+ label: string;
26
+ description?: string | undefined;
27
+ questions: ClarifyQuestionItem[];
25
28
  }
26
29
  export interface ClarifyQuestionInput extends Partial<ClarifyQuestionItem> {
27
- /** Batch questions list (Antigravity ask_question parity). */
30
+ title?: string | undefined;
31
+ description?: string | undefined;
32
+ submitLabel?: string | undefined;
28
33
  questions?: ClarifyQuestionItem[] | undefined;
34
+ tabs?: ClarifyTabInput[] | undefined;
29
35
  }
30
36
  export type ClarifyInput = ClarifyQuestionInput;
31
37
  export interface ClarifyAnswerItem {
38
+ questionId: string;
32
39
  question: string;
33
40
  selectedOptions: string[];
34
41
  customResponse?: string | undefined;
42
+ delegatedToModel: boolean;
43
+ usedRecommendation: boolean;
35
44
  }
36
45
  export interface ClarifyOutput {
37
46
  status: 'answered' | 'auto_decided' | 'skipped';
38
- /** Primary / single question (for backward compatibility). */
39
47
  question: string;
40
48
  selectedOptions: string[];
41
49
  customResponse?: string | undefined;
42
- /** Complete list of answers when clarifying one or more questions. */
43
50
  answers?: ClarifyAnswerItem[] | undefined;
44
51
  decisionSummary: string;
45
52
  error?: string | undefined;
@@ -51,7 +51,7 @@ import {
51
51
  setContextQueryEmbedder,
52
52
  writeAtlas,
53
53
  writeProjectAtlas
54
- } from "../chunk-CYPYJIAF.js";
54
+ } from "../chunk-JB5JLY7V.js";
55
55
  import "../chunk-XRNN44QY.js";
56
56
  import "../chunk-EMA2XENR.js";
57
57
  import "../chunk-SCMRM6NL.js";
@@ -78,11 +78,11 @@ import {
78
78
  shutdownCodebaseIndexHost,
79
79
  shutdownCodebaseIndexServer,
80
80
  symbolGraphService
81
- } from "../chunk-DOHU3XHS.js";
81
+ } from "../chunk-TU6UVATU.js";
82
82
  import {
83
83
  projectIndexServerEndpoint,
84
84
  projectIndexServerMetadataPath
85
- } from "../chunk-WBAPU3AB.js";
85
+ } from "../chunk-ZOUG3KKS.js";
86
86
  import {
87
87
  CONCEPT_RELATIONS,
88
88
  CONTRADICTED_VISIBILITY_WEIGHT,
@@ -122,10 +122,10 @@ import {
122
122
  shouldRefreshRanks,
123
123
  toSymbolRankRows,
124
124
  tokenise
125
- } from "../chunk-54SIRJ6D.js";
126
- import "../chunk-7PEZU5Y4.js";
127
- import "../chunk-REWOZIA4.js";
128
- import "../chunk-6IEBD27U.js";
125
+ } from "../chunk-C4DSQBTT.js";
126
+ import "../chunk-7E55DAFW.js";
127
+ import "../chunk-M2W36JT7.js";
128
+ import "../chunk-SKRMUHTU.js";
129
129
  import {
130
130
  getCodebaseIndexPerfSnapshot,
131
131
  resetCodebaseIndexPerfMetrics
@@ -140,7 +140,7 @@ import {
140
140
  loadGitignoreMatcher
141
141
  } from "../chunk-XHSHNOAF.js";
142
142
  import "../chunk-5U5ULQX2.js";
143
- import "../chunk-HKR56VNF.js";
143
+ import "../chunk-2IAEJRLT.js";
144
144
  export {
145
145
  ATLAS_DIR,
146
146
  ATLAS_FILE_LIMIT,
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  parseFilesContent
3
- } from "../chunk-7PEZU5Y4.js";
4
- import "../chunk-REWOZIA4.js";
5
- import "../chunk-6IEBD27U.js";
3
+ } from "../chunk-7E55DAFW.js";
4
+ import "../chunk-M2W36JT7.js";
5
+ import "../chunk-SKRMUHTU.js";
6
6
  import "../chunk-ZKC5UNGD.js";
7
7
  import "../chunk-YOHO4DVT.js";
8
8
  import "../chunk-5U5ULQX2.js";
@@ -10,7 +10,7 @@ import {
10
10
  projectIndexServerBuildId,
11
11
  projectIndexServerEndpoint,
12
12
  projectIndexServerMetadataPath
13
- } from "../chunk-WBAPU3AB.js";
13
+ } from "../chunk-ZOUG3KKS.js";
14
14
  import {
15
15
  contextService,
16
16
  fileGraphService,
@@ -24,10 +24,10 @@ import {
24
24
  statsService,
25
25
  symbolGraphService,
26
26
  vectorSearchService
27
- } from "../chunk-54SIRJ6D.js";
28
- import "../chunk-7PEZU5Y4.js";
29
- import "../chunk-REWOZIA4.js";
30
- import "../chunk-6IEBD27U.js";
27
+ } from "../chunk-C4DSQBTT.js";
28
+ import "../chunk-7E55DAFW.js";
29
+ import "../chunk-M2W36JT7.js";
30
+ import "../chunk-SKRMUHTU.js";
31
31
  import {
32
32
  recordWriteQueueWait
33
33
  } from "../chunk-ZKC5UNGD.js";
@@ -9,10 +9,10 @@ import {
9
9
  statsService,
10
10
  symbolGraphService,
11
11
  vectorSearchService
12
- } from "../chunk-54SIRJ6D.js";
13
- import "../chunk-7PEZU5Y4.js";
14
- import "../chunk-REWOZIA4.js";
15
- import "../chunk-6IEBD27U.js";
12
+ } from "../chunk-C4DSQBTT.js";
13
+ import "../chunk-7E55DAFW.js";
14
+ import "../chunk-M2W36JT7.js";
15
+ import "../chunk-SKRMUHTU.js";
16
16
  import "../chunk-ZKC5UNGD.js";
17
17
  import "../chunk-YOHO4DVT.js";
18
18
  import "../chunk-XHSHNOAF.js";
package/dist/diff.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  diffTool
3
- } from "./chunk-BU6VUXWG.js";
3
+ } from "./chunk-N3OTTQNC.js";
4
4
  import "./chunk-ZBMANLYH.js";
5
- import "./chunk-HKR56VNF.js";
5
+ import "./chunk-2IAEJRLT.js";
6
6
  export {
7
7
  diffTool
8
8
  };
package/dist/e2e.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  discoverE2EProjects,
3
3
  e2ePlanTool
4
- } from "./chunk-WKXL5XHU.js";
5
- import "./chunk-HKR56VNF.js";
4
+ } from "./chunk-BVHKBBGA.js";
5
+ import "./chunk-2IAEJRLT.js";
6
6
  export {
7
7
  discoverE2EProjects,
8
8
  e2ePlanTool
package/dist/edit.js CHANGED
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  editTool
3
- } from "./chunk-G35NLPG5.js";
3
+ } from "./chunk-WKLUOXR4.js";
4
4
  import "./chunk-MSOAX3GC.js";
5
- import "./chunk-DOHU3XHS.js";
6
- import "./chunk-WBAPU3AB.js";
7
- import "./chunk-54SIRJ6D.js";
8
- import "./chunk-7PEZU5Y4.js";
9
- import "./chunk-REWOZIA4.js";
10
- import "./chunk-6IEBD27U.js";
5
+ import "./chunk-TU6UVATU.js";
6
+ import "./chunk-ZOUG3KKS.js";
7
+ import "./chunk-C4DSQBTT.js";
8
+ import "./chunk-7E55DAFW.js";
9
+ import "./chunk-M2W36JT7.js";
10
+ import "./chunk-SKRMUHTU.js";
11
11
  import "./chunk-ZKC5UNGD.js";
12
12
  import "./chunk-YOHO4DVT.js";
13
13
  import "./chunk-XHSHNOAF.js";
14
14
  import "./chunk-5U5ULQX2.js";
15
- import "./chunk-HKR56VNF.js";
15
+ import "./chunk-2IAEJRLT.js";
16
16
  export {
17
17
  editTool
18
18
  };
package/dist/exec.js CHANGED
@@ -7,14 +7,14 @@ import {
7
7
  isExecCommandAllowed,
8
8
  resetDangerBypass,
9
9
  resetExecPolicy
10
- } from "./chunk-YILT3CSO.js";
10
+ } from "./chunk-OGQMPX3J.js";
11
11
  import "./chunk-BTSFTGIL.js";
12
12
  import "./chunk-PVCB7RUZ.js";
13
13
  import "./chunk-SCMRM6NL.js";
14
14
  import "./chunk-HDYUBRMF.js";
15
15
  import "./chunk-7JJFC6CT.js";
16
16
  import "./chunk-5U5ULQX2.js";
17
- import "./chunk-HKR56VNF.js";
17
+ import "./chunk-2IAEJRLT.js";
18
18
  export {
19
19
  configureDangerBypass,
20
20
  configureExecPolicy,
package/dist/fetch.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  fetchTool
3
- } from "./chunk-47GYABZW.js";
3
+ } from "./chunk-4SW6BXUR.js";
4
4
  import {
5
5
  guardedFetch,
6
6
  guardedLookup
7
7
  } from "./chunk-NBDZMMG2.js";
8
- import "./chunk-HKR56VNF.js";
8
+ import "./chunk-2IAEJRLT.js";
9
9
  export {
10
10
  fetchTool,
11
11
  guardedFetch,
package/dist/format.js CHANGED
@@ -2,15 +2,15 @@ import {
2
2
  detectFixer,
3
3
  formatTool,
4
4
  parseFormatterCounts
5
- } from "./chunk-OBVXDVLE.js";
6
- import "./chunk-JQ43NVFU.js";
7
- import "./chunk-JK5WXW4S.js";
5
+ } from "./chunk-QJARSK2G.js";
6
+ import "./chunk-3LQJXJDM.js";
7
+ import "./chunk-SEONDNLN.js";
8
8
  import "./chunk-EMA2XENR.js";
9
9
  import "./chunk-SCMRM6NL.js";
10
10
  import "./chunk-HDYUBRMF.js";
11
11
  import "./chunk-7JJFC6CT.js";
12
12
  import "./chunk-5U5ULQX2.js";
13
- import "./chunk-HKR56VNF.js";
13
+ import "./chunk-2IAEJRLT.js";
14
14
  export {
15
15
  detectFixer,
16
16
  formatTool,
@@ -3,11 +3,11 @@ import {
3
3
  GENERIC_MAX_SYMBOLS_DEFAULT,
4
4
  parseGeneric,
5
5
  parseSymbols
6
- } from "./chunk-6IEBD27U.js";
6
+ } from "./chunk-SKRMUHTU.js";
7
7
  export {
8
8
  GENERIC_MAX_FILE_CHARS,
9
9
  GENERIC_MAX_SYMBOLS_DEFAULT,
10
10
  parseGeneric,
11
11
  parseSymbols
12
12
  };
13
- //# sourceMappingURL=generic-parser-WFMIRHBX.js.map
13
+ //# sourceMappingURL=generic-parser-N2PLGBC2.js.map
package/dist/git.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  gitTool
3
- } from "./chunk-2IC5FRD7.js";
4
- import "./chunk-HKR56VNF.js";
3
+ } from "./chunk-ZMCV3XOV.js";
4
+ import "./chunk-2IAEJRLT.js";
5
5
  export {
6
6
  gitTool
7
7
  };
package/dist/glob.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  globTool
3
- } from "./chunk-IMIHTHF7.js";
3
+ } from "./chunk-HOFVYIPI.js";
4
4
  import "./chunk-ZBMANLYH.js";
5
5
  import "./chunk-XHSHNOAF.js";
6
- import "./chunk-HKR56VNF.js";
6
+ import "./chunk-2IAEJRLT.js";
7
7
  export {
8
8
  globTool
9
9
  };
@@ -37,7 +37,7 @@ function fallbackParse(filePath, content, lang) {
37
37
  const lines = content.split(/\r?\n/);
38
38
  for (const [idx, line] of lines.entries()) {
39
39
  const trimmed = line.trimStart();
40
- const col = line.length - trimmed.length + 1;
40
+ const col = line.length - trimmed.length;
41
41
  const fn = /^func\s+(?:\([^)]*\)\s*)?([A-Za-z_]\w*)\s*\(/.exec(trimmed);
42
42
  if (fn?.[1]) {
43
43
  addFallbackSymbol(symbols, {
@@ -185,7 +185,7 @@ func main() {
185
185
  }
186
186
  pos := fset.Position(d.Pos())
187
187
  sig := formatFuncSig(d)
188
- syms = append(syms, Sym{Name: name, Kind: kind, Line: pos.Line, Col: pos.Column, Signature: sig, Scope: scope})
188
+ syms = append(syms, Sym{Name: name, Kind: kind, Line: pos.Line, Col: pos.Column - 1, Signature: sig, Scope: scope})
189
189
 
190
190
  case *ast.GenDecl:
191
191
  for _, spec := range d.Specs {
@@ -204,7 +204,7 @@ func main() {
204
204
  } else {
205
205
  sig += " = " + formatType(s.Type)
206
206
  }
207
- syms = append(syms, Sym{Name: name, Kind: "type", Line: pos.Line, Col: pos.Column, Signature: sig, Scope: pkgScope})
207
+ syms = append(syms, Sym{Name: name, Kind: "type", Line: pos.Line, Col: pos.Column - 1, Signature: sig, Scope: pkgScope})
208
208
 
209
209
  case *ast.ValueSpec:
210
210
  for _, n := range s.Names {
@@ -218,7 +218,7 @@ func main() {
218
218
  if s.Type != nil {
219
219
  sig += " " + formatType(s.Type)
220
220
  }
221
- syms = append(syms, Sym{Name: name, Kind: kind, Line: pos.Line, Col: pos.Column, Signature: sig, Scope: pkgScope})
221
+ syms = append(syms, Sym{Name: name, Kind: kind, Line: pos.Line, Col: pos.Column - 1, Signature: sig, Scope: pkgScope})
222
222
  }
223
223
  }
224
224
  }
@@ -468,4 +468,4 @@ export {
468
468
  detectLang,
469
469
  parseSymbols
470
470
  };
471
- //# sourceMappingURL=go-parser-EMKTAAD3.js.map
471
+ //# sourceMappingURL=go-parser-VDPRQEGM.js.map
package/dist/grep.js CHANGED
@@ -2,11 +2,11 @@ import {
2
2
  __resetRgDetectionForTests,
3
3
  __setRgAvailableForTests,
4
4
  grepTool
5
- } from "./chunk-ZSW5KO5S.js";
5
+ } from "./chunk-FI6SOIVE.js";
6
6
  import "./chunk-YJTXRH5Y.js";
7
7
  import "./chunk-ZBMANLYH.js";
8
8
  import "./chunk-XHSHNOAF.js";
9
- import "./chunk-HKR56VNF.js";
9
+ import "./chunk-2IAEJRLT.js";
10
10
  export {
11
11
  __resetRgDetectionForTests,
12
12
  __setRgAvailableForTests,
package/dist/index.d.ts CHANGED
@@ -11,7 +11,7 @@ export { checkAndBlockKillCommand, type KillCheckResult, type KillCommand, } fro
11
11
  export * from './browser/index.js';
12
12
  export { builtinTools, OFF_ONLY_TOOLS, OPTIONAL_TOOLS, TIER1_TOOLS, TIER2_TOOLS, TIER3_TOOLS, } from './builtin.js';
13
13
  export { type BreakerState, CircuitBreaker, type CircuitBreakerConfig, type CircuitBreakerSnapshot, } from './circuit-breaker.js';
14
- export { type ClarifyAnswerItem, type ClarifyInput, type ClarifyOutput, type ClarifyQuestionInput, type ClarifyQuestionItem, clarifyTool, } from './clarify.js';
14
+ export { type ClarifyAnswerItem, type ClarifyInput, type ClarifyOptionInput, type ClarifyOutput, type ClarifyQuestionInput, type ClarifyQuestionItem, type ClarifyTabInput, clarifyTool, } from './clarify.js';
15
15
  export type { CircuitSnapshot, CircuitState, CodebaseAstReplaceInput, CodebaseAstReplaceOutput, CodebaseImpactAnalysisInput, CodebaseImpactAnalysisOutput, CodebaseIncomingCallsInput, CodebaseIncomingCallsOutput, CodebaseIndexInput, CodebaseIndexOutput, CodebaseInvariantCheckInput, CodebaseInvariantCheckOutput, CodebaseOutgoingCallsInput, CodebaseOutgoingCallsOutput, CodebaseRepoMapInput, CodebaseRepoMapOutput, CodebaseSearchInput, CodebaseSearchOutput, CodebaseSkeletonInput, CodebaseSkeletonOutput, CodebaseStatsInput, CodebaseStatsOutput, CodebaseTargetedTestInput, CodebaseTargetedTestOutput, CodeMapGraph, DeadCodeScanInput, DeadCodeScanOutput, DeadFile, DeadPackage, DeadSymbol, GraphEdge, GraphNode, ImpactAnalysisInput, ImpactAnalysisOutput, ImpactCallSite, IncomingCallsInput, IncomingCallsOutput, OutgoingCallsInput, OutgoingCallsOutput, ProjectIndexDaemonAvailability, ProjectIndexServerActivity, ProjectIndexServerClientHealth, ProjectIndexServerConnectionState, ProjectIndexServerConnectionStatus, ProjectIndexServerHealth, TargetedTestInput, TargetedTestOutput, } from './codebase-index/index.js';
16
16
  export { ATLAS_DIR, type AtlasBrief, type AtlasBriefIndexMissing, type AtlasFreshness, type AtlasIndexMissing, buildProjectAtlasBrief, CircuitOpenError, CONCEPT_RELATIONS, type ConceptIndexMissing, type ContextResult, cancelPendingReindexes, checkCodebaseIndexServerHealth, checkProjectAtlasFreshness, codebaseAstReplaceTool, codebaseContextTool, codebaseImpactAnalysisTool, codebaseIncomingCallsTool, codebaseIndexStats, codebaseIndexTool, codebaseInvariantCheckTool, codebaseOutgoingCallsTool, codebaseRepoMapTool, codebaseSearchTool, codebaseSkeletonTool, codebaseStatsTool, codebaseTargetedTestTool, deadCodeScanTool, type EmbeddingPort, type EmbedIndexMissing, type EmbedResult, type EnrichResult, embedProjectFiles, enqueueReindex, enrichProjectConcepts, ensureCodebaseIndexServer, exportProjectAtlasHtml, extractDirectorySkeleton, extractFileSkeleton, type FileSkeletonResult, fileGraphService, generateRepoMap, getIndexState, IndexCircuitBreaker, IndexTimeoutError, indexCircuitBreaker, isIndexableFile, isIndexing, isIndexReady, MAX_CRUX_LINES, MAX_REPORTED_DRIFT, type MutateSymbolOptions, type MutateSymbolResult, onIndexStateChange, packageGraphService, type RepoMapOptions, type RepoMapResult, replaceSymbolInFile, resetIndexCircuitBreaker, resolveProjectIndexDaemonAvailability, runDeadCodeScan, runStartupIndex, type SkeletonOptions, type SkeletonSymbolRange, type SummarizeFileInput, type SummarizeFileResult, type SummarizerPort, type SummarizeSubsystemInput, type SummarizeSubsystemResult, searchCodebaseIndex, setContextQueryEmbedder, shutdownCodebaseIndexHost, shutdownCodebaseIndexServer, symbolGraphService, writeProjectAtlas, } from './codebase-index/index.js';
17
17
  export { type DesignInput, type DesignOutput, designTool, } from './design.js';
package/dist/index.js CHANGED
@@ -46,10 +46,10 @@ import "./chunk-Z6DAKQ3U.js";
46
46
  import {
47
47
  registerBuiltinToolTier,
48
48
  selectBuiltinToolsForTier
49
- } from "./chunk-FRIUJ534.js";
49
+ } from "./chunk-MF6ZUBI7.js";
50
50
  import {
51
51
  builtinToolsPack
52
- } from "./chunk-6ZRP5IKQ.js";
52
+ } from "./chunk-YUK3WLHJ.js";
53
53
  import {
54
54
  OFF_ONLY_TOOLS,
55
55
  OPTIONAL_TOOLS,
@@ -64,11 +64,11 @@ import {
64
64
  pwshTool,
65
65
  readUrlContentTool,
66
66
  securityAstScanTool
67
- } from "./chunk-OVFQC6FU.js";
67
+ } from "./chunk-GNLHBDFO.js";
68
68
  import {
69
69
  discoverE2EProjects,
70
70
  e2ePlanTool
71
- } from "./chunk-WKXL5XHU.js";
71
+ } from "./chunk-BVHKBBGA.js";
72
72
  import {
73
73
  ATLAS_DIR,
74
74
  MAX_CRUX_LINES,
@@ -98,61 +98,61 @@ import {
98
98
  runDeadCodeScan,
99
99
  setContextQueryEmbedder,
100
100
  writeProjectAtlas
101
- } from "./chunk-CYPYJIAF.js";
101
+ } from "./chunk-JB5JLY7V.js";
102
102
  import "./chunk-XRNN44QY.js";
103
103
  import {
104
104
  designTool
105
105
  } from "./chunk-IXIS7RSG.js";
106
106
  import {
107
107
  planTool
108
- } from "./chunk-NKOTOW6X.js";
108
+ } from "./chunk-O6AGFJBO.js";
109
109
  import {
110
110
  taskTool
111
- } from "./chunk-OZVGRDCM.js";
111
+ } from "./chunk-B62LKMWQ.js";
112
112
  import {
113
113
  testTool
114
- } from "./chunk-S6E2AM4U.js";
114
+ } from "./chunk-KF7GMVNU.js";
115
115
  import {
116
116
  installTool
117
- } from "./chunk-ZETZHHV5.js";
117
+ } from "./chunk-H2VB7GCR.js";
118
118
  import {
119
119
  auditTool
120
- } from "./chunk-C64UUXTA.js";
120
+ } from "./chunk-HCPSVK7J.js";
121
121
  import {
122
122
  outdatedTool
123
- } from "./chunk-YJQQ5F5J.js";
123
+ } from "./chunk-NL45OWEO.js";
124
124
  import {
125
125
  logsTool
126
- } from "./chunk-2ZWQIVEW.js";
126
+ } from "./chunk-CAF4L6KN.js";
127
127
  import "./chunk-YA2ZYCJY.js";
128
128
  import "./chunk-B3MGJBFI.js";
129
129
  import {
130
130
  gitTool
131
- } from "./chunk-2IC5FRD7.js";
131
+ } from "./chunk-ZMCV3XOV.js";
132
132
  import {
133
133
  patchTool
134
- } from "./chunk-7EQ2LUXU.js";
134
+ } from "./chunk-5MP76C72.js";
135
135
  import {
136
136
  jsonTool
137
- } from "./chunk-MG7CUN6R.js";
137
+ } from "./chunk-EGT5QLCB.js";
138
138
  import {
139
139
  diffTool
140
- } from "./chunk-BU6VUXWG.js";
140
+ } from "./chunk-N3OTTQNC.js";
141
141
  import {
142
142
  DEFAULT_MAX_TREE_ENTRIES,
143
143
  MAX_TREE_OUTPUT_BYTES,
144
144
  treeTool
145
- } from "./chunk-3F7HQ3KS.js";
145
+ } from "./chunk-YZQSUL5G.js";
146
146
  import {
147
147
  lintTool
148
- } from "./chunk-R36RWYXE.js";
148
+ } from "./chunk-R3HIZVFS.js";
149
149
  import {
150
150
  formatTool
151
- } from "./chunk-OBVXDVLE.js";
151
+ } from "./chunk-QJARSK2G.js";
152
152
  import {
153
153
  typecheckTool
154
- } from "./chunk-D4HWMWGE.js";
155
- import "./chunk-JQ43NVFU.js";
154
+ } from "./chunk-AH7J5HWL.js";
155
+ import "./chunk-3LQJXJDM.js";
156
156
  import {
157
157
  ADDITIONAL_LANGUAGE_PROFILES,
158
158
  LanguageProfileRegistry,
@@ -170,17 +170,17 @@ import {
170
170
  planLanguageOperation,
171
171
  validateCommandPlan,
172
172
  validateLanguageProfile
173
- } from "./chunk-JK5WXW4S.js";
173
+ } from "./chunk-SEONDNLN.js";
174
174
  import "./chunk-EMA2XENR.js";
175
175
  import {
176
176
  replaceTool
177
- } from "./chunk-IOOFLBVM.js";
177
+ } from "./chunk-KMXPP32M.js";
178
178
  import {
179
179
  globTool
180
- } from "./chunk-IMIHTHF7.js";
180
+ } from "./chunk-HOFVYIPI.js";
181
181
  import {
182
182
  grepTool
183
- } from "./chunk-ZSW5KO5S.js";
183
+ } from "./chunk-FI6SOIVE.js";
184
184
  import {
185
185
  MAX_SUBJECT_LEN,
186
186
  capSubject,
@@ -192,7 +192,7 @@ import {
192
192
  import {
193
193
  bashTool,
194
194
  checkAndBlockKillCommand
195
- } from "./chunk-4KI4HHID.js";
195
+ } from "./chunk-5KRKL3WD.js";
196
196
  import {
197
197
  checkExecKillCommand,
198
198
  configureDangerBypass,
@@ -204,7 +204,7 @@ import {
204
204
  isExecCommandAllowed,
205
205
  resetDangerBypass,
206
206
  resetExecPolicy
207
- } from "./chunk-YILT3CSO.js";
207
+ } from "./chunk-OGQMPX3J.js";
208
208
  import "./chunk-BTSFTGIL.js";
209
209
  import {
210
210
  getPersistentProcessRegistry,
@@ -220,20 +220,20 @@ import {
220
220
  } from "./chunk-7JJFC6CT.js";
221
221
  import {
222
222
  fetchTool
223
- } from "./chunk-47GYABZW.js";
223
+ } from "./chunk-4SW6BXUR.js";
224
224
  import {
225
225
  searchTool
226
226
  } from "./chunk-62OAECEQ.js";
227
227
  import "./chunk-NBDZMMG2.js";
228
228
  import {
229
229
  todoTool
230
- } from "./chunk-TGVQMKVH.js";
230
+ } from "./chunk-S6CGSFLX.js";
231
231
  import {
232
232
  kanbanEvidenceKey,
233
233
  kanbanEvidencePointer,
234
234
  kanbanTool,
235
235
  recordKanbanVerificationEvidence
236
- } from "./chunk-5UA4TNJJ.js";
236
+ } from "./chunk-2NTHMZV3.js";
237
237
  import {
238
238
  SESSION_KANBAN_COLUMNS,
239
239
  applySessionKanbanBoardToTodos,
@@ -248,7 +248,7 @@ import {
248
248
  projectSessionTasksToKanban,
249
249
  projectSessionTodosToKanban,
250
250
  rebindSessionKanbanTask
251
- } from "./chunk-5BKQVP56.js";
251
+ } from "./chunk-YZECCW3F.js";
252
252
  import {
253
253
  BROWSER_TOOL_NAMES,
254
254
  BrowserArtifactStore,
@@ -284,13 +284,13 @@ import {
284
284
  } from "./chunk-6XYFYLN7.js";
285
285
  import {
286
286
  readTool
287
- } from "./chunk-K7Y2IWEB.js";
287
+ } from "./chunk-HIRVCXLP.js";
288
288
  import {
289
289
  writeTool
290
- } from "./chunk-TL5T4A4E.js";
290
+ } from "./chunk-GF4JHLCO.js";
291
291
  import {
292
292
  editTool
293
- } from "./chunk-G35NLPG5.js";
293
+ } from "./chunk-WKLUOXR4.js";
294
294
  import {
295
295
  checkSyntax
296
296
  } from "./chunk-MSOAX3GC.js";
@@ -313,8 +313,8 @@ import {
313
313
  shutdownCodebaseIndexHost,
314
314
  shutdownCodebaseIndexServer,
315
315
  symbolGraphService
316
- } from "./chunk-DOHU3XHS.js";
317
- import "./chunk-WBAPU3AB.js";
316
+ } from "./chunk-TU6UVATU.js";
317
+ import "./chunk-ZOUG3KKS.js";
318
318
  import {
319
319
  CONCEPT_RELATIONS,
320
320
  CircuitOpenError,
@@ -322,15 +322,15 @@ import {
322
322
  IndexTimeoutError,
323
323
  indexCircuitBreaker,
324
324
  resetIndexCircuitBreaker
325
- } from "./chunk-54SIRJ6D.js";
326
- import "./chunk-7PEZU5Y4.js";
327
- import "./chunk-REWOZIA4.js";
328
- import "./chunk-6IEBD27U.js";
325
+ } from "./chunk-C4DSQBTT.js";
326
+ import "./chunk-7E55DAFW.js";
327
+ import "./chunk-M2W36JT7.js";
328
+ import "./chunk-SKRMUHTU.js";
329
329
  import "./chunk-ZKC5UNGD.js";
330
330
  import "./chunk-YOHO4DVT.js";
331
331
  import "./chunk-XHSHNOAF.js";
332
332
  import "./chunk-5U5ULQX2.js";
333
- import "./chunk-HKR56VNF.js";
333
+ import "./chunk-2IAEJRLT.js";
334
334
 
335
335
  // src/next-steps-tool.ts
336
336
  import {
package/dist/install.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  installTool
3
- } from "./chunk-ZETZHHV5.js";
4
- import "./chunk-JQ43NVFU.js";
5
- import "./chunk-JK5WXW4S.js";
3
+ } from "./chunk-H2VB7GCR.js";
4
+ import "./chunk-3LQJXJDM.js";
5
+ import "./chunk-SEONDNLN.js";
6
6
  import "./chunk-EMA2XENR.js";
7
7
  import "./chunk-SCMRM6NL.js";
8
8
  import "./chunk-HDYUBRMF.js";
9
9
  import "./chunk-7JJFC6CT.js";
10
10
  import "./chunk-5U5ULQX2.js";
11
- import "./chunk-HKR56VNF.js";
11
+ import "./chunk-2IAEJRLT.js";
12
12
  export {
13
13
  installTool
14
14
  };