Commit Graph
64 Commits
Author SHA1 Message Date
rUv 35b1c5b66c 🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/help-text.js 2025-08-12 15:36:36 +00:00
rUv f615822d10 🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/help-text.js 2025-08-12 15:35:42 +00:00
rUv 15aef3fdad 🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/help-text.js 2025-08-12 15:33:46 +00:00
rUv 748be25df0 🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/help-text.js 2025-08-12 15:33:03 +00:00
rUv ad7ff4488b 🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/help-text.js 2025-08-12 15:30:57 +00:00
rUv 3406237e46 🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/help-text.js 2025-08-12 15:11:52 +00:00
rUv c90451f662 🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/help-text.js 2025-08-12 15:10:58 +00:00
rUv ee06a0404c 🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/help-text.js 2025-08-12 14:29:33 +00:00
rUv cd87ff9509 🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/help-text.js 2025-08-12 14:28:53 +00:00
rUv 73c304627c 🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/help-text.js 2025-08-05 20:13:40 +00:00
rUv 17355296b5 🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/help-text.js 2025-08-05 20:13:32 +00:00
rUv 17fa5d4ec5 🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/help-text.js 2025-08-05 19:39:51 +00:00
rUv cf0571bce1 🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/help-text.js 2025-08-05 12:59:56 +00:00
rUv b5783a3b5c 🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/help-text.js 2025-08-03 12:56:54 +00:00
rUv 05864c66b4 🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/help-text.js 2025-08-03 12:56:46 +00:00
rUv 30f0768c95 🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/help-text.js 2025-08-03 12:56:01 +00:00
rUv fbb4dd2354 🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/help-text.js 2025-08-03 12:54:23 +00:00
rUv 338ae505a5 🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/help-text.js 2025-08-03 12:52:49 +00:00
rUv af6095d65f 🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/help-text.js 2025-08-03 12:52:23 +00:00
rUv 7a747a5004 🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/help-text.js 2025-08-03 12:51:12 +00:00
rUv 1b48606cad 🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/help-text.js 2025-08-03 12:49:39 +00:00
rUv 4154d89ae4 🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/help-text.js 2025-08-03 12:44:54 +00:00
rUv 70ce0cdf47 🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/help-text.js 2025-08-03 12:44:33 +00:00
rUv c96342a6fc 🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/help-text.js 2025-08-03 12:41:07 +00:00
rUv 31078ec374 🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/help-text.js 2025-08-03 12:40:49 +00:00
rUv 4c5aa9cce0 🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/help-text.js 2025-08-03 12:38:52 +00:00
rUv 3adf33ad91 🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/help-text.js 2025-08-03 12:36:05 +00:00
rUv be8024bf2f 🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/help-text.js 2025-08-03 12:35:55 +00:00
rUv 3c26bc6d6e 🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/help-text.js 2025-08-03 12:14:32 +00:00
rUv c1d483a36a 🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/help-text.js 2025-08-03 12:14:19 +00:00
rUv 54dccfe5c0 🏁 Session end checkpoint: session-20250731-202811 2025-07-31 20:28:13 +00:00
rUv 0285c48488 🏁 Session end checkpoint: session-20250731-193124 2025-07-31 19:41:05 +00:00
rUv 6f9d01421a 🏁 Session end checkpoint: session-20250730-220658 2025-07-30 22:07:00 +00:00
rUv 7d1ee3cd12 🔖 Task checkpoint: {{user_prompt}} ... 2025-07-30 22:05:32 +00:00
rUv 1dec74e9ac feat: Add real token usage tracking and analytics (v2.0.0-alpha.80)
- Implement real token usage tracking that integrates with Claude Code's OpenTelemetry metrics
- Add --monitoring flag to init command for easy setup
- Track actual API token consumption with cost calculations
- Support multiple data sources (OpenTelemetry, local metrics, project tracking)
- Generate detailed CSV reports with usage breakdown by agent type
- Provide smart optimization recommendations to reduce costs
- Update all version references to 2.0.0-alpha.80
- Update CLI help text to highlight monitoring features
- Add comprehensive documentation for token tracking setup

