@opencode-ai/sdk 0.15.15 → 0.15.17

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.
@@ -568,8 +568,9 @@ export type UserMessage = {
568
568
  created: number;
569
569
  };
570
570
  summary?: {
571
+ title?: string;
572
+ body?: string;
571
573
  diffs: Array<FileDiff>;
572
- text: string;
573
574
  };
574
575
  };
575
576
  export type ProviderAuthError = {
@@ -778,6 +779,7 @@ export type StepFinishPart = {
778
779
  sessionID: string;
779
780
  messageID: string;
780
781
  type: "step-finish";
782
+ reason: string;
781
783
  snapshot?: string;
782
784
  cost: number;
783
785
  tokens: {
@@ -1023,6 +1025,7 @@ export type EventMessagePartUpdated = {
1023
1025
  type: "message.part.updated";
1024
1026
  properties: {
1025
1027
  part: Part;
1028
+ delta?: string;
1026
1029
  };
1027
1030
  };
1028
1031
  export type EventMessagePartRemoved = {
@@ -1673,10 +1676,6 @@ export type SessionPromptData = {
1673
1676
  tools?: {
1674
1677
  [key: string]: boolean;
1675
1678
  };
1676
- acpConnection?: {
1677
- connection: unknown;
1678
- sessionId: string;
1679
- };
1680
1679
  parts: Array<TextPartInput | FilePartInput | AgentPartInput>;
1681
1680
  };
1682
1681
  path: {
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.15.15",
4
+ "version": "0.15.17",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "typecheck": "tsgo --noEmit",