@opencode/server 0.0.0-dev-19600 → 0.0.0-dev-19602
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/handlers/session.js +2 -3
- package/package.json +8 -8
package/dist/handlers/session.js
CHANGED
|
@@ -155,7 +155,7 @@ export const SessionHandler = HttpApiBuilder.group(Api, "server.session", (handl
|
|
|
155
155
|
})).handle("session.command", Effect.fn(function* (ctx) {
|
|
156
156
|
yield* session.command({
|
|
157
157
|
sessionID: ctx.params.sessionID,
|
|
158
|
-
command: ctx.payload.
|
|
158
|
+
command: ctx.payload.name,
|
|
159
159
|
text: ctx.payload.text,
|
|
160
160
|
files: ctx.payload.files,
|
|
161
161
|
agents: ctx.payload.agents,
|
|
@@ -172,8 +172,7 @@ export const SessionHandler = HttpApiBuilder.group(Api, "server.session", (handl
|
|
|
172
172
|
})).handle("session.skill", Effect.fn(function* (ctx) {
|
|
173
173
|
yield* session.skill({
|
|
174
174
|
sessionID: ctx.params.sessionID,
|
|
175
|
-
|
|
176
|
-
skill: ctx.payload.skill,
|
|
175
|
+
skill: ctx.payload.id,
|
|
177
176
|
resume: ctx.payload.resume
|
|
178
177
|
}).pipe(Effect.catchTag("Session.NotFoundError", missingSession), Effect.catchTag("Session.SkillNotFoundError", (error) => Effect.fail(new SkillNotFoundError({ skill: error.skill, message: `Skill not found: ${error.skill}` }))));
|
|
179
178
|
return HttpApiSchema.NoContent.make();
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@opencode/server",
|
|
4
|
-
"version": "0.0.0-dev-
|
|
4
|
+
"version": "0.0.0-dev-19602",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -30,17 +30,17 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@effect/platform-node": "4.0.0-rc.112",
|
|
32
32
|
"@effect/platform-node-shared": "4.0.0-rc.112",
|
|
33
|
-
"@opencode/core": "0.0.0-dev-
|
|
34
|
-
"@opencode/protocol": "0.0.0-dev-
|
|
35
|
-
"@opencode/schema": "0.0.0-dev-
|
|
36
|
-
"@opencode/simulation": "0.0.0-dev-
|
|
37
|
-
"@opencode/util": "0.0.0-dev-
|
|
33
|
+
"@opencode/core": "0.0.0-dev-19602",
|
|
34
|
+
"@opencode/protocol": "0.0.0-dev-19602",
|
|
35
|
+
"@opencode/schema": "0.0.0-dev-19602",
|
|
36
|
+
"@opencode/simulation": "0.0.0-dev-19602",
|
|
37
|
+
"@opencode/util": "0.0.0-dev-19602",
|
|
38
38
|
"drizzle-orm": "1.0.0-rc.5-169397b",
|
|
39
39
|
"effect": "4.0.0-rc.112"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@opencode/client": "0.0.0-dev-
|
|
43
|
-
"@opencode/plugin": "0.0.0-dev-
|
|
42
|
+
"@opencode/client": "0.0.0-dev-19602",
|
|
43
|
+
"@opencode/plugin": "0.0.0-dev-19602",
|
|
44
44
|
"@tsconfig/bun": "1.0.9",
|
|
45
45
|
"@types/bun": "1.4.0",
|
|
46
46
|
"@typescript/native-preview": "7.0.0-dev.20251207.1"
|