Fix Claude plugin directory packaging - #72
Draft
codejunkie99 wants to merge 1 commit into
Draft
codejunkie99 wants to merge 1 commit into
codejunkie99 wants to merge 1 commit into
Conversation
| "author": { | ||
| "name": "GateFlow Team" | ||
| }, | ||
| "source": "./packages/claude-plugin", |
Contributor
There was a problem hiding this comment.
🟠 High .claude-plugin/marketplace.json:17
Installing this marketplace entry causes Claude to start node with the nonexistent packages/claude-plugin/servers/gateflow-mcp/dist/index.js, so the GateFlow tools MCP server exits immediately and provides no tools. The package is published via source: "./packages/claude-plugin", but the root build only compiles src and the nested package has no source entrypoint; include or build the referenced dist/index.js before publishing, or point the MCP configuration at an existing built entrypoint.
🚀 Reply "fix it for me" or copy this AI Prompt for your agent:
In file @.claude-plugin/marketplace.json around line 17:
Installing this marketplace entry causes Claude to start `node` with the nonexistent `packages/claude-plugin/servers/gateflow-mcp/dist/index.js`, so the GateFlow tools MCP server exits immediately and provides no tools. The package is published via `source: "./packages/claude-plugin"`, but the root build only compiles `src` and the nested package has no source entrypoint; include or build the referenced `dist/index.js` before publishing, or point the MCP configuration at an existing built entrypoint.
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
.claude-plugin/plugin.jsoninside the plugin package so Claude can load its components.Verification
Note
Fix Claude plugin directory packaging with marketplace and plugin manifests
codejunkie99/gateflow-cliand drop the post-installGATEFLOW_CLI_PATHrewrite ofplugin.json..envfile; it also no longer rewrites the copiedplugin.json, so installed copies keep the repo path as-is.📊 Macroscope summarized 6600ac5. 4 files reviewed, 3 issues evaluated, 2 issues filtered, 1 comment posted
🗂️ Filtered Issues
packages/claude-plugin/.claude-plugin/plugin.json — 0 comments posted, 2 evaluated, 2 filtered
agentsis configured as the directory./agents, but Claude Code's manifest rules explicitly require eachagentsentry to be an.mdfile and state that directories are not accepted. The new required plugin manifest therefore cannot load this component configuration, preventing the packaged plugin from loading successfully; list the individual agent Markdown files instead. [ Out of scope (triage) ]hooksfile contains aSessionStarthandler with"type": "prompt". Claude Code supports onlycommandandmcp_toolhandlers forSessionStart, so the GateFlow welcome/onboarding hook cannot run when the packaged plugin starts. Use a supported SessionStart handler type or move the prompt behavior to a supported event. [ Out of scope (triage) ]