@wirecat/drive-cli 0.53.0 → 0.54.0

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.
Files changed (126) hide show
  1. package/dist/bin/drive.js +2 -2
  2. package/dist/bundle/{all-profiles-WRN35CUF.js → all-profiles-LFIPUPZI.js} +9 -9
  3. package/dist/bundle/{anthropic-DZASXWG3.js → anthropic-G5ZRRWG4.js} +5 -5
  4. package/dist/bundle/{app-server-4VHT7QZN.js → app-server-UVWATOQC.js} +46 -46
  5. package/dist/bundle/{bun-7SYKSCLA.js → bun-DNEFTPTR.js} +2 -2
  6. package/dist/bundle/{bun-sqlite-2GOM5PM3.js → bun-sqlite-FWBYHIXB.js} +4 -4
  7. package/dist/bundle/{chunk-PC4UA6UN.js → chunk-2CQT2WWN.js} +5 -5
  8. package/dist/bundle/{chunk-DZMK255Y.js → chunk-2D6AAGBP.js} +41 -31
  9. package/dist/bundle/{chunk-FG4XXZZE.js → chunk-2FFXRWI2.js} +2 -2
  10. package/dist/bundle/{chunk-MK3N7WX7.js → chunk-2HQPJ366.js} +3 -3
  11. package/dist/bundle/{chunk-54BYJQ77.js → chunk-2HWOGSTA.js} +25 -25
  12. package/dist/bundle/{chunk-7XKAVMCF.js → chunk-2MSJVFAS.js} +8 -8
  13. package/dist/bundle/{chunk-NSIFQ5OP.js → chunk-2NWFZ43Q.js} +1 -1
  14. package/dist/bundle/{chunk-6XYGTRMQ.js → chunk-2Q3S47BC.js} +523 -268
  15. package/dist/bundle/{chunk-KPBCGUJC.js → chunk-47MEPBWG.js} +21 -21
  16. package/dist/bundle/{chunk-3RYX7IB6.js → chunk-4RDXCE45.js} +39 -38
  17. package/dist/bundle/{chunk-7IUMHMTP.js → chunk-5BPOAHVD.js} +2 -2
  18. package/dist/bundle/{chunk-VZ2I62HN.js → chunk-5LNOVPOR.js} +2 -2
  19. package/dist/bundle/{chunk-EKFEY3KP.js → chunk-5WQN2TUM.js} +1 -1
  20. package/dist/bundle/{chunk-ALJWBGD5.js → chunk-6MGSFYGL.js} +1 -1
  21. package/dist/bundle/{chunk-WUX7AUOQ.js → chunk-6RAEXK7Y.js} +26 -26
  22. package/dist/bundle/{chunk-RNIHKIQP.js → chunk-6SOQJRGI.js} +4 -4
  23. package/dist/bundle/{chunk-CKBHR7QO.js → chunk-75DSLCPC.js} +1 -1
  24. package/dist/bundle/{chunk-YLKQSVLI.js → chunk-76JIVDKC.js} +2 -2
  25. package/dist/bundle/{chunk-LSGAJYVN.js → chunk-7WCZ2OZ5.js} +6 -6
  26. package/dist/bundle/{chunk-OQMK6WXQ.js → chunk-7XU3TR7K.js} +2 -2
  27. package/dist/bundle/{chunk-7SH4JHYW.js → chunk-A4FTLORC.js} +12 -12
  28. package/dist/bundle/{chunk-CITFEQ6S.js → chunk-AACQA2CO.js} +1 -1
  29. package/dist/bundle/{chunk-PSNHPFSK.js → chunk-AAHIBA36.js} +1 -1
  30. package/dist/bundle/{chunk-GPJEYW2J.js → chunk-BWBVBW5T.js} +8 -8
  31. package/dist/bundle/{chunk-HM352LJR.js → chunk-CVALO727.js} +24 -24
  32. package/dist/bundle/{chunk-E6XDFMRZ.js → chunk-FHW4ENRF.js} +32 -32
  33. package/dist/bundle/{chunk-2HHOMN2G.js → chunk-HAHARAJD.js} +23 -23
  34. package/dist/bundle/{chunk-SQHPJBNO.js → chunk-IBRXVPBI.js} +95 -95
  35. package/dist/bundle/{chunk-YQOVVCIA.js → chunk-IKODUUQG.js} +17 -16
  36. package/dist/bundle/{chunk-IJFZKQC4.js → chunk-IOMSC4ZG.js} +3 -3
  37. package/dist/bundle/{chunk-YKZ4IPLB.js → chunk-JKEAZBEZ.js} +7 -7
  38. package/dist/bundle/{chunk-VTWADVEQ.js → chunk-KIQIF5M7.js} +2 -2
  39. package/dist/bundle/{chunk-IAQ4L6SM.js → chunk-KT5G3KVS.js} +3 -3
  40. package/dist/bundle/{chunk-BEL4XZ3M.js → chunk-L3RV42O3.js} +16 -16
  41. package/dist/bundle/{chunk-NHBUTCNR.js → chunk-LQXLWHKM.js} +9 -9
  42. package/dist/bundle/{chunk-PR3DA7KA.js → chunk-MATUQFYL.js} +11 -11
  43. package/dist/bundle/{chunk-F3KHUJEE.js → chunk-MULPNGM2.js} +10 -10
  44. package/dist/bundle/{chunk-FJW3DDCF.js → chunk-N4OO3SPQ.js} +5 -5
  45. package/dist/bundle/{chunk-6DHQTUB2.js → chunk-NDWWGBSM.js} +1 -1
  46. package/dist/bundle/{chunk-DLAFGSTN.js → chunk-NHDSJMAR.js} +1 -1
  47. package/dist/bundle/{chunk-CNKILAWA.js → chunk-O6YYFVDD.js} +30 -23
  48. package/dist/bundle/{chunk-FXWBUTR7.js → chunk-OYGEBFFO.js} +7 -7
  49. package/dist/bundle/{chunk-DOZOLBXE.js → chunk-P7E7K467.js} +3 -3
  50. package/dist/bundle/{chunk-GE4DP24O.js → chunk-PKNTBZXN.js} +51 -51
  51. package/dist/bundle/{chunk-PIMMF67N.js → chunk-PU4GANCD.js} +2 -2
  52. package/dist/bundle/{chunk-UFWK3L5Z.js → chunk-Q46JLJ5O.js} +6 -6
  53. package/dist/bundle/{chunk-R276546S.js → chunk-QKHFQHE7.js} +1 -1
  54. package/dist/bundle/{chunk-6BNALDGA.js → chunk-QUJCD5U7.js} +4 -4
  55. package/dist/bundle/{chunk-CL4GVCXS.js → chunk-RIYXQFKU.js} +46 -46
  56. package/dist/bundle/{chunk-DT2YCB2V.js → chunk-RWEFKLXJ.js} +24 -22
  57. package/dist/bundle/{chunk-R4TE4ZSD.js → chunk-SBOTSSYV.js} +342 -296
  58. package/dist/bundle/{chunk-SIWBUGBU.js → chunk-U3BOQ63L.js} +8 -8
  59. package/dist/bundle/{chunk-QXYGK6G5.js → chunk-UBJX5D2O.js} +2 -2
  60. package/dist/bundle/{chunk-WJRJBQIM.js → chunk-VCGQMTHW.js} +549 -288
  61. package/dist/bundle/{chunk-ZG6X24ON.js → chunk-VKYCMXEQ.js} +5 -5
  62. package/dist/bundle/{chunk-ZSXRDF6I.js → chunk-VX4RAT3A.js} +1 -1
  63. package/dist/bundle/{chunk-2PVDFLJJ.js → chunk-W5SYBHRX.js} +2 -2
  64. package/dist/bundle/{chunk-KXMJE3XC.js → chunk-WGSTTWM5.js} +6 -6
  65. package/dist/bundle/{chunk-T334CFU4.js → chunk-WJRE45Z6.js} +4 -4
  66. package/dist/bundle/{chunk-TZLO3ZZF.js → chunk-WQPTZHHR.js} +17 -26
  67. package/dist/bundle/{chunk-JEOYFKUK.js → chunk-WSX5UQNT.js} +2 -2
  68. package/dist/bundle/{chunk-LJAX6YCF.js → chunk-WYDYSQ7T.js} +2 -2
  69. package/dist/bundle/{chunk-C6Z25IBJ.js → chunk-XCUUYQN7.js} +4 -4
  70. package/dist/bundle/{chunk-GVCN3GLZ.js → chunk-YOHOQ6ZR.js} +4 -4
  71. package/dist/bundle/{chunk-SVTYS36O.js → chunk-YZ5VMR2S.js} +3 -3
  72. package/dist/bundle/{chunk-ZDLIO76S.js → chunk-ZMMOVTUB.js} +2 -2
  73. package/dist/bundle/command-contract-VZ3ZJLEF.js +35 -0
  74. package/dist/bundle/{decode-WAPM2VBH.js → decode-DN2DDFET.js} +4 -4
  75. package/dist/bundle/drive.js +6 -6
  76. package/dist/bundle/{echarts-GXY34GHA.js → echarts-VMHZ2UYP.js} +2 -2
  77. package/dist/bundle/{embed-HW3N3KNP.js → embed-MDN7R7BA.js} +5 -5
  78. package/dist/bundle/{embedder-7WNFXYYP.js → embedder-KEVEDNDJ.js} +8 -8
  79. package/dist/bundle/{entry-J7YIRDPD.js → entry-HTNK5TJQ.js} +6 -6
  80. package/dist/bundle/{first-run-53CL2IYH.js → first-run-QNMCMP67.js} +9 -9
  81. package/dist/bundle/first-screen-RQBEHUQC.js +33 -0
  82. package/dist/bundle/{google-5NNVARNR.js → google-QAKMV57Q.js} +9 -9
  83. package/dist/bundle/{google-api-EQQH53QD.js → google-api-UJJS7ECO.js} +51 -51
  84. package/dist/bundle/grants-VMPKFEC2.js +98 -0
  85. package/dist/bundle/{identity-LBTXDMTA.js → identity-UODE3QAL.js} +4 -4
  86. package/dist/bundle/{instructions-K5BEQM4C.js → instructions-IWLHCDC7.js} +1 -1
  87. package/dist/bundle/{login-Y6ENYKC3.js → login-GIZXEN7I.js} +58 -60
  88. package/dist/bundle/{mcp-WSGVVZWI.js → mcp-RUYPQVYS.js} +2 -2
  89. package/dist/bundle/{node-ZYWB7IET.js → node-25IJLDBZ.js} +2 -2
  90. package/dist/bundle/{node-sqlite-FSQIKGED.js → node-sqlite-DYR4FEI4.js} +4 -4
  91. package/dist/bundle/{oauth-HF5USWXY.js → oauth-FLHXEDDY.js} +6 -6
  92. package/dist/bundle/{open-NHGJENCX.js → open-FWDZB7KX.js} +3 -3
  93. package/dist/bundle/{openai-3JCJYKNX.js → openai-HB7UGKPW.js} +13 -13
  94. package/dist/bundle/{process-ZXO2MWRJ.js → process-P6TW37HQ.js} +1 -1
  95. package/dist/bundle/{program-QAJ66K3Z.js → program-DVUNLXXS.js} +73 -73
  96. package/dist/bundle/{prompt-LQJBCCUF.js → prompt-MKWMYO3B.js} +4 -4
  97. package/dist/bundle/{reasons-J57GSRWN.js → reasons-25BEO2NE.js} +3 -3
  98. package/dist/bundle/{recognize-QM3LN4ZF.js → recognize-VXGNPROM.js} +3 -3
  99. package/dist/bundle/{remote-WREGEZJQ.js → remote-H5ZWLJHR.js} +6 -6
  100. package/dist/bundle/{rerank-YFUB6J6M.js → rerank-5A3JDK7O.js} +6 -6
  101. package/dist/bundle/{serve-7NFEZ564.js → serve-QNPNEZVR.js} +8 -8
  102. package/dist/bundle/{server-KBCFZ2AU.js → server-GWBVIRLY.js} +38 -38
  103. package/dist/bundle/server-QJU3HEGM.js +63 -0
  104. package/dist/bundle/{services-C3XWRA2W.js → services-PFXEWHJG.js} +29 -25
  105. package/dist/bundle/{sqlite-runtime-H3TSAMIN.js → sqlite-runtime-RGFISYXM.js} +4 -4
  106. package/dist/bundle/{state-S2Q53L6L.js → state-BUSX5BXF.js} +5 -5
  107. package/dist/bundle/{store-I27LAJPU.js → store-FIEE5HHG.js} +14 -14
  108. package/dist/bundle/{store-H345VQHP.js → store-HFF5KQ44.js} +12 -12
  109. package/dist/bundle/store-maintenance-command-Z4SPEQUM.js +52 -0
  110. package/dist/bundle/tokens-B6MUZRFM.js +96 -0
  111. package/dist/login.d.ts.map +1 -1
  112. package/dist/login.js +2 -4
  113. package/dist/login.js.map +1 -1
  114. package/dist/tokens.d.ts.map +1 -1
  115. package/dist/tokens.js +0 -9
  116. package/dist/tokens.js.map +1 -1
  117. package/dist/version.d.ts +1 -1
  118. package/dist/version.js +1 -1
  119. package/package.json +3 -3
  120. package/dist/bundle/command-contract-D4UG3D33.js +0 -35
  121. package/dist/bundle/first-screen-2KT7HM2K.js +0 -33
  122. package/dist/bundle/grants-4NETZ4MR.js +0 -98
  123. package/dist/bundle/server-UYVL2CFI.js +0 -63
  124. package/dist/bundle/store-maintenance-command-3XA73XMC.js +0 -52
  125. package/dist/bundle/tokens-7MUGKFEM.js +0 -96
  126. /package/dist/bundle/{chunk-62EDJKGP.js → chunk-HEA3XVAJ.js} +0 -0
