Files
ChatLab/packages/server/package.json
T
digua 40bdc9c1b0 fix: resolve sync display bugs and unify import logic
- Fix subscription sync not showing +xx: trigger foreground pull after
  adding sessions instead of relying on background scheduler
- Fix negative message count (+-N): use messageCount directly as it
  already represents net new writes after dedup
- Eliminate duplicated fullImportFile: delegate to importData() to avoid
  missing fields (avatar, roles, reply_to_message_id, group_avatar)
- Fix member avatar not displaying in CLI Web: SQL alias mismatch
  (avatar vs senderAvatar)
- Add skipInitialPull param to scheduler to avoid race with foreground pull
- Add @openchatlab/sync to server package.json for proper tsx watch support
2026-05-16 00:11:30 +08:00

35 lines
1.0 KiB
JSON

{
"name": "chatlab",
"version": "0.0.1",
"private": true,
"description": "ChatLab CLI & Service - 聊天记录分析工具",
"bin": {
"chatlab": "./bin/chatlab.js"
},
"main": "./src/index.ts",
"types": "./src/index.ts",
"scripts": {
"cli": "node scripts/ensure-native.mjs && tsx src/cli.ts",
"ensure-native": "node scripts/ensure-native.mjs",
"rebuild-native": "bash scripts/rebuild-native.sh",
"rebuild-sqlite": "npm rebuild better-sqlite3"
},
"dependencies": {
"@fastify/multipart": "^10.0.0",
"@fastify/static": "^9.1.3",
"@modelcontextprotocol/sdk": "^1.12.1",
"@openchatlab/config": "workspace:*",
"@openchatlab/core": "workspace:*",
"@openchatlab/node-runtime": "workspace:*",
"@openchatlab/parser": "workspace:*",
"@openchatlab/shared-types": "workspace:*",
"@openchatlab/sync": "workspace:*",
"@openchatlab/tools": "workspace:*",
"commander": "^13.1.0",
"fastify": "^5.8.4"
},
"devDependencies": {
"tsx": "^4.21.0"
}
}