@wirecat/mail-cli 0.16.3 → 0.17.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 (260) hide show
  1. package/CHANGELOG.md +86 -0
  2. package/README.md +7 -4
  3. package/dist/bin/mail.js +2 -2
  4. package/dist/bundle/{all-profiles-TUDREUUW.js → all-profiles-55AU2Q2N.js} +10 -10
  5. package/dist/bundle/{anthropic-KQOVSP6C.js → anthropic-I7RI7YPK.js} +6 -6
  6. package/dist/bundle/{app-server-QK7PKVT7.js → app-server-NY72GTQA.js} +47 -47
  7. package/dist/bundle/{bun-2NMWL5YB.js → bun-C2R7UPM2.js} +2 -2
  8. package/dist/bundle/{bun-sqlite-Y4FP6SDX.js → bun-sqlite-RNPHH3KC.js} +5 -5
  9. package/dist/bundle/{chunk-KJV3BI7S.js → chunk-22IKW3TY.js} +23 -21
  10. package/dist/bundle/{chunk-B2NDDA2W.js → chunk-22WVQJW3.js} +10 -10
  11. package/dist/bundle/{chunk-4IIH5PXR.js → chunk-24H2KUGW.js} +28 -28
  12. package/dist/bundle/{chunk-VP5FL5JQ.js → chunk-2CY44MKY.js} +8 -8
  13. package/dist/bundle/{chunk-CGH6UH3T.js → chunk-2EVM7GV5.js} +8 -8
  14. package/dist/bundle/{chunk-GAYW2JRW.js → chunk-2ON2PDHC.js} +10 -10
  15. package/dist/bundle/{chunk-EBEYU7RW.js → chunk-45JQ72CH.js} +36 -142
  16. package/dist/bundle/{chunk-QCNK3YUZ.js → chunk-4HTTN4NO.js} +19 -19
  17. package/dist/bundle/{chunk-6DVPPLAN.js → chunk-6NN5ZX5T.js} +5 -5
  18. package/dist/bundle/{chunk-CRYWPLJP.js → chunk-A3PKKY24.js} +1 -1
  19. package/dist/bundle/{chunk-I3K6JG4I.js → chunk-B73I6KLW.js} +14 -60
  20. package/dist/bundle/{chunk-HVAXTTOT.js → chunk-BD7OK4P5.js} +3 -3
  21. package/dist/bundle/{chunk-Q4T2HBZP.js → chunk-BPDUVWL2.js} +2 -2
  22. package/dist/bundle/{chunk-XBIPSSKI.js → chunk-BWCYUXF7.js} +4 -4
  23. package/dist/bundle/{chunk-3ZJE5TIG.js → chunk-CHC2LWKY.js} +2 -2
  24. package/dist/bundle/{chunk-VTJ5TMGN.js → chunk-CHVHIDNK.js} +3 -3
  25. package/dist/bundle/{chunk-XEIGKPYU.js → chunk-DG43I7MC.js} +32 -3
  26. package/dist/bundle/{chunk-R6SBRHVG.js → chunk-F4P3VDJZ.js} +6 -6
  27. package/dist/bundle/{chunk-ZS6YKNYS.js → chunk-GBM7FFFI.js} +4 -4
  28. package/dist/bundle/{chunk-K2OQCQ2N.js → chunk-GYCJQGFO.js} +6 -6
  29. package/dist/bundle/{chunk-PYX6K527.js → chunk-H32SKDF2.js} +55 -54
  30. package/dist/bundle/{chunk-KMZRXGTF.js → chunk-HZL42476.js} +1 -1
  31. package/dist/bundle/{chunk-IJYYD2JU.js → chunk-IPFFPD3M.js} +325 -212
  32. package/dist/bundle/{chunk-M6O4DH5F.js → chunk-ITMGJX7I.js} +1 -1
  33. package/dist/bundle/{chunk-OYB3FUYQ.js → chunk-J7XH6CJC.js} +1 -1
  34. package/dist/bundle/{chunk-ANFIIXBL.js → chunk-JI225TBX.js} +2 -2
  35. package/dist/bundle/{chunk-YPF6OS37.js → chunk-JSB6BTPT.js} +1 -1
  36. package/dist/bundle/{chunk-7LMTWOTP.js → chunk-KJKRLI2S.js} +2 -2
  37. package/dist/bundle/{chunk-FHY664YS.js → chunk-LNC7XMEQ.js} +4 -4
  38. package/dist/bundle/chunk-M6GLFDWV.js +64 -0
  39. package/dist/bundle/{chunk-PWTEWT4M.js → chunk-MG4NWXWI.js} +4 -4
  40. package/dist/bundle/{chunk-X7EBOXBY.js → chunk-MRTSDBTN.js} +12178 -1120
  41. package/dist/bundle/{chunk-N7DLDEFU.js → chunk-MTFTMPB6.js} +2 -2
  42. package/dist/bundle/{chunk-DDQXDX4U.js → chunk-OFZDCUUJ.js} +7 -7
  43. package/dist/bundle/{chunk-4IEDXIUN.js → chunk-OHS5CYZI.js} +240 -64
  44. package/dist/bundle/{chunk-ZNW4E3SG.js → chunk-QDX2O5BN.js} +3 -3
  45. package/dist/bundle/{chunk-VD6GZ3W2.js → chunk-QEO7MI3E.js} +2 -2
  46. package/dist/bundle/{chunk-EZIJPXDZ.js → chunk-QRNL5DIS.js} +6 -6
  47. package/dist/bundle/{chunk-XAANQN4R.js → chunk-QU5TWVG5.js} +108 -83
  48. package/dist/bundle/{chunk-HN3EDDVX.js → chunk-R3G33QIV.js} +13 -13
  49. package/dist/bundle/{chunk-TTOKDZQX.js → chunk-RFFE5ACS.js} +2 -2
  50. package/dist/bundle/{chunk-5FPQGUJA.js → chunk-RIAHISWA.js} +1 -1
  51. package/dist/bundle/{chunk-CT2MIWXY.js → chunk-RQGTRB73.js} +3 -3
  52. package/dist/bundle/{chunk-WKHHCCJE.js → chunk-S4NIDBLI.js} +23 -23
  53. package/dist/bundle/{chunk-YGJO5VNR.js → chunk-SHEVFBZT.js} +24 -24
  54. package/dist/bundle/{chunk-DKIAHQRN.js → chunk-SQAAOEGI.js} +9 -9
  55. package/dist/bundle/{chunk-5KPPP3QN.js → chunk-T4RRZILQ.js} +14 -2
  56. package/dist/bundle/{chunk-KV4267S4.js → chunk-TCYLDGRA.js} +1 -1
  57. package/dist/bundle/{chunk-POS35G6D.js → chunk-VMXMHC6E.js} +3 -3
  58. package/dist/bundle/{chunk-FROWEHK7.js → chunk-VXBUDZV3.js} +2 -2
  59. package/dist/bundle/{chunk-3CVDHJER.js → chunk-WHI3LTAW.js} +1 -1
  60. package/dist/bundle/{chunk-ARDUJR5Z.js → chunk-WOFGEJ6W.js} +1 -1
  61. package/dist/bundle/{chunk-G6RG2AZV.js → chunk-XJQJ3ZIY.js} +55 -8
  62. package/dist/bundle/{chunk-EDJQDR5X.js → chunk-XOJ5E777.js} +4 -4
  63. package/dist/bundle/{chunk-UBLFUQ7O.js → chunk-YB47AQWE.js} +97 -12
  64. package/dist/bundle/{chunk-RPEW7E3S.js → chunk-YCOBSDZY.js} +12 -12
  65. package/dist/bundle/{chunk-EB2IULWB.js → chunk-YHUCNI2W.js} +2 -2
  66. package/dist/bundle/{chunk-LMN7SYX4.js → chunk-YIJRPPF5.js} +1 -1
  67. package/dist/bundle/{chunk-MLWN27HF.js → chunk-YO7BLBVE.js} +243 -247
  68. package/dist/bundle/command-contract-AUPKK5Y4.js +34 -0
  69. package/dist/bundle/{decode-WCS4KOHV.js → decode-5AYG6LLW.js} +5 -5
  70. package/dist/bundle/{dispatch-3ILCYZ4Q.js → dispatch-EVLWT6N3.js} +8 -8
  71. package/dist/bundle/{dist-FL422DTA.js → dist-JRTLLLLG.js} +31 -23
  72. package/dist/bundle/{echarts-45D6USAX.js → echarts-EFAEE4D2.js} +2 -2
  73. package/dist/bundle/{embed-4B4ATLCN.js → embed-6SSOYGZQ.js} +6 -6
  74. package/dist/bundle/{embedder-ASWGJXNV.js → embedder-VFSLGHBO.js} +9 -9
  75. package/dist/bundle/{failure-UDL5QZRZ.js → failure-RBBZ7F3L.js} +2 -2
  76. package/dist/bundle/{first-run-5K3UD4BU.js → first-run-PVEHOQOD.js} +11 -11
  77. package/dist/bundle/first-screen-7ONKJ7QW.js +32 -0
  78. package/dist/bundle/{instructions-6EFSPC7C.js → instructions-EOLC3GYB.js} +1 -1
  79. package/dist/bundle/mail.js +12 -12
  80. package/dist/bundle/{mcp-PPVOM4SE.js → mcp-JYLZR5LQ.js} +2 -2
  81. package/dist/bundle/{node-OXC26QXO.js → node-2ZRMQAYF.js} +2 -2
  82. package/dist/bundle/{node-sqlite-PXHZAG7Y.js → node-sqlite-UKWOBONA.js} +6 -6
  83. package/dist/bundle/{oauth-YK2QLC7U.js → oauth-HFD46WAY.js} +7 -7
  84. package/dist/bundle/{open-SABDXZ4B.js → open-2DLCQUC4.js} +5 -5
  85. package/dist/bundle/{openai-DPURPXEU.js → openai-A7YLLQEE.js} +14 -14
  86. package/dist/bundle/{process-YWPAOI6G.js → process-I3INVLFQ.js} +1 -1
  87. package/dist/bundle/{program-4ILOQHLO.js → program-4ZCATQND.js} +3380 -12407
  88. package/dist/bundle/{prompt-GKVNFGFE.js → prompt-R636OFYK.js} +5 -5
  89. package/dist/bundle/{recognize-344YDSLX.js → recognize-G4WUSU5I.js} +4 -4
  90. package/dist/bundle/{remote-53UZUJJU.js → remote-BMXVVYTN.js} +7 -7
  91. package/dist/bundle/{rerank-PAIRND6R.js → rerank-7W3QEZ3Q.js} +7 -7
  92. package/dist/bundle/{serve-DZSO7LJK.js → serve-JQCPQYOJ.js} +9 -9
  93. package/dist/bundle/server-GYVOIGF5.js +64 -0
  94. package/dist/bundle/{server-EGG3V67I.js → server-IMOCOYXH.js} +39 -39
  95. package/dist/bundle/{sqlite-runtime-ZQ6F3VYZ.js → sqlite-runtime-H2IEHDRZ.js} +6 -6
  96. package/dist/bundle/{state-LXPOWLZ5.js → state-J5N3Y4LX.js} +6 -6
  97. package/dist/bundle/{store-PHT75I6S.js → store-C4TIYTGI.js} +25 -25
  98. package/dist/bundle/{store-4ZMSK5R5.js → store-U5WIT3P4.js} +15 -15
  99. package/dist/bundle/store-maintenance-command-WRRZ7Q7B.js +54 -0
  100. package/dist/commands/account.d.ts.map +1 -1
  101. package/dist/commands/account.js +56 -64
  102. package/dist/commands/account.js.map +1 -1
  103. package/dist/commands/attachments.d.ts.map +1 -1
  104. package/dist/commands/attachments.js +15 -12
  105. package/dist/commands/attachments.js.map +1 -1
  106. package/dist/commands/context.d.ts +4 -0
  107. package/dist/commands/context.d.ts.map +1 -1
  108. package/dist/commands/context.js +12 -1
  109. package/dist/commands/context.js.map +1 -1
  110. package/dist/commands/doctor.d.ts.map +1 -0
  111. package/dist/{mail → commands}/doctor.js +1 -1
  112. package/dist/commands/doctor.js.map +1 -0
  113. package/dist/commands/drafts-send.d.ts.map +1 -1
  114. package/dist/commands/drafts-send.js +12 -10
  115. package/dist/commands/drafts-send.js.map +1 -1
  116. package/dist/commands/drafts.d.ts.map +1 -1
  117. package/dist/commands/drafts.js +28 -14
  118. package/dist/commands/drafts.js.map +1 -1
  119. package/dist/commands/export.d.ts.map +1 -1
  120. package/dist/commands/export.js +194 -195
  121. package/dist/commands/export.js.map +1 -1
  122. package/dist/commands/folders.d.ts.map +1 -1
  123. package/dist/commands/folders.js +19 -32
  124. package/dist/commands/folders.js.map +1 -1
  125. package/dist/commands/import.d.ts.map +1 -1
  126. package/dist/commands/import.js +10 -5
  127. package/dist/commands/import.js.map +1 -1
  128. package/dist/commands/messages.d.ts +0 -21
  129. package/dist/commands/messages.d.ts.map +1 -1
  130. package/dist/commands/messages.js +10 -278
  131. package/dist/commands/messages.js.map +1 -1
  132. package/dist/commands/organising.d.ts +98 -0
  133. package/dist/commands/organising.d.ts.map +1 -0
  134. package/dist/commands/organising.js +231 -0
  135. package/dist/commands/organising.js.map +1 -0
  136. package/dist/commands/restore.d.ts +3 -0
  137. package/dist/commands/restore.d.ts.map +1 -0
  138. package/dist/commands/restore.js +93 -0
  139. package/dist/commands/restore.js.map +1 -0
  140. package/dist/commands/rules.d.ts.map +1 -1
  141. package/dist/commands/rules.js +3 -2
  142. package/dist/commands/rules.js.map +1 -1
  143. package/dist/commands/send.d.ts +14 -3
  144. package/dist/commands/send.d.ts.map +1 -1
  145. package/dist/commands/send.js +18 -11
  146. package/dist/commands/send.js.map +1 -1
  147. package/dist/commands/session-start.d.ts.map +1 -1
  148. package/dist/commands/session-start.js +14 -4
  149. package/dist/commands/session-start.js.map +1 -1
  150. package/dist/commands/status.d.ts.map +1 -1
  151. package/dist/commands/status.js +10 -4
  152. package/dist/commands/status.js.map +1 -1
  153. package/dist/commands/sync.d.ts.map +1 -1
  154. package/dist/commands/sync.js +136 -141
  155. package/dist/commands/sync.js.map +1 -1
  156. package/dist/commands/tags.d.ts.map +1 -1
  157. package/dist/commands/tags.js +11 -7
  158. package/dist/commands/tags.js.map +1 -1
  159. package/dist/commands/words.d.ts +8 -0
  160. package/dist/commands/words.d.ts.map +1 -0
  161. package/dist/commands/words.js +52 -0
  162. package/dist/commands/words.js.map +1 -0
  163. package/dist/discovery.d.ts.map +1 -1
  164. package/dist/discovery.js +2 -1
  165. package/dist/discovery.js.map +1 -1
  166. package/dist/export/journal.d.ts +8 -6
  167. package/dist/export/journal.d.ts.map +1 -1
  168. package/dist/export/journal.js +39 -14
  169. package/dist/export/journal.js.map +1 -1
  170. package/dist/mail/changes.d.ts +9 -2
  171. package/dist/mail/changes.d.ts.map +1 -1
  172. package/dist/mail/changes.js +45 -17
  173. package/dist/mail/changes.js.map +1 -1
  174. package/dist/mail/cleanup.d.ts.map +1 -1
  175. package/dist/mail/cleanup.js +5 -1
  176. package/dist/mail/cleanup.js.map +1 -1
  177. package/dist/mail/domain-age.d.ts.map +1 -1
  178. package/dist/mail/domain-age.js +24 -6
  179. package/dist/mail/domain-age.js.map +1 -1
  180. package/dist/mail/drafts.d.ts.map +1 -1
  181. package/dist/mail/drafts.js +9 -7
  182. package/dist/mail/drafts.js.map +1 -1
  183. package/dist/mail/imap/connection.d.ts.map +1 -1
  184. package/dist/mail/imap/connection.js +8 -9
  185. package/dist/mail/imap/connection.js.map +1 -1
  186. package/dist/mail/imap/errors.d.ts.map +1 -1
  187. package/dist/mail/imap/errors.js +2 -2
  188. package/dist/mail/imap/errors.js.map +1 -1
  189. package/dist/mail/imap/read.d.ts.map +1 -1
  190. package/dist/mail/imap/read.js +8 -5
  191. package/dist/mail/imap/read.js.map +1 -1
  192. package/dist/mail/imap/write.d.ts.map +1 -1
  193. package/dist/mail/imap/write.js +2 -1
  194. package/dist/mail/imap/write.js.map +1 -1
  195. package/dist/mail/locate.d.ts +32 -0
  196. package/dist/mail/locate.d.ts.map +1 -0
  197. package/dist/mail/locate.js +99 -0
  198. package/dist/mail/locate.js.map +1 -0
  199. package/dist/mail/mbox.d.ts.map +1 -1
  200. package/dist/mail/mbox.js +7 -5
  201. package/dist/mail/mbox.js.map +1 -1
  202. package/dist/mail/organise.d.ts +35 -50
  203. package/dist/mail/organise.d.ts.map +1 -1
  204. package/dist/mail/organise.js +44 -279
  205. package/dist/mail/organise.js.map +1 -1
  206. package/dist/mail/restore.d.ts +22 -0
  207. package/dist/mail/restore.d.ts.map +1 -0
  208. package/dist/mail/restore.js +193 -0
  209. package/dist/mail/restore.js.map +1 -0
  210. package/dist/mail/rules/apply.d.ts.map +1 -1
  211. package/dist/mail/rules/apply.js +5 -4
  212. package/dist/mail/rules/apply.js.map +1 -1
  213. package/dist/mail/rules/file.d.ts.map +1 -1
  214. package/dist/mail/rules/file.js +37 -8
  215. package/dist/mail/rules/file.js.map +1 -1
  216. package/dist/mail/rules/filters.d.ts.map +1 -1
  217. package/dist/mail/rules/filters.js +13 -7
  218. package/dist/mail/rules/filters.js.map +1 -1
  219. package/dist/mail/rules/query.d.ts.map +1 -1
  220. package/dist/mail/rules/query.js +7 -7
  221. package/dist/mail/rules/query.js.map +1 -1
  222. package/dist/mail/save.js +1 -1
  223. package/dist/mail/save.js.map +1 -1
  224. package/dist/mail/send.d.ts +4 -3
  225. package/dist/mail/send.d.ts.map +1 -1
  226. package/dist/mail/send.js +8 -8
  227. package/dist/mail/send.js.map +1 -1
  228. package/dist/mail/smtp.js +1 -1
  229. package/dist/mail/smtp.js.map +1 -1
  230. package/dist/oauth.d.ts +3 -2
  231. package/dist/oauth.d.ts.map +1 -1
  232. package/dist/oauth.js +16 -7
  233. package/dist/oauth.js.map +1 -1
  234. package/dist/profile.d.ts.map +1 -1
  235. package/dist/profile.js +3 -2
  236. package/dist/profile.js.map +1 -1
  237. package/dist/program.js +1 -1
  238. package/dist/program.js.map +1 -1
  239. package/dist/providers.js +3 -3
  240. package/dist/providers.js.map +1 -1
  241. package/dist/reasons.d.ts.map +1 -1
  242. package/dist/reasons.js +12 -0
  243. package/dist/reasons.js.map +1 -1
  244. package/dist/version.d.ts +1 -1
  245. package/dist/version.js +1 -1
  246. package/package.json +5 -4
  247. package/skills/mail-cli/SKILL.md +3 -3
  248. package/dist/bundle/chunk-GIKNAOER.js +0 -132
  249. package/dist/bundle/command-contract-GVNLRXWS.js +0 -34
  250. package/dist/bundle/first-screen-NNX54MYC.js +0 -32
  251. package/dist/bundle/server-SGGMRV2K.js +0 -64
  252. package/dist/bundle/store-maintenance-command-C6ONZNRX.js +0 -54
  253. package/dist/index.d.ts +0 -3
  254. package/dist/index.d.ts.map +0 -1
  255. package/dist/index.js +0 -3
  256. package/dist/index.js.map +0 -1
  257. package/dist/mail/doctor.d.ts.map +0 -1
  258. package/dist/mail/doctor.js.map +0 -1
  259. /package/dist/bundle/{chunk-LU3WKZBA.js → chunk-CNMSF5QU.js} +0 -0
  260. /package/dist/{mail → commands}/doctor.d.ts +0 -0
