@kevisual/cli 0.1.12 → 0.1.13

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.js CHANGED
@@ -27476,6 +27476,13 @@ var envKevisualDir = process.env.ASSISTANT_CONFIG_DIR;
27476
27476
  if (envKevisualDir) {
27477
27477
  kevisualDir = envKevisualDir;
27478
27478
  logger.debug("使用环境变量 ASSISTANT_CONFIG_DIR 作为 kevisual 目录:", kevisualDir);
27479
+ } else {
27480
+ if (!kevisualDir) {
27481
+ const isCNB = process.env.CNB_GROUP_SLUG;
27482
+ if (isCNB) {
27483
+ kevisualDir = path.join("/workspace/kevisual");
27484
+ }
27485
+ }
27479
27486
  }
27480
27487
  var HomeConfigDir = path.join(kevisualDir, "assistant-app");
27481
27488
  function parseArgs(args) {
@@ -36742,7 +36749,7 @@ class RemoteApp {
36742
36749
  this.emitter.emit("message", data);
36743
36750
  }
36744
36751
  onError(error2) {
36745
- console.error("远程应用错误:", this.id, error2);
36752
+ console.error(`[remote-app] 远程应用错误: ${this.id}`, error2);
36746
36753
  this.isError = true;
36747
36754
  this.emitter.emit("error", error2);
36748
36755
  }
@@ -36812,7 +36819,7 @@ class RemoteApp {
36812
36819
  }
36813
36820
  }
36814
36821
 
