@wirecat/drive-cli 0.72.1 → 0.73.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 (205) hide show
  1. package/README.md +4 -0
  2. package/contracts/wirecat.json +82 -18
  3. package/dist/bin/drive.js +2 -2
  4. package/dist/bundle/agent-ZOHMLVWI.js +46 -0
  5. package/dist/bundle/{all-profiles-PZVP3G73.js → all-profiles-HGQGKCKQ.js} +14 -14
  6. package/dist/bundle/{anthropic-PUOTKSYV.js → anthropic-2L5DN3HF.js} +8 -8
  7. package/dist/bundle/{app-server-MKDCXRZM.js → app-server-TRSOKYYF.js} +79 -79
  8. package/dist/bundle/{bun-NS5YLOQT.js → bun-AFA5HULK.js} +2 -2
  9. package/dist/bundle/{bun-sqlite-KSKWRLLO.js → bun-sqlite-5MW2BWV4.js} +9 -9
  10. package/dist/bundle/{chunk-JHAACT4I.js → chunk-2G24DYSZ.js} +2 -2
  11. package/dist/bundle/{chunk-MDJUYCHT.js → chunk-2MCMUZCE.js} +1 -1
  12. package/dist/bundle/{chunk-FKP4T7A4.js → chunk-2NAMKBBV.js} +31 -23
  13. package/dist/bundle/{chunk-3YCUYFTD.js → chunk-2WAGRBQT.js} +50 -47
  14. package/dist/bundle/{chunk-S3SLDYTU.js → chunk-33RQ3YVC.js} +1 -1
  15. package/dist/bundle/{chunk-54O5NJRC.js → chunk-36256UTA.js} +12 -12
  16. package/dist/bundle/{chunk-ZNFXKFGF.js → chunk-4FTGSEBR.js} +6 -6
  17. package/dist/bundle/{chunk-YRCGFSRR.js → chunk-4KOMZRN6.js} +2 -2
  18. package/dist/bundle/{chunk-HPS2YGSZ.js → chunk-4LLO4USI.js} +1 -1
  19. package/dist/bundle/{chunk-HDGJ7IDE.js → chunk-4VTAPSZE.js} +4 -4
  20. package/dist/bundle/{chunk-QB7K6PIP.js → chunk-4ZP3IK5I.js} +6 -6
  21. package/dist/bundle/{chunk-KVBGIZ2C.js → chunk-5CYWWYIG.js} +6 -1
  22. package/dist/bundle/{chunk-FJQO5OHR.js → chunk-5EZCDENA.js} +61 -35
  23. package/dist/bundle/{chunk-RM4DO2WZ.js → chunk-5R2VPXVT.js} +1 -1
  24. package/dist/bundle/{chunk-2CG3LUQS.js → chunk-5SQHQRNO.js} +4 -4
  25. package/dist/bundle/{chunk-3VIEGRBA.js → chunk-6AVHD6WB.js} +6 -6
  26. package/dist/bundle/{chunk-JSYUB4SM.js → chunk-6EC3LAVC.js} +2 -2
  27. package/dist/bundle/{chunk-SWQDKO6D.js → chunk-6HZKX65K.js} +3 -3
  28. package/dist/bundle/{chunk-YE7DJB3F.js → chunk-6TGZCOYR.js} +3 -3
  29. package/dist/bundle/{chunk-SUQT4KI2.js → chunk-6V5556NF.js} +7 -7
  30. package/dist/bundle/{chunk-R3EDZWXF.js → chunk-6WZLP4CI.js} +5 -5
  31. package/dist/bundle/{chunk-UT64BBEP.js → chunk-77SAHCDZ.js} +4 -4
  32. package/dist/bundle/{chunk-FTL3WXZB.js → chunk-AGATODLO.js} +12 -12
  33. package/dist/bundle/{chunk-IBQZT2YD.js → chunk-B6YBN6VK.js} +1 -1
  34. package/dist/bundle/{chunk-AG34MPVN.js → chunk-BAG4KIN5.js} +1 -1
  35. package/dist/bundle/{chunk-MA7ETVTZ.js → chunk-BAHWXDWN.js} +16 -16
  36. package/dist/bundle/{chunk-2TVHFJKV.js → chunk-BFESDJPU.js} +1 -1
  37. package/dist/bundle/{chunk-SODB63MR.js → chunk-BOHC2GPY.js} +36 -36
  38. package/dist/bundle/{chunk-VHTELRUA.js → chunk-BY5D2LXE.js} +3 -3
  39. package/dist/bundle/{chunk-G7SKXAVZ.js → chunk-CMB6URN7.js} +5 -5
  40. package/dist/bundle/{chunk-HOICQNJX.js → chunk-CY2MNN3I.js} +5 -5
  41. package/dist/bundle/{chunk-G2KKMQRN.js → chunk-DAYHLKTM.js} +2 -2
  42. package/dist/bundle/{chunk-JVM75M4H.js → chunk-DOUFW7RK.js} +3 -3
  43. package/dist/bundle/{chunk-S27UKJVL.js → chunk-DZG5SAO6.js} +14 -14
  44. package/dist/bundle/{chunk-X6HPQKAI.js → chunk-E3UFICXC.js} +33 -29
  45. package/dist/bundle/{chunk-MA6U4XH2.js → chunk-EBGI3Z6U.js} +1 -1
  46. package/dist/bundle/{chunk-DOEP4EPW.js → chunk-EQGVNLUN.js} +42 -42
  47. package/dist/bundle/{chunk-HMN26CVU.js → chunk-F5XMZDR5.js} +2 -2
  48. package/dist/bundle/{chunk-VBIZD5V5.js → chunk-FITKBN46.js} +2 -2
  49. package/dist/bundle/{chunk-6KND2DYT.js → chunk-FRQBKAPV.js} +6 -6
  50. package/dist/bundle/{chunk-IE3R46YN.js → chunk-GW7L2G4I.js} +57 -57
  51. package/dist/bundle/{chunk-MGC2BAD2.js → chunk-HGXFOXSA.js} +1 -1
  52. package/dist/bundle/{chunk-SSFGSY77.js → chunk-HYJEBBFK.js} +489 -317
  53. package/dist/bundle/{chunk-KOI5G7NM.js → chunk-I2KGZ6XQ.js} +6 -6
  54. package/dist/bundle/{chunk-PMAV3RNP.js → chunk-I3DZHZHM.js} +7 -7
  55. package/dist/bundle/{chunk-HSASPXRW.js → chunk-I3MLLVPE.js} +3 -3
  56. package/dist/bundle/{chunk-PUVQOZ2N.js → chunk-IDJKYHVG.js} +2246 -2047
  57. package/dist/bundle/{chunk-EXHTGQR2.js → chunk-IEGU6GG7.js} +1 -1
  58. package/dist/bundle/{chunk-QURQ2OU2.js → chunk-IKW3PRNG.js} +13 -13
  59. package/dist/bundle/{chunk-XZEVHUKI.js → chunk-J3I4WOBI.js} +3 -3
  60. package/dist/bundle/{chunk-B6JC5RS3.js → chunk-JA37PJL4.js} +11 -11
  61. package/dist/bundle/{chunk-3QBRS3JT.js → chunk-JJGKHGBX.js} +8 -8
  62. package/dist/bundle/{chunk-7YPZPJTB.js → chunk-JWNM6FCC.js} +1 -1
  63. package/dist/bundle/{chunk-IPBYU43F.js → chunk-JZYNXTMH.js} +46 -15
  64. package/dist/bundle/{chunk-KPBUJQKT.js → chunk-K34B37AP.js} +1 -1
  65. package/dist/bundle/{chunk-QK7GKFKB.js → chunk-KERX3BQL.js} +4 -4
  66. package/dist/bundle/{chunk-IE6O7463.js → chunk-KV232TIK.js} +4 -4
  67. package/dist/bundle/{chunk-HCMEU7AF.js → chunk-KXETGAU4.js} +8 -8
  68. package/dist/bundle/{chunk-IV77ZFF4.js → chunk-L5ZZ6RLL.js} +2 -2
  69. package/dist/bundle/{chunk-CP2TZXAG.js → chunk-LGRZNEMA.js} +8 -8
  70. package/dist/bundle/{chunk-QMUWHKP5.js → chunk-M3VJTLFM.js} +6 -6
  71. package/dist/bundle/{chunk-JDGF3YYS.js → chunk-MTH76YSQ.js} +418 -404
  72. package/dist/bundle/{chunk-XKWQDQ4B.js → chunk-NA4HEM4Z.js} +3 -3
  73. package/dist/bundle/{chunk-5BHP4FVM.js → chunk-OCZWU2H4.js} +2 -2
  74. package/dist/bundle/{chunk-6JU4KLAZ.js → chunk-OHKAL25R.js} +62 -62
  75. package/dist/bundle/{chunk-BDZXGDGI.js → chunk-P2FOF6RR.js} +3 -3
  76. package/dist/bundle/{chunk-KI6OOW6D.js → chunk-PMYTDTT4.js} +1 -1
  77. package/dist/bundle/{chunk-4DK55MLP.js → chunk-PQSCABAC.js} +10 -10
  78. package/dist/bundle/{chunk-A5XNUMW7.js → chunk-PSFACXOC.js} +2 -2
  79. package/dist/bundle/{chunk-BMTMGMGE.js → chunk-PSWVHX53.js} +1 -1
  80. package/dist/bundle/{chunk-PB6ACIME.js → chunk-Q2L3W7PS.js} +2 -2
  81. package/dist/bundle/{chunk-GTROGY74.js → chunk-QMDVQ4AN.js} +12 -12
  82. package/dist/bundle/{chunk-OBDPKDGB.js → chunk-QZXFWDTX.js} +6 -6
  83. package/dist/bundle/{chunk-GYAPDUF5.js → chunk-R2GLRHNK.js} +5 -5
  84. package/dist/bundle/{chunk-PSY67L73.js → chunk-R6K36FZ7.js} +23 -23
  85. package/dist/bundle/{chunk-SAEBHENE.js → chunk-RHS3OBO5.js} +4 -4
  86. package/dist/bundle/{chunk-LKUWH6KU.js → chunk-RNLLWYPV.js} +1 -1
  87. package/dist/bundle/{chunk-3ZGWJYSG.js → chunk-RX6D64YA.js} +20 -20
  88. package/dist/bundle/{chunk-YJVQ5GST.js → chunk-S7EQIYNF.js} +1 -1
  89. package/dist/bundle/{chunk-UL5HSHFU.js → chunk-SIC2CGYE.js} +4 -4
  90. package/dist/bundle/{chunk-T3OK6AYZ.js → chunk-SNY4WYPH.js} +5 -5
  91. package/dist/bundle/{chunk-TUL6MCTY.js → chunk-SQODI3DH.js} +2 -2
  92. package/dist/bundle/{chunk-IABPGOMT.js → chunk-SRRNRQSQ.js} +2 -2
  93. package/dist/bundle/{chunk-TFIAD57H.js → chunk-SYQKLEP3.js} +4 -4
  94. package/dist/bundle/{chunk-WDJRUNQN.js → chunk-TAQUEQ5B.js} +8 -8
  95. package/dist/bundle/{chunk-GFI3UUIU.js → chunk-TPIGO4JJ.js} +1 -1
  96. package/dist/bundle/{chunk-4P6D6CUS.js → chunk-U5SB2WDG.js} +10 -10
  97. package/dist/bundle/{chunk-G2CH4FRW.js → chunk-UDP7EQNY.js} +4 -4
  98. package/dist/bundle/{chunk-E2TMWONO.js → chunk-UZAOKKGK.js} +753 -494
  99. package/dist/bundle/{chunk-SM7Z2BQF.js → chunk-V5GIK53Z.js} +17 -17
  100. package/dist/bundle/{chunk-3T7JIHSO.js → chunk-VENGEFU4.js} +8 -8
  101. package/dist/bundle/{chunk-E5EYJU5R.js → chunk-VHPNTMJJ.js} +1 -1
  102. package/dist/bundle/{chunk-3CH7I452.js → chunk-VM3IERRK.js} +7 -7
  103. package/dist/bundle/{chunk-B5V2U7IS.js → chunk-VQ7K2EAW.js} +9 -9
  104. package/dist/bundle/{chunk-IS7STZEB.js → chunk-VQC4GYIQ.js} +3 -3
  105. package/dist/bundle/{chunk-X5CXANSA.js → chunk-VZTDELYM.js} +3 -3
  106. package/dist/bundle/{chunk-35GROSBS.js → chunk-W3OKRT6L.js} +179 -135
  107. package/dist/bundle/{chunk-KBR7OC5S.js → chunk-WB46DJSK.js} +2 -2
  108. package/dist/bundle/{chunk-43PCMVTZ.js → chunk-WITO2RZO.js} +1 -1
  109. package/dist/bundle/{chunk-ODTBJGWQ.js → chunk-WJ7E6TPR.js} +17 -17
  110. package/dist/bundle/{chunk-JRED7BNX.js → chunk-WUVNBZWC.js} +191 -160
  111. package/dist/bundle/{chunk-VOQICE3G.js → chunk-ZDYWRT3X.js} +7 -7
  112. package/dist/bundle/{chunk-JZ65CQWK.js → chunk-ZQMURHTL.js} +6 -6
  113. package/dist/bundle/{cli-KXRWXGTS.js → cli-A7MMBLGR.js} +83 -83
  114. package/dist/bundle/command-contract-WCGIIXYM.js +45 -0
  115. package/dist/bundle/{command-server-entry-7FZX74T6.js → command-server-entry-557ZCX63.js} +35 -35
  116. package/dist/bundle/{decode-SZ6W34U3.js → decode-3IPZIY2P.js} +8 -8
  117. package/dist/bundle/{dispatch-4KNSZ3PI.js → dispatch-UWS7A35Q.js} +9 -9
  118. package/dist/bundle/drive.js +11 -11
  119. package/dist/bundle/{echarts-ISH62J4E.js → echarts-JLCV6NKC.js} +2 -2
  120. package/dist/bundle/{embed-6ODGTZPK.js → embed-Q6H3QSMC.js} +9 -9
  121. package/dist/bundle/{embedder-6FY67FTQ.js → embedder-536EI65E.js} +12 -12
  122. package/dist/bundle/entry-3PKJTP5E.js +25 -0
  123. package/dist/bundle/{failure-V3ILKUTX.js → failure-W3VT5D3H.js} +4 -4
  124. package/dist/bundle/first-run-XTLP6VXF.js +31 -0
  125. package/dist/bundle/first-screen-3GQGULPE.js +45 -0
  126. package/dist/bundle/google-MEPVU4EP.js +46 -0
  127. package/dist/bundle/{google-api-ZTI3NKZX.js → google-api-SY25TRXJ.js} +85 -85
  128. package/dist/bundle/grants-77W5MSWQ.js +133 -0
  129. package/dist/bundle/{identity-YX4IPGOO.js → identity-ZBMVHXUY.js} +6 -6
  130. package/dist/bundle/{instructions-G5ZGHVFB.js → instructions-XQOWVU6J.js} +1 -1
  131. package/dist/bundle/{login-CVX5VJX6.js → login-LXXYFMD3.js} +91 -91
  132. package/dist/bundle/{mcp-MQ2L5IIM.js → mcp-VNOYBWW2.js} +2 -2
  133. package/dist/bundle/meeting-combined-NWWZCYN4.js +28 -0
  134. package/dist/bundle/meeting-model-K7UQ7TO5.js +29 -0
  135. package/dist/bundle/{meeting-semantic-OHG2QN2G.js → meeting-semantic-Z7FAOSLQ.js} +10 -10
  136. package/dist/bundle/{node-NLJINXVQ.js → node-MPZ3SVB4.js} +2 -2
  137. package/dist/bundle/{node-sqlite-KDFQDYVZ.js → node-sqlite-VL5BMY34.js} +10 -10
  138. package/dist/bundle/notes-search-MF7QKFQD.js +74 -0
  139. package/dist/bundle/oauth-EYJXUTXZ.js +22 -0
  140. package/dist/bundle/{open-WVRUVBIZ.js → open-SERV3YXC.js} +8 -8
  141. package/dist/bundle/{openai-JJWOSJMV.js → openai-HUXETQVC.js} +20 -20
  142. package/dist/bundle/{process-LPVAYRO7.js → process-RFIII6TW.js} +1 -1
  143. package/dist/bundle/{program-ZJRIP25J.js → program-VQ6IKDBJ.js} +352 -130
  144. package/dist/bundle/{prompt-XCDHTEAO.js → prompt-LCD5ZR7Q.js} +8 -8
  145. package/dist/bundle/{reasons-REEEQDAZ.js → reasons-GDQIXGWT.js} +5 -5
  146. package/dist/bundle/{recognize-OZLFDJAT.js → recognize-GWKRFWHF.js} +7 -7
  147. package/dist/bundle/{remote-MDPYVCZB.js → remote-XM2CRZJY.js} +13 -13
  148. package/dist/bundle/{rerank-FLZWJNHA.js → rerank-HR5J35V6.js} +10 -10
  149. package/dist/bundle/{serve-5UV5VLRV.js → serve-PP3XR3GA.js} +12 -12
  150. package/dist/bundle/{server-53A2X2MK.js → server-DD3DE536.js} +71 -71
  151. package/dist/bundle/server-NB4RGNYM.js +97 -0
  152. package/dist/bundle/{services-XSMH7BXB.js → services-4Y7R425J.js} +62 -58
  153. package/dist/bundle/{sqlite-runtime-E3L7ENFU.js → sqlite-runtime-CVYBPVKO.js} +9 -9
  154. package/dist/bundle/{start-4S2VNR4J.js → start-2KFZDMWM.js} +7 -7
  155. package/dist/bundle/{state-TQI4JSH7.js → state-AUXW4REW.js} +9 -9
  156. package/dist/bundle/{store-VYJPL7MW.js → store-B7X6UN75.js} +28 -28
  157. package/dist/bundle/{store-GS7PU6PJ.js → store-RADARFIH.js} +26 -26
  158. package/dist/bundle/store-maintenance-command-UTZWPNUF.js +85 -0
  159. package/dist/bundle/surface-4MUNDC3D.js +83 -0
  160. package/dist/bundle/tokens-AIKNGAOI.js +133 -0
  161. package/dist/commands/file-edit.d.ts +18 -0
  162. package/dist/commands/file-edit.d.ts.map +1 -0
  163. package/dist/commands/file-edit.js +39 -0
  164. package/dist/commands/file-edit.js.map +1 -0
  165. package/dist/commands/remote.d.ts +4 -0
  166. package/dist/commands/remote.d.ts.map +1 -1
  167. package/dist/commands/remote.js +59 -17
  168. package/dist/commands/remote.js.map +1 -1
  169. package/dist/config.d.ts +2 -0
  170. package/dist/config.d.ts.map +1 -1
  171. package/dist/config.js +17 -1
  172. package/dist/config.js.map +1 -1
  173. package/dist/drive-files.d.ts +26 -0
  174. package/dist/drive-files.d.ts.map +1 -0
  175. package/dist/drive-files.js +127 -0
  176. package/dist/drive-files.js.map +1 -0
  177. package/dist/program.d.ts.map +1 -1
  178. package/dist/program.js +52 -1
  179. package/dist/program.js.map +1 -1
  180. package/dist/reasons.d.ts.map +1 -1
  181. package/dist/reasons.js +5 -0
  182. package/dist/reasons.js.map +1 -1
  183. package/dist/upload.d.ts +3 -1
  184. package/dist/upload.d.ts.map +1 -1
  185. package/dist/upload.js +5 -4
  186. package/dist/upload.js.map +1 -1
  187. package/dist/version.d.ts +1 -1
  188. package/dist/version.js +1 -1
  189. package/package.json +3 -3
  190. package/skills/drive-cli/SKILL.md +4 -0
  191. package/dist/bundle/agent-GOCD4ZW2.js +0 -46
  192. package/dist/bundle/command-contract-BGNT7MTQ.js +0 -45
  193. package/dist/bundle/entry-2SA6ZX7E.js +0 -25
  194. package/dist/bundle/first-run-ZNKPPD6M.js +0 -31
  195. package/dist/bundle/first-screen-WF6GYLPN.js +0 -45
  196. package/dist/bundle/google-QCADNPCQ.js +0 -46
  197. package/dist/bundle/grants-BPN5AGDK.js +0 -133
  198. package/dist/bundle/meeting-combined-HKZJMJ6Q.js +0 -28
  199. package/dist/bundle/meeting-model-DSE4GRVE.js +0 -29
  200. package/dist/bundle/notes-search-3VBVSQ3R.js +0 -70
  201. package/dist/bundle/oauth-M3E62ZHC.js +0 -22
  202. package/dist/bundle/server-5GMURMDE.js +0 -97
  203. package/dist/bundle/store-maintenance-command-JJVYUZMG.js +0 -85
  204. package/dist/bundle/surface-JC4XVMZR.js +0 -83
  205. package/dist/bundle/tokens-KJQ5EAPW.js +0 -133
