cd09784e54
- 更新 package.json 中的 name、bin 和 scripts 字段 - 创建新的启动脚本 bin/lhy-code - 将所有文档和源代码中的 "Claude Code" 替换为 "LHY Code" - 更新欢迎信息、状态栏描述和版本显示 - 删除不再需要的 .env.example 文件
14 lines
383 B
Bash
14 lines
383 B
Bash
#!/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 "$@"
|