chore: 更新依赖版本并调整开发脚本配置
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user