@@ -9,15 +9,15 @@ import {
9
9
  optional,
10
10
  pipe,
11
11
  safeParse
12
- } from "./chunk-OBDPKDGB.js";
12
+ } from "./chunk-QZXFWDTX.js";
13
13
  import {
14
14
  CliError
15
- } from "./chunk-IBQZT2YD.js";
15
+ } from "./chunk-B6YBN6VK.js";
16
16
  import {
17
17
  __name
18
18
  } from "./chunk-ZVVMGPBJ.js";
19
19
 
20
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/models/options.js
20
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/models/options.js
21
21
  var checkedOptions = /* @__PURE__ */ __name((provider, schema, options) => {
22
22
  const parsed = safeParse(schema, options);
23
23
  if (!parsed.success) {
@@ -27,7 +27,7 @@ var checkedOptions = /* @__PURE__ */ __name((provider, schema, options) => {
27
27
  }, "checkedOptions");
28
28
  var range = /* @__PURE__ */ __name((min, max) => optional(pipe(number(), finite(), minValue(min), maxValue(max))), "range");
29
29
 
30
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/models/types.js
30
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/models/types.js
31
31
  var MAX_MODEL_IMAGE_BYTES = 4 * 1024 * 1024;
32
32
  var validateImages = /* @__PURE__ */ __name((images) => {
33
33
  if (images === void 0)
@@ -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-IBQZT2YD.js";
5
+ } from "./chunk-B6YBN6VK.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/files/atomic-write.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/files/atomic-write.js
11
11
  import { randomUUID } from "node:crypto";
12
12
  import { constants } from "node:fs";
13
13
  import { link, open, realpath, rename, unlink } from "node:fs/promises";
@@ -45,7 +45,7 @@ var writeFileAtomic = /* @__PURE__ */ __name(async (path, content, { mode = 384,
45
45
  }
46
46
  }, "writeFileAtomic");
47
47
 
48
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/files/ordinary-file.js
48
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/files/ordinary-file.js
49
49
  import { constants as constants2 } from "node:fs";
50
50
  import { lstat, open as open2 } from "node:fs/promises";
51
51
  var deviceOf = /* @__PURE__ */ __name((dev) => process.platform === "win32" ? BigInt.asUintN(32, dev) : dev, "deviceOf");
@@ -111,21 +111,21 @@ var syncDirectory = /* @__PURE__ */ __name(async (path) => {
111
111
  }
112
112
  }, "syncDirectory");
113
113
 
114
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/files/lock.js
114
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/files/lock.js
115
115
  import { mkdir as mkdir2 } from "node:fs/promises";
116
116
  import { basename as basename2, dirname as dirname2 } from "node:path";
117
117
 
118
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
118
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
119
119
  import { randomUUID as randomUUID2 } from "node:crypto";
120
120
  import { lstat as lstat3, mkdir, open as open3, realpath as realpath3, rmdir as rmdir2, unlink as unlink4 } from "node:fs/promises";
121
121
  import { hostname as hostname2 } from "node:os";
122
122
  import { join as join3 } from "node:path";
123
123
 
124
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
124
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
125
125
  import { lstat as lstat2, readdir, realpath as realpath2, unlink as unlink2 } from "node:fs/promises";
126
126
  import { join as join2 } from "node:path";
127
127
 
128
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/files/native-lease-owner.js
128
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/files/native-lease-owner.js
129
129
  import { hostname } from "node:os";
130
130
  var missingLeaseFile = /* @__PURE__ */ __name((error) => typeof error === "object" && error !== null && "code" in error && error.code === "ENOENT", "missingLeaseFile");
131
131
  var readLeaseOwner = /* @__PURE__ */ __name(async (path, name, signal) => {
@@ -170,7 +170,7 @@ var leaseOwnerStatus = /* @__PURE__ */ __name((owner) => {
170
170
  }
171
171
  }, "leaseOwnerStatus");
172
172
 
173
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
173
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
174
174
  var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
175
175
  const inspect = /* @__PURE__ */ __name(async (destination, options = {}) => {
176
176
  options.signal?.throwIfAborted();
@@ -229,7 +229,7 @@ var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
229
229
  return { inspect, recover };
230
230
  }, "leaseInspection");
231
231
 
232
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/files/native-lease-release.js
232
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/files/native-lease-release.js
233
233
  import { rmdir, unlink as unlink3 } from "node:fs/promises";
234
234
  var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identity) => {
235
235
  let releasing;
@@ -254,7 +254,7 @@ var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identi
254
254
  };
255
255
  }, "ownedNativeLease");
256
256
 
257
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
257
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
258
258
  var validName = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length > 0 && value !== "." && value !== ".." && !/[\\/\0:]/.test(value), "validName");
