mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-10-26 02:04:37 +08:00
Pass a model download proxy through the semantic index worker and local embedding provider so local Hugging Face downloads use the effective proxy. Restart idle local workers when the proxy changes before preload, build, or search calls, and initialize app logging inside the worker process for preload diagnostics.
34 lines
936 B
JSON
34 lines
936 B
JSON
{
|
|
"name": "@openchatlab/node-runtime",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"description": "ChatLab Node.js 运行时适配器:better-sqlite3、文件系统、路径管理",
|
|
"type": "module",
|
|
"main": "./src/index.ts",
|
|
"types": "./src/index.ts",
|
|
"dependencies": {
|
|
"@earendil-works/pi-agent-core": "0.74.2",
|
|
"@earendil-works/pi-ai": "0.74.2",
|
|
"@huggingface/transformers": "^4.2.0",
|
|
"@openchatlab/core": "workspace:*",
|
|
"better-sqlite3": "^12.4.6",
|
|
"gray-matter": "^4.0.3",
|
|
"js-tiktoken": "^1.0.21",
|
|
"onnxruntime-common": "1.24.3",
|
|
"onnxruntime-node": "1.24.3",
|
|
"sharp": "0.34.5",
|
|
"sqlite-vec": "^0.1.9",
|
|
"stream-chain": "^2.2.5",
|
|
"stream-json": "^1.9.1",
|
|
"undici": "^6.25.0",
|
|
"yauzl": "^3.4.0"
|
|
},
|
|
"optionalDependencies": {
|
|
"@node-rs/jieba": "^2.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/better-sqlite3": "^7.6.13",
|
|
"@types/yauzl": "^3.4.0"
|
|
}
|
|
}
|