Make the harness installable, and test that it stays so - #4
Merged
Conversation
The repository becomes its own marketplace: one entry whose source is the repository root, so `/plugin marketplace add` and `/plugin install` reach the plugin without a second repository to keep in step. A package.json so `npm test` runs the suite, and CI on ubuntu and windows. The one refusal is a path comparison, and a path bug appears on windows first. The version is now declared in three files, and the marketplace one is what tells an installed copy a newer one exists — a release that bumps plugin.json alone ships to nobody. Test 38 holds them equal, and holds the README install line to the names actually declared. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011mjhmFa9c2dwxmNeH5tboy
checkout and setup-node at v4 target Node 20, which the runners now force onto Node 24 and will stop carrying. v7 targets node24 directly. Nothing about the matrix changes: the Node versions tested are the plugin's own. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011mjhmFa9c2dwxmNeH5tboy
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.
The repository becomes its own marketplace, so the plugin can actually be installed:
One entry,
"source": "./", no second repository to keep in step. Fields checked against schemastore'sclaude-code-marketplace.json.Also here:
package.json—npm testruns the suite. Nothing to publish;private: true.plugin.jsonalone ships to nobody. The test holds the three equal, and holds the README install line to the names actually declared. Verified it fails on drift before trusting it.docs/architecture.md§1 — says the repository is also its own marketplace, because a file that exists and is undocumented is the thing this project is against.43/43 tests pass locally (Node 24, Windows).
Not verified: that
/plugin marketplace addsucceeds end to end. That needs the branch on GitHub first — which is now true, so it can be tried against this branch.🤖 Generated with Claude Code
https://claude.ai/code/session_011mjhmFa9c2dwxmNeH5tboy