BREAKING CHANGE: Token usage analysis now shows real data instead of simulated metrics

Closes #80
2025-07-30 16:32:44 +00:00
rUv 74f3e792fa 🚀 Release: Alpha 79 - Pure Node.js Implementation
## Major Changes
- Removed Deno dependency completely (#521)
- Added Terminal Bench (TBench) integration
- Fixed headless/production mode support (#510)
- Improved stability and cross-platform compatibility

## Features
- Pure Node.js implementation
- TBench agent benchmarking support
- Enhanced error handling
- Better CI/CD compatibility

## Bug Fixes
- Fixed missing commander dependency
- Resolved GitHub CLI timeout issues (#514, #522)
- Addressed memory persistence concerns
- Improved TypeScript compilation

## Documentation
- Updated changelog with comprehensive history
- Added TBench integration guide
- Created alpha test reports
- Updated CLI help text

## Technical
- Package size: ~46.3MB
- Node.js 20+ required
- 87 MCP tools verified
- All SPARC modes functional
2025-07-30 14:07:51 +00:00
rUvandClaude 45a819dc3e 🚀 Alpha.78: Remove Legacy Deno Warnings & Clean SPARC Experience
## Key Improvements

### 🧹 **Removed Legacy Deno Warnings**
- Silently skip legacy slash command creation that required Deno
- No more "⚠️ Could not create Claude Code slash commands: Deno is not defined"
- Clean initialization experience without confusing error messages

### ✨ **Enhanced SPARC Integration**
- SPARC slash commands work perfectly with Node.js only
- All 17+ SPARC modes create successfully (/sparc-architect, /sparc-tdd, etc.)
- Legacy claude-flow slash commands deemed redundant since SPARC provides full functionality

### 📦 **Version Update to Alpha.78**
- Synchronized version across all files (package.json, bin scripts, help text)
- Updated help text to reflect Deno warning removal
- Clean user experience without technical debt warnings

## Technical Changes

### **Files Modified**
- `src/cli/simple-commands/init/index.js`: Silent error handling for legacy commands
- `src/cli/simple-commands/init/claude-commands/slash-commands.js`: Remove Deno warnings
- `package.json`, `bin/claude-flow*`, `src/cli/help-text.js`: Version bump to alpha.78

### **User Experience Impact**
- ✅ Clean initialization without warning messages
- ✅ All SPARC functionality works perfectly
- ✅ No Deno installation required
- ✅ Full Node.js compatibility maintained

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-28 22:30:24 +00:00
rUvandClaude d4636e65fe 🐛 Fix: Enhanced hooks pre-task exit with timeout protection
- Added timeout protection for ruv-swarm availability check (3s)
- Fallback to skip ruv-swarm hook if timeout occurs
- Force process exit with setTimeout to prevent hanging
- Handles npx remote execution scenarios properly

This addresses the hanging issue when running:
npx claude-flow@alpha hooks pre-task --description "task"

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-28 21:43:51 +00:00
rUvandClaude 18e4554baa 🐛 Fix: Hooks pre-task command not exiting properly
- Added process.exit() after task completion
- Properly close SQLite database connection to prevent hanging
- Ensures clean exit for both success and error cases

Fixes hanging process issue reported when running:
npx claude-flow@alpha hooks pre-task --description "task"

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-28 21:38:42 +00:00
a0b19d2c84 🚀 Alpha.75: Windows Compatibility Overhaul
- Comprehensive Windows CLI compatibility fixes from PR #483
- Cross-platform Node.js bin script replacing Unix shell script
- Fixed path normalization for Windows path handling
- Windows PowerShell support for installations
- Native dependencies moved to optionalDependencies
- Includes all alpha.74 fixes (SQLite & async/await)

Co-authored-by: alexx-ftw <alex@example.com>

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-28 19:19:32 +00:00
rUvandClaude 48911d6e11 🚀 Alpha.74: SQLite & Async/Await Fixes
✅ TECHNICAL FIXES
- Fixed SQLite loading in sqlite-wrapper.js - now properly loads better-sqlite3
- Fixed async/await in hive-mind sessions command - no more forEach errors
- Fixed async/await in session-manager getActiveSessionsWithProcessInfo
- Reordered SQLite loading to try CommonJS require first (more reliable)

🔧 VERSION UPDATES
- package.json: 2.0.0-alpha.74
- bin/claude-flow: 2.0.0-alpha.74
- src/cli/help-text.js: 2.0.0-alpha.74
- Updated help text to reflect alpha.74 fixes

🐛 BUGS FIXED
- 'sessions.forEach is not a function' error resolved
- SQLite not available fallback fixed - now properly uses persistent storage
- Hive-mind sessions command now displays all active sessions correctly

🎯 Key Achievement: Hive-mind persistence and reliability improvements

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-28 18:59:08 +00:00
rUvandClaude 404a16bd30 🚀 Alpha.73: Complete 64-Agent System Implementation
✅ AGENT SYSTEM FULLY WORKING
- Fixed agent copying in init process - all 64 agents now created
- Moved agent setup to end of init function where execution is guaranteed
- Fixed variable scope issues (initDryRun -> dryRun, initForce -> force)
- Agent system validation with health checking and category verification

🔧 TECHNICAL IMPROVEMENTS
- Updated version to alpha.73 across all components (bin, help-text, package.json)
- Enhanced help text to reflect current alpha.73 features
- Agent source path resolution with multi-path fallback
- Complete directory structure validation (27 directories, 64 agent files)

📋 COMPLETE AGENT CATEGORIES (64 total)
- Core Development: coder, planner, researcher, reviewer, tester
- Swarm Coordination: hierarchical, mesh, adaptive coordinators
- Hive-Mind Intelligence: collective intelligence, consensus, memory management
- Consensus Systems: Byzantine, Raft, Gossip, CRDT, Security, Quorum, Performance
- Performance Optimization: monitoring, load balancing, topology, resources
- GitHub Integration: 13 agents for complete workflow automation
- SPARC Methodology: specification, pseudocode, architecture, refinement
- Testing: TDD London School, production validation
- Specialized Development: templates, backend, mobile, ML, CI/CD, docs
- Architecture & Analysis: system design, code quality analysis

🚀 VERIFIED WORKING
- Init creates complete .claude/agents/ directory structure
- All 64 agent files properly copied from source
- Agent system validation passes with 16 categories
- Published to npm as claude-flow@2.0.0-alpha.73

🎯 Key Achievement: Agent copying issue resolved - the primary goal of this release

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-25 22:05:57 +00:00
rUvandClaude 8a50210e10 fix: resolve hook quote handling causing "Unterminated quoted string" errors
- Replace complex printf/nested quotes with reliable cat < /dev/null | jq|tr|xargs pipeline
- Use 'jq -r ".field // empty"' instead of problematic '.field // ""' syntax
- Fix both init template and current settings.json files
- Update version to 2.0.0-alpha.70
- All hook types now work without shell syntax errors

Fixes #443

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-22 16:07:15 +00:00
rUvandClaude d3303eea1a chore: Release v2.0.0-alpha.67 - Hive Mind Enhancement & Claude Code Compatibility
- Fixed settings.json validation errors for Claude Code compatibility
- Removed unrecognized fields (checkpoints, memory, neural, github, optimization)
- Corrected hook names to match Claude Code 1.0.51+ format
- Updated version references across all files
- Created GitHub issue #440 for release tracking

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-21 15:27:30 +00:00
rUvandClaude 2a3ad3dc5e chore: Release v2.0.0-alpha.66
- Fixed hooks pre-command toLowerCase error when command is empty/non-string
- Added ARM64 macOS compatibility for better-sqlite3 (#378)
- Enhanced postinstall script with automatic SQLite binding rebuild
- Improved error handling and user feedback
- Updated all version references to alpha.66

Bug Fixes:
- Handle empty commands gracefully in hooks
- Add type checking before calling toLowerCase()
- Better boolean parameter parsing

Features:
- Automatic detection of Apple Silicon Macs
- SQLite binding verification and rebuild
- Graceful fallback to in-memory storage

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-20 17:45:43 +00:00
rUvandClaude fea1a162c9 chore: Prepare alpha.65 release
- Updated version to 2.0.0-alpha.65
- Fixed database schema issue (#403)
- Updated CHANGELOG with release notes
- Fixed critical TypeScript build errors

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-20 15:39:01 +00:00
rUvandClaude cf995c96b8 fix: Update wrapper script to use @alpha tag instead of hardcoded version
- Fixed claude-flow wrapper hardcoded to alpha.27
- Now uses @alpha tag to always get latest alpha version
- Updated version to 2.0.0-alpha.64
- Updated CHANGELOG with alpha-63 and alpha-64 entries

This ensures ./claude-flow wrapper always uses the most recent alpha release

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-18 21:33:21 +00:00
rUvandClaude 8006476095 feat: Update .claude/commands to use MCP tools and GitHub CLI
## Summary
Updated 60+ command files to ensure proper usage of claude-flow MCP tools and GitHub CLI commands.

## Changes

### Command Template Updates
- All commands now use `mcp__claude-flow__*` tools instead of direct implementations
- GitHub operations use `gh` CLI instead of direct API calls
- Added proper parameter structures for all MCP tools
- Enhanced error handling and output formatting

### Init Command Enhancement
- Modified init to copy revised templates from repository
- Created copy-revised-templates.js for template management
- Maintains backward compatibility with fallback to generated templates
- Ensures consistent command structure across all installations

### Categories Updated
- Analysis (2 files): Token efficiency with MCP tools
- GitHub (13 files): Complete gh CLI migration
- SPARC (18 files): All modes use mcp__claude-flow__sparc_mode
- Coordination (3 files): Already compliant
- Automation (3 files): Enhanced MCP integration
- Swarm (7 files): Complete MCP integration
- Memory (3 files): Action-based operations
- Monitoring (3 files): Millisecond intervals
- Optimization (3 files): CLI command updates
- Training (3 files): Pattern types and epochs
- Workflows (3 files): Task dependencies
- Hooks (6 files): Updated claude-flow usage

### Benefits
- Single source of truth for documentation
- Easier maintenance and updates
- Better quality with proper MCP tools and gh CLI usage
- Clearer separation of concerns
- Improved reliability and performance

Fixes #359

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-18 17:01:07 +00:00
rUvandClaude 63d391e10b 🚀 Release: Claude Flow v2.0.0-alpha.62
## 🔒 Security Fixes
- CRITICAL: Removed vulnerable pkg dependency (GHSA-22r3-9w55-cj54)
- Replaced with secure @vercel/ncc alternative
- Security score improved from 55/100 to 75/100
- All npm audit vulnerabilities resolved (0 vulnerabilities)

## 🚀 Infrastructure Improvements
- Re-enabled ALL CI/CD security gates with strict enforcement
- Fixed Jest configuration and test infrastructure
- Fixed 18 TypeScript test files with import issues
- Created comprehensive test utilities

## 🛠️ Code Quality
- Fixed 145 ESLint errors (16% reduction)
- Fixed 15 critical TypeScript errors
- Added development tooling configs

## 📚 Documentation
- Created security audit report
- Created fix summary documentation
- Created functionality review
- Updated GitHub issue #362

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-18 13:35:41 +00:00
rUvandClaude 5cc30a9fe5 🚀 Release: Claude Flow v2.0.0-alpha.61
### Key Features:
- 🧠 Neural training with WASM acceleration (92.9% accuracy)
- 🎯 Enhanced task-predictor model for improved coordination
- ⚡ SIMD support for faster neural computations
- 📚 Updated help system with neural training documentation
- 🔧 Version management improvements across codebase

### Technical Updates:
- Fixed TypeScript issues in help command implementation
- Enhanced neural training command help documentation
- Updated all version references to alpha.61
- Improved command-specific help display formatting
- Added comprehensive examples for training workflows

### Testing & Verification:
- All help commands working correctly
- Neural training functionality verified
- Version display updated consistently
- No regressions in existing functionality

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-17 15:09:33 +00:00