@kevisual/cli 0.1.13 → 0.1.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -102194,11 +102194,6 @@ var getLiveMdContent = (opts) => {
102194
102194
  - OpenWebUI: ${openWebUrl}
102195
102195
  - Kevisual: ${kevisualUrl}
102196
102196
 
102197
- ### 直接访问
102198
- - Kevisual: ${kevisualUrl}
102199
- - OpenCode: ${url4?.replace("{{port}}", "4096")}
102200
- - VSCode Web: ${vscodeWebUrl}
102201
-
102202
102197
  ### 密码访问
102203
102198
  - OpenClaw: ${openclawUrlSecret}
102204
102199
  - OpenCode: ${opencodeUrlSecret}
@@ -102210,6 +102205,9 @@ var getLiveMdContent = (opts) => {
102210
102205
 
102211
102206
  使用插件访问vscode web获取wss进行保活,避免长时间不操作导致的自动断开连接。
102212
102207
 
102208
+ 保活说明
102209
+ 方法1: 使用插件访问vscode web获取wss进行保活,避免长时间不操作导致的自动断开连接。
102210
+
102213
102211
  1. 安装插件[CNB LIVE](https://chromewebstore.google.com/detail/cnb-live/iajpiophkcdghonpijkcgpjafbcjhkko?pli=1)
102214
102212
  2. 打开vscode web获取,点击插件,获取json数据,替换keep.json中的数据,保持在线状态。
102215
102213
  3. keep.json中的数据结构说明:
@@ -102218,6 +102216,7 @@ var getLiveMdContent = (opts) => {
102218
102216
  - url: vscode web的访问地址,可以直接访问vscode web
102219
102217
  4. 运行cli命令,ev cnb live -c /workspace/live/keep.json.(直接对话opencode或者openclaw调用cnb-live技能即可)
102220
102218
 
102219
+ 方法2:环境变量设置CNB_COOKIE,直接opencode或者openclaw的ui界面对话说,cnb-keep-live保活,他会自动调用保活,同时不需要点cnb-lie插件获取配置。
102221
102220
  `;
102222
102221
  const labels = [
102223
102222
  {
@@ -102348,7 +102347,7 @@ var createOSInfo = (more = false) => {
102348
102347
  }, {
102349
102348
  key: "cpuCores",
102350
102349
  title: "CPU 核心数",
102351
- value: `${cpus.length}`,
102350
+ value: cpus.length,
102352
102351
  description: "CPU 核心数"
102353
102352
  }, {
102354
102353
  key: "memoryUsed",
@@ -102390,8 +102389,8 @@ var createOSInfo = (more = false) => {
102390
102389
  }, {
102391
102390
  key: "buildUptime",
102392
102391
  title: "构建已运行时间",
102393
- value: buildUptimeStr,
102394
- description: "构建已运行时间"
102392
+ value: buildUptime,
102393
+ description: `构建已运行时间: ${buildUptimeStr}`
102395
102394
  });
102396
102395
  if (maxRunTime > 0) {
102397
102396
  const now = import_dayjs.default();
@@ -102410,8 +102409,8 @@ var createOSInfo = (more = false) => {
102410
102409
  labels.unshift({
102411
102410
  key: "remainingTime",
102412
102411
  title: "剩余时间",
102413
- value: formatUptime(Math.floor((maxRunTime - buildUptime) / 1000)) + " " + timeTo4Str,
102414
- description: "构建剩余时间"
102412
+ value: maxRunTime - buildUptime,
102413
+ description: "构建剩余时间" + formatUptime(Math.floor((maxRunTime - buildUptime) / 1000)) + " " + timeTo4Str
102415
102414
  });
102416
102415
  }
102417
102416
  }
@@ -126702,11 +126702,6 @@ var getLiveMdContent = (opts) => {
126702
126702
  - OpenWebUI: ${openWebUrl}
126703
126703
  - Kevisual: ${kevisualUrl}
126704
126704
 
126705
- ### 直接访问
126706
- - Kevisual: ${kevisualUrl}
126707
- - OpenCode: ${url4?.replace("{{port}}", "4096")}
126708
- - VSCode Web: ${vscodeWebUrl}
126709
-
126710
126705
  ### 密码访问
126711
126706
  - OpenClaw: ${openclawUrlSecret}
126712
126707
  - OpenCode: ${opencodeUrlSecret}
@@ -126718,6 +126713,9 @@ var getLiveMdContent = (opts) => {
126718
126713
 
126719
126714
  使用插件访问vscode web获取wss进行保活,避免长时间不操作导致的自动断开连接。
126720
126715
 
126716
+ 保活说明
126717
+ 方法1: 使用插件访问vscode web获取wss进行保活,避免长时间不操作导致的自动断开连接。
126718
+
126721
126719
  1. 安装插件[CNB LIVE](https://chromewebstore.google.com/detail/cnb-live/iajpiophkcdghonpijkcgpjafbcjhkko?pli=1)
126722
126720
  2. 打开vscode web获取,点击插件,获取json数据,替换keep.json中的数据,保持在线状态。
126723
126721
  3. keep.json中的数据结构说明:
@@ -126726,6 +126724,7 @@ var getLiveMdContent = (opts) => {
126726
126724
  - url: vscode web的访问地址,可以直接访问vscode web
126727
126725
  4. 运行cli命令,ev cnb live -c /workspace/live/keep.json.(直接对话opencode或者openclaw调用cnb-live技能即可)
126728
126726
 
126727
+ 方法2:环境变量设置CNB_COOKIE,直接opencode或者openclaw的ui界面对话说,cnb-keep-live保活,他会自动调用保活,同时不需要点cnb-lie插件获取配置。
126729
126728
  `;
126730
126729
  const labels = [
126731
126730
  {
@@ -126856,7 +126855,7 @@ var createOSInfo = (more = false) => {
126856
126855
  }, {
126857
126856
  key: "cpuCores",
126858
126857
  title: "CPU 核心数",
126859
- value: `${cpus.length}`,
126858
+ value: cpus.length,
126860
126859
  description: "CPU 核心数"
126861
126860
  }, {
126862
126861
  key: "memoryUsed",
@@ -126898,8 +126897,8 @@ var createOSInfo = (more = false) => {
126898
126897
  }, {
126899
126898
  key: "buildUptime",
126900
126899
  title: "构建已运行时间",
126901
- value: buildUptimeStr,
126902
- description: "构建已运行时间"
126900
+ value: buildUptime,
126901
+ description: `构建已运行时间: ${buildUptimeStr}`
126903
126902
  });
126904
126903
  if (maxRunTime > 0) {
126905
126904
  const now = import_dayjs.default();
@@ -126918,8 +126917,8 @@ var createOSInfo = (more = false) => {
126918
126917
  labels.unshift({
126919
126918
  key: "remainingTime",
126920
126919
  title: "剩余时间",
126921
- value: formatUptime(Math.floor((maxRunTime - buildUptime) / 1000)) + " " + timeTo4Str,
126922
- description: "构建剩余时间"
126920
+ value: maxRunTime - buildUptime,
126921
+ description: "构建剩余时间" + formatUptime(Math.floor((maxRunTime - buildUptime) / 1000)) + " " + timeTo4Str
126923
126922
  });
126924
126923
  }
126925
126924
  }
package/dist/envision.js CHANGED
@@ -22312,8 +22312,8 @@ InitEnv.init();
22312
22312
  var version = useContextKey("version", () => {
22313
22313
  let version2 = "0.0.64";
22314
22314
  try {
22315
- if ("0.1.13")
22316
- version2 = "0.1.13";
22315
+ if ("0.1.14")
22316
+ version2 = "0.1.14";
22317
22317
  } catch (e) {}
22318
22318
  return version2;
22319
22319
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kevisual/cli",
3
- "version": "0.1.13",
3
+ "version": "0.1.14",
4
4
  "description": "envision 命令行工具",
5
5
  "type": "module",
6
6
  "basename": "/root/cli",