@wirecat/drive-cli 0.66.0 → 0.68.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 (185) hide show
  1. package/contracts/wirecat.json +29 -1
  2. package/dist/bin/drive.js +2 -2
  3. package/dist/bundle/{all-profiles-WCQLIHUG.js → all-profiles-BU6XUFUP.js} +14 -14
  4. package/dist/bundle/{anthropic-5RJMB6O7.js → anthropic-ZP5B7S2Z.js} +8 -8
  5. package/dist/bundle/{app-server-3RGYXPKG.js → app-server-EB4DH6T7.js} +60 -56
  6. package/dist/bundle/{bun-L34VEKGG.js → bun-PWMM6L45.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-H6IAXQXI.js → bun-sqlite-6VPR2SVC.js} +9 -9
  8. package/dist/bundle/{chunk-HPKE2GDP.js → chunk-2UHQVRH2.js} +18 -18
  9. package/dist/bundle/{chunk-2AF77WMH.js → chunk-2VYEGKQ3.js} +1 -1
  10. package/dist/bundle/{chunk-TAHISPDE.js → chunk-43NEDPXB.js} +39 -35
  11. package/dist/bundle/{chunk-OT7SQQJK.js → chunk-5G2BY4B6.js} +17 -17
  12. package/dist/bundle/{chunk-NYZS2LKF.js → chunk-5TK2YQCO.js} +2 -2
  13. package/dist/bundle/{chunk-5XLU4NN6.js → chunk-5W65QTYS.js} +4 -4
  14. package/dist/bundle/{chunk-YTIPTHEE.js → chunk-6HFZZ2PW.js} +2 -2
  15. package/dist/bundle/{chunk-GY4DAJSK.js → chunk-6QR7NKMG.js} +35 -6
  16. package/dist/bundle/{chunk-BIJW6AYA.js → chunk-6WAC2LOS.js} +3698 -3594
  17. package/dist/bundle/{chunk-VR3YKXHL.js → chunk-74NCZKRW.js} +33 -20
  18. package/dist/bundle/{chunk-5HVJK3ZJ.js → chunk-7A77GYCE.js} +4 -4
  19. package/dist/bundle/{chunk-7ZGJRVBH.js → chunk-7BXVI7XF.js} +4 -4
  20. package/dist/bundle/{chunk-UNTIVT47.js → chunk-7JKECODO.js} +1 -1
  21. package/dist/bundle/{chunk-FKKPVPZR.js → chunk-7TNQZKRD.js} +57 -57
  22. package/dist/bundle/{chunk-3SDJIMZB.js → chunk-AIEMFRBU.js} +1 -1
  23. package/dist/bundle/{chunk-QJ57PV55.js → chunk-AXYG2DDY.js} +136 -90
  24. package/dist/bundle/{chunk-T3ULDA7C.js → chunk-BXHFJTU5.js} +3 -3
  25. package/dist/bundle/{chunk-HPSHQVJU.js → chunk-CK2SQ2CE.js} +28 -22
  26. package/dist/bundle/{chunk-KRG5X5PH.js → chunk-CMWFYZ45.js} +2 -2
  27. package/dist/bundle/{chunk-3QFUDXMQ.js → chunk-CRIEW4FP.js} +3 -2
  28. package/dist/bundle/{chunk-V2WXTILT.js → chunk-CVAJMRRD.js} +6 -6
  29. package/dist/bundle/{chunk-JCHF7LZT.js → chunk-D4MVEOU2.js} +4 -4
  30. package/dist/bundle/{chunk-FHBTQPA3.js → chunk-DIZBJLPM.js} +41 -37
  31. package/dist/bundle/{chunk-VUUPFDRU.js → chunk-DU23ET2O.js} +113 -39
  32. package/dist/bundle/{chunk-IRNDYNQX.js → chunk-DYLYH7VE.js} +4 -4
  33. package/dist/bundle/{chunk-IIHZTV6V.js → chunk-EA2OB75T.js} +1 -1
  34. package/dist/bundle/{chunk-AP4MX247.js → chunk-EEE4H2PA.js} +12 -12
  35. package/dist/bundle/{chunk-UAKX6DP4.js → chunk-EOC7RHJ2.js} +5 -5
  36. package/dist/bundle/{chunk-HHRJPLFO.js → chunk-EXWZCI5G.js} +1 -1
  37. package/dist/bundle/{chunk-KOY5HUBY.js → chunk-F7KAMSXA.js} +4 -4
  38. package/dist/bundle/{chunk-D4MIMH2N.js → chunk-FAMXUI2X.js} +5 -5
  39. package/dist/bundle/{chunk-PJGOQSE5.js → chunk-FIVFP53N.js} +1 -1
  40. package/dist/bundle/{chunk-XVZNFA2P.js → chunk-GTLXBAJV.js} +309 -278
  41. package/dist/bundle/{chunk-JQXK3M5M.js → chunk-HCZYJMBP.js} +1 -1
  42. package/dist/bundle/{chunk-NK4GVFJH.js → chunk-IJCUAKR5.js} +4 -4
  43. package/dist/bundle/{chunk-MZWXTJ4O.js → chunk-IVOG6T6P.js} +3 -3
  44. package/dist/bundle/{chunk-PKM55ZRR.js → chunk-J5LXL435.js} +20 -20
  45. package/dist/bundle/{chunk-G4TNKBDX.js → chunk-JMZQBRRZ.js} +7 -7
  46. package/dist/bundle/{chunk-VQKNKJYL.js → chunk-JRFKCYMW.js} +6 -6
  47. package/dist/bundle/{chunk-XLGDNI4S.js → chunk-JZ3MT7IE.js} +5 -40
  48. package/dist/bundle/{chunk-UG3GHFGY.js → chunk-KPKIHJIT.js} +6 -8
  49. package/dist/bundle/{chunk-OIF4B526.js → chunk-M4OP5ASJ.js} +1 -1
  50. package/dist/bundle/{chunk-5PLINHEY.js → chunk-MLSXHTUB.js} +153 -149
  51. package/dist/bundle/{chunk-Y5U4HIZS.js → chunk-MOKEB656.js} +2 -2
  52. package/dist/bundle/{chunk-6X3KUFRQ.js → chunk-MW46BLWH.js} +20 -20
  53. package/dist/bundle/{chunk-I5R5CMQR.js → chunk-MWCPKUU4.js} +5 -5
  54. package/dist/bundle/{chunk-6UJCCOZC.js → chunk-NV75QPML.js} +4 -4
  55. package/dist/bundle/{chunk-OZOQLAWK.js → chunk-O7T3WGCV.js} +6 -6
  56. package/dist/bundle/{chunk-H7XL6WTW.js → chunk-PGPHEC2X.js} +2 -2
  57. package/dist/bundle/{chunk-UQPW42HF.js → chunk-PJ3FKBXG.js} +1 -1
  58. package/dist/bundle/{chunk-ALE67WRR.js → chunk-PV3AWPHR.js} +5 -5
  59. package/dist/bundle/{chunk-HQBLJLYH.js → chunk-PWIEOATY.js} +8 -8
  60. package/dist/bundle/{chunk-WYTYHUFH.js → chunk-Q6BD6RUH.js} +43 -43
  61. package/dist/bundle/{chunk-BQXSE645.js → chunk-QKY24RWV.js} +12 -12
  62. package/dist/bundle/{chunk-2S3E2HVV.js → chunk-QRSPFCRY.js} +17 -17
  63. package/dist/bundle/{chunk-3NYH756U.js → chunk-QTRYJZL7.js} +11 -6
  64. package/dist/bundle/{chunk-QF7VL4C3.js → chunk-QVJMFZFW.js} +1 -1
  65. package/dist/bundle/{chunk-ULXEW6FT.js → chunk-QWGEOQHA.js} +1 -1
  66. package/dist/bundle/{chunk-JLCR24UM.js → chunk-R5FTCNLJ.js} +1 -1
  67. package/dist/bundle/{chunk-M7543RUJ.js → chunk-RT5NT62B.js} +220 -15
  68. package/dist/bundle/{chunk-SZ6JFOL4.js → chunk-SOS4U2RF.js} +62 -41
  69. package/dist/bundle/{chunk-PUMDOCAF.js → chunk-TI2OANJZ.js} +1 -1
  70. package/dist/bundle/{chunk-COGWKO2T.js → chunk-U52QE4QV.js} +3 -3
  71. package/dist/bundle/{chunk-LVAPSAHF.js → chunk-UFPRP7MG.js} +8 -8
  72. package/dist/bundle/{chunk-5VDVGDOC.js → chunk-UIKVP23D.js} +1 -1
  73. package/dist/bundle/{chunk-7LT2G5BC.js → chunk-ULNN3LCY.js} +29 -27
  74. package/dist/bundle/{chunk-GVA3KTCD.js → chunk-UPCEHSIZ.js} +10 -10
  75. package/dist/bundle/{chunk-4UHBJSMI.js → chunk-UUQJVKPB.js} +516 -458
  76. package/dist/bundle/{chunk-O53WLYX3.js → chunk-UYBLNGZ2.js} +2 -2
  77. package/dist/bundle/{chunk-D7KOAPG6.js → chunk-WCNTDETD.js} +2 -2
  78. package/dist/bundle/{chunk-JHMEETXI.js → chunk-WGX4DZPW.js} +2 -2
  79. package/dist/bundle/{chunk-P7HQFII6.js → chunk-WUFZGPXX.js} +7 -7
  80. package/dist/bundle/{chunk-5K54RZBK.js → chunk-Y2QVNVHK.js} +1 -1
  81. package/dist/bundle/{chunk-7EP4AU6A.js → chunk-YUGTJBV3.js} +3 -3
  82. package/dist/bundle/{chunk-QSELSDWE.js → chunk-YYIWPH53.js} +13 -13
  83. package/dist/bundle/{chunk-E2F2XIX6.js → chunk-Z5BMYI2V.js} +8 -8
  84. package/dist/bundle/{chunk-TYLEICTX.js → chunk-ZAIE3G5I.js} +3 -3
  85. package/dist/bundle/{chunk-SOOU5WO6.js → chunk-ZSVMZH5O.js} +2 -2
  86. package/dist/bundle/{chunk-FA2TNA5X.js → chunk-ZVQDOKDY.js} +1 -1
  87. package/dist/bundle/{cli-KW6QQVS5.js → cli-L7P36YUH.js} +61 -61
  88. package/dist/bundle/command-contract-EYFGMKIG.js +41 -0
  89. package/dist/bundle/{command-server-entry-OC4E4DED.js → command-server-entry-H3VGPOLJ.js} +31 -31
  90. package/dist/bundle/{decode-AH5ZLLDK.js → decode-JEU6JWCV.js} +8 -8
  91. package/dist/bundle/{dispatch-CDWZZ54Q.js → dispatch-WBEOHZDV.js} +9 -9
  92. package/dist/bundle/drive.js +11 -11
  93. package/dist/bundle/{echarts-VC7MTXWY.js → echarts-SDZA2SWG.js} +2 -2
  94. package/dist/bundle/{embed-EPSQY6QG.js → embed-WUKOASQG.js} +9 -9
  95. package/dist/bundle/{embedder-TK4U4TJR.js → embedder-UBRAXRDZ.js} +12 -12
  96. package/dist/bundle/entry-C4NUQFTF.js +25 -0
  97. package/dist/bundle/{failure-WSVZOPFE.js → failure-X6PSLVSO.js} +4 -4
  98. package/dist/bundle/first-run-PKHBS7B4.js +30 -0
  99. package/dist/bundle/first-screen-QOVOM4BF.js +39 -0
  100. package/dist/bundle/google-XXHSMTVK.js +45 -0
  101. package/dist/bundle/{google-api-AV4X2JH3.js → google-api-SQQ4BSNR.js} +63 -63
  102. package/dist/bundle/grants-2U4JVT6O.js +111 -0
  103. package/dist/bundle/{identity-CGHHF7AK.js → identity-SRL6RSU2.js} +6 -6
  104. package/dist/bundle/{instructions-24PHDBBE.js → instructions-7T6JJIFS.js} +1 -1
  105. package/dist/bundle/{login-XHFESAFM.js → login-N243GGEE.js} +69 -69
  106. package/dist/bundle/{mcp-M5YCSWJJ.js → mcp-TDKGDB4V.js} +2 -2
  107. package/dist/bundle/{node-GIDULTV5.js → node-BZDMUFTW.js} +2 -2
  108. package/dist/bundle/{node-sqlite-LINBOAWK.js → node-sqlite-SZQCCMV2.js} +10 -10
  109. package/dist/bundle/oauth-CMAFXX6A.js +22 -0
  110. package/dist/bundle/{open-RYFKPNCJ.js → open-RVTPKDA3.js} +8 -8
  111. package/dist/bundle/{openai-Q7YYUHJF.js → openai-6NN63BMH.js} +19 -19
  112. package/dist/bundle/{process-VPIZTIJR.js → process-756VBE7E.js} +1 -1
  113. package/dist/bundle/{program-IUXFRBZA.js → program-B4QBJYB5.js} +187 -228
  114. package/dist/bundle/{prompt-LF4KX3XL.js → prompt-HGP2DSRW.js} +8 -8
  115. package/dist/bundle/{reasons-JPYOU5GV.js → reasons-KSYP5VDJ.js} +5 -5
  116. package/dist/bundle/{recognize-KEWTJXFH.js → recognize-26SHB7HI.js} +7 -7
  117. package/dist/bundle/{remote-HGGLB76S.js → remote-Z4PWHZ5N.js} +13 -13
  118. package/dist/bundle/{rerank-TDUKETFT.js → rerank-QHJZJK3Q.js} +10 -10
  119. package/dist/bundle/{serve-XFYMKW5W.js → serve-MYJW5IEM.js} +12 -12
  120. package/dist/bundle/server-HBZPIHDX.js +74 -0
  121. package/dist/bundle/{server-PXIPSGFP.js → server-XFW3V7CR.js} +49 -47
  122. package/dist/bundle/{services-2BOCGMJU.js → services-IQG2RVTO.js} +36 -36
  123. package/dist/bundle/{sqlite-runtime-R7M5XUMW.js → sqlite-runtime-X4GB5PBV.js} +9 -9
  124. package/dist/bundle/{start-YRLT4MQZ.js → start-C6EXYXAL.js} +7 -7
  125. package/dist/bundle/{state-NZ7WRJWH.js → state-ATQK2X3W.js} +9 -9
  126. package/dist/bundle/{store-ICDGPSEN.js → store-MEHEUOJH.js} +19 -19
  127. package/dist/bundle/{store-7LCVDO7G.js → store-QUBUPK6F.js} +21 -21
  128. package/dist/bundle/store-maintenance-command-33ULVDWY.js +65 -0
  129. package/dist/bundle/tokens-A2GP4F34.js +111 -0
  130. package/dist/commands/config.d.ts.map +1 -1
  131. package/dist/commands/config.js +5 -3
  132. package/dist/commands/config.js.map +1 -1
  133. package/dist/commands/search.js +4 -4
  134. package/dist/commands/search.js.map +1 -1
  135. package/dist/commands/sync.d.ts.map +1 -1
  136. package/dist/commands/sync.js +2 -1
  137. package/dist/commands/sync.js.map +1 -1
  138. package/dist/commands/transcripts.d.ts +4 -0
  139. package/dist/commands/transcripts.d.ts.map +1 -0
  140. package/dist/commands/transcripts.js +42 -0
  141. package/dist/commands/transcripts.js.map +1 -0
  142. package/dist/config.d.ts +9 -0
  143. package/dist/config.d.ts.map +1 -1
  144. package/dist/config.js +14 -1
  145. package/dist/config.js.map +1 -1
  146. package/dist/google.d.ts.map +1 -1
  147. package/dist/google.js +31 -28
  148. package/dist/google.js.map +1 -1
  149. package/dist/list-queries.d.ts +10 -0
  150. package/dist/list-queries.d.ts.map +1 -1
  151. package/dist/list-queries.js +12 -1
  152. package/dist/list-queries.js.map +1 -1
  153. package/dist/model.d.ts +4 -1
  154. package/dist/model.d.ts.map +1 -1
  155. package/dist/policy.d.ts +2 -0
  156. package/dist/policy.d.ts.map +1 -1
  157. package/dist/policy.js +3 -2
  158. package/dist/policy.js.map +1 -1
  159. package/dist/program.d.ts.map +1 -1
  160. package/dist/program.js +5 -2
  161. package/dist/program.js.map +1 -1
  162. package/dist/state.d.ts.map +1 -1
  163. package/dist/state.js +2 -0
  164. package/dist/state.js.map +1 -1
  165. package/dist/sync.d.ts.map +1 -1
  166. package/dist/sync.js +5 -1
  167. package/dist/sync.js.map +1 -1
  168. package/dist/transcripts.d.ts +21 -0
  169. package/dist/transcripts.d.ts.map +1 -0
  170. package/dist/transcripts.js +48 -0
  171. package/dist/transcripts.js.map +1 -0
  172. package/dist/version.d.ts +1 -1
  173. package/dist/version.js +1 -1
  174. package/package.json +3 -3
  175. package/dist/bundle/command-contract-CE543JBN.js +0 -41
  176. package/dist/bundle/entry-3VN23M7M.js +0 -25
  177. package/dist/bundle/first-run-7ZYJ7EB3.js +0 -30
  178. package/dist/bundle/first-screen-CZDH7QY3.js +0 -39
  179. package/dist/bundle/google-OBZMWA7J.js +0 -45
  180. package/dist/bundle/grants-WTRLN4ZI.js +0 -111
  181. package/dist/bundle/oauth-JHUX3KE3.js +0 -22
  182. package/dist/bundle/server-BDEV3CZJ.js +0 -74
  183. package/dist/bundle/store-maintenance-command-SJPLY6IH.js +0 -65
  184. package/dist/bundle/tokens-FGTBE7VW.js +0 -111
  185. /package/dist/bundle/{chunk-HVJJWJYQ.js → chunk-XWBPP2HX.js} +0 -0
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/sanitize.js
7
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/sanitize.js
8
8
  var CONTROL = (
9
9
  // biome-ignore lint/suspicious/noControlCharactersInRegex: matching them is the whole point
10
10
  /[\u0000-\u0008\u000B-\u001F\u007F-\u009F\u200B\u200E\u200F\u202A-\u202E\u2066-\u2069\uFEFF\u{E0000}-\u{E007F}]/gu
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  singleLine
5
- } from "./chunk-JQXK3M5M.js";
5
+ } from "./chunk-HCZYJMBP.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/names.js
10
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/names.js
11
11
  var FIRST_PARTY_TOOLS = [
12
12
  { name: "tg", package: "@wirecat/tg-cli" },
13
13
  { name: "max", package: "@wirecat/max-cli" },
@@ -31,7 +31,7 @@ var DESCRIBE_FLAG = "--wcat-describe";
31
31
  var DESCRIBE_MAX_BYTES = 64 * 1024;
32
32
  var DISPATCH_FLAG = "--wcat-dispatch";
33
33
 
34
- // node_modules/.pnpm/@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/describe.js
34
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/describe.js
35
35
  var DESCRIBE_FORMAT = 1;
36
36
  var DESCRIBE_MANIFEST_FORMAT = 2;
37
37
  var describeAnswer = /* @__PURE__ */ __name((tool, manifest) => {
@@ -74,7 +74,7 @@ var parseDescribe = /* @__PURE__ */ __name((text) => {
74
74
  };
75
75
  }, "parseDescribe");
76
76
 
77
- // node_modules/.pnpm/@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/shim.js
77
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/shim.js
78
78
  import { lstatSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
79
79
  import { join } from "node:path";
80
80
  var SHIM_FORMAT = 2;
@@ -5,7 +5,7 @@ import {
5
5
  id,
6
6
  text,
7
7
  time
8
- } from "./chunk-QJ57PV55.js";
8
+ } from "./chunk-AXYG2DDY.js";
9
9
  import {
10
10
  array,
11
11
  nullable,
@@ -16,9 +16,9 @@ import {
16
16
  strictObject,
17
17
  string,
18
18
  unknown
19
- } from "./chunk-VQKNKJYL.js";
19
+ } from "./chunk-JRFKCYMW.js";
20
20
 
21
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/entities/note.js
21
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/note.js
22
22
  var link = {
23
23
  target_text: nullable(text),
24
24
  kind: text,
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  filesPresent,
5
5
  sharedModelsDirectory
6
- } from "./chunk-5XLU4NN6.js";
6
+ } from "./chunk-5W65QTYS.js";
7
7
  import {
8
8
  PRIORITY_LABELS,
9
9
  TAG_TYPES,
@@ -14,15 +14,15 @@ import {
14
14
  id,
15
15
  text,
16
16
  time
17
- } from "./chunk-QJ57PV55.js";
17
+ } from "./chunk-AXYG2DDY.js";
18
18
  import {
19
19
  readSharedSection,
20
20
  sharedConfigPath,
21
21
  writeSharedSection
22
- } from "./chunk-HQBLJLYH.js";
22
+ } from "./chunk-PWIEOATY.js";
23
23
  import {
24
24
  storePath
25
- } from "./chunk-3QFUDXMQ.js";
25
+ } from "./chunk-CRIEW4FP.js";
26
26
  import {
27
27
  array,
28
28
  boolean,
@@ -46,16 +46,16 @@ import {
46
46
  string,
47
47
  trim,
48
48
  url
49
- } from "./chunk-VQKNKJYL.js";
49
+ } from "./chunk-JRFKCYMW.js";
50
50
  import {
51
51
  CliError,
52
52
  isCliError
53
- } from "./chunk-IIHZTV6V.js";
53
+ } from "./chunk-EA2OB75T.js";
54
54
  import {
55
55
  __name
56
56
  } from "./chunk-ZVVMGPBJ.js";
