@opencode-ai/sdk 0.0.0-next-15809 → 0.0.0-next-15811

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.
@@ -724,6 +724,8 @@ export type GlobalEvent = {
724
724
  error: SessionStructuredError;
725
725
  cost?: MoneyUsd;
726
726
  tokens?: TokenUsageInfo;
727
+ snapshot?: string;
728
+ files?: Array<string>;
727
729
  };
728
730
  } | {
729
731
  id: string;
@@ -3232,6 +3234,8 @@ export type SyncEventSessionStepFailed = {
3232
3234
  error: SessionStructuredError;
3233
3235
  cost?: MoneyUsd;
3234
3236
  tokens?: TokenUsageInfo;
3237
+ snapshot?: string;
3238
+ files?: Array<string>;
3235
3239
  };
3236
3240
  };
3237
3241
  };
@@ -4272,6 +4276,8 @@ export type SessionStepFailed = {
4272
4276
  error: SessionStructuredError;
4273
4277
  cost?: MoneyUsd;
4274
4278
  tokens?: TokenUsageInfo;
4279
+ snapshot?: string;
4280
+ files?: Array<string>;
4275
4281
  };
4276
4282
  };
4277
4283
  export type SessionTextStarted = {
@@ -6250,6 +6256,8 @@ export type EventSessionStepFailed = {
6250
6256
  error: SessionStructuredError;
6251
6257
  cost?: MoneyUsd;
6252
6258
  tokens?: TokenUsageInfo;
6259
+ snapshot?: string;
6260
+ files?: Array<string>;
6253
6261
  };
6254
6262
  };
6255
6263
  export type EventSessionTextStarted = {
@@ -8070,6 +8078,8 @@ export type SessionStepFailedV2 = {
8070
8078
  error: SessionStructuredError;
8071
8079
  cost?: MoneyUsd;
8072
8080
  tokens?: TokenUsageInfo;
8081
+ snapshot?: string;
8082
+ files?: Array<string>;
8073
8083
  };
8074
8084
  };
8075
8085
  export type SessionTextStartedV2 = {
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-15809",
4
+ "version": "0.0.0-next-15811",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "scripts": {