@@ -4,23 +4,23 @@ import {
4
4
  executableEnvironment,
5
5
  executableOnPath,
6
6
  require_cross_spawn
7
- } from "./chunk-DLAFGSTN.js";
7
+ } from "./chunk-NHDSJMAR.js";
8
8
  import {
9
9
  loadConfigFile,
10
10
  saveConfigFile
11
- } from "./chunk-DZMK255Y.js";
11
+ } from "./chunk-2D6AAGBP.js";
12
12
  import {
13
13
  number,
14
14
  object,
15
15
  optional,
16
16
  string
17
- } from "./chunk-YKZ4IPLB.js";
17
+ } from "./chunk-JKEAZBEZ.js";
18
18
  import {
19
19
  __name,
20
20
  __toESM
21
21
  } from "./chunk-ZVVMGPBJ.js";
22
22
 
23
- // node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/installer.js
23
+ // node_modules/.pnpm/@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/installer.js
24
24
  var installerOf = /* @__PURE__ */ __name((scriptPath) => {
25
25
  const path = scriptPath.replaceAll("\\", "/");
26
26
  if (path.includes("/_npx/"))
@@ -34,7 +34,7 @@ var installerOf = /* @__PURE__ */ __name((scriptPath) => {
34
34
  return path.includes("/dist/") ? "checkout" : "unknown";
35
35
  }, "installerOf");
36
36
 
37
- // node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/update/index.js
37
+ // node_modules/.pnpm/@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/update/index.js
38
38
  var import_cross_spawn = __toESM(require_cross_spawn(), 1);
39
39
  import { existsSync } from "node:fs";
40
40
  var updateCommand = /* @__PURE__ */ __name((installer, packageName) => {
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
8
8
  var instructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => {
9
9
  const all = typeof profile !== "string";
10
10
  const offers = /* @__PURE__ */ __name((key) => all || writes.includes(key), "offers");
@@ -2,10 +2,10 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  REASONS
5
- } from "./chunk-EKFEY3KP.js";
5
+ } from "./chunk-5WQN2TUM.js";
6
6
 
7
7
  // dist/version.js
8
- var VERSION = "0.53.0";
8
+ var VERSION = "0.54.0";
9
9
 
10
10
  // dist/identity.js
11
11
  var DRIVE_APP = {
@@ -2,23 +2,23 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  storePath
5
- } from "./chunk-QXYGK6G5.js";
5
+ } from "./chunk-UBJX5D2O.js";
6
6
  import {
7
7
  resolvePaths,
8
8
  singleLine
9
- } from "./chunk-DZMK255Y.js";
9
+ } from "./chunk-2D6AAGBP.js";
10
10
  import {
11
11
  CliError
12
- } from "./chunk-YKZ4IPLB.js";
12
+ } from "./chunk-JKEAZBEZ.js";
13
13
  import {
14
14
  __name
15
15
  } from "./chunk-ZVVMGPBJ.js";
