summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authoropencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>2026-04-25 23:28:25 +0000
committeropencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>2026-04-25 23:28:25 +0000
commitf77277a69ee1d094235c65d24a4f2d601943e922 (patch)
treec7b30a92d247a64179d1f8102fe099a192f0f116
parent450128f9be8f2028cbfbc361043c91c0e0943bba (diff)
downloadopencode-f77277a69ee1d094235c65d24a4f2d601943e922.tar.gz
opencode-f77277a69ee1d094235c65d24a4f2d601943e922.zip
chore: generate
-rw-r--r--packages/opencode/specs/effect/http-api.md2
-rw-r--r--packages/opencode/src/server/routes/instance/httpapi/mcp.ts3
2 files changed, 3 insertions, 2 deletions
diff --git a/packages/opencode/specs/effect/http-api.md b/packages/opencode/specs/effect/http-api.md
index b4103f7c2..2deec51a2 100644
--- a/packages/opencode/specs/effect/http-api.md
+++ b/packages/opencode/specs/effect/http-api.md
@@ -179,7 +179,7 @@ Use raw Effect HTTP routes where `HttpApi` does not fit. The goal is deleting Ho
| `project` | `bridged` | list, current, git init, update |
| `file` | `bridged` partial | find text/file/symbol, list/content/status |
| `mcp` | `bridged` | status, add, OAuth, connect/disconnect |
-| `workspace` | `bridged` partial | adaptor/list/status; create/remove/session-restore remain |
+| `workspace` | `bridged` partial | adaptor/list/status; create/remove/session-restore remain |
| top-level instance routes | `bridged` | path, vcs, command, agent, skill, lsp, formatter, dispose |
| experimental JSON routes | `bridged` partial | console reads, tool ids, worktree list/mutations, resource list; global session list remains later |
| `session` | `later/special` | large stateful surface plus streaming |
diff --git a/packages/opencode/src/server/routes/instance/httpapi/mcp.ts b/packages/opencode/src/server/routes/instance/httpapi/mcp.ts
index e039584b8..2abc8519a 100644
--- a/packages/opencode/src/server/routes/instance/httpapi/mcp.ts
+++ b/packages/opencode/src/server/routes/instance/httpapi/mcp.ts
@@ -71,7 +71,8 @@ export const McpApi = HttpApi.make("mcp")
OpenApi.annotations({
identifier: "mcp.auth.callback",
summary: "Complete MCP OAuth",
- description: "Complete OAuth authentication for a Model Context Protocol (MCP) server using the authorization code.",
+ description:
+ "Complete OAuth authentication for a Model Context Protocol (MCP) server using the authorization code.",
}),
),
HttpApiEndpoint.post("authAuthenticate", McpPaths.authAuthenticate, {