claude-flow 2.0.0-alpha.81 → 2.0.0-alpha.82

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.
Files changed (75) hide show
  1. package/.claude/checkpoints/summary-session-20250731-143729.md +108 -0
  2. package/.claude/checkpoints/summary-session-20250731-145845.md +109 -0
  3. package/.claude/checkpoints/summary-session-20250731-150532.md +110 -0
  4. package/.claude/checkpoints/summary-session-20250731-153445.md +41 -0
  5. package/.claude/checkpoints/summary-session-20250731-162229.md +43 -0
  6. package/.claude/checkpoints/summary-session-20250731-162510.md +48 -0
  7. package/.claude/checkpoints/summary-session-20250731-163301.md +54 -0
  8. package/.claude/checkpoints/summary-session-20250731-163727.md +60 -0
  9. package/.claude/checkpoints/summary-session-20250731-164059.md +65 -0
  10. package/.claude/checkpoints/summary-session-20250731-164245.md +70 -0
  11. package/.claude/checkpoints/summary-session-20250731-164722.md +78 -0
  12. package/.claude/checkpoints/summary-session-20250731-164821.md +83 -0
  13. package/.claude/checkpoints/summary-session-20250731-165000.md +88 -0
  14. package/.claude/checkpoints/summary-session-20250731-191747.md +70 -0
  15. package/.claude/checkpoints/summary-session-20250731-192119.md +76 -0
  16. package/.claude/checkpoints/summary-session-20250731-192226.md +79 -0
  17. package/.claude/checkpoints/summary-session-20250731-192608.md +83 -0
  18. package/.claude/checkpoints/summary-session-20250731-192632.md +85 -0
  19. package/.claude/checkpoints/summary-session-20250731-192658.md +87 -0
  20. package/.claude/checkpoints/summary-session-20250731-192710.md +0 -0
  21. package/.claude/checkpoints/summary-session-20250731-192711.md +89 -0
  22. package/.claude/checkpoints/summary-session-20250731-192731.md +0 -0
  23. package/.claude/checkpoints/summary-session-20250731-192752.md +95 -0
  24. package/.claude/checkpoints/summary-session-20250731-192810.md +94 -0
  25. package/.claude/checkpoints/summary-session-20250731-192839.md +96 -0
  26. package/.claude/checkpoints/summary-session-20250731-192900.md +97 -0
  27. package/.claude/checkpoints/summary-session-20250731-192913.md +98 -0
  28. package/.claude/checkpoints/summary-session-20250731-193017.md +100 -0
  29. package/.claude/checkpoints/summary-session-20250731-193038.md +106 -0
  30. package/.claude/checkpoints/summary-session-20250731-193043.md +102 -0
  31. package/.claude/checkpoints/summary-session-20250731-193115.md +0 -0
  32. package/.claude/checkpoints/summary-session-20250731-193121.md +105 -0
  33. package/.claude/checkpoints/summary-session-20250731-193124.md +108 -0
  34. package/.claude/checkpoints/summary-session-20250731-193231.md +108 -0
  35. package/.claude/checkpoints/summary-session-20250731-193748.md +112 -0
  36. package/.claude/checkpoints/summary-session-20250731-194208.md +126 -0
  37. package/.claude/checkpoints/summary-session-20250731-194343.md +129 -0
  38. package/.claude/checkpoints/task-1753978885.json +7 -0
  39. package/.claude/checkpoints/task-1753979030.json +7 -0
  40. package/.claude/checkpoints/task-1753979159.json +7 -0
  41. package/.claude/checkpoints/task-1753979667.json +7 -0
  42. package/.claude/checkpoints/task-1753979823.json +7 -0
  43. package/.claude/checkpoints/task-1753980048.json +7 -0
  44. package/.claude/checkpoints/task-1753980144.json +7 -0
  45. package/.claude/checkpoints/task-1753980195.json +7 -0
  46. package/.claude/checkpoints/task-1753980418.json +7 -0
  47. package/.claude/checkpoints/task-1753980464.json +7 -0
  48. package/.claude/checkpoints/task-1753980570.json +7 -0
  49. package/.claude/checkpoints/task-1753989347.json +7 -0
  50. package/.claude/checkpoints/task-1753989565.json +7 -0
  51. package/.claude/checkpoints/task-1753989862.json +7 -0
  52. package/.claude/checkpoints/task-1753989875.json +7 -0
  53. package/.claude/checkpoints/task-1753990005.json +7 -0
  54. package/.claude/checkpoints/task-1753990081.json +7 -0
  55. package/.claude/checkpoints/task-1753990201.json +7 -0
  56. package/.claude/checkpoints/task-1753990251.json +7 -0
  57. package/.claude/checkpoints/task-1753990417.json +7 -0
  58. package/.claude/checkpoints/task-1753990715.json +7 -0
  59. package/.claude/checkpoints/task-1753990753.json +7 -0
  60. package/.claude/checkpoints/task-1753990966.json +7 -0
  61. package/.claude/checkpoints/task-1753991048.json +7 -0
  62. package/.claude/checkpoints/task-1753991287.json +7 -0
  63. package/.claude/helpers/checkpoint-manager.sh +2 -250
  64. package/.claude/settings.json +58 -14
  65. package/bin/claude-flow +1 -1
  66. package/bin/claude-flow.js +1 -1
  67. package/package.json +1 -1
  68. package/src/cli/help-text.js +4 -4
  69. package/src/cli/index-remote.ts +1 -1
  70. package/src/cli/index.ts +1 -1
  71. package/src/cli/simple-cli.js +3 -2
  72. package/src/cli/simple-cli.ts +1 -1
  73. package/src/cli/simple-commands/github/init.js +4 -4
  74. package/src/cli/simple-commands/process-ui-enhanced.js +1 -1
  75. package/src/cli/simple-commands/status.js +1 -1
