Multi-ecosystem: copy + ecosystem badges - #24
Merged
Conversation
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.
Follow-up to flykit-cc/plugins#23, which made
tools.jsonan ecosystem-neutral registry (ecosystem: "claude-code" | "dsh") and added the first DeepSeek Harness entry,dsh-claude-live. The site still read as Claude-Code-only.Copy
Grepped the whole site for Claude-Code-only phrasing and reframed the top-level positioning. Claude-Code-specific text that is still accurate (install instructions,
/docs, privacy/terms, the plugins section) was left alone.app/layout.tsxtitleapp/layout.tsxdescription + JSON-LDsite-footer.tsx,llms.txt,llms-full.txt, OG/Twitter alt text,README.mdEcosystem badges
lib/tools.tsgains anEcosystemtype onToolplus anecosystemLabel()helper (claude-code→ "Claude Code",dsh→ "DeepSeek Harness", defaults to Claude Code for entries predating the field). Rendered with the existingBadgecomponent in its default variant, so it reads as the primary tag next to the outline-variant category tags:components/tool-card.tsx— first badge in the tag rowapp/tools/[slug]/page.tsx— first badge in the header tag rowNo new components, no styling changes.
Drive-by build fix
maindoes not currently build./tools/dsh-claude-liveprerenders toTypeError: Cannot read properties of undefined (reading 'length')becausetools/dsh-claude-live/web.jsonhas noscreenshotskey and the tool page readstool.web.screenshots.lengthunguarded. Verified pre-existing by stashing this branch's changes and rebuilding.Fixed in one place rather than at each of the three call sites:
getTools()now defaultsfeatures,useCases, andscreenshotsto[]when the fetchedweb.jsonomits them, so every consumer can keep reading.length.Verification
npx tsc --noEmitclean,npm run buildsucceeds, both/tools/ghostcodeand/tools/dsh-claude-liveprerender.npm run lintis not usable here —next lintis removed in Next 15.5 and drops into an interactive ESLint setup prompt; not addressed in this PR.Deliberately not touched
No redesign. The plugins section keeps its "Available Plugins" title and Claude Code install command, since
.claude-plugin/marketplace.jsongenuinely is Claude-Code-only./docs,/privacy, and/termsstill describe the Claude Code flow, which is correct for plugins. The rotating hero headline andlib/*-fallback.jsonare unchanged.Do not merge — this deploys the live site.