@denizokcu/haze 0.9.0 → 0.11.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 (241) hide show
  1. package/CHANGELOG.md +133 -17
  2. package/README.md +164 -68
  3. package/SECURITY.md +22 -0
  4. package/bin/haze.js +102 -1
  5. package/dist/buildInfo.json +7 -0
  6. package/dist/cli/chat/TaskBar.d.ts +2 -1
  7. package/dist/cli/chat/TaskBar.js +7 -4
  8. package/dist/cli/chat/chatMetrics.d.ts +17 -1
  9. package/dist/cli/chat/chatMetrics.js +22 -5
  10. package/dist/cli/chat/contextReport.d.ts +11 -0
  11. package/dist/cli/chat/contextReport.js +46 -0
  12. package/dist/cli/chat/fileMentionSuggestions.d.ts +29 -0
  13. package/dist/cli/chat/fileMentionSuggestions.js +92 -0
  14. package/dist/cli/chat/inputSuggestions.d.ts +5 -0
  15. package/dist/cli/chat/inputSuggestions.js +17 -3
  16. package/dist/cli/chat/liveRegion.d.ts +25 -0
  17. package/dist/cli/chat/liveRegion.js +48 -0
  18. package/dist/cli/chat/messages.d.ts +33 -2
  19. package/dist/cli/chat/messages.js +216 -33
  20. package/dist/cli/chat/sessionLifecycle.d.ts +67 -0
  21. package/dist/cli/chat/sessionLifecycle.js +205 -0
  22. package/dist/cli/chat/sessionRecorder.js +80 -14
  23. package/dist/cli/chat/startupInfo.js +11 -4
  24. package/dist/cli/chat/tips.d.ts +21 -0
  25. package/dist/cli/chat/tips.js +43 -0
  26. package/dist/cli/chat/wizardDispatch.d.ts +64 -0
  27. package/dist/cli/chat/wizardDispatch.js +744 -0
  28. package/dist/cli/commands/chat.d.ts +6 -0
  29. package/dist/cli/commands/chat.js +373 -790
  30. package/dist/cli/commands/chatModes.d.ts +1 -1
  31. package/dist/cli/commands/chatModes.js +7 -2
  32. package/dist/cli/commands/commandHelp.js +5 -3
  33. package/dist/cli/commands/commands.d.ts +5 -2
  34. package/dist/cli/commands/commands.js +22 -18
  35. package/dist/cli/commands/doctor.d.ts +19 -0
  36. package/dist/cli/commands/doctor.js +76 -0
  37. package/dist/cli/commands/fleetCommand.d.ts +14 -0
  38. package/dist/cli/commands/fleetCommand.js +46 -0
  39. package/dist/cli/commands/formatters.d.ts +5 -0
  40. package/dist/cli/commands/formatters.js +35 -6
  41. package/dist/cli/commands/logsCommand.js +1 -7
  42. package/dist/cli/commands/modelCommand.js +1 -1
  43. package/dist/cli/commands/ndjsonSink.d.ts +23 -0
  44. package/dist/cli/commands/ndjsonSink.js +38 -0
  45. package/dist/cli/commands/providerWizard.d.ts +10 -2
  46. package/dist/cli/commands/providerWizard.js +50 -4
  47. package/dist/cli/commands/runCommand.d.ts +4 -0
  48. package/dist/cli/commands/runCommand.js +142 -16
  49. package/dist/cli/commands/sessionPicker.d.ts +9 -0
  50. package/dist/cli/commands/sessionPicker.js +29 -0
  51. package/dist/cli/commands/settingsSummary.js +6 -4
  52. package/dist/cli/commands/skillConfirmRemove.js +4 -3
  53. package/dist/cli/commands/skillWizard.d.ts +2 -0
  54. package/dist/cli/commands/skillWizard.js +16 -6
  55. package/dist/cli/commands/streaming/abortCause.d.ts +24 -0
  56. package/dist/cli/commands/streaming/abortCause.js +16 -0
  57. package/dist/cli/commands/streaming/assistantText.js +9 -2
  58. package/dist/cli/commands/streaming/goalCheckpoint.d.ts +65 -0
  59. package/dist/cli/commands/streaming/goalCheckpoint.js +23 -0
  60. package/dist/cli/commands/streaming/goalSupervisor.d.ts +64 -0
  61. package/dist/cli/commands/streaming/goalSupervisor.js +127 -0
  62. package/dist/cli/commands/streaming/idleTimer.d.ts +26 -0
  63. package/dist/cli/commands/streaming/idleTimer.js +24 -0
  64. package/dist/cli/commands/streaming/toolCallRecovery.d.ts +2 -0
  65. package/dist/cli/commands/streaming/toolCallRecovery.js +24 -0
  66. package/dist/cli/commands/streaming/toolGroupRenderer.d.ts +31 -0
  67. package/dist/cli/commands/streaming/toolGroupRenderer.js +50 -2
  68. package/dist/cli/commands/streaming/toolResultState.d.ts +6 -1
  69. package/dist/cli/commands/streaming/toolResultState.js +29 -7
  70. package/dist/cli/commands/streaming/turnOutcome.d.ts +17 -0
  71. package/dist/cli/commands/streaming/turnOutcome.js +27 -11
  72. package/dist/cli/commands/streaming/turnRuntime.js +6 -4
  73. package/dist/cli/commands/streaming.d.ts +82 -3
  74. package/dist/cli/commands/streaming.js +528 -91
  75. package/dist/cli/commands/wizardActions.d.ts +7 -0
  76. package/dist/cli/commands/wizardActions.js +7 -0
  77. package/dist/cli/commands/wizardPrompts.js +7 -1
  78. package/dist/cli/commands/wizardSuggestions.d.ts +8 -0
  79. package/dist/cli/commands/wizardSuggestions.js +64 -14
  80. package/dist/cli/commands/wizardTransition.d.ts +4 -0
  81. package/dist/cli/commands/wizardTransition.js +1 -2
  82. package/dist/cli/index.js +82 -22
  83. package/dist/cli/terminalTitle.d.ts +6 -0
  84. package/dist/cli/terminalTitle.js +36 -0
  85. package/dist/config/inputHistory.d.ts +3 -3
  86. package/dist/config/inputHistory.js +12 -18
  87. package/dist/config/modelDiscovery.d.ts +71 -0
  88. package/dist/config/modelDiscovery.js +214 -0
  89. package/dist/config/privateStorage.js +28 -2
  90. package/dist/config/providerAuth.d.ts +14 -0
  91. package/dist/config/providerAuth.js +49 -0
  92. package/dist/config/providerPresets.d.ts +49 -5
  93. package/dist/config/providerPresets.js +573 -73
  94. package/dist/config/providers.d.ts +2 -0
  95. package/dist/config/providers.js +9 -0
  96. package/dist/config/settings.d.ts +58 -0
  97. package/dist/config/settings.js +38 -1
  98. package/dist/config/skillSettings.d.ts +6 -13
  99. package/dist/config/skillSettings.js +20 -19
  100. package/dist/core/agent/budgets.d.ts +36 -0
  101. package/dist/core/agent/budgets.js +44 -0
  102. package/dist/core/agent/compaction.d.ts +38 -0
  103. package/dist/core/agent/compaction.js +108 -19
  104. package/dist/core/agent/completionController.d.ts +230 -0
  105. package/dist/core/agent/completionController.js +287 -0
  106. package/dist/core/agent/contextBudget.d.ts +46 -0
  107. package/dist/core/agent/contextBudget.js +89 -7
  108. package/dist/core/agent/errors.js +6 -2
  109. package/dist/core/agent/events.d.ts +86 -0
  110. package/dist/core/agent/reasoningPolicy.d.ts +31 -0
  111. package/dist/core/agent/reasoningPolicy.js +27 -0
  112. package/dist/core/agent/toolCapabilities.d.ts +27 -0
  113. package/dist/core/agent/toolCapabilities.js +58 -0
  114. package/dist/core/agent/toolExecutionBudget.d.ts +35 -0
  115. package/dist/core/agent/toolExecutionBudget.js +49 -0
  116. package/dist/core/agent/toolOutputStore.d.ts +13 -0
  117. package/dist/core/agent/toolOutputStore.js +27 -10
  118. package/dist/core/agent/toolResults.d.ts +12 -0
  119. package/dist/core/agent/toolResults.js +38 -0
  120. package/dist/core/agent/turnBudget.d.ts +35 -0
  121. package/dist/core/agent/turnBudget.js +27 -0
  122. package/dist/core/agent/turnPolicy.d.ts +11 -0
  123. package/dist/core/agent/turnPolicy.js +19 -0
  124. package/dist/core/agent/workState.d.ts +76 -1
  125. package/dist/core/agent/workState.js +120 -13
  126. package/dist/core/attachments/imageAttachments.d.ts +90 -0
  127. package/dist/core/attachments/imageAttachments.js +245 -0
  128. package/dist/core/attachments/readBlessings.d.ts +37 -0
  129. package/dist/core/attachments/readBlessings.js +79 -0
  130. package/dist/core/deadline.d.ts +33 -0
  131. package/dist/core/deadline.js +74 -0
  132. package/dist/core/goal/completionPolicy.d.ts +27 -0
  133. package/dist/core/goal/completionPolicy.js +37 -1
  134. package/dist/core/goal/requestClassifier.d.ts +0 -3
  135. package/dist/core/goal/requestClassifier.js +0 -13
  136. package/dist/core/io/boundedRead.js +76 -29
  137. package/dist/core/limits/byteBudgets.d.ts +7 -0
  138. package/dist/core/limits/byteBudgets.js +7 -0
  139. package/dist/core/limits/textBudgets.d.ts +25 -0
  140. package/dist/core/limits/textBudgets.js +25 -0
  141. package/dist/core/log/llmLog.js +7 -0
  142. package/dist/core/persistence/orderedFileWriter.d.ts +10 -0
  143. package/dist/core/persistence/orderedFileWriter.js +16 -2
  144. package/dist/core/process/backgroundRegistry.d.ts +35 -0
  145. package/dist/core/process/backgroundRegistry.js +195 -0
  146. package/dist/core/process/runBoundedProcess.d.ts +9 -0
  147. package/dist/core/process/runBoundedProcess.js +74 -29
  148. package/dist/core/safety/missingExecutable.d.ts +42 -0
  149. package/dist/core/safety/missingExecutable.js +77 -0
  150. package/dist/core/safety/urlGuard.d.ts +2 -1
  151. package/dist/core/safety/urlGuard.js +3 -2
  152. package/dist/core/session/sessionSlimming.js +47 -4
  153. package/dist/core/session/sessionStore.d.ts +74 -0
  154. package/dist/core/session/sessionStore.js +268 -18
  155. package/dist/core/subagent/contracts.d.ts +120 -0
  156. package/dist/core/subagent/contracts.js +55 -0
  157. package/dist/core/subagent/executionProfiles.d.ts +28 -0
  158. package/dist/core/subagent/executionProfiles.js +45 -0
  159. package/dist/core/subagent/subagentCoordinator.d.ts +78 -0
  160. package/dist/core/subagent/subagentCoordinator.js +164 -0
  161. package/dist/core/subagent/subagentRunner.d.ts +211 -145
  162. package/dist/core/subagent/subagentRunner.js +208 -98
  163. package/dist/core/subagent/workspaceMutationPolicy.d.ts +11 -0
  164. package/dist/core/subagent/workspaceMutationPolicy.js +52 -0
  165. package/dist/core/tasks/taskStorage.js +12 -1
  166. package/dist/llm/client.d.ts +36 -29
  167. package/dist/llm/client.js +102 -33
  168. package/dist/llm/hazeTools.d.ts +2559 -150
  169. package/dist/llm/hazeTools.js +119 -31
  170. package/dist/llm/lsp.d.ts +26 -4
  171. package/dist/llm/lsp.js +90 -14
  172. package/dist/llm/lspTools.d.ts +2366 -0
  173. package/dist/llm/lspTools.js +87 -79
  174. package/dist/llm/openaiCodex.d.ts +3 -0
  175. package/dist/llm/openaiCodex.js +47 -0
  176. package/dist/llm/openaiCodexOAuth.d.ts +54 -0
  177. package/dist/llm/openaiCodexOAuth.js +214 -0
  178. package/dist/llm/requestContext.d.ts +25 -1
  179. package/dist/llm/requestContext.js +51 -8
  180. package/dist/llm/systemPrompt.d.ts +15 -1
  181. package/dist/llm/systemPrompt.js +24 -8
  182. package/dist/llm/toolResultTypes.d.ts +8 -1
  183. package/dist/llm/tools/bashTool.d.ts +906 -32
  184. package/dist/llm/tools/bashTool.js +30 -4
  185. package/dist/llm/tools/editMatch.d.ts +14 -0
  186. package/dist/llm/tools/editMatch.js +72 -0
  187. package/dist/llm/tools/failures.d.ts +2 -0
  188. package/dist/llm/tools/failures.js +1 -0
  189. package/dist/llm/tools/fetchTool.d.ts +42 -26
  190. package/dist/llm/tools/fetchTool.js +1 -1
  191. package/dist/llm/tools/fileToolShared.d.ts +6 -4
  192. package/dist/llm/tools/fileToolShared.js +18 -23
  193. package/dist/llm/tools/gitIgnore.d.ts +49 -0
  194. package/dist/llm/tools/gitIgnore.js +129 -0
  195. package/dist/llm/tools/grepRunner.d.ts +5 -0
  196. package/dist/llm/tools/grepRunner.js +52 -71
  197. package/dist/llm/tools/outputCap.d.ts +2 -6
  198. package/dist/llm/tools/outputCap.js +2 -6
  199. package/dist/llm/tools/processTool.d.ts +1077 -0
  200. package/dist/llm/tools/processTool.js +41 -0
  201. package/dist/llm/tools/readRecovery.d.ts +10 -0
  202. package/dist/llm/tools/readRecovery.js +135 -0
  203. package/dist/llm/tools/toolContext.d.ts +9 -1
  204. package/dist/llm/tools/toolContext.js +83 -43
  205. package/dist/llm/tools/workspaceFile.d.ts +9 -1
  206. package/dist/llm/tools/workspaceFile.js +33 -4
  207. package/dist/llm/webFetch.d.ts +17 -0
  208. package/dist/llm/webFetch.js +66 -86
  209. package/dist/llm/workerContext.d.ts +18 -0
  210. package/dist/llm/workerContext.js +55 -0
  211. package/dist/skills/SkillLoader.d.ts +2 -2
  212. package/dist/skills/SkillRegistry.d.ts +3 -2
  213. package/dist/skills/SkillRegistry.js +43 -13
  214. package/dist/skills/builder/SkillBuilder.d.ts +3 -0
  215. package/dist/skills/builder/SkillBuilder.js +23 -5
  216. package/dist/skills/skillTools.js +11 -4
  217. package/dist/skills/types.d.ts +6 -1
  218. package/dist/ui/codeHighlight.d.ts +4 -0
  219. package/dist/ui/codeHighlight.js +31 -0
  220. package/dist/ui/components/Header.d.ts +1 -1
  221. package/dist/ui/components/MarkdownText.d.ts +16 -2
  222. package/dist/ui/components/MarkdownText.js +244 -34
  223. package/dist/ui/components/TextInput.d.ts +12 -2
  224. package/dist/ui/components/TextInput.js +80 -8
  225. package/dist/ui/theme.d.ts +4 -3
  226. package/dist/ui/theme.js +5 -4
  227. package/dist/utils/buildInfo.d.ts +104 -0
  228. package/dist/utils/buildInfo.js +253 -0
  229. package/dist/utils/format.d.ts +2 -0
  230. package/dist/utils/format.js +8 -0
  231. package/dist/utils/fs.d.ts +9 -1
  232. package/dist/utils/fs.js +87 -29
  233. package/dist/utils/openPath.d.ts +2 -0
  234. package/dist/utils/openPath.js +22 -0
  235. package/dist/utils/path.d.ts +2 -0
  236. package/dist/utils/path.js +5 -1
  237. package/dist/utils/utf8.d.ts +22 -0
  238. package/dist/utils/utf8.js +54 -0
  239. package/dist/utils/version.d.ts +9 -3
  240. package/dist/utils/version.js +28 -2
  241. package/package.json +24 -19
@@ -46,6 +46,7 @@ export declare const hazeTools: {
46
46
  cursor?: string | undefined;
47
47
  };