@@ -2,26 +2,26 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  validateFormattedText
5
- } from "./chunk-GAYW2JRW.js";
5
+ } from "./chunk-2ON2PDHC.js";
6
6
  import {
7
7
  inputPolicy
8
- } from "./chunk-ANFIIXBL.js";
8
+ } from "./chunk-JI225TBX.js";
9
9
  import {
10
10
  indent
11
- } from "./chunk-QCNK3YUZ.js";
11
+ } from "./chunk-4HTTN4NO.js";
12
12
  import {
13
13
  CliError
14
- } from "./chunk-EB2IULWB.js";
14
+ } from "./chunk-YHUCNI2W.js";
15
15
  import {
16
16
  __name
17
17
  } from "./chunk-ZVVMGPBJ.js";
18
18
 
19
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/domain/checks.js
19
+ // node_modules/.pnpm/@wirecat+cli-core@0.587.0_@wirecat+cli-base@0.80.0_commander@15.0.0_esbuild@0.28.2_type_0f4056d0db575ed69cb7c50d6a509493/node_modules/@wirecat/cli-core/dist/domain/checks.js
20
20
  var spelled = /* @__PURE__ */ __name((check, args) => `${check.replaceAll(".", " ")}${args === void 0 ? "" : ` ${args}`}`, "spelled");
