feat(marketplace): add domain metadata to all plugins [BREAKING]
- domain field required in plugin.json and marketplace.json (core/data/ops) - validate-marketplace.sh enforces domain presence and allowed values - claude-launch.sh new profiles: saas, ops, debug; infra deprecated - CANONICAL-PATHS.md and CLAUDE.md updated with domain conventions BREAKING CHANGE: validate-marketplace.sh rejects plugins without domain field Version: 8.0.0 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -6,9 +6,11 @@
|
||||
#
|
||||
# Profiles:
|
||||
# sprint - Project management, git, PR review, security, docs (default)
|
||||
# infra - Infrastructure/CMDB management
|
||||
# data - Data engineering and visualization
|
||||
# saas - SaaS development (API, frontend, DB, testing)
|
||||
# ops - Operations and infrastructure (CMDB, releases, deploy)
|
||||
# review - Code review only (lightweight)
|
||||
# debug - MCP debugging tools
|
||||
# full - All plugins via marketplace.json (~22K tokens)
|
||||
#
|
||||
# Examples:
|
||||
@@ -42,18 +44,28 @@ fi
|
||||
# Define plugin lists for each profile
|
||||
declare -A PROFILES
|
||||
PROFILES[sprint]="projman git-flow pr-review code-sentinel doc-guardian clarity-assist"
|
||||
PROFILES[infra]="cmdb-assistant"
|
||||
PROFILES[data]="data-platform viz-platform"
|
||||
PROFILES[infra]="DEPRECATED"
|
||||
PROFILES[data]="data-platform viz-platform data-seed"
|
||||
PROFILES[saas]="saas-api-platform saas-react-platform saas-db-migrate saas-test-pilot"
|
||||
PROFILES[ops]="cmdb-assistant ops-release-manager ops-deploy-pipeline"
|
||||
PROFILES[review]="pr-review code-sentinel"
|
||||
PROFILES[debug]="debug-mcp"
|
||||
PROFILES[full]="" # Empty = use marketplace.json
|
||||
|
||||
# Validate profile
|
||||
if [[ ! ${PROFILES[$PROFILE]+_} ]]; then
|
||||
echo -e "${YELLOW}Unknown profile: $PROFILE${NC}"
|
||||
echo "Available profiles: sprint, infra, data, review, full"
|
||||
echo "Available profiles: sprint, data, saas, ops, review, debug, full"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Handle deprecated profiles
|
||||
if [[ "$PROFILE" == "infra" ]]; then
|
||||
echo -e "${YELLOW}Warning: 'infra' profile is deprecated. Use 'ops' instead.${NC}"
|
||||
echo -e "${YELLOW} The 'ops' profile includes cmdb-assistant plus future ops plugins.${NC}"
|
||||
PROFILE="ops"
|
||||
fi
|
||||
|
||||
# Build --plugin-dir arguments
|
||||
PLUGIN_ARGS=()
|
||||
PLUGIN_LIST="${PROFILES[$PROFILE]}"
|
||||
|
||||
Reference in New Issue
Block a user