Skip to content
Merged
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
24 changes: 1 addition & 23 deletions .cursor-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,29 +13,7 @@
{
"name": "agentstack",
"source": "agentstack",
"description": "Work Graph control plane: agents.work_next (mcp_work_loop_v1) via agentstack.execute. Catalog search is fallback. Also hosting (/s/), storage, 8DNA, logic, payments, RAG.",
"version": "0.5.0",
"author": {
"name": "AgentStack",
"email": "support@agentstack.tech"
},
"homepage": "https://agentstack.tech",
"repository": "https://github.com/agentstacktech/cursor-plugin",
"license": "MIT",
"keywords": [
"work-graph",
"mcp",
"agents",
"hosting",
"backend",
"8dna",
"rag",
"payments",
"storage",
"agentstack"
],
"logo": "assets/icon.png",
"category": "Productivity"
"description": "Work Graph control plane: agents.work_next (mcp_work_loop_v1) via agentstack.execute. Catalog search is fallback. Also hosting (/s/), storage, 8DNA, logic, payments, RAG."
}
]
}
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ All notable changes to the AgentStack Cursor plugin are documented here. Format:
### Fixed

- Plugin CI: `audit-plugin-prose-leaks` (work-graph SKILL), stale-action scan (`showcase.catalog.*`, capability matrix `bots.staff_reply` copy).
- GitHub / Add marketplace install: `.cursor-plugin/marketplace.json` plugin entries keep only Cursor schema fields (`name`, `source`, `description`). Version, logo, keywords, and related metadata stay in `plugin.json`; `category` moved there. `validate-plugin.mjs` now rejects extra marketplace entry fields.

## [0.4.27] - 2026-11-11

Expand Down
1 change: 1 addition & 0 deletions plugins/agentstack/.cursor-plugin/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"agent",
"boilerplate-free"
],
"category": "Productivity",
"rules": "rules/",
"skills": "skills/",
"commands": "commands/",
Expand Down
29 changes: 28 additions & 1 deletion scripts/validate-plugin.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -324,13 +324,39 @@ if (fs.existsSync(marketplacePath)) {
if (mp.$schema !== undefined) {
fail('marketplace.json: remove "$schema" — Cursor rejects external schema URLs on marketplace manifests');
}
// Official Cursor marketplace schema (cursor/plugins schemas/marketplace.schema.json):
// root additionalProperties:false — only name, owner, metadata, plugins.
// pluginEntry additionalProperties:false — only name, source, description, minClientVersions.
// Extra fields (version, keywords, logo, category, …) make Cursor GitHub install fail.
const MP_ROOT_KEYS = new Set(['name', 'owner', 'metadata', 'plugins']);
const MP_OWNER_KEYS = new Set(['name', 'email']);
const MP_ENTRY_KEYS = new Set(['name', 'source', 'description', 'minClientVersions']);
for (const key of Object.keys(mp)) {
if (!MP_ROOT_KEYS.has(key)) {
fail(`marketplace.json: "${key}" is not in Cursor marketplace schema — allowed: name, owner, metadata, plugins`);
}
}
if (!mp.name || !KEBAB_REGEX.test(mp.name)) fail('marketplace.json: name required (kebab-case)');
else ok(`marketplace.json: name=${mp.name}`);
if (!mp.owner?.name) fail('marketplace.json: owner.name required');
if (mp.owner && typeof mp.owner === 'object') {
for (const key of Object.keys(mp.owner)) {
if (!MP_OWNER_KEYS.has(key)) {
fail(`marketplace.json: owner."${key}" is not in Cursor marketplace schema — allowed: name, email`);
}
}
}
if (!Array.isArray(mp.plugins) || mp.plugins.length === 0) fail('marketplace.json: plugins[] required');
else {
for (const [i, entry] of mp.plugins.entries()) {
if (!entry?.name || !entry?.source) fail(`marketplace.json: plugins[${i}] needs name + source`);
for (const key of Object.keys(entry || {})) {
if (!MP_ENTRY_KEYS.has(key)) {
fail(`marketplace.json: plugins[${i}]."${key}" is not in Cursor marketplace schema (allowed: name, source, description, minClientVersions) — move to plugins/.../plugin.json`);
}
}
}
const entry = mp.plugins.find((p) => p.name === 'agentstack') || mp.plugins[0];
if (!entry?.name || !entry?.source) fail('marketplace.json: each plugin needs name + source');
const pluginRoot = mp.metadata?.pluginRoot || '';
const sourceDir = path.join(ROOT, pluginRoot, entry.source);
if (!fs.existsSync(path.join(sourceDir, '.cursor-plugin/plugin.json'))) {
Expand All @@ -342,6 +368,7 @@ if (fs.existsSync(marketplacePath)) {
if (String(entry.source).includes('./') || entry.source === '.') {
fail('marketplace.json: use bare source dir name (e.g. "agentstack"), not "." or "./…"');
}
ok('marketplace.json: plugin entries match Cursor marketplace schema');
}
if (mp.metadata?.pluginRoot !== 'plugins') {
warn('marketplace.json: metadata.pluginRoot should be "plugins" (Cursor 2.6+ multi-plugin layout)');
Expand Down