21
21
  var bareCheck = /* @__PURE__ */ __name((check, args) => `\`${spelled(check, args)}\``, "bareCheck");
22
22
  var checkWords = /* @__PURE__ */ __name((command, profile) => (check, args) => `\`${command} ${profile === void 0 ? "" : `${profile} `}${spelled(check, args)}\``, "checkWords");
23
23
 
24
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/domain/markdown.js
24
+ // node_modules/.pnpm/@wirecat+cli-core@0.587.0_@wirecat+cli-base@0.80.0_commander@15.0.0_esbuild@0.28.2_type_0f4056d0db575ed69cb7c50d6a509493/node_modules/@wirecat/cli-core/dist/domain/markdown.js
25
25
  var MARKERS = [
26
26
  ["**", "bold"],
27
27
  ["~~", "strike"],
@@ -67,7 +67,7 @@ var closing = /* @__PURE__ */ __name((input, open, marker) => {
67
67
  return end;
68
68
  }, "closing");
69
69
 
70
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/domain/markdown-spans.js
70
+ // node_modules/.pnpm/@wirecat+cli-core@0.587.0_@wirecat+cli-base@0.80.0_commander@15.0.0_esbuild@0.28.2_type_0f4056d0db575ed69cb7c50d6a509493/node_modules/@wirecat/cli-core/dist/domain/markdown-spans.js
71
71
  var STYLES = [
72
72
  ["**", "bold"],
73
73
  ["__", "underline"],
@@ -227,7 +227,7 @@ var parseMarkdownSpans = /* @__PURE__ */ __name((input) => {
227
227
  return validateFormattedText(result);
228
228
  }, "parseMarkdownSpans");
229
229
 
230
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/domain/polls.js
230
+ // node_modules/.pnpm/@wirecat+cli-core@0.587.0_@wirecat+cli-base@0.80.0_commander@15.0.0_esbuild@0.28.2_type_0f4056d0db575ed69cb7c50d6a509493/node_modules/@wirecat/cli-core/dist/domain/polls.js
231
231
  var countedPoll = /* @__PURE__ */ __name((poll, votes, self) => {
232
232
  const cast = votes.filter((vote) => vote.answers.length > 0);
233
233
  const mine = self === null ? void 0 : votes.find((vote) => vote.person.id === self);
@@ -1876,7 +1876,7 @@ var createDataURL = /* @__PURE__ */ __name(function(width, height, getPixel) {
1876
1876
  var qrcode_default = qrcode;
1877
1877
  var stringToBytes = qrcode.stringToBytes;
1878
1878
 
1879
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/terminal/qr.js
1879
+ // node_modules/.pnpm/@wirecat+cli-core@0.587.0_@wirecat+cli-base@0.80.0_commander@15.0.0_esbuild@0.28.2_type_0f4056d0db575ed69cb7c50d6a509493/node_modules/@wirecat/cli-core/dist/terminal/qr.js
1880
1880
  var QUIET_ZONE = 4;
1881
1881
  var BLACK_ON_WHITE = "\x1B[30;107m";
1882
1882
  var RESET = "\x1B[0m";
@@ -1923,7 +1923,7 @@ var plainQr = /* @__PURE__ */ __name((link) => {
1923
1923
  return lines.join("\n");
1924
1924
  }, "plainQr");
1925
1925
 
1926
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/terminal/login-qr.js
1926
+ // node_modules/.pnpm/@wirecat+cli-core@0.587.0_@wirecat+cli-base@0.80.0_commander@15.0.0_esbuild@0.28.2_type_0f4056d0db575ed69cb7c50d6a509493/node_modules/@wirecat/cli-core/dist/terminal/login-qr.js
1927
1927
  var MARGIN = 2;
1928
1928
  var atTerminal = /* @__PURE__ */ __name((input) => input.isTTY === true && !inputPolicy(input).noInput, "atTerminal");
1929
1929
  var PASTE_QR = "agents: paste the QR code above into the chat as a code block, exactly as printed; when a new one is printed, paste it and say the old one expired";
@@ -20,7 +20,7 @@ import {
20
20
  tool,
21
21
  toolKey,
22
22
  toolsFromCommands
23
- } from "./chunk-XAANQN4R.js";
23
+ } from "./chunk-QU5TWVG5.js";
24
24
  import {
25
25
  CHART_KINDS,
26
26
  CHART_SIZE,
@@ -34,23 +34,23 @@ import {
34
34
  registerPrompts,
35
35
  stdinFieldOf,
36
36
  syncsFirst
37
- } from "./chunk-YGJO5VNR.js";
37
+ } from "./chunk-SHEVFBZT.js";
38
38
  import {
39
39
  agentJson,
40
40
  skillResource
41
- } from "./chunk-KJV3BI7S.js";
41
+ } from "./chunk-22IKW3TY.js";
42
42
  import {
43
43
  instructions
44
- } from "./chunk-5FPQGUJA.js";
44
+ } from "./chunk-RIAHISWA.js";
45
45
  import {
46
46
  answeredWire
47
- } from "./chunk-ARDUJR5Z.js";
47
+ } from "./chunk-WOFGEJ6W.js";
48
48
  import {
49
49
  StdioServerTransport,
50
50
  callerOf,
51
51
  callingAgent,
52
52
  serveStdio
53
- } from "./chunk-Q4T2HBZP.js";
53
+ } from "./chunk-BPDUVWL2.js";
54
54
  import {
55
55
  McpServer,
56
56
  ResourceTemplate
@@ -58,7 +58,7 @@ import {
58
58
  import {
59
59
  connectedFor,
60
60
  guardFor
61
- } from "./chunk-WKHHCCJE.js";
61
+ } from "./chunk-S4NIDBLI.js";
62
62
  import {
63
63
  capability,
64
64
  dateWindow,
@@ -67,10 +67,10 @@ import {
67
67
  servicesFor,
68
68
  storedDeps,
69
69
  wholeList
70
- } from "./chunk-MLWN27HF.js";
70
+ } from "./chunk-YO7BLBVE.js";
71
71
  import {
72
72
  findCommand
73
- } from "./chunk-6DVPPLAN.js";
73
+ } from "./chunk-6NN5ZX5T.js";
74
74
  import {
75
75
  DEFAULT_OUTPUT_BYTES,
76
76
  changesAuthorityAt,
@@ -85,28 +85,28 @@ import {
85
85
  sealed,
86
86
  snakeKeys,
87
87
  typedCommand
88
- } from "./chunk-IJYYD2JU.js";
88
+ } from "./chunk-IPFFPD3M.js";
89
89
  import {
90
90
  levelFor,
91
91
  readKeysForCommand
92
- } from "./chunk-DDQXDX4U.js";
92
+ } from "./chunk-OFZDCUUJ.js";
93
93
  import {
94
94
  isCliFailure,
95
95
  withCaller
96
- } from "./chunk-DKIAHQRN.js";
96
+ } from "./chunk-SQAAOEGI.js";
97
97
  import {
98
98
  mcpHttpMarker
99
- } from "./chunk-PWTEWT4M.js";
99
+ } from "./chunk-MG4NWXWI.js";
100
100
  import {
101
101
  warmEmbedders
102
- } from "./chunk-R6SBRHVG.js";
102
+ } from "./chunk-F4P3VDJZ.js";
103
103
  import {
104
104
  openStore,
105
105
  pdfPreviewLimits
106
- } from "./chunk-X7EBOXBY.js";
106
+ } from "./chunk-MRTSDBTN.js";
107
107
  import {
108
108
  timezoneOf
109
- } from "./chunk-4IEDXIUN.js";
109
+ } from "./chunk-OHS5CYZI.js";
110
110
  import {
111
111
  description,
112
112
  integer,
@@ -122,19 +122,19 @@ import {
122
122
  regex,
123
123
  strictObject,
124
124
  string
125
- } from "./chunk-G6RG2AZV.js";
125
+ } from "./chunk-XJQJ3ZIY.js";
126
126
  import {
127
127
  CliError,
128
128
  visibleControls
129
- } from "./chunk-EB2IULWB.js";
129
+ } from "./chunk-YHUCNI2W.js";
130
130
  import {
131
131
  __name
132
132
  } from "./chunk-ZVVMGPBJ.js";