16
16
 
17
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/store/shared-config.js
17
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/store/shared-config.js
18
18
  import { mkdirSync, readFileSync, renameSync, statSync, writeFileSync } from "node:fs";
19
19
  import { dirname, join, resolve } from "node:path";
20
20
 
21
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
21
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
22
22
  var DEFAULT_TASK_CATEGORIES = [
23
23
  {
24
24
  name: "taxes",
@@ -773,7 +773,7 @@ var storedTaskCategories = /* @__PURE__ */ __name((json) => {
773
773
  }
774
774
  }, "storedTaskCategories");
775
775
 
776
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/store/shared-config.js
776
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/store/shared-config.js
777
777
  var SECTION = "task_categories";
778
778
  var sharedConfigPath = /* @__PURE__ */ __name((store, env = process.env) => {
779
779
  const paths = resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env });
@@ -4,18 +4,18 @@ import {
4
4
  readSharedSection,
5
5
  sharedConfigPath,
6
6
  writeSharedSection
7
- } from "./chunk-KXMJE3XC.js";
7
+ } from "./chunk-WGSTTWM5.js";
8
8
  import {
9
9
  storePath
10
- } from "./chunk-QXYGK6G5.js";
10
+ } from "./chunk-UBJX5D2O.js";
11
11
  import {
12
12
  CliError
13
- } from "./chunk-YKZ4IPLB.js";
13
+ } from "./chunk-JKEAZBEZ.js";
14
14
  import {
15
15
  __name
16
16
  } from "./chunk-ZVVMGPBJ.js";
