chore: 添加 .gitignore 排除敏感配置与运行时数据

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
2026-08-23 21:29:59 +08:00
parent 532d117415
commit a7a3b7ce8b

28
.gitignore vendored Normal file
View File

@@ -0,0 +1,28 @@
# 环境配置(含账号密码/密钥,切勿提交)
.env
*.env
!.env.example
# 运行时数据(会话缓存 + 历史记录)
data/
*.db
*.json
!go.mod
!go.sum
# 日志
*.log
# Python 缓存
__pycache__/
*.pyc
# Go 编译产物
electric-monitor
*.exe
# 编辑器/系统
.vscode/
.idea/
.DS_Store
Thumbs.db