133
133
 
134
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/mcp/server.js
134
+ // node_modules/.pnpm/@wirecat+cli-core@0.587.0_@wirecat+cli-base@0.80.0_commander@15.0.0_esbuild@0.28.2_type_0f4056d0db575ed69cb7c50d6a509493/node_modules/@wirecat/cli-core/dist/mcp/server.js
135
135
  import { randomUUID } from "node:crypto";
136
136
 
137
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
137
+ // node_modules/.pnpm/@wirecat+cli-core@0.587.0_@wirecat+cli-base@0.80.0_commander@15.0.0_esbuild@0.28.2_type_0f4056d0db575ed69cb7c50d6a509493/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
138
138
  var agentLog = /* @__PURE__ */ __name((open) => {
139
139
  let held;
140
140
  return {
@@ -153,7 +153,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
153
153
  };
154
154
  }, "agentLog");
155
155
 
156
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/mcp/resources.js
156
+ // node_modules/.pnpm/@wirecat+cli-core@0.587.0_@wirecat+cli-base@0.80.0_commander@15.0.0_esbuild@0.28.2_type_0f4056d0db575ed69cb7c50d6a509493/node_modules/@wirecat/cli-core/dist/mcp/resources.js
157
157
  var LISTED = 100;
158
158
  var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
