compound-workflow 1.6.14 → 1.6.15
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.
package/package.json
CHANGED
package/scripts/install-cli.mjs
CHANGED
|
@@ -552,16 +552,21 @@ function applyCursorRegistration(targetRoot, dryRun, noRegisterCursor, forceRegi
|
|
|
552
552
|
}
|
|
553
553
|
projectSettings.enabledPlugins = ensureObject(projectSettings.enabledPlugins);
|
|
554
554
|
projectSettings.enabledPlugins[pluginId] = true;
|
|
555
|
+
// Remove invalid "local" entry if present; then register local marketplace via "file" so it appears without slash commands
|
|
555
556
|
if (projectSettings.extraKnownMarketplaces?.["compound-workflow"]) {
|
|
556
557
|
delete projectSettings.extraKnownMarketplaces["compound-workflow"];
|
|
557
558
|
}
|
|
559
|
+
projectSettings.extraKnownMarketplaces = ensureObject(projectSettings.extraKnownMarketplaces);
|
|
560
|
+
projectSettings.extraKnownMarketplaces["compound-workflow-local"] = {
|
|
561
|
+
source: { source: "file", path: ".claude-plugin/marketplace.json" },
|
|
562
|
+
};
|
|
558
563
|
fs.mkdirSync(path.join(targetRoot, ".claude"), { recursive: true });
|
|
559
564
|
fs.writeFileSync(projectSettingsPath, JSON.stringify(projectSettings, null, 2) + "\n", "utf8");
|
|
560
565
|
}
|
|
561
566
|
|
|
562
567
|
console.log("Registered compound-workflow with Claude Code.");
|
|
563
568
|
if (!isSelfInstall) {
|
|
564
|
-
console.log(" Claude Code 2.1+:
|
|
569
|
+
console.log(" Claude Code 2.1+: open /plugin, go to Discover; install 'compound-workflow' from marketplace 'compound-workflow-local', or run: claude --plugin-dir ./node_modules/compound-workflow");
|
|
565
570
|
}
|
|
566
571
|
console.log(" Restart Claude Code; enable 'Include third-party Plugins, Skills, and other configs' in Settings if needed.");
|
|
567
572
|
|