diff options
| author | Adam Malczewski <[email protected]> | 2026-06-25 07:41:41 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-06-25 07:41:41 +0900 |
| commit | 7535bb815c260f621c1d4b12a1a069de21ee2611 (patch) | |
| tree | 4ff53503d571e3506303710fd9fa5f03562915da /packaging/[email protected] | |
| parent | 4bc062c21a830dd58535252fd24ddb392d262c79 (diff) | |
| download | dispatch-7535bb815c260f621c1d4b12a1a069de21ee2611.tar.gz dispatch-7535bb815c260f621c1d4b12a1a069de21ee2611.zip | |
feat(transport-http): add GET /conversations/:id/mcp status endpoint
Mirrors the existing GET /conversations/:id/lsp route exactly: gates on the
persisted then effective cwd (null → empty servers), returns 503 when the
MCP service isn't loaded, and maps McpServerStatus → McpServerInfo
(conditionally including `error` per exactOptionalPropertyTypes).
Wires mcpService into CreateServerOptions + extension activate via a plain
host.getService (mirroring lspService; "mcp" added to dependsOn, route added
to contributes.routes), adds the @dispatch/mcp workspace dep, and re-exports
mcpServiceHandle / McpService / McpServerStatus from seam.ts. Adds 4 tests
mirroring the LSP status tests.
Diffstat (limited to 'packaging/[email protected]')
0 files changed, 0 insertions, 0 deletions