259
259
  var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
260
260
  const { markerDirectory, legacyMarker } = layout;
@@ -325,7 +325,7 @@ var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
325
325
  };
326
326
  }, "nativeWriterLeaseStore");
327
327
 
328
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/files/lock.js
328
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/files/lock.js
329
329
  var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
330
330
  const folder = dirname2(path);
331
331
  await mkdir2(folder, { recursive: true, mode: 448 });
@@ -340,7 +340,7 @@ var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
340
340
  });
341
341
  }, "acquireLock");
342
342
 
343
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/files/bounded-utf8.js
343
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/files/bounded-utf8.js
344
344
  var readBoundedUtf8File = /* @__PURE__ */ __name(async (path, { maxBytes }) => {
345
345
  if (!Number.isSafeInteger(maxBytes) || maxBytes < 1 || maxBytes > 16 * 1024 * 1024)
346
346
  throw new CliError("validation_error", "file maxBytes takes 1\u201316777216 bytes");
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/errors.js
7
+ // node_modules/.pnpm/@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/errors.js
8
8
  var errorCodes = [
9
9
  "validation_error",
10
10
  "configuration_error",
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/store/normalize.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/store/normalize.js
8
8
  var NORMALIZER_VERSION = 1;
9
9
  var fold = /* @__PURE__ */ __name((text) => text.normalize("NFKD").replace(new RegExp("\\p{M}+", "gu"), "").normalize("NFC").toLowerCase(), "fold");
10
10
  var normalize = /* @__PURE__ */ __name((text) => fold(text).replace(new RegExp("\\p{Cc}", "gu"), " ").replace(/\s+/gu, " ").trim(), "normalize");
@@ -2,10 +2,10 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  servingProfiles
5
- } from "./chunk-JVM75M4H.js";
5
+ } from "./chunk-DOUFW7RK.js";
6
6
  import {
7
7
  refuseLacking
8
- } from "./chunk-PB6ACIME.js";
8
+ } from "./chunk-Q2L3W7PS.js";
9
9
  import {
10
10
  DEFAULT_PACE,
11
11
  FloodMemory,
@@ -21,16 +21,16 @@ import {
21
21
  servicesFor,
22
22
  terminalAsker,
23
23
  waitForTurn
24
- } from "./chunk-SSFGSY77.js";
24
+ } from "./chunk-HYJEBBFK.js";
25
25
  import {
26
26
  OFFLINE,
27
27
  chatIdIn,
28
28
  profilesOnAccount
29
- } from "./chunk-3YCUYFTD.js";
29
+ } from "./chunk-2WAGRBQT.js";
30
30
  import {
31
31
  capability,
32
32
  throughWrapper
33
- } from "./chunk-G2KKMQRN.js";
33
+ } from "./chunk-DAYHLKTM.js";
34
34
  import {
35
35
  CEILING_KEY,
36
36
  asFirstWord,
@@ -43,35 +43,35 @@ import {
43
43
  recalledAccount,
44
44
  rememberAccount,
45
45
  rootOf2 as rootOf
46
- } from "./chunk-JRED7BNX.js";
46
+ } from "./chunk-WUVNBZWC.js";
47
47
  import {
48
48
  providerErrorKey
49
- } from "./chunk-PMAV3RNP.js";
49
+ } from "./chunk-I3DZHZHM.js";
50
50
  import {
51
51
  codeOf,
52
52
  currentOperation
53
- } from "./chunk-QK7GKFKB.js";
53
+ } from "./chunk-KERX3BQL.js";
54
54
  import {
55
55
  openStore
56
- } from "./chunk-E2TMWONO.js";
56
+ } from "./chunk-UZAOKKGK.js";
57
57
  import {
58
58
  chatReferenceOf,
59
59
  ensureAccount,
60
60
  foldName,
61
61
  isId,
62
62
  pickPerson
63
- } from "./chunk-B6JC5RS3.js";
63
+ } from "./chunk-JA37PJL4.js";
64
64
  import {
65
65
  isCliFailure
66
- } from "./chunk-VBIZD5V5.js";
66
+ } from "./chunk-FITKBN46.js";
67
67
  import {
68
68
  CliError
69
- } from "./chunk-IBQZT2YD.js";
69
+ } from "./chunk-B6YBN6VK.js";
70
70
  import {
71
71
  __name
72
72
  } from "./chunk-ZVVMGPBJ.js";
