@opencode/protocol 0.0.0-dev-1275 → 0.0.0-dev-1277
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/session.js +3 -1
- package/package.json +2 -2
package/dist/groups/session.js
CHANGED
|
@@ -116,7 +116,9 @@ export const makeSessionGroup = (sessionLocationMiddleware, formLocationMiddlewa
|
|
|
116
116
|
.add(HttpApiEndpoint.post("session.create", "/api/session", {
|
|
117
117
|
payload: Schema.Struct({
|
|
118
118
|
id: Session.ID.pipe(Schema.optional),
|
|
119
|
-
parentID: Session.ID.pipe(Schema.optional)
|
|
119
|
+
parentID: Session.ID.pipe(Schema.optional).annotate({
|
|
120
|
+
description: "Set parentID to create a subagent session at the parent's location; set agent to choose its agent (otherwise it uses the default) and start it with session.prompt. After each completed round, the child sends a `<subagent>` report to the parent's inbox and wakes the parent unless it has a staged revert.",
|
|
121
|
+
}),
|
|
120
122
|
title: Schema.String.pipe(Schema.optional),
|
|
121
123
|
agent: Agent.ID.pipe(Schema.optional),
|
|
122
124
|
model: Model.Ref.pipe(Schema.optional),
|
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-1277",
|
|
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-1277",
|
|
39
39
|
"effect": "4.1.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|