@linnlabs/linnkit 0.32.2 → 0.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +31 -0
- package/dist/cli.cjs +312 -50
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +312 -50
- package/dist/cli.js.map +1 -1
- package/dist/context-manager.cjs +1 -0
- package/dist/context-manager.cjs.map +1 -1
- package/dist/context-manager.js +1 -0
- package/dist/context-manager.js.map +1 -1
- package/dist/contracts/agentSpec.d.cts +30 -30
- package/dist/contracts/agentSpec.d.ts +30 -30
- package/dist/contracts/audit.d.cts +32 -32
- package/dist/contracts/audit.d.ts +32 -32
- package/dist/contracts/contextPolicy.d.cts +36 -36
- package/dist/contracts/contextPolicy.d.ts +36 -36
- package/dist/contracts/events.d.cts +968 -968
- package/dist/contracts/events.d.ts +968 -968
- package/dist/contracts/execution.d.cts +8 -8
- package/dist/contracts/execution.d.ts +8 -8
- package/dist/contracts/messages.d.cts +204 -204
- package/dist/contracts/messages.d.ts +204 -204
- package/dist/contracts/sse.d.cts +891 -891
- package/dist/contracts/sse.d.ts +891 -891
- package/dist/contracts/sub-run-trace-payload.d.cts +26 -26
- package/dist/contracts/sub-run-trace-payload.d.ts +26 -26
- package/dist/contracts/token-accounting.d.cts +28 -28
- package/dist/contracts/token-accounting.d.ts +28 -28
- package/dist/index.cjs +383 -66
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +383 -66
- package/dist/index.js.map +1 -1
- package/dist/quickstart/toolRuntime.d.cts +1 -1
- package/dist/quickstart/toolRuntime.d.ts +1 -1
- package/dist/quickstart/types.d.cts +1 -1
- package/dist/quickstart/types.d.ts +1 -1
- package/dist/quickstart.cjs +312 -50
- package/dist/quickstart.cjs.map +1 -1
- package/dist/quickstart.js +312 -50
- package/dist/quickstart.js.map +1 -1
- package/dist/runtime-kernel/child-runs/childRunInvoker.d.cts +11 -0
- package/dist/runtime-kernel/child-runs/childRunInvoker.d.ts +11 -0
- package/dist/runtime-kernel/events/agentEvents.d.cts +98 -98
- package/dist/runtime-kernel/events/agentEvents.d.ts +98 -98
- package/dist/runtime-kernel/execution/eventBusEventPersistence.d.cts +15 -1
- package/dist/runtime-kernel/execution/eventBusEventPersistence.d.ts +15 -1
- package/dist/runtime-kernel/graph-engine/definitions/runContinuation.d.cts +34 -0
- package/dist/runtime-kernel/graph-engine/definitions/runContinuation.d.ts +34 -0
- package/dist/runtime-kernel/graph-engine/engine.d.cts +13 -2
- package/dist/runtime-kernel/graph-engine/engine.d.ts +13 -2
- package/dist/runtime-kernel/graph-engine/index.d.cts +2 -1
- package/dist/runtime-kernel/graph-engine/index.d.ts +2 -1
- package/dist/runtime-kernel/graph-engine/types.d.cts +8 -0
- package/dist/runtime-kernel/graph-engine/types.d.ts +8 -0
- package/dist/runtime-kernel/run-supervisor/definitions/runSupervisorContracts.d.cts +14 -2
- package/dist/runtime-kernel/run-supervisor/definitions/runSupervisorContracts.d.ts +14 -2
- package/dist/runtime-kernel/run-supervisor/memoryRunRegistryStore.d.cts +1 -0
- package/dist/runtime-kernel/run-supervisor/memoryRunRegistryStore.d.ts +1 -0
- package/dist/runtime-kernel/run-supervisor/runHandle.d.cts +9 -5
- package/dist/runtime-kernel/run-supervisor/runHandle.d.ts +9 -5
- package/dist/runtime-kernel/run-supervisor/runRegistryStorePort.d.cts +2 -0
- package/dist/runtime-kernel/run-supervisor/runRegistryStorePort.d.ts +2 -0
- package/dist/runtime-kernel/run-supervisor/runSupervisor.d.cts +7 -1
- package/dist/runtime-kernel/run-supervisor/runSupervisor.d.ts +7 -1
- package/dist/runtime-kernel.cjs +383 -66
- package/dist/runtime-kernel.cjs.map +1 -1
- package/dist/runtime-kernel.d.cts +2 -1
- package/dist/runtime-kernel.d.ts +2 -1
- package/dist/runtime-kernel.js +381 -67
- package/dist/runtime-kernel.js.map +1 -1
- package/dist/testkit.cjs +383 -66
- package/dist/testkit.cjs.map +1 -1
- package/dist/testkit.js +383 -66
- package/dist/testkit.js.map +1 -1
- package/docs/integration/01-installation.md +1 -1
- package/docs/integration/child-runs.md +12 -0
- package/docs/integration/persistence.md +23 -0
- package/docs/integration/run-supervisor.md +12 -2
- package/package.json +4 -4
|
@@ -21,15 +21,15 @@ declare const ToolCallWire: z.ZodObject<{
|
|
|
21
21
|
name: string;
|
|
22
22
|
arguments: string;
|
|
23
23
|
};
|
|
24
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
25
24
|
type: "function";
|
|
25
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
26
26
|
}, {
|
|
27
27
|
function: {
|
|
28
28
|
name: string;
|
|
29
29
|
arguments: string;
|
|
30
30
|
};
|
|
31
|
-
id: string;
|
|
32
31
|
type: "function";
|
|
32
|
+
id: string;
|
|
33
33
|
}>;
|
|
34
34
|
type ToolCallWire = z.infer<typeof ToolCallWire>;
|
|
35
35
|
declare const HistorySummaryMeta: z.ZodObject<{
|
|
@@ -74,15 +74,15 @@ declare const ToolCallsMeta: z.ZodObject<{
|
|
|
74
74
|
name: string;
|
|
75
75
|
arguments: string;
|
|
76
76
|
};
|
|
77
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
78
77
|
type: "function";
|
|
78
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
79
79
|
}, {
|
|
80
80
|
function: {
|
|
81
81
|
name: string;
|
|
82
82
|
arguments: string;
|
|
83
83
|
};
|
|
84
|
-
id: string;
|
|
85
84
|
type: "function";
|
|
85
|
+
id: string;
|
|
86
86
|
}>, "many">;
|
|
87
87
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
88
88
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -375,8 +375,8 @@ declare const ToolCallsMeta: z.ZodObject<{
|
|
|
375
375
|
name: string;
|
|
376
376
|
arguments: string;
|
|
377
377
|
};
|
|
378
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
379
378
|
type: "function";
|
|
379
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
380
380
|
}[];
|
|
381
381
|
provider_continuations?: {
|
|
382
382
|
kind: string;
|
|
@@ -443,8 +443,8 @@ declare const ToolCallsMeta: z.ZodObject<{
|
|
|
443
443
|
name: string;
|
|
444
444
|
arguments: string;
|
|
445
445
|
};
|
|
446
|
-
id: string;
|
|
447
446
|
type: "function";
|
|
447
|
+
id: string;
|
|
448
448
|
}[];
|
|
449
449
|
provider_continuations?: {
|
|
450
450
|
kind: string;
|
|
@@ -512,12 +512,12 @@ declare const ToolOutputMeta: z.ZodObject<{
|
|
|
512
512
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
513
513
|
tool_call_id: z.ZodBranded<z.ZodEffects<z.ZodString, string, string>, "ToolCallId">;
|
|
514
514
|
}, "strip", z.ZodTypeAny, {
|
|
515
|
-
tool_call_id: string & z.BRAND<"ToolCallId">;
|
|
516
515
|
tool_name: string;
|
|
516
|
+
tool_call_id: string & z.BRAND<"ToolCallId">;
|
|
517
517
|
args?: Record<string, unknown> | undefined;
|
|
518
518
|
}, {
|
|
519
|
-
tool_call_id: string;
|
|
520
519
|
tool_name: string;
|
|
520
|
+
tool_call_id: string;
|
|
521
521
|
args?: Record<string, unknown> | undefined;
|
|
522
522
|
}>;
|
|
523
523
|
type ToolOutputMeta = z.infer<typeof ToolOutputMeta>;
|
|
@@ -568,7 +568,7 @@ declare const TaskTrackingMeta: z.ZodObject<{
|
|
|
568
568
|
}, "strip", z.ZodTypeAny, {
|
|
569
569
|
taskType?: string | undefined;
|
|
570
570
|
taskId?: string | undefined;
|
|
571
|
-
taskStatus?: "requested" | "
|
|
571
|
+
taskStatus?: "requested" | "completed" | "failed" | "in_progress" | undefined;
|
|
572
572
|
taskTrackingInfo?: {
|
|
573
573
|
startTime?: number | undefined;
|
|
574
574
|
endTime?: number | undefined;
|
|
@@ -579,7 +579,7 @@ declare const TaskTrackingMeta: z.ZodObject<{
|
|
|
579
579
|
}, {
|
|
580
580
|
taskType?: string | undefined;
|
|
581
581
|
taskId?: string | undefined;
|
|
582
|
-
taskStatus?: "requested" | "
|
|
582
|
+
taskStatus?: "requested" | "completed" | "failed" | "in_progress" | undefined;
|
|
583
583
|
taskTrackingInfo?: {
|
|
584
584
|
startTime?: number | undefined;
|
|
585
585
|
endTime?: number | undefined;
|
|
@@ -614,15 +614,15 @@ declare const PersistentMetadata: z.ZodObject<{
|
|
|
614
614
|
name: string;
|
|
615
615
|
arguments: string;
|
|
616
616
|
};
|
|
617
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
618
617
|
type: "function";
|
|
618
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
619
619
|
}, {
|
|
620
620
|
function: {
|
|
621
621
|
name: string;
|
|
622
622
|
arguments: string;
|
|
623
623
|
};
|
|
624
|
-
id: string;
|
|
625
624
|
type: "function";
|
|
625
|
+
id: string;
|
|
626
626
|
}>, "many">>;
|
|
627
627
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
628
628
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -984,15 +984,15 @@ declare const PersistentMetadata: z.ZodObject<{
|
|
|
984
984
|
name: string;
|
|
985
985
|
arguments: string;
|
|
986
986
|
};
|
|
987
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
988
987
|
type: "function";
|
|
988
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
989
989
|
}, {
|
|
990
990
|
function: {
|
|
991
991
|
name: string;
|
|
992
992
|
arguments: string;
|
|
993
993
|
};
|
|
994
|
-
id: string;
|
|
995
994
|
type: "function";
|
|
995
|
+
id: string;
|
|
996
996
|
}>, "many">>;
|
|
997
997
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
998
998
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -1354,15 +1354,15 @@ declare const PersistentMetadata: z.ZodObject<{
|
|
|
1354
1354
|
name: string;
|
|
1355
1355
|
arguments: string;
|
|
1356
1356
|
};
|
|
1357
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
1358
1357
|
type: "function";
|
|
1358
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
1359
1359
|
}, {
|
|
1360
1360
|
function: {
|
|
1361
1361
|
name: string;
|
|
1362
1362
|
arguments: string;
|
|
1363
1363
|
};
|
|
1364
|
-
id: string;
|
|
1365
1364
|
type: "function";
|
|
1365
|
+
id: string;
|
|
1366
1366
|
}>, "many">>;
|
|
1367
1367
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1368
1368
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -1730,15 +1730,15 @@ declare const SystemMessage: z.ZodObject<{
|
|
|
1730
1730
|
name: string;
|
|
1731
1731
|
arguments: string;
|
|
1732
1732
|
};
|
|
1733
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
1734
1733
|
type: "function";
|
|
1734
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
1735
1735
|
}, {
|
|
1736
1736
|
function: {
|
|
1737
1737
|
name: string;
|
|
1738
1738
|
arguments: string;
|
|
1739
1739
|
};
|
|
1740
|
-
id: string;
|
|
1741
1740
|
type: "function";
|
|
1741
|
+
id: string;
|
|
1742
1742
|
}>, "many">>;
|
|
1743
1743
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1744
1744
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -2100,15 +2100,15 @@ declare const SystemMessage: z.ZodObject<{
|
|
|
2100
2100
|
name: string;
|
|
2101
2101
|
arguments: string;
|
|
2102
2102
|
};
|
|
2103
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
2104
2103
|
type: "function";
|
|
2104
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
2105
2105
|
}, {
|
|
2106
2106
|
function: {
|
|
2107
2107
|
name: string;
|
|
2108
2108
|
arguments: string;
|
|
2109
2109
|
};
|
|
2110
|
-
id: string;
|
|
2111
2110
|
type: "function";
|
|
2111
|
+
id: string;
|
|
2112
2112
|
}>, "many">>;
|
|
2113
2113
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2114
2114
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -2470,15 +2470,15 @@ declare const SystemMessage: z.ZodObject<{
|
|
|
2470
2470
|
name: string;
|
|
2471
2471
|
arguments: string;
|
|
2472
2472
|
};
|
|
2473
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
2474
2473
|
type: "function";
|
|
2474
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
2475
2475
|
}, {
|
|
2476
2476
|
function: {
|
|
2477
2477
|
name: string;
|
|
2478
2478
|
arguments: string;
|
|
2479
2479
|
};
|
|
2480
|
-
id: string;
|
|
2481
2480
|
type: "function";
|
|
2481
|
+
id: string;
|
|
2482
2482
|
}>, "many">>;
|
|
2483
2483
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2484
2484
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -2820,10 +2820,10 @@ declare const SystemMessage: z.ZodObject<{
|
|
|
2820
2820
|
role: z.ZodLiteral<"system">;
|
|
2821
2821
|
type: z.ZodEnum<["system_prompt", "history_summary", "context_injection"]>;
|
|
2822
2822
|
}, "strip", z.ZodTypeAny, {
|
|
2823
|
+
type: "history_summary" | "system_prompt" | "context_injection";
|
|
2823
2824
|
id: string;
|
|
2824
|
-
type: "system_prompt" | "history_summary" | "context_injection";
|
|
2825
|
-
content: string;
|
|
2826
2825
|
timestamp: number;
|
|
2826
|
+
content: string;
|
|
2827
2827
|
role: "system";
|
|
2828
2828
|
metadata?: z.objectOutputType<{
|
|
2829
2829
|
messageType: z.ZodOptional<z.ZodLiteral<"summary">>;
|
|
@@ -2850,15 +2850,15 @@ declare const SystemMessage: z.ZodObject<{
|
|
|
2850
2850
|
name: string;
|
|
2851
2851
|
arguments: string;
|
|
2852
2852
|
};
|
|
2853
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
2854
2853
|
type: "function";
|
|
2854
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
2855
2855
|
}, {
|
|
2856
2856
|
function: {
|
|
2857
2857
|
name: string;
|
|
2858
2858
|
arguments: string;
|
|
2859
2859
|
};
|
|
2860
|
-
id: string;
|
|
2861
2860
|
type: "function";
|
|
2861
|
+
id: string;
|
|
2862
2862
|
}>, "many">>;
|
|
2863
2863
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2864
2864
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -3197,10 +3197,10 @@ declare const SystemMessage: z.ZodObject<{
|
|
|
3197
3197
|
fencePlacement: z.ZodOptional<z.ZodString>;
|
|
3198
3198
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
3199
3199
|
}, {
|
|
3200
|
+
type: "history_summary" | "system_prompt" | "context_injection";
|
|
3200
3201
|
id: string;
|
|
3201
|
-
type: "system_prompt" | "history_summary" | "context_injection";
|
|
3202
|
-
content: string;
|
|
3203
3202
|
timestamp: number;
|
|
3203
|
+
content: string;
|
|
3204
3204
|
role: "system";
|
|
3205
3205
|
metadata?: z.objectInputType<{
|
|
3206
3206
|
messageType: z.ZodOptional<z.ZodLiteral<"summary">>;
|
|
@@ -3227,15 +3227,15 @@ declare const SystemMessage: z.ZodObject<{
|
|
|
3227
3227
|
name: string;
|
|
3228
3228
|
arguments: string;
|
|
3229
3229
|
};
|
|
3230
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
3231
3230
|
type: "function";
|
|
3231
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
3232
3232
|
}, {
|
|
3233
3233
|
function: {
|
|
3234
3234
|
name: string;
|
|
3235
3235
|
arguments: string;
|
|
3236
3236
|
};
|
|
3237
|
-
id: string;
|
|
3238
3237
|
type: "function";
|
|
3238
|
+
id: string;
|
|
3239
3239
|
}>, "many">>;
|
|
3240
3240
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3241
3241
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -3604,15 +3604,15 @@ declare const UserMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
3604
3604
|
name: string;
|
|
3605
3605
|
arguments: string;
|
|
3606
3606
|
};
|
|
3607
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
3608
3607
|
type: "function";
|
|
3608
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
3609
3609
|
}, {
|
|
3610
3610
|
function: {
|
|
3611
3611
|
name: string;
|
|
3612
3612
|
arguments: string;
|
|
3613
3613
|
};
|
|
3614
|
-
id: string;
|
|
3615
3614
|
type: "function";
|
|
3615
|
+
id: string;
|
|
3616
3616
|
}>, "many">>;
|
|
3617
3617
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3618
3618
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -3974,15 +3974,15 @@ declare const UserMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
3974
3974
|
name: string;
|
|
3975
3975
|
arguments: string;
|
|
3976
3976
|
};
|
|
3977
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
3978
3977
|
type: "function";
|
|
3978
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
3979
3979
|
}, {
|
|
3980
3980
|
function: {
|
|
3981
3981
|
name: string;
|
|
3982
3982
|
arguments: string;
|
|
3983
3983
|
};
|
|
3984
|
-
id: string;
|
|
3985
3984
|
type: "function";
|
|
3985
|
+
id: string;
|
|
3986
3986
|
}>, "many">>;
|
|
3987
3987
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3988
3988
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -4344,15 +4344,15 @@ declare const UserMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
4344
4344
|
name: string;
|
|
4345
4345
|
arguments: string;
|
|
4346
4346
|
};
|
|
4347
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
4348
4347
|
type: "function";
|
|
4348
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
4349
4349
|
}, {
|
|
4350
4350
|
function: {
|
|
4351
4351
|
name: string;
|
|
4352
4352
|
arguments: string;
|
|
4353
4353
|
};
|
|
4354
|
-
id: string;
|
|
4355
4354
|
type: "function";
|
|
4355
|
+
id: string;
|
|
4356
4356
|
}>, "many">>;
|
|
4357
4357
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4358
4358
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -4728,10 +4728,10 @@ declare const UserMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
4728
4728
|
label?: string | undefined;
|
|
4729
4729
|
}>, "many">>;
|
|
4730
4730
|
}, "strip", z.ZodTypeAny, {
|
|
4731
|
-
id: string;
|
|
4732
4731
|
type: "user_input";
|
|
4733
|
-
|
|
4732
|
+
id: string;
|
|
4734
4733
|
timestamp: number;
|
|
4734
|
+
content: string;
|
|
4735
4735
|
role: "user";
|
|
4736
4736
|
metadata?: z.objectOutputType<{
|
|
4737
4737
|
messageType: z.ZodOptional<z.ZodLiteral<"summary">>;
|
|
@@ -4758,15 +4758,15 @@ declare const UserMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
4758
4758
|
name: string;
|
|
4759
4759
|
arguments: string;
|
|
4760
4760
|
};
|
|
4761
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
4762
4761
|
type: "function";
|
|
4762
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
4763
4763
|
}, {
|
|
4764
4764
|
function: {
|
|
4765
4765
|
name: string;
|
|
4766
4766
|
arguments: string;
|
|
4767
4767
|
};
|
|
4768
|
-
id: string;
|
|
4769
4768
|
type: "function";
|
|
4769
|
+
id: string;
|
|
4770
4770
|
}>, "many">>;
|
|
4771
4771
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4772
4772
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -5117,10 +5117,10 @@ declare const UserMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
5117
5117
|
label?: string | undefined;
|
|
5118
5118
|
}[] | undefined;
|
|
5119
5119
|
}, {
|
|
5120
|
-
id: string;
|
|
5121
5120
|
type: "user_input";
|
|
5122
|
-
|
|
5121
|
+
id: string;
|
|
5123
5122
|
timestamp: number;
|
|
5123
|
+
content: string;
|
|
5124
5124
|
role: "user";
|
|
5125
5125
|
metadata?: z.objectInputType<{
|
|
5126
5126
|
messageType: z.ZodOptional<z.ZodLiteral<"summary">>;
|
|
@@ -5147,15 +5147,15 @@ declare const UserMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
5147
5147
|
name: string;
|
|
5148
5148
|
arguments: string;
|
|
5149
5149
|
};
|
|
5150
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
5151
5150
|
type: "function";
|
|
5151
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
5152
5152
|
}, {
|
|
5153
5153
|
function: {
|
|
5154
5154
|
name: string;
|
|
5155
5155
|
arguments: string;
|
|
5156
5156
|
};
|
|
5157
|
-
id: string;
|
|
5158
5157
|
type: "function";
|
|
5158
|
+
id: string;
|
|
5159
5159
|
}>, "many">>;
|
|
5160
5160
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5161
5161
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -5534,15 +5534,15 @@ declare const UserMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
5534
5534
|
name: string;
|
|
5535
5535
|
arguments: string;
|
|
5536
5536
|
};
|
|
5537
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
5538
5537
|
type: "function";
|
|
5538
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
5539
5539
|
}, {
|
|
5540
5540
|
function: {
|
|
5541
5541
|
name: string;
|
|
5542
5542
|
arguments: string;
|
|
5543
5543
|
};
|
|
5544
|
-
id: string;
|
|
5545
5544
|
type: "function";
|
|
5545
|
+
id: string;
|
|
5546
5546
|
}>, "many">>;
|
|
5547
5547
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5548
5548
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -5904,15 +5904,15 @@ declare const UserMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
5904
5904
|
name: string;
|
|
5905
5905
|
arguments: string;
|
|
5906
5906
|
};
|
|
5907
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
5908
5907
|
type: "function";
|
|
5908
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
5909
5909
|
}, {
|
|
5910
5910
|
function: {
|
|
5911
5911
|
name: string;
|
|
5912
5912
|
arguments: string;
|
|
5913
5913
|
};
|
|
5914
|
-
id: string;
|
|
5915
5914
|
type: "function";
|
|
5915
|
+
id: string;
|
|
5916
5916
|
}>, "many">>;
|
|
5917
5917
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5918
5918
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -6274,15 +6274,15 @@ declare const UserMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
6274
6274
|
name: string;
|
|
6275
6275
|
arguments: string;
|
|
6276
6276
|
};
|
|
6277
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
6278
6277
|
type: "function";
|
|
6278
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
6279
6279
|
}, {
|
|
6280
6280
|
function: {
|
|
6281
6281
|
name: string;
|
|
6282
6282
|
arguments: string;
|
|
6283
6283
|
};
|
|
6284
|
-
id: string;
|
|
6285
6284
|
type: "function";
|
|
6285
|
+
id: string;
|
|
6286
6286
|
}>, "many">>;
|
|
6287
6287
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6288
6288
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -6624,10 +6624,10 @@ declare const UserMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
6624
6624
|
role: z.ZodLiteral<"user">;
|
|
6625
6625
|
type: z.ZodEnum<["context_injection", "context_before", "context_after", "document_fragment", "task_request"]>;
|
|
6626
6626
|
}, "strip", z.ZodTypeAny, {
|
|
6627
|
-
id: string;
|
|
6628
6627
|
type: "context_injection" | "context_before" | "context_after" | "document_fragment" | "task_request";
|
|
6629
|
-
|
|
6628
|
+
id: string;
|
|
6630
6629
|
timestamp: number;
|
|
6630
|
+
content: string;
|
|
6631
6631
|
role: "user";
|
|
6632
6632
|
metadata?: z.objectOutputType<{
|
|
6633
6633
|
messageType: z.ZodOptional<z.ZodLiteral<"summary">>;
|
|
@@ -6654,15 +6654,15 @@ declare const UserMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
6654
6654
|
name: string;
|
|
6655
6655
|
arguments: string;
|
|
6656
6656
|
};
|
|
6657
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
6658
6657
|
type: "function";
|
|
6658
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
6659
6659
|
}, {
|
|
6660
6660
|
function: {
|
|
6661
6661
|
name: string;
|
|
6662
6662
|
arguments: string;
|
|
6663
6663
|
};
|
|
6664
|
-
id: string;
|
|
6665
6664
|
type: "function";
|
|
6665
|
+
id: string;
|
|
6666
6666
|
}>, "many">>;
|
|
6667
6667
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6668
6668
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -7001,10 +7001,10 @@ declare const UserMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
7001
7001
|
fencePlacement: z.ZodOptional<z.ZodString>;
|
|
7002
7002
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
7003
7003
|
}, {
|
|
7004
|
-
id: string;
|
|
7005
7004
|
type: "context_injection" | "context_before" | "context_after" | "document_fragment" | "task_request";
|
|
7006
|
-
|
|
7005
|
+
id: string;
|
|
7007
7006
|
timestamp: number;
|
|
7007
|
+
content: string;
|
|
7008
7008
|
role: "user";
|
|
7009
7009
|
metadata?: z.objectInputType<{
|
|
7010
7010
|
messageType: z.ZodOptional<z.ZodLiteral<"summary">>;
|
|
@@ -7031,15 +7031,15 @@ declare const UserMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
7031
7031
|
name: string;
|
|
7032
7032
|
arguments: string;
|
|
7033
7033
|
};
|
|
7034
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
7035
7034
|
type: "function";
|
|
7035
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
7036
7036
|
}, {
|
|
7037
7037
|
function: {
|
|
7038
7038
|
name: string;
|
|
7039
7039
|
arguments: string;
|
|
7040
7040
|
};
|
|
7041
|
-
id: string;
|
|
7042
7041
|
type: "function";
|
|
7042
|
+
id: string;
|
|
7043
7043
|
}>, "many">>;
|
|
7044
7044
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7045
7045
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -7408,15 +7408,15 @@ declare const AssistantMessage: z.ZodObject<{
|
|
|
7408
7408
|
name: string;
|
|
7409
7409
|
arguments: string;
|
|
7410
7410
|
};
|
|
7411
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
7412
7411
|
type: "function";
|
|
7412
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
7413
7413
|
}, {
|
|
7414
7414
|
function: {
|
|
7415
7415
|
name: string;
|
|
7416
7416
|
arguments: string;
|
|
7417
7417
|
};
|
|
7418
|
-
id: string;
|
|
7419
7418
|
type: "function";
|
|
7419
|
+
id: string;
|
|
7420
7420
|
}>, "many">>;
|
|
7421
7421
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7422
7422
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -7778,15 +7778,15 @@ declare const AssistantMessage: z.ZodObject<{
|
|
|
7778
7778
|
name: string;
|
|
7779
7779
|
arguments: string;
|
|
7780
7780
|
};
|
|
7781
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
7782
7781
|
type: "function";
|
|
7782
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
7783
7783
|
}, {
|
|
7784
7784
|
function: {
|
|
7785
7785
|
name: string;
|
|
7786
7786
|
arguments: string;
|
|
7787
7787
|
};
|
|
7788
|
-
id: string;
|
|
7789
7788
|
type: "function";
|
|
7789
|
+
id: string;
|
|
7790
7790
|
}>, "many">>;
|
|
7791
7791
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7792
7792
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -8148,15 +8148,15 @@ declare const AssistantMessage: z.ZodObject<{
|
|
|
8148
8148
|
name: string;
|
|
8149
8149
|
arguments: string;
|
|
8150
8150
|
};
|
|
8151
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
8152
8151
|
type: "function";
|
|
8152
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
8153
8153
|
}, {
|
|
8154
8154
|
function: {
|
|
8155
8155
|
name: string;
|
|
8156
8156
|
arguments: string;
|
|
8157
8157
|
};
|
|
8158
|
-
id: string;
|
|
8159
8158
|
type: "function";
|
|
8159
|
+
id: string;
|
|
8160
8160
|
}>, "many">>;
|
|
8161
8161
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8162
8162
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -8498,10 +8498,10 @@ declare const AssistantMessage: z.ZodObject<{
|
|
|
8498
8498
|
role: z.ZodLiteral<"assistant">;
|
|
8499
8499
|
type: z.ZodEnum<["thought", "final_answer", "tool_code", "tool_calls", "task_completion"]>;
|
|
8500
8500
|
}, "strip", z.ZodTypeAny, {
|
|
8501
|
+
type: "thought" | "tool_calls" | "final_answer" | "tool_code" | "task_completion";
|
|
8501
8502
|
id: string;
|
|
8502
|
-
type: "tool_calls" | "thought" | "final_answer" | "tool_code" | "task_completion";
|
|
8503
|
-
content: string;
|
|
8504
8503
|
timestamp: number;
|
|
8504
|
+
content: string;
|
|
8505
8505
|
role: "assistant";
|
|
8506
8506
|
metadata?: z.objectOutputType<{
|
|
8507
8507
|
messageType: z.ZodOptional<z.ZodLiteral<"summary">>;
|
|
@@ -8528,15 +8528,15 @@ declare const AssistantMessage: z.ZodObject<{
|
|
|
8528
8528
|
name: string;
|
|
8529
8529
|
arguments: string;
|
|
8530
8530
|
};
|
|
8531
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
8532
8531
|
type: "function";
|
|
8532
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
8533
8533
|
}, {
|
|
8534
8534
|
function: {
|
|
8535
8535
|
name: string;
|
|
8536
8536
|
arguments: string;
|
|
8537
8537
|
};
|
|
8538
|
-
id: string;
|
|
8539
8538
|
type: "function";
|
|
8539
|
+
id: string;
|
|
8540
8540
|
}>, "many">>;
|
|
8541
8541
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8542
8542
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -8875,10 +8875,10 @@ declare const AssistantMessage: z.ZodObject<{
|
|
|
8875
8875
|
fencePlacement: z.ZodOptional<z.ZodString>;
|
|
8876
8876
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
8877
8877
|
}, {
|
|
8878
|
+
type: "thought" | "tool_calls" | "final_answer" | "tool_code" | "task_completion";
|
|
8878
8879
|
id: string;
|
|
8879
|
-
type: "tool_calls" | "thought" | "final_answer" | "tool_code" | "task_completion";
|
|
8880
|
-
content: string;
|
|
8881
8880
|
timestamp: number;
|
|
8881
|
+
content: string;
|
|
8882
8882
|
role: "assistant";
|
|
8883
8883
|
metadata?: z.objectInputType<{
|
|
8884
8884
|
messageType: z.ZodOptional<z.ZodLiteral<"summary">>;
|
|
@@ -8905,15 +8905,15 @@ declare const AssistantMessage: z.ZodObject<{
|
|
|
8905
8905
|
name: string;
|
|
8906
8906
|
arguments: string;
|
|
8907
8907
|
};
|
|
8908
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
8909
8908
|
type: "function";
|
|
8909
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
8910
8910
|
}, {
|
|
8911
8911
|
function: {
|
|
8912
8912
|
name: string;
|
|
8913
8913
|
arguments: string;
|
|
8914
8914
|
};
|
|
8915
|
-
id: string;
|
|
8916
8915
|
type: "function";
|
|
8916
|
+
id: string;
|
|
8917
8917
|
}>, "many">>;
|
|
8918
8918
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8919
8919
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -9282,15 +9282,15 @@ declare const ToolMessage: z.ZodObject<{
|
|
|
9282
9282
|
name: string;
|
|
9283
9283
|
arguments: string;
|
|
9284
9284
|
};
|
|
9285
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
9286
9285
|
type: "function";
|
|
9286
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
9287
9287
|
}, {
|
|
9288
9288
|
function: {
|
|
9289
9289
|
name: string;
|
|
9290
9290
|
arguments: string;
|
|
9291
9291
|
};
|
|
9292
|
-
id: string;
|
|
9293
9292
|
type: "function";
|
|
9293
|
+
id: string;
|
|
9294
9294
|
}>, "many">>;
|
|
9295
9295
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9296
9296
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -9652,15 +9652,15 @@ declare const ToolMessage: z.ZodObject<{
|
|
|
9652
9652
|
name: string;
|
|
9653
9653
|
arguments: string;
|
|
9654
9654
|
};
|
|
9655
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
9656
9655
|
type: "function";
|
|
9656
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
9657
9657
|
}, {
|
|
9658
9658
|
function: {
|
|
9659
9659
|
name: string;
|
|
9660
9660
|
arguments: string;
|
|
9661
9661
|
};
|
|
9662
|
-
id: string;
|
|
9663
9662
|
type: "function";
|
|
9663
|
+
id: string;
|
|
9664
9664
|
}>, "many">>;
|
|
9665
9665
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9666
9666
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -10022,15 +10022,15 @@ declare const ToolMessage: z.ZodObject<{
|
|
|
10022
10022
|
name: string;
|
|
10023
10023
|
arguments: string;
|
|
10024
10024
|
};
|
|
10025
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
10026
10025
|
type: "function";
|
|
10026
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
10027
10027
|
}, {
|
|
10028
10028
|
function: {
|
|
10029
10029
|
name: string;
|
|
10030
10030
|
arguments: string;
|
|
10031
10031
|
};
|
|
10032
|
-
id: string;
|
|
10033
10032
|
type: "function";
|
|
10033
|
+
id: string;
|
|
10034
10034
|
}>, "many">>;
|
|
10035
10035
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10036
10036
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -10406,10 +10406,10 @@ declare const ToolMessage: z.ZodObject<{
|
|
|
10406
10406
|
label?: string | undefined;
|
|
10407
10407
|
}>, "many">>;
|
|
10408
10408
|
}, "strip", z.ZodTypeAny, {
|
|
10409
|
-
id: string;
|
|
10410
10409
|
type: "tool_output";
|
|
10411
|
-
|
|
10410
|
+
id: string;
|
|
10412
10411
|
timestamp: number;
|
|
10412
|
+
content: string;
|
|
10413
10413
|
role: "tool";
|
|
10414
10414
|
metadata?: z.objectOutputType<{
|
|
10415
10415
|
messageType: z.ZodOptional<z.ZodLiteral<"summary">>;
|
|
@@ -10436,15 +10436,15 @@ declare const ToolMessage: z.ZodObject<{
|
|
|
10436
10436
|
name: string;
|
|
10437
10437
|
arguments: string;
|
|
10438
10438
|
};
|
|
10439
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
10440
10439
|
type: "function";
|
|
10440
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
10441
10441
|
}, {
|
|
10442
10442
|
function: {
|
|
10443
10443
|
name: string;
|
|
10444
10444
|
arguments: string;
|
|
10445
10445
|
};
|
|
10446
|
-
id: string;
|
|
10447
10446
|
type: "function";
|
|
10447
|
+
id: string;
|
|
10448
10448
|
}>, "many">>;
|
|
10449
10449
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10450
10450
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -10795,10 +10795,10 @@ declare const ToolMessage: z.ZodObject<{
|
|
|
10795
10795
|
label?: string | undefined;
|
|
10796
10796
|
}[] | undefined;
|
|
10797
10797
|
}, {
|
|
10798
|
-
id: string;
|
|
10799
10798
|
type: "tool_output";
|
|
10800
|
-
|
|
10799
|
+
id: string;
|
|
10801
10800
|
timestamp: number;
|
|
10801
|
+
content: string;
|
|
10802
10802
|
role: "tool";
|
|
10803
10803
|
metadata?: z.objectInputType<{
|
|
10804
10804
|
messageType: z.ZodOptional<z.ZodLiteral<"summary">>;
|
|
@@ -10825,15 +10825,15 @@ declare const ToolMessage: z.ZodObject<{
|
|
|
10825
10825
|
name: string;
|
|
10826
10826
|
arguments: string;
|
|
10827
10827
|
};
|
|
10828
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
10829
10828
|
type: "function";
|
|
10829
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
10830
10830
|
}, {
|
|
10831
10831
|
function: {
|
|
10832
10832
|
name: string;
|
|
10833
10833
|
arguments: string;
|
|
10834
10834
|
};
|
|
10835
|
-
id: string;
|
|
10836
10835
|
type: "function";
|
|
10836
|
+
id: string;
|
|
10837
10837
|
}>, "many">>;
|
|
10838
10838
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10839
10839
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -11214,15 +11214,15 @@ declare const AiMessage: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, u
|
|
|
11214
11214
|
name: string;
|
|
11215
11215
|
arguments: string;
|
|
11216
11216
|
};
|
|
11217
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
11218
11217
|
type: "function";
|
|
11218
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
11219
11219
|
}, {
|
|
11220
11220
|
function: {
|
|
11221
11221
|
name: string;
|
|
11222
11222
|
arguments: string;
|
|
11223
11223
|
};
|
|
11224
|
-
id: string;
|
|
11225
11224
|
type: "function";
|
|
11225
|
+
id: string;
|
|
11226
11226
|
}>, "many">>;
|
|
11227
11227
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11228
11228
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -11584,15 +11584,15 @@ declare const AiMessage: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, u
|
|
|
11584
11584
|
name: string;
|
|
11585
11585
|
arguments: string;
|
|
11586
11586
|
};
|
|
11587
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
11588
11587
|
type: "function";
|
|
11588
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
11589
11589
|
}, {
|
|
11590
11590
|
function: {
|
|
11591
11591
|
name: string;
|
|
11592
11592
|
arguments: string;
|
|
11593
11593
|
};
|
|
11594
|
-
id: string;
|
|
11595
11594
|
type: "function";
|
|
11595
|
+
id: string;
|
|
11596
11596
|
}>, "many">>;
|
|
11597
11597
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11598
11598
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -11954,15 +11954,15 @@ declare const AiMessage: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, u
|
|
|
11954
11954
|
name: string;
|
|
11955
11955
|
arguments: string;
|
|
11956
11956
|
};
|
|
11957
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
11958
11957
|
type: "function";
|
|
11958
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
11959
11959
|
}, {
|
|
11960
11960
|
function: {
|
|
11961
11961
|
name: string;
|
|
11962
11962
|
arguments: string;
|
|
11963
11963
|
};
|
|
11964
|
-
id: string;
|
|
11965
11964
|
type: "function";
|
|
11965
|
+
id: string;
|
|
11966
11966
|
}>, "many">>;
|
|
11967
11967
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11968
11968
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -12304,10 +12304,10 @@ declare const AiMessage: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, u
|
|
|
12304
12304
|
role: z.ZodLiteral<"system">;
|
|
12305
12305
|
type: z.ZodEnum<["system_prompt", "history_summary", "context_injection"]>;
|
|
12306
12306
|
}, "strip", z.ZodTypeAny, {
|
|
12307
|
+
type: "history_summary" | "system_prompt" | "context_injection";
|
|
12307
12308
|
id: string;
|
|
12308
|
-
type: "system_prompt" | "history_summary" | "context_injection";
|
|
12309
|
-
content: string;
|
|
12310
12309
|
timestamp: number;
|
|
12310
|
+
content: string;
|
|
12311
12311
|
role: "system";
|
|
12312
12312
|
metadata?: z.objectOutputType<{
|
|
12313
12313
|
messageType: z.ZodOptional<z.ZodLiteral<"summary">>;
|
|
@@ -12334,15 +12334,15 @@ declare const AiMessage: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, u
|
|
|
12334
12334
|
name: string;
|
|
12335
12335
|
arguments: string;
|
|
12336
12336
|
};
|
|
12337
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
12338
12337
|
type: "function";
|
|
12338
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
12339
12339
|
}, {
|
|
12340
12340
|
function: {
|
|
12341
12341
|
name: string;
|
|
12342
12342
|
arguments: string;
|
|
12343
12343
|
};
|
|
12344
|
-
id: string;
|
|
12345
12344
|
type: "function";
|
|
12345
|
+
id: string;
|
|
12346
12346
|
}>, "many">>;
|
|
12347
12347
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12348
12348
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -12681,10 +12681,10 @@ declare const AiMessage: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, u
|
|
|
12681
12681
|
fencePlacement: z.ZodOptional<z.ZodString>;
|
|
12682
12682
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
12683
12683
|
}, {
|
|
12684
|
+
type: "history_summary" | "system_prompt" | "context_injection";
|
|
12684
12685
|
id: string;
|
|
12685
|
-
type: "system_prompt" | "history_summary" | "context_injection";
|
|
12686
|
-
content: string;
|
|
12687
12686
|
timestamp: number;
|
|
12687
|
+
content: string;
|
|
12688
12688
|
role: "system";
|
|
12689
12689
|
metadata?: z.objectInputType<{
|
|
12690
12690
|
messageType: z.ZodOptional<z.ZodLiteral<"summary">>;
|
|
@@ -12711,15 +12711,15 @@ declare const AiMessage: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, u
|
|
|
12711
12711
|
name: string;
|
|
12712
12712
|
arguments: string;
|
|
12713
12713
|
};
|
|
12714
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
12715
12714
|
type: "function";
|
|
12715
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
12716
12716
|
}, {
|
|
12717
12717
|
function: {
|
|
12718
12718
|
name: string;
|
|
12719
12719
|
arguments: string;
|
|
12720
12720
|
};
|
|
12721
|
-
id: string;
|
|
12722
12721
|
type: "function";
|
|
12722
|
+
id: string;
|
|
12723
12723
|
}>, "many">>;
|
|
12724
12724
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12725
12725
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -13086,15 +13086,15 @@ declare const AiMessage: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, u
|
|
|
13086
13086
|
name: string;
|
|
13087
13087
|
arguments: string;
|
|
13088
13088
|
};
|
|
13089
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
13090
13089
|
type: "function";
|
|
13090
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
13091
13091
|
}, {
|
|
13092
13092
|
function: {
|
|
13093
13093
|
name: string;
|
|
13094
13094
|
arguments: string;
|
|
13095
13095
|
};
|
|
13096
|
-
id: string;
|
|
13097
13096
|
type: "function";
|
|
13097
|
+
id: string;
|
|
13098
13098
|
}>, "many">>;
|
|
13099
13099
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
13100
13100
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -13456,15 +13456,15 @@ declare const AiMessage: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, u
|
|
|
13456
13456
|
name: string;
|
|
13457
13457
|
arguments: string;
|
|
13458
13458
|
};
|
|
13459
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
13460
13459
|
type: "function";
|
|
13460
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
13461
13461
|
}, {
|
|
13462
13462
|
function: {
|
|
13463
13463
|
name: string;
|
|
13464
13464
|
arguments: string;
|
|
13465
13465
|
};
|
|
13466
|
-
id: string;
|
|
13467
13466
|
type: "function";
|
|
13467
|
+
id: string;
|
|
13468
13468
|
}>, "many">>;
|
|
13469
13469
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
13470
13470
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -13826,15 +13826,15 @@ declare const AiMessage: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, u
|
|
|
13826
13826
|
name: string;
|
|
13827
13827
|
arguments: string;
|
|
13828
13828
|
};
|
|
13829
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
13830
13829
|
type: "function";
|
|
13830
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
13831
13831
|
}, {
|
|
13832
13832
|
function: {
|
|
13833
13833
|
name: string;
|
|
13834
13834
|
arguments: string;
|
|
13835
13835
|
};
|
|
13836
|
-
id: string;
|
|
13837
13836
|
type: "function";
|
|
13837
|
+
id: string;
|
|
13838
13838
|
}>, "many">>;
|
|
13839
13839
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
13840
13840
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -14210,10 +14210,10 @@ declare const AiMessage: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, u
|
|
|
14210
14210
|
label?: string | undefined;
|
|
14211
14211
|
}>, "many">>;
|
|
14212
14212
|
}, "strip", z.ZodTypeAny, {
|
|
14213
|
-
id: string;
|
|
14214
14213
|
type: "user_input";
|
|
14215
|
-
|
|
14214
|
+
id: string;
|
|
14216
14215
|
timestamp: number;
|
|
14216
|
+
content: string;
|
|
14217
14217
|
role: "user";
|
|
14218
14218
|
metadata?: z.objectOutputType<{
|
|
14219
14219
|
messageType: z.ZodOptional<z.ZodLiteral<"summary">>;
|
|
@@ -14240,15 +14240,15 @@ declare const AiMessage: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, u
|
|
|
14240
14240
|
name: string;
|
|
14241
14241
|
arguments: string;
|
|
14242
14242
|
};
|
|
14243
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
14244
14243
|
type: "function";
|
|
14244
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
14245
14245
|
}, {
|
|
14246
14246
|
function: {
|
|
14247
14247
|
name: string;
|
|
14248
14248
|
arguments: string;
|
|
14249
14249
|
};
|
|
14250
|
-
id: string;
|
|
14251
14250
|
type: "function";
|
|
14251
|
+
id: string;
|
|
14252
14252
|
}>, "many">>;
|
|
14253
14253
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
14254
14254
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -14599,10 +14599,10 @@ declare const AiMessage: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, u
|
|
|
14599
14599
|
label?: string | undefined;
|
|
14600
14600
|
}[] | undefined;
|
|
14601
14601
|
}, {
|
|
14602
|
-
id: string;
|
|
14603
14602
|
type: "user_input";
|
|
14604
|
-
|
|
14603
|
+
id: string;
|
|
14605
14604
|
timestamp: number;
|
|
14605
|
+
content: string;
|
|
14606
14606
|
role: "user";
|
|
14607
14607
|
metadata?: z.objectInputType<{
|
|
14608
14608
|
messageType: z.ZodOptional<z.ZodLiteral<"summary">>;
|
|
@@ -14629,15 +14629,15 @@ declare const AiMessage: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, u
|
|
|
14629
14629
|
name: string;
|
|
14630
14630
|
arguments: string;
|
|
14631
14631
|
};
|
|
14632
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
14633
14632
|
type: "function";
|
|
14633
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
14634
14634
|
}, {
|
|
14635
14635
|
function: {
|
|
14636
14636
|
name: string;
|
|
14637
14637
|
arguments: string;
|
|
14638
14638
|
};
|
|
14639
|
-
id: string;
|
|
14640
14639
|
type: "function";
|
|
14640
|
+
id: string;
|
|
14641
14641
|
}>, "many">>;
|
|
14642
14642
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
14643
14643
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -15016,15 +15016,15 @@ declare const AiMessage: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, u
|
|
|
15016
15016
|
name: string;
|
|
15017
15017
|
arguments: string;
|
|
15018
15018
|
};
|
|
15019
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
15020
15019
|
type: "function";
|
|
15020
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
15021
15021
|
}, {
|
|
15022
15022
|
function: {
|
|
15023
15023
|
name: string;
|
|
15024
15024
|
arguments: string;
|
|
15025
15025
|
};
|
|
15026
|
-
id: string;
|
|
15027
15026
|
type: "function";
|
|
15027
|
+
id: string;
|
|
15028
15028
|
}>, "many">>;
|
|
15029
15029
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15030
15030
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -15386,15 +15386,15 @@ declare const AiMessage: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, u
|
|
|
15386
15386
|
name: string;
|
|
15387
15387
|
arguments: string;
|
|
15388
15388
|
};
|
|
15389
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
15390
15389
|
type: "function";
|
|
15390
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
15391
15391
|
}, {
|
|
15392
15392
|
function: {
|
|
15393
15393
|
name: string;
|
|
15394
15394
|
arguments: string;
|
|
15395
15395
|
};
|
|
15396
|
-
id: string;
|
|
15397
15396
|
type: "function";
|
|
15397
|
+
id: string;
|
|
15398
15398
|
}>, "many">>;
|
|
15399
15399
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15400
15400
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -15756,15 +15756,15 @@ declare const AiMessage: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, u
|
|
|
15756
15756
|
name: string;
|
|
15757
15757
|
arguments: string;
|
|
15758
15758
|
};
|
|
15759
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
15760
15759
|
type: "function";
|
|
15760
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
15761
15761
|
}, {
|
|
15762
15762
|
function: {
|
|
15763
15763
|
name: string;
|
|
15764
15764
|
arguments: string;
|
|
15765
15765
|
};
|
|
15766
|
-
id: string;
|
|
15767
15766
|
type: "function";
|
|
15767
|
+
id: string;
|
|
15768
15768
|
}>, "many">>;
|
|
15769
15769
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15770
15770
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -16106,10 +16106,10 @@ declare const AiMessage: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, u
|
|
|
16106
16106
|
role: z.ZodLiteral<"user">;
|
|
16107
16107
|
type: z.ZodEnum<["context_injection", "context_before", "context_after", "document_fragment", "task_request"]>;
|
|
16108
16108
|
}, "strip", z.ZodTypeAny, {
|
|
16109
|
-
id: string;
|
|
16110
16109
|
type: "context_injection" | "context_before" | "context_after" | "document_fragment" | "task_request";
|
|
16111
|
-
|
|
16110
|
+
id: string;
|
|
16112
16111
|
timestamp: number;
|
|
16112
|
+
content: string;
|
|
16113
16113
|
role: "user";
|
|
16114
16114
|
metadata?: z.objectOutputType<{
|
|
16115
16115
|
messageType: z.ZodOptional<z.ZodLiteral<"summary">>;
|
|
@@ -16136,15 +16136,15 @@ declare const AiMessage: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, u
|
|
|
16136
16136
|
name: string;
|
|
16137
16137
|
arguments: string;
|
|
16138
16138
|
};
|
|
16139
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
16140
16139
|
type: "function";
|
|
16140
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
16141
16141
|
}, {
|
|
16142
16142
|
function: {
|
|
16143
16143
|
name: string;
|
|
16144
16144
|
arguments: string;
|
|
16145
16145
|
};
|
|
16146
|
-
id: string;
|
|
16147
16146
|
type: "function";
|
|
16147
|
+
id: string;
|
|
16148
16148
|
}>, "many">>;
|
|
16149
16149
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16150
16150
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -16483,10 +16483,10 @@ declare const AiMessage: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, u
|
|
|
16483
16483
|
fencePlacement: z.ZodOptional<z.ZodString>;
|
|
16484
16484
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
16485
16485
|
}, {
|
|
16486
|
-
id: string;
|
|
16487
16486
|
type: "context_injection" | "context_before" | "context_after" | "document_fragment" | "task_request";
|
|
16488
|
-
|
|
16487
|
+
id: string;
|
|
16489
16488
|
timestamp: number;
|
|
16489
|
+
content: string;
|
|
16490
16490
|
role: "user";
|
|
16491
16491
|
metadata?: z.objectInputType<{
|
|
16492
16492
|
messageType: z.ZodOptional<z.ZodLiteral<"summary">>;
|
|
@@ -16513,15 +16513,15 @@ declare const AiMessage: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, u
|
|
|
16513
16513
|
name: string;
|
|
16514
16514
|
arguments: string;
|
|
16515
16515
|
};
|
|
16516
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
16517
16516
|
type: "function";
|
|
16517
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
16518
16518
|
}, {
|
|
16519
16519
|
function: {
|
|
16520
16520
|
name: string;
|
|
16521
16521
|
arguments: string;
|
|
16522
16522
|
};
|
|
16523
|
-
id: string;
|
|
16524
16523
|
type: "function";
|
|
16524
|
+
id: string;
|
|
16525
16525
|
}>, "many">>;
|
|
16526
16526
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16527
16527
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -16888,15 +16888,15 @@ declare const AiMessage: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, u
|
|
|
16888
16888
|
name: string;
|
|
16889
16889
|
arguments: string;
|
|
16890
16890
|
};
|
|
16891
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
16892
16891
|
type: "function";
|
|
16892
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
16893
16893
|
}, {
|
|
16894
16894
|
function: {
|
|
16895
16895
|
name: string;
|
|
16896
16896
|
arguments: string;
|
|
16897
16897
|
};
|
|
16898
|
-
id: string;
|
|
16899
16898
|
type: "function";
|
|
16899
|
+
id: string;
|
|
16900
16900
|
}>, "many">>;
|
|
16901
16901
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16902
16902
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -17258,15 +17258,15 @@ declare const AiMessage: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, u
|
|
|
17258
17258
|
name: string;
|
|
17259
17259
|
arguments: string;
|
|
17260
17260
|
};
|
|
17261
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
17262
17261
|
type: "function";
|
|
17262
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
17263
17263
|
}, {
|
|
17264
17264
|
function: {
|
|
17265
17265
|
name: string;
|
|
17266
17266
|
arguments: string;
|
|
17267
17267
|
};
|
|
17268
|
-
id: string;
|
|
17269
17268
|
type: "function";
|
|
17269
|
+
id: string;
|
|
17270
17270
|
}>, "many">>;
|
|
17271
17271
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
17272
17272
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -17628,15 +17628,15 @@ declare const AiMessage: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, u
|
|
|
17628
17628
|
name: string;
|
|
17629
17629
|
arguments: string;
|
|
17630
17630
|
};
|
|
17631
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
17632
17631
|
type: "function";
|
|
17632
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
17633
17633
|
}, {
|
|
17634
17634
|
function: {
|
|
17635
17635
|
name: string;
|
|
17636
17636
|
arguments: string;
|
|
17637
17637
|
};
|
|
17638
|
-
id: string;
|
|
17639
17638
|
type: "function";
|
|
17639
|
+
id: string;
|
|
17640
17640
|
}>, "many">>;
|
|
17641
17641
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
17642
17642
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -17978,10 +17978,10 @@ declare const AiMessage: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, u
|
|
|
17978
17978
|
role: z.ZodLiteral<"assistant">;
|
|
17979
17979
|
type: z.ZodEnum<["thought", "final_answer", "tool_code", "tool_calls", "task_completion"]>;
|
|
17980
17980
|
}, "strip", z.ZodTypeAny, {
|
|
17981
|
+
type: "thought" | "tool_calls" | "final_answer" | "tool_code" | "task_completion";
|
|
17981
17982
|
id: string;
|
|
17982
|
-
type: "tool_calls" | "thought" | "final_answer" | "tool_code" | "task_completion";
|
|
17983
|
-
content: string;
|
|
17984
17983
|
timestamp: number;
|
|
17984
|
+
content: string;
|
|
17985
17985
|
role: "assistant";
|
|
17986
17986
|
metadata?: z.objectOutputType<{
|
|
17987
17987
|
messageType: z.ZodOptional<z.ZodLiteral<"summary">>;
|
|
@@ -18008,15 +18008,15 @@ declare const AiMessage: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, u
|
|
|
18008
18008
|
name: string;
|
|
18009
18009
|
arguments: string;
|
|
18010
18010
|
};
|
|
18011
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
18012
18011
|
type: "function";
|
|
18012
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
18013
18013
|
}, {
|
|
18014
18014
|
function: {
|
|
18015
18015
|
name: string;
|
|
18016
18016
|
arguments: string;
|
|
18017
18017
|
};
|
|
18018
|
-
id: string;
|
|
18019
18018
|
type: "function";
|
|
18019
|
+
id: string;
|
|
18020
18020
|
}>, "many">>;
|
|
18021
18021
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18022
18022
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -18355,10 +18355,10 @@ declare const AiMessage: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, u
|
|
|
18355
18355
|
fencePlacement: z.ZodOptional<z.ZodString>;
|
|
18356
18356
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
18357
18357
|
}, {
|
|
18358
|
+
type: "thought" | "tool_calls" | "final_answer" | "tool_code" | "task_completion";
|
|
18358
18359
|
id: string;
|
|
18359
|
-
type: "tool_calls" | "thought" | "final_answer" | "tool_code" | "task_completion";
|
|
18360
|
-
content: string;
|
|
18361
18360
|
timestamp: number;
|
|
18361
|
+
content: string;
|
|
18362
18362
|
role: "assistant";
|
|
18363
18363
|
metadata?: z.objectInputType<{
|
|
18364
18364
|
messageType: z.ZodOptional<z.ZodLiteral<"summary">>;
|
|
@@ -18385,15 +18385,15 @@ declare const AiMessage: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, u
|
|
|
18385
18385
|
name: string;
|
|
18386
18386
|
arguments: string;
|
|
18387
18387
|
};
|
|
18388
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
18389
18388
|
type: "function";
|
|
18389
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
18390
18390
|
}, {
|
|
18391
18391
|
function: {
|
|
18392
18392
|
name: string;
|
|
18393
18393
|
arguments: string;
|
|
18394
18394
|
};
|
|
18395
|
-
id: string;
|
|
18396
18395
|
type: "function";
|
|
18396
|
+
id: string;
|
|
18397
18397
|
}>, "many">>;
|
|
18398
18398
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18399
18399
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -18760,15 +18760,15 @@ declare const AiMessage: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, u
|
|
|
18760
18760
|
name: string;
|
|
18761
18761
|
arguments: string;
|
|
18762
18762
|
};
|
|
18763
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
18764
18763
|
type: "function";
|
|
18764
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
18765
18765
|
}, {
|
|
18766
18766
|
function: {
|
|
18767
18767
|
name: string;
|
|
18768
18768
|
arguments: string;
|
|
18769
18769
|
};
|
|
18770
|
-
id: string;
|
|
18771
18770
|
type: "function";
|
|
18771
|
+
id: string;
|
|
18772
18772
|
}>, "many">>;
|
|
18773
18773
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18774
18774
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -19130,15 +19130,15 @@ declare const AiMessage: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, u
|
|
|
19130
19130
|
name: string;
|
|
19131
19131
|
arguments: string;
|
|
19132
19132
|
};
|
|
19133
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
19134
19133
|
type: "function";
|
|
19134
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
19135
19135
|
}, {
|
|
19136
19136
|
function: {
|
|
19137
19137
|
name: string;
|
|
19138
19138
|
arguments: string;
|
|
19139
19139
|
};
|
|
19140
|
-
id: string;
|
|
19141
19140
|
type: "function";
|
|
19141
|
+
id: string;
|
|
19142
19142
|
}>, "many">>;
|
|
19143
19143
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
19144
19144
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -19500,15 +19500,15 @@ declare const AiMessage: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, u
|
|
|
19500
19500
|
name: string;
|
|
19501
19501
|
arguments: string;
|
|
19502
19502
|
};
|
|
19503
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
19504
19503
|
type: "function";
|
|
19504
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
19505
19505
|
}, {
|
|
19506
19506
|
function: {
|
|
19507
19507
|
name: string;
|
|
19508
19508
|
arguments: string;
|
|
19509
19509
|
};
|
|
19510
|
-
id: string;
|
|
19511
19510
|
type: "function";
|
|
19511
|
+
id: string;
|
|
19512
19512
|
}>, "many">>;
|
|
19513
19513
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
19514
19514
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -19884,10 +19884,10 @@ declare const AiMessage: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, u
|
|
|
19884
19884
|
label?: string | undefined;
|
|
19885
19885
|
}>, "many">>;
|
|
19886
19886
|
}, "strip", z.ZodTypeAny, {
|
|
19887
|
-
id: string;
|
|
19888
19887
|
type: "tool_output";
|
|
19889
|
-
|
|
19888
|
+
id: string;
|
|
19890
19889
|
timestamp: number;
|
|
19890
|
+
content: string;
|
|
19891
19891
|
role: "tool";
|
|
19892
19892
|
metadata?: z.objectOutputType<{
|
|
19893
19893
|
messageType: z.ZodOptional<z.ZodLiteral<"summary">>;
|
|
@@ -19914,15 +19914,15 @@ declare const AiMessage: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, u
|
|
|
19914
19914
|
name: string;
|
|
19915
19915
|
arguments: string;
|
|
19916
19916
|
};
|
|
19917
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
19918
19917
|
type: "function";
|
|
19918
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
19919
19919
|
}, {
|
|
19920
19920
|
function: {
|
|
19921
19921
|
name: string;
|
|
19922
19922
|
arguments: string;
|
|
19923
19923
|
};
|
|
19924
|
-
id: string;
|
|
19925
19924
|
type: "function";
|
|
19925
|
+
id: string;
|
|
19926
19926
|
}>, "many">>;
|
|
19927
19927
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
19928
19928
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -20273,10 +20273,10 @@ declare const AiMessage: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, u
|
|
|
20273
20273
|
label?: string | undefined;
|
|
20274
20274
|
}[] | undefined;
|
|
20275
20275
|
}, {
|
|
20276
|
-
id: string;
|
|
20277
20276
|
type: "tool_output";
|
|
20278
|
-
|
|
20277
|
+
id: string;
|
|
20279
20278
|
timestamp: number;
|
|
20279
|
+
content: string;
|
|
20280
20280
|
role: "tool";
|
|
20281
20281
|
metadata?: z.objectInputType<{
|
|
20282
20282
|
messageType: z.ZodOptional<z.ZodLiteral<"summary">>;
|
|
@@ -20303,15 +20303,15 @@ declare const AiMessage: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, u
|
|
|
20303
20303
|
name: string;
|
|
20304
20304
|
arguments: string;
|
|
20305
20305
|
};
|
|
20306
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
20307
20306
|
type: "function";
|
|
20307
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
20308
20308
|
}, {
|
|
20309
20309
|
function: {
|
|
20310
20310
|
name: string;
|
|
20311
20311
|
arguments: string;
|
|
20312
20312
|
};
|
|
20313
|
-
id: string;
|
|
20314
20313
|
type: "function";
|
|
20314
|
+
id: string;
|
|
20315
20315
|
}>, "many">>;
|
|
20316
20316
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
20317
20317
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -20662,10 +20662,10 @@ declare const AiMessage: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, u
|
|
|
20662
20662
|
label?: string | undefined;
|
|
20663
20663
|
}[] | undefined;
|
|
20664
20664
|
}>]>>, {
|
|
20665
|
+
type: "history_summary" | "system_prompt" | "context_injection";
|
|
20665
20666
|
id: string;
|
|
20666
|
-
type: "system_prompt" | "history_summary" | "context_injection";
|
|
20667
|
-
content: string;
|
|
20668
20667
|
timestamp: number;
|
|
20668
|
+
content: string;
|
|
20669
20669
|
role: "system";
|
|
20670
20670
|
metadata?: z.objectOutputType<{
|
|
20671
20671
|
messageType: z.ZodOptional<z.ZodLiteral<"summary">>;
|
|
@@ -20692,15 +20692,15 @@ declare const AiMessage: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, u
|
|
|
20692
20692
|
name: string;
|
|
20693
20693
|
arguments: string;
|
|
20694
20694
|
};
|
|
20695
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
20696
20695
|
type: "function";
|
|
20696
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
20697
20697
|
}, {
|
|
20698
20698
|
function: {
|
|
20699
20699
|
name: string;
|
|
20700
20700
|
arguments: string;
|
|
20701
20701
|
};
|
|
20702
|
-
id: string;
|
|
20703
20702
|
type: "function";
|
|
20703
|
+
id: string;
|
|
20704
20704
|
}>, "many">>;
|
|
20705
20705
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
20706
20706
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -21039,10 +21039,10 @@ declare const AiMessage: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, u
|
|
|
21039
21039
|
fencePlacement: z.ZodOptional<z.ZodString>;
|
|
21040
21040
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
21041
21041
|
} | {
|
|
21042
|
-
id: string;
|
|
21043
21042
|
type: "user_input";
|
|
21044
|
-
|
|
21043
|
+
id: string;
|
|
21045
21044
|
timestamp: number;
|
|
21045
|
+
content: string;
|
|
21046
21046
|
role: "user";
|
|
21047
21047
|
metadata?: z.objectOutputType<{
|
|
21048
21048
|
messageType: z.ZodOptional<z.ZodLiteral<"summary">>;
|
|
@@ -21069,15 +21069,15 @@ declare const AiMessage: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, u
|
|
|
21069
21069
|
name: string;
|
|
21070
21070
|
arguments: string;
|
|
21071
21071
|
};
|
|
21072
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
21073
21072
|
type: "function";
|
|
21073
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
21074
21074
|
}, {
|
|
21075
21075
|
function: {
|
|
21076
21076
|
name: string;
|
|
21077
21077
|
arguments: string;
|
|
21078
21078
|
};
|
|
21079
|
-
id: string;
|
|
21080
21079
|
type: "function";
|
|
21080
|
+
id: string;
|
|
21081
21081
|
}>, "many">>;
|
|
21082
21082
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
21083
21083
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -21428,10 +21428,10 @@ declare const AiMessage: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, u
|
|
|
21428
21428
|
label?: string | undefined;
|
|
21429
21429
|
}[] | undefined;
|
|
21430
21430
|
} | {
|
|
21431
|
-
id: string;
|
|
21432
21431
|
type: "context_injection" | "context_before" | "context_after" | "document_fragment" | "task_request";
|
|
21433
|
-
|
|
21432
|
+
id: string;
|
|
21434
21433
|
timestamp: number;
|
|
21434
|
+
content: string;
|
|
21435
21435
|
role: "user";
|
|
21436
21436
|
metadata?: z.objectOutputType<{
|
|
21437
21437
|
messageType: z.ZodOptional<z.ZodLiteral<"summary">>;
|
|
@@ -21458,15 +21458,15 @@ declare const AiMessage: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, u
|
|
|
21458
21458
|
name: string;
|
|
21459
21459
|
arguments: string;
|
|
21460
21460
|
};
|
|
21461
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
21462
21461
|
type: "function";
|
|
21462
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
21463
21463
|
}, {
|
|
21464
21464
|
function: {
|
|
21465
21465
|
name: string;
|
|
21466
21466
|
arguments: string;
|
|
21467
21467
|
};
|
|
21468
|
-
id: string;
|
|
21469
21468
|
type: "function";
|
|
21469
|
+
id: string;
|
|
21470
21470
|
}>, "many">>;
|
|
21471
21471
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
21472
21472
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -21805,10 +21805,10 @@ declare const AiMessage: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, u
|
|
|
21805
21805
|
fencePlacement: z.ZodOptional<z.ZodString>;
|
|
21806
21806
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
21807
21807
|
} | {
|
|
21808
|
+
type: "thought" | "tool_calls" | "final_answer" | "tool_code" | "task_completion";
|
|
21808
21809
|
id: string;
|
|
21809
|
-
type: "tool_calls" | "thought" | "final_answer" | "tool_code" | "task_completion";
|
|
21810
|
-
content: string;
|
|
21811
21810
|
timestamp: number;
|
|
21811
|
+
content: string;
|
|
21812
21812
|
role: "assistant";
|
|
21813
21813
|
metadata?: z.objectOutputType<{
|
|
21814
21814
|
messageType: z.ZodOptional<z.ZodLiteral<"summary">>;
|
|
@@ -21835,15 +21835,15 @@ declare const AiMessage: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, u
|
|
|
21835
21835
|
name: string;
|
|
21836
21836
|
arguments: string;
|
|
21837
21837
|
};
|
|
21838
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
21839
21838
|
type: "function";
|
|
21839
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
21840
21840
|
}, {
|
|
21841
21841
|
function: {
|
|
21842
21842
|
name: string;
|
|
21843
21843
|
arguments: string;
|
|
21844
21844
|
};
|
|
21845
|
-
id: string;
|
|
21846
21845
|
type: "function";
|
|
21846
|
+
id: string;
|
|
21847
21847
|
}>, "many">>;
|
|
21848
21848
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
21849
21849
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -22182,10 +22182,10 @@ declare const AiMessage: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, u
|
|
|
22182
22182
|
fencePlacement: z.ZodOptional<z.ZodString>;
|
|
22183
22183
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
22184
22184
|
} | {
|
|
22185
|
-
id: string;
|
|
22186
22185
|
type: "tool_output";
|
|
22187
|
-
|
|
22186
|
+
id: string;
|
|
22188
22187
|
timestamp: number;
|
|
22188
|
+
content: string;
|
|
22189
22189
|
role: "tool";
|
|
22190
22190
|
metadata?: z.objectOutputType<{
|
|
22191
22191
|
messageType: z.ZodOptional<z.ZodLiteral<"summary">>;
|
|
@@ -22212,15 +22212,15 @@ declare const AiMessage: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, u
|
|
|
22212
22212
|
name: string;
|
|
22213
22213
|
arguments: string;
|
|
22214
22214
|
};
|
|
22215
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
22216
22215
|
type: "function";
|
|
22216
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
22217
22217
|
}, {
|
|
22218
22218
|
function: {
|
|
22219
22219
|
name: string;
|
|
22220
22220
|
arguments: string;
|
|
22221
22221
|
};
|
|
22222
|
-
id: string;
|
|
22223
22222
|
type: "function";
|
|
22223
|
+
id: string;
|
|
22224
22224
|
}>, "many">>;
|
|
22225
22225
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
22226
22226
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -22603,15 +22603,15 @@ declare const UserInputMessage: z.ZodObject<{
|
|
|
22603
22603
|
name: string;
|
|
22604
22604
|
arguments: string;
|
|
22605
22605
|
};
|
|
22606
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
22607
22606
|
type: "function";
|
|
22607
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
22608
22608
|
}, {
|
|
22609
22609
|
function: {
|
|
22610
22610
|
name: string;
|
|
22611
22611
|
arguments: string;
|
|
22612
22612
|
};
|
|
22613
|
-
id: string;
|
|
22614
22613
|
type: "function";
|
|
22614
|
+
id: string;
|
|
22615
22615
|
}>, "many">>;
|
|
22616
22616
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
22617
22617
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -22973,15 +22973,15 @@ declare const UserInputMessage: z.ZodObject<{
|
|
|
22973
22973
|
name: string;
|
|
22974
22974
|
arguments: string;
|
|
22975
22975
|
};
|
|
22976
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
22977
22976
|
type: "function";
|
|
22977
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
22978
22978
|
}, {
|
|
22979
22979
|
function: {
|
|
22980
22980
|
name: string;
|
|
22981
22981
|
arguments: string;
|
|
22982
22982
|
};
|
|
22983
|
-
id: string;
|
|
22984
22983
|
type: "function";
|
|
22984
|
+
id: string;
|
|
22985
22985
|
}>, "many">>;
|
|
22986
22986
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
22987
22987
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -23343,15 +23343,15 @@ declare const UserInputMessage: z.ZodObject<{
|
|
|
23343
23343
|
name: string;
|
|
23344
23344
|
arguments: string;
|
|
23345
23345
|
};
|
|
23346
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
23347
23346
|
type: "function";
|
|
23347
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
23348
23348
|
}, {
|
|
23349
23349
|
function: {
|
|
23350
23350
|
name: string;
|
|
23351
23351
|
arguments: string;
|
|
23352
23352
|
};
|
|
23353
|
-
id: string;
|
|
23354
23353
|
type: "function";
|
|
23354
|
+
id: string;
|
|
23355
23355
|
}>, "many">>;
|
|
23356
23356
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
23357
23357
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -23727,10 +23727,10 @@ declare const UserInputMessage: z.ZodObject<{
|
|
|
23727
23727
|
label?: string | undefined;
|
|
23728
23728
|
}>, "many">>;
|
|
23729
23729
|
}, "strip", z.ZodTypeAny, {
|
|
23730
|
-
id: string;
|
|
23731
23730
|
type: "user_input";
|
|
23732
|
-
|
|
23731
|
+
id: string;
|
|
23733
23732
|
timestamp: number;
|
|
23733
|
+
content: string;
|
|
23734
23734
|
role: "user";
|
|
23735
23735
|
metadata?: z.objectOutputType<{
|
|
23736
23736
|
messageType: z.ZodOptional<z.ZodLiteral<"summary">>;
|
|
@@ -23757,15 +23757,15 @@ declare const UserInputMessage: z.ZodObject<{
|
|
|
23757
23757
|
name: string;
|
|
23758
23758
|
arguments: string;
|
|
23759
23759
|
};
|
|
23760
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
23761
23760
|
type: "function";
|
|
23761
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
23762
23762
|
}, {
|
|
23763
23763
|
function: {
|
|
23764
23764
|
name: string;
|
|
23765
23765
|
arguments: string;
|
|
23766
23766
|
};
|
|
23767
|
-
id: string;
|
|
23768
23767
|
type: "function";
|
|
23768
|
+
id: string;
|
|
23769
23769
|
}>, "many">>;
|
|
23770
23770
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
23771
23771
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -24116,10 +24116,10 @@ declare const UserInputMessage: z.ZodObject<{
|
|
|
24116
24116
|
label?: string | undefined;
|
|
24117
24117
|
}[] | undefined;
|
|
24118
24118
|
}, {
|
|
24119
|
-
id: string;
|
|
24120
24119
|
type: "user_input";
|
|
24121
|
-
|
|
24120
|
+
id: string;
|
|
24122
24121
|
timestamp: number;
|
|
24122
|
+
content: string;
|
|
24123
24123
|
role: "user";
|
|
24124
24124
|
metadata?: z.objectInputType<{
|
|
24125
24125
|
messageType: z.ZodOptional<z.ZodLiteral<"summary">>;
|
|
@@ -24146,15 +24146,15 @@ declare const UserInputMessage: z.ZodObject<{
|
|
|
24146
24146
|
name: string;
|
|
24147
24147
|
arguments: string;
|
|
24148
24148
|
};
|
|
24149
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
24150
24149
|
type: "function";
|
|
24150
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
24151
24151
|
}, {
|
|
24152
24152
|
function: {
|
|
24153
24153
|
name: string;
|
|
24154
24154
|
arguments: string;
|
|
24155
24155
|
};
|
|
24156
|
-
id: string;
|
|
24157
24156
|
type: "function";
|
|
24157
|
+
id: string;
|
|
24158
24158
|
}>, "many">>;
|
|
24159
24159
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
24160
24160
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -24537,15 +24537,15 @@ declare const UserContextMessage: z.ZodObject<{
|
|
|
24537
24537
|
name: string;
|
|
24538
24538
|
arguments: string;
|
|
24539
24539
|
};
|
|
24540
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
24541
24540
|
type: "function";
|
|
24541
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
24542
24542
|
}, {
|
|
24543
24543
|
function: {
|
|
24544
24544
|
name: string;
|
|
24545
24545
|
arguments: string;
|
|
24546
24546
|
};
|
|
24547
|
-
id: string;
|
|
24548
24547
|
type: "function";
|
|
24548
|
+
id: string;
|
|
24549
24549
|
}>, "many">>;
|
|
24550
24550
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
24551
24551
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -24907,15 +24907,15 @@ declare const UserContextMessage: z.ZodObject<{
|
|
|
24907
24907
|
name: string;
|
|
24908
24908
|
arguments: string;
|
|
24909
24909
|
};
|
|
24910
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
24911
24910
|
type: "function";
|
|
24911
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
24912
24912
|
}, {
|
|
24913
24913
|
function: {
|
|
24914
24914
|
name: string;
|
|
24915
24915
|
arguments: string;
|
|
24916
24916
|
};
|
|
24917
|
-
id: string;
|
|
24918
24917
|
type: "function";
|
|
24918
|
+
id: string;
|
|
24919
24919
|
}>, "many">>;
|
|
24920
24920
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
24921
24921
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -25277,15 +25277,15 @@ declare const UserContextMessage: z.ZodObject<{
|
|
|
25277
25277
|
name: string;
|
|
25278
25278
|
arguments: string;
|
|
25279
25279
|
};
|
|
25280
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
25281
25280
|
type: "function";
|
|
25281
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
25282
25282
|
}, {
|
|
25283
25283
|
function: {
|
|
25284
25284
|
name: string;
|
|
25285
25285
|
arguments: string;
|
|
25286
25286
|
};
|
|
25287
|
-
id: string;
|
|
25288
25287
|
type: "function";
|
|
25288
|
+
id: string;
|
|
25289
25289
|
}>, "many">>;
|
|
25290
25290
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
25291
25291
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -25627,10 +25627,10 @@ declare const UserContextMessage: z.ZodObject<{
|
|
|
25627
25627
|
role: z.ZodLiteral<"user">;
|
|
25628
25628
|
type: z.ZodEnum<["context_injection", "context_before", "context_after", "document_fragment", "task_request"]>;
|
|
25629
25629
|
}, "strip", z.ZodTypeAny, {
|
|
25630
|
-
id: string;
|
|
25631
25630
|
type: "context_injection" | "context_before" | "context_after" | "document_fragment" | "task_request";
|
|
25632
|
-
|
|
25631
|
+
id: string;
|
|
25633
25632
|
timestamp: number;
|
|
25633
|
+
content: string;
|
|
25634
25634
|
role: "user";
|
|
25635
25635
|
metadata?: z.objectOutputType<{
|
|
25636
25636
|
messageType: z.ZodOptional<z.ZodLiteral<"summary">>;
|
|
@@ -25657,15 +25657,15 @@ declare const UserContextMessage: z.ZodObject<{
|
|
|
25657
25657
|
name: string;
|
|
25658
25658
|
arguments: string;
|
|
25659
25659
|
};
|
|
25660
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
25661
25660
|
type: "function";
|
|
25661
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
25662
25662
|
}, {
|
|
25663
25663
|
function: {
|
|
25664
25664
|
name: string;
|
|
25665
25665
|
arguments: string;
|
|
25666
25666
|
};
|
|
25667
|
-
id: string;
|
|
25668
25667
|
type: "function";
|
|
25668
|
+
id: string;
|
|
25669
25669
|
}>, "many">>;
|
|
25670
25670
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
25671
25671
|
schema_version: z.ZodLiteral<2>;
|
|
@@ -26004,10 +26004,10 @@ declare const UserContextMessage: z.ZodObject<{
|
|
|
26004
26004
|
fencePlacement: z.ZodOptional<z.ZodString>;
|
|
26005
26005
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
26006
26006
|
}, {
|
|
26007
|
-
id: string;
|
|
26008
26007
|
type: "context_injection" | "context_before" | "context_after" | "document_fragment" | "task_request";
|
|
26009
|
-
|
|
26008
|
+
id: string;
|
|
26010
26009
|
timestamp: number;
|
|
26010
|
+
content: string;
|
|
26011
26011
|
role: "user";
|
|
26012
26012
|
metadata?: z.objectInputType<{
|
|
26013
26013
|
messageType: z.ZodOptional<z.ZodLiteral<"summary">>;
|
|
@@ -26034,15 +26034,15 @@ declare const UserContextMessage: z.ZodObject<{
|
|
|
26034
26034
|
name: string;
|
|
26035
26035
|
arguments: string;
|
|
26036
26036
|
};
|
|
26037
|
-
id: string & z.BRAND<"ToolCallId">;
|
|
26038
26037
|
type: "function";
|
|
26038
|
+
id: string & z.BRAND<"ToolCallId">;
|
|
26039
26039
|
}, {
|
|
26040
26040
|
function: {
|
|
26041
26041
|
name: string;
|
|
26042
26042
|
arguments: string;
|
|
26043
26043
|
};
|
|
26044
|
-
id: string;
|
|
26045
26044
|
type: "function";
|
|
26045
|
+
id: string;
|
|
26046
26046
|
}>, "many">>;
|
|
26047
26047
|
provider_continuations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
26048
26048
|
schema_version: z.ZodLiteral<2>;
|