17
17
 
18
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
18
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
19
19
  var PERMISSION_ANSWERS = ["readonly", "allow"];
20
20
  var QUESTIONS = ["languages", "tools", "permissions"];
21
21
  var SECTION = "setup";
@@ -3,24 +3,24 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  activeProfile,
5
5
  paths
6
- } from "./chunk-SIWBUGBU.js";
6
+ } from "./chunk-U3BOQ63L.js";
7
7
  import {
8
8
  READ_SCOPE,
9
9
  WRITE_SCOPE,
10
10
  providerRequest
11
- } from "./chunk-WJRJBQIM.js";
11
+ } from "./chunk-VCGQMTHW.js";
12
12
  import {
13
13
  googleError
14
- } from "./chunk-R276546S.js";
14
+ } from "./chunk-QKHFQHE7.js";
15
15
  import {
16
16
  acquireLock
17
- } from "./chunk-7SH4JHYW.js";
17
+ } from "./chunk-A4FTLORC.js";
18
18
  import {
19
19
  Credentials,
20
20
  isMovedRun,
21
21
  keyringService,
22
22
  systemKeyring
23
- } from "./chunk-DZMK255Y.js";
23
+ } from "./chunk-2D6AAGBP.js";
24
24
  import {
25
25
  CliError,
26
26
  isCliError,
@@ -32,12 +32,12 @@ import {
32
32
  pipe,
33
33
  safeParse,
34
34
  string
35
- } from "./chunk-YKZ4IPLB.js";
35
+ } from "./chunk-JKEAZBEZ.js";
36
36
  import {
37
37
  __name
38
38
  } from "./chunk-ZVVMGPBJ.js";
39
39
 
40
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/oauth/authorize.js
40
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/oauth/authorize.js
41
41
  import { createHash, randomBytes } from "node:crypto";
42
42
  import { createServer } from "node:http";
