diff --git a/CLAUDE.md b/CLAUDE.md index 56347c1f..dfc3f983 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -35,7 +35,7 @@ When user says "COM": 1. Increment version in BOTH `package.json` AND `CLAUDE.md` (verify they match with `grep version package.json && grep Version CLAUDE.md`) 2. Run: `git add -A && git commit -m "chore: bump version to X.XXXX" && git push && npm run build && systemctl --user restart claudeman-web` -**Version**: 0.1610 (must match `package.json`) +**Version**: 0.1611 (must match `package.json`) ## Project Overview diff --git a/install.sh b/install.sh index e743be61..f854908e 100755 --- a/install.sh +++ b/install.sh @@ -806,18 +806,28 @@ main() { fi fi - # Claude CLI (warning only) + # Claude CLI info "Checking Claude CLI..." if ! check_claude; then - echo "" - warn "Claude CLI is not installed!" - echo -e " ${DIM}Claudeman requires Claude CLI to manage AI sessions.${NC}" - echo -e " ${DIM}Install it with:${NC}" - echo "" - echo -e " ${CYAN}curl -fsSL https://claude.ai/install.sh | bash${NC}" - echo "" - echo -e " ${DIM}Or see: https://docs.anthropic.com/en/docs/claude-code${NC}" - echo "" + if prompt_yes_no "Claude CLI is not installed. Install it now?"; then + info "Installing Claude CLI..." + download_to_stdout https://claude.ai/install.sh | bash + # Rehash to pick up new binary + hash -r 2>/dev/null || true + if check_claude; then + local claude_path + claude_path=$(get_claude_path) + success "Claude CLI installed at $claude_path" + else + warn "Claude CLI installation may have failed. Install manually:" + echo -e " ${CYAN}curl -fsSL https://claude.ai/install.sh | bash${NC}" + fi + else + warn "Claude CLI is required to run AI sessions." + echo -e " ${DIM}Install later with:${NC}" + echo -e " ${CYAN}curl -fsSL https://claude.ai/install.sh | bash${NC}" + echo "" + fi else local claude_path claude_path=$(get_claude_path) diff --git a/package.json b/package.json index 48ad26f3..452570c6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "claudeman", - "version": "0.1610", + "version": "0.1611", "description": "The missing control plane for Claude Code - run 20 autonomous agents with real-time monitoring and session persistence", "type": "module", "main": "dist/index.js",