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

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.
@@ -476,7 +476,6 @@ export type Prompt = {
476
476
  text: string;
477
477
  files?: Array<PromptFileAttachment>;
478
478
  agents?: Array<PromptAgentAttachment>;
479
- system?: string;
480
479
  };
481
480
  export type Pty = {
482
481
  id: string;
@@ -2230,7 +2229,6 @@ export type PromptInput = {
2230
2229
  text: string;
2231
2230
  files?: Array<PromptInputFileAttachment>;
2232
2231
  agents?: Array<PromptAgentAttachment>;
2233
- system?: string;
2234
2232
  };
2235
2233
  export type ConflictError = {
2236
2234
  _tag: "ConflictError";
@@ -2242,17 +2240,17 @@ export type ServiceUnavailableError = {
2242
2240
  message: string;
2243
2241
  service?: string;
2244
2242
  };
2243
+ export type UnknownError1 = {
2244
+ _tag: "UnknownError";
2245
+ message: string;
2246
+ ref?: string;
2247
+ };
2245
2248
  export type MessageNotFoundError = {
2246
2249
  _tag: "MessageNotFoundError";
2247
2250
  sessionID: string;
2248
2251
  messageID: string;
2249
2252
  message: string;
2250
2253
  };
2251
- export type UnknownError1 = {
2252
- _tag: "UnknownError";
2253
- message: string;
2254
- ref?: string;
2255
- };
2256
2254
  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
2255
  export type SessionHistory = {
2258
2256
  data: Array<SessionDurableEvent>;
@@ -3276,7 +3274,6 @@ export type SessionMessageUser = {
3276
3274
  text: string;
3277
3275
  files?: Array<PromptFileAttachment>;
3278
3276
  agents?: Array<PromptAgentAttachment>;
3279
- system?: string;
3280
3277
  type: "user";
3281
3278
  };
3282
3279
  export type SessionMessageSynthetic = {
@@ -9998,6 +9995,14 @@ export type V2SessionCompactErrors = {
9998
9995
  * SessionNotFoundError
9999
9996
  */
10000
9997
  404: SessionNotFoundError;
9998
+ /**
9999
+ * SessionBusyError
10000
+ */
10001
+ 409: SessionBusyError;
10002
+ /**
10003
+ * UnknownError
10004
+ */
10005
+ 500: UnknownError1;
10001
10006
  /**
10002
10007
  * ServiceUnavailableError
10003
10008
  */
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-202606290157",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "scripts": {