@wrongstack/tools 1.0.3 → 1.0.5

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 (112) hide show
  1. package/README.md +0 -6
  2. package/dist/_util.d.ts +18 -0
  3. package/dist/audit.js +4 -4
  4. package/dist/bash.js +2 -2
  5. package/dist/browser/index.d.ts +1 -1
  6. package/dist/browser/index.js +9 -1
  7. package/dist/browser/tools.d.ts +14 -0
  8. package/dist/builtin.d.ts +16 -13
  9. package/dist/builtin.js +41 -45
  10. package/dist/{chunk-AQ5YBURX.js → chunk-2IC5FRD7.js} +2 -2
  11. package/dist/{chunk-VU3QBYL4.js → chunk-2ZWQIVEW.js} +2 -2
  12. package/dist/{chunk-JDOO4P6Z.js → chunk-3F7HQ3KS.js} +2 -2
  13. package/dist/{chunk-DX5KZEMK.js → chunk-47GYABZW.js} +2 -2
  14. package/dist/{chunk-KYVOTHG7.js → chunk-4KI4HHID.js} +2 -2
  15. package/dist/{chunk-3JVSOBHU.js → chunk-54SIRJ6D.js} +4 -4
  16. package/dist/{chunk-X6KXNHUO.js → chunk-5BKQVP56.js} +22 -5
  17. package/dist/{chunk-SMARDKAC.js → chunk-5UA4TNJJ.js} +2 -2
  18. package/dist/{chunk-SOR7OCYP.js → chunk-6XYFYLN7.js} +23 -1
  19. package/dist/{chunk-VO6M2FVG.js → chunk-6ZRP5IKQ.js} +2 -2
  20. package/dist/{chunk-E2ZD4ERD.js → chunk-7EQ2LUXU.js} +3 -3
  21. package/dist/{chunk-6LCKF5KH.js → chunk-7PEZU5Y4.js} +1 -1
  22. package/dist/{chunk-7HL23T3T.js → chunk-BU6VUXWG.js} +2 -2
  23. package/dist/{chunk-KIQTABBJ.js → chunk-C64UUXTA.js} +3 -3
  24. package/dist/{chunk-PNLDTRC5.js → chunk-CYPYJIAF.js} +7 -7
  25. package/dist/{chunk-IRUEHGCR.js → chunk-D4HWMWGE.js} +3 -3
  26. package/dist/{chunk-CVNCSMVU.js → chunk-DOHU3XHS.js} +46 -6
  27. package/dist/{chunk-32XPUSY3.js → chunk-FRIUJ534.js} +3 -3
  28. package/dist/{chunk-AMURQAJX.js → chunk-G35NLPG5.js} +3 -3
  29. package/dist/{chunk-ZUFHAHTE.js → chunk-HKR56VNF.js} +15 -2
  30. package/dist/{chunk-ASEXQRA7.js → chunk-IMIHTHF7.js} +8 -6
  31. package/dist/{chunk-77MBK46T.js → chunk-IOOFLBVM.js} +3 -3
  32. package/dist/{chunk-3LS3FYEF.js → chunk-JK5WXW4S.js} +2 -2
  33. package/dist/{chunk-GU7QJ37F.js → chunk-JQ43NVFU.js} +2 -2
  34. package/dist/{chunk-YECHJJJF.js → chunk-K7Y2IWEB.js} +4 -4
  35. package/dist/{chunk-VZGPASGD.js → chunk-MG7CUN6R.js} +2 -2
  36. package/dist/{chunk-NOCU555K.js → chunk-NKOTOW6X.js} +3 -3
  37. package/dist/{chunk-YDTRKEYY.js → chunk-OBVXDVLE.js} +3 -3
  38. package/dist/{chunk-TYRVYBHW.js → chunk-OVFQC6FU.js} +235 -176
  39. package/dist/{chunk-VKAJMHVG.js → chunk-OZVGRDCM.js} +3 -3
  40. package/dist/{chunk-FC3X7GGJ.js → chunk-R36RWYXE.js} +3 -3
  41. package/dist/{chunk-Z34CUZCZ.js → chunk-S6E2AM4U.js} +3 -3
  42. package/dist/chunk-SIIOHBNY.js +38 -0
  43. package/dist/{chunk-4YKVHCQC.js → chunk-TGVQMKVH.js} +3 -3
  44. package/dist/{chunk-QU2VRCMM.js → chunk-TL5T4A4E.js} +3 -3
  45. package/dist/{chunk-6ZLRRC74.js → chunk-WBAPU3AB.js} +40 -2
  46. package/dist/{chunk-RV7BVTDG.js → chunk-WKXL5XHU.js} +2 -2
  47. package/dist/{chunk-2CTZW6JQ.js → chunk-XHSHNOAF.js} +12 -11
  48. package/dist/{chunk-24T5XIJU.js → chunk-YA2ZYCJY.js} +4 -4
  49. package/dist/{chunk-T7YVY2BV.js → chunk-YILT3CSO.js} +2 -2
  50. package/dist/{chunk-OUEH4I4X.js → chunk-YJQQ5F5J.js} +3 -3
  51. package/dist/{chunk-MIV2RU5B.js → chunk-ZETZHHV5.js} +3 -3
  52. package/dist/{chunk-4ERMPDHV.js → chunk-ZSW5KO5S.js} +21 -17
  53. package/dist/clarify.d.ts +18 -3
  54. package/dist/codebase-index/codebase-search-tool.d.ts +2 -3
  55. package/dist/codebase-index/gitignore.d.ts +1 -1
  56. package/dist/codebase-index/index.js +7 -7
  57. package/dist/codebase-index/parser-worker-script.js +1 -1
  58. package/dist/codebase-index/project-server-endpoint.d.ts +33 -0
  59. package/dist/codebase-index/project-server.js +6 -5
  60. package/dist/codebase-index/worker.js +3 -3
  61. package/dist/diff.js +2 -2
  62. package/dist/e2e.js +2 -2
  63. package/dist/edit.js +7 -7
  64. package/dist/exec.js +2 -2
  65. package/dist/fetch.js +2 -2
  66. package/dist/format.js +4 -4
  67. package/dist/git.js +2 -2
  68. package/dist/glob.js +3 -3
  69. package/dist/grep.js +3 -3
  70. package/dist/index.d.ts +2 -8
  71. package/dist/index.js +76 -117
  72. package/dist/install.js +4 -4
  73. package/dist/json.js +2 -2
  74. package/dist/kanban.js +2 -2
  75. package/dist/languages/index.js +2 -2
  76. package/dist/{legacy-bridge-WVQ4BHDI.js → legacy-bridge-XM2GV665.js} +4 -4
  77. package/dist/lint.js +4 -4
  78. package/dist/logs.js +2 -2
  79. package/dist/outdated.js +2 -2
  80. package/dist/pack.js +42 -46
  81. package/dist/{parser-dispatch-UQAB4E6V.js → parser-dispatch-HZDZSIYH.js} +2 -2
  82. package/dist/patch.js +7 -7
  83. package/dist/plan.js +4 -4
  84. package/dist/read-url-content.d.ts +17 -0
  85. package/dist/read.js +7 -7
  86. package/dist/replace.js +7 -7
  87. package/dist/session-kanban.js +1 -1
  88. package/dist/session-shell.d.ts +12 -0
  89. package/dist/session-shell.js +8 -0
  90. package/dist/task.js +4 -4
  91. package/dist/test.js +4 -4
  92. package/dist/todo.js +3 -3
  93. package/dist/tool-search.js +1 -1
  94. package/dist/tool-tier.d.ts +12 -2
  95. package/dist/tool-tier.js +43 -47
  96. package/dist/tree.js +2 -2
  97. package/dist/typecheck.js +4 -4
  98. package/dist/write.js +7 -7
  99. package/package.json +9 -21
  100. package/dist/batch-tool-use.d.ts +0 -24
  101. package/dist/batch-tool-use.js +0 -7
  102. package/dist/chunk-7ODZTPCU.js +0 -128
  103. package/dist/chunk-CHEK3ASV.js +0 -183
  104. package/dist/chunk-KLJZ4WV4.js +0 -213
  105. package/dist/chunk-VBF2YXUW.js +0 -203
  106. package/dist/document.d.ts +0 -25
  107. package/dist/document.js +0 -8
  108. package/dist/scaffold.d.ts +0 -23
  109. package/dist/scaffold.js +0 -10
  110. package/dist/set-working-dir.d.ts +0 -17
  111. package/dist/tool-help.d.ts +0 -21
  112. package/dist/tool-help.js +0 -7
