@denizokcu/haze 0.7.0 → 0.8.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 +24 -8
- package/README.md +31 -31
- package/dist/cli/chat/inputSuggestions.js +2 -2
- package/dist/cli/commands/chat.js +46 -20
- package/dist/cli/commands/chatModes.js +1 -1
- package/dist/cli/commands/commandHelp.js +2 -2
- package/dist/cli/commands/formatters.d.ts +6 -0
- package/dist/cli/commands/formatters.js +38 -0
- package/dist/cli/commands/streaming.js +34 -23
- package/dist/cli/commands/wizardSuggestions.js +1 -1
- package/dist/config/providers.js +5 -9
- package/dist/config/settings.d.ts +1 -0
- package/dist/config/settings.js +54 -2
- package/dist/core/agent/compaction.js +2 -2
- package/dist/core/agent/errors.js +1 -1
- package/dist/core/agent/requestAssembly.d.ts +1 -0
- package/dist/core/agent/requestAssembly.js +13 -0
- package/dist/core/bashOutput/registry.js +11 -9
- package/dist/core/goal/completionPolicy.js +1 -1
- package/dist/core/subagent/subagentRunner.d.ts +252 -9
- package/dist/core/subagent/subagentRunner.js +13 -18
- package/dist/core/toolOutput/reduction.d.ts +2 -0
- package/dist/core/toolOutput/reduction.js +12 -0
- package/dist/core/validation/outputParser.js +5 -3
- package/dist/llm/client.d.ts +2 -2
- package/dist/llm/client.js +15 -2
- package/dist/llm/hazeTools.d.ts +7709 -364
- package/dist/llm/hazeTools.js +7 -1
- package/dist/llm/initPrompt.js +1 -1
- package/dist/llm/lsp.js +10 -1
- package/dist/llm/lspTools.d.ts +2310 -101
- package/dist/llm/systemPrompt.js +2 -2
- package/dist/llm/tools/bashTool.d.ts +251 -5
- package/dist/llm/tools/bashTool.js +4 -3
- package/dist/llm/tools/fetchTool.d.ts +1201 -65
- package/dist/llm/tools/fetchTool.js +2 -1
- package/dist/llm/tools/storedOutputTool.d.ts +351 -10
- package/dist/llm/tools/taskTool.d.ts +629 -28
- package/dist/llm/tools/toolContext.d.ts +7 -2
- package/dist/llm/tools/toolContext.js +11 -2
- package/dist/llm/webFetch.js +31 -21
- package/dist/skills/builder/SkillBuilder.js +7 -7
- package/dist/ui/components/TextInput.d.ts +7 -0
- package/dist/ui/components/TextInput.js +10 -0
- package/dist/utils/modelName.d.ts +2 -0
- package/dist/utils/modelName.js +15 -0
- package/examples/skills/files/SKILL.md +1 -1
- package/package.json +14 -14
|
@@ -4,10 +4,11 @@ import { reductionMetrics } from '../../core/toolOutput/reduction.js';
|
|
|
4
4
|
import { fetchUrlContent, BlockedUrlError } from '../webFetch.js';
|
|
5
5
|
import { structuredToolFailure } from './failures.js';
|
|
6
6
|
import { compactStoredOutput } from './outputCap.js';
|
|
7
|
-
import { runDedupedTool } from './toolContext.js';
|
|
7
|
+
import { hazeToolContextSchema, runDedupedTool } from './toolContext.js';
|
|
8
8
|
const MAX_OUTPUT_CHARS = 50_000;
|
|
9
9
|
export const fetchTool = tool({
|
|
10
10
|
description: 'Fetch a public http(s) URL and return readable content. Use for current docs, API references, error lookups, or CI logs. Private/loopback/metadata hosts are blocked.',
|
|
11
|
+
contextSchema: hazeToolContextSchema,
|
|
11
12
|
inputSchema: z.object({
|
|
12
13
|
url: z.string().url().describe('Absolute http(s) URL to fetch'),
|
|
13
14
|
format: z.enum(['auto', 'text']).default('auto').describe('auto = markdown for HTML, pretty for JSON, passthrough for text; text = raw text only'),
|
|
@@ -1,10 +1,351 @@
|
|
|
1
|
-
export declare const readToolOutputTool:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
export declare const readToolOutputTool: ({
|
|
2
|
+
title?: string;
|
|
3
|
+
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
4
|
+
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
5
|
+
inputSchema: import("ai").FlexibleSchema<{
|
|
6
|
+
handle: string;
|
|
7
|
+
offset: number;
|
|
8
|
+
limit: number;
|
|
9
|
+
contextLines: number;
|
|
10
|
+
query?: string | undefined;
|
|
11
|
+
}>;
|
|
12
|
+
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
13
|
+
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
14
|
+
handle: string;
|
|
15
|
+
offset: number;
|
|
16
|
+
limit: number;
|
|
17
|
+
contextLines: number;
|
|
18
|
+
query?: string | undefined;
|
|
19
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
|
|
20
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
21
|
+
onInputDelta?: ((options: {
|
|
22
|
+
inputTextDelta: string;
|
|
23
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
24
|
+
onInputAvailable?: ((options: {
|
|
25
|
+
input: {
|
|
26
|
+
handle: string;
|
|
27
|
+
offset: number;
|
|
28
|
+
limit: number;
|
|
29
|
+
contextLines: number;
|
|
30
|
+
query?: string | undefined;
|
|
31
|
+
};
|
|
32
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
33
|
+
toModelOutput?: ((options: {
|
|
34
|
+
toolCallId: string;
|
|
35
|
+
input: {
|
|
36
|
+
handle: string;
|
|
37
|
+
offset: number;
|
|
38
|
+
limit: number;
|
|
39
|
+
contextLines: number;
|
|
40
|
+
query?: string | undefined;
|
|
41
|
+
};
|
|
42
|
+
output: NoInfer<import("../../core/agent/toolOutputStore.js").StoredToolOutputPage | {
|
|
43
|
+
ok: boolean;
|
|
44
|
+
error: string;
|
|
45
|
+
}>;
|
|
46
|
+
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
47
|
+
} & {
|
|
48
|
+
outputSchema?: import("ai").FlexibleSchema<import("../../core/agent/toolOutputStore.js").StoredToolOutputPage | {
|
|
49
|
+
ok: boolean;
|
|
50
|
+
error: string;
|
|
51
|
+
}> | undefined;
|
|
52
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
53
|
+
handle: string;
|
|
54
|
+
offset: number;
|
|
55
|
+
limit: number;
|
|
56
|
+
contextLines: number;
|
|
57
|
+
query?: string | undefined;
|
|
58
|
+
}, import("../../core/agent/toolOutputStore.js").StoredToolOutputPage | {
|
|
59
|
+
ok: boolean;
|
|
60
|
+
error: string;
|
|
61
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
62
|
+
} & {
|
|
63
|
+
description?: string | ((options: {
|
|
64
|
+
context: NoInfer<import("@ai-sdk/provider-utils").Context>;
|
|
65
|
+
experimental_sandbox?: import("ai").Experimental_SandboxSession;
|
|
66
|
+
}) => string) | undefined;
|
|
67
|
+
strict?: boolean;
|
|
68
|
+
inputExamples?: {
|
|
69
|
+
input: NoInfer<{
|
|
70
|
+
handle: string;
|
|
71
|
+
offset: number;
|
|
72
|
+
limit: number;
|
|
73
|
+
contextLines: number;
|
|
74
|
+
query?: string | undefined;
|
|
75
|
+
}>;
|
|
76
|
+
}[] | undefined;
|
|
77
|
+
id?: never;
|
|
78
|
+
isProviderExecuted?: never;
|
|
79
|
+
args?: never;
|
|
80
|
+
supportsDeferredResults?: never;
|
|
81
|
+
} & {
|
|
82
|
+
type?: undefined | "function";
|
|
83
|
+
} & {
|
|
84
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
85
|
+
handle: string;
|
|
86
|
+
offset: number;
|
|
87
|
+
limit: number;
|
|
88
|
+
contextLines: number;
|
|
89
|
+
query?: string | undefined;
|
|
90
|
+
}, import("../../core/agent/toolOutputStore.js").StoredToolOutputPage | {
|
|
91
|
+
ok: boolean;
|
|
92
|
+
error: string;
|
|
93
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
94
|
+
}) | ({
|
|
95
|
+
title?: string;
|
|
96
|
+
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
97
|
+
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
98
|
+
inputSchema: import("ai").FlexibleSchema<{
|
|
99
|
+
handle: string;
|
|
100
|
+
offset: number;
|
|
101
|
+
limit: number;
|
|
102
|
+
contextLines: number;
|
|
103
|
+
query?: string | undefined;
|
|
104
|
+
}>;
|
|
105
|
+
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
106
|
+
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
107
|
+
handle: string;
|
|
108
|
+
offset: number;
|
|
109
|
+
limit: number;
|
|
110
|
+
contextLines: number;
|
|
111
|
+
query?: string | undefined;
|
|
112
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
|
|
113
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
114
|
+
onInputDelta?: ((options: {
|
|
115
|
+
inputTextDelta: string;
|
|
116
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
117
|
+
onInputAvailable?: ((options: {
|
|
118
|
+
input: {
|
|
119
|
+
handle: string;
|
|
120
|
+
offset: number;
|
|
121
|
+
limit: number;
|
|
122
|
+
contextLines: number;
|
|
123
|
+
query?: string | undefined;
|
|
124
|
+
};
|
|
125
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
126
|
+
toModelOutput?: ((options: {
|
|
127
|
+
toolCallId: string;
|
|
128
|
+
input: {
|
|
129
|
+
handle: string;
|
|
130
|
+
offset: number;
|
|
131
|
+
limit: number;
|
|
132
|
+
contextLines: number;
|
|
133
|
+
query?: string | undefined;
|
|
134
|
+
};
|
|
135
|
+
output: NoInfer<import("../../core/agent/toolOutputStore.js").StoredToolOutputPage | {
|
|
136
|
+
ok: boolean;
|
|
137
|
+
error: string;
|
|
138
|
+
}>;
|
|
139
|
+
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
140
|
+
} & {
|
|
141
|
+
outputSchema?: import("ai").FlexibleSchema<import("../../core/agent/toolOutputStore.js").StoredToolOutputPage | {
|
|
142
|
+
ok: boolean;
|
|
143
|
+
error: string;
|
|
144
|
+
}> | undefined;
|
|
145
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
146
|
+
handle: string;
|
|
147
|
+
offset: number;
|
|
148
|
+
limit: number;
|
|
149
|
+
contextLines: number;
|
|
150
|
+
query?: string | undefined;
|
|
151
|
+
}, import("../../core/agent/toolOutputStore.js").StoredToolOutputPage | {
|
|
152
|
+
ok: boolean;
|
|
153
|
+
error: string;
|
|
154
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
155
|
+
} & {
|
|
156
|
+
description?: string | ((options: {
|
|
157
|
+
context: NoInfer<import("@ai-sdk/provider-utils").Context>;
|
|
158
|
+
experimental_sandbox?: import("ai").Experimental_SandboxSession;
|
|
159
|
+
}) => string) | undefined;
|
|
160
|
+
strict?: boolean;
|
|
161
|
+
inputExamples?: {
|
|
162
|
+
input: NoInfer<{
|
|
163
|
+
handle: string;
|
|
164
|
+
offset: number;
|
|
165
|
+
limit: number;
|
|
166
|
+
contextLines: number;
|
|
167
|
+
query?: string | undefined;
|
|
168
|
+
}>;
|
|
169
|
+
}[] | undefined;
|
|
170
|
+
id?: never;
|
|
171
|
+
isProviderExecuted?: never;
|
|
172
|
+
args?: never;
|
|
173
|
+
supportsDeferredResults?: never;
|
|
174
|
+
} & {
|
|
175
|
+
type: "dynamic";
|
|
176
|
+
} & {
|
|
177
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
178
|
+
handle: string;
|
|
179
|
+
offset: number;
|
|
180
|
+
limit: number;
|
|
181
|
+
contextLines: number;
|
|
182
|
+
query?: string | undefined;
|
|
183
|
+
}, import("../../core/agent/toolOutputStore.js").StoredToolOutputPage | {
|
|
184
|
+
ok: boolean;
|
|
185
|
+
error: string;
|
|
186
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
187
|
+
}) | ({
|
|
188
|
+
title?: string;
|
|
189
|
+
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
190
|
+
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
191
|
+
inputSchema: import("ai").FlexibleSchema<{
|
|
192
|
+
handle: string;
|
|
193
|
+
offset: number;
|
|
194
|
+
limit: number;
|
|
195
|
+
contextLines: number;
|
|
196
|
+
query?: string | undefined;
|
|
197
|
+
}>;
|
|
198
|
+
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
199
|
+
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
200
|
+
handle: string;
|
|
201
|
+
offset: number;
|
|
202
|
+
limit: number;
|
|
203
|
+
contextLines: number;
|
|
204
|
+
query?: string | undefined;
|
|
205
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
|
|
206
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
207
|
+
onInputDelta?: ((options: {
|
|
208
|
+
inputTextDelta: string;
|
|
209
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
210
|
+
onInputAvailable?: ((options: {
|
|
211
|
+
input: {
|
|
212
|
+
handle: string;
|
|
213
|
+
offset: number;
|
|
214
|
+
limit: number;
|
|
215
|
+
contextLines: number;
|
|
216
|
+
query?: string | undefined;
|
|
217
|
+
};
|
|
218
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
219
|
+
toModelOutput?: ((options: {
|
|
220
|
+
toolCallId: string;
|
|
221
|
+
input: {
|
|
222
|
+
handle: string;
|
|
223
|
+
offset: number;
|
|
224
|
+
limit: number;
|
|
225
|
+
contextLines: number;
|
|
226
|
+
query?: string | undefined;
|
|
227
|
+
};
|
|
228
|
+
output: NoInfer<import("../../core/agent/toolOutputStore.js").StoredToolOutputPage | {
|
|
229
|
+
ok: boolean;
|
|
230
|
+
error: string;
|
|
231
|
+
}>;
|
|
232
|
+
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
233
|
+
} & {
|
|
234
|
+
outputSchema?: import("ai").FlexibleSchema<import("../../core/agent/toolOutputStore.js").StoredToolOutputPage | {
|
|
235
|
+
ok: boolean;
|
|
236
|
+
error: string;
|
|
237
|
+
}> | undefined;
|
|
238
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
239
|
+
handle: string;
|
|
240
|
+
offset: number;
|
|
241
|
+
limit: number;
|
|
242
|
+
contextLines: number;
|
|
243
|
+
query?: string | undefined;
|
|
244
|
+
}, import("../../core/agent/toolOutputStore.js").StoredToolOutputPage | {
|
|
245
|
+
ok: boolean;
|
|
246
|
+
error: string;
|
|
247
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
248
|
+
} & {
|
|
249
|
+
type: "provider";
|
|
250
|
+
id: `${string}.${string}`;
|
|
251
|
+
args: Record<string, unknown>;
|
|
252
|
+
description?: never;
|
|
253
|
+
strict?: never;
|
|
254
|
+
inputExamples?: never;
|
|
255
|
+
} & {
|
|
256
|
+
isProviderExecuted: false;
|
|
257
|
+
supportsDeferredResults?: never;
|
|
258
|
+
} & {
|
|
259
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
260
|
+
handle: string;
|
|
261
|
+
offset: number;
|
|
262
|
+
limit: number;
|
|
263
|
+
contextLines: number;
|
|
264
|
+
query?: string | undefined;
|
|
265
|
+
}, import("../../core/agent/toolOutputStore.js").StoredToolOutputPage | {
|
|
266
|
+
ok: boolean;
|
|
267
|
+
error: string;
|
|
268
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
269
|
+
}) | ({
|
|
270
|
+
title?: string;
|
|
271
|
+
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
272
|
+
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
273
|
+
inputSchema: import("ai").FlexibleSchema<{
|
|
274
|
+
handle: string;
|
|
275
|
+
offset: number;
|
|
276
|
+
limit: number;
|
|
277
|
+
contextLines: number;
|
|
278
|
+
query?: string | undefined;
|
|
279
|
+
}>;
|
|
280
|
+
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
281
|
+
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
282
|
+
handle: string;
|
|
283
|
+
offset: number;
|
|
284
|
+
limit: number;
|
|
285
|
+
contextLines: number;
|
|
286
|
+
query?: string | undefined;
|
|
287
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
|
|
288
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
289
|
+
onInputDelta?: ((options: {
|
|
290
|
+
inputTextDelta: string;
|
|
291
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
292
|
+
onInputAvailable?: ((options: {
|
|
293
|
+
input: {
|
|
294
|
+
handle: string;
|
|
295
|
+
offset: number;
|
|
296
|
+
limit: number;
|
|
297
|
+
contextLines: number;
|
|
298
|
+
query?: string | undefined;
|
|
299
|
+
};
|
|
300
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
301
|
+
toModelOutput?: ((options: {
|
|
302
|
+
toolCallId: string;
|
|
303
|
+
input: {
|
|
304
|
+
handle: string;
|
|
305
|
+
offset: number;
|
|
306
|
+
limit: number;
|
|
307
|
+
contextLines: number;
|
|
308
|
+
query?: string | undefined;
|
|
309
|
+
};
|
|
310
|
+
output: NoInfer<import("../../core/agent/toolOutputStore.js").StoredToolOutputPage | {
|
|
311
|
+
ok: boolean;
|
|
312
|
+
error: string;
|
|
313
|
+
}>;
|
|
314
|
+
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
315
|
+
} & {
|
|
316
|
+
outputSchema?: import("ai").FlexibleSchema<import("../../core/agent/toolOutputStore.js").StoredToolOutputPage | {
|
|
317
|
+
ok: boolean;
|
|
318
|
+
error: string;
|
|
319
|
+
}> | undefined;
|
|
320
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
321
|
+
handle: string;
|
|
322
|
+
offset: number;
|
|
323
|
+
limit: number;
|
|
324
|
+
contextLines: number;
|
|
325
|
+
query?: string | undefined;
|
|
326
|
+
}, import("../../core/agent/toolOutputStore.js").StoredToolOutputPage | {
|
|
327
|
+
ok: boolean;
|
|
328
|
+
error: string;
|
|
329
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
330
|
+
} & {
|
|
331
|
+
type: "provider";
|
|
332
|
+
id: `${string}.${string}`;
|
|
333
|
+
args: Record<string, unknown>;
|
|
334
|
+
description?: never;
|
|
335
|
+
strict?: never;
|
|
336
|
+
inputExamples?: never;
|
|
337
|
+
} & {
|
|
338
|
+
isProviderExecuted: true;
|
|
339
|
+
supportsDeferredResults?: boolean;
|
|
340
|
+
} & {
|
|
341
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
342
|
+
handle: string;
|
|
343
|
+
offset: number;
|
|
344
|
+
limit: number;
|
|
345
|
+
contextLines: number;
|
|
346
|
+
query?: string | undefined;
|
|
347
|
+
}, import("../../core/agent/toolOutputStore.js").StoredToolOutputPage | {
|
|
348
|
+
ok: boolean;
|
|
349
|
+
error: string;
|
|
350
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
351
|
+
});
|