The open source coding agent.
TypeScript
chore: generate
GitHub Action23e9c02a7fd8
diff --git a/packages/sdk/openapi.json b/packages/sdk/openapi.jsonindex 104cedce1e5..08dd98fd9bc 100644--- a/packages/sdk/openapi.json+++ b/packages/sdk/openapi.json@@ -920,6 +920,110 @@"source": "import { createOpencodeClient } from \"@opencode-ai/sdk\n\nconst client = createOpencodeClient()\nawait client.worktree.list({\n ...\n})"}]+ },+ "delete": {+ "operationId": "worktree.remove",+ "parameters": [+ {+ "in": "query",+ "name": "directory",+ "schema": {+ "type": "string"+ }+ }+ ],+ "summary": "Remove worktree",+ "description": "Remove a git worktree and delete its branch.",+ "responses": {+ "200": {+ "description": "Worktree removed",+ "content": {+ "application/json": {+ "schema": {+ "type": "boolean"+ }+ }+ }+ },+ "400": {+ "description": "Bad request",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/BadRequestError"+ }+ }+ }+ }+ },+ "requestBody": {+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/WorktreeRemoveInput"+ }+ }+ }+ },+ "x-codeSamples": [+ {+ "lang": "js",+ "source": "import { createOpencodeClient } from \"@opencode-ai/sdk\n\nconst client = createOpencodeClient()\nawait client.worktree.remove({\n ...\n})"+ }+ ]+ }+ },+ "/experimental/worktree/reset": {+ "post": {+ "operationId": "worktree.reset",+ "parameters": [+ {+ "in": "query",+ "name": "directory",+ "schema": {+ "type": "string"+ }+ }+ ],+ "summary": "Reset worktree",+ "description": "Reset a worktree branch to the primary default branch.",+ "responses": {+ "200": {+ "description": "Worktree reset",+ "content": {+ "application/json": {+ "schema": {+ "type": "boolean"+ }+ }+ }+ },+ "400": {+ "description": "Bad request",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/BadRequestError"+ }+ }+ }+ }+ },+ "requestBody": {+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/WorktreeResetInput"+ }+ }+ }+ },+ "x-codeSamples": [+ {+ "lang": "js",+ "source": "import { createOpencodeClient } from \"@opencode-ai/sdk\n\nconst client = createOpencodeClient()\nawait client.worktree.reset({\n ...\n})"+ }+ ]}},"/experimental/resource": {@@ -9988,6 +10092,24 @@}}},+ "WorktreeRemoveInput": {+ "type": "object",+ "properties": {+ "directory": {+ "type": "string"+ }+ },+ "required": ["directory"]+ },+ "WorktreeResetInput": {+ "type": "object",+ "properties": {+ "directory": {+ "type": "string"+ }+ },+ "required": ["directory"]+ },"McpResource": {"type": "object","properties": {