feat: 重构CNB管理模块,添加清理记录功能,更新中间件为统一认证方式,优化工作空间相关路由

This commit is contained in:
xiongxiao
2026-03-09 18:54:33 +08:00
committed by cnb
parent 21ba07e55b
commit 382c4809ea
25 changed files with 296 additions and 73 deletions

View File

@@ -3,9 +3,16 @@
"version": "0.0.37",
"description": "",
"main": "index.js",
"basename": "/root/cnb",
"app": {
"type": "system-app",
"entry": "./dist/routes.js",
"engine": "bun"
},
"scripts": {
"build": "bun bun.config.ts",
"flow": "ev npm patch && pnpm build && ev npm publish npm -p"
"flow": "ev npm patch && pnpm build && ev npm publish npm -p",
"pub": "ev pack -u -m false -c -p"
},
"keywords": [],
"bin": {
@@ -14,20 +21,21 @@
"files": [
"dist",
"src",
"mod.ts",
"agent"
],
"author": "abearxiong <xiongxiao@xiongxiao.me> (https://www.xiongxiao.me)",
"license": "MIT",
"packageManager": "pnpm@10.30.3",
"packageManager": "pnpm@10.31.0",
"type": "module",
"devDependencies": {
"@kevisual/ai": "^0.0.26",
"@kevisual/api": "^0.0.62",
"@kevisual/code-builder": "^0.0.6",
"@kevisual/context": "^0.0.8",
"@kevisual/dts": "^0.0.4",
"@kevisual/remote-app": "^0.0.6",
"@kevisual/types": "^0.0.12",
"@opencode-ai/plugin": "^1.2.20",
"@opencode-ai/plugin": "^1.2.22",
"@types/bun": "^1.3.10",
"@types/node": "^25.3.5",
"@types/ws": "^8.18.1",
@@ -43,7 +51,7 @@
},
"dependencies": {
"@kevisual/query": "^0.0.53",
"@kevisual/router": "^0.0.88",
"@kevisual/router": "^0.0.90",
"@kevisual/use-config": "^1.0.30",
"es-toolkit": "^1.45.1",
"nanoid": "^5.1.6",