@opencode/server 0.0.0-dev-19600 → 0.0.0-dev-19601

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.
@@ -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.command,
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
- id: ctx.payload.id,
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-19600",
4
+ "version": "0.0.0-dev-19601",
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-19600",
34
- "@opencode/protocol": "0.0.0-dev-19600",
35
- "@opencode/schema": "0.0.0-dev-19600",
36
- "@opencode/simulation": "0.0.0-dev-19600",
37
- "@opencode/util": "0.0.0-dev-19600",
33
+ "@opencode/core": "0.0.0-dev-19601",
34
+ "@opencode/protocol": "0.0.0-dev-19601",
35
+ "@opencode/schema": "0.0.0-dev-19601",
36
+ "@opencode/simulation": "0.0.0-dev-19601",
37
+ "@opencode/util": "0.0.0-dev-19601",
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-19600",
43
- "@opencode/plugin": "0.0.0-dev-19600",
42
+ "@opencode/client": "0.0.0-dev-19601",
43
+ "@opencode/plugin": "0.0.0-dev-19601",
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"