@kevisual/cli 0.0.62 → 0.0.64
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-server.js +2521 -7661
- package/dist/assistant.js +973 -7169
- package/dist/envision.js +8 -20
- package/package.json +3 -3
package/dist/envision.js
CHANGED
|
@@ -40052,8 +40052,8 @@ var {
|
|
|
40052
40052
|
import fs from "fs";
|
|
40053
40053
|
var version = "0.0.1";
|
|
40054
40054
|
try {
|
|
40055
|
-
if ("0.0.
|
|
40056
|
-
version = "0.0.
|
|
40055
|
+
if ("0.0.64")
|
|
40056
|
+
version = "0.0.64";
|
|
40057
40057
|
} catch (e) {}
|
|
40058
40058
|
program.name("app").description("A CLI tool with envison").version(version, "-V, --version");
|
|
40059
40059
|
var ls = new Command("ls").description("List files in the current directory").action(() => {
|
|
@@ -43544,12 +43544,12 @@ class BaseQuery {
|
|
|
43544
43544
|
}
|
|
43545
43545
|
}
|
|
43546
43546
|
|
|
43547
|
-
// node_modules/.pnpm/@kevisual+query-login@0.0.
|
|
43548
|
-
import { homedir } from "
|
|
43549
|
-
import { join, dirname } from "
|
|
43550
|
-
import fs3 from "
|
|
43551
|
-
import { readFileSync as readFileSync2, writeFileSync as writeFileSync2, accessSync } from "
|
|
43552
|
-
import { readFile, writeFile, unlink, mkdir } from "
|
|
43547
|
+
// node_modules/.pnpm/@kevisual+query-login@0.0.7_@kevisual+query@0.0.29_ws@8.18.0_/node_modules/@kevisual/query-login/dist/query-login-node.js
|
|
43548
|
+
import { homedir } from "os";
|
|
43549
|
+
import { join, dirname } from "path";
|
|
43550
|
+
import fs3 from "fs";
|
|
43551
|
+
import { readFileSync as readFileSync2, writeFileSync as writeFileSync2, accessSync } from "fs";
|
|
43552
|
+
import { readFile, writeFile, unlink, mkdir } from "fs/promises";
|
|
43553
43553
|
var LoginCacheStore = class {
|
|
43554
43554
|
cache;
|
|
43555
43555
|
name;
|
|
@@ -44059,18 +44059,6 @@ var QueryLoginNode = class extends QueryLogin {
|
|
|
44059
44059
|
var config = getConfig();
|
|
44060
44060
|
var baseURL = config?.baseURL || "https://kevisual.cn";
|
|
44061
44061
|
var getBaseURL = () => {
|
|
44062
|
-
if (typeof config?.dev === "undefined") {
|
|
44063
|
-
return baseURL;
|
|
44064
|
-
}
|
|
44065
|
-
if (typeof config?.dev === "string") {
|
|
44066
|
-
if (config?.dev === "true") {
|
|
44067
|
-
return "http://localhost:4002";
|
|
44068
|
-
}
|
|
44069
|
-
return baseURL;
|
|
44070
|
-
}
|
|
44071
|
-
if (config?.dev === true) {
|
|
44072
|
-
return "http://localhost:4002";
|
|
44073
|
-
}
|
|
44074
44062
|
return baseURL;
|
|
44075
44063
|
};
|
|
44076
44064
|
var query = new Query({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kevisual/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.64",
|
|
4
4
|
"description": "envision 命令行工具",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"basename": "/root/cli",
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"@kevisual/load": "^0.0.6",
|
|
48
48
|
"@kevisual/logger": "^0.0.4",
|
|
49
49
|
"@kevisual/query": "0.0.29",
|
|
50
|
-
"@kevisual/query-login": "0.0.
|
|
51
|
-
"@types/bun": "^1.3.
|
|
50
|
+
"@kevisual/query-login": "0.0.7",
|
|
51
|
+
"@types/bun": "^1.3.3",
|
|
52
52
|
"@types/crypto-js": "^4.2.2",
|
|
53
53
|
"@types/jsonwebtoken": "^9.0.10",
|
|
54
54
|
"@types/micromatch": "^4.0.10",
|