@@ -0,0 +1,7 @@
1
+ {
2
+ "checkpoint": "task-20250731-193834",
3
+ "task": "{{user_prompt}} ",
4
+ "timestamp": "2025-07-31T19:38:35Z",
5
+ "commit": "8c4b4af1fc75eff831d65750996794aec9a83b47",
6
+ "github_release": "true"
7
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "checkpoint": "task-20250731-193912",
3
+ "task": "{{user_prompt}} ",
4
+ "timestamp": "2025-07-31T19:39:13Z",
5
+ "commit": "4409b0fd6096ea79941eb69510381d353fcd5dea",
6
+ "github_release": "true"
7
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "checkpoint": "task-20250731-194245",
3
+ "task": "{{user_prompt}} ",
4
+ "timestamp": "2025-07-31T19:42:46Z",
5
+ "commit": "ad9cbb43f638d56d65640ad35ccd4bd9da59a9f2",
6
+ "github_release": "true"
7
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "checkpoint": "task-20250731-194407",
3
+ "task": "{{user_prompt}} ",
4
+ "timestamp": "2025-07-31T19:44:08Z",
5
+ "commit": "8fae62493538ad1df0bec12eee321f6badc8a66d",
6
+ "github_release": "true"
7
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "checkpoint": "task-20250731-194807",
3
+ "task": "{{user_prompt}} ",
4
+ "timestamp": "2025-07-31T19:48:07Z",
5
+ "commit": "d7aed33d1724904678ef01097d32e80239b5a8bb",
6
+ "github_release": "true"
7
+ }
@@ -1,251 +1,3 @@
1
1
  #!/bin/bash
