@wirecat/mail-cli 0.36.0 → 0.38.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 (191) hide show
  1. package/CHANGELOG.md +55 -0
  2. package/contracts/wirecat.json +1 -0
  3. package/dist/bin/mail.js +2 -2
  4. package/dist/bundle/agent-U43CYLAP.js +41 -0
  5. package/dist/bundle/{all-profiles-RS6OV3YO.js → all-profiles-OCUZMXMI.js} +11 -11
  6. package/dist/bundle/{anthropic-PPQ7DTXN.js → anthropic-CABWJABQ.js} +5 -5
  7. package/dist/bundle/{app-server-EBFBMFQC.js → app-server-TTWPIGWG.js} +70 -67
  8. package/dist/bundle/{bun-J7HAT7MW.js → bun-F4M4KCNA.js} +2 -2
  9. package/dist/bundle/{bun-sqlite-PCSNAXIQ.js → bun-sqlite-YKYG25CR.js} +6 -6
  10. package/dist/bundle/{chunk-6FZPFNEU.js → chunk-24UGTK32.js} +9 -9
  11. package/dist/bundle/{chunk-RJUVWJTA.js → chunk-2HDXD6LM.js} +7 -7
  12. package/dist/bundle/{chunk-VIDPFLFM.js → chunk-2SQLHBDP.js} +2 -2
  13. package/dist/bundle/{chunk-WZFGZBGD.js → chunk-2YO3PLOE.js} +19 -19
  14. package/dist/bundle/{chunk-3ZKNXKM7.js → chunk-3TYER5IK.js} +14 -6
  15. package/dist/bundle/{chunk-AVR4FPYG.js → chunk-4FXDUXZP.js} +8 -8
  16. package/dist/bundle/{chunk-MQ6DQRRI.js → chunk-5ICUC66S.js} +4 -4
  17. package/dist/bundle/{chunk-WNQECDIP.js → chunk-725OPCHI.js} +61 -61
  18. package/dist/bundle/{chunk-Q6TPXXOS.js → chunk-77YTUOKN.js} +35 -176
  19. package/dist/bundle/chunk-7ECP5ZQR.js +2 -0
  20. package/dist/bundle/{chunk-5G4MDFZ2.js → chunk-7EJWHADX.js} +14 -10
  21. package/dist/bundle/{chunk-GEU3WR75.js → chunk-7KO5FSAW.js} +3 -3
  22. package/dist/bundle/{chunk-NSH2UHJR.js → chunk-A3KNH3Q4.js} +8 -8
  23. package/dist/bundle/{chunk-SCJVKWMV.js → chunk-AGO3OVKW.js} +2145 -902
  24. package/dist/bundle/{chunk-TV634B6T.js → chunk-AQ5RIOUE.js} +1 -1
  25. package/dist/bundle/{chunk-ROK7Z5LQ.js → chunk-BA5B5ZF4.js} +274 -182
  26. package/dist/bundle/{chunk-ZV57PIPE.js → chunk-C4PUDTGD.js} +2 -2
  27. package/dist/bundle/{chunk-IBOWSQ7X.js → chunk-C7JPYWYQ.js} +1 -1
  28. package/dist/bundle/{chunk-BBQERXQX.js → chunk-CJJFOT7W.js} +3 -3
  29. package/dist/bundle/{chunk-645FQC4G.js → chunk-CLTFTGBP.js} +18 -17
  30. package/dist/bundle/{chunk-XRVZMM5B.js → chunk-DKGKPJA3.js} +164 -36
  31. package/dist/bundle/{chunk-HPSESLOZ.js → chunk-DNCLQPOM.js} +1 -1
  32. package/dist/bundle/{chunk-EGR3YUWD.js → chunk-DPV53EZC.js} +4 -4
  33. package/dist/bundle/{chunk-GI6DNX7Q.js → chunk-DYCE72XB.js} +36 -36
  34. package/dist/bundle/{chunk-42XY6D5C.js → chunk-EDWY73H7.js} +5 -5
  35. package/dist/bundle/{chunk-L4QLZDBZ.js → chunk-EJQAP6A6.js} +6 -6
  36. package/dist/bundle/{chunk-REWV37HQ.js → chunk-ESNZL7SB.js} +6 -6
  37. package/dist/bundle/{chunk-DVJPEZGV.js → chunk-FFER7KJI.js} +13 -13
  38. package/dist/bundle/{chunk-NJZR3OFK.js → chunk-FTH6WGYO.js} +1 -1
  39. package/dist/bundle/{chunk-SJNFPBPF.js → chunk-FWGNDKJK.js} +2 -2
  40. package/dist/bundle/{chunk-5VPLQS4S.js → chunk-G46PNDWL.js} +2 -2
  41. package/dist/bundle/chunk-G5HG7ZWQ.js +1169 -0
  42. package/dist/bundle/{chunk-RMWS7IQ4.js → chunk-G6NY7LFB.js} +4 -4
  43. package/dist/bundle/{chunk-PPIMXOBT.js → chunk-GMWKNWWY.js} +6 -6
  44. package/dist/bundle/{chunk-774VG5WZ.js → chunk-GZ7WBU5Y.js} +1 -1
  45. package/dist/bundle/{chunk-LQQIYBHN.js → chunk-HFDDVGDH.js} +201 -113
  46. package/dist/bundle/{chunk-NYYMMIVW.js → chunk-HFRH5YJ6.js} +16 -3
  47. package/dist/bundle/{chunk-3BYKGMRM.js → chunk-HI6MTNID.js} +6 -6
  48. package/dist/bundle/{chunk-PF7ZNIVP.js → chunk-HIKPVWCL.js} +3 -3
  49. package/dist/bundle/{chunk-U3BO342P.js → chunk-HO4JGD4Q.js} +1 -1
  50. package/dist/bundle/chunk-HUAHLO6N.js +29 -0
  51. package/dist/bundle/{chunk-QI2XGTFH.js → chunk-HYUUAH2N.js} +8 -8
  52. package/dist/bundle/chunk-I4AWLFYH.js +377 -0
  53. package/dist/bundle/{chunk-MRWV5VNQ.js → chunk-I4PZOWYG.js} +6 -6
  54. package/dist/bundle/chunk-IDCZ4LWS.js +150 -0
  55. package/dist/bundle/{chunk-NTUP5RCP.js → chunk-ISQ23VKV.js} +8 -1
  56. package/dist/bundle/{chunk-2VEFNFYZ.js → chunk-KLRCTMES.js} +3 -3
  57. package/dist/bundle/{chunk-C3JSQ7UJ.js → chunk-KP5JDYY6.js} +27 -8
  58. package/dist/bundle/{chunk-CMOO4INK.js → chunk-KYRYD4CR.js} +1 -1
  59. package/dist/bundle/{chunk-KTVQIKU5.js → chunk-LB2CF3GG.js} +19 -15
  60. package/dist/bundle/{chunk-6PKMUKUF.js → chunk-LC7ZD2RW.js} +1 -1
  61. package/dist/bundle/{chunk-2UNZ3L2H.js → chunk-M65NILSA.js} +6 -6
  62. package/dist/bundle/{chunk-PMSZBUC7.js → chunk-NQFG7AES.js} +8 -8
  63. package/dist/bundle/chunk-OAO3JKQD.js +463 -0
  64. package/dist/bundle/{chunk-JCILSTFK.js → chunk-OEEWVKJX.js} +1 -1
  65. package/dist/bundle/{chunk-6VMJLOYO.js → chunk-OVHC7OV4.js} +12 -12
  66. package/dist/bundle/{chunk-OEL4DQTT.js → chunk-PT4VLN3K.js} +4 -4
  67. package/dist/bundle/chunk-QETNCUWB.js +1703 -0
  68. package/dist/bundle/{chunk-ZRSLG3B3.js → chunk-QK3Z7BCC.js} +6 -6
  69. package/dist/bundle/{chunk-CJHO6B3M.js → chunk-QWF3TFW4.js} +43 -29
  70. package/dist/bundle/{chunk-NYR7PIAG.js → chunk-RHEDE7D4.js} +3 -3
  71. package/dist/bundle/{chunk-KP7JHJVP.js → chunk-RI5YZ23Y.js} +27 -27
  72. package/dist/bundle/{chunk-2RV4V55B.js → chunk-ROUZN6UQ.js} +20 -85
  73. package/dist/bundle/{chunk-4WSTWZUB.js → chunk-RQD7CAGF.js} +2 -2
  74. package/dist/bundle/{chunk-PMGAU6AP.js → chunk-S6JG4YUH.js} +2 -2
  75. package/dist/bundle/{chunk-KLPFPNZP.js → chunk-SBLHQAH3.js} +11 -11
  76. package/dist/bundle/{chunk-6UYIWQLU.js → chunk-SXLIADMY.js} +4 -4
  77. package/dist/bundle/{chunk-5JEKBYIH.js → chunk-SYCM6SQ5.js} +14 -14
  78. package/dist/bundle/{chunk-3NOXZZJV.js → chunk-T3W4V4A6.js} +1 -1
  79. package/dist/bundle/{chunk-6NDPOY4N.js → chunk-TCT5D2X2.js} +1 -1
  80. package/dist/bundle/{chunk-YPB5BEAD.js → chunk-TES7MB6I.js} +2 -2
  81. package/dist/bundle/chunk-TQDSBLQB.js +2 -0
  82. package/dist/bundle/{chunk-VIJV474N.js → chunk-TXDR6YSF.js} +1 -1
  83. package/dist/bundle/{chunk-QDNYJOWJ.js → chunk-TY7NDMFY.js} +1 -1
  84. package/dist/bundle/{chunk-437UHSIO.js → chunk-UGFMQWAZ.js} +210 -62
  85. package/dist/bundle/{chunk-KVFBSOCV.js → chunk-VA6PHTMV.js} +9 -9
  86. package/dist/bundle/{chunk-WPPPO427.js → chunk-VK24UQSD.js} +4 -4
  87. package/dist/bundle/{chunk-MT3LYU4T.js → chunk-VUHH4MQW.js} +21768 -12322
  88. package/dist/bundle/{chunk-CJMZQ2MZ.js → chunk-W3BOR6AT.js} +8 -8
  89. package/dist/bundle/chunk-WA53OJ7V.js +160 -0
  90. package/dist/bundle/{chunk-HH34WRQE.js → chunk-XGVMQMTS.js} +7 -7
  91. package/dist/bundle/{chunk-GBZIWCEP.js → chunk-YP4FYLFI.js} +3 -3
  92. package/dist/bundle/{chunk-V5I7QP4T.js → chunk-ZDBWBCEO.js} +2 -2
  93. package/dist/bundle/{chunk-GCTHVCJU.js → chunk-ZKVUAH5N.js} +4 -4
  94. package/dist/bundle/command-contract-V2WIL6RL.js +40 -0
  95. package/dist/bundle/{command-server-entry-73RJELAV.js → command-server-entry-ZC5YF4EC.js} +29 -28
  96. package/dist/bundle/{decode-7BUWBDPT.js → decode-NXAGEUAD.js} +5 -5
  97. package/dist/bundle/{dispatch-IBOMVWZA.js → dispatch-USKS7J74.js} +8 -8
  98. package/dist/bundle/{dist-MULVCVSR.js → dist-XN2CRP3U.js} +49 -48
  99. package/dist/bundle/{echarts-VLWFC322.js → echarts-QMAA7HH5.js} +2 -2
  100. package/dist/bundle/{embed-W3VH4HPY.js → embed-3P3LSM2O.js} +6 -6
  101. package/dist/bundle/{embedder-I7ERQZJV.js → embedder-2SANUF2X.js} +9 -9
  102. package/dist/bundle/{failure-QMAPSQ7X.js → failure-D4FGOIWF.js} +2 -2
  103. package/dist/bundle/{first-run-LCVER6QN.js → first-run-HEZKQLJL.js} +12 -12
  104. package/dist/bundle/first-screen-7TQZ4I6X.js +41 -0
  105. package/dist/bundle/{instructions-BNCVLSYQ.js → instructions-4H7UREH2.js} +1 -1
  106. package/dist/bundle/mail.js +12 -12
  107. package/dist/bundle/{mcp-Z2KZNCXB.js → mcp-5HFPWC3W.js} +2 -2
  108. package/dist/bundle/meeting-combined-HF2NL4PU.js +26 -0
  109. package/dist/bundle/{meeting-model-BWLSTNXA.js → meeting-model-B7RVFB7L.js} +11 -11
  110. package/dist/bundle/{meeting-semantic-ZIEHXN2R.js → meeting-semantic-YQTL7YVQ.js} +6 -6
  111. package/dist/bundle/{node-RYFTRSG4.js → node-P3PUHKYH.js} +2 -2
  112. package/dist/bundle/{node-sqlite-XCHVNTGQ.js → node-sqlite-OFHTCHJH.js} +7 -7
  113. package/dist/bundle/{oauth-FNUJSKKJ.js → oauth-IVB5RP7T.js} +7 -7
  114. package/dist/bundle/{open-WVWSJ3WI.js → open-KDGDLCWV.js} +5 -5
  115. package/dist/bundle/{openai-QOUTYYTF.js → openai-NVUBKA7Z.js} +15 -15
  116. package/dist/bundle/{process-W5KPID53.js → process-AFIXYXWL.js} +1 -1
  117. package/dist/bundle/{program-L5UANM3I.js → program-JQ7EFODJ.js} +2825 -7739
  118. package/dist/bundle/{prompt-JSBAPNJE.js → prompt-QG7FC2SA.js} +5 -5
  119. package/dist/bundle/public-FBD7MQUM.js +204 -0
  120. package/dist/bundle/{recognize-FDX4SJ6Q.js → recognize-ZBR5KNID.js} +4 -4
  121. package/dist/bundle/{remote-MYOXOQHM.js → remote-QOTHNO2M.js} +9 -9
  122. package/dist/bundle/{rerank-NY5MSZCR.js → rerank-JD2NIUW6.js} +7 -7
  123. package/dist/bundle/{serve-URI6NZA3.js → serve-QZT3FKK7.js} +9 -9
  124. package/dist/bundle/{server-HQ25RHQM.js → server-M6JJ7IKS.js} +62 -59
  125. package/dist/bundle/server-TAMXMWK6.js +87 -0
  126. package/dist/bundle/{sqlite-runtime-6UUPSSKG.js → sqlite-runtime-N2PY7C7J.js} +6 -6
  127. package/dist/bundle/{state-NDDVFPCI.js → state-OGRUMU7P.js} +6 -6
  128. package/dist/bundle/{store-2RDOICVN.js → store-7UE63OQR.js} +61 -43
  129. package/dist/bundle/{store-PKYWPKKR.js → store-DGJKE4ZJ.js} +25 -23
  130. package/dist/bundle/store-maintenance-command-WIDKMZLK.js +74 -0
  131. package/dist/bundle/surface-LTEEEZU4.js +73 -0
  132. package/dist/commands/import.js +2 -2
  133. package/dist/commands/import.js.map +1 -1
  134. package/dist/commands/messages.js +3 -3
  135. package/dist/commands/messages.js.map +1 -1
  136. package/dist/commands/read.js +2 -2
  137. package/dist/commands/read.js.map +1 -1
  138. package/dist/commands/send.d.ts.map +1 -1
  139. package/dist/commands/send.js +1 -0
  140. package/dist/commands/send.js.map +1 -1
  141. package/dist/commands/session.d.ts.map +1 -1
  142. package/dist/commands/session.js +2 -2
  143. package/dist/commands/session.js.map +1 -1
  144. package/dist/commands/sync.d.ts.map +1 -1
  145. package/dist/commands/sync.js +28 -4
  146. package/dist/commands/sync.js.map +1 -1
  147. package/dist/commands/tags.d.ts.map +1 -1
  148. package/dist/commands/tags.js.map +1 -1
  149. package/dist/commands/words.js +1 -1
  150. package/dist/commands/words.js.map +1 -1
  151. package/dist/config.d.ts +2 -0
  152. package/dist/config.d.ts.map +1 -1
  153. package/dist/config.js +7 -0
  154. package/dist/config.js.map +1 -1
  155. package/dist/identity.d.ts.map +1 -1
  156. package/dist/identity.js +1 -0
  157. package/dist/identity.js.map +1 -1
  158. package/dist/mail/imap/account.d.ts.map +1 -1
  159. package/dist/mail/imap/account.js +2 -1
  160. package/dist/mail/imap/account.js.map +1 -1
  161. package/dist/mail/send-as.d.ts +21 -0
  162. package/dist/mail/send-as.d.ts.map +1 -0
  163. package/dist/mail/send-as.js +66 -0
  164. package/dist/mail/send-as.js.map +1 -0
  165. package/dist/mail/send.d.ts +2 -0
  166. package/dist/mail/send.d.ts.map +1 -1
  167. package/dist/mail/send.js +3 -1
  168. package/dist/mail/send.js.map +1 -1
  169. package/dist/profile.js +1 -1
  170. package/dist/profile.js.map +1 -1
  171. package/dist/program.d.ts.map +1 -1
  172. package/dist/program.js +4 -4
  173. package/dist/program.js.map +1 -1
  174. package/dist/reasons.d.ts.map +1 -1
  175. package/dist/reasons.js +0 -1
  176. package/dist/reasons.js.map +1 -1
  177. package/dist/version.d.ts +1 -1
  178. package/dist/version.js +1 -1
  179. package/package.json +3 -3
  180. package/dist/bundle/agent-MW7YWUIY.js +0 -39
  181. package/dist/bundle/chunk-5TIWO6AR.js +0 -787
  182. package/dist/bundle/chunk-6LJIENVT.js +0 -29
  183. package/dist/bundle/chunk-6TT62IUW.js +0 -1264
  184. package/dist/bundle/chunk-NCY55XIT.js +0 -721
  185. package/dist/bundle/chunk-U67XMAEE.js +0 -72
  186. package/dist/bundle/command-contract-WFTIRPL5.js +0 -39
  187. package/dist/bundle/first-screen-DCTHI4NQ.js +0 -39
  188. package/dist/bundle/meeting-combined-ITU7SZ7E.js +0 -24
  189. package/dist/bundle/server-UVYFU2JN.js +0 -84
  190. package/dist/bundle/store-maintenance-command-Y5XTO47X.js +0 -71
  191. package/dist/bundle/surface-3XKM3MQ2.js +0 -70
