@denizokcu/haze 1.4.0 → 1.5.1
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 +48 -1
- package/README.md +28 -12
- package/SECURITY.md +1 -1
- package/dist/buildInfo.json +3 -3
- package/dist/cli/chat/BusyBar.d.ts +7 -0
- package/dist/cli/chat/BusyBar.js +8 -0
- package/dist/cli/chat/DynamicFrame.d.ts +37 -0
- package/dist/cli/chat/DynamicFrame.js +48 -0
- package/dist/cli/chat/busyIndicator.d.ts +3 -1
- package/dist/cli/chat/busyIndicator.js +11 -9
- package/dist/cli/chat/chatMetrics.d.ts +1 -1
- package/dist/cli/chat/chatMetrics.js +3 -3
- package/dist/cli/chat/inputSuggestions.js +2 -1
- package/dist/cli/chat/liveRegion.js +1 -1
- package/dist/cli/chat/messages.js +27 -16
- package/dist/cli/chat/resizeGuard.d.ts +20 -0
- package/dist/cli/chat/resizeGuard.js +25 -0
- package/dist/cli/chat/sessionLifecycle.d.ts +3 -1
- package/dist/cli/chat/sessionLifecycle.js +13 -2
- package/dist/cli/chat/sessionRecorder.d.ts +2 -1
- package/dist/cli/chat/sessionRecorder.js +8 -0
- package/dist/cli/chat/shutdown.d.ts +27 -0
- package/dist/cli/chat/shutdown.js +79 -0
- package/dist/cli/chat/terminalControl.d.ts +45 -0
- package/dist/cli/chat/terminalControl.js +107 -0
- package/dist/cli/chat/tips.js +1 -0
- package/dist/cli/chat/userInput.d.ts +43 -0
- package/dist/cli/chat/userInput.js +63 -0
- package/dist/cli/chat/wizard/sessionThemeHandlers.js +14 -6
- package/dist/cli/chat/wizard/types.d.ts +8 -1
- package/dist/cli/chat/wizardDispatch.js +1 -1
- package/dist/cli/commands/chat.js +258 -172
- package/dist/cli/commands/commandHelp.js +6 -2
- package/dist/cli/commands/commands.d.ts +8 -0
- package/dist/cli/commands/commands.js +11 -0
- package/dist/cli/commands/formatters.d.ts +1 -1
- package/dist/cli/commands/formatters.js +20 -2
- package/dist/cli/commands/logsCommand.js +21 -2
- package/dist/cli/commands/reasoningCommand.d.ts +23 -14
- package/dist/cli/commands/reasoningCommand.js +53 -20
- package/dist/cli/commands/runCommand.js +19 -11
- package/dist/cli/commands/streaming/attemptOutcome.d.ts +2 -0
- package/dist/cli/commands/streaming/attemptOutcome.js +11 -6
- package/dist/cli/commands/streaming/attemptSetup.d.ts +1 -0
- package/dist/cli/commands/streaming/attemptSetup.js +11 -5
- package/dist/cli/commands/streaming/goalCheckpoint.d.ts +8 -1
- package/dist/cli/commands/streaming/goalCheckpoint.js +3 -2
- package/dist/cli/commands/streaming/goalSupervisor.d.ts +4 -0
- package/dist/cli/commands/streaming/goalSupervisor.js +43 -7
- package/dist/cli/commands/streaming/prepareStep.js +7 -3
- package/dist/cli/commands/streaming/streamLoop.d.ts +5 -0
- package/dist/cli/commands/streaming/streamLoop.js +3 -0
- package/dist/cli/commands/streaming/toolPartHandlers.js +6 -0
- package/dist/cli/commands/streaming.d.ts +1 -1
- package/dist/cli/commands/streaming.js +23 -17
- package/dist/cli/commands/wizardFlow.d.ts +5 -2
- package/dist/cli/commands/wizardFlow.js +17 -10
- package/dist/cli/index.js +17 -1
- package/dist/config/contextFiles.d.ts +9 -0
- package/dist/config/contextFiles.js +21 -1
- package/dist/config/modelCatalog.d.ts +3 -0
- package/dist/config/modelCatalog.js +29 -0
- package/dist/config/providerPresets.d.ts +1 -1
- package/dist/config/providerPresets.js +42 -3
- package/dist/config/settings.d.ts +11 -4
- package/dist/config/settings.js +9 -0
- package/dist/core/agent/budgets.d.ts +13 -15
- package/dist/core/agent/budgets.js +15 -17
- package/dist/core/agent/completionController.d.ts +6 -2
- package/dist/core/agent/completionController.js +16 -3
- package/dist/core/agent/goalPolicy.d.ts +10 -0
- package/dist/core/agent/goalPolicy.js +44 -6
- package/dist/core/agent/projectPreflight.d.ts +2 -0
- package/dist/core/agent/projectPreflight.js +56 -0
- package/dist/core/agent/reasoningPolicy.d.ts +34 -4
- package/dist/core/agent/reasoningPolicy.js +27 -4
- package/dist/core/agent/workState.d.ts +8 -0
- package/dist/core/agent/workState.js +191 -8
- package/dist/core/providerContracts.d.ts +32 -0
- package/dist/core/providerContracts.js +1 -0
- package/dist/core/session/sessionReport.d.ts +33 -0
- package/dist/core/session/sessionReport.js +121 -0
- package/dist/core/session/sessionSlimming.js +9 -3
- package/dist/core/session/sessionStore.d.ts +12 -0
- package/dist/core/session/sessionStore.js +20 -4
- package/dist/core/subagent/contracts.d.ts +3 -25
- package/dist/core/subagent/executionProfiles.js +4 -4
- package/dist/core/validation/outputParser.d.ts +6 -1
- package/dist/core/validation/outputParser.js +6 -2
- package/dist/llm/client.d.ts +4 -2
- package/dist/llm/client.js +44 -16
- package/dist/llm/hazeTools.d.ts +8553 -8550
- package/dist/llm/hazeTools.js +6 -503
- package/dist/llm/lspTools.d.ts +120 -120
- package/dist/llm/mcp.js +3 -0
- package/dist/llm/requestContext.d.ts +1 -1
- package/dist/llm/requestContext.js +1 -1
- package/dist/{core/subagent → llm}/subagentRunner.d.ts +9 -9
- package/dist/{core/subagent → llm}/subagentRunner.js +22 -25
- package/dist/llm/systemPrompt.d.ts +11 -1
- package/dist/llm/systemPrompt.js +2 -11
- package/dist/llm/tools/fetchTool.d.ts +30 -30
- package/dist/llm/tools/fileTools.d.ts +7768 -0
- package/dist/llm/tools/fileTools.js +510 -0
- package/dist/llm/tools/processTool.d.ts +30 -30
- package/dist/llm/tools/shellTool.d.ts +30 -30
- package/dist/llm/tools/shellTool.js +8 -4
- package/dist/llm/tools/toolContext.d.ts +3 -32
- package/dist/llm/tools/toolContext.js +33 -52
- package/dist/llm/tools/toolContextState.d.ts +40 -0
- package/dist/llm/tools/toolContextState.js +34 -0
- package/dist/llm/workerContext.d.ts +7 -0
- package/dist/llm/workerContext.js +18 -1
- package/dist/skills/SkillLoader.js +3 -3
- package/dist/skills/SkillRegistry.js +3 -3
- package/dist/skills/builder/SkillBuilder.js +3 -3
- package/dist/skills/confinement.d.ts +7 -0
- package/dist/skills/confinement.js +15 -0
- package/dist/ui/codeHighlight.js +4 -4
- package/dist/ui/components/MarkdownText.js +7 -8
- package/dist/ui/components/NativeIndicators.d.ts +15 -0
- package/dist/ui/components/NativeIndicators.js +32 -0
- package/dist/ui/components/StreamingMarkdownText.d.ts +9 -0
- package/dist/ui/components/StreamingMarkdownText.js +38 -0
- package/dist/ui/components/TextInput.d.ts +7 -2
- package/dist/ui/components/TextInput.js +103 -46
- package/dist/ui/components/WizardChoices.d.ts +18 -0
- package/dist/ui/components/WizardChoices.js +32 -0
- package/dist/ui/inputBuffer.js +12 -6
- package/dist/ui/textGeometry.d.ts +14 -0
- package/dist/ui/textGeometry.js +31 -0
- package/package.json +14 -13
- /package/dist/cli/{contextReport.d.ts → contextReportCli.d.ts} +0 -0
- /package/dist/cli/{contextReport.js → contextReportCli.js} +0 -0
package/dist/llm/lspTools.d.ts
CHANGED
|
@@ -4038,23 +4038,23 @@ export declare const lspTools: {
|
|
|
4038
4038
|
path: string;
|
|
4039
4039
|
namePath: string;
|
|
4040
4040
|
}>;
|
|
4041
|
-
contextSchema?: import("ai").FlexibleSchema<import("./tools/
|
|
4041
|
+
contextSchema?: import("ai").FlexibleSchema<import("./tools/toolContextState.js").HazeToolContext> | undefined;
|
|
4042
4042
|
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
4043
4043
|
newName: string;
|
|
4044
4044
|
path: string;
|
|
4045
4045
|
namePath: string;
|
|
4046
|
-
}, NoInfer<import("./tools/
|
|
4047
|
-
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
4046
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>> | undefined;
|
|
4047
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
4048
4048
|
onInputDelta?: ((options: {
|
|
4049
4049
|
inputTextDelta: string;
|
|
4050
|
-
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
4050
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
4051
4051
|
onInputAvailable?: ((options: {
|
|
4052
4052
|
input: {
|
|
4053
4053
|
newName: string;
|
|
4054
4054
|
path: string;
|
|
4055
4055
|
namePath: string;
|
|
4056
4056
|
};
|
|
4057
|
-
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
4057
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
4058
4058
|
toModelOutput?: ((options: {
|
|
4059
4059
|
toolCallId: string;
|
|
4060
4060
|
input: {
|
|
@@ -4145,10 +4145,10 @@ export declare const lspTools: {
|
|
|
4145
4145
|
} | {
|
|
4146
4146
|
ok: boolean;
|
|
4147
4147
|
error: string;
|
|
4148
|
-
}, NoInfer<import("./tools/
|
|
4148
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>>;
|
|
4149
4149
|
} & {
|
|
4150
4150
|
description?: string | ((options: {
|
|
4151
|
-
context: NoInfer<import("./tools/
|
|
4151
|
+
context: NoInfer<import("./tools/toolContextState.js").HazeToolContext>;
|
|
4152
4152
|
experimental_sandbox?: import("ai").Experimental_SandboxSession;
|
|
4153
4153
|
}) => string) | undefined;
|
|
4154
4154
|
strict?: boolean;
|
|
@@ -4195,7 +4195,7 @@ export declare const lspTools: {
|
|
|
4195
4195
|
} | {
|
|
4196
4196
|
ok: boolean;
|
|
4197
4197
|
error: string;
|
|
4198
|
-
}, NoInfer<import("./tools/
|
|
4198
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>>;
|
|
4199
4199
|
}) | ({
|
|
4200
4200
|
deferLoading?: boolean;
|
|
4201
4201
|
title?: string;
|
|
@@ -4206,23 +4206,23 @@ export declare const lspTools: {
|
|
|
4206
4206
|
path: string;
|
|
4207
4207
|
namePath: string;
|
|
4208
4208
|
}>;
|
|
4209
|
-
contextSchema?: import("ai").FlexibleSchema<import("./tools/
|
|
4209
|
+
contextSchema?: import("ai").FlexibleSchema<import("./tools/toolContextState.js").HazeToolContext> | undefined;
|
|
4210
4210
|
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
4211
4211
|
newName: string;
|
|
4212
4212
|
path: string;
|
|
4213
4213
|
namePath: string;
|
|
4214
|
-
}, NoInfer<import("./tools/
|
|
4215
|
-
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
4214
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>> | undefined;
|
|
4215
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
4216
4216
|
onInputDelta?: ((options: {
|
|
4217
4217
|
inputTextDelta: string;
|
|
4218
|
-
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
4218
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
4219
4219
|
onInputAvailable?: ((options: {
|
|
4220
4220
|
input: {
|
|
4221
4221
|
newName: string;
|
|
4222
4222
|
path: string;
|
|
4223
4223
|
namePath: string;
|
|
4224
4224
|
};
|
|
4225
|
-
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
4225
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
4226
4226
|
toModelOutput?: ((options: {
|
|
4227
4227
|
toolCallId: string;
|
|
4228
4228
|
input: {
|
|
@@ -4313,10 +4313,10 @@ export declare const lspTools: {
|
|
|
4313
4313
|
} | {
|
|
4314
4314
|
ok: boolean;
|
|
4315
4315
|
error: string;
|
|
4316
|
-
}, NoInfer<import("./tools/
|
|
4316
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>>;
|
|
4317
4317
|
} & {
|
|
4318
4318
|
description?: string | ((options: {
|
|
4319
|
-
context: NoInfer<import("./tools/
|
|
4319
|
+
context: NoInfer<import("./tools/toolContextState.js").HazeToolContext>;
|
|
4320
4320
|
experimental_sandbox?: import("ai").Experimental_SandboxSession;
|
|
4321
4321
|
}) => string) | undefined;
|
|
4322
4322
|
strict?: boolean;
|
|
@@ -4363,7 +4363,7 @@ export declare const lspTools: {
|
|
|
4363
4363
|
} | {
|
|
4364
4364
|
ok: boolean;
|
|
4365
4365
|
error: string;
|
|
4366
|
-
}, NoInfer<import("./tools/
|
|
4366
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>>;
|
|
4367
4367
|
}) | ({
|
|
4368
4368
|
deferLoading?: boolean;
|
|
4369
4369
|
title?: string;
|
|
@@ -4374,23 +4374,23 @@ export declare const lspTools: {
|
|
|
4374
4374
|
path: string;
|
|
4375
4375
|
namePath: string;
|
|
4376
4376
|
}>;
|
|
4377
|
-
contextSchema?: import("ai").FlexibleSchema<import("./tools/
|
|
4377
|
+
contextSchema?: import("ai").FlexibleSchema<import("./tools/toolContextState.js").HazeToolContext> | undefined;
|
|
4378
4378
|
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
4379
4379
|
newName: string;
|
|
4380
4380
|
path: string;
|
|
4381
4381
|
namePath: string;
|
|
4382
|
-
}, NoInfer<import("./tools/
|
|
4383
|
-
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
4382
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>> | undefined;
|
|
4383
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
4384
4384
|
onInputDelta?: ((options: {
|
|
4385
4385
|
inputTextDelta: string;
|
|
4386
|
-
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
4386
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
4387
4387
|
onInputAvailable?: ((options: {
|
|
4388
4388
|
input: {
|
|
4389
4389
|
newName: string;
|
|
4390
4390
|
path: string;
|
|
4391
4391
|
namePath: string;
|
|
4392
4392
|
};
|
|
4393
|
-
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
4393
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
4394
4394
|
toModelOutput?: ((options: {
|
|
4395
4395
|
toolCallId: string;
|
|
4396
4396
|
input: {
|
|
@@ -4481,7 +4481,7 @@ export declare const lspTools: {
|
|
|
4481
4481
|
} | {
|
|
4482
4482
|
ok: boolean;
|
|
4483
4483
|
error: string;
|
|
4484
|
-
}, NoInfer<import("./tools/
|
|
4484
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>>;
|
|
4485
4485
|
} & {
|
|
4486
4486
|
type: "provider";
|
|
4487
4487
|
id: `${string}.${string}`;
|
|
@@ -4522,7 +4522,7 @@ export declare const lspTools: {
|
|
|
4522
4522
|
} | {
|
|
4523
4523
|
ok: boolean;
|
|
4524
4524
|
error: string;
|
|
4525
|
-
}, NoInfer<import("./tools/
|
|
4525
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>>;
|
|
4526
4526
|
}) | ({
|
|
4527
4527
|
deferLoading?: boolean;
|
|
4528
4528
|
title?: string;
|
|
@@ -4533,23 +4533,23 @@ export declare const lspTools: {
|
|
|
4533
4533
|
path: string;
|
|
4534
4534
|
namePath: string;
|
|
4535
4535
|
}>;
|
|
4536
|
-
contextSchema?: import("ai").FlexibleSchema<import("./tools/
|
|
4536
|
+
contextSchema?: import("ai").FlexibleSchema<import("./tools/toolContextState.js").HazeToolContext> | undefined;
|
|
4537
4537
|
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
4538
4538
|
newName: string;
|
|
4539
4539
|
path: string;
|
|
4540
4540
|
namePath: string;
|
|
4541
|
-
}, NoInfer<import("./tools/
|
|
4542
|
-
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
4541
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>> | undefined;
|
|
4542
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
4543
4543
|
onInputDelta?: ((options: {
|
|
4544
4544
|
inputTextDelta: string;
|
|
4545
|
-
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
4545
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
4546
4546
|
onInputAvailable?: ((options: {
|
|
4547
4547
|
input: {
|
|
4548
4548
|
newName: string;
|
|
4549
4549
|
path: string;
|
|
4550
4550
|
namePath: string;
|
|
4551
4551
|
};
|
|
4552
|
-
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
4552
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
4553
4553
|
toModelOutput?: ((options: {
|
|
4554
4554
|
toolCallId: string;
|
|
4555
4555
|
input: {
|
|
@@ -4640,7 +4640,7 @@ export declare const lspTools: {
|
|
|
4640
4640
|
} | {
|
|
4641
4641
|
ok: boolean;
|
|
4642
4642
|
error: string;
|
|
4643
|
-
}, NoInfer<import("./tools/
|
|
4643
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>>;
|
|
4644
4644
|
} & {
|
|
4645
4645
|
type: "provider";
|
|
4646
4646
|
id: `${string}.${string}`;
|
|
@@ -4681,7 +4681,7 @@ export declare const lspTools: {
|
|
|
4681
4681
|
} | {
|
|
4682
4682
|
ok: boolean;
|
|
4683
4683
|
error: string;
|
|
4684
|
-
}, NoInfer<import("./tools/
|
|
4684
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>>;
|
|
4685
4685
|
});
|
|
4686
4686
|
lspSafeDeleteSymbol: ({
|
|
4687
4687
|
deferLoading?: boolean;
|
|
@@ -4692,21 +4692,21 @@ export declare const lspTools: {
|
|
|
4692
4692
|
path: string;
|
|
4693
4693
|
namePath: string;
|
|
4694
4694
|
}>;
|
|
4695
|
-
contextSchema?: import("ai").FlexibleSchema<import("./tools/
|
|
4695
|
+
contextSchema?: import("ai").FlexibleSchema<import("./tools/toolContextState.js").HazeToolContext> | undefined;
|
|
4696
4696
|
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
4697
4697
|
path: string;
|
|
4698
4698
|
namePath: string;
|
|
4699
|
-
}, NoInfer<import("./tools/
|
|
4700
|
-
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
4699
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>> | undefined;
|
|
4700
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
4701
4701
|
onInputDelta?: ((options: {
|
|
4702
4702
|
inputTextDelta: string;
|
|
4703
|
-
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
4703
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
4704
4704
|
onInputAvailable?: ((options: {
|
|
4705
4705
|
input: {
|
|
4706
4706
|
path: string;
|
|
4707
4707
|
namePath: string;
|
|
4708
4708
|
};
|
|
4709
|
-
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
4709
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
4710
4710
|
toModelOutput?: ((options: {
|
|
4711
4711
|
toolCallId: string;
|
|
4712
4712
|
input: {
|
|
@@ -4825,10 +4825,10 @@ export declare const lspTools: {
|
|
|
4825
4825
|
}[];
|
|
4826
4826
|
recoverable: boolean;
|
|
4827
4827
|
suggestedNextStep: string;
|
|
4828
|
-
}, NoInfer<import("./tools/
|
|
4828
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>>;
|
|
4829
4829
|
} & {
|
|
4830
4830
|
description?: string | ((options: {
|
|
4831
|
-
context: NoInfer<import("./tools/
|
|
4831
|
+
context: NoInfer<import("./tools/toolContextState.js").HazeToolContext>;
|
|
4832
4832
|
experimental_sandbox?: import("ai").Experimental_SandboxSession;
|
|
4833
4833
|
}) => string) | undefined;
|
|
4834
4834
|
strict?: boolean;
|
|
@@ -4883,7 +4883,7 @@ export declare const lspTools: {
|
|
|
4883
4883
|
}[];
|
|
4884
4884
|
recoverable: boolean;
|
|
4885
4885
|
suggestedNextStep: string;
|
|
4886
|
-
}, NoInfer<import("./tools/
|
|
4886
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>>;
|
|
4887
4887
|
}) | ({
|
|
4888
4888
|
deferLoading?: boolean;
|
|
4889
4889
|
title?: string;
|
|
@@ -4893,21 +4893,21 @@ export declare const lspTools: {
|
|
|
4893
4893
|
path: string;
|
|
4894
4894
|
namePath: string;
|
|
4895
4895
|
}>;
|
|
4896
|
-
contextSchema?: import("ai").FlexibleSchema<import("./tools/
|
|
4896
|
+
contextSchema?: import("ai").FlexibleSchema<import("./tools/toolContextState.js").HazeToolContext> | undefined;
|
|
4897
4897
|
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
4898
4898
|
path: string;
|
|
4899
4899
|
namePath: string;
|
|
4900
|
-
}, NoInfer<import("./tools/
|
|
4901
|
-
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
4900
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>> | undefined;
|
|
4901
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
4902
4902
|
onInputDelta?: ((options: {
|
|
4903
4903
|
inputTextDelta: string;
|
|
4904
|
-
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
4904
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
4905
4905
|
onInputAvailable?: ((options: {
|
|
4906
4906
|
input: {
|
|
4907
4907
|
path: string;
|
|
4908
4908
|
namePath: string;
|
|
4909
4909
|
};
|
|
4910
|
-
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
4910
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
4911
4911
|
toModelOutput?: ((options: {
|
|
4912
4912
|
toolCallId: string;
|
|
4913
4913
|
input: {
|
|
@@ -5026,10 +5026,10 @@ export declare const lspTools: {
|
|
|
5026
5026
|
}[];
|
|
5027
5027
|
recoverable: boolean;
|
|
5028
5028
|
suggestedNextStep: string;
|
|
5029
|
-
}, NoInfer<import("./tools/
|
|
5029
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>>;
|
|
5030
5030
|
} & {
|
|
5031
5031
|
description?: string | ((options: {
|
|
5032
|
-
context: NoInfer<import("./tools/
|
|
5032
|
+
context: NoInfer<import("./tools/toolContextState.js").HazeToolContext>;
|
|
5033
5033
|
experimental_sandbox?: import("ai").Experimental_SandboxSession;
|
|
5034
5034
|
}) => string) | undefined;
|
|
5035
5035
|
strict?: boolean;
|
|
@@ -5084,7 +5084,7 @@ export declare const lspTools: {
|
|
|
5084
5084
|
}[];
|
|
5085
5085
|
recoverable: boolean;
|
|
5086
5086
|
suggestedNextStep: string;
|
|
5087
|
-
}, NoInfer<import("./tools/
|
|
5087
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>>;
|
|
5088
5088
|
}) | ({
|
|
5089
5089
|
deferLoading?: boolean;
|
|
5090
5090
|
title?: string;
|
|
@@ -5094,21 +5094,21 @@ export declare const lspTools: {
|
|
|
5094
5094
|
path: string;
|
|
5095
5095
|
namePath: string;
|
|
5096
5096
|
}>;
|
|
5097
|
-
contextSchema?: import("ai").FlexibleSchema<import("./tools/
|
|
5097
|
+
contextSchema?: import("ai").FlexibleSchema<import("./tools/toolContextState.js").HazeToolContext> | undefined;
|
|
5098
5098
|
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
5099
5099
|
path: string;
|
|
5100
5100
|
namePath: string;
|
|
5101
|
-
}, NoInfer<import("./tools/
|
|
5102
|
-
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
5101
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>> | undefined;
|
|
5102
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
5103
5103
|
onInputDelta?: ((options: {
|
|
5104
5104
|
inputTextDelta: string;
|
|
5105
|
-
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
5105
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
5106
5106
|
onInputAvailable?: ((options: {
|
|
5107
5107
|
input: {
|
|
5108
5108
|
path: string;
|
|
5109
5109
|
namePath: string;
|
|
5110
5110
|
};
|
|
5111
|
-
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
5111
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
5112
5112
|
toModelOutput?: ((options: {
|
|
5113
5113
|
toolCallId: string;
|
|
5114
5114
|
input: {
|
|
@@ -5227,7 +5227,7 @@ export declare const lspTools: {
|
|
|
5227
5227
|
}[];
|
|
5228
5228
|
recoverable: boolean;
|
|
5229
5229
|
suggestedNextStep: string;
|
|
5230
|
-
}, NoInfer<import("./tools/
|
|
5230
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>>;
|
|
5231
5231
|
} & {
|
|
5232
5232
|
type: "provider";
|
|
5233
5233
|
id: `${string}.${string}`;
|
|
@@ -5277,7 +5277,7 @@ export declare const lspTools: {
|
|
|
5277
5277
|
}[];
|
|
5278
5278
|
recoverable: boolean;
|
|
5279
5279
|
suggestedNextStep: string;
|
|
5280
|
-
}, NoInfer<import("./tools/
|
|
5280
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>>;
|
|
5281
5281
|
}) | ({
|
|
5282
5282
|
deferLoading?: boolean;
|
|
5283
5283
|
title?: string;
|
|
@@ -5287,21 +5287,21 @@ export declare const lspTools: {
|
|
|
5287
5287
|
path: string;
|
|
5288
5288
|
namePath: string;
|
|
5289
5289
|
}>;
|
|
5290
|
-
contextSchema?: import("ai").FlexibleSchema<import("./tools/
|
|
5290
|
+
contextSchema?: import("ai").FlexibleSchema<import("./tools/toolContextState.js").HazeToolContext> | undefined;
|
|
5291
5291
|
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
5292
5292
|
path: string;
|
|
5293
5293
|
namePath: string;
|
|
5294
|
-
}, NoInfer<import("./tools/
|
|
5295
|
-
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
5294
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>> | undefined;
|
|
5295
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
5296
5296
|
onInputDelta?: ((options: {
|
|
5297
5297
|
inputTextDelta: string;
|
|
5298
|
-
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
5298
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
5299
5299
|
onInputAvailable?: ((options: {
|
|
5300
5300
|
input: {
|
|
5301
5301
|
path: string;
|
|
5302
5302
|
namePath: string;
|
|
5303
5303
|
};
|
|
5304
|
-
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
5304
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
5305
5305
|
toModelOutput?: ((options: {
|
|
5306
5306
|
toolCallId: string;
|
|
5307
5307
|
input: {
|
|
@@ -5420,7 +5420,7 @@ export declare const lspTools: {
|
|
|
5420
5420
|
}[];
|
|
5421
5421
|
recoverable: boolean;
|
|
5422
5422
|
suggestedNextStep: string;
|
|
5423
|
-
}, NoInfer<import("./tools/
|
|
5423
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>>;
|
|
5424
5424
|
} & {
|
|
5425
5425
|
type: "provider";
|
|
5426
5426
|
id: `${string}.${string}`;
|
|
@@ -5470,7 +5470,7 @@ export declare const lspTools: {
|
|
|
5470
5470
|
}[];
|
|
5471
5471
|
recoverable: boolean;
|
|
5472
5472
|
suggestedNextStep: string;
|
|
5473
|
-
}, NoInfer<import("./tools/
|
|
5473
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>>;
|
|
5474
5474
|
});
|
|
5475
5475
|
lspDiagnostics: ({
|
|
5476
5476
|
deferLoading?: boolean;
|
|
@@ -10357,23 +10357,23 @@ export declare function buildLspTools(pool?: LspPool): {
|
|
|
10357
10357
|
path: string;
|
|
10358
10358
|
namePath: string;
|
|
10359
10359
|
}>;
|
|
10360
|
-
contextSchema?: import("ai").FlexibleSchema<import("./tools/
|
|
10360
|
+
contextSchema?: import("ai").FlexibleSchema<import("./tools/toolContextState.js").HazeToolContext> | undefined;
|
|
10361
10361
|
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
10362
10362
|
newName: string;
|
|
10363
10363
|
path: string;
|
|
10364
10364
|
namePath: string;
|
|
10365
|
-
}, NoInfer<import("./tools/
|
|
10366
|
-
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
10365
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>> | undefined;
|
|
10366
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
10367
10367
|
onInputDelta?: ((options: {
|
|
10368
10368
|
inputTextDelta: string;
|
|
10369
|
-
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
10369
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
10370
10370
|
onInputAvailable?: ((options: {
|
|
10371
10371
|
input: {
|
|
10372
10372
|
newName: string;
|
|
10373
10373
|
path: string;
|
|
10374
10374
|
namePath: string;
|
|
10375
10375
|
};
|
|
10376
|
-
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
10376
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
10377
10377
|
toModelOutput?: ((options: {
|
|
10378
10378
|
toolCallId: string;
|
|
10379
10379
|
input: {
|
|
@@ -10464,10 +10464,10 @@ export declare function buildLspTools(pool?: LspPool): {
|
|
|
10464
10464
|
} | {
|
|
10465
10465
|
ok: boolean;
|
|
10466
10466
|
error: string;
|
|
10467
|
-
}, NoInfer<import("./tools/
|
|
10467
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>>;
|
|
10468
10468
|
} & {
|
|
10469
10469
|
description?: string | ((options: {
|
|
10470
|
-
context: NoInfer<import("./tools/
|
|
10470
|
+
context: NoInfer<import("./tools/toolContextState.js").HazeToolContext>;
|
|
10471
10471
|
experimental_sandbox?: import("ai").Experimental_SandboxSession;
|
|
10472
10472
|
}) => string) | undefined;
|
|
10473
10473
|
strict?: boolean;
|
|
@@ -10514,7 +10514,7 @@ export declare function buildLspTools(pool?: LspPool): {
|
|
|
10514
10514
|
} | {
|
|
10515
10515
|
ok: boolean;
|
|
10516
10516
|
error: string;
|
|
10517
|
-
}, NoInfer<import("./tools/
|
|
10517
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>>;
|
|
10518
10518
|
}) | ({
|
|
10519
10519
|
deferLoading?: boolean;
|
|
10520
10520
|
title?: string;
|
|
@@ -10525,23 +10525,23 @@ export declare function buildLspTools(pool?: LspPool): {
|
|
|
10525
10525
|
path: string;
|
|
10526
10526
|
namePath: string;
|
|
10527
10527
|
}>;
|
|
10528
|
-
contextSchema?: import("ai").FlexibleSchema<import("./tools/
|
|
10528
|
+
contextSchema?: import("ai").FlexibleSchema<import("./tools/toolContextState.js").HazeToolContext> | undefined;
|
|
10529
10529
|
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
10530
10530
|
newName: string;
|
|
10531
10531
|
path: string;
|
|
10532
10532
|
namePath: string;
|
|
10533
|
-
}, NoInfer<import("./tools/
|
|
10534
|
-
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
10533
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>> | undefined;
|
|
10534
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
10535
10535
|
onInputDelta?: ((options: {
|
|
10536
10536
|
inputTextDelta: string;
|
|
10537
|
-
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
10537
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
10538
10538
|
onInputAvailable?: ((options: {
|
|
10539
10539
|
input: {
|
|
10540
10540
|
newName: string;
|
|
10541
10541
|
path: string;
|
|
10542
10542
|
namePath: string;
|
|
10543
10543
|
};
|
|
10544
|
-
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
10544
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
10545
10545
|
toModelOutput?: ((options: {
|
|
10546
10546
|
toolCallId: string;
|
|
10547
10547
|
input: {
|
|
@@ -10632,10 +10632,10 @@ export declare function buildLspTools(pool?: LspPool): {
|
|
|
10632
10632
|
} | {
|
|
10633
10633
|
ok: boolean;
|
|
10634
10634
|
error: string;
|
|
10635
|
-
}, NoInfer<import("./tools/
|
|
10635
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>>;
|
|
10636
10636
|
} & {
|
|
10637
10637
|
description?: string | ((options: {
|
|
10638
|
-
context: NoInfer<import("./tools/
|
|
10638
|
+
context: NoInfer<import("./tools/toolContextState.js").HazeToolContext>;
|
|
10639
10639
|
experimental_sandbox?: import("ai").Experimental_SandboxSession;
|
|
10640
10640
|
}) => string) | undefined;
|
|
10641
10641
|
strict?: boolean;
|
|
@@ -10682,7 +10682,7 @@ export declare function buildLspTools(pool?: LspPool): {
|
|
|
10682
10682
|
} | {
|
|
10683
10683
|
ok: boolean;
|
|
10684
10684
|
error: string;
|
|
10685
|
-
}, NoInfer<import("./tools/
|
|
10685
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>>;
|
|
10686
10686
|
}) | ({
|
|
10687
10687
|
deferLoading?: boolean;
|
|
10688
10688
|
title?: string;
|
|
@@ -10693,23 +10693,23 @@ export declare function buildLspTools(pool?: LspPool): {
|
|
|
10693
10693
|
path: string;
|
|
10694
10694
|
namePath: string;
|
|
10695
10695
|
}>;
|
|
10696
|
-
contextSchema?: import("ai").FlexibleSchema<import("./tools/
|
|
10696
|
+
contextSchema?: import("ai").FlexibleSchema<import("./tools/toolContextState.js").HazeToolContext> | undefined;
|
|
10697
10697
|
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
10698
10698
|
newName: string;
|
|
10699
10699
|
path: string;
|
|
10700
10700
|
namePath: string;
|
|
10701
|
-
}, NoInfer<import("./tools/
|
|
10702
|
-
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
10701
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>> | undefined;
|
|
10702
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
10703
10703
|
onInputDelta?: ((options: {
|
|
10704
10704
|
inputTextDelta: string;
|
|
10705
|
-
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
10705
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
10706
10706
|
onInputAvailable?: ((options: {
|
|
10707
10707
|
input: {
|
|
10708
10708
|
newName: string;
|
|
10709
10709
|
path: string;
|
|
10710
10710
|
namePath: string;
|
|
10711
10711
|
};
|
|
10712
|
-
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
10712
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
10713
10713
|
toModelOutput?: ((options: {
|
|
10714
10714
|
toolCallId: string;
|
|
10715
10715
|
input: {
|
|
@@ -10800,7 +10800,7 @@ export declare function buildLspTools(pool?: LspPool): {
|
|
|
10800
10800
|
} | {
|
|
10801
10801
|
ok: boolean;
|
|
10802
10802
|
error: string;
|
|
10803
|
-
}, NoInfer<import("./tools/
|
|
10803
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>>;
|
|
10804
10804
|
} & {
|
|
10805
10805
|
type: "provider";
|
|
10806
10806
|
id: `${string}.${string}`;
|
|
@@ -10841,7 +10841,7 @@ export declare function buildLspTools(pool?: LspPool): {
|
|
|
10841
10841
|
} | {
|
|
10842
10842
|
ok: boolean;
|
|
10843
10843
|
error: string;
|
|
10844
|
-
}, NoInfer<import("./tools/
|
|
10844
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>>;
|
|
10845
10845
|
}) | ({
|
|
10846
10846
|
deferLoading?: boolean;
|
|
10847
10847
|
title?: string;
|
|
@@ -10852,23 +10852,23 @@ export declare function buildLspTools(pool?: LspPool): {
|
|
|
10852
10852
|
path: string;
|
|
10853
10853
|
namePath: string;
|
|
10854
10854
|
}>;
|
|
10855
|
-
contextSchema?: import("ai").FlexibleSchema<import("./tools/
|
|
10855
|
+
contextSchema?: import("ai").FlexibleSchema<import("./tools/toolContextState.js").HazeToolContext> | undefined;
|
|
10856
10856
|
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
10857
10857
|
newName: string;
|
|
10858
10858
|
path: string;
|
|
10859
10859
|
namePath: string;
|
|
10860
|
-
}, NoInfer<import("./tools/
|
|
10861
|
-
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
10860
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>> | undefined;
|
|
10861
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
10862
10862
|
onInputDelta?: ((options: {
|
|
10863
10863
|
inputTextDelta: string;
|
|
10864
|
-
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
10864
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
10865
10865
|
onInputAvailable?: ((options: {
|
|
10866
10866
|
input: {
|
|
10867
10867
|
newName: string;
|
|
10868
10868
|
path: string;
|
|
10869
10869
|
namePath: string;
|
|
10870
10870
|
};
|
|
10871
|
-
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
10871
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
10872
10872
|
toModelOutput?: ((options: {
|
|
10873
10873
|
toolCallId: string;
|
|
10874
10874
|
input: {
|
|
@@ -10959,7 +10959,7 @@ export declare function buildLspTools(pool?: LspPool): {
|
|
|
10959
10959
|
} | {
|
|
10960
10960
|
ok: boolean;
|
|
10961
10961
|
error: string;
|
|
10962
|
-
}, NoInfer<import("./tools/
|
|
10962
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>>;
|
|
10963
10963
|
} & {
|
|
10964
10964
|
type: "provider";
|
|
10965
10965
|
id: `${string}.${string}`;
|
|
@@ -11000,7 +11000,7 @@ export declare function buildLspTools(pool?: LspPool): {
|
|
|
11000
11000
|
} | {
|
|
11001
11001
|
ok: boolean;
|
|
11002
11002
|
error: string;
|
|
11003
|
-
}, NoInfer<import("./tools/
|
|
11003
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>>;
|
|
11004
11004
|
});
|
|
11005
11005
|
lspSafeDeleteSymbol: ({
|
|
11006
11006
|
deferLoading?: boolean;
|
|
@@ -11011,21 +11011,21 @@ export declare function buildLspTools(pool?: LspPool): {
|
|
|
11011
11011
|
path: string;
|
|
11012
11012
|
namePath: string;
|
|
11013
11013
|
}>;
|
|
11014
|
-
contextSchema?: import("ai").FlexibleSchema<import("./tools/
|
|
11014
|
+
contextSchema?: import("ai").FlexibleSchema<import("./tools/toolContextState.js").HazeToolContext> | undefined;
|
|
11015
11015
|
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
11016
11016
|
path: string;
|
|
11017
11017
|
namePath: string;
|
|
11018
|
-
}, NoInfer<import("./tools/
|
|
11019
|
-
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
11018
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>> | undefined;
|
|
11019
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
11020
11020
|
onInputDelta?: ((options: {
|
|
11021
11021
|
inputTextDelta: string;
|
|
11022
|
-
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
11022
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
11023
11023
|
onInputAvailable?: ((options: {
|
|
11024
11024
|
input: {
|
|
11025
11025
|
path: string;
|
|
11026
11026
|
namePath: string;
|
|
11027
11027
|
};
|
|
11028
|
-
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
11028
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
11029
11029
|
toModelOutput?: ((options: {
|
|
11030
11030
|
toolCallId: string;
|
|
11031
11031
|
input: {
|
|
@@ -11144,10 +11144,10 @@ export declare function buildLspTools(pool?: LspPool): {
|
|
|
11144
11144
|
}[];
|
|
11145
11145
|
recoverable: boolean;
|
|
11146
11146
|
suggestedNextStep: string;
|
|
11147
|
-
}, NoInfer<import("./tools/
|
|
11147
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>>;
|
|
11148
11148
|
} & {
|
|
11149
11149
|
description?: string | ((options: {
|
|
11150
|
-
context: NoInfer<import("./tools/
|
|
11150
|
+
context: NoInfer<import("./tools/toolContextState.js").HazeToolContext>;
|
|
11151
11151
|
experimental_sandbox?: import("ai").Experimental_SandboxSession;
|
|
11152
11152
|
}) => string) | undefined;
|
|
11153
11153
|
strict?: boolean;
|
|
@@ -11202,7 +11202,7 @@ export declare function buildLspTools(pool?: LspPool): {
|
|
|
11202
11202
|
}[];
|
|
11203
11203
|
recoverable: boolean;
|
|
11204
11204
|
suggestedNextStep: string;
|
|
11205
|
-
}, NoInfer<import("./tools/
|
|
11205
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>>;
|
|
11206
11206
|
}) | ({
|
|
11207
11207
|
deferLoading?: boolean;
|
|
11208
11208
|
title?: string;
|
|
@@ -11212,21 +11212,21 @@ export declare function buildLspTools(pool?: LspPool): {
|
|
|
11212
11212
|
path: string;
|
|
11213
11213
|
namePath: string;
|
|
11214
11214
|
}>;
|
|
11215
|
-
contextSchema?: import("ai").FlexibleSchema<import("./tools/
|
|
11215
|
+
contextSchema?: import("ai").FlexibleSchema<import("./tools/toolContextState.js").HazeToolContext> | undefined;
|
|
11216
11216
|
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
11217
11217
|
path: string;
|
|
11218
11218
|
namePath: string;
|
|
11219
|
-
}, NoInfer<import("./tools/
|
|
11220
|
-
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
11219
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>> | undefined;
|
|
11220
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
11221
11221
|
onInputDelta?: ((options: {
|
|
11222
11222
|
inputTextDelta: string;
|
|
11223
|
-
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
11223
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
11224
11224
|
onInputAvailable?: ((options: {
|
|
11225
11225
|
input: {
|
|
11226
11226
|
path: string;
|
|
11227
11227
|
namePath: string;
|
|
11228
11228
|
};
|
|
11229
|
-
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
11229
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
11230
11230
|
toModelOutput?: ((options: {
|
|
11231
11231
|
toolCallId: string;
|
|
11232
11232
|
input: {
|
|
@@ -11345,10 +11345,10 @@ export declare function buildLspTools(pool?: LspPool): {
|
|
|
11345
11345
|
}[];
|
|
11346
11346
|
recoverable: boolean;
|
|
11347
11347
|
suggestedNextStep: string;
|
|
11348
|
-
}, NoInfer<import("./tools/
|
|
11348
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>>;
|
|
11349
11349
|
} & {
|
|
11350
11350
|
description?: string | ((options: {
|
|
11351
|
-
context: NoInfer<import("./tools/
|
|
11351
|
+
context: NoInfer<import("./tools/toolContextState.js").HazeToolContext>;
|
|
11352
11352
|
experimental_sandbox?: import("ai").Experimental_SandboxSession;
|
|
11353
11353
|
}) => string) | undefined;
|
|
11354
11354
|
strict?: boolean;
|
|
@@ -11403,7 +11403,7 @@ export declare function buildLspTools(pool?: LspPool): {
|
|
|
11403
11403
|
}[];
|
|
11404
11404
|
recoverable: boolean;
|
|
11405
11405
|
suggestedNextStep: string;
|
|
11406
|
-
}, NoInfer<import("./tools/
|
|
11406
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>>;
|
|
11407
11407
|
}) | ({
|
|
11408
11408
|
deferLoading?: boolean;
|
|
11409
11409
|
title?: string;
|
|
@@ -11413,21 +11413,21 @@ export declare function buildLspTools(pool?: LspPool): {
|
|
|
11413
11413
|
path: string;
|
|
11414
11414
|
namePath: string;
|
|
11415
11415
|
}>;
|
|
11416
|
-
contextSchema?: import("ai").FlexibleSchema<import("./tools/
|
|
11416
|
+
contextSchema?: import("ai").FlexibleSchema<import("./tools/toolContextState.js").HazeToolContext> | undefined;
|
|
11417
11417
|
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
11418
11418
|
path: string;
|
|
11419
11419
|
namePath: string;
|
|
11420
|
-
}, NoInfer<import("./tools/
|
|
11421
|
-
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
11420
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>> | undefined;
|
|
11421
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
11422
11422
|
onInputDelta?: ((options: {
|
|
11423
11423
|
inputTextDelta: string;
|
|
11424
|
-
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
11424
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
11425
11425
|
onInputAvailable?: ((options: {
|
|
11426
11426
|
input: {
|
|
11427
11427
|
path: string;
|
|
11428
11428
|
namePath: string;
|
|
11429
11429
|
};
|
|
11430
|
-
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
11430
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
11431
11431
|
toModelOutput?: ((options: {
|
|
11432
11432
|
toolCallId: string;
|
|
11433
11433
|
input: {
|
|
@@ -11546,7 +11546,7 @@ export declare function buildLspTools(pool?: LspPool): {
|
|
|
11546
11546
|
}[];
|
|
11547
11547
|
recoverable: boolean;
|
|
11548
11548
|
suggestedNextStep: string;
|
|
11549
|
-
}, NoInfer<import("./tools/
|
|
11549
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>>;
|
|
11550
11550
|
} & {
|
|
11551
11551
|
type: "provider";
|
|
11552
11552
|
id: `${string}.${string}`;
|
|
@@ -11596,7 +11596,7 @@ export declare function buildLspTools(pool?: LspPool): {
|
|
|
11596
11596
|
}[];
|
|
11597
11597
|
recoverable: boolean;
|
|
11598
11598
|
suggestedNextStep: string;
|
|
11599
|
-
}, NoInfer<import("./tools/
|
|
11599
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>>;
|
|
11600
11600
|
}) | ({
|
|
11601
11601
|
deferLoading?: boolean;
|
|
11602
11602
|
title?: string;
|
|
@@ -11606,21 +11606,21 @@ export declare function buildLspTools(pool?: LspPool): {
|
|
|
11606
11606
|
path: string;
|
|
11607
11607
|
namePath: string;
|
|
11608
11608
|
}>;
|
|
11609
|
-
contextSchema?: import("ai").FlexibleSchema<import("./tools/
|
|
11609
|
+
contextSchema?: import("ai").FlexibleSchema<import("./tools/toolContextState.js").HazeToolContext> | undefined;
|
|
11610
11610
|
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
11611
11611
|
path: string;
|
|
11612
11612
|
namePath: string;
|
|
11613
|
-
}, NoInfer<import("./tools/
|
|
11614
|
-
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
11613
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>> | undefined;
|
|
11614
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
11615
11615
|
onInputDelta?: ((options: {
|
|
11616
11616
|
inputTextDelta: string;
|
|
11617
|
-
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
11617
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
11618
11618
|
onInputAvailable?: ((options: {
|
|
11619
11619
|
input: {
|
|
11620
11620
|
path: string;
|
|
11621
11621
|
namePath: string;
|
|
11622
11622
|
};
|
|
11623
|
-
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/
|
|
11623
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("./tools/toolContextState.js").HazeToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
11624
11624
|
toModelOutput?: ((options: {
|
|
11625
11625
|
toolCallId: string;
|
|
11626
11626
|
input: {
|
|
@@ -11739,7 +11739,7 @@ export declare function buildLspTools(pool?: LspPool): {
|
|
|
11739
11739
|
}[];
|
|
11740
11740
|
recoverable: boolean;
|
|
11741
11741
|
suggestedNextStep: string;
|
|
11742
|
-
}, NoInfer<import("./tools/
|
|
11742
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>>;
|
|
11743
11743
|
} & {
|
|
11744
11744
|
type: "provider";
|
|
11745
11745
|
id: `${string}.${string}`;
|
|
@@ -11789,7 +11789,7 @@ export declare function buildLspTools(pool?: LspPool): {
|
|
|
11789
11789
|
}[];
|
|
11790
11790
|
recoverable: boolean;
|
|
11791
11791
|
suggestedNextStep: string;
|
|
11792
|
-
}, NoInfer<import("./tools/
|
|
11792
|
+
}, NoInfer<import("./tools/toolContextState.js").HazeToolContext>>;
|
|
11793
11793
|
});
|
|
11794
11794
|
lspDiagnostics: ({
|
|
11795
11795
|
deferLoading?: boolean;
|