@opencode-ai/sdk 0.11.2 → 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.
@@ -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;
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.11.2",
4
+ "version": "0.11.4",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "typecheck": "tsc --noEmit",