compound-workflow 1.6.13 → 1.6.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "compound-workflow",
3
- "version": "1.6.13",
3
+ "version": "1.6.14",
4
4
  "description": "Clarify -> plan -> execute -> verify -> capture workflow: commands, skills, and agents for Claude Code",
5
5
  "author": {
6
6
  "name": "Compound Workflow"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "compound-workflow",
3
- "version": "1.6.13",
3
+ "version": "1.6.14",
4
4
  "description": "Clarify -> plan -> execute -> verify -> capture workflow for Cursor",
5
5
  "author": {
6
6
  "name": "Compound Workflow"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "compound-workflow",
3
- "version": "1.6.13",
3
+ "version": "1.6.14",
4
4
  "description": "Clarify → plan → execute → verify → capture. One Install action for Cursor, Claude, and OpenCode.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -359,7 +359,7 @@ function writePluginManifests(targetRoot, dryRun, isSelfInstall) {
359
359
  };
360
360
 
361
361
  if (dryRun) {
362
- console.log("[dry-run] Would write .cursor-plugin/plugin.json, .claude-plugin/plugin.json, .cursor-plugin/registration.json");
362
+ console.log("[dry-run] Would write .cursor-plugin/plugin.json, .claude-plugin/plugin.json, .cursor-plugin/registration.json" + (isSelfInstall ? "" : ", .claude-plugin/marketplace.json"));
363
363
  return;
364
364
  }
365
365
  fs.mkdirSync(cursorDir, { recursive: true });
@@ -367,7 +367,24 @@ function writePluginManifests(targetRoot, dryRun, isSelfInstall) {
367
367
  fs.writeFileSync(path.join(cursorDir, "plugin.json"), JSON.stringify(cursorOut, null, 2) + "\n", "utf8");
368
368
  fs.writeFileSync(path.join(claudeDir, "plugin.json"), JSON.stringify(claudeOut, null, 2) + "\n", "utf8");
369
369
  fs.writeFileSync(path.join(cursorDir, "registration.json"), JSON.stringify(registrationDescriptor, null, 2) + "\n", "utf8");
370
- console.log("Wrote: .cursor-plugin/plugin.json, .claude-plugin/plugin.json, .cursor-plugin/registration.json");
370
+
371
+ // Claude Code 2.1.x+ no longer loads from installed_plugins.json; it requires marketplace flow.
372
+ // Write a project-level marketplace so user can: /plugin marketplace add . then /plugin install compound-workflow@compound-workflow-local
373
+ if (!isSelfInstall) {
374
+ const marketplaceManifest = {
375
+ name: "compound-workflow-local",
376
+ owner: { name: "Compound Workflow" },
377
+ plugins: [
378
+ {
379
+ name: "compound-workflow",
380
+ source: "./node_modules/compound-workflow",
381
+ description: claudeOut.description || "Clarify → plan → execute → verify → capture workflow.",
382
+ },
383
+ ],
384
+ };
385
+ fs.writeFileSync(path.join(claudeDir, "marketplace.json"), JSON.stringify(marketplaceManifest, null, 2) + "\n", "utf8");
386
+ }
387
+ console.log("Wrote: .cursor-plugin/plugin.json, .claude-plugin/plugin.json, .cursor-plugin/registration.json" + (isSelfInstall ? "" : ", .claude-plugin/marketplace.json"));
371
388
  }
372
389
 
373
390
  /**
@@ -542,7 +559,11 @@ function applyCursorRegistration(targetRoot, dryRun, noRegisterCursor, forceRegi
542
559
  fs.writeFileSync(projectSettingsPath, JSON.stringify(projectSettings, null, 2) + "\n", "utf8");
543
560
  }
544
561
 
545
- console.log("Registered compound-workflow with Claude Code. Restart Claude Code; enable 'Include third-party Plugins, Skills, and other configs' in Settings if needed.");
562
+ console.log("Registered compound-workflow with Claude Code.");
563
+ if (!isSelfInstall) {
564
+ console.log(" Claude Code 2.1+: run in this project: /plugin marketplace add . then /plugin install compound-workflow@compound-workflow-local");
565
+ }
566
+ console.log(" Restart Claude Code; enable 'Include third-party Plugins, Skills, and other configs' in Settings if needed.");
546
567
 
547
568
  if (noRegisterCursor && !forceRegister) return;
548
569
  const shouldApply = forceRegister || (cursorDetected() && !noRegisterCursor);