159
159
  server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
@@ -191,7 +191,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
191
191
  });
192
192
  }, "registerResources");
193
193
 
194
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/mcp/session.js
194
+ // node_modules/.pnpm/@wirecat+cli-core@0.587.0_@wirecat+cli-base@0.80.0_commander@15.0.0_esbuild@0.28.2_type_0f4056d0db575ed69cb7c50d6a509493/node_modules/@wirecat/cli-core/dist/mcp/session.js
195
195
  var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
196
196
  var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
197
197
  var MessengerSession = class {
@@ -266,7 +266,7 @@ var MessengerSession = class {
266
266
  }
267
267
  };
268
268
 
269
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
269
+ // node_modules/.pnpm/@wirecat+cli-core@0.587.0_@wirecat+cli-base@0.80.0_commander@15.0.0_esbuild@0.28.2_type_0f4056d0db575ed69cb7c50d6a509493/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
270
270
  var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
271
271
  const _command = messenger.app.command;
272
272
  return {
@@ -320,7 +320,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
320
320
  };
321
321
  }, "attachmentsTools");
322
322
 
323
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
323
+ // node_modules/.pnpm/@wirecat+cli-core@0.587.0_@wirecat+cli-base@0.80.0_commander@15.0.0_esbuild@0.28.2_type_0f4056d0db575ed69cb7c50d6a509493/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
324
324
  var PHOTO_LIMIT = 512 * 1024;
