specweave 1.0.321 → 1.0.324

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": "specweave",
3
- "version": "1.0.225",
3
+ "version": "1.0.323",
4
4
  "description": "SpecWeave - Spec-Driven Development Framework. PM-led planning, intelligent model selection, living documentation, multi-tool support.",
5
5
  "owner": {
6
6
  "name": "Anton Abyzov",
@@ -12,7 +12,7 @@
12
12
  "description": "SpecWeave framework - increment lifecycle, living docs, PM-led planning",
13
13
  "source": "./plugins/specweave",
14
14
  "category": "development",
15
- "version": "1.0.225",
15
+ "version": "1.0.323",
16
16
  "author": {
17
17
  "name": "Anton Abyzov",
18
18
  "email": "anton.abyzov@gmail.com"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "specweave",
3
- "version": "1.0.321",
3
+ "version": "1.0.324",
4
4
  "description": "Spec-driven development framework for AI coding agents. Works with Claude Code, Codex, Antigravity, Cursor, Copilot & more. 100+ skills, 49 CLI commands, verified skill certification, autonomous execution, and living documentation.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -1,186 +0,0 @@
1
- #!/bin/bash
2
-
3
- # ╔══════════════════════════════════════════════════════════════════════════╗
4
- # ║ ⚠️ CAUTION: This script CLEARS ALL installed plugins! ⚠️ ║
5
- # ╠══════════════════════════════════════════════════════════════════════════╣
6
- # ║ ║
7
- # ║ This is a NUCLEAR OPTION for fixing corrupted plugin registries. ║
8
- # ║ It will: ║
9
- # ║ • REMOVE the SpecWeave marketplace registration ║
10
- # ║ • CLEAR the entire plugin registry (ALL plugins, not just SpecWeave!) ║
11
- # ║ • RE-INSTALL SpecWeave plugins from scratch ║
12
- # ║ ║
13
- # ║ USE THIS ONLY IF: ║
14
- # ║ • `specweave init .` keeps failing with marketplace errors ║
15
- # ║ • `/plugin list` shows corrupted/broken entries ║
16
- # ║ • You understand you'll lose ALL installed plugins ║
17
- # ║ ║
18
- # ║ SAFER ALTERNATIVES: ║
19
- # ║ • `/plugin install specweave` (install single plugin) ║
20
- # ║ • `specweave init .` (safe, non-destructive reinit) ║
21
- # ║ • Restart Claude Code (fixes most loading issues) ║
22
- # ║ ║
23
- # ╚══════════════════════════════════════════════════════════════════════════╝
24
- #
25
- # SpecWeave Marketplace Error Fix Script
26
- # Fixes the common "Plugin not found in marketplace" errors
27
- # Created: 2025-11-11
28
- # Updated: 2025-12-11 (v0.34.6) - Added confirmation prompt
29
-
30
- set -e
31
-
32
- # Function to print colored output
33
- print_success() { echo -e "\033[0;32m✓ $1\033[0m"; }
34
- print_error() { echo -e "\033[0;31m✗ $1\033[0m"; }
35
- print_info() { echo -e "\033[0;34mℹ $1\033[0m"; }
36
- print_warning() { echo -e "\033[0;33m⚠ $1\033[0m"; }
37
-
38
- echo ""
39
- echo "🔧 SpecWeave Marketplace Error Fix Script"
40
- echo "========================================="
41
- echo ""
42
- print_warning "WARNING: This script will CLEAR ALL installed plugins!"
43
- echo ""
44
- echo "This includes:"
45
- echo " • ALL SpecWeave plugins"
46
- echo " • ANY other plugins you've installed (Cursor, custom, etc.)"
47
- echo ""
48
- echo "Backups will be created, but you'll need to reinstall non-SpecWeave plugins."
49
- echo ""
50
-
51
- # Interactive confirmation
52
- read -p "Type 'I understand' to continue (or anything else to abort): " confirm
53
- if [ "$confirm" != "I understand" ]; then
54
- echo ""
55
- print_info "Aborted. No changes were made."
56
- echo ""
57
- echo "Safer alternatives:"
58
- echo " • /plugin install specweave (in Claude Code session)"
59
- echo " • specweave init . (safe, non-destructive)"
60
- echo " • Restart Claude Code"
61
- echo ""
62
- exit 0
63
- fi
64
-
65
- echo ""
66
- print_info "Proceeding with plugin registry reset..."
67
- echo ""
68
-
69
-
70
- # Check if Claude CLI is available
71
- if ! command -v claude &> /dev/null; then
72
- print_error "Claude CLI not found. Please install Claude Code first."
73
- exit 1
74
- fi
75
-
76
- print_info "Step 1: Removing existing marketplace registration..."
77
- claude plugin marketplace remove specweave 2>/dev/null || true
78
- print_success "Marketplace registration removed"
79
-
80
- print_info "Step 2: Cleaning up marketplace directory..."
81
- if [ -d "$HOME/.claude/plugins/marketplaces/specweave" ]; then
82
- rm -rf "$HOME/.claude/plugins/marketplaces/specweave"
83
- print_success "Marketplace directory cleaned"
84
- else
85
- print_info "No marketplace directory to clean"
86
- fi
87
-
88
- print_info "Step 3: Backing up plugin registry files..."
89
- if [ -f "$HOME/.claude/plugins/installed_plugins.json" ]; then
90
- cp "$HOME/.claude/plugins/installed_plugins.json" "$HOME/.claude/plugins/installed_plugins.json.backup.$(date +%Y%m%d_%H%M%S)"
91
- print_success "Backed up installed_plugins.json"
92
- fi
93
-
94
- if [ -f "$HOME/.claude/plugins/known_marketplaces.json" ]; then
95
- cp "$HOME/.claude/plugins/known_marketplaces.json" "$HOME/.claude/plugins/known_marketplaces.json.backup.$(date +%Y%m%d_%H%M%S)"
96
- print_success "Backed up known_marketplaces.json"
97
- fi
98
-
99
- print_info "Step 4: Clearing plugin registry..."
100
- echo '{"version": 1, "plugins": {}}' > "$HOME/.claude/plugins/installed_plugins.json"
101
- echo '{}' > "$HOME/.claude/plugins/known_marketplaces.json"
102
- print_success "Plugin registry cleared"
103
-
104
- print_info "Step 5: Re-registering SpecWeave marketplace from GitHub..."
105
- # CRITICAL: Use full HTTPS URL, NOT owner/repo format!
106
- # Claude CLI converts owner/repo to SSH URL which fails without SSH keys.
107
- claude plugin marketplace add https://github.com/anton-abyzov/specweave
108
- if [ $? -eq 0 ]; then
109
- print_success "Marketplace registered successfully"
110
- else
111
- print_error "Failed to register marketplace. Please check your internet connection and try again."
112
- exit 1
113
- fi
114
-
115
- print_info "Step 6: Installing SpecWeave plugins..."
116
- # IMPORTANT: Only list COMPLETE plugins (those with agents/, commands/, or lib/)
117
- # NEVER add plugins that only have skills/ directory - they will fail to load!
118
- plugins=(
119
- "specweave"
120
- "specweave-github"
121
- "specweave-jira"
122
- "specweave-ado"
123
- "specweave-kubernetes"
124
- "specweave-infrastructure"
125
- "specweave-backend"
126
- "specweave-payments"
127
- "specweave-ml"
128
- "specweave-diagrams"
129
- "specweave-docs"
130
- "specweave-release"
131
- "specweave-mobile"
132
- "specweave-kafka"
133
- "specweave-kafka-streams"
134
- "specweave-confluent"
135
- "specweave-n8n"
136
- )
137
-
138
- installed=0
139
- failed=0
140
-
141
- for plugin in "${plugins[@]}"; do
142
- echo -n " Installing $plugin... "
143
- if claude plugin install "$plugin" >/dev/null 2>&1; then
144
- print_success "OK"
145
- ((installed++))
146
- else
147
- print_error "Failed"
148
- ((failed++))
149
- fi
150
- done
151
-
152
- echo ""
153
- echo "========================================="
154
- print_success "Fix completed!"
155
- echo ""
156
- echo "Summary:"
157
- echo " • Plugins installed: $installed/${#plugins[@]}"
158
- if [ $failed -gt 0 ]; then
159
- print_warning " • Plugins failed: $failed"
160
- fi
161
-
162
- print_info "Step 7: Verifying installation..."
163
-
164
- # Check if core plugin exists
165
- if [ -f "$HOME/.claude/plugins/marketplaces/specweave/plugins/specweave/.claude-plugin/plugin.json" ]; then
166
- print_success "Core plugin manifest found"
167
- else
168
- print_error "Core plugin manifest not found"
169
- fi
170
-
171
- # Count installed plugins
172
- installed_count=$(cat "$HOME/.claude/plugins/installed_plugins.json" | grep -c '"specweave' || true)
173
- if [ $installed_count -gt 0 ]; then
174
- print_success "Found $installed_count SpecWeave plugins in registry"
175
- else
176
- print_error "No SpecWeave plugins found in registry"
177
- fi
178
-
179
- echo ""
180
- echo "========================================="
181
- print_info "Next steps:"
182
- echo " 1. Restart Claude Code (Cmd+R or Ctrl+R)"
183
- echo " 2. Try using a SpecWeave command (e.g., /sw:status)"
184
- echo " 3. If issues persist, run this script again"
185
- echo ""
186
- print_info "For more help, visit: https://github.com/anton-abyzov/specweave/issues"