2
- # Claude Checkpoint Manager
3
- # Provides easy rollback and management of Claude Code checkpoints
4
-
5
- set -e
6
-
7
- # Colors
8
- RED='\033[0;31m'
9
- GREEN='\033[0;32m'
10
- YELLOW='\033[1;33m'
11
- BLUE='\033[0;34m'
12
- NC='\033[0m' # No Color
13
-
14
- # Configuration
15
- CHECKPOINT_DIR=".claude/checkpoints"
16
- BACKUP_DIR=".claude/backups"
17
-
18
- # Help function
19
- show_help() {
20
- cat << EOF
21
- Claude Checkpoint Manager
22
- ========================
23
-
24
- Usage: $0 <command> [options]
25
-
26
- Commands:
27
- list List all checkpoints
28
- show <id> Show details of a specific checkpoint
29
- rollback <id> Rollback to a specific checkpoint
30
- diff <id> Show diff since checkpoint
31
- clean Clean old checkpoints (older than 7 days)
32
- summary Show session summary
33
-
34
- Options:
35
- --hard For rollback: use git reset --hard (destructive)
36
- --soft For rollback: use git reset --soft (default)
37
- --branch For rollback: create new branch from checkpoint
38
-
39
- Examples:
40
- $0 list
41
- $0 show checkpoint-20240130-143022
42
- $0 rollback checkpoint-20240130-143022 --branch
43
- $0 diff session-end-session-20240130-150000
44
- EOF
45
- }
46
-
47
- # List all checkpoints
48
- function list_checkpoints() {
49
- echo -e "${BLUE}📋 Available Checkpoints:${NC}"
50
- echo ""
51
-
52
- # List checkpoint tags
53
- echo -e "${YELLOW}Git Tags:${NC}"
54
- local tags=$(git tag -l 'checkpoint-*' -l 'session-end-*' -l 'task-*' --sort=-creatordate | head -20)
55
- if [ -n "$tags" ]; then
56
- echo "$tags"
57
- else
58
- echo "No checkpoint tags found"
59
- fi
60
-
61
- echo ""
62
-
63
- # List checkpoint branches
64
- echo -e "${YELLOW}Checkpoint Branches:${NC}"
65
- local branches=$(git branch -a | grep "checkpoint/" | sed 's/^[ *]*//')
66
- if [ -n "$branches" ]; then
67
- echo "$branches"
68
- else
69
- echo "No checkpoint branches found"
70
- fi
71
-
72
- echo ""
73
-
74
- # List checkpoint files
75
- if [ -d "$CHECKPOINT_DIR" ]; then
76
- echo -e "${YELLOW}Recent Checkpoint Files:${NC}"
77
- find "$CHECKPOINT_DIR" -name "*.json" -type f -printf "%T@ %p\n" | \
78
- sort -rn | head -10 | cut -d' ' -f2- | xargs -I {} basename {}
79
- fi
80
- }
81
-
82
- # Show checkpoint details
83
- function show_checkpoint() {
84
- local checkpoint_id="$1"
85
-
86
- echo -e "${BLUE}📍 Checkpoint Details: $checkpoint_id${NC}"
87
- echo ""
88
-
89
- # Check if it's a tag
90
- if git tag -l "$checkpoint_id" | grep -q "$checkpoint_id"; then
91
- echo -e "${YELLOW}Type:${NC} Git Tag"
92
- echo -e "${YELLOW}Commit:${NC} $(git rev-list -n 1 "$checkpoint_id")"
93
- echo -e "${YELLOW}Date:${NC} $(git log -1 --format=%ai "$checkpoint_id")"
94
- echo -e "${YELLOW}Message:${NC}"
95
- git log -1 --format=%B "$checkpoint_id" | sed 's/^/ /'
96
- echo ""
97
- echo -e "${YELLOW}Files changed:${NC}"
98
- git diff-tree --no-commit-id --name-status -r "$checkpoint_id" | sed 's/^/ /'
99
- # Check if it's a branch
100
- elif git branch -a | grep -q "$checkpoint_id"; then
101
- echo -e "${YELLOW}Type:${NC} Git Branch"
102
- echo -e "${YELLOW}Latest commit:${NC}"
103
- git log -1 --oneline "$checkpoint_id"
104
- else
105
- echo -e "${RED}❌ Checkpoint not found: $checkpoint_id${NC}"
106
- exit 1
107
- fi
108
- }
109
-
110
- # Rollback to checkpoint
111
- function rollback_checkpoint() {
112
- local checkpoint_id="$1"
113
- local mode="$2"
114
-
115
- echo -e "${YELLOW}🔄 Rolling back to checkpoint: $checkpoint_id${NC}"
116
- echo ""
117
-
118
- # Verify checkpoint exists
119
- if ! git tag -l "$checkpoint_id" | grep -q "$checkpoint_id" && \
120
- ! git branch -a | grep -q "$checkpoint_id"; then
121
- echo -e "${RED}❌ Checkpoint not found: $checkpoint_id${NC}"
122
- exit 1
123
- fi
124
-
125
- # Create backup before rollback
126
- local backup_name="backup-$(date +%Y%m%d-%H%M%S)"
127
- echo "Creating backup: $backup_name"
128
- git tag "$backup_name" -m "Backup before rollback to $checkpoint_id"
129
-
130
- case "$mode" in
131
- "--hard")
132
- echo -e "${RED}⚠️ Performing hard reset (destructive)${NC}"
133
- git reset --hard "$checkpoint_id"
134
- echo -e "${GREEN}✅ Rolled back to $checkpoint_id (hard reset)${NC}"
135
- ;;
136
- "--branch")
137
- local branch_name="rollback-$checkpoint_id-$(date +%Y%m%d-%H%M%S)"
138
- echo "Creating new branch: $branch_name"
139
- git checkout -b "$branch_name" "$checkpoint_id"
140
- echo -e "${GREEN}✅ Created branch $branch_name from $checkpoint_id${NC}"
141
- ;;
142
- "--stash"|*)
143
- echo "Stashing current changes..."
144
- git stash push -m "Stash before rollback to $checkpoint_id"
145
- git reset --soft "$checkpoint_id"
146
- echo -e "${GREEN}✅ Rolled back to $checkpoint_id (soft reset)${NC}"
147
- echo "Your changes are stashed. Use 'git stash pop' to restore them."
148
- ;;
149
- esac
150
- }
151
-
152
- # Show diff since checkpoint
153
- function diff_checkpoint() {
154
- local checkpoint_id="$1"
155
-
156
- echo -e "${BLUE}📊 Changes since checkpoint: $checkpoint_id${NC}"
157
- echo ""
158
-
159
- if git tag -l "$checkpoint_id" | grep -q "$checkpoint_id"; then
160
- git diff "$checkpoint_id"
161
- elif git branch -a | grep -q "$checkpoint_id"; then
162
- git diff "$checkpoint_id"
163
- else
164
- echo -e "${RED}❌ Checkpoint not found: $checkpoint_id${NC}"
165
- exit 1
166
- fi
167
- }
168
-
169
- # Clean old checkpoints
170
- function clean_checkpoints() {
171
- local days=${1:-7}
172
-
173
- echo -e "${YELLOW}🧹 Cleaning checkpoints older than $days days...${NC}"
174
- echo ""
175
-
176
- # Clean old checkpoint files
177
- if [ -d "$CHECKPOINT_DIR" ]; then
178
- find "$CHECKPOINT_DIR" -name "*.json" -type f -mtime +$days -delete
179
- echo "✅ Cleaned old checkpoint files"
180
- fi
181
-
182
- # List old tags (but don't delete automatically)
183
- echo ""
184
- echo "Old checkpoint tags (manual deletion required):"
185
- git tag -l 'checkpoint-*' --sort=-creatordate | tail -n +50 || echo "No old tags found"
186
- }
187
-
188
- # Show session summary
189
- function show_summary() {
190
- echo -e "${BLUE}📊 Session Summary${NC}"
191
- echo ""
192
-
193
- # Find most recent session summary
194
- if [ -d "$CHECKPOINT_DIR" ]; then
195
- local latest_summary=$(find "$CHECKPOINT_DIR" -name "summary-*.md" -type f -printf "%T@ %p\n" | \
196
- sort -rn | head -1 | cut -d' ' -f2-)
197
-
198
- if [ -n "$latest_summary" ]; then
199
- echo -e "${YELLOW}Latest session summary:${NC}"
200
- cat "$latest_summary"
201
- else
202
- echo "No session summaries found"
203
- fi
204
- fi
205
- }
206
-
207
- # Main command handling
208
- case "$1" in
209
- list)
210
- list_checkpoints
211
- ;;
212
- show)
213
- if [ -z "$2" ]; then
214
- echo -e "${RED}Error: Please specify a checkpoint ID${NC}"
215
- show_help
216
- exit 1
217
- fi
218
- show_checkpoint "$2"
219
- ;;
220
- rollback)
221
- if [ -z "$2" ]; then
222
- echo -e "${RED}Error: Please specify a checkpoint ID${NC}"
223
- show_help
224
- exit 1
225
- fi
226
- rollback_checkpoint "$2" "$3"
227
- ;;
228
- diff)
229
- if [ -z "$2" ]; then
230
- echo -e "${RED}Error: Please specify a checkpoint ID${NC}"
231
- show_help
232
- exit 1
233
- fi
234
- diff_checkpoint "$2"
235
- ;;
236
- clean)
237
- clean_checkpoints "$2"
238
- ;;
239
- summary)
240
- show_summary
241
- ;;
242
- help|--help|-h)
243
- show_help
244
- ;;
245
- *)
246
- echo -e "${RED}Error: Unknown command: $1${NC}"
247
- echo ""
248
- show_help
249
- exit 1
250
- ;;
251
- esac
2
+ # Checkpoint manager for Claude Flow
3
+ # Use github-checkpoint-hooks.sh for checkpoint operations
@@ -5,7 +5,9 @@
5
5
  "CLAUDE_FLOW_HOOKS_ENABLED": "true",
