Repository navigation
Move the Claude Code mod and hook into an uploads-mod plugin - #1428
Conversation
The Claude directory refuses command hooks, mods, and .sh/.ts/.tsx files from orgs that aren't Verified. Keep plugins/claude/uploads to skills and the hosted MCP server, and list the mod + reminder hook as a second plugin in our own marketplace. Also spell out the upload URL instead of a bare curl line in the skills and drop the npx run-once lines. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KeLbkf16ND31pqA7SCKjPm
🦋 Changeset detectedLatest commit: 2aaf4fe The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Important Review skippedAuto reviews are limited based on label configuration. 🏷️ Required labels (at least one): 2
🚫 Excluded labels (none allowed): 1
Please check the settings in the CodeRabbit UI or the
|
|
No uploads on this PR yet This PR changes UI files (
Tips for agentsLabel each shot so reviewers know what they're seeing. Labels apply to every file in a call, so run one uploads put after.png --pr 1428 --meta path=/settings --state after --caption "Saved settings toast"
uploads put chat.png --pr 1428 --app ios --screen "Chat" --state afterNo CLI? With the Uploads MCP, call This comment updates with each upload, so you don't need to post the images yourself. A shot or two in the PR description is still welcome. Check what's attached with Workspace admins can turn this comment off in Settings → GitHub · docs |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KeLbkf16ND31pqA7SCKjPm
Requested by Zach · project thread
Why
The Claude plugin directory only accepts command hooks, mods (
modulesin hooks.json), and.sh/.ts/.tsxfiles from Verified organizations. We aren't one, soplugins/claude/uploadsis refused. This PR keeps that folder to skills plus the hosted MCP server. The mod and the pre-PR reminder hook move into a second plugin, which only our own marketplace lists.What changed
plugins/claude/uploads-mod/: movedhooks/(hooks.json, register.tsx, its test, pre-pr-screenshot.sh) andtypes/here. It gets its own manifest (with theautoPromoteuserConfig), a README with the mod's data and network disclosures, and the icon. Mod state keys are renamed fromuploads.*touploads-mod.*, because the validator only lets the plugin that owns a key write it.plugins/claude/uploads/: removedtypesanduserConfigfrom plugin.json and the hook and mod sections from the README. It now holds skills,.mcp.json, the README, plugin.json, and the PNG icon..claude-plugin/marketplace.json: now lists both plugins. The version sync and check scripts cover every entry and the new manifest. Rootplugin.jsonpoints its hooks at the new path.curl -Tline in uploads-cli and github-screenshots now spells out the URL, an HTTPS PUT tohttps://agents.uploads.sh/u/<ticket>. This fixes the LAUNCHER_REGISTRY_REDIRECT blocker.npx @buildinternet/uploads --help, and swappednpx playwright install chromiumfor a link to Playwright's docs (RUNTIME_FETCH_EXEC warnings).docs/releasing.md, AGENTS.md, the agents docs page, the screenshots guide, llms.txt, and the root README.@uploads/pluginbump.Impact
People who installed from our marketplace lose the staged media band and the reminder on their next update. To get them back they run
/plugin install uploads-mod@uploads. The changeset and docs say this. Codex is unaffected because it uses the repo-roothooks/, and so is Grok, which gets the reminder fromuploads install.Testing
claude plugin validate --strict plugins/claude/uploadspasses with nothing to report.claude plugin validate --strict plugins/claude/uploads-modpasses.claude plugin test plugins/claude/uploads-mod: 46 pass.pnpm plugin-version:checkandpnpm plugin-skills:checkpass.buildinternet/uploads@claude/project-thread-qh0h4t, pathplugins/claude/uploads, Validate, and leave without submitting.Generated by Claude Code