You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2f8b20c
Browse filesBrowse the repository at this point in the historyBrowse files
- mcp-catalog-client.ts / use-mcp-catalog.ts: derive McpCatalogEntry/
McpLiveStatus from the client's own return shape (McpListResult/
McpStatusResult) instead of importing @opencode-ai/client-next types a
second time in the hook -- keeps the alias's surface bounded to the one
file its own header claims.
- use-mcp-catalog.ts: create the client once per effect run (directory/
server change) instead of once per call -- mcp.list and every status poll
now share the same connection instead of each allocating its own.
- mcp.tsx: statusLabel(entry) was computed twice (once for Show's `when`,
once for the rendered text) -- reactive divergence risk across updates.
Switched to Show's render-function form, matching errorText's existing
pattern, so it's computed once.
- settings-mcp-catalog.spec.ts: the "disabled" assertion checked the whole
row's text once, which wouldn't fail if a regression collapsed the static
Tag and the live status label into one element. Split into two
independent assertions; confirmed the stronger version actually catches
that regression (temporarily removed the Tag, watched it fail, restored).
Co-Authored-By: Claude Sonnet 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JJQrqYMv43CrdbjpTT7884
0 commit comments