@linnlabs/linnkit 0.41.0 → 0.43.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 +45 -0
- package/dist/cli.cjs +17 -202
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +17 -202
- package/dist/cli.js.map +1 -1
- package/dist/context-manager.cjs +0 -1
- package/dist/context-manager.cjs.map +1 -1
- package/dist/context-manager.js +0 -1
- package/dist/context-manager.js.map +1 -1
- package/dist/contracts/agentSpec.d.cts +5 -5
- package/dist/contracts/agentSpec.d.ts +5 -5
- package/dist/contracts/audit.d.cts +10 -10
- package/dist/contracts/audit.d.ts +10 -10
- package/dist/contracts/contextPolicy.d.cts +14 -14
- package/dist/contracts/contextPolicy.d.ts +14 -14
- package/dist/contracts/events.d.cts +117 -117
- package/dist/contracts/events.d.ts +117 -117
- package/dist/contracts/execution.d.cts +2 -2
- package/dist/contracts/execution.d.ts +2 -2
- package/dist/contracts/llm-retry.d.cts +2 -2
- package/dist/contracts/llm-retry.d.ts +2 -2
- package/dist/contracts/messages.d.cts +32 -32
- package/dist/contracts/messages.d.ts +32 -32
- package/dist/contracts/sse.d.cts +97 -97
- package/dist/contracts/sse.d.ts +97 -97
- package/dist/contracts/sub-run-trace-payload.d.cts +8 -8
- package/dist/contracts/sub-run-trace-payload.d.ts +8 -8
- package/dist/contracts/token-accounting.d.cts +12 -12
- package/dist/contracts/token-accounting.d.ts +12 -12
- package/dist/index.cjs +18 -212
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +18 -212
- package/dist/index.js.map +1 -1
- package/dist/quickstart.cjs +17 -202
- package/dist/quickstart.cjs.map +1 -1
- package/dist/quickstart.js +17 -202
- package/dist/quickstart.js.map +1 -1
- package/dist/runtime-kernel/child-runs/childRunInvoker.d.cts +1 -3
- package/dist/runtime-kernel/child-runs/childRunInvoker.d.ts +1 -3
- package/dist/runtime-kernel/events/agentEvents.d.cts +2 -2
- package/dist/runtime-kernel/events/agentEvents.d.ts +2 -2
- package/dist/runtime-kernel/graph-engine/engine.d.cts +1 -0
- package/dist/runtime-kernel/graph-engine/engine.d.ts +1 -0
- package/dist/runtime-kernel/graph-engine/nodes/toolNode.d.cts +1 -3
- package/dist/runtime-kernel/graph-engine/nodes/toolNode.d.ts +1 -3
- package/dist/runtime-kernel/testkit/defaultGraphExecutor.d.cts +1 -2
- package/dist/runtime-kernel/testkit/defaultGraphExecutor.d.ts +1 -2
- package/dist/runtime-kernel/testkit/graphLoopHarness.d.cts +1 -2
- package/dist/runtime-kernel/testkit/graphLoopHarness.d.ts +1 -2
- package/dist/runtime-kernel/tools/index.d.cts +1 -2
- package/dist/runtime-kernel/tools/index.d.ts +1 -2
- package/dist/runtime-kernel/tools/model-input/orchestration/resolveToolModelInput.d.cts +4 -3
- package/dist/runtime-kernel/tools/model-input/orchestration/resolveToolModelInput.d.ts +4 -3
- package/dist/runtime-kernel/tools/ports.d.cts +1 -28
- package/dist/runtime-kernel/tools/ports.d.ts +1 -28
- package/dist/runtime-kernel/tools/toolContextRuntime.d.cts +1 -1
- package/dist/runtime-kernel/tools/toolContextRuntime.d.ts +1 -1
- package/dist/runtime-kernel/tools/toolContracts.d.cts +0 -6
- package/dist/runtime-kernel/tools/toolContracts.d.ts +0 -6
- package/dist/runtime-kernel/tools/toolExecutionContext.d.cts +0 -7
- package/dist/runtime-kernel/tools/toolExecutionContext.d.ts +0 -7
- package/dist/runtime-kernel.cjs +17 -207
- package/dist/runtime-kernel.cjs.map +1 -1
- package/dist/runtime-kernel.d.cts +1 -2
- package/dist/runtime-kernel.d.ts +1 -2
- package/dist/runtime-kernel.js +17 -207
- package/dist/runtime-kernel.js.map +1 -1
- package/dist/testkit/agent-harness/scriptedInferenceHarness.d.cts +1 -1
- package/dist/testkit/agent-harness/scriptedInferenceHarness.d.ts +1 -1
- package/dist/testkit.cjs +17 -207
- package/dist/testkit.cjs.map +1 -1
- package/dist/testkit.js +17 -207
- package/dist/testkit.js.map +1 -1
- package/docs/integration/tool-development-guide.md +8 -23
- package/docs/integration/tools.md +2 -5
- package/package.json +2 -2
- package/dist/runtime-kernel/tools/model-input/definitions/toolModelInputPolicy.d.cts +0 -17
- package/dist/runtime-kernel/tools/model-input/definitions/toolModelInputPolicy.d.ts +0 -17
package/dist/contracts/sse.d.cts
CHANGED
|
@@ -16,9 +16,9 @@ declare const BaseSSEEvent: z.ZodObject<{
|
|
|
16
16
|
child: "child";
|
|
17
17
|
}>>;
|
|
18
18
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
19
|
+
none: "none";
|
|
19
20
|
conversation: "conversation";
|
|
20
21
|
"parent-trace": "parent-trace";
|
|
21
|
-
none: "none";
|
|
22
22
|
}>>;
|
|
23
23
|
execution_seq: z.ZodOptional<z.ZodNumber>;
|
|
24
24
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJsonValue, SerializableJsonValue, z.core.$ZodTypeInternals<SerializableJsonValue, SerializableJsonValue>>>>;
|
|
@@ -50,9 +50,9 @@ declare const SSEThoughtEvent: z.ZodObject<{
|
|
|
50
50
|
child: "child";
|
|
51
51
|
}>>;
|
|
52
52
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
53
|
+
none: "none";
|
|
53
54
|
conversation: "conversation";
|
|
54
55
|
"parent-trace": "parent-trace";
|
|
55
|
-
none: "none";
|
|
56
56
|
}>>;
|
|
57
57
|
execution_seq: z.ZodOptional<z.ZodNumber>;
|
|
58
58
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJsonValue, SerializableJsonValue, z.core.$ZodTypeInternals<SerializableJsonValue, SerializableJsonValue>>>>;
|
|
@@ -76,9 +76,9 @@ declare const SSEFinalAnswerChunkEvent: z.ZodObject<{
|
|
|
76
76
|
child: "child";
|
|
77
77
|
}>>;
|
|
78
78
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
79
|
+
none: "none";
|
|
79
80
|
conversation: "conversation";
|
|
80
81
|
"parent-trace": "parent-trace";
|
|
81
|
-
none: "none";
|
|
82
82
|
}>>;
|
|
83
83
|
execution_seq: z.ZodOptional<z.ZodNumber>;
|
|
84
84
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJsonValue, SerializableJsonValue, z.core.$ZodTypeInternals<SerializableJsonValue, SerializableJsonValue>>>>;
|
|
@@ -102,9 +102,9 @@ declare const SSEFinalAnswerResetEvent: z.ZodObject<{
|
|
|
102
102
|
child: "child";
|
|
103
103
|
}>>;
|
|
104
104
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
105
|
+
none: "none";
|
|
105
106
|
conversation: "conversation";
|
|
106
107
|
"parent-trace": "parent-trace";
|
|
107
|
-
none: "none";
|
|
108
108
|
}>>;
|
|
109
109
|
execution_seq: z.ZodOptional<z.ZodNumber>;
|
|
110
110
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJsonValue, SerializableJsonValue, z.core.$ZodTypeInternals<SerializableJsonValue, SerializableJsonValue>>>>;
|
|
@@ -126,9 +126,9 @@ declare const SSEFinalAnswerEvent: z.ZodObject<{
|
|
|
126
126
|
child: "child";
|
|
127
127
|
}>>;
|
|
128
128
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
129
|
+
none: "none";
|
|
129
130
|
conversation: "conversation";
|
|
130
131
|
"parent-trace": "parent-trace";
|
|
131
|
-
none: "none";
|
|
132
132
|
}>>;
|
|
133
133
|
execution_seq: z.ZodOptional<z.ZodNumber>;
|
|
134
134
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJsonValue, SerializableJsonValue, z.core.$ZodTypeInternals<SerializableJsonValue, SerializableJsonValue>>>>;
|
|
@@ -156,16 +156,16 @@ declare const SSEMarkdownChunkEvent: z.ZodObject<{
|
|
|
156
156
|
child: "child";
|
|
157
157
|
}>>;
|
|
158
158
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
159
|
+
none: "none";
|
|
159
160
|
conversation: "conversation";
|
|
160
161
|
"parent-trace": "parent-trace";
|
|
161
|
-
none: "none";
|
|
162
162
|
}>>;
|
|
163
163
|
execution_seq: z.ZodOptional<z.ZodNumber>;
|
|
164
164
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJsonValue, SerializableJsonValue, z.core.$ZodTypeInternals<SerializableJsonValue, SerializableJsonValue>>>>;
|
|
165
165
|
type: z.ZodLiteral<"markdown_chunk">;
|
|
166
166
|
content_type: z.ZodDefault<z.ZodEnum<{
|
|
167
|
-
image: "image";
|
|
168
167
|
text: "text";
|
|
168
|
+
image: "image";
|
|
169
169
|
code: "code";
|
|
170
170
|
table: "table";
|
|
171
171
|
}>>;
|
|
@@ -186,9 +186,9 @@ declare const SSEToolCallDecisionEvent: z.ZodObject<{
|
|
|
186
186
|
child: "child";
|
|
187
187
|
}>>;
|
|
188
188
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
189
|
+
none: "none";
|
|
189
190
|
conversation: "conversation";
|
|
190
191
|
"parent-trace": "parent-trace";
|
|
191
|
-
none: "none";
|
|
192
192
|
}>>;
|
|
193
193
|
execution_seq: z.ZodOptional<z.ZodNumber>;
|
|
194
194
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJsonValue, SerializableJsonValue, z.core.$ZodTypeInternals<SerializableJsonValue, SerializableJsonValue>>>>;
|
|
@@ -224,9 +224,9 @@ declare const SSEToolProcessEvent: z.ZodObject<{
|
|
|
224
224
|
child: "child";
|
|
225
225
|
}>>;
|
|
226
226
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
227
|
+
none: "none";
|
|
227
228
|
conversation: "conversation";
|
|
228
229
|
"parent-trace": "parent-trace";
|
|
229
|
-
none: "none";
|
|
230
230
|
}>>;
|
|
231
231
|
execution_seq: z.ZodOptional<z.ZodNumber>;
|
|
232
232
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJsonValue, SerializableJsonValue, z.core.$ZodTypeInternals<SerializableJsonValue, SerializableJsonValue>>>>;
|
|
@@ -262,9 +262,9 @@ declare const SSEToolOutputEvent: z.ZodObject<{
|
|
|
262
262
|
child: "child";
|
|
263
263
|
}>>;
|
|
264
264
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
265
|
+
none: "none";
|
|
265
266
|
conversation: "conversation";
|
|
266
267
|
"parent-trace": "parent-trace";
|
|
267
|
-
none: "none";
|
|
268
268
|
}>>;
|
|
269
269
|
execution_seq: z.ZodOptional<z.ZodNumber>;
|
|
270
270
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJsonValue, SerializableJsonValue, z.core.$ZodTypeInternals<SerializableJsonValue, SerializableJsonValue>>>>;
|
|
@@ -311,9 +311,9 @@ declare const SSESubRunTraceEvent: z.ZodObject<{
|
|
|
311
311
|
child: "child";
|
|
312
312
|
}>>;
|
|
313
313
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
314
|
+
none: "none";
|
|
314
315
|
conversation: "conversation";
|
|
315
316
|
"parent-trace": "parent-trace";
|
|
316
|
-
none: "none";
|
|
317
317
|
}>>;
|
|
318
318
|
execution_seq: z.ZodOptional<z.ZodNumber>;
|
|
319
319
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJsonValue, SerializableJsonValue, z.core.$ZodTypeInternals<SerializableJsonValue, SerializableJsonValue>>>>;
|
|
@@ -323,25 +323,25 @@ declare const SSESubRunTraceEvent: z.ZodObject<{
|
|
|
323
323
|
source_event_id: z.ZodString;
|
|
324
324
|
kind: z.ZodEnum<{
|
|
325
325
|
error: "error";
|
|
326
|
+
history_summary: "history_summary";
|
|
327
|
+
final_answer: "final_answer";
|
|
328
|
+
tool_output: "tool_output";
|
|
326
329
|
tool_call_decision: "tool_call_decision";
|
|
327
330
|
tool_process: "tool_process";
|
|
328
|
-
tool_output: "tool_output";
|
|
329
331
|
thought_delta: "thought_delta";
|
|
330
332
|
thought_complete: "thought_complete";
|
|
331
333
|
final_answer_chunk: "final_answer_chunk";
|
|
332
|
-
final_answer: "final_answer";
|
|
333
|
-
history_summary: "history_summary";
|
|
334
334
|
llm_retry: "llm_retry";
|
|
335
335
|
}>;
|
|
336
336
|
retry: z.ZodOptional<z.ZodObject<{
|
|
337
337
|
retry_id: z.ZodString;
|
|
338
338
|
status: z.ZodEnum<{
|
|
339
|
+
failed: "failed";
|
|
340
|
+
cancelled: "cancelled";
|
|
339
341
|
waiting: "waiting";
|
|
340
342
|
retrying: "retrying";
|
|
341
343
|
succeeded: "succeeded";
|
|
342
344
|
exhausted: "exhausted";
|
|
343
|
-
failed: "failed";
|
|
344
|
-
cancelled: "cancelled";
|
|
345
345
|
}>;
|
|
346
346
|
category: z.ZodEnum<{
|
|
347
347
|
output: "output";
|
|
@@ -432,9 +432,9 @@ declare const SSERequiresUserInteractionEvent: z.ZodObject<{
|
|
|
432
432
|
child: "child";
|
|
433
433
|
}>>;
|
|
434
434
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
435
|
+
none: "none";
|
|
435
436
|
conversation: "conversation";
|
|
436
437
|
"parent-trace": "parent-trace";
|
|
437
|
-
none: "none";
|
|
438
438
|
}>>;
|
|
439
439
|
execution_seq: z.ZodOptional<z.ZodNumber>;
|
|
440
440
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJsonValue, SerializableJsonValue, z.core.$ZodTypeInternals<SerializableJsonValue, SerializableJsonValue>>>>;
|
|
@@ -463,20 +463,20 @@ declare const SSELlmRetryEvent: z.ZodObject<{
|
|
|
463
463
|
child: "child";
|
|
464
464
|
}>>;
|
|
465
465
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
466
|
+
none: "none";
|
|
466
467
|
conversation: "conversation";
|
|
467
468
|
"parent-trace": "parent-trace";
|
|
468
|
-
none: "none";
|
|
469
469
|
}>>;
|
|
470
470
|
execution_seq: z.ZodOptional<z.ZodNumber>;
|
|
471
471
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJsonValue, SerializableJsonValue, z.core.$ZodTypeInternals<SerializableJsonValue, SerializableJsonValue>>>>;
|
|
472
472
|
retry_id: z.ZodString;
|
|
473
473
|
status: z.ZodEnum<{
|
|
474
|
+
failed: "failed";
|
|
475
|
+
cancelled: "cancelled";
|
|
474
476
|
waiting: "waiting";
|
|
475
477
|
retrying: "retrying";
|
|
476
478
|
succeeded: "succeeded";
|
|
477
479
|
exhausted: "exhausted";
|
|
478
|
-
failed: "failed";
|
|
479
|
-
cancelled: "cancelled";
|
|
480
480
|
}>;
|
|
481
481
|
category: z.ZodEnum<{
|
|
482
482
|
output: "output";
|
|
@@ -508,9 +508,9 @@ declare const SSEErrorEvent: z.ZodObject<{
|
|
|
508
508
|
child: "child";
|
|
509
509
|
}>>;
|
|
510
510
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
511
|
+
none: "none";
|
|
511
512
|
conversation: "conversation";
|
|
512
513
|
"parent-trace": "parent-trace";
|
|
513
|
-
none: "none";
|
|
514
514
|
}>>;
|
|
515
515
|
execution_seq: z.ZodOptional<z.ZodNumber>;
|
|
516
516
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJsonValue, SerializableJsonValue, z.core.$ZodTypeInternals<SerializableJsonValue, SerializableJsonValue>>>>;
|
|
@@ -539,9 +539,9 @@ declare const SSETransportErrorEvent: z.ZodObject<{
|
|
|
539
539
|
child: "child";
|
|
540
540
|
}>>;
|
|
541
541
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
542
|
+
none: "none";
|
|
542
543
|
conversation: "conversation";
|
|
543
544
|
"parent-trace": "parent-trace";
|
|
544
|
-
none: "none";
|
|
545
545
|
}>>;
|
|
546
546
|
execution_seq: z.ZodOptional<z.ZodNumber>;
|
|
547
547
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJsonValue, SerializableJsonValue, z.core.$ZodTypeInternals<SerializableJsonValue, SerializableJsonValue>>>>;
|
|
@@ -566,9 +566,9 @@ declare const SSEContextUsageSnapshotEvent: z.ZodObject<{
|
|
|
566
566
|
child: "child";
|
|
567
567
|
}>>;
|
|
568
568
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
569
|
+
none: "none";
|
|
569
570
|
conversation: "conversation";
|
|
570
571
|
"parent-trace": "parent-trace";
|
|
571
|
-
none: "none";
|
|
572
572
|
}>>;
|
|
573
573
|
execution_seq: z.ZodOptional<z.ZodNumber>;
|
|
574
574
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJsonValue, SerializableJsonValue, z.core.$ZodTypeInternals<SerializableJsonValue, SerializableJsonValue>>>>;
|
|
@@ -616,18 +616,18 @@ declare const SSERunExecutionMetricsEvent: z.ZodObject<{
|
|
|
616
616
|
child: "child";
|
|
617
617
|
}>>;
|
|
618
618
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
619
|
+
none: "none";
|
|
619
620
|
conversation: "conversation";
|
|
620
621
|
"parent-trace": "parent-trace";
|
|
621
|
-
none: "none";
|
|
622
622
|
}>>;
|
|
623
623
|
execution_seq: z.ZodOptional<z.ZodNumber>;
|
|
624
624
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJsonValue, SerializableJsonValue, z.core.$ZodTypeInternals<SerializableJsonValue, SerializableJsonValue>>>>;
|
|
625
625
|
type: z.ZodLiteral<"run_execution_metrics">;
|
|
626
626
|
execution_id: z.ZodString;
|
|
627
627
|
outcome: z.ZodEnum<{
|
|
628
|
+
completed: "completed";
|
|
628
629
|
failed: "failed";
|
|
629
630
|
cancelled: "cancelled";
|
|
630
|
-
completed: "completed";
|
|
631
631
|
awaiting_user: "awaiting_user";
|
|
632
632
|
}>;
|
|
633
633
|
duration_ms: z.ZodNumber;
|
|
@@ -673,9 +673,9 @@ declare const SSERunStatusEvent: z.ZodObject<{
|
|
|
673
673
|
child: "child";
|
|
674
674
|
}>>;
|
|
675
675
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
676
|
+
none: "none";
|
|
676
677
|
conversation: "conversation";
|
|
677
678
|
"parent-trace": "parent-trace";
|
|
678
|
-
none: "none";
|
|
679
679
|
}>>;
|
|
680
680
|
execution_seq: z.ZodOptional<z.ZodNumber>;
|
|
681
681
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJsonValue, SerializableJsonValue, z.core.$ZodTypeInternals<SerializableJsonValue, SerializableJsonValue>>>>;
|
|
@@ -683,13 +683,13 @@ declare const SSERunStatusEvent: z.ZodObject<{
|
|
|
683
683
|
run_id: z.core.$ZodBranded<z.ZodString, "RunId", "out">;
|
|
684
684
|
execution_id: z.ZodString;
|
|
685
685
|
status: z.ZodEnum<{
|
|
686
|
+
completed: "completed";
|
|
686
687
|
failed: "failed";
|
|
687
688
|
cancelled: "cancelled";
|
|
688
|
-
pending: "pending";
|
|
689
689
|
paused: "paused";
|
|
690
|
-
|
|
691
|
-
awaiting_user: "awaiting_user";
|
|
690
|
+
pending: "pending";
|
|
692
691
|
running: "running";
|
|
692
|
+
awaiting_user: "awaiting_user";
|
|
693
693
|
}>;
|
|
694
694
|
reason_message: z.ZodOptional<z.ZodString>;
|
|
695
695
|
}, z.core.$strip>;
|
|
@@ -706,9 +706,9 @@ declare const SSETransportEndEvent: z.ZodObject<{
|
|
|
706
706
|
child: "child";
|
|
707
707
|
}>>;
|
|
708
708
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
709
|
+
none: "none";
|
|
709
710
|
conversation: "conversation";
|
|
710
711
|
"parent-trace": "parent-trace";
|
|
711
|
-
none: "none";
|
|
712
712
|
}>>;
|
|
713
713
|
execution_seq: z.ZodOptional<z.ZodNumber>;
|
|
714
714
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJsonValue, SerializableJsonValue, z.core.$ZodTypeInternals<SerializableJsonValue, SerializableJsonValue>>>>;
|
|
@@ -716,8 +716,8 @@ declare const SSETransportEndEvent: z.ZodObject<{
|
|
|
716
716
|
execution_id: z.ZodString;
|
|
717
717
|
reason: z.ZodOptional<z.ZodEnum<{
|
|
718
718
|
error: "error";
|
|
719
|
-
complete: "complete";
|
|
720
719
|
interrupted: "interrupted";
|
|
720
|
+
complete: "complete";
|
|
721
721
|
timeout: "timeout";
|
|
722
722
|
}>>;
|
|
723
723
|
reason_message: z.ZodOptional<z.ZodString>;
|
|
@@ -736,9 +736,9 @@ declare const SSEHistorySummaryEvent: z.ZodObject<{
|
|
|
736
736
|
child: "child";
|
|
737
737
|
}>>;
|
|
738
738
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
739
|
+
none: "none";
|
|
739
740
|
conversation: "conversation";
|
|
740
741
|
"parent-trace": "parent-trace";
|
|
741
|
-
none: "none";
|
|
742
742
|
}>>;
|
|
743
743
|
execution_seq: z.ZodOptional<z.ZodNumber>;
|
|
744
744
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJsonValue, SerializableJsonValue, z.core.$ZodTypeInternals<SerializableJsonValue, SerializableJsonValue>>>>;
|
|
@@ -763,9 +763,9 @@ declare const SSESummarizationStartEvent: z.ZodObject<{
|
|
|
763
763
|
child: "child";
|
|
764
764
|
}>>;
|
|
765
765
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
766
|
+
none: "none";
|
|
766
767
|
conversation: "conversation";
|
|
767
768
|
"parent-trace": "parent-trace";
|
|
768
|
-
none: "none";
|
|
769
769
|
}>>;
|
|
770
770
|
execution_seq: z.ZodOptional<z.ZodNumber>;
|
|
771
771
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJsonValue, SerializableJsonValue, z.core.$ZodTypeInternals<SerializableJsonValue, SerializableJsonValue>>>>;
|
|
@@ -786,9 +786,9 @@ declare const SSESummarizationEndEvent: z.ZodObject<{
|
|
|
786
786
|
child: "child";
|
|
787
787
|
}>>;
|
|
788
788
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
789
|
+
none: "none";
|
|
789
790
|
conversation: "conversation";
|
|
790
791
|
"parent-trace": "parent-trace";
|
|
791
|
-
none: "none";
|
|
792
792
|
}>>;
|
|
793
793
|
execution_seq: z.ZodOptional<z.ZodNumber>;
|
|
794
794
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJsonValue, SerializableJsonValue, z.core.$ZodTypeInternals<SerializableJsonValue, SerializableJsonValue>>>>;
|
|
@@ -813,9 +813,9 @@ declare const SSESummarizationErrorEvent: z.ZodObject<{
|
|
|
813
813
|
child: "child";
|
|
814
814
|
}>>;
|
|
815
815
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
816
|
+
none: "none";
|
|
816
817
|
conversation: "conversation";
|
|
817
818
|
"parent-trace": "parent-trace";
|
|
818
|
-
none: "none";
|
|
819
819
|
}>>;
|
|
820
820
|
execution_seq: z.ZodOptional<z.ZodNumber>;
|
|
821
821
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJsonValue, SerializableJsonValue, z.core.$ZodTypeInternals<SerializableJsonValue, SerializableJsonValue>>>>;
|
|
@@ -839,9 +839,9 @@ declare const SSEEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
839
839
|
child: "child";
|
|
840
840
|
}>>;
|
|
841
841
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
842
|
+
none: "none";
|
|
842
843
|
conversation: "conversation";
|
|
843
844
|
"parent-trace": "parent-trace";
|
|
844
|
-
none: "none";
|
|
845
845
|
}>>;
|
|
846
846
|
execution_seq: z.ZodOptional<z.ZodNumber>;
|
|
847
847
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJsonValue, SerializableJsonValue, z.core.$ZodTypeInternals<SerializableJsonValue, SerializableJsonValue>>>>;
|
|
@@ -863,9 +863,9 @@ declare const SSEEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
863
863
|
child: "child";
|
|
864
864
|
}>>;
|
|
865
865
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
866
|
+
none: "none";
|
|
866
867
|
conversation: "conversation";
|
|
867
868
|
"parent-trace": "parent-trace";
|
|
868
|
-
none: "none";
|
|
869
869
|
}>>;
|
|
870
870
|
execution_seq: z.ZodOptional<z.ZodNumber>;
|
|
871
871
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJsonValue, SerializableJsonValue, z.core.$ZodTypeInternals<SerializableJsonValue, SerializableJsonValue>>>>;
|
|
@@ -887,9 +887,9 @@ declare const SSEEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
887
887
|
child: "child";
|
|
888
888
|
}>>;
|
|
889
889
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
890
|
+
none: "none";
|
|
890
891
|
conversation: "conversation";
|
|
891
892
|
"parent-trace": "parent-trace";
|
|
892
|
-
none: "none";
|
|
893
893
|
}>>;
|
|
894
894
|
execution_seq: z.ZodOptional<z.ZodNumber>;
|
|
895
895
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJsonValue, SerializableJsonValue, z.core.$ZodTypeInternals<SerializableJsonValue, SerializableJsonValue>>>>;
|
|
@@ -909,9 +909,9 @@ declare const SSEEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
909
909
|
child: "child";
|
|
910
910
|
}>>;
|
|
911
911
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
912
|
+
none: "none";
|
|
912
913
|
conversation: "conversation";
|
|
913
914
|
"parent-trace": "parent-trace";
|
|
914
|
-
none: "none";
|
|
915
915
|
}>>;
|
|
916
916
|
execution_seq: z.ZodOptional<z.ZodNumber>;
|
|
917
917
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJsonValue, SerializableJsonValue, z.core.$ZodTypeInternals<SerializableJsonValue, SerializableJsonValue>>>>;
|
|
@@ -937,16 +937,16 @@ declare const SSEEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
937
937
|
child: "child";
|
|
938
938
|
}>>;
|
|
939
939
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
940
|
+
none: "none";
|
|
940
941
|
conversation: "conversation";
|
|
941
942
|
"parent-trace": "parent-trace";
|
|
942
|
-
none: "none";
|
|
943
943
|
}>>;
|
|
944
944
|
execution_seq: z.ZodOptional<z.ZodNumber>;
|
|
945
945
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJsonValue, SerializableJsonValue, z.core.$ZodTypeInternals<SerializableJsonValue, SerializableJsonValue>>>>;
|
|
946
946
|
type: z.ZodLiteral<"markdown_chunk">;
|
|
947
947
|
content_type: z.ZodDefault<z.ZodEnum<{
|
|
948
|
-
image: "image";
|
|
949
948
|
text: "text";
|
|
949
|
+
image: "image";
|
|
950
950
|
code: "code";
|
|
951
951
|
table: "table";
|
|
952
952
|
}>>;
|
|
@@ -965,9 +965,9 @@ declare const SSEEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
965
965
|
child: "child";
|
|
966
966
|
}>>;
|
|
967
967
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
968
|
+
none: "none";
|
|
968
969
|
conversation: "conversation";
|
|
969
970
|
"parent-trace": "parent-trace";
|
|
970
|
-
none: "none";
|
|
971
971
|
}>>;
|
|
972
972
|
execution_seq: z.ZodOptional<z.ZodNumber>;
|
|
973
973
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJsonValue, SerializableJsonValue, z.core.$ZodTypeInternals<SerializableJsonValue, SerializableJsonValue>>>>;
|
|
@@ -1001,9 +1001,9 @@ declare const SSEEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1001
1001
|
child: "child";
|
|
1002
1002
|
}>>;
|
|
1003
1003
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
1004
|
+
none: "none";
|
|
1004
1005
|
conversation: "conversation";
|
|
1005
1006
|
"parent-trace": "parent-trace";
|
|
1006
|
-
none: "none";
|
|
1007
1007
|
}>>;
|
|
1008
1008
|
execution_seq: z.ZodOptional<z.ZodNumber>;
|
|
1009
1009
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJsonValue, SerializableJsonValue, z.core.$ZodTypeInternals<SerializableJsonValue, SerializableJsonValue>>>>;
|
|
@@ -1037,9 +1037,9 @@ declare const SSEEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1037
1037
|
child: "child";
|
|
1038
1038
|
}>>;
|
|
1039
1039
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
1040
|
+
none: "none";
|
|
1040
1041
|
conversation: "conversation";
|
|
1041
1042
|
"parent-trace": "parent-trace";
|
|
1042
|
-
none: "none";
|
|
1043
1043
|
}>>;
|
|
1044
1044
|
execution_seq: z.ZodOptional<z.ZodNumber>;
|
|
1045
1045
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJsonValue, SerializableJsonValue, z.core.$ZodTypeInternals<SerializableJsonValue, SerializableJsonValue>>>>;
|
|
@@ -1084,9 +1084,9 @@ declare const SSEEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1084
1084
|
child: "child";
|
|
1085
1085
|
}>>;
|
|
1086
1086
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
1087
|
+
none: "none";
|
|
1087
1088
|
conversation: "conversation";
|
|
1088
1089
|
"parent-trace": "parent-trace";
|
|
1089
|
-
none: "none";
|
|
1090
1090
|
}>>;
|
|
1091
1091
|
execution_seq: z.ZodOptional<z.ZodNumber>;
|
|
1092
1092
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJsonValue, SerializableJsonValue, z.core.$ZodTypeInternals<SerializableJsonValue, SerializableJsonValue>>>>;
|
|
@@ -1096,25 +1096,25 @@ declare const SSEEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1096
1096
|
source_event_id: z.ZodString;
|
|
1097
1097
|
kind: z.ZodEnum<{
|
|
1098
1098
|
error: "error";
|
|
1099
|
+
history_summary: "history_summary";
|
|
1100
|
+
final_answer: "final_answer";
|
|
1101
|
+
tool_output: "tool_output";
|
|
1099
1102
|
tool_call_decision: "tool_call_decision";
|
|
1100
1103
|
tool_process: "tool_process";
|
|
1101
|
-
tool_output: "tool_output";
|
|
1102
1104
|
thought_delta: "thought_delta";
|
|
1103
1105
|
thought_complete: "thought_complete";
|
|
1104
1106
|
final_answer_chunk: "final_answer_chunk";
|
|
1105
|
-
final_answer: "final_answer";
|
|
1106
|
-
history_summary: "history_summary";
|
|
1107
1107
|
llm_retry: "llm_retry";
|
|
1108
1108
|
}>;
|
|
1109
1109
|
retry: z.ZodOptional<z.ZodObject<{
|
|
1110
1110
|
retry_id: z.ZodString;
|
|
1111
1111
|
status: z.ZodEnum<{
|
|
1112
|
+
failed: "failed";
|
|
1113
|
+
cancelled: "cancelled";
|
|
1112
1114
|
waiting: "waiting";
|
|
1113
1115
|
retrying: "retrying";
|
|
1114
1116
|
succeeded: "succeeded";
|
|
1115
1117
|
exhausted: "exhausted";
|
|
1116
|
-
failed: "failed";
|
|
1117
|
-
cancelled: "cancelled";
|
|
1118
1118
|
}>;
|
|
1119
1119
|
category: z.ZodEnum<{
|
|
1120
1120
|
output: "output";
|
|
@@ -1203,9 +1203,9 @@ declare const SSEEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1203
1203
|
child: "child";
|
|
1204
1204
|
}>>;
|
|
1205
1205
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
1206
|
+
none: "none";
|
|
1206
1207
|
conversation: "conversation";
|
|
1207
1208
|
"parent-trace": "parent-trace";
|
|
1208
|
-
none: "none";
|
|
1209
1209
|
}>>;
|
|
1210
1210
|
execution_seq: z.ZodOptional<z.ZodNumber>;
|
|
1211
1211
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJsonValue, SerializableJsonValue, z.core.$ZodTypeInternals<SerializableJsonValue, SerializableJsonValue>>>>;
|
|
@@ -1232,20 +1232,20 @@ declare const SSEEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1232
1232
|
child: "child";
|
|
1233
1233
|
}>>;
|
|
1234
1234
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
1235
|
+
none: "none";
|
|
1235
1236
|
conversation: "conversation";
|
|
1236
1237
|
"parent-trace": "parent-trace";
|
|
1237
|
-
none: "none";
|
|
1238
1238
|
}>>;
|
|
1239
1239
|
execution_seq: z.ZodOptional<z.ZodNumber>;
|
|
1240
1240
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJsonValue, SerializableJsonValue, z.core.$ZodTypeInternals<SerializableJsonValue, SerializableJsonValue>>>>;
|
|
1241
1241
|
retry_id: z.ZodString;
|
|
1242
1242
|
status: z.ZodEnum<{
|
|
1243
|
+
failed: "failed";
|
|
1244
|
+
cancelled: "cancelled";
|
|
1243
1245
|
waiting: "waiting";
|
|
1244
1246
|
retrying: "retrying";
|
|
1245
1247
|
succeeded: "succeeded";
|
|
1246
1248
|
exhausted: "exhausted";
|
|
1247
|
-
failed: "failed";
|
|
1248
|
-
cancelled: "cancelled";
|
|
1249
1249
|
}>;
|
|
1250
1250
|
category: z.ZodEnum<{
|
|
1251
1251
|
output: "output";
|
|
@@ -1275,9 +1275,9 @@ declare const SSEEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1275
1275
|
child: "child";
|
|
1276
1276
|
}>>;
|
|
1277
1277
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
1278
|
+
none: "none";
|
|
1278
1279
|
conversation: "conversation";
|
|
1279
1280
|
"parent-trace": "parent-trace";
|
|
1280
|
-
none: "none";
|
|
1281
1281
|
}>>;
|
|
1282
1282
|
execution_seq: z.ZodOptional<z.ZodNumber>;
|
|
1283
1283
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJsonValue, SerializableJsonValue, z.core.$ZodTypeInternals<SerializableJsonValue, SerializableJsonValue>>>>;
|
|
@@ -1299,9 +1299,9 @@ declare const SSEEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1299
1299
|
child: "child";
|
|
1300
1300
|
}>>;
|
|
1301
1301
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
1302
|
+
none: "none";
|
|
1302
1303
|
conversation: "conversation";
|
|
1303
1304
|
"parent-trace": "parent-trace";
|
|
1304
|
-
none: "none";
|
|
1305
1305
|
}>>;
|
|
1306
1306
|
execution_seq: z.ZodOptional<z.ZodNumber>;
|
|
1307
1307
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJsonValue, SerializableJsonValue, z.core.$ZodTypeInternals<SerializableJsonValue, SerializableJsonValue>>>>;
|
|
@@ -1324,9 +1324,9 @@ declare const SSEEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1324
1324
|
child: "child";
|
|
1325
1325
|
}>>;
|
|
1326
1326
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
1327
|
+
none: "none";
|
|
1327
1328
|
conversation: "conversation";
|
|
1328
1329
|
"parent-trace": "parent-trace";
|
|
1329
|
-
none: "none";
|
|
1330
1330
|
}>>;
|
|
1331
1331
|
execution_seq: z.ZodOptional<z.ZodNumber>;
|
|
1332
1332
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJsonValue, SerializableJsonValue, z.core.$ZodTypeInternals<SerializableJsonValue, SerializableJsonValue>>>>;
|
|
@@ -1372,18 +1372,18 @@ declare const SSEEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1372
1372
|
child: "child";
|
|
1373
1373
|
}>>;
|
|
1374
1374
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
1375
|
+
none: "none";
|
|
1375
1376
|
conversation: "conversation";
|
|
1376
1377
|
"parent-trace": "parent-trace";
|
|
1377
|
-
none: "none";
|
|
1378
1378
|
}>>;
|
|
1379
1379
|
execution_seq: z.ZodOptional<z.ZodNumber>;
|
|
1380
1380
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJsonValue, SerializableJsonValue, z.core.$ZodTypeInternals<SerializableJsonValue, SerializableJsonValue>>>>;
|
|
1381
1381
|
type: z.ZodLiteral<"run_execution_metrics">;
|
|
1382
1382
|
execution_id: z.ZodString;
|
|
1383
1383
|
outcome: z.ZodEnum<{
|
|
1384
|
+
completed: "completed";
|
|
1384
1385
|
failed: "failed";
|
|
1385
1386
|
cancelled: "cancelled";
|
|
1386
|
-
completed: "completed";
|
|
1387
1387
|
awaiting_user: "awaiting_user";
|
|
1388
1388
|
}>;
|
|
1389
1389
|
duration_ms: z.ZodNumber;
|
|
@@ -1427,9 +1427,9 @@ declare const SSEEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1427
1427
|
child: "child";
|
|
1428
1428
|
}>>;
|
|
1429
1429
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
1430
|
+
none: "none";
|
|
1430
1431
|
conversation: "conversation";
|
|
1431
1432
|
"parent-trace": "parent-trace";
|
|
1432
|
-
none: "none";
|
|
1433
1433
|
}>>;
|
|
1434
1434
|
execution_seq: z.ZodOptional<z.ZodNumber>;
|
|
1435
1435
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJsonValue, SerializableJsonValue, z.core.$ZodTypeInternals<SerializableJsonValue, SerializableJsonValue>>>>;
|
|
@@ -1437,13 +1437,13 @@ declare const SSEEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1437
1437
|
run_id: z.core.$ZodBranded<z.ZodString, "RunId", "out">;
|
|
1438
1438
|
execution_id: z.ZodString;
|
|
1439
1439
|
status: z.ZodEnum<{
|
|
1440
|
+
completed: "completed";
|
|
1440
1441
|
failed: "failed";
|
|
1441
1442
|
cancelled: "cancelled";
|
|
1442
|
-
pending: "pending";
|
|
1443
1443
|
paused: "paused";
|
|
1444
|
-
|
|
1445
|
-
awaiting_user: "awaiting_user";
|
|
1444
|
+
pending: "pending";
|
|
1446
1445
|
running: "running";
|
|
1446
|
+
awaiting_user: "awaiting_user";
|
|
1447
1447
|
}>;
|
|
1448
1448
|
reason_message: z.ZodOptional<z.ZodString>;
|
|
1449
1449
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1458,9 +1458,9 @@ declare const SSEEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1458
1458
|
child: "child";
|
|
1459
1459
|
}>>;
|
|
1460
1460
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
1461
|
+
none: "none";
|
|
1461
1462
|
conversation: "conversation";
|
|
1462
1463
|
"parent-trace": "parent-trace";
|
|
1463
|
-
none: "none";
|
|
1464
1464
|
}>>;
|
|
1465
1465
|
execution_seq: z.ZodOptional<z.ZodNumber>;
|
|
1466
1466
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJsonValue, SerializableJsonValue, z.core.$ZodTypeInternals<SerializableJsonValue, SerializableJsonValue>>>>;
|
|
@@ -1468,8 +1468,8 @@ declare const SSEEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1468
1468
|
execution_id: z.ZodString;
|
|
1469
1469
|
reason: z.ZodOptional<z.ZodEnum<{
|
|
1470
1470
|
error: "error";
|
|
1471
|
-
complete: "complete";
|
|
1472
1471
|
interrupted: "interrupted";
|
|
1472
|
+
complete: "complete";
|
|
1473
1473
|
timeout: "timeout";
|
|
1474
1474
|
}>>;
|
|
1475
1475
|
reason_message: z.ZodOptional<z.ZodString>;
|
|
@@ -1486,9 +1486,9 @@ declare const SSEEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1486
1486
|
child: "child";
|
|
1487
1487
|
}>>;
|
|
1488
1488
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
1489
|
+
none: "none";
|
|
1489
1490
|
conversation: "conversation";
|
|
1490
1491
|
"parent-trace": "parent-trace";
|
|
1491
|
-
none: "none";
|
|
1492
1492
|
}>>;
|
|
1493
1493
|
execution_seq: z.ZodOptional<z.ZodNumber>;
|
|
1494
1494
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJsonValue, SerializableJsonValue, z.core.$ZodTypeInternals<SerializableJsonValue, SerializableJsonValue>>>>;
|
|
@@ -1511,9 +1511,9 @@ declare const SSEEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1511
1511
|
child: "child";
|
|
1512
1512
|
}>>;
|
|
1513
1513
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
1514
|
+
none: "none";
|
|
1514
1515
|
conversation: "conversation";
|
|
1515
1516
|
"parent-trace": "parent-trace";
|
|
1516
|
-
none: "none";
|
|
1517
1517
|
}>>;
|
|
1518
1518
|
execution_seq: z.ZodOptional<z.ZodNumber>;
|
|
1519
1519
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJsonValue, SerializableJsonValue, z.core.$ZodTypeInternals<SerializableJsonValue, SerializableJsonValue>>>>;
|
|
@@ -1532,9 +1532,9 @@ declare const SSEEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1532
1532
|
child: "child";
|
|
1533
1533
|
}>>;
|
|
1534
1534
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
1535
|
+
none: "none";
|
|
1535
1536
|
conversation: "conversation";
|
|
1536
1537
|
"parent-trace": "parent-trace";
|
|
1537
|
-
none: "none";
|
|
1538
1538
|
}>>;
|
|
1539
1539
|
execution_seq: z.ZodOptional<z.ZodNumber>;
|
|
1540
1540
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJsonValue, SerializableJsonValue, z.core.$ZodTypeInternals<SerializableJsonValue, SerializableJsonValue>>>>;
|
|
@@ -1557,9 +1557,9 @@ declare const SSEEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1557
1557
|
child: "child";
|
|
1558
1558
|
}>>;
|
|
1559
1559
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
1560
|
+
none: "none";
|
|
1560
1561
|
conversation: "conversation";
|
|
1561
1562
|
"parent-trace": "parent-trace";
|
|
1562
|
-
none: "none";
|
|
1563
1563
|
}>>;
|
|
1564
1564
|
execution_seq: z.ZodOptional<z.ZodNumber>;
|
|
1565
1565
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJsonValue, SerializableJsonValue, z.core.$ZodTypeInternals<SerializableJsonValue, SerializableJsonValue>>>>;
|
|
@@ -1582,7 +1582,7 @@ declare const validateSSEEvent: (event: unknown) => z.ZodSafeParseResult<{
|
|
|
1582
1582
|
run_id?: (string & z.core.$brand<"RunId">) | undefined;
|
|
1583
1583
|
execution_id?: string | undefined;
|
|
1584
1584
|
lane?: "foreground" | "auxiliary" | "child" | undefined;
|
|
1585
|
-
visibility?: "
|
|
1585
|
+
visibility?: "none" | "conversation" | "parent-trace" | undefined;
|
|
1586
1586
|
execution_seq?: number | undefined;
|
|
1587
1587
|
metadata?: Record<string, SerializableJsonValue> | undefined;
|
|
1588
1588
|
thought_message_id?: string | undefined;
|
|
@@ -1600,7 +1600,7 @@ declare const validateSSEEvent: (event: unknown) => z.ZodSafeParseResult<{
|
|
|
1600
1600
|
run_id?: (string & z.core.$brand<"RunId">) | undefined;
|
|
1601
1601
|
execution_id?: string | undefined;
|
|
1602
1602
|
lane?: "foreground" | "auxiliary" | "child" | undefined;
|
|
1603
|
-
visibility?: "
|
|
1603
|
+
visibility?: "none" | "conversation" | "parent-trace" | undefined;
|
|
1604
1604
|
execution_seq?: number | undefined;
|
|
1605
1605
|
metadata?: Record<string, SerializableJsonValue> | undefined;
|
|
1606
1606
|
is_last?: boolean | undefined;
|
|
@@ -1613,7 +1613,7 @@ declare const validateSSEEvent: (event: unknown) => z.ZodSafeParseResult<{
|
|
|
1613
1613
|
run_id?: (string & z.core.$brand<"RunId">) | undefined;
|
|
1614
1614
|
execution_id?: string | undefined;
|
|
1615
1615
|
lane?: "foreground" | "auxiliary" | "child" | undefined;
|
|
1616
|
-
visibility?: "
|
|
1616
|
+
visibility?: "none" | "conversation" | "parent-trace" | undefined;
|
|
1617
1617
|
execution_seq?: number | undefined;
|
|
1618
1618
|
metadata?: Record<string, SerializableJsonValue> | undefined;
|
|
1619
1619
|
answer_id?: string | undefined;
|
|
@@ -1630,7 +1630,7 @@ declare const validateSSEEvent: (event: unknown) => z.ZodSafeParseResult<{
|
|
|
1630
1630
|
run_id?: (string & z.core.$brand<"RunId">) | undefined;
|
|
1631
1631
|
execution_id?: string | undefined;
|
|
1632
1632
|
lane?: "foreground" | "auxiliary" | "child" | undefined;
|
|
1633
|
-
visibility?: "
|
|
1633
|
+
visibility?: "none" | "conversation" | "parent-trace" | undefined;
|
|
1634
1634
|
execution_seq?: number | undefined;
|
|
1635
1635
|
metadata?: Record<string, SerializableJsonValue> | undefined;
|
|
1636
1636
|
meta?: Record<string, SerializableJsonValue> | undefined;
|
|
@@ -1640,12 +1640,12 @@ declare const validateSSEEvent: (event: unknown) => z.ZodSafeParseResult<{
|
|
|
1640
1640
|
conversation_id: string;
|
|
1641
1641
|
turn_id: string;
|
|
1642
1642
|
type: "markdown_chunk";
|
|
1643
|
-
content_type: "
|
|
1643
|
+
content_type: "text" | "image" | "code" | "table";
|
|
1644
1644
|
text: string;
|
|
1645
1645
|
run_id?: (string & z.core.$brand<"RunId">) | undefined;
|
|
1646
1646
|
execution_id?: string | undefined;
|
|
1647
1647
|
lane?: "foreground" | "auxiliary" | "child" | undefined;
|
|
1648
|
-
visibility?: "
|
|
1648
|
+
visibility?: "none" | "conversation" | "parent-trace" | undefined;
|
|
1649
1649
|
execution_seq?: number | undefined;
|
|
1650
1650
|
metadata?: Record<string, SerializableJsonValue> | undefined;
|
|
1651
1651
|
seq?: number | undefined;
|
|
@@ -1662,7 +1662,7 @@ declare const validateSSEEvent: (event: unknown) => z.ZodSafeParseResult<{
|
|
|
1662
1662
|
run_id?: (string & z.core.$brand<"RunId">) | undefined;
|
|
1663
1663
|
execution_id?: string | undefined;
|
|
1664
1664
|
lane?: "foreground" | "auxiliary" | "child" | undefined;
|
|
1665
|
-
visibility?: "
|
|
1665
|
+
visibility?: "none" | "conversation" | "parent-trace" | undefined;
|
|
1666
1666
|
execution_seq?: number | undefined;
|
|
1667
1667
|
metadata?: Record<string, SerializableJsonValue> | undefined;
|
|
1668
1668
|
args?: SerializableJsonValue | undefined;
|
|
@@ -1681,7 +1681,7 @@ declare const validateSSEEvent: (event: unknown) => z.ZodSafeParseResult<{
|
|
|
1681
1681
|
run_id?: (string & z.core.$brand<"RunId">) | undefined;
|
|
1682
1682
|
execution_id?: string | undefined;
|
|
1683
1683
|
lane?: "foreground" | "auxiliary" | "child" | undefined;
|
|
1684
|
-
visibility?: "
|
|
1684
|
+
visibility?: "none" | "conversation" | "parent-trace" | undefined;
|
|
1685
1685
|
execution_seq?: number | undefined;
|
|
1686
1686
|
metadata?: Record<string, SerializableJsonValue> | undefined;
|
|
1687
1687
|
args?: SerializableJsonValue | undefined;
|
|
@@ -1700,7 +1700,7 @@ declare const validateSSEEvent: (event: unknown) => z.ZodSafeParseResult<{
|
|
|
1700
1700
|
run_id?: (string & z.core.$brand<"RunId">) | undefined;
|
|
1701
1701
|
execution_id?: string | undefined;
|
|
1702
1702
|
lane?: "foreground" | "auxiliary" | "child" | undefined;
|
|
1703
|
-
visibility?: "
|
|
1703
|
+
visibility?: "none" | "conversation" | "parent-trace" | undefined;
|
|
1704
1704
|
execution_seq?: number | undefined;
|
|
1705
1705
|
metadata?: Record<string, SerializableJsonValue> | undefined;
|
|
1706
1706
|
data?: SerializableJsonValue | undefined;
|
|
@@ -1727,18 +1727,18 @@ declare const validateSSEEvent: (event: unknown) => z.ZodSafeParseResult<{
|
|
|
1727
1727
|
parent_tool_call_id: string & z.core.$brand<"ToolCallId">;
|
|
1728
1728
|
subrun_id: string;
|
|
1729
1729
|
source_event_id: string;
|
|
1730
|
-
kind: "error" | "
|
|
1730
|
+
kind: "error" | "history_summary" | "final_answer" | "tool_output" | "tool_call_decision" | "tool_process" | "thought_delta" | "thought_complete" | "final_answer_chunk" | "llm_retry";
|
|
1731
1731
|
type: "subrun_trace";
|
|
1732
1732
|
run_id?: (string & z.core.$brand<"RunId">) | undefined;
|
|
1733
1733
|
execution_id?: string | undefined;
|
|
1734
1734
|
lane?: "foreground" | "auxiliary" | "child" | undefined;
|
|
1735
|
-
visibility?: "
|
|
1735
|
+
visibility?: "none" | "conversation" | "parent-trace" | undefined;
|
|
1736
1736
|
execution_seq?: number | undefined;
|
|
1737
1737
|
metadata?: Record<string, SerializableJsonValue> | undefined;
|
|
1738
1738
|
subrun_parent_id?: string | undefined;
|
|
1739
1739
|
retry?: {
|
|
1740
1740
|
retry_id: string;
|
|
1741
|
-
status: "
|
|
1741
|
+
status: "failed" | "cancelled" | "waiting" | "retrying" | "succeeded" | "exhausted";
|
|
1742
1742
|
category: "output" | "transport" | "rate_limit" | "other";
|
|
1743
1743
|
attempt: number;
|
|
1744
1744
|
max_retries: number;
|
|
@@ -1805,7 +1805,7 @@ declare const validateSSEEvent: (event: unknown) => z.ZodSafeParseResult<{
|
|
|
1805
1805
|
interaction_status: "pending";
|
|
1806
1806
|
execution_id?: string | undefined;
|
|
1807
1807
|
lane?: "foreground" | "auxiliary" | "child" | undefined;
|
|
1808
|
-
visibility?: "
|
|
1808
|
+
visibility?: "none" | "conversation" | "parent-trace" | undefined;
|
|
1809
1809
|
execution_seq?: number | undefined;
|
|
1810
1810
|
metadata?: Record<string, SerializableJsonValue> | undefined;
|
|
1811
1811
|
form?: SerializableJsonValue | undefined;
|
|
@@ -1817,7 +1817,7 @@ declare const validateSSEEvent: (event: unknown) => z.ZodSafeParseResult<{
|
|
|
1817
1817
|
conversation_id: string;
|
|
1818
1818
|
turn_id: string;
|
|
1819
1819
|
retry_id: string;
|
|
1820
|
-
status: "
|
|
1820
|
+
status: "failed" | "cancelled" | "waiting" | "retrying" | "succeeded" | "exhausted";
|
|
1821
1821
|
category: "output" | "transport" | "rate_limit" | "other";
|
|
1822
1822
|
attempt: number;
|
|
1823
1823
|
max_retries: number;
|
|
@@ -1830,7 +1830,7 @@ declare const validateSSEEvent: (event: unknown) => z.ZodSafeParseResult<{
|
|
|
1830
1830
|
run_id?: (string & z.core.$brand<"RunId">) | undefined;
|
|
1831
1831
|
execution_id?: string | undefined;
|
|
1832
1832
|
lane?: "foreground" | "auxiliary" | "child" | undefined;
|
|
1833
|
-
visibility?: "
|
|
1833
|
+
visibility?: "none" | "conversation" | "parent-trace" | undefined;
|
|
1834
1834
|
execution_seq?: number | undefined;
|
|
1835
1835
|
metadata?: Record<string, SerializableJsonValue> | undefined;
|
|
1836
1836
|
next_retry_at?: number | undefined;
|
|
@@ -1844,7 +1844,7 @@ declare const validateSSEEvent: (event: unknown) => z.ZodSafeParseResult<{
|
|
|
1844
1844
|
run_id?: (string & z.core.$brand<"RunId">) | undefined;
|
|
1845
1845
|
execution_id?: string | undefined;
|
|
1846
1846
|
lane?: "foreground" | "auxiliary" | "child" | undefined;
|
|
1847
|
-
visibility?: "
|
|
1847
|
+
visibility?: "none" | "conversation" | "parent-trace" | undefined;
|
|
1848
1848
|
execution_seq?: number | undefined;
|
|
1849
1849
|
metadata?: Record<string, SerializableJsonValue> | undefined;
|
|
1850
1850
|
error_code?: string | undefined;
|
|
@@ -1861,7 +1861,7 @@ declare const validateSSEEvent: (event: unknown) => z.ZodSafeParseResult<{
|
|
|
1861
1861
|
error: string;
|
|
1862
1862
|
run_id?: (string & z.core.$brand<"RunId">) | undefined;
|
|
1863
1863
|
lane?: "foreground" | "auxiliary" | "child" | undefined;
|
|
1864
|
-
visibility?: "
|
|
1864
|
+
visibility?: "none" | "conversation" | "parent-trace" | undefined;
|
|
1865
1865
|
execution_seq?: number | undefined;
|
|
1866
1866
|
metadata?: Record<string, SerializableJsonValue> | undefined;
|
|
1867
1867
|
details?: SerializableJsonValue | undefined;
|
|
@@ -1894,7 +1894,7 @@ declare const validateSSEEvent: (event: unknown) => z.ZodSafeParseResult<{
|
|
|
1894
1894
|
run_id?: (string & z.core.$brand<"RunId">) | undefined;
|
|
1895
1895
|
execution_id?: string | undefined;
|
|
1896
1896
|
lane?: "foreground" | "auxiliary" | "child" | undefined;
|
|
1897
|
-
visibility?: "
|
|
1897
|
+
visibility?: "none" | "conversation" | "parent-trace" | undefined;
|
|
1898
1898
|
execution_seq?: number | undefined;
|
|
1899
1899
|
metadata?: Record<string, SerializableJsonValue> | undefined;
|
|
1900
1900
|
user_message_id?: string | undefined;
|
|
@@ -1905,11 +1905,11 @@ declare const validateSSEEvent: (event: unknown) => z.ZodSafeParseResult<{
|
|
|
1905
1905
|
turn_id: string;
|
|
1906
1906
|
type: "run_execution_metrics";
|
|
1907
1907
|
execution_id: string;
|
|
1908
|
-
outcome: "
|
|
1908
|
+
outcome: "completed" | "failed" | "cancelled" | "awaiting_user";
|
|
1909
1909
|
duration_ms: number;
|
|
1910
1910
|
run_id?: (string & z.core.$brand<"RunId">) | undefined;
|
|
1911
1911
|
lane?: "foreground" | "auxiliary" | "child" | undefined;
|
|
1912
|
-
visibility?: "
|
|
1912
|
+
visibility?: "none" | "conversation" | "parent-trace" | undefined;
|
|
1913
1913
|
execution_seq?: number | undefined;
|
|
1914
1914
|
metadata?: Record<string, SerializableJsonValue> | undefined;
|
|
1915
1915
|
user_message_id?: string | undefined;
|
|
@@ -1939,9 +1939,9 @@ declare const validateSSEEvent: (event: unknown) => z.ZodSafeParseResult<{
|
|
|
1939
1939
|
type: "run_status";
|
|
1940
1940
|
run_id: string & z.core.$brand<"RunId">;
|
|
1941
1941
|
execution_id: string;
|
|
1942
|
-
status: "
|
|
1942
|
+
status: "completed" | "failed" | "cancelled" | "paused" | "pending" | "running" | "awaiting_user";
|
|
1943
1943
|
lane?: "foreground" | "auxiliary" | "child" | undefined;
|
|
1944
|
-
visibility?: "
|
|
1944
|
+
visibility?: "none" | "conversation" | "parent-trace" | undefined;
|
|
1945
1945
|
execution_seq?: number | undefined;
|
|
1946
1946
|
metadata?: Record<string, SerializableJsonValue> | undefined;
|
|
1947
1947
|
reason_message?: string | undefined;
|
|
@@ -1954,10 +1954,10 @@ declare const validateSSEEvent: (event: unknown) => z.ZodSafeParseResult<{
|
|
|
1954
1954
|
execution_id: string;
|
|
1955
1955
|
run_id?: (string & z.core.$brand<"RunId">) | undefined;
|
|
1956
1956
|
lane?: "foreground" | "auxiliary" | "child" | undefined;
|
|
1957
|
-
visibility?: "
|
|
1957
|
+
visibility?: "none" | "conversation" | "parent-trace" | undefined;
|
|
1958
1958
|
execution_seq?: number | undefined;
|
|
1959
1959
|
metadata?: Record<string, SerializableJsonValue> | undefined;
|
|
1960
|
-
reason?: "error" | "
|
|
1960
|
+
reason?: "error" | "interrupted" | "complete" | "timeout" | undefined;
|
|
1961
1961
|
reason_message?: string | undefined;
|
|
1962
1962
|
} | {
|
|
1963
1963
|
id: string;
|
|
@@ -1973,7 +1973,7 @@ declare const validateSSEEvent: (event: unknown) => z.ZodSafeParseResult<{
|
|
|
1973
1973
|
run_id?: (string & z.core.$brand<"RunId">) | undefined;
|
|
1974
1974
|
execution_id?: string | undefined;
|
|
1975
1975
|
lane?: "foreground" | "auxiliary" | "child" | undefined;
|
|
1976
|
-
visibility?: "
|
|
1976
|
+
visibility?: "none" | "conversation" | "parent-trace" | undefined;
|
|
1977
1977
|
execution_seq?: number | undefined;
|
|
1978
1978
|
metadata?: Record<string, SerializableJsonValue> | undefined;
|
|
1979
1979
|
compression_ratio?: number | undefined;
|
|
@@ -1988,7 +1988,7 @@ declare const validateSSEEvent: (event: unknown) => z.ZodSafeParseResult<{
|
|
|
1988
1988
|
execution_id: string;
|
|
1989
1989
|
summarization_id: string;
|
|
1990
1990
|
lane?: "foreground" | "auxiliary" | "child" | undefined;
|
|
1991
|
-
visibility?: "
|
|
1991
|
+
visibility?: "none" | "conversation" | "parent-trace" | undefined;
|
|
1992
1992
|
execution_seq?: number | undefined;
|
|
1993
1993
|
metadata?: Record<string, SerializableJsonValue> | undefined;
|
|
1994
1994
|
} | {
|
|
@@ -2004,7 +2004,7 @@ declare const validateSSEEvent: (event: unknown) => z.ZodSafeParseResult<{
|
|
|
2004
2004
|
original_message_count: number;
|
|
2005
2005
|
compressed_message_count: number;
|
|
2006
2006
|
lane?: "foreground" | "auxiliary" | "child" | undefined;
|
|
2007
|
-
visibility?: "
|
|
2007
|
+
visibility?: "none" | "conversation" | "parent-trace" | undefined;
|
|
2008
2008
|
execution_seq?: number | undefined;
|
|
2009
2009
|
metadata?: Record<string, SerializableJsonValue> | undefined;
|
|
2010
2010
|
compression_ratio?: number | undefined;
|
|
@@ -2019,7 +2019,7 @@ declare const validateSSEEvent: (event: unknown) => z.ZodSafeParseResult<{
|
|
|
2019
2019
|
summarization_id: string;
|
|
2020
2020
|
error: string;
|
|
2021
2021
|
lane?: "foreground" | "auxiliary" | "child" | undefined;
|
|
2022
|
-
visibility?: "
|
|
2022
|
+
visibility?: "none" | "conversation" | "parent-trace" | undefined;
|
|
2023
2023
|
execution_seq?: number | undefined;
|
|
2024
2024
|
metadata?: Record<string, SerializableJsonValue> | undefined;
|
|
2025
2025
|
}>;
|