6
6
  "CLAUDE_FLOW_TELEMETRY_ENABLED": "true",
7
7
  "CLAUDE_FLOW_REMOTE_EXECUTION": "true",
8
- "CLAUDE_FLOW_GITHUB_INTEGRATION": "true"
8
+ "CLAUDE_FLOW_GITHUB_INTEGRATION": "true",
9
+ "CLAUDE_FLOW_CHECKPOINTS_ENABLED": "true",
10
+ "CREATE_GH_RELEASE": "true"
9
11
  },
10
12
  "permissions": {
11
13
  "allow": [
@@ -20,11 +22,32 @@
20
22
  "Bash(git commit *)",
21
23
  "Bash(git push)",
22
24
  "Bash(git config *)",
25
+ "Bash(git tag *)",
26
+ "Bash(git branch *)",
27
+ "Bash(git checkout *)",
28
+ "Bash(git stash *)",
29
+ "Bash(git reset *)",
30
+ "Bash(git rev-parse *)",
31
+ "Bash(git ls-files *)",
23
32
  "Bash(gh *)",
24
33
  "Bash(node *)",
25
34
  "Bash(which *)",
26
35
  "Bash(pwd)",
27
- "Bash(ls *)"
36
+ "Bash(ls *)",
37
+ "Bash(jq *)",
38
+ "Bash(test *)",
39
+ "Bash(find *)",
40
+ "Bash(grep *)",
41
+ "Bash(sed *)",
42
+ "Bash(awk *)",
43
+ "Bash(curl *)",
44
+ "Bash(mkdir *)",
45
+ "Bash(cd *)",
46
+ "Bash(cat *)",
47
+ "Bash(echo *)",
48
+ "Bash(npx claude-flow@alpha *)",
49
+ "Bash(./claude-flow *)",
50
+ "Bash(./.claude/helpers/*)"
28
51
  ],
29
52
  "deny": [
30
53
  "Bash(rm -rf /)",
@@ -50,6 +73,10 @@
50
73
  {
51
74
  "type": "command",
52
75
  "command": "cat | jq -r '.tool_input.file_path // .tool_input.path // empty' | tr '\\n' '\\0' | xargs -0 -I {} npx claude-flow@alpha hooks pre-edit --file '{}' --auto-assign-agents true --load-context true"
76
+ },
77
+ {
78
+ "type": "command",
79
+ "command": "bash .claude/helpers/github-checkpoint-hooks.sh pre-edit \"{{tool_input}}\""
53
80
  }
54
81
  ]
55
82
  }
