Files
Serendipity cd09784e54 feat: 将项目名称从 Claude Code 重命名为 LHY Code
- 更新 package.json 中的 name、bin 和 scripts 字段
- 创建新的启动脚本 bin/lhy-code
- 将所有文档和源代码中的 "Claude Code" 替换为 "LHY Code"
- 更新欢迎信息、状态栏描述和版本显示
- 删除不再需要的 .env.example 文件
2026-04-02 23:19:28 +08:00

39 lines
1.2 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# LHY Code 重命名规范
## Why
将项目名称从 "Claude Code Haha" 改为 "LHY Code",以区分原始 Claude Code 品牌。
## What Changes
- 修改 `package.json` 中的 name、version、bin 字段
- 修改 `README.md` 中的所有项目名称引用
- 修改 `ARCHITECTURE.md``TUTORIAL.md` 中的名称
- 搜索代码中的硬编码字符串 "Claude Code" 并替换
- 修改启动时的欢迎信息和版本显示
## Impact
- Affected specs: 项目标识、品牌展示
- Affected code: package.json、README.md、文档文件、源代码中的字符串
## ADDED Requirements
### Requirement: 品牌重命名
系统 SHALL 将所有 "Claude Code" 引用改为 "LHY Code""claude-haha" 改为 "lhy-code"。
#### Scenario: 重命名成功
- **WHEN** 用户查看版本信息
- **THEN** 显示 "LHY Code v999.0.0-local"
#### Scenario: 终端显示
- **WHEN** 程序启动
- **THEN** 欢迎信息显示 "Welcome to LHY Code"
## MODIFIED Requirements
### Requirement: package.json 元数据
- name: `claude-code-local``lhy-code`
- version: `999.0.0-local` (保持不变)
- bin: `claude-haha``lhy-code`
## REMOVED Requirements
### Requirement: 旧品牌名称
**Reason**: 品牌重命名
**Migration**: 所有引用已更新为新名称