chore: generate
This commit is contained in:
@@ -139,8 +139,8 @@ Use raw Effect HTTP routes where `HttpApi` does not fit. The goal is deleting Ho
|
|||||||
| `project` | `bridged` partial | reads only; git-init remains Hono |
|
| `project` | `bridged` partial | reads only; git-init remains Hono |
|
||||||
| `file` | `bridged` partial | list/content/status only |
|
| `file` | `bridged` partial | list/content/status only |
|
||||||
| `mcp` | `bridged` partial | status only |
|
| `mcp` | `bridged` partial | status only |
|
||||||
| `workspace` | `bridged` | list, get, enter |
|
| `workspace` | `bridged` | list, get, enter |
|
||||||
| top-level instance reads | `bridged` partial | path and vcs reads; command, agent, skill, lsp, formatter next |
|
| top-level instance reads | `bridged` partial | path and vcs reads; command, agent, skill, lsp, formatter next |
|
||||||
| experimental JSON routes | `next/later` | console, tool, worktree, resource, global session list |
|
| experimental JSON routes | `next/later` | console, tool, worktree, resource, global session list |
|
||||||
| `session` | `later/special` | large stateful surface plus streaming |
|
| `session` | `later/special` | large stateful surface plus streaming |
|
||||||
| `sync` | `later` | process/control side effects |
|
| `sync` | `later` | process/control side effects |
|
||||||
|
|||||||
@@ -33,7 +33,8 @@ export const InstanceApi = HttpApi.make("instance")
|
|||||||
OpenApi.annotations({
|
OpenApi.annotations({
|
||||||
identifier: "path.get",
|
identifier: "path.get",
|
||||||
summary: "Get paths",
|
summary: "Get paths",
|
||||||
description: "Retrieve the current working directory and related path information for the OpenCode instance.",
|
description:
|
||||||
|
"Retrieve the current working directory and related path information for the OpenCode instance.",
|
||||||
}),
|
}),
|
||||||
),
|
),
|
||||||
HttpApiEndpoint.get("vcs", InstancePaths.vcs, {
|
HttpApiEndpoint.get("vcs", InstancePaths.vcs, {
|
||||||
@@ -42,7 +43,8 @@ export const InstanceApi = HttpApi.make("instance")
|
|||||||
OpenApi.annotations({
|
OpenApi.annotations({
|
||||||
identifier: "vcs.get",
|
identifier: "vcs.get",
|
||||||
summary: "Get VCS info",
|
summary: "Get VCS info",
|
||||||
description: "Retrieve version control system (VCS) information for the current project, such as git branch.",
|
description:
|
||||||
|
"Retrieve version control system (VCS) information for the current project, such as git branch.",
|
||||||
}),
|
}),
|
||||||
),
|
),
|
||||||
HttpApiEndpoint.get("vcsDiff", InstancePaths.vcsDiff, {
|
HttpApiEndpoint.get("vcsDiff", InstancePaths.vcsDiff, {
|
||||||
|
|||||||
Reference in New Issue
Block a user