@@ -70,45 +97,62 @@
70
97
  {
71
98
  "type": "command",
72
99
  "command": "cat | jq -r '.tool_input.file_path // .tool_input.path // empty' | tr '\\n' '\\0' | xargs -0 -I {} npx claude-flow@alpha hooks post-edit --file '{}' --format true --update-memory true"
100
+ },
101
+ {
102
+ "type": "command",
103
+ "command": "bash .claude/helpers/github-checkpoint-hooks.sh post-edit \"{{tool_input}}\""
73
104
  }
74
105
  ]
75
106
  }
76
107
  ],
77
- "PreCompact": [
108
+ "UserPromptSubmit": [
78
109
  {
79
- "matcher": "manual",
80
110
  "hooks": [
81
111
  {
82
112
  "type": "command",
83
- "command": "/bin/bash -c 'INPUT=$(cat); CUSTOM=$(echo \"$INPUT\" | jq -r \".custom_instructions // \\\"\\\"\"); echo \"🔄 PreCompact Guidance:\"; echo \"📋 IMPORTANT: Review CLAUDE.md in project root for:\"; echo \" • 54 available agents and concurrent usage patterns\"; echo \" • Swarm coordination strategies (hierarchical, mesh, adaptive)\"; echo \" • SPARC methodology workflows with batchtools optimization\"; echo \" • Critical concurrent execution rules (GOLDEN RULE: 1 MESSAGE = ALL OPERATIONS)\"; if [ -n \"$CUSTOM\" ]; then echo \"🎯 Custom compact instructions: $CUSTOM\"; fi; echo \"✅ Ready for compact operation\"'"
113
+ "command": "bash .claude/helpers/github-checkpoint-hooks.sh task \"{{user_prompt}}\""
84
114
  }
85
115
  ]
86
- },
116
+ }
117
+ ],
118
+ "Stop": [
87
119
  {
88
- "matcher": "auto",
89
120
  "hooks": [
90
121
  {
91
122
  "type": "command",
92
- "command": "/bin/bash -c 'echo \"🔄 Auto-Compact Guidance (Context Window Full):\"; echo \"📋 CRITICAL: Before compacting, ensure you understand:\"; echo \" • All 54 agents available in .claude/agents/ directory\"; echo \" • Concurrent execution patterns from CLAUDE.md\"; echo \" • Batchtools optimization for 300% performance gains\"; echo \" • Swarm coordination strategies for complex tasks\"; echo \"⚡ Apply GOLDEN RULE: Always batch operations in single messages\"; echo \"✅ Auto-compact proceeding with full agent context\"'"
123
+ "command": "npx claude-flow@alpha hooks session-end --generate-summary true --persist-state true --export-metrics true"
124
+ },
125
+ {
126
+ "type": "command",
127
+ "command": "bash .claude/helpers/github-checkpoint-hooks.sh session-end"
93
128
  }
94
129
  ]
95
130
  }
96
131
  ],
