@opencode-ai/protocol 0.0.0-dev-18474 → 0.0.0-dev-18483

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.
@@ -16,7 +16,13 @@ export declare const ModelGroup: HttpApiGroup.HttpApiGroup<"server.model", HttpA
16
16
  readonly input: Schema.$Array<Schema.String>;
17
17
  readonly output: Schema.$Array<Schema.String>;
18
18
  readonly responsesWebsockets: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
19
- }>;
19
+ }> & {
20
+ default: () => {
21
+ tools: true;
22
+ input: string[];
23
+ output: string[];
24
+ };
25
+ };
20
26
  readonly variants: Schema.$Array<Schema.Struct<{
21
27
  readonly settings: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Any>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Any>>, never, never>;
22
28
  readonly headers: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.String>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>, never, never>;
@@ -127,7 +133,13 @@ export declare const ModelGroup: HttpApiGroup.HttpApiGroup<"server.model", HttpA
127
133
  readonly input: Schema.$Array<Schema.String>;
128
134
  readonly output: Schema.$Array<Schema.String>;
129
135
  readonly responsesWebsockets: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
130
- }>;
136
+ }> & {
137
+ default: () => {
138
+ tools: true;
139
+ input: string[];
140
+ output: string[];
141
+ };
142
+ };
131
143
  readonly variants: Schema.$Array<Schema.Struct<{
132
144
  readonly settings: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Any>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Any>>, never, never>;
133
145
  readonly headers: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.String>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>, never, never>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode-ai/protocol",
4
- "version": "0.0.0-dev-18474",
4
+ "version": "0.0.0-dev-18483",
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-ai/schema": "0.0.0-dev-18474",
35
+ "@opencode-ai/schema": "0.0.0-dev-18483",
36
36
  "effect": "4.0.0-rc.111"
37
37
  },
38
38
  "devDependencies": {