124912c71d
- Restore full Ink TUI startup chain (cli.tsx entry point) - Create stub .md files for verify skill (Bun text loader hang fix) - Create stub types for filePersistence and SDK modules - Fix Enter key not working (modifiers-napi missing, added try-catch) - Remove overly conservative LOCAL_RECOVERY early return - Add README with setup instructions - Add .env.example template - Add bin/claude-haha entry script and preload.ts Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
14 lines
383 B
Bash
Executable File
14 lines
383 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
cd "$ROOT_DIR"
|
|
|
|
# Force recovery CLI (simple readline REPL, no Ink TUI)
|
|
if [[ "${CLAUDE_CODE_FORCE_RECOVERY_CLI:-0}" == "1" ]]; then
|
|
exec bun --env-file=.env ./src/localRecoveryCli.ts "$@"
|
|
fi
|
|
|
|
# Default: full CLI with Ink TUI
|
|
exec bun --env-file=.env ./src/entrypoints/cli.tsx "$@"
|