97
- "Stop": [
132
+ "PreCompact": [
98
133
  {
134
+ "matcher": "manual",
99
135
  "hooks": [
100
136
  {
101
137
  "type": "command",
102
- "command": "/usr/bin/env bash -c 'if command -v npx >/dev/null 2>&1; then npx claude-flow@alpha hooks session-end --generate-summary true --persist-state true --export-metrics true; else echo \"⚠️ npx not available, skipping Claude Flow session-end hook\"; fi'"
103
- },
138
+ "command": "/bin/bash -c 'INPUT=$(cat); CUSTOM=$(echo \"$INPUT\" | jq -r \".custom_instructions // \"\"\"); echo \"🔄 PreCompact Guidance:\"; echo \"📋 IMPORTANT: Review CLAUDE.md in project root for:\"; echo \" • 54 available agents and concurrent usage patterns\"; echo \" Swarm coordination strategies (hierarchical, mesh, adaptive)\"; echo \" • SPARC methodology workflows with batchtools optimization\"; echo \" • Critical concurrent execution rules (GOLDEN RULE: 1 MESSAGE = ALL OPERATIONS)\"; if [ -n \"$CUSTOM\" ]; then echo \"🎯 Custom compact instructions: $CUSTOM\"; fi; echo \"✅ Ready for compact operation\"'"
139
+ }
140
+ ]
141
+ },
142
+ {
143
+ "matcher": "auto",
144
+ "hooks": [
104
145
  {
105
146
  "type": "command",
106
- "command": "/usr/bin/env bash -c 'if [ -f ./.claude/helpers/standard-checkpoint-hooks.sh ]; then ./.claude/helpers/standard-checkpoint-hooks.sh session-end; else echo \"⚠️ Checkpoint hooks not found\"; fi'"
147
+ "command": "/bin/bash -c 'echo \"🔄 Auto-Compact Guidance (Context Window Full):\"; echo \"📋 CRITICAL: Before compacting, ensure you understand:\"; echo \" • All 54 agents available in .claude/agents/ directory\"; echo \" • Concurrent execution patterns from CLAUDE.md\"; echo \" • Batchtools optimization for 300% performance gains\"; echo \" • Swarm coordination strategies for complex tasks\"; echo \" Apply GOLDEN RULE: Always batch operations in single messages\"; echo \"✅ Auto-compact proceeding with full agent context\"'"
107
148
  }
108
149
  ]
109
150
  }
110
151
  ]