57
57
 
58
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/sends/permissions.js
58
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/sends/permissions.js
59
59
  var LEVELS = ["deny", "readonly", "ask", "allow"];
60
60
  var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
61
61
  var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
@@ -459,7 +459,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
459
459
  }
460
460
  }, "assertRetentionEvidenceRead");
461
461
 
462
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/domain/duration.js
462
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/domain/duration.js
463
463
  var DURATION = /^(\d+)(ms|s|m|h|d)$/;
464
464
  var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
465
465
  var parseDuration = /* @__PURE__ */ __name((value, source) => {
@@ -473,7 +473,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source) => {
473
473
  return ms;
474
474
  }, "parseDuration");
475
475
 
476
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/embeddings/models.js
476
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/embeddings/models.js
477
477
  import { existsSync } from "node:fs";
478
478
  import { join } from "node:path";
479
479
  var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
@@ -750,7 +750,7 @@ var vectorModelKey = /* @__PURE__ */ __name((model) => {
750
750
  }, "vectorModelKey");
751
751
  var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
752
752
 
753
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/entities/task.js
753
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/task.js
754
754
  var closeSuggestion = strictObject({
755
755
  as: picklist(["done", "dismissed"]),
756
756
  /** The agent's name. */
@@ -812,7 +812,7 @@ var task = strictObject({
812
812
  updated_at: optional(time)
813
813
  });
814
814
 
815
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/entities/agenda.js
815
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/agenda.js
816
816
  var agendaChat = strictObject({
817
817
  chat: reference,
818
818
  title: nullable(text),
@@ -882,7 +882,7 @@ var agenda = strictObject({
882
882
  unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
883
883
  });
884
884
 
885
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/entities/attachment.js
885
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/attachment.js
886
886
  var attachment = strictObject({
887
887
  /** The message it came with, as a locator; absent inside that message. */
888
888
  message: optional(reference),
@@ -927,7 +927,7 @@ var hitFile = strictObject({
927
927
  local_path: optional(text)
928
928
  });
929
929
 
930
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/entities/conversation.js
930
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/conversation.js
931
931
  var conversation = strictObject({
932
932
  id,
933
933
  chat: reference,
@@ -942,7 +942,7 @@ var conversation = strictObject({
942
942
  rules_version: count
943
943
  });
944
944
 
945
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/entities/tagging.js
945
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/tagging.js
946
946
  var tagging = strictObject({
947
947
  tag: text,
948
948
  type: picklist(TAG_TYPES),
@@ -955,7 +955,7 @@ var tagging = strictObject({
955
955
  created_at: time
956
956
  });
957
957
 
958
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/background/budget.js
958
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/background/budget.js
959
959
  var DEADLINE_MARGIN_MS = 5e3;
960
960
  var DEADLINE_MARGIN_SHARE = 0.15;
961
961
  var DEFAULT_REQUEST_MS = 2e3;
@@ -998,7 +998,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests, deadline, requestMs, signal,
998
998
  };
999
999
  }, "runBudget");
1000
1000
 
1001
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/sends/guarded.js
1001
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/sends/guarded.js
1002
1002
  import { AsyncLocalStorage } from "node:async_hooks";
1003
1003
  var sentIds = /* @__PURE__ */ __name((typed, message) => ({
1004
1004
  messageId: message.id,
@@ -1104,7 +1104,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled =
1104
1104
  }, "guardedWrite");
1105
1105
  var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
1106
1106
 
1107
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/services/history-limits.js
1107
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/services/history-limits.js
1108
1108
  var HISTORY_MAX_DAYS = 1095;
1109
1109
  var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
1110
1110
  var DAY_MS = 24 * 60 * 60 * 1e3;
@@ -1151,7 +1151,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
1151
1151
  return { batch: { ...batch, messages }, skipped };
1152
1152
  }, "limitBatch");
1153
1153
 
1154
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/images/picture/models.js
1154
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/images/picture/models.js
1155
1155
  import { join as join2 } from "node:path";
1156
1156
  var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
1157
1157
  var IMAGE_MODELS = [
@@ -1205,7 +1205,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
1205
1205
  var placedImage = /* @__PURE__ */ __name((model, directory) => model.files.map((file) => [file, join2(directory, model.id, file.name)]), "placedImage");
1206
1206
  var isImageModelInstalled = /* @__PURE__ */ __name((model, directory) => filesPresent(placedImage(model, directory)), "isImageModelInstalled");
1207
1207
 
1208
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
1208
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
1209
1209
  var WEIGHTS = {
1210
1210
  bot: 3,
1211
1211
  scam: 3,
@@ -1230,7 +1230,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
1230
1230
  var DIGITS = /\d{5,}/;
1231
1231
  var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
1232
1232
 
1233
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
1233
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
1234
1234
  var progressOf = /* @__PURE__ */ __name((input) => {
1235
1235
  const total = input.total ?? null;
1236
1236
  const updated = input.updatedAt ?? null;
@@ -2,29 +2,29 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  stdinFieldOf
5
- } from "./chunk-UQPW42HF.js";
5
+ } from "./chunk-PJ3FKBXG.js";
6
6
  import {
7
7
  isCommandServer
8
- } from "./chunk-2AF77WMH.js";
8
+ } from "./chunk-2VYEGKQ3.js";
9
9
  import {
10
10
  commandPathOf
11
- } from "./chunk-UAKX6DP4.js";
11
+ } from "./chunk-EOC7RHJ2.js";
12
12
  import {
13
13
  commandServerRequest,
14
14
  metaOf
15
- } from "./chunk-5PLINHEY.js";
15
+ } from "./chunk-MLSXHTUB.js";
16
16
  import {
17
17
  errorObjectOf,
18
18
  renderError
19
- } from "./chunk-ALE67WRR.js";
19
+ } from "./chunk-PV3AWPHR.js";
20
20
  import {
21
21
  CliError
22
- } from "./chunk-IIHZTV6V.js";
22
+ } from "./chunk-EA2OB75T.js";
23
23
  import {
24
24
  __name
25
25
  } from "./chunk-ZVVMGPBJ.js";
26
26
 
27
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/cli/command-server.js
27
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/command-server.js
28
28
  import { createInterface } from "node:readline";
29
29
  var COMMAND_SERVER_PROTOCOL = 1;
30
30
  var COMMAND_SERVER_IDLE_MS = 10 * 6e4;
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  errorCodes
5
- } from "./chunk-IIHZTV6V.js";
5
+ } from "./chunk-EA2OB75T.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
@@ -1306,7 +1306,7 @@ function unwrap(schema) {
1306
1306
  }
1307
1307
  __name(unwrap, "unwrap");
1308
1308
 
1309
- // node_modules/.pnpm/@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/effects.js
1309
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/effects.js
1310
1310
  var EFFECT_LEVELS = ["none", "read", "write"];
1311
1311
  var effectsSchema = strictObject({
1312
1312
  remote: picklist(EFFECT_LEVELS),
@@ -1943,7 +1943,7 @@ function toStandardJsonSchema(schema) {
1943
1943
  }
1944
1944
  __name(toStandardJsonSchema, "toStandardJsonSchema");
1945
1945
 
1946
- // node_modules/.pnpm/@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/registry.js
1946
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/registry.js
1947
1947
  var word = pipe(string(), regex(/^[a-z][a-z0-9]*(-[a-z0-9]+)*$/, "a lower-case word, words joined by -"));
1948
1948
  var SNAKE_CASE = /^[a-z][a-z0-9]*(_[a-z0-9]+)*$/;
1949
1949
  var text = pipe(string(), regex(/\S/, "must not be empty"));
@@ -1985,7 +1985,7 @@ var fill = /* @__PURE__ */ __name((template, values) => template.replace(PLACEHO
1985
1985
  return String(value);
1986
1986
  }), "fill");
1987
1987
 
1988
- // node_modules/.pnpm/@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/output.js
1988
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/output.js
1989
1989
  var MAX_NEXT_STEPS = 2;
1990
1990
  var COMPACT_FLAG = "--compact";
1991
1991
  var isoTime = pipe(string(), isoTimestamp("an ISO 8601 time in UTC"), endsWith("Z", "an ISO 8601 time in UTC, ending in `Z`"));
@@ -2112,7 +2112,7 @@ var jsonlOf = /* @__PURE__ */ __name(({ items, page, meta }) => [
2112
2112
  JSON.stringify({ type: "end", complete: meta.complete, ...meta.issues ? { issues: meta.issues } : {}, page })
2113
2113
  ].join("\n"), "jsonlOf");
2114
2114
 
2115
- // node_modules/.pnpm/@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/errors.js
2115
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/errors.js
2116
2116
  var CRASH_CODE = "internal_error";
2117
2117
  var CRASH_REASON = "command.crashed";
2118
2118
  var errorObjectSchema = strictObject({
@@ -2205,7 +2205,7 @@ var BASE_REASONS = defineReasons([
2205
2205
  { reason: CRASH_REASON, code: CRASH_CODE, message: "the command failed; this is a bug", details: [] }
2206
2206
  ]);
2207
2207
 
2208
- // node_modules/.pnpm/@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/steps.js
2208
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/steps.js
2209
2209
  var SAME_COMMAND = "*";
2210
2210
  var commandPath = pipe(string(), regex(/^[a-z][a-z0-9-]*( [a-z][a-z0-9-]*)*$/, "a command path such as `messages sync`"));
2211
2211
  var stepSchema = union([
@@ -1,46 +1,16 @@
1
1
  import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ DOC,
5
+ SHEET
6
+ } from "./chunk-DU23ET2O.js";
3
7
  import {
4
8
  CliError
5
- } from "./chunk-IIHZTV6V.js";
9
+ } from "./chunk-EA2OB75T.js";
6
10
  import {
7
11
  __name
8
12
  } from "./chunk-ZVVMGPBJ.js";
9
13
 
10
- // dist/model.js
11
- var FOLDER = "application/vnd.google-apps.folder";
12
- var DOC = "application/vnd.google-apps.document";
13
- var SHEET = "application/vnd.google-apps.spreadsheet";
14
- var metadataJson = /* @__PURE__ */ __name(({ modifiedAt, canDownload, createdAt, driveId, lastModifiedBy, providerMetadata, ...rest }) => ({
15
- ...rest,
16
- ...providerMetadata === void 0 ? {} : { provider_metadata: providerMetadata },
17
- ...modifiedAt === void 0 ? {} : { modified_at: modifiedAt },
18
- can_download: canDownload,
19
- ...createdAt === void 0 ? {} : { created_at: createdAt },
20
- ...driveId === void 0 ? {} : { drive_id: driveId },
21
- ...lastModifiedBy === void 0 ? {} : { last_modified_by: lastModifiedBy }
22
- }), "metadataJson");
23
- var DOCUMENT_LIST_FIELDS = Object.keys({
24
- id: true,
25
- name: true,
26
- mime: true,
27
- parents: true,
28
- version: true,
29
- url: true,
30
- trashed: true,
31
- size: true,
32
- description: true,
33
- owners: true,
34
- provider_metadata: true,
35
- modified_at: true,
36
- can_download: true,
37
- created_at: true,
38
- drive_id: true,
39
- last_modified_by: true,
40
- reference: true,
41
- tabs: true
42
- });
43
-
44
14
  // dist/supported.js
45
15
  var MAX_ENTRIES = 1e4;
46
16
  var tooManyEntries = /* @__PURE__ */ __name(() => new CliError("provider_error", `the chosen folders hold more than ${MAX_ENTRIES} entries, the most one sync reads; choose fewer or smaller folders with \`folders remove\` and \`folders add\``, { reason: "listing.too-large" }), "tooManyEntries");
@@ -61,11 +31,6 @@ var supported = /* @__PURE__ */ __name((file) => {
61
31
  }, "supported");
62
32
 
63
33
  export {
64
- FOLDER,
65
- DOC,
66
- SHEET,
67
- metadataJson,
68
- DOCUMENT_LIST_FIELDS,
69
34
  MAX_ENTRIES,
70
35
  tooManyEntries,
71
36
  XLSX,
@@ -4,18 +4,18 @@ import {
4
4
  readSharedSection,
5
5
  sharedConfigPath,
6
6
  writeSharedSection
7
- } from "./chunk-HQBLJLYH.js";
7
+ } from "./chunk-PWIEOATY.js";
8
8
  import {
9
9
  storePath
10
- } from "./chunk-3QFUDXMQ.js";
10
+ } from "./chunk-CRIEW4FP.js";
11
11
  import {
12
12
  CliError
13
- } from "./chunk-IIHZTV6V.js";
13
+ } from "./chunk-EA2OB75T.js";
14
14
  import {
15
15
  __name
16
16
  } from "./chunk-ZVVMGPBJ.js";
17
17
 
18
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
18
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/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";
@@ -40,13 +40,11 @@ var writeSetupAnswers = /* @__PURE__ */ __name((path, answers) => {
40
40
  writeSharedSection(path, SECTION, { ...kept, ...answers });
41
41
  }, "writeSetupAnswers");
42
42
  var permissionCeiling = /* @__PURE__ */ __name((path) => {
43
- let answer;
44
43
  try {
45
- answer = readSetupAnswers(path).permissions;
44
+ return readSetupAnswers(path).permissions === "readonly" ? "readonly" : void 0;
46
45
  } catch {
47
- return "readonly";
46
+ return void 0;
48
47
  }
49
- return answer === "allow" ? void 0 : answer;
50
48
  }, "permissionCeiling");
51
49
  var setupPermissionCeiling = /* @__PURE__ */ __name((env = process.env) => permissionCeiling(sharedConfigPath(storePath(env), env)), "setupPermissionCeiling");
52
50
 
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-base@0.98.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
7
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.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
8
8
  var installerOf = /* @__PURE__ */ __name((scriptPath) => {
9
9
  const path = scriptPath.replaceAll("\\", "/");
10
10
  if (path.includes("/_npx/"))