325
325
  var IMAGE_TYPES = [
326
326
  ["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
@@ -374,7 +374,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
374
374
  return new Uint8Array(Buffer.concat(chunks));
375
375
  }, "readUpTo");
376
376
 
377
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
377
+ // node_modules/.pnpm/@wirecat+cli-core@0.587.0_@wirecat+cli-base@0.80.0_commander@15.0.0_esbuild@0.28.2_type_0f4056d0db575ed69cb7c50d6a509493/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
378
378
  var statsTools = /* @__PURE__ */ __name((messenger) => ({
379
379
  stats_charts: tool({
380
380
  title: "A chart from a chat's statistics",
@@ -411,14 +411,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
411
411
  })
412
412
  }), "statsTools");
413
413
 
414
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/mcp/tools.js
414
+ // node_modules/.pnpm/@wirecat+cli-core@0.587.0_@wirecat+cli-base@0.80.0_commander@15.0.0_esbuild@0.28.2_type_0f4056d0db575ed69cb7c50d6a509493/node_modules/@wirecat/cli-core/dist/mcp/tools.js
415
415
  var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
416
416
  ...messagesPhotoTools(messenger),
417
417
  ...attachmentsTools(messenger),
418
418
  ...statsTools(messenger)
419
419
  }).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
420
420
 
421
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/mcp/server.js
421
+ // node_modules/.pnpm/@wirecat+cli-core@0.587.0_@wirecat+cli-base@0.80.0_commander@15.0.0_esbuild@0.28.2_type_0f4056d0db575ed69cb7c50d6a509493/node_modules/@wirecat/cli-core/dist/mcp/server.js
422
422
  var PER_RUN = /* @__PURE__ */ new Set([
423
423
  "streams",
424
424
  "stdin",
@@ -742,7 +742,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
742
742
  }, "serveOverStdio");
743
743
  var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
744
744
  const { session, embedders, build, log } = createServer(command, context, messenger, options);
745
- const { serveOverHttp } = await import("./serve-DZSO7LJK.js");
745
+ const { serveOverHttp } = await import("./serve-JQCPQYOJ.js");
746
746
  const appName = messenger.app.command;
747
747
  const appEnvPrefix = messenger.app.envPrefix;
748
748
  const listening = await serveOverHttp(build, {
@@ -4,7 +4,7 @@ import {
4
4
  commandPathOf,
5
5
  findCommand,
6
6
  outputOf
7
- } from "./chunk-6DVPPLAN.js";
7
+ } from "./chunk-6NN5ZX5T.js";
8
8
  import {
9
9
  wrapAnsi
10
10
  } from "./chunk-HTQTIKWP.js";
@@ -18,18 +18,18 @@ import {
18
18
  environmentOf,
19
19
  metaOf,
20
20
  takesProfile
21
- } from "./chunk-IJYYD2JU.js";
21
+ } from "./chunk-IPFFPD3M.js";
22
22
  import {
23
23
  writes
24
- } from "./chunk-G6RG2AZV.js";
24
+ } from "./chunk-XJQJ3ZIY.js";
25
25
  import {
26
26
  CliError
27
- } from "./chunk-EB2IULWB.js";
27
+ } from "./chunk-YHUCNI2W.js";
28
28
  import {
29
29
  __name
30
30
  } from "./chunk-ZVVMGPBJ.js";