@@ -9,13 +9,13 @@ import {
9
9
  statsService,
10
10
  symbolGraphService,
11
11
  vectorSearchService
12
- } from "../chunk-3JVSOBHU.js";
13
- import "../chunk-6LCKF5KH.js";
12
+ } from "../chunk-54SIRJ6D.js";
13
+ import "../chunk-7PEZU5Y4.js";
14
14
  import "../chunk-REWOZIA4.js";
15
15
  import "../chunk-6IEBD27U.js";
16
16
  import "../chunk-ZKC5UNGD.js";
17
17
  import "../chunk-YOHO4DVT.js";
18
- import "../chunk-2CTZW6JQ.js";
18
+ import "../chunk-XHSHNOAF.js";
19
19
  import "../chunk-5U5ULQX2.js";
20
20
 
21
21
  // src/codebase-index/worker.ts
package/dist/diff.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  diffTool
3
- } from "./chunk-7HL23T3T.js";
3
+ } from "./chunk-BU6VUXWG.js";
4
4
  import "./chunk-ZBMANLYH.js";
5
- import "./chunk-ZUFHAHTE.js";
5
+ import "./chunk-HKR56VNF.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-RV7BVTDG.js";
5
- import "./chunk-ZUFHAHTE.js";
4
+ } from "./chunk-WKXL5XHU.js";
5
+ import "./chunk-HKR56VNF.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-AMURQAJX.js";
3
+ } from "./chunk-G35NLPG5.js";
4
4
  import "./chunk-MSOAX3GC.js";
