@opencode/protocol 2.4.0 → 2.4.1
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 +42 -0
- package/package.json +2 -2
package/dist/groups/model.d.ts
CHANGED
|
@@ -187,6 +187,27 @@ export declare const ModelGroup: HttpApiGroup.HttpApiGroup<"server.model", HttpA
|
|
|
187
187
|
readonly encoding: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["zstd", "gzip", "none"]>>>, Schema.optionalKey<Schema.Literals<readonly ["zstd", "gzip", "none"]>>, never, never>;
|
|
188
188
|
}>, readonly [Schema.$Record<Schema.String, Schema.Any>]>>, never, never>;
|
|
189
189
|
}>>;
|
|
190
|
+
readonly experimental: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
191
|
+
readonly speed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
192
|
+
readonly base: Schema.brand<Schema.String, "Model.ID">;
|
|
193
|
+
readonly id: Schema.String;
|
|
194
|
+
readonly faster: Schema.Boolean;
|
|
195
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
196
|
+
readonly base: Schema.brand<Schema.String, "Model.ID">;
|
|
197
|
+
readonly id: Schema.String;
|
|
198
|
+
readonly faster: Schema.Boolean;
|
|
199
|
+
}>>, never, never>;
|
|
200
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
201
|
+
readonly speed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
202
|
+
readonly base: Schema.brand<Schema.String, "Model.ID">;
|
|
203
|
+
readonly id: Schema.String;
|
|
204
|
+
readonly faster: Schema.Boolean;
|
|
205
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
206
|
+
readonly base: Schema.brand<Schema.String, "Model.ID">;
|
|
207
|
+
readonly id: Schema.String;
|
|
208
|
+
readonly faster: Schema.Boolean;
|
|
209
|
+
}>>, never, never>;
|
|
210
|
+
}>>, never, never>;
|
|
190
211
|
readonly time: Schema.Struct<{
|
|
191
212
|
readonly released: Schema.Finite;
|
|
192
213
|
}>;
|
|
@@ -430,6 +451,27 @@ export declare const ModelGroup: HttpApiGroup.HttpApiGroup<"server.model", HttpA
|
|
|
430
451
|
readonly encoding: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["zstd", "gzip", "none"]>>>, Schema.optionalKey<Schema.Literals<readonly ["zstd", "gzip", "none"]>>, never, never>;
|
|
431
452
|
}>, readonly [Schema.$Record<Schema.String, Schema.Any>]>>, never, never>;
|
|
432
453
|
}>>;
|
|
454
|
+
readonly experimental: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
455
|
+
readonly speed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
456
|
+
readonly base: Schema.brand<Schema.String, "Model.ID">;
|
|
457
|
+
readonly id: Schema.String;
|
|
458
|
+
readonly faster: Schema.Boolean;
|
|
459
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
460
|
+
readonly base: Schema.brand<Schema.String, "Model.ID">;
|
|
461
|
+
readonly id: Schema.String;
|
|
462
|
+
readonly faster: Schema.Boolean;
|
|
463
|
+
}>>, never, never>;
|
|
464
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
465
|
+
readonly speed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
466
|
+
readonly base: Schema.brand<Schema.String, "Model.ID">;
|
|
467
|
+
readonly id: Schema.String;
|
|
468
|
+
readonly faster: Schema.Boolean;
|
|
469
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
470
|
+
readonly base: Schema.brand<Schema.String, "Model.ID">;
|
|
471
|
+
readonly id: Schema.String;
|
|
472
|
+
readonly faster: Schema.Boolean;
|
|
473
|
+
}>>, never, never>;
|
|
474
|
+
}>>, never, never>;
|
|
433
475
|
readonly time: Schema.Struct<{
|
|
434
476
|
readonly released: Schema.Finite;
|
|
435
477
|
}>;
|
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": "2.4.
|
|
4
|
+
"version": "2.4.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"typecheck:tsc": "tsc --noEmit"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@opencode/schema": "2.4.
|
|
38
|
+
"@opencode/schema": "2.4.1",
|
|
39
39
|
"effect": "4.1.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|