.gitignore 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. # ======================
  2. # 通用 / IDE
  3. # ======================
  4. # IDE
  5. .idea/
  6. *.iml
  7. *.ipr
  8. *.iws
  9. .vscode/
  10. *.swp
  11. *.swo
  12. *~
  13. # OS
  14. .DS_Store
  15. Thumbs.db
  16. desktop.ini
  17. # 日志
  18. *.log
  19. logs/
  20. npm-debug.log*
  21. yarn-debug.log*
  22. yarn-error.log*
  23. # ======================
  24. # 前端 (Node / Vite / React)
  25. # ======================
  26. node_modules/
  27. dist/
  28. dist-ssr/
  29. .vite/
  30. *.local
  31. # 缓存
  32. .cache/
  33. .parcel-cache/
  34. .eslintcache
  35. .stylelintcache
  36. # 测试 / 覆盖率
  37. coverage/
  38. *.lcov
  39. # pnpm
  40. .pnpm-store/
  41. # ======================
  42. # Python
  43. # ======================
  44. # 字节码
  45. __pycache__/
  46. *.py[cod]
  47. *$py.class
  48. *.so
  49. # 虚拟环境
  50. .venv/
  51. venv/
  52. env/
  53. ENV/
  54. .python-version
  55. # 分发包 / 打包产物
  56. *.egg
  57. *.egg-info/
  58. .eggs/
  59. sdist/
  60. wheels/
  61. *.manifest
  62. *.spec
  63. pip-log.txt
  64. pip-delete-this-directory.txt
  65. # 测试 / 覆盖率
  66. .pytest_cache/
  67. .tox/
  68. .nox/
  69. .coverage
  70. .coverage.*
  71. htmlcov/
  72. coverage.xml
  73. *.cover
  74. # 用户私有待提取文档(含真实业务数据,禁止开源)
  75. *.docx
  76. *.doc
  77. *.pdf
  78. # 用户私有定义文件(与私有文档配套,禁止开源)
  79. backend/data/annotations/
  80. backend/data/samples/
  81. !**/info_definition.json
  82. !**/info_instance.json
  83. # 旧AI回归测试夹具属于工程资产
  84. !backend/tests/legacy_ai/test_party.docx
  85. # 类型检查 / lint 缓存
  86. .mypy_cache/
  87. .pyright/
  88. .ruff_cache/
  89. .dmypy.json
  90. dmypy.json
  91. # Jupyter
  92. .ipynb_checkpoints/
  93. # ======================
  94. # 环境变量 / 密钥
  95. # ======================
  96. .env
  97. .env.*
  98. !.env.example
  99. !.env.template
  100. !.env.production
  101. # ======================
  102. # AI / 工具产物(按需启用)
  103. # ======================
  104. .spec-workflow/
  105. # ======================
  106. # DMS 运行时与交付产物
  107. # ======================
  108. # 正式文件存储只保留目录占位,不提交用户文件
  109. backend/dms-storage/**
  110. !backend/dms-storage/**/
  111. !backend/dms-storage/**/.gitkeep
  112. # 测试文件存储由测试数据和初始化命令生成
  113. backend/dms-test-storage/
  114. backend/dms-test-storage-*/
  115. # 本地生成的部署包、演示压缩包和文档渲染临时目录
  116. deliverables/
  117. .docx-render-temp*/
  118. # Codex 本地会话控制目录
  119. .agents/