From 6600ac587906dbe231cd519144112a43dd38798b Mon Sep 17 00:00:00 2001 From: codejunkie99 Date: Sat, 26 Sep 2026 01:56:36 +0530 Subject: [PATCH] fix Claude plugin directory packaging --- .claude-plugin/marketplace.json | 21 +++++++++++++++++++ .../claude-plugin/.claude-plugin/plugin.json | 19 +++++++++++++++++ packages/claude-plugin/install.sh | 16 ++------------ packages/claude-plugin/plugin.json | 2 +- 4 files changed, 43 insertions(+), 15 deletions(-) create mode 100644 .claude-plugin/marketplace.json create mode 100644 packages/claude-plugin/.claude-plugin/plugin.json diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json new file mode 100644 index 0000000..7f454a4 --- /dev/null +++ b/.claude-plugin/marketplace.json @@ -0,0 +1,21 @@ +{ + "$schema": "https://anthropic.com/claude-code/marketplace.schema.json", + "name": "gateflow-cli", + "description": "Claude Code plugins for the GateFlow SystemVerilog development environment.", + "owner": { + "name": "codejunkie99", + "github": "https://github.com/codejunkie99" + }, + "plugins": [ + { + "name": "gateflow", + "description": "AI-powered SystemVerilog development toolkit with verification workflows, project mapping, waveform tools, and lint support.", + "version": "1.0.0", + "author": { + "name": "GateFlow Team" + }, + "source": "./packages/claude-plugin", + "category": "development" + } + ] +} diff --git a/packages/claude-plugin/.claude-plugin/plugin.json b/packages/claude-plugin/.claude-plugin/plugin.json new file mode 100644 index 0000000..6f44e4f --- /dev/null +++ b/packages/claude-plugin/.claude-plugin/plugin.json @@ -0,0 +1,19 @@ +{ + "name": "gateflow", + "description": "AI-powered SystemVerilog development toolkit with verification engineer and RTL developer personas, parallel codebase mapping, ASCII waveform visualization, and automated lint workflows", + "version": "1.0.0", + "author": { + "name": "GateFlow Team" + }, + "homepage": "https://github.com/codejunkie99/gateflow-cli", + "repository": "https://github.com/codejunkie99/gateflow-cli", + "license": "BSL-1.1", + "keywords": [ + "systemverilog", "verilog", "hdl", "verification", "rtl", + "fpga", "asic", "testbench", "simulation", "waveform", "hardware" + ], + "commands": "./commands", + "agents": "./agents", + "skills": "./skills", + "hooks": "./hooks/hooks.json" +} diff --git a/packages/claude-plugin/install.sh b/packages/claude-plugin/install.sh index fec165c..2a63891 100755 --- a/packages/claude-plugin/install.sh +++ b/packages/claude-plugin/install.sh @@ -1,7 +1,7 @@ #!/bin/bash # # GateFlow Plugin Installer -# Usage: curl -fsSL https://raw.githubusercontent.com/your-org/gateflow-cli/main/packages/claude-plugin/install.sh | bash +# Usage: curl -fsSL https://raw.githubusercontent.com/codejunkie99/gateflow-cli/main/packages/claude-plugin/install.sh | bash # set -e @@ -97,7 +97,7 @@ if [ -d "$GATEFLOW_CLI_DIR" ]; then else echo "Cloning GateFlow CLI..." mkdir -p "$(dirname "$GATEFLOW_CLI_DIR")" - git clone --quiet https://github.com/your-org/gateflow-cli.git "$GATEFLOW_CLI_DIR" + git clone --quiet https://github.com/codejunkie99/gateflow-cli.git "$GATEFLOW_CLI_DIR" cd "$GATEFLOW_CLI_DIR" fi @@ -116,18 +116,6 @@ fi cp -r "$GATEFLOW_CLI_DIR/packages/claude-plugin" "$PLUGIN_DIR" -# Create environment config -echo "Configuring plugin..." -cat > "$PLUGIN_DIR/.env" << EOF -GATEFLOW_CLI_PATH=$GATEFLOW_CLI_DIR -EOF - -# Update plugin.json with correct path -if command -v sed &> /dev/null; then - sed -i.bak "s|\${GATEFLOW_CLI_PATH}|$GATEFLOW_CLI_DIR|g" "$PLUGIN_DIR/.claude-plugin/plugin.json" 2>/dev/null || true - rm -f "$PLUGIN_DIR/.claude-plugin/plugin.json.bak" 2>/dev/null || true -fi - echo "" echo -e "${GREEN}════════════════════════════════════════════════════════════════════${NC}" echo -e "${GREEN} Installation Complete!${NC}" diff --git a/packages/claude-plugin/plugin.json b/packages/claude-plugin/plugin.json index 50059a7..6f44e4f 100644 --- a/packages/claude-plugin/plugin.json +++ b/packages/claude-plugin/plugin.json @@ -7,7 +7,7 @@ }, "homepage": "https://github.com/codejunkie99/gateflow-cli", "repository": "https://github.com/codejunkie99/gateflow-cli", - "license": "MIT", + "license": "BSL-1.1", "keywords": [ "systemverilog", "verilog", "hdl", "verification", "rtl", "fpga", "asic", "testbench", "simulation", "waveform", "hardware"