summaryrefslogtreecommitdiffhomepage
path: root/packages/sdk/openapi.json
diff options
context:
space:
mode:
authoropencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>2026-03-26 14:16:07 +0000
committeropencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>2026-03-26 14:16:07 +0000
commit1d363fa19fe9c1445f635498da48211bf09cbc97 (patch)
treeb5025081446ace7706820374e00b76db58e4a5b0 /packages/sdk/openapi.json
parent1b028d0632c78a9061d8c235e329313b8f41646f (diff)
downloadopencode-1d363fa19fe9c1445f635498da48211bf09cbc97.tar.gz
opencode-1d363fa19fe9c1445f635498da48211bf09cbc97.zip
chore: generate
Diffstat (limited to 'packages/sdk/openapi.json')
-rw-r--r--packages/sdk/openapi.json56
1 files changed, 0 insertions, 56 deletions
diff --git a/packages/sdk/openapi.json b/packages/sdk/openapi.json
index bbe1093bd..245df2ce1 100644
--- a/packages/sdk/openapi.json
+++ b/packages/sdk/openapi.json
@@ -6718,59 +6718,6 @@
]
}
},
- "/vcs/diff": {
- "get": {
- "operationId": "vcs.diff",
- "parameters": [
- {
- "in": "query",
- "name": "directory",
- "schema": {
- "type": "string"
- }
- },
- {
- "in": "query",
- "name": "workspace",
- "schema": {
- "type": "string"
- }
- },
- {
- "in": "query",
- "name": "mode",
- "schema": {
- "type": "string",
- "enum": ["git", "branch"]
- },
- "required": true
- }
- ],
- "summary": "Get VCS diff",
- "description": "Retrieve the current git diff for the working tree or against the default branch.",
- "responses": {
- "200": {
- "description": "VCS diff",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/FileDiff"
- }
- }
- }
- }
- }
- },
- "x-codeSamples": [
- {
- "lang": "js",
- "source": "import { createOpencodeClient } from \"@opencode-ai/sdk\n\nconst client = createOpencodeClient()\nawait client.vcs.diff({\n ...\n})"
- }
- ]
- }
- },
"/command": {
"get": {
"operationId": "command.list",
@@ -12534,9 +12481,6 @@
"properties": {
"branch": {
"type": "string"
- },
- "default_branch": {
- "type": "string"
}
}
},