111
152
  },
112
153
  "includeCoAuthoredBy": true,
113
- "enabledMcpjsonServers": ["claude-flow", "ruv-swarm"]
114
- }
154
+ "enabledMcpjsonServers": [
155
+ "claude-flow",
156
+ "ruv-swarm"
157
+ ]
158
+ }
package/bin/claude-flow CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/bin/sh
2
2
  # Claude-Flow Smart Dispatcher - Detects and uses the best available runtime
3
3
 
4
- VERSION="2.0.0-alpha.81"
4
+ VERSION="2.0.0-alpha.82"
5
5
 
6
6
  # Determine the correct path based on how the script is invoked
7
7
  if [ -L "$0" ]; then
@@ -11,7 +11,7 @@ import { existsSync } from 'fs';
11
11
  import { spawn } from 'child_process';
12
12
  import process from 'process';
13
13
 
14
- const VERSION = "2.0.0-alpha.78";
14
+ const VERSION = "2.0.0-alpha.81";
15
15
 
16
16
  // Get script directory and root directory
17
17
  const __filename = fileURLToPath(import.meta.url);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-flow",
3
- "version": "2.0.0-alpha.81",
3
+ "version": "2.0.0-alpha.82",
4
4
  "description": "Enterprise-grade AI agent orchestration with ruv-swarm integration (Alpha Release)",
5
5
  "main": "cli.mjs",
