9e55237dae
- ChatMessage/SessionItem 使用 forwardRef 支持 AnimatePresence - useChat 为 message_received/done 事件生成唯一消息 ID - sessions API 为历史消息添加 ID 字段 - cli 添加 @types/inquirer 依赖
38 lines
843 B
JSON
38 lines
843 B
JSON
{
|
|
"name": "@ai-assistant/cli",
|
|
"version": "1.0.0",
|
|
"description": "AI Terminal Assistant CLI",
|
|
"type": "module",
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"bin": {
|
|
"ai-assistant": "./bin/ai-assistant.js"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"dev": "bun run src/index.ts",
|
|
"start": "bun run dist/index.js",
|
|
"serve": "bun run src/index.ts serve",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@ai-assistant/server": "workspace:*",
|
|
"blessed": "^0.1.81",
|
|
"chalk": "^5.3.0",
|
|
"commander": "^12.1.0",
|
|
"inquirer": "^9.2.12",
|
|
"ora": "^8.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/blessed": "^0.1.25",
|
|
"@types/bun": "^1.1.0",
|
|
"@types/inquirer": "^9.0.9",
|
|
"@types/node": "^20.11.0",
|
|
"typescript": "^5.3.3"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"bin"
|
|
]
|
|
}
|