@kevisual/cli 0.1.19 → 0.1.20
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.
- package/dist/assistant-opencode.js +5 -6
- package/dist/assistant-server.js +5 -6
- package/dist/assistant.js +1 -2
- package/dist/envision.js +2 -2
- package/package.json +5 -5
|
@@ -51855,7 +51855,7 @@ class RemoteApp {
|
|
|
51855
51855
|
constructor(opts) {
|
|
51856
51856
|
this.mainApp = opts?.app;
|
|
51857
51857
|
const token = opts.token;
|
|
51858
|
-
const url4 = opts.url;
|
|
51858
|
+
const url4 = opts.url || "https://kevisual.cn/ws/proxy";
|
|
51859
51859
|
const id = opts.id;
|
|
51860
51860
|
const username = opts.username;
|
|
51861
51861
|
this.username = username;
|
|
@@ -80957,7 +80957,6 @@ class AssistantApp extends Manager2 {
|
|
|
80957
80957
|
if (token) {
|
|
80958
80958
|
console.log("用户已登录,正在初始化远程应用连接...");
|
|
80959
80959
|
await manager.initRemoteApp({ token });
|
|
80960
|
-
await manager.initRemoteApp();
|
|
80961
80960
|
await manager.initRouterProxyLightApp();
|
|
80962
80961
|
}
|
|
80963
80962
|
await manager.initRouterProxyApp();
|
|
@@ -103168,7 +103167,7 @@ app.route({
|
|
|
103168
103167
|
|
|
103169
103168
|
// src/routes/cnb-board/index.ts
|
|
103170
103169
|
app.route({
|
|
103171
|
-
path: "
|
|
103170
|
+
path: "cnb_board",
|
|
103172
103171
|
key: "is-cnb-board",
|
|
103173
103172
|
description: "检查是否是 cnb-board 环境",
|
|
103174
103173
|
middleware: ["auth-admin"]
|
|
@@ -103177,16 +103176,16 @@ app.route({
|
|
|
103177
103176
|
ctx.body = {
|
|
103178
103177
|
isCNB: !!isCNB
|
|
103179
103178
|
};
|
|
103180
|
-
}).addTo(app);
|
|
103179
|
+
}).addTo(app, { overwrite: false });
|
|
103181
103180
|
app.route({
|
|
103182
|
-
path: "
|
|
103181
|
+
path: "cnb_board",
|
|
103183
103182
|
key: "exit",
|
|
103184
103183
|
description: "cnb的工作环境退出程序",
|
|
103185
103184
|
middleware: ["auth-admin"]
|
|
103186
103185
|
}).define(async (ctx) => {
|
|
103187
103186
|
const cmd = "kill 1";
|
|
103188
103187
|
execCommand(cmd);
|
|
103189
|
-
}).addTo(app);
|
|
103188
|
+
}).addTo(app, { overwrite: false });
|
|
103190
103189
|
|
|
103191
103190
|
// ../node_modules/.pnpm/lru-cache@11.2.6/node_modules/lru-cache/dist/esm/index.min.js
|
|
103192
103191
|
var M = typeof performance == "object" && performance && typeof performance.now == "function" ? performance : Date;
|
package/dist/assistant-server.js
CHANGED
|
@@ -91559,7 +91559,7 @@ class RemoteApp {
|
|
|
91559
91559
|
constructor(opts) {
|
|
91560
91560
|
this.mainApp = opts?.app;
|
|
91561
91561
|
const token = opts.token;
|
|
91562
|
-
const url4 = opts.url;
|
|
91562
|
+
const url4 = opts.url || "https://kevisual.cn/ws/proxy";
|
|
91563
91563
|
const id = opts.id;
|
|
91564
91564
|
const username = opts.username;
|
|
91565
91565
|
this.username = username;
|
|
@@ -120079,7 +120079,6 @@ class AssistantApp extends Manager2 {
|
|
|
120079
120079
|
if (token) {
|
|
120080
120080
|
console.log("用户已登录,正在初始化远程应用连接...");
|
|
120081
120081
|
await manager.initRemoteApp({ token });
|
|
120082
|
-
await manager.initRemoteApp();
|
|
120083
120082
|
await manager.initRouterProxyLightApp();
|
|
120084
120083
|
}
|
|
120085
120084
|
await manager.initRouterProxyApp();
|
|
@@ -127765,7 +127764,7 @@ app.route({
|
|
|
127765
127764
|
|
|
127766
127765
|
// src/routes/cnb-board/index.ts
|
|
127767
127766
|
app.route({
|
|
127768
|
-
path: "
|
|
127767
|
+
path: "cnb_board",
|
|
127769
127768
|
key: "is-cnb-board",
|
|
127770
127769
|
description: "检查是否是 cnb-board 环境",
|
|
127771
127770
|
middleware: ["auth-admin"]
|
|
@@ -127774,16 +127773,16 @@ app.route({
|
|
|
127774
127773
|
ctx.body = {
|
|
127775
127774
|
isCNB: !!isCNB
|
|
127776
127775
|
};
|
|
127777
|
-
}).addTo(app);
|
|
127776
|
+
}).addTo(app, { overwrite: false });
|
|
127778
127777
|
app.route({
|
|
127779
|
-
path: "
|
|
127778
|
+
path: "cnb_board",
|
|
127780
127779
|
key: "exit",
|
|
127781
127780
|
description: "cnb的工作环境退出程序",
|
|
127782
127781
|
middleware: ["auth-admin"]
|
|
127783
127782
|
}).define(async (ctx) => {
|
|
127784
127783
|
const cmd = "kill 1";
|
|
127785
127784
|
execCommand(cmd);
|
|
127786
|
-
}).addTo(app);
|
|
127785
|
+
}).addTo(app, { overwrite: false });
|
|
127787
127786
|
|
|
127788
127787
|
// ../node_modules/.pnpm/lru-cache@11.2.6/node_modules/lru-cache/dist/esm/index.min.js
|
|
127789
127788
|
var M = typeof performance == "object" && performance && typeof performance.now == "function" ? performance : Date;
|
package/dist/assistant.js
CHANGED
|
@@ -36623,7 +36623,7 @@ class RemoteApp {
|
|
|
36623
36623
|
constructor(opts) {
|
|
36624
36624
|
this.mainApp = opts?.app;
|
|
36625
36625
|
const token = opts.token;
|
|
36626
|
-
const url = opts.url;
|
|
36626
|
+
const url = opts.url || "https://kevisual.cn/ws/proxy";
|
|
36627
36627
|
const id = opts.id;
|
|
36628
36628
|
const username = opts.username;
|
|
36629
36629
|
this.username = username;
|
|
@@ -87433,7 +87433,6 @@ class AssistantApp extends Manager2 {
|
|
|
87433
87433
|
if (token) {
|
|
87434
87434
|
console.log("用户已登录,正在初始化远程应用连接...");
|
|
87435
87435
|
await manager.initRemoteApp({ token });
|
|
87436
|
-
await manager.initRemoteApp();
|
|
87437
87436
|
await manager.initRouterProxyLightApp();
|
|
87438
87437
|
}
|
|
87439
87438
|
await manager.initRouterProxyApp();
|
package/dist/envision.js
CHANGED
|
@@ -22490,8 +22490,8 @@ InitEnv.init();
|
|
|
22490
22490
|
var version = useContextKey("version", () => {
|
|
22491
22491
|
let version2 = "0.0.64";
|
|
22492
22492
|
try {
|
|
22493
|
-
if ("0.1.
|
|
22494
|
-
version2 = "0.1.
|
|
22493
|
+
if ("0.1.20")
|
|
22494
|
+
version2 = "0.1.20";
|
|
22495
22495
|
} catch (e) {}
|
|
22496
22496
|
return version2;
|
|
22497
22497
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kevisual/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.20",
|
|
4
4
|
"description": "envision 命令行工具",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"basename": "/root/cli",
|
|
@@ -45,13 +45,13 @@
|
|
|
45
45
|
"@kevisual/app": "^0.0.2",
|
|
46
46
|
"@kevisual/auth": "^2.0.3",
|
|
47
47
|
"@kevisual/context": "^0.0.8",
|
|
48
|
-
"@kevisual/router": "^0.0.
|
|
48
|
+
"@kevisual/router": "^0.0.90",
|
|
49
49
|
"@kevisual/use-config": "^1.0.30",
|
|
50
|
-
"@opencode-ai/sdk": "^1.2.
|
|
50
|
+
"@opencode-ai/sdk": "^1.2.22",
|
|
51
51
|
"@types/busboy": "^1.5.4",
|
|
52
52
|
"busboy": "^1.6.0",
|
|
53
53
|
"eventemitter3": "^5.0.4",
|
|
54
|
-
"jose": "^6.2.
|
|
54
|
+
"jose": "^6.2.1",
|
|
55
55
|
"lowdb": "^7.0.1",
|
|
56
56
|
"lru-cache": "^11.2.6",
|
|
57
57
|
"micromatch": "^4.0.8",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"ignore": "^7.0.5",
|
|
83
83
|
"jsonwebtoken": "^9.0.3",
|
|
84
84
|
"pm2": "^6.0.14",
|
|
85
|
-
"tar": "^7.5.
|
|
85
|
+
"tar": "^7.5.11",
|
|
86
86
|
"zustand": "^5.0.11"
|
|
87
87
|
},
|
|
88
88
|
"engines": {
|