Skip to content

Business operating system for Claude Code — 57 skills, 21 agents, smart daemon. Unified inbox (WhatsApp/Email/Slack/Telegram), autonomous PR merge, full-AWS monitoring, revenue (Stripe+RevenueCat), e-commerce (Shopify), marketing (Klaviyo/Meta/GA4), voice (Bland/ElevenLabs), APM (Datadog/NewRelic/OTEL), YOLO mode.

fix(setup): accept registry from plugin data dir, not just cache (#388)

Aurora Capital363641b0b13f
diff --git a/claude-ops/scripts/setup.sh b/claude-ops/scripts/setup.sh
index 86a0b0a2..5657047f 100755
--- a/claude-ops/scripts/setup.sh
+++ b/claude-ops/scripts/setup.sh
@@ -54,9 +54,12 @@ for tool in "${MISSING[@]}"; do
echo " ✗ ops: $tool not found — run /ops:setup to configure"
done
-# Check registry
-REGISTRY="$SCRIPT_DIR/registry.json"
-if [ ! -f "$REGISTRY" ]; then
+# Check registry. The canonical registry lives in the plugin DATA dir
+# (CLAUDE_PLUGIN_DATA_DIR), which survives plugin upgrades; the cached copy
+# under $SCRIPT_DIR is wiped on every upgrade. Accept either location so a
+# valid data-dir registry doesn't trigger a false "no registry" warning.
+REGISTRY_DATA_DIR="${CLAUDE_PLUGIN_DATA_DIR:-$HOME/.claude/plugins/data/ops-ops-marketplace}"
+if [ ! -f "$SCRIPT_DIR/registry.json" ] && [ ! -f "$REGISTRY_DATA_DIR/registry.json" ]; then
echo " ✗ ops: no project registry — run /ops:setup to create one"
fi