@opencode-ai/protocol 0.0.0-next-14993 → 0.0.0-next-14997

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.
@@ -192,7 +192,7 @@ export const makeSessionGroup = (sessionLocationMiddleware) => HttpApiGroup.make
192
192
  resume: Schema.Boolean.pipe(Schema.optional),
193
193
  }),
194
194
  success: Schema.Struct({ data: SessionInput.Admitted }),
195
- error: [ConflictError, SessionNotFoundError],
195
+ error: [ConflictError, InvalidRequestError, SessionNotFoundError],
196
196
  })
197
197
  .middleware(sessionLocationMiddleware)
198
198
  .annotateMerge(OpenApi.annotations({
@@ -214,7 +214,13 @@ export const makeSessionGroup = (sessionLocationMiddleware) => HttpApiGroup.make
214
214
  resume: Schema.Boolean.pipe(Schema.optional),
215
215
  }),
216
216
  success: Schema.Struct({ data: SessionInput.Admitted }),
217
- error: [ConflictError, SessionNotFoundError, CommandNotFoundError, CommandEvaluationError],
217
+ error: [
218
+ ConflictError,
219
+ InvalidRequestError,
220
+ SessionNotFoundError,
221
+ CommandNotFoundError,
222
+ CommandEvaluationError,
223
+ ],
218
224
  })
219
225
  .middleware(sessionLocationMiddleware)
220
226
  .annotateMerge(OpenApi.annotations({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode-ai/protocol",
4
- "version": "0.0.0-next-14993",
4
+ "version": "0.0.0-next-14997",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -26,7 +26,7 @@
26
26
  "typecheck": "tsgo --noEmit"
27
27
  },
28
28
  "dependencies": {
29
- "@opencode-ai/schema": "0.0.0-next-14993",
29
+ "@opencode-ai/schema": "0.0.0-next-14997",
30
30
  "effect": "4.0.0-beta.83"
31
31
  },
32
32
  "devDependencies": {