5
- import "./chunk-CVNCSMVU.js";
6
- import "./chunk-6ZLRRC74.js";
7
- import "./chunk-3JVSOBHU.js";
8
- import "./chunk-6LCKF5KH.js";
5
+ import "./chunk-DOHU3XHS.js";
6
+ import "./chunk-WBAPU3AB.js";
7
+ import "./chunk-54SIRJ6D.js";
8
+ import "./chunk-7PEZU5Y4.js";
9
9
  import "./chunk-REWOZIA4.js";
10
10
  import "./chunk-6IEBD27U.js";
11
11
  import "./chunk-ZKC5UNGD.js";
12
12
  import "./chunk-YOHO4DVT.js";
13
- import "./chunk-2CTZW6JQ.js";
13
+ import "./chunk-XHSHNOAF.js";
14
14
  import "./chunk-5U5ULQX2.js";
15
- import "./chunk-ZUFHAHTE.js";
15
+ import "./chunk-HKR56VNF.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-T7YVY2BV.js";
10
+ } from "./chunk-YILT3CSO.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-ZUFHAHTE.js";
17
+ import "./chunk-HKR56VNF.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-DX5KZEMK.js";
3
+ } from "./chunk-47GYABZW.js";
4
4
  import {
5
5
  guardedFetch,
6
6
  guardedLookup
7
7
  } from "./chunk-NBDZMMG2.js";
8
- import "./chunk-ZUFHAHTE.js";
8
+ import "./chunk-HKR56VNF.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-YDTRKEYY.js";
6
- import "./chunk-GU7QJ37F.js";
7
- import "./chunk-3LS3FYEF.js";
5
+ } from "./chunk-OBVXDVLE.js";
6
+ import "./chunk-JQ43NVFU.js";
7
+ import "./chunk-JK5WXW4S.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-ZUFHAHTE.js";
13
+ import "./chunk-HKR56VNF.js";
14
14
  export {
15
15
  detectFixer,
16
16
  formatTool,
package/dist/git.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  gitTool
3
- } from "./chunk-AQ5YBURX.js";
4
- import "./chunk-ZUFHAHTE.js";
3
+ } from "./chunk-2IC5FRD7.js";
4
+ import "./chunk-HKR56VNF.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-ASEXQRA7.js";
3
+ } from "./chunk-IMIHTHF7.js";
4
4
  import "./chunk-ZBMANLYH.js";
5
- import "./chunk-2CTZW6JQ.js";
6
- import "./chunk-ZUFHAHTE.js";
5
+ import "./chunk-XHSHNOAF.js";
6
+ import "./chunk-HKR56VNF.js";
7
7
  export {
8
8
  globTool
9
9
  };
package/dist/grep.js CHANGED
@@ -2,11 +2,11 @@ import {
2
2
  __resetRgDetectionForTests,
3
3
  __setRgAvailableForTests,
4
4
  grepTool
5
- } from "./chunk-4ERMPDHV.js";
5
+ } from "./chunk-ZSW5KO5S.js";
6
6
  import "./chunk-YJTXRH5Y.js";
7
7
  import "./chunk-ZBMANLYH.js";