73
73
 
74
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
74
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
75
75
  var REKEY_PACING = { lockMs: 50, pauseMs: 25 };
76
76
  var stored = /* @__PURE__ */ __name((messenger, { account, store, warn, events, pending, announcing, deletedWithoutChat, profile, rekeyed, rekeyPacing = REKEY_PACING, closing, namesFromStore, recipientIds, countsUnread = false, historyLimits, command = "cli" }) => {
77
77
  let warned = false;
@@ -647,7 +647,7 @@ var keep = /* @__PURE__ */ __name(async (store, account, event, seenAt, among, c
647
647
  }
648
648
  }, "keep");
649
649
 
650
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
650
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
651
651
  var LONG_LIVED = /* @__PURE__ */ new Set(["self", "newSendId", "close", "formatMarkdown", "formatHtml", "storedChats"]);
652
652
  var LISTENING = /* @__PURE__ */ new Set(["watch", "feed", "listen", "listenHistory"]);
653
653
  var BLOCKING = /* @__PURE__ */ new Set(["frozen", "limited", "banned"]);
@@ -744,7 +744,7 @@ var flooded = /* @__PURE__ */ __name((messenger, memory, { name, warn, pacer })
744
744
  });
745
745
  }, "flooded");
746
746
 
747
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
747
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
748
748
  var observed = /* @__PURE__ */ __name((messenger, events) => {
749
749
  const timed = /* @__PURE__ */ __name(async (operation, named, work, after) => {
750
750
  const write = currentOperation();
@@ -843,7 +843,7 @@ var byPart = /* @__PURE__ */ __name((batch, counts) => {
843
843
  counts[part] = (counts[part] ?? 0) + items.length;
844
844
  }, "byPart");
845
845
 
846
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
846
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
847
847
  var lazyStore = /* @__PURE__ */ __name((env, command, version) => {
848
848
  let opened;
849
849
  return {
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/executable.js
7
+ // node_modules/.pnpm/@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/executable.js
8
8
  import { existsSync } from "node:fs";
9
9
  import { win32 } from "node:path";
10
10
  var variable = /* @__PURE__ */ __name((env, name) => Object.entries(env).find(([key]) => key.toUpperCase() === name)?.[1], "variable");
@@ -2,10 +2,10 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  withRecovery
5
- } from "./chunk-QURQ2OU2.js";
5
+ } from "./chunk-IKW3PRNG.js";
6
6
  import {
7
7
  MAX_MODEL_IMAGE_BYTES
8
- } from "./chunk-UT64BBEP.js";
8
+ } from "./chunk-77SAHCDZ.js";
9
9
  import {
10
10
  Unzip,
11
11
  UnzipInflate
@@ -14,18 +14,18 @@ import {
14
14
  MAX_FILE_BYTES,
15
15
  MAX_TEXT_CHARS,
16
16
  attachmentMaxBytes
17
- } from "./chunk-YE7DJB3F.js";
17
+ } from "./chunk-6TGZCOYR.js";
18
18
  import {
19
19
  isCliFailure
20
- } from "./chunk-VBIZD5V5.js";
20
+ } from "./chunk-FITKBN46.js";
21
21
  import {
22
22
  readSharedSection,
23
23
  sharedConfigPath,
24
24
  writeSharedSection
25
- } from "./chunk-HCMEU7AF.js";
25
+ } from "./chunk-KXETGAU4.js";
26
26
  import {
27
27
  storePath
28
- } from "./chunk-HMN26CVU.js";
28
+ } from "./chunk-F5XMZDR5.js";
29
29
  import {
30
30
  isoTimestamp,
31
31
  optional,
@@ -35,11 +35,11 @@ import {
35
35
  safeParse,
36
36
  strictObject,
37
37
  string
38
- } from "./chunk-OBDPKDGB.js";
38
+ } from "./chunk-QZXFWDTX.js";
39
39
  import {
40
40
  CliError,
41
41
  isCliError
42
- } from "./chunk-IBQZT2YD.js";
42
+ } from "./chunk-B6YBN6VK.js";
43
43
  import {
44
44
  importFrom,
45
45
  resolveFrom
@@ -16659,20 +16659,20 @@ var require_lib3 = __commonJS({
16659
16659
  }
16660
16660
  });