@@ -4,10 +4,10 @@ import {
4
4
  QUERY_LIMITS,
5
5
  exhausted,
6
6
  searchError
7
- } from "./chunk-U67XMAEE.js";
7
+ } from "./chunk-WA53OJ7V.js";
8
8
  import {
9
9
  fold
10
- } from "./chunk-U3BO342P.js";
10
+ } from "./chunk-HO4JGD4Q.js";
11
11
  import {
12
12
  CATALOG_KINDS,
13
13
  CONTRACT_KINDS,
@@ -21,21 +21,23 @@ import {
21
21
  ORDER_STATUSES,
22
22
  SUBSCRIPTION_STATUSES,
23
23
  TRANSACTION_STATUSES,
24
- WALLET_KINDS,
24
+ WALLET_KINDS
25
+ } from "./chunk-I4AWLFYH.js";
26
+ import {
25
27
  looksLikeReference,
26
28
  parseReference,
27
29
  providerLabel,
28
30
  providerNamed
29
- } from "./chunk-5TIWO6AR.js";
31
+ } from "./chunk-OAO3JKQD.js";
30
32
  import {
31
33
  CliError,
32
34
  singleLine
33
- } from "./chunk-PMGAU6AP.js";
35
+ } from "./chunk-S6JG4YUH.js";
34
36
  import {
35
37
  __name
36
38
  } from "./chunk-ZVVMGPBJ.js";
