Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@
"plugins": [
{
"name": "ecc",
"source": "./",
"source": {
"source": "github",
"repo": "affaan-m/ECC"
},
"description": "Harness-native ECC operator layer - 67 agents, 279 skills, 94 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses",
"version": "2.0.0",
"author": {
Expand Down
15 changes: 15 additions & 0 deletions tests/plugin-manifest.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,21 @@ test('claude marketplace.json plugin version matches package.json', () => {
assert.strictEqual(claudeMarketplace.plugins[0].version, expectedVersion);
});

test('claude marketplace.json plugin source is a remote-sync object, not a string (#2542)', () => {
// Claude Cowork's REMOTE marketplace sync (server-side clone) rejects string
// sources such as "./" with:
// External plugin sources must be objects with a 'source' field
// (github, url, or git-subdir).
// Local `/plugin marketplace add` tolerates the string shorthand, which is why
// the CLI succeeds while Cowork fails. Keep the object form so remote sync works.
const src = claudeMarketplace.plugins[0].source;
assert.ok(src && typeof src === 'object' && !Array.isArray(src), `Expected plugins[0].source to be an object, got: ${JSON.stringify(src)}`);
assert.ok(['github', 'url', 'git-subdir'].includes(src.source), `Expected source.source to be github|url|git-subdir, got: ${JSON.stringify(src.source)}`);
if (src.source === 'github') {
assert.strictEqual(src.repo, 'affaan-m/ECC', 'Expected github source.repo to match this repository');
}
});

// ── Codex plugin manifest ─────────────────────────────────────────────────────
// Per official docs: https://platform.openai.com/docs/codex/plugins
// - .codex-plugin/plugin.json is the required manifest
Expand Down
Loading