From acd88fb815fb1e6310db60201ad2a7d750fa431e Mon Sep 17 00:00:00 2001 From: abearxiong Date: Fri, 27 Feb 2026 23:47:39 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=E4=BF=9D=E6=B4=BB?= =?UTF-8?q?=E8=AF=B4=E6=98=8E=EF=BC=8C=E5=A2=9E=E5=BC=BA=E5=AF=B9=20openco?= =?UTF-8?q?de=20web=20=E8=AE=BF=E9=97=AE=E7=9A=84=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assistant/src/routes/cnb-board/live/live-content.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/assistant/src/routes/cnb-board/live/live-content.ts b/assistant/src/routes/cnb-board/live/live-content.ts index ca9500d..f273373 100644 --- a/assistant/src/routes/cnb-board/live/live-content.ts +++ b/assistant/src/routes/cnb-board/live/live-content.ts @@ -46,9 +46,9 @@ export const getLiveMdContent = (opts?: { more?: boolean }) => { ### 其他说明 +1. 保活说明 使用插件访问vscode web获取wss进行保活,避免长时间不操作导致的自动断开连接。 -保活说明 方法1: 使用插件访问vscode web获取wss进行保活,避免长时间不操作导致的自动断开连接。 1. 安装插件[CNB LIVE](https://chromewebstore.google.com/detail/cnb-live/iajpiophkcdghonpijkcgpjafbcjhkko?pli=1) @@ -60,6 +60,9 @@ export const getLiveMdContent = (opts?: { more?: boolean }) => { 4. 运行cli命令,ev cnb live -c /workspace/live/keep.json.(直接对话opencode或者openclaw调用cnb-live技能即可) 方法2:环境变量设置CNB_COOKIE,直接opencode或者openclaw的ui界面对话说,cnb-keep-live保活,他会自动调用保活,同时不需要点cnb-lie插件获取配置。 + +2. Opencode web访问说明 +Opencode打开web地址,需要在浏览器输入用户名和密码,用户名固定为root,密码为CNB_TOKEN的值. 纯连接打开包含账号密码,第一次点击后,需要把账号密码清理掉才能访问,opencode的bug导致的。 ` const labels = [ {