36815
- // ../node_modules/.pnpm/@kevisual+query@0.0.49/node_modules/@kevisual/query/dist/query-browser.js
36822
+ // ../node_modules/.pnpm/@kevisual+query@0.0.52/node_modules/@kevisual/query/dist/query-browser.js
36816
36823
  var isTextForContentType = (contentType) => {
36817
36824
  if (!contentType)
36818
36825
  return false;
@@ -51107,7 +51114,7 @@ function filter(data, query) {
51107
51114
  return executor.execute(ast, data);
51108
51115
  }
51109
51116
 
51110
- // ../node_modules/.pnpm/@kevisual+api@0.0.59_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@kevisual/api/query/query-proxy/router-api-proxy.ts
51117
+ // ../node_modules/.pnpm/@kevisual+api@0.0.60_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@kevisual/api/query/query-proxy/router-api-proxy.ts
51111
51118
  var initApi = async (opts) => {
51112
51119
  const router = opts?.router;
51113
51120
  const item = opts?.item;
@@ -70654,7 +70661,7 @@ var source_default = chalk;
70654
70661
  // src/module/chalk.ts
70655
70662
  var chalk2 = new Chalk({ level: 3 });
70656
70663
 
70657
- // ../node_modules/.pnpm/@kevisual+query@0.0.49/node_modules/@kevisual/query/dist/query.js
70664
+ // ../node_modules/.pnpm/@kevisual+query@0.0.52/node_modules/@kevisual/query/dist/query.js
70658
70665
  var isTextForContentType2 = (contentType) => {
70659
70666
  if (!contentType)
70660
70667
  return false;
@@ -71255,7 +71262,7 @@ ${line}`;
71255
71262
  }
71256
71263
  }
71257
71264
 
71258
- // ../node_modules/.pnpm/@kevisual+api@0.0.59_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@kevisual/api/dist/query-login-node.js
71265
+ // ../node_modules/.pnpm/@kevisual+api@0.0.60_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@kevisual/api/dist/query-login-node.js
71259
71266
  import { homedir as homedir2 } from "node:os";
71260
71267
  import { join, dirname } from "node:path";
71261
71268
  import fs12 from "node:fs";
@@ -71571,6 +71578,15 @@ class BaseQuery {
71571
71578
  return this.query.get(data, options);
71572
71579
  }
71573
71580
  }
71581
+ var defaultCacheData = {
71582
+ loginUsers: [],
71583
+ user: undefined,
71584
+ id: undefined,
71585
+ accessToken: undefined,
71586
+ refreshToken: undefined,
71587
+ accessTokenExpiresIn: undefined,
71588
+ createdAt: undefined
71589
+ };
71574
71590
 
71575
71591
  class LoginCacheStore {
71576
71592
  cache;
@@ -71581,13 +71597,7 @@ class LoginCacheStore {
71581
71597
  throw new Error("cache is required");
71582
71598
  }
71583
71599
  this.cache = opts.cache;
71584
- this.cacheData = {
71585
- loginUsers: [],
71586
- user: undefined,
71587
- id: undefined,
71588
- accessToken: undefined,
71589
- refreshToken: undefined
71590
- };
71600
+ this.cacheData = { ...defaultCacheData };
71591
71601
  this.name = opts.name;
71592
71602
  }
71593
71603
  async setValue(value) {
@@ -71597,27 +71607,13 @@ class LoginCacheStore {
71597
71607
  }
71598
71608
  async delValue() {
71599
71609
  await this.cache.del();
71600
- this.cacheData = {
71601
- loginUsers: [],
71602
- user: undefined,
71603
- id: undefined,
71604
- accessToken: undefined,
71605
- refreshToken: undefined
71606
- };
71610
+ this.cacheData = { ...defaultCacheData };
71607
71611
  }
71608
71612
  getValue() {
71609
71613
  return this.cache.get(this.name);
71610
71614
  }
71611
71615
  async init() {
71612
- const defaultData = {
71613
- loginUsers: [],
71614
- user: undefined,
71615
- id: undefined,
71616
- accessToken: undefined,
71617
- refreshToken: undefined,
71618
- accessTokenExpiresIn: undefined,
71619
- createdAt: undefined
71620
- };
71616
+ const defaultData = { ...this.cacheData };
71621
71617
  if (this.cache.init) {
71622
71618
  try {
71623
71619
  const cacheData = await this.cache.init();
@@ -71630,18 +71626,18 @@ class LoginCacheStore {
71630
71626
  }
71631
71627
  return this.cacheData;
71632
71628
  }
71633
- async setLoginUser(user) {
71634
- const has = this.cacheData.loginUsers.find((u) => u.id === user.id);
71629
+ async setLoginUser(loginUser) {
71630
+ const has = this.cacheData.loginUsers.find((u) => u.id === loginUser.id);
71635
71631
  if (has) {
71636
- this.cacheData.loginUsers = this.cacheData?.loginUsers?.filter((u) => u?.id && u.id !== user.id);
71637
- }
71638
- this.cacheData.loginUsers.push(user);
71639
- this.cacheData.user = user.user;
71640
- this.cacheData.id = user.id;
71641
- this.cacheData.accessToken = user.accessToken;
71642
- this.cacheData.refreshToken = user.refreshToken;
71643
- this.cacheData.accessTokenExpiresIn = user.accessTokenExpiresIn;
71644
- this.cacheData.createdAt = user.createdAt;
71632
+ this.cacheData.loginUsers = this.cacheData?.loginUsers?.filter((u) => u?.id && u.id !== loginUser.id);
71633
+ }
71634
+ this.cacheData.loginUsers.push(loginUser);
71635
+ this.cacheData.user = loginUser.user;
71636
+ this.cacheData.id = loginUser.id;
71637
+ this.cacheData.accessToken = loginUser.accessToken;
71638
+ this.cacheData.refreshToken = loginUser.refreshToken;
71639
+ this.cacheData.accessTokenExpiresIn = loginUser.accessTokenExpiresIn;
71640
+ this.cacheData.createdAt = loginUser.createdAt;
71645
71641
  await this.setValue(this.cacheData);
71646
71642
  }
71647
71643
  getCurrentUser() {
@@ -71677,22 +71673,22 @@ class LoginCacheStore {
71677
71673
  if (has) {
71678
71674
  this.cacheData.loginUsers = this.cacheData?.loginUsers?.filter((u) => u?.id && u.id !== user.id);
71679
71675
  }
71680
- this.cacheData.user = undefined;
71681
- this.cacheData.id = undefined;
71682
- this.cacheData.accessToken = undefined;
71683
- this.cacheData.refreshToken = undefined;
71684
- this.cacheData.accessTokenExpiresIn = undefined;
71685
- this.cacheData.createdAt = undefined;
71676
+ const hasOther = this.cacheData.loginUsers.length > 0;
71677
+ const current = this.cacheData.loginUsers[this.cacheData.loginUsers.length - 1];
71678
+ if (hasOther && current) {
71679
+ this.cacheData.user = current.user;
71680
+ this.cacheData.id = current.id;
71681
+ this.cacheData.accessToken = current.accessToken;
71682
+ this.cacheData.refreshToken = current.refreshToken;
71683
+ this.cacheData.accessTokenExpiresIn = current.accessTokenExpiresIn;
71684
+ this.cacheData.createdAt = current.createdAt;
71685
+ } else {
71686
+ this.cacheData = { ...defaultCacheData };
71687
+ }
71686
71688
  await this.setValue(this.cacheData);
71687
71689
  }
71688
71690
  async clearAll() {
71689
- this.cacheData.loginUsers = [];
71690
- this.cacheData.user = undefined;
71691
- this.cacheData.id = undefined;
71692
- this.cacheData.accessToken = undefined;
71693
- this.cacheData.refreshToken = undefined;
71694
- this.cacheData.accessTokenExpiresIn = undefined;
71695
- this.cacheData.createdAt = undefined;
71691
+ this.cacheData = { ...defaultCacheData };
71696
71692
  await this.setValue(this.cacheData);
71697
71693
  }
71698
71694
  }
@@ -72280,7 +72276,7 @@ class QueryLogin extends BaseQuery {
72280
72276
  async queryRefreshToken(opts) {
72281
72277
  const refreshToken = opts?.refreshToken;
72282
72278
  let accessToken = opts?.accessToken;
72283
- const _refreshToken = refreshToken || await this.cacheStore.getRefreshToken();
72279
+ const _refreshToken = refreshToken ?? await this.cacheStore.getRefreshToken();
72284
72280
  let data = {};
72285
72281
  if (accessToken) {
72286
72282
  data.accessToken = accessToken;
@@ -72391,6 +72387,7 @@ class QueryLogin extends BaseQuery {
72391
72387
  }
72392
72388
  const isExpired = await this.cacheStore.getIsExpired();
72393
72389
  if (isExpired) {
72390
+ console.log("token过期,正在刷新token", this.cacheStore.cacheData);
72394
72391
  const res = await this.refreshLoginUser();
72395
72392
  if (res.code === 200) {
72396
72393
  return res.data?.accessToken || null;
@@ -87232,7 +87229,7 @@ class AssistantApp extends Manager2 {
87232
87229
  app: this.mainApp,
87233
87230
  autoReconnect: true,
87234
87231
  reconnectDelay: 5000,
87235
- maxReconnectAttempts: Infinity,
87232
+ maxReconnectAttempts: 50,
87236
87233
  enableBackoff: true
87237
87234
  });
87238
87235
  remoteApp.isConnect();
@@ -87252,7 +87249,7 @@ class AssistantApp extends Manager2 {
87252
87249
  logger.info("[remote-app] 远程连接已关闭,自动重连机制正在处理...");
87253
87250
  });
87254
87251
  remoteApp.on("maxReconnectAttemptsReached", () => {
87255
- logger.error("远程应用重连达到最大次数,停止重连");
87252
+ logger.error("[remote-app] 远程应用重连达到最大次数,停止重连");
87256
87253
  });
87257
87254
  this.remoteApp = remoteApp;
87258
87255
  } else {
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.12")
22316
- version2 = "0.1.12";
22315
+ if ("0.1.13")
22316
+ version2 = "0.1.13";
22317
22317
  } catch (e) {}
22318
22318
  return version2;
22319
22319
  });
@@ -25149,7 +25149,7 @@ var dist_default6 = createPrompt((config, done) => {
25149
25149
  var import_md5 = __toESM(require_md5(), 1);
25150
25150
  var import_jsonwebtoken = __toESM(require_jsonwebtoken(), 1);
25151
25151
 
25152
- // node_modules/.pnpm/@kevisual+query@0.0.49/node_modules/@kevisual/query/dist/query.js
25152
+ // node_modules/.pnpm/@kevisual+query@0.0.52/node_modules/@kevisual/query/dist/query.js
25153
25153
  var isTextForContentType = (contentType) => {
25154
25154
  if (!contentType)
25155
25155
  return false;
@@ -25437,7 +25437,7 @@ class Query {
25437
25437
  }
25438
25438
  }
25439
25439
 
25440
- // node_modules/.pnpm/@kevisual+query@0.0.49/node_modules/@kevisual/query/dist/query-browser.js
25440
+ // node_modules/.pnpm/@kevisual+query@0.0.52/node_modules/@kevisual/query/dist/query-browser.js
25441
25441
  var isTextForContentType2 = (contentType) => {
25442
25442
  if (!contentType)
25443
25443
  return false;
@@ -25750,7 +25750,17 @@ class BaseQuery {
25750
25750
  }
25751
25751
  }
25752
25752
 
25753
- // node_modules/.pnpm/@kevisual+api@0.0.59_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@kevisual/api/query/query-login/login-cache.ts
25753
+ // node_modules/.pnpm/@kevisual+api@0.0.60_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@kevisual/api/query/query-login/login-cache.ts
25754
+ var defaultCacheData = {
25755
+ loginUsers: [],
25756
+ user: undefined,
25757
+ id: undefined,
25758
+ accessToken: undefined,
25759
+ refreshToken: undefined,
25760
+ accessTokenExpiresIn: undefined,
25761
+ createdAt: undefined
25762
+ };
25763
+
25754
25764
  class LoginCacheStore {
25755
25765
  cache;
25756
25766
  name;
@@ -25760,13 +25770,7 @@ class LoginCacheStore {
25760
25770
  throw new Error("cache is required");
25761
25771
  }
25762
25772
  this.cache = opts.cache;
25763
- this.cacheData = {
25764
- loginUsers: [],
25765
- user: undefined,
25766
- id: undefined,
25767
- accessToken: undefined,
25768
- refreshToken: undefined
25769
- };
25773
+ this.cacheData = { ...defaultCacheData };
25770
25774
  this.name = opts.name;
25771
25775
  }
25772
25776
  async setValue(value) {
@@ -25776,27 +25780,13 @@ class LoginCacheStore {
25776
25780
  }
25777
25781
  async delValue() {
25778
25782
  await this.cache.del();
25779
- this.cacheData = {
25780
- loginUsers: [],
25781
- user: undefined,
25782
- id: undefined,
25783
- accessToken: undefined,
25784
- refreshToken: undefined
25785
- };
25783
+ this.cacheData = { ...defaultCacheData };
25786
25784
  }
25787
25785
  getValue() {
25788
25786
  return this.cache.get(this.name);
25789
25787
  }
25790
25788
  async init() {
25791
- const defaultData = {
25792
- loginUsers: [],
25793
- user: undefined,
25794
- id: undefined,
25795
- accessToken: undefined,
25796
- refreshToken: undefined,
25797
- accessTokenExpiresIn: undefined,
25798
- createdAt: undefined
25799
- };
25789
+ const defaultData = { ...this.cacheData };
25800
25790
  if (this.cache.init) {
25801
25791
  try {
25802
25792
  const cacheData = await this.cache.init();
@@ -25809,18 +25799,18 @@ class LoginCacheStore {
25809
25799
  }
25810
25800
  return this.cacheData;
25811
25801
  }
25812
- async setLoginUser(user) {
25813
- const has = this.cacheData.loginUsers.find((u) => u.id === user.id);
25802
+ async setLoginUser(loginUser) {
25803
+ const has = this.cacheData.loginUsers.find((u) => u.id === loginUser.id);
25814
25804
  if (has) {
25815
- this.cacheData.loginUsers = this.cacheData?.loginUsers?.filter((u) => u?.id && u.id !== user.id);
25816
- }
25817
- this.cacheData.loginUsers.push(user);
25818
- this.cacheData.user = user.user;
25819
- this.cacheData.id = user.id;
25820
- this.cacheData.accessToken = user.accessToken;
25821
- this.cacheData.refreshToken = user.refreshToken;
25822
- this.cacheData.accessTokenExpiresIn = user.accessTokenExpiresIn;
25823
- this.cacheData.createdAt = user.createdAt;
25805
+ this.cacheData.loginUsers = this.cacheData?.loginUsers?.filter((u) => u?.id && u.id !== loginUser.id);
25806
+ }
25807
+ this.cacheData.loginUsers.push(loginUser);
25808
+ this.cacheData.user = loginUser.user;
25809
+ this.cacheData.id = loginUser.id;
25810
+ this.cacheData.accessToken = loginUser.accessToken;
25811
+ this.cacheData.refreshToken = loginUser.refreshToken;
25812
+ this.cacheData.accessTokenExpiresIn = loginUser.accessTokenExpiresIn;
25813
+ this.cacheData.createdAt = loginUser.createdAt;
25824
25814
  await this.setValue(this.cacheData);
25825
25815
  }
25826
25816
  getCurrentUser() {
@@ -25856,22 +25846,22 @@ class LoginCacheStore {
25856
25846
  if (has) {
25857
25847
  this.cacheData.loginUsers = this.cacheData?.loginUsers?.filter((u) => u?.id && u.id !== user.id);
25858
25848
  }
25859
- this.cacheData.user = undefined;
25860
- this.cacheData.id = undefined;
25861
- this.cacheData.accessToken = undefined;
25862
- this.cacheData.refreshToken = undefined;
25863
- this.cacheData.accessTokenExpiresIn = undefined;
25864
- this.cacheData.createdAt = undefined;
25849
+ const hasOther = this.cacheData.loginUsers.length > 0;
25850
+ const current = this.cacheData.loginUsers[this.cacheData.loginUsers.length - 1];
25851
+ if (hasOther && current) {
25852
+ this.cacheData.user = current.user;
25853
+ this.cacheData.id = current.id;
25854
+ this.cacheData.accessToken = current.accessToken;
25855
+ this.cacheData.refreshToken = current.refreshToken;
25856
+ this.cacheData.accessTokenExpiresIn = current.accessTokenExpiresIn;
25857
+ this.cacheData.createdAt = current.createdAt;
25858
+ } else {
25859
+ this.cacheData = { ...defaultCacheData };
25860
+ }
25865
25861
  await this.setValue(this.cacheData);
25866
25862
  }
25867
25863
  async clearAll() {
25868
- this.cacheData.loginUsers = [];
25869
- this.cacheData.user = undefined;
25870
- this.cacheData.id = undefined;
25871
- this.cacheData.accessToken = undefined;
25872
- this.cacheData.refreshToken = undefined;
25873
- this.cacheData.accessTokenExpiresIn = undefined;
25874
- this.cacheData.createdAt = undefined;
25864
+ this.cacheData = { ...defaultCacheData };
25875
25865
  await this.setValue(this.cacheData);
25876
25866
  }
25877
25867
  }
@@ -26326,7 +26316,7 @@ class BaseLoad3 {
26326
26316
  }
26327
26317
  }
26328
26318
 
26329
- // node_modules/.pnpm/@kevisual+api@0.0.59_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@kevisual/api/query/query-login/query-login.ts
26319
+ // node_modules/.pnpm/@kevisual+api@0.0.60_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@kevisual/api/query/query-login/query-login.ts
26330
26320
  class QueryLogin extends BaseQuery {
26331
26321
  cacheStore;
26332
26322
  isBrowser;
@@ -26462,7 +26452,7 @@ class QueryLogin extends BaseQuery {
26462
26452
  async queryRefreshToken(opts) {
26463
26453
  const refreshToken = opts?.refreshToken;
26464
26454
  let accessToken = opts?.accessToken;
26465
- const _refreshToken = refreshToken || await this.cacheStore.getRefreshToken();
26455
+ const _refreshToken = refreshToken ?? await this.cacheStore.getRefreshToken();
26466
26456
  let data = {};
26467
26457
  if (accessToken) {
26468
26458
  data.accessToken = accessToken;
@@ -26573,6 +26563,7 @@ class QueryLogin extends BaseQuery {
26573
26563
  }
26574
26564
  const isExpired = await this.cacheStore.getIsExpired();
26575
26565
  if (isExpired) {
26566
+ console.log("token过期,正在刷新token", this.cacheStore.cacheData);
26576
26567
  const res = await this.refreshLoginUser();
26577
26568
  if (res.code === 200) {
26578
26569
  return res.data?.accessToken || null;
@@ -26717,7 +26708,7 @@ class QueryLogin extends BaseQuery {
26717
26708
  }
26718
26709
  }
26719
26710
 
26720
- // node_modules/.pnpm/@kevisual+api@0.0.59_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@kevisual/api/query/query-login/login-node-cache.ts
26711
+ // node_modules/.pnpm/@kevisual+api@0.0.60_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@kevisual/api/query/query-login/login-node-cache.ts
26721
26712
  import { homedir } from "node:os";
26722
26713
  import { join, dirname } from "node:path";
26723
26714
  import fs4 from "node:fs";
@@ -26861,7 +26852,7 @@ class LoginNodeCache {
26861
26852
  }
26862
26853
  }
26863
26854
 
26864
- // node_modules/.pnpm/@kevisual+api@0.0.59_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@kevisual/api/query/query-login/query-login-node.ts
26855
+ // node_modules/.pnpm/@kevisual+api@0.0.60_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@kevisual/api/query/query-login/query-login-node.ts
26865
26856
  var cache = new LoginNodeCache;
26866
26857
 
26867
26858
  class QueryLoginNode extends QueryLogin {
@@ -30574,7 +30565,7 @@ var download = new Command("download").option("-d --dir <dir>", "配置目录").
30574
30565
  command8.addCommand(download);
30575
30566
  program.addCommand(command8);
30576
30567
 
30577
- // node_modules/.pnpm/@kevisual+api@0.0.59_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@kevisual/api/dist/query-config.js
30568
+ // node_modules/.pnpm/@kevisual+api@0.0.60_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@kevisual/api/dist/query-config.js
30578
30569
  var isTextForContentType3 = (contentType) => {
30579
30570
  if (!contentType)
30580
30571
  return false;
@@ -31010,7 +31001,7 @@ command9.addCommand(updateCommand);
31010
31001
  command9.addCommand(deleteCommand);
31011
31002
  program.addCommand(command9);
31012
31003
 
31013
- // node_modules/.pnpm/@kevisual+api@0.0.59_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@kevisual/api/dist/query-secret.js
31004
+ // node_modules/.pnpm/@kevisual+api@0.0.60_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@kevisual/api/dist/query-secret.js
31014
31005
  var isTextForContentType4 = (contentType) => {
31015
31006
  if (!contentType)
31016
31007
  return false;
@@ -34327,7 +34318,7 @@ var getJWKS = new Command("get").description("获取 JWKS 内容").option("-d ,
34327
34318
  jwksCmd.addCommand(getJWKS);
34328
34319
  program.addCommand(jwksCmd);
34329
34320
 
34330
- // node_modules/.pnpm/@kevisual+cnb@0.0.28_dotenv@17.3.1_idb-keyval@6.2.2_ioredis@5.9.3/node_modules/@kevisual/cnb/dist/keep.js
34321
+ // node_modules/.pnpm/@kevisual+cnb@0.0.32_dotenv@17.3.1_idb-keyval@6.2.2_ioredis@5.9.3/node_modules/@kevisual/cnb/dist/keep.js
34331
34322
  import { createRequire as createRequire3 } from "node:module";
34332
34323
  var __create3 = Object.create;
34333
34324
  var __getProtoOf3 = Object.getPrototypeOf;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kevisual/cli",
3
- "version": "0.1.12",
3
+ "version": "0.1.13",
4
4
  "description": "envision 命令行工具",
5
5
  "type": "module",
6
6
  "basename": "/root/cli",
@@ -46,7 +46,7 @@
46
46
  "@kevisual/auth": "^2.0.3",
47
47
  "@kevisual/context": "^0.0.8",
48
48
  "@kevisual/use-config": "^1.0.30",
49
- "@opencode-ai/sdk": "^1.2.10",
49
+ "@opencode-ai/sdk": "^1.2.14",
50
50
  "@types/busboy": "^1.5.4",
51
51
  "busboy": "^1.6.0",
52
52
  "eventemitter3": "^5.0.4",
@@ -59,12 +59,12 @@
59
59
  "unstorage": "^1.17.4"
60
60
  },
61
61
  "devDependencies": {
62
- "@kevisual/api": "^0.0.59",
63
- "@kevisual/cnb": "^0.0.28",
62
+ "@kevisual/api": "^0.0.60",
63
+ "@kevisual/cnb": "^0.0.32",
64
64
  "@kevisual/dts": "^0.0.4",
65
65
  "@kevisual/load": "^0.0.6",
66
66
  "@kevisual/logger": "^0.0.4",
67
- "@kevisual/query": "0.0.49",
67
+ "@kevisual/query": "0.0.52",
68
68
  "@types/bun": "^1.3.9",
69
69
  "@types/crypto-js": "^4.2.2",
70
70
  "@types/jsonwebtoken": "^9.0.10",