@denizokcu/haze 0.10.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 (169) hide show
  1. package/CHANGELOG.md +77 -1
  2. package/README.md +66 -25
  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/contextReport.js +2 -0
  9. package/dist/cli/chat/fileMentionSuggestions.js +3 -2
  10. package/dist/cli/chat/liveRegion.d.ts +25 -0
  11. package/dist/cli/chat/liveRegion.js +48 -0
  12. package/dist/cli/chat/messages.d.ts +33 -2
  13. package/dist/cli/chat/messages.js +216 -33
  14. package/dist/cli/chat/sessionLifecycle.d.ts +9 -0
  15. package/dist/cli/chat/sessionLifecycle.js +64 -14
  16. package/dist/cli/chat/sessionRecorder.js +75 -7
  17. package/dist/cli/chat/startupInfo.d.ts +0 -1
  18. package/dist/cli/chat/startupInfo.js +11 -15
  19. package/dist/cli/chat/wizardDispatch.js +111 -12
  20. package/dist/cli/commands/chat.d.ts +5 -0
  21. package/dist/cli/commands/chat.js +203 -101
  22. package/dist/cli/commands/commands.d.ts +2 -0
  23. package/dist/cli/commands/commands.js +10 -5
  24. package/dist/cli/commands/doctor.d.ts +19 -0
  25. package/dist/cli/commands/doctor.js +76 -0
  26. package/dist/cli/commands/formatters.js +2 -0
  27. package/dist/cli/commands/ndjsonSink.d.ts +23 -0
  28. package/dist/cli/commands/ndjsonSink.js +38 -0
  29. package/dist/cli/commands/providerWizard.d.ts +9 -2
  30. package/dist/cli/commands/providerWizard.js +37 -4
  31. package/dist/cli/commands/runCommand.d.ts +3 -0
  32. package/dist/cli/commands/runCommand.js +117 -11
  33. package/dist/cli/commands/streaming/abortCause.d.ts +24 -0
  34. package/dist/cli/commands/streaming/abortCause.js +16 -0
  35. package/dist/cli/commands/streaming/assistantText.js +9 -2
  36. package/dist/cli/commands/streaming/goalCheckpoint.d.ts +65 -0
  37. package/dist/cli/commands/streaming/goalCheckpoint.js +23 -0
  38. package/dist/cli/commands/streaming/goalSupervisor.d.ts +64 -0
  39. package/dist/cli/commands/streaming/goalSupervisor.js +127 -0
  40. package/dist/cli/commands/streaming/toolCallRecovery.d.ts +2 -0
  41. package/dist/cli/commands/streaming/toolCallRecovery.js +24 -0
  42. package/dist/cli/commands/streaming/toolGroupRenderer.d.ts +29 -0
  43. package/dist/cli/commands/streaming/toolGroupRenderer.js +50 -4
  44. package/dist/cli/commands/streaming/toolResultState.d.ts +6 -1
  45. package/dist/cli/commands/streaming/toolResultState.js +29 -7
  46. package/dist/cli/commands/streaming/turnOutcome.d.ts +17 -0
  47. package/dist/cli/commands/streaming/turnOutcome.js +27 -11
  48. package/dist/cli/commands/streaming.d.ts +70 -3
  49. package/dist/cli/commands/streaming.js +491 -77
  50. package/dist/cli/commands/wizardActions.d.ts +1 -0
  51. package/dist/cli/commands/wizardActions.js +1 -0
  52. package/dist/cli/commands/wizardPrompts.js +7 -1
  53. package/dist/cli/commands/wizardSuggestions.js +5 -3
  54. package/dist/cli/index.js +68 -22
  55. package/dist/cli/terminalTitle.js +1 -1
  56. package/dist/config/modelDiscovery.d.ts +51 -0
  57. package/dist/config/modelDiscovery.js +164 -1
  58. package/dist/config/privateStorage.js +28 -2
  59. package/dist/config/providerAuth.d.ts +14 -0
  60. package/dist/config/providerAuth.js +49 -0
  61. package/dist/config/providerPresets.d.ts +39 -7
  62. package/dist/config/providerPresets.js +371 -100
  63. package/dist/config/providers.js +2 -0
  64. package/dist/config/settings.d.ts +36 -0
  65. package/dist/config/settings.js +9 -0
  66. package/dist/core/agent/budgets.d.ts +10 -0
  67. package/dist/core/agent/budgets.js +10 -0
  68. package/dist/core/agent/compaction.d.ts +38 -0
  69. package/dist/core/agent/compaction.js +92 -17
  70. package/dist/core/agent/completionController.d.ts +230 -0
  71. package/dist/core/agent/completionController.js +287 -0
  72. package/dist/core/agent/contextBudget.d.ts +38 -0
  73. package/dist/core/agent/contextBudget.js +60 -7
  74. package/dist/core/agent/events.d.ts +74 -0
  75. package/dist/core/agent/reasoningPolicy.d.ts +31 -0
  76. package/dist/core/agent/reasoningPolicy.js +27 -0
  77. package/dist/core/agent/toolCapabilities.d.ts +27 -0
  78. package/dist/core/agent/toolCapabilities.js +58 -0
  79. package/dist/core/agent/toolExecutionBudget.d.ts +35 -0
  80. package/dist/core/agent/toolExecutionBudget.js +49 -0
  81. package/dist/core/agent/toolOutputStore.d.ts +8 -0
  82. package/dist/core/agent/toolOutputStore.js +10 -10
  83. package/dist/core/agent/toolResults.d.ts +12 -0
  84. package/dist/core/agent/toolResults.js +38 -0
  85. package/dist/core/agent/turnBudget.d.ts +35 -0
  86. package/dist/core/agent/turnBudget.js +27 -0
  87. package/dist/core/agent/turnPolicy.d.ts +11 -0
  88. package/dist/core/agent/turnPolicy.js +19 -0
  89. package/dist/core/agent/workState.d.ts +75 -0
  90. package/dist/core/agent/workState.js +120 -9
  91. package/dist/core/deadline.d.ts +33 -0
  92. package/dist/core/deadline.js +74 -0
  93. package/dist/core/goal/completionPolicy.d.ts +27 -0
  94. package/dist/core/goal/completionPolicy.js +37 -1
  95. package/dist/core/limits/byteBudgets.d.ts +2 -0
  96. package/dist/core/limits/byteBudgets.js +2 -0
  97. package/dist/core/limits/textBudgets.d.ts +2 -0
  98. package/dist/core/limits/textBudgets.js +2 -0
  99. package/dist/core/log/llmLog.js +7 -0
  100. package/dist/core/persistence/orderedFileWriter.d.ts +10 -0
  101. package/dist/core/persistence/orderedFileWriter.js +16 -2
  102. package/dist/core/process/backgroundRegistry.js +8 -7
  103. package/dist/core/process/runBoundedProcess.d.ts +8 -2
  104. package/dist/core/process/runBoundedProcess.js +15 -6
  105. package/dist/core/safety/missingExecutable.d.ts +42 -0
  106. package/dist/core/safety/missingExecutable.js +77 -0
  107. package/dist/core/session/sessionStore.d.ts +37 -0
  108. package/dist/core/session/sessionStore.js +215 -51
  109. package/dist/core/subagent/contracts.d.ts +4 -0
  110. package/dist/core/subagent/contracts.js +1 -0
  111. package/dist/core/subagent/subagentCoordinator.d.ts +4 -0
  112. package/dist/core/subagent/subagentCoordinator.js +32 -2
  113. package/dist/core/subagent/subagentRunner.js +17 -37
  114. package/dist/llm/client.d.ts +17 -1
  115. package/dist/llm/client.js +82 -14
  116. package/dist/llm/hazeTools.d.ts +554 -80
  117. package/dist/llm/hazeTools.js +103 -24
  118. package/dist/llm/lsp.d.ts +24 -4
  119. package/dist/llm/lsp.js +72 -11
  120. package/dist/llm/lspTools.d.ts +2366 -0
  121. package/dist/llm/lspTools.js +87 -79
  122. package/dist/llm/openaiCodex.d.ts +3 -0
  123. package/dist/llm/openaiCodex.js +47 -0
  124. package/dist/llm/openaiCodexOAuth.d.ts +54 -0
  125. package/dist/llm/openaiCodexOAuth.js +214 -0
  126. package/dist/llm/requestContext.d.ts +3 -0
  127. package/dist/llm/requestContext.js +7 -4
  128. package/dist/llm/systemPrompt.d.ts +11 -0
  129. package/dist/llm/systemPrompt.js +12 -6
  130. package/dist/llm/toolResultTypes.d.ts +8 -1
  131. package/dist/llm/tools/bashTool.d.ts +48 -16
  132. package/dist/llm/tools/bashTool.js +5 -0
  133. package/dist/llm/tools/editMatch.d.ts +14 -0
  134. package/dist/llm/tools/editMatch.js +72 -0
  135. package/dist/llm/tools/failures.d.ts +2 -0
  136. package/dist/llm/tools/failures.js +1 -0
  137. package/dist/llm/tools/fetchTool.d.ts +16 -0
  138. package/dist/llm/tools/fileToolShared.d.ts +4 -3
  139. package/dist/llm/tools/fileToolShared.js +16 -21
  140. package/dist/llm/tools/gitIgnore.d.ts +49 -0
  141. package/dist/llm/tools/gitIgnore.js +129 -0
  142. package/dist/llm/tools/readRecovery.d.ts +10 -0
  143. package/dist/llm/tools/readRecovery.js +135 -0
  144. package/dist/llm/tools/toolContext.d.ts +1 -1
  145. package/dist/llm/tools/toolContext.js +61 -32
  146. package/dist/llm/webFetch.d.ts +17 -0
  147. package/dist/llm/webFetch.js +64 -97
  148. package/dist/ui/codeHighlight.d.ts +4 -0
  149. package/dist/ui/codeHighlight.js +31 -0
  150. package/dist/ui/components/Header.d.ts +1 -1
  151. package/dist/ui/components/MarkdownText.d.ts +16 -2
  152. package/dist/ui/components/MarkdownText.js +244 -34
  153. package/dist/ui/components/TextInput.d.ts +8 -1
  154. package/dist/ui/components/TextInput.js +6 -2
  155. package/dist/ui/theme.d.ts +4 -3
  156. package/dist/ui/theme.js +5 -4
  157. package/dist/utils/buildInfo.d.ts +104 -0
  158. package/dist/utils/buildInfo.js +253 -0
  159. package/dist/utils/fs.d.ts +9 -0
  160. package/dist/utils/fs.js +87 -25
  161. package/dist/utils/openPath.d.ts +2 -2
  162. package/dist/utils/openPath.js +19 -6
  163. package/dist/utils/path.d.ts +2 -0
  164. package/dist/utils/path.js +5 -1
  165. package/dist/utils/utf8.d.ts +22 -0
  166. package/dist/utils/utf8.js +54 -0
  167. package/dist/utils/version.d.ts +9 -3
  168. package/dist/utils/version.js +28 -2
  169. 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;
