Repository navigation
Conversation
Replace the per-host config, package and smoke scripts for Claude and Cursor with one script per job that takes the host as an argument. Host differences (manifest folder, plugin-root variable, config snippet, Claude Desktop MCPB bundle) live in scripts/plugin-hosts.mjs. npm command names, output paths and the checks each smoke test ran are unchanged; the Claude plugin smoke test now also covers development and the chat fallback, matching Cursor. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Stacked on #40.
Claude and Cursor each had their own config, package and smoke scripts, and most of each pair was copied from the other. This replaces those 6 scripts with 3 that take the host as an argument (
claudeorcursor), plus a small host table:scripts/plugin-hosts.mjs: what differs per host (manifest folder, plugin-root variable, config snippet and where it goes, and the Claude Desktop MCPB bundle), plus the shared lists of documents and Codex-only paths.scripts/package-plugin.mjs: builds the host plugin folder, and the MCPB bundle when the host has one.scripts/smoke-plugin.mjs: the plugin-folder check plus the MCPB check for Claude Desktop.scripts/plugin-config.mjs: writes the local config snippet.What stays the same: npm command names (
package:claude,test:cursor,claude:config, …), so CONTRIBUTING and CI need no changes. Output paths are also unchanged. Every check the old smoke scripts ran is still there. Two small additions:Adding another host is now a manifest plus one table entry. The diff is 199 lines added and 280 removed.
Testing:
npm run build, thenpackage:claude,test:claude,package:cursor,test:cursor,claude:configandcursor:configall pass. The generated snippets match the old output.🤖 Generated with Claude Code