summaryrefslogtreecommitdiffhomepage
path: root/packages/sdk
diff options
context:
space:
mode:
authoropencode <[email protected]>2025-09-26 05:56:03 +0000
committeropencode <[email protected]>2025-09-26 05:56:03 +0000
commit1c878c662b4cdf686d10dfff107702c6b43ce181 (patch)
treeb12920f961687d959d98218e7dd7867d29b5166e /packages/sdk
parent55d154d4ac71c164ba70c8bba2077791ddc435f2 (diff)
downloadopencode-1c878c662b4cdf686d10dfff107702c6b43ce181.tar.gz
opencode-1c878c662b4cdf686d10dfff107702c6b43ce181.zip
release: v0.11.4
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 18d8c9f3f..2146b9661 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.11.3",
+ "version": "0.11.4",
"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 3547e17f9..9baf2dcdb 100644
--- a/packages/sdk/js/src/gen/types.gen.ts
+++ b/packages/sdk/js/src/gen/types.gen.ts
@@ -631,6 +631,9 @@ export type TextPart = {
start: number
end?: number
}
+ metadata?: {
+ [key: string]: unknown
+ }
}
export type ReasoningPart = {
@@ -751,6 +754,9 @@ export type ToolPart = {
callID: string
tool: string
state: ToolState
+ metadata?: {
+ [key: string]: unknown
+ }
}
export type StepStartPart = {
@@ -827,6 +833,9 @@ export type TextPartInput = {
start: number
end?: number
}
+ metadata?: {
+ [key: string]: unknown
+ }
}
export type FilePartInput = {