refactor: 目录结构重构和清理 (v2.0.2)

新增目录:
- docs/legacy/ - 废弃文档归档
- scripts/ - 管理脚本和测试脚本
- build/ - 构建输出目录

文件移动:
- GO_REFACTOR_PROGRESS.md -> docs/legacy/
- OPTIMIZATION_REPORT.md -> docs/legacy/
- sms-receiver-go-ctl.sh -> scripts/
- test_api.sh -> scripts/

改进:
- 更新 .gitignore 忽略运行时文件
- 新增 CHANGELOG.md 独立变更日志
- 更新 README.md 目录结构说明
- 更新 Makefile 版本号到 v2.0.2
- 更新管理脚本路径引用

清理:
- 从仓库中移除二进制文件
- 从仓库中移除数据库文件
- 从仓库中移除日志文件
- 从仓库中移除配置文件
This commit is contained in:
OpenClaw Agent
2026-02-12 12:19:05 +08:00
parent b29a7bbc63
commit b973bdaf47
17 changed files with 190 additions and 135 deletions

27
.gitignore vendored
View File

@@ -7,9 +7,21 @@
*.log
nohup.out
# 二进制文件和备份(根目录)
sms-receiver
sms-receiver-new
sms-receiver-new.backup
sms-receiver-new.v2.0.0
sms-receiver-v2
# 配置文件(根目录)
config.yaml
# 临时文件
tmp/
*.tmp
*.bak
*.backup
# Go 相关
go.sum
@@ -21,6 +33,15 @@ go.sum
*.swo
*~
# 备份文件
*.bak
*.backup
# 运行时目录
data/
logs/
build/
# 二进制目录(如果是旧的)
sms-receiver-go/
# Python 版本(不应该在 Go 项目中)
sms-receiver/
__pycache__/
*.pyc