16661
16661
 
16662
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/attachments/extract.js
16662
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/attachments/extract.js
16663
16663
  import { extname as extname2 } from "node:path";
16664
16664
 
16665
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/readers/engine.js
16665
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/readers/engine.js
16666
16666
  import { readFileSync } from "node:fs";
16667
16667
  import { dirname, extname, join } from "node:path";
16668
16668
  import { fileURLToPath } from "node:url";
16669
16669
 
16670
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/attachments/container.js
16670
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/attachments/container.js
16671
16671
  import { setImmediate as tick } from "node:timers/promises";
16672
16672
  import { crc32 } from "node:zlib";
16673
16673
  var import_xmldom = __toESM(require_lib(), 1);
16674
16674
 
16675
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/attachments/encoding.js
16675
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/attachments/encoding.js
16676
16676
  var import_chardet = __toESM(require_lib2(), 1);
16677
16677
  var import_iconv_lite = __toESM(require_lib3(), 1);
16678
16678
  var SAMPLE = 65536;
@@ -16774,7 +16774,7 @@ var decodeXml = /* @__PURE__ */ __name((bytes) => {
16774
16774
  return result.text;
16775
16775
  }, "decodeXml");
16776
16776
 
16777
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/attachments/container.js
16777
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/attachments/container.js
16778
16778
  var MAX_PART = 10 * 1024 * 1024;