@@ -853,6 +870,7 @@ export declare const hazeTools: {
853
870
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
854
871
  } & {
855
872
  outputSchema?: import("ai").FlexibleSchema<{
873
+ suggestedPaths?: string[] | undefined;
856
874
  ok: boolean;
857
875
  toolName: string;
858
876
  path: string | undefined;
@@ -891,6 +909,7 @@ export declare const hazeTools: {
891
909
  offset?: number | undefined;
892
910
  limit?: number | undefined;
893
911
  }, {
912
+ suggestedPaths?: string[] | undefined;
894
913
  ok: boolean;
895
914
  toolName: string;
896
915
  path: string | undefined;
@@ -951,6 +970,7 @@ export declare const hazeTools: {
951
970
  offset?: number | undefined;
952
971
  limit?: number | undefined;
953
972
  }, {
973
+ suggestedPaths?: string[] | undefined;
954
974
  ok: boolean;
955
975
  toolName: string;
956
976
  path: string | undefined;
@@ -1024,6 +1044,7 @@ export declare const hazeTools: {
1024
1044
  limit?: number | undefined;
1025
1045
  };
1026
1046
  output: NoInfer<{
1047
+ suggestedPaths?: string[] | undefined;
1027
1048
  ok: boolean;
1028
1049
  toolName: string;
1029
1050
  path: string | undefined;
@@ -1058,6 +1079,7 @@ export declare const hazeTools: {
1058
1079
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
1059
1080
  } & {
1060
1081
  outputSchema?: import("ai").FlexibleSchema<{
1082
+ suggestedPaths?: string[] | undefined;
1061
1083
  ok: boolean;
1062
1084
  toolName: string;
1063
1085
  path: string | undefined;
@@ -1096,6 +1118,7 @@ export declare const hazeTools: {
1096
1118
  offset?: number | undefined;
1097
1119
  limit?: number | undefined;
1098
1120
  }, {
1121
+ suggestedPaths?: string[] | undefined;
1099
1122
  ok: boolean;
1100
1123
  toolName: string;
1101
1124
  path: string | undefined;
@@ -1156,6 +1179,7 @@ export declare const hazeTools: {
1156
1179
  offset?: number | undefined;
1157
1180
  limit?: number | undefined;
1158
1181
  }, {
1182
+ suggestedPaths?: string[] | undefined;
1159
1183
  ok: boolean;
1160
1184
  toolName: string;
1161
1185
  path: string | undefined;
@@ -1229,6 +1253,7 @@ export declare const hazeTools: {
1229
1253
  limit?: number | undefined;
1230
1254
  };
1231
1255
  output: NoInfer<{
1256
+ suggestedPaths?: string[] | undefined;
1232
1257
  ok: boolean;
1233
1258
  toolName: string;
1234
1259
  path: string | undefined;
@@ -1263,6 +1288,7 @@ export declare const hazeTools: {
1263
1288
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
1264
1289
  } & {
1265
1290
  outputSchema?: import("ai").FlexibleSchema<{
1291
+ suggestedPaths?: string[] | undefined;
1266
1292
  ok: boolean;
1267
1293
  toolName: string;
1268
1294
  path: string | undefined;
@@ -1301,6 +1327,7 @@ export declare const hazeTools: {
1301
1327
  offset?: number | undefined;
1302
1328
  limit?: number | undefined;
1303
1329
  }, {
1330
+ suggestedPaths?: string[] | undefined;
1304
1331
  ok: boolean;
1305
1332
  toolName: string;
1306
1333
  path: string | undefined;
@@ -1350,6 +1377,7 @@ export declare const hazeTools: {
1350
1377
  offset?: number | undefined;
1351
1378
  limit?: number | undefined;
1352
1379
  }, {
1380
+ suggestedPaths?: string[] | undefined;
1353
1381
  ok: boolean;
1354
1382
  toolName: string;
1355
1383
  path: string | undefined;
@@ -1423,6 +1451,7 @@ export declare const hazeTools: {
1423
1451
  limit?: number | undefined;
1424
1452
  };
1425
1453
  output: NoInfer<{
1454
+ suggestedPaths?: string[] | undefined;
1426
1455
  ok: boolean;
1427
1456
  toolName: string;
1428
1457
  path: string | undefined;
@@ -1457,6 +1486,7 @@ export declare const hazeTools: {
1457
1486
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
1458
1487
  } & {
1459
1488
  outputSchema?: import("ai").FlexibleSchema<{
1489
+ suggestedPaths?: string[] | undefined;
1460
1490
  ok: boolean;
1461
1491
  toolName: string;
1462
1492
  path: string | undefined;
@@ -1495,6 +1525,7 @@ export declare const hazeTools: {
1495
1525
  offset?: number | undefined;
1496
1526
  limit?: number | undefined;
1497
1527
  }, {
1528
+ suggestedPaths?: string[] | undefined;
1498
1529
  ok: boolean;
1499
1530
  toolName: string;
1500
1531
  path: string | undefined;
@@ -1544,6 +1575,7 @@ export declare const hazeTools: {
1544
1575
  offset?: number | undefined;
1545
1576
  limit?: number | undefined;
1546
1577
  }, {
1578
+ suggestedPaths?: string[] | undefined;
1547
1579
  ok: boolean;
1548
1580
  toolName: string;
1549
1581
  path: string | undefined;
@@ -1626,6 +1658,7 @@ export declare const hazeTools: {
1626
1658
  glob?: string | undefined;
1627
1659
  };
1628
1660
  output: NoInfer<{
1661
+ suggestedPaths?: string[] | undefined;
1629
1662
  ok: boolean;
1630
1663
  toolName: string;
1631
1664
  path: string | undefined;
@@ -1686,6 +1719,7 @@ export declare const hazeTools: {
1686
1719
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
1687
1720
  } & {
1688
1721
  outputSchema?: import("ai").FlexibleSchema<{
1722
+ suggestedPaths?: string[] | undefined;
1689
1723
  ok: boolean;
1690
1724
  toolName: string;
1691
1725
  path: string | undefined;
@@ -1752,6 +1786,7 @@ export declare const hazeTools: {
1752
1786
  includeIgnored: boolean;
1753
1787
  glob?: string | undefined;
1754
1788
  }, {
1789
+ suggestedPaths?: string[] | undefined;
1755
1790
  ok: boolean;
1756
1791
  toolName: string;
1757
1792
  path: string | undefined;
@@ -1842,6 +1877,7 @@ export declare const hazeTools: {
1842
1877
  includeIgnored: boolean;
1843
1878
  glob?: string | undefined;
1844
1879
  }, {
1880
+ suggestedPaths?: string[] | undefined;
1845
1881
  ok: boolean;
1846
1882
  toolName: string;
1847
1883
  path: string | undefined;
@@ -1949,6 +1985,7 @@ export declare const hazeTools: {
1949
1985
  glob?: string | undefined;
1950
1986
  };
1951
1987
  output: NoInfer<{
1988
+ suggestedPaths?: string[] | undefined;
1952
1989
  ok: boolean;
1953
1990
  toolName: string;
1954
1991
  path: string | undefined;
@@ -2009,6 +2046,7 @@ export declare const hazeTools: {
2009
2046
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
2010
2047
  } & {
2011
2048
  outputSchema?: import("ai").FlexibleSchema<{
2049
+ suggestedPaths?: string[] | undefined;
2012
2050
  ok: boolean;
2013
2051
  toolName: string;
2014
2052
  path: string | undefined;
@@ -2075,6 +2113,7 @@ export declare const hazeTools: {
2075
2113
  includeIgnored: boolean;
2076
2114
  glob?: string | undefined;
2077
2115
  }, {
2116
+ suggestedPaths?: string[] | undefined;
2078
2117
  ok: boolean;
2079
2118
  toolName: string;
2080
2119
  path: string | undefined;
@@ -2165,6 +2204,7 @@ export declare const hazeTools: {
2165
2204
  includeIgnored: boolean;
2166
2205
  glob?: string | undefined;
2167
2206
  }, {
2207
+ suggestedPaths?: string[] | undefined;
2168
2208
  ok: boolean;
2169
2209
  toolName: string;
2170
2210
  path: string | undefined;
@@ -2272,6 +2312,7 @@ export declare const hazeTools: {
2272
2312
  glob?: string | undefined;
2273
2313
  };
2274
2314
  output: NoInfer<{
2315
+ suggestedPaths?: string[] | undefined;
2275
2316
  ok: boolean;
2276
2317
  toolName: string;
2277
2318
  path: string | undefined;
@@ -2332,6 +2373,7 @@ export declare const hazeTools: {
2332
2373
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
2333
2374
  } & {
2334
2375
  outputSchema?: import("ai").FlexibleSchema<{
2376
+ suggestedPaths?: string[] | undefined;
2335
2377
  ok: boolean;
2336
2378
  toolName: string;
2337
2379
  path: string | undefined;
@@ -2398,6 +2440,7 @@ export declare const hazeTools: {
2398
2440
  includeIgnored: boolean;
2399
2441
  glob?: string | undefined;
2400
2442
  }, {
2443
+ suggestedPaths?: string[] | undefined;
2401
2444
  ok: boolean;
2402
2445
  toolName: string;
2403
2446
  path: string | undefined;
@@ -2475,6 +2518,7 @@ export declare const hazeTools: {
2475
2518
  includeIgnored: boolean;
2476
2519
  glob?: string | undefined;
2477
2520
  }, {
2521
+ suggestedPaths?: string[] | undefined;
2478
2522
  ok: boolean;
2479
2523
  toolName: string;
2480
2524
  path: string | undefined;
@@ -2582,6 +2626,7 @@ export declare const hazeTools: {
2582
2626
  glob?: string | undefined;
2583
2627
  };
2584
2628
  output: NoInfer<{
2629
+ suggestedPaths?: string[] | undefined;
2585
2630
  ok: boolean;
2586
2631
  toolName: string;
2587
2632
  path: string | undefined;
@@ -2642,6 +2687,7 @@ export declare const hazeTools: {
2642
2687
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
2643
2688
  } & {
2644
2689
  outputSchema?: import("ai").FlexibleSchema<{
2690
+ suggestedPaths?: string[] | undefined;
2645
2691
  ok: boolean;
2646
2692
  toolName: string;
2647
2693
  path: string | undefined;
@@ -2708,6 +2754,7 @@ export declare const hazeTools: {
2708
2754
  includeIgnored: boolean;
2709
2755
  glob?: string | undefined;
2710
2756
  }, {
2757
+ suggestedPaths?: string[] | undefined;
2711
2758
  ok: boolean;
2712
2759
  toolName: string;
2713
2760
  path: string | undefined;
@@ -2785,6 +2832,7 @@ export declare const hazeTools: {
2785
2832
  includeIgnored: boolean;
2786
2833
  glob?: string | undefined;
2787
2834
  }, {
2835
+ suggestedPaths?: string[] | undefined;
2788
2836
  ok: boolean;
2789
2837
  toolName: string;
2790
2838
  path: string | undefined;
@@ -2885,6 +2933,7 @@ export declare const hazeTools: {
2885
2933
  allowIgnored: boolean;
2886
2934
  };
2887
2935
  output: NoInfer<{
2936
+ suggestedPaths?: string[] | undefined;
2888
2937
  ok: boolean;
2889
2938
  toolName: string;
2890
2939
  path: string | undefined;
@@ -2909,6 +2958,11 @@ export declare const hazeTools: {
2909
2958
  toolName: string;
2910
2959
  reason: string;
2911
2960
  } | {
2961
+ diffHandle?: string | undefined;
2962
+ diffLineCount: number;
2963
+ diff: ToolDiffLine[];
2964
+ diffTruncated: boolean;
2965
+ diffOmittedLines: number;
2912
2966
  ok: boolean;
2913
2967
  path: string;
2914
2968
  startLine: number;
@@ -2917,14 +2971,14 @@ export declare const hazeTools: {
2917
2971
  endLineClamped: boolean;
2918
2972
  replacementLines: number;
2919
2973
  appended: boolean;
2974
+ noChange: boolean;
2920
2975
  addedLines: number;
2921
2976
  removedLines: number;
2922
- diffLineCount: number;
2923
- diff: ToolDiffLine[] | undefined;
2924
2977
  }>;
2925
2978
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
2926
2979
  } & {
2927
2980
  outputSchema?: import("ai").FlexibleSchema<{
2981
+ suggestedPaths?: string[] | undefined;
2928
2982
  ok: boolean;
2929
2983
  toolName: string;
2930
2984
  path: string | undefined;
@@ -2949,6 +3003,11 @@ export declare const hazeTools: {
2949
3003
  toolName: string;
2950
3004
  reason: string;
2951
3005
  } | {
3006
+ diffHandle?: string | undefined;
3007
+ diffLineCount: number;
3008
+ diff: ToolDiffLine[];
3009
+ diffTruncated: boolean;
3010
+ diffOmittedLines: number;
2952
3011
  ok: boolean;
2953
3012
  path: string;
2954
3013
  startLine: number;
@@ -2957,10 +3016,9 @@ export declare const hazeTools: {
2957
3016
  endLineClamped: boolean;
2958
3017
  replacementLines: number;
2959
3018
  appended: boolean;
3019
+ noChange: boolean;
2960
3020
  addedLines: number;
2961
3021
  removedLines: number;
2962
- diffLineCount: number;
2963
- diff: ToolDiffLine[] | undefined;
2964
3022
  }> | undefined;
2965
3023
  execute: import("ai").ToolExecuteFunction<{
2966
3024
  path: string;
@@ -2969,6 +3027,7 @@ export declare const hazeTools: {
2969
3027
  content: string;
2970
3028
  allowIgnored: boolean;
2971
3029
  }, {
3030
+ suggestedPaths?: string[] | undefined;
2972
3031
  ok: boolean;
2973
3032
  toolName: string;
2974
3033
  path: string | undefined;
@@ -2993,6 +3052,11 @@ export declare const hazeTools: {
2993
3052
  toolName: string;
2994
3053
  reason: string;
2995
3054
  } | {
3055
+ diffHandle?: string | undefined;
3056
+ diffLineCount: number;
3057
+ diff: ToolDiffLine[];
3058
+ diffTruncated: boolean;
3059
+ diffOmittedLines: number;
2996
3060
  ok: boolean;
2997
3061
  path: string;
2998
3062
  startLine: number;
@@ -3001,10 +3065,9 @@ export declare const hazeTools: {
3001
3065
  endLineClamped: boolean;
3002
3066
  replacementLines: number;
3003
3067
  appended: boolean;
3068
+ noChange: boolean;
3004
3069
  addedLines: number;
3005
3070
  removedLines: number;
3006
- diffLineCount: number;
3007
- diff: ToolDiffLine[] | undefined;
3008
3071
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
3009
3072
  } & {
3010
3073
  description?: string | ((options: {
@@ -3035,6 +3098,7 @@ export declare const hazeTools: {
3035
3098
  content: string;
3036
3099
  allowIgnored: boolean;
3037
3100
  }, {
3101
+ suggestedPaths?: string[] | undefined;
3038
3102
  ok: boolean;
3039
3103
  toolName: string;
3040
3104
  path: string | undefined;
@@ -3059,6 +3123,11 @@ export declare const hazeTools: {
3059
3123
  toolName: string;
3060
3124
  reason: string;
3061
3125
  } | {
3126
+ diffHandle?: string | undefined;
3127
+ diffLineCount: number;
3128
+ diff: ToolDiffLine[];
3129
+ diffTruncated: boolean;
3130
+ diffOmittedLines: number;
3062
3131
  ok: boolean;
3063
3132
  path: string;
3064
3133
  startLine: number;
@@ -3067,10 +3136,9 @@ export declare const hazeTools: {
3067
3136
  endLineClamped: boolean;
3068
3137
  replacementLines: number;
3069
3138
  appended: boolean;
3139
+ noChange: boolean;
3070
3140
  addedLines: number;
3071
3141
  removedLines: number;
3072
- diffLineCount: number;
3073
- diff: ToolDiffLine[] | undefined;
3074
3142
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
3075
3143
  }) | ({
3076
3144
  title?: string;
@@ -3114,6 +3182,7 @@ export declare const hazeTools: {
3114
3182
  allowIgnored: boolean;
3115
3183
  };
3116
3184
  output: NoInfer<{
3185
+ suggestedPaths?: string[] | undefined;
3117
3186
  ok: boolean;
3118
3187
  toolName: string;
3119
3188
  path: string | undefined;
@@ -3138,6 +3207,11 @@ export declare const hazeTools: {
3138
3207
  toolName: string;
3139
3208
  reason: string;
3140
3209
  } | {
3210
+ diffHandle?: string | undefined;
3211
+ diffLineCount: number;
3212
+ diff: ToolDiffLine[];
3213
+ diffTruncated: boolean;
3214
+ diffOmittedLines: number;
3141
3215
  ok: boolean;
3142
3216
  path: string;
3143
3217
  startLine: number;
@@ -3146,14 +3220,14 @@ export declare const hazeTools: {
3146
3220
  endLineClamped: boolean;
3147
3221
  replacementLines: number;
3148
3222
  appended: boolean;
3223
+ noChange: boolean;
3149
3224
  addedLines: number;
3150
3225
  removedLines: number;
3151
- diffLineCount: number;
3152
- diff: ToolDiffLine[] | undefined;
3153
3226
  }>;
3154
3227
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
3155
3228
  } & {
3156
3229
  outputSchema?: import("ai").FlexibleSchema<{
3230
+ suggestedPaths?: string[] | undefined;
3157
3231
  ok: boolean;
3158
3232
  toolName: string;
3159
3233
  path: string | undefined;
@@ -3178,6 +3252,11 @@ export declare const hazeTools: {
3178
3252
  toolName: string;
3179
3253
  reason: string;
3180
3254
  } | {
3255
+ diffHandle?: string | undefined;
3256
+ diffLineCount: number;
3257
+ diff: ToolDiffLine[];
3258
+ diffTruncated: boolean;
3259
+ diffOmittedLines: number;
3181
3260
  ok: boolean;
3182
3261
  path: string;
3183
3262
  startLine: number;
@@ -3186,10 +3265,9 @@ export declare const hazeTools: {
3186
3265
  endLineClamped: boolean;
3187
3266
  replacementLines: number;
3188
3267
  appended: boolean;
3268
+ noChange: boolean;
3189
3269
  addedLines: number;
3190
3270
  removedLines: number;
3191
- diffLineCount: number;
3192
- diff: ToolDiffLine[] | undefined;
3193
3271
  }> | undefined;
3194
3272
  execute: import("ai").ToolExecuteFunction<{
3195
3273
  path: string;
@@ -3198,6 +3276,7 @@ export declare const hazeTools: {
3198
3276
  content: string;
3199
3277
  allowIgnored: boolean;
3200
3278
  }, {
3279
+ suggestedPaths?: string[] | undefined;
3201
3280
  ok: boolean;
3202
3281
  toolName: string;
3203
3282
  path: string | undefined;
@@ -3222,6 +3301,11 @@ export declare const hazeTools: {
3222
3301
  toolName: string;
3223
3302
  reason: string;
3224
3303
  } | {
3304
+ diffHandle?: string | undefined;
3305
+ diffLineCount: number;
3306
+ diff: ToolDiffLine[];
3307
+ diffTruncated: boolean;
3308
+ diffOmittedLines: number;
3225
3309
  ok: boolean;
3226
3310
  path: string;
3227
3311
  startLine: number;
@@ -3230,10 +3314,9 @@ export declare const hazeTools: {
3230
3314
  endLineClamped: boolean;
3231
3315
  replacementLines: number;
3232
3316
  appended: boolean;
3317
+ noChange: boolean;
3233
3318
  addedLines: number;
3234
3319
  removedLines: number;
3235
- diffLineCount: number;
3236
- diff: ToolDiffLine[] | undefined;
3237
3320
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
3238
3321
  } & {
3239
3322
  description?: string | ((options: {
@@ -3264,6 +3347,7 @@ export declare const hazeTools: {
3264
3347
  content: string;
3265
3348
  allowIgnored: boolean;
3266
3349
  }, {
3350
+ suggestedPaths?: string[] | undefined;
3267
3351
  ok: boolean;
3268
3352
  toolName: string;
3269
3353
  path: string | undefined;
@@ -3288,6 +3372,11 @@ export declare const hazeTools: {
3288
3372
  toolName: string;
3289
3373
  reason: string;
3290
3374
  } | {
3375
+ diffHandle?: string | undefined;
3376
+ diffLineCount: number;
3377
+ diff: ToolDiffLine[];
3378
+ diffTruncated: boolean;
3379
+ diffOmittedLines: number;
3291
3380
  ok: boolean;
3292
3381
  path: string;
3293
3382
  startLine: number;
@@ -3296,10 +3385,9 @@ export declare const hazeTools: {
3296
3385
  endLineClamped: boolean;
3297
3386
  replacementLines: number;
3298
3387
  appended: boolean;
3388
+ noChange: boolean;
3299
3389
  addedLines: number;
3300
3390
  removedLines: number;
3301
- diffLineCount: number;
3302
- diff: ToolDiffLine[] | undefined;
3303
3391
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
3304
3392
  }) | ({
3305
3393
  title?: string;
@@ -3343,6 +3431,7 @@ export declare const hazeTools: {
3343
3431
  allowIgnored: boolean;
3344
3432
  };
3345
3433
  output: NoInfer<{
3434
+ suggestedPaths?: string[] | undefined;
3346
3435
  ok: boolean;
3347
3436
  toolName: string;
3348
3437
  path: string | undefined;
@@ -3367,6 +3456,11 @@ export declare const hazeTools: {
3367
3456
  toolName: string;
3368
3457
  reason: string;
3369
3458
  } | {
3459
+ diffHandle?: string | undefined;
3460
+ diffLineCount: number;
3461
+ diff: ToolDiffLine[];
3462
+ diffTruncated: boolean;
3463
+ diffOmittedLines: number;
3370
3464
  ok: boolean;
3371
3465
  path: string;
3372
3466
  startLine: number;
@@ -3375,14 +3469,14 @@ export declare const hazeTools: {
3375
3469
  endLineClamped: boolean;
3376
3470
  replacementLines: number;
3377
3471
  appended: boolean;
3472
+ noChange: boolean;
3378
3473
  addedLines: number;
3379
3474
  removedLines: number;
3380
- diffLineCount: number;
3381
- diff: ToolDiffLine[] | undefined;
3382
3475
  }>;
3383
3476
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
3384
3477
  } & {
3385
3478
  outputSchema?: import("ai").FlexibleSchema<{
3479
+ suggestedPaths?: string[] | undefined;
3386
3480
  ok: boolean;
3387
3481
  toolName: string;
3388
3482
  path: string | undefined;
@@ -3407,6 +3501,11 @@ export declare const hazeTools: {
3407
3501
  toolName: string;
3408
3502
  reason: string;
3409
3503
  } | {
3504
+ diffHandle?: string | undefined;
3505
+ diffLineCount: number;
3506
+ diff: ToolDiffLine[];
3507
+ diffTruncated: boolean;
3508
+ diffOmittedLines: number;
3410
3509
  ok: boolean;
3411
3510
  path: string;
3412
3511
  startLine: number;
@@ -3415,10 +3514,9 @@ export declare const hazeTools: {
3415
3514
  endLineClamped: boolean;
3416
3515
  replacementLines: number;
3417
3516
  appended: boolean;
3517
+ noChange: boolean;
3418
3518
  addedLines: number;
3419
3519
  removedLines: number;
3420
- diffLineCount: number;
3421
- diff: ToolDiffLine[] | undefined;
3422
3520
  }> | undefined;
3423
3521
  execute: import("ai").ToolExecuteFunction<{
3424
3522
  path: string;
@@ -3427,6 +3525,7 @@ export declare const hazeTools: {
3427
3525
  content: string;
3428
3526
  allowIgnored: boolean;
3429
3527
  }, {
3528
+ suggestedPaths?: string[] | undefined;
3430
3529
  ok: boolean;
3431
3530
  toolName: string;
3432
3531
  path: string | undefined;
@@ -3451,6 +3550,11 @@ export declare const hazeTools: {
3451
3550
  toolName: string;
3452
3551
  reason: string;
3453
3552
  } | {
3553
+ diffHandle?: string | undefined;
3554
+ diffLineCount: number;
3555
+ diff: ToolDiffLine[];
3556
+ diffTruncated: boolean;
3557
+ diffOmittedLines: number;
3454
3558
  ok: boolean;
3455
3559
  path: string;
3456
3560
  startLine: number;
@@ -3459,10 +3563,9 @@ export declare const hazeTools: {
3459
3563
  endLineClamped: boolean;
3460
3564
  replacementLines: number;
3461
3565
  appended: boolean;
3566
+ noChange: boolean;
3462
3567
  addedLines: number;
3463
3568
  removedLines: number;
3464
- diffLineCount: number;
3465
- diff: ToolDiffLine[] | undefined;
3466
3569
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
3467
3570
  } & {
3468
3571
  type: "provider";
@@ -3482,6 +3585,7 @@ export declare const hazeTools: {
3482
3585
  content: string;
3483
3586
  allowIgnored: boolean;
3484
3587
  }, {
3588
+ suggestedPaths?: string[] | undefined;
3485
3589
  ok: boolean;
3486
3590
  toolName: string;
3487
3591
  path: string | undefined;
@@ -3506,6 +3610,11 @@ export declare const hazeTools: {
3506
3610
  toolName: string;
3507
3611
  reason: string;
3508
3612
  } | {
3613
+ diffHandle?: string | undefined;
3614
+ diffLineCount: number;
3615
+ diff: ToolDiffLine[];
3616
+ diffTruncated: boolean;
3617
+ diffOmittedLines: number;
3509
3618
  ok: boolean;
3510
3619
  path: string;
3511
3620
  startLine: number;
@@ -3514,10 +3623,9 @@ export declare const hazeTools: {
3514
3623
  endLineClamped: boolean;
3515
3624
  replacementLines: number;
3516
3625
  appended: boolean;
3626
+ noChange: boolean;
3517
3627
  addedLines: number;
3518
3628
  removedLines: number;
3519
- diffLineCount: number;
3520
- diff: ToolDiffLine[] | undefined;
3521
3629
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
3522
3630
  }) | ({
3523
3631
  title?: string;
@@ -3561,6 +3669,7 @@ export declare const hazeTools: {
3561
3669
  allowIgnored: boolean;
3562
3670
  };
3563
3671
  output: NoInfer<{
3672
+ suggestedPaths?: string[] | undefined;
3564
3673
  ok: boolean;
3565
3674
  toolName: string;
3566
3675
  path: string | undefined;
@@ -3585,6 +3694,11 @@ export declare const hazeTools: {
3585
3694
  toolName: string;
3586
3695
  reason: string;
3587
3696
  } | {
3697
+ diffHandle?: string | undefined;
3698
+ diffLineCount: number;
3699
+ diff: ToolDiffLine[];
3700
+ diffTruncated: boolean;
3701
+ diffOmittedLines: number;
3588
3702
  ok: boolean;
3589
3703
  path: string;
3590
3704
  startLine: number;
@@ -3593,14 +3707,14 @@ export declare const hazeTools: {
3593
3707
  endLineClamped: boolean;
3594
3708
  replacementLines: number;
3595
3709
  appended: boolean;
3710
+ noChange: boolean;
3596
3711
  addedLines: number;
3597
3712
  removedLines: number;
3598
- diffLineCount: number;
3599
- diff: ToolDiffLine[] | undefined;
3600
3713
  }>;
3601
3714
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
3602
3715
  } & {
3603
3716
  outputSchema?: import("ai").FlexibleSchema<{
3717
+ suggestedPaths?: string[] | undefined;
3604
3718
  ok: boolean;
3605
3719
  toolName: string;
3606
3720
  path: string | undefined;
@@ -3625,6 +3739,11 @@ export declare const hazeTools: {
3625
3739
  toolName: string;
3626
3740
  reason: string;
3627
3741
  } | {
3742
+ diffHandle?: string | undefined;
3743
+ diffLineCount: number;
3744
+ diff: ToolDiffLine[];
3745
+ diffTruncated: boolean;
3746
+ diffOmittedLines: number;
3628
3747
  ok: boolean;
3629
3748
  path: string;
3630
3749
  startLine: number;
@@ -3633,10 +3752,9 @@ export declare const hazeTools: {
3633
3752
  endLineClamped: boolean;
3634
3753
  replacementLines: number;
3635
3754
  appended: boolean;
3755
+ noChange: boolean;
3636
3756
  addedLines: number;
3637
3757
  removedLines: number;
3638
- diffLineCount: number;
3639
- diff: ToolDiffLine[] | undefined;
3640
3758
  }> | undefined;
3641
3759
  execute: import("ai").ToolExecuteFunction<{
3642
3760
  path: string;
@@ -3645,6 +3763,7 @@ export declare const hazeTools: {
3645
3763
  content: string;
3646
3764
  allowIgnored: boolean;
3647
3765
  }, {
3766
+ suggestedPaths?: string[] | undefined;
3648
3767
  ok: boolean;
3649
3768
  toolName: string;
3650
3769
  path: string | undefined;
@@ -3669,6 +3788,11 @@ export declare const hazeTools: {
3669
3788
  toolName: string;
3670
3789
  reason: string;
3671
3790
  } | {
3791
+ diffHandle?: string | undefined;
3792
+ diffLineCount: number;
3793
+ diff: ToolDiffLine[];
3794
+ diffTruncated: boolean;
3795
+ diffOmittedLines: number;
3672
3796
  ok: boolean;
3673
3797
  path: string;
3674
3798
  startLine: number;
@@ -3677,10 +3801,9 @@ export declare const hazeTools: {
3677
3801
  endLineClamped: boolean;
3678
3802
  replacementLines: number;
3679
3803
  appended: boolean;
3804
+ noChange: boolean;
3680
3805
  addedLines: number;
3681
3806
  removedLines: number;
3682
- diffLineCount: number;
3683
- diff: ToolDiffLine[] | undefined;
3684
3807
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
3685
3808
  } & {
3686
3809
  type: "provider";
@@ -3700,6 +3823,7 @@ export declare const hazeTools: {
3700
3823
  content: string;
3701
3824
  allowIgnored: boolean;
3702
3825
  }, {
3826
+ suggestedPaths?: string[] | undefined;
3703
3827
  ok: boolean;
3704
3828
  toolName: string;
3705
3829
  path: string | undefined;
@@ -3724,6 +3848,11 @@ export declare const hazeTools: {
3724
3848
  toolName: string;
3725
3849
  reason: string;
3726
3850
  } | {
3851
+ diffHandle?: string | undefined;
3852
+ diffLineCount: number;
3853
+ diff: ToolDiffLine[];
3854
+ diffTruncated: boolean;
3855
+ diffOmittedLines: number;
3727
3856
  ok: boolean;
3728
3857
  path: string;
3729
3858
  startLine: number;
@@ -3732,10 +3861,9 @@ export declare const hazeTools: {
3732
3861
  endLineClamped: boolean;
3733
3862
  replacementLines: number;
3734
3863
  appended: boolean;
3864
+ noChange: boolean;
3735
3865
  addedLines: number;
3736
3866
  removedLines: number;
3737
- diffLineCount: number;
3738
- diff: ToolDiffLine[] | undefined;
3739
3867
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
3740
3868
  });
3741
3869
  writeFile: ({
@@ -3746,6 +3874,7 @@ export declare const hazeTools: {
3746
3874
  path: string;
3747
3875
  content: string;
3748
3876
  overwriteExisting: boolean;
3877
+ append: boolean;
3749
3878
  allowIgnored: boolean;
3750
3879
  }>;
3751
3880
  contextSchema?: import("ai").FlexibleSchema<import("./tools/toolContext.js").HazeToolContext> | undefined;
@@ -3753,6 +3882,7 @@ export declare const hazeTools: {
3753
3882
  path: string;
3754
3883
  content: string;
3755
3884
  overwriteExisting: boolean;
3885
+ append: boolean;
3756
3886
  allowIgnored: boolean;
3757
3887
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>> | undefined;
3758
3888
  onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContext.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
@@ -3764,6 +3894,7 @@ export declare const hazeTools: {
3764
3894
  path: string;
3765
3895
  content: string;
3766
3896
  overwriteExisting: boolean;
3897
+ append: boolean;
3767
3898
  allowIgnored: boolean;
3768
3899
  };
3769
3900
  } & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContext.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
@@ -3773,9 +3904,11 @@ export declare const hazeTools: {
3773
3904
  path: string;
3774
3905
  content: string;
3775
3906
  overwriteExisting: boolean;
3907
+ append: boolean;
3776
3908
  allowIgnored: boolean;
3777
3909
  };
3778
3910
  output: NoInfer<{
3911
+ suggestedPaths?: string[] | undefined;
3779
3912
  ok: boolean;
3780
3913
  toolName: string;
3781
3914
  path: string | undefined;
@@ -3800,14 +3933,26 @@ export declare const hazeTools: {
3800
3933
  toolName: string;
3801
3934
  reason: string;
3802
3935
  } | {
3936
+ diffHandle?: string | undefined;
3937
+ diffLineCount: number;
3938
+ diff: ToolDiffLine[];
3939
+ diffTruncated: boolean;
3940
+ diffOmittedLines: number;
3941
+ previousContentOmittedBytes?: number | undefined;
3803
3942
  ok: boolean;
3804
3943
  path: string;
3805
3944
  bytes: number;
3806
3945
  overwritten: boolean;
3946
+ appended: boolean;
3947
+ noChange: boolean;
3948
+ addedLines: number;
3949
+ removedLines: number;
3950
+ diffComplete: boolean;
3807
3951
  }>;
3808
3952
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
3809
3953
  } & {
3810
3954
  outputSchema?: import("ai").FlexibleSchema<{
3955
+ suggestedPaths?: string[] | undefined;
3811
3956
  ok: boolean;
3812
3957
  toolName: string;
3813
3958
  path: string | undefined;
@@ -3832,17 +3977,30 @@ export declare const hazeTools: {
3832
3977
  toolName: string;
3833
3978
  reason: string;
3834
3979
  } | {
3980
+ diffHandle?: string | undefined;
3981
+ diffLineCount: number;
3982
+ diff: ToolDiffLine[];
3983
+ diffTruncated: boolean;
3984
+ diffOmittedLines: number;
3985
+ previousContentOmittedBytes?: number | undefined;
3835
3986
  ok: boolean;
3836
3987
  path: string;
3837
3988
  bytes: number;
3838
3989
  overwritten: boolean;
3990
+ appended: boolean;
3991
+ noChange: boolean;
3992
+ addedLines: number;
3993
+ removedLines: number;
3994
+ diffComplete: boolean;
3839
3995
  }> | undefined;
3840
3996
  execute: import("ai").ToolExecuteFunction<{
3841
3997
  path: string;
3842
3998
  content: string;
3843
3999
  overwriteExisting: boolean;
4000
+ append: boolean;
3844
4001
  allowIgnored: boolean;
3845
4002
  }, {
4003
+ suggestedPaths?: string[] | undefined;
3846
4004
  ok: boolean;
3847
4005
  toolName: string;
3848
4006
  path: string | undefined;
@@ -3867,10 +4025,21 @@ export declare const hazeTools: {
3867
4025
  toolName: string;
3868
4026
  reason: string;
3869
4027
  } | {
4028
+ diffHandle?: string | undefined;
4029
+ diffLineCount: number;
4030
+ diff: ToolDiffLine[];
4031
+ diffTruncated: boolean;
4032
+ diffOmittedLines: number;
4033
+ previousContentOmittedBytes?: number | undefined;
3870
4034
  ok: boolean;
3871
4035
  path: string;
3872
4036
  bytes: number;
3873
4037
  overwritten: boolean;
4038
+ appended: boolean;
4039
+ noChange: boolean;
4040
+ addedLines: number;
4041
+ removedLines: number;
4042
+ diffComplete: boolean;
3874
4043
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
3875
4044
  } & {
3876
4045
  description?: string | ((options: {
@@ -3883,6 +4052,7 @@ export declare const hazeTools: {
3883
4052
  path: string;
3884
4053
  content: string;
3885
4054
  overwriteExisting: boolean;
4055
+ append: boolean;
3886
4056
  allowIgnored: boolean;
3887
4057
  }>;
3888
4058
  }[] | undefined;
@@ -3897,8 +4067,10 @@ export declare const hazeTools: {
3897
4067
  path: string;
3898
4068
  content: string;
3899
4069
  overwriteExisting: boolean;
4070
+ append: boolean;
3900
4071
  allowIgnored: boolean;
3901
4072
  }, {
4073
+ suggestedPaths?: string[] | undefined;
3902
4074
  ok: boolean;
3903
4075
  toolName: string;
3904
4076
  path: string | undefined;
@@ -3923,10 +4095,21 @@ export declare const hazeTools: {
3923
4095
  toolName: string;
3924
4096
  reason: string;
3925
4097
  } | {
4098
+ diffHandle?: string | undefined;
4099
+ diffLineCount: number;
4100
+ diff: ToolDiffLine[];
4101
+ diffTruncated: boolean;
4102
+ diffOmittedLines: number;
4103
+ previousContentOmittedBytes?: number | undefined;
3926
4104
  ok: boolean;
3927
4105
  path: string;
3928
4106
  bytes: number;
3929
4107
  overwritten: boolean;
4108
+ appended: boolean;
4109
+ noChange: boolean;
4110
+ addedLines: number;
4111
+ removedLines: number;
4112
+ diffComplete: boolean;
3930
4113
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
3931
4114
  }) | ({
3932
4115
  title?: string;
@@ -3936,6 +4119,7 @@ export declare const hazeTools: {
3936
4119
  path: string;
3937
4120
  content: string;
3938
4121
  overwriteExisting: boolean;
4122
+ append: boolean;
3939
4123
  allowIgnored: boolean;
3940
4124
  }>;
3941
4125
  contextSchema?: import("ai").FlexibleSchema<import("./tools/toolContext.js").HazeToolContext> | undefined;
@@ -3943,6 +4127,7 @@ export declare const hazeTools: {
3943
4127
  path: string;
3944
4128
  content: string;
3945
4129
  overwriteExisting: boolean;
4130
+ append: boolean;
3946
4131
  allowIgnored: boolean;
3947
4132
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>> | undefined;
3948
4133
  onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContext.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
@@ -3954,6 +4139,7 @@ export declare const hazeTools: {
3954
4139
  path: string;
3955
4140
  content: string;
3956
4141
  overwriteExisting: boolean;
4142
+ append: boolean;
3957
4143
  allowIgnored: boolean;
3958
4144
  };
3959
4145
  } & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContext.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
@@ -3963,9 +4149,11 @@ export declare const hazeTools: {
3963
4149
  path: string;
3964
4150
  content: string;
3965
4151
  overwriteExisting: boolean;
4152
+ append: boolean;
3966
4153
  allowIgnored: boolean;
3967
4154
  };
3968
4155
  output: NoInfer<{
4156
+ suggestedPaths?: string[] | undefined;
3969
4157
  ok: boolean;
3970
4158
  toolName: string;
3971
4159
  path: string | undefined;
@@ -3990,14 +4178,26 @@ export declare const hazeTools: {
3990
4178
  toolName: string;
3991
4179
  reason: string;
3992
4180
  } | {
4181
+ diffHandle?: string | undefined;
4182
+ diffLineCount: number;
4183
+ diff: ToolDiffLine[];
4184
+ diffTruncated: boolean;
4185
+ diffOmittedLines: number;
4186
+ previousContentOmittedBytes?: number | undefined;
3993
4187
  ok: boolean;
3994
4188
  path: string;
3995
4189
  bytes: number;
3996
4190
  overwritten: boolean;
4191
+ appended: boolean;
4192
+ noChange: boolean;
4193
+ addedLines: number;
4194
+ removedLines: number;
4195
+ diffComplete: boolean;
3997
4196
  }>;
3998
4197
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
3999
4198
  } & {
4000
4199
  outputSchema?: import("ai").FlexibleSchema<{
4200
+ suggestedPaths?: string[] | undefined;
4001
4201
  ok: boolean;
4002
4202
  toolName: string;
4003
4203
  path: string | undefined;
@@ -4022,17 +4222,30 @@ export declare const hazeTools: {
4022
4222
  toolName: string;
4023
4223
  reason: string;
4024
4224
  } | {
4225
+ diffHandle?: string | undefined;
4226
+ diffLineCount: number;
4227
+ diff: ToolDiffLine[];
4228
+ diffTruncated: boolean;
4229
+ diffOmittedLines: number;
4230
+ previousContentOmittedBytes?: number | undefined;
4025
4231
  ok: boolean;
4026
4232
  path: string;
4027
4233
  bytes: number;
4028
4234
  overwritten: boolean;
4235
+ appended: boolean;
4236
+ noChange: boolean;
4237
+ addedLines: number;
4238
+ removedLines: number;
4239
+ diffComplete: boolean;
4029
4240
  }> | undefined;
4030
4241
  execute: import("ai").ToolExecuteFunction<{
4031
4242
  path: string;
4032
4243
  content: string;
4033
4244
  overwriteExisting: boolean;
4245
+ append: boolean;
4034
4246
  allowIgnored: boolean;
4035
4247
  }, {
4248
+ suggestedPaths?: string[] | undefined;
4036
4249
  ok: boolean;
4037
4250
  toolName: string;
4038
4251
  path: string | undefined;
@@ -4057,10 +4270,21 @@ export declare const hazeTools: {
4057
4270
  toolName: string;
4058
4271
  reason: string;
4059
4272
  } | {
4273
+ diffHandle?: string | undefined;
4274
+ diffLineCount: number;
4275
+ diff: ToolDiffLine[];
4276
+ diffTruncated: boolean;
4277
+ diffOmittedLines: number;
4278
+ previousContentOmittedBytes?: number | undefined;
4060
4279
  ok: boolean;
4061
4280
  path: string;
4062
4281
  bytes: number;
4063
4282
  overwritten: boolean;
4283
+ appended: boolean;
4284
+ noChange: boolean;
4285
+ addedLines: number;
4286
+ removedLines: number;
4287
+ diffComplete: boolean;
4064
4288
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
4065
4289
  } & {
4066
4290
  description?: string | ((options: {
@@ -4073,6 +4297,7 @@ export declare const hazeTools: {
4073
4297
  path: string;
4074
4298
  content: string;
4075
4299
  overwriteExisting: boolean;
4300
+ append: boolean;
4076
4301
  allowIgnored: boolean;
4077
4302
  }>;
4078
4303
  }[] | undefined;
@@ -4087,8 +4312,10 @@ export declare const hazeTools: {
4087
4312
  path: string;
4088
4313
  content: string;
4089
4314
  overwriteExisting: boolean;
4315
+ append: boolean;
4090
4316
  allowIgnored: boolean;
4091
4317
  }, {
4318
+ suggestedPaths?: string[] | undefined;
4092
4319
  ok: boolean;
4093
4320
  toolName: string;
4094
4321
  path: string | undefined;
@@ -4113,10 +4340,21 @@ export declare const hazeTools: {
4113
4340
  toolName: string;
4114
4341
  reason: string;
4115
4342
  } | {
4343
+ diffHandle?: string | undefined;
4344
+ diffLineCount: number;
4345
+ diff: ToolDiffLine[];
4346
+ diffTruncated: boolean;
4347
+ diffOmittedLines: number;
4348
+ previousContentOmittedBytes?: number | undefined;
4116
4349
  ok: boolean;
4117
4350
  path: string;
4118
4351
  bytes: number;
4119
4352
  overwritten: boolean;
4353
+ appended: boolean;
4354
+ noChange: boolean;
4355
+ addedLines: number;
4356
+ removedLines: number;
4357
+ diffComplete: boolean;
4120
4358
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
4121
4359
  }) | ({
4122
4360
  title?: string;
@@ -4126,6 +4364,7 @@ export declare const hazeTools: {
4126
4364
  path: string;
4127
4365
  content: string;
4128
4366
  overwriteExisting: boolean;
4367
+ append: boolean;
4129
4368
  allowIgnored: boolean;
4130
4369
  }>;
4131
4370
  contextSchema?: import("ai").FlexibleSchema<import("./tools/toolContext.js").HazeToolContext> | undefined;
@@ -4133,6 +4372,7 @@ export declare const hazeTools: {
4133
4372
  path: string;
4134
4373
  content: string;
4135
4374
  overwriteExisting: boolean;
4375
+ append: boolean;
4136
4376
  allowIgnored: boolean;
4137
4377
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>> | undefined;
4138
4378
  onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContext.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
@@ -4144,6 +4384,7 @@ export declare const hazeTools: {
4144
4384
  path: string;
4145
4385
  content: string;
4146
4386
  overwriteExisting: boolean;
4387
+ append: boolean;
4147
4388
  allowIgnored: boolean;
4148
4389
  };
4149
4390
  } & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContext.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
@@ -4153,9 +4394,11 @@ export declare const hazeTools: {
4153
4394
  path: string;
4154
4395
  content: string;
4155
4396
  overwriteExisting: boolean;
4397
+ append: boolean;
4156
4398
  allowIgnored: boolean;
4157
4399
  };
4158
4400
  output: NoInfer<{
4401
+ suggestedPaths?: string[] | undefined;
4159
4402
  ok: boolean;
4160
4403
  toolName: string;
4161
4404
  path: string | undefined;
@@ -4180,14 +4423,26 @@ export declare const hazeTools: {
4180
4423
  toolName: string;
4181
4424
  reason: string;
4182
4425
  } | {
4426
+ diffHandle?: string | undefined;
4427
+ diffLineCount: number;
4428
+ diff: ToolDiffLine[];
4429
+ diffTruncated: boolean;
4430
+ diffOmittedLines: number;
4431
+ previousContentOmittedBytes?: number | undefined;
4183
4432
  ok: boolean;
4184
4433
  path: string;
4185
4434
  bytes: number;
4186
4435
  overwritten: boolean;
4436
+ appended: boolean;
4437
+ noChange: boolean;
4438
+ addedLines: number;
4439
+ removedLines: number;
4440
+ diffComplete: boolean;
4187
4441
  }>;
4188
4442
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
4189
4443
  } & {
4190
4444
  outputSchema?: import("ai").FlexibleSchema<{
4445
+ suggestedPaths?: string[] | undefined;
4191
4446
  ok: boolean;
4192
4447
  toolName: string;
4193
4448
  path: string | undefined;
@@ -4212,17 +4467,30 @@ export declare const hazeTools: {
4212
4467
  toolName: string;
4213
4468
  reason: string;
4214
4469
  } | {
4470
+ diffHandle?: string | undefined;
4471
+ diffLineCount: number;
4472
+ diff: ToolDiffLine[];
4473
+ diffTruncated: boolean;
4474
+ diffOmittedLines: number;
4475
+ previousContentOmittedBytes?: number | undefined;
4215
4476
  ok: boolean;
4216
4477
  path: string;
4217
4478
  bytes: number;
4218
4479
  overwritten: boolean;
4480
+ appended: boolean;
4481
+ noChange: boolean;
4482
+ addedLines: number;
4483
+ removedLines: number;
4484
+ diffComplete: boolean;
4219
4485
  }> | undefined;
4220
4486
  execute: import("ai").ToolExecuteFunction<{
4221
4487
  path: string;
4222
4488
  content: string;
4223
4489
  overwriteExisting: boolean;
4490
+ append: boolean;
4224
4491
  allowIgnored: boolean;
4225
4492
  }, {
4493
+ suggestedPaths?: string[] | undefined;
4226
4494
  ok: boolean;
4227
4495
  toolName: string;
4228
4496
  path: string | undefined;
@@ -4247,10 +4515,21 @@ export declare const hazeTools: {
4247
4515
  toolName: string;
4248
4516
  reason: string;
4249
4517
  } | {
4518
+ diffHandle?: string | undefined;
4519
+ diffLineCount: number;
4520
+ diff: ToolDiffLine[];
4521
+ diffTruncated: boolean;
4522
+ diffOmittedLines: number;
4523
+ previousContentOmittedBytes?: number | undefined;
4250
4524
  ok: boolean;
4251
4525
  path: string;
4252
4526
  bytes: number;
4253
4527
  overwritten: boolean;
4528
+ appended: boolean;
4529
+ noChange: boolean;
4530
+ addedLines: number;
4531
+ removedLines: number;
4532
+ diffComplete: boolean;
4254
4533
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
4255
4534
  } & {
4256
4535
  type: "provider";
@@ -4267,8 +4546,10 @@ export declare const hazeTools: {
4267
4546
  path: string;
4268
4547
  content: string;
4269
4548
  overwriteExisting: boolean;
4549
+ append: boolean;
4270
4550
  allowIgnored: boolean;
4271
4551
  }, {
4552
+ suggestedPaths?: string[] | undefined;
4272
4553
  ok: boolean;
4273
4554
  toolName: string;
4274
4555
  path: string | undefined;
@@ -4293,10 +4574,21 @@ export declare const hazeTools: {
4293
4574
  toolName: string;
4294
4575
  reason: string;
4295
4576
  } | {
4577
+ diffHandle?: string | undefined;
4578
+ diffLineCount: number;
4579
+ diff: ToolDiffLine[];
4580
+ diffTruncated: boolean;
4581
+ diffOmittedLines: number;
4582
+ previousContentOmittedBytes?: number | undefined;
4296
4583
  ok: boolean;
4297
4584
  path: string;
4298
4585
  bytes: number;
4299
4586
  overwritten: boolean;
4587
+ appended: boolean;
4588
+ noChange: boolean;
4589
+ addedLines: number;
4590
+ removedLines: number;
4591
+ diffComplete: boolean;
4300
4592
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
4301
4593
  }) | ({
4302
4594
  title?: string;
@@ -4306,6 +4598,7 @@ export declare const hazeTools: {
4306
4598
  path: string;
4307
4599
  content: string;
4308
4600
  overwriteExisting: boolean;
4601
+ append: boolean;
4309
4602
  allowIgnored: boolean;
4310
4603
  }>;
4311
4604
  contextSchema?: import("ai").FlexibleSchema<import("./tools/toolContext.js").HazeToolContext> | undefined;
@@ -4313,6 +4606,7 @@ export declare const hazeTools: {
4313
4606
  path: string;
4314
4607
  content: string;
4315
4608
  overwriteExisting: boolean;
4609
+ append: boolean;
4316
4610
  allowIgnored: boolean;
4317
4611
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>> | undefined;
4318
4612
  onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContext.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
@@ -4324,6 +4618,7 @@ export declare const hazeTools: {
4324
4618
  path: string;
4325
4619
  content: string;
4326
4620
  overwriteExisting: boolean;
4621
+ append: boolean;
4327
4622
  allowIgnored: boolean;
4328
4623
  };
4329
4624
  } & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContext.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
@@ -4333,9 +4628,11 @@ export declare const hazeTools: {
4333
4628
  path: string;
4334
4629
  content: string;
4335
4630
  overwriteExisting: boolean;
4631
+ append: boolean;
4336
4632
  allowIgnored: boolean;
4337
4633
  };
4338
4634
  output: NoInfer<{
4635
+ suggestedPaths?: string[] | undefined;
4339
4636
  ok: boolean;
4340
4637
  toolName: string;
4341
4638
  path: string | undefined;
@@ -4360,14 +4657,26 @@ export declare const hazeTools: {
4360
4657
  toolName: string;
4361
4658
  reason: string;
4362
4659
  } | {
4660
+ diffHandle?: string | undefined;
4661
+ diffLineCount: number;
4662
+ diff: ToolDiffLine[];
4663
+ diffTruncated: boolean;
4664
+ diffOmittedLines: number;
4665
+ previousContentOmittedBytes?: number | undefined;
4363
4666
  ok: boolean;
4364
4667
  path: string;
4365
4668
  bytes: number;
4366
4669
  overwritten: boolean;
4670
+ appended: boolean;
4671
+ noChange: boolean;
4672
+ addedLines: number;
4673
+ removedLines: number;
4674
+ diffComplete: boolean;
4367
4675
  }>;
4368
4676
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
4369
4677
  } & {
4370
4678
  outputSchema?: import("ai").FlexibleSchema<{
4679
+ suggestedPaths?: string[] | undefined;
4371
4680
  ok: boolean;
4372
4681
  toolName: string;
4373
4682
  path: string | undefined;
@@ -4392,17 +4701,30 @@ export declare const hazeTools: {
4392
4701
  toolName: string;
4393
4702
  reason: string;
4394
4703
  } | {
4704
+ diffHandle?: string | undefined;
4705
+ diffLineCount: number;
4706
+ diff: ToolDiffLine[];
4707
+ diffTruncated: boolean;
4708
+ diffOmittedLines: number;
4709
+ previousContentOmittedBytes?: number | undefined;
4395
4710
  ok: boolean;
4396
4711
  path: string;
4397
4712
  bytes: number;
4398
4713
  overwritten: boolean;
4714
+ appended: boolean;
4715
+ noChange: boolean;
4716
+ addedLines: number;
4717
+ removedLines: number;
4718
+ diffComplete: boolean;
4399
4719
  }> | undefined;
4400
4720
  execute: import("ai").ToolExecuteFunction<{
4401
4721
  path: string;
4402
4722
  content: string;
4403
4723
  overwriteExisting: boolean;
4724
+ append: boolean;
4404
4725
  allowIgnored: boolean;
4405
4726
  }, {
4727
+ suggestedPaths?: string[] | undefined;
4406
4728
  ok: boolean;
4407
4729
  toolName: string;
4408
4730
  path: string | undefined;
@@ -4427,10 +4749,21 @@ export declare const hazeTools: {
4427
4749
  toolName: string;
4428
4750
  reason: string;
4429
4751
  } | {
4752
+ diffHandle?: string | undefined;
4753
+ diffLineCount: number;
4754
+ diff: ToolDiffLine[];
4755
+ diffTruncated: boolean;
4756
+ diffOmittedLines: number;
4757
+ previousContentOmittedBytes?: number | undefined;
4430
4758
  ok: boolean;
4431
4759
  path: string;
4432
4760
  bytes: number;
4433
4761
  overwritten: boolean;
4762
+ appended: boolean;
4763
+ noChange: boolean;
4764
+ addedLines: number;
4765
+ removedLines: number;
4766
+ diffComplete: boolean;
4434
4767
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
4435
4768
  } & {
4436
4769
  type: "provider";
@@ -4447,8 +4780,10 @@ export declare const hazeTools: {
4447
4780
  path: string;
4448
4781
  content: string;
4449
4782
  overwriteExisting: boolean;
4783
+ append: boolean;
4450
4784
  allowIgnored: boolean;
4451
4785
  }, {
4786
+ suggestedPaths?: string[] | undefined;
4452
4787
  ok: boolean;
4453
4788
  toolName: string;
4454
4789
  path: string | undefined;
@@ -4473,10 +4808,21 @@ export declare const hazeTools: {
4473
4808
  toolName: string;
4474
4809
  reason: string;
4475
4810
  } | {
4811
+ diffHandle?: string | undefined;
4812
+ diffLineCount: number;
4813
+ diff: ToolDiffLine[];
4814
+ diffTruncated: boolean;
4815
+ diffOmittedLines: number;
4816
+ previousContentOmittedBytes?: number | undefined;
4476
4817
  ok: boolean;
4477
4818
  path: string;
4478
4819
  bytes: number;
4479
4820
  overwritten: boolean;
4821
+ appended: boolean;
4822
+ noChange: boolean;
4823
+ addedLines: number;
4824
+ removedLines: number;
4825
+ diffComplete: boolean;
4480
4826
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
4481
4827
  });
4482
4828
  editFile: ({
@@ -4525,6 +4871,7 @@ export declare const hazeTools: {
4525
4871
  allowIgnored: boolean;
4526
4872
  };
4527
4873
  output: NoInfer<{
4874
+ suggestedPaths?: string[] | undefined;
4528
4875
  ok: boolean;
4529
4876
  toolName: string;
4530
4877
  path: string | undefined;
@@ -4549,18 +4896,23 @@ export declare const hazeTools: {
4549
4896
  toolName: string;
4550
4897
  reason: string;
4551
4898
  } | {
4899
+ diffHandle?: string | undefined;
4900
+ diffLineCount: number;
4901
+ diff: ToolDiffLine[];
4902
+ diffTruncated: boolean;
4903
+ diffOmittedLines: number;
4552
4904
  ok: boolean;
4553
4905
  path: string;
4554
4906
  edits: number;
4555
4907
  approximateMatches: number;
4908
+ noChange: boolean;
4556
4909
  addedLines: number;
4557
4910
  removedLines: number;
4558
- diffLineCount: number;
4559
- diff: ToolDiffLine[] | undefined;
4560
4911
  }>;
4561
4912
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
4562
4913
  } & {
4563
4914
  outputSchema?: import("ai").FlexibleSchema<{
4915
+ suggestedPaths?: string[] | undefined;
4564
4916
  ok: boolean;
4565
4917
  toolName: string;
4566
4918
  path: string | undefined;
@@ -4585,14 +4937,18 @@ export declare const hazeTools: {
4585
4937
  toolName: string;
4586
4938
  reason: string;
4587
4939
  } | {
4940
+ diffHandle?: string | undefined;
4941
+ diffLineCount: number;
4942
+ diff: ToolDiffLine[];
4943
+ diffTruncated: boolean;
4944
+ diffOmittedLines: number;
4588
4945
  ok: boolean;
4589
4946
  path: string;
4590
4947
  edits: number;
4591
4948
  approximateMatches: number;
4949
+ noChange: boolean;
4592
4950
  addedLines: number;
4593
4951
  removedLines: number;
4594
- diffLineCount: number;
4595
- diff: ToolDiffLine[] | undefined;
4596
4952
  }> | undefined;
4597
4953
  execute: import("ai").ToolExecuteFunction<{
4598
4954
  path: string;
@@ -4602,6 +4958,7 @@ export declare const hazeTools: {
4602
4958
  }[];
4603
4959
  allowIgnored: boolean;
4604
4960
  }, {
4961
+ suggestedPaths?: string[] | undefined;
4605
4962
  ok: boolean;
4606
4963
  toolName: string;
4607
4964
  path: string | undefined;
@@ -4626,14 +4983,18 @@ export declare const hazeTools: {
4626
4983
  toolName: string;
4627
4984
  reason: string;
4628
4985
  } | {
4986
+ diffHandle?: string | undefined;
4987
+ diffLineCount: number;
4988
+ diff: ToolDiffLine[];
4989
+ diffTruncated: boolean;
4990
+ diffOmittedLines: number;
4629
4991
  ok: boolean;
4630
4992
  path: string;
4631
4993
  edits: number;
4632
4994
  approximateMatches: number;
4995
+ noChange: boolean;
4633
4996
  addedLines: number;
4634
4997
  removedLines: number;
4635
- diffLineCount: number;
4636
- diff: ToolDiffLine[] | undefined;
4637
4998
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
4638
4999
  } & {
4639
5000
  description?: string | ((options: {
@@ -4666,6 +5027,7 @@ export declare const hazeTools: {
4666
5027
  }[];
4667
5028
  allowIgnored: boolean;
4668
5029
  }, {
5030
+ suggestedPaths?: string[] | undefined;
4669
5031
  ok: boolean;
4670
5032
  toolName: string;
4671
5033
  path: string | undefined;
@@ -4690,14 +5052,18 @@ export declare const hazeTools: {
4690
5052
  toolName: string;
4691
5053
  reason: string;
4692
5054
  } | {
5055
+ diffHandle?: string | undefined;
5056
+ diffLineCount: number;
5057
+ diff: ToolDiffLine[];
5058
+ diffTruncated: boolean;
5059
+ diffOmittedLines: number;
4693
5060
  ok: boolean;
4694
5061
  path: string;
4695
5062
  edits: number;
4696
5063
  approximateMatches: number;
5064
+ noChange: boolean;
4697
5065
  addedLines: number;
4698
5066
  removedLines: number;
4699
- diffLineCount: number;
4700
- diff: ToolDiffLine[] | undefined;
4701
5067
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
4702
5068
  }) | ({
4703
5069
  title?: string;
@@ -4745,6 +5111,7 @@ export declare const hazeTools: {
4745
5111
  allowIgnored: boolean;
4746
5112
  };
4747
5113
  output: NoInfer<{
5114
+ suggestedPaths?: string[] | undefined;
4748
5115
  ok: boolean;
4749
5116
  toolName: string;
4750
5117
  path: string | undefined;
@@ -4769,18 +5136,23 @@ export declare const hazeTools: {
4769
5136
  toolName: string;
4770
5137
  reason: string;
4771
5138
  } | {
5139
+ diffHandle?: string | undefined;
5140
+ diffLineCount: number;
5141
+ diff: ToolDiffLine[];
5142
+ diffTruncated: boolean;
5143
+ diffOmittedLines: number;
4772
5144
  ok: boolean;
4773
5145
  path: string;
4774
5146
  edits: number;
4775
5147
  approximateMatches: number;
5148
+ noChange: boolean;
4776
5149
  addedLines: number;
4777
5150
  removedLines: number;
4778
- diffLineCount: number;
4779
- diff: ToolDiffLine[] | undefined;
4780
5151
  }>;
4781
5152
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
4782
5153
  } & {
4783
5154
  outputSchema?: import("ai").FlexibleSchema<{
5155
+ suggestedPaths?: string[] | undefined;
4784
5156
  ok: boolean;
4785
5157
  toolName: string;
4786
5158
  path: string | undefined;
@@ -4805,14 +5177,18 @@ export declare const hazeTools: {
4805
5177
  toolName: string;
4806
5178
  reason: string;
4807
5179
  } | {
5180
+ diffHandle?: string | undefined;
5181
+ diffLineCount: number;
5182
+ diff: ToolDiffLine[];
5183
+ diffTruncated: boolean;
5184
+ diffOmittedLines: number;
4808
5185
  ok: boolean;
4809
5186
  path: string;
4810
5187
  edits: number;
4811
5188
  approximateMatches: number;
5189
+ noChange: boolean;
4812
5190
  addedLines: number;
4813
5191
  removedLines: number;
4814
- diffLineCount: number;
4815
- diff: ToolDiffLine[] | undefined;
4816
5192
  }> | undefined;
4817
5193
  execute: import("ai").ToolExecuteFunction<{
4818
5194
  path: string;
@@ -4822,6 +5198,7 @@ export declare const hazeTools: {
4822
5198
  }[];
4823
5199
  allowIgnored: boolean;
4824
5200
  }, {
5201
+ suggestedPaths?: string[] | undefined;
4825
5202
  ok: boolean;
4826
5203
  toolName: string;
4827
5204
  path: string | undefined;
@@ -4846,14 +5223,18 @@ export declare const hazeTools: {
4846
5223
  toolName: string;
4847
5224
  reason: string;
4848
5225
  } | {
5226
+ diffHandle?: string | undefined;
5227
+ diffLineCount: number;
5228
+ diff: ToolDiffLine[];
5229
+ diffTruncated: boolean;
5230
+ diffOmittedLines: number;
4849
5231
  ok: boolean;
4850
5232
  path: string;
4851
5233
  edits: number;
4852
5234
  approximateMatches: number;
5235
+ noChange: boolean;
4853
5236
  addedLines: number;
4854
5237
  removedLines: number;
4855
- diffLineCount: number;
4856
- diff: ToolDiffLine[] | undefined;
4857
5238
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
4858
5239
  } & {
4859
5240
  description?: string | ((options: {
@@ -4886,6 +5267,7 @@ export declare const hazeTools: {
4886
5267
  }[];
4887
5268
  allowIgnored: boolean;
4888
5269
  }, {
5270
+ suggestedPaths?: string[] | undefined;
4889
5271
  ok: boolean;
4890
5272
  toolName: string;
4891
5273
  path: string | undefined;
@@ -4910,14 +5292,18 @@ export declare const hazeTools: {
4910
5292
  toolName: string;
4911
5293
  reason: string;
4912
5294
  } | {
5295
+ diffHandle?: string | undefined;
5296
+ diffLineCount: number;
5297
+ diff: ToolDiffLine[];
5298
+ diffTruncated: boolean;
5299
+ diffOmittedLines: number;
4913
5300
  ok: boolean;
4914
5301
  path: string;
4915
5302
  edits: number;
4916
5303
  approximateMatches: number;
5304
+ noChange: boolean;
4917
5305
  addedLines: number;
4918
5306
  removedLines: number;
4919
- diffLineCount: number;
4920
- diff: ToolDiffLine[] | undefined;
4921
5307
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
4922
5308
  }) | ({
4923
5309
  title?: string;
@@ -4965,6 +5351,7 @@ export declare const hazeTools: {
4965
5351
  allowIgnored: boolean;
4966
5352
  };
4967
5353
  output: NoInfer<{
5354
+ suggestedPaths?: string[] | undefined;
4968
5355
  ok: boolean;
4969
5356
  toolName: string;
4970
5357
  path: string | undefined;
@@ -4989,18 +5376,23 @@ export declare const hazeTools: {
4989
5376
  toolName: string;
4990
5377
  reason: string;
4991
5378
  } | {
5379
+ diffHandle?: string | undefined;
5380
+ diffLineCount: number;
5381
+ diff: ToolDiffLine[];
5382
+ diffTruncated: boolean;
5383
+ diffOmittedLines: number;
4992
5384
  ok: boolean;
4993
5385
  path: string;
4994
5386
  edits: number;
4995
5387
  approximateMatches: number;
5388
+ noChange: boolean;
4996
5389
  addedLines: number;
4997
5390
  removedLines: number;
4998
- diffLineCount: number;
4999
- diff: ToolDiffLine[] | undefined;
5000
5391
  }>;
5001
5392
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
5002
5393
  } & {
5003
5394
  outputSchema?: import("ai").FlexibleSchema<{
5395
+ suggestedPaths?: string[] | undefined;
5004
5396
  ok: boolean;
5005
5397
  toolName: string;
5006
5398
  path: string | undefined;
@@ -5025,14 +5417,18 @@ export declare const hazeTools: {
5025
5417
  toolName: string;
5026
5418
  reason: string;
5027
5419
  } | {
5420
+ diffHandle?: string | undefined;
5421
+ diffLineCount: number;
5422
+ diff: ToolDiffLine[];
5423
+ diffTruncated: boolean;
5424
+ diffOmittedLines: number;
5028
5425
  ok: boolean;
5029
5426
  path: string;
5030
5427
  edits: number;
5031
5428
  approximateMatches: number;
5429
+ noChange: boolean;
5032
5430
  addedLines: number;
5033
5431
  removedLines: number;
5034
- diffLineCount: number;
5035
- diff: ToolDiffLine[] | undefined;
5036
5432
  }> | undefined;
5037
5433
  execute: import("ai").ToolExecuteFunction<{
5038
5434
  path: string;
@@ -5042,6 +5438,7 @@ export declare const hazeTools: {
5042
5438
  }[];
5043
5439
  allowIgnored: boolean;
5044
5440
  }, {
5441
+ suggestedPaths?: string[] | undefined;
5045
5442
  ok: boolean;
5046
5443
  toolName: string;
5047
5444
  path: string | undefined;
@@ -5066,14 +5463,18 @@ export declare const hazeTools: {
5066
5463
  toolName: string;
5067
5464
  reason: string;
5068
5465
  } | {
5466
+ diffHandle?: string | undefined;
5467
+ diffLineCount: number;
5468
+ diff: ToolDiffLine[];
5469
+ diffTruncated: boolean;
5470
+ diffOmittedLines: number;
5069
5471
  ok: boolean;
5070
5472
  path: string;
5071
5473
  edits: number;
5072
5474
  approximateMatches: number;
5475
+ noChange: boolean;
5073
5476
  addedLines: number;
5074
5477
  removedLines: number;
5075
- diffLineCount: number;
5076
- diff: ToolDiffLine[] | undefined;
5077
5478
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
5078
5479
  } & {
5079
5480
  type: "provider";
@@ -5094,6 +5495,7 @@ export declare const hazeTools: {
5094
5495
  }[];
5095
5496
  allowIgnored: boolean;
5096
5497
  }, {
5498
+ suggestedPaths?: string[] | undefined;
5097
5499
  ok: boolean;
5098
5500
  toolName: string;
5099
5501
  path: string | undefined;
@@ -5118,14 +5520,18 @@ export declare const hazeTools: {
5118
5520
  toolName: string;
5119
5521
  reason: string;
5120
5522
  } | {
5523
+ diffHandle?: string | undefined;
5524
+ diffLineCount: number;
5525
+ diff: ToolDiffLine[];
5526
+ diffTruncated: boolean;
5527
+ diffOmittedLines: number;
5121
5528
  ok: boolean;
5122
5529
  path: string;
5123
5530
  edits: number;
5124
5531
  approximateMatches: number;
5532
+ noChange: boolean;
5125
5533
  addedLines: number;
5126
5534
  removedLines: number;
5127
- diffLineCount: number;
5128
- diff: ToolDiffLine[] | undefined;
5129
5535
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
5130
5536
  }) | ({
5131
5537
  title?: string;
@@ -5173,6 +5579,7 @@ export declare const hazeTools: {
5173
5579
  allowIgnored: boolean;
5174
5580
  };
5175
5581
  output: NoInfer<{
5582
+ suggestedPaths?: string[] | undefined;
5176
5583
  ok: boolean;
5177
5584
  toolName: string;
5178
5585
  path: string | undefined;
@@ -5197,18 +5604,23 @@ export declare const hazeTools: {
5197
5604
  toolName: string;
5198
5605
  reason: string;
5199
5606
  } | {
5607
+ diffHandle?: string | undefined;
5608
+ diffLineCount: number;
5609
+ diff: ToolDiffLine[];
5610
+ diffTruncated: boolean;
5611
+ diffOmittedLines: number;
5200
5612
  ok: boolean;
5201
5613
  path: string;
5202
5614
  edits: number;
5203
5615
  approximateMatches: number;
5616
+ noChange: boolean;
5204
5617
  addedLines: number;
5205
5618
  removedLines: number;
5206
- diffLineCount: number;
5207
- diff: ToolDiffLine[] | undefined;
5208
5619
  }>;
5209
5620
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
5210
5621
  } & {
5211
5622
  outputSchema?: import("ai").FlexibleSchema<{
5623
+ suggestedPaths?: string[] | undefined;
5212
5624
  ok: boolean;
5213
5625
  toolName: string;
5214
5626
  path: string | undefined;
@@ -5233,14 +5645,18 @@ export declare const hazeTools: {
5233
5645
  toolName: string;
5234
5646
  reason: string;
5235
5647
  } | {
5648
+ diffHandle?: string | undefined;
5649
+ diffLineCount: number;
5650
+ diff: ToolDiffLine[];
5651
+ diffTruncated: boolean;
5652
+ diffOmittedLines: number;
5236
5653
  ok: boolean;
5237
5654
  path: string;
5238
5655
  edits: number;
5239
5656
  approximateMatches: number;
5657
+ noChange: boolean;
5240
5658
  addedLines: number;
5241
5659
  removedLines: number;
5242
- diffLineCount: number;
5243
- diff: ToolDiffLine[] | undefined;
5244
5660
  }> | undefined;
5245
5661
  execute: import("ai").ToolExecuteFunction<{
5246
5662
  path: string;
@@ -5250,6 +5666,7 @@ export declare const hazeTools: {
5250
5666
  }[];
5251
5667
  allowIgnored: boolean;
5252
5668
  }, {
5669
+ suggestedPaths?: string[] | undefined;
5253
5670
  ok: boolean;
5254
5671
  toolName: string;
5255
5672
  path: string | undefined;
@@ -5274,14 +5691,18 @@ export declare const hazeTools: {
5274
5691
  toolName: string;
5275
5692
  reason: string;
5276
5693
  } | {
5694
+ diffHandle?: string | undefined;
5695
+ diffLineCount: number;
5696
+ diff: ToolDiffLine[];
5697
+ diffTruncated: boolean;
5698
+ diffOmittedLines: number;
5277
5699
  ok: boolean;
5278
5700
  path: string;
5279
5701
  edits: number;
5280
5702
  approximateMatches: number;
5703
+ noChange: boolean;
5281
5704
  addedLines: number;
5282
5705
  removedLines: number;
5283
- diffLineCount: number;
5284
- diff: ToolDiffLine[] | undefined;
5285
5706
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
5286
5707
  } & {
5287
5708
  type: "provider";
@@ -5302,6 +5723,7 @@ export declare const hazeTools: {
5302
5723
  }[];
5303
5724
  allowIgnored: boolean;
5304
5725
  }, {
5726
+ suggestedPaths?: string[] | undefined;
5305
5727
  ok: boolean;
5306
5728
  toolName: string;
5307
5729
  path: string | undefined;
@@ -5326,14 +5748,18 @@ export declare const hazeTools: {
5326
5748
  toolName: string;
5327
5749
  reason: string;
5328
5750
  } | {
5751
+ diffHandle?: string | undefined;
5752
+ diffLineCount: number;
5753
+ diff: ToolDiffLine[];
5754
+ diffTruncated: boolean;
5755
+ diffOmittedLines: number;
5329
5756
  ok: boolean;
5330
5757
  path: string;
5331
5758
  edits: number;
5332
5759
  approximateMatches: number;
5760
+ noChange: boolean;
5333
5761
  addedLines: number;
5334
5762
  removedLines: number;
5335
- diffLineCount: number;
5336
- diff: ToolDiffLine[] | undefined;
5337
5763
  }, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
5338
5764
  });
5339
5765
  writeTasks: ({
@@ -6346,6 +6772,7 @@ export declare const hazeTools: {
6346
6772
  format: "text" | "auto";
6347
6773
  };
6348
6774
  output: NoInfer<{
6775
+ suggestedPaths?: string[] | undefined;
6349
6776
  ok: boolean;
6350
6777
  toolName: string;
6351
6778
  path: string | undefined;
@@ -6410,6 +6837,7 @@ export declare const hazeTools: {
6410
6837
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
6411
6838
  } & {
6412
6839
  outputSchema?: import("ai").FlexibleSchema<{
6840
+ suggestedPaths?: string[] | undefined;
6413
6841
  ok: boolean;
6414
6842
  toolName: string;
6415
6843
  path: string | undefined;
@@ -6475,6 +6903,7 @@ export declare const hazeTools: {
6475
6903
  url: string;
6476
6904
  format: "text" | "auto";
6477
6905
  }, {
6906
+ suggestedPaths?: string[] | undefined;
6478
6907
  ok: boolean;
6479
6908
  toolName: string;
6480
6909
  path: string | undefined;
@@ -6559,6 +6988,7 @@ export declare const hazeTools: {
6559
6988
  url: string;
6560
6989
  format: "text" | "auto";
6561
6990
  }, {
6991
+ suggestedPaths?: string[] | undefined;
6562
6992
  ok: boolean;
6563
6993
  toolName: string;
6564
6994
  path: string | undefined;
@@ -6650,6 +7080,7 @@ export declare const hazeTools: {
6650
7080
  format: "text" | "auto";
6651
7081
  };
6652
7082
  output: NoInfer<{
7083
+ suggestedPaths?: string[] | undefined;
6653
7084
  ok: boolean;
6654
7085
  toolName: string;
6655
7086
  path: string | undefined;
@@ -6714,6 +7145,7 @@ export declare const hazeTools: {
6714
7145
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
6715
7146
  } & {
6716
7147
  outputSchema?: import("ai").FlexibleSchema<{
7148
+ suggestedPaths?: string[] | undefined;
6717
7149
  ok: boolean;
6718
7150
  toolName: string;
6719
7151
  path: string | undefined;
@@ -6779,6 +7211,7 @@ export declare const hazeTools: {
6779
7211
  url: string;
6780
7212
  format: "text" | "auto";
6781
7213
  }, {
7214
+ suggestedPaths?: string[] | undefined;
6782
7215
  ok: boolean;
6783
7216
  toolName: string;
6784
7217
  path: string | undefined;
@@ -6863,6 +7296,7 @@ export declare const hazeTools: {
6863
7296
  url: string;
6864
7297
  format: "text" | "auto";
6865
7298
  }, {
7299
+ suggestedPaths?: string[] | undefined;
6866
7300
  ok: boolean;
6867
7301
  toolName: string;
6868
7302
  path: string | undefined;
@@ -6954,6 +7388,7 @@ export declare const hazeTools: {
6954
7388
  format: "text" | "auto";
6955
7389
  };
6956
7390
  output: NoInfer<{
7391
+ suggestedPaths?: string[] | undefined;
6957
7392
  ok: boolean;
6958
7393
  toolName: string;
6959
7394
  path: string | undefined;
@@ -7018,6 +7453,7 @@ export declare const hazeTools: {
7018
7453
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
7019
7454
  } & {
7020
7455
  outputSchema?: import("ai").FlexibleSchema<{
7456
+ suggestedPaths?: string[] | undefined;
7021
7457
  ok: boolean;
7022
7458
  toolName: string;
7023
7459
  path: string | undefined;
@@ -7083,6 +7519,7 @@ export declare const hazeTools: {
7083
7519
  url: string;
7084
7520
  format: "text" | "auto";
7085
7521
  }, {
7522
+ suggestedPaths?: string[] | undefined;
7086
7523
  ok: boolean;
7087
7524
  toolName: string;
7088
7525
  path: string | undefined;
@@ -7159,6 +7596,7 @@ export declare const hazeTools: {
7159
7596
  url: string;
7160
7597
  format: "text" | "auto";
7161
7598
  }, {
7599
+ suggestedPaths?: string[] | undefined;
7162
7600
  ok: boolean;
7163
7601
  toolName: string;
7164
7602
  path: string | undefined;
@@ -7250,6 +7688,7 @@ export declare const hazeTools: {
7250
7688
  format: "text" | "auto";
7251
7689
  };
7252
7690
  output: NoInfer<{
7691
+ suggestedPaths?: string[] | undefined;
7253
7692
  ok: boolean;
7254
7693
  toolName: string;
7255
7694
  path: string | undefined;
@@ -7314,6 +7753,7 @@ export declare const hazeTools: {
7314
7753
  }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
7315
7754
  } & {
7316
7755
  outputSchema?: import("ai").FlexibleSchema<{
7756
+ suggestedPaths?: string[] | undefined;
7317
7757
  ok: boolean;
7318
7758
  toolName: string;
7319
7759
  path: string | undefined;
@@ -7379,6 +7819,7 @@ export declare const hazeTools: {
7379
7819
  url: string;
7380
7820
  format: "text" | "auto";
7381
7821
  }, {
7822
+ suggestedPaths?: string[] | undefined;
7382
7823
  ok: boolean;
7383
7824
  toolName: string;
7384
7825
  path: string | undefined;
@@ -7455,6 +7896,7 @@ export declare const hazeTools: {
7455
7896
  url: string;
7456
7897
  format: "text" | "auto";
7457
7898
  }, {
7899
+ suggestedPaths?: string[] | undefined;
7458
7900
  ok: boolean;
7459
7901
  toolName: string;
7460
7902
  path: string | undefined;
@@ -7600,6 +8042,9 @@ export declare const hazeTools: {
7600
8042
  suggestedNextStep: string;
7601
8043
  } | {
7602
8044
  error?: string | undefined;
8045
+ missingExecutableStep?: string | undefined;
8046
+ reasonCode?: "missing_executable" | undefined;
8047
+ missingExecutable?: string | undefined;
7603
8048
  ok: boolean;
7604
8049
  code: number | null;
7605
8050
  command: string;
@@ -7623,7 +8068,6 @@ export declare const hazeTools: {
7623
8068
  retainedBytes: number;
7624
8069
  omittedBytes: number;
7625
8070
  };
7626
- reasonCode?: undefined;
7627
8071
  recoverable?: undefined;
7628
8072
  suggestedNextStep?: undefined;
7629
8073
  background?: undefined;
@@ -7676,6 +8120,9 @@ export declare const hazeTools: {
7676
8120
  suggestedNextStep: string;
7677
8121
  } | {
7678
8122
  error?: string | undefined;
8123
+ missingExecutableStep?: string | undefined;
8124
+ reasonCode?: "missing_executable" | undefined;
8125
+ missingExecutable?: string | undefined;
7679
8126
  ok: boolean;
7680
8127
  code: number | null;
7681
8128
  command: string;
@@ -7699,7 +8146,6 @@ export declare const hazeTools: {
7699
8146
  retainedBytes: number;
7700
8147
  omittedBytes: number;
7701
8148
  };
7702
- reasonCode?: undefined;
7703
8149
  recoverable?: undefined;
7704
8150
  suggestedNextStep?: undefined;
7705
8151
  background?: undefined;
@@ -7755,6 +8201,9 @@ export declare const hazeTools: {
7755
8201
  suggestedNextStep: string;
7756
8202
  } | {
7757
8203
  error?: string | undefined;
8204
+ missingExecutableStep?: string | undefined;
8205
+ reasonCode?: "missing_executable" | undefined;
8206
+ missingExecutable?: string | undefined;
7758
8207
  ok: boolean;
7759
8208
  code: number | null;
7760
8209
  command: string;
@@ -7778,7 +8227,6 @@ export declare const hazeTools: {
7778
8227
  retainedBytes: number;
7779
8228
  omittedBytes: number;
7780
8229
  };
7781
- reasonCode?: undefined;
7782
8230
  recoverable?: undefined;
7783
8231
  suggestedNextStep?: undefined;
7784
8232
  background?: undefined;
@@ -7855,6 +8303,9 @@ export declare const hazeTools: {
7855
8303
  suggestedNextStep: string;
7856
8304
  } | {
7857
8305
  error?: string | undefined;
8306
+ missingExecutableStep?: string | undefined;
8307
+ reasonCode?: "missing_executable" | undefined;
8308
+ missingExecutable?: string | undefined;
7858
8309
  ok: boolean;
7859
8310
  code: number | null;
7860
8311
  command: string;
@@ -7878,7 +8329,6 @@ export declare const hazeTools: {
7878
8329
  retainedBytes: number;
7879
8330
  omittedBytes: number;
7880
8331
  };
7881
- reasonCode?: undefined;
7882
8332
  recoverable?: undefined;
7883
8333
  suggestedNextStep?: undefined;
7884
8334
  background?: undefined;
@@ -7966,6 +8416,9 @@ export declare const hazeTools: {
7966
8416
  suggestedNextStep: string;
7967
8417
  } | {
7968
8418
  error?: string | undefined;
8419
+ missingExecutableStep?: string | undefined;
8420
+ reasonCode?: "missing_executable" | undefined;
8421
+ missingExecutable?: string | undefined;
7969
8422
  ok: boolean;
7970
8423
  code: number | null;
7971
8424
  command: string;
@@ -7989,7 +8442,6 @@ export declare const hazeTools: {
7989
8442
  retainedBytes: number;
7990
8443
  omittedBytes: number;
7991
8444
  };
7992
- reasonCode?: undefined;
7993
8445
  recoverable?: undefined;
7994
8446
  suggestedNextStep?: undefined;
7995
8447
  background?: undefined;
@@ -8042,6 +8494,9 @@ export declare const hazeTools: {
8042
8494
  suggestedNextStep: string;
8043
8495
  } | {
8044
8496
  error?: string | undefined;
8497
+ missingExecutableStep?: string | undefined;
8498
+ reasonCode?: "missing_executable" | undefined;
8499
+ missingExecutable?: string | undefined;
8045
8500
  ok: boolean;
8046
8501
  code: number | null;
8047
8502
  command: string;
@@ -8065,7 +8520,6 @@ export declare const hazeTools: {
8065
8520
  retainedBytes: number;
8066
8521
  omittedBytes: number;
8067
8522
  };
8068
- reasonCode?: undefined;
8069
8523
  recoverable?: undefined;
8070
8524
  suggestedNextStep?: undefined;
8071
8525
  background?: undefined;
@@ -8121,6 +8575,9 @@ export declare const hazeTools: {
8121
8575
  suggestedNextStep: string;
8122
8576
  } | {
8123
8577
  error?: string | undefined;
8578
+ missingExecutableStep?: string | undefined;
8579
+ reasonCode?: "missing_executable" | undefined;
8580
+ missingExecutable?: string | undefined;
8124
8581
  ok: boolean;
8125
8582
  code: number | null;
8126
8583
  command: string;
@@ -8144,7 +8601,6 @@ export declare const hazeTools: {
8144
8601
  retainedBytes: number;
8145
8602
  omittedBytes: number;
8146
8603
  };
8147
- reasonCode?: undefined;
8148
8604
  recoverable?: undefined;
8149
8605
  suggestedNextStep?: undefined;
8150
8606
  background?: undefined;
@@ -8221,6 +8677,9 @@ export declare const hazeTools: {
8221
8677
  suggestedNextStep: string;
8222
8678
  } | {
8223
8679
  error?: string | undefined;
8680
+ missingExecutableStep?: string | undefined;
8681
+ reasonCode?: "missing_executable" | undefined;
8682
+ missingExecutable?: string | undefined;
8224
8683
  ok: boolean;
8225
8684
  code: number | null;
8226
8685
  command: string;
@@ -8244,7 +8703,6 @@ export declare const hazeTools: {
8244
8703
  retainedBytes: number;
8245
8704
  omittedBytes: number;
8246
8705
  };
8247
- reasonCode?: undefined;
8248
8706
  recoverable?: undefined;
8249
8707
  suggestedNextStep?: undefined;
8250
8708
  background?: undefined;
@@ -8332,6 +8790,9 @@ export declare const hazeTools: {
8332
8790
  suggestedNextStep: string;
8333
8791
  } | {
8334
8792
  error?: string | undefined;
8793
+ missingExecutableStep?: string | undefined;
8794
+ reasonCode?: "missing_executable" | undefined;
8795
+ missingExecutable?: string | undefined;
8335
8796
  ok: boolean;
8336
8797
  code: number | null;
8337
8798
  command: string;
@@ -8355,7 +8816,6 @@ export declare const hazeTools: {
8355
8816
  retainedBytes: number;
8356
8817
  omittedBytes: number;
8357
8818
  };
8358
- reasonCode?: undefined;
8359
8819
  recoverable?: undefined;
8360
8820
  suggestedNextStep?: undefined;
8361
8821
  background?: undefined;
@@ -8408,6 +8868,9 @@ export declare const hazeTools: {
8408
8868
  suggestedNextStep: string;
8409
8869
  } | {
8410
8870
  error?: string | undefined;
8871
+ missingExecutableStep?: string | undefined;
8872
+ reasonCode?: "missing_executable" | undefined;
8873
+ missingExecutable?: string | undefined;
8411
8874
  ok: boolean;
8412
8875
  code: number | null;
8413
8876
  command: string;
@@ -8431,7 +8894,6 @@ export declare const hazeTools: {
8431
8894
  retainedBytes: number;
8432
8895
  omittedBytes: number;
8433
8896
  };
8434
- reasonCode?: undefined;
8435
8897
  recoverable?: undefined;
8436
8898
  suggestedNextStep?: undefined;
8437
8899
  background?: undefined;
@@ -8487,6 +8949,9 @@ export declare const hazeTools: {
8487
8949
  suggestedNextStep: string;
8488
8950
  } | {
8489
8951
  error?: string | undefined;
8952
+ missingExecutableStep?: string | undefined;
8953
+ reasonCode?: "missing_executable" | undefined;
8954
+ missingExecutable?: string | undefined;
8490
8955
  ok: boolean;
8491
8956
  code: number | null;
8492
8957
  command: string;
@@ -8510,7 +8975,6 @@ export declare const hazeTools: {
8510
8975
  retainedBytes: number;
8511
8976
  omittedBytes: number;
8512
8977
  };
8513
- reasonCode?: undefined;
8514
8978
  recoverable?: undefined;
8515
8979
  suggestedNextStep?: undefined;
8516
8980
  background?: undefined;
@@ -8577,6 +9041,9 @@ export declare const hazeTools: {
8577
9041
  suggestedNextStep: string;
8578
9042
  } | {
8579
9043
  error?: string | undefined;
9044
+ missingExecutableStep?: string | undefined;
9045
+ reasonCode?: "missing_executable" | undefined;
9046
+ missingExecutable?: string | undefined;
8580
9047
  ok: boolean;
8581
9048
  code: number | null;
8582
9049
  command: string;
@@ -8600,7 +9067,6 @@ export declare const hazeTools: {
8600
9067
  retainedBytes: number;
8601
9068
  omittedBytes: number;
8602
9069
  };
8603
- reasonCode?: undefined;
8604
9070
  recoverable?: undefined;
8605
9071
  suggestedNextStep?: undefined;
8606
9072
  background?: undefined;
@@ -8688,6 +9154,9 @@ export declare const hazeTools: {
8688
9154
  suggestedNextStep: string;
8689
9155
  } | {
8690
9156
  error?: string | undefined;
9157
+ missingExecutableStep?: string | undefined;
9158
+ reasonCode?: "missing_executable" | undefined;
9159
+ missingExecutable?: string | undefined;
8691
9160
  ok: boolean;
8692
9161
  code: number | null;
8693
9162
  command: string;
@@ -8711,7 +9180,6 @@ export declare const hazeTools: {
8711
9180
  retainedBytes: number;
8712
9181
  omittedBytes: number;
8713
9182
  };
8714
- reasonCode?: undefined;
8715
9183
  recoverable?: undefined;
8716
9184
  suggestedNextStep?: undefined;
8717
9185
  background?: undefined;
@@ -8764,6 +9232,9 @@ export declare const hazeTools: {
8764
9232
  suggestedNextStep: string;
8765
9233
  } | {
8766
9234
  error?: string | undefined;
9235
+ missingExecutableStep?: string | undefined;
9236
+ reasonCode?: "missing_executable" | undefined;
9237
+ missingExecutable?: string | undefined;
8767
9238
  ok: boolean;
8768
9239
  code: number | null;
8769
9240
  command: string;
@@ -8787,7 +9258,6 @@ export declare const hazeTools: {
8787
9258
  retainedBytes: number;
8788
9259
  omittedBytes: number;
8789
9260
  };
8790
- reasonCode?: undefined;
8791
9261
  recoverable?: undefined;
8792
9262
  suggestedNextStep?: undefined;
8793
9263
  background?: undefined;
@@ -8843,6 +9313,9 @@ export declare const hazeTools: {
8843
9313
  suggestedNextStep: string;
8844
9314
  } | {
8845
9315
  error?: string | undefined;
9316
+ missingExecutableStep?: string | undefined;
9317
+ reasonCode?: "missing_executable" | undefined;
9318
+ missingExecutable?: string | undefined;
8846
9319
  ok: boolean;
8847
9320
  code: number | null;
8848
9321
  command: string;
@@ -8866,7 +9339,6 @@ export declare const hazeTools: {
8866
9339
  retainedBytes: number;
8867
9340
  omittedBytes: number;
8868
9341
  };
8869
- reasonCode?: undefined;
8870
9342
  recoverable?: undefined;
8871
9343
  suggestedNextStep?: undefined;
8872
9344
  background?: undefined;
@@ -8933,6 +9405,9 @@ export declare const hazeTools: {
8933
9405
  suggestedNextStep: string;
8934
9406
  } | {
8935
9407
  error?: string | undefined;
9408
+ missingExecutableStep?: string | undefined;
9409
+ reasonCode?: "missing_executable" | undefined;
9410
+ missingExecutable?: string | undefined;
8936
9411
  ok: boolean;
8937
9412
  code: number | null;
8938
9413
  command: string;
@@ -8956,7 +9431,6 @@ export declare const hazeTools: {
8956
9431
  retainedBytes: number;
8957
9432
  omittedBytes: number;
8958
9433
  };
8959
- reasonCode?: undefined;
8960
9434
  recoverable?: undefined;
8961
9435
  suggestedNextStep?: undefined;
8962
9436
  background?: undefined;