@opencode/protocol 2.0.29 → 2.0.31
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/event.d.ts +4 -4
- package/dist/groups/model.d.ts +2 -0
- package/package.json +2 -2
package/dist/groups/event.d.ts
CHANGED
|
@@ -6112,14 +6112,14 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
6112
6112
|
}>, never, never>;
|
|
6113
6113
|
}>>, never, never>;
|
|
6114
6114
|
readonly data: Schema.Struct<{
|
|
6115
|
-
readonly command: Schema.Union<readonly [Schema.Literals<readonly ["session.list", "session.new", "session.
|
|
6115
|
+
readonly command: Schema.Union<readonly [Schema.Literals<readonly ["session.list", "session.new", "session.interrupt", "session.background", "session.compact", "session.page.up", "session.page.down", "session.line.up", "session.line.down", "session.half.page.up", "session.half.page.down", "session.first", "session.last", "prompt.clear", "prompt.submit", "agent.cycle"]>, Schema.String]>;
|
|
6116
6116
|
}>;
|
|
6117
6117
|
}> & {
|
|
6118
6118
|
type: "tui.command.execute";
|
|
6119
6119
|
durability: "ephemeral";
|
|
6120
6120
|
durable: undefined;
|
|
6121
6121
|
data: Schema.Struct<{
|
|
6122
|
-
readonly command: Schema.Union<readonly [Schema.Literals<readonly ["session.list", "session.new", "session.
|
|
6122
|
+
readonly command: Schema.Union<readonly [Schema.Literals<readonly ["session.list", "session.new", "session.interrupt", "session.background", "session.compact", "session.page.up", "session.page.down", "session.line.up", "session.line.down", "session.half.page.up", "session.half.page.down", "session.first", "session.last", "prompt.clear", "prompt.submit", "agent.cycle"]>, Schema.String]>;
|
|
6123
6123
|
}>;
|
|
6124
6124
|
}, Schema.Struct<{
|
|
6125
6125
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -14749,14 +14749,14 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
14749
14749
|
}>, never, never>;
|
|
14750
14750
|
}>>, never, never>;
|
|
14751
14751
|
readonly data: Schema.Struct<{
|
|
14752
|
-
readonly command: Schema.Union<readonly [Schema.Literals<readonly ["session.list", "session.new", "session.
|
|
14752
|
+
readonly command: Schema.Union<readonly [Schema.Literals<readonly ["session.list", "session.new", "session.interrupt", "session.background", "session.compact", "session.page.up", "session.page.down", "session.line.up", "session.line.down", "session.half.page.up", "session.half.page.down", "session.first", "session.last", "prompt.clear", "prompt.submit", "agent.cycle"]>, Schema.String]>;
|
|
14753
14753
|
}>;
|
|
14754
14754
|
}> & {
|
|
14755
14755
|
type: "tui.command.execute";
|
|
14756
14756
|
durability: "ephemeral";
|
|
14757
14757
|
durable: undefined;
|
|
14758
14758
|
data: Schema.Struct<{
|
|
14759
|
-
readonly command: Schema.Union<readonly [Schema.Literals<readonly ["session.list", "session.new", "session.
|
|
14759
|
+
readonly command: Schema.Union<readonly [Schema.Literals<readonly ["session.list", "session.new", "session.interrupt", "session.background", "session.compact", "session.page.up", "session.page.down", "session.line.up", "session.line.down", "session.half.page.up", "session.half.page.down", "session.first", "session.last", "prompt.clear", "prompt.submit", "agent.cycle"]>, Schema.String]>;
|
|
14760
14760
|
}>;
|
|
14761
14761
|
}, Schema.Struct<{
|
|
14762
14762
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
package/dist/groups/model.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ 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 temperature: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
18
19
|
}> & {
|
|
19
20
|
default: () => {
|
|
20
21
|
tools: true;
|
|
@@ -209,6 +210,7 @@ export declare const ModelGroup: HttpApiGroup.HttpApiGroup<"server.model", HttpA
|
|
|
209
210
|
readonly tools: Schema.Boolean;
|
|
210
211
|
readonly input: Schema.$Array<Schema.String>;
|
|
211
212
|
readonly output: Schema.$Array<Schema.String>;
|
|
213
|
+
readonly temperature: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
212
214
|
}> & {
|
|
213
215
|
default: () => {
|
|
214
216
|
tools: true;
|
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.0.
|
|
4
|
+
"version": "2.0.31",
|
|
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": "2.0.
|
|
35
|
+
"@opencode/schema": "2.0.31",
|
|
36
36
|
"effect": "4.0.1"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|