6
6
  "bin": {
@@ -5,14 +5,14 @@
5
5
 
6
6
  import { HelpFormatter } from './help-formatter.js';
7
7
 
8
- export const VERSION = '2.0.0-alpha.80';
8
+ export const VERSION = '2.0.0-alpha.81';
9
9
 
10
10
  export const MAIN_HELP = `
11
11
  🌊 Claude-Flow v${VERSION} - Enterprise-Grade AI Agent Orchestration Platform
12
12
 
13
- 🎯 ENTERPRISE FEATURES: Complete ruv-swarm integration with 87 MCP tools, neural networking, and production-ready infrastructure
14
- 🐝 NEW: Pure Node.js implementation - No Deno dependency! TBench integration for AI agent benchmarking
15
- ⚡ ALPHA 80: GitHub-enhanced init with automatic checkpoint releases, separated standard/GitHub modes
13
+ 🎯 ENTERPRISE FEATURES: Complete ruv-swarm integration with 90+ MCP tools, neural networking, and production-ready infrastructure
14
+ 🐝 NEW: Claude Code 1.0.51+ full compatibility with enhanced hooks and batch processing
15
+ ⚡ ALPHA 81: Advanced concurrent execution patterns, TodoWrite batching optimization, separated MCP coordination
16
16
 
17
17
  USAGE:
18
18
  claude-flow <command> [options]
@@ -4,7 +4,7 @@
4
4
  * This version can be run directly from GitHub
5
5
  */
6
6
 
7
- const VERSION = '2.0.0-alpha.80';
7
+ const VERSION = '2.0.0-alpha.81';
8
8
 
9
9
  // Simple color functions
10
10
  const chalk = {
package/src/cli/index.ts CHANGED
@@ -27,7 +27,7 @@ import { startREPL } from './repl.js';
27
27
  import { CompletionGenerator } from './completion.js';
28
28
 
29
29
  // Version information
30
- const VERSION = '2.0.0-alpha.80';
30
+ const VERSION = '2.0.0-alpha.81';
31
31
  const BUILD_DATE = new Date().toISOString().split('T')[0];
32
32
 
33
33
  // Main CLI command
@@ -27,7 +27,7 @@ import process from 'process';
27
27
  import readline from 'readline';
28
28
  import { getMainHelp, getCommandHelp, getStandardizedCommandHelp } from './help-text.js';
29
29
 
30
- const VERSION = '2.0.0-alpha.80';
30
+ const VERSION = '2.0.0-alpha.81';
31
31
 
32
32
  function printHelp(plain = false) {
33
33
  console.log(getMainHelp(plain));
@@ -50,7 +50,8 @@ function printLegacyHelp() {
50
50
  console.log(`
51
51
  🌊 Claude-Flow v${VERSION} - Enterprise-Grade AI Agent Orchestration Platform
52
52
 
53
- 🎯 ENTERPRISE FEATURES: Complete ruv-swarm integration with 27 MCP tools, neural networking, and production-ready infrastructure
53
+ 🎯 ENTERPRISE FEATURES: Complete ruv-swarm integration with 90+ MCP tools, neural networking, and production-ready infrastructure
54
+ ⚡ ALPHA 81: Optimized for Claude Code 1.0.51+ with enhanced batch processing and concurrent execution
54
55
 
55
56
  USAGE:
56
57
  claude-flow <command> [options]
@@ -14,7 +14,7 @@ import {
14
14
  } from './command-registry.js';
15
15
  import { parseFlags } from './utils.js';
16
16
 
17
- const VERSION = '2.0.0-alpha.80';
17
+ const VERSION = '2.0.0-alpha.81';
18
18
 
19
19
  function printHelp() {
20
20
  console.log(`
@@ -326,7 +326,7 @@ async function createGitHubSettingsJson() {
326
326
  },
327
327
  {
328
328
  type: 'command',
329
- command: './.claude/helpers/github-checkpoint-hooks.sh pre-edit "{{tool_input}}"'
329
+ command: 'bash .claude/helpers/github-checkpoint-hooks.sh pre-edit "{{tool_input}}"'
330
330
  }
331
331
  ]
332
332
  }
@@ -350,7 +350,7 @@ async function createGitHubSettingsJson() {
350
350
  },
351
351
  {
352
352
  type: 'command',
353
- command: './.claude/helpers/github-checkpoint-hooks.sh post-edit "{{tool_input}}"'
353
+ command: 'bash .claude/helpers/github-checkpoint-hooks.sh post-edit "{{tool_input}}"'
354
354
  }
355
355
  ]
356
356
  }
@@ -360,7 +360,7 @@ async function createGitHubSettingsJson() {
360
360
  hooks: [
361
361
  {
362
362
  type: 'command',
363
- command: './.claude/helpers/github-checkpoint-hooks.sh task "{{user_prompt}}"'
363
+ command: 'bash .claude/helpers/github-checkpoint-hooks.sh task "{{user_prompt}}"'
364
364
  }
365
365
  ]
366
366
  }
@@ -374,7 +374,7 @@ async function createGitHubSettingsJson() {
374
374
  },
375
375
  {
376
376
  type: 'command',
377
- command: './.claude/helpers/github-checkpoint-hooks.sh session-end'
377
+ command: 'bash .claude/helpers/github-checkpoint-hooks.sh session-end'
378
378
  }
379
379
  ]
380
380
  }
@@ -1,4 +1,4 @@
1
- // process-ui-enhanced.js - Enhanced process management UI with multiple views - v2.0.0-alpha.80
1
+ // process-ui-enhanced.js - Enhanced process management UI with multiple views - v2.0.0-alpha.81
2
2
  import { printSuccess, printError, printWarning, printInfo } from '../utils.js';
3
3
  import { compat } from '../runtime-detector.js';
4
4
  import SwarmWebUIIntegration from './swarm-webui-integration.js';
@@ -19,7 +19,7 @@ export async function statusCommand(subArgs, flags) {
19
19
  async function getSystemStatus(verbose = false) {
20
20
  const status = {
21
21
  timestamp: Date.now(),
22
- version: '2.0.0-alpha.80',
22
+ version: '2.0.0-alpha.81',
23
23
  orchestrator: {
24
24
  running: false,
25
25
  uptime: 0,