@roll-agent/protocol 0.10.0 → 0.12.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/dist/index.d.ts
CHANGED
|
@@ -135,6 +135,7 @@ export declare const REQUIRED_RUNTIME_SERVER_REQUEST_METHODS_BY_VERSION: {
|
|
|
135
135
|
export declare function getRuntimeProtocolCapabilities(version: RuntimeProtocolVersion): RuntimeProtocolCapabilities;
|
|
136
136
|
export declare function isRuntimeServerRequestMethodRequired(version: RuntimeProtocolVersion, method: RuntimeServerRequestMethod): boolean;
|
|
137
137
|
export declare const RUNTIME_METHODS: {
|
|
138
|
+
readonly reasoningTextSubscribe: "reasoning.text.subscribe";
|
|
138
139
|
readonly operationResultGet: "operation.result.get";
|
|
139
140
|
readonly initialize: "initialize";
|
|
140
141
|
readonly clientCapabilitiesSet: "client.capabilities.set";
|
|
@@ -147,6 +148,8 @@ export declare const RUNTIME_METHODS: {
|
|
|
147
148
|
readonly threadDelete: "thread.delete";
|
|
148
149
|
readonly threadDetach: "thread.detach";
|
|
149
150
|
readonly threadCapabilities: "thread.capabilities";
|
|
151
|
+
readonly modelConfigGet: "runtime.modelConfig.get";
|
|
152
|
+
readonly modelConfigReload: "runtime.modelConfig.reload";
|
|
150
153
|
readonly turnStart: "turn.start";
|
|
151
154
|
readonly turnCancel: "turn.cancel";
|
|
152
155
|
readonly approvalRespond: "approval.respond";
|
|
@@ -3919,6 +3922,60 @@ export declare const threadSnapshotSchema: z.ZodUnion<readonly [z.ZodReadonly<z.
|
|
|
3919
3922
|
requiredItemCount: z.ZodNumber;
|
|
3920
3923
|
}, z.core.$strict>>>;
|
|
3921
3924
|
}, z.core.$strict>>]>;
|
|
3925
|
+
declare const runtimeModelConfigIdentitySchema: z.ZodObject<{
|
|
3926
|
+
provider: z.ZodString;
|
|
3927
|
+
model: z.ZodString;
|
|
3928
|
+
}, z.core.$strict>;
|
|
3929
|
+
declare const runtimeModelConfigFailureSchema: z.ZodEnum<{
|
|
3930
|
+
"invalid-config": "invalid-config";
|
|
3931
|
+
"restart-required": "restart-required";
|
|
3932
|
+
"apply-failed": "apply-failed";
|
|
3933
|
+
}>;
|
|
3934
|
+
export declare const runtimeModelConfigStatusSchema: z.ZodReadonly<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3935
|
+
status: z.ZodLiteral<"applied">;
|
|
3936
|
+
revision: z.ZodInt;
|
|
3937
|
+
active: z.ZodReadonly<z.ZodObject<{
|
|
3938
|
+
provider: z.ZodString;
|
|
3939
|
+
model: z.ZodString;
|
|
3940
|
+
revision: z.ZodInt;
|
|
3941
|
+
reasoning: z.ZodNullable<z.ZodEnum<{
|
|
3942
|
+
text: "text";
|
|
3943
|
+
summary: "summary";
|
|
3944
|
+
}>>;
|
|
3945
|
+
}, z.core.$strict>>;
|
|
3946
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3947
|
+
status: z.ZodLiteral<"pending">;
|
|
3948
|
+
revision: z.ZodInt;
|
|
3949
|
+
active: z.ZodReadonly<z.ZodObject<{
|
|
3950
|
+
provider: z.ZodString;
|
|
3951
|
+
model: z.ZodString;
|
|
3952
|
+
revision: z.ZodInt;
|
|
3953
|
+
reasoning: z.ZodNullable<z.ZodEnum<{
|
|
3954
|
+
text: "text";
|
|
3955
|
+
summary: "summary";
|
|
3956
|
+
}>>;
|
|
3957
|
+
}, z.core.$strict>>;
|
|
3958
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3959
|
+
status: z.ZodLiteral<"failed">;
|
|
3960
|
+
reason: z.ZodEnum<{
|
|
3961
|
+
"invalid-config": "invalid-config";
|
|
3962
|
+
"restart-required": "restart-required";
|
|
3963
|
+
"apply-failed": "apply-failed";
|
|
3964
|
+
}>;
|
|
3965
|
+
revision: z.ZodInt;
|
|
3966
|
+
active: z.ZodReadonly<z.ZodObject<{
|
|
3967
|
+
provider: z.ZodString;
|
|
3968
|
+
model: z.ZodString;
|
|
3969
|
+
revision: z.ZodInt;
|
|
3970
|
+
reasoning: z.ZodNullable<z.ZodEnum<{
|
|
3971
|
+
text: "text";
|
|
3972
|
+
summary: "summary";
|
|
3973
|
+
}>>;
|
|
3974
|
+
}, z.core.$strict>>;
|
|
3975
|
+
}, z.core.$strict>], "status">>;
|
|
3976
|
+
export type RuntimeModelConfigStatus = z.infer<typeof runtimeModelConfigStatusSchema>;
|
|
3977
|
+
export type RuntimeModelConfigIdentity = Readonly<z.infer<typeof runtimeModelConfigIdentitySchema>>;
|
|
3978
|
+
export type RuntimeModelConfigFailure = z.infer<typeof runtimeModelConfigFailureSchema>;
|
|
3922
3979
|
export declare const threadListParamsSchema: z.ZodReadonly<z.ZodObject<{
|
|
3923
3980
|
cursor: z.ZodOptional<z.ZodString>;
|
|
3924
3981
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -5332,9 +5389,9 @@ export declare const runtimeEventV11Schema: z.ZodDiscriminatedUnion<[z.ZodReadon
|
|
|
5332
5389
|
streamId: z.core.$ZodBranded<z.ZodString, "StreamId", "out">;
|
|
5333
5390
|
text: z.ZodString;
|
|
5334
5391
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
5335
|
-
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
5336
5392
|
reasoningId: z.ZodString;
|
|
5337
5393
|
delta: z.ZodString;
|
|
5394
|
+
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
5338
5395
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
5339
5396
|
type: z.ZodLiteral<"tool.started">;
|
|
5340
5397
|
toolCallId: z.ZodString;
|
|
@@ -5489,9 +5546,9 @@ export declare const runtimeEphemeralEventV13Schema: z.ZodDiscriminatedUnion<[z.
|
|
|
5489
5546
|
streamId: z.core.$ZodBranded<z.ZodString, "StreamId", "out">;
|
|
5490
5547
|
delta: z.ZodString;
|
|
5491
5548
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
5492
|
-
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
5493
5549
|
reasoningId: z.ZodString;
|
|
5494
5550
|
delta: z.ZodString;
|
|
5551
|
+
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
5495
5552
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
5496
5553
|
type: z.ZodLiteral<"tool.started">;
|
|
5497
5554
|
toolCallId: z.ZodString;
|
|
@@ -5524,9 +5581,9 @@ export declare const runtimeEventV12Schema: z.ZodDiscriminatedUnion<[z.ZodReadon
|
|
|
5524
5581
|
streamId: z.core.$ZodBranded<z.ZodString, "StreamId", "out">;
|
|
5525
5582
|
text: z.ZodString;
|
|
5526
5583
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
5527
|
-
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
5528
5584
|
reasoningId: z.ZodString;
|
|
5529
5585
|
delta: z.ZodString;
|
|
5586
|
+
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
5530
5587
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
5531
5588
|
type: z.ZodLiteral<"tool.started">;
|
|
5532
5589
|
toolCallId: z.ZodString;
|
|
@@ -5620,9 +5677,9 @@ export declare const runtimeEventV13Schema: z.ZodDiscriminatedUnion<[z.ZodReadon
|
|
|
5620
5677
|
streamId: z.core.$ZodBranded<z.ZodString, "StreamId", "out">;
|
|
5621
5678
|
text: z.ZodString;
|
|
5622
5679
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
5623
|
-
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
5624
5680
|
reasoningId: z.ZodString;
|
|
5625
5681
|
delta: z.ZodString;
|
|
5682
|
+
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
5626
5683
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
5627
5684
|
type: z.ZodLiteral<"tool.started">;
|
|
5628
5685
|
toolCallId: z.ZodString;
|
|
@@ -5923,9 +5980,9 @@ export declare const runtimeEventV15Schema: z.ZodUnion<readonly [z.ZodDiscrimina
|
|
|
5923
5980
|
streamId: z.core.$ZodBranded<z.ZodString, "StreamId", "out">;
|
|
5924
5981
|
delta: z.ZodString;
|
|
5925
5982
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
5926
|
-
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
5927
5983
|
reasoningId: z.ZodString;
|
|
5928
5984
|
delta: z.ZodString;
|
|
5985
|
+
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
5929
5986
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
5930
5987
|
type: z.ZodLiteral<"tool.started">;
|
|
5931
5988
|
toolCallId: z.ZodString;
|
|
@@ -6048,6 +6105,38 @@ export declare const runtimeDurableEventV16Schema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
6048
6105
|
requiredItemCount: z.ZodNumber;
|
|
6049
6106
|
}, z.core.$strict>>>;
|
|
6050
6107
|
}, z.core.$strict>>], "type">;
|
|
6108
|
+
export declare const runtimeEphemeralEventV16Schema: z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
|
|
6109
|
+
type: z.ZodLiteral<"message.started">;
|
|
6110
|
+
streamId: z.core.$ZodBranded<z.ZodString, "StreamId", "out">;
|
|
6111
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
6112
|
+
type: z.ZodLiteral<"message.delta">;
|
|
6113
|
+
streamId: z.core.$ZodBranded<z.ZodString, "StreamId", "out">;
|
|
6114
|
+
delta: z.ZodString;
|
|
6115
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
6116
|
+
reasoningId: z.ZodString;
|
|
6117
|
+
delta: z.ZodString;
|
|
6118
|
+
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
6119
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
6120
|
+
type: z.ZodLiteral<"tool.started">;
|
|
6121
|
+
toolCallId: z.ZodString;
|
|
6122
|
+
agentName: z.ZodString;
|
|
6123
|
+
toolName: z.ZodString;
|
|
6124
|
+
input: z.ZodJSONSchema;
|
|
6125
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
6126
|
+
type: z.ZodLiteral<"tool.output">;
|
|
6127
|
+
toolCallId: z.ZodString;
|
|
6128
|
+
agentName: z.ZodString;
|
|
6129
|
+
toolName: z.ZodString;
|
|
6130
|
+
stream: z.ZodEnum<{
|
|
6131
|
+
stdout: "stdout";
|
|
6132
|
+
stderr: "stderr";
|
|
6133
|
+
}>;
|
|
6134
|
+
delta: z.ZodString;
|
|
6135
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
6136
|
+
reasoningId: z.ZodString;
|
|
6137
|
+
delta: z.ZodString;
|
|
6138
|
+
type: z.ZodLiteral<"reasoning.text.delta">;
|
|
6139
|
+
}, z.core.$strict>>], "type">;
|
|
6051
6140
|
export declare const runtimeEventV16Schema: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
|
|
6052
6141
|
type: z.ZodLiteral<"turn.started">;
|
|
6053
6142
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -6151,9 +6240,9 @@ export declare const runtimeEventV16Schema: z.ZodUnion<readonly [z.ZodDiscrimina
|
|
|
6151
6240
|
streamId: z.core.$ZodBranded<z.ZodString, "StreamId", "out">;
|
|
6152
6241
|
delta: z.ZodString;
|
|
6153
6242
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
6154
|
-
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
6155
6243
|
reasoningId: z.ZodString;
|
|
6156
6244
|
delta: z.ZodString;
|
|
6245
|
+
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
6157
6246
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
6158
6247
|
type: z.ZodLiteral<"tool.started">;
|
|
6159
6248
|
toolCallId: z.ZodString;
|
|
@@ -6170,6 +6259,10 @@ export declare const runtimeEventV16Schema: z.ZodUnion<readonly [z.ZodDiscrimina
|
|
|
6170
6259
|
stderr: "stderr";
|
|
6171
6260
|
}>;
|
|
6172
6261
|
delta: z.ZodString;
|
|
6262
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
6263
|
+
reasoningId: z.ZodString;
|
|
6264
|
+
delta: z.ZodString;
|
|
6265
|
+
type: z.ZodLiteral<"reasoning.text.delta">;
|
|
6173
6266
|
}, z.core.$strict>>], "type">]>;
|
|
6174
6267
|
/** Latest Runtime Protocol event payloads. */
|
|
6175
6268
|
export declare const runtimeEventSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
|
|
@@ -6275,9 +6368,9 @@ export declare const runtimeEventSchema: z.ZodUnion<readonly [z.ZodDiscriminated
|
|
|
6275
6368
|
streamId: z.core.$ZodBranded<z.ZodString, "StreamId", "out">;
|
|
6276
6369
|
delta: z.ZodString;
|
|
6277
6370
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
6278
|
-
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
6279
6371
|
reasoningId: z.ZodString;
|
|
6280
6372
|
delta: z.ZodString;
|
|
6373
|
+
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
6281
6374
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
6282
6375
|
type: z.ZodLiteral<"tool.started">;
|
|
6283
6376
|
toolCallId: z.ZodString;
|
|
@@ -6294,6 +6387,10 @@ export declare const runtimeEventSchema: z.ZodUnion<readonly [z.ZodDiscriminated
|
|
|
6294
6387
|
stderr: "stderr";
|
|
6295
6388
|
}>;
|
|
6296
6389
|
delta: z.ZodString;
|
|
6390
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
6391
|
+
reasoningId: z.ZodString;
|
|
6392
|
+
delta: z.ZodString;
|
|
6393
|
+
type: z.ZodLiteral<"reasoning.text.delta">;
|
|
6297
6394
|
}, z.core.$strict>>], "type">]>;
|
|
6298
6395
|
/** Runtime Protocol 1.1/1.0 event envelope. Keep this schema frozen. */
|
|
6299
6396
|
export declare const runtimeEventEnvelopeV11Schema: z.ZodReadonly<z.ZodObject<{
|
|
@@ -6311,9 +6408,9 @@ export declare const runtimeEventEnvelopeV11Schema: z.ZodReadonly<z.ZodObject<{
|
|
|
6311
6408
|
streamId: z.core.$ZodBranded<z.ZodString, "StreamId", "out">;
|
|
6312
6409
|
text: z.ZodString;
|
|
6313
6410
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
6314
|
-
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
6315
6411
|
reasoningId: z.ZodString;
|
|
6316
6412
|
delta: z.ZodString;
|
|
6413
|
+
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
6317
6414
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
6318
6415
|
type: z.ZodLiteral<"tool.started">;
|
|
6319
6416
|
toolCallId: z.ZodString;
|
|
@@ -6418,9 +6515,9 @@ export declare const runtimeEventEnvelopeV12Schema: z.ZodReadonly<z.ZodObject<{
|
|
|
6418
6515
|
streamId: z.core.$ZodBranded<z.ZodString, "StreamId", "out">;
|
|
6419
6516
|
text: z.ZodString;
|
|
6420
6517
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
6421
|
-
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
6422
6518
|
reasoningId: z.ZodString;
|
|
6423
6519
|
delta: z.ZodString;
|
|
6520
|
+
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
6424
6521
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
6425
6522
|
type: z.ZodLiteral<"tool.started">;
|
|
6426
6523
|
toolCallId: z.ZodString;
|
|
@@ -6595,9 +6692,9 @@ export declare const runtimeEphemeralEventEnvelopeV13Schema: z.ZodReadonly<z.Zod
|
|
|
6595
6692
|
streamId: z.core.$ZodBranded<z.ZodString, "StreamId", "out">;
|
|
6596
6693
|
delta: z.ZodString;
|
|
6597
6694
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
6598
|
-
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
6599
6695
|
reasoningId: z.ZodString;
|
|
6600
6696
|
delta: z.ZodString;
|
|
6697
|
+
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
6601
6698
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
6602
6699
|
type: z.ZodLiteral<"tool.started">;
|
|
6603
6700
|
toolCallId: z.ZodString;
|
|
@@ -6710,9 +6807,9 @@ export declare const runtimeEventEnvelopeV13Schema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
6710
6807
|
streamId: z.core.$ZodBranded<z.ZodString, "StreamId", "out">;
|
|
6711
6808
|
delta: z.ZodString;
|
|
6712
6809
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
6713
|
-
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
6714
6810
|
reasoningId: z.ZodString;
|
|
6715
6811
|
delta: z.ZodString;
|
|
6812
|
+
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
6716
6813
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
6717
6814
|
type: z.ZodLiteral<"tool.started">;
|
|
6718
6815
|
toolCallId: z.ZodString;
|
|
@@ -6826,9 +6923,9 @@ export declare const runtimeEphemeralEventEnvelopeV14Schema: z.ZodReadonly<z.Zod
|
|
|
6826
6923
|
streamId: z.core.$ZodBranded<z.ZodString, "StreamId", "out">;
|
|
6827
6924
|
delta: z.ZodString;
|
|
6828
6925
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
6829
|
-
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
6830
6926
|
reasoningId: z.ZodString;
|
|
6831
6927
|
delta: z.ZodString;
|
|
6928
|
+
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
6832
6929
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
6833
6930
|
type: z.ZodLiteral<"tool.started">;
|
|
6834
6931
|
toolCallId: z.ZodString;
|
|
@@ -6941,9 +7038,9 @@ export declare const runtimeEventEnvelopeV14Schema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
6941
7038
|
streamId: z.core.$ZodBranded<z.ZodString, "StreamId", "out">;
|
|
6942
7039
|
delta: z.ZodString;
|
|
6943
7040
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
6944
|
-
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
6945
7041
|
reasoningId: z.ZodString;
|
|
6946
7042
|
delta: z.ZodString;
|
|
7043
|
+
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
6947
7044
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
6948
7045
|
type: z.ZodLiteral<"tool.started">;
|
|
6949
7046
|
toolCallId: z.ZodString;
|
|
@@ -7077,9 +7174,9 @@ export declare const runtimeEphemeralEventEnvelopeV15Schema: z.ZodReadonly<z.Zod
|
|
|
7077
7174
|
streamId: z.core.$ZodBranded<z.ZodString, "StreamId", "out">;
|
|
7078
7175
|
delta: z.ZodString;
|
|
7079
7176
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
7080
|
-
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
7081
7177
|
reasoningId: z.ZodString;
|
|
7082
7178
|
delta: z.ZodString;
|
|
7179
|
+
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
7083
7180
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
7084
7181
|
type: z.ZodLiteral<"tool.started">;
|
|
7085
7182
|
toolCallId: z.ZodString;
|
|
@@ -7212,9 +7309,9 @@ export declare const runtimeEventEnvelopeV15Schema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
7212
7309
|
streamId: z.core.$ZodBranded<z.ZodString, "StreamId", "out">;
|
|
7213
7310
|
delta: z.ZodString;
|
|
7214
7311
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
7215
|
-
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
7216
7312
|
reasoningId: z.ZodString;
|
|
7217
7313
|
delta: z.ZodString;
|
|
7314
|
+
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
7218
7315
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
7219
7316
|
type: z.ZodLiteral<"tool.started">;
|
|
7220
7317
|
toolCallId: z.ZodString;
|
|
@@ -7357,9 +7454,9 @@ export declare const runtimeEphemeralEventEnvelopeV16Schema: z.ZodReadonly<z.Zod
|
|
|
7357
7454
|
streamId: z.core.$ZodBranded<z.ZodString, "StreamId", "out">;
|
|
7358
7455
|
delta: z.ZodString;
|
|
7359
7456
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
7360
|
-
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
7361
7457
|
reasoningId: z.ZodString;
|
|
7362
7458
|
delta: z.ZodString;
|
|
7459
|
+
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
7363
7460
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
7364
7461
|
type: z.ZodLiteral<"tool.started">;
|
|
7365
7462
|
toolCallId: z.ZodString;
|
|
@@ -7376,6 +7473,10 @@ export declare const runtimeEphemeralEventEnvelopeV16Schema: z.ZodReadonly<z.Zod
|
|
|
7376
7473
|
stderr: "stderr";
|
|
7377
7474
|
}>;
|
|
7378
7475
|
delta: z.ZodString;
|
|
7476
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
7477
|
+
reasoningId: z.ZodString;
|
|
7478
|
+
delta: z.ZodString;
|
|
7479
|
+
type: z.ZodLiteral<"reasoning.text.delta">;
|
|
7379
7480
|
}, z.core.$strict>>], "type">;
|
|
7380
7481
|
runtimeInstanceId: z.core.$ZodBranded<z.ZodString, "RuntimeInstanceId", "out">;
|
|
7381
7482
|
sequence: z.ZodNumber;
|
|
@@ -7500,9 +7601,9 @@ export declare const runtimeEventEnvelopeV16Schema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
7500
7601
|
streamId: z.core.$ZodBranded<z.ZodString, "StreamId", "out">;
|
|
7501
7602
|
delta: z.ZodString;
|
|
7502
7603
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
7503
|
-
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
7504
7604
|
reasoningId: z.ZodString;
|
|
7505
7605
|
delta: z.ZodString;
|
|
7606
|
+
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
7506
7607
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
7507
7608
|
type: z.ZodLiteral<"tool.started">;
|
|
7508
7609
|
toolCallId: z.ZodString;
|
|
@@ -7519,6 +7620,10 @@ export declare const runtimeEventEnvelopeV16Schema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
7519
7620
|
stderr: "stderr";
|
|
7520
7621
|
}>;
|
|
7521
7622
|
delta: z.ZodString;
|
|
7623
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
7624
|
+
reasoningId: z.ZodString;
|
|
7625
|
+
delta: z.ZodString;
|
|
7626
|
+
type: z.ZodLiteral<"reasoning.text.delta">;
|
|
7522
7627
|
}, z.core.$strict>>], "type">;
|
|
7523
7628
|
runtimeInstanceId: z.core.$ZodBranded<z.ZodString, "RuntimeInstanceId", "out">;
|
|
7524
7629
|
sequence: z.ZodNumber;
|
|
@@ -7643,9 +7748,9 @@ export declare const runtimeEventEnvelopeSchema: z.ZodUnion<readonly [z.ZodDiscr
|
|
|
7643
7748
|
streamId: z.core.$ZodBranded<z.ZodString, "StreamId", "out">;
|
|
7644
7749
|
delta: z.ZodString;
|
|
7645
7750
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
7646
|
-
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
7647
7751
|
reasoningId: z.ZodString;
|
|
7648
7752
|
delta: z.ZodString;
|
|
7753
|
+
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
7649
7754
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
7650
7755
|
type: z.ZodLiteral<"tool.started">;
|
|
7651
7756
|
toolCallId: z.ZodString;
|
|
@@ -7662,6 +7767,10 @@ export declare const runtimeEventEnvelopeSchema: z.ZodUnion<readonly [z.ZodDiscr
|
|
|
7662
7767
|
stderr: "stderr";
|
|
7663
7768
|
}>;
|
|
7664
7769
|
delta: z.ZodString;
|
|
7770
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
7771
|
+
reasoningId: z.ZodString;
|
|
7772
|
+
delta: z.ZodString;
|
|
7773
|
+
type: z.ZodLiteral<"reasoning.text.delta">;
|
|
7665
7774
|
}, z.core.$strict>>], "type">;
|
|
7666
7775
|
runtimeInstanceId: z.core.$ZodBranded<z.ZodString, "RuntimeInstanceId", "out">;
|
|
7667
7776
|
sequence: z.ZodNumber;
|
|
@@ -7777,9 +7886,9 @@ export declare const runtimeEventEnvelopeSchema: z.ZodUnion<readonly [z.ZodDiscr
|
|
|
7777
7886
|
streamId: z.core.$ZodBranded<z.ZodString, "StreamId", "out">;
|
|
7778
7887
|
delta: z.ZodString;
|
|
7779
7888
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
7780
|
-
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
7781
7889
|
reasoningId: z.ZodString;
|
|
7782
7890
|
delta: z.ZodString;
|
|
7891
|
+
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
7783
7892
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
7784
7893
|
type: z.ZodLiteral<"tool.started">;
|
|
7785
7894
|
toolCallId: z.ZodString;
|
|
@@ -7891,9 +8000,9 @@ export declare const runtimeEventEnvelopeSchema: z.ZodUnion<readonly [z.ZodDiscr
|
|
|
7891
8000
|
streamId: z.core.$ZodBranded<z.ZodString, "StreamId", "out">;
|
|
7892
8001
|
delta: z.ZodString;
|
|
7893
8002
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
7894
|
-
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
7895
8003
|
reasoningId: z.ZodString;
|
|
7896
8004
|
delta: z.ZodString;
|
|
8005
|
+
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
7897
8006
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
7898
8007
|
type: z.ZodLiteral<"tool.started">;
|
|
7899
8008
|
toolCallId: z.ZodString;
|
|
@@ -8005,9 +8114,9 @@ export declare const runtimeEventEnvelopeSchema: z.ZodUnion<readonly [z.ZodDiscr
|
|
|
8005
8114
|
streamId: z.core.$ZodBranded<z.ZodString, "StreamId", "out">;
|
|
8006
8115
|
delta: z.ZodString;
|
|
8007
8116
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
8008
|
-
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
8009
8117
|
reasoningId: z.ZodString;
|
|
8010
8118
|
delta: z.ZodString;
|
|
8119
|
+
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
8011
8120
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
8012
8121
|
type: z.ZodLiteral<"tool.started">;
|
|
8013
8122
|
toolCallId: z.ZodString;
|
|
@@ -8046,9 +8155,9 @@ export declare const runtimeEventEnvelopeSchema: z.ZodUnion<readonly [z.ZodDiscr
|
|
|
8046
8155
|
streamId: z.core.$ZodBranded<z.ZodString, "StreamId", "out">;
|
|
8047
8156
|
text: z.ZodString;
|
|
8048
8157
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
8049
|
-
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
8050
8158
|
reasoningId: z.ZodString;
|
|
8051
8159
|
delta: z.ZodString;
|
|
8160
|
+
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
8052
8161
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
8053
8162
|
type: z.ZodLiteral<"tool.started">;
|
|
8054
8163
|
toolCallId: z.ZodString;
|
|
@@ -8148,9 +8257,9 @@ export declare const runtimeEventEnvelopeSchema: z.ZodUnion<readonly [z.ZodDiscr
|
|
|
8148
8257
|
streamId: z.core.$ZodBranded<z.ZodString, "StreamId", "out">;
|
|
8149
8258
|
text: z.ZodString;
|
|
8150
8259
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
8151
|
-
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
8152
8260
|
reasoningId: z.ZodString;
|
|
8153
8261
|
delta: z.ZodString;
|
|
8262
|
+
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
8154
8263
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
8155
8264
|
type: z.ZodLiteral<"tool.started">;
|
|
8156
8265
|
toolCallId: z.ZodString;
|
|
@@ -12109,6 +12218,12 @@ export declare const runtimeMethodSchemasV15: {
|
|
|
12109
12218
|
};
|
|
12110
12219
|
};
|
|
12111
12220
|
export declare const runtimeMethodSchemasV16: {
|
|
12221
|
+
readonly "reasoning.text.subscribe": {
|
|
12222
|
+
readonly params: z.ZodReadonly<z.ZodObject<{}, z.core.$strict>>;
|
|
12223
|
+
readonly result: z.ZodReadonly<z.ZodObject<{
|
|
12224
|
+
subscribed: z.ZodBoolean;
|
|
12225
|
+
}, z.core.$strict>>;
|
|
12226
|
+
};
|
|
12112
12227
|
readonly "approval.preview": {
|
|
12113
12228
|
readonly params: z.ZodReadonly<z.ZodObject<{
|
|
12114
12229
|
turnId: z.core.$ZodBranded<z.ZodString, "TurnId", "out">;
|
|
@@ -12796,6 +12911,98 @@ export declare const runtimeMethodSchemasV16: {
|
|
|
12796
12911
|
}, z.core.$strict>>>;
|
|
12797
12912
|
}, z.core.$strict>>]>;
|
|
12798
12913
|
};
|
|
12914
|
+
readonly "runtime.modelConfig.get": {
|
|
12915
|
+
readonly params: z.ZodReadonly<z.ZodObject<{}, z.core.$strict>>;
|
|
12916
|
+
readonly result: z.ZodReadonly<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
12917
|
+
status: z.ZodLiteral<"applied">;
|
|
12918
|
+
revision: z.ZodInt;
|
|
12919
|
+
active: z.ZodReadonly<z.ZodObject<{
|
|
12920
|
+
provider: z.ZodString;
|
|
12921
|
+
model: z.ZodString;
|
|
12922
|
+
revision: z.ZodInt;
|
|
12923
|
+
reasoning: z.ZodNullable<z.ZodEnum<{
|
|
12924
|
+
text: "text";
|
|
12925
|
+
summary: "summary";
|
|
12926
|
+
}>>;
|
|
12927
|
+
}, z.core.$strict>>;
|
|
12928
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
12929
|
+
status: z.ZodLiteral<"pending">;
|
|
12930
|
+
revision: z.ZodInt;
|
|
12931
|
+
active: z.ZodReadonly<z.ZodObject<{
|
|
12932
|
+
provider: z.ZodString;
|
|
12933
|
+
model: z.ZodString;
|
|
12934
|
+
revision: z.ZodInt;
|
|
12935
|
+
reasoning: z.ZodNullable<z.ZodEnum<{
|
|
12936
|
+
text: "text";
|
|
12937
|
+
summary: "summary";
|
|
12938
|
+
}>>;
|
|
12939
|
+
}, z.core.$strict>>;
|
|
12940
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
12941
|
+
status: z.ZodLiteral<"failed">;
|
|
12942
|
+
reason: z.ZodEnum<{
|
|
12943
|
+
"invalid-config": "invalid-config";
|
|
12944
|
+
"restart-required": "restart-required";
|
|
12945
|
+
"apply-failed": "apply-failed";
|
|
12946
|
+
}>;
|
|
12947
|
+
revision: z.ZodInt;
|
|
12948
|
+
active: z.ZodReadonly<z.ZodObject<{
|
|
12949
|
+
provider: z.ZodString;
|
|
12950
|
+
model: z.ZodString;
|
|
12951
|
+
revision: z.ZodInt;
|
|
12952
|
+
reasoning: z.ZodNullable<z.ZodEnum<{
|
|
12953
|
+
text: "text";
|
|
12954
|
+
summary: "summary";
|
|
12955
|
+
}>>;
|
|
12956
|
+
}, z.core.$strict>>;
|
|
12957
|
+
}, z.core.$strict>], "status">>;
|
|
12958
|
+
};
|
|
12959
|
+
readonly "runtime.modelConfig.reload": {
|
|
12960
|
+
readonly params: z.ZodReadonly<z.ZodObject<{
|
|
12961
|
+
requestId: z.core.$ZodBranded<z.ZodString, "RequestId", "out">;
|
|
12962
|
+
}, z.core.$strict>>;
|
|
12963
|
+
readonly result: z.ZodReadonly<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
12964
|
+
status: z.ZodLiteral<"applied">;
|
|
12965
|
+
revision: z.ZodInt;
|
|
12966
|
+
active: z.ZodReadonly<z.ZodObject<{
|
|
12967
|
+
provider: z.ZodString;
|
|
12968
|
+
model: z.ZodString;
|
|
12969
|
+
revision: z.ZodInt;
|
|
12970
|
+
reasoning: z.ZodNullable<z.ZodEnum<{
|
|
12971
|
+
text: "text";
|
|
12972
|
+
summary: "summary";
|
|
12973
|
+
}>>;
|
|
12974
|
+
}, z.core.$strict>>;
|
|
12975
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
12976
|
+
status: z.ZodLiteral<"pending">;
|
|
12977
|
+
revision: z.ZodInt;
|
|
12978
|
+
active: z.ZodReadonly<z.ZodObject<{
|
|
12979
|
+
provider: z.ZodString;
|
|
12980
|
+
model: z.ZodString;
|
|
12981
|
+
revision: z.ZodInt;
|
|
12982
|
+
reasoning: z.ZodNullable<z.ZodEnum<{
|
|
12983
|
+
text: "text";
|
|
12984
|
+
summary: "summary";
|
|
12985
|
+
}>>;
|
|
12986
|
+
}, z.core.$strict>>;
|
|
12987
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
12988
|
+
status: z.ZodLiteral<"failed">;
|
|
12989
|
+
reason: z.ZodEnum<{
|
|
12990
|
+
"invalid-config": "invalid-config";
|
|
12991
|
+
"restart-required": "restart-required";
|
|
12992
|
+
"apply-failed": "apply-failed";
|
|
12993
|
+
}>;
|
|
12994
|
+
revision: z.ZodInt;
|
|
12995
|
+
active: z.ZodReadonly<z.ZodObject<{
|
|
12996
|
+
provider: z.ZodString;
|
|
12997
|
+
model: z.ZodString;
|
|
12998
|
+
revision: z.ZodInt;
|
|
12999
|
+
reasoning: z.ZodNullable<z.ZodEnum<{
|
|
13000
|
+
text: "text";
|
|
13001
|
+
summary: "summary";
|
|
13002
|
+
}>>;
|
|
13003
|
+
}, z.core.$strict>>;
|
|
13004
|
+
}, z.core.$strict>], "status">>;
|
|
13005
|
+
};
|
|
12799
13006
|
readonly "operation.get": {
|
|
12800
13007
|
readonly params: z.ZodReadonly<z.ZodObject<{
|
|
12801
13008
|
operationId: z.core.$ZodBranded<z.ZodString, "OperationId", "out">;
|
|
@@ -13128,6 +13335,12 @@ export declare const runtimeMethodSchemasV16: {
|
|
|
13128
13335
|
};
|
|
13129
13336
|
};
|
|
13130
13337
|
export declare const runtimeMethodSchemas: {
|
|
13338
|
+
readonly "reasoning.text.subscribe": {
|
|
13339
|
+
readonly params: z.ZodReadonly<z.ZodObject<{}, z.core.$strict>>;
|
|
13340
|
+
readonly result: z.ZodReadonly<z.ZodObject<{
|
|
13341
|
+
subscribed: z.ZodBoolean;
|
|
13342
|
+
}, z.core.$strict>>;
|
|
13343
|
+
};
|
|
13131
13344
|
readonly "approval.preview": {
|
|
13132
13345
|
readonly params: z.ZodReadonly<z.ZodObject<{
|
|
13133
13346
|
turnId: z.core.$ZodBranded<z.ZodString, "TurnId", "out">;
|
|
@@ -13815,6 +14028,98 @@ export declare const runtimeMethodSchemas: {
|
|
|
13815
14028
|
}, z.core.$strict>>>;
|
|
13816
14029
|
}, z.core.$strict>>]>;
|
|
13817
14030
|
};
|
|
14031
|
+
readonly "runtime.modelConfig.get": {
|
|
14032
|
+
readonly params: z.ZodReadonly<z.ZodObject<{}, z.core.$strict>>;
|
|
14033
|
+
readonly result: z.ZodReadonly<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
14034
|
+
status: z.ZodLiteral<"applied">;
|
|
14035
|
+
revision: z.ZodInt;
|
|
14036
|
+
active: z.ZodReadonly<z.ZodObject<{
|
|
14037
|
+
provider: z.ZodString;
|
|
14038
|
+
model: z.ZodString;
|
|
14039
|
+
revision: z.ZodInt;
|
|
14040
|
+
reasoning: z.ZodNullable<z.ZodEnum<{
|
|
14041
|
+
text: "text";
|
|
14042
|
+
summary: "summary";
|
|
14043
|
+
}>>;
|
|
14044
|
+
}, z.core.$strict>>;
|
|
14045
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
14046
|
+
status: z.ZodLiteral<"pending">;
|
|
14047
|
+
revision: z.ZodInt;
|
|
14048
|
+
active: z.ZodReadonly<z.ZodObject<{
|
|
14049
|
+
provider: z.ZodString;
|
|
14050
|
+
model: z.ZodString;
|
|
14051
|
+
revision: z.ZodInt;
|
|
14052
|
+
reasoning: z.ZodNullable<z.ZodEnum<{
|
|
14053
|
+
text: "text";
|
|
14054
|
+
summary: "summary";
|
|
14055
|
+
}>>;
|
|
14056
|
+
}, z.core.$strict>>;
|
|
14057
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
14058
|
+
status: z.ZodLiteral<"failed">;
|
|
14059
|
+
reason: z.ZodEnum<{
|
|
14060
|
+
"invalid-config": "invalid-config";
|
|
14061
|
+
"restart-required": "restart-required";
|
|
14062
|
+
"apply-failed": "apply-failed";
|
|
14063
|
+
}>;
|
|
14064
|
+
revision: z.ZodInt;
|
|
14065
|
+
active: z.ZodReadonly<z.ZodObject<{
|
|
14066
|
+
provider: z.ZodString;
|
|
14067
|
+
model: z.ZodString;
|
|
14068
|
+
revision: z.ZodInt;
|
|
14069
|
+
reasoning: z.ZodNullable<z.ZodEnum<{
|
|
14070
|
+
text: "text";
|
|
14071
|
+
summary: "summary";
|
|
14072
|
+
}>>;
|
|
14073
|
+
}, z.core.$strict>>;
|
|
14074
|
+
}, z.core.$strict>], "status">>;
|
|
14075
|
+
};
|
|
14076
|
+
readonly "runtime.modelConfig.reload": {
|
|
14077
|
+
readonly params: z.ZodReadonly<z.ZodObject<{
|
|
14078
|
+
requestId: z.core.$ZodBranded<z.ZodString, "RequestId", "out">;
|
|
14079
|
+
}, z.core.$strict>>;
|
|
14080
|
+
readonly result: z.ZodReadonly<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
14081
|
+
status: z.ZodLiteral<"applied">;
|
|
14082
|
+
revision: z.ZodInt;
|
|
14083
|
+
active: z.ZodReadonly<z.ZodObject<{
|
|
14084
|
+
provider: z.ZodString;
|
|
14085
|
+
model: z.ZodString;
|
|
14086
|
+
revision: z.ZodInt;
|
|
14087
|
+
reasoning: z.ZodNullable<z.ZodEnum<{
|
|
14088
|
+
text: "text";
|
|
14089
|
+
summary: "summary";
|
|
14090
|
+
}>>;
|
|
14091
|
+
}, z.core.$strict>>;
|
|
14092
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
14093
|
+
status: z.ZodLiteral<"pending">;
|
|
14094
|
+
revision: z.ZodInt;
|
|
14095
|
+
active: z.ZodReadonly<z.ZodObject<{
|
|
14096
|
+
provider: z.ZodString;
|
|
14097
|
+
model: z.ZodString;
|
|
14098
|
+
revision: z.ZodInt;
|
|
14099
|
+
reasoning: z.ZodNullable<z.ZodEnum<{
|
|
14100
|
+
text: "text";
|
|
14101
|
+
summary: "summary";
|
|
14102
|
+
}>>;
|
|
14103
|
+
}, z.core.$strict>>;
|
|
14104
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
14105
|
+
status: z.ZodLiteral<"failed">;
|
|
14106
|
+
reason: z.ZodEnum<{
|
|
14107
|
+
"invalid-config": "invalid-config";
|
|
14108
|
+
"restart-required": "restart-required";
|
|
14109
|
+
"apply-failed": "apply-failed";
|
|
14110
|
+
}>;
|
|
14111
|
+
revision: z.ZodInt;
|
|
14112
|
+
active: z.ZodReadonly<z.ZodObject<{
|
|
14113
|
+
provider: z.ZodString;
|
|
14114
|
+
model: z.ZodString;
|
|
14115
|
+
revision: z.ZodInt;
|
|
14116
|
+
reasoning: z.ZodNullable<z.ZodEnum<{
|
|
14117
|
+
text: "text";
|
|
14118
|
+
summary: "summary";
|
|
14119
|
+
}>>;
|
|
14120
|
+
}, z.core.$strict>>;
|
|
14121
|
+
}, z.core.$strict>], "status">>;
|
|
14122
|
+
};
|
|
13818
14123
|
readonly "operation.get": {
|
|
13819
14124
|
readonly params: z.ZodReadonly<z.ZodObject<{
|
|
13820
14125
|
operationId: z.core.$ZodBranded<z.ZodString, "OperationId", "out">;
|
|
@@ -14395,6 +14700,12 @@ export interface RuntimeProtocolRegistry {
|
|
|
14395
14700
|
export declare const RUNTIME_PROTOCOL_REGISTRY: {
|
|
14396
14701
|
readonly "1.6": {
|
|
14397
14702
|
readonly methods: {
|
|
14703
|
+
readonly "reasoning.text.subscribe": {
|
|
14704
|
+
readonly params: z.ZodReadonly<z.ZodObject<{}, z.core.$strict>>;
|
|
14705
|
+
readonly result: z.ZodReadonly<z.ZodObject<{
|
|
14706
|
+
subscribed: z.ZodBoolean;
|
|
14707
|
+
}, z.core.$strict>>;
|
|
14708
|
+
};
|
|
14398
14709
|
readonly "approval.preview": {
|
|
14399
14710
|
readonly params: z.ZodReadonly<z.ZodObject<{
|
|
14400
14711
|
turnId: z.core.$ZodBranded<z.ZodString, "TurnId", "out">;
|
|
@@ -15082,6 +15393,98 @@ export declare const RUNTIME_PROTOCOL_REGISTRY: {
|
|
|
15082
15393
|
}, z.core.$strict>>>;
|
|
15083
15394
|
}, z.core.$strict>>]>;
|
|
15084
15395
|
};
|
|
15396
|
+
readonly "runtime.modelConfig.get": {
|
|
15397
|
+
readonly params: z.ZodReadonly<z.ZodObject<{}, z.core.$strict>>;
|
|
15398
|
+
readonly result: z.ZodReadonly<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
15399
|
+
status: z.ZodLiteral<"applied">;
|
|
15400
|
+
revision: z.ZodInt;
|
|
15401
|
+
active: z.ZodReadonly<z.ZodObject<{
|
|
15402
|
+
provider: z.ZodString;
|
|
15403
|
+
model: z.ZodString;
|
|
15404
|
+
revision: z.ZodInt;
|
|
15405
|
+
reasoning: z.ZodNullable<z.ZodEnum<{
|
|
15406
|
+
text: "text";
|
|
15407
|
+
summary: "summary";
|
|
15408
|
+
}>>;
|
|
15409
|
+
}, z.core.$strict>>;
|
|
15410
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
15411
|
+
status: z.ZodLiteral<"pending">;
|
|
15412
|
+
revision: z.ZodInt;
|
|
15413
|
+
active: z.ZodReadonly<z.ZodObject<{
|
|
15414
|
+
provider: z.ZodString;
|
|
15415
|
+
model: z.ZodString;
|
|
15416
|
+
revision: z.ZodInt;
|
|
15417
|
+
reasoning: z.ZodNullable<z.ZodEnum<{
|
|
15418
|
+
text: "text";
|
|
15419
|
+
summary: "summary";
|
|
15420
|
+
}>>;
|
|
15421
|
+
}, z.core.$strict>>;
|
|
15422
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
15423
|
+
status: z.ZodLiteral<"failed">;
|
|
15424
|
+
reason: z.ZodEnum<{
|
|
15425
|
+
"invalid-config": "invalid-config";
|
|
15426
|
+
"restart-required": "restart-required";
|
|
15427
|
+
"apply-failed": "apply-failed";
|
|
15428
|
+
}>;
|
|
15429
|
+
revision: z.ZodInt;
|
|
15430
|
+
active: z.ZodReadonly<z.ZodObject<{
|
|
15431
|
+
provider: z.ZodString;
|
|
15432
|
+
model: z.ZodString;
|
|
15433
|
+
revision: z.ZodInt;
|
|
15434
|
+
reasoning: z.ZodNullable<z.ZodEnum<{
|
|
15435
|
+
text: "text";
|
|
15436
|
+
summary: "summary";
|
|
15437
|
+
}>>;
|
|
15438
|
+
}, z.core.$strict>>;
|
|
15439
|
+
}, z.core.$strict>], "status">>;
|
|
15440
|
+
};
|
|
15441
|
+
readonly "runtime.modelConfig.reload": {
|
|
15442
|
+
readonly params: z.ZodReadonly<z.ZodObject<{
|
|
15443
|
+
requestId: z.core.$ZodBranded<z.ZodString, "RequestId", "out">;
|
|
15444
|
+
}, z.core.$strict>>;
|
|
15445
|
+
readonly result: z.ZodReadonly<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
15446
|
+
status: z.ZodLiteral<"applied">;
|
|
15447
|
+
revision: z.ZodInt;
|
|
15448
|
+
active: z.ZodReadonly<z.ZodObject<{
|
|
15449
|
+
provider: z.ZodString;
|
|
15450
|
+
model: z.ZodString;
|
|
15451
|
+
revision: z.ZodInt;
|
|
15452
|
+
reasoning: z.ZodNullable<z.ZodEnum<{
|
|
15453
|
+
text: "text";
|
|
15454
|
+
summary: "summary";
|
|
15455
|
+
}>>;
|
|
15456
|
+
}, z.core.$strict>>;
|
|
15457
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
15458
|
+
status: z.ZodLiteral<"pending">;
|
|
15459
|
+
revision: z.ZodInt;
|
|
15460
|
+
active: z.ZodReadonly<z.ZodObject<{
|
|
15461
|
+
provider: z.ZodString;
|
|
15462
|
+
model: z.ZodString;
|
|
15463
|
+
revision: z.ZodInt;
|
|
15464
|
+
reasoning: z.ZodNullable<z.ZodEnum<{
|
|
15465
|
+
text: "text";
|
|
15466
|
+
summary: "summary";
|
|
15467
|
+
}>>;
|
|
15468
|
+
}, z.core.$strict>>;
|
|
15469
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
15470
|
+
status: z.ZodLiteral<"failed">;
|
|
15471
|
+
reason: z.ZodEnum<{
|
|
15472
|
+
"invalid-config": "invalid-config";
|
|
15473
|
+
"restart-required": "restart-required";
|
|
15474
|
+
"apply-failed": "apply-failed";
|
|
15475
|
+
}>;
|
|
15476
|
+
revision: z.ZodInt;
|
|
15477
|
+
active: z.ZodReadonly<z.ZodObject<{
|
|
15478
|
+
provider: z.ZodString;
|
|
15479
|
+
model: z.ZodString;
|
|
15480
|
+
revision: z.ZodInt;
|
|
15481
|
+
reasoning: z.ZodNullable<z.ZodEnum<{
|
|
15482
|
+
text: "text";
|
|
15483
|
+
summary: "summary";
|
|
15484
|
+
}>>;
|
|
15485
|
+
}, z.core.$strict>>;
|
|
15486
|
+
}, z.core.$strict>], "status">>;
|
|
15487
|
+
};
|
|
15085
15488
|
readonly "operation.get": {
|
|
15086
15489
|
readonly params: z.ZodReadonly<z.ZodObject<{
|
|
15087
15490
|
operationId: z.core.$ZodBranded<z.ZodString, "OperationId", "out">;
|
|
@@ -15628,9 +16031,9 @@ export declare const RUNTIME_PROTOCOL_REGISTRY: {
|
|
|
15628
16031
|
streamId: z.core.$ZodBranded<z.ZodString, "StreamId", "out">;
|
|
15629
16032
|
delta: z.ZodString;
|
|
15630
16033
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
15631
|
-
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
15632
16034
|
reasoningId: z.ZodString;
|
|
15633
16035
|
delta: z.ZodString;
|
|
16036
|
+
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
15634
16037
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
15635
16038
|
type: z.ZodLiteral<"tool.started">;
|
|
15636
16039
|
toolCallId: z.ZodString;
|
|
@@ -15647,6 +16050,10 @@ export declare const RUNTIME_PROTOCOL_REGISTRY: {
|
|
|
15647
16050
|
stderr: "stderr";
|
|
15648
16051
|
}>;
|
|
15649
16052
|
delta: z.ZodString;
|
|
16053
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
16054
|
+
reasoningId: z.ZodString;
|
|
16055
|
+
delta: z.ZodString;
|
|
16056
|
+
type: z.ZodLiteral<"reasoning.text.delta">;
|
|
15650
16057
|
}, z.core.$strict>>], "type">;
|
|
15651
16058
|
runtimeInstanceId: z.core.$ZodBranded<z.ZodString, "RuntimeInstanceId", "out">;
|
|
15652
16059
|
sequence: z.ZodNumber;
|
|
@@ -16873,9 +17280,9 @@ export declare const RUNTIME_PROTOCOL_REGISTRY: {
|
|
|
16873
17280
|
streamId: z.core.$ZodBranded<z.ZodString, "StreamId", "out">;
|
|
16874
17281
|
delta: z.ZodString;
|
|
16875
17282
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
16876
|
-
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
16877
17283
|
reasoningId: z.ZodString;
|
|
16878
17284
|
delta: z.ZodString;
|
|
17285
|
+
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
16879
17286
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
16880
17287
|
type: z.ZodLiteral<"tool.started">;
|
|
16881
17288
|
toolCallId: z.ZodString;
|
|
@@ -17999,9 +18406,9 @@ export declare const RUNTIME_PROTOCOL_REGISTRY: {
|
|
|
17999
18406
|
streamId: z.core.$ZodBranded<z.ZodString, "StreamId", "out">;
|
|
18000
18407
|
delta: z.ZodString;
|
|
18001
18408
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
18002
|
-
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
18003
18409
|
reasoningId: z.ZodString;
|
|
18004
18410
|
delta: z.ZodString;
|
|
18411
|
+
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
18005
18412
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
18006
18413
|
type: z.ZodLiteral<"tool.started">;
|
|
18007
18414
|
toolCallId: z.ZodString;
|
|
@@ -19005,9 +19412,9 @@ export declare const RUNTIME_PROTOCOL_REGISTRY: {
|
|
|
19005
19412
|
streamId: z.core.$ZodBranded<z.ZodString, "StreamId", "out">;
|
|
19006
19413
|
delta: z.ZodString;
|
|
19007
19414
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
19008
|
-
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
19009
19415
|
reasoningId: z.ZodString;
|
|
19010
19416
|
delta: z.ZodString;
|
|
19417
|
+
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
19011
19418
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
19012
19419
|
type: z.ZodLiteral<"tool.started">;
|
|
19013
19420
|
toolCallId: z.ZodString;
|
|
@@ -19645,9 +20052,9 @@ export declare const RUNTIME_PROTOCOL_REGISTRY: {
|
|
|
19645
20052
|
streamId: z.core.$ZodBranded<z.ZodString, "StreamId", "out">;
|
|
19646
20053
|
text: z.ZodString;
|
|
19647
20054
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
19648
|
-
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
19649
20055
|
reasoningId: z.ZodString;
|
|
19650
20056
|
delta: z.ZodString;
|
|
20057
|
+
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
19651
20058
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
19652
20059
|
type: z.ZodLiteral<"tool.started">;
|
|
19653
20060
|
toolCallId: z.ZodString;
|
|
@@ -20129,9 +20536,9 @@ export declare const RUNTIME_PROTOCOL_REGISTRY: {
|
|
|
20129
20536
|
streamId: z.core.$ZodBranded<z.ZodString, "StreamId", "out">;
|
|
20130
20537
|
text: z.ZodString;
|
|
20131
20538
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
20132
|
-
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
20133
20539
|
reasoningId: z.ZodString;
|
|
20134
20540
|
delta: z.ZodString;
|
|
20541
|
+
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
20135
20542
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
20136
20543
|
type: z.ZodLiteral<"tool.started">;
|
|
20137
20544
|
toolCallId: z.ZodString;
|
|
@@ -20590,9 +20997,9 @@ export declare const RUNTIME_PROTOCOL_REGISTRY: {
|
|
|
20590
20997
|
streamId: z.core.$ZodBranded<z.ZodString, "StreamId", "out">;
|
|
20591
20998
|
text: z.ZodString;
|
|
20592
20999
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
20593
|
-
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
20594
21000
|
reasoningId: z.ZodString;
|
|
20595
21001
|
delta: z.ZodString;
|
|
21002
|
+
type: z.ZodLiteral<"reasoning.summary.delta">;
|
|
20596
21003
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
20597
21004
|
type: z.ZodLiteral<"tool.started">;
|
|
20598
21005
|
toolCallId: z.ZodString;
|