16779
16779
  var MAX_ENTRIES = 1e3;
16780
16780
  var decoder = new TextDecoder("utf-8", { fatal: true });
@@ -16989,7 +16989,7 @@ var elements = /* @__PURE__ */ __name((node, name, namespace) => {
16989
16989
  return found;
16990
16990
  }, "elements");
16991
16991
 
16992
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/readers/engine.js
16992
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/readers/engine.js
16993
16993
  var BUILT_IN = ["unpdf", "mammoth", "word-extractor", "linkedom", "defuddle/node"];
16994
16994
  var ENGINES = [...BUILT_IN, "@napi-rs/canvas"];
16995
16995
  var isMissing = /* @__PURE__ */ __name((error, name) => error?.code === "ERR_MODULE_NOT_FOUND" && String(error.message).includes(name), "isMissing");
@@ -17047,7 +17047,7 @@ var derived = /* @__PURE__ */ __name((bytes, extractor, read) => {
17047
17047
  }
17048
17048
  }, "derived");
17049
17049
 
17050
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/readers/image/index.js
17050
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/readers/image/index.js
17051
17051
  var IMAGES = /* @__PURE__ */ new Set([".jpg", ".jpeg", ".png", ".webp", ".gif", ".heic", ".tif", ".tiff", ".bmp"]);
17052
17052
  var image = {
17053
17053
  id: "image",
@@ -17056,7 +17056,7 @@ var image = {
17056
17056
  read: /* @__PURE__ */ __name(async () => ({ status: "needs-agent" }), "read")
17057
17057
  };
17058
17058
 
17059
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/readers/doc/index.js
17059
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/readers/doc/index.js
17060
17060
  var OLE = "\xD0\xCF\xE0\xA1\xB1\xE1";
17061
17061
  var doc = {
17062
17062
  id: "doc",
@@ -17068,7 +17068,7 @@ var doc = {
17068
17068
  }), "read")
17069
17069
  };
17070
17070
 