37
39
 
38
- // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/domain/phone-plans.generated.js
40
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/domain/phone-plans.generated.js
39
41
  var PHONE_PLANS = [
40
42
  {
41
43
  country: "us",
@@ -415,7 +417,7 @@ var PHONE_PLANS = [
415
417
  }
416
418
  ];
417
419
 
418
- // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/domain/phones.js
420
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/domain/phones.js
419
421
  var PHONE_COUNTRIES = PHONE_PLANS.map((plan) => plan.country);
420
422
  var DEFAULT_PHONE_COUNTRIES = ["ru"];
421
423
  var parsePhoneCountries = /* @__PURE__ */ __name((value) => {
@@ -490,7 +492,7 @@ var storedPhone = /* @__PURE__ */ __name((raw, provider) => {
490
492
  return found ? `+${found[1]}` : void 0;
491
493
  }, "storedPhone");
492
494
 
493
- // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/domain/record-fields.js
495
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/domain/record-fields.js
494
496
  var DECIMAL_PATTERN = "^[0-9]{1,16}(\\.[0-9]{1,6})?$";
495
497
  var SIGNED_DECIMAL = "^-?[0-9]{1,16}(\\.[0-9]{1,6})?$";
496
498
  var DAY = "^[0-9]{4}-[0-9]{2}-[0-9]{2}$";
@@ -540,7 +542,7 @@ var arrayOf = /* @__PURE__ */ __name((item, maxItems, description) => ({
540
542
  }), "arrayOf");
541
543
  var isObject = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isObject");
542
544
 
543
- // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/domain/record-types.js
545
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/domain/record-types.js
544
546
  var kept = /* @__PURE__ */ __name((description) => ({ description }), "kept");
545
547
  var PARTY = ["person", "organization"];
546
548
  var ORGANIZATION = ["organization"];
@@ -935,7 +937,7 @@ var hasV1Roles = /* @__PURE__ */ __name((type) => rolesOf(type).some(([, role])
935
937
  var IDENTITY_TYPES = RECORD_ENTITY_TYPES.filter((type) => RECORD_TYPES[type].review === "identity");
936
938
  var article = /* @__PURE__ */ __name((word) => /^[aeiou]/.test(word) ? "an" : "a", "article");
937
939
 
938
- // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/domain/ref-arguments.js
940
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/domain/ref-arguments.js
939
941
  var TAKES = {
940
942
  chat: "a chat: chat:<provider>/<account>/<chat>, its id or its title",
941
943
  message: "a message: msg:<provider>/<account>/<chat>/<message>, or a chat and the message's id"
@@ -995,7 +997,7 @@ var ensureAccount = /* @__PURE__ */ __name(async (reference, scope, profilesOn)
995
997
  throw wrongAccount(reference, scope, profiles);
996
998
  }, "ensureAccount");
997
999
 
998
- // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/search/lucene/automaton.js
1000
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/search/lucene/automaton.js
999
1001
  var any = { kind: "char", ranges: [[0, 1114111]], negate: false };
1000
1002
  var literal = /* @__PURE__ */ __name((c) => ({
1001
1003
  kind: "char",
@@ -1395,7 +1397,7 @@ var foldRegex = /* @__PURE__ */ __name((pattern, span) => {
1395
1397
  return out;
1396
1398
  }, "foldRegex");
1397
1399
 
1398
- // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/search/trigrams.js
1400
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/search/trigrams.js
1399
1401
  var trigrams = /* @__PURE__ */ __name((term) => {
1400
1402
  const padded = ` ${term} `;
1401
1403
  const pieces = /* @__PURE__ */ new Set();
@@ -1404,7 +1406,7 @@ var trigrams = /* @__PURE__ */ __name((term) => {
1404
1406
  return [...pieces];
1405
1407
  }, "trigrams");
1406
1408
 
1407
- // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/resolve.js
1409
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/resolve.js
1408
1410
  var isId = /* @__PURE__ */ __name((reference) => /^-?\d+$/.test(reference.trim()), "isId");
1409
1411
  var foldName = /* @__PURE__ */ __name((name) => name.normalize("NFC").replace(/[\uFE0E\uFE0F\u200D]/g, "").toLowerCase().replaceAll("\u0451", "\u0435"), "foldName");
1410
1412
  var pickChat = /* @__PURE__ */ __name((reference, chats) => {
@@ -1475,69 +1477,7 @@ ${lines}`, { candidates });
1475
1477
  }, "ambiguous");
1476
1478
  var isPresent = /* @__PURE__ */ __name((value) => value !== null && value !== void 0, "isPresent");
1477
1479
 
1478
- // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/domain/addresses.js
1479
- var EMAIL_ADDRESS = /^[^\s@]+@[^\s@]+\.[^\s@]+$/u;
1480
- var isEmailAddress = /* @__PURE__ */ __name((value) => EMAIL_ADDRESS.test(value), "isEmailAddress");
1481
- var ROLE_ADDRESS_WORDS = {
1482
- noReply: ["noreply", "no-reply", "donotreply", "do-not-reply", "mailer-daemon", "bounce", "bounces"],
1483
- shared: [
1484
- "info",
1485
- "hello",
1486
- "hi",
1487
- "contact",
1488
- "contacts",
1489
- "support",
1490
- "help",
1491
- "helpdesk",
1492
- "service",
1493
- "sales",
1494
- "office",
1495
- "admin",
1496
- "team",
1497
- "billing",
1498
- "accounts",
1499
- "accounting",
1500
- "invoices",
1501
- "finance",
1502
- "hr",
1503
- "jobs",
1504
- "careers",
1505
- "press",
1506
- "media",
1507
- "marketing",
1508
- "partners",
1509
- "legal",
1510
- "privacy",
1511
- "security",
1512
- "abuse",
1513
- "postmaster",
1514
- "webmaster",
1515
- "mail",
1516
- "inbox",
1517
- "enquiries",
1518
- "inquiries",
1519
- "booking",
1520
- "reservations",
1521
- "orders",
1522
- "feedback",
1523
- "newsletter",
1524
- "notifications",
1525
- "alerts"
1526
- ]
1527
- };
1528
- var bare = /* @__PURE__ */ __name((word) => word.replace(/[.\-_]/gu, ""), "bare");
1529
- var NO_REPLY = new Set(ROLE_ADDRESS_WORDS.noReply.map(bare));
1530
- var ROLE = new Set([...ROLE_ADDRESS_WORDS.shared, ...ROLE_ADDRESS_WORDS.noReply].map(bare));
1531
- var localWord = /* @__PURE__ */ __name((address) => {
1532
- const local = address.trim().toLowerCase().split("@")[0] ?? "";
1533
- return bare(local.split("+")[0] ?? "");
1534
- }, "localWord");
1535
- var isRoleAddress = /* @__PURE__ */ __name((address) => ROLE.has(localWord(address)), "isRoleAddress");
1536
- var PERSON_LIKE = /* @__PURE__ */ new Set(["hr"]);
1537
- var isPersonLikeRoleAddress = /* @__PURE__ */ __name((address) => PERSON_LIKE.has(localWord(address)), "isPersonLikeRoleAddress");
1538
- var isNoReplyAddress = /* @__PURE__ */ __name((address) => NO_REPLY.has(localWord(address)), "isNoReplyAddress");
1539
-
1540
- // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/domain/display-names.js
1480
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/domain/display-names.js
1541
1481
  var QUOTES = [
1542
1482
  ['"', '"'],
1543
1483
  ["'", "'"],
@@ -1595,7 +1535,7 @@ var nameKey = /* @__PURE__ */ __name((name) => {
1595
1535
  }, "nameKey");
1596
1536
  var isReadable = /* @__PURE__ */ __name((shown) => shown !== null && READABLE.test(shown), "isReadable");
1597
1537
 
1598
- // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/domain/counters.js
1538
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/domain/counters.js
1599
1539
  var COUNTER_FIELDS = ["views", "reactions", "comments"];
1600
1540
  var validCounter = /* @__PURE__ */ __name((value) => typeof value === "number" && Number.isFinite(value) && value >= 0, "validCounter");
1601
1541
  var counterValue = /* @__PURE__ */ __name((message, field) => {
@@ -1632,7 +1572,7 @@ var counterFreshness = /* @__PURE__ */ __name((states) => {
1632
1572
  return states.some((one) => one.freshness === "stale") ? "stale" : "fresh";
1633
1573
  }, "counterFreshness");
1634
1574
 
1635
- // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/domain/rankings-options.js
1575
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/domain/rankings-options.js
1636
1576
  var MESSAGE_MEASURES = ["views", "reactions", "forwards", "comments", "replies", "thread-size"];
1637
1577
  var AUTHOR_MEASURES = [
1638
1578
  "messages",
@@ -1772,7 +1712,7 @@ var withoutUrls = /* @__PURE__ */ __name((text2) => text2.replace(/\S+/gu, (toke
1772
1712
  var rankingWords = /* @__PURE__ */ __name((text2) => withoutUrls(text2).match(/[\p{L}\p{N}]+/gu)?.length ?? 0, "rankingWords");
1773
1713
  var rankingQuestion = /* @__PURE__ */ __name((text2) => withoutUrls(text2).includes("?"), "rankingQuestion");
1774
1714
 
1775
- // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/domain/records.js
1715
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/domain/records.js
1776
1716
  import { createHash } from "node:crypto";
1777
1717
  var RECORDS_SCHEMA_VERSION = 1;
1778
1718
  var RECORD_OPERATIONS = ["upsert", "delete"];
@@ -1944,7 +1884,7 @@ var fieldReferences = /* @__PURE__ */ __name((record, options = {}) => {
1944
1884
  return found;
1945
1885
  }, "fieldReferences");
1946
1886
 
1947
- // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/domain/relation-role-labels.js
1887
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/domain/relation-role-labels.js
1948
1888
  var label = /* @__PURE__ */ __name((en, ru, es) => ({ en, ru, es }), "label");
1949
1889
  var ROLE_LABELS = {
1950
1890
  organization: {
@@ -2026,11 +1966,6 @@ export {
2026
1966
  peopleMatching,
2027
1967
  chatsMatching,
2028
1968
  nearest,
2029
- isEmailAddress,
2030
- ROLE_ADDRESS_WORDS,
2031
- isRoleAddress,
2032
- isPersonLikeRoleAddress,
2033
- isNoReplyAddress,
2034
1969
  displayName,
2035
1970
  takeFallbacks,
2036
1971
  noFallbacks,
@@ -8,12 +8,12 @@ import {
8
8
  ACCESS_SECONDS,
9
9
  REFRESH_SECONDS,
10
10
  readStored
11
- } from "./chunk-OEL4DQTT.js";
11
+ } from "./chunk-PT4VLN3K.js";
12
12
  import {
13
13
  __name
14
14
  } from "./chunk-ZVVMGPBJ.js";
15
15
 
16
- // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/mcp/http/oauth.js
16
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/mcp/http/oauth.js
17
17
  import { createHash, randomBytes, randomInt, timingSafeEqual } from "node:crypto";
18
18
  import { chmodSync, mkdirSync, renameSync, rmSync, writeFileSync } from "node:fs";
19
19
  import { dirname } from "node:path";
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-base@0.125.1_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@1.0.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",
@@ -39,7 +39,7 @@ var CliError = class extends Error {
39
39
  };
40
40
  var isCliError = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && value[BRAND] === true, "isCliError");
41
41
 
42
- // node_modules/.pnpm/@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/sanitize.js
42
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/sanitize.js
43
43
  var CONTROL = (
44
44
  // biome-ignore lint/suspicious/noControlCharactersInRegex: matching them is the whole point
45
45
  /[\u0000-\u0008\u000B-\u001F\u007F-\u009F\u200B\u200E\u200F\u202A-\u202E\u2066-\u2069\uFEFF\u{E0000}-\u{E007F}]/gu
@@ -2,19 +2,19 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  validateVector
5
- } from "./chunk-GBZIWCEP.js";
5
+ } from "./chunk-YP4FYLFI.js";
6
6
  import {
7
7
  meaningFloor
8
- } from "./chunk-MRWV5VNQ.js";
8
+ } from "./chunk-I4PZOWYG.js";
9
9
  import {
10
10
  RRF_K
11
- } from "./chunk-NCY55XIT.js";
11
+ } from "./chunk-QETNCUWB.js";
12
12
  import {
13
13
  MESSAGE_PARSING
14
- } from "./chunk-U67XMAEE.js";
14
+ } from "./chunk-WA53OJ7V.js";
15
15
  import {
16
16
  normalize
17
- } from "./chunk-U3BO342P.js";
17
+ } from "./chunk-HO4JGD4Q.js";
18
18
  import {
19
19
  formatMeetingReference,
20
20
  implicitTextTerms,
@@ -23,18 +23,18 @@ import {
23
23
  parseMeetingReference,
24
24
  refreshMeetingIndex,
25
25
  walkQuery
26
- } from "./chunk-WNQECDIP.js";
26
+ } from "./chunk-725OPCHI.js";
27
27
  import {
28
28
  CliError
29
- } from "./chunk-PMGAU6AP.js";
29
+ } from "./chunk-S6JG4YUH.js";
30
30
  import {
31
31
  __name
32
32
  } from "./chunk-ZVVMGPBJ.js";
33
33
 
34
- // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/services/meeting-combined.js
34
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/services/meeting-combined.js
35
35
  import { createHash } from "node:crypto";
36
36
 
37
- // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/search/question-plan.js
37
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/search/question-plan.js
38
38
  var words = /* @__PURE__ */ __name((text) => normalize(text).match(/[\p{L}\p{N}]+/gu) ?? [], "words");
39
39
  var joinedHyphens = /* @__PURE__ */ __name((text) => (normalize(text).match(new RegExp("(?<![:\\p{L}\\p{N}-])\\p{L}[\\p{L}\\p{N}]*(?:-\\p{L}[\\p{L}\\p{N}]*)+", "gu")) ?? []).map((word) => word.replaceAll("-", "")), "joinedHyphens");
40
40
  var scaffolding = new Set(words("what which how many much who where when is are was were do does did can could should we the a an for of to under from in on at has have \u0441\u043A\u043E\u043B\u044C\u043A\u043E \u043A\u0430\u043A\u043E\u0439 \u043A\u0430\u043A\u0430\u044F \u043A\u0430\u043A\u0438\u0435 \u043A\u0430\u043A\u043E\u0435 \u043A\u0442\u043E \u043A\u043E\u043C\u0443 \u043A\u0435\u043C \u0433\u0434\u0435 \u043A\u043E\u0433\u0434\u0430 \u043A\u0430\u043A \u0447\u0442\u043E \u0432\u043E \u043F\u043E \u043D\u0430 \u0432 \u043A \u0441 \u0443 \u0447\u0435\u0440\u0435\u0437 \u043B\u0438 \u0434\u043E\u043B\u0436\u0435\u043D \u0434\u043E\u043B\u0436\u043D\u0430 \u043D\u0443\u0436\u043D\u043E \u0438\u0434\u0451\u0442 \u0438\u0434\u0435\u0442 \u043C\u043E\u0436\u043D\u043E \u043C\u043E\u0436\u0435\u0442 \u043C\u043E\u0433\u0443\u0442"));
@@ -171,7 +171,7 @@ var questionLookup = /* @__PURE__ */ __name((text) => {
171
171
  return terms.length ? anyOfTerms(terms, plan.scope) : void 0;
172
172
  }, "questionLookup");
173
173
 
174
- // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/services/meeting-hit-search.js
174
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/services/meeting-hit-search.js
175
175
  var resolveMeetingSelection = /* @__PURE__ */ __name(async (store, request) => {
176
176
  const { project, tag, topic, ...input } = request;
177
177
  input.signal?.throwIfAborted();
@@ -209,7 +209,7 @@ var resolveMeetingSelection = /* @__PURE__ */ __name(async (store, request) => {
209
209
  return { input, selection };
210
210
  }, "resolveMeetingSelection");
211
211
 
212
- // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/services/meeting-combined.js
212
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/services/meeting-combined.js
213
213
  var DEPTH = 200;
214
214
  var cursorOf = /* @__PURE__ */ __name((value, key) => {
215
215
  if (value === void 0)
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  changesMessenger
5
- } from "./chunk-ROK7Z5LQ.js";
5
+ } from "./chunk-BA5B5ZF4.js";
6
6
  import {
7
7
  AUTHORITY_KEY,
8
8
  BOT_API_KEY,
@@ -12,15 +12,15 @@ import {
12
12
  keyForCommand,
13
13
  levelFor,
14
14
  readKeysForCommand
15
- } from "./chunk-RJUVWJTA.js";
15
+ } from "./chunk-2HDXD6LM.js";
16
16
  import {
17
17
  writes
18
- } from "./chunk-C3JSQ7UJ.js";
18
+ } from "./chunk-KP5JDYY6.js";
19
19
  import {
20
20
  __name
21
21
  } from "./chunk-ZVVMGPBJ.js";
22
22
 
23
- // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/cli/command-availability.js
23
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/command-availability.js
24
24
  var commandAvailability = /* @__PURE__ */ __name((info, levels, keyOf, authority, readOnly = false, mcp = true, declared, fetches) => {
25
25
  const declaredKey = declared?.keyOf(info.path);
26
26
  const key = declared ? declaredKey : keyOf?.(info.path) ?? keyForCommand(info.path);
@@ -2,34 +2,34 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  validateFormattedText
5
- } from "./chunk-KVFBSOCV.js";
5
+ } from "./chunk-VA6PHTMV.js";
6
6
  import {
7
7
  inputPolicy
8
- } from "./chunk-YPB5BEAD.js";
8
+ } from "./chunk-TES7MB6I.js";
9
9
  import {
10
10
  RECORDS_SCHEMA_VERSION,
11
11
  RECORD_TYPES,
12
12
  pointerOf
13
- } from "./chunk-2RV4V55B.js";
13
+ } from "./chunk-ROUZN6UQ.js";
14
14
  import {
15
15
  parseReference
16
- } from "./chunk-5TIWO6AR.js";
16
+ } from "./chunk-OAO3JKQD.js";
17
17
  import {
18
18
  indent
19
- } from "./chunk-WZFGZBGD.js";
19
+ } from "./chunk-2YO3PLOE.js";
20
20
  import {
21
21
  CliError
22
- } from "./chunk-PMGAU6AP.js";
22
+ } from "./chunk-S6JG4YUH.js";
23
23
  import {
24
24
  __name
25
25
  } from "./chunk-ZVVMGPBJ.js";
26
26
 
27
- // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/domain/checks.js
27
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/domain/checks.js
28
28
  var spelled = /* @__PURE__ */ __name((check, args) => `${check.replaceAll(".", " ")}${args === void 0 ? "" : ` ${args}`}`, "spelled");
29
29
  var bareCheck = /* @__PURE__ */ __name((check, args) => `\`${spelled(check, args)}\``, "bareCheck");
30
30
  var checkWords = /* @__PURE__ */ __name((command, profile) => (check, args) => `\`${command} ${profile === void 0 ? "" : `${profile} `}${spelled(check, args)}\``, "checkWords");
31
31
 
32
- // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/domain/links.js
32
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/domain/links.js
33
33
  var LINK_VERSION = "v1";
34
34
  var DEFAULT_LINK_CONFIG = { base: "https://wirecat.dev/o", enabled: true };
35
35
  var APP_PREFIX = "wirecat://open";
@@ -150,7 +150,7 @@ var linkFor = /* @__PURE__ */ __name((ref, { form, config = DEFAULT_LINK_CONFIG,
150
150
  return form === "app" ? `${APP_PREFIX}${path}` : `${config.base}#${path}`;
151
151
  }, "linkFor");
152
152
 
153
- // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/domain/markdown.js
153
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/domain/markdown.js
154
154
  var MARKERS = [
155
155
  ["**", "bold"],
156
156
  ["~~", "strike"],
@@ -196,7 +196,7 @@ var closing = /* @__PURE__ */ __name((input, open, marker) => {
196
196
  return end;
197
197
  }, "closing");
198
198
 
199
- // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/domain/markdown-spans.js
199
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/domain/markdown-spans.js
200
200
  var STYLES = [
201
201
  ["**", "bold"],
202
202
  ["__", "underline"],
@@ -356,7 +356,7 @@ var parseMarkdownSpans = /* @__PURE__ */ __name((input) => {
356
356
  return validateFormattedText(result);
357
357
  }, "parseMarkdownSpans");
358
358
 
359
- // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/domain/polls.js
359
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/domain/polls.js
360
360
  var countedPoll = /* @__PURE__ */ __name((poll, votes, self) => {
361
361
  const cast = votes.filter((vote) => vote.answers.length > 0);
362
362
  const mine = self === null ? void 0 : votes.find((vote) => vote.person.id === self);
@@ -371,7 +371,7 @@ var countedPoll = /* @__PURE__ */ __name((poll, votes, self) => {
371
371
  };
372
372
  }, "countedPoll");
373
373
 
374
- // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/domain/records-table.js
374
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/domain/records-table.js
375
375
  var TABLE_RECORD_TYPES = Object.keys(RECORD_TYPES).filter((type) => RECORD_TYPES[type].sheet !== false);
376
376
  var TableError = class extends Error {
377
377
  static {
@@ -2361,7 +2361,7 @@ var createDataURL = /* @__PURE__ */ __name(function(width, height, getPixel) {
2361
2361
  var qrcode_default = qrcode;
2362
2362
  var stringToBytes = qrcode.stringToBytes;
2363
2363
 
2364
- // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/terminal/qr.js
2364
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/terminal/qr.js
2365
2365
  var QUIET_ZONE = 4;
2366
2366
  var BLACK_ON_WHITE = "\x1B[30;107m";
2367
2367
  var RESET = "\x1B[0m";
@@ -2408,7 +2408,7 @@ var plainQr = /* @__PURE__ */ __name((link) => {
2408
2408
  return lines.join("\n");
2409
2409
  }, "plainQr");
2410
2410
 
2411
- // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/terminal/login-qr.js
2411
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/terminal/login-qr.js
2412
2412
  var MARGIN = 2;
2413
2413
  var atTerminal = /* @__PURE__ */ __name((input) => input.isTTY === true && !inputPolicy(input).noInput, "atTerminal");
2414
2414
  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";
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/background/processes.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/background/processes.js
8
8
  import { execFileSync } from "node:child_process";
9
9
  import { readdirSync, readFileSync, readlinkSync } from "node:fs";
10
10
  var alive = /* @__PURE__ */ __name((pid) => {
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/shared-5XR7K42U.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/shared-5XR7K42U.js
8
8
  var entityKind = /* @__PURE__ */ Symbol.for("drizzle:entityKind");
9
9
  var kindsByConstructor = /* @__PURE__ */ new WeakMap();
10
10
  function collectKinds(ctor) {
@@ -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-PMGAU6AP.js";
5
+ } from "./chunk-S6JG4YUH.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/cli/input-policy.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/input-policy.js
11
11
  var MAX_BUFFERED_INPUT = 16 * 1024 * 1024;
12
12
  var MAX_SECRET_INPUT = 64 * 1024;
13
13
  var policies = /* @__PURE__ */ new WeakMap();
@@ -0,0 +1,2 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/installer.js
7
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/installer.js
8
8
  var installerOf = /* @__PURE__ */ __name((scriptPath) => {
9
9
  const path = scriptPath.replaceAll("\\", "/");
10
10
  if (path.includes("/_npx/"))
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-base@0.125.1_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@1.0.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");