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
fix(gateway,ui): collapse describe tools, fire list_changed on Connect, badge denominator
* Collapse `mcpmux_describe_resolution` into `mcpmux_describe_workspace`.
The split surfaced two reads with overlapping output and shipped a redundant
tool to LLMs. `describe_workspace` now returns a `resolution` block with
`feature_set_id`, `feature_set_name`, `source`, and `resolved_tool_count`.
* Fire `list_changed` on `ServerStatusChanged(Connected)`, not just
Disconnected. Reconnect flips per-feature `is_available`, which
`get_all_features_for_space` filters on, so the content hash legitimately
changes both ways. Without this, a backend reconnect after the client's
initial `tools/list` left the client view stuck without the freshly-available
tools. Loop concern mooted by the existing hash dedup.
* `WorkspacesPage` per-server badge now reads `{mapped}/{server total}` —
backend returns `server_totals` (HashMap of server_id -> per-type counts)
computed before the FS filter is applied. The old `3/3` was
`mapped/mapped`; the new badge tells the user "this FS includes 3 of the
10 cloudflare-docs tools available."
* `WorkspacesPage` listens for `workspace-binding-changed` so popup-driven
binding saves refresh the page live (previously stayed on `UNMAPPED`
until the user navigated away and back).
* Migration 008 enforces the default-space invariant: the seeded `My Space`
row is the canonical default; every other row gets `is_default = 0`.
Repairs DBs corrupted by the older `if no spaces exist, set_default()`
branch (now removed from `SpaceAppService::create`).
Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com>
0 commit comments