Replace echo -ne with printf for better cross-shell compatibility.
Fixes multi-line statusline output in some environments.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Critical bug fixes for init command:
- Fix skills copier path resolution for all npm install scenarios
- Fix statusline script creation with proper bash variable escaping
- Add missing path/os imports in init command
- All 21 skills now copy correctly during init
- Statusline script creates with 755 permissions
Tested and verified in Docker environment.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
This is the first Claude Code plugin with intelligent tool input modification capability.
## New Features
### PreToolUse Modification Hooks
- `modify-bash`: Safety enhancements (auto -i flag), alias expansion (ll→ls -lah), path correction
- `modify-file`: Intelligent file organization (tests→/tests/, src→/src/), root folder protection
- `modify-git-commit`: Conventional commit formatting, JIRA ticket extraction, co-authorship
### Plugin Distribution
- `.claude-plugin/hooks/hooks.json`: Ready for Claude Code v2.0.10+ marketplace
- Composable with other tools (agent-booster, prettier, etc.)
- 100ms timeout-based stdin detection for all environments
## Documentation
- Updated README.md with plugin introduction and market plan
- Added docs/HOOKS-V2-MODIFICATION.md with comprehensive usage guide
- Market plan with go-to-market strategy and revenue projections
## Technical Implementation
- Timeout-based stdin detection (handles undefined process.stdin.isTTY in containers)
- JSON stdin/stdout protocol for PreToolUse hooks
- Clean help output without error messages
## Configuration
- Updated .claude/settings.json with PreToolUse hooks
- Updated .claude-plugin/hooks/hooks.json for plugin distribution
🤖 Generated with Claude Flow
Co-Authored-By: claude-flow <noreply@ruv.io>
The embedded createStatuslineScript() function was outdated (137 lines)
compared to the working statusline template (175 lines). This caused
remote installations to get an older version when the template file
wasn't found.
Fixed by regenerating the embedded function from the working
~/.claude/statusline-command.sh script.
🧠 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
init command now automatically installs statusline to both locations:
- Project: .claude/statusline-command.sh
- Home: ~/.claude/statusline-command.sh
This ensures the statusline works immediately after init without
manual copying, both locally and remotely.
🧠 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Synchronizes statusline template with production version:
- Replaced template with exact working statusline from ~/.claude/
- Ensures remote installations get identical statusline behavior
- Fixes any discrepancies between template and production versions
🧠 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Fixes Claude Code settings validation error:
- Added "type": "command" to statusLine configuration
- Updated both settings.json template and enhanced-templates.js fallback
- StatusLine now validates correctly in Claude Code
🧠 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Fixes statusline script creation during `npx claude-flow init`:
- Statusline script now properly created at .claude/statusline-command.sh
- Enhanced fallback function ensures creation even without template files
- Added executable permissions (chmod 755) to statusline script
- Fixed settings.json statusLine configuration
- Verified creation in init output logs
🧠 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Fix: MCP server entry point for Phase 4 tools availability
Changes:
- Created server-standalone.js with dynamic imports
- Uses pathToFileURL for proper ESM module resolution
- Documented local testing limitation
- Version bumped to 2.5.0-alpha.131
Phase 4 tools will be available after NPM publish:
- agents_spawn_parallel (10-20x faster spawning)
- query_control (real-time control)
- query_list (monitoring)
Technical: Local CLI uses old mcp-server.js temporarily
NPM package uses new server-standalone.js correctly
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Added CRITICAL section with exact YAML frontmatter format
- Specified single-line description requirement with embedded examples
- Added template showing proper use of <example> tags
- Ensures generated agents follow the correct format
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
- Updated .npmignore to include .claude/agents/**/*.md
- Ensures base-template-generator.md is included
- Ensures goal/goal-planner.md is included
- All agent markdown files now properly packaged
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
- Standardized MCP server configuration across bin and src
- Server name: 'claude-flow' (simple name for Claude Code)
- Command uses: 'npx claude-flow@alpha mcp start'
- Updated manual setup instructions to match
- Ensures consistent alpha version usage
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
- Keep all @alpha references in commands and templates
- Update version to v2.0.0-alpha.118
- Update changelog for alpha release
- Ready for publishing as alpha with sublinear cleanup
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Remove .claude/agents/sublinear directory and references
- Remove --sublinear flag from init command
- Remove sublinear MCP server setup
- Update CLAUDE.md templates to use claude-flow tools
- Clean initialization with only core MCP servers
- Version bump to v2.0.0 stable
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Created HiveMindMetricsReader utility class to read real data from database
- Updated showStatus() to use MetricsReader instead of raw queries
- Updated showSessions() to use MetricsReader for real progress data
- Fixed in-memory mode in session-manager to track real agent/task counts
- Now shows actual agent counts, task progress, and completion percentages
- Version bump to 2.0.0-alpha.113
Verified:
- hive-mind status shows 4 real agents, real memory entries
- hive-mind sessions shows real agent count and task progress
- Completion percentages calculated from actual data, not hardcoded zeros
- Fixed 'require is not defined' error in swarm.js
- Replaced require('fs') with proper ES module import
- Already imported readFileSync at top of file
- Fixes issue reported by users with global installation
- Version bump to 2.0.0-alpha.112
- Replace mock data with real metrics from .claude-flow/metrics/ files
- Fix MCP Server detection to properly show running status
- Make agent spawn and task creation fully functional with file persistence
- Update binary wrapper to prioritize local source over npm packages
- Bump version to 2.0.0-alpha.111
Changes:
- Created MetricsReader utility to read actual metrics files
- Updated status.js to display real system metrics, not hardcoded values
- Fixed agent.js to create real agent files in .claude-flow/agents/
- Fixed task.js to maintain actual task queue in .claude-flow/tasks/
- Modified ./claude-flow binary to use local source directly
- Broadened MCP detection pattern to catch all MCP variants
All status commands now show live, accurate data:
- Real memory usage, CPU load, and disk stats
- Actual agent counts and statuses from persisted files
- Live task queue with real queued tasks
- Correct MCP server running status
- Accurate session and performance metrics
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>