Skip to content

🐛 fix(mcp): install a library as one adapter per framework - #10

Merged
maurodesouza merged 1 commit into
mainfrom
fix/epic-9-install-per-framework
Nov 17, 2026
Merged

maurodesouza merged 1 commit into
mainfrom
fix/epic-9-install-per-framework

Conversation

@maurodesouza

Copy link
Copy Markdown
Contributor

Closes #9 (Epic), closes #8.

Summary

Found live on fragiola.com: Dockable now has React, Vue and Angular adapters, and list_projects printed npm install @fragiola/dockable @fragiola/dockable-angular @fragiola/dockable-react @fragiola/dockable-vue. Every library's installation page installs one adapter, which depends on the core and re-exports it.

  • libraryInstalls (src/mcp/format.ts): one install line per adapter, labelled with its framework (from the index, or the package name's suffix), then the core alone for framework-free use. A package asked for by name narrows to it; a core asked for by name stays the core.
  • list_projects, get_component (library), get_install_command and the "same name, other kind" hint all use it.
  • get_install_command gains an optional framework input; a library without that adapter says which frameworks it has.
  • Server instructions, the tool description, README and AGENTS.md: install only the adapter for the project's framework.
  • Fixture: Dockable gets Vue and Angular adapters (Angular without framework, to cover the fallback).

Notes

Validation

pnpm check, pnpm typecheck, pnpm test (95 passed, the stdio e2e included). Run against the live fragiola.com: get_install_command for dockable and data-grid gives one adapter per framework.

🤖 Generated with Claude Code

Every library's docs install the adapter alone (`pnpm add @fragiola/<x>-react`):
it depends on the core and re-exports it. The CLI joined the core and every
adapter into one command, which for Dockable installed the React, Vue and
Angular adapters together. Install lines are now one per framework, plus the
core alone for framework-free use; a package name narrows to it, and
get_install_command takes an optional framework. The server instructions,
the tool description, README and AGENTS.md say the same.

Closes #8

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@maurodesouza
maurodesouza merged commit 0dba335 into main Nov 17, 2026
1 check passed
@maurodesouza
maurodesouza deleted the fix/epic-9-install-per-framework branch November 17, 2026 14:21
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.

Epic: install commands as one adapter per framework Install a library as one adapter per framework

1 participant