@opencode-ai/sdk 0.0.0-next-202606290031 → 0.0.0-next-202606290119

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.
@@ -2242,17 +2242,17 @@ export type ServiceUnavailableError = {
2242
2242
  message: string;
2243
2243
  service?: string;
2244
2244
  };
2245
+ export type UnknownError1 = {
2246
+ _tag: "UnknownError";
2247
+ message: string;
2248
+ ref?: string;
2249
+ };
2245
2250
  export type MessageNotFoundError = {
2246
2251
  _tag: "MessageNotFoundError";
2247
2252
  sessionID: string;
2248
2253
  messageID: string;
2249
2254
  message: string;
2250
2255
  };
2251
- export type UnknownError1 = {
2252
- _tag: "UnknownError";
2253
- message: string;
2254
- ref?: string;
2255
- };
2256
2256
  export type SessionDurableEvent = SessionNextAgentSwitched | SessionNextModelSwitched | SessionNextMoved | SessionNextRenamed | SessionNextPrompted | SessionNextPromptAdmitted | SessionNextContextUpdated | SessionNextSynthetic | SessionNextShellStarted | SessionNextShellEnded | SessionNextStepStarted | SessionNextStepEnded | SessionNextStepFailed | SessionNextTextStarted | SessionNextTextEnded | SessionNextToolInputStarted | SessionNextToolInputEnded | SessionNextToolCalled | SessionNextToolProgress | SessionNextToolSuccess | SessionNextToolFailed | SessionNextReasoningStarted | SessionNextReasoningEnded | SessionNextRetried | SessionNextCompactionStarted | SessionNextCompactionEnded | SessionNextRevertStaged | SessionNextRevertCleared | SessionNextRevertCommitted;
2257
2257
  export type SessionHistory = {
2258
2258
  data: Array<SessionDurableEvent>;
@@ -9998,6 +9998,14 @@ export type V2SessionCompactErrors = {
9998
9998
  * SessionNotFoundError
9999
9999
  */
10000
10000
  404: SessionNotFoundError;
10001
+ /**
10002
+ * SessionBusyError
10003
+ */
10004
+ 409: SessionBusyError;
10005
+ /**
10006
+ * UnknownError
10007
+ */
10008
+ 500: UnknownError1;
10001
10009
  /**
10002
10010
  * ServiceUnavailableError
10003
10011
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode-ai/sdk",
4
- "version": "0.0.0-next-202606290031",
4
+ "version": "0.0.0-next-202606290119",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "scripts": {