@denizokcu/haze 0.10.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +100 -1
- package/README.md +77 -27
- package/SECURITY.md +22 -0
- package/bin/haze.js +102 -1
- package/dist/buildInfo.json +7 -0
- package/dist/cli/chat/TaskBar.d.ts +2 -1
- package/dist/cli/chat/TaskBar.js +7 -4
- package/dist/cli/chat/chatMetrics.d.ts +2 -2
- package/dist/cli/chat/chatMetrics.js +1 -1
- package/dist/cli/chat/contextReport.js +2 -0
- package/dist/cli/chat/fileMentionSuggestions.js +3 -2
- package/dist/cli/chat/inputSuggestions.d.ts +8 -16
- package/dist/cli/chat/inputSuggestions.js +9 -41
- package/dist/cli/chat/liveRegion.d.ts +25 -0
- package/dist/cli/chat/liveRegion.js +48 -0
- package/dist/cli/chat/messages.d.ts +33 -4
- package/dist/cli/chat/messages.js +218 -35
- package/dist/cli/chat/sessionLifecycle.d.ts +11 -1
- package/dist/cli/chat/sessionLifecycle.js +64 -14
- package/dist/cli/chat/sessionRecorder.js +75 -7
- package/dist/cli/chat/startupInfo.d.ts +0 -1
- package/dist/cli/chat/startupInfo.js +11 -15
- package/dist/cli/chat/turnState.d.ts +1 -1
- package/dist/cli/chat/wizardDispatch.d.ts +90 -28
- package/dist/cli/chat/wizardDispatch.js +349 -133
- package/dist/cli/commands/chat.d.ts +5 -0
- package/dist/cli/commands/chat.js +216 -172
- package/dist/cli/commands/chatModes.d.ts +8 -1
- package/dist/cli/commands/chatModes.js +9 -44
- package/dist/cli/commands/commands.d.ts +2 -0
- package/dist/cli/commands/commands.js +10 -5
- package/dist/cli/commands/doctor.d.ts +19 -0
- package/dist/cli/commands/doctor.js +76 -0
- package/dist/cli/commands/formatters.d.ts +3 -3
- package/dist/cli/commands/formatters.js +8 -25
- package/dist/cli/commands/ndjsonSink.d.ts +23 -0
- package/dist/cli/commands/ndjsonSink.js +38 -0
- package/dist/cli/commands/providerWizard.d.ts +9 -2
- package/dist/cli/commands/providerWizard.js +39 -7
- package/dist/cli/commands/runCommand.d.ts +3 -0
- package/dist/cli/commands/runCommand.js +117 -11
- package/dist/cli/commands/serverWizard.d.ts +34 -0
- package/dist/cli/commands/{mcpWizard.js → serverWizard.js} +44 -2
- package/dist/cli/commands/skillsWizard.d.ts +41 -0
- package/dist/cli/commands/{skillWizard.js → skillsWizard.js} +33 -11
- package/dist/cli/commands/streaming/abortCause.d.ts +25 -0
- package/dist/cli/commands/streaming/abortCause.js +16 -0
- package/dist/cli/commands/streaming/agentAttempt.d.ts +43 -0
- package/dist/cli/commands/streaming/agentAttempt.js +79 -0
- package/dist/cli/commands/streaming/assistantText.js +9 -2
- package/dist/cli/commands/streaming/attemptLifecycle.d.ts +56 -0
- package/dist/cli/commands/streaming/attemptLifecycle.js +110 -0
- package/dist/cli/commands/streaming/attemptOutcome.d.ts +96 -0
- package/dist/cli/commands/streaming/attemptOutcome.js +206 -0
- package/dist/cli/commands/streaming/attemptSetup.d.ts +78 -0
- package/dist/cli/commands/streaming/attemptSetup.js +167 -0
- package/dist/cli/commands/streaming/goalCheckpoint.d.ts +65 -0
- package/dist/cli/commands/streaming/goalCheckpoint.js +23 -0
- package/dist/cli/commands/streaming/goalSupervisor.d.ts +64 -0
- package/dist/cli/commands/streaming/goalSupervisor.js +130 -0
- package/dist/cli/commands/streaming/stallRecovery.d.ts +94 -0
- package/dist/cli/commands/streaming/stallRecovery.js +105 -0
- package/dist/cli/commands/streaming/streamLoop.d.ts +72 -0
- package/dist/cli/commands/streaming/streamLoop.js +448 -0
- package/dist/cli/commands/streaming/toolCallRecovery.d.ts +16 -0
- package/dist/cli/commands/streaming/toolCallRecovery.js +80 -0
- package/dist/cli/commands/streaming/toolGroupRenderer.d.ts +31 -1
- package/dist/cli/commands/streaming/toolGroupRenderer.js +50 -4
- package/dist/cli/commands/streaming/toolResultState.d.ts +6 -1
- package/dist/cli/commands/streaming/toolResultState.js +29 -7
- package/dist/cli/commands/streaming/turnRuntime.d.ts +4 -0
- package/dist/cli/commands/streaming/turnRuntime.js +6 -0
- package/dist/cli/commands/streaming.d.ts +65 -9
- package/dist/cli/commands/streaming.js +133 -430
- package/dist/cli/commands/wizardFlow.d.ts +334 -0
- package/dist/cli/commands/wizardFlow.js +377 -0
- package/dist/cli/contextReport.js +3 -0
- package/dist/cli/index.js +68 -22
- package/dist/cli/terminalTitle.js +1 -1
- package/dist/config/contextFiles.js +9 -3
- package/dist/config/inputHistory.d.ts +0 -1
- package/dist/config/inputHistory.js +1 -1
- package/dist/config/modelDiscovery.d.ts +36 -0
- package/dist/config/modelDiscovery.js +164 -1
- package/dist/config/privateStorage.js +28 -2
- package/dist/config/providerAuth.d.ts +14 -0
- package/dist/config/providerAuth.js +49 -0
- package/dist/config/providerPresets.d.ts +39 -7
- package/dist/config/providerPresets.js +371 -100
- package/dist/config/providers.js +2 -0
- package/dist/config/settings.d.ts +43 -0
- package/dist/config/settings.js +12 -0
- package/dist/config/skillSettings.js +4 -4
- package/dist/config/updateCheck.d.ts +0 -1
- package/dist/config/updateCheck.js +1 -1
- package/dist/core/agent/budgets.d.ts +73 -1
- package/dist/core/agent/budgets.js +94 -1
- package/dist/core/agent/compaction.d.ts +38 -0
- package/dist/core/agent/compaction.js +92 -17
- package/dist/core/agent/completionController.d.ts +224 -0
- package/dist/core/agent/completionController.js +296 -0
- package/dist/core/agent/contextBudget.d.ts +36 -2
- package/dist/core/agent/contextBudget.js +62 -9
- package/dist/core/agent/errors.d.ts +0 -1
- package/dist/core/agent/errors.js +1 -1
- package/dist/core/agent/events.d.ts +78 -0
- package/dist/core/agent/goalPolicy.d.ts +47 -0
- package/dist/core/agent/goalPolicy.js +106 -0
- package/dist/core/agent/reasoningPolicy.d.ts +31 -0
- package/dist/core/agent/reasoningPolicy.js +27 -0
- package/dist/core/agent/requestAssembly.d.ts +2 -2
- package/dist/core/agent/requestAssembly.js +16 -4
- package/dist/core/agent/toolCapabilities.d.ts +27 -0
- package/dist/core/agent/toolCapabilities.js +58 -0
- package/dist/core/agent/toolOutputStore.d.ts +8 -0
- package/dist/core/agent/toolOutputStore.js +11 -11
- package/dist/core/agent/toolResults.d.ts +12 -0
- package/dist/core/agent/toolResults.js +38 -0
- package/dist/core/agent/turnPolicy.d.ts +11 -0
- package/dist/core/agent/turnPolicy.js +19 -0
- package/dist/core/agent/workState.d.ts +81 -3
- package/dist/core/agent/workState.js +176 -10
- package/dist/core/attachments/imageAttachments.js +90 -42
- package/dist/core/deadline.d.ts +27 -0
- package/dist/core/deadline.js +74 -0
- package/dist/core/io/boundedRead.js +1 -1
- package/dist/core/limits.d.ts +51 -0
- package/dist/core/limits.js +51 -0
- package/dist/core/log/llmLog.js +8 -1
- package/dist/core/persistence/orderedFileWriter.d.ts +10 -0
- package/dist/core/persistence/orderedFileWriter.js +16 -2
- package/dist/core/process/backgroundRegistry.d.ts +2 -3
- package/dist/core/process/backgroundRegistry.js +15 -10
- package/dist/core/process/runBoundedProcess.d.ts +8 -2
- package/dist/core/process/runBoundedProcess.js +15 -6
- package/dist/core/process/userShell.d.ts +16 -0
- package/dist/core/process/userShell.js +59 -0
- package/dist/core/safety/missingExecutable.d.ts +42 -0
- package/dist/core/safety/missingExecutable.js +77 -0
- package/dist/core/safety/shellClassifier.d.ts +11 -0
- package/dist/core/safety/{bashClassifier.js → shellClassifier.js} +5 -3
- package/dist/core/safety/urlGuard.d.ts +1 -1
- package/dist/core/session/sessionSlimming.d.ts +0 -3
- package/dist/core/session/sessionSlimming.js +2 -3
- package/dist/core/session/sessionStore.d.ts +38 -0
- package/dist/core/session/sessionStore.js +242 -59
- package/dist/core/{bashOutput → shellOutput}/lineFilter.js +8 -2
- package/dist/core/{bashOutput → shellOutput}/reducers/search.d.ts +0 -1
- package/dist/core/{bashOutput → shellOutput}/reducers/search.js +1 -1
- package/dist/core/shellOutput/registry.d.ts +2 -0
- package/dist/core/{bashOutput → shellOutput}/registry.js +3 -3
- package/dist/core/{bashOutput → shellOutput}/types.d.ts +6 -5
- package/dist/core/subagent/contracts.d.ts +6 -14
- package/dist/core/subagent/contracts.js +4 -3
- package/dist/core/subagent/executionProfiles.js +2 -2
- package/dist/core/subagent/subagentCoordinator.d.ts +4 -0
- package/dist/core/subagent/subagentCoordinator.js +32 -2
- package/dist/core/subagent/subagentRunner.js +19 -40
- package/dist/core/toolOutput/reduction.d.ts +0 -12
- package/dist/core/toolOutput/reduction.js +1 -1
- package/dist/core/validation/outputParser.d.ts +2 -2
- package/dist/llm/client.d.ts +17 -1
- package/dist/llm/client.js +86 -14
- package/dist/llm/hazeTools.d.ts +693 -204
- package/dist/llm/hazeTools.js +110 -28
- package/dist/llm/initPrompt.js +1 -1
- package/dist/llm/lsp/client.d.ts +45 -0
- package/dist/llm/lsp/client.js +195 -0
- package/dist/llm/lsp/pool.d.ts +23 -0
- package/dist/llm/lsp/pool.js +86 -0
- package/dist/llm/lsp/protocol.d.ts +64 -0
- package/dist/llm/lsp/protocol.js +128 -0
- package/dist/llm/lsp/requests.d.ts +94 -0
- package/dist/llm/lsp/requests.js +119 -0
- package/dist/llm/lspTools.d.ts +5653 -33
- package/dist/llm/lspTools.js +152 -80
- package/dist/llm/openaiCodex.d.ts +1 -0
- package/dist/llm/openaiCodex.js +43 -0
- package/dist/llm/openaiCodexOAuth.d.ts +51 -0
- package/dist/llm/openaiCodexOAuth.js +217 -0
- package/dist/llm/requestContext.d.ts +7 -0
- package/dist/llm/requestContext.js +30 -4
- package/dist/llm/systemPrompt.d.ts +12 -0
- package/dist/llm/systemPrompt.js +24 -11
- package/dist/llm/toolResultTypes.d.ts +7 -14
- package/dist/llm/toolResultTypes.js +1 -4
- package/dist/llm/tools/editMatch.d.ts +14 -9
- package/dist/llm/tools/editMatch.js +73 -1
- package/dist/llm/tools/failures.d.ts +2 -0
- package/dist/llm/tools/failures.js +1 -0
- package/dist/llm/tools/fetchTool.d.ts +16 -0
- package/dist/llm/tools/fetchTool.js +1 -1
- package/dist/llm/tools/fileToolShared.d.ts +8 -5
- package/dist/llm/tools/fileToolShared.js +22 -23
- package/dist/llm/tools/gitIgnore.d.ts +42 -0
- package/dist/llm/tools/gitIgnore.js +247 -0
- package/dist/llm/tools/grepParse.d.ts +2 -1
- package/dist/llm/tools/grepRunner.d.ts +1 -1
- package/dist/llm/tools/grepRunner.js +2 -2
- package/dist/llm/tools/outputCap.d.ts +2 -7
- package/dist/llm/tools/outputCap.js +3 -3
- package/dist/llm/tools/processTool.d.ts +16 -16
- package/dist/llm/tools/processTool.js +1 -1
- package/dist/llm/tools/readRecovery.d.ts +8 -0
- package/dist/llm/tools/readRecovery.js +135 -0
- package/dist/llm/tools/{bashTool.d.ts → shellTool.d.ts} +171 -123
- package/dist/llm/tools/{bashTool.js → shellTool.js} +20 -14
- package/dist/llm/tools/toolContext.d.ts +1 -1
- package/dist/llm/tools/toolContext.js +66 -37
- package/dist/llm/tools/workspaceFile.d.ts +0 -1
- package/dist/llm/tools/workspaceFile.js +1 -6
- package/dist/llm/webFetch.d.ts +18 -1
- package/dist/llm/webFetch.js +64 -97
- package/dist/skills/SkillLoader.d.ts +1 -11
- package/dist/skills/SkillLoader.js +1 -2
- package/dist/skills/types.d.ts +2 -1
- package/dist/ui/codeHighlight.d.ts +4 -0
- package/dist/ui/codeHighlight.js +31 -0
- package/dist/ui/components/Header.d.ts +1 -1
- package/dist/ui/components/MarkdownText.d.ts +16 -2
- package/dist/ui/components/MarkdownText.js +244 -34
- package/dist/ui/components/TextInput.d.ts +8 -1
- package/dist/ui/components/TextInput.js +6 -2
- package/dist/ui/theme.d.ts +4 -3
- package/dist/ui/theme.js +5 -4
- package/dist/utils/buildInfo.d.ts +97 -0
- package/dist/utils/buildInfo.js +244 -0
- package/dist/utils/fs.d.ts +11 -0
- package/dist/utils/fs.js +91 -26
- package/dist/utils/openPath.d.ts +2 -2
- package/dist/utils/openPath.js +19 -6
- package/dist/utils/path.d.ts +2 -1
- package/dist/utils/path.js +6 -2
- package/dist/utils/utf8.d.ts +22 -0
- package/dist/utils/utf8.js +54 -0
- package/dist/utils/version.d.ts +9 -3
- package/dist/utils/version.js +28 -2
- package/package.json +28 -21
- package/dist/cli/commands/lspWizard.d.ts +0 -14
- package/dist/cli/commands/lspWizard.js +0 -44
- package/dist/cli/commands/mcpWizard.d.ts +0 -15
- package/dist/cli/commands/skillConfirmRemove.d.ts +0 -11
- package/dist/cli/commands/skillConfirmRemove.js +0 -20
- package/dist/cli/commands/skillCreation.d.ts +0 -12
- package/dist/cli/commands/skillCreation.js +0 -14
- package/dist/cli/commands/skillWizard.d.ts +0 -17
- package/dist/cli/commands/streaming/idleTimer.d.ts +0 -26
- package/dist/cli/commands/streaming/idleTimer.js +0 -24
- package/dist/cli/commands/streaming/turnOutcome.d.ts +0 -10
- package/dist/cli/commands/streaming/turnOutcome.js +0 -13
- package/dist/cli/commands/wizardActions.d.ts +0 -46
- package/dist/cli/commands/wizardActions.js +0 -46
- package/dist/cli/commands/wizardInput.d.ts +0 -4
- package/dist/cli/commands/wizardInput.js +0 -19
- package/dist/cli/commands/wizardPrompts.d.ts +0 -22
- package/dist/cli/commands/wizardPrompts.js +0 -52
- package/dist/cli/commands/wizardSuggestions.d.ts +0 -31
- package/dist/cli/commands/wizardSuggestions.js +0 -188
- package/dist/cli/commands/wizardTransition.d.ts +0 -37
- package/dist/cli/commands/wizardTransition.js +0 -43
- package/dist/core/bashOutput/ansi.d.ts +0 -1
- package/dist/core/bashOutput/ansi.js +0 -7
- package/dist/core/bashOutput/registry.d.ts +0 -4
- package/dist/core/goal/completionPolicy.d.ts +0 -2
- package/dist/core/goal/completionPolicy.js +0 -7
- package/dist/core/goal/requestClassifier.d.ts +0 -3
- package/dist/core/goal/requestClassifier.js +0 -18
- package/dist/core/goal/sessionGoal.d.ts +0 -8
- package/dist/core/goal/sessionGoal.js +0 -30
- package/dist/core/limits/byteBudgets.d.ts +0 -18
- package/dist/core/limits/byteBudgets.js +0 -18
- package/dist/core/limits/textBudgets.d.ts +0 -23
- package/dist/core/limits/textBudgets.js +0 -23
- package/dist/core/safety/bashClassifier.d.ts +0 -10
- package/dist/llm/lsp.d.ts +0 -129
- package/dist/llm/lsp.js +0 -307
- package/dist/ui/components/ErrorView.d.ts +0 -4
- package/dist/ui/components/ErrorView.js +0 -7
- package/dist/utils/yaml.d.ts +0 -2
- package/dist/utils/yaml.js +0 -8
- package/examples/skills/files/SKILL.md +0 -16
- package/examples/skills/files/examples/file-editing.md +0 -3
- /package/dist/core/{bashOutput → shellOutput}/command.d.ts +0 -0
- /package/dist/core/{bashOutput → shellOutput}/command.js +0 -0
- /package/dist/core/{bashOutput → shellOutput}/lineFilter.d.ts +0 -0
- /package/dist/core/{bashOutput → shellOutput}/reducers/content.d.ts +0 -0
- /package/dist/core/{bashOutput → shellOutput}/reducers/content.js +0 -0
- /package/dist/core/{bashOutput → shellOutput}/reducers/gh.d.ts +0 -0
- /package/dist/core/{bashOutput → shellOutput}/reducers/gh.js +0 -0
- /package/dist/core/{bashOutput → shellOutput}/reducers/git.d.ts +0 -0
- /package/dist/core/{bashOutput → shellOutput}/reducers/git.js +0 -0
- /package/dist/core/{bashOutput → shellOutput}/reducers/validation.d.ts +0 -0
- /package/dist/core/{bashOutput → shellOutput}/reducers/validation.js +0 -0
- /package/dist/core/{bashOutput → shellOutput}/types.js +0 -0
package/dist/llm/hazeTools.d.ts
CHANGED
|
@@ -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;
|
|
@@ -7517,20 +7959,20 @@ export declare const hazeTools: {
|
|
|
7517
7959
|
parseTier: string;
|
|
7518
7960
|
}, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
|
|
7519
7961
|
});
|
|
7520
|
-
|
|
7962
|
+
shell: ({
|
|
7521
7963
|
title?: string;
|
|
7522
7964
|
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
7523
7965
|
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
7524
7966
|
inputSchema: import("ai").FlexibleSchema<{
|
|
7525
7967
|
command: string;
|
|
7526
|
-
|
|
7968
|
+
purpose: "validation" | "auto";
|
|
7527
7969
|
background: boolean;
|
|
7528
7970
|
timeoutSeconds?: number | undefined;
|
|
7529
7971
|
}>;
|
|
7530
7972
|
contextSchema?: import("ai").FlexibleSchema<import("./tools/toolContext.js").HazeToolContext> | undefined;
|
|
7531
7973
|
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
7532
7974
|
command: string;
|
|
7533
|
-
|
|
7975
|
+
purpose: "validation" | "auto";
|
|
7534
7976
|
background: boolean;
|
|
7535
7977
|
timeoutSeconds?: number | undefined;
|
|
7536
7978
|
}, NoInfer<import("./tools/toolContext.js").HazeToolContext>> | undefined;
|
|
@@ -7541,7 +7983,7 @@ export declare const hazeTools: {
|
|
|
7541
7983
|
onInputAvailable?: ((options: {
|
|
7542
7984
|
input: {
|
|
7543
7985
|
command: string;
|
|
7544
|
-
|
|
7986
|
+
purpose: "validation" | "auto";
|
|
7545
7987
|
background: boolean;
|
|
7546
7988
|
timeoutSeconds?: number | undefined;
|
|
7547
7989
|
};
|
|
@@ -7550,7 +7992,7 @@ export declare const hazeTools: {
|
|
|
7550
7992
|
toolCallId: string;
|
|
7551
7993
|
input: {
|
|
7552
7994
|
command: string;
|
|
7553
|
-
|
|
7995
|
+
purpose: "validation" | "auto";
|
|
7554
7996
|
background: boolean;
|
|
7555
7997
|
timeoutSeconds?: number | undefined;
|
|
7556
7998
|
};
|
|
@@ -7568,14 +8010,14 @@ export declare const hazeTools: {
|
|
|
7568
8010
|
suggestedNextStep: string;
|
|
7569
8011
|
background?: undefined;
|
|
7570
8012
|
} | {
|
|
7571
|
-
classification: import("../core/safety/
|
|
8013
|
+
classification: import("../core/safety/shellClassifier.js").ShellClassification;
|
|
7572
8014
|
hint: string;
|
|
7573
8015
|
backgroundId: string;
|
|
7574
8016
|
pid?: number;
|
|
7575
8017
|
command: string;
|
|
7576
8018
|
cwd: string;
|
|
7577
8019
|
startedAt: string;
|
|
7578
|
-
status:
|
|
8020
|
+
status: "failed" | "killed" | "running" | "exited";
|
|
7579
8021
|
code?: number | null;
|
|
7580
8022
|
signal?: NodeJS.Signals | null;
|
|
7581
8023
|
outputHandle: string;
|
|
@@ -7600,18 +8042,22 @@ 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;
|
|
8051
|
+
purpose: "validation" | "auto";
|
|
7606
8052
|
cwd: string;
|
|
7607
|
-
classification: import("../core/safety/
|
|
8053
|
+
classification: import("../core/safety/shellClassifier.js").ShellClassification;
|
|
7608
8054
|
durationMs: number;
|
|
7609
8055
|
timedOut: boolean;
|
|
7610
8056
|
aborted: boolean;
|
|
7611
8057
|
signal: NodeJS.Signals | null;
|
|
7612
8058
|
forcedTermination: boolean;
|
|
7613
|
-
stdout: import("../core/
|
|
7614
|
-
stderr: import("../core/
|
|
8059
|
+
stdout: import("../core/shellOutput/types.js").StreamReduction;
|
|
8060
|
+
stderr: import("../core/shellOutput/types.js").StreamReduction;
|
|
7615
8061
|
validationSummary: import("./toolResultTypes.js").ValidationSummary | undefined;
|
|
7616
8062
|
stdoutBytes: {
|
|
7617
8063
|
totalBytes: number;
|
|
@@ -7623,7 +8069,6 @@ export declare const hazeTools: {
|
|
|
7623
8069
|
retainedBytes: number;
|
|
7624
8070
|
omittedBytes: number;
|
|
7625
8071
|
};
|
|
7626
|
-
reasonCode?: undefined;
|
|
7627
8072
|
recoverable?: undefined;
|
|
7628
8073
|
suggestedNextStep?: undefined;
|
|
7629
8074
|
background?: undefined;
|
|
@@ -7644,14 +8089,14 @@ export declare const hazeTools: {
|
|
|
7644
8089
|
suggestedNextStep: string;
|
|
7645
8090
|
background?: undefined;
|
|
7646
8091
|
} | {
|
|
7647
|
-
classification: import("../core/safety/
|
|
8092
|
+
classification: import("../core/safety/shellClassifier.js").ShellClassification;
|
|
7648
8093
|
hint: string;
|
|
7649
8094
|
backgroundId: string;
|
|
7650
8095
|
pid?: number;
|
|
7651
8096
|
command: string;
|
|
7652
8097
|
cwd: string;
|
|
7653
8098
|
startedAt: string;
|
|
7654
|
-
status:
|
|
8099
|
+
status: "failed" | "killed" | "running" | "exited";
|
|
7655
8100
|
code?: number | null;
|
|
7656
8101
|
signal?: NodeJS.Signals | null;
|
|
7657
8102
|
outputHandle: string;
|
|
@@ -7676,18 +8121,22 @@ export declare const hazeTools: {
|
|
|
7676
8121
|
suggestedNextStep: string;
|
|
7677
8122
|
} | {
|
|
7678
8123
|
error?: string | undefined;
|
|
8124
|
+
missingExecutableStep?: string | undefined;
|
|
8125
|
+
reasonCode?: "missing_executable" | undefined;
|
|
8126
|
+
missingExecutable?: string | undefined;
|
|
7679
8127
|
ok: boolean;
|
|
7680
8128
|
code: number | null;
|
|
7681
8129
|
command: string;
|
|
8130
|
+
purpose: "validation" | "auto";
|
|
7682
8131
|
cwd: string;
|
|
7683
|
-
classification: import("../core/safety/
|
|
8132
|
+
classification: import("../core/safety/shellClassifier.js").ShellClassification;
|
|
7684
8133
|
durationMs: number;
|
|
7685
8134
|
timedOut: boolean;
|
|
7686
8135
|
aborted: boolean;
|
|
7687
8136
|
signal: NodeJS.Signals | null;
|
|
7688
8137
|
forcedTermination: boolean;
|
|
7689
|
-
stdout: import("../core/
|
|
7690
|
-
stderr: import("../core/
|
|
8138
|
+
stdout: import("../core/shellOutput/types.js").StreamReduction;
|
|
8139
|
+
stderr: import("../core/shellOutput/types.js").StreamReduction;
|
|
7691
8140
|
validationSummary: import("./toolResultTypes.js").ValidationSummary | undefined;
|
|
7692
8141
|
stdoutBytes: {
|
|
7693
8142
|
totalBytes: number;
|
|
@@ -7699,14 +8148,13 @@ export declare const hazeTools: {
|
|
|
7699
8148
|
retainedBytes: number;
|
|
7700
8149
|
omittedBytes: number;
|
|
7701
8150
|
};
|
|
7702
|
-
reasonCode?: undefined;
|
|
7703
8151
|
recoverable?: undefined;
|
|
7704
8152
|
suggestedNextStep?: undefined;
|
|
7705
8153
|
background?: undefined;
|
|
7706
8154
|
}> | undefined;
|
|
7707
8155
|
execute: import("ai").ToolExecuteFunction<{
|
|
7708
8156
|
command: string;
|
|
7709
|
-
|
|
8157
|
+
purpose: "validation" | "auto";
|
|
7710
8158
|
background: boolean;
|
|
7711
8159
|
timeoutSeconds?: number | undefined;
|
|
7712
8160
|
}, {
|
|
@@ -7723,14 +8171,14 @@ export declare const hazeTools: {
|
|
|
7723
8171
|
suggestedNextStep: string;
|
|
7724
8172
|
background?: undefined;
|
|
7725
8173
|
} | {
|
|
7726
|
-
classification: import("../core/safety/
|
|
8174
|
+
classification: import("../core/safety/shellClassifier.js").ShellClassification;
|
|
7727
8175
|
hint: string;
|
|
7728
8176
|
backgroundId: string;
|
|
7729
8177
|
pid?: number;
|
|
7730
8178
|
command: string;
|
|
7731
8179
|
cwd: string;
|
|
7732
8180
|
startedAt: string;
|
|
7733
|
-
status:
|
|
8181
|
+
status: "failed" | "killed" | "running" | "exited";
|
|
7734
8182
|
code?: number | null;
|
|
7735
8183
|
signal?: NodeJS.Signals | null;
|
|
7736
8184
|
outputHandle: string;
|
|
@@ -7755,18 +8203,22 @@ export declare const hazeTools: {
|
|
|
7755
8203
|
suggestedNextStep: string;
|
|
7756
8204
|
} | {
|
|
7757
8205
|
error?: string | undefined;
|
|
8206
|
+
missingExecutableStep?: string | undefined;
|
|
8207
|
+
reasonCode?: "missing_executable" | undefined;
|
|
8208
|
+
missingExecutable?: string | undefined;
|
|
7758
8209
|
ok: boolean;
|
|
7759
8210
|
code: number | null;
|
|
7760
8211
|
command: string;
|
|
8212
|
+
purpose: "validation" | "auto";
|
|
7761
8213
|
cwd: string;
|
|
7762
|
-
classification: import("../core/safety/
|
|
8214
|
+
classification: import("../core/safety/shellClassifier.js").ShellClassification;
|
|
7763
8215
|
durationMs: number;
|
|
7764
8216
|
timedOut: boolean;
|
|
7765
8217
|
aborted: boolean;
|
|
7766
8218
|
signal: NodeJS.Signals | null;
|
|
7767
8219
|
forcedTermination: boolean;
|
|
7768
|
-
stdout: import("../core/
|
|
7769
|
-
stderr: import("../core/
|
|
8220
|
+
stdout: import("../core/shellOutput/types.js").StreamReduction;
|
|
8221
|
+
stderr: import("../core/shellOutput/types.js").StreamReduction;
|
|
7770
8222
|
validationSummary: import("./toolResultTypes.js").ValidationSummary | undefined;
|
|
7771
8223
|
stdoutBytes: {
|
|
7772
8224
|
totalBytes: number;
|
|
@@ -7778,7 +8230,6 @@ export declare const hazeTools: {
|
|
|
7778
8230
|
retainedBytes: number;
|
|
7779
8231
|
omittedBytes: number;
|
|
7780
8232
|
};
|
|
7781
|
-
reasonCode?: undefined;
|
|
7782
8233
|
recoverable?: undefined;
|
|
7783
8234
|
suggestedNextStep?: undefined;
|
|
7784
8235
|
background?: undefined;
|
|
@@ -7792,7 +8243,7 @@ export declare const hazeTools: {
|
|
|
7792
8243
|
inputExamples?: {
|
|
7793
8244
|
input: NoInfer<{
|
|
7794
8245
|
command: string;
|
|
7795
|
-
|
|
8246
|
+
purpose: "validation" | "auto";
|
|
7796
8247
|
background: boolean;
|
|
7797
8248
|
timeoutSeconds?: number | undefined;
|
|
7798
8249
|
}>;
|
|
@@ -7806,7 +8257,7 @@ export declare const hazeTools: {
|
|
|
7806
8257
|
} & {
|
|
7807
8258
|
execute: import("ai").ToolExecuteFunction<{
|
|
7808
8259
|
command: string;
|
|
7809
|
-
|
|
8260
|
+
purpose: "validation" | "auto";
|
|
7810
8261
|
background: boolean;
|
|
7811
8262
|
timeoutSeconds?: number | undefined;
|
|
7812
8263
|
}, {
|
|
@@ -7823,14 +8274,14 @@ export declare const hazeTools: {
|
|
|
7823
8274
|
suggestedNextStep: string;
|
|
7824
8275
|
background?: undefined;
|
|
7825
8276
|
} | {
|
|
7826
|
-
classification: import("../core/safety/
|
|
8277
|
+
classification: import("../core/safety/shellClassifier.js").ShellClassification;
|
|
7827
8278
|
hint: string;
|
|
7828
8279
|
backgroundId: string;
|
|
7829
8280
|
pid?: number;
|
|
7830
8281
|
command: string;
|
|
7831
8282
|
cwd: string;
|
|
7832
8283
|
startedAt: string;
|
|
7833
|
-
status:
|
|
8284
|
+
status: "failed" | "killed" | "running" | "exited";
|
|
7834
8285
|
code?: number | null;
|
|
7835
8286
|
signal?: NodeJS.Signals | null;
|
|
7836
8287
|
outputHandle: string;
|
|
@@ -7855,18 +8306,22 @@ export declare const hazeTools: {
|
|
|
7855
8306
|
suggestedNextStep: string;
|
|
7856
8307
|
} | {
|
|
7857
8308
|
error?: string | undefined;
|
|
8309
|
+
missingExecutableStep?: string | undefined;
|
|
8310
|
+
reasonCode?: "missing_executable" | undefined;
|
|
8311
|
+
missingExecutable?: string | undefined;
|
|
7858
8312
|
ok: boolean;
|
|
7859
8313
|
code: number | null;
|
|
7860
8314
|
command: string;
|
|
8315
|
+
purpose: "validation" | "auto";
|
|
7861
8316
|
cwd: string;
|
|
7862
|
-
classification: import("../core/safety/
|
|
8317
|
+
classification: import("../core/safety/shellClassifier.js").ShellClassification;
|
|
7863
8318
|
durationMs: number;
|
|
7864
8319
|
timedOut: boolean;
|
|
7865
8320
|
aborted: boolean;
|
|
7866
8321
|
signal: NodeJS.Signals | null;
|
|
7867
8322
|
forcedTermination: boolean;
|
|
7868
|
-
stdout: import("../core/
|
|
7869
|
-
stderr: import("../core/
|
|
8323
|
+
stdout: import("../core/shellOutput/types.js").StreamReduction;
|
|
8324
|
+
stderr: import("../core/shellOutput/types.js").StreamReduction;
|
|
7870
8325
|
validationSummary: import("./toolResultTypes.js").ValidationSummary | undefined;
|
|
7871
8326
|
stdoutBytes: {
|
|
7872
8327
|
totalBytes: number;
|
|
@@ -7878,7 +8333,6 @@ export declare const hazeTools: {
|
|
|
7878
8333
|
retainedBytes: number;
|
|
7879
8334
|
omittedBytes: number;
|
|
7880
8335
|
};
|
|
7881
|
-
reasonCode?: undefined;
|
|
7882
8336
|
recoverable?: undefined;
|
|
7883
8337
|
suggestedNextStep?: undefined;
|
|
7884
8338
|
background?: undefined;
|
|
@@ -7889,14 +8343,14 @@ export declare const hazeTools: {
|
|
|
7889
8343
|
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
7890
8344
|
inputSchema: import("ai").FlexibleSchema<{
|
|
7891
8345
|
command: string;
|
|
7892
|
-
|
|
8346
|
+
purpose: "validation" | "auto";
|
|
7893
8347
|
background: boolean;
|
|
7894
8348
|
timeoutSeconds?: number | undefined;
|
|
7895
8349
|
}>;
|
|
7896
8350
|
contextSchema?: import("ai").FlexibleSchema<import("./tools/toolContext.js").HazeToolContext> | undefined;
|
|
7897
8351
|
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
7898
8352
|
command: string;
|
|
7899
|
-
|
|
8353
|
+
purpose: "validation" | "auto";
|
|
7900
8354
|
background: boolean;
|
|
7901
8355
|
timeoutSeconds?: number | undefined;
|
|
7902
8356
|
}, NoInfer<import("./tools/toolContext.js").HazeToolContext>> | undefined;
|
|
@@ -7907,7 +8361,7 @@ export declare const hazeTools: {
|
|
|
7907
8361
|
onInputAvailable?: ((options: {
|
|
7908
8362
|
input: {
|
|
7909
8363
|
command: string;
|
|
7910
|
-
|
|
8364
|
+
purpose: "validation" | "auto";
|
|
7911
8365
|
background: boolean;
|
|
7912
8366
|
timeoutSeconds?: number | undefined;
|
|
7913
8367
|
};
|
|
@@ -7916,7 +8370,7 @@ export declare const hazeTools: {
|
|
|
7916
8370
|
toolCallId: string;
|
|
7917
8371
|
input: {
|
|
7918
8372
|
command: string;
|
|
7919
|
-
|
|
8373
|
+
purpose: "validation" | "auto";
|
|
7920
8374
|
background: boolean;
|
|
7921
8375
|
timeoutSeconds?: number | undefined;
|
|
7922
8376
|
};
|
|
@@ -7934,14 +8388,14 @@ export declare const hazeTools: {
|
|
|
7934
8388
|
suggestedNextStep: string;
|
|
7935
8389
|
background?: undefined;
|
|
7936
8390
|
} | {
|
|
7937
|
-
classification: import("../core/safety/
|
|
8391
|
+
classification: import("../core/safety/shellClassifier.js").ShellClassification;
|
|
7938
8392
|
hint: string;
|
|
7939
8393
|
backgroundId: string;
|
|
7940
8394
|
pid?: number;
|
|
7941
8395
|
command: string;
|
|
7942
8396
|
cwd: string;
|
|
7943
8397
|
startedAt: string;
|
|
7944
|
-
status:
|
|
8398
|
+
status: "failed" | "killed" | "running" | "exited";
|
|
7945
8399
|
code?: number | null;
|
|
7946
8400
|
signal?: NodeJS.Signals | null;
|
|
7947
8401
|
outputHandle: string;
|
|
@@ -7966,18 +8420,22 @@ export declare const hazeTools: {
|
|
|
7966
8420
|
suggestedNextStep: string;
|
|
7967
8421
|
} | {
|
|
7968
8422
|
error?: string | undefined;
|
|
8423
|
+
missingExecutableStep?: string | undefined;
|
|
8424
|
+
reasonCode?: "missing_executable" | undefined;
|
|
8425
|
+
missingExecutable?: string | undefined;
|
|
7969
8426
|
ok: boolean;
|
|
7970
8427
|
code: number | null;
|
|
7971
8428
|
command: string;
|
|
8429
|
+
purpose: "validation" | "auto";
|
|
7972
8430
|
cwd: string;
|
|
7973
|
-
classification: import("../core/safety/
|
|
8431
|
+
classification: import("../core/safety/shellClassifier.js").ShellClassification;
|
|
7974
8432
|
durationMs: number;
|
|
7975
8433
|
timedOut: boolean;
|
|
7976
8434
|
aborted: boolean;
|
|
7977
8435
|
signal: NodeJS.Signals | null;
|
|
7978
8436
|
forcedTermination: boolean;
|
|
7979
|
-
stdout: import("../core/
|
|
7980
|
-
stderr: import("../core/
|
|
8437
|
+
stdout: import("../core/shellOutput/types.js").StreamReduction;
|
|
8438
|
+
stderr: import("../core/shellOutput/types.js").StreamReduction;
|
|
7981
8439
|
validationSummary: import("./toolResultTypes.js").ValidationSummary | undefined;
|
|
7982
8440
|
stdoutBytes: {
|
|
7983
8441
|
totalBytes: number;
|
|
@@ -7989,7 +8447,6 @@ export declare const hazeTools: {
|
|
|
7989
8447
|
retainedBytes: number;
|
|
7990
8448
|
omittedBytes: number;
|
|
7991
8449
|
};
|
|
7992
|
-
reasonCode?: undefined;
|
|
7993
8450
|
recoverable?: undefined;
|
|
7994
8451
|
suggestedNextStep?: undefined;
|
|
7995
8452
|
background?: undefined;
|
|
@@ -8010,14 +8467,14 @@ export declare const hazeTools: {
|
|
|
8010
8467
|
suggestedNextStep: string;
|
|
8011
8468
|
background?: undefined;
|
|
8012
8469
|
} | {
|
|
8013
|
-
classification: import("../core/safety/
|
|
8470
|
+
classification: import("../core/safety/shellClassifier.js").ShellClassification;
|
|
8014
8471
|
hint: string;
|
|
8015
8472
|
backgroundId: string;
|
|
8016
8473
|
pid?: number;
|
|
8017
8474
|
command: string;
|
|
8018
8475
|
cwd: string;
|
|
8019
8476
|
startedAt: string;
|
|
8020
|
-
status:
|
|
8477
|
+
status: "failed" | "killed" | "running" | "exited";
|
|
8021
8478
|
code?: number | null;
|
|
8022
8479
|
signal?: NodeJS.Signals | null;
|
|
8023
8480
|
outputHandle: string;
|
|
@@ -8042,18 +8499,22 @@ export declare const hazeTools: {
|
|
|
8042
8499
|
suggestedNextStep: string;
|
|
8043
8500
|
} | {
|
|
8044
8501
|
error?: string | undefined;
|
|
8502
|
+
missingExecutableStep?: string | undefined;
|
|
8503
|
+
reasonCode?: "missing_executable" | undefined;
|
|
8504
|
+
missingExecutable?: string | undefined;
|
|
8045
8505
|
ok: boolean;
|
|
8046
8506
|
code: number | null;
|
|
8047
8507
|
command: string;
|
|
8508
|
+
purpose: "validation" | "auto";
|
|
8048
8509
|
cwd: string;
|
|
8049
|
-
classification: import("../core/safety/
|
|
8510
|
+
classification: import("../core/safety/shellClassifier.js").ShellClassification;
|
|
8050
8511
|
durationMs: number;
|
|
8051
8512
|
timedOut: boolean;
|
|
8052
8513
|
aborted: boolean;
|
|
8053
8514
|
signal: NodeJS.Signals | null;
|
|
8054
8515
|
forcedTermination: boolean;
|
|
8055
|
-
stdout: import("../core/
|
|
8056
|
-
stderr: import("../core/
|
|
8516
|
+
stdout: import("../core/shellOutput/types.js").StreamReduction;
|
|
8517
|
+
stderr: import("../core/shellOutput/types.js").StreamReduction;
|
|
8057
8518
|
validationSummary: import("./toolResultTypes.js").ValidationSummary | undefined;
|
|
8058
8519
|
stdoutBytes: {
|
|
8059
8520
|
totalBytes: number;
|
|
@@ -8065,14 +8526,13 @@ export declare const hazeTools: {
|
|
|
8065
8526
|
retainedBytes: number;
|
|
8066
8527
|
omittedBytes: number;
|
|
8067
8528
|
};
|
|
8068
|
-
reasonCode?: undefined;
|
|
8069
8529
|
recoverable?: undefined;
|
|
8070
8530
|
suggestedNextStep?: undefined;
|
|
8071
8531
|
background?: undefined;
|
|
8072
8532
|
}> | undefined;
|
|
8073
8533
|
execute: import("ai").ToolExecuteFunction<{
|
|
8074
8534
|
command: string;
|
|
8075
|
-
|
|
8535
|
+
purpose: "validation" | "auto";
|
|
8076
8536
|
background: boolean;
|
|
8077
8537
|
timeoutSeconds?: number | undefined;
|
|
8078
8538
|
}, {
|
|
@@ -8089,14 +8549,14 @@ export declare const hazeTools: {
|
|
|
8089
8549
|
suggestedNextStep: string;
|
|
8090
8550
|
background?: undefined;
|
|
8091
8551
|
} | {
|
|
8092
|
-
classification: import("../core/safety/
|
|
8552
|
+
classification: import("../core/safety/shellClassifier.js").ShellClassification;
|
|
8093
8553
|
hint: string;
|
|
8094
8554
|
backgroundId: string;
|
|
8095
8555
|
pid?: number;
|
|
8096
8556
|
command: string;
|
|
8097
8557
|
cwd: string;
|
|
8098
8558
|
startedAt: string;
|
|
8099
|
-
status:
|
|
8559
|
+
status: "failed" | "killed" | "running" | "exited";
|
|
8100
8560
|
code?: number | null;
|
|
8101
8561
|
signal?: NodeJS.Signals | null;
|
|
8102
8562
|
outputHandle: string;
|
|
@@ -8121,18 +8581,22 @@ export declare const hazeTools: {
|
|
|
8121
8581
|
suggestedNextStep: string;
|
|
8122
8582
|
} | {
|
|
8123
8583
|
error?: string | undefined;
|
|
8584
|
+
missingExecutableStep?: string | undefined;
|
|
8585
|
+
reasonCode?: "missing_executable" | undefined;
|
|
8586
|
+
missingExecutable?: string | undefined;
|
|
8124
8587
|
ok: boolean;
|
|
8125
8588
|
code: number | null;
|
|
8126
8589
|
command: string;
|
|
8590
|
+
purpose: "validation" | "auto";
|
|
8127
8591
|
cwd: string;
|
|
8128
|
-
classification: import("../core/safety/
|
|
8592
|
+
classification: import("../core/safety/shellClassifier.js").ShellClassification;
|
|
8129
8593
|
durationMs: number;
|
|
8130
8594
|
timedOut: boolean;
|
|
8131
8595
|
aborted: boolean;
|
|
8132
8596
|
signal: NodeJS.Signals | null;
|
|
8133
8597
|
forcedTermination: boolean;
|
|
8134
|
-
stdout: import("../core/
|
|
8135
|
-
stderr: import("../core/
|
|
8598
|
+
stdout: import("../core/shellOutput/types.js").StreamReduction;
|
|
8599
|
+
stderr: import("../core/shellOutput/types.js").StreamReduction;
|
|
8136
8600
|
validationSummary: import("./toolResultTypes.js").ValidationSummary | undefined;
|
|
8137
8601
|
stdoutBytes: {
|
|
8138
8602
|
totalBytes: number;
|
|
@@ -8144,7 +8608,6 @@ export declare const hazeTools: {
|
|
|
8144
8608
|
retainedBytes: number;
|
|
8145
8609
|
omittedBytes: number;
|
|
8146
8610
|
};
|
|
8147
|
-
reasonCode?: undefined;
|
|
8148
8611
|
recoverable?: undefined;
|
|
8149
8612
|
suggestedNextStep?: undefined;
|
|
8150
8613
|
background?: undefined;
|
|
@@ -8158,7 +8621,7 @@ export declare const hazeTools: {
|
|
|
8158
8621
|
inputExamples?: {
|
|
8159
8622
|
input: NoInfer<{
|
|
8160
8623
|
command: string;
|
|
8161
|
-
|
|
8624
|
+
purpose: "validation" | "auto";
|
|
8162
8625
|
background: boolean;
|
|
8163
8626
|
timeoutSeconds?: number | undefined;
|
|
8164
8627
|
}>;
|
|
@@ -8172,7 +8635,7 @@ export declare const hazeTools: {
|
|
|
8172
8635
|
} & {
|
|
8173
8636
|
execute: import("ai").ToolExecuteFunction<{
|
|
8174
8637
|
command: string;
|
|
8175
|
-
|
|
8638
|
+
purpose: "validation" | "auto";
|
|
8176
8639
|
background: boolean;
|
|
8177
8640
|
timeoutSeconds?: number | undefined;
|
|
8178
8641
|
}, {
|
|
@@ -8189,14 +8652,14 @@ export declare const hazeTools: {
|
|
|
8189
8652
|
suggestedNextStep: string;
|
|
8190
8653
|
background?: undefined;
|
|
8191
8654
|
} | {
|
|
8192
|
-
classification: import("../core/safety/
|
|
8655
|
+
classification: import("../core/safety/shellClassifier.js").ShellClassification;
|
|
8193
8656
|
hint: string;
|
|
8194
8657
|
backgroundId: string;
|
|
8195
8658
|
pid?: number;
|
|
8196
8659
|
command: string;
|
|
8197
8660
|
cwd: string;
|
|
8198
8661
|
startedAt: string;
|
|
8199
|
-
status:
|
|
8662
|
+
status: "failed" | "killed" | "running" | "exited";
|
|
8200
8663
|
code?: number | null;
|
|
8201
8664
|
signal?: NodeJS.Signals | null;
|
|
8202
8665
|
outputHandle: string;
|
|
@@ -8221,18 +8684,22 @@ export declare const hazeTools: {
|
|
|
8221
8684
|
suggestedNextStep: string;
|
|
8222
8685
|
} | {
|
|
8223
8686
|
error?: string | undefined;
|
|
8687
|
+
missingExecutableStep?: string | undefined;
|
|
8688
|
+
reasonCode?: "missing_executable" | undefined;
|
|
8689
|
+
missingExecutable?: string | undefined;
|
|
8224
8690
|
ok: boolean;
|
|
8225
8691
|
code: number | null;
|
|
8226
8692
|
command: string;
|
|
8693
|
+
purpose: "validation" | "auto";
|
|
8227
8694
|
cwd: string;
|
|
8228
|
-
classification: import("../core/safety/
|
|
8695
|
+
classification: import("../core/safety/shellClassifier.js").ShellClassification;
|
|
8229
8696
|
durationMs: number;
|
|
8230
8697
|
timedOut: boolean;
|
|
8231
8698
|
aborted: boolean;
|
|
8232
8699
|
signal: NodeJS.Signals | null;
|
|
8233
8700
|
forcedTermination: boolean;
|
|
8234
|
-
stdout: import("../core/
|
|
8235
|
-
stderr: import("../core/
|
|
8701
|
+
stdout: import("../core/shellOutput/types.js").StreamReduction;
|
|
8702
|
+
stderr: import("../core/shellOutput/types.js").StreamReduction;
|
|
8236
8703
|
validationSummary: import("./toolResultTypes.js").ValidationSummary | undefined;
|
|
8237
8704
|
stdoutBytes: {
|
|
8238
8705
|
totalBytes: number;
|
|
@@ -8244,7 +8711,6 @@ export declare const hazeTools: {
|
|
|
8244
8711
|
retainedBytes: number;
|
|
8245
8712
|
omittedBytes: number;
|
|
8246
8713
|
};
|
|
8247
|
-
reasonCode?: undefined;
|
|
8248
8714
|
recoverable?: undefined;
|
|
8249
8715
|
suggestedNextStep?: undefined;
|
|
8250
8716
|
background?: undefined;
|
|
@@ -8255,14 +8721,14 @@ export declare const hazeTools: {
|
|
|
8255
8721
|
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
8256
8722
|
inputSchema: import("ai").FlexibleSchema<{
|
|
8257
8723
|
command: string;
|
|
8258
|
-
|
|
8724
|
+
purpose: "validation" | "auto";
|
|
8259
8725
|
background: boolean;
|
|
8260
8726
|
timeoutSeconds?: number | undefined;
|
|
8261
8727
|
}>;
|
|
8262
8728
|
contextSchema?: import("ai").FlexibleSchema<import("./tools/toolContext.js").HazeToolContext> | undefined;
|
|
8263
8729
|
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
8264
8730
|
command: string;
|
|
8265
|
-
|
|
8731
|
+
purpose: "validation" | "auto";
|
|
8266
8732
|
background: boolean;
|
|
8267
8733
|
timeoutSeconds?: number | undefined;
|
|
8268
8734
|
}, NoInfer<import("./tools/toolContext.js").HazeToolContext>> | undefined;
|
|
@@ -8273,7 +8739,7 @@ export declare const hazeTools: {
|
|
|
8273
8739
|
onInputAvailable?: ((options: {
|
|
8274
8740
|
input: {
|
|
8275
8741
|
command: string;
|
|
8276
|
-
|
|
8742
|
+
purpose: "validation" | "auto";
|
|
8277
8743
|
background: boolean;
|
|
8278
8744
|
timeoutSeconds?: number | undefined;
|
|
8279
8745
|
};
|
|
@@ -8282,7 +8748,7 @@ export declare const hazeTools: {
|
|
|
8282
8748
|
toolCallId: string;
|
|
8283
8749
|
input: {
|
|
8284
8750
|
command: string;
|
|
8285
|
-
|
|
8751
|
+
purpose: "validation" | "auto";
|
|
8286
8752
|
background: boolean;
|
|
8287
8753
|
timeoutSeconds?: number | undefined;
|
|
8288
8754
|
};
|
|
@@ -8300,14 +8766,14 @@ export declare const hazeTools: {
|
|
|
8300
8766
|
suggestedNextStep: string;
|
|
8301
8767
|
background?: undefined;
|
|
8302
8768
|
} | {
|
|
8303
|
-
classification: import("../core/safety/
|
|
8769
|
+
classification: import("../core/safety/shellClassifier.js").ShellClassification;
|
|
8304
8770
|
hint: string;
|
|
8305
8771
|
backgroundId: string;
|
|
8306
8772
|
pid?: number;
|
|
8307
8773
|
command: string;
|
|
8308
8774
|
cwd: string;
|
|
8309
8775
|
startedAt: string;
|
|
8310
|
-
status:
|
|
8776
|
+
status: "failed" | "killed" | "running" | "exited";
|
|
8311
8777
|
code?: number | null;
|
|
8312
8778
|
signal?: NodeJS.Signals | null;
|
|
8313
8779
|
outputHandle: string;
|
|
@@ -8332,18 +8798,22 @@ export declare const hazeTools: {
|
|
|
8332
8798
|
suggestedNextStep: string;
|
|
8333
8799
|
} | {
|
|
8334
8800
|
error?: string | undefined;
|
|
8801
|
+
missingExecutableStep?: string | undefined;
|
|
8802
|
+
reasonCode?: "missing_executable" | undefined;
|
|
8803
|
+
missingExecutable?: string | undefined;
|
|
8335
8804
|
ok: boolean;
|
|
8336
8805
|
code: number | null;
|
|
8337
8806
|
command: string;
|
|
8807
|
+
purpose: "validation" | "auto";
|
|
8338
8808
|
cwd: string;
|
|
8339
|
-
classification: import("../core/safety/
|
|
8809
|
+
classification: import("../core/safety/shellClassifier.js").ShellClassification;
|
|
8340
8810
|
durationMs: number;
|
|
8341
8811
|
timedOut: boolean;
|
|
8342
8812
|
aborted: boolean;
|
|
8343
8813
|
signal: NodeJS.Signals | null;
|
|
8344
8814
|
forcedTermination: boolean;
|
|
8345
|
-
stdout: import("../core/
|
|
8346
|
-
stderr: import("../core/
|
|
8815
|
+
stdout: import("../core/shellOutput/types.js").StreamReduction;
|
|
8816
|
+
stderr: import("../core/shellOutput/types.js").StreamReduction;
|
|
8347
8817
|
validationSummary: import("./toolResultTypes.js").ValidationSummary | undefined;
|
|
8348
8818
|
stdoutBytes: {
|
|
8349
8819
|
totalBytes: number;
|
|
@@ -8355,7 +8825,6 @@ export declare const hazeTools: {
|
|
|
8355
8825
|
retainedBytes: number;
|
|
8356
8826
|
omittedBytes: number;
|
|
8357
8827
|
};
|
|
8358
|
-
reasonCode?: undefined;
|
|
8359
8828
|
recoverable?: undefined;
|
|
8360
8829
|
suggestedNextStep?: undefined;
|
|
8361
8830
|
background?: undefined;
|
|
@@ -8376,14 +8845,14 @@ export declare const hazeTools: {
|
|
|
8376
8845
|
suggestedNextStep: string;
|
|
8377
8846
|
background?: undefined;
|
|
8378
8847
|
} | {
|
|
8379
|
-
classification: import("../core/safety/
|
|
8848
|
+
classification: import("../core/safety/shellClassifier.js").ShellClassification;
|
|
8380
8849
|
hint: string;
|
|
8381
8850
|
backgroundId: string;
|
|
8382
8851
|
pid?: number;
|
|
8383
8852
|
command: string;
|
|
8384
8853
|
cwd: string;
|
|
8385
8854
|
startedAt: string;
|
|
8386
|
-
status:
|
|
8855
|
+
status: "failed" | "killed" | "running" | "exited";
|
|
8387
8856
|
code?: number | null;
|
|
8388
8857
|
signal?: NodeJS.Signals | null;
|
|
8389
8858
|
outputHandle: string;
|
|
@@ -8408,18 +8877,22 @@ export declare const hazeTools: {
|
|
|
8408
8877
|
suggestedNextStep: string;
|
|
8409
8878
|
} | {
|
|
8410
8879
|
error?: string | undefined;
|
|
8880
|
+
missingExecutableStep?: string | undefined;
|
|
8881
|
+
reasonCode?: "missing_executable" | undefined;
|
|
8882
|
+
missingExecutable?: string | undefined;
|
|
8411
8883
|
ok: boolean;
|
|
8412
8884
|
code: number | null;
|
|
8413
8885
|
command: string;
|
|
8886
|
+
purpose: "validation" | "auto";
|
|
8414
8887
|
cwd: string;
|
|
8415
|
-
classification: import("../core/safety/
|
|
8888
|
+
classification: import("../core/safety/shellClassifier.js").ShellClassification;
|
|
8416
8889
|
durationMs: number;
|
|
8417
8890
|
timedOut: boolean;
|
|
8418
8891
|
aborted: boolean;
|
|
8419
8892
|
signal: NodeJS.Signals | null;
|
|
8420
8893
|
forcedTermination: boolean;
|
|
8421
|
-
stdout: import("../core/
|
|
8422
|
-
stderr: import("../core/
|
|
8894
|
+
stdout: import("../core/shellOutput/types.js").StreamReduction;
|
|
8895
|
+
stderr: import("../core/shellOutput/types.js").StreamReduction;
|
|
8423
8896
|
validationSummary: import("./toolResultTypes.js").ValidationSummary | undefined;
|
|
8424
8897
|
stdoutBytes: {
|
|
8425
8898
|
totalBytes: number;
|
|
@@ -8431,14 +8904,13 @@ export declare const hazeTools: {
|
|
|
8431
8904
|
retainedBytes: number;
|
|
8432
8905
|
omittedBytes: number;
|
|
8433
8906
|
};
|
|
8434
|
-
reasonCode?: undefined;
|
|
8435
8907
|
recoverable?: undefined;
|
|
8436
8908
|
suggestedNextStep?: undefined;
|
|
8437
8909
|
background?: undefined;
|
|
8438
8910
|
}> | undefined;
|
|
8439
8911
|
execute: import("ai").ToolExecuteFunction<{
|
|
8440
8912
|
command: string;
|
|
8441
|
-
|
|
8913
|
+
purpose: "validation" | "auto";
|
|
8442
8914
|
background: boolean;
|
|
8443
8915
|
timeoutSeconds?: number | undefined;
|
|
8444
8916
|
}, {
|
|
@@ -8455,14 +8927,14 @@ export declare const hazeTools: {
|
|
|
8455
8927
|
suggestedNextStep: string;
|
|
8456
8928
|
background?: undefined;
|
|
8457
8929
|
} | {
|
|
8458
|
-
classification: import("../core/safety/
|
|
8930
|
+
classification: import("../core/safety/shellClassifier.js").ShellClassification;
|
|
8459
8931
|
hint: string;
|
|
8460
8932
|
backgroundId: string;
|
|
8461
8933
|
pid?: number;
|
|
8462
8934
|
command: string;
|
|
8463
8935
|
cwd: string;
|
|
8464
8936
|
startedAt: string;
|
|
8465
|
-
status:
|
|
8937
|
+
status: "failed" | "killed" | "running" | "exited";
|
|
8466
8938
|
code?: number | null;
|
|
8467
8939
|
signal?: NodeJS.Signals | null;
|
|
8468
8940
|
outputHandle: string;
|
|
@@ -8487,18 +8959,22 @@ export declare const hazeTools: {
|
|
|
8487
8959
|
suggestedNextStep: string;
|
|
8488
8960
|
} | {
|
|
8489
8961
|
error?: string | undefined;
|
|
8962
|
+
missingExecutableStep?: string | undefined;
|
|
8963
|
+
reasonCode?: "missing_executable" | undefined;
|
|
8964
|
+
missingExecutable?: string | undefined;
|
|
8490
8965
|
ok: boolean;
|
|
8491
8966
|
code: number | null;
|
|
8492
8967
|
command: string;
|
|
8968
|
+
purpose: "validation" | "auto";
|
|
8493
8969
|
cwd: string;
|
|
8494
|
-
classification: import("../core/safety/
|
|
8970
|
+
classification: import("../core/safety/shellClassifier.js").ShellClassification;
|
|
8495
8971
|
durationMs: number;
|
|
8496
8972
|
timedOut: boolean;
|
|
8497
8973
|
aborted: boolean;
|
|
8498
8974
|
signal: NodeJS.Signals | null;
|
|
8499
8975
|
forcedTermination: boolean;
|
|
8500
|
-
stdout: import("../core/
|
|
8501
|
-
stderr: import("../core/
|
|
8976
|
+
stdout: import("../core/shellOutput/types.js").StreamReduction;
|
|
8977
|
+
stderr: import("../core/shellOutput/types.js").StreamReduction;
|
|
8502
8978
|
validationSummary: import("./toolResultTypes.js").ValidationSummary | undefined;
|
|
8503
8979
|
stdoutBytes: {
|
|
8504
8980
|
totalBytes: number;
|
|
@@ -8510,7 +8986,6 @@ export declare const hazeTools: {
|
|
|
8510
8986
|
retainedBytes: number;
|
|
8511
8987
|
omittedBytes: number;
|
|
8512
8988
|
};
|
|
8513
|
-
reasonCode?: undefined;
|
|
8514
8989
|
recoverable?: undefined;
|
|
8515
8990
|
suggestedNextStep?: undefined;
|
|
8516
8991
|
background?: undefined;
|
|
@@ -8528,7 +9003,7 @@ export declare const hazeTools: {
|
|
|
8528
9003
|
} & {
|
|
8529
9004
|
execute: import("ai").ToolExecuteFunction<{
|
|
8530
9005
|
command: string;
|
|
8531
|
-
|
|
9006
|
+
purpose: "validation" | "auto";
|
|
8532
9007
|
background: boolean;
|
|
8533
9008
|
timeoutSeconds?: number | undefined;
|
|
8534
9009
|
}, {
|
|
@@ -8545,14 +9020,14 @@ export declare const hazeTools: {
|
|
|
8545
9020
|
suggestedNextStep: string;
|
|
8546
9021
|
background?: undefined;
|
|
8547
9022
|
} | {
|
|
8548
|
-
classification: import("../core/safety/
|
|
9023
|
+
classification: import("../core/safety/shellClassifier.js").ShellClassification;
|
|
8549
9024
|
hint: string;
|
|
8550
9025
|
backgroundId: string;
|
|
8551
9026
|
pid?: number;
|
|
8552
9027
|
command: string;
|
|
8553
9028
|
cwd: string;
|
|
8554
9029
|
startedAt: string;
|
|
8555
|
-
status:
|
|
9030
|
+
status: "failed" | "killed" | "running" | "exited";
|
|
8556
9031
|
code?: number | null;
|
|
8557
9032
|
signal?: NodeJS.Signals | null;
|
|
8558
9033
|
outputHandle: string;
|
|
@@ -8577,18 +9052,22 @@ export declare const hazeTools: {
|
|
|
8577
9052
|
suggestedNextStep: string;
|
|
8578
9053
|
} | {
|
|
8579
9054
|
error?: string | undefined;
|
|
9055
|
+
missingExecutableStep?: string | undefined;
|
|
9056
|
+
reasonCode?: "missing_executable" | undefined;
|
|
9057
|
+
missingExecutable?: string | undefined;
|
|
8580
9058
|
ok: boolean;
|
|
8581
9059
|
code: number | null;
|
|
8582
9060
|
command: string;
|
|
9061
|
+
purpose: "validation" | "auto";
|
|
8583
9062
|
cwd: string;
|
|
8584
|
-
classification: import("../core/safety/
|
|
9063
|
+
classification: import("../core/safety/shellClassifier.js").ShellClassification;
|
|
8585
9064
|
durationMs: number;
|
|
8586
9065
|
timedOut: boolean;
|
|
8587
9066
|
aborted: boolean;
|
|
8588
9067
|
signal: NodeJS.Signals | null;
|
|
8589
9068
|
forcedTermination: boolean;
|
|
8590
|
-
stdout: import("../core/
|
|
8591
|
-
stderr: import("../core/
|
|
9069
|
+
stdout: import("../core/shellOutput/types.js").StreamReduction;
|
|
9070
|
+
stderr: import("../core/shellOutput/types.js").StreamReduction;
|
|
8592
9071
|
validationSummary: import("./toolResultTypes.js").ValidationSummary | undefined;
|
|
8593
9072
|
stdoutBytes: {
|
|
8594
9073
|
totalBytes: number;
|
|
@@ -8600,7 +9079,6 @@ export declare const hazeTools: {
|
|
|
8600
9079
|
retainedBytes: number;
|
|
8601
9080
|
omittedBytes: number;
|
|
8602
9081
|
};
|
|
8603
|
-
reasonCode?: undefined;
|
|
8604
9082
|
recoverable?: undefined;
|
|
8605
9083
|
suggestedNextStep?: undefined;
|
|
8606
9084
|
background?: undefined;
|
|
@@ -8611,14 +9089,14 @@ export declare const hazeTools: {
|
|
|
8611
9089
|
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
8612
9090
|
inputSchema: import("ai").FlexibleSchema<{
|
|
8613
9091
|
command: string;
|
|
8614
|
-
|
|
9092
|
+
purpose: "validation" | "auto";
|
|
8615
9093
|
background: boolean;
|
|
8616
9094
|
timeoutSeconds?: number | undefined;
|
|
8617
9095
|
}>;
|
|
8618
9096
|
contextSchema?: import("ai").FlexibleSchema<import("./tools/toolContext.js").HazeToolContext> | undefined;
|
|
8619
9097
|
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
8620
9098
|
command: string;
|
|
8621
|
-
|
|
9099
|
+
purpose: "validation" | "auto";
|
|
8622
9100
|
background: boolean;
|
|
8623
9101
|
timeoutSeconds?: number | undefined;
|
|
8624
9102
|
}, NoInfer<import("./tools/toolContext.js").HazeToolContext>> | undefined;
|
|
@@ -8629,7 +9107,7 @@ export declare const hazeTools: {
|
|
|
8629
9107
|
onInputAvailable?: ((options: {
|
|
8630
9108
|
input: {
|
|
8631
9109
|
command: string;
|
|
8632
|
-
|
|
9110
|
+
purpose: "validation" | "auto";
|
|
8633
9111
|
background: boolean;
|
|
8634
9112
|
timeoutSeconds?: number | undefined;
|
|
8635
9113
|
};
|
|
@@ -8638,7 +9116,7 @@ export declare const hazeTools: {
|
|
|
8638
9116
|
toolCallId: string;
|
|
8639
9117
|
input: {
|
|
8640
9118
|
command: string;
|
|
8641
|
-
|
|
9119
|
+
purpose: "validation" | "auto";
|
|
8642
9120
|
background: boolean;
|
|
8643
9121
|
timeoutSeconds?: number | undefined;
|
|
8644
9122
|
};
|
|
@@ -8656,14 +9134,14 @@ export declare const hazeTools: {
|
|
|
8656
9134
|
suggestedNextStep: string;
|
|
8657
9135
|
background?: undefined;
|
|
8658
9136
|
} | {
|
|
8659
|
-
classification: import("../core/safety/
|
|
9137
|
+
classification: import("../core/safety/shellClassifier.js").ShellClassification;
|
|
8660
9138
|
hint: string;
|
|
8661
9139
|
backgroundId: string;
|
|
8662
9140
|
pid?: number;
|
|
8663
9141
|
command: string;
|
|
8664
9142
|
cwd: string;
|
|
8665
9143
|
startedAt: string;
|
|
8666
|
-
status:
|
|
9144
|
+
status: "failed" | "killed" | "running" | "exited";
|
|
8667
9145
|
code?: number | null;
|
|
8668
9146
|
signal?: NodeJS.Signals | null;
|
|
8669
9147
|
outputHandle: string;
|
|
@@ -8688,18 +9166,22 @@ export declare const hazeTools: {
|
|
|
8688
9166
|
suggestedNextStep: string;
|
|
8689
9167
|
} | {
|
|
8690
9168
|
error?: string | undefined;
|
|
9169
|
+
missingExecutableStep?: string | undefined;
|
|
9170
|
+
reasonCode?: "missing_executable" | undefined;
|
|
9171
|
+
missingExecutable?: string | undefined;
|
|
8691
9172
|
ok: boolean;
|
|
8692
9173
|
code: number | null;
|
|
8693
9174
|
command: string;
|
|
9175
|
+
purpose: "validation" | "auto";
|
|
8694
9176
|
cwd: string;
|
|
8695
|
-
classification: import("../core/safety/
|
|
9177
|
+
classification: import("../core/safety/shellClassifier.js").ShellClassification;
|
|
8696
9178
|
durationMs: number;
|
|
8697
9179
|
timedOut: boolean;
|
|
8698
9180
|
aborted: boolean;
|
|
8699
9181
|
signal: NodeJS.Signals | null;
|
|
8700
9182
|
forcedTermination: boolean;
|
|
8701
|
-
stdout: import("../core/
|
|
8702
|
-
stderr: import("../core/
|
|
9183
|
+
stdout: import("../core/shellOutput/types.js").StreamReduction;
|
|
9184
|
+
stderr: import("../core/shellOutput/types.js").StreamReduction;
|
|
8703
9185
|
validationSummary: import("./toolResultTypes.js").ValidationSummary | undefined;
|
|
8704
9186
|
stdoutBytes: {
|
|
8705
9187
|
totalBytes: number;
|
|
@@ -8711,7 +9193,6 @@ export declare const hazeTools: {
|
|
|
8711
9193
|
retainedBytes: number;
|
|
8712
9194
|
omittedBytes: number;
|
|
8713
9195
|
};
|
|
8714
|
-
reasonCode?: undefined;
|
|
8715
9196
|
recoverable?: undefined;
|
|
8716
9197
|
suggestedNextStep?: undefined;
|
|
8717
9198
|
background?: undefined;
|
|
@@ -8732,14 +9213,14 @@ export declare const hazeTools: {
|
|
|
8732
9213
|
suggestedNextStep: string;
|
|
8733
9214
|
background?: undefined;
|
|
8734
9215
|
} | {
|
|
8735
|
-
classification: import("../core/safety/
|
|
9216
|
+
classification: import("../core/safety/shellClassifier.js").ShellClassification;
|
|
8736
9217
|
hint: string;
|
|
8737
9218
|
backgroundId: string;
|
|
8738
9219
|
pid?: number;
|
|
8739
9220
|
command: string;
|
|
8740
9221
|
cwd: string;
|
|
8741
9222
|
startedAt: string;
|
|
8742
|
-
status:
|
|
9223
|
+
status: "failed" | "killed" | "running" | "exited";
|
|
8743
9224
|
code?: number | null;
|
|
8744
9225
|
signal?: NodeJS.Signals | null;
|
|
8745
9226
|
outputHandle: string;
|
|
@@ -8764,18 +9245,22 @@ export declare const hazeTools: {
|
|
|
8764
9245
|
suggestedNextStep: string;
|
|
8765
9246
|
} | {
|
|
8766
9247
|
error?: string | undefined;
|
|
9248
|
+
missingExecutableStep?: string | undefined;
|
|
9249
|
+
reasonCode?: "missing_executable" | undefined;
|
|
9250
|
+
missingExecutable?: string | undefined;
|
|
8767
9251
|
ok: boolean;
|
|
8768
9252
|
code: number | null;
|
|
8769
9253
|
command: string;
|
|
9254
|
+
purpose: "validation" | "auto";
|
|
8770
9255
|
cwd: string;
|
|
8771
|
-
classification: import("../core/safety/
|
|
9256
|
+
classification: import("../core/safety/shellClassifier.js").ShellClassification;
|
|
8772
9257
|
durationMs: number;
|
|
8773
9258
|
timedOut: boolean;
|
|
8774
9259
|
aborted: boolean;
|
|
8775
9260
|
signal: NodeJS.Signals | null;
|
|
8776
9261
|
forcedTermination: boolean;
|
|
8777
|
-
stdout: import("../core/
|
|
8778
|
-
stderr: import("../core/
|
|
9262
|
+
stdout: import("../core/shellOutput/types.js").StreamReduction;
|
|
9263
|
+
stderr: import("../core/shellOutput/types.js").StreamReduction;
|
|
8779
9264
|
validationSummary: import("./toolResultTypes.js").ValidationSummary | undefined;
|
|
8780
9265
|
stdoutBytes: {
|
|
8781
9266
|
totalBytes: number;
|
|
@@ -8787,14 +9272,13 @@ export declare const hazeTools: {
|
|
|
8787
9272
|
retainedBytes: number;
|
|
8788
9273
|
omittedBytes: number;
|
|
8789
9274
|
};
|
|
8790
|
-
reasonCode?: undefined;
|
|
8791
9275
|
recoverable?: undefined;
|
|
8792
9276
|
suggestedNextStep?: undefined;
|
|
8793
9277
|
background?: undefined;
|
|
8794
9278
|
}> | undefined;
|
|
8795
9279
|
execute: import("ai").ToolExecuteFunction<{
|
|
8796
9280
|
command: string;
|
|
8797
|
-
|
|
9281
|
+
purpose: "validation" | "auto";
|
|
8798
9282
|
background: boolean;
|
|
8799
9283
|
timeoutSeconds?: number | undefined;
|
|
8800
9284
|
}, {
|
|
@@ -8811,14 +9295,14 @@ export declare const hazeTools: {
|
|
|
8811
9295
|
suggestedNextStep: string;
|
|
8812
9296
|
background?: undefined;
|
|
8813
9297
|
} | {
|
|
8814
|
-
classification: import("../core/safety/
|
|
9298
|
+
classification: import("../core/safety/shellClassifier.js").ShellClassification;
|
|
8815
9299
|
hint: string;
|
|
8816
9300
|
backgroundId: string;
|
|
8817
9301
|
pid?: number;
|
|
8818
9302
|
command: string;
|
|
8819
9303
|
cwd: string;
|
|
8820
9304
|
startedAt: string;
|
|
8821
|
-
status:
|
|
9305
|
+
status: "failed" | "killed" | "running" | "exited";
|
|
8822
9306
|
code?: number | null;
|
|
8823
9307
|
signal?: NodeJS.Signals | null;
|
|
8824
9308
|
outputHandle: string;
|
|
@@ -8843,18 +9327,22 @@ export declare const hazeTools: {
|
|
|
8843
9327
|
suggestedNextStep: string;
|
|
8844
9328
|
} | {
|
|
8845
9329
|
error?: string | undefined;
|
|
9330
|
+
missingExecutableStep?: string | undefined;
|
|
9331
|
+
reasonCode?: "missing_executable" | undefined;
|
|
9332
|
+
missingExecutable?: string | undefined;
|
|
8846
9333
|
ok: boolean;
|
|
8847
9334
|
code: number | null;
|
|
8848
9335
|
command: string;
|
|
9336
|
+
purpose: "validation" | "auto";
|
|
8849
9337
|
cwd: string;
|
|
8850
|
-
classification: import("../core/safety/
|
|
9338
|
+
classification: import("../core/safety/shellClassifier.js").ShellClassification;
|
|
8851
9339
|
durationMs: number;
|
|
8852
9340
|
timedOut: boolean;
|
|
8853
9341
|
aborted: boolean;
|
|
8854
9342
|
signal: NodeJS.Signals | null;
|
|
8855
9343
|
forcedTermination: boolean;
|
|
8856
|
-
stdout: import("../core/
|
|
8857
|
-
stderr: import("../core/
|
|
9344
|
+
stdout: import("../core/shellOutput/types.js").StreamReduction;
|
|
9345
|
+
stderr: import("../core/shellOutput/types.js").StreamReduction;
|
|
8858
9346
|
validationSummary: import("./toolResultTypes.js").ValidationSummary | undefined;
|
|
8859
9347
|
stdoutBytes: {
|
|
8860
9348
|
totalBytes: number;
|
|
@@ -8866,7 +9354,6 @@ export declare const hazeTools: {
|
|
|
8866
9354
|
retainedBytes: number;
|
|
8867
9355
|
omittedBytes: number;
|
|
8868
9356
|
};
|
|
8869
|
-
reasonCode?: undefined;
|
|
8870
9357
|
recoverable?: undefined;
|
|
8871
9358
|
suggestedNextStep?: undefined;
|
|
8872
9359
|
background?: undefined;
|
|
@@ -8884,7 +9371,7 @@ export declare const hazeTools: {
|
|
|
8884
9371
|
} & {
|
|
8885
9372
|
execute: import("ai").ToolExecuteFunction<{
|
|
8886
9373
|
command: string;
|
|
8887
|
-
|
|
9374
|
+
purpose: "validation" | "auto";
|
|
8888
9375
|
background: boolean;
|
|
8889
9376
|
timeoutSeconds?: number | undefined;
|
|
8890
9377
|
}, {
|
|
@@ -8901,14 +9388,14 @@ export declare const hazeTools: {
|
|
|
8901
9388
|
suggestedNextStep: string;
|
|
8902
9389
|
background?: undefined;
|
|
8903
9390
|
} | {
|
|
8904
|
-
classification: import("../core/safety/
|
|
9391
|
+
classification: import("../core/safety/shellClassifier.js").ShellClassification;
|
|
8905
9392
|
hint: string;
|
|
8906
9393
|
backgroundId: string;
|
|
8907
9394
|
pid?: number;
|
|
8908
9395
|
command: string;
|
|
8909
9396
|
cwd: string;
|
|
8910
9397
|
startedAt: string;
|
|
8911
|
-
status:
|
|
9398
|
+
status: "failed" | "killed" | "running" | "exited";
|
|
8912
9399
|
code?: number | null;
|
|
8913
9400
|
signal?: NodeJS.Signals | null;
|
|
8914
9401
|
outputHandle: string;
|
|
@@ -8933,18 +9420,22 @@ export declare const hazeTools: {
|
|
|
8933
9420
|
suggestedNextStep: string;
|
|
8934
9421
|
} | {
|
|
8935
9422
|
error?: string | undefined;
|
|
9423
|
+
missingExecutableStep?: string | undefined;
|
|
9424
|
+
reasonCode?: "missing_executable" | undefined;
|
|
9425
|
+
missingExecutable?: string | undefined;
|
|
8936
9426
|
ok: boolean;
|
|
8937
9427
|
code: number | null;
|
|
8938
9428
|
command: string;
|
|
9429
|
+
purpose: "validation" | "auto";
|
|
8939
9430
|
cwd: string;
|
|
8940
|
-
classification: import("../core/safety/
|
|
9431
|
+
classification: import("../core/safety/shellClassifier.js").ShellClassification;
|
|
8941
9432
|
durationMs: number;
|
|
8942
9433
|
timedOut: boolean;
|
|
8943
9434
|
aborted: boolean;
|
|
8944
9435
|
signal: NodeJS.Signals | null;
|
|
8945
9436
|
forcedTermination: boolean;
|
|
8946
|
-
stdout: import("../core/
|
|
8947
|
-
stderr: import("../core/
|
|
9437
|
+
stdout: import("../core/shellOutput/types.js").StreamReduction;
|
|
9438
|
+
stderr: import("../core/shellOutput/types.js").StreamReduction;
|
|
8948
9439
|
validationSummary: import("./toolResultTypes.js").ValidationSummary | undefined;
|
|
8949
9440
|
stdoutBytes: {
|
|
8950
9441
|
totalBytes: number;
|
|
@@ -8956,7 +9447,6 @@ export declare const hazeTools: {
|
|
|
8956
9447
|
retainedBytes: number;
|
|
8957
9448
|
omittedBytes: number;
|
|
8958
9449
|
};
|
|
8959
|
-
reasonCode?: undefined;
|
|
8960
9450
|
recoverable?: undefined;
|
|
8961
9451
|
suggestedNextStep?: undefined;
|
|
8962
9452
|
background?: undefined;
|
|
@@ -9031,7 +9521,7 @@ export declare const hazeTools: {
|
|
|
9031
9521
|
matches?: number;
|
|
9032
9522
|
ok: boolean;
|
|
9033
9523
|
backgroundId: string;
|
|
9034
|
-
status:
|
|
9524
|
+
status: "failed" | "killed" | "running" | "exited";
|
|
9035
9525
|
outputHandle: string;
|
|
9036
9526
|
reasonCode?: undefined;
|
|
9037
9527
|
recoverable?: undefined;
|
|
@@ -9084,7 +9574,7 @@ export declare const hazeTools: {
|
|
|
9084
9574
|
matches?: number;
|
|
9085
9575
|
ok: boolean;
|
|
9086
9576
|
backgroundId: string;
|
|
9087
|
-
status:
|
|
9577
|
+
status: "failed" | "killed" | "running" | "exited";
|
|
9088
9578
|
outputHandle: string;
|
|
9089
9579
|
reasonCode?: undefined;
|
|
9090
9580
|
recoverable?: undefined;
|
|
@@ -9140,7 +9630,7 @@ export declare const hazeTools: {
|
|
|
9140
9630
|
matches?: number;
|
|
9141
9631
|
ok: boolean;
|
|
9142
9632
|
backgroundId: string;
|
|
9143
|
-
status:
|
|
9633
|
+
status: "failed" | "killed" | "running" | "exited";
|
|
9144
9634
|
outputHandle: string;
|
|
9145
9635
|
reasonCode?: undefined;
|
|
9146
9636
|
recoverable?: undefined;
|
|
@@ -9217,7 +9707,7 @@ export declare const hazeTools: {
|
|
|
9217
9707
|
matches?: number;
|
|
9218
9708
|
ok: boolean;
|
|
9219
9709
|
backgroundId: string;
|
|
9220
|
-
status:
|
|
9710
|
+
status: "failed" | "killed" | "running" | "exited";
|
|
9221
9711
|
outputHandle: string;
|
|
9222
9712
|
reasonCode?: undefined;
|
|
9223
9713
|
recoverable?: undefined;
|
|
@@ -9305,7 +9795,7 @@ export declare const hazeTools: {
|
|
|
9305
9795
|
matches?: number;
|
|
9306
9796
|
ok: boolean;
|
|
9307
9797
|
backgroundId: string;
|
|
9308
|
-
status:
|
|
9798
|
+
status: "failed" | "killed" | "running" | "exited";
|
|
9309
9799
|
outputHandle: string;
|
|
9310
9800
|
reasonCode?: undefined;
|
|
9311
9801
|
recoverable?: undefined;
|
|
@@ -9358,7 +9848,7 @@ export declare const hazeTools: {
|
|
|
9358
9848
|
matches?: number;
|
|
9359
9849
|
ok: boolean;
|
|
9360
9850
|
backgroundId: string;
|
|
9361
|
-
status:
|
|
9851
|
+
status: "failed" | "killed" | "running" | "exited";
|
|
9362
9852
|
outputHandle: string;
|
|
9363
9853
|
reasonCode?: undefined;
|
|
9364
9854
|
recoverable?: undefined;
|
|
@@ -9414,7 +9904,7 @@ export declare const hazeTools: {
|
|
|
9414
9904
|
matches?: number;
|
|
9415
9905
|
ok: boolean;
|
|
9416
9906
|
backgroundId: string;
|
|
9417
|
-
status:
|
|
9907
|
+
status: "failed" | "killed" | "running" | "exited";
|
|
9418
9908
|
outputHandle: string;
|
|
9419
9909
|
reasonCode?: undefined;
|
|
9420
9910
|
recoverable?: undefined;
|
|
@@ -9491,7 +9981,7 @@ export declare const hazeTools: {
|
|
|
9491
9981
|
matches?: number;
|
|
9492
9982
|
ok: boolean;
|
|
9493
9983
|
backgroundId: string;
|
|
9494
|
-
status:
|
|
9984
|
+
status: "failed" | "killed" | "running" | "exited";
|
|
9495
9985
|
outputHandle: string;
|
|
9496
9986
|
reasonCode?: undefined;
|
|
9497
9987
|
recoverable?: undefined;
|
|
@@ -9579,7 +10069,7 @@ export declare const hazeTools: {
|
|
|
9579
10069
|
matches?: number;
|
|
9580
10070
|
ok: boolean;
|
|
9581
10071
|
backgroundId: string;
|
|
9582
|
-
status:
|
|
10072
|
+
status: "failed" | "killed" | "running" | "exited";
|
|
9583
10073
|
outputHandle: string;
|
|
9584
10074
|
reasonCode?: undefined;
|
|
9585
10075
|
recoverable?: undefined;
|
|
@@ -9632,7 +10122,7 @@ export declare const hazeTools: {
|
|
|
9632
10122
|
matches?: number;
|
|
9633
10123
|
ok: boolean;
|
|
9634
10124
|
backgroundId: string;
|
|
9635
|
-
status:
|
|
10125
|
+
status: "failed" | "killed" | "running" | "exited";
|
|
9636
10126
|
outputHandle: string;
|
|
9637
10127
|
reasonCode?: undefined;
|
|
9638
10128
|
recoverable?: undefined;
|
|
@@ -9688,7 +10178,7 @@ export declare const hazeTools: {
|
|
|
9688
10178
|
matches?: number;
|
|
9689
10179
|
ok: boolean;
|
|
9690
10180
|
backgroundId: string;
|
|
9691
|
-
status:
|
|
10181
|
+
status: "failed" | "killed" | "running" | "exited";
|
|
9692
10182
|
outputHandle: string;
|
|
9693
10183
|
reasonCode?: undefined;
|
|
9694
10184
|
recoverable?: undefined;
|
|
@@ -9755,7 +10245,7 @@ export declare const hazeTools: {
|
|
|
9755
10245
|
matches?: number;
|
|
9756
10246
|
ok: boolean;
|
|
9757
10247
|
backgroundId: string;
|
|
9758
|
-
status:
|
|
10248
|
+
status: "failed" | "killed" | "running" | "exited";
|
|
9759
10249
|
outputHandle: string;
|
|
9760
10250
|
reasonCode?: undefined;
|
|
9761
10251
|
recoverable?: undefined;
|
|
@@ -9843,7 +10333,7 @@ export declare const hazeTools: {
|
|
|
9843
10333
|
matches?: number;
|
|
9844
10334
|
ok: boolean;
|
|
9845
10335
|
backgroundId: string;
|
|
9846
|
-
status:
|
|
10336
|
+
status: "failed" | "killed" | "running" | "exited";
|
|
9847
10337
|
outputHandle: string;
|
|
9848
10338
|
reasonCode?: undefined;
|
|
9849
10339
|
recoverable?: undefined;
|
|
@@ -9896,7 +10386,7 @@ export declare const hazeTools: {
|
|
|
9896
10386
|
matches?: number;
|
|
9897
10387
|
ok: boolean;
|
|
9898
10388
|
backgroundId: string;
|
|
9899
|
-
status:
|
|
10389
|
+
status: "failed" | "killed" | "running" | "exited";
|
|
9900
10390
|
outputHandle: string;
|
|
9901
10391
|
reasonCode?: undefined;
|
|
9902
10392
|
recoverable?: undefined;
|
|
@@ -9952,7 +10442,7 @@ export declare const hazeTools: {
|
|
|
9952
10442
|
matches?: number;
|
|
9953
10443
|
ok: boolean;
|
|
9954
10444
|
backgroundId: string;
|
|
9955
|
-
status:
|
|
10445
|
+
status: "failed" | "killed" | "running" | "exited";
|
|
9956
10446
|
outputHandle: string;
|
|
9957
10447
|
reasonCode?: undefined;
|
|
9958
10448
|
recoverable?: undefined;
|
|
@@ -10019,7 +10509,7 @@ export declare const hazeTools: {
|
|
|
10019
10509
|
matches?: number;
|
|
10020
10510
|
ok: boolean;
|
|
10021
10511
|
backgroundId: string;
|
|
10022
|
-
status:
|
|
10512
|
+
status: "failed" | "killed" | "running" | "exited";
|
|
10023
10513
|
outputHandle: string;
|
|
10024
10514
|
reasonCode?: undefined;
|
|
10025
10515
|
recoverable?: undefined;
|
|
@@ -10040,4 +10530,3 @@ export declare const hazeTools: {
|
|
|
10040
10530
|
}, NoInfer<import("./tools/toolContext.js").HazeToolContext>>;
|
|
10041
10531
|
});
|
|
10042
10532
|
};
|
|
10043
|
-
export type HazeTools = typeof hazeTools;
|