Skip to content

Fix marketplace.json schema for Claude Code 2.1.89#1

Open
hua7450 wants to merge 1 commit intoPolicyEngine:mainfrom
hua7450:fix/marketplace-schema
Open

Fix marketplace.json schema for Claude Code 2.1.89#1
hua7450 wants to merge 1 commit intoPolicyEngine:mainfrom
hua7450:fix/marketplace-schema

Conversation

@hua7450
Copy link
Copy Markdown
Collaborator

@hua7450 hua7450 commented Apr 1, 2026

Summary

  • Add required source field ("./") to all 9 bundle definitions
  • Remove invalid hooks: null from 6 bundles that don't use hooks

Claude Code 2.1.89 now validates the marketplace.json with Zod and rejects plugins missing the source field or containing hooks: null. This causes /plugin to fail with "Invalid schema" errors for every plugin entry.

Test plan

  • /plugin marketplace add PolicyEngine/policyengine-claude succeeds after re-sync
  • /plugin install complete@policyengine-claude succeeds
  • CI passes

🤖 Generated with Claude Code

Add required `source` field to all bundle definitions and remove
invalid `hooks: null` entries. Claude Code now validates these fields
via Zod and rejects the plugin marketplace without them.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@policyengine policyengine bot added the ⚙️ Engineering... PolicyEngine's GitHub agent is working on this label Apr 1, 2026
@policyengine
Copy link
Copy Markdown

policyengine bot commented Apr 1, 2026

I tried to review this PR but ran into an issue:

Failed to clone repository: Cloning into '/tmp/policyengine-bot-60t_66k8/policyengine-skills'...
warning: Could not find remote branch fix/marketplace-schema to clone.
fatal: Remote branch fix/marketplace-schema not found in upstream origin

@policyengine policyengine bot removed the ⚙️ Engineering... PolicyEngine's GitHub agent is working on this label Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant