更新 NPC 相关逻辑,重构命令行工具,添加新的 CLI 入口,升级依赖版本

This commit is contained in:
xiongxiao
2026-03-16 21:45:37 +08:00
committed by cnb
parent fe89bdee5b
commit ae5565cda7
7 changed files with 48 additions and 15 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@kevisual/cnb",
"version": "0.0.46",
"version": "0.0.47",
"description": "",
"main": "index.js",
"basename": "/root/cnb",
@@ -18,7 +18,8 @@
"keywords": [],
"bin": {
"cnb": "bin/index.js",
"cloud": "bin/index.js"
"cloud": "bin/index.js",
"cloud-npc": "bin/npc.js"
},
"files": [
"dist",
@@ -38,7 +39,7 @@
"@kevisual/dts": "^0.0.4",
"@kevisual/remote-app": "^0.0.7",
"@kevisual/types": "^0.0.12",
"@opencode-ai/plugin": "^1.2.25",
"@opencode-ai/plugin": "^1.2.27",
"@types/bun": "^1.3.10",
"@types/node": "^25.5.0",
"@types/ws": "^8.18.1",
@@ -55,11 +56,11 @@
},
"dependencies": {
"@kevisual/query": "^0.0.53",
"@kevisual/router": "^0.1.1",
"@kevisual/router": "^0.1.2",
"@kevisual/use-config": "^1.0.30",
"@opencode-ai/sdk": "^1.2.25",
"@opencode-ai/sdk": "^1.2.27",
"es-toolkit": "^1.45.1",
"nanoid": "^5.1.6",
"nanoid": "^5.1.7",
"unstorage": "^1.17.4",
"ws": "npm:@kevisual/ws",
"zod": "^4.3.6"
@@ -74,4 +75,4 @@
"./src/*": "./src/*",
"./agent/*": "./agent/*"
}
}
}