@opencode-ai/sdk 0.15.16 → 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.
- package/dist/gen/types.gen.d.ts +4 -5
- package/package.json +1 -1
package/dist/gen/types.gen.d.ts
CHANGED
|
@@ -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: {
|