8
- import "./chunk-2CTZW6JQ.js";
9
- import "./chunk-ZUFHAHTE.js";
8
+ import "./chunk-XHSHNOAF.js";
9
+ import "./chunk-HKR56VNF.js";
10
10
  export {
11
11
  __resetRgDetectionForTests,
12
12
  __setRgAvailableForTests,
package/dist/index.d.ts CHANGED
@@ -8,16 +8,14 @@ export { type AuditContext, type AuditInput, type AuditOutput, type AuditVulnera
8
8
  export { type AutoProceedLoopGuard, createAutoProceedLoopGuard, GROUNDED_NO_PROGRESS_STEER, type GroundedRepetitionAction, type GroundedRepetitionSignal, type LoopGuardOptions, normalizeForRepetition, type RepetitionSignal, } from './auto-proceed-loop-guard.js';
9
9
  export { type BashInput, type BashOutput, bashTool, } from './bash.js';
10
10
  export { checkAndBlockKillCommand, type KillCheckResult, type KillCommand, } from './bash-kill-guard.js';
11
- export { type BatchToolUseInput, type BatchToolUseOutput, batchToolUseTool, } from './batch-tool-use.js';
12
11
  export * from './browser/index.js';
13
12
  export { builtinTools, OFF_ONLY_TOOLS, OPTIONAL_TOOLS, TIER1_TOOLS, TIER2_TOOLS, TIER3_TOOLS, } from './builtin.js';
14
13
  export { type BreakerState, CircuitBreaker, type CircuitBreakerConfig, type CircuitBreakerSnapshot, } from './circuit-breaker.js';
15
- export { type ClarifyInput, type ClarifyOutput, type ClarifyQuestionInput, clarifyTool, } from './clarify.js';
14
+ export { type ClarifyAnswerItem, type ClarifyInput, type ClarifyOutput, type ClarifyQuestionInput, type ClarifyQuestionItem, clarifyTool, } from './clarify.js';
16
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';
17
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';
18
17
  export { type DesignInput, type DesignOutput, designTool, } from './design.js';
19
18
  export { type DiffInput, type DiffMode, type DiffOutput, diffTool, } from './diff.js';
20
- export { type DocumentedItem, type DocumentInput, type DocumentOutput, documentTool, } from './document.js';
21
19
  export { discoverE2EProjects, type E2EExecutionPlan, type E2EFramework, type E2EPackageManager, type E2EPlanInput, type E2EPlanOutput, type E2EProjectPlan, type E2EServerHint, e2ePlanTool, } from './e2e.js';
22
20
  export { type EditInput, type EditOutput, editTool, type MatchTier, } from './edit.js';
23
21
  export { configureDangerBypass, configureExecPolicy, type ExecInput, type ExecOutput, execTool, getDangerBypass, getExecAllowlist, isExecCommandAllowed, resetDangerBypass, resetExecPolicy, } from './exec.js';
@@ -48,23 +46,19 @@ export { getPersistentProcessRegistry, type PersistentProcessEntry, type Persist
48
46
  export { createGlobalPsSlashCommand, formatGlobalStatus, formatInstanceList, formatInstanceSummary, type GlobalProcessStatus, getInstanceCount, type InstanceInfo, type InstanceListOptions, listInstances, } from './ps-slash.js';
49
47
  export { PWSH_TOOL_DESCRIPTION, PWSH_TOOL_USAGE_HINT, type PwshInput, type PwshOutput, pwshTool, } from './pwsh.js';
50
48
  export { type ReadInput, type ReadMode, type ReadOutput, readTool, type SymbolEntry, } from './read.js';
49
+ export { type ReadUrlContentInput, type ReadUrlContentOutput, readUrlContentTool, } from './read-url-content.js';
51
50
  export { type ReplaceInput, type ReplaceOutput, replaceTool, } from './replace.js';
52
- export { BUILT_IN_TEMPLATES, type ScaffoldInput, type ScaffoldOutput, type ScaffoldTemplate, scaffoldTool, } from './scaffold.js';
53
51
  export { type CacheEntry as SearchCacheEntry, type SearchInput, type SearchOutput, type SearchResult, searchTool, } from './search.js';
54
52
  export { analyzeSecurityAndPerformance, type SecurityFinding, type SecurityScanInput, type SecurityScanOutput, securityAstScanTool, } from './security-ast-scan-tool.js';
55
53
  export { applySessionKanbanBoardToTodos, applySessionKanbanTaskToSource, attachSessionKanbanMirror, ensureSessionKanbanBoard, hydrateSessionKanban, mirrorSessionPlanToKanban, mirrorSessionTasksToKanban, mirrorSessionTodosToKanban, projectSessionPlanToKanban, projectSessionTasksToKanban, projectSessionTodosToKanban, rebindSessionKanbanTask, SESSION_KANBAN_COLUMNS, } from './session-kanban.js';
56
- export { type SetWorkingDirInput, type SetWorkingDirOutput, setWorkingDirTool, } from './set-working-dir.js';
57
54
  export { type LoadedResource, makeSkillTool, type SkillResource, type SkillToolInput, type SkillToolOutput, } from './skill.js';
58
55
  export { type TaskAction, type TaskAdditionItem, type TaskInput, type TaskOutput, type TaskReplacementItem, taskTool, } from './task.js';
59
56
  export { type TestContext, type TestInput, type TestOutput, type TestRunnerName, testTool, } from './test.js';
60
57
  export { type TodoInput, type TodoKanbanBinding, type TodoOutput, todoTool, } from './todo.js';
61
58
  export { computeLineDiff, DIFF_MAX_LINES, type DiffRow, type DiffRowKind, diffFromToolInput, type ToolDiff, } from './tool-diff.js';
62
- export { type ToolHelpInput, type ToolHelpOutput, toolHelpTool, } from './tool-help.js';
63
59
  export { FALLBACK_ICON, getToolIcon, TOOL_ICON_CONFIG, TOOL_ICON_MAP, type ToolIconConfig, type ToolIconId, } from './tool-icon-map.js';
64
- export { type ToolSearchInput, type ToolSearchOutput, toolSearchTool, } from './tool-search.js';
65
60
  export { FALLBACK_HEAD_FIELDS, SUMMARIZE_TOOL_INPUT_BROWSER_SRC, summarizeToolInput, } from './tool-summary.js';
66
61
  export { type RegisterBuiltinToolTierOptions, registerBuiltinToolTier, selectBuiltinToolsForTier, } from './tool-tier.js';
67
- export { type ToolUseInput, type ToolUseOutput, toolUseTool, } from './tool-use.js';
68
62
  export { DEFAULT_MAX_TREE_ENTRIES, MAX_TREE_OUTPUT_BYTES, type TreeContext, type TreeInput, type TreeOutput, treeTool, } from './tree.js';
69
63
  export { type TypecheckContext, type TypecheckInput, type TypecheckOutput, typecheckTool, } from './typecheck.js';
70
64
  export { type WriteInput, type WriteOutput, writeTool, } from './write.js';
package/dist/index.js CHANGED
@@ -1,3 +1,13 @@
1
+ import {
2
+ GROUNDED_NO_PROGRESS_STEER,
3
+ createAutoProceedLoopGuard,
4
+ normalizeForRepetition
5
+ } from "./chunk-NL2S2CXD.js";
6
+ import {
7
+ ensureSessionShell,
8
+ normalizeShell,
9
+ resolveSessionShell
10
+ } from "./chunk-SIIOHBNY.js";
1
11
  import {
2
12
  FALLBACK_HEAD_FIELDS,
3
13
  SUMMARIZE_TOOL_INPUT_BROWSER_SRC,
@@ -13,10 +23,14 @@ import {
13
23
  stripNextSteps
14
24
  } from "./chunk-XXRMF2BC.js";
15
25
  import {
16
- GROUNDED_NO_PROGRESS_STEER,
17
- createAutoProceedLoopGuard,
18
- normalizeForRepetition
19
- } from "./chunk-NL2S2CXD.js";
26
+ forgetTool,
27
+ relatedMemoryTool,
28
+ rememberTool,
29
+ searchMemoryTool
30
+ } from "./chunk-FVM3O4JQ.js";
31
+ import {
32
+ createModeTool
33
+ } from "./chunk-UI3ZJIG3.js";
20
34
  import {
21
35
  createGlobalPsSlashCommand,
22
36
  formatGlobalStatus,
@@ -28,23 +42,14 @@ import {
28
42
  import {
29
43
  makeSkillTool
30
44
  } from "./chunk-DJYLI7EW.js";
31
- import {
32
- forgetTool,
33
- relatedMemoryTool,
34
- rememberTool,
35
- searchMemoryTool
36
- } from "./chunk-FVM3O4JQ.js";
37
- import {
38
- createModeTool
39
- } from "./chunk-UI3ZJIG3.js";
40
45
  import "./chunk-Z6DAKQ3U.js";
41
46
  import {
42
47
  registerBuiltinToolTier,
43
48
  selectBuiltinToolsForTier
44
- } from "./chunk-32XPUSY3.js";
49
+ } from "./chunk-FRIUJ534.js";
45
50
  import {
46
51
  builtinToolsPack
47
- } from "./chunk-VO6M2FVG.js";
52
+ } from "./chunk-6ZRP5IKQ.js";
48
53
  import {
49
54
  OFF_ONLY_TOOLS,
50
55
  OPTIONAL_TOOLS,
@@ -57,13 +62,13 @@ import {
57
62
  builtinTools,
58
63
  clarifyTool,
59
64
  pwshTool,
60
- securityAstScanTool,
61
- setWorkingDirTool
62
- } from "./chunk-TYRVYBHW.js";
65
+ readUrlContentTool,
66
+ securityAstScanTool
67
+ } from "./chunk-OVFQC6FU.js";
63
68
  import {
64
69
  discoverE2EProjects,
65
70
  e2ePlanTool
66
- } from "./chunk-RV7BVTDG.js";
71
+ } from "./chunk-WKXL5XHU.js";
67
72
  import {
68
73
  ATLAS_DIR,
69
74
  MAX_CRUX_LINES,
@@ -93,78 +98,61 @@ import {
93
98
  runDeadCodeScan,
94
99
  setContextQueryEmbedder,
95
100
  writeProjectAtlas
96
- } from "./chunk-PNLDTRC5.js";
101
+ } from "./chunk-CYPYJIAF.js";
97
102
  import "./chunk-XRNN44QY.js";
103
+ import {
104
+ designTool
105
+ } from "./chunk-IXIS7RSG.js";
98
106
  import {
99
107
  planTool
100
- } from "./chunk-NOCU555K.js";
108
+ } from "./chunk-NKOTOW6X.js";
101
109
  import {
102
110
  taskTool
103
- } from "./chunk-VKAJMHVG.js";
104
- import {
105
- toolSearchTool
106
- } from "./chunk-24T5XIJU.js";
107
- import {
108
- toolUseTool
109
- } from "./chunk-B3MGJBFI.js";
110
- import {
111
- batchToolUseTool
112
- } from "./chunk-VBF2YXUW.js";
113
- import {
114
- toolHelpTool
115
- } from "./chunk-7ODZTPCU.js";
116
- import {
117
- designTool
118
- } from "./chunk-IXIS7RSG.js";
111
+ } from "./chunk-OZVGRDCM.js";
119
112
  import {
120
113
  testTool
121
- } from "./chunk-Z34CUZCZ.js";
114
+ } from "./chunk-S6E2AM4U.js";
122
115
  import {
123
116
  installTool
124
- } from "./chunk-MIV2RU5B.js";
117
+ } from "./chunk-ZETZHHV5.js";
125
118
  import {
126
119
  auditTool
127
- } from "./chunk-KIQTABBJ.js";
120
+ } from "./chunk-C64UUXTA.js";
128
121
  import {
129
122
  outdatedTool
130
- } from "./chunk-OUEH4I4X.js";
123
+ } from "./chunk-YJQQ5F5J.js";
131
124
  import {
132
125
  logsTool
133
- } from "./chunk-VU3QBYL4.js";
134
- import {
135
- documentTool
136
- } from "./chunk-CHEK3ASV.js";
137
- import {
138
- BUILT_IN_TEMPLATES,
139
- scaffoldTool
140
- } from "./chunk-KLJZ4WV4.js";
126
+ } from "./chunk-2ZWQIVEW.js";
127
+ import "./chunk-YA2ZYCJY.js";
128
+ import "./chunk-B3MGJBFI.js";
141
129
  import {
142
130
  gitTool
143
- } from "./chunk-AQ5YBURX.js";
131
+ } from "./chunk-2IC5FRD7.js";
144
132
  import {
145
133
  patchTool
146
- } from "./chunk-E2ZD4ERD.js";
134
+ } from "./chunk-7EQ2LUXU.js";
147
135
  import {
148
136
  jsonTool
149
- } from "./chunk-VZGPASGD.js";
137
+ } from "./chunk-MG7CUN6R.js";
150
138
  import {
151
139
  diffTool
152
- } from "./chunk-7HL23T3T.js";
140
+ } from "./chunk-BU6VUXWG.js";
153
141
  import {
154
142
  DEFAULT_MAX_TREE_ENTRIES,
155
143
  MAX_TREE_OUTPUT_BYTES,
156
144
  treeTool
157
- } from "./chunk-JDOO4P6Z.js";
145
+ } from "./chunk-3F7HQ3KS.js";
158
146
  import {
159
147
  lintTool
160
- } from "./chunk-FC3X7GGJ.js";
148
+ } from "./chunk-R36RWYXE.js";
161
149
  import {
162
150
  formatTool
163
- } from "./chunk-YDTRKEYY.js";
151
+ } from "./chunk-OBVXDVLE.js";
164
152
  import {
165
153
  typecheckTool
166
- } from "./chunk-IRUEHGCR.js";
167
- import "./chunk-GU7QJ37F.js";
154
+ } from "./chunk-D4HWMWGE.js";
155
+ import "./chunk-JQ43NVFU.js";
168
156
  import {
169
157
  ADDITIONAL_LANGUAGE_PROFILES,
170
158
  LanguageProfileRegistry,
@@ -182,17 +170,17 @@ import {
182
170
  planLanguageOperation,
183
171
  validateCommandPlan,
184
172
  validateLanguageProfile
185
- } from "./chunk-3LS3FYEF.js";
173
+ } from "./chunk-JK5WXW4S.js";
186
174
  import "./chunk-EMA2XENR.js";