43
43
  var DEFAULT_TIMEOUT_MS = 3e5;
@@ -159,12 +159,12 @@ var authorize = /* @__PURE__ */ __name(async (options) => {
159
159
  }
160
160
  }, "authorize");
161
161
 
162
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/oauth/keeper.js
162
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/oauth/keeper.js
163
163
  import { createHash as createHash2 } from "node:crypto";
164
164
  import { join } from "node:path";
165
165
  import { setTimeout as delay } from "node:timers/promises";
166
166
 
167
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/oauth/requests.js
167
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/oauth/requests.js
168
168
  var REQUEST_LIMIT_MS = 3e4;
169
169
  var TOKEN_LOG_EVENT = "oauth.token";
170
170
  var object2 = /* @__PURE__ */ __name((value) => {
@@ -281,7 +281,7 @@ var revokeToken = /* @__PURE__ */ __name(async (provider, tokens, context) => {
281
281
  });
282
282
  }, "revokeToken");
283
283
 
284
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/oauth/keeper.js
284
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/oauth/keeper.js
285
285
  var inFlight = /* @__PURE__ */ new Map();
286
286
  var refreshedInMemory = /* @__PURE__ */ new Map();
287
287
  var tokenKeeper = /* @__PURE__ */ __name((options) => {
@@ -409,13 +409,13 @@ var tokenKeeper = /* @__PURE__ */ __name((options) => {
409
409
  const extra = await accept?.(received) ?? void 0;
410
410
  await locked(async () => {
411
411
  forget();
412
- storage.write({ tokens: received, client, ...extra ? { extra } : {} });
412
+ storage.write({ tokens: received, client, ...extra ? { extra } : {} }, { signIn: true });
413
413
  });
414
414
  return { scopes: received.scopes };
415
415
  }, "signIn"),
416
416
  save: /* @__PURE__ */ __name((saved, extra) => locked(async () => {
417
417
  forget();
418
- storage.write({ tokens: saved, client: clientOf(storage.read()), ...extra ? { extra } : {} });
418
+ storage.write({ tokens: saved, client: clientOf(storage.read()), ...extra ? { extra } : {} }, { signIn: true });
419
419
  }), "save"),
420
420
  signOut: /* @__PURE__ */ __name(({ revoke = false } = {}) => locked(async () => {
421
421
  forget();
@@ -430,7 +430,7 @@ var tokenKeeper = /* @__PURE__ */ __name((options) => {
430
430
  };
431
431
  }, "tokenKeeper");
432
432
 
433
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/oauth/storage.js
433
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/oauth/storage.js
434
434
  var invalid = /* @__PURE__ */ __name(() => new CliError("authentication_error", "the saved sign-in cannot be read; sign in again", { reason: "oauth.invalid" }), "invalid");
435
435
  var parse = /* @__PURE__ */ __name((raw) => {
436
436
  let value;
@@ -519,9 +519,9 @@ var credentialStorage = /* @__PURE__ */ __name((options) => {
519
519
  throw keyringFailure(error);
520
520
  }
521
521
  }, "raw");
522
- const save = /* @__PURE__ */ __name((value) => {
522
+ const save = /* @__PURE__ */ __name((value, writeOptions) => {
523
523
  try {
524
- credentials2.write(account, value);
524
+ credentials2.write(account, value, writeOptions);
525
525
  } catch (error) {
526
526
  throw keyringFailure(error, value);
527
527
  }
@@ -551,7 +551,7 @@ var credentialStorage = /* @__PURE__ */ __name((options) => {
551
551
  const value = current();
552
552
  return value === void 0 ? void 0 : codec.decode(value);
553
553
  }, "read"),
554
- write: /* @__PURE__ */ __name((input) => save(codec.encode({ ...input, previous: raw(account) })), "write"),
554
+ write: /* @__PURE__ */ __name((input, writeOptions) => save(codec.encode({ ...input, previous: raw(account) }), writeOptions), "write"),
555
555
  remove: /* @__PURE__ */ __name(() => {
556
556
  try {
557
557
  return credentials2.remove(account);
@@ -576,14 +576,6 @@ var Session = object({
576
576
  token_type: optional(nullable(string()))
577
577
  })
578
578
  });
579
- var warnedRuns = /* @__PURE__ */ new WeakSet();
580
- var warnOnce = /* @__PURE__ */ __name((env) => (message) => {
581
- if (warnedRuns.has(env))
582
- return;
583
- warnedRuns.add(env);
584
- process.stderr.write(`${message}
585
- `);
586
- }, "warnOnce");
587
579
  var credentialOptions = /* @__PURE__ */ __name((env, storage, keyring) => ({
588
580
  configDir: paths(env).config,
589
581
  service: "drive-cli",
@@ -591,8 +583,7 @@ var credentialOptions = /* @__PURE__ */ __name((env, storage, keyring) => ({
591
583
  storage: storage === "keyring" ? "auto" : storage,
592
584
  env,
593
585
  isolated: isMovedRun({ appName: "drive-cli", prefix: "DRIVE", env }),
594
- ...keyring ? { keyring } : {},
595
- warn: warnOnce(env)
586
+ ...keyring ? { keyring } : {}
596
587
  }), "credentialOptions");
597
588
  var credentials = /* @__PURE__ */ __name((env, storage, keyring) => new Credentials(credentialOptions(env, storage, keyring)), "credentials");
598
589
  var notSaved = /* @__PURE__ */ __name(() => new CliError("configuration_error", "could not save Google sign-in: the private credentials file cannot be read; move it aside and sign in again", { reason: "sign-in.not-saved" }), "notSaved");
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError
5
- } from "./chunk-YKZ4IPLB.js";
5
+ } from "./chunk-JKEAZBEZ.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/attachments/limits.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/attachments/limits.js
11
11
  var MAX_FILE_BYTES = 50 * 1024 * 1024;
12
12
  var MAX_TEXT_CHARS = 2e6;
13
13
  var ATTACHMENT_LIMIT_ENV = [
@@ -10,12 +10,12 @@ import {
10
10
  optional,
11
11
  pipe,
12
12
  safeParse
13
- } from "./chunk-YKZ4IPLB.js";
13
+ } from "./chunk-JKEAZBEZ.js";
14
14
  import {
15
15
  __name
16
16
  } from "./chunk-ZVVMGPBJ.js";
17
17
 
18
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/models/options.js
18
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/models/options.js
19
19
  var checkedOptions = /* @__PURE__ */ __name((provider, schema, options) => {
20
20
  const parsed = safeParse(schema, options);
21
21
  if (!parsed.success) {
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError
5
- } from "./chunk-YKZ4IPLB.js";
5
+ } from "./chunk-JKEAZBEZ.js";
6
6
  import {
7
7
  importFrom
8
8
  } from "./chunk-Y5E2WNWB.js";
@@ -10,10 +10,10 @@ import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/speech/recognize.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/speech/recognize.js
14
14
  import { createRequire } from "node:module";
15
15
 
16
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/speech/ogg-limit.js
16
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/speech/ogg-limit.js
17
17
  var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "local transcription needs a complete mono or stereo Ogg Opus recording"), "invalid");
18
18
  var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
19
19
  const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
@@ -70,7 +70,7 @@ var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
70
70
  throw invalid();
71
71
  }, "checkOggDuration");
72
72
 
73
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/speech/recognize.js
73
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/speech/recognize.js
74
74
  var SAMPLE_RATE = 16e3;
75
75
  var LEAD = SAMPLE_RATE / 2;
76
76
  var toModelRate = /* @__PURE__ */ __name((samples, rate) => {
@@ -18,9 +18,9 @@ import {
18
18
  strictObject,
19
19
  string,
20
20
  unknown
21
- } from "./chunk-YKZ4IPLB.js";
21
+ } from "./chunk-JKEAZBEZ.js";
22
22
 
23
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/entities/fields.js
23
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/entities/fields.js
24
24
  var text = string();
25
25
  var id = pipe(string(), minLength(1));
26
26
  var time = isoTime;
@@ -44,7 +44,7 @@ var author = strictObject({
44
44
  name: nullable(text)
45
45
  });
46
46
 
47
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/entities/note.js
47
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/entities/note.js
48
48
  var link = {
49
49
  target_text: nullable(text),
50
50
  kind: text,
@@ -85,7 +85,7 @@ var note = strictObject({
85
85
  backlinks: optional(array(strictObject({ from: reference, ...link })))
86
86
  });
87
87
 
88
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
88
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
89
89
  var organization = strictObject({
90
90
  id,
91
91
  ref: reference,
@@ -11,7 +11,7 @@ import {
11
11
  checkApiParameter,
12
12
  operations,
13
13
  parseApiJson
14
- } from "./chunk-WJRJBQIM.js";
14
+ } from "./chunk-VCGQMTHW.js";
15
15
  import {
16
16
  CliError,
17
17
  array,
@@ -28,12 +28,12 @@ import {
28
28
  string,
29
29
  transform,
30
30
  unknown
31
- } from "./chunk-YKZ4IPLB.js";
31
+ } from "./chunk-JKEAZBEZ.js";
32
32
  import {
33
33
  __name
34
34
  } from "./chunk-ZVVMGPBJ.js";
35
35
 
36
- // node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/codegen/runtime.js
36
+ // node_modules/.pnpm/@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/codegen/runtime.js
37
37
  var isLossless = /* @__PURE__ */ __name((input) => typeof input === "object" && input !== null && input.isLosslessNumber === true && typeof input.value === "string", "isLossless");
38
38
  var INTEGER = /^-?\d+$/;
39
39
  var INT64_MIN = -(2n ** 63n);
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError
5
- } from "./chunk-YKZ4IPLB.js";
5
+ } from "./chunk-JKEAZBEZ.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/ports/app.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/ports/app.js
11
11
  var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
12
12
  var readOnlyLockOf = /* @__PURE__ */ __name((app, env) => {
13
13
  const name = envName(app, "READ_ONLY");
@@ -0,0 +1,35 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ SCHEMA_DIALECT,
5
+ commandContract,
6
+ commandPathOf,
7
+ findCommand,
8
+ outputOf
9
+ } from "./chunk-Q46JLJ5O.js";
10
+ import "./chunk-IBRXVPBI.js";
11
+ import "./chunk-4RDXCE45.js";
12
+ import "./chunk-BWBVBW5T.js";
13
+ import "./chunk-2NWFZ43Q.js";
14
+ import "./chunk-HAHARAJD.js";
15
+ import "./chunk-76JIVDKC.js";
16
+ import "./chunk-YOHOQ6ZR.js";
17
+ import "./chunk-WJRE45Z6.js";
18
+ import "./chunk-ZMMOVTUB.js";
19
+ import "./chunk-6SOQJRGI.js";
20
+ import "./chunk-PKNTBZXN.js";
21
+ import "./chunk-LQXLWHKM.js";
22
+ import "./chunk-HEA3XVAJ.js";
23
+ import "./chunk-WGSTTWM5.js";
24
+ import "./chunk-UBJX5D2O.js";
25
+ import "./chunk-2D6AAGBP.js";
26
+ import "./chunk-JKEAZBEZ.js";
27
+ import "./chunk-Y5E2WNWB.js";
28
+ import "./chunk-ZVVMGPBJ.js";
29
+ export {
30
+ SCHEMA_DIALECT,
31
+ commandContract,
32
+ commandPathOf,
33
+ findCommand,
34
+ outputOf
35
+ };
@@ -3,11 +3,11 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  SAMPLE_RATE,
5
5
  decodeOgg
6
- } from "./chunk-C6Z25IBJ.js";
7
- import "./chunk-DZMK255Y.js";
6
+ } from "./chunk-XCUUYQN7.js";
7
+ import "./chunk-2D6AAGBP.js";
8
8
  import {
9
9
  CliError
10
- } from "./chunk-YKZ4IPLB.js";
10
+ } from "./chunk-JKEAZBEZ.js";
11
11
  import {
12
12
  importFrom
13
13
  } from "./chunk-Y5E2WNWB.js";
@@ -15,7 +15,7 @@ import {
15
15
  __name
16
16
  } from "./chunk-ZVVMGPBJ.js";
17
17
 
18
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/speech/decode.js
18
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/speech/decode.js
19
19
  import { spawn } from "node:child_process";
20
20
  import { mkdtemp, rm, writeFile } from "node:fs/promises";
21
21
  import { createRequire } from "node:module";
@@ -6,8 +6,8 @@ import {
6
6
  exitCodeOfError,
7
7
  processStreams,
8
8
  renderError
9
- } from "./chunk-DZMK255Y.js";
10
- import "./chunk-YKZ4IPLB.js";
9
+ } from "./chunk-2D6AAGBP.js";
10
+ import "./chunk-JKEAZBEZ.js";
11
11
  import "./chunk-Y5E2WNWB.js";
12
12
  import {
13
13
  __name
@@ -17,16 +17,16 @@ import {
17
17
  import { enableCompileCache } from "node:module";
18
18
  enableCompileCache();
19
19
  var [{ startCli }, { DRIVE_APP }, { REASONS }, { interactiveOf }] = await Promise.all([
20
- import("./entry-J7YIRDPD.js"),
21
- import("./identity-LBTXDMTA.js"),
22
- import("./reasons-J57GSRWN.js"),
20
+ import("./entry-HTNK5TJQ.js"),
21
+ import("./identity-UODE3QAL.js"),
22
+ import("./reasons-25BEO2NE.js"),
23
23
  import("./terminal-DHJ4D3BC.js")
24
24
  ]);
25
25
  await startCli({
26
26
  app: DRIVE_APP,
27
27
  interactive: interactiveOf,
28
28
  reasons: REASONS,
29
- run: /* @__PURE__ */ __name(async (entry) => (await import("./program-QAJ66K3Z.js")).run(entry.args, {
29
+ run: /* @__PURE__ */ __name(async (entry) => (await import("./program-DVUNLXXS.js")).run(entry.args, {
30
30
  signal: entry.signal,
31
31
  ask: /* @__PURE__ */ __name((key) => entry.ask(`Allow ${key}?`), "ask"),
32
32
  openBrowser: /* @__PURE__ */ __name((url) => entry.openBrowser(url), "openBrowser")
@@ -42399,7 +42399,7 @@ function install11(registers) {
42399
42399
  }
42400
42400
  __name(install11, "install");
42401
42401
 
42402
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/charts/echarts-option.js
42402
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/charts/echarts-option.js
42403
42403
  var echartsOption = /* @__PURE__ */ __name((chart) => ({
42404
42404
  animation: false,
42405
42405
  backgroundColor: "#111827",
@@ -42447,7 +42447,7 @@ var echartsOption = /* @__PURE__ */ __name((chart) => ({
42447
42447
  } : {}
42448
42448
  }), "echartsOption");
42449
42449
 
42450
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/charts/echarts.js
42450
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/charts/echarts.js
42451
42451
  use([install2, install, install6, install5, install10, install7, install11]);
42452
42452
  var echartsRenderer = {
42453
42453
  render: /* @__PURE__ */ __name(async (chart, size) => {
@@ -13,12 +13,12 @@ import {
13
13
  truncated,
14
14
  unit,
15
15
  warmEmbedders
16
- } from "./chunk-PC4UA6UN.js";
16
+ } from "./chunk-2CQT2WWN.js";
17
17
  import "./chunk-5DPV7X27.js";
18
- import "./chunk-RNIHKIQP.js";
19
- import "./chunk-QXYGK6G5.js";
20
- import "./chunk-DZMK255Y.js";
21
- import "./chunk-YKZ4IPLB.js";
18
+ import "./chunk-6SOQJRGI.js";
19
+ import "./chunk-UBJX5D2O.js";
20
+ import "./chunk-2D6AAGBP.js";
21
+ import "./chunk-JKEAZBEZ.js";
22
22
  import "./chunk-Y5E2WNWB.js";
23
23
  import "./chunk-ZVVMGPBJ.js";
24
24
  export {
@@ -4,14 +4,14 @@ import {
4
4
  openSession,
5
5
  truncated,
6
6
  unit
7
- } from "./chunk-PC4UA6UN.js";
7
+ } from "./chunk-2CQT2WWN.js";
8
8
  import "./chunk-5DPV7X27.js";
9
- import "./chunk-RNIHKIQP.js";
10
- import "./chunk-QXYGK6G5.js";
11
- import "./chunk-DZMK255Y.js";
9
+ import "./chunk-6SOQJRGI.js";
10
+ import "./chunk-UBJX5D2O.js";
11
+ import "./chunk-2D6AAGBP.js";
12
12
  import {
13
13
  CliError
14
- } from "./chunk-YKZ4IPLB.js";
14
+ } from "./chunk-JKEAZBEZ.js";
15
15
  import {
16
16
  importFrom
17
17
  } from "./chunk-Y5E2WNWB.js";
@@ -19,11 +19,11 @@ import {
19
19
  __name
20
20
  } from "./chunk-ZVVMGPBJ.js";
21
21
 
22
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
22
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
23
23
  import { readFileSync } from "node:fs";
24
24
  import { join } from "node:path";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/images/picture/preprocess.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/images/picture/preprocess.js
27
27
  var SIZE = 224;
28
28
  var MEAN = [0.48145466, 0.4578275, 0.40821073];
29
29
  var STD = [0.26862954, 0.26130258, 0.27577711];
@@ -62,7 +62,7 @@ var preprocess = /* @__PURE__ */ __name(async (bytes, load = importCanvas) => {
62
62
  return pixels;
63
63
  }, "preprocess");
64
64
 
65
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
65
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
66
66
  var openPictureEmbedder = /* @__PURE__ */ __name(async (model, directory, { threads = 4, canvas } = {}) => {
67
67
  const { Tokenizer } = await importFrom(new URL("images/picture/embedder.js", import.meta.resolve("@wirecat/cli-core")).href, "@huggingface/tokenizers");
68
68
  const path = /* @__PURE__ */ __name((name) => join(directory, model.id, name), "path");
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  startCli
5
- } from "./chunk-F3KHUJEE.js";
6
- import "./chunk-ZDLIO76S.js";
7
- import "./chunk-OQMK6WXQ.js";
8
- import "./chunk-LSGAJYVN.js";
9
- import "./chunk-DZMK255Y.js";
10
- import "./chunk-YKZ4IPLB.js";
5
+ } from "./chunk-MULPNGM2.js";
6
+ import "./chunk-ZMMOVTUB.js";
7
+ import "./chunk-7XU3TR7K.js";
8
+ import "./chunk-7WCZ2OZ5.js";
9
+ import "./chunk-2D6AAGBP.js";
10
+ import "./chunk-JKEAZBEZ.js";
11
11
  import "./chunk-Y5E2WNWB.js";
12
12
  import "./chunk-ZVVMGPBJ.js";
13
13
  export {
@@ -5,15 +5,15 @@ import {
5
5
  asksAtStart,
6
6
  setupAtStart,
7
7
  systemLanguage
8
- } from "./chunk-PR3DA7KA.js";
9
- import "./chunk-ZG6X24ON.js";
10
- import "./chunk-DLAFGSTN.js";
11
- import "./chunk-T334CFU4.js";
12
- import "./chunk-7XKAVMCF.js";
13
- import "./chunk-KXMJE3XC.js";
14
- import "./chunk-QXYGK6G5.js";
15
- import "./chunk-DZMK255Y.js";
16
- import "./chunk-YKZ4IPLB.js";
8
+ } from "./chunk-MATUQFYL.js";
9
+ import "./chunk-VKYCMXEQ.js";
10
+ import "./chunk-NHDSJMAR.js";
11
+ import "./chunk-WJRE45Z6.js";
12
+ import "./chunk-2MSJVFAS.js";
13
+ import "./chunk-WGSTTWM5.js";
14
+ import "./chunk-UBJX5D2O.js";
15
+ import "./chunk-2D6AAGBP.js";
16
+ import "./chunk-JKEAZBEZ.js";
17
17
  import "./chunk-Y5E2WNWB.js";
18
18
  import "./chunk-ZVVMGPBJ.js";
19
19
  export {