48
48
  output: NoInfer<{
49
+ suggestedPaths?: string[] | undefined;
49
50
  ok: boolean;
50
51
  toolName: string;
51
52
  path: string | undefined;
@@ -77,6 +78,7 @@ export declare const hazeTools: {
77
78
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
78
79
  } & {
79
80
  outputSchema?: import("ai").FlexibleSchema<{
81
+ suggestedPaths?: string[] | undefined;
80
82
  ok: boolean;
81
83
  toolName: string;
82
84
  path: string | undefined;
@@ -113,6 +115,7 @@ export declare const hazeTools: {
113
115
  includeSizes: boolean;
114
116
  cursor?: string | undefined;
115
117
  }, {
118
+ suggestedPaths?: string[] | undefined;
116
119
  ok: boolean;
117
120
  toolName: string;
118
121
  path: string | undefined;
@@ -172,6 +175,7 @@ export declare const hazeTools: {
172
175
  includeSizes: boolean;
173
176
  cursor?: string | undefined;
174
177
  }, {
178
+ suggestedPaths?: string[] | undefined;
175
179
  ok: boolean;
176
180
  toolName: string;
177
181
  path: string | undefined;
@@ -246,6 +250,7 @@ export declare const hazeTools: {
246
250
  cursor?: string | undefined;
247
251
  };
248
252
  output: NoInfer<{
253
+ suggestedPaths?: string[] | undefined;
249
254
  ok: boolean;
250
255
  toolName: string;
251
256
  path: string | undefined;
@@ -277,6 +282,7 @@ export declare const hazeTools: {
277
282
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
278
283
  } & {
279
284
  outputSchema?: import("ai").FlexibleSchema<{
285
+ suggestedPaths?: string[] | undefined;
280
286
  ok: boolean;
281
287
  toolName: string;
282
288
  path: string | undefined;
@@ -313,6 +319,7 @@ export declare const hazeTools: {
313
319
  includeSizes: boolean;
314
320
  cursor?: string | undefined;
315
321
  }, {
322
+ suggestedPaths?: string[] | undefined;
316
323
  ok: boolean;
317
324
  toolName: string;
318
325
  path: string | undefined;
@@ -372,6 +379,7 @@ export declare const hazeTools: {
372
379
  includeSizes: boolean;
373
380
  cursor?: string | undefined;
374
381
  }, {
382
+ suggestedPaths?: string[] | undefined;
375
383
  ok: boolean;
376
384
  toolName: string;
377
385
  path: string | undefined;
@@ -446,6 +454,7 @@ export declare const hazeTools: {
446
454
  cursor?: string | undefined;
447
455
  };
448
456
  output: NoInfer<{
457
+ suggestedPaths?: string[] | undefined;
449
458
  ok: boolean;
450
459
  toolName: string;
451
460
  path: string | undefined;
@@ -477,6 +486,7 @@ export declare const hazeTools: {
477
486
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
478
487
  } & {
479
488
  outputSchema?: import("ai").FlexibleSchema<{
489
+ suggestedPaths?: string[] | undefined;
480
490
  ok: boolean;
481
491
  toolName: string;
482
492
  path: string | undefined;
@@ -513,6 +523,7 @@ export declare const hazeTools: {
513
523
  includeSizes: boolean;
514
524
  cursor?: string | undefined;
515
525
  }, {
526
+ suggestedPaths?: string[] | undefined;
516
527
  ok: boolean;
517
528
  toolName: string;
518
529
  path: string | undefined;
@@ -560,6 +571,7 @@ export declare const hazeTools: {
560
571
  includeSizes: boolean;
561
572
  cursor?: string | undefined;
562
573
  }, {
574
+ suggestedPaths?: string[] | undefined;
563
575
  ok: boolean;
564
576
  toolName: string;
565
577
  path: string | undefined;
@@ -634,6 +646,7 @@ export declare const hazeTools: {
634
646
  cursor?: string | undefined;
635
647
  };
636
648
  output: NoInfer<{
649
+ suggestedPaths?: string[] | undefined;
637
650
  ok: boolean;
638
651
  toolName: string;
639
652
  path: string | undefined;
@@ -665,6 +678,7 @@ export declare const hazeTools: {
665
678
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
666
679
  } & {
667
680
  outputSchema?: import("ai").FlexibleSchema<{
681
+ suggestedPaths?: string[] | undefined;
668
682
  ok: boolean;
669
683
  toolName: string;
670
684
  path: string | undefined;
@@ -701,6 +715,7 @@ export declare const hazeTools: {
701
715
  includeSizes: boolean;
702
716
  cursor?: string | undefined;
703
717
  }, {
718
+ suggestedPaths?: string[] | undefined;
704
719
  ok: boolean;
705
720
  toolName: string;
706
721
  path: string | undefined;
@@ -748,6 +763,7 @@ export declare const hazeTools: {
748
763
  includeSizes: boolean;
749
764
  cursor?: string | undefined;
750
765
  }, {
766
+ suggestedPaths?: string[] | undefined;
751
767
  ok: boolean;
752
768
  toolName: string;
753
769
  path: string | undefined;
@@ -819,6 +835,7 @@ export declare const hazeTools: {
819
835
  limit?: number | undefined;
820
836
  };
821
837
  output: NoInfer<{
838
+ suggestedPaths?: string[] | undefined;
822
839
  ok: boolean;
823
840
  toolName: string;
824
841
  path: string | undefined;
@@ -834,9 +851,10 @@ export declare const hazeTools: {
834
851
  toolName: string;
835
852
  reason: string;
836
853
  } | ({
854
+ warning?: string | undefined;
855
+ outlineDroppedEntries?: number | undefined;
837
856
  outline?: boolean | undefined;
838
857
  outlineEntries?: number | undefined;
839
- warning?: string | undefined;
840
858
  path: string;
841
859
  mode: "exact" | "outline";
842
860
  startLine: number;
@@ -852,6 +870,7 @@ export declare const hazeTools: {
852
870
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
853
871
  } & {
854
872
  outputSchema?: import("ai").FlexibleSchema<{
873
+ suggestedPaths?: string[] | undefined;
855
874
  ok: boolean;
856
875
  toolName: string;
857
876
  path: string | undefined;
@@ -867,9 +886,10 @@ export declare const hazeTools: {
867
886
  toolName: string;
868
887
  reason: string;
869
888
  } | ({
889
+ warning?: string | undefined;
890
+ outlineDroppedEntries?: number | undefined;
870
891
  outline?: boolean | undefined;
871
892
  outlineEntries?: number | undefined;
872
- warning?: string | undefined;
873
893
  path: string;
874
894
  mode: "exact" | "outline";
875
895
  startLine: number;
@@ -889,6 +909,7 @@ export declare const hazeTools: {
889
909
  offset?: number | undefined;
890
910
  limit?: number | undefined;
891
911
  }, {
912
+ suggestedPaths?: string[] | undefined;
892
913
  ok: boolean;
893
914
  toolName: string;
894
915
  path: string | undefined;
@@ -904,9 +925,10 @@ export declare const hazeTools: {
904
925
  toolName: string;
905
926
  reason: string;
906
927
  } | ({
928
+ warning?: string | undefined;
929
+ outlineDroppedEntries?: number | undefined;
907
930
  outline?: boolean | undefined;
908
931
  outlineEntries?: number | undefined;
909
- warning?: string | undefined;
910
932
  path: string;
911
933
  mode: "exact" | "outline";
912
934
  startLine: number;
@@ -948,6 +970,7 @@ export declare const hazeTools: {
948
970
  offset?: number | undefined;
949
971
  limit?: number | undefined;
950
972
  }, {
973
+ suggestedPaths?: string[] | undefined;
951
974
  ok: boolean;
952
975
  toolName: string;
953
976
  path: string | undefined;
@@ -963,9 +986,10 @@ export declare const hazeTools: {
963
986
  toolName: string;
964
987
  reason: string;
965
988
  } | ({
989
+ warning?: string | undefined;
990
+ outlineDroppedEntries?: number | undefined;
966
991
  outline?: boolean | undefined;
967
992
  outlineEntries?: number | undefined;
968
- warning?: string | undefined;
969
993
  path: string;
970
994
  mode: "exact" | "outline";
971
995
  startLine: number;
@@ -1020,6 +1044,7 @@ export declare const hazeTools: {
1020
1044
  limit?: number | undefined;
1021
1045
  };
1022
1046
  output: NoInfer<{
1047
+ suggestedPaths?: string[] | undefined;
1023
1048
  ok: boolean;
1024
1049
  toolName: string;
1025
1050
  path: string | undefined;
@@ -1035,9 +1060,10 @@ export declare const hazeTools: {
1035
1060
  toolName: string;
1036
1061
  reason: string;
1037
1062
  } | ({
1063
+ warning?: string | undefined;
1064
+ outlineDroppedEntries?: number | undefined;
1038
1065
  outline?: boolean | undefined;
1039
1066
  outlineEntries?: number | undefined;
1040
- warning?: string | undefined;
1041
1067
  path: string;
1042
1068
  mode: "exact" | "outline";
1043
1069
  startLine: number;
@@ -1053,6 +1079,7 @@ export declare const hazeTools: {
1053
1079
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
1054
1080
  } & {
1055
1081
  outputSchema?: import("ai").FlexibleSchema<{
1082
+ suggestedPaths?: string[] | undefined;
1056
1083
  ok: boolean;
1057
1084
  toolName: string;
1058
1085
  path: string | undefined;
@@ -1068,9 +1095,10 @@ export declare const hazeTools: {
1068
1095
  toolName: string;
1069
1096
  reason: string;
1070
1097
  } | ({
1098
+ warning?: string | undefined;
1099
+ outlineDroppedEntries?: number | undefined;
1071
1100
  outline?: boolean | undefined;
1072
1101
  outlineEntries?: number | undefined;
1073
- warning?: string | undefined;
1074
1102
  path: string;
1075
1103
  mode: "exact" | "outline";
1076
1104
  startLine: number;
@@ -1090,6 +1118,7 @@ export declare const hazeTools: {
1090
1118
  offset?: number | undefined;
1091
1119
  limit?: number | undefined;
1092
1120
  }, {
1121
+ suggestedPaths?: string[] | undefined;
1093
1122
  ok: boolean;
1094
1123
  toolName: string;
1095
1124
  path: string | undefined;
@@ -1105,9 +1134,10 @@ export declare const hazeTools: {
1105
1134
  toolName: string;
1106
1135
  reason: string;
1107
1136
  } | ({
1137
+ warning?: string | undefined;
1138
+ outlineDroppedEntries?: number | undefined;
1108
1139
  outline?: boolean | undefined;
1109
1140
  outlineEntries?: number | undefined;
1110
- warning?: string | undefined;
1111
1141
  path: string;
1112
1142
  mode: "exact" | "outline";
1113
1143
  startLine: number;
@@ -1149,6 +1179,7 @@ export declare const hazeTools: {
1149
1179
  offset?: number | undefined;
1150
1180
  limit?: number | undefined;
1151
1181
  }, {
1182
+ suggestedPaths?: string[] | undefined;
1152
1183
  ok: boolean;
1153
1184
  toolName: string;
1154
1185
  path: string | undefined;
@@ -1164,9 +1195,10 @@ export declare const hazeTools: {
1164
1195
  toolName: string;
1165
1196
  reason: string;
1166
1197
  } | ({
1198
+ warning?: string | undefined;
1199
+ outlineDroppedEntries?: number | undefined;
1167
1200
  outline?: boolean | undefined;
1168
1201
  outlineEntries?: number | undefined;
1169
- warning?: string | undefined;
1170
1202
  path: string;
1171
1203
  mode: "exact" | "outline";
1172
1204
  startLine: number;
@@ -1221,6 +1253,7 @@ export declare const hazeTools: {
1221
1253
  limit?: number | undefined;
1222
1254
  };
1223
1255
  output: NoInfer<{
1256
+ suggestedPaths?: string[] | undefined;
1224
1257
  ok: boolean;
1225
1258
  toolName: string;
1226
1259
  path: string | undefined;
@@ -1236,9 +1269,10 @@ export declare const hazeTools: {
1236
1269
  toolName: string;
1237
1270
  reason: string;
1238
1271
  } | ({
1272
+ warning?: string | undefined;
1273
+ outlineDroppedEntries?: number | undefined;
1239
1274
  outline?: boolean | undefined;
1240
1275
  outlineEntries?: number | undefined;
1241
- warning?: string | undefined;
1242
1276
  path: string;
1243
1277
  mode: "exact" | "outline";
1244
1278
  startLine: number;
@@ -1254,6 +1288,7 @@ export declare const hazeTools: {
1254
1288
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
1255
1289
  } & {
1256
1290
  outputSchema?: import("ai").FlexibleSchema<{
1291
+ suggestedPaths?: string[] | undefined;
1257
1292
  ok: boolean;
1258
1293
  toolName: string;
1259
1294
  path: string | undefined;
@@ -1269,9 +1304,10 @@ export declare const hazeTools: {
1269
1304
  toolName: string;
1270
1305
  reason: string;
1271
1306
  } | ({
1307
+ warning?: string | undefined;
1308
+ outlineDroppedEntries?: number | undefined;
1272
1309
  outline?: boolean | undefined;
1273
1310
  outlineEntries?: number | undefined;
1274
- warning?: string | undefined;
1275
1311
  path: string;
1276
1312
  mode: "exact" | "outline";
1277
1313
  startLine: number;
@@ -1291,6 +1327,7 @@ export declare const hazeTools: {
1291
1327
  offset?: number | undefined;
1292
1328
  limit?: number | undefined;
1293
1329
  }, {
1330
+ suggestedPaths?: string[] | undefined;
1294
1331
  ok: boolean;
1295
1332
  toolName: string;
1296
1333
  path: string | undefined;
@@ -1306,9 +1343,10 @@ export declare const hazeTools: {
1306
1343
  toolName: string;
1307
1344
  reason: string;
1308
1345
  } | ({
1346
+ warning?: string | undefined;
1347
+ outlineDroppedEntries?: number | undefined;
1309
1348
  outline?: boolean | undefined;
1310
1349
  outlineEntries?: number | undefined;
1311
- warning?: string | undefined;
1312
1350
  path: string;
1313
1351
  mode: "exact" | "outline";
1314
1352
  startLine: number;
@@ -1339,6 +1377,7 @@ export declare const hazeTools: {
1339
1377
  offset?: number | undefined;
1340
1378
  limit?: number | undefined;
1341
1379
  }, {
1380
+ suggestedPaths?: string[] | undefined;
1342
1381
  ok: boolean;
1343
1382
  toolName: string;
1344
1383
  path: string | undefined;
@@ -1354,9 +1393,10 @@ export declare const hazeTools: {
1354
1393
  toolName: string;
1355
1394
  reason: string;
1356
1395
  } | ({
1396
+ warning?: string | undefined;
1397
+ outlineDroppedEntries?: number | undefined;
1357
1398
  outline?: boolean | undefined;
1358
1399
  outlineEntries?: number | undefined;
1359
- warning?: string | undefined;
1360
1400
  path: string;
1361
1401
  mode: "exact" | "outline";
1362
1402
  startLine: number;
@@ -1411,6 +1451,7 @@ export declare const hazeTools: {
1411
1451
  limit?: number | undefined;
1412
1452
  };
1413
1453
  output: NoInfer<{
1454
+ suggestedPaths?: string[] | undefined;
1414
1455
  ok: boolean;
1415
1456
  toolName: string;
1416
1457
  path: string | undefined;
@@ -1426,9 +1467,10 @@ export declare const hazeTools: {
1426
1467
  toolName: string;
1427
1468
  reason: string;
1428
1469
  } | ({
1470
+ warning?: string | undefined;
1471
+ outlineDroppedEntries?: number | undefined;
1429
1472
  outline?: boolean | undefined;
1430
1473
  outlineEntries?: number | undefined;
1431
- warning?: string | undefined;
1432
1474
  path: string;
1433
1475
  mode: "exact" | "outline";
1434
1476
  startLine: number;
@@ -1444,6 +1486,7 @@ export declare const hazeTools: {
1444
1486
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
1445
1487
  } & {
1446
1488
  outputSchema?: import("ai").FlexibleSchema<{
1489
+ suggestedPaths?: string[] | undefined;
1447
1490
  ok: boolean;
1448
1491
  toolName: string;
1449
1492
  path: string | undefined;
@@ -1459,9 +1502,10 @@ export declare const hazeTools: {
1459
1502
  toolName: string;
1460
1503
  reason: string;
1461
1504
  } | ({
1505
+ warning?: string | undefined;
1506
+ outlineDroppedEntries?: number | undefined;
1462
1507
  outline?: boolean | undefined;
1463
1508
  outlineEntries?: number | undefined;
1464
- warning?: string | undefined;
1465
1509
  path: string;
1466
1510
  mode: "exact" | "outline";
1467
1511
  startLine: number;
@@ -1481,6 +1525,7 @@ export declare const hazeTools: {
1481
1525
  offset?: number | undefined;
1482
1526
  limit?: number | undefined;
1483
1527
  }, {
1528
+ suggestedPaths?: string[] | undefined;
1484
1529
  ok: boolean;
1485
1530
  toolName: string;
1486
1531
  path: string | undefined;
@@ -1496,9 +1541,10 @@ export declare const hazeTools: {
1496
1541
  toolName: string;
1497
1542
  reason: string;
1498
1543
  } | ({
1544
+ warning?: string | undefined;
1545
+ outlineDroppedEntries?: number | undefined;
1499
1546
  outline?: boolean | undefined;
1500
1547
  outlineEntries?: number | undefined;
1501
- warning?: string | undefined;
1502
1548
  path: string;
1503
1549
  mode: "exact" | "outline";
1504
1550
  startLine: number;
@@ -1529,6 +1575,7 @@ export declare const hazeTools: {
1529
1575
  offset?: number | undefined;
1530
1576
  limit?: number | undefined;
1531
1577
  }, {
1578
+ suggestedPaths?: string[] | undefined;
1532
1579
  ok: boolean;
1533
1580
  toolName: string;
1534
1581
  path: string | undefined;
@@ -1544,9 +1591,10 @@ export declare const hazeTools: {
1544
1591
  toolName: string;
1545
1592
  reason: string;
1546
1593
  } | ({
1594
+ warning?: string | undefined;
1595
+ outlineDroppedEntries?: number | undefined;
1547
1596
  outline?: boolean | undefined;
1548
1597
  outlineEntries?: number | undefined;
1549
- warning?: string | undefined;
1550
1598
  path: string;
1551
1599
  mode: "exact" | "outline";
1552
1600
  startLine: number;
@@ -1610,6 +1658,7 @@ export declare const hazeTools: {
1610
1658
  glob?: string | undefined;
1611
1659
  };
1612
1660
  output: NoInfer<{
1661
+ suggestedPaths?: string[] | undefined;
1613
1662
  ok: boolean;
1614
1663
  toolName: string;
1615
1664
  path: string | undefined;
@@ -1670,6 +1719,7 @@ export declare const hazeTools: {
1670
1719
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
1671
1720
  } & {
1672
1721
  outputSchema?: import("ai").FlexibleSchema<{
1722
+ suggestedPaths?: string[] | undefined;
1673
1723
  ok: boolean;
1674
1724
  toolName: string;
1675
1725
  path: string | undefined;
@@ -1736,6 +1786,7 @@ export declare const hazeTools: {
1736
1786
  includeIgnored: boolean;
1737
1787
  glob?: string | undefined;
1738
1788
  }, {
1789
+ suggestedPaths?: string[] | undefined;
1739
1790
  ok: boolean;
1740
1791
  toolName: string;
1741
1792
  path: string | undefined;
@@ -1826,6 +1877,7 @@ export declare const hazeTools: {
1826
1877
  includeIgnored: boolean;
1827
1878
  glob?: string | undefined;
1828
1879
  }, {
1880
+ suggestedPaths?: string[] | undefined;
1829
1881
  ok: boolean;
1830
1882
  toolName: string;
1831
1883
  path: string | undefined;
@@ -1933,6 +1985,7 @@ export declare const hazeTools: {
1933
1985
  glob?: string | undefined;
1934
1986
  };
1935
1987
  output: NoInfer<{
1988
+ suggestedPaths?: string[] | undefined;
1936
1989
  ok: boolean;
1937
1990
  toolName: string;
1938
1991
  path: string | undefined;
@@ -1993,6 +2046,7 @@ export declare const hazeTools: {
1993
2046
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
1994
2047
  } & {
1995
2048
  outputSchema?: import("ai").FlexibleSchema<{
2049
+ suggestedPaths?: string[] | undefined;
1996
2050
  ok: boolean;
1997
2051
  toolName: string;
1998
2052
  path: string | undefined;
@@ -2059,6 +2113,7 @@ export declare const hazeTools: {
2059
2113
  includeIgnored: boolean;
2060
2114
  glob?: string | undefined;
2061
2115
  }, {
2116
+ suggestedPaths?: string[] | undefined;
2062
2117
  ok: boolean;
2063
2118
  toolName: string;
2064
2119
  path: string | undefined;
@@ -2149,6 +2204,7 @@ export declare const hazeTools: {
2149
2204
  includeIgnored: boolean;
2150
2205
  glob?: string | undefined;
2151
2206
  }, {
2207
+ suggestedPaths?: string[] | undefined;
2152
2208
  ok: boolean;
2153
2209
  toolName: string;
2154
2210
  path: string | undefined;
@@ -2256,6 +2312,7 @@ export declare const hazeTools: {
2256
2312
  glob?: string | undefined;
2257
2313
  };
2258
2314
  output: NoInfer<{
2315
+ suggestedPaths?: string[] | undefined;
2259
2316
  ok: boolean;
2260
2317
  toolName: string;
2261
2318
  path: string | undefined;
@@ -2316,6 +2373,7 @@ export declare const hazeTools: {
2316
2373
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
2317
2374
  } & {
2318
2375
  outputSchema?: import("ai").FlexibleSchema<{
2376
+ suggestedPaths?: string[] | undefined;
2319
2377
  ok: boolean;
2320
2378
  toolName: string;
2321
2379
  path: string | undefined;
@@ -2382,6 +2440,7 @@ export declare const hazeTools: {
2382
2440
  includeIgnored: boolean;
2383
2441
  glob?: string | undefined;
2384
2442
  }, {
2443
+ suggestedPaths?: string[] | undefined;
2385
2444
  ok: boolean;
2386
2445
  toolName: string;
2387
2446
  path: string | undefined;
@@ -2459,6 +2518,7 @@ export declare const hazeTools: {
2459
2518
  includeIgnored: boolean;
2460
2519
  glob?: string | undefined;
2461
2520
  }, {
2521
+ suggestedPaths?: string[] | undefined;
2462
2522
  ok: boolean;
2463
2523
  toolName: string;
2464
2524
  path: string | undefined;
@@ -2566,6 +2626,7 @@ export declare const hazeTools: {
2566
2626
  glob?: string | undefined;
2567
2627
  };
2568
2628
  output: NoInfer<{
2629
+ suggestedPaths?: string[] | undefined;
2569
2630
  ok: boolean;
2570
2631
  toolName: string;
2571
2632
  path: string | undefined;
@@ -2626,6 +2687,7 @@ export declare const hazeTools: {
2626
2687
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
2627
2688
  } & {
2628
2689
  outputSchema?: import("ai").FlexibleSchema<{
2690
+ suggestedPaths?: string[] | undefined;
2629
2691
  ok: boolean;
2630
2692
  toolName: string;
2631
2693
  path: string | undefined;
@@ -2692,6 +2754,7 @@ export declare const hazeTools: {
2692
2754
  includeIgnored: boolean;
2693
2755
  glob?: string | undefined;
2694
2756
  }, {
2757
+ suggestedPaths?: string[] | undefined;
2695
2758
  ok: boolean;
2696
2759
  toolName: string;
2697
2760
  path: string | undefined;
@@ -2769,6 +2832,7 @@ export declare const hazeTools: {
2769
2832
  includeIgnored: boolean;
2770
2833
  glob?: string | undefined;
2771
2834
  }, {
2835
+ suggestedPaths?: string[] | undefined;
2772
2836
  ok: boolean;
2773
2837
  toolName: string;
2774
2838
  path: string | undefined;
@@ -2869,6 +2933,7 @@ export declare const hazeTools: {
2869
2933
  allowIgnored: boolean;
2870
2934
  };
2871
2935
  output: NoInfer<{
2936
+ suggestedPaths?: string[] | undefined;
2872
2937
  ok: boolean;
2873
2938
  toolName: string;
2874
2939
  path: string | undefined;
@@ -2893,6 +2958,11 @@ export declare const hazeTools: {
2893
2958
  toolName: string;
2894
2959
  reason: string;
2895
2960
  } | {
2961
+ diffHandle?: string | undefined;
2962
+ diffLineCount: number;
2963
+ diff: ToolDiffLine[];
2964
+ diffTruncated: boolean;
2965
+ diffOmittedLines: number;
2896
2966
  ok: boolean;
2897
2967
  path: string;
2898
2968
  startLine: number;
@@ -2901,14 +2971,14 @@ export declare const hazeTools: {
2901
2971
  endLineClamped: boolean;
2902
2972
  replacementLines: number;
2903
2973
  appended: boolean;
2974
+ noChange: boolean;
2904
2975
  addedLines: number;
2905
2976
  removedLines: number;
2906
- diffLineCount: number;
2907
- diff: ToolDiffLine[] | undefined;
2908
2977
  }>;
2909
2978
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
2910
2979
  } & {
2911
2980
  outputSchema?: import("ai").FlexibleSchema<{
2981
+ suggestedPaths?: string[] | undefined;
2912
2982
  ok: boolean;
2913
2983
  toolName: string;
2914
2984
  path: string | undefined;
@@ -2933,6 +3003,11 @@ export declare const hazeTools: {
2933
3003
  toolName: string;
2934
3004
  reason: string;
2935
3005
  } | {
3006
+ diffHandle?: string | undefined;
3007
+ diffLineCount: number;
3008
+ diff: ToolDiffLine[];
3009
+ diffTruncated: boolean;
3010
+ diffOmittedLines: number;
2936
3011
  ok: boolean;
2937
3012
  path: string;
2938
3013
  startLine: number;
@@ -2941,10 +3016,9 @@ export declare const hazeTools: {
2941
3016
  endLineClamped: boolean;
2942
3017
  replacementLines: number;
2943
3018
  appended: boolean;
3019
+ noChange: boolean;
2944
3020
  addedLines: number;
2945
3021
  removedLines: number;
2946
- diffLineCount: number;
2947
- diff: ToolDiffLine[] | undefined;
2948
3022
  }> | undefined;
2949
3023
  execute: import("ai").ToolExecuteFunction<{
2950
3024
  path: string;
@@ -2953,6 +3027,7 @@ export declare const hazeTools: {
2953
3027
  content: string;
2954
3028
  allowIgnored: boolean;
2955
3029
  }, {
3030
+ suggestedPaths?: string[] | undefined;
2956
3031
  ok: boolean;
2957
3032
  toolName: string;
2958
3033
  path: string | undefined;
@@ -2977,6 +3052,11 @@ export declare const hazeTools: {
2977
3052
  toolName: string;
2978
3053
  reason: string;
2979
3054
  } | {
3055
+ diffHandle?: string | undefined;
3056
+ diffLineCount: number;
3057
+ diff: ToolDiffLine[];
3058
+ diffTruncated: boolean;
3059
+ diffOmittedLines: number;
2980
3060
  ok: boolean;
2981
3061
  path: string;
2982
3062
  startLine: number;
@@ -2985,10 +3065,9 @@ export declare const hazeTools: {
2985
3065
  endLineClamped: boolean;
2986
3066
  replacementLines: number;
2987
3067
  appended: boolean;
3068
+ noChange: boolean;
2988
3069
  addedLines: number;
2989
3070
  removedLines: number;
2990
- diffLineCount: number;
2991
- diff: ToolDiffLine[] | undefined;
2992
3071
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
2993
3072
  } & {
2994
3073
  description?: string | ((options: {
@@ -3019,6 +3098,7 @@ export declare const hazeTools: {
3019
3098
  content: string;
3020
3099
  allowIgnored: boolean;
3021
3100
  }, {
3101
+ suggestedPaths?: string[] | undefined;
3022
3102
  ok: boolean;
3023
3103
  toolName: string;
3024
3104
  path: string | undefined;
@@ -3043,6 +3123,11 @@ export declare const hazeTools: {
3043
3123
  toolName: string;
3044
3124
  reason: string;
3045
3125
  } | {
3126
+ diffHandle?: string | undefined;
3127
+ diffLineCount: number;
3128
+ diff: ToolDiffLine[];
3129
+ diffTruncated: boolean;
3130
+ diffOmittedLines: number;
3046
3131
  ok: boolean;
3047
3132
  path: string;
3048
3133
  startLine: number;
@@ -3051,10 +3136,9 @@ export declare const hazeTools: {
3051
3136
  endLineClamped: boolean;
3052
3137
  replacementLines: number;
3053
3138
  appended: boolean;
3139
+ noChange: boolean;
3054
3140
  addedLines: number;
3055
3141
  removedLines: number;
3056
- diffLineCount: number;
3057
- diff: ToolDiffLine[] | undefined;
3058
3142
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
3059
3143
  }) | ({
3060
3144
  title?: string;
@@ -3098,6 +3182,7 @@ export declare const hazeTools: {
3098
3182
  allowIgnored: boolean;
3099
3183
  };
3100
3184
  output: NoInfer<{
3185
+ suggestedPaths?: string[] | undefined;
3101
3186
  ok: boolean;
3102
3187
  toolName: string;
3103
3188
  path: string | undefined;
@@ -3122,6 +3207,11 @@ export declare const hazeTools: {
3122
3207
  toolName: string;
3123
3208
  reason: string;
3124
3209
  } | {
3210
+ diffHandle?: string | undefined;
3211
+ diffLineCount: number;
3212
+ diff: ToolDiffLine[];
3213
+ diffTruncated: boolean;
3214
+ diffOmittedLines: number;
3125
3215
  ok: boolean;
3126
3216
  path: string;
3127
3217
  startLine: number;
@@ -3130,14 +3220,14 @@ export declare const hazeTools: {
3130
3220
  endLineClamped: boolean;
3131
3221
  replacementLines: number;
3132
3222
  appended: boolean;
3223
+ noChange: boolean;
3133
3224
  addedLines: number;
3134
3225
  removedLines: number;
3135
- diffLineCount: number;
3136
- diff: ToolDiffLine[] | undefined;
3137
3226
  }>;
3138
3227
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
3139
3228
  } & {
3140
3229
  outputSchema?: import("ai").FlexibleSchema<{
3230
+ suggestedPaths?: string[] | undefined;
3141
3231
  ok: boolean;
3142
3232
  toolName: string;
3143
3233
  path: string | undefined;
@@ -3162,6 +3252,11 @@ export declare const hazeTools: {
3162
3252
  toolName: string;
3163
3253
  reason: string;
3164
3254
  } | {
3255
+ diffHandle?: string | undefined;
3256
+ diffLineCount: number;
3257
+ diff: ToolDiffLine[];
3258
+ diffTruncated: boolean;
3259
+ diffOmittedLines: number;
3165
3260
  ok: boolean;
3166
3261
  path: string;
3167
3262
  startLine: number;
@@ -3170,10 +3265,9 @@ export declare const hazeTools: {
3170
3265
  endLineClamped: boolean;
3171
3266
  replacementLines: number;
3172
3267
  appended: boolean;
3268
+ noChange: boolean;
3173
3269
  addedLines: number;
3174
3270
  removedLines: number;
3175
- diffLineCount: number;
3176
- diff: ToolDiffLine[] | undefined;
3177
3271
  }> | undefined;
3178
3272
  execute: import("ai").ToolExecuteFunction<{
3179
3273
  path: string;
@@ -3182,6 +3276,7 @@ export declare const hazeTools: {
3182
3276
  content: string;
3183
3277
  allowIgnored: boolean;
3184
3278
  }, {
3279
+ suggestedPaths?: string[] | undefined;
3185
3280
  ok: boolean;
3186
3281
  toolName: string;
3187
3282
  path: string | undefined;
@@ -3206,6 +3301,11 @@ export declare const hazeTools: {
3206
3301
  toolName: string;
3207
3302
  reason: string;
3208
3303
  } | {
3304
+ diffHandle?: string | undefined;
3305
+ diffLineCount: number;
3306
+ diff: ToolDiffLine[];
3307
+ diffTruncated: boolean;
3308
+ diffOmittedLines: number;
3209
3309
  ok: boolean;
3210
3310
  path: string;
3211
3311
  startLine: number;
@@ -3214,10 +3314,9 @@ export declare const hazeTools: {
3214
3314
  endLineClamped: boolean;
3215
3315
  replacementLines: number;
3216
3316
  appended: boolean;
3317
+ noChange: boolean;
3217
3318
  addedLines: number;
3218
3319
  removedLines: number;
3219
- diffLineCount: number;
3220
- diff: ToolDiffLine[] | undefined;
3221
3320
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
3222
3321
  } & {
3223
3322
  description?: string | ((options: {
@@ -3248,6 +3347,7 @@ export declare const hazeTools: {
3248
3347
  content: string;
3249
3348
  allowIgnored: boolean;
3250
3349
  }, {
3350
+ suggestedPaths?: string[] | undefined;
3251
3351
  ok: boolean;
3252
3352
  toolName: string;
3253
3353
  path: string | undefined;
@@ -3272,6 +3372,11 @@ export declare const hazeTools: {
3272
3372
  toolName: string;
3273
3373
  reason: string;
3274
3374
  } | {
3375
+ diffHandle?: string | undefined;
3376
+ diffLineCount: number;
3377
+ diff: ToolDiffLine[];
3378
+ diffTruncated: boolean;
3379
+ diffOmittedLines: number;
3275
3380
  ok: boolean;
3276
3381
  path: string;
3277
3382
  startLine: number;
@@ -3280,10 +3385,9 @@ export declare const hazeTools: {
3280
3385
  endLineClamped: boolean;
3281
3386
  replacementLines: number;
3282
3387
  appended: boolean;
3388
+ noChange: boolean;
3283
3389
  addedLines: number;
3284
3390
  removedLines: number;
3285
- diffLineCount: number;
3286
- diff: ToolDiffLine[] | undefined;
3287
3391
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
3288
3392
  }) | ({
3289
3393
  title?: string;
@@ -3327,6 +3431,7 @@ export declare const hazeTools: {
3327
3431
  allowIgnored: boolean;
3328
3432
  };
3329
3433
  output: NoInfer<{
3434
+ suggestedPaths?: string[] | undefined;
3330
3435
  ok: boolean;
3331
3436
  toolName: string;
3332
3437
  path: string | undefined;
@@ -3351,6 +3456,11 @@ export declare const hazeTools: {
3351
3456
  toolName: string;
3352
3457
  reason: string;
3353
3458
  } | {
3459
+ diffHandle?: string | undefined;
3460
+ diffLineCount: number;
3461
+ diff: ToolDiffLine[];
3462
+ diffTruncated: boolean;
3463
+ diffOmittedLines: number;
3354
3464
  ok: boolean;
3355
3465
  path: string;
3356
3466
  startLine: number;
@@ -3359,14 +3469,14 @@ export declare const hazeTools: {
3359
3469
  endLineClamped: boolean;
3360
3470
  replacementLines: number;
3361
3471
  appended: boolean;
3472
+ noChange: boolean;
3362
3473
  addedLines: number;
3363
3474
  removedLines: number;
3364
- diffLineCount: number;
3365
- diff: ToolDiffLine[] | undefined;
3366
3475
  }>;
3367
3476
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
3368
3477
  } & {
3369
3478
  outputSchema?: import("ai").FlexibleSchema<{
3479
+ suggestedPaths?: string[] | undefined;
3370
3480
  ok: boolean;
3371
3481
  toolName: string;
3372
3482
  path: string | undefined;
@@ -3391,6 +3501,11 @@ export declare const hazeTools: {
3391
3501
  toolName: string;
3392
3502
  reason: string;
3393
3503
  } | {
3504
+ diffHandle?: string | undefined;
3505
+ diffLineCount: number;
3506
+ diff: ToolDiffLine[];
3507
+ diffTruncated: boolean;
3508
+ diffOmittedLines: number;
3394
3509
  ok: boolean;
3395
3510
  path: string;
3396
3511
  startLine: number;
@@ -3399,10 +3514,9 @@ export declare const hazeTools: {
3399
3514
  endLineClamped: boolean;
3400
3515
  replacementLines: number;
3401
3516
  appended: boolean;
3517
+ noChange: boolean;
3402
3518
  addedLines: number;
3403
3519
  removedLines: number;
3404
- diffLineCount: number;
3405
- diff: ToolDiffLine[] | undefined;
3406
3520
  }> | undefined;
3407
3521
  execute: import("ai").ToolExecuteFunction<{
3408
3522
  path: string;
@@ -3411,6 +3525,7 @@ export declare const hazeTools: {
3411
3525
  content: string;
3412
3526
  allowIgnored: boolean;
3413
3527
  }, {
3528
+ suggestedPaths?: string[] | undefined;
3414
3529
  ok: boolean;
3415
3530
  toolName: string;
3416
3531
  path: string | undefined;
@@ -3435,6 +3550,11 @@ export declare const hazeTools: {
3435
3550
  toolName: string;
3436
3551
  reason: string;
3437
3552
  } | {
3553
+ diffHandle?: string | undefined;
3554
+ diffLineCount: number;
3555
+ diff: ToolDiffLine[];
3556
+ diffTruncated: boolean;
3557
+ diffOmittedLines: number;
3438
3558
  ok: boolean;
3439
3559
  path: string;
3440
3560
  startLine: number;
@@ -3443,10 +3563,9 @@ export declare const hazeTools: {
3443
3563
  endLineClamped: boolean;
3444
3564
  replacementLines: number;
3445
3565
  appended: boolean;
3566
+ noChange: boolean;
3446
3567
  addedLines: number;
3447
3568
  removedLines: number;
3448
- diffLineCount: number;
3449
- diff: ToolDiffLine[] | undefined;
3450
3569
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
3451
3570
  } & {
3452
3571
  type: "provider";
@@ -3466,6 +3585,7 @@ export declare const hazeTools: {
3466
3585
  content: string;
3467
3586
  allowIgnored: boolean;
3468
3587
  }, {
3588
+ suggestedPaths?: string[] | undefined;
3469
3589
  ok: boolean;
3470
3590
  toolName: string;
3471
3591
  path: string | undefined;
@@ -3490,6 +3610,11 @@ export declare const hazeTools: {
3490
3610
  toolName: string;
3491
3611
  reason: string;
3492
3612
  } | {
3613
+ diffHandle?: string | undefined;
3614
+ diffLineCount: number;
3615
+ diff: ToolDiffLine[];
3616
+ diffTruncated: boolean;
3617
+ diffOmittedLines: number;
3493
3618
  ok: boolean;
3494
3619
  path: string;
3495
3620
  startLine: number;
@@ -3498,10 +3623,9 @@ export declare const hazeTools: {
3498
3623
  endLineClamped: boolean;
3499
3624
  replacementLines: number;
3500
3625
  appended: boolean;
3626
+ noChange: boolean;
3501
3627
  addedLines: number;
3502
3628
  removedLines: number;
3503
- diffLineCount: number;
3504
- diff: ToolDiffLine[] | undefined;
3505
3629
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
3506
3630
  }) | ({
3507
3631
  title?: string;
@@ -3545,6 +3669,7 @@ export declare const hazeTools: {
3545
3669
  allowIgnored: boolean;
3546
3670
  };
3547
3671
  output: NoInfer<{
3672
+ suggestedPaths?: string[] | undefined;
3548
3673
  ok: boolean;
3549
3674
  toolName: string;
3550
3675
  path: string | undefined;
@@ -3569,6 +3694,11 @@ export declare const hazeTools: {
3569
3694
  toolName: string;
3570
3695
  reason: string;
3571
3696
  } | {
3697
+ diffHandle?: string | undefined;
3698
+ diffLineCount: number;
3699
+ diff: ToolDiffLine[];
3700
+ diffTruncated: boolean;
3701
+ diffOmittedLines: number;
3572
3702
  ok: boolean;
3573
3703
  path: string;
3574
3704
  startLine: number;
@@ -3577,14 +3707,14 @@ export declare const hazeTools: {
3577
3707
  endLineClamped: boolean;
3578
3708
  replacementLines: number;
3579
3709
  appended: boolean;
3710
+ noChange: boolean;
3580
3711
  addedLines: number;
3581
3712
  removedLines: number;
3582
- diffLineCount: number;
3583
- diff: ToolDiffLine[] | undefined;
3584
3713
  }>;
3585
3714
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
3586
3715
  } & {
3587
3716
  outputSchema?: import("ai").FlexibleSchema<{
3717
+ suggestedPaths?: string[] | undefined;
3588
3718
  ok: boolean;
3589
3719
  toolName: string;
3590
3720
  path: string | undefined;
@@ -3609,6 +3739,11 @@ export declare const hazeTools: {
3609
3739
  toolName: string;
3610
3740
  reason: string;
3611
3741
  } | {
3742
+ diffHandle?: string | undefined;
3743
+ diffLineCount: number;
3744
+ diff: ToolDiffLine[];
3745
+ diffTruncated: boolean;
3746
+ diffOmittedLines: number;
3612
3747
  ok: boolean;
3613
3748
  path: string;
3614
3749
  startLine: number;
@@ -3617,10 +3752,9 @@ export declare const hazeTools: {
3617
3752
  endLineClamped: boolean;
3618
3753
  replacementLines: number;
3619
3754
  appended: boolean;
3755
+ noChange: boolean;
3620
3756
  addedLines: number;
3621
3757
  removedLines: number;
3622
- diffLineCount: number;
3623
- diff: ToolDiffLine[] | undefined;
3624
3758
  }> | undefined;
3625
3759
  execute: import("ai").ToolExecuteFunction<{
3626
3760
  path: string;
@@ -3629,6 +3763,7 @@ export declare const hazeTools: {
3629
3763
  content: string;
3630
3764
  allowIgnored: boolean;
3631
3765
  }, {
3766
+ suggestedPaths?: string[] | undefined;
3632
3767
  ok: boolean;
3633
3768
  toolName: string;
3634
3769
  path: string | undefined;
@@ -3653,6 +3788,11 @@ export declare const hazeTools: {
3653
3788
  toolName: string;
3654
3789
  reason: string;
3655
3790
  } | {
3791
+ diffHandle?: string | undefined;
3792
+ diffLineCount: number;
3793
+ diff: ToolDiffLine[];
3794
+ diffTruncated: boolean;
3795
+ diffOmittedLines: number;
3656
3796
  ok: boolean;
3657
3797
  path: string;
3658
3798
  startLine: number;
@@ -3661,10 +3801,9 @@ export declare const hazeTools: {
3661
3801
  endLineClamped: boolean;
3662
3802
  replacementLines: number;
3663
3803
  appended: boolean;
3804
+ noChange: boolean;
3664
3805
  addedLines: number;
3665
3806
  removedLines: number;
3666
- diffLineCount: number;
3667
- diff: ToolDiffLine[] | undefined;
3668
3807
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
3669
3808
  } & {
3670
3809
  type: "provider";
@@ -3684,6 +3823,7 @@ export declare const hazeTools: {
3684
3823
  content: string;
3685
3824
  allowIgnored: boolean;
3686
3825
  }, {
3826
+ suggestedPaths?: string[] | undefined;
3687
3827
  ok: boolean;
3688
3828
  toolName: string;
3689
3829
  path: string | undefined;
@@ -3708,6 +3848,11 @@ export declare const hazeTools: {
3708
3848
  toolName: string;
3709
3849
  reason: string;
3710
3850
  } | {
3851
+ diffHandle?: string | undefined;
3852
+ diffLineCount: number;
3853
+ diff: ToolDiffLine[];
3854
+ diffTruncated: boolean;
3855
+ diffOmittedLines: number;
3711
3856
  ok: boolean;
3712
3857
  path: string;
3713
3858
  startLine: number;
@@ -3716,10 +3861,9 @@ export declare const hazeTools: {
3716
3861
  endLineClamped: boolean;
3717
3862
  replacementLines: number;
3718
3863
  appended: boolean;
3864
+ noChange: boolean;
3719
3865
  addedLines: number;
3720
3866
  removedLines: number;
3721
- diffLineCount: number;
3722
- diff: ToolDiffLine[] | undefined;
3723
3867
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
3724
3868
  });
3725
3869
  writeFile: ({
@@ -3730,6 +3874,7 @@ export declare const hazeTools: {
3730
3874
  path: string;
3731
3875
  content: string;
3732
3876
  overwriteExisting: boolean;
3877
+ append: boolean;
3733
3878
  allowIgnored: boolean;
3734
3879
  }>;
3735
3880
  contextSchema?: import("ai").FlexibleSchema<import("./tools/toolContext.js").HazeToolContext> | undefined;
@@ -3737,6 +3882,7 @@ export declare const hazeTools: {
3737
3882
  path: string;
3738
3883
  content: string;
3739
3884
  overwriteExisting: boolean;
3885
+ append: boolean;
3740
3886
  allowIgnored: boolean;
3741
3887
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>> | undefined;
3742
3888
  onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContext.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
@@ -3748,6 +3894,7 @@ export declare const hazeTools: {
3748
3894
  path: string;
3749
3895
  content: string;
3750
3896
  overwriteExisting: boolean;
3897
+ append: boolean;
3751
3898
  allowIgnored: boolean;
3752
3899
  };
3753
3900
  } & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContext.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
@@ -3757,9 +3904,11 @@ export declare const hazeTools: {
3757
3904
  path: string;
3758
3905
  content: string;
3759
3906
  overwriteExisting: boolean;
3907
+ append: boolean;
3760
3908
  allowIgnored: boolean;
3761
3909
  };
3762
3910
  output: NoInfer<{
3911
+ suggestedPaths?: string[] | undefined;
3763
3912
  ok: boolean;
3764
3913
  toolName: string;
3765
3914
  path: string | undefined;
@@ -3784,14 +3933,26 @@ export declare const hazeTools: {
3784
3933
  toolName: string;
3785
3934
  reason: string;
3786
3935
  } | {
3936
+ diffHandle?: string | undefined;
3937
+ diffLineCount: number;
3938
+ diff: ToolDiffLine[];
3939
+ diffTruncated: boolean;
3940
+ diffOmittedLines: number;
3941
+ previousContentOmittedBytes?: number | undefined;
3787
3942
  ok: boolean;
3788
3943
  path: string;
3789
3944
  bytes: number;
3790
3945
  overwritten: boolean;
3946
+ appended: boolean;
3947
+ noChange: boolean;
3948
+ addedLines: number;
3949
+ removedLines: number;
3950
+ diffComplete: boolean;
3791
3951
  }>;
3792
3952
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
3793
3953
  } & {
3794
3954
  outputSchema?: import("ai").FlexibleSchema<{
3955
+ suggestedPaths?: string[] | undefined;
3795
3956
  ok: boolean;
3796
3957
  toolName: string;
3797
3958
  path: string | undefined;
@@ -3816,17 +3977,30 @@ export declare const hazeTools: {
3816
3977
  toolName: string;
3817
3978
  reason: string;
3818
3979
  } | {
3980
+ diffHandle?: string | undefined;
3981
+ diffLineCount: number;
3982
+ diff: ToolDiffLine[];
3983
+ diffTruncated: boolean;
3984
+ diffOmittedLines: number;
3985
+ previousContentOmittedBytes?: number | undefined;
3819
3986
  ok: boolean;
3820
3987
  path: string;
3821
3988
  bytes: number;
3822
3989
  overwritten: boolean;
3990
+ appended: boolean;
3991
+ noChange: boolean;
3992
+ addedLines: number;
3993
+ removedLines: number;
3994
+ diffComplete: boolean;
3823
3995
  }> | undefined;
3824
3996
  execute: import("ai").ToolExecuteFunction<{
3825
3997
  path: string;
3826
3998
  content: string;
3827
3999
  overwriteExisting: boolean;
4000
+ append: boolean;
3828
4001
  allowIgnored: boolean;
3829
4002
  }, {
4003
+ suggestedPaths?: string[] | undefined;
3830
4004
  ok: boolean;
3831
4005
  toolName: string;
3832
4006
  path: string | undefined;
@@ -3851,10 +4025,21 @@ export declare const hazeTools: {
3851
4025
  toolName: string;
3852
4026
  reason: string;
3853
4027
  } | {
4028
+ diffHandle?: string | undefined;
4029
+ diffLineCount: number;
4030
+ diff: ToolDiffLine[];
4031
+ diffTruncated: boolean;
4032
+ diffOmittedLines: number;
4033
+ previousContentOmittedBytes?: number | undefined;
3854
4034
  ok: boolean;
3855
4035
  path: string;
3856
4036
  bytes: number;
3857
4037
  overwritten: boolean;
4038
+ appended: boolean;
4039
+ noChange: boolean;
4040
+ addedLines: number;
4041
+ removedLines: number;
4042
+ diffComplete: boolean;
3858
4043
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
3859
4044
  } & {
3860
4045
  description?: string | ((options: {
@@ -3867,6 +4052,7 @@ export declare const hazeTools: {
3867
4052
  path: string;
3868
4053
  content: string;
3869
4054
  overwriteExisting: boolean;
4055
+ append: boolean;
3870
4056
  allowIgnored: boolean;
3871
4057
  }>;
3872
4058
  }[] | undefined;
@@ -3881,8 +4067,10 @@ export declare const hazeTools: {
3881
4067
  path: string;
3882
4068
  content: string;
3883
4069
  overwriteExisting: boolean;
4070
+ append: boolean;
3884
4071
  allowIgnored: boolean;
3885
4072
  }, {
4073
+ suggestedPaths?: string[] | undefined;
3886
4074
  ok: boolean;
3887
4075
  toolName: string;
3888
4076
  path: string | undefined;
@@ -3907,10 +4095,21 @@ export declare const hazeTools: {
3907
4095
  toolName: string;
3908
4096
  reason: string;
3909
4097
  } | {
4098
+ diffHandle?: string | undefined;
4099
+ diffLineCount: number;
4100
+ diff: ToolDiffLine[];
4101
+ diffTruncated: boolean;
4102
+ diffOmittedLines: number;
4103
+ previousContentOmittedBytes?: number | undefined;
3910
4104
  ok: boolean;
3911
4105
  path: string;
3912
4106
  bytes: number;
3913
4107
  overwritten: boolean;
4108
+ appended: boolean;
4109
+ noChange: boolean;
4110
+ addedLines: number;
4111
+ removedLines: number;
4112
+ diffComplete: boolean;
3914
4113
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
3915
4114
  }) | ({
3916
4115
  title?: string;
@@ -3920,6 +4119,7 @@ export declare const hazeTools: {
3920
4119
  path: string;
3921
4120
  content: string;
3922
4121
  overwriteExisting: boolean;
4122
+ append: boolean;
3923
4123
  allowIgnored: boolean;
3924
4124
  }>;
3925
4125
  contextSchema?: import("ai").FlexibleSchema<import("./tools/toolContext.js").HazeToolContext> | undefined;
@@ -3927,6 +4127,7 @@ export declare const hazeTools: {
3927
4127
  path: string;
3928
4128
  content: string;
3929
4129
  overwriteExisting: boolean;
4130
+ append: boolean;
3930
4131
  allowIgnored: boolean;
3931
4132
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>> | undefined;
3932
4133
  onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContext.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
@@ -3938,6 +4139,7 @@ export declare const hazeTools: {
3938
4139
  path: string;
3939
4140
  content: string;
3940
4141
  overwriteExisting: boolean;
4142
+ append: boolean;
3941
4143
  allowIgnored: boolean;
3942
4144
  };
3943
4145
  } & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContext.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
@@ -3947,9 +4149,11 @@ export declare const hazeTools: {
3947
4149
  path: string;
3948
4150
  content: string;
3949
4151
  overwriteExisting: boolean;
4152
+ append: boolean;
3950
4153
  allowIgnored: boolean;
3951
4154
  };
3952
4155
  output: NoInfer<{
4156
+ suggestedPaths?: string[] | undefined;
3953
4157
  ok: boolean;
3954
4158
  toolName: string;
3955
4159
  path: string | undefined;
@@ -3974,14 +4178,26 @@ export declare const hazeTools: {
3974
4178
  toolName: string;
3975
4179
  reason: string;
3976
4180
  } | {
4181
+ diffHandle?: string | undefined;
4182
+ diffLineCount: number;
4183
+ diff: ToolDiffLine[];
4184
+ diffTruncated: boolean;
4185
+ diffOmittedLines: number;
4186
+ previousContentOmittedBytes?: number | undefined;
3977
4187
  ok: boolean;
3978
4188
  path: string;
3979
4189
  bytes: number;
3980
4190
  overwritten: boolean;
4191
+ appended: boolean;
4192
+ noChange: boolean;
4193
+ addedLines: number;
4194
+ removedLines: number;
4195
+ diffComplete: boolean;
3981
4196
  }>;
3982
4197
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
3983
4198
  } & {
3984
4199
  outputSchema?: import("ai").FlexibleSchema<{
4200
+ suggestedPaths?: string[] | undefined;
3985
4201
  ok: boolean;
3986
4202
  toolName: string;
3987
4203
  path: string | undefined;
@@ -4006,17 +4222,30 @@ export declare const hazeTools: {
4006
4222
  toolName: string;
4007
4223
  reason: string;
4008
4224
  } | {
4225
+ diffHandle?: string | undefined;
4226
+ diffLineCount: number;
4227
+ diff: ToolDiffLine[];
4228
+ diffTruncated: boolean;
4229
+ diffOmittedLines: number;
4230
+ previousContentOmittedBytes?: number | undefined;
4009
4231
  ok: boolean;
4010
4232
  path: string;
4011
4233
  bytes: number;
4012
4234
  overwritten: boolean;
4235
+ appended: boolean;
4236
+ noChange: boolean;
4237
+ addedLines: number;
4238
+ removedLines: number;
4239
+ diffComplete: boolean;
4013
4240
  }> | undefined;
4014
4241
  execute: import("ai").ToolExecuteFunction<{
4015
4242
  path: string;
4016
4243
  content: string;
4017
4244
  overwriteExisting: boolean;
4245
+ append: boolean;
4018
4246
  allowIgnored: boolean;
4019
4247
  }, {
4248
+ suggestedPaths?: string[] | undefined;
4020
4249
  ok: boolean;
4021
4250
  toolName: string;
4022
4251
  path: string | undefined;
@@ -4041,10 +4270,21 @@ export declare const hazeTools: {
4041
4270
  toolName: string;
4042
4271
  reason: string;
4043
4272
  } | {
4273
+ diffHandle?: string | undefined;
4274
+ diffLineCount: number;
4275
+ diff: ToolDiffLine[];
4276
+ diffTruncated: boolean;
4277
+ diffOmittedLines: number;
4278
+ previousContentOmittedBytes?: number | undefined;
4044
4279
  ok: boolean;
4045
4280
  path: string;
4046
4281
  bytes: number;
4047
4282
  overwritten: boolean;
4283
+ appended: boolean;
4284
+ noChange: boolean;
4285
+ addedLines: number;
4286
+ removedLines: number;
4287
+ diffComplete: boolean;
4048
4288
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
4049
4289
  } & {
4050
4290
  description?: string | ((options: {
@@ -4057,6 +4297,7 @@ export declare const hazeTools: {
4057
4297
  path: string;
4058
4298
  content: string;
4059
4299
  overwriteExisting: boolean;
4300
+ append: boolean;
4060
4301
  allowIgnored: boolean;
4061
4302
  }>;
4062
4303
  }[] | undefined;
@@ -4071,8 +4312,10 @@ export declare const hazeTools: {
4071
4312
  path: string;
4072
4313
  content: string;
4073
4314
  overwriteExisting: boolean;
4315
+ append: boolean;
4074
4316
  allowIgnored: boolean;
4075
4317
  }, {
4318
+ suggestedPaths?: string[] | undefined;
4076
4319
  ok: boolean;
4077
4320
  toolName: string;
4078
4321
  path: string | undefined;
@@ -4097,10 +4340,21 @@ export declare const hazeTools: {
4097
4340
  toolName: string;
4098
4341
  reason: string;
4099
4342
  } | {
4343
+ diffHandle?: string | undefined;
4344
+ diffLineCount: number;
4345
+ diff: ToolDiffLine[];
4346
+ diffTruncated: boolean;
4347
+ diffOmittedLines: number;
4348
+ previousContentOmittedBytes?: number | undefined;
4100
4349
  ok: boolean;
4101
4350
  path: string;
4102
4351
  bytes: number;
4103
4352
  overwritten: boolean;
4353
+ appended: boolean;
4354
+ noChange: boolean;
4355
+ addedLines: number;
4356
+ removedLines: number;
4357
+ diffComplete: boolean;
4104
4358
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
4105
4359
  }) | ({
4106
4360
  title?: string;
@@ -4110,6 +4364,7 @@ export declare const hazeTools: {
4110
4364
  path: string;
4111
4365
  content: string;
4112
4366
  overwriteExisting: boolean;
4367
+ append: boolean;
4113
4368
  allowIgnored: boolean;
4114
4369
  }>;
4115
4370
  contextSchema?: import("ai").FlexibleSchema<import("./tools/toolContext.js").HazeToolContext> | undefined;
@@ -4117,6 +4372,7 @@ export declare const hazeTools: {
4117
4372
  path: string;
4118
4373
  content: string;
4119
4374
  overwriteExisting: boolean;
4375
+ append: boolean;
4120
4376
  allowIgnored: boolean;
4121
4377
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>> | undefined;
4122
4378
  onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContext.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
@@ -4128,6 +4384,7 @@ export declare const hazeTools: {
4128
4384
  path: string;
4129
4385
  content: string;
4130
4386
  overwriteExisting: boolean;
4387
+ append: boolean;
4131
4388
  allowIgnored: boolean;
4132
4389
  };
4133
4390
  } & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContext.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
@@ -4137,9 +4394,11 @@ export declare const hazeTools: {
4137
4394
  path: string;
4138
4395
  content: string;
4139
4396
  overwriteExisting: boolean;
4397
+ append: boolean;
4140
4398
  allowIgnored: boolean;
4141
4399
  };
4142
4400
  output: NoInfer<{
4401
+ suggestedPaths?: string[] | undefined;
4143
4402
  ok: boolean;
4144
4403
  toolName: string;
4145
4404
  path: string | undefined;
@@ -4164,14 +4423,26 @@ export declare const hazeTools: {
4164
4423
  toolName: string;
4165
4424
  reason: string;
4166
4425
  } | {
4426
+ diffHandle?: string | undefined;
4427
+ diffLineCount: number;
4428
+ diff: ToolDiffLine[];
4429
+ diffTruncated: boolean;
4430
+ diffOmittedLines: number;
4431
+ previousContentOmittedBytes?: number | undefined;
4167
4432
  ok: boolean;
4168
4433
  path: string;
4169
4434
  bytes: number;
4170
4435
  overwritten: boolean;
4436
+ appended: boolean;
4437
+ noChange: boolean;
4438
+ addedLines: number;
4439
+ removedLines: number;
4440
+ diffComplete: boolean;
4171
4441
  }>;
4172
4442
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
4173
4443
  } & {
4174
4444
  outputSchema?: import("ai").FlexibleSchema<{
4445
+ suggestedPaths?: string[] | undefined;
4175
4446
  ok: boolean;
4176
4447
  toolName: string;
4177
4448
  path: string | undefined;
@@ -4196,17 +4467,30 @@ export declare const hazeTools: {
4196
4467
  toolName: string;
4197
4468
  reason: string;
4198
4469
  } | {
4470
+ diffHandle?: string | undefined;
4471
+ diffLineCount: number;
4472
+ diff: ToolDiffLine[];
4473
+ diffTruncated: boolean;
4474
+ diffOmittedLines: number;
4475
+ previousContentOmittedBytes?: number | undefined;
4199
4476
  ok: boolean;
4200
4477
  path: string;
4201
4478
  bytes: number;
4202
4479
  overwritten: boolean;
4480
+ appended: boolean;
4481
+ noChange: boolean;
4482
+ addedLines: number;
4483
+ removedLines: number;
4484
+ diffComplete: boolean;
4203
4485
  }> | undefined;
4204
4486
  execute: import("ai").ToolExecuteFunction<{
4205
4487
  path: string;
4206
4488
  content: string;
4207
4489
  overwriteExisting: boolean;
4490
+ append: boolean;
4208
4491
  allowIgnored: boolean;
4209
4492
  }, {
4493
+ suggestedPaths?: string[] | undefined;
4210
4494
  ok: boolean;
4211
4495
  toolName: string;
4212
4496
  path: string | undefined;
@@ -4231,10 +4515,21 @@ export declare const hazeTools: {
4231
4515
  toolName: string;
4232
4516
  reason: string;
4233
4517
  } | {
4518
+ diffHandle?: string | undefined;
4519
+ diffLineCount: number;
4520
+ diff: ToolDiffLine[];
4521
+ diffTruncated: boolean;
4522
+ diffOmittedLines: number;
4523
+ previousContentOmittedBytes?: number | undefined;
4234
4524
  ok: boolean;
4235
4525
  path: string;
4236
4526
  bytes: number;
4237
4527
  overwritten: boolean;
4528
+ appended: boolean;
4529
+ noChange: boolean;
4530
+ addedLines: number;
4531
+ removedLines: number;
4532
+ diffComplete: boolean;
4238
4533
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
4239
4534
  } & {
4240
4535
  type: "provider";
@@ -4251,8 +4546,10 @@ export declare const hazeTools: {
4251
4546
  path: string;
4252
4547
  content: string;
4253
4548
  overwriteExisting: boolean;
4549
+ append: boolean;
4254
4550
  allowIgnored: boolean;
4255
4551
  }, {
4552
+ suggestedPaths?: string[] | undefined;
4256
4553
  ok: boolean;
4257
4554
  toolName: string;
4258
4555
  path: string | undefined;
@@ -4277,10 +4574,21 @@ export declare const hazeTools: {
4277
4574
  toolName: string;
4278
4575
  reason: string;
4279
4576
  } | {
4577
+ diffHandle?: string | undefined;
4578
+ diffLineCount: number;
4579
+ diff: ToolDiffLine[];
4580
+ diffTruncated: boolean;
4581
+ diffOmittedLines: number;
4582
+ previousContentOmittedBytes?: number | undefined;
4280
4583
  ok: boolean;
4281
4584
  path: string;
4282
4585
  bytes: number;
4283
4586
  overwritten: boolean;
4587
+ appended: boolean;
4588
+ noChange: boolean;
4589
+ addedLines: number;
4590
+ removedLines: number;
4591
+ diffComplete: boolean;
4284
4592
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
4285
4593
  }) | ({
4286
4594
  title?: string;
@@ -4290,6 +4598,7 @@ export declare const hazeTools: {
4290
4598
  path: string;
4291
4599
  content: string;
4292
4600
  overwriteExisting: boolean;
4601
+ append: boolean;
4293
4602
  allowIgnored: boolean;
4294
4603
  }>;
4295
4604
  contextSchema?: import("ai").FlexibleSchema<import("./tools/toolContext.js").HazeToolContext> | undefined;
@@ -4297,6 +4606,7 @@ export declare const hazeTools: {
4297
4606
  path: string;
4298
4607
  content: string;
4299
4608
  overwriteExisting: boolean;
4609
+ append: boolean;
4300
4610
  allowIgnored: boolean;
4301
4611
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>> | undefined;
4302
4612
  onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContext.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
@@ -4308,6 +4618,7 @@ export declare const hazeTools: {
4308
4618
  path: string;
4309
4619
  content: string;
4310
4620
  overwriteExisting: boolean;
4621
+ append: boolean;
4311
4622
  allowIgnored: boolean;
4312
4623
  };
4313
4624
  } & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContext.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
@@ -4317,9 +4628,11 @@ export declare const hazeTools: {
4317
4628
  path: string;
4318
4629
  content: string;
4319
4630
  overwriteExisting: boolean;
4631
+ append: boolean;
4320
4632
  allowIgnored: boolean;
4321
4633
  };
4322
4634
  output: NoInfer<{
4635
+ suggestedPaths?: string[] | undefined;
4323
4636
  ok: boolean;
4324
4637
  toolName: string;
4325
4638
  path: string | undefined;
@@ -4344,14 +4657,26 @@ export declare const hazeTools: {
4344
4657
  toolName: string;
4345
4658
  reason: string;
4346
4659
  } | {
4660
+ diffHandle?: string | undefined;
4661
+ diffLineCount: number;
4662
+ diff: ToolDiffLine[];
4663
+ diffTruncated: boolean;
4664
+ diffOmittedLines: number;
4665
+ previousContentOmittedBytes?: number | undefined;
4347
4666
  ok: boolean;
4348
4667
  path: string;
4349
4668
  bytes: number;
4350
4669
  overwritten: boolean;
4670
+ appended: boolean;
4671
+ noChange: boolean;
4672
+ addedLines: number;
4673
+ removedLines: number;
4674
+ diffComplete: boolean;
4351
4675
  }>;
4352
4676
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
4353
4677
  } & {
4354
4678
  outputSchema?: import("ai").FlexibleSchema<{
4679
+ suggestedPaths?: string[] | undefined;
4355
4680
  ok: boolean;
4356
4681
  toolName: string;
4357
4682
  path: string | undefined;
@@ -4376,17 +4701,30 @@ export declare const hazeTools: {
4376
4701
  toolName: string;
4377
4702
  reason: string;
4378
4703
  } | {
4704
+ diffHandle?: string | undefined;
4705
+ diffLineCount: number;
4706
+ diff: ToolDiffLine[];
4707
+ diffTruncated: boolean;
4708
+ diffOmittedLines: number;
4709
+ previousContentOmittedBytes?: number | undefined;
4379
4710
  ok: boolean;
4380
4711
  path: string;
4381
4712
  bytes: number;
4382
4713
  overwritten: boolean;
4714
+ appended: boolean;
4715
+ noChange: boolean;
4716
+ addedLines: number;
4717
+ removedLines: number;
4718
+ diffComplete: boolean;
4383
4719
  }> | undefined;
4384
4720
  execute: import("ai").ToolExecuteFunction<{
4385
4721
  path: string;
4386
4722
  content: string;
4387
4723
  overwriteExisting: boolean;
4724
+ append: boolean;
4388
4725
  allowIgnored: boolean;
4389
4726
  }, {
4727
+ suggestedPaths?: string[] | undefined;
4390
4728
  ok: boolean;
4391
4729
  toolName: string;
4392
4730
  path: string | undefined;
@@ -4411,10 +4749,21 @@ export declare const hazeTools: {
4411
4749
  toolName: string;
4412
4750
  reason: string;
4413
4751
  } | {
4752
+ diffHandle?: string | undefined;
4753
+ diffLineCount: number;
4754
+ diff: ToolDiffLine[];
4755
+ diffTruncated: boolean;
4756
+ diffOmittedLines: number;
4757
+ previousContentOmittedBytes?: number | undefined;
4414
4758
  ok: boolean;
4415
4759
  path: string;
4416
4760
  bytes: number;
4417
4761
  overwritten: boolean;
4762
+ appended: boolean;
4763
+ noChange: boolean;
4764
+ addedLines: number;
4765
+ removedLines: number;
4766
+ diffComplete: boolean;
4418
4767
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
4419
4768
  } & {
4420
4769
  type: "provider";
@@ -4431,8 +4780,10 @@ export declare const hazeTools: {
4431
4780
  path: string;
4432
4781
  content: string;
4433
4782
  overwriteExisting: boolean;
4783
+ append: boolean;
4434
4784
  allowIgnored: boolean;
4435
4785
  }, {
4786
+ suggestedPaths?: string[] | undefined;
4436
4787
  ok: boolean;
4437
4788
  toolName: string;
4438
4789
  path: string | undefined;
@@ -4457,10 +4808,21 @@ export declare const hazeTools: {
4457
4808
  toolName: string;
4458
4809
  reason: string;
4459
4810
  } | {
4811
+ diffHandle?: string | undefined;
4812
+ diffLineCount: number;
4813
+ diff: ToolDiffLine[];
4814
+ diffTruncated: boolean;
4815
+ diffOmittedLines: number;
4816
+ previousContentOmittedBytes?: number | undefined;
4460
4817
  ok: boolean;
4461
4818
  path: string;
4462
4819
  bytes: number;
4463
4820
  overwritten: boolean;
4821
+ appended: boolean;
4822
+ noChange: boolean;
4823
+ addedLines: number;
4824
+ removedLines: number;
4825
+ diffComplete: boolean;
4464
4826
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
4465
4827
  });
4466
4828
  editFile: ({
@@ -4509,6 +4871,7 @@ export declare const hazeTools: {
4509
4871
  allowIgnored: boolean;
4510
4872
  };
4511
4873
  output: NoInfer<{
4874
+ suggestedPaths?: string[] | undefined;
4512
4875
  ok: boolean;
4513
4876
  toolName: string;
4514
4877
  path: string | undefined;
@@ -4533,18 +4896,23 @@ export declare const hazeTools: {
4533
4896
  toolName: string;
4534
4897
  reason: string;
4535
4898
  } | {
4899
+ diffHandle?: string | undefined;
4900
+ diffLineCount: number;
4901
+ diff: ToolDiffLine[];
4902
+ diffTruncated: boolean;
4903
+ diffOmittedLines: number;
4536
4904
  ok: boolean;
4537
4905
  path: string;
4538
4906
  edits: number;
4539
4907
  approximateMatches: number;
4908
+ noChange: boolean;
4540
4909
  addedLines: number;
4541
4910
  removedLines: number;
4542
- diffLineCount: number;
4543
- diff: ToolDiffLine[] | undefined;
4544
4911
  }>;
4545
4912
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
4546
4913
  } & {
4547
4914
  outputSchema?: import("ai").FlexibleSchema<{
4915
+ suggestedPaths?: string[] | undefined;
4548
4916
  ok: boolean;
4549
4917
  toolName: string;
4550
4918
  path: string | undefined;
@@ -4569,14 +4937,18 @@ export declare const hazeTools: {
4569
4937
  toolName: string;
4570
4938
  reason: string;
4571
4939
  } | {
4940
+ diffHandle?: string | undefined;
4941
+ diffLineCount: number;
4942
+ diff: ToolDiffLine[];
4943
+ diffTruncated: boolean;
4944
+ diffOmittedLines: number;
4572
4945
  ok: boolean;
4573
4946
  path: string;
4574
4947
  edits: number;
4575
4948
  approximateMatches: number;
4949
+ noChange: boolean;
4576
4950
  addedLines: number;
4577
4951
  removedLines: number;
4578
- diffLineCount: number;
4579
- diff: ToolDiffLine[] | undefined;
4580
4952
  }> | undefined;
4581
4953
  execute: import("ai").ToolExecuteFunction<{
4582
4954
  path: string;
@@ -4586,6 +4958,7 @@ export declare const hazeTools: {
4586
4958
  }[];
4587
4959
  allowIgnored: boolean;
4588
4960
  }, {
4961
+ suggestedPaths?: string[] | undefined;
4589
4962
  ok: boolean;
4590
4963
  toolName: string;
4591
4964
  path: string | undefined;
@@ -4610,14 +4983,18 @@ export declare const hazeTools: {
4610
4983
  toolName: string;
4611
4984
  reason: string;
4612
4985
  } | {
4986
+ diffHandle?: string | undefined;
4987
+ diffLineCount: number;
4988
+ diff: ToolDiffLine[];
4989
+ diffTruncated: boolean;
4990
+ diffOmittedLines: number;
4613
4991
  ok: boolean;
4614
4992
  path: string;
4615
4993
  edits: number;
4616
4994
  approximateMatches: number;
4995
+ noChange: boolean;
4617
4996
  addedLines: number;
4618
4997
  removedLines: number;
4619
- diffLineCount: number;
4620
- diff: ToolDiffLine[] | undefined;
4621
4998
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
4622
4999
  } & {
4623
5000
  description?: string | ((options: {
@@ -4650,6 +5027,7 @@ export declare const hazeTools: {
4650
5027
  }[];
4651
5028
  allowIgnored: boolean;
4652
5029
  }, {
5030
+ suggestedPaths?: string[] | undefined;
4653
5031
  ok: boolean;
4654
5032
  toolName: string;
4655
5033
  path: string | undefined;
@@ -4674,14 +5052,18 @@ export declare const hazeTools: {
4674
5052
  toolName: string;
4675
5053
  reason: string;
4676
5054
  } | {
5055
+ diffHandle?: string | undefined;
5056
+ diffLineCount: number;
5057
+ diff: ToolDiffLine[];
5058
+ diffTruncated: boolean;
5059
+ diffOmittedLines: number;
4677
5060
  ok: boolean;
4678
5061
  path: string;
4679
5062
  edits: number;
4680
5063
  approximateMatches: number;
5064
+ noChange: boolean;
4681
5065
  addedLines: number;
4682
5066
  removedLines: number;
4683
- diffLineCount: number;
4684
- diff: ToolDiffLine[] | undefined;
4685
5067
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
4686
5068
  }) | ({
4687
5069
  title?: string;
@@ -4729,6 +5111,7 @@ export declare const hazeTools: {
4729
5111
  allowIgnored: boolean;
4730
5112
  };
4731
5113
  output: NoInfer<{
5114
+ suggestedPaths?: string[] | undefined;
4732
5115
  ok: boolean;
4733
5116
  toolName: string;
4734
5117
  path: string | undefined;
@@ -4753,18 +5136,23 @@ export declare const hazeTools: {
4753
5136
  toolName: string;
4754
5137
  reason: string;
4755
5138
  } | {
5139
+ diffHandle?: string | undefined;
5140
+ diffLineCount: number;
5141
+ diff: ToolDiffLine[];
5142
+ diffTruncated: boolean;
5143
+ diffOmittedLines: number;
4756
5144
  ok: boolean;
4757
5145
  path: string;
4758
5146
  edits: number;
4759
5147
  approximateMatches: number;
5148
+ noChange: boolean;
4760
5149
  addedLines: number;
4761
5150
  removedLines: number;
4762
- diffLineCount: number;
4763
- diff: ToolDiffLine[] | undefined;
4764
5151
  }>;
4765
5152
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
4766
5153
  } & {
4767
5154
  outputSchema?: import("ai").FlexibleSchema<{
5155
+ suggestedPaths?: string[] | undefined;
4768
5156
  ok: boolean;
4769
5157
  toolName: string;
4770
5158
  path: string | undefined;
@@ -4789,14 +5177,18 @@ export declare const hazeTools: {
4789
5177
  toolName: string;
4790
5178
  reason: string;
4791
5179
  } | {
5180
+ diffHandle?: string | undefined;
5181
+ diffLineCount: number;
5182
+ diff: ToolDiffLine[];
5183
+ diffTruncated: boolean;
5184
+ diffOmittedLines: number;
4792
5185
  ok: boolean;
4793
5186
  path: string;
4794
5187
  edits: number;
4795
5188
  approximateMatches: number;
5189
+ noChange: boolean;
4796
5190
  addedLines: number;
4797
5191
  removedLines: number;
4798
- diffLineCount: number;
4799
- diff: ToolDiffLine[] | undefined;
4800
5192
  }> | undefined;
4801
5193
  execute: import("ai").ToolExecuteFunction<{
4802
5194
  path: string;
@@ -4806,6 +5198,7 @@ export declare const hazeTools: {
4806
5198
  }[];
4807
5199
  allowIgnored: boolean;
4808
5200
  }, {
5201
+ suggestedPaths?: string[] | undefined;
4809
5202
  ok: boolean;
4810
5203
  toolName: string;
4811
5204
  path: string | undefined;
@@ -4830,14 +5223,18 @@ export declare const hazeTools: {
4830
5223
  toolName: string;
4831
5224
  reason: string;
4832
5225
  } | {
5226
+ diffHandle?: string | undefined;
5227
+ diffLineCount: number;
5228
+ diff: ToolDiffLine[];
5229
+ diffTruncated: boolean;
5230
+ diffOmittedLines: number;
4833
5231
  ok: boolean;
4834
5232
  path: string;
4835
5233
  edits: number;
4836
5234
  approximateMatches: number;
5235
+ noChange: boolean;
4837
5236
  addedLines: number;
4838
5237
  removedLines: number;
4839
- diffLineCount: number;
4840
- diff: ToolDiffLine[] | undefined;
4841
5238
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
4842
5239
  } & {
4843
5240
  description?: string | ((options: {
@@ -4870,6 +5267,7 @@ export declare const hazeTools: {
4870
5267
  }[];
4871
5268
  allowIgnored: boolean;
4872
5269
  }, {
5270
+ suggestedPaths?: string[] | undefined;
4873
5271
  ok: boolean;
4874
5272
  toolName: string;
4875
5273
  path: string | undefined;
@@ -4894,14 +5292,18 @@ export declare const hazeTools: {
4894
5292
  toolName: string;
4895
5293
  reason: string;
4896
5294
  } | {
5295
+ diffHandle?: string | undefined;
5296
+ diffLineCount: number;
5297
+ diff: ToolDiffLine[];
5298
+ diffTruncated: boolean;
5299
+ diffOmittedLines: number;
4897
5300
  ok: boolean;
4898
5301
  path: string;
4899
5302
  edits: number;
4900
5303
  approximateMatches: number;
5304
+ noChange: boolean;
4901
5305
  addedLines: number;
4902
5306
  removedLines: number;
4903
- diffLineCount: number;
4904
- diff: ToolDiffLine[] | undefined;
4905
5307
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
4906
5308
  }) | ({
4907
5309
  title?: string;
@@ -4949,6 +5351,7 @@ export declare const hazeTools: {
4949
5351
  allowIgnored: boolean;
4950
5352
  };
4951
5353
  output: NoInfer<{
5354
+ suggestedPaths?: string[] | undefined;
4952
5355
  ok: boolean;
4953
5356
  toolName: string;
4954
5357
  path: string | undefined;
@@ -4973,18 +5376,23 @@ export declare const hazeTools: {
4973
5376
  toolName: string;
4974
5377
  reason: string;
4975
5378
  } | {
5379
+ diffHandle?: string | undefined;
5380
+ diffLineCount: number;
5381
+ diff: ToolDiffLine[];
5382
+ diffTruncated: boolean;
5383
+ diffOmittedLines: number;
4976
5384
  ok: boolean;
4977
5385
  path: string;
4978
5386
  edits: number;
4979
5387
  approximateMatches: number;
5388
+ noChange: boolean;
4980
5389
  addedLines: number;
4981
5390
  removedLines: number;
4982
- diffLineCount: number;
4983
- diff: ToolDiffLine[] | undefined;
4984
5391
  }>;
4985
5392
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
4986
5393
  } & {
4987
5394
  outputSchema?: import("ai").FlexibleSchema<{
5395
+ suggestedPaths?: string[] | undefined;
4988
5396
  ok: boolean;
4989
5397
  toolName: string;
4990
5398
  path: string | undefined;
@@ -5009,14 +5417,18 @@ export declare const hazeTools: {
5009
5417
  toolName: string;
5010
5418
  reason: string;
5011
5419
  } | {
5420
+ diffHandle?: string | undefined;
5421
+ diffLineCount: number;
5422
+ diff: ToolDiffLine[];
5423
+ diffTruncated: boolean;
5424
+ diffOmittedLines: number;
5012
5425
  ok: boolean;
5013
5426
  path: string;
5014
5427
  edits: number;
5015
5428
  approximateMatches: number;
5429
+ noChange: boolean;
5016
5430
  addedLines: number;
5017
5431
  removedLines: number;
5018
- diffLineCount: number;
5019
- diff: ToolDiffLine[] | undefined;
5020
5432
  }> | undefined;
5021
5433
  execute: import("ai").ToolExecuteFunction<{
5022
5434
  path: string;
@@ -5026,6 +5438,7 @@ export declare const hazeTools: {
5026
5438
  }[];
5027
5439
  allowIgnored: boolean;
5028
5440
  }, {
5441
+ suggestedPaths?: string[] | undefined;
5029
5442
  ok: boolean;
5030
5443
  toolName: string;
5031
5444
  path: string | undefined;
@@ -5050,14 +5463,18 @@ export declare const hazeTools: {
5050
5463
  toolName: string;
5051
5464
  reason: string;
5052
5465
  } | {
5466
+ diffHandle?: string | undefined;
5467
+ diffLineCount: number;
5468
+ diff: ToolDiffLine[];
5469
+ diffTruncated: boolean;
5470
+ diffOmittedLines: number;
5053
5471
  ok: boolean;
5054
5472
  path: string;
5055
5473
  edits: number;
5056
5474
  approximateMatches: number;
5475
+ noChange: boolean;
5057
5476
  addedLines: number;
5058
5477
  removedLines: number;
5059
- diffLineCount: number;
5060
- diff: ToolDiffLine[] | undefined;
5061
5478
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
5062
5479
  } & {
5063
5480
  type: "provider";
@@ -5078,6 +5495,7 @@ export declare const hazeTools: {
5078
5495
  }[];
5079
5496
  allowIgnored: boolean;
5080
5497
  }, {
5498
+ suggestedPaths?: string[] | undefined;
5081
5499
  ok: boolean;
5082
5500
  toolName: string;
5083
5501
  path: string | undefined;
@@ -5102,14 +5520,18 @@ export declare const hazeTools: {
5102
5520
  toolName: string;
5103
5521
  reason: string;
5104
5522
  } | {
5523
+ diffHandle?: string | undefined;
5524
+ diffLineCount: number;
5525
+ diff: ToolDiffLine[];
5526
+ diffTruncated: boolean;
5527
+ diffOmittedLines: number;
5105
5528
  ok: boolean;
5106
5529
  path: string;
5107
5530
  edits: number;
5108
5531
  approximateMatches: number;
5532
+ noChange: boolean;
5109
5533
  addedLines: number;
5110
5534
  removedLines: number;
5111
- diffLineCount: number;
5112
- diff: ToolDiffLine[] | undefined;
5113
5535
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
5114
5536
  }) | ({
5115
5537
  title?: string;
@@ -5157,6 +5579,7 @@ export declare const hazeTools: {
5157
5579
  allowIgnored: boolean;
5158
5580
  };
5159
5581
  output: NoInfer<{
5582
+ suggestedPaths?: string[] | undefined;
5160
5583
  ok: boolean;
5161
5584
  toolName: string;
5162
5585
  path: string | undefined;
@@ -5181,18 +5604,23 @@ export declare const hazeTools: {
5181
5604
  toolName: string;
5182
5605
  reason: string;
5183
5606
  } | {
5607
+ diffHandle?: string | undefined;
5608
+ diffLineCount: number;
5609
+ diff: ToolDiffLine[];
5610
+ diffTruncated: boolean;
5611
+ diffOmittedLines: number;
5184
5612
  ok: boolean;
5185
5613
  path: string;
5186
5614
  edits: number;
5187
5615
  approximateMatches: number;
5616
+ noChange: boolean;
5188
5617
  addedLines: number;
5189
5618
  removedLines: number;
5190
- diffLineCount: number;
5191
- diff: ToolDiffLine[] | undefined;
5192
5619
  }>;
5193
5620
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
5194
5621
  } & {
5195
5622
  outputSchema?: import("ai").FlexibleSchema<{
5623
+ suggestedPaths?: string[] | undefined;
5196
5624
  ok: boolean;
5197
5625
  toolName: string;
5198
5626
  path: string | undefined;
@@ -5217,14 +5645,18 @@ export declare const hazeTools: {
5217
5645
  toolName: string;
5218
5646
  reason: string;
5219
5647
  } | {
5648
+ diffHandle?: string | undefined;
5649
+ diffLineCount: number;
5650
+ diff: ToolDiffLine[];
5651
+ diffTruncated: boolean;
5652
+ diffOmittedLines: number;
5220
5653
  ok: boolean;
5221
5654
  path: string;
5222
5655
  edits: number;
5223
5656
  approximateMatches: number;
5657
+ noChange: boolean;
5224
5658
  addedLines: number;
5225
5659
  removedLines: number;
5226
- diffLineCount: number;
5227
- diff: ToolDiffLine[] | undefined;
5228
5660
  }> | undefined;
5229
5661
  execute: import("ai").ToolExecuteFunction<{
5230
5662
  path: string;
@@ -5234,6 +5666,7 @@ export declare const hazeTools: {
5234
5666
  }[];
5235
5667
  allowIgnored: boolean;
5236
5668
  }, {
5669
+ suggestedPaths?: string[] | undefined;
5237
5670
  ok: boolean;
5238
5671
  toolName: string;
5239
5672
  path: string | undefined;
@@ -5258,14 +5691,18 @@ export declare const hazeTools: {
5258
5691
  toolName: string;
5259
5692
  reason: string;
5260
5693
  } | {
5694
+ diffHandle?: string | undefined;
5695
+ diffLineCount: number;
5696
+ diff: ToolDiffLine[];
5697
+ diffTruncated: boolean;
5698
+ diffOmittedLines: number;
5261
5699
  ok: boolean;
5262
5700
  path: string;
5263
5701
  edits: number;
5264
5702
  approximateMatches: number;
5703
+ noChange: boolean;
5265
5704
  addedLines: number;
5266
5705
  removedLines: number;
5267
- diffLineCount: number;
5268
- diff: ToolDiffLine[] | undefined;
5269
5706
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
5270
5707
  } & {
5271
5708
  type: "provider";
@@ -5286,6 +5723,7 @@ export declare const hazeTools: {
5286
5723
  }[];
5287
5724
  allowIgnored: boolean;
5288
5725
  }, {
5726
+ suggestedPaths?: string[] | undefined;
5289
5727
  ok: boolean;
5290
5728
  toolName: string;
5291
5729
  path: string | undefined;
@@ -5310,14 +5748,18 @@ export declare const hazeTools: {
5310
5748
  toolName: string;
5311
5749
  reason: string;
5312
5750
  } | {
5751
+ diffHandle?: string | undefined;
5752
+ diffLineCount: number;
5753
+ diff: ToolDiffLine[];
5754
+ diffTruncated: boolean;
5755
+ diffOmittedLines: number;
5313
5756
  ok: boolean;
5314
5757
  path: string;
5315
5758
  edits: number;
5316
5759
  approximateMatches: number;
5760
+ noChange: boolean;
5317
5761
  addedLines: number;
5318
5762
  removedLines: number;
5319
- diffLineCount: number;
5320
- diff: ToolDiffLine[] | undefined;
5321
5763
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
5322
5764
  });
5323
5765
  writeTasks: ({
@@ -6306,12 +6748,12 @@ export declare const hazeTools: {
6306
6748
  metadata?: import("@ai-sdk/provider").JSONObject;
6307
6749
  inputSchema: import("ai").FlexibleSchema<{
6308
6750
  url: string;
6309
- format: "auto" | "text";
6751
+ format: "text" | "auto";
6310
6752
  }>;
6311
6753
  contextSchema?: import("ai").FlexibleSchema<import("./tools/toolContext.js").HazeToolContext> | undefined;
6312
6754
  needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
6313
6755
  url: string;
6314
- format: "auto" | "text";
6756
+ format: "text" | "auto";
6315
6757
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>> | undefined;
6316
6758
  onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContext.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
6317
6759
  onInputDelta?: ((options: {
@@ -6320,16 +6762,17 @@ export declare const hazeTools: {
6320
6762
  onInputAvailable?: ((options: {
6321
6763
  input: {
6322
6764
  url: string;
6323
- format: "auto" | "text";
6765
+ format: "text" | "auto";
6324
6766
  };
6325
6767
  } & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContext.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
6326
6768
  toModelOutput?: ((options: {
6327
6769
  toolCallId: string;
6328
6770
  input: {
6329
6771
  url: string;
6330
- format: "auto" | "text";
6772
+ format: "text" | "auto";
6331
6773
  };
6332
6774
  output: NoInfer<{
6775
+ suggestedPaths?: string[] | undefined;
6333
6776
  ok: boolean;
6334
6777
  toolName: string;
6335
6778
  path: string | undefined;
@@ -6394,6 +6837,7 @@ export declare const hazeTools: {
6394
6837
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
6395
6838
  } & {
6396
6839
  outputSchema?: import("ai").FlexibleSchema<{
6840
+ suggestedPaths?: string[] | undefined;
6397
6841
  ok: boolean;
6398
6842
  toolName: string;
6399
6843
  path: string | undefined;
@@ -6457,8 +6901,9 @@ export declare const hazeTools: {
6457
6901
  }> | undefined;
6458
6902
  execute: import("ai").ToolExecuteFunction<{
6459
6903
  url: string;
6460
- format: "auto" | "text";
6904
+ format: "text" | "auto";
6461
6905
  }, {
6906
+ suggestedPaths?: string[] | undefined;
6462
6907
  ok: boolean;
6463
6908
  toolName: string;
6464
6909
  path: string | undefined;
@@ -6529,7 +6974,7 @@ export declare const hazeTools: {
6529
6974
  inputExamples?: {
6530
6975
  input: NoInfer<{
6531
6976
  url: string;
6532
- format: "auto" | "text";
6977
+ format: "text" | "auto";
6533
6978
  }>;
6534
6979
  }[] | undefined;
6535
6980
  id?: never;
@@ -6541,8 +6986,9 @@ export declare const hazeTools: {
6541
6986
  } & {
6542
6987
  execute: import("ai").ToolExecuteFunction<{
6543
6988
  url: string;
6544
- format: "auto" | "text";
6989
+ format: "text" | "auto";
6545
6990
  }, {
6991
+ suggestedPaths?: string[] | undefined;
6546
6992
  ok: boolean;
6547
6993
  toolName: string;
6548
6994
  path: string | undefined;
@@ -6610,12 +7056,12 @@ export declare const hazeTools: {
6610
7056
  metadata?: import("@ai-sdk/provider").JSONObject;
6611
7057
  inputSchema: import("ai").FlexibleSchema<{
6612
7058
  url: string;
6613
- format: "auto" | "text";
7059
+ format: "text" | "auto";
6614
7060
  }>;
6615
7061
  contextSchema?: import("ai").FlexibleSchema<import("./tools/toolContext.js").HazeToolContext> | undefined;
6616
7062
  needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
6617
7063
  url: string;
6618
- format: "auto" | "text";
7064
+ format: "text" | "auto";
6619
7065
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>> | undefined;
6620
7066
  onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContext.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
6621
7067
  onInputDelta?: ((options: {
@@ -6624,16 +7070,17 @@ export declare const hazeTools: {
6624
7070
  onInputAvailable?: ((options: {
6625
7071
  input: {
6626
7072
  url: string;
6627
- format: "auto" | "text";
7073
+ format: "text" | "auto";
6628
7074
  };
6629
7075
  } & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContext.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
6630
7076
  toModelOutput?: ((options: {
6631
7077
  toolCallId: string;
6632
7078
  input: {
6633
7079
  url: string;
6634
- format: "auto" | "text";
7080
+ format: "text" | "auto";
6635
7081
  };
6636
7082
  output: NoInfer<{
7083
+ suggestedPaths?: string[] | undefined;
6637
7084
  ok: boolean;
6638
7085
  toolName: string;
6639
7086
  path: string | undefined;
@@ -6698,6 +7145,7 @@ export declare const hazeTools: {
6698
7145
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
6699
7146
  } & {
6700
7147
  outputSchema?: import("ai").FlexibleSchema<{
7148
+ suggestedPaths?: string[] | undefined;
6701
7149
  ok: boolean;
6702
7150
  toolName: string;
6703
7151
  path: string | undefined;
@@ -6761,8 +7209,9 @@ export declare const hazeTools: {
6761
7209
  }> | undefined;
6762
7210
  execute: import("ai").ToolExecuteFunction<{
6763
7211
  url: string;
6764
- format: "auto" | "text";
7212
+ format: "text" | "auto";
6765
7213
  }, {
7214
+ suggestedPaths?: string[] | undefined;
6766
7215
  ok: boolean;
6767
7216
  toolName: string;
6768
7217
  path: string | undefined;
@@ -6833,7 +7282,7 @@ export declare const hazeTools: {
6833
7282
  inputExamples?: {
6834
7283
  input: NoInfer<{
6835
7284
  url: string;
6836
- format: "auto" | "text";
7285
+ format: "text" | "auto";
6837
7286
  }>;
6838
7287
  }[] | undefined;
6839
7288
  id?: never;
@@ -6845,8 +7294,9 @@ export declare const hazeTools: {
6845
7294
  } & {
6846
7295
  execute: import("ai").ToolExecuteFunction<{
6847
7296
  url: string;
6848
- format: "auto" | "text";
7297
+ format: "text" | "auto";
6849
7298
  }, {
7299
+ suggestedPaths?: string[] | undefined;
6850
7300
  ok: boolean;
6851
7301
  toolName: string;
6852
7302
  path: string | undefined;
@@ -6914,12 +7364,12 @@ export declare const hazeTools: {
6914
7364
  metadata?: import("@ai-sdk/provider").JSONObject;
6915
7365
  inputSchema: import("ai").FlexibleSchema<{
6916
7366
  url: string;
6917
- format: "auto" | "text";
7367
+ format: "text" | "auto";
6918
7368
  }>;
6919
7369
  contextSchema?: import("ai").FlexibleSchema<import("./tools/toolContext.js").HazeToolContext> | undefined;
6920
7370
  needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
6921
7371
  url: string;
6922
- format: "auto" | "text";
7372
+ format: "text" | "auto";
6923
7373
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>> | undefined;
6924
7374
  onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContext.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
6925
7375
  onInputDelta?: ((options: {
@@ -6928,16 +7378,17 @@ export declare const hazeTools: {
6928
7378
  onInputAvailable?: ((options: {
6929
7379
  input: {
6930
7380
  url: string;
6931
- format: "auto" | "text";
7381
+ format: "text" | "auto";
6932
7382
  };
6933
7383
  } & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContext.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
6934
7384
  toModelOutput?: ((options: {
6935
7385
  toolCallId: string;
6936
7386
  input: {
6937
7387
  url: string;
6938
- format: "auto" | "text";
7388
+ format: "text" | "auto";
6939
7389
  };
6940
7390
  output: NoInfer<{
7391
+ suggestedPaths?: string[] | undefined;
6941
7392
  ok: boolean;
6942
7393
  toolName: string;
6943
7394
  path: string | undefined;
@@ -7002,6 +7453,7 @@ export declare const hazeTools: {
7002
7453
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
7003
7454
  } & {
7004
7455
  outputSchema?: import("ai").FlexibleSchema<{
7456
+ suggestedPaths?: string[] | undefined;
7005
7457
  ok: boolean;
7006
7458
  toolName: string;
7007
7459
  path: string | undefined;
@@ -7065,8 +7517,9 @@ export declare const hazeTools: {
7065
7517
  }> | undefined;
7066
7518
  execute: import("ai").ToolExecuteFunction<{
7067
7519
  url: string;
7068
- format: "auto" | "text";
7520
+ format: "text" | "auto";
7069
7521
  }, {
7522
+ suggestedPaths?: string[] | undefined;
7070
7523
  ok: boolean;
7071
7524
  toolName: string;
7072
7525
  path: string | undefined;
@@ -7141,8 +7594,9 @@ export declare const hazeTools: {
7141
7594
  } & {
7142
7595
  execute: import("ai").ToolExecuteFunction<{
7143
7596
  url: string;
7144
- format: "auto" | "text";
7597
+ format: "text" | "auto";
7145
7598
  }, {
7599
+ suggestedPaths?: string[] | undefined;
7146
7600
  ok: boolean;
7147
7601
  toolName: string;
7148
7602
  path: string | undefined;
@@ -7210,12 +7664,12 @@ export declare const hazeTools: {
7210
7664
  metadata?: import("@ai-sdk/provider").JSONObject;
7211
7665
  inputSchema: import("ai").FlexibleSchema<{
7212
7666
  url: string;
7213
- format: "auto" | "text";
7667
+ format: "text" | "auto";
7214
7668
  }>;
7215
7669
  contextSchema?: import("ai").FlexibleSchema<import("./tools/toolContext.js").HazeToolContext> | undefined;
7216
7670
  needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
7217
7671
  url: string;
7218
- format: "auto" | "text";
7672
+ format: "text" | "auto";
7219
7673
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>> | undefined;
7220
7674
  onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContext.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
7221
7675
  onInputDelta?: ((options: {
@@ -7224,16 +7678,17 @@ export declare const hazeTools: {
7224
7678
  onInputAvailable?: ((options: {
7225
7679
  input: {
7226
7680
  url: string;
7227
- format: "auto" | "text";
7681
+ format: "text" | "auto";
7228
7682
  };
7229
7683
  } & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContext.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
7230
7684
  toModelOutput?: ((options: {
7231
7685
  toolCallId: string;
7232
7686
  input: {
7233
7687
  url: string;
7234
- format: "auto" | "text";
7688
+ format: "text" | "auto";
7235
7689
  };
7236
7690
  output: NoInfer<{
7691
+ suggestedPaths?: string[] | undefined;
7237
7692
  ok: boolean;
7238
7693
  toolName: string;
7239
7694
  path: string | undefined;
@@ -7298,6 +7753,7 @@ export declare const hazeTools: {
7298
7753
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
7299
7754
  } & {
7300
7755
  outputSchema?: import("ai").FlexibleSchema<{
7756
+ suggestedPaths?: string[] | undefined;
7301
7757
  ok: boolean;
7302
7758
  toolName: string;
7303
7759
  path: string | undefined;
@@ -7361,8 +7817,9 @@ export declare const hazeTools: {
7361
7817
  }> | undefined;
7362
7818
  execute: import("ai").ToolExecuteFunction<{
7363
7819
  url: string;
7364
- format: "auto" | "text";
7820
+ format: "text" | "auto";
7365
7821
  }, {
7822
+ suggestedPaths?: string[] | undefined;
7366
7823
  ok: boolean;
7367
7824
  toolName: string;
7368
7825
  path: string | undefined;
@@ -7437,8 +7894,9 @@ export declare const hazeTools: {
7437
7894
  } & {
7438
7895
  execute: import("ai").ToolExecuteFunction<{
7439
7896
  url: string;
7440
- format: "auto" | "text";
7897
+ format: "text" | "auto";
7441
7898
  }, {
7899
+ suggestedPaths?: string[] | undefined;
7442
7900
  ok: boolean;
7443
7901
  toolName: string;
7444
7902
  path: string | undefined;
@@ -7508,12 +7966,14 @@ export declare const hazeTools: {
7508
7966
  inputSchema: import("ai").FlexibleSchema<{
7509
7967
  command: string;
7510
7968
  allowMutation: boolean;
7969
+ background: boolean;
7511
7970
  timeoutSeconds?: number | undefined;
7512
7971
  }>;
7513
7972
  contextSchema?: import("ai").FlexibleSchema<import("./tools/toolContext.js").HazeToolContext> | undefined;
7514
7973
  needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
7515
7974
  command: string;
7516
7975
  allowMutation: boolean;
7976
+ background: boolean;
7517
7977
  timeoutSeconds?: number | undefined;
7518
7978
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>> | undefined;
7519
7979
  onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContext.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
@@ -7524,6 +7984,7 @@ export declare const hazeTools: {
7524
7984
  input: {
7525
7985
  command: string;
7526
7986
  allowMutation: boolean;
7987
+ background: boolean;
7527
7988
  timeoutSeconds?: number | undefined;
7528
7989
  };
7529
7990
  } & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContext.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
@@ -7532,6 +7993,7 @@ export declare const hazeTools: {
7532
7993
  input: {
7533
7994
  command: string;
7534
7995
  allowMutation: boolean;
7996
+ background: boolean;
7535
7997
  timeoutSeconds?: number | undefined;
7536
7998
  };
7537
7999
  output: NoInfer<{
@@ -7539,8 +8001,50 @@ export declare const hazeTools: {
7539
8001
  duplicateSkipped: true;
7540
8002
  toolName: string;
7541
8003
  reason: string;
8004
+ } | {
8005
+ ok: boolean;
8006
+ command: string;
8007
+ reasonCode: string;
8008
+ recoverable: boolean;
8009
+ error: string;
8010
+ suggestedNextStep: string;
8011
+ background?: undefined;
8012
+ } | {
8013
+ classification: import("../core/safety/bashClassifier.js").BashClassification;
8014
+ hint: string;
8015
+ backgroundId: string;
8016
+ pid?: number;
8017
+ command: string;
8018
+ cwd: string;
8019
+ startedAt: string;
8020
+ status: import("../core/process/backgroundRegistry.js").BackgroundProcessStatus;
8021
+ code?: number | null;
8022
+ signal?: NodeJS.Signals | null;
8023
+ outputHandle: string;
8024
+ outputBytes: {
8025
+ totalBytes: number;
8026
+ retainedBytes: number;
8027
+ omittedBytes: number;
8028
+ };
8029
+ error?: string;
8030
+ ok: boolean;
8031
+ background: boolean;
8032
+ reasonCode?: undefined;
8033
+ recoverable?: undefined;
8034
+ suggestedNextStep?: undefined;
8035
+ } | {
8036
+ ok: boolean;
8037
+ background: boolean;
8038
+ command: string;
8039
+ reasonCode: string;
8040
+ recoverable: boolean;
8041
+ error: string;
8042
+ suggestedNextStep: string;
7542
8043
  } | {
7543
8044
  error?: string | undefined;
8045
+ missingExecutableStep?: string | undefined;
8046
+ reasonCode?: "missing_executable" | undefined;
8047
+ missingExecutable?: string | undefined;
7544
8048
  ok: boolean;
7545
8049
  code: number | null;
7546
8050
  command: string;
@@ -7554,8 +8058,19 @@ export declare const hazeTools: {
7554
8058
  stdout: import("../core/bashOutput/types.js").StreamReduction;
7555
8059
  stderr: import("../core/bashOutput/types.js").StreamReduction;
7556
8060
  validationSummary: import("./toolResultTypes.js").ValidationSummary | undefined;
7557
- stdoutBytes: import("../core/process/runBoundedProcess.js").BoundedStream;
7558
- stderrBytes: import("../core/process/runBoundedProcess.js").BoundedStream;
8061
+ stdoutBytes: {
8062
+ totalBytes: number;
8063
+ retainedBytes: number;
8064
+ omittedBytes: number;
8065
+ };
8066
+ stderrBytes: {
8067
+ totalBytes: number;
8068
+ retainedBytes: number;
8069
+ omittedBytes: number;
8070
+ };
8071
+ recoverable?: undefined;
8072
+ suggestedNextStep?: undefined;
8073
+ background?: undefined;
7559
8074
  }>;
7560
8075
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
7561
8076
  } & {
@@ -7564,8 +8079,50 @@ export declare const hazeTools: {
7564
8079
  duplicateSkipped: true;
7565
8080
  toolName: string;
7566
8081
  reason: string;
8082
+ } | {
8083
+ ok: boolean;
8084
+ command: string;
8085
+ reasonCode: string;
8086
+ recoverable: boolean;
8087
+ error: string;
8088
+ suggestedNextStep: string;
8089
+ background?: undefined;
8090
+ } | {
8091
+ classification: import("../core/safety/bashClassifier.js").BashClassification;
8092
+ hint: string;
8093
+ backgroundId: string;
8094
+ pid?: number;
8095
+ command: string;
8096
+ cwd: string;
8097
+ startedAt: string;
8098
+ status: import("../core/process/backgroundRegistry.js").BackgroundProcessStatus;
8099
+ code?: number | null;
8100
+ signal?: NodeJS.Signals | null;
8101
+ outputHandle: string;
8102
+ outputBytes: {
8103
+ totalBytes: number;
8104
+ retainedBytes: number;
8105
+ omittedBytes: number;
8106
+ };
8107
+ error?: string;
8108
+ ok: boolean;
8109
+ background: boolean;
8110
+ reasonCode?: undefined;
8111
+ recoverable?: undefined;
8112
+ suggestedNextStep?: undefined;
8113
+ } | {
8114
+ ok: boolean;
8115
+ background: boolean;
8116
+ command: string;
8117
+ reasonCode: string;
8118
+ recoverable: boolean;
8119
+ error: string;
8120
+ suggestedNextStep: string;
7567
8121
  } | {
7568
8122
  error?: string | undefined;
8123
+ missingExecutableStep?: string | undefined;
8124
+ reasonCode?: "missing_executable" | undefined;
8125
+ missingExecutable?: string | undefined;
7569
8126
  ok: boolean;
7570
8127
  code: number | null;
7571
8128
  command: string;
@@ -7579,20 +8136,74 @@ export declare const hazeTools: {
7579
8136
  stdout: import("../core/bashOutput/types.js").StreamReduction;
7580
8137
  stderr: import("../core/bashOutput/types.js").StreamReduction;
7581
8138
  validationSummary: import("./toolResultTypes.js").ValidationSummary | undefined;
7582
- stdoutBytes: import("../core/process/runBoundedProcess.js").BoundedStream;
7583
- stderrBytes: import("../core/process/runBoundedProcess.js").BoundedStream;
8139
+ stdoutBytes: {
8140
+ totalBytes: number;
8141
+ retainedBytes: number;
8142
+ omittedBytes: number;
8143
+ };
8144
+ stderrBytes: {
8145
+ totalBytes: number;
8146
+ retainedBytes: number;
8147
+ omittedBytes: number;
8148
+ };
8149
+ recoverable?: undefined;
8150
+ suggestedNextStep?: undefined;
8151
+ background?: undefined;
7584
8152
  }> | undefined;
7585
8153
  execute: import("ai").ToolExecuteFunction<{
7586
8154
  command: string;
7587
8155
  allowMutation: boolean;
8156
+ background: boolean;
7588
8157
  timeoutSeconds?: number | undefined;
7589
8158
  }, {
7590
8159
  ok: true;
7591
8160
  duplicateSkipped: true;
7592
8161
  toolName: string;
7593
8162
  reason: string;
8163
+ } | {
8164
+ ok: boolean;
8165
+ command: string;
8166
+ reasonCode: string;
8167
+ recoverable: boolean;
8168
+ error: string;
8169
+ suggestedNextStep: string;
8170
+ background?: undefined;
8171
+ } | {
8172
+ classification: import("../core/safety/bashClassifier.js").BashClassification;
8173
+ hint: string;
8174
+ backgroundId: string;
8175
+ pid?: number;
8176
+ command: string;
8177
+ cwd: string;
8178
+ startedAt: string;
8179
+ status: import("../core/process/backgroundRegistry.js").BackgroundProcessStatus;
8180
+ code?: number | null;
8181
+ signal?: NodeJS.Signals | null;
8182
+ outputHandle: string;
8183
+ outputBytes: {
8184
+ totalBytes: number;
8185
+ retainedBytes: number;
8186
+ omittedBytes: number;
8187
+ };
8188
+ error?: string;
8189
+ ok: boolean;
8190
+ background: boolean;
8191
+ reasonCode?: undefined;
8192
+ recoverable?: undefined;
8193
+ suggestedNextStep?: undefined;
8194
+ } | {
8195
+ ok: boolean;
8196
+ background: boolean;
8197
+ command: string;
8198
+ reasonCode: string;
8199
+ recoverable: boolean;
8200
+ error: string;
8201
+ suggestedNextStep: string;
7594
8202
  } | {
7595
8203
  error?: string | undefined;
8204
+ missingExecutableStep?: string | undefined;
8205
+ reasonCode?: "missing_executable" | undefined;
8206
+ missingExecutable?: string | undefined;
7596
8207
  ok: boolean;
7597
8208
  code: number | null;
7598
8209
  command: string;
@@ -7606,8 +8217,19 @@ export declare const hazeTools: {
7606
8217
  stdout: import("../core/bashOutput/types.js").StreamReduction;
7607
8218
  stderr: import("../core/bashOutput/types.js").StreamReduction;
7608
8219
  validationSummary: import("./toolResultTypes.js").ValidationSummary | undefined;
7609
- stdoutBytes: import("../core/process/runBoundedProcess.js").BoundedStream;
7610
- stderrBytes: import("../core/process/runBoundedProcess.js").BoundedStream;
8220
+ stdoutBytes: {
8221
+ totalBytes: number;
8222
+ retainedBytes: number;
8223
+ omittedBytes: number;
8224
+ };
8225
+ stderrBytes: {
8226
+ totalBytes: number;
8227
+ retainedBytes: number;
8228
+ omittedBytes: number;
8229
+ };
8230
+ recoverable?: undefined;
8231
+ suggestedNextStep?: undefined;
8232
+ background?: undefined;
7611
8233
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
7612
8234
  } & {
7613
8235
  description?: string | ((options: {
@@ -7619,6 +8241,7 @@ export declare const hazeTools: {
7619
8241
  input: NoInfer<{
7620
8242
  command: string;
7621
8243
  allowMutation: boolean;
8244
+ background: boolean;
7622
8245
  timeoutSeconds?: number | undefined;
7623
8246
  }>;
7624
8247
  }[] | undefined;
@@ -7632,14 +8255,57 @@ export declare const hazeTools: {
7632
8255
  execute: import("ai").ToolExecuteFunction<{
7633
8256
  command: string;
7634
8257
  allowMutation: boolean;
8258
+ background: boolean;
7635
8259
  timeoutSeconds?: number | undefined;
7636
8260
  }, {
7637
8261
  ok: true;
7638
8262
  duplicateSkipped: true;
7639
8263
  toolName: string;
7640
8264
  reason: string;
8265
+ } | {
8266
+ ok: boolean;
8267
+ command: string;
8268
+ reasonCode: string;
8269
+ recoverable: boolean;
8270
+ error: string;
8271
+ suggestedNextStep: string;
8272
+ background?: undefined;
8273
+ } | {
8274
+ classification: import("../core/safety/bashClassifier.js").BashClassification;
8275
+ hint: string;
8276
+ backgroundId: string;
8277
+ pid?: number;
8278
+ command: string;
8279
+ cwd: string;
8280
+ startedAt: string;
8281
+ status: import("../core/process/backgroundRegistry.js").BackgroundProcessStatus;
8282
+ code?: number | null;
8283
+ signal?: NodeJS.Signals | null;
8284
+ outputHandle: string;
8285
+ outputBytes: {
8286
+ totalBytes: number;
8287
+ retainedBytes: number;
8288
+ omittedBytes: number;
8289
+ };
8290
+ error?: string;
8291
+ ok: boolean;
8292
+ background: boolean;
8293
+ reasonCode?: undefined;
8294
+ recoverable?: undefined;
8295
+ suggestedNextStep?: undefined;
8296
+ } | {
8297
+ ok: boolean;
8298
+ background: boolean;
8299
+ command: string;
8300
+ reasonCode: string;
8301
+ recoverable: boolean;
8302
+ error: string;
8303
+ suggestedNextStep: string;
7641
8304
  } | {
7642
8305
  error?: string | undefined;
8306
+ missingExecutableStep?: string | undefined;
8307
+ reasonCode?: "missing_executable" | undefined;
8308
+ missingExecutable?: string | undefined;
7643
8309
  ok: boolean;
7644
8310
  code: number | null;
7645
8311
  command: string;
@@ -7653,8 +8319,19 @@ export declare const hazeTools: {
7653
8319
  stdout: import("../core/bashOutput/types.js").StreamReduction;
7654
8320
  stderr: import("../core/bashOutput/types.js").StreamReduction;
7655
8321
  validationSummary: import("./toolResultTypes.js").ValidationSummary | undefined;
7656
- stdoutBytes: import("../core/process/runBoundedProcess.js").BoundedStream;
7657
- stderrBytes: import("../core/process/runBoundedProcess.js").BoundedStream;
8322
+ stdoutBytes: {
8323
+ totalBytes: number;
8324
+ retainedBytes: number;
8325
+ omittedBytes: number;
8326
+ };
8327
+ stderrBytes: {
8328
+ totalBytes: number;
8329
+ retainedBytes: number;
8330
+ omittedBytes: number;
8331
+ };
8332
+ recoverable?: undefined;
8333
+ suggestedNextStep?: undefined;
8334
+ background?: undefined;
7658
8335
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
7659
8336
  }) | ({
7660
8337
  title?: string;
@@ -7663,12 +8340,14 @@ export declare const hazeTools: {
7663
8340
  inputSchema: import("ai").FlexibleSchema<{
7664
8341
  command: string;
7665
8342
  allowMutation: boolean;
8343
+ background: boolean;
7666
8344
  timeoutSeconds?: number | undefined;
7667
8345
  }>;
7668
8346
  contextSchema?: import("ai").FlexibleSchema<import("./tools/toolContext.js").HazeToolContext> | undefined;
7669
8347
  needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
7670
8348
  command: string;
7671
8349
  allowMutation: boolean;
8350
+ background: boolean;
7672
8351
  timeoutSeconds?: number | undefined;
7673
8352
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>> | undefined;
7674
8353
  onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContext.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
@@ -7679,6 +8358,7 @@ export declare const hazeTools: {
7679
8358
  input: {
7680
8359
  command: string;
7681
8360
  allowMutation: boolean;
8361
+ background: boolean;
7682
8362
  timeoutSeconds?: number | undefined;
7683
8363
  };
7684
8364
  } & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContext.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
@@ -7687,6 +8367,7 @@ export declare const hazeTools: {
7687
8367
  input: {
7688
8368
  command: string;
7689
8369
  allowMutation: boolean;
8370
+ background: boolean;
7690
8371
  timeoutSeconds?: number | undefined;
7691
8372
  };
7692
8373
  output: NoInfer<{
@@ -7695,23 +8376,76 @@ export declare const hazeTools: {
7695
8376
  toolName: string;
7696
8377
  reason: string;
7697
8378
  } | {
7698
- error?: string | undefined;
7699
8379
  ok: boolean;
7700
- code: number | null;
7701
8380
  command: string;
7702
- cwd: string;
8381
+ reasonCode: string;
8382
+ recoverable: boolean;
8383
+ error: string;
8384
+ suggestedNextStep: string;
8385
+ background?: undefined;
8386
+ } | {
7703
8387
  classification: import("../core/safety/bashClassifier.js").BashClassification;
7704
- durationMs: number;
7705
- timedOut: boolean;
7706
- aborted: boolean;
7707
- signal: NodeJS.Signals | null;
7708
- forcedTermination: boolean;
7709
- stdout: import("../core/bashOutput/types.js").StreamReduction;
7710
- stderr: import("../core/bashOutput/types.js").StreamReduction;
7711
- validationSummary: import("./toolResultTypes.js").ValidationSummary | undefined;
7712
- stdoutBytes: import("../core/process/runBoundedProcess.js").BoundedStream;
7713
- stderrBytes: import("../core/process/runBoundedProcess.js").BoundedStream;
7714
- }>;
8388
+ hint: string;
8389
+ backgroundId: string;
8390
+ pid?: number;
8391
+ command: string;
8392
+ cwd: string;
8393
+ startedAt: string;
8394
+ status: import("../core/process/backgroundRegistry.js").BackgroundProcessStatus;
8395
+ code?: number | null;
8396
+ signal?: NodeJS.Signals | null;
8397
+ outputHandle: string;
8398
+ outputBytes: {
8399
+ totalBytes: number;
8400
+ retainedBytes: number;
8401
+ omittedBytes: number;
8402
+ };
8403
+ error?: string;
8404
+ ok: boolean;
8405
+ background: boolean;
8406
+ reasonCode?: undefined;
8407
+ recoverable?: undefined;
8408
+ suggestedNextStep?: undefined;
8409
+ } | {
8410
+ ok: boolean;
8411
+ background: boolean;
8412
+ command: string;
8413
+ reasonCode: string;
8414
+ recoverable: boolean;
8415
+ error: string;
8416
+ suggestedNextStep: string;
8417
+ } | {
8418
+ error?: string | undefined;
8419
+ missingExecutableStep?: string | undefined;
8420
+ reasonCode?: "missing_executable" | undefined;
8421
+ missingExecutable?: string | undefined;
8422
+ ok: boolean;
8423
+ code: number | null;
8424
+ command: string;
8425
+ cwd: string;
8426
+ classification: import("../core/safety/bashClassifier.js").BashClassification;
8427
+ durationMs: number;
8428
+ timedOut: boolean;
8429
+ aborted: boolean;
8430
+ signal: NodeJS.Signals | null;
8431
+ forcedTermination: boolean;
8432
+ stdout: import("../core/bashOutput/types.js").StreamReduction;
8433
+ stderr: import("../core/bashOutput/types.js").StreamReduction;
8434
+ validationSummary: import("./toolResultTypes.js").ValidationSummary | undefined;
8435
+ stdoutBytes: {
8436
+ totalBytes: number;
8437
+ retainedBytes: number;
8438
+ omittedBytes: number;
8439
+ };
8440
+ stderrBytes: {
8441
+ totalBytes: number;
8442
+ retainedBytes: number;
8443
+ omittedBytes: number;
8444
+ };
8445
+ recoverable?: undefined;
8446
+ suggestedNextStep?: undefined;
8447
+ background?: undefined;
8448
+ }>;
7715
8449
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
7716
8450
  } & {
7717
8451
  outputSchema?: import("ai").FlexibleSchema<{
@@ -7719,8 +8453,50 @@ export declare const hazeTools: {
7719
8453
  duplicateSkipped: true;
7720
8454
  toolName: string;
7721
8455
  reason: string;
8456
+ } | {
8457
+ ok: boolean;
8458
+ command: string;
8459
+ reasonCode: string;
8460
+ recoverable: boolean;
8461
+ error: string;
8462
+ suggestedNextStep: string;
8463
+ background?: undefined;
8464
+ } | {
8465
+ classification: import("../core/safety/bashClassifier.js").BashClassification;
8466
+ hint: string;
8467
+ backgroundId: string;
8468
+ pid?: number;
8469
+ command: string;
8470
+ cwd: string;
8471
+ startedAt: string;
8472
+ status: import("../core/process/backgroundRegistry.js").BackgroundProcessStatus;
8473
+ code?: number | null;
8474
+ signal?: NodeJS.Signals | null;
8475
+ outputHandle: string;
8476
+ outputBytes: {
8477
+ totalBytes: number;
8478
+ retainedBytes: number;
8479
+ omittedBytes: number;
8480
+ };
8481
+ error?: string;
8482
+ ok: boolean;
8483
+ background: boolean;
8484
+ reasonCode?: undefined;
8485
+ recoverable?: undefined;
8486
+ suggestedNextStep?: undefined;
8487
+ } | {
8488
+ ok: boolean;
8489
+ background: boolean;
8490
+ command: string;
8491
+ reasonCode: string;
8492
+ recoverable: boolean;
8493
+ error: string;
8494
+ suggestedNextStep: string;
7722
8495
  } | {
7723
8496
  error?: string | undefined;
8497
+ missingExecutableStep?: string | undefined;
8498
+ reasonCode?: "missing_executable" | undefined;
8499
+ missingExecutable?: string | undefined;
7724
8500
  ok: boolean;
7725
8501
  code: number | null;
7726
8502
  command: string;
@@ -7734,20 +8510,74 @@ export declare const hazeTools: {
7734
8510
  stdout: import("../core/bashOutput/types.js").StreamReduction;
7735
8511
  stderr: import("../core/bashOutput/types.js").StreamReduction;
7736
8512
  validationSummary: import("./toolResultTypes.js").ValidationSummary | undefined;
7737
- stdoutBytes: import("../core/process/runBoundedProcess.js").BoundedStream;
7738
- stderrBytes: import("../core/process/runBoundedProcess.js").BoundedStream;
8513
+ stdoutBytes: {
8514
+ totalBytes: number;
8515
+ retainedBytes: number;
8516
+ omittedBytes: number;
8517
+ };
8518
+ stderrBytes: {
8519
+ totalBytes: number;
8520
+ retainedBytes: number;
8521
+ omittedBytes: number;
8522
+ };
8523
+ recoverable?: undefined;
8524
+ suggestedNextStep?: undefined;
8525
+ background?: undefined;
7739
8526
  }> | undefined;
7740
8527
  execute: import("ai").ToolExecuteFunction<{
7741
8528
  command: string;
7742
8529
  allowMutation: boolean;
8530
+ background: boolean;
7743
8531
  timeoutSeconds?: number | undefined;
7744
8532
  }, {
7745
8533
  ok: true;
7746
8534
  duplicateSkipped: true;
7747
8535
  toolName: string;
7748
8536
  reason: string;
8537
+ } | {
8538
+ ok: boolean;
8539
+ command: string;
8540
+ reasonCode: string;
8541
+ recoverable: boolean;
8542
+ error: string;
8543
+ suggestedNextStep: string;
8544
+ background?: undefined;
8545
+ } | {
8546
+ classification: import("../core/safety/bashClassifier.js").BashClassification;
8547
+ hint: string;
8548
+ backgroundId: string;
8549
+ pid?: number;
8550
+ command: string;
8551
+ cwd: string;
8552
+ startedAt: string;
8553
+ status: import("../core/process/backgroundRegistry.js").BackgroundProcessStatus;
8554
+ code?: number | null;
8555
+ signal?: NodeJS.Signals | null;
8556
+ outputHandle: string;
8557
+ outputBytes: {
8558
+ totalBytes: number;
8559
+ retainedBytes: number;
8560
+ omittedBytes: number;
8561
+ };
8562
+ error?: string;
8563
+ ok: boolean;
8564
+ background: boolean;
8565
+ reasonCode?: undefined;
8566
+ recoverable?: undefined;
8567
+ suggestedNextStep?: undefined;
8568
+ } | {
8569
+ ok: boolean;
8570
+ background: boolean;
8571
+ command: string;
8572
+ reasonCode: string;
8573
+ recoverable: boolean;
8574
+ error: string;
8575
+ suggestedNextStep: string;
7749
8576
  } | {
7750
8577
  error?: string | undefined;
8578
+ missingExecutableStep?: string | undefined;
8579
+ reasonCode?: "missing_executable" | undefined;
8580
+ missingExecutable?: string | undefined;
7751
8581
  ok: boolean;
7752
8582
  code: number | null;
7753
8583
  command: string;
@@ -7761,8 +8591,19 @@ export declare const hazeTools: {
7761
8591
  stdout: import("../core/bashOutput/types.js").StreamReduction;
7762
8592
  stderr: import("../core/bashOutput/types.js").StreamReduction;
7763
8593
  validationSummary: import("./toolResultTypes.js").ValidationSummary | undefined;
7764
- stdoutBytes: import("../core/process/runBoundedProcess.js").BoundedStream;
7765
- stderrBytes: import("../core/process/runBoundedProcess.js").BoundedStream;
8594
+ stdoutBytes: {
8595
+ totalBytes: number;
8596
+ retainedBytes: number;
8597
+ omittedBytes: number;
8598
+ };
8599
+ stderrBytes: {
8600
+ totalBytes: number;
8601
+ retainedBytes: number;
8602
+ omittedBytes: number;
8603
+ };
8604
+ recoverable?: undefined;
8605
+ suggestedNextStep?: undefined;
8606
+ background?: undefined;
7766
8607
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
7767
8608
  } & {
7768
8609
  description?: string | ((options: {
@@ -7774,6 +8615,7 @@ export declare const hazeTools: {
7774
8615
  input: NoInfer<{
7775
8616
  command: string;
7776
8617
  allowMutation: boolean;
8618
+ background: boolean;
7777
8619
  timeoutSeconds?: number | undefined;
7778
8620
  }>;
7779
8621
  }[] | undefined;
@@ -7787,14 +8629,57 @@ export declare const hazeTools: {
7787
8629
  execute: import("ai").ToolExecuteFunction<{
7788
8630
  command: string;
7789
8631
  allowMutation: boolean;
8632
+ background: boolean;
7790
8633
  timeoutSeconds?: number | undefined;
7791
8634
  }, {
7792
8635
  ok: true;
7793
8636
  duplicateSkipped: true;
7794
8637
  toolName: string;
7795
8638
  reason: string;
8639
+ } | {
8640
+ ok: boolean;
8641
+ command: string;
8642
+ reasonCode: string;
8643
+ recoverable: boolean;
8644
+ error: string;
8645
+ suggestedNextStep: string;
8646
+ background?: undefined;
8647
+ } | {
8648
+ classification: import("../core/safety/bashClassifier.js").BashClassification;
8649
+ hint: string;
8650
+ backgroundId: string;
8651
+ pid?: number;
8652
+ command: string;
8653
+ cwd: string;
8654
+ startedAt: string;
8655
+ status: import("../core/process/backgroundRegistry.js").BackgroundProcessStatus;
8656
+ code?: number | null;
8657
+ signal?: NodeJS.Signals | null;
8658
+ outputHandle: string;
8659
+ outputBytes: {
8660
+ totalBytes: number;
8661
+ retainedBytes: number;
8662
+ omittedBytes: number;
8663
+ };
8664
+ error?: string;
8665
+ ok: boolean;
8666
+ background: boolean;
8667
+ reasonCode?: undefined;
8668
+ recoverable?: undefined;
8669
+ suggestedNextStep?: undefined;
8670
+ } | {
8671
+ ok: boolean;
8672
+ background: boolean;
8673
+ command: string;
8674
+ reasonCode: string;
8675
+ recoverable: boolean;
8676
+ error: string;
8677
+ suggestedNextStep: string;
7796
8678
  } | {
7797
8679
  error?: string | undefined;
8680
+ missingExecutableStep?: string | undefined;
8681
+ reasonCode?: "missing_executable" | undefined;
8682
+ missingExecutable?: string | undefined;
7798
8683
  ok: boolean;
7799
8684
  code: number | null;
7800
8685
  command: string;
@@ -7808,8 +8693,19 @@ export declare const hazeTools: {
7808
8693
  stdout: import("../core/bashOutput/types.js").StreamReduction;
7809
8694
  stderr: import("../core/bashOutput/types.js").StreamReduction;
7810
8695
  validationSummary: import("./toolResultTypes.js").ValidationSummary | undefined;
7811
- stdoutBytes: import("../core/process/runBoundedProcess.js").BoundedStream;
7812
- stderrBytes: import("../core/process/runBoundedProcess.js").BoundedStream;
8696
+ stdoutBytes: {
8697
+ totalBytes: number;
8698
+ retainedBytes: number;
8699
+ omittedBytes: number;
8700
+ };
8701
+ stderrBytes: {
8702
+ totalBytes: number;
8703
+ retainedBytes: number;
8704
+ omittedBytes: number;
8705
+ };
8706
+ recoverable?: undefined;
8707
+ suggestedNextStep?: undefined;
8708
+ background?: undefined;
7813
8709
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
7814
8710
  }) | ({
7815
8711
  title?: string;
@@ -7818,12 +8714,14 @@ export declare const hazeTools: {
7818
8714
  inputSchema: import("ai").FlexibleSchema<{
7819
8715
  command: string;
7820
8716
  allowMutation: boolean;
8717
+ background: boolean;
7821
8718
  timeoutSeconds?: number | undefined;
7822
8719
  }>;
7823
8720
  contextSchema?: import("ai").FlexibleSchema<import("./tools/toolContext.js").HazeToolContext> | undefined;
7824
8721
  needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
7825
8722
  command: string;
7826
8723
  allowMutation: boolean;
8724
+ background: boolean;
7827
8725
  timeoutSeconds?: number | undefined;
7828
8726
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>> | undefined;
7829
8727
  onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContext.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
@@ -7834,6 +8732,7 @@ export declare const hazeTools: {
7834
8732
  input: {
7835
8733
  command: string;
7836
8734
  allowMutation: boolean;
8735
+ background: boolean;
7837
8736
  timeoutSeconds?: number | undefined;
7838
8737
  };
7839
8738
  } & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContext.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
@@ -7842,6 +8741,7 @@ export declare const hazeTools: {
7842
8741
  input: {
7843
8742
  command: string;
7844
8743
  allowMutation: boolean;
8744
+ background: boolean;
7845
8745
  timeoutSeconds?: number | undefined;
7846
8746
  };
7847
8747
  output: NoInfer<{
@@ -7849,8 +8749,50 @@ export declare const hazeTools: {
7849
8749
  duplicateSkipped: true;
7850
8750
  toolName: string;
7851
8751
  reason: string;
8752
+ } | {
8753
+ ok: boolean;
8754
+ command: string;
8755
+ reasonCode: string;
8756
+ recoverable: boolean;
8757
+ error: string;
8758
+ suggestedNextStep: string;
8759
+ background?: undefined;
8760
+ } | {
8761
+ classification: import("../core/safety/bashClassifier.js").BashClassification;
8762
+ hint: string;
8763
+ backgroundId: string;
8764
+ pid?: number;
8765
+ command: string;
8766
+ cwd: string;
8767
+ startedAt: string;
8768
+ status: import("../core/process/backgroundRegistry.js").BackgroundProcessStatus;
8769
+ code?: number | null;
8770
+ signal?: NodeJS.Signals | null;
8771
+ outputHandle: string;
8772
+ outputBytes: {
8773
+ totalBytes: number;
8774
+ retainedBytes: number;
8775
+ omittedBytes: number;
8776
+ };
8777
+ error?: string;
8778
+ ok: boolean;
8779
+ background: boolean;
8780
+ reasonCode?: undefined;
8781
+ recoverable?: undefined;
8782
+ suggestedNextStep?: undefined;
8783
+ } | {
8784
+ ok: boolean;
8785
+ background: boolean;
8786
+ command: string;
8787
+ reasonCode: string;
8788
+ recoverable: boolean;
8789
+ error: string;
8790
+ suggestedNextStep: string;
7852
8791
  } | {
7853
8792
  error?: string | undefined;
8793
+ missingExecutableStep?: string | undefined;
8794
+ reasonCode?: "missing_executable" | undefined;
8795
+ missingExecutable?: string | undefined;
7854
8796
  ok: boolean;
7855
8797
  code: number | null;
7856
8798
  command: string;
@@ -7864,8 +8806,19 @@ export declare const hazeTools: {
7864
8806
  stdout: import("../core/bashOutput/types.js").StreamReduction;
7865
8807
  stderr: import("../core/bashOutput/types.js").StreamReduction;
7866
8808
  validationSummary: import("./toolResultTypes.js").ValidationSummary | undefined;
7867
- stdoutBytes: import("../core/process/runBoundedProcess.js").BoundedStream;
7868
- stderrBytes: import("../core/process/runBoundedProcess.js").BoundedStream;
8809
+ stdoutBytes: {
8810
+ totalBytes: number;
8811
+ retainedBytes: number;
8812
+ omittedBytes: number;
8813
+ };
8814
+ stderrBytes: {
8815
+ totalBytes: number;
8816
+ retainedBytes: number;
8817
+ omittedBytes: number;
8818
+ };
8819
+ recoverable?: undefined;
8820
+ suggestedNextStep?: undefined;
8821
+ background?: undefined;
7869
8822
  }>;
7870
8823
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
7871
8824
  } & {
@@ -7874,8 +8827,50 @@ export declare const hazeTools: {
7874
8827
  duplicateSkipped: true;
7875
8828
  toolName: string;
7876
8829
  reason: string;
8830
+ } | {
8831
+ ok: boolean;
8832
+ command: string;
8833
+ reasonCode: string;
8834
+ recoverable: boolean;
8835
+ error: string;
8836
+ suggestedNextStep: string;
8837
+ background?: undefined;
8838
+ } | {
8839
+ classification: import("../core/safety/bashClassifier.js").BashClassification;
8840
+ hint: string;
8841
+ backgroundId: string;
8842
+ pid?: number;
8843
+ command: string;
8844
+ cwd: string;
8845
+ startedAt: string;
8846
+ status: import("../core/process/backgroundRegistry.js").BackgroundProcessStatus;
8847
+ code?: number | null;
8848
+ signal?: NodeJS.Signals | null;
8849
+ outputHandle: string;
8850
+ outputBytes: {
8851
+ totalBytes: number;
8852
+ retainedBytes: number;
8853
+ omittedBytes: number;
8854
+ };
8855
+ error?: string;
8856
+ ok: boolean;
8857
+ background: boolean;
8858
+ reasonCode?: undefined;
8859
+ recoverable?: undefined;
8860
+ suggestedNextStep?: undefined;
8861
+ } | {
8862
+ ok: boolean;
8863
+ background: boolean;
8864
+ command: string;
8865
+ reasonCode: string;
8866
+ recoverable: boolean;
8867
+ error: string;
8868
+ suggestedNextStep: string;
7877
8869
  } | {
7878
8870
  error?: string | undefined;
8871
+ missingExecutableStep?: string | undefined;
8872
+ reasonCode?: "missing_executable" | undefined;
8873
+ missingExecutable?: string | undefined;
7879
8874
  ok: boolean;
7880
8875
  code: number | null;
7881
8876
  command: string;
@@ -7889,20 +8884,74 @@ export declare const hazeTools: {
7889
8884
  stdout: import("../core/bashOutput/types.js").StreamReduction;
7890
8885
  stderr: import("../core/bashOutput/types.js").StreamReduction;
7891
8886
  validationSummary: import("./toolResultTypes.js").ValidationSummary | undefined;
7892
- stdoutBytes: import("../core/process/runBoundedProcess.js").BoundedStream;
7893
- stderrBytes: import("../core/process/runBoundedProcess.js").BoundedStream;
8887
+ stdoutBytes: {
8888
+ totalBytes: number;
8889
+ retainedBytes: number;
8890
+ omittedBytes: number;
8891
+ };
8892
+ stderrBytes: {
8893
+ totalBytes: number;
8894
+ retainedBytes: number;
8895
+ omittedBytes: number;
8896
+ };
8897
+ recoverable?: undefined;
8898
+ suggestedNextStep?: undefined;
8899
+ background?: undefined;
7894
8900
  }> | undefined;
7895
8901
  execute: import("ai").ToolExecuteFunction<{
7896
8902
  command: string;
7897
8903
  allowMutation: boolean;
8904
+ background: boolean;
7898
8905
  timeoutSeconds?: number | undefined;
7899
8906
  }, {
7900
8907
  ok: true;
7901
8908
  duplicateSkipped: true;
7902
8909
  toolName: string;
7903
8910
  reason: string;
8911
+ } | {
8912
+ ok: boolean;
8913
+ command: string;
8914
+ reasonCode: string;
8915
+ recoverable: boolean;
8916
+ error: string;
8917
+ suggestedNextStep: string;
8918
+ background?: undefined;
8919
+ } | {
8920
+ classification: import("../core/safety/bashClassifier.js").BashClassification;
8921
+ hint: string;
8922
+ backgroundId: string;
8923
+ pid?: number;
8924
+ command: string;
8925
+ cwd: string;
8926
+ startedAt: string;
8927
+ status: import("../core/process/backgroundRegistry.js").BackgroundProcessStatus;
8928
+ code?: number | null;
8929
+ signal?: NodeJS.Signals | null;
8930
+ outputHandle: string;
8931
+ outputBytes: {
8932
+ totalBytes: number;
8933
+ retainedBytes: number;
8934
+ omittedBytes: number;
8935
+ };
8936
+ error?: string;
8937
+ ok: boolean;
8938
+ background: boolean;
8939
+ reasonCode?: undefined;
8940
+ recoverable?: undefined;
8941
+ suggestedNextStep?: undefined;
8942
+ } | {
8943
+ ok: boolean;
8944
+ background: boolean;
8945
+ command: string;
8946
+ reasonCode: string;
8947
+ recoverable: boolean;
8948
+ error: string;
8949
+ suggestedNextStep: string;
7904
8950
  } | {
7905
8951
  error?: string | undefined;
8952
+ missingExecutableStep?: string | undefined;
8953
+ reasonCode?: "missing_executable" | undefined;
8954
+ missingExecutable?: string | undefined;
7906
8955
  ok: boolean;
7907
8956
  code: number | null;
7908
8957
  command: string;
@@ -7916,8 +8965,19 @@ export declare const hazeTools: {
7916
8965
  stdout: import("../core/bashOutput/types.js").StreamReduction;
7917
8966
  stderr: import("../core/bashOutput/types.js").StreamReduction;
7918
8967
  validationSummary: import("./toolResultTypes.js").ValidationSummary | undefined;
7919
- stdoutBytes: import("../core/process/runBoundedProcess.js").BoundedStream;
7920
- stderrBytes: import("../core/process/runBoundedProcess.js").BoundedStream;
8968
+ stdoutBytes: {
8969
+ totalBytes: number;
8970
+ retainedBytes: number;
8971
+ omittedBytes: number;
8972
+ };
8973
+ stderrBytes: {
8974
+ totalBytes: number;
8975
+ retainedBytes: number;
8976
+ omittedBytes: number;
8977
+ };
8978
+ recoverable?: undefined;
8979
+ suggestedNextStep?: undefined;
8980
+ background?: undefined;
7921
8981
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
7922
8982
  } & {
7923
8983
  type: "provider";
@@ -7933,14 +8993,57 @@ export declare const hazeTools: {
7933
8993
  execute: import("ai").ToolExecuteFunction<{
7934
8994
  command: string;
7935
8995
  allowMutation: boolean;
8996
+ background: boolean;
7936
8997
  timeoutSeconds?: number | undefined;
7937
8998
  }, {
7938
8999
  ok: true;
7939
9000
  duplicateSkipped: true;
7940
9001
  toolName: string;
7941
9002
  reason: string;
9003
+ } | {
9004
+ ok: boolean;
9005
+ command: string;
9006
+ reasonCode: string;
9007
+ recoverable: boolean;
9008
+ error: string;
9009
+ suggestedNextStep: string;
9010
+ background?: undefined;
9011
+ } | {
9012
+ classification: import("../core/safety/bashClassifier.js").BashClassification;
9013
+ hint: string;
9014
+ backgroundId: string;
9015
+ pid?: number;
9016
+ command: string;
9017
+ cwd: string;
9018
+ startedAt: string;
9019
+ status: import("../core/process/backgroundRegistry.js").BackgroundProcessStatus;
9020
+ code?: number | null;
9021
+ signal?: NodeJS.Signals | null;
9022
+ outputHandle: string;
9023
+ outputBytes: {
9024
+ totalBytes: number;
9025
+ retainedBytes: number;
9026
+ omittedBytes: number;
9027
+ };
9028
+ error?: string;
9029
+ ok: boolean;
9030
+ background: boolean;
9031
+ reasonCode?: undefined;
9032
+ recoverable?: undefined;
9033
+ suggestedNextStep?: undefined;
9034
+ } | {
9035
+ ok: boolean;
9036
+ background: boolean;
9037
+ command: string;
9038
+ reasonCode: string;
9039
+ recoverable: boolean;
9040
+ error: string;
9041
+ suggestedNextStep: string;
7942
9042
  } | {
7943
9043
  error?: string | undefined;
9044
+ missingExecutableStep?: string | undefined;
9045
+ reasonCode?: "missing_executable" | undefined;
9046
+ missingExecutable?: string | undefined;
7944
9047
  ok: boolean;
7945
9048
  code: number | null;
7946
9049
  command: string;
@@ -7954,8 +9057,19 @@ export declare const hazeTools: {
7954
9057
  stdout: import("../core/bashOutput/types.js").StreamReduction;
7955
9058
  stderr: import("../core/bashOutput/types.js").StreamReduction;
7956
9059
  validationSummary: import("./toolResultTypes.js").ValidationSummary | undefined;
7957
- stdoutBytes: import("../core/process/runBoundedProcess.js").BoundedStream;
7958
- stderrBytes: import("../core/process/runBoundedProcess.js").BoundedStream;
9060
+ stdoutBytes: {
9061
+ totalBytes: number;
9062
+ retainedBytes: number;
9063
+ omittedBytes: number;
9064
+ };
9065
+ stderrBytes: {
9066
+ totalBytes: number;
9067
+ retainedBytes: number;
9068
+ omittedBytes: number;
9069
+ };
9070
+ recoverable?: undefined;
9071
+ suggestedNextStep?: undefined;
9072
+ background?: undefined;
7959
9073
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
7960
9074
  }) | ({
7961
9075
  title?: string;
@@ -7964,12 +9078,14 @@ export declare const hazeTools: {
7964
9078
  inputSchema: import("ai").FlexibleSchema<{
7965
9079
  command: string;
7966
9080
  allowMutation: boolean;
9081
+ background: boolean;
7967
9082
  timeoutSeconds?: number | undefined;
7968
9083
  }>;
7969
9084
  contextSchema?: import("ai").FlexibleSchema<import("./tools/toolContext.js").HazeToolContext> | undefined;
7970
9085
  needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
7971
9086
  command: string;
7972
9087
  allowMutation: boolean;
9088
+ background: boolean;
7973
9089
  timeoutSeconds?: number | undefined;
7974
9090
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>> | undefined;
7975
9091
  onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContext.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
@@ -7980,6 +9096,7 @@ export declare const hazeTools: {
7980
9096
  input: {
7981
9097
  command: string;
7982
9098
  allowMutation: boolean;
9099
+ background: boolean;
7983
9100
  timeoutSeconds?: number | undefined;
7984
9101
  };
7985
9102
  } & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContext.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
@@ -7988,6 +9105,7 @@ export declare const hazeTools: {
7988
9105
  input: {
7989
9106
  command: string;
7990
9107
  allowMutation: boolean;
9108
+ background: boolean;
7991
9109
  timeoutSeconds?: number | undefined;
7992
9110
  };
7993
9111
  output: NoInfer<{
@@ -7995,8 +9113,50 @@ export declare const hazeTools: {
7995
9113
  duplicateSkipped: true;
7996
9114
  toolName: string;
7997
9115
  reason: string;
9116
+ } | {
9117
+ ok: boolean;
9118
+ command: string;
9119
+ reasonCode: string;
9120
+ recoverable: boolean;
9121
+ error: string;
9122
+ suggestedNextStep: string;
9123
+ background?: undefined;
9124
+ } | {
9125
+ classification: import("../core/safety/bashClassifier.js").BashClassification;
9126
+ hint: string;
9127
+ backgroundId: string;
9128
+ pid?: number;
9129
+ command: string;
9130
+ cwd: string;
9131
+ startedAt: string;
9132
+ status: import("../core/process/backgroundRegistry.js").BackgroundProcessStatus;
9133
+ code?: number | null;
9134
+ signal?: NodeJS.Signals | null;
9135
+ outputHandle: string;
9136
+ outputBytes: {
9137
+ totalBytes: number;
9138
+ retainedBytes: number;
9139
+ omittedBytes: number;
9140
+ };
9141
+ error?: string;
9142
+ ok: boolean;
9143
+ background: boolean;
9144
+ reasonCode?: undefined;
9145
+ recoverable?: undefined;
9146
+ suggestedNextStep?: undefined;
9147
+ } | {
9148
+ ok: boolean;
9149
+ background: boolean;
9150
+ command: string;
9151
+ reasonCode: string;
9152
+ recoverable: boolean;
9153
+ error: string;
9154
+ suggestedNextStep: string;
7998
9155
  } | {
7999
9156
  error?: string | undefined;
9157
+ missingExecutableStep?: string | undefined;
9158
+ reasonCode?: "missing_executable" | undefined;
9159
+ missingExecutable?: string | undefined;
8000
9160
  ok: boolean;
8001
9161
  code: number | null;
8002
9162
  command: string;
@@ -8010,8 +9170,19 @@ export declare const hazeTools: {
8010
9170
  stdout: import("../core/bashOutput/types.js").StreamReduction;
8011
9171
  stderr: import("../core/bashOutput/types.js").StreamReduction;
8012
9172
  validationSummary: import("./toolResultTypes.js").ValidationSummary | undefined;
8013
- stdoutBytes: import("../core/process/runBoundedProcess.js").BoundedStream;
8014
- stderrBytes: import("../core/process/runBoundedProcess.js").BoundedStream;
9173
+ stdoutBytes: {
9174
+ totalBytes: number;
9175
+ retainedBytes: number;
9176
+ omittedBytes: number;
9177
+ };
9178
+ stderrBytes: {
9179
+ totalBytes: number;
9180
+ retainedBytes: number;
9181
+ omittedBytes: number;
9182
+ };
9183
+ recoverable?: undefined;
9184
+ suggestedNextStep?: undefined;
9185
+ background?: undefined;
8015
9186
  }>;
8016
9187
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
8017
9188
  } & {
@@ -8020,8 +9191,50 @@ export declare const hazeTools: {
8020
9191
  duplicateSkipped: true;
8021
9192
  toolName: string;
8022
9193
  reason: string;
9194
+ } | {
9195
+ ok: boolean;
9196
+ command: string;
9197
+ reasonCode: string;
9198
+ recoverable: boolean;
9199
+ error: string;
9200
+ suggestedNextStep: string;
9201
+ background?: undefined;
9202
+ } | {
9203
+ classification: import("../core/safety/bashClassifier.js").BashClassification;
9204
+ hint: string;
9205
+ backgroundId: string;
9206
+ pid?: number;
9207
+ command: string;
9208
+ cwd: string;
9209
+ startedAt: string;
9210
+ status: import("../core/process/backgroundRegistry.js").BackgroundProcessStatus;
9211
+ code?: number | null;
9212
+ signal?: NodeJS.Signals | null;
9213
+ outputHandle: string;
9214
+ outputBytes: {
9215
+ totalBytes: number;
9216
+ retainedBytes: number;
9217
+ omittedBytes: number;
9218
+ };
9219
+ error?: string;
9220
+ ok: boolean;
9221
+ background: boolean;
9222
+ reasonCode?: undefined;
9223
+ recoverable?: undefined;
9224
+ suggestedNextStep?: undefined;
9225
+ } | {
9226
+ ok: boolean;
9227
+ background: boolean;
9228
+ command: string;
9229
+ reasonCode: string;
9230
+ recoverable: boolean;
9231
+ error: string;
9232
+ suggestedNextStep: string;
8023
9233
  } | {
8024
9234
  error?: string | undefined;
9235
+ missingExecutableStep?: string | undefined;
9236
+ reasonCode?: "missing_executable" | undefined;
9237
+ missingExecutable?: string | undefined;
8025
9238
  ok: boolean;
8026
9239
  code: number | null;
8027
9240
  command: string;
@@ -8035,20 +9248,74 @@ export declare const hazeTools: {
8035
9248
  stdout: import("../core/bashOutput/types.js").StreamReduction;
8036
9249
  stderr: import("../core/bashOutput/types.js").StreamReduction;
8037
9250
  validationSummary: import("./toolResultTypes.js").ValidationSummary | undefined;
8038
- stdoutBytes: import("../core/process/runBoundedProcess.js").BoundedStream;
8039
- stderrBytes: import("../core/process/runBoundedProcess.js").BoundedStream;
9251
+ stdoutBytes: {
9252
+ totalBytes: number;
9253
+ retainedBytes: number;
9254
+ omittedBytes: number;
9255
+ };
9256
+ stderrBytes: {
9257
+ totalBytes: number;
9258
+ retainedBytes: number;
9259
+ omittedBytes: number;
9260
+ };
9261
+ recoverable?: undefined;
9262
+ suggestedNextStep?: undefined;
9263
+ background?: undefined;
8040
9264
  }> | undefined;
8041
9265
  execute: import("ai").ToolExecuteFunction<{
8042
9266
  command: string;
8043
9267
  allowMutation: boolean;
9268
+ background: boolean;
8044
9269
  timeoutSeconds?: number | undefined;
8045
9270
  }, {
8046
9271
  ok: true;
8047
9272
  duplicateSkipped: true;
8048
9273
  toolName: string;
8049
9274
  reason: string;
9275
+ } | {
9276
+ ok: boolean;
9277
+ command: string;
9278
+ reasonCode: string;
9279
+ recoverable: boolean;
9280
+ error: string;
9281
+ suggestedNextStep: string;
9282
+ background?: undefined;
9283
+ } | {
9284
+ classification: import("../core/safety/bashClassifier.js").BashClassification;
9285
+ hint: string;
9286
+ backgroundId: string;
9287
+ pid?: number;
9288
+ command: string;
9289
+ cwd: string;
9290
+ startedAt: string;
9291
+ status: import("../core/process/backgroundRegistry.js").BackgroundProcessStatus;
9292
+ code?: number | null;
9293
+ signal?: NodeJS.Signals | null;
9294
+ outputHandle: string;
9295
+ outputBytes: {
9296
+ totalBytes: number;
9297
+ retainedBytes: number;
9298
+ omittedBytes: number;
9299
+ };
9300
+ error?: string;
9301
+ ok: boolean;
9302
+ background: boolean;
9303
+ reasonCode?: undefined;
9304
+ recoverable?: undefined;
9305
+ suggestedNextStep?: undefined;
9306
+ } | {
9307
+ ok: boolean;
9308
+ background: boolean;
9309
+ command: string;
9310
+ reasonCode: string;
9311
+ recoverable: boolean;
9312
+ error: string;
9313
+ suggestedNextStep: string;
8050
9314
  } | {
8051
9315
  error?: string | undefined;
9316
+ missingExecutableStep?: string | undefined;
9317
+ reasonCode?: "missing_executable" | undefined;
9318
+ missingExecutable?: string | undefined;
8052
9319
  ok: boolean;
8053
9320
  code: number | null;
8054
9321
  command: string;
@@ -8062,8 +9329,19 @@ export declare const hazeTools: {
8062
9329
  stdout: import("../core/bashOutput/types.js").StreamReduction;
8063
9330
  stderr: import("../core/bashOutput/types.js").StreamReduction;
8064
9331
  validationSummary: import("./toolResultTypes.js").ValidationSummary | undefined;
8065
- stdoutBytes: import("../core/process/runBoundedProcess.js").BoundedStream;
8066
- stderrBytes: import("../core/process/runBoundedProcess.js").BoundedStream;
9332
+ stdoutBytes: {
9333
+ totalBytes: number;
9334
+ retainedBytes: number;
9335
+ omittedBytes: number;
9336
+ };
9337
+ stderrBytes: {
9338
+ totalBytes: number;
9339
+ retainedBytes: number;
9340
+ omittedBytes: number;
9341
+ };
9342
+ recoverable?: undefined;
9343
+ suggestedNextStep?: undefined;
9344
+ background?: undefined;
8067
9345
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
8068
9346
  } & {
8069
9347
  type: "provider";
@@ -8079,14 +9357,57 @@ export declare const hazeTools: {
8079
9357
  execute: import("ai").ToolExecuteFunction<{
8080
9358
  command: string;
8081
9359
  allowMutation: boolean;
9360
+ background: boolean;
8082
9361
  timeoutSeconds?: number | undefined;
8083
9362
  }, {
8084
9363
  ok: true;
8085
9364
  duplicateSkipped: true;
8086
9365
  toolName: string;
8087
9366
  reason: string;
9367
+ } | {
9368
+ ok: boolean;
9369
+ command: string;
9370
+ reasonCode: string;
9371
+ recoverable: boolean;
9372
+ error: string;
9373
+ suggestedNextStep: string;
9374
+ background?: undefined;
9375
+ } | {
9376
+ classification: import("../core/safety/bashClassifier.js").BashClassification;
9377
+ hint: string;
9378
+ backgroundId: string;
9379
+ pid?: number;
9380
+ command: string;
9381
+ cwd: string;
9382
+ startedAt: string;
9383
+ status: import("../core/process/backgroundRegistry.js").BackgroundProcessStatus;
9384
+ code?: number | null;
9385
+ signal?: NodeJS.Signals | null;
9386
+ outputHandle: string;
9387
+ outputBytes: {
9388
+ totalBytes: number;
9389
+ retainedBytes: number;
9390
+ omittedBytes: number;
9391
+ };
9392
+ error?: string;
9393
+ ok: boolean;
9394
+ background: boolean;
9395
+ reasonCode?: undefined;
9396
+ recoverable?: undefined;
9397
+ suggestedNextStep?: undefined;
9398
+ } | {
9399
+ ok: boolean;
9400
+ background: boolean;
9401
+ command: string;
9402
+ reasonCode: string;
9403
+ recoverable: boolean;
9404
+ error: string;
9405
+ suggestedNextStep: string;
8088
9406
  } | {
8089
9407
  error?: string | undefined;
9408
+ missingExecutableStep?: string | undefined;
9409
+ reasonCode?: "missing_executable" | undefined;
9410
+ missingExecutable?: string | undefined;
8090
9411
  ok: boolean;
8091
9412
  code: number | null;
8092
9413
  command: string;
@@ -8100,8 +9421,1096 @@ export declare const hazeTools: {
8100
9421
  stdout: import("../core/bashOutput/types.js").StreamReduction;
8101
9422
  stderr: import("../core/bashOutput/types.js").StreamReduction;
8102
9423
  validationSummary: import("./toolResultTypes.js").ValidationSummary | undefined;
8103
- stdoutBytes: import("../core/process/runBoundedProcess.js").BoundedStream;
8104
- stderrBytes: import("../core/process/runBoundedProcess.js").BoundedStream;
9424
+ stdoutBytes: {
9425
+ totalBytes: number;
9426
+ retainedBytes: number;
9427
+ omittedBytes: number;
9428
+ };
9429
+ stderrBytes: {
9430
+ totalBytes: number;
9431
+ retainedBytes: number;
9432
+ omittedBytes: number;
9433
+ };
9434
+ recoverable?: undefined;
9435
+ suggestedNextStep?: undefined;
9436
+ background?: undefined;
9437
+ }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
9438
+ });
9439
+ process: ({
9440
+ title?: string;
9441
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
9442
+ metadata?: import("@ai-sdk/provider").JSONObject;
9443
+ inputSchema: import("ai").FlexibleSchema<{
9444
+ action: "output" | "kill" | "list";
9445
+ offset: number;
9446
+ limit: number;
9447
+ backgroundId?: string | undefined;
9448
+ }>;
9449
+ contextSchema?: import("ai").FlexibleSchema<import("./tools/toolContext.js").HazeToolContext> | undefined;
9450
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
9451
+ action: "output" | "kill" | "list";
9452
+ offset: number;
9453
+ limit: number;
9454
+ backgroundId?: string | undefined;
9455
+ }, NoInfer<import("./tools/toolContext.js").HazeToolContext>> | undefined;
9456
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContext.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
9457
+ onInputDelta?: ((options: {
9458
+ inputTextDelta: string;
9459
+ } & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContext.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
9460
+ onInputAvailable?: ((options: {
9461
+ input: {
9462
+ action: "output" | "kill" | "list";
9463
+ offset: number;
9464
+ limit: number;
9465
+ backgroundId?: string | undefined;
9466
+ };
9467
+ } & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContext.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
9468
+ toModelOutput?: ((options: {
9469
+ toolCallId: string;
9470
+ input: {
9471
+ action: "output" | "kill" | "list";
9472
+ offset: number;
9473
+ limit: number;
9474
+ backgroundId?: string | undefined;
9475
+ };
9476
+ output: NoInfer<{
9477
+ ok: boolean;
9478
+ reasonCode: string;
9479
+ recoverable: boolean;
9480
+ error: string;
9481
+ suggestedNextStep: string;
9482
+ processes?: undefined;
9483
+ action?: undefined;
9484
+ process?: undefined;
9485
+ } | {
9486
+ ok: boolean;
9487
+ processes: import("../core/process/backgroundRegistry.js").BackgroundProcessSummary[];
9488
+ reasonCode?: undefined;
9489
+ recoverable?: undefined;
9490
+ error?: undefined;
9491
+ suggestedNextStep?: undefined;
9492
+ action?: undefined;
9493
+ process?: undefined;
9494
+ } | {
9495
+ handle: string;
9496
+ offset: number;
9497
+ nextOffset?: number;
9498
+ totalChars: number;
9499
+ totalBytes: number;
9500
+ retainedBytes: number;
9501
+ omittedBytes: number;
9502
+ content: string;
9503
+ truncated: boolean;
9504
+ query?: string;
9505
+ matches?: number;
9506
+ ok: boolean;
9507
+ backgroundId: string;
9508
+ status: import("../core/process/backgroundRegistry.js").BackgroundProcessStatus;
9509
+ outputHandle: string;
9510
+ reasonCode?: undefined;
9511
+ recoverable?: undefined;
9512
+ error?: undefined;
9513
+ suggestedNextStep?: undefined;
9514
+ processes?: undefined;
9515
+ action?: undefined;
9516
+ process?: undefined;
9517
+ } | {
9518
+ ok: boolean;
9519
+ action: string;
9520
+ process: import("../core/process/backgroundRegistry.js").BackgroundProcessSummary;
9521
+ reasonCode?: undefined;
9522
+ recoverable?: undefined;
9523
+ error?: undefined;
9524
+ suggestedNextStep?: undefined;
9525
+ processes?: undefined;
9526
+ }>;
9527
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
9528
+ } & {
9529
+ outputSchema?: import("ai").FlexibleSchema<{
9530
+ ok: boolean;
9531
+ reasonCode: string;
9532
+ recoverable: boolean;
9533
+ error: string;
9534
+ suggestedNextStep: string;
9535
+ processes?: undefined;
9536
+ action?: undefined;
9537
+ process?: undefined;
9538
+ } | {
9539
+ ok: boolean;
9540
+ processes: import("../core/process/backgroundRegistry.js").BackgroundProcessSummary[];
9541
+ reasonCode?: undefined;
9542
+ recoverable?: undefined;
9543
+ error?: undefined;
9544
+ suggestedNextStep?: undefined;
9545
+ action?: undefined;
9546
+ process?: undefined;
9547
+ } | {
9548
+ handle: string;
9549
+ offset: number;
9550
+ nextOffset?: number;
9551
+ totalChars: number;
9552
+ totalBytes: number;
9553
+ retainedBytes: number;
9554
+ omittedBytes: number;
9555
+ content: string;
9556
+ truncated: boolean;
9557
+ query?: string;
9558
+ matches?: number;
9559
+ ok: boolean;
9560
+ backgroundId: string;
9561
+ status: import("../core/process/backgroundRegistry.js").BackgroundProcessStatus;
9562
+ outputHandle: string;
9563
+ reasonCode?: undefined;
9564
+ recoverable?: undefined;
9565
+ error?: undefined;
9566
+ suggestedNextStep?: undefined;
9567
+ processes?: undefined;
9568
+ action?: undefined;
9569
+ process?: undefined;
9570
+ } | {
9571
+ ok: boolean;
9572
+ action: string;
9573
+ process: import("../core/process/backgroundRegistry.js").BackgroundProcessSummary;
9574
+ reasonCode?: undefined;
9575
+ recoverable?: undefined;
9576
+ error?: undefined;
9577
+ suggestedNextStep?: undefined;
9578
+ processes?: undefined;
9579
+ }> | undefined;
9580
+ execute: import("ai").ToolExecuteFunction<{
9581
+ action: "output" | "kill" | "list";
9582
+ offset: number;
9583
+ limit: number;
9584
+ backgroundId?: string | undefined;
9585
+ }, {
9586
+ ok: boolean;
9587
+ reasonCode: string;
9588
+ recoverable: boolean;
9589
+ error: string;
9590
+ suggestedNextStep: string;
9591
+ processes?: undefined;
9592
+ action?: undefined;
9593
+ process?: undefined;
9594
+ } | {
9595
+ ok: boolean;
9596
+ processes: import("../core/process/backgroundRegistry.js").BackgroundProcessSummary[];
9597
+ reasonCode?: undefined;
9598
+ recoverable?: undefined;
9599
+ error?: undefined;
9600
+ suggestedNextStep?: undefined;
9601
+ action?: undefined;
9602
+ process?: undefined;
9603
+ } | {
9604
+ handle: string;
9605
+ offset: number;
9606
+ nextOffset?: number;
9607
+ totalChars: number;
9608
+ totalBytes: number;
9609
+ retainedBytes: number;
9610
+ omittedBytes: number;
9611
+ content: string;
9612
+ truncated: boolean;
9613
+ query?: string;
9614
+ matches?: number;
9615
+ ok: boolean;
9616
+ backgroundId: string;
9617
+ status: import("../core/process/backgroundRegistry.js").BackgroundProcessStatus;
9618
+ outputHandle: string;
9619
+ reasonCode?: undefined;
9620
+ recoverable?: undefined;
9621
+ error?: undefined;
9622
+ suggestedNextStep?: undefined;
9623
+ processes?: undefined;
9624
+ action?: undefined;
9625
+ process?: undefined;
9626
+ } | {
9627
+ ok: boolean;
9628
+ action: string;
9629
+ process: import("../core/process/backgroundRegistry.js").BackgroundProcessSummary;
9630
+ reasonCode?: undefined;
9631
+ recoverable?: undefined;
9632
+ error?: undefined;
9633
+ suggestedNextStep?: undefined;
9634
+ processes?: undefined;
9635
+ }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
9636
+ } & {
9637
+ description?: string | ((options: {
9638
+ context: NoInfer<import("./tools/toolContext.js").HazeToolContext>;
9639
+ experimental_sandbox?: import("ai").Experimental_SandboxSession;
9640
+ }) => string) | undefined;
9641
+ strict?: boolean;
9642
+ inputExamples?: {
9643
+ input: NoInfer<{
9644
+ action: "output" | "kill" | "list";
9645
+ offset: number;
9646
+ limit: number;
9647
+ backgroundId?: string | undefined;
9648
+ }>;
9649
+ }[] | undefined;
9650
+ id?: never;
9651
+ isProviderExecuted?: never;
9652
+ args?: never;
9653
+ supportsDeferredResults?: never;
9654
+ } & {
9655
+ type?: undefined | "function";
9656
+ } & {
9657
+ execute: import("ai").ToolExecuteFunction<{
9658
+ action: "output" | "kill" | "list";
9659
+ offset: number;
9660
+ limit: number;
9661
+ backgroundId?: string | undefined;
9662
+ }, {
9663
+ ok: boolean;
9664
+ reasonCode: string;
9665
+ recoverable: boolean;
9666
+ error: string;
9667
+ suggestedNextStep: string;
9668
+ processes?: undefined;
9669
+ action?: undefined;
9670
+ process?: undefined;
9671
+ } | {
9672
+ ok: boolean;
9673
+ processes: import("../core/process/backgroundRegistry.js").BackgroundProcessSummary[];
9674
+ reasonCode?: undefined;
9675
+ recoverable?: undefined;
9676
+ error?: undefined;
9677
+ suggestedNextStep?: undefined;
9678
+ action?: undefined;
9679
+ process?: undefined;
9680
+ } | {
9681
+ handle: string;
9682
+ offset: number;
9683
+ nextOffset?: number;
9684
+ totalChars: number;
9685
+ totalBytes: number;
9686
+ retainedBytes: number;
9687
+ omittedBytes: number;
9688
+ content: string;
9689
+ truncated: boolean;
9690
+ query?: string;
9691
+ matches?: number;
9692
+ ok: boolean;
9693
+ backgroundId: string;
9694
+ status: import("../core/process/backgroundRegistry.js").BackgroundProcessStatus;
9695
+ outputHandle: string;
9696
+ reasonCode?: undefined;
9697
+ recoverable?: undefined;
9698
+ error?: undefined;
9699
+ suggestedNextStep?: undefined;
9700
+ processes?: undefined;
9701
+ action?: undefined;
9702
+ process?: undefined;
9703
+ } | {
9704
+ ok: boolean;
9705
+ action: string;
9706
+ process: import("../core/process/backgroundRegistry.js").BackgroundProcessSummary;
9707
+ reasonCode?: undefined;
9708
+ recoverable?: undefined;
9709
+ error?: undefined;
9710
+ suggestedNextStep?: undefined;
9711
+ processes?: undefined;
9712
+ }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
9713
+ }) | ({
9714
+ title?: string;
9715
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
9716
+ metadata?: import("@ai-sdk/provider").JSONObject;
9717
+ inputSchema: import("ai").FlexibleSchema<{
9718
+ action: "output" | "kill" | "list";
9719
+ offset: number;
9720
+ limit: number;
9721
+ backgroundId?: string | undefined;
9722
+ }>;
9723
+ contextSchema?: import("ai").FlexibleSchema<import("./tools/toolContext.js").HazeToolContext> | undefined;
9724
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
9725
+ action: "output" | "kill" | "list";
9726
+ offset: number;
9727
+ limit: number;
9728
+ backgroundId?: string | undefined;
9729
+ }, NoInfer<import("./tools/toolContext.js").HazeToolContext>> | undefined;
9730
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContext.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
9731
+ onInputDelta?: ((options: {
9732
+ inputTextDelta: string;
9733
+ } & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContext.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
9734
+ onInputAvailable?: ((options: {
9735
+ input: {
9736
+ action: "output" | "kill" | "list";
9737
+ offset: number;
9738
+ limit: number;
9739
+ backgroundId?: string | undefined;
9740
+ };
9741
+ } & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContext.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
9742
+ toModelOutput?: ((options: {
9743
+ toolCallId: string;
9744
+ input: {
9745
+ action: "output" | "kill" | "list";
9746
+ offset: number;
9747
+ limit: number;
9748
+ backgroundId?: string | undefined;
9749
+ };
9750
+ output: NoInfer<{
9751
+ ok: boolean;
9752
+ reasonCode: string;
9753
+ recoverable: boolean;
9754
+ error: string;
9755
+ suggestedNextStep: string;
9756
+ processes?: undefined;
9757
+ action?: undefined;
9758
+ process?: undefined;
9759
+ } | {
9760
+ ok: boolean;
9761
+ processes: import("../core/process/backgroundRegistry.js").BackgroundProcessSummary[];
9762
+ reasonCode?: undefined;
9763
+ recoverable?: undefined;
9764
+ error?: undefined;
9765
+ suggestedNextStep?: undefined;
9766
+ action?: undefined;
9767
+ process?: undefined;
9768
+ } | {
9769
+ handle: string;
9770
+ offset: number;
9771
+ nextOffset?: number;
9772
+ totalChars: number;
9773
+ totalBytes: number;
9774
+ retainedBytes: number;
9775
+ omittedBytes: number;
9776
+ content: string;
9777
+ truncated: boolean;
9778
+ query?: string;
9779
+ matches?: number;
9780
+ ok: boolean;
9781
+ backgroundId: string;
9782
+ status: import("../core/process/backgroundRegistry.js").BackgroundProcessStatus;
9783
+ outputHandle: string;
9784
+ reasonCode?: undefined;
9785
+ recoverable?: undefined;
9786
+ error?: undefined;
9787
+ suggestedNextStep?: undefined;
9788
+ processes?: undefined;
9789
+ action?: undefined;
9790
+ process?: undefined;
9791
+ } | {
9792
+ ok: boolean;
9793
+ action: string;
9794
+ process: import("../core/process/backgroundRegistry.js").BackgroundProcessSummary;
9795
+ reasonCode?: undefined;
9796
+ recoverable?: undefined;
9797
+ error?: undefined;
9798
+ suggestedNextStep?: undefined;
9799
+ processes?: undefined;
9800
+ }>;
9801
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
9802
+ } & {
9803
+ outputSchema?: import("ai").FlexibleSchema<{
9804
+ ok: boolean;
9805
+ reasonCode: string;
9806
+ recoverable: boolean;
9807
+ error: string;
9808
+ suggestedNextStep: string;
9809
+ processes?: undefined;
9810
+ action?: undefined;
9811
+ process?: undefined;
9812
+ } | {
9813
+ ok: boolean;
9814
+ processes: import("../core/process/backgroundRegistry.js").BackgroundProcessSummary[];
9815
+ reasonCode?: undefined;
9816
+ recoverable?: undefined;
9817
+ error?: undefined;
9818
+ suggestedNextStep?: undefined;
9819
+ action?: undefined;
9820
+ process?: undefined;
9821
+ } | {
9822
+ handle: string;
9823
+ offset: number;
9824
+ nextOffset?: number;
9825
+ totalChars: number;
9826
+ totalBytes: number;
9827
+ retainedBytes: number;
9828
+ omittedBytes: number;
9829
+ content: string;
9830
+ truncated: boolean;
9831
+ query?: string;
9832
+ matches?: number;
9833
+ ok: boolean;
9834
+ backgroundId: string;
9835
+ status: import("../core/process/backgroundRegistry.js").BackgroundProcessStatus;
9836
+ outputHandle: string;
9837
+ reasonCode?: undefined;
9838
+ recoverable?: undefined;
9839
+ error?: undefined;
9840
+ suggestedNextStep?: undefined;
9841
+ processes?: undefined;
9842
+ action?: undefined;
9843
+ process?: undefined;
9844
+ } | {
9845
+ ok: boolean;
9846
+ action: string;
9847
+ process: import("../core/process/backgroundRegistry.js").BackgroundProcessSummary;
9848
+ reasonCode?: undefined;
9849
+ recoverable?: undefined;
9850
+ error?: undefined;
9851
+ suggestedNextStep?: undefined;
9852
+ processes?: undefined;
9853
+ }> | undefined;
9854
+ execute: import("ai").ToolExecuteFunction<{
9855
+ action: "output" | "kill" | "list";
9856
+ offset: number;
9857
+ limit: number;
9858
+ backgroundId?: string | undefined;
9859
+ }, {
9860
+ ok: boolean;
9861
+ reasonCode: string;
9862
+ recoverable: boolean;
9863
+ error: string;
9864
+ suggestedNextStep: string;
9865
+ processes?: undefined;
9866
+ action?: undefined;
9867
+ process?: undefined;
9868
+ } | {
9869
+ ok: boolean;
9870
+ processes: import("../core/process/backgroundRegistry.js").BackgroundProcessSummary[];
9871
+ reasonCode?: undefined;
9872
+ recoverable?: undefined;
9873
+ error?: undefined;
9874
+ suggestedNextStep?: undefined;
9875
+ action?: undefined;
9876
+ process?: undefined;
9877
+ } | {
9878
+ handle: string;
9879
+ offset: number;
9880
+ nextOffset?: number;
9881
+ totalChars: number;
9882
+ totalBytes: number;
9883
+ retainedBytes: number;
9884
+ omittedBytes: number;
9885
+ content: string;
9886
+ truncated: boolean;
9887
+ query?: string;
9888
+ matches?: number;
9889
+ ok: boolean;
9890
+ backgroundId: string;
9891
+ status: import("../core/process/backgroundRegistry.js").BackgroundProcessStatus;
9892
+ outputHandle: string;
9893
+ reasonCode?: undefined;
9894
+ recoverable?: undefined;
9895
+ error?: undefined;
9896
+ suggestedNextStep?: undefined;
9897
+ processes?: undefined;
9898
+ action?: undefined;
9899
+ process?: undefined;
9900
+ } | {
9901
+ ok: boolean;
9902
+ action: string;
9903
+ process: import("../core/process/backgroundRegistry.js").BackgroundProcessSummary;
9904
+ reasonCode?: undefined;
9905
+ recoverable?: undefined;
9906
+ error?: undefined;
9907
+ suggestedNextStep?: undefined;
9908
+ processes?: undefined;
9909
+ }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
9910
+ } & {
9911
+ description?: string | ((options: {
9912
+ context: NoInfer<import("./tools/toolContext.js").HazeToolContext>;
9913
+ experimental_sandbox?: import("ai").Experimental_SandboxSession;
9914
+ }) => string) | undefined;
9915
+ strict?: boolean;
9916
+ inputExamples?: {
9917
+ input: NoInfer<{
9918
+ action: "output" | "kill" | "list";
9919
+ offset: number;
9920
+ limit: number;
9921
+ backgroundId?: string | undefined;
9922
+ }>;
9923
+ }[] | undefined;
9924
+ id?: never;
9925
+ isProviderExecuted?: never;
9926
+ args?: never;
9927
+ supportsDeferredResults?: never;
9928
+ } & {
9929
+ type: "dynamic";
9930
+ } & {
9931
+ execute: import("ai").ToolExecuteFunction<{
9932
+ action: "output" | "kill" | "list";
9933
+ offset: number;
9934
+ limit: number;
9935
+ backgroundId?: string | undefined;
9936
+ }, {
9937
+ ok: boolean;
9938
+ reasonCode: string;
9939
+ recoverable: boolean;
9940
+ error: string;
9941
+ suggestedNextStep: string;
9942
+ processes?: undefined;
9943
+ action?: undefined;
9944
+ process?: undefined;
9945
+ } | {
9946
+ ok: boolean;
9947
+ processes: import("../core/process/backgroundRegistry.js").BackgroundProcessSummary[];
9948
+ reasonCode?: undefined;
9949
+ recoverable?: undefined;
9950
+ error?: undefined;
9951
+ suggestedNextStep?: undefined;
9952
+ action?: undefined;
9953
+ process?: undefined;
9954
+ } | {
9955
+ handle: string;
9956
+ offset: number;
9957
+ nextOffset?: number;
9958
+ totalChars: number;
9959
+ totalBytes: number;
9960
+ retainedBytes: number;
9961
+ omittedBytes: number;
9962
+ content: string;
9963
+ truncated: boolean;
9964
+ query?: string;
9965
+ matches?: number;
9966
+ ok: boolean;
9967
+ backgroundId: string;
9968
+ status: import("../core/process/backgroundRegistry.js").BackgroundProcessStatus;
9969
+ outputHandle: string;
9970
+ reasonCode?: undefined;
9971
+ recoverable?: undefined;
9972
+ error?: undefined;
9973
+ suggestedNextStep?: undefined;
9974
+ processes?: undefined;
9975
+ action?: undefined;
9976
+ process?: undefined;
9977
+ } | {
9978
+ ok: boolean;
9979
+ action: string;
9980
+ process: import("../core/process/backgroundRegistry.js").BackgroundProcessSummary;
9981
+ reasonCode?: undefined;
9982
+ recoverable?: undefined;
9983
+ error?: undefined;
9984
+ suggestedNextStep?: undefined;
9985
+ processes?: undefined;
9986
+ }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
9987
+ }) | ({
9988
+ title?: string;
9989
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
9990
+ metadata?: import("@ai-sdk/provider").JSONObject;
9991
+ inputSchema: import("ai").FlexibleSchema<{
9992
+ action: "output" | "kill" | "list";
9993
+ offset: number;
9994
+ limit: number;
9995
+ backgroundId?: string | undefined;
9996
+ }>;
9997
+ contextSchema?: import("ai").FlexibleSchema<import("./tools/toolContext.js").HazeToolContext> | undefined;
9998
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
9999
+ action: "output" | "kill" | "list";
10000
+ offset: number;
10001
+ limit: number;
10002
+ backgroundId?: string | undefined;
10003
+ }, NoInfer<import("./tools/toolContext.js").HazeToolContext>> | undefined;
10004
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContext.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
10005
+ onInputDelta?: ((options: {
10006
+ inputTextDelta: string;
10007
+ } & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContext.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
10008
+ onInputAvailable?: ((options: {
10009
+ input: {
10010
+ action: "output" | "kill" | "list";
10011
+ offset: number;
10012
+ limit: number;
10013
+ backgroundId?: string | undefined;
10014
+ };
10015
+ } & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContext.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
10016
+ toModelOutput?: ((options: {
10017
+ toolCallId: string;
10018
+ input: {
10019
+ action: "output" | "kill" | "list";
10020
+ offset: number;
10021
+ limit: number;
10022
+ backgroundId?: string | undefined;
10023
+ };
10024
+ output: NoInfer<{
10025
+ ok: boolean;
10026
+ reasonCode: string;
10027
+ recoverable: boolean;
10028
+ error: string;
10029
+ suggestedNextStep: string;
10030
+ processes?: undefined;
10031
+ action?: undefined;
10032
+ process?: undefined;
10033
+ } | {
10034
+ ok: boolean;
10035
+ processes: import("../core/process/backgroundRegistry.js").BackgroundProcessSummary[];
10036
+ reasonCode?: undefined;
10037
+ recoverable?: undefined;
10038
+ error?: undefined;
10039
+ suggestedNextStep?: undefined;
10040
+ action?: undefined;
10041
+ process?: undefined;
10042
+ } | {
10043
+ handle: string;
10044
+ offset: number;
10045
+ nextOffset?: number;
10046
+ totalChars: number;
10047
+ totalBytes: number;
10048
+ retainedBytes: number;
10049
+ omittedBytes: number;
10050
+ content: string;
10051
+ truncated: boolean;
10052
+ query?: string;
10053
+ matches?: number;
10054
+ ok: boolean;
10055
+ backgroundId: string;
10056
+ status: import("../core/process/backgroundRegistry.js").BackgroundProcessStatus;
10057
+ outputHandle: string;
10058
+ reasonCode?: undefined;
10059
+ recoverable?: undefined;
10060
+ error?: undefined;
10061
+ suggestedNextStep?: undefined;
10062
+ processes?: undefined;
10063
+ action?: undefined;
10064
+ process?: undefined;
10065
+ } | {
10066
+ ok: boolean;
10067
+ action: string;
10068
+ process: import("../core/process/backgroundRegistry.js").BackgroundProcessSummary;
10069
+ reasonCode?: undefined;
10070
+ recoverable?: undefined;
10071
+ error?: undefined;
10072
+ suggestedNextStep?: undefined;
10073
+ processes?: undefined;
10074
+ }>;
10075
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
10076
+ } & {
10077
+ outputSchema?: import("ai").FlexibleSchema<{
10078
+ ok: boolean;
10079
+ reasonCode: string;
10080
+ recoverable: boolean;
10081
+ error: string;
10082
+ suggestedNextStep: string;
10083
+ processes?: undefined;
10084
+ action?: undefined;
10085
+ process?: undefined;
10086
+ } | {
10087
+ ok: boolean;
10088
+ processes: import("../core/process/backgroundRegistry.js").BackgroundProcessSummary[];
10089
+ reasonCode?: undefined;
10090
+ recoverable?: undefined;
10091
+ error?: undefined;
10092
+ suggestedNextStep?: undefined;
10093
+ action?: undefined;
10094
+ process?: undefined;
10095
+ } | {
10096
+ handle: string;
10097
+ offset: number;
10098
+ nextOffset?: number;
10099
+ totalChars: number;
10100
+ totalBytes: number;
10101
+ retainedBytes: number;
10102
+ omittedBytes: number;
10103
+ content: string;
10104
+ truncated: boolean;
10105
+ query?: string;
10106
+ matches?: number;
10107
+ ok: boolean;
10108
+ backgroundId: string;
10109
+ status: import("../core/process/backgroundRegistry.js").BackgroundProcessStatus;
10110
+ outputHandle: string;
10111
+ reasonCode?: undefined;
10112
+ recoverable?: undefined;
10113
+ error?: undefined;
10114
+ suggestedNextStep?: undefined;
10115
+ processes?: undefined;
10116
+ action?: undefined;
10117
+ process?: undefined;
10118
+ } | {
10119
+ ok: boolean;
10120
+ action: string;
10121
+ process: import("../core/process/backgroundRegistry.js").BackgroundProcessSummary;
10122
+ reasonCode?: undefined;
10123
+ recoverable?: undefined;
10124
+ error?: undefined;
10125
+ suggestedNextStep?: undefined;
10126
+ processes?: undefined;
10127
+ }> | undefined;
10128
+ execute: import("ai").ToolExecuteFunction<{
10129
+ action: "output" | "kill" | "list";
10130
+ offset: number;
10131
+ limit: number;
10132
+ backgroundId?: string | undefined;
10133
+ }, {
10134
+ ok: boolean;
10135
+ reasonCode: string;
10136
+ recoverable: boolean;
10137
+ error: string;
10138
+ suggestedNextStep: string;
10139
+ processes?: undefined;
10140
+ action?: undefined;
10141
+ process?: undefined;
10142
+ } | {
10143
+ ok: boolean;
10144
+ processes: import("../core/process/backgroundRegistry.js").BackgroundProcessSummary[];
10145
+ reasonCode?: undefined;
10146
+ recoverable?: undefined;
10147
+ error?: undefined;
10148
+ suggestedNextStep?: undefined;
10149
+ action?: undefined;
10150
+ process?: undefined;
10151
+ } | {
10152
+ handle: string;
10153
+ offset: number;
10154
+ nextOffset?: number;
10155
+ totalChars: number;
10156
+ totalBytes: number;
10157
+ retainedBytes: number;
10158
+ omittedBytes: number;
10159
+ content: string;
10160
+ truncated: boolean;
10161
+ query?: string;
10162
+ matches?: number;
10163
+ ok: boolean;
10164
+ backgroundId: string;
10165
+ status: import("../core/process/backgroundRegistry.js").BackgroundProcessStatus;
10166
+ outputHandle: string;
10167
+ reasonCode?: undefined;
10168
+ recoverable?: undefined;
10169
+ error?: undefined;
10170
+ suggestedNextStep?: undefined;
10171
+ processes?: undefined;
10172
+ action?: undefined;
10173
+ process?: undefined;
10174
+ } | {
10175
+ ok: boolean;
10176
+ action: string;
10177
+ process: import("../core/process/backgroundRegistry.js").BackgroundProcessSummary;
10178
+ reasonCode?: undefined;
10179
+ recoverable?: undefined;
10180
+ error?: undefined;
10181
+ suggestedNextStep?: undefined;
10182
+ processes?: undefined;
10183
+ }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
10184
+ } & {
10185
+ type: "provider";
10186
+ id: `${string}.${string}`;
10187
+ args: Record<string, unknown>;
10188
+ description?: never;
10189
+ strict?: never;
10190
+ inputExamples?: never;
10191
+ } & {
10192
+ isProviderExecuted: false;
10193
+ supportsDeferredResults?: never;
10194
+ } & {
10195
+ execute: import("ai").ToolExecuteFunction<{
10196
+ action: "output" | "kill" | "list";
10197
+ offset: number;
10198
+ limit: number;
10199
+ backgroundId?: string | undefined;
10200
+ }, {
10201
+ ok: boolean;
10202
+ reasonCode: string;
10203
+ recoverable: boolean;
10204
+ error: string;
10205
+ suggestedNextStep: string;
10206
+ processes?: undefined;
10207
+ action?: undefined;
10208
+ process?: undefined;
10209
+ } | {
10210
+ ok: boolean;
10211
+ processes: import("../core/process/backgroundRegistry.js").BackgroundProcessSummary[];
10212
+ reasonCode?: undefined;
10213
+ recoverable?: undefined;
10214
+ error?: undefined;
10215
+ suggestedNextStep?: undefined;
10216
+ action?: undefined;
10217
+ process?: undefined;
10218
+ } | {
10219
+ handle: string;
10220
+ offset: number;
10221
+ nextOffset?: number;
10222
+ totalChars: number;
10223
+ totalBytes: number;
10224
+ retainedBytes: number;
10225
+ omittedBytes: number;
10226
+ content: string;
10227
+ truncated: boolean;
10228
+ query?: string;
10229
+ matches?: number;
10230
+ ok: boolean;
10231
+ backgroundId: string;
10232
+ status: import("../core/process/backgroundRegistry.js").BackgroundProcessStatus;
10233
+ outputHandle: string;
10234
+ reasonCode?: undefined;
10235
+ recoverable?: undefined;
10236
+ error?: undefined;
10237
+ suggestedNextStep?: undefined;
10238
+ processes?: undefined;
10239
+ action?: undefined;
10240
+ process?: undefined;
10241
+ } | {
10242
+ ok: boolean;
10243
+ action: string;
10244
+ process: import("../core/process/backgroundRegistry.js").BackgroundProcessSummary;
10245
+ reasonCode?: undefined;
10246
+ recoverable?: undefined;
10247
+ error?: undefined;
10248
+ suggestedNextStep?: undefined;
10249
+ processes?: undefined;
10250
+ }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
10251
+ }) | ({
10252
+ title?: string;
10253
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
10254
+ metadata?: import("@ai-sdk/provider").JSONObject;
10255
+ inputSchema: import("ai").FlexibleSchema<{
10256
+ action: "output" | "kill" | "list";
10257
+ offset: number;
10258
+ limit: number;
10259
+ backgroundId?: string | undefined;
10260
+ }>;
10261
+ contextSchema?: import("ai").FlexibleSchema<import("./tools/toolContext.js").HazeToolContext> | undefined;
10262
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
10263
+ action: "output" | "kill" | "list";
10264
+ offset: number;
10265
+ limit: number;
10266
+ backgroundId?: string | undefined;
10267
+ }, NoInfer<import("./tools/toolContext.js").HazeToolContext>> | undefined;
10268
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContext.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
10269
+ onInputDelta?: ((options: {
10270
+ inputTextDelta: string;
10271
+ } & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContext.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
10272
+ onInputAvailable?: ((options: {
10273
+ input: {
10274
+ action: "output" | "kill" | "list";
10275
+ offset: number;
10276
+ limit: number;
10277
+ backgroundId?: string | undefined;
10278
+ };
10279
+ } & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContext.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
10280
+ toModelOutput?: ((options: {
10281
+ toolCallId: string;
10282
+ input: {
10283
+ action: "output" | "kill" | "list";
10284
+ offset: number;
10285
+ limit: number;
10286
+ backgroundId?: string | undefined;
10287
+ };
10288
+ output: NoInfer<{
10289
+ ok: boolean;
10290
+ reasonCode: string;
10291
+ recoverable: boolean;
10292
+ error: string;
10293
+ suggestedNextStep: string;
10294
+ processes?: undefined;
10295
+ action?: undefined;
10296
+ process?: undefined;
10297
+ } | {
10298
+ ok: boolean;
10299
+ processes: import("../core/process/backgroundRegistry.js").BackgroundProcessSummary[];
10300
+ reasonCode?: undefined;
10301
+ recoverable?: undefined;
10302
+ error?: undefined;
10303
+ suggestedNextStep?: undefined;
10304
+ action?: undefined;
10305
+ process?: undefined;
10306
+ } | {
10307
+ handle: string;
10308
+ offset: number;
10309
+ nextOffset?: number;
10310
+ totalChars: number;
10311
+ totalBytes: number;
10312
+ retainedBytes: number;
10313
+ omittedBytes: number;
10314
+ content: string;
10315
+ truncated: boolean;
10316
+ query?: string;
10317
+ matches?: number;
10318
+ ok: boolean;
10319
+ backgroundId: string;
10320
+ status: import("../core/process/backgroundRegistry.js").BackgroundProcessStatus;
10321
+ outputHandle: string;
10322
+ reasonCode?: undefined;
10323
+ recoverable?: undefined;
10324
+ error?: undefined;
10325
+ suggestedNextStep?: undefined;
10326
+ processes?: undefined;
10327
+ action?: undefined;
10328
+ process?: undefined;
10329
+ } | {
10330
+ ok: boolean;
10331
+ action: string;
10332
+ process: import("../core/process/backgroundRegistry.js").BackgroundProcessSummary;
10333
+ reasonCode?: undefined;
10334
+ recoverable?: undefined;
10335
+ error?: undefined;
10336
+ suggestedNextStep?: undefined;
10337
+ processes?: undefined;
10338
+ }>;
10339
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
10340
+ } & {
10341
+ outputSchema?: import("ai").FlexibleSchema<{
10342
+ ok: boolean;
10343
+ reasonCode: string;
10344
+ recoverable: boolean;
10345
+ error: string;
10346
+ suggestedNextStep: string;
10347
+ processes?: undefined;
10348
+ action?: undefined;
10349
+ process?: undefined;
10350
+ } | {
10351
+ ok: boolean;
10352
+ processes: import("../core/process/backgroundRegistry.js").BackgroundProcessSummary[];
10353
+ reasonCode?: undefined;
10354
+ recoverable?: undefined;
10355
+ error?: undefined;
10356
+ suggestedNextStep?: undefined;
10357
+ action?: undefined;
10358
+ process?: undefined;
10359
+ } | {
10360
+ handle: string;
10361
+ offset: number;
10362
+ nextOffset?: number;
10363
+ totalChars: number;
10364
+ totalBytes: number;
10365
+ retainedBytes: number;
10366
+ omittedBytes: number;
10367
+ content: string;
10368
+ truncated: boolean;
10369
+ query?: string;
10370
+ matches?: number;
10371
+ ok: boolean;
10372
+ backgroundId: string;
10373
+ status: import("../core/process/backgroundRegistry.js").BackgroundProcessStatus;
10374
+ outputHandle: string;
10375
+ reasonCode?: undefined;
10376
+ recoverable?: undefined;
10377
+ error?: undefined;
10378
+ suggestedNextStep?: undefined;
10379
+ processes?: undefined;
10380
+ action?: undefined;
10381
+ process?: undefined;
10382
+ } | {
10383
+ ok: boolean;
10384
+ action: string;
10385
+ process: import("../core/process/backgroundRegistry.js").BackgroundProcessSummary;
10386
+ reasonCode?: undefined;
10387
+ recoverable?: undefined;
10388
+ error?: undefined;
10389
+ suggestedNextStep?: undefined;
10390
+ processes?: undefined;
10391
+ }> | undefined;
10392
+ execute: import("ai").ToolExecuteFunction<{
10393
+ action: "output" | "kill" | "list";
10394
+ offset: number;
10395
+ limit: number;
10396
+ backgroundId?: string | undefined;
10397
+ }, {
10398
+ ok: boolean;
10399
+ reasonCode: string;
10400
+ recoverable: boolean;
10401
+ error: string;
10402
+ suggestedNextStep: string;
10403
+ processes?: undefined;
10404
+ action?: undefined;
10405
+ process?: undefined;
10406
+ } | {
10407
+ ok: boolean;
10408
+ processes: import("../core/process/backgroundRegistry.js").BackgroundProcessSummary[];
10409
+ reasonCode?: undefined;
10410
+ recoverable?: undefined;
10411
+ error?: undefined;
10412
+ suggestedNextStep?: undefined;
10413
+ action?: undefined;
10414
+ process?: undefined;
10415
+ } | {
10416
+ handle: string;
10417
+ offset: number;
10418
+ nextOffset?: number;
10419
+ totalChars: number;
10420
+ totalBytes: number;
10421
+ retainedBytes: number;
10422
+ omittedBytes: number;
10423
+ content: string;
10424
+ truncated: boolean;
10425
+ query?: string;
10426
+ matches?: number;
10427
+ ok: boolean;
10428
+ backgroundId: string;
10429
+ status: import("../core/process/backgroundRegistry.js").BackgroundProcessStatus;
10430
+ outputHandle: string;
10431
+ reasonCode?: undefined;
10432
+ recoverable?: undefined;
10433
+ error?: undefined;
10434
+ suggestedNextStep?: undefined;
10435
+ processes?: undefined;
10436
+ action?: undefined;
10437
+ process?: undefined;
10438
+ } | {
10439
+ ok: boolean;
10440
+ action: string;
10441
+ process: import("../core/process/backgroundRegistry.js").BackgroundProcessSummary;
10442
+ reasonCode?: undefined;
10443
+ recoverable?: undefined;
10444
+ error?: undefined;
10445
+ suggestedNextStep?: undefined;
10446
+ processes?: undefined;
10447
+ }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
10448
+ } & {
10449
+ type: "provider";
10450
+ id: `${string}.${string}`;
10451
+ args: Record<string, unknown>;
10452
+ description?: never;
10453
+ strict?: never;
10454
+ inputExamples?: never;
10455
+ } & {
10456
+ isProviderExecuted: true;
10457
+ supportsDeferredResults?: boolean;
10458
+ } & {
10459
+ execute: import("ai").ToolExecuteFunction<{
10460
+ action: "output" | "kill" | "list";
10461
+ offset: number;
10462
+ limit: number;
10463
+ backgroundId?: string | undefined;
10464
+ }, {
10465
+ ok: boolean;
10466
+ reasonCode: string;
10467
+ recoverable: boolean;
10468
+ error: string;
10469
+ suggestedNextStep: string;
10470
+ processes?: undefined;
10471
+ action?: undefined;
10472
+ process?: undefined;
10473
+ } | {
10474
+ ok: boolean;
10475
+ processes: import("../core/process/backgroundRegistry.js").BackgroundProcessSummary[];
10476
+ reasonCode?: undefined;
10477
+ recoverable?: undefined;
10478
+ error?: undefined;
10479
+ suggestedNextStep?: undefined;
10480
+ action?: undefined;
10481
+ process?: undefined;
10482
+ } | {
10483
+ handle: string;
10484
+ offset: number;
10485
+ nextOffset?: number;
10486
+ totalChars: number;
10487
+ totalBytes: number;
10488
+ retainedBytes: number;
10489
+ omittedBytes: number;
10490
+ content: string;
10491
+ truncated: boolean;
10492
+ query?: string;
10493
+ matches?: number;
10494
+ ok: boolean;
10495
+ backgroundId: string;
10496
+ status: import("../core/process/backgroundRegistry.js").BackgroundProcessStatus;
10497
+ outputHandle: string;
10498
+ reasonCode?: undefined;
10499
+ recoverable?: undefined;
10500
+ error?: undefined;
10501
+ suggestedNextStep?: undefined;
10502
+ processes?: undefined;
10503
+ action?: undefined;
10504
+ process?: undefined;
10505
+ } | {
10506
+ ok: boolean;
10507
+ action: string;
10508
+ process: import("../core/process/backgroundRegistry.js").BackgroundProcessSummary;
10509
+ reasonCode?: undefined;
10510
+ recoverable?: undefined;
10511
+ error?: undefined;
10512
+ suggestedNextStep?: undefined;
10513
+ processes?: undefined;
8105
10514
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
8106
10515
  });
8107
10516
  };