Skip to content

Bug: marketplace.json has invalid 'source' field - should be 'type' #92

@hendridg

Description

@hendridg

Problem

When trying to install the plugin via Claude Code marketplace:

claude plugin marketplace add Gentleman-Programming/engram

It fails with:

Failed to parse marketplace file at .claude-plugin/marketplace.json: Invalid schema: plugins.0.source: Invalid input

Root Cause

In .claude-plugin/marketplace.json, the source object on line 18 uses "source" as the key for the source type, but the schema likely expects "type":

Current (broken):

"source": {
  "source": "git-subdir",
  "url": "https://github.com/Gentleman-Programming/engram.git",
  "path": "plugin/claude-code"
}

Expected fix:

"source": {
  "type": "git-subdir",
  "url": "https://github.com/Gentleman-Programming/engram.git",
  "path": "plugin/claude-code"
}

Steps to Reproduce

  1. Run claude plugin marketplace add Gentleman-Programming/engram
  2. Observe the schema validation error on plugins.0.source

Environment

  • Claude Code CLI
  • macOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions