xiaozhi-esp32-server/.gitignore
SerenNoble c9c8324cc8 feat: 自构建部署可移植化 + aipet/缓存注册 + 记忆系统定制
可移植性(换机 git clone + docker compose -f docker-compose-selfbuild.yml up --build 即用):
- Dockerfile-server: server-base 改 ARG 引用(默认 NJU 镜像,国内自包含;海外可 --build-arg 覆盖)
- docker-compose-selfbuild.yml: 新增自构建 compose(server/web build:,mysql/redis image:)
- .dockerignore: 排除运行时数据目录(**/mysql/、*.db、**/data/),修复 build context 权限错误
- Dockerfile-web: start.sh CRLF→LF(修 exec "no such file or directory")

智控台 provider 注册(纯数据库驱动,前端无白名单):
- 202606191200.sql: 注册 SYSTEM_Memory_aipet 记忆 provider
- 202606120930.sql: 修列名 bug(is_custom→creator/updater)+ cache 改 boolean 开关
- db.changelog-master.yaml: 注册 202606191200
- AddModelDialog.vue: boolean 字段渲染为 el-switch 开关

server 端核心定制入库(此前未提交,换机会缺失):
- core/connection.py: 当天日程注入半稳定系统提示词
- core/providers/memory/aipet/aipet.py: FTS5 检索增强
- xiaozhi-memory/*: memory_manager / fts / sqlite_store / tokenizer / time_parser 检索修复

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-20 23:25:43 +08:00

193 lines
No EOL
3.2 KiB
Text

# Byte-compiled / optimized / DLL files
__pycache__/
.idea/
*.py[cod]
*$py.class
.vscode
.claude
AGENTS.md
# C extensions
*.so
# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit testdata / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/
# Translations
*.mo
*.pot
# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal
# Flask stuff:
instance/
.webassets-cache
# Scrapy stuff:
.scrapy
# Sphinx documentation
docs/_build/
# PyBuilder
.pybuilder/
target/
*.pid
# Jupyter Notebook
.ipynb_checkpoints
# IPython
profile_default/
ipython_config.py
# pyenv
# For a library or package, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# .python-version
# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/
# Celery stuff
celerybeat-schedule
celerybeat.pid
# SageMath parsed files
*.sage.py
# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
# Spyder project settings
.spyderproject
.spyproject
# Rope project settings
.ropeproject
# mkdocs documentation
/site
# mypy
.mypy_cache/
.dmypy.json
dmypy.json
# Pyre type checker
.pyre/
# music directory
music/
# pytype static type analyzer
.pytype/
# Cython debug symbols
cython_debug/
*.iml
tmp
.history
.DS_Store
main/xiaozhi-server/data
main/manager-web/node_modules
.config.yaml
.secrets.yaml
.private_config.yaml
.env.development
# model files
main/xiaozhi-server/models/SenseVoiceSmall/model.pt
main/xiaozhi-server/models/sherpa-onnx*
/main/xiaozhi-server/audio_ref/
/audio_ref/
/asr-models/iic/SenseVoiceSmall/
/main/xiaozhi-server/asr-models/iic/SenseVoiceSmall/
/models/SenseVoiceSmall/model.pt
my_wakeup_words.mp3
!main/xiaozhi-server/config/assets/bind_code.wav
!main/xiaozhi-server/config/assets/wakeup_words.wav
!main/xiaozhi-server/config/assets/bind_not_found.wav
!main/xiaozhi-server/config/assets/bind_code/*.wav
!main/xiaozhi-server/config/assets/max_output_size.wav
main/manager-api/.vscode
# Ignore webpack cache directory
main/manager-web/.webpack_cache/
main/xiaozhi-server/mysql
uploadfile
*.json
.vscode
.cursor
!package.json
!**/package.json
# Do not ignore env and json files inside manager-mobile
!main/manager-mobile/**/env/
!main/manager-mobile/**/.env*
!main/manager-mobile/**/*.json
!main/xiaozhi-server/**/*.json
# 工具索引与运行时产物(不入库)
.codegraph/
main/xiaozhi-server/xiaozhi-memory/data/