feat(storage): integrate Alibaba Cloud OSS for file persistence - Add OSSAdapter and LocalAdapter with StorageFactory pattern - Integrate PKB module with OSS upload - Rename difyDocumentId to storageKey - Create 4 OSS buckets and development specification

This commit is contained in:
2026-01-22 22:02:20 +08:00
parent 483c62fb6f
commit 9c96f75c52
309 changed files with 4583 additions and 172 deletions

View File

@@ -33,6 +33,7 @@
"@types/form-data": "^2.2.1",
"@wecom/crypto": "^1.0.1",
"ajv": "^8.17.1",
"ali-oss": "^6.23.0",
"axios": "^1.12.2",
"bcryptjs": "^2.4.3",
"bullmq": "^5.65.0",
@@ -58,6 +59,7 @@
"zod": "^4.1.12"
},
"devDependencies": {
"@types/ali-oss": "^6.23.1",
"@types/bcryptjs": "^2.4.6",
"@types/js-yaml": "^4.0.9",
"@types/jsonwebtoken": "^9.0.7",