Repository navigation
Conversation
- tray carries two disabled status lines plus a Copy Bridge URL action:
'Data Studio Bridge · Running (port N) / Stopped (subscription
required)' and '{App} MCP Server · N session(s) — clients'
- McpSessionRegistry tracks live Data Studio MCP sessions from
X-Data-Studio-Session/Client headers on /tools and /invoke (30s TTL,
capped at 50; anonymous traffic keeps a last-seen fallback for older
npm releases)
- BridgeStopStatus records why the bridge went down so the tray can say
more than 'Stopped' when the entitlement gate shuts it down
- adds the clipboard manager plugin (dep + registration + capability)
to back Copy Bridge URL
- settings page and all locales rename the component from 'MCP Bridge'
to 'Data Studio Bridge'
…ings revamp Tray: - status lines carry product names: "MCP Bridge: Running (port N)" / "Stopped" / "Stopped (subscription required)"; server session line removed (single port — session info lives in settings) - new "Unlock MCP Bridge…" action item (gated-stop state only) opens the subscription dialog via mcp-bridge://subscription → App.vue listener - get_mcp_status now reports stopReason + live MCP sessions Settings (MCP tab): - two-card layout: MCP Bridge card (status + Copy/Restart icon buttons with tooltips + port + auto-start, outside the paywall) and SqlKit MCP Server card (sessions + "Connect an AI client" install guide with brand tabs, docs link, gated); DefaultPermissionEditor and all setting rows span full width, aligning text left / controls right - sessionsEmpty copy simplified + link to the product docs page UI polish: - Auto-compact messages uses a Switch - provider rows show monochrome brand icons - PaidGate provider chip: Claude Desktop → Claude Code - McpPoster refreshed: real port (9121), current npx config and tools Locales: keep the original "MCP Bridge" naming across tray, settings and all 7 languages; simplify sessionsEmpty; add docsLink. Verification: cargo test 615 passed; cargo fmt/clippy clean; eslint/vue-tsc clean.
@vue/vue3-jest cannot resolve imported types in defineProps under the jsdom environment (compileScript needs fs), so importing Switch.vue from AiSettings.test.ts failed the whole suite. Inlining radix-vue's SwitchRootProps/SwitchRootEmits members keeps runtime behavior identical while making the component jest-compilable.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Mirror of dockit#554. Makes the embedded MCP Bridge observable end-to-end: the tray becomes a one-glance status + action surface, the settings MCP tab becomes a real connection center, and
get_mcp_statusexposes machine-readable state.Tray
mcp-bridge://subscriptionevent → upgrade dialogSettings (MCP tab) — two cards
get_mcp_statusextended withstopReason+sessions[]UI polish
npxconfig, real tool namesCompanion PRs: dockit#554 (mirror), data-studio-agent#41 (session identity headers that feed the session line).
Verification
cargo test: 615 passed; fmt/clippy clean