claude-haha 383 B

12345678910111213
  1. #!/usr/bin/env bash
  2. set -euo pipefail
  3. ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
  4. cd "$ROOT_DIR"
  5. # Force recovery CLI (simple readline REPL, no Ink TUI)
  6. if [[ "${CLAUDE_CODE_FORCE_RECOVERY_CLI:-0}" == "1" ]]; then
  7. exec bun --env-file=.env ./src/localRecoveryCli.ts "$@"
  8. fi
  9. # Default: full CLI with Ink TUI
  10. exec bun --env-file=.env ./src/entrypoints/cli.tsx "$@"