17071
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/readers/docx/index.js
17071
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/readers/docx/index.js
17072
17072
  var DOCX = "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
17073
17073
  var docx = {
17074
17074
  id: "docx",
@@ -17081,10 +17081,10 @@ var docx = {
17081
17081
  }), "read")
17082
17082
  };
17083
17083
 
17084
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/attachments/markup.js
17084
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/attachments/markup.js
17085
17085
  var import_iconv_lite2 = __toESM(require_lib3(), 1);
17086
17086
 
17087
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/domain/html-entities.js
17087
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/domain/html-entities.js
17088
17088
  var NAMED = {
17089
17089
  amp: "&",
17090
17090
  lt: "<",
@@ -17136,7 +17136,7 @@ var decodeEntities = /* @__PURE__ */ __name((text) => text.replace(/&(#x[0-9a-f]
17136
17136
  return body[1] === "x" || body[1] === "X" ? character(Number.parseInt(body.slice(2), 16), entity) : character(Number(body.slice(1)), entity);
17137
17137
  }), "decodeEntities");
17138
17138
 
17139
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/attachments/markup.js
17139
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/attachments/markup.js
17140
17140
  var RTF_SKIPPED = /* @__PURE__ */ new Set([
17141
17141
  "fonttbl",
17142
17142
  "colortbl",
@@ -17302,7 +17302,7 @@ var htmlText = /* @__PURE__ */ __name((source) => {
17302
17302
  return decodeEntities(replaceTags(blocks, /<[^>]*>/g, "")).replace(/(?<![ \t\u00a0])[ \t\u00a0]+\n/g, "\n").replace(/\n{3,}/g, "\n\n").trim();
17303
17303
  }, "htmlText");
17304
17304
 
17305
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/readers/html/page.js
17305
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/readers/html/page.js
17306
17306
  var clean = /* @__PURE__ */ __name((value) => typeof value === "string" ? value.replace(/\s+/g, " ").trim() : "", "clean");
17307
17307
  var namesIn = /* @__PURE__ */ __name((value) => [value].flat().map((entry) => typeof entry === "string" ? clean(entry) : clean(entry?.name)).filter(Boolean).join(", "), "namesIn");
17308
17308
  var jsonLdNodes = /* @__PURE__ */ __name((document) => {
@@ -17358,7 +17358,7 @@ var markdownSections = /* @__PURE__ */ __name((text) => {
17358
17358
  return found.map((section, index) => ({ ...section, end: found[index + 1]?.start ?? text.length }));
17359
17359
  }, "markdownSections");
17360
17360
 
17361
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/readers/html/index.js
17361
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/readers/html/index.js
17362
17362
  var HTML = /* @__PURE__ */ new Set([".html", ".htm", ".xhtml"]);
17363
17363
  var first = /* @__PURE__ */ __name((...values) => values.find((value) => typeof value === "string" && value !== ""), "first");
17364
17364
  var loaded = /* @__PURE__ */ __name(async (load, name) => {
@@ -17429,10 +17429,10 @@ var html = {
17429
17429
  }, "read")
17430
17430
  };
17431
17431
 
17432
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/attachments/documents.js
17432
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/attachments/documents.js
17433
17433
  import { posix } from "node:path";
17434
17434
 
17435
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/attachments/sheets.js
17435
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/attachments/sheets.js
17436
17436
  var columnName = /* @__PURE__ */ __name((column) => {
17437
17437
  let name = "";
17438
17438
  for (let rest = column; rest > 0; rest = Math.floor((rest - 1) / 26))
@@ -17487,7 +17487,7 @@ var sheetText = /* @__PURE__ */ __name((sheets2, maxChars = MAX_TEXT_CHARS) => {
17487
17487
  return { text: parts.join("").trim(), truncated: false };
17488
17488
  }, "sheetText");
17489
17489
 
17490
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/attachments/documents.js
17490
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/attachments/documents.js
17491
17491
  var OFFICE = "urn:oasis:names:tc:opendocument:xmlns:office:1.0";
17492
17492
  var TEXT = "urn:oasis:names:tc:opendocument:xmlns:text:1.0";
17493
17493
  var TABLE = "urn:oasis:names:tc:opendocument:xmlns:table:1.0";
@@ -17902,7 +17902,7 @@ var readDocument = /* @__PURE__ */ __name(async (bytes, kind, signal) => {
17902
17902
  }
17903
17903
  }, "readDocument");
17904
17904
 
17905
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/readers/office/index.js
17905
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/readers/office/index.js
17906
17906
  var office = {
17907
17907
  id: "office",
17908
17908
  version: documentExtractor("odt"),
@@ -17913,7 +17913,7 @@ var office = {
17913
17913
  }, "read")
17914
17914
  };
17915
17915
 
17916
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/readers/pdf/index.js
17916
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/readers/pdf/index.js
17917
17917
  var pdf = {
17918
17918
  id: "pdf",
17919
17919
  version: "unpdf",
@@ -17980,7 +17980,7 @@ var pdf = {
17980
17980
  }), "read")
17981
17981
  };
17982
17982
 
17983
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/readers/plain/index.js
17983
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/readers/plain/index.js
17984
17984
  var PLAIN = /* @__PURE__ */ new Set([".txt", ".md", ".markdown", ".csv", ".tsv", ".json", ".log"]);
17985
17985
  var isPlain = /* @__PURE__ */ __name((hint) => PLAIN.has(extensionOf(hint)) || hint.mime?.startsWith("text/") || hint.mime === "application/json", "isPlain");
17986
17986
  var readPlain = /* @__PURE__ */ __name((bytes) => {
@@ -18000,7 +18000,7 @@ var plain = {
18000
18000
  read: /* @__PURE__ */ __name(async (bytes) => readPlain(bytes), "read")
18001
18001
  };
18002
18002
 
18003
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/readers/rtf/index.js
18003
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/readers/rtf/index.js
18004
18004
  var rtf = {
18005
18005
  id: "rtf",
18006
18006
  version: "v1",
@@ -18008,10 +18008,10 @@ var rtf = {
18008
18008
  read: /* @__PURE__ */ __name(async (bytes) => derived(bytes, "rtf:v1", rtfText), "read")
18009
18009
  };
18010
18010
 
18011
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/readers/sheets/index.js
18011
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/readers/sheets/index.js
18012
18012
  import { basename } from "node:path";
18013
18013
 
18014
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/attachments/csv-spans.js
18014
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/attachments/csv-spans.js
18015
18015
  var delimitedSpans = /* @__PURE__ */ __name((text, delimiter, maxCells = 1e4) => {
18016
18016
  const cells = [];
18017
18017
  let row = 1, column = 1, start = 0, quoted = false, truncated = false;
@@ -18049,7 +18049,7 @@ var delimitedSpans = /* @__PURE__ */ __name((text, delimiter, maxCells = 1e4) =>
18049
18049
  return { cells, truncated };
18050
18050
  }, "delimitedSpans");
18051
18051
 
18052
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/readers/sheets/index.js
18052
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/readers/sheets/index.js
18053
18053
  var DELIMITED = {
18054
18054
  ".csv": ",",
18055
18055
  ".tsv": " ",
@@ -18088,7 +18088,7 @@ var sheets = {
18088
18088
  }, "read")
18089
18089
  };
18090
18090
 
18091
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/readers/registry.js
18091
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/readers/registry.js
18092
18092
  var BUILT_INS = [office, pdf, docx, doc, rtf, html, sheets, plain, image];
18093
18093
  var HEAD_BYTES = 1024;
18094
18094
  var readers = [...BUILT_INS];
@@ -18098,7 +18098,7 @@ var readWithRegistry = /* @__PURE__ */ __name(async (bytes, hint, context) => {
18098
18098
  return reader ? reader.read(bytes, hint, context) : { status: "unsupported" };
18099
18099
  }, "readWithRegistry");
18100
18100
 
18101
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/attachments/extract.js
18101
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/attachments/extract.js
18102
18102
  var importEngine = /* @__PURE__ */ __name((name) => importFrom(new URL("attachments/extract.js", import.meta.resolve("@wirecat/cli-core")).href, name), "importEngine");
18103
18103
  var extensionOf2 = /* @__PURE__ */ __name(({ name, path }) => extname2(name ?? path).toLowerCase(), "extensionOf");
18104
18104
  var extractText = /* @__PURE__ */ __name(async (bytes, hint, load, signal, env = process.env) => {
@@ -19177,7 +19177,7 @@ function imageSize(input) {
19177
19177
  }
19178
19178
  __name(imageSize, "imageSize");
19179
19179
 
19180
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/attachments/ocr.js
19180
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/attachments/ocr.js
19181
19181
  var MAX_PAGES = 20;
19182
19182
  var MAX_PIXELS = 2e7;
19183
19183
  var cancelled2 = /* @__PURE__ */ __name((signal) => {
@@ -19337,7 +19337,7 @@ var ocrPdf = /* @__PURE__ */ __name(async (bytes, pipeline, load, signal) => {
19337
19337
  }
19338
19338
  }, "ocrPdf");
19339
19339
 
19340
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/attachments/picture-reading.js
19340
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/attachments/picture-reading.js
19341
19341
  import { spawn } from "node:child_process";
19342
19342
  import { mkdtempSync, readFileSync as readFileSync2, rmSync, writeFileSync } from "node:fs";
19343
19343
  import { tmpdir } from "node:os";
@@ -10,15 +10,15 @@ import {
10
10
  keyForCommand,
11
11
  levelFor,
12
12
  readKeysForCommand
13
- } from "./chunk-JRED7BNX.js";
13
+ } from "./chunk-WUVNBZWC.js";
14
14
  import {
15
15
  writes
16
- } from "./chunk-OBDPKDGB.js";
16
+ } from "./chunk-QZXFWDTX.js";
17
17
  import {
18
18
  __name
19
19
  } from "./chunk-ZVVMGPBJ.js";
20
20
 
21
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/command-availability.js
21
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/cli/command-availability.js
22
22
  var commandAvailability = /* @__PURE__ */ __name((info, levels, keyOf, authority, readOnly = false, mcp = true, declared, fetches) => {
23
23
  const declaredKey = declared?.keyOf(info.path);
24
24
  const key = declared ? declaredKey : keyOf?.(info.path) ?? keyForCommand(info.path);
@@ -2,21 +2,21 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  refuseModelAddress
5
- } from "./chunk-QB7K6PIP.js";
5
+ } from "./chunk-4ZP3IK5I.js";
6
6
  import {
7
7
  unit
8
- } from "./chunk-GYAPDUF5.js";
8
+ } from "./chunk-R2GLRHNK.js";
9
9
  import {
10
10
  onThisComputer
11
- } from "./chunk-6KND2DYT.js";
11
+ } from "./chunk-FRQBKAPV.js";
12
12
  import {
13
13
  CliError
14
- } from "./chunk-IBQZT2YD.js";
14
+ } from "./chunk-B6YBN6VK.js";
15
15
  import {
16
16
  __name
17
17
  } from "./chunk-ZVVMGPBJ.js";
18
18
 
19
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
19
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
20
20
  import { setTimeout } from "node:timers/promises";
21
21
  var OPENAI_URL = "https://api.openai.com/v1";
22
22
  var OPENAI_MODELS = {
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  endpoint
5
- } from "./chunk-6KND2DYT.js";
5
+ } from "./chunk-FRQBKAPV.js";
6
6
  import {
7
7
  check,
8
8
  getDotPath,
@@ -17,15 +17,15 @@ import {
17
17
  strictObject,
18
18
  string,
19
19
  trim
20
- } from "./chunk-OBDPKDGB.js";
20
+ } from "./chunk-QZXFWDTX.js";
21
21
  import {
22
22
  CliError
23
- } from "./chunk-IBQZT2YD.js";
23
+ } from "./chunk-B6YBN6VK.js";
24
24
  import {
25
25
  __name
26
26
  } from "./chunk-ZVVMGPBJ.js";
27
27
 
28
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/background/budget.js
28
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/background/budget.js
29
29
  var DEADLINE_MARGIN_MS = 5e3;
30
30
  var DEADLINE_MARGIN_SHARE = 0.15;
31
31
  var DEFAULT_REQUEST_MS = 2e3;
@@ -82,7 +82,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests, deadline, requestMs, signal,
82
82
  };
83
83
  }, "runBudget");
84
84
 
85
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/models/settings.js
85
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/models/settings.js
86
86
  var MODEL_FIELDS = ["provider", "model", "base_url"];
87
87
  var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
88
88
  provider: optional(picklist(["off", "openai", "anthropic"])),