添加对 peewee 的旧数据库的兼容层,初步重构插件的 database API

This commit is contained in:
DrSmoothl
2026-02-09 22:44:56 +08:00
parent bf46d540f1
commit 60f76e4d4e
14 changed files with 226 additions and 424 deletions

View File

@@ -17,7 +17,6 @@ dependencies = [
"numpy>=2.2.6",
"openai>=1.95.0",
"pandas>=2.3.1",
"peewee>=3.18.2",
"pillow>=11.3.0",
"pyarrow>=20.0.0",
"pydantic>=2.11.7",
@@ -29,6 +28,8 @@ dependencies = [
"rich>=14.0.0",
"ruff>=0.12.2",
"setuptools>=80.9.0",
"sqlalchemy>=2.0.40",
"sqlmodel>=0.0.24",
"structlog>=25.4.0",
"toml>=0.10.2",
"tomlkit>=0.13.3",