summaryrefslogtreecommitdiffhomepage
path: root/packages/sdk
diff options
context:
space:
mode:
Diffstat (limited to 'packages/sdk')
-rw-r--r--packages/sdk/js/package.json2
-rw-r--r--packages/sdk/js/src/gen/types.gen.ts9
2 files changed, 10 insertions, 1 deletions
diff --git a/packages/sdk/js/package.json b/packages/sdk/js/package.json
index 1b91cdcf5..e06660cdd 100644
--- a/packages/sdk/js/package.json
+++ b/packages/sdk/js/package.json
@@ -1,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@opencode-ai/sdk",
- "version": "0.9.9",
+ "version": "0.9.10",
"type": "module",
"scripts": {
"typecheck": "tsc --noEmit"
diff --git a/packages/sdk/js/src/gen/types.gen.ts b/packages/sdk/js/src/gen/types.gen.ts
index e0cf7cdfd..0a8513baa 100644
--- a/packages/sdk/js/src/gen/types.gen.ts
+++ b/packages/sdk/js/src/gen/types.gen.ts
@@ -649,6 +649,9 @@ export type TextPart = {
type: "text"
text: string
synthetic?: boolean
+ metadata?: {
+ [key: string]: unknown
+ }
time?: {
start: number
end?: number
@@ -773,6 +776,9 @@ export type ToolPart = {
callID: string
tool: string
state: ToolState
+ metadata?: {
+ [key: string]: unknown
+ }
}
export type StepStartPart = {
@@ -845,6 +851,9 @@ export type TextPartInput = {
type: "text"
text: string
synthetic?: boolean
+ metadata?: {
+ [key: string]: unknown
+ }
time?: {
start: number
end?: number