@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/event-manifest.d.ts
CHANGED
|
@@ -2684,7 +2684,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
2684
2684
|
};
|
|
2685
2685
|
readonly finish: Schema.Literals<readonly ["stop", "length", "tool-calls", "content-filter", "error", "unknown"]>;
|
|
2686
2686
|
readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
2687
|
-
readonly
|
|
2687
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2688
2688
|
readonly cost: Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
2689
2689
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
2690
2690
|
};
|
|
@@ -2718,7 +2718,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
2718
2718
|
};
|
|
2719
2719
|
readonly finish: Schema.Literals<readonly ["stop", "length", "tool-calls", "content-filter", "error", "unknown"]>;
|
|
2720
2720
|
readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
2721
|
-
readonly
|
|
2721
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2722
2722
|
readonly cost: Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
2723
2723
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
2724
2724
|
};
|
|
@@ -2786,7 +2786,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
2786
2786
|
}>;
|
|
2787
2787
|
readonly finish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["content-filter"]>>>, Schema.optionalKey<Schema.Literals<readonly ["content-filter"]>>, never, never>;
|
|
2788
2788
|
readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
2789
|
-
readonly
|
|
2789
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2790
2790
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
2791
2791
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
2792
2792
|
}>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
@@ -2840,7 +2840,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
2840
2840
|
}>;
|
|
2841
2841
|
readonly finish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["content-filter"]>>>, Schema.optionalKey<Schema.Literals<readonly ["content-filter"]>>, never, never>;
|
|
2842
2842
|
readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
2843
|
-
readonly
|
|
2843
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2844
2844
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
2845
2845
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
2846
2846
|
}>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
@@ -3022,7 +3022,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
3022
3022
|
};
|
|
3023
3023
|
readonly ordinal: Schema.Int;
|
|
3024
3024
|
readonly text: Schema.String;
|
|
3025
|
-
readonly
|
|
3025
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3026
3026
|
}>;
|
|
3027
3027
|
}> & {
|
|
3028
3028
|
type: "session.text.ended";
|
|
@@ -3042,7 +3042,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
3042
3042
|
};
|
|
3043
3043
|
readonly ordinal: Schema.Int;
|
|
3044
3044
|
readonly text: Schema.String;
|
|
3045
|
-
readonly
|
|
3045
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3046
3046
|
}>;
|
|
3047
3047
|
}, Schema.Struct<{
|
|
3048
3048
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -3085,7 +3085,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
3085
3085
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3086
3086
|
};
|
|
3087
3087
|
readonly ordinal: Schema.Int;
|
|
3088
|
-
readonly
|
|
3088
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3089
3089
|
}>;
|
|
3090
3090
|
}> & {
|
|
3091
3091
|
type: "session.reasoning.started";
|
|
@@ -3104,7 +3104,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
3104
3104
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3105
3105
|
};
|
|
3106
3106
|
readonly ordinal: Schema.Int;
|
|
3107
|
-
readonly
|
|
3107
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3108
3108
|
}>;
|
|
3109
3109
|
}, Schema.Struct<{
|
|
3110
3110
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -3202,7 +3202,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
3202
3202
|
};
|
|
3203
3203
|
readonly ordinal: Schema.Int;
|
|
3204
3204
|
readonly text: Schema.String;
|
|
3205
|
-
readonly
|
|
3205
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3206
3206
|
}>;
|
|
3207
3207
|
}> & {
|
|
3208
3208
|
type: "session.reasoning.ended";
|
|
@@ -3222,7 +3222,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
3222
3222
|
};
|
|
3223
3223
|
readonly ordinal: Schema.Int;
|
|
3224
3224
|
readonly text: Schema.String;
|
|
3225
|
-
readonly
|
|
3225
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3226
3226
|
}>;
|
|
3227
3227
|
}, Schema.Struct<{
|
|
3228
3228
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -3445,7 +3445,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
3445
3445
|
readonly id: Schema.String;
|
|
3446
3446
|
readonly input: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
3447
3447
|
readonly executed: Schema.Boolean;
|
|
3448
|
-
readonly
|
|
3448
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3449
3449
|
}>;
|
|
3450
3450
|
}> & {
|
|
3451
3451
|
type: "session.tool.called";
|
|
@@ -3466,7 +3466,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
3466
3466
|
readonly id: Schema.String;
|
|
3467
3467
|
readonly input: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
3468
3468
|
readonly executed: Schema.Boolean;
|
|
3469
|
-
readonly
|
|
3469
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3470
3470
|
}>;
|
|
3471
3471
|
}, Schema.Struct<{
|
|
3472
3472
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -3574,7 +3574,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
3574
3574
|
}>]>>;
|
|
3575
3575
|
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>;
|
|
3576
3576
|
readonly executed: Schema.Boolean;
|
|
3577
|
-
readonly
|
|
3577
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3578
3578
|
}>;
|
|
3579
3579
|
}> & {
|
|
3580
3580
|
type: "session.tool.success";
|
|
@@ -3604,7 +3604,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
3604
3604
|
}>]>>;
|
|
3605
3605
|
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>;
|
|
3606
3606
|
readonly executed: Schema.Boolean;
|
|
3607
|
-
readonly
|
|
3607
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3608
3608
|
}>;
|
|
3609
3609
|
}, Schema.Struct<{
|
|
3610
3610
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -3676,7 +3676,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
3676
3676
|
}>]>>>, never, never>;
|
|
3677
3677
|
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>;
|
|
3678
3678
|
readonly executed: Schema.Boolean;
|
|
3679
|
-
readonly
|
|
3679
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3680
3680
|
}>;
|
|
3681
3681
|
}> & {
|
|
3682
3682
|
type: "session.tool.failed";
|
|
@@ -3724,7 +3724,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
3724
3724
|
}>]>>>, never, never>;
|
|
3725
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>;
|
|
3726
3726
|
readonly executed: Schema.Boolean;
|
|
3727
|
-
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>;
|
|
3728
3728
|
}>;
|
|
3729
3729
|
}, Schema.Struct<{
|
|
3730
3730
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -3845,7 +3845,6 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
3845
3845
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
3846
3846
|
};
|
|
3847
3847
|
readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
|
|
3848
|
-
readonly recent: Schema.String;
|
|
3849
3848
|
readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3850
3849
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3851
3850
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -3867,7 +3866,6 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
3867
3866
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
3868
3867
|
};
|
|
3869
3868
|
readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
|
|
3870
|
-
readonly recent: Schema.String;
|
|
3871
3869
|
readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3872
3870
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3873
3871
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -4002,56 +4000,8 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
4002
4000
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
4003
4001
|
};
|
|
4004
4002
|
}>, never, never>;
|
|
4005
|
-
readonly
|
|
4006
|
-
readonly providerContext: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
4007
|
-
readonly version: Schema.Literal<1>;
|
|
4008
|
-
readonly provenance: Schema.Struct<{
|
|
4009
|
-
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
4010
|
-
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4011
|
-
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4012
|
-
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4013
|
-
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4014
|
-
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4015
|
-
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4016
|
-
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4017
|
-
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4018
|
-
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4019
|
-
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4020
|
-
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4021
|
-
};
|
|
4022
|
-
readonly provider: Schema.String;
|
|
4023
|
-
readonly modelID: Schema.String;
|
|
4024
|
-
readonly route: Schema.String;
|
|
4025
|
-
readonly protocol: Schema.String;
|
|
4026
|
-
readonly endpoint: Schema.String;
|
|
4027
|
-
}>;
|
|
4028
|
-
readonly messages: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
4029
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
4030
|
-
readonly version: Schema.Literal<1>;
|
|
4031
|
-
readonly provenance: Schema.Struct<{
|
|
4032
|
-
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
4033
|
-
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4034
|
-
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4035
|
-
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4036
|
-
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4037
|
-
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4038
|
-
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4039
|
-
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4040
|
-
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4041
|
-
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4042
|
-
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4043
|
-
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4044
|
-
};
|
|
4045
|
-
readonly provider: Schema.String;
|
|
4046
|
-
readonly modelID: Schema.String;
|
|
4047
|
-
readonly route: Schema.String;
|
|
4048
|
-
readonly protocol: Schema.String;
|
|
4049
|
-
readonly endpoint: Schema.String;
|
|
4050
|
-
}>;
|
|
4051
|
-
readonly messages: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
4052
|
-
}>>, never, never>;
|
|
4003
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
4053
4004
|
readonly text: Schema.String;
|
|
4054
|
-
readonly recent: Schema.String;
|
|
4055
4005
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
4056
4006
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
4057
4007
|
}>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
@@ -4133,56 +4083,8 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
4133
4083
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
4134
4084
|
};
|
|
4135
4085
|
}>, never, never>;
|
|
4136
|
-
readonly
|
|
4137
|
-
readonly providerContext: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
4138
|
-
readonly version: Schema.Literal<1>;
|
|
4139
|
-
readonly provenance: Schema.Struct<{
|
|
4140
|
-
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
4141
|
-
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4142
|
-
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4143
|
-
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4144
|
-
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4145
|
-
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4146
|
-
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4147
|
-
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4148
|
-
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4149
|
-
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4150
|
-
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4151
|
-
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4152
|
-
};
|
|
4153
|
-
readonly provider: Schema.String;
|
|
4154
|
-
readonly modelID: Schema.String;
|
|
4155
|
-
readonly route: Schema.String;
|
|
4156
|
-
readonly protocol: Schema.String;
|
|
4157
|
-
readonly endpoint: Schema.String;
|
|
4158
|
-
}>;
|
|
4159
|
-
readonly messages: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
4160
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
4161
|
-
readonly version: Schema.Literal<1>;
|
|
4162
|
-
readonly provenance: Schema.Struct<{
|
|
4163
|
-
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
4164
|
-
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4165
|
-
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4166
|
-
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4167
|
-
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4168
|
-
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4169
|
-
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4170
|
-
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4171
|
-
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4172
|
-
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4173
|
-
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4174
|
-
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4175
|
-
};
|
|
4176
|
-
readonly provider: Schema.String;
|
|
4177
|
-
readonly modelID: Schema.String;
|
|
4178
|
-
readonly route: Schema.String;
|
|
4179
|
-
readonly protocol: Schema.String;
|
|
4180
|
-
readonly endpoint: Schema.String;
|
|
4181
|
-
}>;
|
|
4182
|
-
readonly messages: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
4183
|
-
}>>, never, never>;
|
|
4086
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
4184
4087
|
readonly text: Schema.String;
|
|
4185
|
-
readonly recent: Schema.String;
|
|
4186
4088
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
4187
4089
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
4188
4090
|
}>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
@@ -9122,7 +9024,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
9122
9024
|
};
|
|
9123
9025
|
readonly finish: Schema.Literals<readonly ["stop", "length", "tool-calls", "content-filter", "error", "unknown"]>;
|
|
9124
9026
|
readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
9125
|
-
readonly
|
|
9027
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
9126
9028
|
readonly cost: Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
9127
9029
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
9128
9030
|
};
|
|
@@ -9156,7 +9058,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
9156
9058
|
};
|
|
9157
9059
|
readonly finish: Schema.Literals<readonly ["stop", "length", "tool-calls", "content-filter", "error", "unknown"]>;
|
|
9158
9060
|
readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
9159
|
-
readonly
|
|
9061
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
9160
9062
|
readonly cost: Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
9161
9063
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
9162
9064
|
};
|
|
@@ -9224,7 +9126,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
9224
9126
|
}>;
|
|
9225
9127
|
readonly finish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["content-filter"]>>>, Schema.optionalKey<Schema.Literals<readonly ["content-filter"]>>, never, never>;
|
|
9226
9128
|
readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
9227
|
-
readonly
|
|
9129
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
9228
9130
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
9229
9131
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
9230
9132
|
}>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
@@ -9278,7 +9180,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
9278
9180
|
}>;
|
|
9279
9181
|
readonly finish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["content-filter"]>>>, Schema.optionalKey<Schema.Literals<readonly ["content-filter"]>>, never, never>;
|
|
9280
9182
|
readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
9281
|
-
readonly
|
|
9183
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
9282
9184
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
9283
9185
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
9284
9186
|
}>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
@@ -9460,7 +9362,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
9460
9362
|
};
|
|
9461
9363
|
readonly ordinal: Schema.Int;
|
|
9462
9364
|
readonly text: Schema.String;
|
|
9463
|
-
readonly
|
|
9365
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
9464
9366
|
}>;
|
|
9465
9367
|
}> & {
|
|
9466
9368
|
type: "session.text.ended";
|
|
@@ -9480,7 +9382,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
9480
9382
|
};
|
|
9481
9383
|
readonly ordinal: Schema.Int;
|
|
9482
9384
|
readonly text: Schema.String;
|
|
9483
|
-
readonly
|
|
9385
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
9484
9386
|
}>;
|
|
9485
9387
|
}, Schema.Struct<{
|
|
9486
9388
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -9523,7 +9425,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
9523
9425
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
9524
9426
|
};
|
|
9525
9427
|
readonly ordinal: Schema.Int;
|
|
9526
|
-
readonly
|
|
9428
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
9527
9429
|
}>;
|
|
9528
9430
|
}> & {
|
|
9529
9431
|
type: "session.reasoning.started";
|
|
@@ -9542,7 +9444,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
9542
9444
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
9543
9445
|
};
|
|
9544
9446
|
readonly ordinal: Schema.Int;
|
|
9545
|
-
readonly
|
|
9447
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
9546
9448
|
}>;
|
|
9547
9449
|
}, Schema.Struct<{
|
|
9548
9450
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -9640,7 +9542,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
9640
9542
|
};
|
|
9641
9543
|
readonly ordinal: Schema.Int;
|
|
9642
9544
|
readonly text: Schema.String;
|
|
9643
|
-
readonly
|
|
9545
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
9644
9546
|
}>;
|
|
9645
9547
|
}> & {
|
|
9646
9548
|
type: "session.reasoning.ended";
|
|
@@ -9660,7 +9562,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
9660
9562
|
};
|
|
9661
9563
|
readonly ordinal: Schema.Int;
|
|
9662
9564
|
readonly text: Schema.String;
|
|
9663
|
-
readonly
|
|
9565
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
9664
9566
|
}>;
|
|
9665
9567
|
}, Schema.Struct<{
|
|
9666
9568
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -9883,7 +9785,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
9883
9785
|
readonly id: Schema.String;
|
|
9884
9786
|
readonly input: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
9885
9787
|
readonly executed: Schema.Boolean;
|
|
9886
|
-
readonly
|
|
9788
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
9887
9789
|
}>;
|
|
9888
9790
|
}> & {
|
|
9889
9791
|
type: "session.tool.called";
|
|
@@ -9904,7 +9806,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
9904
9806
|
readonly id: Schema.String;
|
|
9905
9807
|
readonly input: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
9906
9808
|
readonly executed: Schema.Boolean;
|
|
9907
|
-
readonly
|
|
9809
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
9908
9810
|
}>;
|
|
9909
9811
|
}, Schema.Struct<{
|
|
9910
9812
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -10012,7 +9914,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
10012
9914
|
}>]>>;
|
|
10013
9915
|
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>;
|
|
10014
9916
|
readonly executed: Schema.Boolean;
|
|
10015
|
-
readonly
|
|
9917
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
10016
9918
|
}>;
|
|
10017
9919
|
}> & {
|
|
10018
9920
|
type: "session.tool.success";
|
|
@@ -10042,7 +9944,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
10042
9944
|
}>]>>;
|
|
10043
9945
|
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>;
|
|
10044
9946
|
readonly executed: Schema.Boolean;
|
|
10045
|
-
readonly
|
|
9947
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
10046
9948
|
}>;
|
|
10047
9949
|
}, Schema.Struct<{
|
|
10048
9950
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -10114,7 +10016,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
10114
10016
|
}>]>>>, never, never>;
|
|
10115
10017
|
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>;
|
|
10116
10018
|
readonly executed: Schema.Boolean;
|
|
10117
|
-
readonly
|
|
10019
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
10118
10020
|
}>;
|
|
10119
10021
|
}> & {
|
|
10120
10022
|
type: "session.tool.failed";
|
|
@@ -10162,7 +10064,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
10162
10064
|
}>]>>>, never, never>;
|
|
10163
10065
|
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>;
|
|
10164
10066
|
readonly executed: Schema.Boolean;
|
|
10165
|
-
readonly
|
|
10067
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
10166
10068
|
}>;
|
|
10167
10069
|
}, Schema.Struct<{
|
|
10168
10070
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -10283,7 +10185,6 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
10283
10185
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
10284
10186
|
};
|
|
10285
10187
|
readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
|
|
10286
|
-
readonly recent: Schema.String;
|
|
10287
10188
|
readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
10288
10189
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
10289
10190
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -10305,7 +10206,6 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
10305
10206
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
10306
10207
|
};
|
|
10307
10208
|
readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
|
|
10308
|
-
readonly recent: Schema.String;
|
|
10309
10209
|
readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
10310
10210
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
10311
10211
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -10440,56 +10340,8 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
10440
10340
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
10441
10341
|
};
|
|
10442
10342
|
}>, never, never>;
|
|
10443
|
-
readonly
|
|
10444
|
-
readonly providerContext: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
10445
|
-
readonly version: Schema.Literal<1>;
|
|
10446
|
-
readonly provenance: Schema.Struct<{
|
|
10447
|
-
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
10448
|
-
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10449
|
-
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10450
|
-
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10451
|
-
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10452
|
-
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10453
|
-
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10454
|
-
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10455
|
-
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10456
|
-
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10457
|
-
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10458
|
-
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10459
|
-
};
|
|
10460
|
-
readonly provider: Schema.String;
|
|
10461
|
-
readonly modelID: Schema.String;
|
|
10462
|
-
readonly route: Schema.String;
|
|
10463
|
-
readonly protocol: Schema.String;
|
|
10464
|
-
readonly endpoint: Schema.String;
|
|
10465
|
-
}>;
|
|
10466
|
-
readonly messages: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
10467
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
10468
|
-
readonly version: Schema.Literal<1>;
|
|
10469
|
-
readonly provenance: Schema.Struct<{
|
|
10470
|
-
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
10471
|
-
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10472
|
-
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10473
|
-
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10474
|
-
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10475
|
-
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10476
|
-
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10477
|
-
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10478
|
-
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10479
|
-
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10480
|
-
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10481
|
-
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10482
|
-
};
|
|
10483
|
-
readonly provider: Schema.String;
|
|
10484
|
-
readonly modelID: Schema.String;
|
|
10485
|
-
readonly route: Schema.String;
|
|
10486
|
-
readonly protocol: Schema.String;
|
|
10487
|
-
readonly endpoint: Schema.String;
|
|
10488
|
-
}>;
|
|
10489
|
-
readonly messages: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
10490
|
-
}>>, never, never>;
|
|
10343
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
10491
10344
|
readonly text: Schema.String;
|
|
10492
|
-
readonly recent: Schema.String;
|
|
10493
10345
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
10494
10346
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
10495
10347
|
}>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
@@ -10571,56 +10423,8 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
10571
10423
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
10572
10424
|
};
|
|
10573
10425
|
}>, never, never>;
|
|
10574
|
-
readonly
|
|
10575
|
-
readonly providerContext: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
10576
|
-
readonly version: Schema.Literal<1>;
|
|
10577
|
-
readonly provenance: Schema.Struct<{
|
|
10578
|
-
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
10579
|
-
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10580
|
-
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10581
|
-
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10582
|
-
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10583
|
-
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10584
|
-
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10585
|
-
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10586
|
-
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10587
|
-
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10588
|
-
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10589
|
-
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10590
|
-
};
|
|
10591
|
-
readonly provider: Schema.String;
|
|
10592
|
-
readonly modelID: Schema.String;
|
|
10593
|
-
readonly route: Schema.String;
|
|
10594
|
-
readonly protocol: Schema.String;
|
|
10595
|
-
readonly endpoint: Schema.String;
|
|
10596
|
-
}>;
|
|
10597
|
-
readonly messages: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
10598
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
10599
|
-
readonly version: Schema.Literal<1>;
|
|
10600
|
-
readonly provenance: Schema.Struct<{
|
|
10601
|
-
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
10602
|
-
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10603
|
-
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10604
|
-
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10605
|
-
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10606
|
-
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10607
|
-
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10608
|
-
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10609
|
-
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10610
|
-
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10611
|
-
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10612
|
-
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10613
|
-
};
|
|
10614
|
-
readonly provider: Schema.String;
|
|
10615
|
-
readonly modelID: Schema.String;
|
|
10616
|
-
readonly route: Schema.String;
|
|
10617
|
-
readonly protocol: Schema.String;
|
|
10618
|
-
readonly endpoint: Schema.String;
|
|
10619
|
-
}>;
|
|
10620
|
-
readonly messages: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
10621
|
-
}>>, never, never>;
|
|
10426
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
10622
10427
|
readonly text: Schema.String;
|
|
10623
|
-
readonly recent: Schema.String;
|
|
10624
10428
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
10625
10429
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
10626
10430
|
}>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
@@ -12992,48 +12796,6 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
12992
12796
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
12993
12797
|
};
|
|
12994
12798
|
}>;
|
|
12995
|
-
}, Schema.Struct<{
|
|
12996
|
-
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
12997
|
-
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
12998
|
-
};
|
|
12999
|
-
readonly created: Schema.Finite;
|
|
13000
|
-
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
13001
|
-
readonly type: Schema.Literal<"session.compacted">;
|
|
13002
|
-
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
13003
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
13004
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
13005
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
13006
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
13007
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
13008
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
13009
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
13010
|
-
}>, never, never>;
|
|
13011
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
13012
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
13013
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
13014
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
13015
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
13016
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
13017
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
13018
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
13019
|
-
}>, never, never>;
|
|
13020
|
-
}>>, never, never>;
|
|
13021
|
-
readonly data: Schema.Struct<{
|
|
13022
|
-
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
13023
|
-
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
13024
|
-
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
13025
|
-
};
|
|
13026
|
-
}>;
|
|
13027
|
-
}> & {
|
|
13028
|
-
type: "session.compacted";
|
|
13029
|
-
durability: "ephemeral";
|
|
13030
|
-
durable: undefined;
|
|
13031
|
-
data: Schema.Struct<{
|
|
13032
|
-
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
13033
|
-
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
13034
|
-
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
13035
|
-
};
|
|
13036
|
-
}>;
|
|
13037
12799
|
}, Schema.Struct<{
|
|
13038
12800
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
13039
12801
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|