@opencode-ai/server 0.0.0-dev-18393 → 0.0.0-dev-18394

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.
@@ -84,7 +84,7 @@ export const SessionHandler = HttpApiBuilder.group(Api, "server.session", (handl
84
84
  data: yield* transfer.import({
85
85
  data: { info: ctx.payload.info, messages: ctx.payload.messages },
86
86
  location: ctx.payload.location ?? { directory: AbsolutePath.make(process.cwd()) }
87
- }).pipe(Effect.catchTag("SessionTransfer.ImportConflictError", (error) => new ConflictError({
87
+ }).pipe(Effect.catchTag("Session.NotFoundError", missingSession), Effect.catchTag("SessionTransfer.ImportConflictError", (error) => new ConflictError({
88
88
  message: `Session already exists: ${error.sessionID}`,
89
89
  resource: error.sessionID
90
90
  })))
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode-ai/server",
4
- "version": "0.0.0-dev-18393",
4
+ "version": "0.0.0-dev-18394",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -30,11 +30,11 @@
30
30
  "dependencies": {
31
31
  "@effect/platform-node": "4.0.0-rc.111",
32
32
  "@effect/platform-node-shared": "4.0.0-rc.111",
33
- "@opencode-ai/core": "0.0.0-dev-18393",
34
- "@opencode-ai/protocol": "0.0.0-dev-18393",
35
- "@opencode-ai/schema": "0.0.0-dev-18393",
36
- "@opencode-ai/simulation": "0.0.0-dev-18393",
37
- "@opencode-ai/util": "0.0.0-dev-18393",
33
+ "@opencode-ai/core": "0.0.0-dev-18394",
34
+ "@opencode-ai/protocol": "0.0.0-dev-18394",
35
+ "@opencode-ai/schema": "0.0.0-dev-18394",
36
+ "@opencode-ai/simulation": "0.0.0-dev-18394",
37
+ "@opencode-ai/util": "0.0.0-dev-18394",
38
38
  "drizzle-orm": "1.0.0-rc.5-169397b",
39
39
  "effect": "4.0.0-rc.111"
40
40
  },