@codeworksh/aikit 0.8.0 → 0.9.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/README.md +10 -1
- package/cli.mjs +75 -83
- package/cli.mjs.map +1 -1
- package/{codex-MtP1574D.mjs → codex-CLDBTrFm.mjs} +132 -134
- package/codex-CLDBTrFm.mjs.map +1 -0
- package/copilot-CcD3g6H8.mjs +425 -0
- package/copilot-CcD3g6H8.mjs.map +1 -0
- package/copilot-headers-DceqXlpj.mjs +104 -0
- package/copilot-headers-DceqXlpj.mjs.map +1 -0
- package/github-copilot-BJIrxOzT.mjs +3 -0
- package/github-copilot-SIUCJz1G.mjs +126 -0
- package/github-copilot-SIUCJz1G.mjs.map +1 -0
- package/index.d.mts +980 -932
- package/index.mjs +63 -11
- package/index.mjs.map +1 -1
- package/interactive-eoNnscGB.mjs +57 -0
- package/interactive-eoNnscGB.mjs.map +1 -0
- package/{model-CpX11Oob.d.mts → model-CrVLp622.d.mts} +159 -130
- package/{model-CBnredXj.mjs → model-gCDbmGqT.mjs} +31 -2
- package/model-gCDbmGqT.mjs.map +1 -0
- package/{modelgen-BjSsusLQ.mjs → modelgen-DvorXOjJ.mjs} +148 -29
- package/modelgen-DvorXOjJ.mjs.map +1 -0
- package/modelgen.d.mts +2 -3
- package/modelgen.mjs +1 -1
- package/oauth/github/copilot.d.mts +169 -0
- package/oauth/github/copilot.mjs +2 -0
- package/oauth/interactive.d.mts +21 -0
- package/oauth/interactive.mjs +2 -0
- package/oauth/openai/codex.d.mts +46 -28
- package/oauth/openai/codex.mjs +2 -2
- package/oauth/summary.d.mts +67 -0
- package/oauth/summary.mjs +2 -0
- package/{openai-codex-t4B7g-gv.mjs → openai-codex-Bqzti6Mc.mjs} +3 -3
- package/{openai-codex-t4B7g-gv.mjs.map → openai-codex-Bqzti6Mc.mjs.map} +1 -1
- package/openai-codex-DA1Q7mLN.mjs +2 -0
- package/package.json +34 -22
- package/{registry-DYdYTwFt.mjs → registry-ZxwIW0gX.mjs} +5 -3
- package/registry-ZxwIW0gX.mjs.map +1 -0
- package/storage-v6qjTQ0v.mjs +178 -0
- package/storage-v6qjTQ0v.mjs.map +1 -0
- package/summary-C_QyCVWa.mjs +68 -0
- package/summary-C_QyCVWa.mjs.map +1 -0
- package/codex-MtP1574D.mjs.map +0 -1
- package/model-CBnredXj.mjs.map +0 -1
- package/modelgen-BjSsusLQ.mjs.map +0 -1
- package/openai-codex-BRH4Qa7l.mjs +0 -2
- package/registry-DYdYTwFt.mjs.map +0 -1
package/index.d.mts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { a as KnownProviderEnum, c as ThinkingBudgets$1, d as getProviders, f as model_d_exports, i as Info, l as getModel, m as registry, n as ActiveThinkingLevel, o as ProviderToProtocol, p as modelsAreEqual, r as Compatibility, s as TModel, t as APIMethodEnum, u as getModels } from "./model-
|
|
1
|
+
import { a as KnownProviderEnum, c as ThinkingBudgets$1, d as getProviders, f as model_d_exports, i as Info, l as getModel, m as registry, n as ActiveThinkingLevel, o as ProviderToProtocol, p as modelsAreEqual, r as Compatibility, s as TModel, t as APIMethodEnum, u as getModels } from "./model-CrVLp622.mjs";
|
|
2
2
|
import { t as failure_d_exports } from "./failure-5Wjd-qFH.mjs";
|
|
3
3
|
import Type$2, { Static, Static as Static$1, TSchema, TSchema as TSchema$1, Type, Type as Type$1 } from "typebox";
|
|
4
|
-
import { APICallError, LanguageModelV3, ProviderV3 } from "@ai-sdk/provider";
|
|
4
|
+
import { APICallError, LanguageModelV3, LanguageModelV4, ProviderV3, ProviderV4 } from "@ai-sdk/provider";
|
|
5
5
|
import { AnthropicLanguageModelOptions, AnthropicProviderSettings } from "@ai-sdk/anthropic";
|
|
6
|
+
import { OpenAILanguageModelChatOptions, OpenAILanguageModelCompletionOptions, OpenAILanguageModelResponsesOptions, OpenAIProviderSettings } from "@ai-sdk/openai";
|
|
7
|
+
import { OpenAICompatibleLanguageModelChatOptions, OpenAICompatibleLanguageModelCompletionOptions, OpenAICompatibleProviderSettings } from "@ai-sdk/openai-compatible";
|
|
6
8
|
import { GoogleGenerativeAIProviderSettings, GoogleLanguageModelOptions } from "@ai-sdk/google";
|
|
7
9
|
import { GoogleVertexProviderSettings } from "@ai-sdk/google-vertex";
|
|
8
10
|
import { GoogleVertexAnthropicProviderSettings } from "@ai-sdk/google-vertex/anthropic";
|
|
9
|
-
import { OpenAILanguageModelChatOptions, OpenAILanguageModelCompletionOptions, OpenAILanguageModelResponsesOptions, OpenAIProviderSettings } from "@ai-sdk/openai";
|
|
10
|
-
import { OpenAICompatibleLanguageModelChatOptions, OpenAICompatibleLanguageModelCompletionOptions, OpenAICompatibleProviderSettings } from "@ai-sdk/openai-compatible";
|
|
11
11
|
import { XaiLanguageModelChatOptions, XaiLanguageModelResponsesOptions, XaiProviderSettings } from "@ai-sdk/xai";
|
|
12
12
|
import { OpenRouterProviderOptions, OpenRouterProviderSettings } from "@openrouter/ai-sdk-provider";
|
|
13
13
|
declare namespace event_d_exports {
|
|
@@ -41,7 +41,7 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
41
41
|
type: Type$2.TLiteral<"start">;
|
|
42
42
|
partial: Type$2.TObject<{
|
|
43
43
|
role: Type$2.TLiteral<"assistant">;
|
|
44
|
-
protocol: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
44
|
+
protocol: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"github-copilot">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
45
45
|
provider: Type$2.TObject<{
|
|
46
46
|
id: Type$2.TString;
|
|
47
47
|
name: Type$2.TString;
|
|
@@ -207,18 +207,11 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
207
207
|
}>, Type$2.TObject<{
|
|
208
208
|
status: Type$2.TLiteral<"pending">;
|
|
209
209
|
}>]>, Type$2.TObject<{
|
|
210
|
-
|
|
210
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
211
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
211
212
|
callID: Type$2.TString;
|
|
212
213
|
name: Type$2.TString;
|
|
213
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
214
|
-
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
215
214
|
namespace: Type$2.TOptional<Type$2.TString>;
|
|
216
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
217
|
-
time: Type$2.TObject<{
|
|
218
|
-
start: Type$2.TNumber;
|
|
219
|
-
end: Type$2.TNumber;
|
|
220
|
-
}>;
|
|
221
|
-
status: Type$2.TLiteral<"running">;
|
|
222
215
|
partial: Type$2.TOptional<Type$2.TObject<{
|
|
223
216
|
content: Type$2.TOptional<Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
224
217
|
type: Type$2.TLiteral<"text">;
|
|
@@ -231,19 +224,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
231
224
|
}>]>>>;
|
|
232
225
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
233
226
|
}>>;
|
|
234
|
-
|
|
235
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
236
|
-
callID: Type$2.TString;
|
|
237
|
-
name: Type$2.TString;
|
|
238
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
227
|
+
status: Type$2.TLiteral<"running">;
|
|
239
228
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
240
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
241
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
242
229
|
time: Type$2.TObject<{
|
|
243
230
|
start: Type$2.TNumber;
|
|
244
231
|
end: Type$2.TNumber;
|
|
245
232
|
}>;
|
|
246
|
-
|
|
233
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
234
|
+
}>, Type$2.TUnion<[Type$2.TObject<{
|
|
235
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
236
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
237
|
+
callID: Type$2.TString;
|
|
238
|
+
name: Type$2.TString;
|
|
239
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
247
240
|
result: Type$2.TObject<{
|
|
248
241
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
249
242
|
type: Type$2.TLiteral<"text">;
|
|
@@ -257,19 +250,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
257
250
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
258
251
|
isError: Type$2.TLiteral<false>;
|
|
259
252
|
}>;
|
|
260
|
-
|
|
261
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
262
|
-
callID: Type$2.TString;
|
|
263
|
-
name: Type$2.TString;
|
|
264
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
253
|
+
status: Type$2.TLiteral<"completed">;
|
|
265
254
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
266
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
267
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
268
255
|
time: Type$2.TObject<{
|
|
269
256
|
start: Type$2.TNumber;
|
|
270
257
|
end: Type$2.TNumber;
|
|
271
258
|
}>;
|
|
272
|
-
|
|
259
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
260
|
+
}>, Type$2.TObject<{
|
|
261
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
262
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
263
|
+
callID: Type$2.TString;
|
|
264
|
+
name: Type$2.TString;
|
|
265
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
273
266
|
result: Type$2.TObject<{
|
|
274
267
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
275
268
|
type: Type$2.TLiteral<"text">;
|
|
@@ -283,19 +276,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
283
276
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
284
277
|
isError: Type$2.TLiteral<true>;
|
|
285
278
|
}>;
|
|
286
|
-
|
|
287
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
288
|
-
callID: Type$2.TString;
|
|
289
|
-
name: Type$2.TString;
|
|
290
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
279
|
+
status: Type$2.TLiteral<"error">;
|
|
291
280
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
292
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
293
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
294
281
|
time: Type$2.TObject<{
|
|
295
282
|
start: Type$2.TNumber;
|
|
296
283
|
end: Type$2.TNumber;
|
|
297
284
|
}>;
|
|
298
|
-
|
|
285
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
286
|
+
}>, Type$2.TObject<{
|
|
287
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
288
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
289
|
+
callID: Type$2.TString;
|
|
290
|
+
name: Type$2.TString;
|
|
291
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
299
292
|
result: Type$2.TObject<{
|
|
300
293
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
301
294
|
type: Type$2.TLiteral<"text">;
|
|
@@ -309,19 +302,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
309
302
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
310
303
|
isError: Type$2.TLiteral<true>;
|
|
311
304
|
}>;
|
|
312
|
-
|
|
313
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
314
|
-
callID: Type$2.TString;
|
|
315
|
-
name: Type$2.TString;
|
|
316
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
305
|
+
status: Type$2.TLiteral<"skipped">;
|
|
317
306
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
318
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
319
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
320
307
|
time: Type$2.TObject<{
|
|
321
308
|
start: Type$2.TNumber;
|
|
322
309
|
end: Type$2.TNumber;
|
|
323
310
|
}>;
|
|
324
|
-
|
|
311
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
312
|
+
}>, Type$2.TObject<{
|
|
313
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
314
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
315
|
+
callID: Type$2.TString;
|
|
316
|
+
name: Type$2.TString;
|
|
317
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
325
318
|
result: Type$2.TObject<{
|
|
326
319
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
327
320
|
type: Type$2.TLiteral<"text">;
|
|
@@ -335,6 +328,13 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
335
328
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
336
329
|
isError: Type$2.TLiteral<true>;
|
|
337
330
|
}>;
|
|
331
|
+
status: Type$2.TLiteral<"aborted">;
|
|
332
|
+
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
333
|
+
time: Type$2.TObject<{
|
|
334
|
+
start: Type$2.TNumber;
|
|
335
|
+
end: Type$2.TNumber;
|
|
336
|
+
}>;
|
|
337
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
338
338
|
}>]>]>]>>;
|
|
339
339
|
responseId: Type$2.TOptional<Type$2.TString>;
|
|
340
340
|
responseModel: Type$2.TOptional<Type$2.TString>;
|
|
@@ -345,7 +345,7 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
345
345
|
partIndex: Type$2.TNumber;
|
|
346
346
|
partial: Type$2.TObject<{
|
|
347
347
|
role: Type$2.TLiteral<"assistant">;
|
|
348
|
-
protocol: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
348
|
+
protocol: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"github-copilot">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
349
349
|
provider: Type$2.TObject<{
|
|
350
350
|
id: Type$2.TString;
|
|
351
351
|
name: Type$2.TString;
|
|
@@ -511,18 +511,11 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
511
511
|
}>, Type$2.TObject<{
|
|
512
512
|
status: Type$2.TLiteral<"pending">;
|
|
513
513
|
}>]>, Type$2.TObject<{
|
|
514
|
-
|
|
514
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
515
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
515
516
|
callID: Type$2.TString;
|
|
516
517
|
name: Type$2.TString;
|
|
517
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
518
|
-
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
519
518
|
namespace: Type$2.TOptional<Type$2.TString>;
|
|
520
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
521
|
-
time: Type$2.TObject<{
|
|
522
|
-
start: Type$2.TNumber;
|
|
523
|
-
end: Type$2.TNumber;
|
|
524
|
-
}>;
|
|
525
|
-
status: Type$2.TLiteral<"running">;
|
|
526
519
|
partial: Type$2.TOptional<Type$2.TObject<{
|
|
527
520
|
content: Type$2.TOptional<Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
528
521
|
type: Type$2.TLiteral<"text">;
|
|
@@ -535,19 +528,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
535
528
|
}>]>>>;
|
|
536
529
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
537
530
|
}>>;
|
|
538
|
-
|
|
539
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
540
|
-
callID: Type$2.TString;
|
|
541
|
-
name: Type$2.TString;
|
|
542
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
531
|
+
status: Type$2.TLiteral<"running">;
|
|
543
532
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
544
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
545
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
546
533
|
time: Type$2.TObject<{
|
|
547
534
|
start: Type$2.TNumber;
|
|
548
535
|
end: Type$2.TNumber;
|
|
549
536
|
}>;
|
|
550
|
-
|
|
537
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
538
|
+
}>, Type$2.TUnion<[Type$2.TObject<{
|
|
539
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
540
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
541
|
+
callID: Type$2.TString;
|
|
542
|
+
name: Type$2.TString;
|
|
543
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
551
544
|
result: Type$2.TObject<{
|
|
552
545
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
553
546
|
type: Type$2.TLiteral<"text">;
|
|
@@ -561,19 +554,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
561
554
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
562
555
|
isError: Type$2.TLiteral<false>;
|
|
563
556
|
}>;
|
|
564
|
-
|
|
565
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
566
|
-
callID: Type$2.TString;
|
|
567
|
-
name: Type$2.TString;
|
|
568
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
557
|
+
status: Type$2.TLiteral<"completed">;
|
|
569
558
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
570
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
571
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
572
559
|
time: Type$2.TObject<{
|
|
573
560
|
start: Type$2.TNumber;
|
|
574
561
|
end: Type$2.TNumber;
|
|
575
562
|
}>;
|
|
576
|
-
|
|
563
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
564
|
+
}>, Type$2.TObject<{
|
|
565
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
566
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
567
|
+
callID: Type$2.TString;
|
|
568
|
+
name: Type$2.TString;
|
|
569
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
577
570
|
result: Type$2.TObject<{
|
|
578
571
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
579
572
|
type: Type$2.TLiteral<"text">;
|
|
@@ -587,19 +580,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
587
580
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
588
581
|
isError: Type$2.TLiteral<true>;
|
|
589
582
|
}>;
|
|
590
|
-
|
|
591
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
592
|
-
callID: Type$2.TString;
|
|
593
|
-
name: Type$2.TString;
|
|
594
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
583
|
+
status: Type$2.TLiteral<"error">;
|
|
595
584
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
596
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
597
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
598
585
|
time: Type$2.TObject<{
|
|
599
586
|
start: Type$2.TNumber;
|
|
600
587
|
end: Type$2.TNumber;
|
|
601
588
|
}>;
|
|
602
|
-
|
|
589
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
590
|
+
}>, Type$2.TObject<{
|
|
591
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
592
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
593
|
+
callID: Type$2.TString;
|
|
594
|
+
name: Type$2.TString;
|
|
595
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
603
596
|
result: Type$2.TObject<{
|
|
604
597
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
605
598
|
type: Type$2.TLiteral<"text">;
|
|
@@ -613,19 +606,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
613
606
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
614
607
|
isError: Type$2.TLiteral<true>;
|
|
615
608
|
}>;
|
|
616
|
-
|
|
617
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
618
|
-
callID: Type$2.TString;
|
|
619
|
-
name: Type$2.TString;
|
|
620
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
609
|
+
status: Type$2.TLiteral<"skipped">;
|
|
621
610
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
622
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
623
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
624
611
|
time: Type$2.TObject<{
|
|
625
612
|
start: Type$2.TNumber;
|
|
626
613
|
end: Type$2.TNumber;
|
|
627
614
|
}>;
|
|
628
|
-
|
|
615
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
616
|
+
}>, Type$2.TObject<{
|
|
617
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
618
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
619
|
+
callID: Type$2.TString;
|
|
620
|
+
name: Type$2.TString;
|
|
621
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
629
622
|
result: Type$2.TObject<{
|
|
630
623
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
631
624
|
type: Type$2.TLiteral<"text">;
|
|
@@ -639,6 +632,13 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
639
632
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
640
633
|
isError: Type$2.TLiteral<true>;
|
|
641
634
|
}>;
|
|
635
|
+
status: Type$2.TLiteral<"aborted">;
|
|
636
|
+
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
637
|
+
time: Type$2.TObject<{
|
|
638
|
+
start: Type$2.TNumber;
|
|
639
|
+
end: Type$2.TNumber;
|
|
640
|
+
}>;
|
|
641
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
642
642
|
}>]>]>]>>;
|
|
643
643
|
responseId: Type$2.TOptional<Type$2.TString>;
|
|
644
644
|
responseModel: Type$2.TOptional<Type$2.TString>;
|
|
@@ -650,7 +650,7 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
650
650
|
delta: Type$2.TString;
|
|
651
651
|
partial: Type$2.TObject<{
|
|
652
652
|
role: Type$2.TLiteral<"assistant">;
|
|
653
|
-
protocol: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
653
|
+
protocol: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"github-copilot">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
654
654
|
provider: Type$2.TObject<{
|
|
655
655
|
id: Type$2.TString;
|
|
656
656
|
name: Type$2.TString;
|
|
@@ -816,18 +816,11 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
816
816
|
}>, Type$2.TObject<{
|
|
817
817
|
status: Type$2.TLiteral<"pending">;
|
|
818
818
|
}>]>, Type$2.TObject<{
|
|
819
|
-
|
|
819
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
820
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
820
821
|
callID: Type$2.TString;
|
|
821
822
|
name: Type$2.TString;
|
|
822
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
823
|
-
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
824
823
|
namespace: Type$2.TOptional<Type$2.TString>;
|
|
825
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
826
|
-
time: Type$2.TObject<{
|
|
827
|
-
start: Type$2.TNumber;
|
|
828
|
-
end: Type$2.TNumber;
|
|
829
|
-
}>;
|
|
830
|
-
status: Type$2.TLiteral<"running">;
|
|
831
824
|
partial: Type$2.TOptional<Type$2.TObject<{
|
|
832
825
|
content: Type$2.TOptional<Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
833
826
|
type: Type$2.TLiteral<"text">;
|
|
@@ -840,19 +833,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
840
833
|
}>]>>>;
|
|
841
834
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
842
835
|
}>>;
|
|
843
|
-
|
|
844
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
845
|
-
callID: Type$2.TString;
|
|
846
|
-
name: Type$2.TString;
|
|
847
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
836
|
+
status: Type$2.TLiteral<"running">;
|
|
848
837
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
849
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
850
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
851
838
|
time: Type$2.TObject<{
|
|
852
839
|
start: Type$2.TNumber;
|
|
853
840
|
end: Type$2.TNumber;
|
|
854
841
|
}>;
|
|
855
|
-
|
|
842
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
843
|
+
}>, Type$2.TUnion<[Type$2.TObject<{
|
|
844
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
845
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
846
|
+
callID: Type$2.TString;
|
|
847
|
+
name: Type$2.TString;
|
|
848
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
856
849
|
result: Type$2.TObject<{
|
|
857
850
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
858
851
|
type: Type$2.TLiteral<"text">;
|
|
@@ -866,19 +859,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
866
859
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
867
860
|
isError: Type$2.TLiteral<false>;
|
|
868
861
|
}>;
|
|
869
|
-
|
|
870
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
871
|
-
callID: Type$2.TString;
|
|
872
|
-
name: Type$2.TString;
|
|
873
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
862
|
+
status: Type$2.TLiteral<"completed">;
|
|
874
863
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
875
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
876
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
877
864
|
time: Type$2.TObject<{
|
|
878
865
|
start: Type$2.TNumber;
|
|
879
866
|
end: Type$2.TNumber;
|
|
880
867
|
}>;
|
|
881
|
-
|
|
868
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
869
|
+
}>, Type$2.TObject<{
|
|
870
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
871
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
872
|
+
callID: Type$2.TString;
|
|
873
|
+
name: Type$2.TString;
|
|
874
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
882
875
|
result: Type$2.TObject<{
|
|
883
876
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
884
877
|
type: Type$2.TLiteral<"text">;
|
|
@@ -892,19 +885,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
892
885
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
893
886
|
isError: Type$2.TLiteral<true>;
|
|
894
887
|
}>;
|
|
895
|
-
|
|
896
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
897
|
-
callID: Type$2.TString;
|
|
898
|
-
name: Type$2.TString;
|
|
899
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
888
|
+
status: Type$2.TLiteral<"error">;
|
|
900
889
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
901
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
902
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
903
890
|
time: Type$2.TObject<{
|
|
904
891
|
start: Type$2.TNumber;
|
|
905
892
|
end: Type$2.TNumber;
|
|
906
893
|
}>;
|
|
907
|
-
|
|
894
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
895
|
+
}>, Type$2.TObject<{
|
|
896
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
897
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
898
|
+
callID: Type$2.TString;
|
|
899
|
+
name: Type$2.TString;
|
|
900
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
908
901
|
result: Type$2.TObject<{
|
|
909
902
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
910
903
|
type: Type$2.TLiteral<"text">;
|
|
@@ -918,19 +911,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
918
911
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
919
912
|
isError: Type$2.TLiteral<true>;
|
|
920
913
|
}>;
|
|
921
|
-
|
|
922
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
923
|
-
callID: Type$2.TString;
|
|
924
|
-
name: Type$2.TString;
|
|
925
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
914
|
+
status: Type$2.TLiteral<"skipped">;
|
|
926
915
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
927
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
928
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
929
916
|
time: Type$2.TObject<{
|
|
930
917
|
start: Type$2.TNumber;
|
|
931
918
|
end: Type$2.TNumber;
|
|
932
919
|
}>;
|
|
933
|
-
|
|
920
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
921
|
+
}>, Type$2.TObject<{
|
|
922
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
923
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
924
|
+
callID: Type$2.TString;
|
|
925
|
+
name: Type$2.TString;
|
|
926
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
934
927
|
result: Type$2.TObject<{
|
|
935
928
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
936
929
|
type: Type$2.TLiteral<"text">;
|
|
@@ -944,6 +937,13 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
944
937
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
945
938
|
isError: Type$2.TLiteral<true>;
|
|
946
939
|
}>;
|
|
940
|
+
status: Type$2.TLiteral<"aborted">;
|
|
941
|
+
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
942
|
+
time: Type$2.TObject<{
|
|
943
|
+
start: Type$2.TNumber;
|
|
944
|
+
end: Type$2.TNumber;
|
|
945
|
+
}>;
|
|
946
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
947
947
|
}>]>]>]>>;
|
|
948
948
|
responseId: Type$2.TOptional<Type$2.TString>;
|
|
949
949
|
responseModel: Type$2.TOptional<Type$2.TString>;
|
|
@@ -955,7 +955,7 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
955
955
|
content: Type$2.TString;
|
|
956
956
|
partial: Type$2.TObject<{
|
|
957
957
|
role: Type$2.TLiteral<"assistant">;
|
|
958
|
-
protocol: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
958
|
+
protocol: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"github-copilot">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
959
959
|
provider: Type$2.TObject<{
|
|
960
960
|
id: Type$2.TString;
|
|
961
961
|
name: Type$2.TString;
|
|
@@ -1121,18 +1121,11 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
1121
1121
|
}>, Type$2.TObject<{
|
|
1122
1122
|
status: Type$2.TLiteral<"pending">;
|
|
1123
1123
|
}>]>, Type$2.TObject<{
|
|
1124
|
-
|
|
1124
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
1125
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
1125
1126
|
callID: Type$2.TString;
|
|
1126
1127
|
name: Type$2.TString;
|
|
1127
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
1128
|
-
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
1129
1128
|
namespace: Type$2.TOptional<Type$2.TString>;
|
|
1130
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
1131
|
-
time: Type$2.TObject<{
|
|
1132
|
-
start: Type$2.TNumber;
|
|
1133
|
-
end: Type$2.TNumber;
|
|
1134
|
-
}>;
|
|
1135
|
-
status: Type$2.TLiteral<"running">;
|
|
1136
1129
|
partial: Type$2.TOptional<Type$2.TObject<{
|
|
1137
1130
|
content: Type$2.TOptional<Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
1138
1131
|
type: Type$2.TLiteral<"text">;
|
|
@@ -1145,19 +1138,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
1145
1138
|
}>]>>>;
|
|
1146
1139
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
1147
1140
|
}>>;
|
|
1148
|
-
|
|
1149
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
1150
|
-
callID: Type$2.TString;
|
|
1151
|
-
name: Type$2.TString;
|
|
1152
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
1141
|
+
status: Type$2.TLiteral<"running">;
|
|
1153
1142
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
1154
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
1155
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
1156
1143
|
time: Type$2.TObject<{
|
|
1157
1144
|
start: Type$2.TNumber;
|
|
1158
1145
|
end: Type$2.TNumber;
|
|
1159
1146
|
}>;
|
|
1160
|
-
|
|
1147
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
1148
|
+
}>, Type$2.TUnion<[Type$2.TObject<{
|
|
1149
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
1150
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
1151
|
+
callID: Type$2.TString;
|
|
1152
|
+
name: Type$2.TString;
|
|
1153
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
1161
1154
|
result: Type$2.TObject<{
|
|
1162
1155
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
1163
1156
|
type: Type$2.TLiteral<"text">;
|
|
@@ -1171,19 +1164,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
1171
1164
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
1172
1165
|
isError: Type$2.TLiteral<false>;
|
|
1173
1166
|
}>;
|
|
1174
|
-
|
|
1175
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
1176
|
-
callID: Type$2.TString;
|
|
1177
|
-
name: Type$2.TString;
|
|
1178
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
1167
|
+
status: Type$2.TLiteral<"completed">;
|
|
1179
1168
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
1180
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
1181
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
1182
1169
|
time: Type$2.TObject<{
|
|
1183
1170
|
start: Type$2.TNumber;
|
|
1184
1171
|
end: Type$2.TNumber;
|
|
1185
1172
|
}>;
|
|
1186
|
-
|
|
1173
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
1174
|
+
}>, Type$2.TObject<{
|
|
1175
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
1176
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
1177
|
+
callID: Type$2.TString;
|
|
1178
|
+
name: Type$2.TString;
|
|
1179
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
1187
1180
|
result: Type$2.TObject<{
|
|
1188
1181
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
1189
1182
|
type: Type$2.TLiteral<"text">;
|
|
@@ -1197,19 +1190,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
1197
1190
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
1198
1191
|
isError: Type$2.TLiteral<true>;
|
|
1199
1192
|
}>;
|
|
1200
|
-
|
|
1201
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
1202
|
-
callID: Type$2.TString;
|
|
1203
|
-
name: Type$2.TString;
|
|
1204
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
1193
|
+
status: Type$2.TLiteral<"error">;
|
|
1205
1194
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
1206
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
1207
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
1208
1195
|
time: Type$2.TObject<{
|
|
1209
1196
|
start: Type$2.TNumber;
|
|
1210
1197
|
end: Type$2.TNumber;
|
|
1211
1198
|
}>;
|
|
1212
|
-
|
|
1199
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
1200
|
+
}>, Type$2.TObject<{
|
|
1201
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
1202
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
1203
|
+
callID: Type$2.TString;
|
|
1204
|
+
name: Type$2.TString;
|
|
1205
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
1213
1206
|
result: Type$2.TObject<{
|
|
1214
1207
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
1215
1208
|
type: Type$2.TLiteral<"text">;
|
|
@@ -1223,19 +1216,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
1223
1216
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
1224
1217
|
isError: Type$2.TLiteral<true>;
|
|
1225
1218
|
}>;
|
|
1226
|
-
|
|
1227
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
1228
|
-
callID: Type$2.TString;
|
|
1229
|
-
name: Type$2.TString;
|
|
1230
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
1219
|
+
status: Type$2.TLiteral<"skipped">;
|
|
1231
1220
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
1232
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
1233
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
1234
1221
|
time: Type$2.TObject<{
|
|
1235
1222
|
start: Type$2.TNumber;
|
|
1236
1223
|
end: Type$2.TNumber;
|
|
1237
1224
|
}>;
|
|
1238
|
-
|
|
1225
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
1226
|
+
}>, Type$2.TObject<{
|
|
1227
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
1228
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
1229
|
+
callID: Type$2.TString;
|
|
1230
|
+
name: Type$2.TString;
|
|
1231
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
1239
1232
|
result: Type$2.TObject<{
|
|
1240
1233
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
1241
1234
|
type: Type$2.TLiteral<"text">;
|
|
@@ -1249,6 +1242,13 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
1249
1242
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
1250
1243
|
isError: Type$2.TLiteral<true>;
|
|
1251
1244
|
}>;
|
|
1245
|
+
status: Type$2.TLiteral<"aborted">;
|
|
1246
|
+
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
1247
|
+
time: Type$2.TObject<{
|
|
1248
|
+
start: Type$2.TNumber;
|
|
1249
|
+
end: Type$2.TNumber;
|
|
1250
|
+
}>;
|
|
1251
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
1252
1252
|
}>]>]>]>>;
|
|
1253
1253
|
responseId: Type$2.TOptional<Type$2.TString>;
|
|
1254
1254
|
responseModel: Type$2.TOptional<Type$2.TString>;
|
|
@@ -1259,7 +1259,7 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
1259
1259
|
partIndex: Type$2.TNumber;
|
|
1260
1260
|
partial: Type$2.TObject<{
|
|
1261
1261
|
role: Type$2.TLiteral<"assistant">;
|
|
1262
|
-
protocol: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
1262
|
+
protocol: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"github-copilot">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
1263
1263
|
provider: Type$2.TObject<{
|
|
1264
1264
|
id: Type$2.TString;
|
|
1265
1265
|
name: Type$2.TString;
|
|
@@ -1425,18 +1425,11 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
1425
1425
|
}>, Type$2.TObject<{
|
|
1426
1426
|
status: Type$2.TLiteral<"pending">;
|
|
1427
1427
|
}>]>, Type$2.TObject<{
|
|
1428
|
-
|
|
1428
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
1429
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
1429
1430
|
callID: Type$2.TString;
|
|
1430
1431
|
name: Type$2.TString;
|
|
1431
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
1432
|
-
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
1433
1432
|
namespace: Type$2.TOptional<Type$2.TString>;
|
|
1434
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
1435
|
-
time: Type$2.TObject<{
|
|
1436
|
-
start: Type$2.TNumber;
|
|
1437
|
-
end: Type$2.TNumber;
|
|
1438
|
-
}>;
|
|
1439
|
-
status: Type$2.TLiteral<"running">;
|
|
1440
1433
|
partial: Type$2.TOptional<Type$2.TObject<{
|
|
1441
1434
|
content: Type$2.TOptional<Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
1442
1435
|
type: Type$2.TLiteral<"text">;
|
|
@@ -1449,19 +1442,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
1449
1442
|
}>]>>>;
|
|
1450
1443
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
1451
1444
|
}>>;
|
|
1452
|
-
|
|
1453
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
1454
|
-
callID: Type$2.TString;
|
|
1455
|
-
name: Type$2.TString;
|
|
1456
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
1445
|
+
status: Type$2.TLiteral<"running">;
|
|
1457
1446
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
1458
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
1459
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
1460
1447
|
time: Type$2.TObject<{
|
|
1461
1448
|
start: Type$2.TNumber;
|
|
1462
1449
|
end: Type$2.TNumber;
|
|
1463
1450
|
}>;
|
|
1464
|
-
|
|
1451
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
1452
|
+
}>, Type$2.TUnion<[Type$2.TObject<{
|
|
1453
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
1454
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
1455
|
+
callID: Type$2.TString;
|
|
1456
|
+
name: Type$2.TString;
|
|
1457
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
1465
1458
|
result: Type$2.TObject<{
|
|
1466
1459
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
1467
1460
|
type: Type$2.TLiteral<"text">;
|
|
@@ -1475,19 +1468,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
1475
1468
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
1476
1469
|
isError: Type$2.TLiteral<false>;
|
|
1477
1470
|
}>;
|
|
1478
|
-
|
|
1479
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
1480
|
-
callID: Type$2.TString;
|
|
1481
|
-
name: Type$2.TString;
|
|
1482
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
1471
|
+
status: Type$2.TLiteral<"completed">;
|
|
1483
1472
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
1484
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
1485
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
1486
1473
|
time: Type$2.TObject<{
|
|
1487
1474
|
start: Type$2.TNumber;
|
|
1488
1475
|
end: Type$2.TNumber;
|
|
1489
1476
|
}>;
|
|
1490
|
-
|
|
1477
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
1478
|
+
}>, Type$2.TObject<{
|
|
1479
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
1480
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
1481
|
+
callID: Type$2.TString;
|
|
1482
|
+
name: Type$2.TString;
|
|
1483
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
1491
1484
|
result: Type$2.TObject<{
|
|
1492
1485
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
1493
1486
|
type: Type$2.TLiteral<"text">;
|
|
@@ -1501,19 +1494,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
1501
1494
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
1502
1495
|
isError: Type$2.TLiteral<true>;
|
|
1503
1496
|
}>;
|
|
1504
|
-
|
|
1505
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
1506
|
-
callID: Type$2.TString;
|
|
1507
|
-
name: Type$2.TString;
|
|
1508
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
1497
|
+
status: Type$2.TLiteral<"error">;
|
|
1509
1498
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
1510
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
1511
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
1512
1499
|
time: Type$2.TObject<{
|
|
1513
1500
|
start: Type$2.TNumber;
|
|
1514
1501
|
end: Type$2.TNumber;
|
|
1515
1502
|
}>;
|
|
1516
|
-
|
|
1503
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
1504
|
+
}>, Type$2.TObject<{
|
|
1505
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
1506
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
1507
|
+
callID: Type$2.TString;
|
|
1508
|
+
name: Type$2.TString;
|
|
1509
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
1517
1510
|
result: Type$2.TObject<{
|
|
1518
1511
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
1519
1512
|
type: Type$2.TLiteral<"text">;
|
|
@@ -1527,19 +1520,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
1527
1520
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
1528
1521
|
isError: Type$2.TLiteral<true>;
|
|
1529
1522
|
}>;
|
|
1530
|
-
|
|
1531
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
1532
|
-
callID: Type$2.TString;
|
|
1533
|
-
name: Type$2.TString;
|
|
1534
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
1523
|
+
status: Type$2.TLiteral<"skipped">;
|
|
1535
1524
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
1536
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
1537
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
1538
1525
|
time: Type$2.TObject<{
|
|
1539
1526
|
start: Type$2.TNumber;
|
|
1540
1527
|
end: Type$2.TNumber;
|
|
1541
1528
|
}>;
|
|
1542
|
-
|
|
1529
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
1530
|
+
}>, Type$2.TObject<{
|
|
1531
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
1532
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
1533
|
+
callID: Type$2.TString;
|
|
1534
|
+
name: Type$2.TString;
|
|
1535
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
1543
1536
|
result: Type$2.TObject<{
|
|
1544
1537
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
1545
1538
|
type: Type$2.TLiteral<"text">;
|
|
@@ -1553,6 +1546,13 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
1553
1546
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
1554
1547
|
isError: Type$2.TLiteral<true>;
|
|
1555
1548
|
}>;
|
|
1549
|
+
status: Type$2.TLiteral<"aborted">;
|
|
1550
|
+
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
1551
|
+
time: Type$2.TObject<{
|
|
1552
|
+
start: Type$2.TNumber;
|
|
1553
|
+
end: Type$2.TNumber;
|
|
1554
|
+
}>;
|
|
1555
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
1556
1556
|
}>]>]>]>>;
|
|
1557
1557
|
responseId: Type$2.TOptional<Type$2.TString>;
|
|
1558
1558
|
responseModel: Type$2.TOptional<Type$2.TString>;
|
|
@@ -1564,7 +1564,7 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
1564
1564
|
delta: Type$2.TString;
|
|
1565
1565
|
partial: Type$2.TObject<{
|
|
1566
1566
|
role: Type$2.TLiteral<"assistant">;
|
|
1567
|
-
protocol: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
1567
|
+
protocol: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"github-copilot">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
1568
1568
|
provider: Type$2.TObject<{
|
|
1569
1569
|
id: Type$2.TString;
|
|
1570
1570
|
name: Type$2.TString;
|
|
@@ -1730,18 +1730,11 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
1730
1730
|
}>, Type$2.TObject<{
|
|
1731
1731
|
status: Type$2.TLiteral<"pending">;
|
|
1732
1732
|
}>]>, Type$2.TObject<{
|
|
1733
|
-
|
|
1733
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
1734
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
1734
1735
|
callID: Type$2.TString;
|
|
1735
1736
|
name: Type$2.TString;
|
|
1736
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
1737
|
-
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
1738
1737
|
namespace: Type$2.TOptional<Type$2.TString>;
|
|
1739
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
1740
|
-
time: Type$2.TObject<{
|
|
1741
|
-
start: Type$2.TNumber;
|
|
1742
|
-
end: Type$2.TNumber;
|
|
1743
|
-
}>;
|
|
1744
|
-
status: Type$2.TLiteral<"running">;
|
|
1745
1738
|
partial: Type$2.TOptional<Type$2.TObject<{
|
|
1746
1739
|
content: Type$2.TOptional<Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
1747
1740
|
type: Type$2.TLiteral<"text">;
|
|
@@ -1754,19 +1747,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
1754
1747
|
}>]>>>;
|
|
1755
1748
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
1756
1749
|
}>>;
|
|
1757
|
-
|
|
1758
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
1759
|
-
callID: Type$2.TString;
|
|
1760
|
-
name: Type$2.TString;
|
|
1761
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
1750
|
+
status: Type$2.TLiteral<"running">;
|
|
1762
1751
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
1763
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
1764
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
1765
1752
|
time: Type$2.TObject<{
|
|
1766
1753
|
start: Type$2.TNumber;
|
|
1767
1754
|
end: Type$2.TNumber;
|
|
1768
1755
|
}>;
|
|
1769
|
-
|
|
1756
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
1757
|
+
}>, Type$2.TUnion<[Type$2.TObject<{
|
|
1758
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
1759
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
1760
|
+
callID: Type$2.TString;
|
|
1761
|
+
name: Type$2.TString;
|
|
1762
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
1770
1763
|
result: Type$2.TObject<{
|
|
1771
1764
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
1772
1765
|
type: Type$2.TLiteral<"text">;
|
|
@@ -1780,19 +1773,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
1780
1773
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
1781
1774
|
isError: Type$2.TLiteral<false>;
|
|
1782
1775
|
}>;
|
|
1783
|
-
|
|
1784
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
1785
|
-
callID: Type$2.TString;
|
|
1786
|
-
name: Type$2.TString;
|
|
1787
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
1776
|
+
status: Type$2.TLiteral<"completed">;
|
|
1788
1777
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
1789
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
1790
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
1791
1778
|
time: Type$2.TObject<{
|
|
1792
1779
|
start: Type$2.TNumber;
|
|
1793
1780
|
end: Type$2.TNumber;
|
|
1794
1781
|
}>;
|
|
1795
|
-
|
|
1782
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
1783
|
+
}>, Type$2.TObject<{
|
|
1784
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
1785
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
1786
|
+
callID: Type$2.TString;
|
|
1787
|
+
name: Type$2.TString;
|
|
1788
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
1796
1789
|
result: Type$2.TObject<{
|
|
1797
1790
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
1798
1791
|
type: Type$2.TLiteral<"text">;
|
|
@@ -1806,19 +1799,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
1806
1799
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
1807
1800
|
isError: Type$2.TLiteral<true>;
|
|
1808
1801
|
}>;
|
|
1809
|
-
|
|
1810
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
1811
|
-
callID: Type$2.TString;
|
|
1812
|
-
name: Type$2.TString;
|
|
1813
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
1802
|
+
status: Type$2.TLiteral<"error">;
|
|
1814
1803
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
1815
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
1816
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
1817
1804
|
time: Type$2.TObject<{
|
|
1818
1805
|
start: Type$2.TNumber;
|
|
1819
1806
|
end: Type$2.TNumber;
|
|
1820
1807
|
}>;
|
|
1821
|
-
|
|
1808
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
1809
|
+
}>, Type$2.TObject<{
|
|
1810
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
1811
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
1812
|
+
callID: Type$2.TString;
|
|
1813
|
+
name: Type$2.TString;
|
|
1814
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
1822
1815
|
result: Type$2.TObject<{
|
|
1823
1816
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
1824
1817
|
type: Type$2.TLiteral<"text">;
|
|
@@ -1832,19 +1825,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
1832
1825
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
1833
1826
|
isError: Type$2.TLiteral<true>;
|
|
1834
1827
|
}>;
|
|
1835
|
-
|
|
1836
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
1837
|
-
callID: Type$2.TString;
|
|
1838
|
-
name: Type$2.TString;
|
|
1839
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
1828
|
+
status: Type$2.TLiteral<"skipped">;
|
|
1840
1829
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
1841
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
1842
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
1843
1830
|
time: Type$2.TObject<{
|
|
1844
1831
|
start: Type$2.TNumber;
|
|
1845
1832
|
end: Type$2.TNumber;
|
|
1846
1833
|
}>;
|
|
1847
|
-
|
|
1834
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
1835
|
+
}>, Type$2.TObject<{
|
|
1836
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
1837
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
1838
|
+
callID: Type$2.TString;
|
|
1839
|
+
name: Type$2.TString;
|
|
1840
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
1848
1841
|
result: Type$2.TObject<{
|
|
1849
1842
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
1850
1843
|
type: Type$2.TLiteral<"text">;
|
|
@@ -1858,6 +1851,13 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
1858
1851
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
1859
1852
|
isError: Type$2.TLiteral<true>;
|
|
1860
1853
|
}>;
|
|
1854
|
+
status: Type$2.TLiteral<"aborted">;
|
|
1855
|
+
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
1856
|
+
time: Type$2.TObject<{
|
|
1857
|
+
start: Type$2.TNumber;
|
|
1858
|
+
end: Type$2.TNumber;
|
|
1859
|
+
}>;
|
|
1860
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
1861
1861
|
}>]>]>]>>;
|
|
1862
1862
|
responseId: Type$2.TOptional<Type$2.TString>;
|
|
1863
1863
|
responseModel: Type$2.TOptional<Type$2.TString>;
|
|
@@ -1869,7 +1869,7 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
1869
1869
|
content: Type$2.TString;
|
|
1870
1870
|
partial: Type$2.TObject<{
|
|
1871
1871
|
role: Type$2.TLiteral<"assistant">;
|
|
1872
|
-
protocol: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
1872
|
+
protocol: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"github-copilot">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
1873
1873
|
provider: Type$2.TObject<{
|
|
1874
1874
|
id: Type$2.TString;
|
|
1875
1875
|
name: Type$2.TString;
|
|
@@ -2035,18 +2035,11 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
2035
2035
|
}>, Type$2.TObject<{
|
|
2036
2036
|
status: Type$2.TLiteral<"pending">;
|
|
2037
2037
|
}>]>, Type$2.TObject<{
|
|
2038
|
-
|
|
2038
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
2039
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
2039
2040
|
callID: Type$2.TString;
|
|
2040
2041
|
name: Type$2.TString;
|
|
2041
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
2042
|
-
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
2043
2042
|
namespace: Type$2.TOptional<Type$2.TString>;
|
|
2044
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
2045
|
-
time: Type$2.TObject<{
|
|
2046
|
-
start: Type$2.TNumber;
|
|
2047
|
-
end: Type$2.TNumber;
|
|
2048
|
-
}>;
|
|
2049
|
-
status: Type$2.TLiteral<"running">;
|
|
2050
2043
|
partial: Type$2.TOptional<Type$2.TObject<{
|
|
2051
2044
|
content: Type$2.TOptional<Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
2052
2045
|
type: Type$2.TLiteral<"text">;
|
|
@@ -2059,19 +2052,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
2059
2052
|
}>]>>>;
|
|
2060
2053
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
2061
2054
|
}>>;
|
|
2062
|
-
|
|
2063
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
2064
|
-
callID: Type$2.TString;
|
|
2065
|
-
name: Type$2.TString;
|
|
2066
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
2055
|
+
status: Type$2.TLiteral<"running">;
|
|
2067
2056
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
2068
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
2069
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
2070
2057
|
time: Type$2.TObject<{
|
|
2071
2058
|
start: Type$2.TNumber;
|
|
2072
2059
|
end: Type$2.TNumber;
|
|
2073
2060
|
}>;
|
|
2074
|
-
|
|
2061
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
2062
|
+
}>, Type$2.TUnion<[Type$2.TObject<{
|
|
2063
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
2064
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
2065
|
+
callID: Type$2.TString;
|
|
2066
|
+
name: Type$2.TString;
|
|
2067
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
2075
2068
|
result: Type$2.TObject<{
|
|
2076
2069
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
2077
2070
|
type: Type$2.TLiteral<"text">;
|
|
@@ -2085,19 +2078,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
2085
2078
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
2086
2079
|
isError: Type$2.TLiteral<false>;
|
|
2087
2080
|
}>;
|
|
2088
|
-
|
|
2089
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
2090
|
-
callID: Type$2.TString;
|
|
2091
|
-
name: Type$2.TString;
|
|
2092
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
2081
|
+
status: Type$2.TLiteral<"completed">;
|
|
2093
2082
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
2094
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
2095
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
2096
2083
|
time: Type$2.TObject<{
|
|
2097
2084
|
start: Type$2.TNumber;
|
|
2098
2085
|
end: Type$2.TNumber;
|
|
2099
2086
|
}>;
|
|
2100
|
-
|
|
2087
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
2088
|
+
}>, Type$2.TObject<{
|
|
2089
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
2090
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
2091
|
+
callID: Type$2.TString;
|
|
2092
|
+
name: Type$2.TString;
|
|
2093
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
2101
2094
|
result: Type$2.TObject<{
|
|
2102
2095
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
2103
2096
|
type: Type$2.TLiteral<"text">;
|
|
@@ -2111,19 +2104,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
2111
2104
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
2112
2105
|
isError: Type$2.TLiteral<true>;
|
|
2113
2106
|
}>;
|
|
2114
|
-
|
|
2115
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
2116
|
-
callID: Type$2.TString;
|
|
2117
|
-
name: Type$2.TString;
|
|
2118
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
2107
|
+
status: Type$2.TLiteral<"error">;
|
|
2119
2108
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
2120
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
2121
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
2122
2109
|
time: Type$2.TObject<{
|
|
2123
2110
|
start: Type$2.TNumber;
|
|
2124
2111
|
end: Type$2.TNumber;
|
|
2125
2112
|
}>;
|
|
2126
|
-
|
|
2113
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
2114
|
+
}>, Type$2.TObject<{
|
|
2115
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
2116
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
2117
|
+
callID: Type$2.TString;
|
|
2118
|
+
name: Type$2.TString;
|
|
2119
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
2127
2120
|
result: Type$2.TObject<{
|
|
2128
2121
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
2129
2122
|
type: Type$2.TLiteral<"text">;
|
|
@@ -2137,19 +2130,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
2137
2130
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
2138
2131
|
isError: Type$2.TLiteral<true>;
|
|
2139
2132
|
}>;
|
|
2140
|
-
|
|
2141
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
2142
|
-
callID: Type$2.TString;
|
|
2143
|
-
name: Type$2.TString;
|
|
2144
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
2133
|
+
status: Type$2.TLiteral<"skipped">;
|
|
2145
2134
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
2146
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
2147
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
2148
2135
|
time: Type$2.TObject<{
|
|
2149
2136
|
start: Type$2.TNumber;
|
|
2150
2137
|
end: Type$2.TNumber;
|
|
2151
2138
|
}>;
|
|
2152
|
-
|
|
2139
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
2140
|
+
}>, Type$2.TObject<{
|
|
2141
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
2142
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
2143
|
+
callID: Type$2.TString;
|
|
2144
|
+
name: Type$2.TString;
|
|
2145
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
2153
2146
|
result: Type$2.TObject<{
|
|
2154
2147
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
2155
2148
|
type: Type$2.TLiteral<"text">;
|
|
@@ -2163,6 +2156,13 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
2163
2156
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
2164
2157
|
isError: Type$2.TLiteral<true>;
|
|
2165
2158
|
}>;
|
|
2159
|
+
status: Type$2.TLiteral<"aborted">;
|
|
2160
|
+
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
2161
|
+
time: Type$2.TObject<{
|
|
2162
|
+
start: Type$2.TNumber;
|
|
2163
|
+
end: Type$2.TNumber;
|
|
2164
|
+
}>;
|
|
2165
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
2166
2166
|
}>]>]>]>>;
|
|
2167
2167
|
responseId: Type$2.TOptional<Type$2.TString>;
|
|
2168
2168
|
responseModel: Type$2.TOptional<Type$2.TString>;
|
|
@@ -2173,7 +2173,7 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
2173
2173
|
partIndex: Type$2.TNumber;
|
|
2174
2174
|
partial: Type$2.TObject<{
|
|
2175
2175
|
role: Type$2.TLiteral<"assistant">;
|
|
2176
|
-
protocol: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
2176
|
+
protocol: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"github-copilot">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
2177
2177
|
provider: Type$2.TObject<{
|
|
2178
2178
|
id: Type$2.TString;
|
|
2179
2179
|
name: Type$2.TString;
|
|
@@ -2339,18 +2339,11 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
2339
2339
|
}>, Type$2.TObject<{
|
|
2340
2340
|
status: Type$2.TLiteral<"pending">;
|
|
2341
2341
|
}>]>, Type$2.TObject<{
|
|
2342
|
-
|
|
2342
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
2343
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
2343
2344
|
callID: Type$2.TString;
|
|
2344
2345
|
name: Type$2.TString;
|
|
2345
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
2346
|
-
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
2347
2346
|
namespace: Type$2.TOptional<Type$2.TString>;
|
|
2348
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
2349
|
-
time: Type$2.TObject<{
|
|
2350
|
-
start: Type$2.TNumber;
|
|
2351
|
-
end: Type$2.TNumber;
|
|
2352
|
-
}>;
|
|
2353
|
-
status: Type$2.TLiteral<"running">;
|
|
2354
2347
|
partial: Type$2.TOptional<Type$2.TObject<{
|
|
2355
2348
|
content: Type$2.TOptional<Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
2356
2349
|
type: Type$2.TLiteral<"text">;
|
|
@@ -2363,19 +2356,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
2363
2356
|
}>]>>>;
|
|
2364
2357
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
2365
2358
|
}>>;
|
|
2366
|
-
|
|
2367
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
2368
|
-
callID: Type$2.TString;
|
|
2369
|
-
name: Type$2.TString;
|
|
2370
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
2359
|
+
status: Type$2.TLiteral<"running">;
|
|
2371
2360
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
2372
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
2373
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
2374
2361
|
time: Type$2.TObject<{
|
|
2375
2362
|
start: Type$2.TNumber;
|
|
2376
2363
|
end: Type$2.TNumber;
|
|
2377
2364
|
}>;
|
|
2378
|
-
|
|
2365
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
2366
|
+
}>, Type$2.TUnion<[Type$2.TObject<{
|
|
2367
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
2368
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
2369
|
+
callID: Type$2.TString;
|
|
2370
|
+
name: Type$2.TString;
|
|
2371
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
2379
2372
|
result: Type$2.TObject<{
|
|
2380
2373
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
2381
2374
|
type: Type$2.TLiteral<"text">;
|
|
@@ -2389,19 +2382,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
2389
2382
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
2390
2383
|
isError: Type$2.TLiteral<false>;
|
|
2391
2384
|
}>;
|
|
2392
|
-
|
|
2393
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
2394
|
-
callID: Type$2.TString;
|
|
2395
|
-
name: Type$2.TString;
|
|
2396
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
2385
|
+
status: Type$2.TLiteral<"completed">;
|
|
2397
2386
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
2398
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
2399
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
2400
2387
|
time: Type$2.TObject<{
|
|
2401
2388
|
start: Type$2.TNumber;
|
|
2402
2389
|
end: Type$2.TNumber;
|
|
2403
2390
|
}>;
|
|
2404
|
-
|
|
2391
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
2392
|
+
}>, Type$2.TObject<{
|
|
2393
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
2394
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
2395
|
+
callID: Type$2.TString;
|
|
2396
|
+
name: Type$2.TString;
|
|
2397
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
2405
2398
|
result: Type$2.TObject<{
|
|
2406
2399
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
2407
2400
|
type: Type$2.TLiteral<"text">;
|
|
@@ -2415,19 +2408,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
2415
2408
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
2416
2409
|
isError: Type$2.TLiteral<true>;
|
|
2417
2410
|
}>;
|
|
2418
|
-
|
|
2419
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
2420
|
-
callID: Type$2.TString;
|
|
2421
|
-
name: Type$2.TString;
|
|
2422
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
2411
|
+
status: Type$2.TLiteral<"error">;
|
|
2423
2412
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
2424
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
2425
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
2426
2413
|
time: Type$2.TObject<{
|
|
2427
2414
|
start: Type$2.TNumber;
|
|
2428
2415
|
end: Type$2.TNumber;
|
|
2429
2416
|
}>;
|
|
2430
|
-
|
|
2417
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
2418
|
+
}>, Type$2.TObject<{
|
|
2419
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
2420
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
2421
|
+
callID: Type$2.TString;
|
|
2422
|
+
name: Type$2.TString;
|
|
2423
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
2431
2424
|
result: Type$2.TObject<{
|
|
2432
2425
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
2433
2426
|
type: Type$2.TLiteral<"text">;
|
|
@@ -2441,19 +2434,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
2441
2434
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
2442
2435
|
isError: Type$2.TLiteral<true>;
|
|
2443
2436
|
}>;
|
|
2444
|
-
|
|
2445
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
2446
|
-
callID: Type$2.TString;
|
|
2447
|
-
name: Type$2.TString;
|
|
2448
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
2437
|
+
status: Type$2.TLiteral<"skipped">;
|
|
2449
2438
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
2450
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
2451
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
2452
2439
|
time: Type$2.TObject<{
|
|
2453
2440
|
start: Type$2.TNumber;
|
|
2454
2441
|
end: Type$2.TNumber;
|
|
2455
2442
|
}>;
|
|
2456
|
-
|
|
2443
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
2444
|
+
}>, Type$2.TObject<{
|
|
2445
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
2446
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
2447
|
+
callID: Type$2.TString;
|
|
2448
|
+
name: Type$2.TString;
|
|
2449
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
2457
2450
|
result: Type$2.TObject<{
|
|
2458
2451
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
2459
2452
|
type: Type$2.TLiteral<"text">;
|
|
@@ -2467,6 +2460,13 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
2467
2460
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
2468
2461
|
isError: Type$2.TLiteral<true>;
|
|
2469
2462
|
}>;
|
|
2463
|
+
status: Type$2.TLiteral<"aborted">;
|
|
2464
|
+
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
2465
|
+
time: Type$2.TObject<{
|
|
2466
|
+
start: Type$2.TNumber;
|
|
2467
|
+
end: Type$2.TNumber;
|
|
2468
|
+
}>;
|
|
2469
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
2470
2470
|
}>]>]>]>>;
|
|
2471
2471
|
responseId: Type$2.TOptional<Type$2.TString>;
|
|
2472
2472
|
responseModel: Type$2.TOptional<Type$2.TString>;
|
|
@@ -2478,7 +2478,7 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
2478
2478
|
delta: Type$2.TString;
|
|
2479
2479
|
partial: Type$2.TObject<{
|
|
2480
2480
|
role: Type$2.TLiteral<"assistant">;
|
|
2481
|
-
protocol: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
2481
|
+
protocol: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"github-copilot">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
2482
2482
|
provider: Type$2.TObject<{
|
|
2483
2483
|
id: Type$2.TString;
|
|
2484
2484
|
name: Type$2.TString;
|
|
@@ -2644,18 +2644,11 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
2644
2644
|
}>, Type$2.TObject<{
|
|
2645
2645
|
status: Type$2.TLiteral<"pending">;
|
|
2646
2646
|
}>]>, Type$2.TObject<{
|
|
2647
|
-
|
|
2647
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
2648
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
2648
2649
|
callID: Type$2.TString;
|
|
2649
2650
|
name: Type$2.TString;
|
|
2650
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
2651
|
-
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
2652
2651
|
namespace: Type$2.TOptional<Type$2.TString>;
|
|
2653
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
2654
|
-
time: Type$2.TObject<{
|
|
2655
|
-
start: Type$2.TNumber;
|
|
2656
|
-
end: Type$2.TNumber;
|
|
2657
|
-
}>;
|
|
2658
|
-
status: Type$2.TLiteral<"running">;
|
|
2659
2652
|
partial: Type$2.TOptional<Type$2.TObject<{
|
|
2660
2653
|
content: Type$2.TOptional<Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
2661
2654
|
type: Type$2.TLiteral<"text">;
|
|
@@ -2668,19 +2661,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
2668
2661
|
}>]>>>;
|
|
2669
2662
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
2670
2663
|
}>>;
|
|
2671
|
-
|
|
2672
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
2673
|
-
callID: Type$2.TString;
|
|
2674
|
-
name: Type$2.TString;
|
|
2675
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
2664
|
+
status: Type$2.TLiteral<"running">;
|
|
2676
2665
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
2677
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
2678
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
2679
2666
|
time: Type$2.TObject<{
|
|
2680
2667
|
start: Type$2.TNumber;
|
|
2681
2668
|
end: Type$2.TNumber;
|
|
2682
2669
|
}>;
|
|
2683
|
-
|
|
2670
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
2671
|
+
}>, Type$2.TUnion<[Type$2.TObject<{
|
|
2672
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
2673
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
2674
|
+
callID: Type$2.TString;
|
|
2675
|
+
name: Type$2.TString;
|
|
2676
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
2684
2677
|
result: Type$2.TObject<{
|
|
2685
2678
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
2686
2679
|
type: Type$2.TLiteral<"text">;
|
|
@@ -2694,19 +2687,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
2694
2687
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
2695
2688
|
isError: Type$2.TLiteral<false>;
|
|
2696
2689
|
}>;
|
|
2697
|
-
|
|
2698
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
2699
|
-
callID: Type$2.TString;
|
|
2700
|
-
name: Type$2.TString;
|
|
2701
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
2690
|
+
status: Type$2.TLiteral<"completed">;
|
|
2702
2691
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
2703
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
2704
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
2705
2692
|
time: Type$2.TObject<{
|
|
2706
2693
|
start: Type$2.TNumber;
|
|
2707
2694
|
end: Type$2.TNumber;
|
|
2708
2695
|
}>;
|
|
2709
|
-
|
|
2696
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
2697
|
+
}>, Type$2.TObject<{
|
|
2698
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
2699
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
2700
|
+
callID: Type$2.TString;
|
|
2701
|
+
name: Type$2.TString;
|
|
2702
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
2710
2703
|
result: Type$2.TObject<{
|
|
2711
2704
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
2712
2705
|
type: Type$2.TLiteral<"text">;
|
|
@@ -2720,19 +2713,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
2720
2713
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
2721
2714
|
isError: Type$2.TLiteral<true>;
|
|
2722
2715
|
}>;
|
|
2723
|
-
|
|
2724
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
2725
|
-
callID: Type$2.TString;
|
|
2726
|
-
name: Type$2.TString;
|
|
2727
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
2716
|
+
status: Type$2.TLiteral<"error">;
|
|
2728
2717
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
2729
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
2730
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
2731
2718
|
time: Type$2.TObject<{
|
|
2732
2719
|
start: Type$2.TNumber;
|
|
2733
2720
|
end: Type$2.TNumber;
|
|
2734
2721
|
}>;
|
|
2735
|
-
|
|
2722
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
2723
|
+
}>, Type$2.TObject<{
|
|
2724
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
2725
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
2726
|
+
callID: Type$2.TString;
|
|
2727
|
+
name: Type$2.TString;
|
|
2728
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
2736
2729
|
result: Type$2.TObject<{
|
|
2737
2730
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
2738
2731
|
type: Type$2.TLiteral<"text">;
|
|
@@ -2746,19 +2739,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
2746
2739
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
2747
2740
|
isError: Type$2.TLiteral<true>;
|
|
2748
2741
|
}>;
|
|
2749
|
-
|
|
2750
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
2751
|
-
callID: Type$2.TString;
|
|
2752
|
-
name: Type$2.TString;
|
|
2753
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
2742
|
+
status: Type$2.TLiteral<"skipped">;
|
|
2754
2743
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
2755
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
2756
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
2757
2744
|
time: Type$2.TObject<{
|
|
2758
2745
|
start: Type$2.TNumber;
|
|
2759
2746
|
end: Type$2.TNumber;
|
|
2760
2747
|
}>;
|
|
2761
|
-
|
|
2748
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
2749
|
+
}>, Type$2.TObject<{
|
|
2750
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
2751
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
2752
|
+
callID: Type$2.TString;
|
|
2753
|
+
name: Type$2.TString;
|
|
2754
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
2762
2755
|
result: Type$2.TObject<{
|
|
2763
2756
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
2764
2757
|
type: Type$2.TLiteral<"text">;
|
|
@@ -2772,6 +2765,13 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
2772
2765
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
2773
2766
|
isError: Type$2.TLiteral<true>;
|
|
2774
2767
|
}>;
|
|
2768
|
+
status: Type$2.TLiteral<"aborted">;
|
|
2769
|
+
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
2770
|
+
time: Type$2.TObject<{
|
|
2771
|
+
start: Type$2.TNumber;
|
|
2772
|
+
end: Type$2.TNumber;
|
|
2773
|
+
}>;
|
|
2774
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
2775
2775
|
}>]>]>]>>;
|
|
2776
2776
|
responseId: Type$2.TOptional<Type$2.TString>;
|
|
2777
2777
|
responseModel: Type$2.TOptional<Type$2.TString>;
|
|
@@ -2795,18 +2795,11 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
2795
2795
|
}>, Type$2.TObject<{
|
|
2796
2796
|
status: Type$2.TLiteral<"pending">;
|
|
2797
2797
|
}>]>, Type$2.TObject<{
|
|
2798
|
-
|
|
2798
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
2799
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
2799
2800
|
callID: Type$2.TString;
|
|
2800
2801
|
name: Type$2.TString;
|
|
2801
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
2802
|
-
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
2803
2802
|
namespace: Type$2.TOptional<Type$2.TString>;
|
|
2804
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
2805
|
-
time: Type$2.TObject<{
|
|
2806
|
-
start: Type$2.TNumber;
|
|
2807
|
-
end: Type$2.TNumber;
|
|
2808
|
-
}>;
|
|
2809
|
-
status: Type$2.TLiteral<"running">;
|
|
2810
2803
|
partial: Type$2.TOptional<Type$2.TObject<{
|
|
2811
2804
|
content: Type$2.TOptional<Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
2812
2805
|
type: Type$2.TLiteral<"text">;
|
|
@@ -2819,25 +2812,25 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
2819
2812
|
}>]>>>;
|
|
2820
2813
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
2821
2814
|
}>>;
|
|
2822
|
-
|
|
2823
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
2824
|
-
callID: Type$2.TString;
|
|
2825
|
-
name: Type$2.TString;
|
|
2826
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
2815
|
+
status: Type$2.TLiteral<"running">;
|
|
2827
2816
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
2828
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
2829
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
2830
2817
|
time: Type$2.TObject<{
|
|
2831
2818
|
start: Type$2.TNumber;
|
|
2832
2819
|
end: Type$2.TNumber;
|
|
2833
2820
|
}>;
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2821
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
2822
|
+
}>, Type$2.TUnion<[Type$2.TObject<{
|
|
2823
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
2824
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
2825
|
+
callID: Type$2.TString;
|
|
2826
|
+
name: Type$2.TString;
|
|
2827
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
2828
|
+
result: Type$2.TObject<{
|
|
2829
|
+
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
2830
|
+
type: Type$2.TLiteral<"text">;
|
|
2831
|
+
text: Type$2.TString;
|
|
2832
|
+
textSignature: Type$2.TOptional<Type$2.TString>;
|
|
2833
|
+
}>, Type$2.TObject<{
|
|
2841
2834
|
type: Type$2.TLiteral<"image">;
|
|
2842
2835
|
data: Type$2.TString;
|
|
2843
2836
|
mimeType: Type$2.TString;
|
|
@@ -2845,19 +2838,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
2845
2838
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
2846
2839
|
isError: Type$2.TLiteral<false>;
|
|
2847
2840
|
}>;
|
|
2848
|
-
|
|
2849
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
2850
|
-
callID: Type$2.TString;
|
|
2851
|
-
name: Type$2.TString;
|
|
2852
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
2841
|
+
status: Type$2.TLiteral<"completed">;
|
|
2853
2842
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
2854
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
2855
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
2856
2843
|
time: Type$2.TObject<{
|
|
2857
2844
|
start: Type$2.TNumber;
|
|
2858
2845
|
end: Type$2.TNumber;
|
|
2859
2846
|
}>;
|
|
2860
|
-
|
|
2847
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
2848
|
+
}>, Type$2.TObject<{
|
|
2849
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
2850
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
2851
|
+
callID: Type$2.TString;
|
|
2852
|
+
name: Type$2.TString;
|
|
2853
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
2861
2854
|
result: Type$2.TObject<{
|
|
2862
2855
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
2863
2856
|
type: Type$2.TLiteral<"text">;
|
|
@@ -2871,19 +2864,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
2871
2864
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
2872
2865
|
isError: Type$2.TLiteral<true>;
|
|
2873
2866
|
}>;
|
|
2874
|
-
|
|
2875
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
2876
|
-
callID: Type$2.TString;
|
|
2877
|
-
name: Type$2.TString;
|
|
2878
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
2867
|
+
status: Type$2.TLiteral<"error">;
|
|
2879
2868
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
2880
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
2881
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
2882
2869
|
time: Type$2.TObject<{
|
|
2883
2870
|
start: Type$2.TNumber;
|
|
2884
2871
|
end: Type$2.TNumber;
|
|
2885
2872
|
}>;
|
|
2886
|
-
|
|
2873
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
2874
|
+
}>, Type$2.TObject<{
|
|
2875
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
2876
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
2877
|
+
callID: Type$2.TString;
|
|
2878
|
+
name: Type$2.TString;
|
|
2879
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
2887
2880
|
result: Type$2.TObject<{
|
|
2888
2881
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
2889
2882
|
type: Type$2.TLiteral<"text">;
|
|
@@ -2897,19 +2890,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
2897
2890
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
2898
2891
|
isError: Type$2.TLiteral<true>;
|
|
2899
2892
|
}>;
|
|
2900
|
-
|
|
2901
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
2902
|
-
callID: Type$2.TString;
|
|
2903
|
-
name: Type$2.TString;
|
|
2904
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
2893
|
+
status: Type$2.TLiteral<"skipped">;
|
|
2905
2894
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
2906
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
2907
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
2908
2895
|
time: Type$2.TObject<{
|
|
2909
2896
|
start: Type$2.TNumber;
|
|
2910
2897
|
end: Type$2.TNumber;
|
|
2911
2898
|
}>;
|
|
2912
|
-
|
|
2899
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
2900
|
+
}>, Type$2.TObject<{
|
|
2901
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
2902
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
2903
|
+
callID: Type$2.TString;
|
|
2904
|
+
name: Type$2.TString;
|
|
2905
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
2913
2906
|
result: Type$2.TObject<{
|
|
2914
2907
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
2915
2908
|
type: Type$2.TLiteral<"text">;
|
|
@@ -2923,10 +2916,17 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
2923
2916
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
2924
2917
|
isError: Type$2.TLiteral<true>;
|
|
2925
2918
|
}>;
|
|
2919
|
+
status: Type$2.TLiteral<"aborted">;
|
|
2920
|
+
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
2921
|
+
time: Type$2.TObject<{
|
|
2922
|
+
start: Type$2.TNumber;
|
|
2923
|
+
end: Type$2.TNumber;
|
|
2924
|
+
}>;
|
|
2925
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
2926
2926
|
}>]>]>;
|
|
2927
2927
|
partial: Type$2.TObject<{
|
|
2928
2928
|
role: Type$2.TLiteral<"assistant">;
|
|
2929
|
-
protocol: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
2929
|
+
protocol: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"github-copilot">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
2930
2930
|
provider: Type$2.TObject<{
|
|
2931
2931
|
id: Type$2.TString;
|
|
2932
2932
|
name: Type$2.TString;
|
|
@@ -3092,18 +3092,11 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
3092
3092
|
}>, Type$2.TObject<{
|
|
3093
3093
|
status: Type$2.TLiteral<"pending">;
|
|
3094
3094
|
}>]>, Type$2.TObject<{
|
|
3095
|
-
|
|
3095
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
3096
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
3096
3097
|
callID: Type$2.TString;
|
|
3097
3098
|
name: Type$2.TString;
|
|
3098
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
3099
|
-
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
3100
3099
|
namespace: Type$2.TOptional<Type$2.TString>;
|
|
3101
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
3102
|
-
time: Type$2.TObject<{
|
|
3103
|
-
start: Type$2.TNumber;
|
|
3104
|
-
end: Type$2.TNumber;
|
|
3105
|
-
}>;
|
|
3106
|
-
status: Type$2.TLiteral<"running">;
|
|
3107
3100
|
partial: Type$2.TOptional<Type$2.TObject<{
|
|
3108
3101
|
content: Type$2.TOptional<Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
3109
3102
|
type: Type$2.TLiteral<"text">;
|
|
@@ -3116,19 +3109,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
3116
3109
|
}>]>>>;
|
|
3117
3110
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
3118
3111
|
}>>;
|
|
3119
|
-
|
|
3120
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
3121
|
-
callID: Type$2.TString;
|
|
3122
|
-
name: Type$2.TString;
|
|
3123
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
3112
|
+
status: Type$2.TLiteral<"running">;
|
|
3124
3113
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
3125
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
3126
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
3127
3114
|
time: Type$2.TObject<{
|
|
3128
3115
|
start: Type$2.TNumber;
|
|
3129
3116
|
end: Type$2.TNumber;
|
|
3130
3117
|
}>;
|
|
3131
|
-
|
|
3118
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
3119
|
+
}>, Type$2.TUnion<[Type$2.TObject<{
|
|
3120
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
3121
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
3122
|
+
callID: Type$2.TString;
|
|
3123
|
+
name: Type$2.TString;
|
|
3124
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
3132
3125
|
result: Type$2.TObject<{
|
|
3133
3126
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
3134
3127
|
type: Type$2.TLiteral<"text">;
|
|
@@ -3142,19 +3135,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
3142
3135
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
3143
3136
|
isError: Type$2.TLiteral<false>;
|
|
3144
3137
|
}>;
|
|
3145
|
-
|
|
3146
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
3147
|
-
callID: Type$2.TString;
|
|
3148
|
-
name: Type$2.TString;
|
|
3149
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
3138
|
+
status: Type$2.TLiteral<"completed">;
|
|
3150
3139
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
3151
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
3152
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
3153
3140
|
time: Type$2.TObject<{
|
|
3154
3141
|
start: Type$2.TNumber;
|
|
3155
3142
|
end: Type$2.TNumber;
|
|
3156
3143
|
}>;
|
|
3157
|
-
|
|
3144
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
3145
|
+
}>, Type$2.TObject<{
|
|
3146
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
3147
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
3148
|
+
callID: Type$2.TString;
|
|
3149
|
+
name: Type$2.TString;
|
|
3150
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
3158
3151
|
result: Type$2.TObject<{
|
|
3159
3152
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
3160
3153
|
type: Type$2.TLiteral<"text">;
|
|
@@ -3168,19 +3161,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
3168
3161
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
3169
3162
|
isError: Type$2.TLiteral<true>;
|
|
3170
3163
|
}>;
|
|
3171
|
-
|
|
3172
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
3173
|
-
callID: Type$2.TString;
|
|
3174
|
-
name: Type$2.TString;
|
|
3175
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
3164
|
+
status: Type$2.TLiteral<"error">;
|
|
3176
3165
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
3177
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
3178
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
3179
3166
|
time: Type$2.TObject<{
|
|
3180
3167
|
start: Type$2.TNumber;
|
|
3181
3168
|
end: Type$2.TNumber;
|
|
3182
3169
|
}>;
|
|
3183
|
-
|
|
3170
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
3171
|
+
}>, Type$2.TObject<{
|
|
3172
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
3173
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
3174
|
+
callID: Type$2.TString;
|
|
3175
|
+
name: Type$2.TString;
|
|
3176
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
3184
3177
|
result: Type$2.TObject<{
|
|
3185
3178
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
3186
3179
|
type: Type$2.TLiteral<"text">;
|
|
@@ -3194,19 +3187,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
3194
3187
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
3195
3188
|
isError: Type$2.TLiteral<true>;
|
|
3196
3189
|
}>;
|
|
3197
|
-
|
|
3198
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
3199
|
-
callID: Type$2.TString;
|
|
3200
|
-
name: Type$2.TString;
|
|
3201
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
3190
|
+
status: Type$2.TLiteral<"skipped">;
|
|
3202
3191
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
3203
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
3204
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
3205
3192
|
time: Type$2.TObject<{
|
|
3206
3193
|
start: Type$2.TNumber;
|
|
3207
3194
|
end: Type$2.TNumber;
|
|
3208
3195
|
}>;
|
|
3209
|
-
|
|
3196
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
3197
|
+
}>, Type$2.TObject<{
|
|
3198
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
3199
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
3200
|
+
callID: Type$2.TString;
|
|
3201
|
+
name: Type$2.TString;
|
|
3202
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
3210
3203
|
result: Type$2.TObject<{
|
|
3211
3204
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
3212
3205
|
type: Type$2.TLiteral<"text">;
|
|
@@ -3220,6 +3213,13 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
3220
3213
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
3221
3214
|
isError: Type$2.TLiteral<true>;
|
|
3222
3215
|
}>;
|
|
3216
|
+
status: Type$2.TLiteral<"aborted">;
|
|
3217
|
+
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
3218
|
+
time: Type$2.TObject<{
|
|
3219
|
+
start: Type$2.TNumber;
|
|
3220
|
+
end: Type$2.TNumber;
|
|
3221
|
+
}>;
|
|
3222
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
3223
3223
|
}>]>]>]>>;
|
|
3224
3224
|
responseId: Type$2.TOptional<Type$2.TString>;
|
|
3225
3225
|
responseModel: Type$2.TOptional<Type$2.TString>;
|
|
@@ -3243,18 +3243,11 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
3243
3243
|
}>, Type$2.TObject<{
|
|
3244
3244
|
status: Type$2.TLiteral<"pending">;
|
|
3245
3245
|
}>]>, Type$2.TObject<{
|
|
3246
|
-
|
|
3246
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
3247
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
3247
3248
|
callID: Type$2.TString;
|
|
3248
3249
|
name: Type$2.TString;
|
|
3249
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
3250
|
-
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
3251
3250
|
namespace: Type$2.TOptional<Type$2.TString>;
|
|
3252
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
3253
|
-
time: Type$2.TObject<{
|
|
3254
|
-
start: Type$2.TNumber;
|
|
3255
|
-
end: Type$2.TNumber;
|
|
3256
|
-
}>;
|
|
3257
|
-
status: Type$2.TLiteral<"running">;
|
|
3258
3251
|
partial: Type$2.TOptional<Type$2.TObject<{
|
|
3259
3252
|
content: Type$2.TOptional<Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
3260
3253
|
type: Type$2.TLiteral<"text">;
|
|
@@ -3267,19 +3260,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
3267
3260
|
}>]>>>;
|
|
3268
3261
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
3269
3262
|
}>>;
|
|
3270
|
-
|
|
3271
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
3272
|
-
callID: Type$2.TString;
|
|
3273
|
-
name: Type$2.TString;
|
|
3274
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
3263
|
+
status: Type$2.TLiteral<"running">;
|
|
3275
3264
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
3276
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
3277
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
3278
3265
|
time: Type$2.TObject<{
|
|
3279
3266
|
start: Type$2.TNumber;
|
|
3280
3267
|
end: Type$2.TNumber;
|
|
3281
3268
|
}>;
|
|
3282
|
-
|
|
3269
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
3270
|
+
}>, Type$2.TUnion<[Type$2.TObject<{
|
|
3271
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
3272
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
3273
|
+
callID: Type$2.TString;
|
|
3274
|
+
name: Type$2.TString;
|
|
3275
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
3283
3276
|
result: Type$2.TObject<{
|
|
3284
3277
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
3285
3278
|
type: Type$2.TLiteral<"text">;
|
|
@@ -3293,19 +3286,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
3293
3286
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
3294
3287
|
isError: Type$2.TLiteral<false>;
|
|
3295
3288
|
}>;
|
|
3296
|
-
|
|
3297
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
3298
|
-
callID: Type$2.TString;
|
|
3299
|
-
name: Type$2.TString;
|
|
3300
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
3289
|
+
status: Type$2.TLiteral<"completed">;
|
|
3301
3290
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
3302
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
3303
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
3304
3291
|
time: Type$2.TObject<{
|
|
3305
3292
|
start: Type$2.TNumber;
|
|
3306
3293
|
end: Type$2.TNumber;
|
|
3307
3294
|
}>;
|
|
3308
|
-
|
|
3295
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
3296
|
+
}>, Type$2.TObject<{
|
|
3297
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
3298
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
3299
|
+
callID: Type$2.TString;
|
|
3300
|
+
name: Type$2.TString;
|
|
3301
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
3309
3302
|
result: Type$2.TObject<{
|
|
3310
3303
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
3311
3304
|
type: Type$2.TLiteral<"text">;
|
|
@@ -3319,19 +3312,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
3319
3312
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
3320
3313
|
isError: Type$2.TLiteral<true>;
|
|
3321
3314
|
}>;
|
|
3322
|
-
|
|
3323
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
3324
|
-
callID: Type$2.TString;
|
|
3325
|
-
name: Type$2.TString;
|
|
3326
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
3315
|
+
status: Type$2.TLiteral<"error">;
|
|
3327
3316
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
3328
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
3329
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
3330
3317
|
time: Type$2.TObject<{
|
|
3331
3318
|
start: Type$2.TNumber;
|
|
3332
3319
|
end: Type$2.TNumber;
|
|
3333
3320
|
}>;
|
|
3334
|
-
|
|
3321
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
3322
|
+
}>, Type$2.TObject<{
|
|
3323
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
3324
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
3325
|
+
callID: Type$2.TString;
|
|
3326
|
+
name: Type$2.TString;
|
|
3327
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
3335
3328
|
result: Type$2.TObject<{
|
|
3336
3329
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
3337
3330
|
type: Type$2.TLiteral<"text">;
|
|
@@ -3345,19 +3338,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
3345
3338
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
3346
3339
|
isError: Type$2.TLiteral<true>;
|
|
3347
3340
|
}>;
|
|
3348
|
-
|
|
3349
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
3350
|
-
callID: Type$2.TString;
|
|
3351
|
-
name: Type$2.TString;
|
|
3352
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
3341
|
+
status: Type$2.TLiteral<"skipped">;
|
|
3353
3342
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
3354
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
3355
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
3356
3343
|
time: Type$2.TObject<{
|
|
3357
3344
|
start: Type$2.TNumber;
|
|
3358
3345
|
end: Type$2.TNumber;
|
|
3359
3346
|
}>;
|
|
3360
|
-
|
|
3347
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
3348
|
+
}>, Type$2.TObject<{
|
|
3349
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
3350
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
3351
|
+
callID: Type$2.TString;
|
|
3352
|
+
name: Type$2.TString;
|
|
3353
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
3361
3354
|
result: Type$2.TObject<{
|
|
3362
3355
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
3363
3356
|
type: Type$2.TLiteral<"text">;
|
|
@@ -3371,10 +3364,17 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
3371
3364
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
3372
3365
|
isError: Type$2.TLiteral<true>;
|
|
3373
3366
|
}>;
|
|
3367
|
+
status: Type$2.TLiteral<"aborted">;
|
|
3368
|
+
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
3369
|
+
time: Type$2.TObject<{
|
|
3370
|
+
start: Type$2.TNumber;
|
|
3371
|
+
end: Type$2.TNumber;
|
|
3372
|
+
}>;
|
|
3373
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
3374
3374
|
}>]>]>;
|
|
3375
3375
|
partial: Type$2.TObject<{
|
|
3376
3376
|
role: Type$2.TLiteral<"assistant">;
|
|
3377
|
-
protocol: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
3377
|
+
protocol: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"github-copilot">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
3378
3378
|
provider: Type$2.TObject<{
|
|
3379
3379
|
id: Type$2.TString;
|
|
3380
3380
|
name: Type$2.TString;
|
|
@@ -3540,18 +3540,11 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
3540
3540
|
}>, Type$2.TObject<{
|
|
3541
3541
|
status: Type$2.TLiteral<"pending">;
|
|
3542
3542
|
}>]>, Type$2.TObject<{
|
|
3543
|
-
|
|
3543
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
3544
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
3544
3545
|
callID: Type$2.TString;
|
|
3545
3546
|
name: Type$2.TString;
|
|
3546
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
3547
|
-
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
3548
3547
|
namespace: Type$2.TOptional<Type$2.TString>;
|
|
3549
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
3550
|
-
time: Type$2.TObject<{
|
|
3551
|
-
start: Type$2.TNumber;
|
|
3552
|
-
end: Type$2.TNumber;
|
|
3553
|
-
}>;
|
|
3554
|
-
status: Type$2.TLiteral<"running">;
|
|
3555
3548
|
partial: Type$2.TOptional<Type$2.TObject<{
|
|
3556
3549
|
content: Type$2.TOptional<Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
3557
3550
|
type: Type$2.TLiteral<"text">;
|
|
@@ -3564,23 +3557,23 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
3564
3557
|
}>]>>>;
|
|
3565
3558
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
3566
3559
|
}>>;
|
|
3567
|
-
|
|
3568
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
3569
|
-
callID: Type$2.TString;
|
|
3570
|
-
name: Type$2.TString;
|
|
3571
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
3560
|
+
status: Type$2.TLiteral<"running">;
|
|
3572
3561
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
3573
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
3574
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
3575
3562
|
time: Type$2.TObject<{
|
|
3576
3563
|
start: Type$2.TNumber;
|
|
3577
3564
|
end: Type$2.TNumber;
|
|
3578
3565
|
}>;
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
|
|
3566
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
3567
|
+
}>, Type$2.TUnion<[Type$2.TObject<{
|
|
3568
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
3569
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
3570
|
+
callID: Type$2.TString;
|
|
3571
|
+
name: Type$2.TString;
|
|
3572
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
3573
|
+
result: Type$2.TObject<{
|
|
3574
|
+
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
3575
|
+
type: Type$2.TLiteral<"text">;
|
|
3576
|
+
text: Type$2.TString;
|
|
3584
3577
|
textSignature: Type$2.TOptional<Type$2.TString>;
|
|
3585
3578
|
}>, Type$2.TObject<{
|
|
3586
3579
|
type: Type$2.TLiteral<"image">;
|
|
@@ -3590,19 +3583,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
3590
3583
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
3591
3584
|
isError: Type$2.TLiteral<false>;
|
|
3592
3585
|
}>;
|
|
3593
|
-
|
|
3594
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
3595
|
-
callID: Type$2.TString;
|
|
3596
|
-
name: Type$2.TString;
|
|
3597
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
3586
|
+
status: Type$2.TLiteral<"completed">;
|
|
3598
3587
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
3599
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
3600
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
3601
3588
|
time: Type$2.TObject<{
|
|
3602
3589
|
start: Type$2.TNumber;
|
|
3603
3590
|
end: Type$2.TNumber;
|
|
3604
3591
|
}>;
|
|
3605
|
-
|
|
3592
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
3593
|
+
}>, Type$2.TObject<{
|
|
3594
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
3595
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
3596
|
+
callID: Type$2.TString;
|
|
3597
|
+
name: Type$2.TString;
|
|
3598
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
3606
3599
|
result: Type$2.TObject<{
|
|
3607
3600
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
3608
3601
|
type: Type$2.TLiteral<"text">;
|
|
@@ -3616,19 +3609,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
3616
3609
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
3617
3610
|
isError: Type$2.TLiteral<true>;
|
|
3618
3611
|
}>;
|
|
3619
|
-
|
|
3620
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
3621
|
-
callID: Type$2.TString;
|
|
3622
|
-
name: Type$2.TString;
|
|
3623
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
3612
|
+
status: Type$2.TLiteral<"error">;
|
|
3624
3613
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
3625
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
3626
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
3627
3614
|
time: Type$2.TObject<{
|
|
3628
3615
|
start: Type$2.TNumber;
|
|
3629
3616
|
end: Type$2.TNumber;
|
|
3630
3617
|
}>;
|
|
3631
|
-
|
|
3618
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
3619
|
+
}>, Type$2.TObject<{
|
|
3620
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
3621
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
3622
|
+
callID: Type$2.TString;
|
|
3623
|
+
name: Type$2.TString;
|
|
3624
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
3632
3625
|
result: Type$2.TObject<{
|
|
3633
3626
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
3634
3627
|
type: Type$2.TLiteral<"text">;
|
|
@@ -3642,19 +3635,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
3642
3635
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
3643
3636
|
isError: Type$2.TLiteral<true>;
|
|
3644
3637
|
}>;
|
|
3645
|
-
|
|
3646
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
3647
|
-
callID: Type$2.TString;
|
|
3648
|
-
name: Type$2.TString;
|
|
3649
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
3638
|
+
status: Type$2.TLiteral<"skipped">;
|
|
3650
3639
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
3651
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
3652
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
3653
3640
|
time: Type$2.TObject<{
|
|
3654
3641
|
start: Type$2.TNumber;
|
|
3655
3642
|
end: Type$2.TNumber;
|
|
3656
3643
|
}>;
|
|
3657
|
-
|
|
3644
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
3645
|
+
}>, Type$2.TObject<{
|
|
3646
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
3647
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
3648
|
+
callID: Type$2.TString;
|
|
3649
|
+
name: Type$2.TString;
|
|
3650
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
3658
3651
|
result: Type$2.TObject<{
|
|
3659
3652
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
3660
3653
|
type: Type$2.TLiteral<"text">;
|
|
@@ -3668,6 +3661,13 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
3668
3661
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
3669
3662
|
isError: Type$2.TLiteral<true>;
|
|
3670
3663
|
}>;
|
|
3664
|
+
status: Type$2.TLiteral<"aborted">;
|
|
3665
|
+
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
3666
|
+
time: Type$2.TObject<{
|
|
3667
|
+
start: Type$2.TNumber;
|
|
3668
|
+
end: Type$2.TNumber;
|
|
3669
|
+
}>;
|
|
3670
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
3671
3671
|
}>]>]>]>>;
|
|
3672
3672
|
responseId: Type$2.TOptional<Type$2.TString>;
|
|
3673
3673
|
responseModel: Type$2.TOptional<Type$2.TString>;
|
|
@@ -3678,7 +3678,7 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
3678
3678
|
reason: Type$2.TUnion<[Type$2.TLiteral<"stop">, Type$2.TLiteral<"length">, Type$2.TLiteral<"toolUse">]>;
|
|
3679
3679
|
message: Type$2.TObject<{
|
|
3680
3680
|
role: Type$2.TLiteral<"assistant">;
|
|
3681
|
-
protocol: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
3681
|
+
protocol: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"github-copilot">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
3682
3682
|
provider: Type$2.TObject<{
|
|
3683
3683
|
id: Type$2.TString;
|
|
3684
3684
|
name: Type$2.TString;
|
|
@@ -3844,18 +3844,11 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
3844
3844
|
}>, Type$2.TObject<{
|
|
3845
3845
|
status: Type$2.TLiteral<"pending">;
|
|
3846
3846
|
}>]>, Type$2.TObject<{
|
|
3847
|
-
|
|
3847
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
3848
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
3848
3849
|
callID: Type$2.TString;
|
|
3849
3850
|
name: Type$2.TString;
|
|
3850
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
3851
|
-
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
3852
3851
|
namespace: Type$2.TOptional<Type$2.TString>;
|
|
3853
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
3854
|
-
time: Type$2.TObject<{
|
|
3855
|
-
start: Type$2.TNumber;
|
|
3856
|
-
end: Type$2.TNumber;
|
|
3857
|
-
}>;
|
|
3858
|
-
status: Type$2.TLiteral<"running">;
|
|
3859
3852
|
partial: Type$2.TOptional<Type$2.TObject<{
|
|
3860
3853
|
content: Type$2.TOptional<Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
3861
3854
|
type: Type$2.TLiteral<"text">;
|
|
@@ -3868,19 +3861,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
3868
3861
|
}>]>>>;
|
|
3869
3862
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
3870
3863
|
}>>;
|
|
3871
|
-
|
|
3872
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
3873
|
-
callID: Type$2.TString;
|
|
3874
|
-
name: Type$2.TString;
|
|
3875
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
3864
|
+
status: Type$2.TLiteral<"running">;
|
|
3876
3865
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
3877
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
3878
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
3879
3866
|
time: Type$2.TObject<{
|
|
3880
3867
|
start: Type$2.TNumber;
|
|
3881
3868
|
end: Type$2.TNumber;
|
|
3882
3869
|
}>;
|
|
3883
|
-
|
|
3870
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
3871
|
+
}>, Type$2.TUnion<[Type$2.TObject<{
|
|
3872
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
3873
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
3874
|
+
callID: Type$2.TString;
|
|
3875
|
+
name: Type$2.TString;
|
|
3876
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
3884
3877
|
result: Type$2.TObject<{
|
|
3885
3878
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
3886
3879
|
type: Type$2.TLiteral<"text">;
|
|
@@ -3894,19 +3887,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
3894
3887
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
3895
3888
|
isError: Type$2.TLiteral<false>;
|
|
3896
3889
|
}>;
|
|
3897
|
-
|
|
3898
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
3899
|
-
callID: Type$2.TString;
|
|
3900
|
-
name: Type$2.TString;
|
|
3901
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
3890
|
+
status: Type$2.TLiteral<"completed">;
|
|
3902
3891
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
3903
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
3904
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
3905
3892
|
time: Type$2.TObject<{
|
|
3906
3893
|
start: Type$2.TNumber;
|
|
3907
3894
|
end: Type$2.TNumber;
|
|
3908
3895
|
}>;
|
|
3909
|
-
|
|
3896
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
3897
|
+
}>, Type$2.TObject<{
|
|
3898
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
3899
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
3900
|
+
callID: Type$2.TString;
|
|
3901
|
+
name: Type$2.TString;
|
|
3902
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
3910
3903
|
result: Type$2.TObject<{
|
|
3911
3904
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
3912
3905
|
type: Type$2.TLiteral<"text">;
|
|
@@ -3920,19 +3913,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
3920
3913
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
3921
3914
|
isError: Type$2.TLiteral<true>;
|
|
3922
3915
|
}>;
|
|
3923
|
-
|
|
3924
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
3925
|
-
callID: Type$2.TString;
|
|
3926
|
-
name: Type$2.TString;
|
|
3927
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
3916
|
+
status: Type$2.TLiteral<"error">;
|
|
3928
3917
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
3929
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
3930
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
3931
3918
|
time: Type$2.TObject<{
|
|
3932
3919
|
start: Type$2.TNumber;
|
|
3933
3920
|
end: Type$2.TNumber;
|
|
3934
3921
|
}>;
|
|
3935
|
-
|
|
3922
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
3923
|
+
}>, Type$2.TObject<{
|
|
3924
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
3925
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
3926
|
+
callID: Type$2.TString;
|
|
3927
|
+
name: Type$2.TString;
|
|
3928
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
3936
3929
|
result: Type$2.TObject<{
|
|
3937
3930
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
3938
3931
|
type: Type$2.TLiteral<"text">;
|
|
@@ -3946,19 +3939,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
3946
3939
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
3947
3940
|
isError: Type$2.TLiteral<true>;
|
|
3948
3941
|
}>;
|
|
3949
|
-
|
|
3950
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
3951
|
-
callID: Type$2.TString;
|
|
3952
|
-
name: Type$2.TString;
|
|
3953
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
3942
|
+
status: Type$2.TLiteral<"skipped">;
|
|
3954
3943
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
3955
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
3956
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
3957
3944
|
time: Type$2.TObject<{
|
|
3958
3945
|
start: Type$2.TNumber;
|
|
3959
3946
|
end: Type$2.TNumber;
|
|
3960
3947
|
}>;
|
|
3961
|
-
|
|
3948
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
3949
|
+
}>, Type$2.TObject<{
|
|
3950
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
3951
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
3952
|
+
callID: Type$2.TString;
|
|
3953
|
+
name: Type$2.TString;
|
|
3954
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
3962
3955
|
result: Type$2.TObject<{
|
|
3963
3956
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
3964
3957
|
type: Type$2.TLiteral<"text">;
|
|
@@ -3972,6 +3965,13 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
3972
3965
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
3973
3966
|
isError: Type$2.TLiteral<true>;
|
|
3974
3967
|
}>;
|
|
3968
|
+
status: Type$2.TLiteral<"aborted">;
|
|
3969
|
+
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
3970
|
+
time: Type$2.TObject<{
|
|
3971
|
+
start: Type$2.TNumber;
|
|
3972
|
+
end: Type$2.TNumber;
|
|
3973
|
+
}>;
|
|
3974
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
3975
3975
|
}>]>]>]>>;
|
|
3976
3976
|
responseId: Type$2.TOptional<Type$2.TString>;
|
|
3977
3977
|
responseModel: Type$2.TOptional<Type$2.TString>;
|
|
@@ -3982,7 +3982,7 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
3982
3982
|
reason: Type$2.TUnion<[Type$2.TLiteral<"aborted">, Type$2.TLiteral<"error">]>;
|
|
3983
3983
|
error: Type$2.TObject<{
|
|
3984
3984
|
role: Type$2.TLiteral<"assistant">;
|
|
3985
|
-
protocol: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
3985
|
+
protocol: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"github-copilot">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
3986
3986
|
provider: Type$2.TObject<{
|
|
3987
3987
|
id: Type$2.TString;
|
|
3988
3988
|
name: Type$2.TString;
|
|
@@ -4148,18 +4148,11 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
4148
4148
|
}>, Type$2.TObject<{
|
|
4149
4149
|
status: Type$2.TLiteral<"pending">;
|
|
4150
4150
|
}>]>, Type$2.TObject<{
|
|
4151
|
-
|
|
4151
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
4152
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
4152
4153
|
callID: Type$2.TString;
|
|
4153
4154
|
name: Type$2.TString;
|
|
4154
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
4155
|
-
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
4156
4155
|
namespace: Type$2.TOptional<Type$2.TString>;
|
|
4157
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
4158
|
-
time: Type$2.TObject<{
|
|
4159
|
-
start: Type$2.TNumber;
|
|
4160
|
-
end: Type$2.TNumber;
|
|
4161
|
-
}>;
|
|
4162
|
-
status: Type$2.TLiteral<"running">;
|
|
4163
4156
|
partial: Type$2.TOptional<Type$2.TObject<{
|
|
4164
4157
|
content: Type$2.TOptional<Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
4165
4158
|
type: Type$2.TLiteral<"text">;
|
|
@@ -4172,19 +4165,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
4172
4165
|
}>]>>>;
|
|
4173
4166
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
4174
4167
|
}>>;
|
|
4175
|
-
|
|
4176
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
4177
|
-
callID: Type$2.TString;
|
|
4178
|
-
name: Type$2.TString;
|
|
4179
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
4168
|
+
status: Type$2.TLiteral<"running">;
|
|
4180
4169
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
4181
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
4182
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
4183
4170
|
time: Type$2.TObject<{
|
|
4184
4171
|
start: Type$2.TNumber;
|
|
4185
4172
|
end: Type$2.TNumber;
|
|
4186
4173
|
}>;
|
|
4187
|
-
|
|
4174
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
4175
|
+
}>, Type$2.TUnion<[Type$2.TObject<{
|
|
4176
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
4177
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
4178
|
+
callID: Type$2.TString;
|
|
4179
|
+
name: Type$2.TString;
|
|
4180
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
4188
4181
|
result: Type$2.TObject<{
|
|
4189
4182
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
4190
4183
|
type: Type$2.TLiteral<"text">;
|
|
@@ -4198,19 +4191,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
4198
4191
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
4199
4192
|
isError: Type$2.TLiteral<false>;
|
|
4200
4193
|
}>;
|
|
4201
|
-
|
|
4202
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
4203
|
-
callID: Type$2.TString;
|
|
4204
|
-
name: Type$2.TString;
|
|
4205
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
4194
|
+
status: Type$2.TLiteral<"completed">;
|
|
4206
4195
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
4207
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
4208
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
4209
4196
|
time: Type$2.TObject<{
|
|
4210
4197
|
start: Type$2.TNumber;
|
|
4211
4198
|
end: Type$2.TNumber;
|
|
4212
4199
|
}>;
|
|
4213
|
-
|
|
4200
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
4201
|
+
}>, Type$2.TObject<{
|
|
4202
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
4203
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
4204
|
+
callID: Type$2.TString;
|
|
4205
|
+
name: Type$2.TString;
|
|
4206
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
4214
4207
|
result: Type$2.TObject<{
|
|
4215
4208
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
4216
4209
|
type: Type$2.TLiteral<"text">;
|
|
@@ -4224,19 +4217,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
4224
4217
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
4225
4218
|
isError: Type$2.TLiteral<true>;
|
|
4226
4219
|
}>;
|
|
4227
|
-
|
|
4228
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
4229
|
-
callID: Type$2.TString;
|
|
4230
|
-
name: Type$2.TString;
|
|
4231
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
4220
|
+
status: Type$2.TLiteral<"error">;
|
|
4232
4221
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
4233
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
4234
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
4235
4222
|
time: Type$2.TObject<{
|
|
4236
4223
|
start: Type$2.TNumber;
|
|
4237
4224
|
end: Type$2.TNumber;
|
|
4238
4225
|
}>;
|
|
4239
|
-
|
|
4226
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
4227
|
+
}>, Type$2.TObject<{
|
|
4228
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
4229
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
4230
|
+
callID: Type$2.TString;
|
|
4231
|
+
name: Type$2.TString;
|
|
4232
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
4240
4233
|
result: Type$2.TObject<{
|
|
4241
4234
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
4242
4235
|
type: Type$2.TLiteral<"text">;
|
|
@@ -4250,19 +4243,19 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
4250
4243
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
4251
4244
|
isError: Type$2.TLiteral<true>;
|
|
4252
4245
|
}>;
|
|
4253
|
-
|
|
4254
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
4255
|
-
callID: Type$2.TString;
|
|
4256
|
-
name: Type$2.TString;
|
|
4257
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
4246
|
+
status: Type$2.TLiteral<"skipped">;
|
|
4258
4247
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
4259
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
4260
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
4261
4248
|
time: Type$2.TObject<{
|
|
4262
4249
|
start: Type$2.TNumber;
|
|
4263
4250
|
end: Type$2.TNumber;
|
|
4264
4251
|
}>;
|
|
4265
|
-
|
|
4252
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
4253
|
+
}>, Type$2.TObject<{
|
|
4254
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
4255
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
4256
|
+
callID: Type$2.TString;
|
|
4257
|
+
name: Type$2.TString;
|
|
4258
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
4266
4259
|
result: Type$2.TObject<{
|
|
4267
4260
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
4268
4261
|
type: Type$2.TLiteral<"text">;
|
|
@@ -4276,6 +4269,13 @@ declare const LLMMessageEventSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
4276
4269
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
4277
4270
|
isError: Type$2.TLiteral<true>;
|
|
4278
4271
|
}>;
|
|
4272
|
+
status: Type$2.TLiteral<"aborted">;
|
|
4273
|
+
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
4274
|
+
time: Type$2.TObject<{
|
|
4275
|
+
start: Type$2.TNumber;
|
|
4276
|
+
end: Type$2.TNumber;
|
|
4277
|
+
}>;
|
|
4278
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
4279
4279
|
}>]>]>]>>;
|
|
4280
4280
|
responseId: Type$2.TOptional<Type$2.TString>;
|
|
4281
4281
|
responseModel: Type$2.TOptional<Type$2.TString>;
|
|
@@ -4299,7 +4299,7 @@ type LLM = {
|
|
|
4299
4299
|
registry: typeof registry;
|
|
4300
4300
|
modelsAreEqual: typeof modelsAreEqual;
|
|
4301
4301
|
};
|
|
4302
|
-
declare const llm: LLM;
|
|
4302
|
+
export declare const llm: LLM;
|
|
4303
4303
|
declare namespace message_d_exports {
|
|
4304
4304
|
export { AssistantMessage, AssistantMessageSchema, ConstrainedSampling, ConstrainedSamplingSchema, Context, ContextSchema, GrammarVariants, GrammarVariantsSchema, ImageContent, ImageContentSchema, Message, MessageSchema, StopReason, StopReasonSchema, TextContent, TextContentSchema, ThinkingContent, ThinkingContentSchema, Tool, ToolAbortedSchema, ToolArguments, ToolCall, ToolCallAbortedPart, ToolCallAbortedPartSchema, ToolCallBaseSchema, ToolCallCompletedPart, ToolCallCompletedPartSchema, ToolCallErrorPart, ToolCallErrorPartSchema, ToolCallInFlight, ToolCallInFlightSchema, ToolCallPendingPart, ToolCallPendingPartSchema, ToolCallRunningPart, ToolCallRunningPartSchema, ToolCallSchema, ToolCallSkippedPart, ToolCallSkippedPartSchema, ToolCallTerminalPart, ToolCallTerminalPartSchema, ToolCompletedSchema, ToolErrorResult, ToolErrorSchema, ToolRunningPartial, ToolRunningSchema, ToolSchema, ToolSkippedSchema, ToolStatusEnum, ToolSuccessResult, Usage, UsageSchema, UserMessage, UserMessageSchema, createAssistantMessage, createMessageId, createUserMessage, defineTool, resolveJsonSchemaConstraint, transformMessages };
|
|
4305
4305
|
}
|
|
@@ -4481,18 +4481,11 @@ declare const ToolCallPendingPartSchema: Type$2.TIntersect<[Type$2.TObject<{
|
|
|
4481
4481
|
status: Type$2.TLiteral<"pending">;
|
|
4482
4482
|
}>]>;
|
|
4483
4483
|
declare const ToolCallRunningPartSchema: Type$2.TObject<{
|
|
4484
|
-
|
|
4484
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
4485
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
4485
4486
|
callID: Type$2.TString;
|
|
4486
4487
|
name: Type$2.TString;
|
|
4487
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
4488
|
-
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
4489
4488
|
namespace: Type$2.TOptional<Type$2.TString>;
|
|
4490
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
4491
|
-
time: Type$2.TObject<{
|
|
4492
|
-
start: Type$2.TNumber;
|
|
4493
|
-
end: Type$2.TNumber;
|
|
4494
|
-
}>;
|
|
4495
|
-
status: Type$2.TLiteral<"running">;
|
|
4496
4489
|
partial: Type$2.TOptional<Type$2.TObject<{
|
|
4497
4490
|
content: Type$2.TOptional<Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
4498
4491
|
type: Type$2.TLiteral<"text">;
|
|
@@ -4505,20 +4498,20 @@ declare const ToolCallRunningPartSchema: Type$2.TObject<{
|
|
|
4505
4498
|
}>]>>>;
|
|
4506
4499
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
4507
4500
|
}>>;
|
|
4508
|
-
|
|
4509
|
-
declare const ToolCallCompletedPartSchema: Type$2.TObject<{
|
|
4510
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
4511
|
-
callID: Type$2.TString;
|
|
4512
|
-
name: Type$2.TString;
|
|
4513
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
4501
|
+
status: Type$2.TLiteral<"running">;
|
|
4514
4502
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
4515
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
4516
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
4517
4503
|
time: Type$2.TObject<{
|
|
4518
4504
|
start: Type$2.TNumber;
|
|
4519
4505
|
end: Type$2.TNumber;
|
|
4520
4506
|
}>;
|
|
4521
|
-
|
|
4507
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
4508
|
+
}>;
|
|
4509
|
+
declare const ToolCallCompletedPartSchema: Type$2.TObject<{
|
|
4510
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
4511
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
4512
|
+
callID: Type$2.TString;
|
|
4513
|
+
name: Type$2.TString;
|
|
4514
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
4522
4515
|
result: Type$2.TObject<{
|
|
4523
4516
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
4524
4517
|
type: Type$2.TLiteral<"text">;
|
|
@@ -4532,20 +4525,20 @@ declare const ToolCallCompletedPartSchema: Type$2.TObject<{
|
|
|
4532
4525
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
4533
4526
|
isError: Type$2.TLiteral<false>;
|
|
4534
4527
|
}>;
|
|
4535
|
-
|
|
4536
|
-
declare const ToolCallErrorPartSchema: Type$2.TObject<{
|
|
4537
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
4538
|
-
callID: Type$2.TString;
|
|
4539
|
-
name: Type$2.TString;
|
|
4540
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
4528
|
+
status: Type$2.TLiteral<"completed">;
|
|
4541
4529
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
4542
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
4543
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
4544
4530
|
time: Type$2.TObject<{
|
|
4545
4531
|
start: Type$2.TNumber;
|
|
4546
4532
|
end: Type$2.TNumber;
|
|
4547
4533
|
}>;
|
|
4548
|
-
|
|
4534
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
4535
|
+
}>;
|
|
4536
|
+
declare const ToolCallErrorPartSchema: Type$2.TObject<{
|
|
4537
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
4538
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
4539
|
+
callID: Type$2.TString;
|
|
4540
|
+
name: Type$2.TString;
|
|
4541
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
4549
4542
|
result: Type$2.TObject<{
|
|
4550
4543
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
4551
4544
|
type: Type$2.TLiteral<"text">;
|
|
@@ -4559,20 +4552,20 @@ declare const ToolCallErrorPartSchema: Type$2.TObject<{
|
|
|
4559
4552
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
4560
4553
|
isError: Type$2.TLiteral<true>;
|
|
4561
4554
|
}>;
|
|
4562
|
-
|
|
4563
|
-
declare const ToolCallSkippedPartSchema: Type$2.TObject<{
|
|
4564
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
4565
|
-
callID: Type$2.TString;
|
|
4566
|
-
name: Type$2.TString;
|
|
4567
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
4555
|
+
status: Type$2.TLiteral<"error">;
|
|
4568
4556
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
4569
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
4570
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
4571
4557
|
time: Type$2.TObject<{
|
|
4572
4558
|
start: Type$2.TNumber;
|
|
4573
4559
|
end: Type$2.TNumber;
|
|
4574
4560
|
}>;
|
|
4575
|
-
|
|
4561
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
4562
|
+
}>;
|
|
4563
|
+
declare const ToolCallSkippedPartSchema: Type$2.TObject<{
|
|
4564
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
4565
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
4566
|
+
callID: Type$2.TString;
|
|
4567
|
+
name: Type$2.TString;
|
|
4568
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
4576
4569
|
result: Type$2.TObject<{
|
|
4577
4570
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
4578
4571
|
type: Type$2.TLiteral<"text">;
|
|
@@ -4586,20 +4579,20 @@ declare const ToolCallSkippedPartSchema: Type$2.TObject<{
|
|
|
4586
4579
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
4587
4580
|
isError: Type$2.TLiteral<true>;
|
|
4588
4581
|
}>;
|
|
4589
|
-
|
|
4590
|
-
declare const ToolCallAbortedPartSchema: Type$2.TObject<{
|
|
4591
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
4592
|
-
callID: Type$2.TString;
|
|
4593
|
-
name: Type$2.TString;
|
|
4594
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
4582
|
+
status: Type$2.TLiteral<"skipped">;
|
|
4595
4583
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
4596
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
4597
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
4598
4584
|
time: Type$2.TObject<{
|
|
4599
4585
|
start: Type$2.TNumber;
|
|
4600
4586
|
end: Type$2.TNumber;
|
|
4601
4587
|
}>;
|
|
4602
|
-
|
|
4588
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
4589
|
+
}>;
|
|
4590
|
+
declare const ToolCallAbortedPartSchema: Type$2.TObject<{
|
|
4591
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
4592
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
4593
|
+
callID: Type$2.TString;
|
|
4594
|
+
name: Type$2.TString;
|
|
4595
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
4603
4596
|
result: Type$2.TObject<{
|
|
4604
4597
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
4605
4598
|
type: Type$2.TLiteral<"text">;
|
|
@@ -4613,20 +4606,20 @@ declare const ToolCallAbortedPartSchema: Type$2.TObject<{
|
|
|
4613
4606
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
4614
4607
|
isError: Type$2.TLiteral<true>;
|
|
4615
4608
|
}>;
|
|
4616
|
-
|
|
4617
|
-
declare const ToolCallTerminalPartSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
4618
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
4619
|
-
callID: Type$2.TString;
|
|
4620
|
-
name: Type$2.TString;
|
|
4621
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
4609
|
+
status: Type$2.TLiteral<"aborted">;
|
|
4622
4610
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
4623
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
4624
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
4625
4611
|
time: Type$2.TObject<{
|
|
4626
4612
|
start: Type$2.TNumber;
|
|
4627
4613
|
end: Type$2.TNumber;
|
|
4628
4614
|
}>;
|
|
4629
|
-
|
|
4615
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
4616
|
+
}>;
|
|
4617
|
+
declare const ToolCallTerminalPartSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
4618
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
4619
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
4620
|
+
callID: Type$2.TString;
|
|
4621
|
+
name: Type$2.TString;
|
|
4622
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
4630
4623
|
result: Type$2.TObject<{
|
|
4631
4624
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
4632
4625
|
type: Type$2.TLiteral<"text">;
|
|
@@ -4640,19 +4633,19 @@ declare const ToolCallTerminalPartSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
4640
4633
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
4641
4634
|
isError: Type$2.TLiteral<false>;
|
|
4642
4635
|
}>;
|
|
4643
|
-
|
|
4644
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
4645
|
-
callID: Type$2.TString;
|
|
4646
|
-
name: Type$2.TString;
|
|
4647
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
4636
|
+
status: Type$2.TLiteral<"completed">;
|
|
4648
4637
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
4649
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
4650
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
4651
4638
|
time: Type$2.TObject<{
|
|
4652
4639
|
start: Type$2.TNumber;
|
|
4653
4640
|
end: Type$2.TNumber;
|
|
4654
4641
|
}>;
|
|
4655
|
-
|
|
4642
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
4643
|
+
}>, Type$2.TObject<{
|
|
4644
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
4645
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
4646
|
+
callID: Type$2.TString;
|
|
4647
|
+
name: Type$2.TString;
|
|
4648
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
4656
4649
|
result: Type$2.TObject<{
|
|
4657
4650
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
4658
4651
|
type: Type$2.TLiteral<"text">;
|
|
@@ -4666,19 +4659,19 @@ declare const ToolCallTerminalPartSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
4666
4659
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
4667
4660
|
isError: Type$2.TLiteral<true>;
|
|
4668
4661
|
}>;
|
|
4669
|
-
|
|
4670
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
4671
|
-
callID: Type$2.TString;
|
|
4672
|
-
name: Type$2.TString;
|
|
4673
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
4662
|
+
status: Type$2.TLiteral<"error">;
|
|
4674
4663
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
4675
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
4676
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
4677
4664
|
time: Type$2.TObject<{
|
|
4678
4665
|
start: Type$2.TNumber;
|
|
4679
4666
|
end: Type$2.TNumber;
|
|
4680
4667
|
}>;
|
|
4681
|
-
|
|
4668
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
4669
|
+
}>, Type$2.TObject<{
|
|
4670
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
4671
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
4672
|
+
callID: Type$2.TString;
|
|
4673
|
+
name: Type$2.TString;
|
|
4674
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
4682
4675
|
result: Type$2.TObject<{
|
|
4683
4676
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
4684
4677
|
type: Type$2.TLiteral<"text">;
|
|
@@ -4692,19 +4685,19 @@ declare const ToolCallTerminalPartSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
4692
4685
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
4693
4686
|
isError: Type$2.TLiteral<true>;
|
|
4694
4687
|
}>;
|
|
4695
|
-
|
|
4696
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
4697
|
-
callID: Type$2.TString;
|
|
4698
|
-
name: Type$2.TString;
|
|
4699
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
4688
|
+
status: Type$2.TLiteral<"skipped">;
|
|
4700
4689
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
4701
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
4702
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
4703
4690
|
time: Type$2.TObject<{
|
|
4704
4691
|
start: Type$2.TNumber;
|
|
4705
4692
|
end: Type$2.TNumber;
|
|
4706
4693
|
}>;
|
|
4707
|
-
|
|
4694
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
4695
|
+
}>, Type$2.TObject<{
|
|
4696
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
4697
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
4698
|
+
callID: Type$2.TString;
|
|
4699
|
+
name: Type$2.TString;
|
|
4700
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
4708
4701
|
result: Type$2.TObject<{
|
|
4709
4702
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
4710
4703
|
type: Type$2.TLiteral<"text">;
|
|
@@ -4718,6 +4711,13 @@ declare const ToolCallTerminalPartSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
4718
4711
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
4719
4712
|
isError: Type$2.TLiteral<true>;
|
|
4720
4713
|
}>;
|
|
4714
|
+
status: Type$2.TLiteral<"aborted">;
|
|
4715
|
+
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
4716
|
+
time: Type$2.TObject<{
|
|
4717
|
+
start: Type$2.TNumber;
|
|
4718
|
+
end: Type$2.TNumber;
|
|
4719
|
+
}>;
|
|
4720
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
4721
4721
|
}>]>;
|
|
4722
4722
|
declare const ToolCallInFlightSchema: Type$2.TObject<{
|
|
4723
4723
|
callID: Type$2.TString;
|
|
@@ -4742,18 +4742,11 @@ declare const ToolCallSchema: Type$2.TUnion<[Type$2.TIntersect<[Type$2.TObject<{
|
|
|
4742
4742
|
}>, Type$2.TObject<{
|
|
4743
4743
|
status: Type$2.TLiteral<"pending">;
|
|
4744
4744
|
}>]>, Type$2.TObject<{
|
|
4745
|
-
|
|
4745
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
4746
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
4746
4747
|
callID: Type$2.TString;
|
|
4747
4748
|
name: Type$2.TString;
|
|
4748
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
4749
|
-
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
4750
4749
|
namespace: Type$2.TOptional<Type$2.TString>;
|
|
4751
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
4752
|
-
time: Type$2.TObject<{
|
|
4753
|
-
start: Type$2.TNumber;
|
|
4754
|
-
end: Type$2.TNumber;
|
|
4755
|
-
}>;
|
|
4756
|
-
status: Type$2.TLiteral<"running">;
|
|
4757
4750
|
partial: Type$2.TOptional<Type$2.TObject<{
|
|
4758
4751
|
content: Type$2.TOptional<Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
4759
4752
|
type: Type$2.TLiteral<"text">;
|
|
@@ -4766,19 +4759,19 @@ declare const ToolCallSchema: Type$2.TUnion<[Type$2.TIntersect<[Type$2.TObject<{
|
|
|
4766
4759
|
}>]>>>;
|
|
4767
4760
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
4768
4761
|
}>>;
|
|
4769
|
-
|
|
4770
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
4771
|
-
callID: Type$2.TString;
|
|
4772
|
-
name: Type$2.TString;
|
|
4773
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
4762
|
+
status: Type$2.TLiteral<"running">;
|
|
4774
4763
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
4775
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
4776
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
4777
4764
|
time: Type$2.TObject<{
|
|
4778
4765
|
start: Type$2.TNumber;
|
|
4779
4766
|
end: Type$2.TNumber;
|
|
4780
4767
|
}>;
|
|
4781
|
-
|
|
4768
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
4769
|
+
}>, Type$2.TUnion<[Type$2.TObject<{
|
|
4770
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
4771
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
4772
|
+
callID: Type$2.TString;
|
|
4773
|
+
name: Type$2.TString;
|
|
4774
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
4782
4775
|
result: Type$2.TObject<{
|
|
4783
4776
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
4784
4777
|
type: Type$2.TLiteral<"text">;
|
|
@@ -4792,19 +4785,19 @@ declare const ToolCallSchema: Type$2.TUnion<[Type$2.TIntersect<[Type$2.TObject<{
|
|
|
4792
4785
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
4793
4786
|
isError: Type$2.TLiteral<false>;
|
|
4794
4787
|
}>;
|
|
4795
|
-
|
|
4796
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
4797
|
-
callID: Type$2.TString;
|
|
4798
|
-
name: Type$2.TString;
|
|
4799
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
4788
|
+
status: Type$2.TLiteral<"completed">;
|
|
4800
4789
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
4801
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
4802
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
4803
4790
|
time: Type$2.TObject<{
|
|
4804
4791
|
start: Type$2.TNumber;
|
|
4805
4792
|
end: Type$2.TNumber;
|
|
4806
4793
|
}>;
|
|
4807
|
-
|
|
4794
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
4795
|
+
}>, Type$2.TObject<{
|
|
4796
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
4797
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
4798
|
+
callID: Type$2.TString;
|
|
4799
|
+
name: Type$2.TString;
|
|
4800
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
4808
4801
|
result: Type$2.TObject<{
|
|
4809
4802
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
4810
4803
|
type: Type$2.TLiteral<"text">;
|
|
@@ -4818,19 +4811,19 @@ declare const ToolCallSchema: Type$2.TUnion<[Type$2.TIntersect<[Type$2.TObject<{
|
|
|
4818
4811
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
4819
4812
|
isError: Type$2.TLiteral<true>;
|
|
4820
4813
|
}>;
|
|
4821
|
-
|
|
4822
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
4823
|
-
callID: Type$2.TString;
|
|
4824
|
-
name: Type$2.TString;
|
|
4825
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
4814
|
+
status: Type$2.TLiteral<"error">;
|
|
4826
4815
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
4827
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
4828
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
4829
4816
|
time: Type$2.TObject<{
|
|
4830
4817
|
start: Type$2.TNumber;
|
|
4831
4818
|
end: Type$2.TNumber;
|
|
4832
4819
|
}>;
|
|
4833
|
-
|
|
4820
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
4821
|
+
}>, Type$2.TObject<{
|
|
4822
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
4823
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
4824
|
+
callID: Type$2.TString;
|
|
4825
|
+
name: Type$2.TString;
|
|
4826
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
4834
4827
|
result: Type$2.TObject<{
|
|
4835
4828
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
4836
4829
|
type: Type$2.TLiteral<"text">;
|
|
@@ -4844,19 +4837,19 @@ declare const ToolCallSchema: Type$2.TUnion<[Type$2.TIntersect<[Type$2.TObject<{
|
|
|
4844
4837
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
4845
4838
|
isError: Type$2.TLiteral<true>;
|
|
4846
4839
|
}>;
|
|
4847
|
-
|
|
4848
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
4849
|
-
callID: Type$2.TString;
|
|
4850
|
-
name: Type$2.TString;
|
|
4851
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
4840
|
+
status: Type$2.TLiteral<"skipped">;
|
|
4852
4841
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
4853
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
4854
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
4855
4842
|
time: Type$2.TObject<{
|
|
4856
4843
|
start: Type$2.TNumber;
|
|
4857
4844
|
end: Type$2.TNumber;
|
|
4858
4845
|
}>;
|
|
4859
|
-
|
|
4846
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
4847
|
+
}>, Type$2.TObject<{
|
|
4848
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
4849
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
4850
|
+
callID: Type$2.TString;
|
|
4851
|
+
name: Type$2.TString;
|
|
4852
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
4860
4853
|
result: Type$2.TObject<{
|
|
4861
4854
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
4862
4855
|
type: Type$2.TLiteral<"text">;
|
|
@@ -4870,6 +4863,13 @@ declare const ToolCallSchema: Type$2.TUnion<[Type$2.TIntersect<[Type$2.TObject<{
|
|
|
4870
4863
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
4871
4864
|
isError: Type$2.TLiteral<true>;
|
|
4872
4865
|
}>;
|
|
4866
|
+
status: Type$2.TLiteral<"aborted">;
|
|
4867
|
+
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
4868
|
+
time: Type$2.TObject<{
|
|
4869
|
+
start: Type$2.TNumber;
|
|
4870
|
+
end: Type$2.TNumber;
|
|
4871
|
+
}>;
|
|
4872
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
4873
4873
|
}>]>]>;
|
|
4874
4874
|
type ToolCall = Static$1<typeof ToolCallSchema>;
|
|
4875
4875
|
type ToolCallPendingPart = Static$1<typeof ToolCallPendingPartSchema>;
|
|
@@ -4918,7 +4918,7 @@ declare const UserMessageSchema: Type$2.TObject<{
|
|
|
4918
4918
|
type UserMessage = Static$1<typeof UserMessageSchema>;
|
|
4919
4919
|
declare const AssistantMessageSchema: Type$2.TObject<{
|
|
4920
4920
|
role: Type$2.TLiteral<"assistant">;
|
|
4921
|
-
protocol: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
4921
|
+
protocol: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"github-copilot">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
4922
4922
|
provider: Type$2.TObject<{
|
|
4923
4923
|
id: Type$2.TString;
|
|
4924
4924
|
name: Type$2.TString;
|
|
@@ -5094,18 +5094,11 @@ declare const AssistantMessageSchema: Type$2.TObject<{
|
|
|
5094
5094
|
}>, Type$2.TObject<{
|
|
5095
5095
|
status: Type$2.TLiteral<"pending">;
|
|
5096
5096
|
}>]>, Type$2.TObject<{
|
|
5097
|
-
|
|
5097
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
5098
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
5098
5099
|
callID: Type$2.TString;
|
|
5099
5100
|
name: Type$2.TString;
|
|
5100
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
5101
|
-
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
5102
5101
|
namespace: Type$2.TOptional<Type$2.TString>;
|
|
5103
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
5104
|
-
time: Type$2.TObject<{
|
|
5105
|
-
start: Type$2.TNumber;
|
|
5106
|
-
end: Type$2.TNumber;
|
|
5107
|
-
}>;
|
|
5108
|
-
status: Type$2.TLiteral<"running">;
|
|
5109
5102
|
partial: Type$2.TOptional<Type$2.TObject<{
|
|
5110
5103
|
content: Type$2.TOptional<Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
5111
5104
|
type: Type$2.TLiteral<"text">;
|
|
@@ -5118,19 +5111,19 @@ declare const AssistantMessageSchema: Type$2.TObject<{
|
|
|
5118
5111
|
}>]>>>;
|
|
5119
5112
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
5120
5113
|
}>>;
|
|
5121
|
-
|
|
5122
|
-
|
|
5123
|
-
callID: Type$2.TString;
|
|
5124
|
-
name: Type$2.TString;
|
|
5125
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
5126
|
-
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
5127
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
5128
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
5114
|
+
status: Type$2.TLiteral<"running">;
|
|
5115
|
+
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
5129
5116
|
time: Type$2.TObject<{
|
|
5130
5117
|
start: Type$2.TNumber;
|
|
5131
5118
|
end: Type$2.TNumber;
|
|
5132
5119
|
}>;
|
|
5133
|
-
|
|
5120
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
5121
|
+
}>, Type$2.TUnion<[Type$2.TObject<{
|
|
5122
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
5123
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
5124
|
+
callID: Type$2.TString;
|
|
5125
|
+
name: Type$2.TString;
|
|
5126
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
5134
5127
|
result: Type$2.TObject<{
|
|
5135
5128
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
5136
5129
|
type: Type$2.TLiteral<"text">;
|
|
@@ -5144,19 +5137,19 @@ declare const AssistantMessageSchema: Type$2.TObject<{
|
|
|
5144
5137
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
5145
5138
|
isError: Type$2.TLiteral<false>;
|
|
5146
5139
|
}>;
|
|
5147
|
-
|
|
5148
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
5149
|
-
callID: Type$2.TString;
|
|
5150
|
-
name: Type$2.TString;
|
|
5151
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
5140
|
+
status: Type$2.TLiteral<"completed">;
|
|
5152
5141
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
5153
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
5154
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
5155
5142
|
time: Type$2.TObject<{
|
|
5156
5143
|
start: Type$2.TNumber;
|
|
5157
5144
|
end: Type$2.TNumber;
|
|
5158
5145
|
}>;
|
|
5159
|
-
|
|
5146
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
5147
|
+
}>, Type$2.TObject<{
|
|
5148
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
5149
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
5150
|
+
callID: Type$2.TString;
|
|
5151
|
+
name: Type$2.TString;
|
|
5152
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
5160
5153
|
result: Type$2.TObject<{
|
|
5161
5154
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
5162
5155
|
type: Type$2.TLiteral<"text">;
|
|
@@ -5170,19 +5163,19 @@ declare const AssistantMessageSchema: Type$2.TObject<{
|
|
|
5170
5163
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
5171
5164
|
isError: Type$2.TLiteral<true>;
|
|
5172
5165
|
}>;
|
|
5173
|
-
|
|
5174
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
5175
|
-
callID: Type$2.TString;
|
|
5176
|
-
name: Type$2.TString;
|
|
5177
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
5166
|
+
status: Type$2.TLiteral<"error">;
|
|
5178
5167
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
5179
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
5180
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
5181
5168
|
time: Type$2.TObject<{
|
|
5182
5169
|
start: Type$2.TNumber;
|
|
5183
5170
|
end: Type$2.TNumber;
|
|
5184
5171
|
}>;
|
|
5185
|
-
|
|
5172
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
5173
|
+
}>, Type$2.TObject<{
|
|
5174
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
5175
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
5176
|
+
callID: Type$2.TString;
|
|
5177
|
+
name: Type$2.TString;
|
|
5178
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
5186
5179
|
result: Type$2.TObject<{
|
|
5187
5180
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
5188
5181
|
type: Type$2.TLiteral<"text">;
|
|
@@ -5196,19 +5189,19 @@ declare const AssistantMessageSchema: Type$2.TObject<{
|
|
|
5196
5189
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
5197
5190
|
isError: Type$2.TLiteral<true>;
|
|
5198
5191
|
}>;
|
|
5199
|
-
|
|
5200
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
5201
|
-
callID: Type$2.TString;
|
|
5202
|
-
name: Type$2.TString;
|
|
5203
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
5192
|
+
status: Type$2.TLiteral<"skipped">;
|
|
5204
5193
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
5205
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
5206
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
5207
5194
|
time: Type$2.TObject<{
|
|
5208
5195
|
start: Type$2.TNumber;
|
|
5209
5196
|
end: Type$2.TNumber;
|
|
5210
5197
|
}>;
|
|
5211
|
-
|
|
5198
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
5199
|
+
}>, Type$2.TObject<{
|
|
5200
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
5201
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
5202
|
+
callID: Type$2.TString;
|
|
5203
|
+
name: Type$2.TString;
|
|
5204
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
5212
5205
|
result: Type$2.TObject<{
|
|
5213
5206
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
5214
5207
|
type: Type$2.TLiteral<"text">;
|
|
@@ -5222,6 +5215,13 @@ declare const AssistantMessageSchema: Type$2.TObject<{
|
|
|
5222
5215
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
5223
5216
|
isError: Type$2.TLiteral<true>;
|
|
5224
5217
|
}>;
|
|
5218
|
+
status: Type$2.TLiteral<"aborted">;
|
|
5219
|
+
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
5220
|
+
time: Type$2.TObject<{
|
|
5221
|
+
start: Type$2.TNumber;
|
|
5222
|
+
end: Type$2.TNumber;
|
|
5223
|
+
}>;
|
|
5224
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
5225
5225
|
}>]>]>]>>;
|
|
5226
5226
|
responseId: Type$2.TOptional<Type$2.TString>;
|
|
5227
5227
|
responseModel: Type$2.TOptional<Type$2.TString>;
|
|
@@ -5245,7 +5245,7 @@ declare const MessageSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
5245
5245
|
}>]>>;
|
|
5246
5246
|
}>, Type$2.TObject<{
|
|
5247
5247
|
role: Type$2.TLiteral<"assistant">;
|
|
5248
|
-
protocol: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
5248
|
+
protocol: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"github-copilot">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
5249
5249
|
provider: Type$2.TObject<{
|
|
5250
5250
|
id: Type$2.TString;
|
|
5251
5251
|
name: Type$2.TString;
|
|
@@ -5421,18 +5421,11 @@ declare const MessageSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
5421
5421
|
}>, Type$2.TObject<{
|
|
5422
5422
|
status: Type$2.TLiteral<"pending">;
|
|
5423
5423
|
}>]>, Type$2.TObject<{
|
|
5424
|
-
|
|
5424
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
5425
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
5425
5426
|
callID: Type$2.TString;
|
|
5426
5427
|
name: Type$2.TString;
|
|
5427
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
5428
|
-
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
5429
5428
|
namespace: Type$2.TOptional<Type$2.TString>;
|
|
5430
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
5431
|
-
time: Type$2.TObject<{
|
|
5432
|
-
start: Type$2.TNumber;
|
|
5433
|
-
end: Type$2.TNumber;
|
|
5434
|
-
}>;
|
|
5435
|
-
status: Type$2.TLiteral<"running">;
|
|
5436
5429
|
partial: Type$2.TOptional<Type$2.TObject<{
|
|
5437
5430
|
content: Type$2.TOptional<Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
5438
5431
|
type: Type$2.TLiteral<"text">;
|
|
@@ -5445,19 +5438,19 @@ declare const MessageSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
5445
5438
|
}>]>>>;
|
|
5446
5439
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
5447
5440
|
}>>;
|
|
5448
|
-
|
|
5449
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
5450
|
-
callID: Type$2.TString;
|
|
5451
|
-
name: Type$2.TString;
|
|
5452
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
5441
|
+
status: Type$2.TLiteral<"running">;
|
|
5453
5442
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
5454
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
5455
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
5456
5443
|
time: Type$2.TObject<{
|
|
5457
5444
|
start: Type$2.TNumber;
|
|
5458
5445
|
end: Type$2.TNumber;
|
|
5459
5446
|
}>;
|
|
5460
|
-
|
|
5447
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
5448
|
+
}>, Type$2.TUnion<[Type$2.TObject<{
|
|
5449
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
5450
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
5451
|
+
callID: Type$2.TString;
|
|
5452
|
+
name: Type$2.TString;
|
|
5453
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
5461
5454
|
result: Type$2.TObject<{
|
|
5462
5455
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
5463
5456
|
type: Type$2.TLiteral<"text">;
|
|
@@ -5471,19 +5464,19 @@ declare const MessageSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
5471
5464
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
5472
5465
|
isError: Type$2.TLiteral<false>;
|
|
5473
5466
|
}>;
|
|
5474
|
-
|
|
5475
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
5476
|
-
callID: Type$2.TString;
|
|
5477
|
-
name: Type$2.TString;
|
|
5478
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
5467
|
+
status: Type$2.TLiteral<"completed">;
|
|
5479
5468
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
5480
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
5481
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
5482
5469
|
time: Type$2.TObject<{
|
|
5483
5470
|
start: Type$2.TNumber;
|
|
5484
5471
|
end: Type$2.TNumber;
|
|
5485
5472
|
}>;
|
|
5486
|
-
|
|
5473
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
5474
|
+
}>, Type$2.TObject<{
|
|
5475
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
5476
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
5477
|
+
callID: Type$2.TString;
|
|
5478
|
+
name: Type$2.TString;
|
|
5479
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
5487
5480
|
result: Type$2.TObject<{
|
|
5488
5481
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
5489
5482
|
type: Type$2.TLiteral<"text">;
|
|
@@ -5497,19 +5490,19 @@ declare const MessageSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
5497
5490
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
5498
5491
|
isError: Type$2.TLiteral<true>;
|
|
5499
5492
|
}>;
|
|
5500
|
-
|
|
5501
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
5502
|
-
callID: Type$2.TString;
|
|
5503
|
-
name: Type$2.TString;
|
|
5504
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
5493
|
+
status: Type$2.TLiteral<"error">;
|
|
5505
5494
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
5506
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
5507
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
5508
5495
|
time: Type$2.TObject<{
|
|
5509
5496
|
start: Type$2.TNumber;
|
|
5510
5497
|
end: Type$2.TNumber;
|
|
5511
5498
|
}>;
|
|
5512
|
-
|
|
5499
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
5500
|
+
}>, Type$2.TObject<{
|
|
5501
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
5502
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
5503
|
+
callID: Type$2.TString;
|
|
5504
|
+
name: Type$2.TString;
|
|
5505
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
5513
5506
|
result: Type$2.TObject<{
|
|
5514
5507
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
5515
5508
|
type: Type$2.TLiteral<"text">;
|
|
@@ -5523,19 +5516,19 @@ declare const MessageSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
5523
5516
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
5524
5517
|
isError: Type$2.TLiteral<true>;
|
|
5525
5518
|
}>;
|
|
5526
|
-
|
|
5527
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
5528
|
-
callID: Type$2.TString;
|
|
5529
|
-
name: Type$2.TString;
|
|
5530
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
5519
|
+
status: Type$2.TLiteral<"skipped">;
|
|
5531
5520
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
5532
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
5533
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
5534
5521
|
time: Type$2.TObject<{
|
|
5535
5522
|
start: Type$2.TNumber;
|
|
5536
5523
|
end: Type$2.TNumber;
|
|
5537
5524
|
}>;
|
|
5538
|
-
|
|
5525
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
5526
|
+
}>, Type$2.TObject<{
|
|
5527
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
5528
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
5529
|
+
callID: Type$2.TString;
|
|
5530
|
+
name: Type$2.TString;
|
|
5531
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
5539
5532
|
result: Type$2.TObject<{
|
|
5540
5533
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
5541
5534
|
type: Type$2.TLiteral<"text">;
|
|
@@ -5549,6 +5542,13 @@ declare const MessageSchema: Type$2.TUnion<[Type$2.TObject<{
|
|
|
5549
5542
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
5550
5543
|
isError: Type$2.TLiteral<true>;
|
|
5551
5544
|
}>;
|
|
5545
|
+
status: Type$2.TLiteral<"aborted">;
|
|
5546
|
+
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
5547
|
+
time: Type$2.TObject<{
|
|
5548
|
+
start: Type$2.TNumber;
|
|
5549
|
+
end: Type$2.TNumber;
|
|
5550
|
+
}>;
|
|
5551
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
5552
5552
|
}>]>]>]>>;
|
|
5553
5553
|
responseId: Type$2.TOptional<Type$2.TString>;
|
|
5554
5554
|
responseModel: Type$2.TOptional<Type$2.TString>;
|
|
@@ -5644,7 +5644,7 @@ declare const ContextSchema: Type$2.TObject<{
|
|
|
5644
5644
|
}>]>>;
|
|
5645
5645
|
}>, Type$2.TObject<{
|
|
5646
5646
|
role: Type$2.TLiteral<"assistant">;
|
|
5647
|
-
protocol: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
5647
|
+
protocol: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"github-copilot">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
5648
5648
|
provider: Type$2.TObject<{
|
|
5649
5649
|
id: Type$2.TString;
|
|
5650
5650
|
name: Type$2.TString;
|
|
@@ -5820,18 +5820,11 @@ declare const ContextSchema: Type$2.TObject<{
|
|
|
5820
5820
|
}>, Type$2.TObject<{
|
|
5821
5821
|
status: Type$2.TLiteral<"pending">;
|
|
5822
5822
|
}>]>, Type$2.TObject<{
|
|
5823
|
-
|
|
5823
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
5824
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
5824
5825
|
callID: Type$2.TString;
|
|
5825
5826
|
name: Type$2.TString;
|
|
5826
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
5827
|
-
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
5828
5827
|
namespace: Type$2.TOptional<Type$2.TString>;
|
|
5829
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
5830
|
-
time: Type$2.TObject<{
|
|
5831
|
-
start: Type$2.TNumber;
|
|
5832
|
-
end: Type$2.TNumber;
|
|
5833
|
-
}>;
|
|
5834
|
-
status: Type$2.TLiteral<"running">;
|
|
5835
5828
|
partial: Type$2.TOptional<Type$2.TObject<{
|
|
5836
5829
|
content: Type$2.TOptional<Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
5837
5830
|
type: Type$2.TLiteral<"text">;
|
|
@@ -5844,19 +5837,19 @@ declare const ContextSchema: Type$2.TObject<{
|
|
|
5844
5837
|
}>]>>>;
|
|
5845
5838
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
5846
5839
|
}>>;
|
|
5847
|
-
|
|
5848
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
5849
|
-
callID: Type$2.TString;
|
|
5850
|
-
name: Type$2.TString;
|
|
5851
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
5840
|
+
status: Type$2.TLiteral<"running">;
|
|
5852
5841
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
5853
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
5854
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
5855
5842
|
time: Type$2.TObject<{
|
|
5856
5843
|
start: Type$2.TNumber;
|
|
5857
5844
|
end: Type$2.TNumber;
|
|
5858
5845
|
}>;
|
|
5859
|
-
|
|
5846
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
5847
|
+
}>, Type$2.TUnion<[Type$2.TObject<{
|
|
5848
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
5849
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
5850
|
+
callID: Type$2.TString;
|
|
5851
|
+
name: Type$2.TString;
|
|
5852
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
5860
5853
|
result: Type$2.TObject<{
|
|
5861
5854
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
5862
5855
|
type: Type$2.TLiteral<"text">;
|
|
@@ -5870,19 +5863,19 @@ declare const ContextSchema: Type$2.TObject<{
|
|
|
5870
5863
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
5871
5864
|
isError: Type$2.TLiteral<false>;
|
|
5872
5865
|
}>;
|
|
5873
|
-
|
|
5874
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
5875
|
-
callID: Type$2.TString;
|
|
5876
|
-
name: Type$2.TString;
|
|
5877
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
5866
|
+
status: Type$2.TLiteral<"completed">;
|
|
5878
5867
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
5879
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
5880
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
5881
5868
|
time: Type$2.TObject<{
|
|
5882
5869
|
start: Type$2.TNumber;
|
|
5883
5870
|
end: Type$2.TNumber;
|
|
5884
5871
|
}>;
|
|
5885
|
-
|
|
5872
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
5873
|
+
}>, Type$2.TObject<{
|
|
5874
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
5875
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
5876
|
+
callID: Type$2.TString;
|
|
5877
|
+
name: Type$2.TString;
|
|
5878
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
5886
5879
|
result: Type$2.TObject<{
|
|
5887
5880
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
5888
5881
|
type: Type$2.TLiteral<"text">;
|
|
@@ -5896,19 +5889,19 @@ declare const ContextSchema: Type$2.TObject<{
|
|
|
5896
5889
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
5897
5890
|
isError: Type$2.TLiteral<true>;
|
|
5898
5891
|
}>;
|
|
5899
|
-
|
|
5900
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
5901
|
-
callID: Type$2.TString;
|
|
5902
|
-
name: Type$2.TString;
|
|
5903
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
5892
|
+
status: Type$2.TLiteral<"error">;
|
|
5904
5893
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
5905
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
5906
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
5907
5894
|
time: Type$2.TObject<{
|
|
5908
5895
|
start: Type$2.TNumber;
|
|
5909
5896
|
end: Type$2.TNumber;
|
|
5910
5897
|
}>;
|
|
5911
|
-
|
|
5898
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
5899
|
+
}>, Type$2.TObject<{
|
|
5900
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
5901
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
5902
|
+
callID: Type$2.TString;
|
|
5903
|
+
name: Type$2.TString;
|
|
5904
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
5912
5905
|
result: Type$2.TObject<{
|
|
5913
5906
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
5914
5907
|
type: Type$2.TLiteral<"text">;
|
|
@@ -5922,19 +5915,19 @@ declare const ContextSchema: Type$2.TObject<{
|
|
|
5922
5915
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
5923
5916
|
isError: Type$2.TLiteral<true>;
|
|
5924
5917
|
}>;
|
|
5925
|
-
|
|
5926
|
-
type: Type$2.TLiteral<"toolCall">;
|
|
5927
|
-
callID: Type$2.TString;
|
|
5928
|
-
name: Type$2.TString;
|
|
5929
|
-
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
5918
|
+
status: Type$2.TLiteral<"skipped">;
|
|
5930
5919
|
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
5931
|
-
namespace: Type$2.TOptional<Type$2.TString>;
|
|
5932
|
-
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
5933
5920
|
time: Type$2.TObject<{
|
|
5934
5921
|
start: Type$2.TNumber;
|
|
5935
5922
|
end: Type$2.TNumber;
|
|
5936
5923
|
}>;
|
|
5937
|
-
|
|
5924
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
5925
|
+
}>, Type$2.TObject<{
|
|
5926
|
+
addedToolNames: Type$2.TOptional<Type$2.TArray<Type$2.TString>>;
|
|
5927
|
+
arguments: Type$2.TRecord<"^.*$", Type$2.TAny>;
|
|
5928
|
+
callID: Type$2.TString;
|
|
5929
|
+
name: Type$2.TString;
|
|
5930
|
+
namespace: Type$2.TOptional<Type$2.TString>;
|
|
5938
5931
|
result: Type$2.TObject<{
|
|
5939
5932
|
content: Type$2.TArray<Type$2.TUnion<[Type$2.TObject<{
|
|
5940
5933
|
type: Type$2.TLiteral<"text">;
|
|
@@ -5948,6 +5941,13 @@ declare const ContextSchema: Type$2.TObject<{
|
|
|
5948
5941
|
details: Type$2.TOptional<Type$2.TAny>;
|
|
5949
5942
|
isError: Type$2.TLiteral<true>;
|
|
5950
5943
|
}>;
|
|
5944
|
+
status: Type$2.TLiteral<"aborted">;
|
|
5945
|
+
thoughtSignature: Type$2.TOptional<Type$2.TString>;
|
|
5946
|
+
time: Type$2.TObject<{
|
|
5947
|
+
start: Type$2.TNumber;
|
|
5948
|
+
end: Type$2.TNumber;
|
|
5949
|
+
}>;
|
|
5950
|
+
type: Type$2.TLiteral<"toolCall">;
|
|
5951
5951
|
}>]>]>]>>;
|
|
5952
5952
|
responseId: Type$2.TOptional<Type$2.TString>;
|
|
5953
5953
|
responseModel: Type$2.TOptional<Type$2.TString>;
|
|
@@ -5973,7 +5973,7 @@ type Context = Static$1<typeof ContextSchema>;
|
|
|
5973
5973
|
declare function transformMessages<TProtocol extends KnownProviderEnum>(messages: Message[], model: TModel<TProtocol>, normalizeToolCallId?: (id: string, model: TModel<TProtocol>, source: AssistantMessage) => string): Message[];
|
|
5974
5974
|
//#endregion
|
|
5975
5975
|
//#region src/utils/eventstream.d.ts
|
|
5976
|
-
declare class EventStream<T, R = T> implements AsyncIterable<T> {
|
|
5976
|
+
export declare class EventStream<T, R = T> implements AsyncIterable<T> {
|
|
5977
5977
|
private queue;
|
|
5978
5978
|
private waiting;
|
|
5979
5979
|
private done;
|
|
@@ -5991,7 +5991,50 @@ declare class AssistantMessageEventStream extends EventStream<LLMMessageEvent, A
|
|
|
5991
5991
|
constructor();
|
|
5992
5992
|
}
|
|
5993
5993
|
/** Factory function for AssistantMessageEventStream (for use in extensions) */
|
|
5994
|
-
declare function createAssistantMessageEventStream(): AssistantMessageEventStream;
|
|
5994
|
+
export declare function createAssistantMessageEventStream(): AssistantMessageEventStream;
|
|
5995
|
+
//#endregion
|
|
5996
|
+
//#region src/providers/github-copilot/copilot-headers.d.ts
|
|
5997
|
+
/** `X-Interaction-Type` is `conversation-{type}`; only `agent` is wired today. */
|
|
5998
|
+
type GitHubCopilotInteractionType = "agent" | "subagent" | "background" | "compaction";
|
|
5999
|
+
//#endregion
|
|
6000
|
+
//#region src/providers/github-copilot/copilot-fetch.d.ts
|
|
6001
|
+
type GitHubCopilotApiKey = string | (() => string | PromiseLike<string | undefined> | undefined);
|
|
6002
|
+
//#endregion
|
|
6003
|
+
//#region src/providers/github-copilot/copilot-provider.d.ts
|
|
6004
|
+
interface GitHubCopilotProvider extends ProviderV4 {
|
|
6005
|
+
/** Chat Completions — the generic fallback for third-party models. */
|
|
6006
|
+
(modelId: string): LanguageModelV4;
|
|
6007
|
+
languageModel(modelId: string): LanguageModelV4;
|
|
6008
|
+
/** `POST /chat/completions` — Gemini, Kimi, and other third-party models. */
|
|
6009
|
+
chat(modelId: string): LanguageModelV4;
|
|
6010
|
+
/** `POST /responses` — GPT, Grok, OSWE, and MAI models. */
|
|
6011
|
+
responses(modelId: string): LanguageModelV4;
|
|
6012
|
+
/** `POST /v1/messages` — Claude models. */
|
|
6013
|
+
messages(modelId: string): LanguageModelV4;
|
|
6014
|
+
}
|
|
6015
|
+
interface GitHubCopilotProviderSettings {
|
|
6016
|
+
/**
|
|
6017
|
+
* Copilot API host. Defaults to `https://api.githubcopilot.com`; OAuth
|
|
6018
|
+
* credentials can carry a plan-specific `apiEndpoint` that overrides this.
|
|
6019
|
+
*/
|
|
6020
|
+
baseURL?: string;
|
|
6021
|
+
/**
|
|
6022
|
+
* GitHub OAuth token (`ghu_`/`gho_`) or an async resolver, e.g.
|
|
6023
|
+
* `() => getGitHubCopilotApiKey()`. Falls back to `COPILOT_GITHUB_TOKEN`.
|
|
6024
|
+
*/
|
|
6025
|
+
apiKey?: GitHubCopilotApiKey;
|
|
6026
|
+
/** Extra headers merged into every request. */
|
|
6027
|
+
headers?: Record<string, string>;
|
|
6028
|
+
/** Custom fetch implementation, applied underneath the Copilot wrapper. */
|
|
6029
|
+
fetch?: typeof globalThis.fetch;
|
|
6030
|
+
/** Sent as `X-Interaction-Id` so Copilot can group requests by session. */
|
|
6031
|
+
sessionId?: string;
|
|
6032
|
+
interactionType?: GitHubCopilotInteractionType;
|
|
6033
|
+
/** Forwarded to the Chat Completions adapter only. */
|
|
6034
|
+
transformRequestBody?: (body: Record<string, unknown>) => Record<string, unknown>;
|
|
6035
|
+
}
|
|
6036
|
+
export declare function createGitHubCopilot(options?: GitHubCopilotProviderSettings): GitHubCopilotProvider;
|
|
6037
|
+
export declare const githubCopilot: GitHubCopilotProvider;
|
|
5995
6038
|
//#endregion
|
|
5996
6039
|
//#region src/providers/openai-codex/codex-language-model.d.ts
|
|
5997
6040
|
type OpenAICodexModelId = "gpt-5.3-codex-spark" | "gpt-5.4" | "gpt-5.4-mini" | "gpt-5.5" | "gpt-5.6-luna" | "gpt-5.6-sol" | "gpt-5.6-terra" | (string & {});
|
|
@@ -6024,7 +6067,7 @@ type OpenAICodexGrammarConstraint = {
|
|
|
6024
6067
|
definition: string;
|
|
6025
6068
|
inputProperty: string;
|
|
6026
6069
|
};
|
|
6027
|
-
declare const openAICodexTools: {
|
|
6070
|
+
export declare const openAICodexTools: {
|
|
6028
6071
|
custom<TParameters extends TSchema$1>(args: {
|
|
6029
6072
|
name: string;
|
|
6030
6073
|
description: string;
|
|
@@ -6074,11 +6117,11 @@ interface OpenAICodexProviderSettings {
|
|
|
6074
6117
|
/** Model capabilities supplied by aikit or the direct caller; absent flags are disabled. */
|
|
6075
6118
|
compat?: OpenAICodexCompatibility;
|
|
6076
6119
|
}
|
|
6077
|
-
declare function createOpenAICodex(options?: OpenAICodexProviderSettings): OpenAICodexProvider;
|
|
6120
|
+
export declare function createOpenAICodex(options?: OpenAICodexProviderSettings): OpenAICodexProvider;
|
|
6078
6121
|
/**
|
|
6079
6122
|
* Default provider instance using `OPENAI_CODEX_API_KEY`.
|
|
6080
6123
|
*/
|
|
6081
|
-
declare const openaiCodex: OpenAICodexProvider;
|
|
6124
|
+
export declare const openaiCodex: OpenAICodexProvider;
|
|
6082
6125
|
//#endregion
|
|
6083
6126
|
//#region src/llm/options.d.ts
|
|
6084
6127
|
type ProviderOptionBag = Record<string, Record<string, unknown> | undefined>;
|
|
@@ -6094,6 +6137,7 @@ type AISDKOptions<TFactoryOptions, TProviderOptions extends ProviderOptionBag =
|
|
|
6094
6137
|
type OpenAILanguageOptions = OpenAILanguageModelResponsesOptions | OpenAILanguageModelChatOptions | OpenAILanguageModelCompletionOptions;
|
|
6095
6138
|
type OpenAICompatibleLanguageOptions = OpenAICompatibleLanguageModelChatOptions | OpenAICompatibleLanguageModelCompletionOptions;
|
|
6096
6139
|
type XaiLanguageOptions = XaiLanguageModelResponsesOptions | XaiLanguageModelChatOptions;
|
|
6140
|
+
type GitHubCopilotLanguageOptions = AnthropicLanguageModelOptions | OpenAILanguageModelResponsesOptions | OpenAICompatibleLanguageModelChatOptions;
|
|
6097
6141
|
type OpenAIOptions = AISDKOptions<OpenAIProviderSettings, {
|
|
6098
6142
|
openai?: OpenAILanguageOptions;
|
|
6099
6143
|
}>;
|
|
@@ -6111,6 +6155,9 @@ type OpenAICompatibleOptions = AISDKOptions<OpenAICompatibleProviderSettings, {
|
|
|
6111
6155
|
type OpenAICodexOptions = AISDKOptions<OpenAICodexProviderSettings, {
|
|
6112
6156
|
"openai-codex"?: OpenAICodexLanguageModelOptions;
|
|
6113
6157
|
}>;
|
|
6158
|
+
type GitHubCopilotOptions = AISDKOptions<GitHubCopilotProviderSettings, {
|
|
6159
|
+
"github-copilot"?: GitHubCopilotLanguageOptions;
|
|
6160
|
+
}>;
|
|
6114
6161
|
type OpenRouterOptions = AISDKOptions<OpenRouterProviderSettings, {
|
|
6115
6162
|
openrouter?: OpenRouterProviderOptions;
|
|
6116
6163
|
}>;
|
|
@@ -6119,7 +6166,7 @@ type XaiOptions = AISDKOptions<XaiProviderSettings, {
|
|
|
6119
6166
|
}>;
|
|
6120
6167
|
//#endregion
|
|
6121
6168
|
//#region src/llm/shared.d.ts
|
|
6122
|
-
declare const ThinkingBudgets: Type$1.TObject<{
|
|
6169
|
+
export declare const ThinkingBudgets: Type$1.TObject<{
|
|
6123
6170
|
high: Type$1.TOptional<Type$1.TNumber>;
|
|
6124
6171
|
low: Type$1.TOptional<Type$1.TNumber>;
|
|
6125
6172
|
max: Type$1.TOptional<Type$1.TNumber>;
|
|
@@ -6127,19 +6174,19 @@ declare const ThinkingBudgets: Type$1.TObject<{
|
|
|
6127
6174
|
minimal: Type$1.TOptional<Type$1.TNumber>;
|
|
6128
6175
|
xhigh: Type$1.TOptional<Type$1.TNumber>;
|
|
6129
6176
|
}>;
|
|
6130
|
-
type ThinkingBudgets = ThinkingBudgets$1;
|
|
6177
|
+
export type ThinkingBudgets = ThinkingBudgets$1;
|
|
6131
6178
|
declare const SharedOptions: Type$1.TObject<{
|
|
6132
|
-
|
|
6133
|
-
temperature: Type$1.TOptional<Type$1.TNumber>;
|
|
6179
|
+
apiKey: Type$1.TOptional<Type$1.TString>;
|
|
6134
6180
|
cacheRetention: Type$1.TOptional<Type$1.TUnion<[Type$1.TLiteral<"none">, Type$1.TLiteral<"short">, Type$1.TLiteral<"long">]>>;
|
|
6135
6181
|
headers: Type$1.TOptional<Type$1.TRecord<"^.*$", Type$1.TString>>;
|
|
6136
|
-
sessionId: Type$1.TOptional<Type$1.TString>;
|
|
6137
|
-
apiKey: Type$1.TOptional<Type$1.TString>;
|
|
6138
|
-
timeoutMs: Type$1.TOptional<Type$1.TNumber>;
|
|
6139
6182
|
maxRetries: Type$1.TOptional<Type$1.TNumber>;
|
|
6140
|
-
|
|
6141
|
-
onPayload: Type$1.TOptional<Type$1.TUnsafe<(payload: unknown, model: TModel<KnownProviderEnum>) => Promise<unknown>>>;
|
|
6183
|
+
maxTokens: Type$1.TOptional<Type$1.TNumber>;
|
|
6142
6184
|
metadata: Type$1.TOptional<Type$1.TRecord<"^.*$", Type$1.TUnknown>>;
|
|
6185
|
+
onPayload: Type$1.TOptional<Type$1.TUnsafe<(payload: unknown, model: TModel<KnownProviderEnum>) => Promise<unknown>>>;
|
|
6186
|
+
sessionId: Type$1.TOptional<Type$1.TString>;
|
|
6187
|
+
signal: Type$1.TOptional<Type$1.TUnsafe<AbortSignal>>;
|
|
6188
|
+
temperature: Type$1.TOptional<Type$1.TNumber>;
|
|
6189
|
+
timeoutMs: Type$1.TOptional<Type$1.TNumber>;
|
|
6143
6190
|
}>;
|
|
6144
6191
|
type SharedOptions = Static$1<typeof SharedOptions>;
|
|
6145
6192
|
declare namespace protocol_d_exports {
|
|
@@ -6147,12 +6194,12 @@ declare namespace protocol_d_exports {
|
|
|
6147
6194
|
}
|
|
6148
6195
|
declare const ProviderProtocolNotFoundError: {
|
|
6149
6196
|
new (data: {
|
|
6150
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
6197
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
6151
6198
|
}, options?: ErrorOptions): {
|
|
6152
6199
|
cause?: unknown;
|
|
6153
6200
|
readonly name: "ProviderProtocolNotFoundError";
|
|
6154
6201
|
readonly data: {
|
|
6155
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
6202
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
6156
6203
|
};
|
|
6157
6204
|
schema(): {
|
|
6158
6205
|
readonly $id: "ProviderProtocolNotFoundError";
|
|
@@ -6163,14 +6210,14 @@ declare const ProviderProtocolNotFoundError: {
|
|
|
6163
6210
|
readonly const: "ProviderProtocolNotFoundError";
|
|
6164
6211
|
};
|
|
6165
6212
|
readonly data: Type$2.TObject<{
|
|
6166
|
-
protocol: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
6213
|
+
protocol: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"github-copilot">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
6167
6214
|
}>;
|
|
6168
6215
|
};
|
|
6169
6216
|
};
|
|
6170
6217
|
toObject(): {
|
|
6171
6218
|
name: "ProviderProtocolNotFoundError";
|
|
6172
6219
|
data: {
|
|
6173
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
6220
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
6174
6221
|
};
|
|
6175
6222
|
};
|
|
6176
6223
|
message: string;
|
|
@@ -6190,7 +6237,7 @@ declare const ProviderProtocolNotFoundError: {
|
|
|
6190
6237
|
readonly const: "ProviderProtocolNotFoundError";
|
|
6191
6238
|
};
|
|
6192
6239
|
readonly data: Type$2.TObject<{
|
|
6193
|
-
protocol: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
6240
|
+
protocol: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"github-copilot">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
6194
6241
|
}>;
|
|
6195
6242
|
};
|
|
6196
6243
|
};
|
|
@@ -6198,7 +6245,7 @@ declare const ProviderProtocolNotFoundError: {
|
|
|
6198
6245
|
cause?: unknown;
|
|
6199
6246
|
readonly name: "ProviderProtocolNotFoundError";
|
|
6200
6247
|
readonly data: {
|
|
6201
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
6248
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
6202
6249
|
};
|
|
6203
6250
|
schema(): {
|
|
6204
6251
|
readonly $id: "ProviderProtocolNotFoundError";
|
|
@@ -6209,14 +6256,14 @@ declare const ProviderProtocolNotFoundError: {
|
|
|
6209
6256
|
readonly const: "ProviderProtocolNotFoundError";
|
|
6210
6257
|
};
|
|
6211
6258
|
readonly data: Type$2.TObject<{
|
|
6212
|
-
protocol: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
6259
|
+
protocol: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"github-copilot">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
6213
6260
|
}>;
|
|
6214
6261
|
};
|
|
6215
6262
|
};
|
|
6216
6263
|
toObject(): {
|
|
6217
6264
|
name: "ProviderProtocolNotFoundError";
|
|
6218
6265
|
data: {
|
|
6219
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
6266
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
6220
6267
|
};
|
|
6221
6268
|
};
|
|
6222
6269
|
message: string;
|
|
@@ -6536,14 +6583,14 @@ declare const ProviderProtocolNotFoundError: {
|
|
|
6536
6583
|
type ProviderProtocolNotFoundError = InstanceType<typeof ProviderProtocolNotFoundError>;
|
|
6537
6584
|
declare const ProtocolMismatchError: {
|
|
6538
6585
|
new (data: {
|
|
6539
|
-
actual: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
6540
|
-
expected: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
6586
|
+
actual: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
6587
|
+
expected: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
6541
6588
|
}, options?: ErrorOptions): {
|
|
6542
6589
|
cause?: unknown;
|
|
6543
6590
|
readonly name: "ProtocolMismatchError";
|
|
6544
6591
|
readonly data: {
|
|
6545
|
-
actual: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
6546
|
-
expected: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
6592
|
+
actual: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
6593
|
+
expected: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
6547
6594
|
};
|
|
6548
6595
|
schema(): {
|
|
6549
6596
|
readonly $id: "ProtocolMismatchError";
|
|
@@ -6554,16 +6601,16 @@ declare const ProtocolMismatchError: {
|
|
|
6554
6601
|
readonly const: "ProtocolMismatchError";
|
|
6555
6602
|
};
|
|
6556
6603
|
readonly data: Type$2.TObject<{
|
|
6557
|
-
actual: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
6558
|
-
expected: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
6604
|
+
actual: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"github-copilot">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
6605
|
+
expected: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"github-copilot">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
6559
6606
|
}>;
|
|
6560
6607
|
};
|
|
6561
6608
|
};
|
|
6562
6609
|
toObject(): {
|
|
6563
6610
|
name: "ProtocolMismatchError";
|
|
6564
6611
|
data: {
|
|
6565
|
-
actual: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
6566
|
-
expected: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
6612
|
+
actual: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
6613
|
+
expected: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
6567
6614
|
};
|
|
6568
6615
|
};
|
|
6569
6616
|
message: string;
|
|
@@ -6583,8 +6630,8 @@ declare const ProtocolMismatchError: {
|
|
|
6583
6630
|
readonly const: "ProtocolMismatchError";
|
|
6584
6631
|
};
|
|
6585
6632
|
readonly data: Type$2.TObject<{
|
|
6586
|
-
actual: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
6587
|
-
expected: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
6633
|
+
actual: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"github-copilot">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
6634
|
+
expected: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"github-copilot">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
6588
6635
|
}>;
|
|
6589
6636
|
};
|
|
6590
6637
|
};
|
|
@@ -6592,8 +6639,8 @@ declare const ProtocolMismatchError: {
|
|
|
6592
6639
|
cause?: unknown;
|
|
6593
6640
|
readonly name: "ProtocolMismatchError";
|
|
6594
6641
|
readonly data: {
|
|
6595
|
-
actual: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
6596
|
-
expected: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
6642
|
+
actual: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
6643
|
+
expected: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
6597
6644
|
};
|
|
6598
6645
|
schema(): {
|
|
6599
6646
|
readonly $id: "ProtocolMismatchError";
|
|
@@ -6604,16 +6651,16 @@ declare const ProtocolMismatchError: {
|
|
|
6604
6651
|
readonly const: "ProtocolMismatchError";
|
|
6605
6652
|
};
|
|
6606
6653
|
readonly data: Type$2.TObject<{
|
|
6607
|
-
actual: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
6608
|
-
expected: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
6654
|
+
actual: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"github-copilot">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
6655
|
+
expected: Type$2.TUnion<[Type$2.TLiteral<"anthropic">, Type$2.TLiteral<"google">, Type$2.TLiteral<"google-vertex">, Type$2.TLiteral<"google-vertex-anthropic">, Type$2.TLiteral<"github-copilot">, Type$2.TLiteral<"openai">, Type$2.TLiteral<"openai-compatible">, Type$2.TLiteral<"openai-codex">, Type$2.TLiteral<"openrouter">, Type$2.TLiteral<"xai">]>;
|
|
6609
6656
|
}>;
|
|
6610
6657
|
};
|
|
6611
6658
|
};
|
|
6612
6659
|
toObject(): {
|
|
6613
6660
|
name: "ProtocolMismatchError";
|
|
6614
6661
|
data: {
|
|
6615
|
-
actual: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
6616
|
-
expected: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
6662
|
+
actual: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
6663
|
+
expected: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
6617
6664
|
};
|
|
6618
6665
|
};
|
|
6619
6666
|
message: string;
|
|
@@ -7340,6 +7387,7 @@ interface OptionsByProtocol {
|
|
|
7340
7387
|
[KnownProviderEnum.googleVertexAnthropic]: GoogleVertexAnthropicOptions;
|
|
7341
7388
|
[KnownProviderEnum.openaiCompatible]: OpenAICompatibleOptions;
|
|
7342
7389
|
[KnownProviderEnum.openaiCodex]: OpenAICodexOptions;
|
|
7390
|
+
[KnownProviderEnum.githubCopilot]: GitHubCopilotOptions;
|
|
7343
7391
|
[KnownProviderEnum.openrouter]: OpenRouterOptions;
|
|
7344
7392
|
[KnownProviderEnum.xai]: XaiOptions;
|
|
7345
7393
|
}
|
|
@@ -7405,21 +7453,21 @@ type StreamCallable = {
|
|
|
7405
7453
|
* - `stream.complete(...)` resolves the final assistant message without manually iterating events.
|
|
7406
7454
|
* - `stream.resolveProtocolProvider(...)` exposes protocol resolution for advanced integrations.
|
|
7407
7455
|
*/
|
|
7408
|
-
declare const stream: StreamCallable;
|
|
7456
|
+
export declare const stream: StreamCallable;
|
|
7409
7457
|
//#endregion
|
|
7410
7458
|
//#region src/utils/validation.d.ts
|
|
7411
7459
|
/**
|
|
7412
7460
|
* Validates an arbitrary value against a TypeBox schema and returns the coerced value.
|
|
7413
7461
|
*/
|
|
7414
|
-
declare function validateSchema<T extends TSchema$1>(schema: T, value: unknown, label: string): Static$1<T>;
|
|
7462
|
+
export declare function validateSchema<T extends TSchema$1>(schema: T, value: unknown, label: string): Static$1<T>;
|
|
7415
7463
|
/**
|
|
7416
7464
|
* Finds a tool by name and validates the tool call arguments against its TypeBox schema
|
|
7417
7465
|
*/
|
|
7418
|
-
declare function validateToolCall<T extends Tool>(tools: T[], toolExecution: ToolCallInFlight): ToolArguments<T>;
|
|
7466
|
+
export declare function validateToolCall<T extends Tool>(tools: T[], toolExecution: ToolCallInFlight): ToolArguments<T>;
|
|
7419
7467
|
/**
|
|
7420
7468
|
* Validates tool call arguments against the tool's TypeBox schema
|
|
7421
7469
|
*/
|
|
7422
|
-
declare function validateToolArguments<T extends Tool>(tool: T, toolExecution: ToolCallInFlight): ToolArguments<T>;
|
|
7470
|
+
export declare function validateToolArguments<T extends Tool>(tool: T, toolExecution: ToolCallInFlight): ToolArguments<T>;
|
|
7423
7471
|
//#endregion
|
|
7424
|
-
export { type AnthropicOptions, type AssistantMessageEventStream, event_d_exports as Event,
|
|
7472
|
+
export { type AnthropicOptions, type AssistantMessageEventStream, event_d_exports as Event, failure_d_exports as Failure, type GitHubCopilotApiKey, type GitHubCopilotInteractionType, type GitHubCopilotOptions, type GitHubCopilotProvider, type GitHubCopilotProviderSettings, type GoogleOptions, type GoogleVertexAnthropicOptions, type GoogleVertexOptions, message_d_exports as Message, model_d_exports as Model, type OpenAICodexGrammarConstraint, type OpenAICodexOptions, type OpenAICodexProvider, type OpenAICodexProviderSettings, type OpenAICompatibleOptions, type OpenAIOptions, type OpenRouterOptions, protocol_d_exports as Protocol, type Static, type TSchema, Type, type XaiOptions };
|
|
7425
7473
|
//# sourceMappingURL=index.d.mts.map
|