31
31
 
32
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/help/sections.js
32
+ // node_modules/.pnpm/@wirecat+cli-core@0.587.0_@wirecat+cli-base@0.80.0_commander@15.0.0_esbuild@0.28.2_type_0f4056d0db575ed69cb7c50d6a509493/node_modules/@wirecat/cli-core/dist/cli/help/sections.js
33
33
  var SECTIONS = {
34
34
  read: "Read",
35
35
  write: "Write",
@@ -90,7 +90,7 @@ var CORE_SECTIONS = {
90
90
  upgrade: "setup"
91
91
  };
92
92
 
93
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/help/commands-text.js
93
+ // node_modules/.pnpm/@wirecat+cli-core@0.587.0_@wirecat+cli-base@0.80.0_commander@15.0.0_esbuild@0.28.2_type_0f4056d0db575ed69cb7c50d6a509493/node_modules/@wirecat/cli-core/dist/cli/help/commands-text.js
94
94
  var DESCRIPTION = 90;
95
95
  var COLUMN = 52;
96
96
  var short = /* @__PURE__ */ __name((text) => {
@@ -129,7 +129,7 @@ var commandsText = /* @__PURE__ */ __name((root, commands, scope) => {
129
129
  `;
130
130
  }, "commandsText");
131
131
 
132
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
132
+ // node_modules/.pnpm/@wirecat+cli-core@0.587.0_@wirecat+cli-base@0.80.0_commander@15.0.0_esbuild@0.28.2_type_0f4056d0db575ed69cb7c50d6a509493/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
133
133
  var ARGUMENT_KINDS = {
134
134
  chat: "chat",
135
135
  chats: "chat",
@@ -321,7 +321,7 @@ var installCommandHelp = /* @__PURE__ */ __name((program, { profile = true } = {
321
321
  command.addHelpText("after", () => commandHelpText(command));
322
322
  }, "installCommandHelp");
323
323
 
324
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
324
+ // node_modules/.pnpm/@wirecat+cli-core@0.587.0_@wirecat+cli-base@0.80.0_commander@15.0.0_esbuild@0.28.2_type_0f4056d0db575ed69cb7c50d6a509493/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
325
325
  var WIRECAT_TOOLS = [
326
326
  {
327
327
  command: "tg",
@@ -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-EB2IULWB.js";
5
+ } from "./chunk-YHUCNI2W.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/search/languages.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.587.0_@wirecat+cli-base@0.80.0_commander@15.0.0_esbuild@0.28.2_type_0f4056d0db575ed69cb7c50d6a509493/node_modules/@wirecat/cli-core/dist/search/languages.js
11
11
  var LANGUAGES = [
12
12
  { name: "russian", code: "ru", label: "Russian", script: "cyrillic", dictionary: "dictionary-ru" },
13
13
  { name: "english", code: "en", label: "English", script: "latin", dictionary: "dictionary-en" },
@@ -15,12 +15,12 @@ var LANGUAGES = [
15
15
  ];
16
16
  var languagesOf = /* @__PURE__ */ __name((script) => LANGUAGES.filter((one) => one.script === script).map(({ name }) => name), "languagesOf");
17
17
 
18
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/store/normalize.js
18
+ // node_modules/.pnpm/@wirecat+cli-core@0.587.0_@wirecat+cli-base@0.80.0_commander@15.0.0_esbuild@0.28.2_type_0f4056d0db575ed69cb7c50d6a509493/node_modules/@wirecat/cli-core/dist/store/normalize.js
19
19
  var NORMALIZER_VERSION = 1;
20
20
  var fold = /* @__PURE__ */ __name((text) => text.normalize("NFKD").replace(new RegExp("\\p{M}+", "gu"), "").normalize("NFC").toLowerCase(), "fold");
21
21
  var normalize = /* @__PURE__ */ __name((text) => fold(text).replace(new RegExp("\\p{Cc}", "gu"), " ").replace(/\s+/gu, " ").trim(), "normalize");
22
22
 
23
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
23
+ // node_modules/.pnpm/@wirecat+cli-core@0.587.0_@wirecat+cli-base@0.80.0_commander@15.0.0_esbuild@0.28.2_type_0f4056d0db575ed69cb7c50d6a509493/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
24
24
  var BaseStemmer = class {
25
25
  static {
26
26
  __name(this, "BaseStemmer");
@@ -395,7 +395,7 @@ var BaseStemmer = class {
395
395
  }
396
396
  };
397
397
 
398
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
398
+ // node_modules/.pnpm/@wirecat+cli-core@0.587.0_@wirecat+cli-base@0.80.0_commander@15.0.0_esbuild@0.28.2_type_0f4056d0db575ed69cb7c50d6a509493/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
399
399
  var a_0 = [
400
400
  ["arsen", -1],
401
401
  ["commun", -1],
@@ -1096,7 +1096,7 @@ var english_stemmer_default = class extends BaseStemmer {
1096
1096
  stemWord = this.stem;
1097
1097
  };
1098
1098
 
1099
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
1099
+ // node_modules/.pnpm/@wirecat+cli-core@0.587.0_@wirecat+cli-base@0.80.0_commander@15.0.0_esbuild@0.28.2_type_0f4056d0db575ed69cb7c50d6a509493/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
1100
1100
  var a_02 = [
1101
1101
  ["\u0432", 1],
1102
1102
  ["\u0438\u0432", 2, 1],
@@ -1519,7 +1519,7 @@ var russian_stemmer_default = class extends BaseStemmer {
1519
1519
  stemWord = this.stem;
1520
1520
  };
1521
1521
 
1522
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
1522
+ // node_modules/.pnpm/@wirecat+cli-core@0.587.0_@wirecat+cli-base@0.80.0_commander@15.0.0_esbuild@0.28.2_type_0f4056d0db575ed69cb7c50d6a509493/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
1523
1523
  var a_03 = [
1524
1524
  ["", 6],
1525
1525
  ["\xE1", 1, 1],
@@ -2195,7 +2195,7 @@ var spanish_stemmer_default = class extends BaseStemmer {
2195
2195
  stemWord = this.stem;
2196
2196
  };
2197
2197
 
2198
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/search/stem.js
2198
+ // node_modules/.pnpm/@wirecat+cli-core@0.587.0_@wirecat+cli-base@0.80.0_commander@15.0.0_esbuild@0.28.2_type_0f4056d0db575ed69cb7c50d6a509493/node_modules/@wirecat/cli-core/dist/search/stem.js
2199
2199
  var SNOWBALL_VERSION = "3.1.1";
2200
2200
  var CYRILLIC_STEMMERS = [...languagesOf("cyrillic"), "none"];
2201
2201
  var LATIN_STEMMERS = [...languagesOf("latin"), "none"];
@@ -2,17 +2,17 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  LEVELS
5
- } from "./chunk-DDQXDX4U.js";
5
+ } from "./chunk-OFZDCUUJ.js";
6
6
  import {
7
7
  looksLikeReference,
8
8
  parseReference,
9
9
  providerLabel,
10
10
  providerNamed
11
- } from "./chunk-EBEYU7RW.js";
11
+ } from "./chunk-45JQ72CH.js";
12
12
  import {
13
13
  resolvePaths,
14
14
  writeSecurely
15
- } from "./chunk-QCNK3YUZ.js";
15
+ } from "./chunk-4HTTN4NO.js";
16
16
  import {
17
17
  array,
18
18
  getDotPath,
@@ -31,17 +31,17 @@ import {
31
31
  string,
32
32
  transform,
33
33
  unknown
34
- } from "./chunk-G6RG2AZV.js";
34
+ } from "./chunk-XJQJ3ZIY.js";
35
35
  import {
36
36
  CliError,
37
37
  singleLine,
38
38
  visibleControls
39
- } from "./chunk-EB2IULWB.js";
39
+ } from "./chunk-YHUCNI2W.js";
40
40
  import {
41
41
  __name
42
42
  } from "./chunk-ZVVMGPBJ.js";
43
43
 
44
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/domain/ref-arguments.js
44
+ // node_modules/.pnpm/@wirecat+cli-core@0.587.0_@wirecat+cli-base@0.80.0_commander@15.0.0_esbuild@0.28.2_type_0f4056d0db575ed69cb7c50d6a509493/node_modules/@wirecat/cli-core/dist/domain/ref-arguments.js
45
45
  var TAKES = {
46
46
  chat: "a chat: chat:<provider>/<account>/<chat>, its id or its title",
47
47
  message: "a message: msg:<provider>/<account>/<chat>/<message>, or a chat and the message's id"
@@ -101,7 +101,7 @@ var ensureAccount = /* @__PURE__ */ __name(async (reference, scope, profilesOn)
101
101
  throw wrongAccount(reference, scope, profiles);
102
102
  }, "ensureAccount");
103
103
 
104
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/resolve.js
104
+ // node_modules/.pnpm/@wirecat+cli-core@0.587.0_@wirecat+cli-base@0.80.0_commander@15.0.0_esbuild@0.28.2_type_0f4056d0db575ed69cb7c50d6a509493/node_modules/@wirecat/cli-core/dist/resolve.js
105
105
  var isId = /* @__PURE__ */ __name((reference) => /^-?\d+$/.test(reference.trim()), "isId");
106
106
  var foldName = /* @__PURE__ */ __name((name) => name.normalize("NFC").replace(/[\uFE0E\uFE0F\u200D]/g, "").toLowerCase(), "foldName");
107
107
  var pickChat = /* @__PURE__ */ __name((reference, chats) => {
@@ -146,7 +146,7 @@ ${lines}`, { candidates });
146
146
  }, "ambiguous");
147
147
  var isPresent = /* @__PURE__ */ __name((value) => value !== null && value !== void 0, "isPresent");
148
148
 
149
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/domain/formatting.js
149
+ // node_modules/.pnpm/@wirecat+cli-core@0.587.0_@wirecat+cli-base@0.80.0_commander@15.0.0_esbuild@0.28.2_type_0f4056d0db575ed69cb7c50d6a509493/node_modules/@wirecat/cli-core/dist/domain/formatting.js
150
150
  var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "the messenger formatter returned invalid text spans"), "invalid");
