feat(market): restructure as the Mayfly/DSH plugin marketplace - #8
Merged
Merged
Conversation
- move the eight plugin sources under plugins/ - add registry/ with manifest schema v1, 8 official + 6 dsh listings, community submission flow and review checklist - add zero-dependency scripts: validate-manifests, verify-packages (npm tarball + GitHub scratch installs), build-index (dist/index.json + catalog.json with npm enrichment) - add registry-validate and index-publish workflows (dist changes land through an auto-merged PR; weekly drift re-verification) - commit built lib/ for codex-terminal, sessions and mock so their GitHub install source works (dsh-* npm names are unpublished) - remove stray mock/get-pip.py; rewrite README as the marketplace front page; document the spec in docs/market.md; update AGENTS.md Co-Authored-By: Claude Code <noreply@anthropic.com>
- drop codex-terminal prepare and rename coding-plan prepack to build:dist: git installs use committed lib/, and lifecycle scripts trip pnpm >=10 allowBuilds - verify-packages: scratch-install all rows of an entry together (peer deps resolve the way the /plugin installer installs); add --github-ref override so PR CI verifies against the PR branch tree Co-Authored-By: Claude Code <noreply@anthropic.com>
- schema/validator/verify: install.allowBuilds names packages whose build scripts pnpm may run (node-pty for codex-terminal; @google/genai and protobufjs for coding-plan) — pnpm >= 10 blocks them by default and git installs failed without the allowance - generate dist/index.json + dist/catalog.json (14 entries, npm-enriched) - document allowBuilds in docs/market.md Co-Authored-By: Claude Code <noreply@anthropic.com>
Co-Authored-By: Claude Code <noreply@anthropic.com>
This was referenced Sep 4, 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.
What
Turns this repository into the official plugin marketplace for Mayfly / DSH, per the agreed design. Two halves:
plugins/— the eight plugin sources move here (puregit mv, plus three fixes needed to make GitHub installs work:lib/build output committed for codex-terminal / sessions / mock,prepare/prepacklifecycle scripts removed since git installs use committed lib, see below).registry/— the marketplace: manifest schema v1, 8official+ 6dshlistings, community submission flow.Plus zero-dependency tooling (
scripts/), CI (registry-validate,index-publish), the first generateddist/index.json+dist/catalog.json, and docs (docs/market.md, rewritten README, updated AGENTS.md).Key design points
cordis.patch.yml; no runtime manifest (Mayfly's red line).server/web/tui) declare what a plugin contributes; usefulness in a frontend is derived (server ∨ own contribution).npm(preferred) andgithub:incl. monorepo subdirs (github:Ephemeral-AI-Lab/dsh-plugins#main&path:plugins/loop). All rows of an entry install together (this is also how sibling peers resolve — verified).bundle(package self-declaresdsh.bundle.patch) andprofile-patch(installer inserts rows into the profilecordis.patch.yml— what the@deepseek-aioptional plugins need; none of their tarballs ship a patch).install.allowBuilds: pnpm ≥ 10 blocks dependency build scripts; codex-terminal (node-pty) and coding-plan (@google/genai,protobufjs) genuinely need them, so the manifest declares the allowance and the installer writes it into the profile workspace.dsh-*npm names are currently unpublished — theirlib/output is committed for that reason (release checklist in AGENTS.md).official/dsh/communitytiers,verifiedrecorded at review (lightweight: track latest, weekly re-verification flags drift),removedtombstones instead of deletions.dist/is workflow-owned:index-publishrebuilds and lands changes via auto-merged PR (never direct pushes to main), then can notify the mayfly website (MARKET_NOTIFY_TOKENsecret, optional).Verification (all run locally against this branch)
node scripts/validate-manifests.mjs— 14/14 passnode scripts/verify-packages.mjs --github-ref market/registry-v1— all green, including real scratch installs into throwaway profiles:activation: profile-patch)node scripts/build-index.mjs— dist/index.json (50 KB) + catalog.json (76 KB) generated and jq-parseableThis scratch verification caught four real issues during development, now fixed: pnpm allowBuilds on lifecycle scripts, unpublished
dsh-workbench-uipeer (solved by joint-row installs), scoped-name@version misparsing, and the@scopeYAML quoting in generatedpnpm-workspace.yaml.Follow-ups (separate PRs, mayfly repo)
/plugincommand consumingdist/index.json🤖 Generated with Claude Code