@opencode/protocol 0.0.0-dev-1343 → 0.0.0-dev-1345
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/agent.d.ts +14 -0
- package/package.json +2 -2
package/dist/groups/agent.d.ts
CHANGED
|
@@ -111,6 +111,13 @@ export declare const AgentGroup: HttpApiGroup.HttpApiGroup<"server.agent", HttpA
|
|
|
111
111
|
readonly body: Schema.$Record<Schema.String, Schema.Any>;
|
|
112
112
|
}>;
|
|
113
113
|
readonly system: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
114
|
+
readonly instructions: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
115
|
+
readonly selected: Schema.String;
|
|
116
|
+
readonly unselected: Schema.String;
|
|
117
|
+
}>]>>>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
118
|
+
readonly selected: Schema.String;
|
|
119
|
+
readonly unselected: Schema.String;
|
|
120
|
+
}>]>>, never, never>;
|
|
114
121
|
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
115
122
|
readonly mode: Schema.Literals<readonly ["subagent", "primary", "all"]>;
|
|
116
123
|
readonly hidden: Schema.Boolean;
|
|
@@ -250,6 +257,13 @@ export declare const AgentGroup: HttpApiGroup.HttpApiGroup<"server.agent", HttpA
|
|
|
250
257
|
readonly body: Schema.$Record<Schema.String, Schema.Any>;
|
|
251
258
|
}>;
|
|
252
259
|
readonly system: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
260
|
+
readonly instructions: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
261
|
+
readonly selected: Schema.String;
|
|
262
|
+
readonly unselected: Schema.String;
|
|
263
|
+
}>]>>>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
264
|
+
readonly selected: Schema.String;
|
|
265
|
+
readonly unselected: Schema.String;
|
|
266
|
+
}>]>>, never, never>;
|
|
253
267
|
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
254
268
|
readonly mode: Schema.Literals<readonly ["subagent", "primary", "all"]>;
|
|
255
269
|
readonly hidden: Schema.Boolean;
|
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-1345",
|
|
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": "0.0.0-dev-
|
|
38
|
+
"@opencode/schema": "0.0.0-dev-1345",
|
|
39
39
|
"effect": "4.1.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|