@opencode-ai/sdk 0.0.0-dev-202605211712 → 0.0.0-dev-202605211757

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.
@@ -1387,6 +1387,11 @@ export type SubtaskPartInput = {
1387
1387
  };
1388
1388
  command?: string;
1389
1389
  };
1390
+ export type SessionBusyError = {
1391
+ _tag: "SessionBusyError";
1392
+ sessionID: string;
1393
+ message: string;
1394
+ };
1390
1395
  export type V2SessionsResponse = {
1391
1396
  items: Array<SessionInfo>;
1392
1397
  cursor: {
@@ -5346,6 +5351,10 @@ export type SessionDeleteMessageErrors = {
5346
5351
  * NotFoundError
5347
5352
  */
5348
5353
  404: NotFoundError;
5354
+ /**
5355
+ * SessionBusyError
5356
+ */
5357
+ 409: SessionBusyError;
5349
5358
  };
5350
5359
  export type SessionDeleteMessageError = SessionDeleteMessageErrors[keyof SessionDeleteMessageErrors];
5351
5360
  export type SessionDeleteMessageResponses = {
@@ -5695,6 +5704,10 @@ export type SessionShellErrors = {
5695
5704
  * NotFoundError
5696
5705
  */
5697
5706
  404: NotFoundError;
5707
+ /**
5708
+ * SessionBusyError
5709
+ */
5710
+ 409: SessionBusyError;
5698
5711
  };
5699
5712
  export type SessionShellError = SessionShellErrors[keyof SessionShellErrors];
5700
5713
  export type SessionShellResponses = {
@@ -5730,6 +5743,10 @@ export type SessionRevertErrors = {
5730
5743
  * NotFoundError
5731
5744
  */
5732
5745
  404: NotFoundError;
5746
+ /**
5747
+ * SessionBusyError
5748
+ */
5749
+ 409: SessionBusyError;
5733
5750
  };
5734
5751
  export type SessionRevertError = SessionRevertErrors[keyof SessionRevertErrors];
5735
5752
  export type SessionRevertResponses = {
@@ -5759,6 +5776,10 @@ export type SessionUnrevertErrors = {
5759
5776
  * NotFoundError
5760
5777
  */
5761
5778
  404: NotFoundError;
5779
+ /**
5780
+ * SessionBusyError
5781
+ */
5782
+ 409: SessionBusyError;
5762
5783
  };
5763
5784
  export type SessionUnrevertError = SessionUnrevertErrors[keyof SessionUnrevertErrors];
5764
5785
  export type SessionUnrevertResponses = {
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-dev-202605211712",
4
+ "version": "0.0.0-dev-202605211757",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "scripts": {