mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-10 10:48:45 +00:00
ignore: revert 3 commits that broke dev branch (#18260)
This commit is contained in:
@@ -6576,59 +6576,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",
|
||||
@@ -11981,11 +11928,9 @@
|
||||
"properties": {
|
||||
"branch": {
|
||||
"type": "string"
|
||||
},
|
||||
"default_branch": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": ["branch"]
|
||||
},
|
||||
"Command": {
|
||||
"type": "object",
|
||||
|
||||
Reference in New Issue
Block a user