summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authoropencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>2026-04-25 14:43:27 +0000
committeropencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>2026-04-25 14:43:27 +0000
commit5b0e828c10a2d33cb5284566a705a9d61f98b8f1 (patch)
tree11d8a742a81d956ddf03e6dc63c518b1c99526e4
parentd5bfaef53d36b9b3236600a92c21a5e226de9151 (diff)
downloadopencode-5b0e828c10a2d33cb5284566a705a9d61f98b8f1.tar.gz
opencode-5b0e828c10a2d33cb5284566a705a9d61f98b8f1.zip
chore: generate
-rw-r--r--packages/opencode/specs/effect/http-api.md4
-rw-r--r--packages/opencode/src/server/routes/instance/httpapi/instance.ts6
2 files changed, 6 insertions, 4 deletions
diff --git a/packages/opencode/specs/effect/http-api.md b/packages/opencode/specs/effect/http-api.md
index 7f19a612b..1b9da7a2c 100644
--- a/packages/opencode/specs/effect/http-api.md
+++ b/packages/opencode/specs/effect/http-api.md
@@ -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 |
| `file` | `bridged` partial | list/content/status only |
| `mcp` | `bridged` partial | status only |
-| `workspace` | `bridged` | list, get, enter |
-| top-level instance reads | `bridged` partial | path and vcs reads; command, agent, skill, lsp, formatter next |
+| `workspace` | `bridged` | list, get, enter |
+| 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 |
| `session` | `later/special` | large stateful surface plus streaming |
| `sync` | `later` | process/control side effects |
diff --git a/packages/opencode/src/server/routes/instance/httpapi/instance.ts b/packages/opencode/src/server/routes/instance/httpapi/instance.ts
index f7c3a02ad..97b53c1e9 100644
--- a/packages/opencode/src/server/routes/instance/httpapi/instance.ts
+++ b/packages/opencode/src/server/routes/instance/httpapi/instance.ts
@@ -33,7 +33,8 @@ export const InstanceApi = HttpApi.make("instance")
OpenApi.annotations({
identifier: "path.get",
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, {
@@ -42,7 +43,8 @@ export const InstanceApi = HttpApi.make("instance")
OpenApi.annotations({
identifier: "vcs.get",
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, {