summaryrefslogtreecommitdiffhomepage
path: root/packages
diff options
context:
space:
mode:
authoropencode <[email protected]>2025-09-18 20:51:03 +0000
committeropencode <[email protected]>2025-09-18 20:51:03 +0000
commit5a7a7257873b1ade284dc80086ce1f132644a7e4 (patch)
tree46406a4c354e4d6b35da826db7567a25791bfdf4 /packages
parentf277512938dc926b111ffe16f10e332a276e017e (diff)
downloadopencode-5a7a7257873b1ade284dc80086ce1f132644a7e4.tar.gz
opencode-5a7a7257873b1ade284dc80086ce1f132644a7e4.zip
release: v0.10.0
Diffstat (limited to 'packages')
-rw-r--r--packages/app/package.json2
-rw-r--r--packages/console/app/package.json2
-rw-r--r--packages/console/core/package.json2
-rw-r--r--packages/console/function/package.json2
-rw-r--r--packages/console/scripts/package.json2
-rw-r--r--packages/function/package.json2
-rw-r--r--packages/opencode/package.json2
-rw-r--r--packages/plugin/package.json2
-rw-r--r--packages/sdk/js/package.json2
-rw-r--r--packages/sdk/js/src/gen/sdk.gen.ts17
-rw-r--r--packages/sdk/js/src/gen/types.gen.ts53
-rw-r--r--packages/web/package.json2
12 files changed, 12 insertions, 78 deletions
diff --git a/packages/app/package.json b/packages/app/package.json
index 9c6b57dc7..2a7459197 100644
--- a/packages/app/package.json
+++ b/packages/app/package.json
@@ -1,6 +1,6 @@
{
"name": "@opencode/app",
- "version": "0.9.11",
+ "version": "0.10.0",
"description": "",
"type": "module",
"scripts": {
diff --git a/packages/console/app/package.json b/packages/console/app/package.json
index 2a9d9a98b..272273d28 100644
--- a/packages/console/app/package.json
+++ b/packages/console/app/package.json
@@ -7,7 +7,7 @@
"dev:remote": "VITE_AUTH_URL=https://auth.dev.opencode.ai bun sst shell --stage=dev bun dev",
"build": "vinxi build && ../../opencode/script/schema.ts ./.output/public/config.json",
"start": "vinxi start",
- "version": "0.9.11"
+ "version": "0.10.0"
},
"dependencies": {
"@ibm/plex": "6.4.1",
diff --git a/packages/console/core/package.json b/packages/console/core/package.json
index e54dd4b0a..c450d92cd 100644
--- a/packages/console/core/package.json
+++ b/packages/console/core/package.json
@@ -1,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@opencode/console-core",
- "version": "0.9.11",
+ "version": "0.10.0",
"private": true,
"type": "module",
"dependencies": {
diff --git a/packages/console/function/package.json b/packages/console/function/package.json
index 4ced6510b..73b7ebcec 100644
--- a/packages/console/function/package.json
+++ b/packages/console/function/package.json
@@ -1,6 +1,6 @@
{
"name": "@opencode/console-function",
- "version": "0.9.11",
+ "version": "0.10.0",
"$schema": "https://json.schemastore.org/package.json",
"private": true,
"type": "module",
diff --git a/packages/console/scripts/package.json b/packages/console/scripts/package.json
index 06795ee15..6db3925bc 100644
--- a/packages/console/scripts/package.json
+++ b/packages/console/scripts/package.json
@@ -1,6 +1,6 @@
{
"name": "@opencode/console-scripts",
- "version": "0.9.11",
+ "version": "0.10.0",
"$schema": "https://json.schemastore.org/package.json",
"private": true,
"type": "module",
diff --git a/packages/function/package.json b/packages/function/package.json
index fd3ec895c..84171e2b5 100644
--- a/packages/function/package.json
+++ b/packages/function/package.json
@@ -1,6 +1,6 @@
{
"name": "@opencode/function",
- "version": "0.9.11",
+ "version": "0.10.0",
"$schema": "https://json.schemastore.org/package.json",
"private": true,
"type": "module",
diff --git a/packages/opencode/package.json b/packages/opencode/package.json
index 76bd05316..741908ab2 100644
--- a/packages/opencode/package.json
+++ b/packages/opencode/package.json
@@ -1,6 +1,6 @@
{
"$schema": "https://json.schemastore.org/package.json",
- "version": "0.9.11",
+ "version": "0.10.0",
"name": "opencode",
"type": "module",
"private": true,
diff --git a/packages/plugin/package.json b/packages/plugin/package.json
index 1fc45014f..277b611ae 100644
--- a/packages/plugin/package.json
+++ b/packages/plugin/package.json
@@ -1,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@opencode-ai/plugin",
- "version": "0.9.11",
+ "version": "0.10.0",
"type": "module",
"scripts": {
"typecheck": "tsc --noEmit"
diff --git a/packages/sdk/js/package.json b/packages/sdk/js/package.json
index dbb19a17f..13b20b80e 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.11",
+ "version": "0.10.0",
"type": "module",
"scripts": {
"typecheck": "tsc --noEmit"
diff --git a/packages/sdk/js/src/gen/sdk.gen.ts b/packages/sdk/js/src/gen/sdk.gen.ts
index 9d5ee2e80..b6dfcb8f6 100644
--- a/packages/sdk/js/src/gen/sdk.gen.ts
+++ b/packages/sdk/js/src/gen/sdk.gen.ts
@@ -8,9 +8,6 @@ import type {
ProjectCurrentResponses,
ConfigGetData,
ConfigGetResponses,
- ToolRegisterData,
- ToolRegisterResponses,
- ToolRegisterErrors,
ToolIdsData,
ToolIdsResponses,
ToolIdsErrors,
@@ -177,20 +174,6 @@ class Config extends _HeyApiClient {
class Tool extends _HeyApiClient {
/**
- * Register a new HTTP callback tool
- */
- public register<ThrowOnError extends boolean = false>(options?: Options<ToolRegisterData, ThrowOnError>) {
- return (options?.client ?? this._client).post<ToolRegisterResponses, ToolRegisterErrors, ThrowOnError>({
- url: "/experimental/tool/register",
- ...options,
- headers: {
- "Content-Type": "application/json",
- ...options?.headers,
- },
- })
- }
-
- /**
* List all tool IDs (including built-in and dynamically registered)
*/
public ids<ThrowOnError extends boolean = false>(options?: Options<ToolIdsData, ThrowOnError>) {
diff --git a/packages/sdk/js/src/gen/types.gen.ts b/packages/sdk/js/src/gen/types.gen.ts
index e0cf7cdfd..8cfd14b8c 100644
--- a/packages/sdk/js/src/gen/types.gen.ts
+++ b/packages/sdk/js/src/gen/types.gen.ts
@@ -504,36 +504,14 @@ export type Config = {
}
}
+export type ToolIds = Array<string>
+
export type _Error = {
data: {
[key: string]: unknown
}
}
-export type HttpParamSpec = {
- type: "string" | "number" | "boolean" | "array"
- description?: string
- optional?: boolean
- items?: "string" | "number" | "boolean"
-}
-
-export type HttpToolRegistration = {
- id: string
- description: string
- parameters: {
- type: "object"
- properties: {
- [key: string]: HttpParamSpec
- }
- }
- callbackUrl: string
- headers?: {
- [key: string]: string
- }
-}
-
-export type ToolIds = Array<string>
-
export type ToolListItem = {
id: string
description: string
@@ -1222,33 +1200,6 @@ export type ConfigGetResponses = {
export type ConfigGetResponse = ConfigGetResponses[keyof ConfigGetResponses]
-export type ToolRegisterData = {
- body?: HttpToolRegistration
- path?: never
- query?: {
- directory?: string
- }
- url: "/experimental/tool/register"
-}
-
-export type ToolRegisterErrors = {
- /**
- * Bad request
- */
- 400: _Error
-}
-
-export type ToolRegisterError = ToolRegisterErrors[keyof ToolRegisterErrors]
-
-export type ToolRegisterResponses = {
- /**
- * Tool registered successfully
- */
- 200: boolean
-}
-
-export type ToolRegisterResponse = ToolRegisterResponses[keyof ToolRegisterResponses]
-
export type ToolIdsData = {
body?: never
path?: never
diff --git a/packages/web/package.json b/packages/web/package.json
index 78f0e0e38..73c84adc4 100644
--- a/packages/web/package.json
+++ b/packages/web/package.json
@@ -1,7 +1,7 @@
{
"name": "@opencode/web",
"type": "module",
- "version": "0.9.11",
+ "version": "0.10.0",
"scripts": {
"dev": "astro dev",
"dev:remote": "VITE_API_URL=https://api.opencode.ai astro dev",