187
175
  import {
188
176
  replaceTool
189
- } from "./chunk-77MBK46T.js";
177
+ } from "./chunk-IOOFLBVM.js";
190
178
  import {
191
179
  globTool
192
- } from "./chunk-ASEXQRA7.js";
180
+ } from "./chunk-IMIHTHF7.js";
193
181
  import {
194
182
  grepTool
195
- } from "./chunk-4ERMPDHV.js";
183
+ } from "./chunk-ZSW5KO5S.js";
196
184
  import {
197
185
  MAX_SUBJECT_LEN,
198
186
  capSubject,
@@ -204,7 +192,7 @@ import {
204
192
  import {
205
193
  bashTool,
206
194
  checkAndBlockKillCommand
207
- } from "./chunk-KYVOTHG7.js";
195
+ } from "./chunk-4KI4HHID.js";
208
196
  import {
209
197
  checkExecKillCommand,
210
198
  configureDangerBypass,
@@ -216,7 +204,7 @@ import {
216
204
  isExecCommandAllowed,
217
205
  resetDangerBypass,
218
206
  resetExecPolicy
219
- } from "./chunk-T7YVY2BV.js";
207
+ } from "./chunk-YILT3CSO.js";
220
208
  import "./chunk-BTSFTGIL.js";
221
209
  import {
222
210
  getPersistentProcessRegistry,
@@ -232,20 +220,20 @@ import {
232
220
  } from "./chunk-7JJFC6CT.js";
233
221
  import {
234
222
  fetchTool
235
- } from "./chunk-DX5KZEMK.js";
223
+ } from "./chunk-47GYABZW.js";
236
224
  import {
237
225
  searchTool
238
226
  } from "./chunk-62OAECEQ.js";
239
227
  import "./chunk-NBDZMMG2.js";
240
228
  import {
241
229
  todoTool
242
- } from "./chunk-4YKVHCQC.js";
230
+ } from "./chunk-TGVQMKVH.js";
243
231
  import {
244
232
  kanbanEvidenceKey,
245
233
  kanbanEvidencePointer,
246
234
  kanbanTool,
247
235
  recordKanbanVerificationEvidence
248
- } from "./chunk-SMARDKAC.js";
236
+ } from "./chunk-5UA4TNJJ.js";
249
237
  import {
250
238
  SESSION_KANBAN_COLUMNS,
251
239
  applySessionKanbanBoardToTodos,
@@ -260,8 +248,9 @@ import {
260
248
  projectSessionTasksToKanban,
261
249
  projectSessionTodosToKanban,
262
250
  rebindSessionKanbanTask
263
- } from "./chunk-X6KXNHUO.js";
251
+ } from "./chunk-5BKQVP56.js";
264
252
  import {
253
+ BROWSER_TOOL_NAMES,
265
254
  BrowserArtifactStore,
266
255
  BrowserNetworkGuardProxy,
267
256
  BrowserSessionManager,
@@ -284,21 +273,24 @@ import {
284
273
  browserTypeTool,
285
274
  browserUploadTool,
286
275
  browserWaitTool,
276
+ disableBrowserSuite,
277
+ enableBrowserSuite,
278
+ isBrowserSuiteEnabled,
287
279
  parsePrivateOriginAllowlist,
288
280
  redactBrowserText,
289
281
  resolvePinnedBrowserTarget,
290
282
  safeBrowserUrl,
291
283
  shutdownBrowserTools
292
- } from "./chunk-SOR7OCYP.js";
284
+ } from "./chunk-6XYFYLN7.js";
293
285
  import {
294
286
  readTool
295
- } from "./chunk-YECHJJJF.js";
287
+ } from "./chunk-K7Y2IWEB.js";
296
288
  import {
297
289
  writeTool
298
- } from "./chunk-QU2VRCMM.js";
290
+ } from "./chunk-TL5T4A4E.js";
299
291
  import {
300
292
  editTool
301
- } from "./chunk-AMURQAJX.js";
293
+ } from "./chunk-G35NLPG5.js";
302
294
  import {
303
295
  checkSyntax
304
296
  } from "./chunk-MSOAX3GC.js";
