Repository navigation
fix(plugin): drop the manifest's network field from the directory edition - #1688
Conversation
…tion The directory refuses manifest fields outside its list from an unverified organization, and it does not list `network`. Claude Code still reads it from plugin/, so only the mirror loses it. The icon is re-encoded, pixel for pixel, because the directory's scan matched a download-and-run pattern in its compressed bytes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019SAKipREuKRNW28N1gsAuR
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
Generated by Claude Code |
Summary
The directory validated the skills-only mirror from #1687 and returned one blocking finding and one warning:
.claude-plugin/plugin.json · network. This is a config field outside the allowed list, which the directory accepts only from Verified organizations. The directory edition now dropsnetworkfrom the manifest.plugin/keeps it, because Claude Code reads it there..claude-plugin/icon.pngreports a download-and-run pattern. Its only chunks are IHDR, IDAT and IEND, with no text, so the match is in the compressed bytes. The icon is re-encoded losslessly: same 512×512 RGBA pixels, 215 KB instead of 229 KB.Test plan
vitest --run .github/scripts/build-plugin-mirror.test.mjs(7 tests, the manifest field is covered)claude plugin validatepassesGenerated by Claude Code
Summary by CodeRabbit