chore: 更新依赖版本并调整开发脚本配置

This commit is contained in:
xiongxiao
2026-03-13 04:35:36 +08:00
committed by cnb
parent 0ee0ce9fdc
commit 0a2b1a0042
4 changed files with 8 additions and 9 deletions

View File

@@ -21,7 +21,7 @@
"scripts": {
"dev": "bun run src/run.ts ",
"dev:server": "bun --watch src/run-server.ts ",
"dev:cnb": "ASSISTANT_CONFIG_DIR=/workspace bun --watch src/run-server.ts ",
"dev:cnb": "ASSISTANT_CONFIG_DIR=/workspace/kevisual bun --watch src/run-server.ts ",
"dev:share": "bun --watch src/test/remote-app.ts ",
"build:lib": "bun run bun-lib.config.mjs",
"postbuild:lib": "dts -i src/lib.ts -o assistant-lib.d.ts -d libs -t",

View File

@@ -279,7 +279,6 @@ export class RemoteApp {
const bodyData = body?.data as ListenProcessParams;
const message = bodyData?.message || {};
const context = bodyData?.context || {};
console.log('[remote-app] 远程应用收到消息:', body);
if (body?.code === 401) {
console.error('[remote-app] 远程应用认证失败,请检查 token 是否正确');
this.isError = true;