@@ -321,8 +313,8 @@ import {
321
313
  shutdownCodebaseIndexHost,
322
314
  shutdownCodebaseIndexServer,
323
315
  symbolGraphService
324
- } from "./chunk-CVNCSMVU.js";
325
- import "./chunk-6ZLRRC74.js";
316
+ } from "./chunk-DOHU3XHS.js";
317
+ import "./chunk-WBAPU3AB.js";
326
318
  import {
327
319
  CONCEPT_RELATIONS,
328
320
  CircuitOpenError,
@@ -330,45 +322,15 @@ import {
330
322
  IndexTimeoutError,
331
323
  indexCircuitBreaker,
332
324
  resetIndexCircuitBreaker
333
- } from "./chunk-3JVSOBHU.js";
334
- import "./chunk-6LCKF5KH.js";
325
+ } from "./chunk-54SIRJ6D.js";
326
+ import "./chunk-7PEZU5Y4.js";
335
327
  import "./chunk-REWOZIA4.js";
336
328
  import "./chunk-6IEBD27U.js";
337
329
  import "./chunk-ZKC5UNGD.js";
338
330
  import "./chunk-YOHO4DVT.js";
339
- import "./chunk-2CTZW6JQ.js";
340
- import {
341
- resolveWin32Command
342
- } from "./chunk-5U5ULQX2.js";
343
- import "./chunk-ZUFHAHTE.js";
344
-
345
- // src/_session-shell.ts
346
- function normalizeShell(value) {
347
- const v = value?.trim().toLowerCase();
348
- if (v === "cmd" || v === "cmd.exe") return "cmd";
349
- if (v === "powershell" || v === "powershell.exe") return "powershell";
350
- if (v === "pwsh" || v === "pwsh.exe") return "pwsh";
351
- return void 0;
352
- }
353
- function resolveSessionShell(platform2, env, deps = {}) {
354
- if (platform2 !== "win32") return void 0;
355
- const override = normalizeShell(env.get("WRONGSTACK_SHELL"));
356
- if (override) return override;
357
- const hasBinary = deps.hasBinary ?? ((bin) => resolveWin32Command(bin) !== bin);
358
- if (hasBinary("pwsh.exe")) return "pwsh";
359
- if (hasBinary("powershell.exe")) return "powershell";
360
- return "cmd";
361
- }
362
- function ensureSessionShell(opts = {}) {
363
- const env = opts.env ?? process.env;
364
- const platform2 = opts.platform ?? process.platform;
365
- if (platform2 !== "win32") return void 0;
366
- const existing = normalizeShell(env["WRONGSTACK_SHELL"]);
367
- if (existing) return existing;
368
- const chosen = resolveSessionShell(platform2, { get: (k) => env[k] }, { hasBinary: opts.hasBinary }) ?? "cmd";
369
- env["WRONGSTACK_SHELL"] = chosen;
370
- return chosen;
371
- }
331
+ import "./chunk-XHSHNOAF.js";
332
+ import "./chunk-5U5ULQX2.js";
333
+ import "./chunk-HKR56VNF.js";
372
334
 
