@opencode/protocol 0.0.0-dev-19634 → 0.0.0-dev-19635
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/model.d.ts
CHANGED
|
@@ -15,7 +15,6 @@ export declare const ModelGroup: HttpApiGroup.HttpApiGroup<"server.model", HttpA
|
|
|
15
15
|
readonly tools: Schema.Boolean;
|
|
16
16
|
readonly input: Schema.$Array<Schema.String>;
|
|
17
17
|
readonly output: Schema.$Array<Schema.String>;
|
|
18
|
-
readonly responsesWebsockets: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
19
18
|
}> & {
|
|
20
19
|
default: () => {
|
|
21
20
|
tools: true;
|
|
@@ -132,7 +131,7 @@ export declare const ModelGroup: HttpApiGroup.HttpApiGroup<"server.model", HttpA
|
|
|
132
131
|
readonly mode: Schema.Literal<"provider">;
|
|
133
132
|
readonly threshold: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
134
133
|
}>]>>, never, never>;
|
|
135
|
-
readonly
|
|
134
|
+
readonly transport: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["http", "websocket"]>>>, Schema.optionalKey<Schema.Literals<readonly ["http", "websocket"]>>, never, never>;
|
|
136
135
|
}> & {
|
|
137
136
|
default: (providerID: import("@opencode/schema/provider").ID, id: Model.ID) => {
|
|
138
137
|
id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
@@ -170,7 +169,6 @@ export declare const ModelGroup: HttpApiGroup.HttpApiGroup<"server.model", HttpA
|
|
|
170
169
|
readonly tools: Schema.Boolean;
|
|
171
170
|
readonly input: Schema.$Array<Schema.String>;
|
|
172
171
|
readonly output: Schema.$Array<Schema.String>;
|
|
173
|
-
readonly responsesWebsockets: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
174
172
|
}> & {
|
|
175
173
|
default: () => {
|
|
176
174
|
tools: true;
|
|
@@ -287,7 +285,7 @@ export declare const ModelGroup: HttpApiGroup.HttpApiGroup<"server.model", HttpA
|
|
|
287
285
|
readonly mode: Schema.Literal<"provider">;
|
|
288
286
|
readonly threshold: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
289
287
|
}>]>>, never, never>;
|
|
290
|
-
readonly
|
|
288
|
+
readonly transport: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["http", "websocket"]>>>, Schema.optionalKey<Schema.Literals<readonly ["http", "websocket"]>>, never, never>;
|
|
291
289
|
}> & {
|
|
292
290
|
default: (providerID: import("@opencode/schema/provider").ID, id: Model.ID) => {
|
|
293
291
|
id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
@@ -67,7 +67,7 @@ export declare const ProviderGroup: HttpApiGroup.HttpApiGroup<"server.provider",
|
|
|
67
67
|
readonly mode: Schema.Literal<"provider">;
|
|
68
68
|
readonly threshold: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
69
69
|
}>]>>, never, never>;
|
|
70
|
-
readonly
|
|
70
|
+
readonly transport: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["http", "websocket"]>>>, Schema.optionalKey<Schema.Literals<readonly ["http", "websocket"]>>, never, never>;
|
|
71
71
|
}> & {
|
|
72
72
|
empty: (id: Provider.ID) => Provider.Info;
|
|
73
73
|
}>;
|
|
@@ -150,7 +150,7 @@ export declare const ProviderGroup: HttpApiGroup.HttpApiGroup<"server.provider",
|
|
|
150
150
|
readonly mode: Schema.Literal<"provider">;
|
|
151
151
|
readonly threshold: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
152
152
|
}>]>>, never, never>;
|
|
153
|
-
readonly
|
|
153
|
+
readonly transport: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["http", "websocket"]>>>, Schema.optionalKey<Schema.Literals<readonly ["http", "websocket"]>>, never, never>;
|
|
154
154
|
}> & {
|
|
155
155
|
empty: (id: Provider.ID) => Provider.Info;
|
|
156
156
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@opencode/protocol",
|
|
4
|
-
"version": "0.0.0-dev-
|
|
4
|
+
"version": "0.0.0-dev-19635",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"typecheck": "tsgo --noEmit"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@opencode/schema": "0.0.0-dev-
|
|
35
|
+
"@opencode/schema": "0.0.0-dev-19635",
|
|
36
36
|
"effect": "4.0.0-rc.112"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|