@opencode/protocol 0.0.0-dev-21268 → 0.0.0-dev-21286
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/groups/credential.d.ts +0 -3
- package/dist/groups/event.d.ts +751 -961
- package/dist/groups/message.d.ts +10 -110
- package/dist/groups/permission.d.ts +24 -24
- package/dist/groups/pty.d.ts +42 -42
- package/dist/groups/session.d.ts +58 -375
- package/dist/groups/session.js +13 -2
- package/package.json +2 -2
package/dist/groups/session.d.ts
CHANGED
|
@@ -669,11 +669,11 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
669
669
|
readonly content: Schema.$Array<Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
670
670
|
readonly type: Schema.tag<"text">;
|
|
671
671
|
readonly text: Schema.String;
|
|
672
|
-
readonly
|
|
672
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
673
673
|
}>, Schema.Struct<{
|
|
674
674
|
readonly type: Schema.tag<"reasoning">;
|
|
675
675
|
readonly text: Schema.String;
|
|
676
|
-
readonly
|
|
676
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
677
677
|
readonly time: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
678
678
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
679
679
|
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>;
|
|
@@ -686,8 +686,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
686
686
|
readonly id: Schema.String;
|
|
687
687
|
readonly name: Schema.String;
|
|
688
688
|
readonly executed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
689
|
-
readonly
|
|
690
|
-
readonly providerResultState: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
689
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
691
690
|
readonly state: Schema.toTaggedUnion<"status", readonly [Schema.Struct<{
|
|
692
691
|
readonly status: Schema.tag<"streaming">;
|
|
693
692
|
readonly input: Schema.String;
|
|
@@ -757,7 +756,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
757
756
|
}>>, never, never>;
|
|
758
757
|
readonly finish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["stop", "length", "tool-calls", "content-filter", "error", "unknown"]>>>, Schema.optionalKey<Schema.Literals<readonly ["stop", "length", "tool-calls", "content-filter", "error", "unknown"]>>, never, never>;
|
|
759
758
|
readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
760
|
-
readonly
|
|
759
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
761
760
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
762
761
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
763
762
|
}>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
@@ -844,7 +843,6 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
844
843
|
readonly status: Schema.tag<"running">;
|
|
845
844
|
readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
|
|
846
845
|
readonly summary: Schema.String;
|
|
847
|
-
readonly recent: Schema.String;
|
|
848
846
|
}>, Schema.Struct<{
|
|
849
847
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
850
848
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -924,56 +922,8 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
924
922
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
925
923
|
};
|
|
926
924
|
}>, never, never>;
|
|
927
|
-
readonly
|
|
925
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
928
926
|
readonly summary: Schema.String;
|
|
929
|
-
readonly recent: Schema.String;
|
|
930
|
-
readonly providerContext: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
931
|
-
readonly version: Schema.Literal<1>;
|
|
932
|
-
readonly provenance: Schema.Struct<{
|
|
933
|
-
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
934
|
-
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
935
|
-
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
936
|
-
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
937
|
-
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
938
|
-
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
939
|
-
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
940
|
-
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
941
|
-
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
942
|
-
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
943
|
-
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
944
|
-
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
945
|
-
};
|
|
946
|
-
readonly provider: Schema.String;
|
|
947
|
-
readonly modelID: Schema.String;
|
|
948
|
-
readonly route: Schema.String;
|
|
949
|
-
readonly protocol: Schema.String;
|
|
950
|
-
readonly endpoint: Schema.String;
|
|
951
|
-
}>;
|
|
952
|
-
readonly messages: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
953
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
954
|
-
readonly version: Schema.Literal<1>;
|
|
955
|
-
readonly provenance: Schema.Struct<{
|
|
956
|
-
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
957
|
-
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
958
|
-
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
959
|
-
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
960
|
-
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
961
|
-
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
962
|
-
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
963
|
-
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
964
|
-
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
965
|
-
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
966
|
-
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
967
|
-
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
968
|
-
};
|
|
969
|
-
readonly provider: Schema.String;
|
|
970
|
-
readonly modelID: Schema.String;
|
|
971
|
-
readonly route: Schema.String;
|
|
972
|
-
readonly protocol: Schema.String;
|
|
973
|
-
readonly endpoint: Schema.String;
|
|
974
|
-
}>;
|
|
975
|
-
readonly messages: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
976
|
-
}>>, never, never>;
|
|
977
927
|
}>, Schema.Struct<{
|
|
978
928
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
979
929
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -1840,11 +1790,11 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
1840
1790
|
readonly content: Schema.$Array<Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
1841
1791
|
readonly type: Schema.tag<"text">;
|
|
1842
1792
|
readonly text: Schema.String;
|
|
1843
|
-
readonly
|
|
1793
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1844
1794
|
}>, Schema.Struct<{
|
|
1845
1795
|
readonly type: Schema.tag<"reasoning">;
|
|
1846
1796
|
readonly text: Schema.String;
|
|
1847
|
-
readonly
|
|
1797
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1848
1798
|
readonly time: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
1849
1799
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
1850
1800
|
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>;
|
|
@@ -1857,8 +1807,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
1857
1807
|
readonly id: Schema.String;
|
|
1858
1808
|
readonly name: Schema.String;
|
|
1859
1809
|
readonly executed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1860
|
-
readonly
|
|
1861
|
-
readonly providerResultState: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1810
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1862
1811
|
readonly state: Schema.toTaggedUnion<"status", readonly [Schema.Struct<{
|
|
1863
1812
|
readonly status: Schema.tag<"streaming">;
|
|
1864
1813
|
readonly input: Schema.String;
|
|
@@ -1928,7 +1877,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
1928
1877
|
}>>, never, never>;
|
|
1929
1878
|
readonly finish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["stop", "length", "tool-calls", "content-filter", "error", "unknown"]>>>, Schema.optionalKey<Schema.Literals<readonly ["stop", "length", "tool-calls", "content-filter", "error", "unknown"]>>, never, never>;
|
|
1930
1879
|
readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1931
|
-
readonly
|
|
1880
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1932
1881
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
1933
1882
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
1934
1883
|
}>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
@@ -2015,7 +1964,6 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
2015
1964
|
readonly status: Schema.tag<"running">;
|
|
2016
1965
|
readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
|
|
2017
1966
|
readonly summary: Schema.String;
|
|
2018
|
-
readonly recent: Schema.String;
|
|
2019
1967
|
}>, Schema.Struct<{
|
|
2020
1968
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
2021
1969
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -2095,56 +2043,8 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
2095
2043
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
2096
2044
|
};
|
|
2097
2045
|
}>, never, never>;
|
|
2098
|
-
readonly
|
|
2046
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2099
2047
|
readonly summary: Schema.String;
|
|
2100
|
-
readonly recent: Schema.String;
|
|
2101
|
-
readonly providerContext: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
2102
|
-
readonly version: Schema.Literal<1>;
|
|
2103
|
-
readonly provenance: Schema.Struct<{
|
|
2104
|
-
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
2105
|
-
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2106
|
-
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2107
|
-
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2108
|
-
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2109
|
-
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2110
|
-
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2111
|
-
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2112
|
-
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2113
|
-
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2114
|
-
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2115
|
-
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2116
|
-
};
|
|
2117
|
-
readonly provider: Schema.String;
|
|
2118
|
-
readonly modelID: Schema.String;
|
|
2119
|
-
readonly route: Schema.String;
|
|
2120
|
-
readonly protocol: Schema.String;
|
|
2121
|
-
readonly endpoint: Schema.String;
|
|
2122
|
-
}>;
|
|
2123
|
-
readonly messages: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
2124
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
2125
|
-
readonly version: Schema.Literal<1>;
|
|
2126
|
-
readonly provenance: Schema.Struct<{
|
|
2127
|
-
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
2128
|
-
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2129
|
-
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2130
|
-
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2131
|
-
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2132
|
-
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2133
|
-
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2134
|
-
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2135
|
-
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2136
|
-
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2137
|
-
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2138
|
-
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2139
|
-
};
|
|
2140
|
-
readonly provider: Schema.String;
|
|
2141
|
-
readonly modelID: Schema.String;
|
|
2142
|
-
readonly route: Schema.String;
|
|
2143
|
-
readonly protocol: Schema.String;
|
|
2144
|
-
readonly endpoint: Schema.String;
|
|
2145
|
-
}>;
|
|
2146
|
-
readonly messages: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
2147
|
-
}>>, never, never>;
|
|
2148
2048
|
}>, Schema.Struct<{
|
|
2149
2049
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
2150
2050
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -3316,7 +3216,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
3316
3216
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
3317
3217
|
}>;
|
|
3318
3218
|
}>;
|
|
3319
|
-
readonly messages: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
3219
|
+
readonly messages: Schema.decodeTo<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
3320
3220
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3321
3221
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3322
3222
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -3674,11 +3574,11 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
3674
3574
|
readonly content: Schema.$Array<Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
3675
3575
|
readonly type: Schema.tag<"text">;
|
|
3676
3576
|
readonly text: Schema.String;
|
|
3677
|
-
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>;
|
|
3678
3578
|
}>, Schema.Struct<{
|
|
3679
3579
|
readonly type: Schema.tag<"reasoning">;
|
|
3680
3580
|
readonly text: Schema.String;
|
|
3681
|
-
readonly
|
|
3581
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3682
3582
|
readonly time: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
3683
3583
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3684
3584
|
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>;
|
|
@@ -3691,8 +3591,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
3691
3591
|
readonly id: Schema.String;
|
|
3692
3592
|
readonly name: Schema.String;
|
|
3693
3593
|
readonly executed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
3694
|
-
readonly
|
|
3695
|
-
readonly providerResultState: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3594
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3696
3595
|
readonly state: Schema.toTaggedUnion<"status", readonly [Schema.Struct<{
|
|
3697
3596
|
readonly status: Schema.tag<"streaming">;
|
|
3698
3597
|
readonly input: Schema.String;
|
|
@@ -3762,7 +3661,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
3762
3661
|
}>>, never, never>;
|
|
3763
3662
|
readonly finish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["stop", "length", "tool-calls", "content-filter", "error", "unknown"]>>>, Schema.optionalKey<Schema.Literals<readonly ["stop", "length", "tool-calls", "content-filter", "error", "unknown"]>>, never, never>;
|
|
3764
3663
|
readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
3765
|
-
readonly
|
|
3664
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3766
3665
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
3767
3666
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
3768
3667
|
}>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
@@ -3849,7 +3748,6 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
3849
3748
|
readonly status: Schema.tag<"running">;
|
|
3850
3749
|
readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
|
|
3851
3750
|
readonly summary: Schema.String;
|
|
3852
|
-
readonly recent: Schema.String;
|
|
3853
3751
|
}>, Schema.Struct<{
|
|
3854
3752
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3855
3753
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -3929,56 +3827,8 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
3929
3827
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
3930
3828
|
};
|
|
3931
3829
|
}>, never, never>;
|
|
3932
|
-
readonly
|
|
3830
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3933
3831
|
readonly summary: Schema.String;
|
|
3934
|
-
readonly recent: Schema.String;
|
|
3935
|
-
readonly providerContext: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
3936
|
-
readonly version: Schema.Literal<1>;
|
|
3937
|
-
readonly provenance: Schema.Struct<{
|
|
3938
|
-
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
3939
|
-
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3940
|
-
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3941
|
-
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3942
|
-
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3943
|
-
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3944
|
-
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3945
|
-
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3946
|
-
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3947
|
-
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3948
|
-
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3949
|
-
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3950
|
-
};
|
|
3951
|
-
readonly provider: Schema.String;
|
|
3952
|
-
readonly modelID: Schema.String;
|
|
3953
|
-
readonly route: Schema.String;
|
|
3954
|
-
readonly protocol: Schema.String;
|
|
3955
|
-
readonly endpoint: Schema.String;
|
|
3956
|
-
}>;
|
|
3957
|
-
readonly messages: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
3958
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
3959
|
-
readonly version: Schema.Literal<1>;
|
|
3960
|
-
readonly provenance: Schema.Struct<{
|
|
3961
|
-
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
3962
|
-
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3963
|
-
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3964
|
-
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3965
|
-
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3966
|
-
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3967
|
-
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3968
|
-
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3969
|
-
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3970
|
-
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3971
|
-
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3972
|
-
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3973
|
-
};
|
|
3974
|
-
readonly provider: Schema.String;
|
|
3975
|
-
readonly modelID: Schema.String;
|
|
3976
|
-
readonly route: Schema.String;
|
|
3977
|
-
readonly protocol: Schema.String;
|
|
3978
|
-
readonly endpoint: Schema.String;
|
|
3979
|
-
}>;
|
|
3980
|
-
readonly messages: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
3981
|
-
}>>, never, never>;
|
|
3982
3832
|
}>, Schema.Struct<{
|
|
3983
3833
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3984
3834
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -4053,7 +3903,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
4053
3903
|
readonly body: Schema.String;
|
|
4054
3904
|
}>>, never, never>;
|
|
4055
3905
|
}>>, never, never>;
|
|
4056
|
-
}>]
|
|
3906
|
+
}>]>>, Schema.decodeTo<Schema.$Array<Schema.Unknown>, Schema.$Array<Schema.Codec<Schema.Json, Schema.Json, never, never>>, never, never>, never, never>;
|
|
4057
3907
|
readonly location: Schema.optional<Schema.Struct<{
|
|
4058
3908
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
4059
3909
|
}>>;
|
|
@@ -5091,56 +4941,8 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
5091
4941
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
5092
4942
|
};
|
|
5093
4943
|
}>, never, never>;
|
|
5094
|
-
readonly
|
|
5095
|
-
readonly providerContext: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
5096
|
-
readonly version: Schema.Literal<1>;
|
|
5097
|
-
readonly provenance: Schema.Struct<{
|
|
5098
|
-
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
5099
|
-
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
5100
|
-
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
5101
|
-
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
5102
|
-
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
5103
|
-
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
5104
|
-
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
5105
|
-
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
5106
|
-
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
5107
|
-
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
5108
|
-
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
5109
|
-
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
5110
|
-
};
|
|
5111
|
-
readonly provider: Schema.String;
|
|
5112
|
-
readonly modelID: Schema.String;
|
|
5113
|
-
readonly route: Schema.String;
|
|
5114
|
-
readonly protocol: Schema.String;
|
|
5115
|
-
readonly endpoint: Schema.String;
|
|
5116
|
-
}>;
|
|
5117
|
-
readonly messages: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
5118
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
5119
|
-
readonly version: Schema.Literal<1>;
|
|
5120
|
-
readonly provenance: Schema.Struct<{
|
|
5121
|
-
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
5122
|
-
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
5123
|
-
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
5124
|
-
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
5125
|
-
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
5126
|
-
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
5127
|
-
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
5128
|
-
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
5129
|
-
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
5130
|
-
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
5131
|
-
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
5132
|
-
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
5133
|
-
};
|
|
5134
|
-
readonly provider: Schema.String;
|
|
5135
|
-
readonly modelID: Schema.String;
|
|
5136
|
-
readonly route: Schema.String;
|
|
5137
|
-
readonly protocol: Schema.String;
|
|
5138
|
-
readonly endpoint: Schema.String;
|
|
5139
|
-
}>;
|
|
5140
|
-
readonly messages: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
5141
|
-
}>>, never, never>;
|
|
4944
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
5142
4945
|
readonly text: Schema.String;
|
|
5143
|
-
readonly recent: Schema.String;
|
|
5144
4946
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
5145
4947
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
5146
4948
|
}>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
@@ -5222,56 +5024,8 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
5222
5024
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
5223
5025
|
};
|
|
5224
5026
|
}>, never, never>;
|
|
5225
|
-
readonly
|
|
5226
|
-
readonly providerContext: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
5227
|
-
readonly version: Schema.Literal<1>;
|
|
5228
|
-
readonly provenance: Schema.Struct<{
|
|
5229
|
-
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
5230
|
-
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
5231
|
-
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
5232
|
-
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
5233
|
-
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
5234
|
-
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
5235
|
-
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
5236
|
-
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
5237
|
-
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
5238
|
-
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
5239
|
-
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
5240
|
-
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
5241
|
-
};
|
|
5242
|
-
readonly provider: Schema.String;
|
|
5243
|
-
readonly modelID: Schema.String;
|
|
5244
|
-
readonly route: Schema.String;
|
|
5245
|
-
readonly protocol: Schema.String;
|
|
5246
|
-
readonly endpoint: Schema.String;
|
|
5247
|
-
}>;
|
|
5248
|
-
readonly messages: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
5249
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
5250
|
-
readonly version: Schema.Literal<1>;
|
|
5251
|
-
readonly provenance: Schema.Struct<{
|
|
5252
|
-
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
5253
|
-
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
5254
|
-
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
5255
|
-
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
5256
|
-
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
5257
|
-
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
5258
|
-
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
5259
|
-
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
5260
|
-
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
5261
|
-
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
5262
|
-
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
5263
|
-
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
5264
|
-
};
|
|
5265
|
-
readonly provider: Schema.String;
|
|
5266
|
-
readonly modelID: Schema.String;
|
|
5267
|
-
readonly route: Schema.String;
|
|
5268
|
-
readonly protocol: Schema.String;
|
|
5269
|
-
readonly endpoint: Schema.String;
|
|
5270
|
-
}>;
|
|
5271
|
-
readonly messages: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
5272
|
-
}>>, never, never>;
|
|
5027
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
5273
5028
|
readonly text: Schema.String;
|
|
5274
|
-
readonly recent: Schema.String;
|
|
5275
5029
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
5276
5030
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
5277
5031
|
}>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
@@ -5462,7 +5216,6 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
5462
5216
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
5463
5217
|
};
|
|
5464
5218
|
readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
|
|
5465
|
-
readonly recent: Schema.String;
|
|
5466
5219
|
readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
5467
5220
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5468
5221
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -5484,7 +5237,6 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
5484
5237
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
5485
5238
|
};
|
|
5486
5239
|
readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
|
|
5487
|
-
readonly recent: Schema.String;
|
|
5488
5240
|
readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
5489
5241
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5490
5242
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -7117,7 +6869,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
7117
6869
|
};
|
|
7118
6870
|
readonly ordinal: Schema.Int;
|
|
7119
6871
|
readonly text: Schema.String;
|
|
7120
|
-
readonly
|
|
6872
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
7121
6873
|
}>;
|
|
7122
6874
|
}> & {
|
|
7123
6875
|
type: "session.reasoning.ended";
|
|
@@ -7137,7 +6889,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
7137
6889
|
};
|
|
7138
6890
|
readonly ordinal: Schema.Int;
|
|
7139
6891
|
readonly text: Schema.String;
|
|
7140
|
-
readonly
|
|
6892
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
7141
6893
|
}>;
|
|
7142
6894
|
}) | (Schema.Struct<{
|
|
7143
6895
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -7180,7 +6932,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
7180
6932
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7181
6933
|
};
|
|
7182
6934
|
readonly ordinal: Schema.Int;
|
|
7183
|
-
readonly
|
|
6935
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
7184
6936
|
}>;
|
|
7185
6937
|
}> & {
|
|
7186
6938
|
type: "session.reasoning.started";
|
|
@@ -7199,7 +6951,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
7199
6951
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7200
6952
|
};
|
|
7201
6953
|
readonly ordinal: Schema.Int;
|
|
7202
|
-
readonly
|
|
6954
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
7203
6955
|
}>;
|
|
7204
6956
|
}) | (Schema.Struct<{
|
|
7205
6957
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -7821,7 +7573,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
7821
7573
|
};
|
|
7822
7574
|
readonly finish: Schema.Literals<readonly ["stop", "length", "tool-calls", "content-filter", "error", "unknown"]>;
|
|
7823
7575
|
readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
7824
|
-
readonly
|
|
7576
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
7825
7577
|
readonly cost: Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
7826
7578
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
7827
7579
|
};
|
|
@@ -7855,7 +7607,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
7855
7607
|
};
|
|
7856
7608
|
readonly finish: Schema.Literals<readonly ["stop", "length", "tool-calls", "content-filter", "error", "unknown"]>;
|
|
7857
7609
|
readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
7858
|
-
readonly
|
|
7610
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
7859
7611
|
readonly cost: Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
7860
7612
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
7861
7613
|
};
|
|
@@ -7923,7 +7675,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
7923
7675
|
}>;
|
|
7924
7676
|
readonly finish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["content-filter"]>>>, Schema.optionalKey<Schema.Literals<readonly ["content-filter"]>>, never, never>;
|
|
7925
7677
|
readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
7926
|
-
readonly
|
|
7678
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
7927
7679
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
7928
7680
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
7929
7681
|
}>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
@@ -7977,7 +7729,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
7977
7729
|
}>;
|
|
7978
7730
|
readonly finish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["content-filter"]>>>, Schema.optionalKey<Schema.Literals<readonly ["content-filter"]>>, never, never>;
|
|
7979
7731
|
readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
7980
|
-
readonly
|
|
7732
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
7981
7733
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
7982
7734
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
7983
7735
|
}>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
@@ -8269,7 +8021,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
8269
8021
|
};
|
|
8270
8022
|
readonly ordinal: Schema.Int;
|
|
8271
8023
|
readonly text: Schema.String;
|
|
8272
|
-
readonly
|
|
8024
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8273
8025
|
}>;
|
|
8274
8026
|
}> & {
|
|
8275
8027
|
type: "session.text.ended";
|
|
@@ -8289,7 +8041,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
8289
8041
|
};
|
|
8290
8042
|
readonly ordinal: Schema.Int;
|
|
8291
8043
|
readonly text: Schema.String;
|
|
8292
|
-
readonly
|
|
8044
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8293
8045
|
}>;
|
|
8294
8046
|
}) | (Schema.Struct<{
|
|
8295
8047
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -8394,7 +8146,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
8394
8146
|
readonly id: Schema.String;
|
|
8395
8147
|
readonly input: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
8396
8148
|
readonly executed: Schema.Boolean;
|
|
8397
|
-
readonly
|
|
8149
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8398
8150
|
}>;
|
|
8399
8151
|
}> & {
|
|
8400
8152
|
type: "session.tool.called";
|
|
@@ -8415,7 +8167,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
8415
8167
|
readonly id: Schema.String;
|
|
8416
8168
|
readonly input: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
8417
8169
|
readonly executed: Schema.Boolean;
|
|
8418
|
-
readonly
|
|
8170
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8419
8171
|
}>;
|
|
8420
8172
|
}) | (Schema.Struct<{
|
|
8421
8173
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -8487,7 +8239,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
8487
8239
|
}>]>>>, never, never>;
|
|
8488
8240
|
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>;
|
|
8489
8241
|
readonly executed: Schema.Boolean;
|
|
8490
|
-
readonly
|
|
8242
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8491
8243
|
}>;
|
|
8492
8244
|
}> & {
|
|
8493
8245
|
type: "session.tool.failed";
|
|
@@ -8535,7 +8287,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
8535
8287
|
}>]>>>, never, never>;
|
|
8536
8288
|
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>;
|
|
8537
8289
|
readonly executed: Schema.Boolean;
|
|
8538
|
-
readonly
|
|
8290
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8539
8291
|
}>;
|
|
8540
8292
|
}) | (Schema.Struct<{
|
|
8541
8293
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -8713,7 +8465,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
8713
8465
|
}>]>>;
|
|
8714
8466
|
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>;
|
|
8715
8467
|
readonly executed: Schema.Boolean;
|
|
8716
|
-
readonly
|
|
8468
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8717
8469
|
}>;
|
|
8718
8470
|
}> & {
|
|
8719
8471
|
type: "session.tool.success";
|
|
@@ -8743,7 +8495,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
8743
8495
|
}>]>>;
|
|
8744
8496
|
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>;
|
|
8745
8497
|
readonly executed: Schema.Boolean;
|
|
8746
|
-
readonly
|
|
8498
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8747
8499
|
}>;
|
|
8748
8500
|
}) | (Schema.Struct<{
|
|
8749
8501
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -8966,11 +8718,11 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
8966
8718
|
readonly content: Schema.$Array<Schema.toEncoded<Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
8967
8719
|
readonly type: Schema.tag<"text">;
|
|
8968
8720
|
readonly text: Schema.String;
|
|
8969
|
-
readonly
|
|
8721
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8970
8722
|
}>, Schema.Struct<{
|
|
8971
8723
|
readonly type: Schema.tag<"reasoning">;
|
|
8972
8724
|
readonly text: Schema.String;
|
|
8973
|
-
readonly
|
|
8725
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8974
8726
|
readonly time: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
8975
8727
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
8976
8728
|
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>;
|
|
@@ -8983,8 +8735,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
8983
8735
|
readonly id: Schema.String;
|
|
8984
8736
|
readonly name: Schema.String;
|
|
8985
8737
|
readonly executed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
8986
|
-
readonly
|
|
8987
|
-
readonly providerResultState: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8738
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8988
8739
|
readonly state: Schema.toTaggedUnion<"status", readonly [Schema.Struct<{
|
|
8989
8740
|
readonly status: Schema.tag<"streaming">;
|
|
8990
8741
|
readonly input: Schema.String;
|
|
@@ -9063,11 +8814,11 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
9063
8814
|
readonly content: Schema.$Array<Schema.toEncoded<Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
9064
8815
|
readonly type: Schema.tag<"text">;
|
|
9065
8816
|
readonly text: Schema.String;
|
|
9066
|
-
readonly
|
|
8817
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
9067
8818
|
}>, Schema.Struct<{
|
|
9068
8819
|
readonly type: Schema.tag<"reasoning">;
|
|
9069
8820
|
readonly text: Schema.String;
|
|
9070
|
-
readonly
|
|
8821
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
9071
8822
|
readonly time: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
9072
8823
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
9073
8824
|
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>;
|
|
@@ -9080,8 +8831,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
9080
8831
|
readonly id: Schema.String;
|
|
9081
8832
|
readonly name: Schema.String;
|
|
9082
8833
|
readonly executed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
9083
|
-
readonly
|
|
9084
|
-
readonly providerResultState: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8834
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
9085
8835
|
readonly state: Schema.toTaggedUnion<"status", readonly [Schema.Struct<{
|
|
9086
8836
|
readonly status: Schema.tag<"streaming">;
|
|
9087
8837
|
readonly input: Schema.String;
|
|
@@ -9209,23 +8959,10 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
9209
8959
|
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9210
8960
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
9211
8961
|
} | undefined;
|
|
9212
|
-
readonly
|
|
8962
|
+
readonly native?: {
|
|
9213
8963
|
readonly [x: string]: unknown;
|
|
9214
8964
|
} | undefined;
|
|
9215
|
-
readonly providerContext?: {
|
|
9216
|
-
readonly version: 1;
|
|
9217
|
-
readonly provenance: {
|
|
9218
|
-
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9219
|
-
readonly provider: string;
|
|
9220
|
-
readonly modelID: string;
|
|
9221
|
-
readonly route: string;
|
|
9222
|
-
readonly protocol: string;
|
|
9223
|
-
readonly endpoint: string;
|
|
9224
|
-
};
|
|
9225
|
-
readonly messages: Schema.Json;
|
|
9226
|
-
} | undefined;
|
|
9227
8965
|
readonly text: string;
|
|
9228
|
-
readonly recent: string;
|
|
9229
8966
|
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
9230
8967
|
readonly tokens?: {
|
|
9231
8968
|
readonly input: number;
|
|
@@ -9295,7 +9032,6 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
9295
9032
|
readonly data: {
|
|
9296
9033
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
9297
9034
|
readonly reason: "auto" | "manual";
|
|
9298
|
-
readonly recent: string;
|
|
9299
9035
|
readonly inputID?: (string & import("effect/Brand").Brand<"Session.Message.ID">) | undefined;
|
|
9300
9036
|
};
|
|
9301
9037
|
} | {
|
|
@@ -9775,7 +9511,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
9775
9511
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
9776
9512
|
readonly ordinal: number;
|
|
9777
9513
|
readonly text: string;
|
|
9778
|
-
readonly
|
|
9514
|
+
readonly native?: {
|
|
9779
9515
|
readonly [x: string]: unknown;
|
|
9780
9516
|
} | undefined;
|
|
9781
9517
|
};
|
|
@@ -9799,7 +9535,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
9799
9535
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
9800
9536
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
9801
9537
|
readonly ordinal: number;
|
|
9802
|
-
readonly
|
|
9538
|
+
readonly native?: {
|
|
9803
9539
|
readonly [x: string]: unknown;
|
|
9804
9540
|
} | undefined;
|
|
9805
9541
|
};
|
|
@@ -10046,7 +9782,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
10046
9782
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
10047
9783
|
readonly finish: "content-filter" | "error" | "length" | "stop" | "tool-calls" | "unknown";
|
|
10048
9784
|
readonly rawFinish?: string | undefined;
|
|
10049
|
-
readonly
|
|
9785
|
+
readonly native?: {
|
|
10050
9786
|
readonly [x: string]: unknown;
|
|
10051
9787
|
} | undefined;
|
|
10052
9788
|
readonly cost: number & import("effect/Brand").Brand<"Money.USD">;
|
|
@@ -10091,7 +9827,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
10091
9827
|
};
|
|
10092
9828
|
readonly finish?: "content-filter" | undefined;
|
|
10093
9829
|
readonly rawFinish?: string | undefined;
|
|
10094
|
-
readonly
|
|
9830
|
+
readonly native?: {
|
|
10095
9831
|
readonly [x: string]: unknown;
|
|
10096
9832
|
} | undefined;
|
|
10097
9833
|
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
@@ -10200,7 +9936,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
10200
9936
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
10201
9937
|
readonly ordinal: number;
|
|
10202
9938
|
readonly text: string;
|
|
10203
|
-
readonly
|
|
9939
|
+
readonly native?: {
|
|
10204
9940
|
readonly [x: string]: unknown;
|
|
10205
9941
|
} | undefined;
|
|
10206
9942
|
};
|
|
@@ -10249,7 +9985,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
10249
9985
|
readonly [x: string]: unknown;
|
|
10250
9986
|
};
|
|
10251
9987
|
readonly executed: boolean;
|
|
10252
|
-
readonly
|
|
9988
|
+
readonly native?: {
|
|
10253
9989
|
readonly [x: string]: unknown;
|
|
10254
9990
|
} | undefined;
|
|
10255
9991
|
};
|
|
@@ -10302,7 +10038,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
10302
10038
|
readonly [x: string]: Schema.Json;
|
|
10303
10039
|
} | undefined;
|
|
10304
10040
|
readonly executed: boolean;
|
|
10305
|
-
readonly
|
|
10041
|
+
readonly native?: {
|
|
10306
10042
|
readonly [x: string]: unknown;
|
|
10307
10043
|
} | undefined;
|
|
10308
10044
|
};
|
|
@@ -10391,7 +10127,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
10391
10127
|
readonly [x: string]: Schema.Json;
|
|
10392
10128
|
} | undefined;
|
|
10393
10129
|
readonly executed: boolean;
|
|
10394
|
-
readonly
|
|
10130
|
+
readonly native?: {
|
|
10395
10131
|
readonly [x: string]: unknown;
|
|
10396
10132
|
} | undefined;
|
|
10397
10133
|
};
|
|
@@ -10456,13 +10192,13 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
10456
10192
|
readonly content: readonly ({
|
|
10457
10193
|
readonly type: "text";
|
|
10458
10194
|
readonly text: string;
|
|
10459
|
-
readonly
|
|
10195
|
+
readonly native?: {
|
|
10460
10196
|
readonly [x: string]: unknown;
|
|
10461
10197
|
} | undefined;
|
|
10462
10198
|
} | {
|
|
10463
10199
|
readonly type: "reasoning";
|
|
10464
10200
|
readonly text: string;
|
|
10465
|
-
readonly
|
|
10201
|
+
readonly native?: {
|
|
10466
10202
|
readonly [x: string]: unknown;
|
|
10467
10203
|
} | undefined;
|
|
10468
10204
|
readonly time?: {
|
|
@@ -10474,10 +10210,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
10474
10210
|
readonly id: string;
|
|
10475
10211
|
readonly name: string;
|
|
10476
10212
|
readonly executed?: boolean | undefined;
|
|
10477
|
-
readonly
|
|
10478
|
-
readonly [x: string]: unknown;
|
|
10479
|
-
} | undefined;
|
|
10480
|
-
readonly providerResultState?: {
|
|
10213
|
+
readonly native?: {
|
|
10481
10214
|
readonly [x: string]: unknown;
|
|
10482
10215
|
} | undefined;
|
|
10483
10216
|
readonly state: {
|
|
@@ -10959,11 +10692,11 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
10959
10692
|
readonly content: Schema.$Array<Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
10960
10693
|
readonly type: Schema.tag<"text">;
|
|
10961
10694
|
readonly text: Schema.String;
|
|
10962
|
-
readonly
|
|
10695
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
10963
10696
|
}>, Schema.Struct<{
|
|
10964
10697
|
readonly type: Schema.tag<"reasoning">;
|
|
10965
10698
|
readonly text: Schema.String;
|
|
10966
|
-
readonly
|
|
10699
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
10967
10700
|
readonly time: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
10968
10701
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
10969
10702
|
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>;
|
|
@@ -10976,8 +10709,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
10976
10709
|
readonly id: Schema.String;
|
|
10977
10710
|
readonly name: Schema.String;
|
|
10978
10711
|
readonly executed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
10979
|
-
readonly
|
|
10980
|
-
readonly providerResultState: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
10712
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
10981
10713
|
readonly state: Schema.toTaggedUnion<"status", readonly [Schema.Struct<{
|
|
10982
10714
|
readonly status: Schema.tag<"streaming">;
|
|
10983
10715
|
readonly input: Schema.String;
|
|
@@ -11047,7 +10779,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
11047
10779
|
}>>, never, never>;
|
|
11048
10780
|
readonly finish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["stop", "length", "tool-calls", "content-filter", "error", "unknown"]>>>, Schema.optionalKey<Schema.Literals<readonly ["stop", "length", "tool-calls", "content-filter", "error", "unknown"]>>, never, never>;
|
|
11049
10781
|
readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
11050
|
-
readonly
|
|
10782
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
11051
10783
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
11052
10784
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
11053
10785
|
}>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
@@ -11134,7 +10866,6 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
11134
10866
|
readonly status: Schema.tag<"running">;
|
|
11135
10867
|
readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
|
|
11136
10868
|
readonly summary: Schema.String;
|
|
11137
|
-
readonly recent: Schema.String;
|
|
11138
10869
|
}>, Schema.Struct<{
|
|
11139
10870
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
11140
10871
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -11214,56 +10945,8 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
11214
10945
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
11215
10946
|
};
|
|
11216
10947
|
}>, never, never>;
|
|
11217
|
-
readonly
|
|
10948
|
+
readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
11218
10949
|
readonly summary: Schema.String;
|
|
11219
|
-
readonly recent: Schema.String;
|
|
11220
|
-
readonly providerContext: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
11221
|
-
readonly version: Schema.Literal<1>;
|
|
11222
|
-
readonly provenance: Schema.Struct<{
|
|
11223
|
-
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
11224
|
-
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11225
|
-
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11226
|
-
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11227
|
-
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11228
|
-
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11229
|
-
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11230
|
-
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11231
|
-
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11232
|
-
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11233
|
-
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11234
|
-
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11235
|
-
};
|
|
11236
|
-
readonly provider: Schema.String;
|
|
11237
|
-
readonly modelID: Schema.String;
|
|
11238
|
-
readonly route: Schema.String;
|
|
11239
|
-
readonly protocol: Schema.String;
|
|
11240
|
-
readonly endpoint: Schema.String;
|
|
11241
|
-
}>;
|
|
11242
|
-
readonly messages: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
11243
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
11244
|
-
readonly version: Schema.Literal<1>;
|
|
11245
|
-
readonly provenance: Schema.Struct<{
|
|
11246
|
-
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
11247
|
-
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11248
|
-
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11249
|
-
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11250
|
-
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11251
|
-
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11252
|
-
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11253
|
-
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11254
|
-
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11255
|
-
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11256
|
-
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11257
|
-
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11258
|
-
};
|
|
11259
|
-
readonly provider: Schema.String;
|
|
11260
|
-
readonly modelID: Schema.String;
|
|
11261
|
-
readonly route: Schema.String;
|
|
11262
|
-
readonly protocol: Schema.String;
|
|
11263
|
-
readonly endpoint: Schema.String;
|
|
11264
|
-
}>;
|
|
11265
|
-
readonly messages: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
11266
|
-
}>>, never, never>;
|
|
11267
10950
|
}>, Schema.Struct<{
|
|
11268
10951
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
11269
10952
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|