373
335
  // src/next-steps-tool.ts
374
336
  import {
@@ -925,7 +887,7 @@ var FALLBACK_ICON = "fallback";
925
887
  export {
926
888
  ADDITIONAL_LANGUAGE_PROFILES,
927
889
  ATLAS_DIR,
928
- BUILT_IN_TEMPLATES,
890
+ BROWSER_TOOL_NAMES,
929
891
  BrowserArtifactStore,
930
892
  BrowserNetworkGuardProxy,
931
893
  BrowserSessionManager,
@@ -964,7 +926,6 @@ export {
964
926
  attachSessionKanbanMirror,
965
927
  auditTool,
966
928
  bashTool,
967
- batchToolUseTool,
968
929
  browserClickTool,
969
930
  browserCloseTool,
970
931
  browserDragTool,
@@ -1021,11 +982,12 @@ export {
1021
982
  diagnosticsForInternalSyntax,
1022
983
  diffFromToolInput,
1023
984
  diffTool,
985
+ disableBrowserSuite,
1024
986
  discoverE2EProjects,
1025
- documentTool,
1026
987
  e2ePlanTool,
1027
988
  editTool,
1028
989
  embedProjectFiles,
990
+ enableBrowserSuite,
1029
991
  enqueueReindex,
1030
992
  enrichProjectConcepts,
1031
993
  ensureCodebaseIndexServer,
@@ -1059,6 +1021,7 @@ export {
1059
1021
  hydrateSessionKanban,
1060
1022
  indexCircuitBreaker,
1061
1023
  installTool,
1024
+ isBrowserSuiteEnabled,
1062
1025
  isExecCommandAllowed,
1063
1026
  isIndexReady,
1064
1027
  isIndexableFile,
@@ -1097,6 +1060,7 @@ export {
1097
1060
  projectSessionTodosToKanban,
1098
1061
  pwshTool,
1099
1062
  readTool,
1063
+ readUrlContentTool,
1100
1064
  rebindSessionKanbanTask,
1101
1065
  recordKanbanVerificationEvidence,
1102
1066
  redactBrowserText,
@@ -1115,14 +1079,12 @@ export {
1115
1079
  runDeadCodeScan,
1116
1080
  runStartupIndex,
1117
1081
  safeBrowserUrl,
1118
- scaffoldTool,
1119
1082
  searchCodebaseIndex,
1120
1083
  searchMemoryTool,
1121
1084
  searchTool,
1122
1085
  securityAstScanTool,
1123
1086
  selectBuiltinToolsForTier,
1124
1087
  setContextQueryEmbedder,
1125
- setWorkingDirTool,
1126
1088
  shutdownBrowserTools,
1127
1089
  shutdownCodebaseIndexHost,
1128
1090
  shutdownCodebaseIndexServer,
@@ -1134,9 +1096,6 @@ export {
1134
1096
  taskTool,
1135
1097
  testTool,
1136
1098
  todoTool,
1137
- toolHelpTool,
1138
- toolSearchTool,
1139
- toolUseTool,
1140
1099
  treeTool,
1141
1100
  typecheckTool,
1142
1101
  validateCommandPlan,
package/dist/install.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  installTool
3
- } from "./chunk-MIV2RU5B.js";
4
- import "./chunk-GU7QJ37F.js";
5
- import "./chunk-3LS3FYEF.js";
3
+ } from "./chunk-ZETZHHV5.js";
4
+ import "./chunk-JQ43NVFU.js";
5
+ import "./chunk-JK5WXW4S.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-ZUFHAHTE.js";
11
+ import "./chunk-HKR56VNF.js";
12
12
  export {
13
13
  installTool
14
14
  };
package/dist/json.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  jsonTool
3
- } from "./chunk-VZGPASGD.js";
3
+ } from "./chunk-MG7CUN6R.js";
4
4
  import "./chunk-YJTXRH5Y.js";
5
- import "./chunk-ZUFHAHTE.js";
5
+ import "./chunk-HKR56VNF.js";
6
6
  export {
7
7
  jsonTool
8
8
  };
package/dist/kanban.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  kanbanTool
3
- } from "./chunk-SMARDKAC.js";
4
- import "./chunk-X6KXNHUO.js";
3
+ } from "./chunk-5UA4TNJJ.js";
4
+ import "./chunk-5BKQVP56.js";
5
5
  export {
6
6
  kanbanTool
7
7
  };