@opencode/schema 0.0.0-dev-21269 → 0.0.0-dev-21289
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/credential-legacy.d.ts +54 -0
- package/dist/credential-legacy.js +19 -0
- package/dist/credential.d.ts +0 -4
- package/dist/credential.js +0 -2
- package/dist/event-manifest.d.ts +36 -274
- package/dist/event-manifest.js +1 -2
- package/dist/session-event.d.ts +114 -612
- package/dist/session-event.js +9 -12
- package/dist/session-legacy.d.ts +7 -0
- package/dist/session-legacy.js +118 -0
- package/dist/session-message.d.ts +31 -174
- package/dist/session-message.js +13 -12
- package/dist/session-transfer.d.ts +5 -55
- package/package.json +1 -1
- package/dist/session-compaction-event.d.ts +0 -87
- package/dist/session-compaction-event.js +0 -10
- package/dist/session-provider-context.d.ts +0 -54
- package/dist/session-provider-context.js +0 -17
package/dist/session-event.d.ts
CHANGED
|
@@ -919,11 +919,11 @@ export declare const MessageContentUpdated: Schema.Struct<{
|
|
|
919
919
|
readonly content: Schema.$Array<Schema.toEncoded<Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
920
920
|
readonly type: Schema.tag<"text">;
|
|
921
921
|
readonly text: Schema.String;
|
|
922
|
-
readonly
|
|
922
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
923
923
|
}>, Schema.Struct<{
|
|
924
924
|
readonly type: Schema.tag<"reasoning">;
|
|
925
925
|
readonly text: Schema.String;
|
|
926
|
-
readonly
|
|
926
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
927
927
|
readonly time: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
928
928
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
929
929
|
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>>>, Schema.optionalKey<Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>>, never, never>;
|
|
@@ -936,8 +936,7 @@ export declare const MessageContentUpdated: Schema.Struct<{
|
|
|
936
936
|
readonly id: Schema.String;
|
|
937
937
|
readonly name: Schema.String;
|
|
938
938
|
readonly executed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
939
|
-
readonly
|
|
940
|
-
readonly providerResultState: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
939
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
941
940
|
readonly state: Schema.toTaggedUnion<"status", readonly [Schema.Struct<{
|
|
942
941
|
readonly status: Schema.tag<"streaming">;
|
|
943
942
|
readonly input: Schema.String;
|
|
@@ -1016,11 +1015,11 @@ export declare const MessageContentUpdated: Schema.Struct<{
|
|
|
1016
1015
|
readonly content: Schema.$Array<Schema.toEncoded<Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
1017
1016
|
readonly type: Schema.tag<"text">;
|
|
1018
1017
|
readonly text: Schema.String;
|
|
1019
|
-
readonly
|
|
1018
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1020
1019
|
}>, Schema.Struct<{
|
|
1021
1020
|
readonly type: Schema.tag<"reasoning">;
|
|
1022
1021
|
readonly text: Schema.String;
|
|
1023
|
-
readonly
|
|
1022
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1024
1023
|
readonly time: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
1025
1024
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
1026
1025
|
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>>>, Schema.optionalKey<Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>>, never, never>;
|
|
@@ -1033,8 +1032,7 @@ export declare const MessageContentUpdated: Schema.Struct<{
|
|
|
1033
1032
|
readonly id: Schema.String;
|
|
1034
1033
|
readonly name: Schema.String;
|
|
1035
1034
|
readonly executed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1036
|
-
readonly
|
|
1037
|
-
readonly providerResultState: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1035
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1038
1036
|
readonly state: Schema.toTaggedUnion<"status", readonly [Schema.Struct<{
|
|
1039
1037
|
readonly status: Schema.tag<"streaming">;
|
|
1040
1038
|
readonly input: Schema.String;
|
|
@@ -2800,7 +2798,7 @@ export declare namespace Step {
|
|
|
2800
2798
|
};
|
|
2801
2799
|
readonly finish: Schema.Literals<readonly ["stop", "length", "tool-calls", "content-filter", "error", "unknown"]>;
|
|
2802
2800
|
readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
2803
|
-
readonly
|
|
2801
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2804
2802
|
readonly cost: Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
2805
2803
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
2806
2804
|
};
|
|
@@ -2834,7 +2832,7 @@ export declare namespace Step {
|
|
|
2834
2832
|
};
|
|
2835
2833
|
readonly finish: Schema.Literals<readonly ["stop", "length", "tool-calls", "content-filter", "error", "unknown"]>;
|
|
2836
2834
|
readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
2837
|
-
readonly
|
|
2835
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2838
2836
|
readonly cost: Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
2839
2837
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
2840
2838
|
};
|
|
@@ -2904,7 +2902,7 @@ export declare namespace Step {
|
|
|
2904
2902
|
}>;
|
|
2905
2903
|
readonly finish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["content-filter"]>>>, Schema.optionalKey<Schema.Literals<readonly ["content-filter"]>>, never, never>;
|
|
2906
2904
|
readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
2907
|
-
readonly
|
|
2905
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2908
2906
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
2909
2907
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
2910
2908
|
}>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
@@ -2958,7 +2956,7 @@ export declare namespace Step {
|
|
|
2958
2956
|
}>;
|
|
2959
2957
|
readonly finish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["content-filter"]>>>, Schema.optionalKey<Schema.Literals<readonly ["content-filter"]>>, never, never>;
|
|
2960
2958
|
readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
2961
|
-
readonly
|
|
2959
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2962
2960
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
2963
2961
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
2964
2962
|
}>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
@@ -3148,7 +3146,7 @@ export declare namespace Text {
|
|
|
3148
3146
|
};
|
|
3149
3147
|
readonly ordinal: Schema.Int;
|
|
3150
3148
|
readonly text: Schema.String;
|
|
3151
|
-
readonly
|
|
3149
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3152
3150
|
}>;
|
|
3153
3151
|
}> & {
|
|
3154
3152
|
type: "session.text.ended";
|
|
@@ -3168,7 +3166,7 @@ export declare namespace Text {
|
|
|
3168
3166
|
};
|
|
3169
3167
|
readonly ordinal: Schema.Int;
|
|
3170
3168
|
readonly text: Schema.String;
|
|
3171
|
-
readonly
|
|
3169
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3172
3170
|
}>;
|
|
3173
3171
|
};
|
|
3174
3172
|
type Ended = typeof Ended.Type;
|
|
@@ -3215,7 +3213,7 @@ export declare namespace Reasoning {
|
|
|
3215
3213
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3216
3214
|
};
|
|
3217
3215
|
readonly ordinal: Schema.Int;
|
|
3218
|
-
readonly
|
|
3216
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3219
3217
|
}>;
|
|
3220
3218
|
}> & {
|
|
3221
3219
|
type: "session.reasoning.started";
|
|
@@ -3234,7 +3232,7 @@ export declare namespace Reasoning {
|
|
|
3234
3232
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3235
3233
|
};
|
|
3236
3234
|
readonly ordinal: Schema.Int;
|
|
3237
|
-
readonly
|
|
3235
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3238
3236
|
}>;
|
|
3239
3237
|
};
|
|
3240
3238
|
type Started = typeof Started.Type;
|
|
@@ -3336,7 +3334,7 @@ export declare namespace Reasoning {
|
|
|
3336
3334
|
};
|
|
3337
3335
|
readonly ordinal: Schema.Int;
|
|
3338
3336
|
readonly text: Schema.String;
|
|
3339
|
-
readonly
|
|
3337
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3340
3338
|
}>;
|
|
3341
3339
|
}> & {
|
|
3342
3340
|
type: "session.reasoning.ended";
|
|
@@ -3356,7 +3354,7 @@ export declare namespace Reasoning {
|
|
|
3356
3354
|
};
|
|
3357
3355
|
readonly ordinal: Schema.Int;
|
|
3358
3356
|
readonly text: Schema.String;
|
|
3359
|
-
readonly
|
|
3357
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3360
3358
|
}>;
|
|
3361
3359
|
};
|
|
3362
3360
|
type Ended = typeof Ended.Type;
|
|
@@ -3591,7 +3589,7 @@ export declare namespace Tool {
|
|
|
3591
3589
|
readonly id: Schema.String;
|
|
3592
3590
|
readonly input: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
3593
3591
|
readonly executed: Schema.Boolean;
|
|
3594
|
-
readonly
|
|
3592
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3595
3593
|
}>;
|
|
3596
3594
|
}> & {
|
|
3597
3595
|
type: "session.tool.called";
|
|
@@ -3612,7 +3610,7 @@ export declare namespace Tool {
|
|
|
3612
3610
|
readonly id: Schema.String;
|
|
3613
3611
|
readonly input: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
3614
3612
|
readonly executed: Schema.Boolean;
|
|
3615
|
-
readonly
|
|
3613
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3616
3614
|
}>;
|
|
3617
3615
|
};
|
|
3618
3616
|
type Called = typeof Called.Type;
|
|
@@ -3726,7 +3724,7 @@ export declare namespace Tool {
|
|
|
3726
3724
|
}>]>>;
|
|
3727
3725
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
|
|
3728
3726
|
readonly executed: Schema.Boolean;
|
|
3729
|
-
readonly
|
|
3727
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3730
3728
|
}>;
|
|
3731
3729
|
}> & {
|
|
3732
3730
|
type: "session.tool.success";
|
|
@@ -3756,7 +3754,7 @@ export declare namespace Tool {
|
|
|
3756
3754
|
}>]>>;
|
|
3757
3755
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
|
|
3758
3756
|
readonly executed: Schema.Boolean;
|
|
3759
|
-
readonly
|
|
3757
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3760
3758
|
}>;
|
|
3761
3759
|
};
|
|
3762
3760
|
type Success = typeof Success.Type;
|
|
@@ -3835,7 +3833,7 @@ export declare namespace Tool {
|
|
|
3835
3833
|
}>]>>>, never, never>;
|
|
3836
3834
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
|
|
3837
3835
|
readonly executed: Schema.Boolean;
|
|
3838
|
-
readonly
|
|
3836
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3839
3837
|
}>;
|
|
3840
3838
|
}> & {
|
|
3841
3839
|
type: "session.tool.failed";
|
|
@@ -3883,7 +3881,7 @@ export declare namespace Tool {
|
|
|
3883
3881
|
}>]>>>, never, never>;
|
|
3884
3882
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
|
|
3885
3883
|
readonly executed: Schema.Boolean;
|
|
3886
|
-
readonly
|
|
3884
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3887
3885
|
}>;
|
|
3888
3886
|
};
|
|
3889
3887
|
type Failed = typeof Failed.Type;
|
|
@@ -4010,7 +4008,6 @@ export declare namespace Compaction {
|
|
|
4010
4008
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
4011
4009
|
};
|
|
4012
4010
|
readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
|
|
4013
|
-
readonly recent: Schema.String;
|
|
4014
4011
|
readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
4015
4012
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4016
4013
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -4032,7 +4029,6 @@ export declare namespace Compaction {
|
|
|
4032
4029
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
4033
4030
|
};
|
|
4034
4031
|
readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
|
|
4035
|
-
readonly recent: Schema.String;
|
|
4036
4032
|
readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
4037
4033
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4038
4034
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -4171,56 +4167,8 @@ export declare namespace Compaction {
|
|
|
4171
4167
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
4172
4168
|
};
|
|
4173
4169
|
}>, never, never>;
|
|
4174
|
-
readonly
|
|
4175
|
-
readonly providerContext: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
4176
|
-
readonly version: Schema.Literal<1>;
|
|
4177
|
-
readonly provenance: Schema.Struct<{
|
|
4178
|
-
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
4179
|
-
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4180
|
-
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4181
|
-
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4182
|
-
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4183
|
-
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4184
|
-
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4185
|
-
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4186
|
-
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4187
|
-
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4188
|
-
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4189
|
-
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4190
|
-
};
|
|
4191
|
-
readonly provider: Schema.String;
|
|
4192
|
-
readonly modelID: Schema.String;
|
|
4193
|
-
readonly route: Schema.String;
|
|
4194
|
-
readonly protocol: Schema.String;
|
|
4195
|
-
readonly endpoint: Schema.String;
|
|
4196
|
-
}>;
|
|
4197
|
-
readonly messages: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
4198
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
4199
|
-
readonly version: Schema.Literal<1>;
|
|
4200
|
-
readonly provenance: Schema.Struct<{
|
|
4201
|
-
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
4202
|
-
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4203
|
-
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4204
|
-
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4205
|
-
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4206
|
-
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4207
|
-
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4208
|
-
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4209
|
-
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4210
|
-
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4211
|
-
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4212
|
-
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4213
|
-
};
|
|
4214
|
-
readonly provider: Schema.String;
|
|
4215
|
-
readonly modelID: Schema.String;
|
|
4216
|
-
readonly route: Schema.String;
|
|
4217
|
-
readonly protocol: Schema.String;
|
|
4218
|
-
readonly endpoint: Schema.String;
|
|
4219
|
-
}>;
|
|
4220
|
-
readonly messages: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
4221
|
-
}>>, never, never>;
|
|
4170
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
4222
4171
|
readonly text: Schema.String;
|
|
4223
|
-
readonly recent: Schema.String;
|
|
4224
4172
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
4225
4173
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
4226
4174
|
}>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
@@ -4302,56 +4250,8 @@ export declare namespace Compaction {
|
|
|
4302
4250
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
4303
4251
|
};
|
|
4304
4252
|
}>, never, never>;
|
|
4305
|
-
readonly
|
|
4306
|
-
readonly providerContext: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
4307
|
-
readonly version: Schema.Literal<1>;
|
|
4308
|
-
readonly provenance: Schema.Struct<{
|
|
4309
|
-
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
4310
|
-
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4311
|
-
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4312
|
-
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4313
|
-
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4314
|
-
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4315
|
-
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4316
|
-
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4317
|
-
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4318
|
-
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4319
|
-
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4320
|
-
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4321
|
-
};
|
|
4322
|
-
readonly provider: Schema.String;
|
|
4323
|
-
readonly modelID: Schema.String;
|
|
4324
|
-
readonly route: Schema.String;
|
|
4325
|
-
readonly protocol: Schema.String;
|
|
4326
|
-
readonly endpoint: Schema.String;
|
|
4327
|
-
}>;
|
|
4328
|
-
readonly messages: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
4329
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
4330
|
-
readonly version: Schema.Literal<1>;
|
|
4331
|
-
readonly provenance: Schema.Struct<{
|
|
4332
|
-
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
4333
|
-
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4334
|
-
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4335
|
-
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4336
|
-
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4337
|
-
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4338
|
-
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4339
|
-
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4340
|
-
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4341
|
-
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4342
|
-
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4343
|
-
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4344
|
-
};
|
|
4345
|
-
readonly provider: Schema.String;
|
|
4346
|
-
readonly modelID: Schema.String;
|
|
4347
|
-
readonly route: Schema.String;
|
|
4348
|
-
readonly protocol: Schema.String;
|
|
4349
|
-
readonly endpoint: Schema.String;
|
|
4350
|
-
}>;
|
|
4351
|
-
readonly messages: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
4352
|
-
}>>, never, never>;
|
|
4253
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
4353
4254
|
readonly text: Schema.String;
|
|
4354
|
-
readonly recent: Schema.String;
|
|
4355
4255
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
4356
4256
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
4357
4257
|
}>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
@@ -7145,7 +7045,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
7145
7045
|
};
|
|
7146
7046
|
readonly finish: Schema.Literals<readonly ["stop", "length", "tool-calls", "content-filter", "error", "unknown"]>;
|
|
7147
7047
|
readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
7148
|
-
readonly
|
|
7048
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
7149
7049
|
readonly cost: Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
7150
7050
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
7151
7051
|
};
|
|
@@ -7179,7 +7079,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
7179
7079
|
};
|
|
7180
7080
|
readonly finish: Schema.Literals<readonly ["stop", "length", "tool-calls", "content-filter", "error", "unknown"]>;
|
|
7181
7081
|
readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
7182
|
-
readonly
|
|
7082
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
7183
7083
|
readonly cost: Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
7184
7084
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
7185
7085
|
};
|
|
@@ -7247,7 +7147,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
7247
7147
|
}>;
|
|
7248
7148
|
readonly finish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["content-filter"]>>>, Schema.optionalKey<Schema.Literals<readonly ["content-filter"]>>, never, never>;
|
|
7249
7149
|
readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
7250
|
-
readonly
|
|
7150
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
7251
7151
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
7252
7152
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
7253
7153
|
}>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
@@ -7301,7 +7201,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
7301
7201
|
}>;
|
|
7302
7202
|
readonly finish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["content-filter"]>>>, Schema.optionalKey<Schema.Literals<readonly ["content-filter"]>>, never, never>;
|
|
7303
7203
|
readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
7304
|
-
readonly
|
|
7204
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
7305
7205
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
7306
7206
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
7307
7207
|
}>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
@@ -7483,7 +7383,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
7483
7383
|
};
|
|
7484
7384
|
readonly ordinal: Schema.Int;
|
|
7485
7385
|
readonly text: Schema.String;
|
|
7486
|
-
readonly
|
|
7386
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
7487
7387
|
}>;
|
|
7488
7388
|
}> & {
|
|
7489
7389
|
type: "session.text.ended";
|
|
@@ -7503,7 +7403,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
7503
7403
|
};
|
|
7504
7404
|
readonly ordinal: Schema.Int;
|
|
7505
7405
|
readonly text: Schema.String;
|
|
7506
|
-
readonly
|
|
7406
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
7507
7407
|
}>;
|
|
7508
7408
|
}, Schema.Struct<{
|
|
7509
7409
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -7546,7 +7446,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
7546
7446
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7547
7447
|
};
|
|
7548
7448
|
readonly ordinal: Schema.Int;
|
|
7549
|
-
readonly
|
|
7449
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
7550
7450
|
}>;
|
|
7551
7451
|
}> & {
|
|
7552
7452
|
type: "session.reasoning.started";
|
|
@@ -7565,7 +7465,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
7565
7465
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7566
7466
|
};
|
|
7567
7467
|
readonly ordinal: Schema.Int;
|
|
7568
|
-
readonly
|
|
7468
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
7569
7469
|
}>;
|
|
7570
7470
|
}, Schema.Struct<{
|
|
7571
7471
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -7663,7 +7563,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
7663
7563
|
};
|
|
7664
7564
|
readonly ordinal: Schema.Int;
|
|
7665
7565
|
readonly text: Schema.String;
|
|
7666
|
-
readonly
|
|
7566
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
7667
7567
|
}>;
|
|
7668
7568
|
}> & {
|
|
7669
7569
|
type: "session.reasoning.ended";
|
|
@@ -7683,7 +7583,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
7683
7583
|
};
|
|
7684
7584
|
readonly ordinal: Schema.Int;
|
|
7685
7585
|
readonly text: Schema.String;
|
|
7686
|
-
readonly
|
|
7586
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
7687
7587
|
}>;
|
|
7688
7588
|
}, Schema.Struct<{
|
|
7689
7589
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -7906,7 +7806,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
7906
7806
|
readonly id: Schema.String;
|
|
7907
7807
|
readonly input: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
7908
7808
|
readonly executed: Schema.Boolean;
|
|
7909
|
-
readonly
|
|
7809
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
7910
7810
|
}>;
|
|
7911
7811
|
}> & {
|
|
7912
7812
|
type: "session.tool.called";
|
|
@@ -7927,7 +7827,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
7927
7827
|
readonly id: Schema.String;
|
|
7928
7828
|
readonly input: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
7929
7829
|
readonly executed: Schema.Boolean;
|
|
7930
|
-
readonly
|
|
7830
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
7931
7831
|
}>;
|
|
7932
7832
|
}, Schema.Struct<{
|
|
7933
7833
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -8035,7 +7935,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
8035
7935
|
}>]>>;
|
|
8036
7936
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
|
|
8037
7937
|
readonly executed: Schema.Boolean;
|
|
8038
|
-
readonly
|
|
7938
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8039
7939
|
}>;
|
|
8040
7940
|
}> & {
|
|
8041
7941
|
type: "session.tool.success";
|
|
@@ -8065,7 +7965,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
8065
7965
|
}>]>>;
|
|
8066
7966
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
|
|
8067
7967
|
readonly executed: Schema.Boolean;
|
|
8068
|
-
readonly
|
|
7968
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8069
7969
|
}>;
|
|
8070
7970
|
}, Schema.Struct<{
|
|
8071
7971
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -8137,7 +8037,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
8137
8037
|
}>]>>>, never, never>;
|
|
8138
8038
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
|
|
8139
8039
|
readonly executed: Schema.Boolean;
|
|
8140
|
-
readonly
|
|
8040
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8141
8041
|
}>;
|
|
8142
8042
|
}> & {
|
|
8143
8043
|
type: "session.tool.failed";
|
|
@@ -8185,7 +8085,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
8185
8085
|
}>]>>>, never, never>;
|
|
8186
8086
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
|
|
8187
8087
|
readonly executed: Schema.Boolean;
|
|
8188
|
-
readonly
|
|
8088
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8189
8089
|
}>;
|
|
8190
8090
|
}, Schema.Struct<{
|
|
8191
8091
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -8306,7 +8206,6 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
8306
8206
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
8307
8207
|
};
|
|
8308
8208
|
readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
|
|
8309
|
-
readonly recent: Schema.String;
|
|
8310
8209
|
readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
8311
8210
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8312
8211
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -8328,7 +8227,6 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
8328
8227
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
8329
8228
|
};
|
|
8330
8229
|
readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
|
|
8331
|
-
readonly recent: Schema.String;
|
|
8332
8230
|
readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
8333
8231
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8334
8232
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -8463,56 +8361,8 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
8463
8361
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
8464
8362
|
};
|
|
8465
8363
|
}>, never, never>;
|
|
8466
|
-
readonly
|
|
8467
|
-
readonly providerContext: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
8468
|
-
readonly version: Schema.Literal<1>;
|
|
8469
|
-
readonly provenance: Schema.Struct<{
|
|
8470
|
-
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
8471
|
-
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8472
|
-
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8473
|
-
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8474
|
-
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8475
|
-
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8476
|
-
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8477
|
-
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8478
|
-
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8479
|
-
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8480
|
-
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8481
|
-
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8482
|
-
};
|
|
8483
|
-
readonly provider: Schema.String;
|
|
8484
|
-
readonly modelID: Schema.String;
|
|
8485
|
-
readonly route: Schema.String;
|
|
8486
|
-
readonly protocol: Schema.String;
|
|
8487
|
-
readonly endpoint: Schema.String;
|
|
8488
|
-
}>;
|
|
8489
|
-
readonly messages: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
8490
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
8491
|
-
readonly version: Schema.Literal<1>;
|
|
8492
|
-
readonly provenance: Schema.Struct<{
|
|
8493
|
-
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
8494
|
-
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8495
|
-
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8496
|
-
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8497
|
-
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8498
|
-
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8499
|
-
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8500
|
-
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8501
|
-
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8502
|
-
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8503
|
-
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8504
|
-
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8505
|
-
};
|
|
8506
|
-
readonly provider: Schema.String;
|
|
8507
|
-
readonly modelID: Schema.String;
|
|
8508
|
-
readonly route: Schema.String;
|
|
8509
|
-
readonly protocol: Schema.String;
|
|
8510
|
-
readonly endpoint: Schema.String;
|
|
8511
|
-
}>;
|
|
8512
|
-
readonly messages: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
8513
|
-
}>>, never, never>;
|
|
8364
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8514
8365
|
readonly text: Schema.String;
|
|
8515
|
-
readonly recent: Schema.String;
|
|
8516
8366
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
8517
8367
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
8518
8368
|
}>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
@@ -8594,56 +8444,8 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
8594
8444
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
8595
8445
|
};
|
|
8596
8446
|
}>, never, never>;
|
|
8597
|
-
readonly
|
|
8598
|
-
readonly providerContext: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
8599
|
-
readonly version: Schema.Literal<1>;
|
|
8600
|
-
readonly provenance: Schema.Struct<{
|
|
8601
|
-
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
8602
|
-
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8603
|
-
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8604
|
-
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8605
|
-
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8606
|
-
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8607
|
-
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8608
|
-
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8609
|
-
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8610
|
-
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8611
|
-
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8612
|
-
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8613
|
-
};
|
|
8614
|
-
readonly provider: Schema.String;
|
|
8615
|
-
readonly modelID: Schema.String;
|
|
8616
|
-
readonly route: Schema.String;
|
|
8617
|
-
readonly protocol: Schema.String;
|
|
8618
|
-
readonly endpoint: Schema.String;
|
|
8619
|
-
}>;
|
|
8620
|
-
readonly messages: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
8621
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
8622
|
-
readonly version: Schema.Literal<1>;
|
|
8623
|
-
readonly provenance: Schema.Struct<{
|
|
8624
|
-
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
8625
|
-
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8626
|
-
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8627
|
-
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8628
|
-
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8629
|
-
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8630
|
-
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8631
|
-
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8632
|
-
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8633
|
-
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8634
|
-
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8635
|
-
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
8636
|
-
};
|
|
8637
|
-
readonly provider: Schema.String;
|
|
8638
|
-
readonly modelID: Schema.String;
|
|
8639
|
-
readonly route: Schema.String;
|
|
8640
|
-
readonly protocol: Schema.String;
|
|
8641
|
-
readonly endpoint: Schema.String;
|
|
8642
|
-
}>;
|
|
8643
|
-
readonly messages: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
8644
|
-
}>>, never, never>;
|
|
8447
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8645
8448
|
readonly text: Schema.String;
|
|
8646
|
-
readonly recent: Schema.String;
|
|
8647
8449
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
8648
8450
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
8649
8451
|
}>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
@@ -9184,56 +8986,8 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
9184
8986
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
9185
8987
|
};
|
|
9186
8988
|
}>, never, never>;
|
|
9187
|
-
readonly
|
|
9188
|
-
readonly providerContext: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
9189
|
-
readonly version: Schema.Literal<1>;
|
|
9190
|
-
readonly provenance: Schema.Struct<{
|
|
9191
|
-
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
9192
|
-
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9193
|
-
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9194
|
-
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9195
|
-
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9196
|
-
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9197
|
-
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9198
|
-
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9199
|
-
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9200
|
-
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9201
|
-
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9202
|
-
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9203
|
-
};
|
|
9204
|
-
readonly provider: Schema.String;
|
|
9205
|
-
readonly modelID: Schema.String;
|
|
9206
|
-
readonly route: Schema.String;
|
|
9207
|
-
readonly protocol: Schema.String;
|
|
9208
|
-
readonly endpoint: Schema.String;
|
|
9209
|
-
}>;
|
|
9210
|
-
readonly messages: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
9211
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
9212
|
-
readonly version: Schema.Literal<1>;
|
|
9213
|
-
readonly provenance: Schema.Struct<{
|
|
9214
|
-
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
9215
|
-
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9216
|
-
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9217
|
-
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9218
|
-
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9219
|
-
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9220
|
-
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9221
|
-
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9222
|
-
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9223
|
-
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9224
|
-
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9225
|
-
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9226
|
-
};
|
|
9227
|
-
readonly provider: Schema.String;
|
|
9228
|
-
readonly modelID: Schema.String;
|
|
9229
|
-
readonly route: Schema.String;
|
|
9230
|
-
readonly protocol: Schema.String;
|
|
9231
|
-
readonly endpoint: Schema.String;
|
|
9232
|
-
}>;
|
|
9233
|
-
readonly messages: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
9234
|
-
}>>, never, never>;
|
|
8989
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
9235
8990
|
readonly text: Schema.String;
|
|
9236
|
-
readonly recent: Schema.String;
|
|
9237
8991
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
9238
8992
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
9239
8993
|
}>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
@@ -9315,56 +9069,8 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
9315
9069
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
9316
9070
|
};
|
|
9317
9071
|
}>, never, never>;
|
|
9318
|
-
readonly
|
|
9319
|
-
readonly providerContext: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
9320
|
-
readonly version: Schema.Literal<1>;
|
|
9321
|
-
readonly provenance: Schema.Struct<{
|
|
9322
|
-
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
9323
|
-
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9324
|
-
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9325
|
-
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9326
|
-
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9327
|
-
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9328
|
-
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9329
|
-
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9330
|
-
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9331
|
-
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9332
|
-
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9333
|
-
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9334
|
-
};
|
|
9335
|
-
readonly provider: Schema.String;
|
|
9336
|
-
readonly modelID: Schema.String;
|
|
9337
|
-
readonly route: Schema.String;
|
|
9338
|
-
readonly protocol: Schema.String;
|
|
9339
|
-
readonly endpoint: Schema.String;
|
|
9340
|
-
}>;
|
|
9341
|
-
readonly messages: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
9342
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
9343
|
-
readonly version: Schema.Literal<1>;
|
|
9344
|
-
readonly provenance: Schema.Struct<{
|
|
9345
|
-
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
9346
|
-
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9347
|
-
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9348
|
-
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9349
|
-
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9350
|
-
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9351
|
-
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9352
|
-
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9353
|
-
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9354
|
-
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9355
|
-
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9356
|
-
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9357
|
-
};
|
|
9358
|
-
readonly provider: Schema.String;
|
|
9359
|
-
readonly modelID: Schema.String;
|
|
9360
|
-
readonly route: Schema.String;
|
|
9361
|
-
readonly protocol: Schema.String;
|
|
9362
|
-
readonly endpoint: Schema.String;
|
|
9363
|
-
}>;
|
|
9364
|
-
readonly messages: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
9365
|
-
}>>, never, never>;
|
|
9072
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
9366
9073
|
readonly text: Schema.String;
|
|
9367
|
-
readonly recent: Schema.String;
|
|
9368
9074
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
9369
9075
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
9370
9076
|
}>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
@@ -9555,7 +9261,6 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
9555
9261
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
9556
9262
|
};
|
|
9557
9263
|
readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
|
|
9558
|
-
readonly recent: Schema.String;
|
|
9559
9264
|
readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
9560
9265
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
9561
9266
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -9577,7 +9282,6 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
9577
9282
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
9578
9283
|
};
|
|
9579
9284
|
readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
|
|
9580
|
-
readonly recent: Schema.String;
|
|
9581
9285
|
readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
9582
9286
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
9583
9287
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -11220,7 +10924,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
11220
10924
|
};
|
|
11221
10925
|
readonly ordinal: Schema.Int;
|
|
11222
10926
|
readonly text: Schema.String;
|
|
11223
|
-
readonly
|
|
10927
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
11224
10928
|
}>;
|
|
11225
10929
|
}> & {
|
|
11226
10930
|
type: "session.reasoning.ended";
|
|
@@ -11240,7 +10944,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
11240
10944
|
};
|
|
11241
10945
|
readonly ordinal: Schema.Int;
|
|
11242
10946
|
readonly text: Schema.String;
|
|
11243
|
-
readonly
|
|
10947
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
11244
10948
|
}>;
|
|
11245
10949
|
}) | (Schema.Struct<{
|
|
11246
10950
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -11283,7 +10987,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
11283
10987
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
11284
10988
|
};
|
|
11285
10989
|
readonly ordinal: Schema.Int;
|
|
11286
|
-
readonly
|
|
10990
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
11287
10991
|
}>;
|
|
11288
10992
|
}> & {
|
|
11289
10993
|
type: "session.reasoning.started";
|
|
@@ -11302,7 +11006,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
11302
11006
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
11303
11007
|
};
|
|
11304
11008
|
readonly ordinal: Schema.Int;
|
|
11305
|
-
readonly
|
|
11009
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
11306
11010
|
}>;
|
|
11307
11011
|
}) | (Schema.Struct<{
|
|
11308
11012
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -11924,7 +11628,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
11924
11628
|
};
|
|
11925
11629
|
readonly finish: Schema.Literals<readonly ["stop", "length", "tool-calls", "content-filter", "error", "unknown"]>;
|
|
11926
11630
|
readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
11927
|
-
readonly
|
|
11631
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
11928
11632
|
readonly cost: Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
11929
11633
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
11930
11634
|
};
|
|
@@ -11958,7 +11662,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
11958
11662
|
};
|
|
11959
11663
|
readonly finish: Schema.Literals<readonly ["stop", "length", "tool-calls", "content-filter", "error", "unknown"]>;
|
|
11960
11664
|
readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
11961
|
-
readonly
|
|
11665
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
11962
11666
|
readonly cost: Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
11963
11667
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
11964
11668
|
};
|
|
@@ -12026,7 +11730,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
12026
11730
|
}>;
|
|
12027
11731
|
readonly finish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["content-filter"]>>>, Schema.optionalKey<Schema.Literals<readonly ["content-filter"]>>, never, never>;
|
|
12028
11732
|
readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
12029
|
-
readonly
|
|
11733
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
12030
11734
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
12031
11735
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
12032
11736
|
}>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
@@ -12080,7 +11784,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
12080
11784
|
}>;
|
|
12081
11785
|
readonly finish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["content-filter"]>>>, Schema.optionalKey<Schema.Literals<readonly ["content-filter"]>>, never, never>;
|
|
12082
11786
|
readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
12083
|
-
readonly
|
|
11787
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
12084
11788
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
12085
11789
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
12086
11790
|
}>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
@@ -12374,7 +12078,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
12374
12078
|
};
|
|
12375
12079
|
readonly ordinal: Schema.Int;
|
|
12376
12080
|
readonly text: Schema.String;
|
|
12377
|
-
readonly
|
|
12081
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
12378
12082
|
}>;
|
|
12379
12083
|
}> & {
|
|
12380
12084
|
type: "session.text.ended";
|
|
@@ -12394,7 +12098,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
12394
12098
|
};
|
|
12395
12099
|
readonly ordinal: Schema.Int;
|
|
12396
12100
|
readonly text: Schema.String;
|
|
12397
|
-
readonly
|
|
12101
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
12398
12102
|
}>;
|
|
12399
12103
|
}) | (Schema.Struct<{
|
|
12400
12104
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -12499,7 +12203,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
12499
12203
|
readonly id: Schema.String;
|
|
12500
12204
|
readonly input: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
12501
12205
|
readonly executed: Schema.Boolean;
|
|
12502
|
-
readonly
|
|
12206
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
12503
12207
|
}>;
|
|
12504
12208
|
}> & {
|
|
12505
12209
|
type: "session.tool.called";
|
|
@@ -12520,7 +12224,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
12520
12224
|
readonly id: Schema.String;
|
|
12521
12225
|
readonly input: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
12522
12226
|
readonly executed: Schema.Boolean;
|
|
12523
|
-
readonly
|
|
12227
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
12524
12228
|
}>;
|
|
12525
12229
|
}) | (Schema.Struct<{
|
|
12526
12230
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -12592,7 +12296,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
12592
12296
|
}>]>>>, never, never>;
|
|
12593
12297
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
|
|
12594
12298
|
readonly executed: Schema.Boolean;
|
|
12595
|
-
readonly
|
|
12299
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
12596
12300
|
}>;
|
|
12597
12301
|
}> & {
|
|
12598
12302
|
type: "session.tool.failed";
|
|
@@ -12640,7 +12344,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
12640
12344
|
}>]>>>, never, never>;
|
|
12641
12345
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
|
|
12642
12346
|
readonly executed: Schema.Boolean;
|
|
12643
|
-
readonly
|
|
12347
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
12644
12348
|
}>;
|
|
12645
12349
|
}) | (Schema.Struct<{
|
|
12646
12350
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -12818,7 +12522,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
12818
12522
|
}>]>>;
|
|
12819
12523
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
|
|
12820
12524
|
readonly executed: Schema.Boolean;
|
|
12821
|
-
readonly
|
|
12525
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
12822
12526
|
}>;
|
|
12823
12527
|
}> & {
|
|
12824
12528
|
type: "session.tool.success";
|
|
@@ -12848,7 +12552,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
12848
12552
|
}>]>>;
|
|
12849
12553
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
|
|
12850
12554
|
readonly executed: Schema.Boolean;
|
|
12851
|
-
readonly
|
|
12555
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
12852
12556
|
}>;
|
|
12853
12557
|
}) | (Schema.Struct<{
|
|
12854
12558
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -13073,11 +12777,11 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
13073
12777
|
readonly content: Schema.$Array<Schema.toEncoded<Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
13074
12778
|
readonly type: Schema.tag<"text">;
|
|
13075
12779
|
readonly text: Schema.String;
|
|
13076
|
-
readonly
|
|
12780
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
13077
12781
|
}>, Schema.Struct<{
|
|
13078
12782
|
readonly type: Schema.tag<"reasoning">;
|
|
13079
12783
|
readonly text: Schema.String;
|
|
13080
|
-
readonly
|
|
12784
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
13081
12785
|
readonly time: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
13082
12786
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
13083
12787
|
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>>>, Schema.optionalKey<Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>>, never, never>;
|
|
@@ -13090,8 +12794,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
13090
12794
|
readonly id: Schema.String;
|
|
13091
12795
|
readonly name: Schema.String;
|
|
13092
12796
|
readonly executed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
13093
|
-
readonly
|
|
13094
|
-
readonly providerResultState: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
12797
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
13095
12798
|
readonly state: Schema.toTaggedUnion<"status", readonly [Schema.Struct<{
|
|
13096
12799
|
readonly status: Schema.tag<"streaming">;
|
|
13097
12800
|
readonly input: Schema.String;
|
|
@@ -13170,11 +12873,11 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
13170
12873
|
readonly content: Schema.$Array<Schema.toEncoded<Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
13171
12874
|
readonly type: Schema.tag<"text">;
|
|
13172
12875
|
readonly text: Schema.String;
|
|
13173
|
-
readonly
|
|
12876
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
13174
12877
|
}>, Schema.Struct<{
|
|
13175
12878
|
readonly type: Schema.tag<"reasoning">;
|
|
13176
12879
|
readonly text: Schema.String;
|
|
13177
|
-
readonly
|
|
12880
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
13178
12881
|
readonly time: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
13179
12882
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
13180
12883
|
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>>>, Schema.optionalKey<Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>>, never, never>;
|
|
@@ -13187,8 +12890,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
13187
12890
|
readonly id: Schema.String;
|
|
13188
12891
|
readonly name: Schema.String;
|
|
13189
12892
|
readonly executed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
13190
|
-
readonly
|
|
13191
|
-
readonly providerResultState: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
12893
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
13192
12894
|
readonly state: Schema.toTaggedUnion<"status", readonly [Schema.Struct<{
|
|
13193
12895
|
readonly status: Schema.tag<"streaming">;
|
|
13194
12896
|
readonly input: Schema.String;
|
|
@@ -13762,56 +13464,8 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
13762
13464
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
13763
13465
|
};
|
|
13764
13466
|
}>, never, never>;
|
|
13765
|
-
readonly
|
|
13766
|
-
readonly providerContext: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
13767
|
-
readonly version: Schema.Literal<1>;
|
|
13768
|
-
readonly provenance: Schema.Struct<{
|
|
13769
|
-
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
13770
|
-
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13771
|
-
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13772
|
-
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13773
|
-
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13774
|
-
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13775
|
-
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13776
|
-
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13777
|
-
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13778
|
-
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13779
|
-
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13780
|
-
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13781
|
-
};
|
|
13782
|
-
readonly provider: Schema.String;
|
|
13783
|
-
readonly modelID: Schema.String;
|
|
13784
|
-
readonly route: Schema.String;
|
|
13785
|
-
readonly protocol: Schema.String;
|
|
13786
|
-
readonly endpoint: Schema.String;
|
|
13787
|
-
}>;
|
|
13788
|
-
readonly messages: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
13789
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
13790
|
-
readonly version: Schema.Literal<1>;
|
|
13791
|
-
readonly provenance: Schema.Struct<{
|
|
13792
|
-
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
13793
|
-
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13794
|
-
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13795
|
-
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13796
|
-
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13797
|
-
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13798
|
-
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13799
|
-
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13800
|
-
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13801
|
-
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13802
|
-
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13803
|
-
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13804
|
-
};
|
|
13805
|
-
readonly provider: Schema.String;
|
|
13806
|
-
readonly modelID: Schema.String;
|
|
13807
|
-
readonly route: Schema.String;
|
|
13808
|
-
readonly protocol: Schema.String;
|
|
13809
|
-
readonly endpoint: Schema.String;
|
|
13810
|
-
}>;
|
|
13811
|
-
readonly messages: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
13812
|
-
}>>, never, never>;
|
|
13467
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
13813
13468
|
readonly text: Schema.String;
|
|
13814
|
-
readonly recent: Schema.String;
|
|
13815
13469
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
13816
13470
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
13817
13471
|
}>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
@@ -13893,56 +13547,8 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
13893
13547
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
13894
13548
|
};
|
|
13895
13549
|
}>, never, never>;
|
|
13896
|
-
readonly
|
|
13897
|
-
readonly providerContext: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
13898
|
-
readonly version: Schema.Literal<1>;
|
|
13899
|
-
readonly provenance: Schema.Struct<{
|
|
13900
|
-
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
13901
|
-
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13902
|
-
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13903
|
-
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13904
|
-
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13905
|
-
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13906
|
-
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13907
|
-
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13908
|
-
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13909
|
-
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13910
|
-
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13911
|
-
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13912
|
-
};
|
|
13913
|
-
readonly provider: Schema.String;
|
|
13914
|
-
readonly modelID: Schema.String;
|
|
13915
|
-
readonly route: Schema.String;
|
|
13916
|
-
readonly protocol: Schema.String;
|
|
13917
|
-
readonly endpoint: Schema.String;
|
|
13918
|
-
}>;
|
|
13919
|
-
readonly messages: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
13920
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
13921
|
-
readonly version: Schema.Literal<1>;
|
|
13922
|
-
readonly provenance: Schema.Struct<{
|
|
13923
|
-
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
13924
|
-
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13925
|
-
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13926
|
-
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13927
|
-
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13928
|
-
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13929
|
-
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13930
|
-
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13931
|
-
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13932
|
-
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13933
|
-
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13934
|
-
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13935
|
-
};
|
|
13936
|
-
readonly provider: Schema.String;
|
|
13937
|
-
readonly modelID: Schema.String;
|
|
13938
|
-
readonly route: Schema.String;
|
|
13939
|
-
readonly protocol: Schema.String;
|
|
13940
|
-
readonly endpoint: Schema.String;
|
|
13941
|
-
}>;
|
|
13942
|
-
readonly messages: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
13943
|
-
}>>, never, never>;
|
|
13550
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
13944
13551
|
readonly text: Schema.String;
|
|
13945
|
-
readonly recent: Schema.String;
|
|
13946
13552
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
13947
13553
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
13948
13554
|
}>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
@@ -14133,7 +13739,6 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
14133
13739
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
14134
13740
|
};
|
|
14135
13741
|
readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
|
|
14136
|
-
readonly recent: Schema.String;
|
|
14137
13742
|
readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
14138
13743
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
14139
13744
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -14155,7 +13760,6 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
14155
13760
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
14156
13761
|
};
|
|
14157
13762
|
readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
|
|
14158
|
-
readonly recent: Schema.String;
|
|
14159
13763
|
readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
14160
13764
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
14161
13765
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -15798,7 +15402,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
15798
15402
|
};
|
|
15799
15403
|
readonly ordinal: Schema.Int;
|
|
15800
15404
|
readonly text: Schema.String;
|
|
15801
|
-
readonly
|
|
15405
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
15802
15406
|
}>;
|
|
15803
15407
|
}> & {
|
|
15804
15408
|
type: "session.reasoning.ended";
|
|
@@ -15818,7 +15422,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
15818
15422
|
};
|
|
15819
15423
|
readonly ordinal: Schema.Int;
|
|
15820
15424
|
readonly text: Schema.String;
|
|
15821
|
-
readonly
|
|
15425
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
15822
15426
|
}>;
|
|
15823
15427
|
}) | (Schema.Struct<{
|
|
15824
15428
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -15861,7 +15465,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
15861
15465
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
15862
15466
|
};
|
|
15863
15467
|
readonly ordinal: Schema.Int;
|
|
15864
|
-
readonly
|
|
15468
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
15865
15469
|
}>;
|
|
15866
15470
|
}> & {
|
|
15867
15471
|
type: "session.reasoning.started";
|
|
@@ -15880,7 +15484,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
15880
15484
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
15881
15485
|
};
|
|
15882
15486
|
readonly ordinal: Schema.Int;
|
|
15883
|
-
readonly
|
|
15487
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
15884
15488
|
}>;
|
|
15885
15489
|
}) | (Schema.Struct<{
|
|
15886
15490
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -16502,7 +16106,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
16502
16106
|
};
|
|
16503
16107
|
readonly finish: Schema.Literals<readonly ["stop", "length", "tool-calls", "content-filter", "error", "unknown"]>;
|
|
16504
16108
|
readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
16505
|
-
readonly
|
|
16109
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
16506
16110
|
readonly cost: Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
16507
16111
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
16508
16112
|
};
|
|
@@ -16536,7 +16140,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
16536
16140
|
};
|
|
16537
16141
|
readonly finish: Schema.Literals<readonly ["stop", "length", "tool-calls", "content-filter", "error", "unknown"]>;
|
|
16538
16142
|
readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
16539
|
-
readonly
|
|
16143
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
16540
16144
|
readonly cost: Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
16541
16145
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
16542
16146
|
};
|
|
@@ -16604,7 +16208,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
16604
16208
|
}>;
|
|
16605
16209
|
readonly finish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["content-filter"]>>>, Schema.optionalKey<Schema.Literals<readonly ["content-filter"]>>, never, never>;
|
|
16606
16210
|
readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
16607
|
-
readonly
|
|
16211
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
16608
16212
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
16609
16213
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
16610
16214
|
}>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
@@ -16658,7 +16262,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
16658
16262
|
}>;
|
|
16659
16263
|
readonly finish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["content-filter"]>>>, Schema.optionalKey<Schema.Literals<readonly ["content-filter"]>>, never, never>;
|
|
16660
16264
|
readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
16661
|
-
readonly
|
|
16265
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
16662
16266
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
16663
16267
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
16664
16268
|
}>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
@@ -16952,7 +16556,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
16952
16556
|
};
|
|
16953
16557
|
readonly ordinal: Schema.Int;
|
|
16954
16558
|
readonly text: Schema.String;
|
|
16955
|
-
readonly
|
|
16559
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
16956
16560
|
}>;
|
|
16957
16561
|
}> & {
|
|
16958
16562
|
type: "session.text.ended";
|
|
@@ -16972,7 +16576,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
16972
16576
|
};
|
|
16973
16577
|
readonly ordinal: Schema.Int;
|
|
16974
16578
|
readonly text: Schema.String;
|
|
16975
|
-
readonly
|
|
16579
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
16976
16580
|
}>;
|
|
16977
16581
|
}) | (Schema.Struct<{
|
|
16978
16582
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -17077,7 +16681,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
17077
16681
|
readonly id: Schema.String;
|
|
17078
16682
|
readonly input: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
17079
16683
|
readonly executed: Schema.Boolean;
|
|
17080
|
-
readonly
|
|
16684
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
17081
16685
|
}>;
|
|
17082
16686
|
}> & {
|
|
17083
16687
|
type: "session.tool.called";
|
|
@@ -17098,7 +16702,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
17098
16702
|
readonly id: Schema.String;
|
|
17099
16703
|
readonly input: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
17100
16704
|
readonly executed: Schema.Boolean;
|
|
17101
|
-
readonly
|
|
16705
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
17102
16706
|
}>;
|
|
17103
16707
|
}) | (Schema.Struct<{
|
|
17104
16708
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -17170,7 +16774,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
17170
16774
|
}>]>>>, never, never>;
|
|
17171
16775
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
|
|
17172
16776
|
readonly executed: Schema.Boolean;
|
|
17173
|
-
readonly
|
|
16777
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
17174
16778
|
}>;
|
|
17175
16779
|
}> & {
|
|
17176
16780
|
type: "session.tool.failed";
|
|
@@ -17218,7 +16822,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
17218
16822
|
}>]>>>, never, never>;
|
|
17219
16823
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
|
|
17220
16824
|
readonly executed: Schema.Boolean;
|
|
17221
|
-
readonly
|
|
16825
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
17222
16826
|
}>;
|
|
17223
16827
|
}) | (Schema.Struct<{
|
|
17224
16828
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -17396,7 +17000,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
17396
17000
|
}>]>>;
|
|
17397
17001
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
|
|
17398
17002
|
readonly executed: Schema.Boolean;
|
|
17399
|
-
readonly
|
|
17003
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
17400
17004
|
}>;
|
|
17401
17005
|
}> & {
|
|
17402
17006
|
type: "session.tool.success";
|
|
@@ -17426,7 +17030,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
17426
17030
|
}>]>>;
|
|
17427
17031
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
|
|
17428
17032
|
readonly executed: Schema.Boolean;
|
|
17429
|
-
readonly
|
|
17033
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
17430
17034
|
}>;
|
|
17431
17035
|
}) | (Schema.Struct<{
|
|
17432
17036
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -17651,11 +17255,11 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
17651
17255
|
readonly content: Schema.$Array<Schema.toEncoded<Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
17652
17256
|
readonly type: Schema.tag<"text">;
|
|
17653
17257
|
readonly text: Schema.String;
|
|
17654
|
-
readonly
|
|
17258
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
17655
17259
|
}>, Schema.Struct<{
|
|
17656
17260
|
readonly type: Schema.tag<"reasoning">;
|
|
17657
17261
|
readonly text: Schema.String;
|
|
17658
|
-
readonly
|
|
17262
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
17659
17263
|
readonly time: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
17660
17264
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
17661
17265
|
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>>>, Schema.optionalKey<Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>>, never, never>;
|
|
@@ -17668,8 +17272,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
17668
17272
|
readonly id: Schema.String;
|
|
17669
17273
|
readonly name: Schema.String;
|
|
17670
17274
|
readonly executed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
17671
|
-
readonly
|
|
17672
|
-
readonly providerResultState: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
17275
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
17673
17276
|
readonly state: Schema.toTaggedUnion<"status", readonly [Schema.Struct<{
|
|
17674
17277
|
readonly status: Schema.tag<"streaming">;
|
|
17675
17278
|
readonly input: Schema.String;
|
|
@@ -17748,11 +17351,11 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
17748
17351
|
readonly content: Schema.$Array<Schema.toEncoded<Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
17749
17352
|
readonly type: Schema.tag<"text">;
|
|
17750
17353
|
readonly text: Schema.String;
|
|
17751
|
-
readonly
|
|
17354
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
17752
17355
|
}>, Schema.Struct<{
|
|
17753
17356
|
readonly type: Schema.tag<"reasoning">;
|
|
17754
17357
|
readonly text: Schema.String;
|
|
17755
|
-
readonly
|
|
17358
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
17756
17359
|
readonly time: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
17757
17360
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
17758
17361
|
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>>>, Schema.optionalKey<Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>>, never, never>;
|
|
@@ -17765,8 +17368,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
17765
17368
|
readonly id: Schema.String;
|
|
17766
17369
|
readonly name: Schema.String;
|
|
17767
17370
|
readonly executed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
17768
|
-
readonly
|
|
17769
|
-
readonly providerResultState: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
17371
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
17770
17372
|
readonly state: Schema.toTaggedUnion<"status", readonly [Schema.Struct<{
|
|
17771
17373
|
readonly status: Schema.tag<"streaming">;
|
|
17772
17374
|
readonly input: Schema.String;
|
|
@@ -18014,56 +17616,8 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
18014
17616
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
18015
17617
|
};
|
|
18016
17618
|
}>, never, never>;
|
|
18017
|
-
readonly
|
|
18018
|
-
readonly providerContext: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
18019
|
-
readonly version: Schema.Literal<1>;
|
|
18020
|
-
readonly provenance: Schema.Struct<{
|
|
18021
|
-
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
18022
|
-
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
18023
|
-
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
18024
|
-
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
18025
|
-
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
18026
|
-
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
18027
|
-
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
18028
|
-
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
18029
|
-
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
18030
|
-
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
18031
|
-
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
18032
|
-
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
18033
|
-
};
|
|
18034
|
-
readonly provider: Schema.String;
|
|
18035
|
-
readonly modelID: Schema.String;
|
|
18036
|
-
readonly route: Schema.String;
|
|
18037
|
-
readonly protocol: Schema.String;
|
|
18038
|
-
readonly endpoint: Schema.String;
|
|
18039
|
-
}>;
|
|
18040
|
-
readonly messages: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
18041
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
18042
|
-
readonly version: Schema.Literal<1>;
|
|
18043
|
-
readonly provenance: Schema.Struct<{
|
|
18044
|
-
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
18045
|
-
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
18046
|
-
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
18047
|
-
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
18048
|
-
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
18049
|
-
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
18050
|
-
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
18051
|
-
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
18052
|
-
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
18053
|
-
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
18054
|
-
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
18055
|
-
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
18056
|
-
};
|
|
18057
|
-
readonly provider: Schema.String;
|
|
18058
|
-
readonly modelID: Schema.String;
|
|
18059
|
-
readonly route: Schema.String;
|
|
18060
|
-
readonly protocol: Schema.String;
|
|
18061
|
-
readonly endpoint: Schema.String;
|
|
18062
|
-
}>;
|
|
18063
|
-
readonly messages: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
18064
|
-
}>>, never, never>;
|
|
17619
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
18065
17620
|
readonly text: Schema.String;
|
|
18066
|
-
readonly recent: Schema.String;
|
|
18067
17621
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
18068
17622
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
18069
17623
|
}>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
@@ -18145,56 +17699,8 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
18145
17699
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
18146
17700
|
};
|
|
18147
17701
|
}>, never, never>;
|
|
18148
|
-
readonly
|
|
18149
|
-
readonly providerContext: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
18150
|
-
readonly version: Schema.Literal<1>;
|
|
18151
|
-
readonly provenance: Schema.Struct<{
|
|
18152
|
-
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
18153
|
-
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
18154
|
-
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
18155
|
-
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
18156
|
-
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
18157
|
-
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
18158
|
-
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
18159
|
-
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
18160
|
-
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
18161
|
-
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
18162
|
-
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
18163
|
-
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
18164
|
-
};
|
|
18165
|
-
readonly provider: Schema.String;
|
|
18166
|
-
readonly modelID: Schema.String;
|
|
18167
|
-
readonly route: Schema.String;
|
|
18168
|
-
readonly protocol: Schema.String;
|
|
18169
|
-
readonly endpoint: Schema.String;
|
|
18170
|
-
}>;
|
|
18171
|
-
readonly messages: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
18172
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
18173
|
-
readonly version: Schema.Literal<1>;
|
|
18174
|
-
readonly provenance: Schema.Struct<{
|
|
18175
|
-
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
18176
|
-
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
18177
|
-
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
18178
|
-
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
18179
|
-
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
18180
|
-
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
18181
|
-
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
18182
|
-
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
18183
|
-
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
18184
|
-
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
18185
|
-
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
18186
|
-
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
18187
|
-
};
|
|
18188
|
-
readonly provider: Schema.String;
|
|
18189
|
-
readonly modelID: Schema.String;
|
|
18190
|
-
readonly route: Schema.String;
|
|
18191
|
-
readonly protocol: Schema.String;
|
|
18192
|
-
readonly endpoint: Schema.String;
|
|
18193
|
-
}>;
|
|
18194
|
-
readonly messages: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
18195
|
-
}>>, never, never>;
|
|
17702
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
18196
17703
|
readonly text: Schema.String;
|
|
18197
|
-
readonly recent: Schema.String;
|
|
18198
17704
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
18199
17705
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
18200
17706
|
}>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
@@ -18385,7 +17891,6 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
18385
17891
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
18386
17892
|
};
|
|
18387
17893
|
readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
|
|
18388
|
-
readonly recent: Schema.String;
|
|
18389
17894
|
readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
18390
17895
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
18391
17896
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -18407,7 +17912,6 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
18407
17912
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
18408
17913
|
};
|
|
18409
17914
|
readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
|
|
18410
|
-
readonly recent: Schema.String;
|
|
18411
17915
|
readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
18412
17916
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
18413
17917
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -20050,7 +19554,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
20050
19554
|
};
|
|
20051
19555
|
readonly ordinal: Schema.Int;
|
|
20052
19556
|
readonly text: Schema.String;
|
|
20053
|
-
readonly
|
|
19557
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
20054
19558
|
}>;
|
|
20055
19559
|
}> & {
|
|
20056
19560
|
type: "session.reasoning.ended";
|
|
@@ -20070,7 +19574,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
20070
19574
|
};
|
|
20071
19575
|
readonly ordinal: Schema.Int;
|
|
20072
19576
|
readonly text: Schema.String;
|
|
20073
|
-
readonly
|
|
19577
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
20074
19578
|
}>;
|
|
20075
19579
|
}) | (Schema.Struct<{
|
|
20076
19580
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -20113,7 +19617,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
20113
19617
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
20114
19618
|
};
|
|
20115
19619
|
readonly ordinal: Schema.Int;
|
|
20116
|
-
readonly
|
|
19620
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
20117
19621
|
}>;
|
|
20118
19622
|
}> & {
|
|
20119
19623
|
type: "session.reasoning.started";
|
|
@@ -20132,7 +19636,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
20132
19636
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
20133
19637
|
};
|
|
20134
19638
|
readonly ordinal: Schema.Int;
|
|
20135
|
-
readonly
|
|
19639
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
20136
19640
|
}>;
|
|
20137
19641
|
}) | (Schema.Struct<{
|
|
20138
19642
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -20754,7 +20258,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
20754
20258
|
};
|
|
20755
20259
|
readonly finish: Schema.Literals<readonly ["stop", "length", "tool-calls", "content-filter", "error", "unknown"]>;
|
|
20756
20260
|
readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
20757
|
-
readonly
|
|
20261
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
20758
20262
|
readonly cost: Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
20759
20263
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
20760
20264
|
};
|
|
@@ -20788,7 +20292,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
20788
20292
|
};
|
|
20789
20293
|
readonly finish: Schema.Literals<readonly ["stop", "length", "tool-calls", "content-filter", "error", "unknown"]>;
|
|
20790
20294
|
readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
20791
|
-
readonly
|
|
20295
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
20792
20296
|
readonly cost: Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
20793
20297
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
20794
20298
|
};
|
|
@@ -20856,7 +20360,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
20856
20360
|
}>;
|
|
20857
20361
|
readonly finish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["content-filter"]>>>, Schema.optionalKey<Schema.Literals<readonly ["content-filter"]>>, never, never>;
|
|
20858
20362
|
readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
20859
|
-
readonly
|
|
20363
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
20860
20364
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
20861
20365
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
20862
20366
|
}>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
@@ -20910,7 +20414,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
20910
20414
|
}>;
|
|
20911
20415
|
readonly finish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["content-filter"]>>>, Schema.optionalKey<Schema.Literals<readonly ["content-filter"]>>, never, never>;
|
|
20912
20416
|
readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
20913
|
-
readonly
|
|
20417
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
20914
20418
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
20915
20419
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
20916
20420
|
}>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
@@ -21204,7 +20708,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
21204
20708
|
};
|
|
21205
20709
|
readonly ordinal: Schema.Int;
|
|
21206
20710
|
readonly text: Schema.String;
|
|
21207
|
-
readonly
|
|
20711
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
21208
20712
|
}>;
|
|
21209
20713
|
}> & {
|
|
21210
20714
|
type: "session.text.ended";
|
|
@@ -21224,7 +20728,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
21224
20728
|
};
|
|
21225
20729
|
readonly ordinal: Schema.Int;
|
|
21226
20730
|
readonly text: Schema.String;
|
|
21227
|
-
readonly
|
|
20731
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
21228
20732
|
}>;
|
|
21229
20733
|
}) | (Schema.Struct<{
|
|
21230
20734
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -21329,7 +20833,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
21329
20833
|
readonly id: Schema.String;
|
|
21330
20834
|
readonly input: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
21331
20835
|
readonly executed: Schema.Boolean;
|
|
21332
|
-
readonly
|
|
20836
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
21333
20837
|
}>;
|
|
21334
20838
|
}> & {
|
|
21335
20839
|
type: "session.tool.called";
|
|
@@ -21350,7 +20854,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
21350
20854
|
readonly id: Schema.String;
|
|
21351
20855
|
readonly input: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
21352
20856
|
readonly executed: Schema.Boolean;
|
|
21353
|
-
readonly
|
|
20857
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
21354
20858
|
}>;
|
|
21355
20859
|
}) | (Schema.Struct<{
|
|
21356
20860
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -21422,7 +20926,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
21422
20926
|
}>]>>>, never, never>;
|
|
21423
20927
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
|
|
21424
20928
|
readonly executed: Schema.Boolean;
|
|
21425
|
-
readonly
|
|
20929
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
21426
20930
|
}>;
|
|
21427
20931
|
}> & {
|
|
21428
20932
|
type: "session.tool.failed";
|
|
@@ -21470,7 +20974,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
21470
20974
|
}>]>>>, never, never>;
|
|
21471
20975
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
|
|
21472
20976
|
readonly executed: Schema.Boolean;
|
|
21473
|
-
readonly
|
|
20977
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
21474
20978
|
}>;
|
|
21475
20979
|
}) | (Schema.Struct<{
|
|
21476
20980
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -21648,7 +21152,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
21648
21152
|
}>]>>;
|
|
21649
21153
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
|
|
21650
21154
|
readonly executed: Schema.Boolean;
|
|
21651
|
-
readonly
|
|
21155
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
21652
21156
|
}>;
|
|
21653
21157
|
}> & {
|
|
21654
21158
|
type: "session.tool.success";
|
|
@@ -21678,7 +21182,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
21678
21182
|
}>]>>;
|
|
21679
21183
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
|
|
21680
21184
|
readonly executed: Schema.Boolean;
|
|
21681
|
-
readonly
|
|
21185
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
21682
21186
|
}>;
|
|
21683
21187
|
}) | (Schema.Struct<{
|
|
21684
21188
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -21903,11 +21407,11 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
21903
21407
|
readonly content: Schema.$Array<Schema.toEncoded<Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
21904
21408
|
readonly type: Schema.tag<"text">;
|
|
21905
21409
|
readonly text: Schema.String;
|
|
21906
|
-
readonly
|
|
21410
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
21907
21411
|
}>, Schema.Struct<{
|
|
21908
21412
|
readonly type: Schema.tag<"reasoning">;
|
|
21909
21413
|
readonly text: Schema.String;
|
|
21910
|
-
readonly
|
|
21414
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
21911
21415
|
readonly time: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
21912
21416
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
21913
21417
|
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>>>, Schema.optionalKey<Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>>, never, never>;
|
|
@@ -21920,8 +21424,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
21920
21424
|
readonly id: Schema.String;
|
|
21921
21425
|
readonly name: Schema.String;
|
|
21922
21426
|
readonly executed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
21923
|
-
readonly
|
|
21924
|
-
readonly providerResultState: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
21427
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
21925
21428
|
readonly state: Schema.toTaggedUnion<"status", readonly [Schema.Struct<{
|
|
21926
21429
|
readonly status: Schema.tag<"streaming">;
|
|
21927
21430
|
readonly input: Schema.String;
|
|
@@ -22000,11 +21503,11 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
22000
21503
|
readonly content: Schema.$Array<Schema.toEncoded<Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
22001
21504
|
readonly type: Schema.tag<"text">;
|
|
22002
21505
|
readonly text: Schema.String;
|
|
22003
|
-
readonly
|
|
21506
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
22004
21507
|
}>, Schema.Struct<{
|
|
22005
21508
|
readonly type: Schema.tag<"reasoning">;
|
|
22006
21509
|
readonly text: Schema.String;
|
|
22007
|
-
readonly
|
|
21510
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
22008
21511
|
readonly time: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
22009
21512
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
22010
21513
|
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>>>, Schema.optionalKey<Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>>, never, never>;
|
|
@@ -22017,8 +21520,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
22017
21520
|
readonly id: Schema.String;
|
|
22018
21521
|
readonly name: Schema.String;
|
|
22019
21522
|
readonly executed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
22020
|
-
readonly
|
|
22021
|
-
readonly providerResultState: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
21523
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
22022
21524
|
readonly state: Schema.toTaggedUnion<"status", readonly [Schema.Struct<{
|
|
22023
21525
|
readonly status: Schema.tag<"streaming">;
|
|
22024
21526
|
readonly input: Schema.String;
|