151
151
  var validateFormattedText = /* @__PURE__ */ __name((formatted) => {
152
152
  const { text, spans } = formatted;
@@ -206,7 +206,7 @@ var visibleFormattedText = /* @__PURE__ */ __name((formatted) => {
206
206
  };
207
207
  }, "visibleFormattedText");
208
208
 
209
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/moderation/check.js
209
+ // node_modules/.pnpm/@wirecat+cli-core@0.587.0_@wirecat+cli-base@0.80.0_commander@15.0.0_esbuild@0.28.2_type_0f4056d0db575ed69cb7c50d6a509493/node_modules/@wirecat/cli-core/dist/moderation/check.js
210
210
  var INVITE = /max\.ru\/join\/|(t|telegram)\.me\/(\+|joinchat\/)|tg:\/\/join/i;
211
211
  var LINK = /https?:\/\/\S+/i;
212
212
  var STRENGTH = { report: 0, delete: 1, remove: 2 };
@@ -394,7 +394,7 @@ var nextPoint = /* @__PURE__ */ __name((rows, found) => {
394
394
  }, "nextPoint");
395
395
  var someUndone = /* @__PURE__ */ __name((rows) => rows.some(undone), "someUndone");
396
396
 
397
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/moderation/rules.js
397
+ // node_modules/.pnpm/@wirecat+cli-core@0.587.0_@wirecat+cli-base@0.80.0_commander@15.0.0_esbuild@0.28.2_type_0f4056d0db575ed69cb7c50d6a509493/node_modules/@wirecat/cli-core/dist/moderation/rules.js
398
398
  import { existsSync, readFileSync } from "node:fs";
399
399
  import { join } from "node:path";
400
400
  var RULE_ACTIONS = ["report", "delete", "remove"];