Skip to content

feat(desktop): Config tab to pin the oab-mcp target + reload core (UI) - #61

Closed
brettchien wants to merge 1 commit into
feat/mcp-target-hermeticfrom
feat/mcp-config-tab-ui
Closed

feat(desktop): Config tab to pin the oab-mcp target + reload core (UI)#61
brettchien wants to merge 1 commit into
feat/mcp-target-hermeticfrom
feat/mcp-config-tab-ui

Conversation

@brettchien

Copy link
Copy Markdown
Contributor

The UI half of the oab-mcp target feature — stacked on #60 (feat/mcp-target-hermetic, which adds the backend + mcp_target_get/mcp_target_set commands). Base is #60's branch; will retarget to main once #60 merges.

Finishes #10's intent (Config tab) on #60's provider-tagged design.

What

  • New Config tab (console/index.html + config.ts): cluster / AWS profile / region fields. Reads the persisted target via mcp_target_get; on save calls mcp_target_set (persist + reload the core onto the new hermetic env), then refreshes the roster. Browser build disables the form (no core).
  • Maps to feat(desktop): provider-tagged, hermetic oab-mcp target (backend) #60's tagged shape { provider: "ecs", cluster, profile?, region? } — a future provider adds its own section.
  • main.ts: one initConfigTab({ onSaved: () => void tick() }) call at boot; tab-switching is already generic.
  • styles.css: config form styling using existing theme tokens.

Verification

Sequence

  1. Merge feat(desktop): provider-tagged, hermetic oab-mcp target (backend) #60 (backend) once its bundle-macos is green.
  2. Rebase this onto main, merge.
  3. Close feat(desktop): Config tab to pin oab-mcp target + reload core #10 (superseded by feat(desktop): provider-tagged, hermetic oab-mcp target (backend) #60 + this).

🤖 Generated with Claude Code

The UI half for #60: a Config tab (cluster / AWS profile / region) that reads
the persisted target via `mcp_target_get`, and on save calls `mcp_target_set`
(persist + reload the core onto the new hermetic env), then refreshes the roster.
Browser build disables the form. Ports #10's UI onto #60's provider-tagged
`McpTarget` shape ({ provider: "ecs", cluster, profile?, region? }).

Verified locally: `tsc --noEmit && vite build` clean.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant