Repository navigation
🐛 fix(mcp): install a library as one adapter per framework - #10
Merged
Merged
Conversation
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>
This was referenced Nov 17, 2026
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.
Closes #9 (Epic), closes #8.
Summary
Found live on fragiola.com: Dockable now has React, Vue and Angular adapters, and
list_projectsprintednpm 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_commandand the "same name, other kind" hint all use it.get_install_commandgains an optionalframeworkinput; a library without that adapter says which frameworks it has.framework, to cover the fallback).Notes
main, Biome would also reformat a changeset file before 👷 ci: release workflow with npm trusted publishing #7 excludes them.content/agents/overview.mdstill says "Install both" for libraries: out of scope here, a follow-up in www.Validation
pnpm check,pnpm typecheck,pnpm test(95 passed, the stdio e2e included). Run against the live fragiola.com:get_install_commandfordockableanddata-gridgives one adapter per framework.🤖 Generated with Claude Code