@opencode-ai/sdk 0.11.3 → 0.11.4
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 +9 -0
- package/package.json +1 -1
package/dist/gen/types.gen.d.ts
CHANGED
|
@@ -593,6 +593,9 @@ export type TextPart = {
|
|
|
593
593
|
start: number;
|
|
594
594
|
end?: number;
|
|
595
595
|
};
|
|
596
|
+
metadata?: {
|
|
597
|
+
[key: string]: unknown;
|
|
598
|
+
};
|
|
596
599
|
};
|
|
597
600
|
export type ReasoningPart = {
|
|
598
601
|
id: string;
|
|
@@ -700,6 +703,9 @@ export type ToolPart = {
|
|
|
700
703
|
callID: string;
|
|
701
704
|
tool: string;
|
|
702
705
|
state: ToolState;
|
|
706
|
+
metadata?: {
|
|
707
|
+
[key: string]: unknown;
|
|
708
|
+
};
|
|
703
709
|
};
|
|
704
710
|
export type StepStartPart = {
|
|
705
711
|
id: string;
|
|
@@ -760,6 +766,9 @@ export type TextPartInput = {
|
|
|
760
766
|
start: number;
|
|
761
767
|
end?: number;
|
|
762
768
|
};
|
|
769
|
+
metadata?: {
|
|
770
|
+
[key: string]: unknown;
|
|
771
|
+
};
|
|
763
772
|
};
|
|
764
773
|
export type FilePartInput = {
|
|
765
774
|
id?: string;
|