Files

56 lines
2.0 KiB
Plaintext

# DSH 数据仓库 .gitignore
# 排除历史备份目录(无用)
profiles_backup_web_nm/
# 排除 DSH fallback 安装区(含 junction 链接,DSH 自管理,换机器自动重建;入库会破坏链接结构)
profiles/node_modules/
# 排除临时
*.tmp
*.log
# dev profile 的 node_modules 与 web 同为独立实体副本,随仓库入库
# —— 修改为:仅保留自研插件副本入库;依赖树(pnpm 布局含 junction/硬链接)跨机器同步会损坏
# 链接结构与文件权限,导致本机 npm/pnpm 缓存写入失败,故不入库(由 DSH 本机安装自动重建)
profiles/dev/node_modules/*
profiles/web/node_modules/*
!profiles/dev/node_modules/dsh-plugin-mcn/
!profiles/dev/node_modules/dsh-plugin-douyin-accounts/
!profiles/dev/node_modules/dsh-plugin-douyin-account-detail/
!profiles/dev/node_modules/dsh-plugin-douyin-video-detail/
!profiles/dev/node_modules/dsh-vision-router/
!profiles/web/node_modules/dsh-plugin-mcn/
!profiles/web/node_modules/dsh-plugin-douyin-accounts/
!profiles/web/node_modules/dsh-plugin-douyin-account-detail/
!profiles/web/node_modules/dsh-plugin-douyin-video-detail/
!profiles/web/node_modules/dsh-vision-router/
!profiles/web/node_modules/dsh-plugin-mcn-schedule/
# 误创建的字面 %SystemDrive% 目录(工具未展开环境变量时产生,防误入库)
%SystemDrive%/
# 运行时数据入库策略(2026-08-24 调整):
# sessions/ 会话日志(单文件可达 30M+、持续增长)不再入库,避免仓库膨胀到数百 M;
# 会话改用同步工具在机器间传输。
# mcn-plugin.db 等数据库文件(2026-10-07 调整):本地运行时产物,改为忽略、不再入库(见下方「数据库文件」块)。
sessions/
# Python 缓存
__pycache__/
*.pyc
# 凭据文件(含明文 API Key,禁止入库)
.credentials.yaml
# 运行时日志与迁移备份目录
logs/
skill-backup-*/
# 数据库文件(2026-10-07):本地运行时产物,禁止入库、不要推送
*.db
*.sqlite
*.sqlite3
*.db3
*.db-journal
*.db-wal
*.db-shm