@wirecat/zoom-cli 0.80.0 → 0.82.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 (201) hide show
  1. package/contracts/wirecat.json +71 -3
  2. package/dist/answers.d.ts +100 -0
  3. package/dist/answers.d.ts.map +1 -1
  4. package/dist/bin/zm.js +2 -2
  5. package/dist/bundle/agent-F4TRJWWS.js +46 -0
  6. package/dist/bundle/{all-profiles-5GOKWOT4.js → all-profiles-RULEKTDQ.js} +64 -22
  7. package/dist/bundle/answer-policy-6XC57AEZ.js +131 -0
  8. package/dist/bundle/{anthropic-NHXMOFYS.js → anthropic-4NAQBZFL.js} +6 -6
  9. package/dist/bundle/{app-server-HFW5Z5PI.js → app-server-VLR42U5L.js} +92 -80
  10. package/dist/bundle/{bun-M5IGY2TG.js → bun-OPDGMZZQ.js} +2 -2
  11. package/dist/bundle/{bun-sqlite-MTP5JJQ2.js → bun-sqlite-HC6X4AOX.js} +7 -7
  12. package/dist/bundle/{chunk-TNL3YQ33.js → chunk-274SLQNW.js} +2 -2
  13. package/dist/bundle/{chunk-5CJ6AAUI.js → chunk-2CI2OEZQ.js} +4 -4
  14. package/dist/bundle/{chunk-GVKZZT7E.js → chunk-2DBF2IIC.js} +7 -78
  15. package/dist/bundle/{chunk-NRVMK5H3.js → chunk-2GP573Q4.js} +15748 -11939
  16. package/dist/bundle/{chunk-4OAR7BGU.js → chunk-2JHVQMVC.js} +1 -1
  17. package/dist/bundle/{chunk-XKLU5KV2.js → chunk-2SWKQ7C4.js} +1 -1
  18. package/dist/bundle/{chunk-W3GZ7JUO.js → chunk-2XBDILVW.js} +1 -1
  19. package/dist/bundle/{chunk-3UONR5HW.js → chunk-3HC5F3P7.js} +1 -1
  20. package/dist/bundle/{chunk-VN7TKMOW.js → chunk-3YM4B2GT.js} +1 -1
  21. package/dist/bundle/{chunk-PCPOO5FS.js → chunk-434YFJAE.js} +2 -2
  22. package/dist/bundle/{chunk-CW6CPQHI.js → chunk-4HLQ2JGK.js} +4 -4
  23. package/dist/bundle/{chunk-RT7C3SSJ.js → chunk-4N7PP76S.js} +1 -1
  24. package/dist/bundle/{chunk-JJX4HKDV.js → chunk-52Y4ETKU.js} +4 -4
  25. package/dist/bundle/{chunk-BIKHHFD2.js → chunk-5HAUK3I4.js} +2166 -2760
  26. package/dist/bundle/{chunk-W2QDYMAM.js → chunk-5KYQ53EF.js} +13 -9
  27. package/dist/bundle/{chunk-BW5JEOBE.js → chunk-5TU7Y5UW.js} +12 -12
  28. package/dist/bundle/{chunk-P2JTVRGU.js → chunk-66ALX4ZI.js} +168 -168
  29. package/dist/bundle/{chunk-EPIA2UUM.js → chunk-676C2LE6.js} +12 -12
  30. package/dist/bundle/{chunk-BNEJKGG7.js → chunk-6CWL5BKG.js} +78 -76
  31. package/dist/bundle/{chunk-TDBVM2SS.js → chunk-6QYZP4E2.js} +3 -3
  32. package/dist/bundle/{chunk-JXSEH64A.js → chunk-6VK332XS.js} +3 -3
  33. package/dist/bundle/{chunk-W7M4JYEE.js → chunk-73MOMNLL.js} +1 -1
  34. package/dist/bundle/{chunk-K672XJ2P.js → chunk-7QPIUMUG.js} +12 -12
  35. package/dist/bundle/{chunk-CWCDCNXA.js → chunk-7UVDPRFK.js} +6 -6
  36. package/dist/bundle/{chunk-RMX2WPWS.js → chunk-A6EZK5RG.js} +4 -4
  37. package/dist/bundle/{chunk-ONJPUFLX.js → chunk-AC6VJNMJ.js} +1 -1
  38. package/dist/bundle/{chunk-QIK2IBJ4.js → chunk-ACI4YIEH.js} +23 -7
  39. package/dist/bundle/{chunk-UX4JZMA4.js → chunk-AIKFOBDO.js} +278 -59
  40. package/dist/bundle/{chunk-GCPO7T2X.js → chunk-ASBDFXLS.js} +3 -3
  41. package/dist/bundle/{chunk-O4ZBFATF.js → chunk-B32KZRQM.js} +12 -12
  42. package/dist/bundle/{chunk-5RVXXDN7.js → chunk-BBGJQMRI.js} +1 -1
  43. package/dist/bundle/chunk-BDKVOU3I.js +52 -0
  44. package/dist/bundle/{chunk-GCUOZ2OA.js → chunk-BP4FYANF.js} +6 -6
  45. package/dist/bundle/{chunk-XTCAWNBP.js → chunk-DCYFT3FR.js} +4 -4
  46. package/dist/bundle/{chunk-FPUGMDJV.js → chunk-DNCLQPOM.js} +1 -1
  47. package/dist/bundle/{chunk-PKW3TPNP.js → chunk-DSZYABYL.js} +38 -19
  48. package/dist/bundle/{chunk-6MDL2LZA.js → chunk-E745WZKY.js} +8 -8
  49. package/dist/bundle/chunk-EGTCQKHV.js +340 -0
  50. package/dist/bundle/chunk-EQG3PIH2.js +108 -0
  51. package/dist/bundle/{chunk-ZPZT46O6.js → chunk-ESN3W2MZ.js} +48 -12
  52. package/dist/bundle/{chunk-7U5X37TE.js → chunk-G46WJ7YO.js} +6 -6
  53. package/dist/bundle/{chunk-L6FM5RQY.js → chunk-G6PETRMV.js} +3 -3
  54. package/dist/bundle/chunk-GBHMT2IU.js +755 -0
  55. package/dist/bundle/{chunk-6QCBTBDA.js → chunk-GGMAIIVE.js} +1 -1
  56. package/dist/bundle/{chunk-6I4C4ZFT.js → chunk-GTKPMYK7.js} +2 -2
  57. package/dist/bundle/{chunk-N5YUHN6S.js → chunk-GWGHH56B.js} +12 -12
  58. package/dist/bundle/{chunk-5XO2AY6D.js → chunk-HC6VN5CO.js} +10 -10
  59. package/dist/bundle/{chunk-ARL2TTPZ.js → chunk-HP7A2ZOP.js} +9 -9
  60. package/dist/bundle/chunk-HZENBDW2.js +209 -0
  61. package/dist/bundle/{chunk-ST3ZB7LS.js → chunk-IANKXHSE.js} +1 -1
  62. package/dist/bundle/{chunk-GGKEQQME.js → chunk-ICPJT672.js} +13 -9
  63. package/dist/bundle/chunk-JQ54DYAQ.js +80 -0
  64. package/dist/bundle/chunk-K5JGJIV2.js +640 -0
  65. package/dist/bundle/{chunk-DYRISFHZ.js → chunk-KJ6USQDZ.js} +19 -9
  66. package/dist/bundle/{chunk-TMYZKDQ7.js → chunk-KKFY23AK.js} +65 -65
  67. package/dist/bundle/chunk-KQPUVXKX.js +84 -0
  68. package/dist/bundle/{chunk-BPSURRAD.js → chunk-KVJ3I7UL.js} +43 -64
  69. package/dist/bundle/{chunk-NXFKZFTC.js → chunk-KWU46LNK.js} +3 -3
  70. package/dist/bundle/chunk-KXJ3JEDH.js +2 -0
  71. package/dist/bundle/{chunk-YAA2D6RP.js → chunk-L75SMSJR.js} +5 -5
  72. package/dist/bundle/{chunk-OXPHJEJ2.js → chunk-LAYYO4WD.js} +3 -3
  73. package/dist/bundle/{chunk-6PIXP5IH.js → chunk-LEKKTJKK.js} +40 -26
  74. package/dist/bundle/{chunk-3AOESMW6.js → chunk-M7H4MCAX.js} +18 -259
  75. package/dist/bundle/{chunk-DZ6H3YJH.js → chunk-MAJJ4PG3.js} +19 -16
  76. package/dist/bundle/{chunk-G5VH4WUF.js → chunk-MQLPZBMQ.js} +2 -2
  77. package/dist/bundle/{chunk-3Z7CFQTI.js → chunk-N3JLO63O.js} +1 -1
  78. package/dist/bundle/{chunk-NMETTKCV.js → chunk-N46F72AF.js} +14 -14
  79. package/dist/bundle/{chunk-A3TUG2DP.js → chunk-NB7EOAUZ.js} +36 -1
  80. package/dist/bundle/{chunk-BRMV33MO.js → chunk-NEMX3UNN.js} +4 -4
  81. package/dist/bundle/{chunk-6CDMGT6Q.js → chunk-OBXQLFT5.js} +2 -2
  82. package/dist/bundle/{chunk-HH7GR6TN.js → chunk-OGNO35A2.js} +6 -6
  83. package/dist/bundle/{chunk-Q6MISDKJ.js → chunk-OIPYBF43.js} +3 -3
  84. package/dist/bundle/{chunk-6LY4LBSD.js → chunk-OO4TRVPB.js} +7 -7
  85. package/dist/bundle/{chunk-CHEHK6IW.js → chunk-OQFQ77AY.js} +214 -118
  86. package/dist/bundle/{chunk-5D4AEUVA.js → chunk-PL5P7UKW.js} +434 -1
  87. package/dist/bundle/{chunk-Q5LUGY2V.js → chunk-PMUPN6JW.js} +9 -9
  88. package/dist/bundle/chunk-PSKTMMCO.js +561 -0
  89. package/dist/bundle/{chunk-U5N2PKKM.js → chunk-PWVJUIDQ.js} +2 -2
  90. package/dist/bundle/{chunk-475P3LWG.js → chunk-Q7ICVP25.js} +1 -1
  91. package/dist/bundle/{chunk-JGSVWLL2.js → chunk-QG6PILDO.js} +2 -2
  92. package/dist/bundle/{chunk-5K54M6RD.js → chunk-QPHBK63S.js} +1 -1
  93. package/dist/bundle/{chunk-RFXJLG5V.js → chunk-QVSL5WJ7.js} +5173 -3077
  94. package/dist/bundle/{chunk-IQWBGMCR.js → chunk-QVYAV7F2.js} +4 -4
  95. package/dist/bundle/{chunk-XIHENZW6.js → chunk-R2B6PUVI.js} +4 -4
  96. package/dist/bundle/{chunk-MH4L5LL6.js → chunk-RQOZBTNI.js} +16 -3
  97. package/dist/bundle/{chunk-FSLR2YGR.js → chunk-T7IAWEBU.js} +7 -7
  98. package/dist/bundle/{chunk-D4HKTC2T.js → chunk-TKNM22OH.js} +2 -2
  99. package/dist/bundle/{chunk-EI37UXDR.js → chunk-TKVBFJ5C.js} +1 -1
  100. package/dist/bundle/{chunk-O3DYRCIT.js → chunk-TXDR6YSF.js} +1 -1
  101. package/dist/bundle/{chunk-CWXOXIWS.js → chunk-TY7NDMFY.js} +1 -1
  102. package/dist/bundle/{chunk-Z3CPZ4I4.js → chunk-UAWSINMC.js} +306 -306
  103. package/dist/bundle/{chunk-4F7Q5CET.js → chunk-UKAAAOPC.js} +31 -180
  104. package/dist/bundle/{chunk-XL4ND7CZ.js → chunk-UL2PXLKT.js} +26 -26
  105. package/dist/bundle/{chunk-GRYXOSN6.js → chunk-UQCTXZEP.js} +10 -10
  106. package/dist/bundle/{chunk-E3JVLVVB.js → chunk-UR5DBODY.js} +37 -30
  107. package/dist/bundle/{chunk-SUG6YGAF.js → chunk-V5EJSF2B.js} +237 -167
  108. package/dist/bundle/{chunk-HGSBLY6M.js → chunk-VB72LTSZ.js} +12 -12
  109. package/dist/bundle/{chunk-2XZ2YKW4.js → chunk-VB7FZOYX.js} +2 -100
  110. package/dist/bundle/{chunk-PMO2Z6DQ.js → chunk-VS6WURLX.js} +3 -3
  111. package/dist/bundle/{chunk-5QXQIZJY.js → chunk-VZ5PPYDG.js} +3 -4
  112. package/dist/bundle/{chunk-YR5TRWT2.js → chunk-W5QHB53X.js} +287 -580
  113. package/dist/bundle/{chunk-2P6MQH4V.js → chunk-WMANRJR5.js} +6 -6
  114. package/dist/bundle/chunk-WOPVBRPV.js +29 -0
  115. package/dist/bundle/{chunk-W32HK7KG.js → chunk-XQ2WL3HB.js} +2 -2
  116. package/dist/bundle/{chunk-FIJREKLA.js → chunk-XQQVMECZ.js} +3 -3
  117. package/dist/bundle/{chunk-75JW7X2W.js → chunk-Y6PVS55U.js} +71 -61
  118. package/dist/bundle/{chunk-EMYRUJCV.js → chunk-YJXJJ2XP.js} +8 -8
  119. package/dist/bundle/{chunk-L2TURFT6.js → chunk-YY7XKHDY.js} +10 -3
  120. package/dist/bundle/chunk-ZED2CJW5.js +353 -0
  121. package/dist/bundle/chunk-ZOYOXWJB.js +746 -0
  122. package/dist/bundle/{cli-QNBYDOKV.js → cli-U4O5XB7J.js} +171 -124
  123. package/dist/bundle/command-contract-FBTK6GQX.js +45 -0
  124. package/dist/bundle/{command-server-entry-WMA4SWJ5.js → command-server-entry-KKH6ZWJV.js} +35 -35
  125. package/dist/bundle/config-FRJSIZNN.js +118 -0
  126. package/dist/bundle/{decode-7PXUXNIP.js → decode-TPCNXEK4.js} +6 -6
  127. package/dist/bundle/{dispatch-AWDROXWN.js → dispatch-FKMIPCPQ.js} +9 -9
  128. package/dist/bundle/{dist-TSBH4FOU.js → dist-7CLBCYZN.js} +23 -21
  129. package/dist/bundle/dist-PAKDDIBT.js +191 -0
  130. package/dist/bundle/{echarts-WIDIUEO6.js → echarts-O3TNDAXJ.js} +2 -2
  131. package/dist/bundle/{embed-EIRVQF5E.js → embed-WCJSFVSK.js} +7 -7
  132. package/dist/bundle/{embedder-MXPM6OXK.js → embedder-TBBUPXBX.js} +10 -10
  133. package/dist/bundle/{failure-JZW73RP7.js → failure-XTWBYI2A.js} +3 -3
  134. package/dist/bundle/first-run-ELEMFW42.js +29 -0
  135. package/dist/bundle/first-screen-DIOBWMKP.js +46 -0
  136. package/dist/bundle/{folders-TGFOE7DY.js → folders-LXOL4N4S.js} +5 -5
  137. package/dist/bundle/{instructions-D5LNE6NJ.js → instructions-AMH5RWVJ.js} +1 -1
  138. package/dist/bundle/{main-OHW5Z56X.js → main-YAA7WQ23.js} +24 -24
  139. package/dist/bundle/{mcp-RGNRW77S.js → mcp-5HFPWC3W.js} +2 -2
  140. package/dist/bundle/meeting-combined-UXCF4SJ3.js +26 -0
  141. package/dist/bundle/meeting-model-3BZJ3EQP.js +26 -0
  142. package/dist/bundle/{meeting-semantic-FYOVY4S2.js → meeting-semantic-3HU7I2SJ.js} +8 -8
  143. package/dist/bundle/{meetings-WI4SXPBJ.js → meetings-XWMB6FOH.js} +7 -7
  144. package/dist/bundle/{node-UEWUFR7N.js → node-EGMCBAO7.js} +2 -2
  145. package/dist/bundle/{node-sqlite-FJWKJHYU.js → node-sqlite-IJBWENFX.js} +8 -8
  146. package/dist/bundle/oauth-SZDDAP7A.js +20 -0
  147. package/dist/bundle/{open-EFYTWUGC.js → open-NS3TMKZX.js} +6 -6
  148. package/dist/bundle/openai-4DN6WI3B.js +28 -0
  149. package/dist/bundle/{output-file-J4SU6X4I.js → output-file-2UB5JP3R.js} +6 -6
  150. package/dist/bundle/{process-U5PLNIDC.js → process-SGHEN6MQ.js} +1 -1
  151. package/dist/bundle/{program-3JICCSA6.js → program-GVCGZP27.js} +170 -160
  152. package/dist/bundle/{prompt-YPDMSOKC.js → prompt-HJFMPFVC.js} +6 -6
  153. package/dist/bundle/public-C2ZB2AGQ.js +198 -0
  154. package/dist/bundle/{recognize-Z2SSWUKH.js → recognize-2SEI5PPM.js} +5 -5
  155. package/dist/bundle/{remote-R5HMDHOG.js → remote-2DMS74XE.js} +11 -11
  156. package/dist/bundle/{rerank-6NGBEMQ2.js → rerank-H6GCYVIA.js} +8 -8
  157. package/dist/bundle/run-log-QU26SUZP.js +145 -0
  158. package/dist/bundle/{serve-CU3RMWU7.js → serve-ODVRPFJO.js} +11 -11
  159. package/dist/bundle/server-NBPF6IDZ.js +95 -0
  160. package/dist/bundle/{server-SOQSVX2Q.js → server-PCLIO24L.js} +82 -69
  161. package/dist/bundle/{services-LROZ3RDT.js → services-4QAPXBLO.js} +60 -54
  162. package/dist/bundle/{speech-AS77HFIF.js → speech-MA6ZT3WE.js} +28 -28
  163. package/dist/bundle/{sqlite-runtime-U25NS6BK.js → sqlite-runtime-PVMAUXRN.js} +7 -7
  164. package/dist/bundle/{state-CPEVKK66.js → state-QFMTYUME.js} +7 -7
  165. package/dist/bundle/{store-6CHRMJM7.js → store-25OTAQC3.js} +31 -24
  166. package/dist/bundle/{store-QKHCZOYR.js → store-F724QIKJ.js} +34 -26
  167. package/dist/bundle/store-connection-OGPXANGB.js +111 -0
  168. package/dist/bundle/store-maintenance-command-2CM7LLNQ.js +83 -0
  169. package/dist/bundle/{streaming-VDJOYGMO.js → streaming-S22C4DG5.js} +7 -7
  170. package/dist/bundle/surface-7PXHWCF6.js +81 -0
  171. package/dist/bundle/{tokens-JBN2OHQB.js → tokens-NLUHA2DW.js} +11 -10
  172. package/dist/bundle/zm.js +9 -9
  173. package/dist/bundle/{zoom-app-Q4IKYNG3.js → zoom-app-YWFB367P.js} +8 -8
  174. package/dist/commands.d.ts +1 -0
  175. package/dist/commands.d.ts.map +1 -1
  176. package/dist/commands.js +8 -2
  177. package/dist/commands.js.map +1 -1
  178. package/dist/setup-commands.d.ts +1 -1
  179. package/dist/setup-commands.d.ts.map +1 -1
  180. package/dist/setup-commands.js +31 -5
  181. package/dist/setup-commands.js.map +1 -1
  182. package/dist/version.d.ts +1 -1
  183. package/dist/version.js +1 -1
  184. package/dist/zoom-api/types.d.ts +5 -0
  185. package/dist/zoom-api/types.d.ts.map +1 -1
  186. package/package.json +3 -3
  187. package/dist/bundle/answer-policy-7PYXHK2I.js +0 -122
  188. package/dist/bundle/chunk-3BTRJYIT.js +0 -729
  189. package/dist/bundle/chunk-M4LAF627.js +0 -719
  190. package/dist/bundle/command-contract-CT6MV6YG.js +0 -45
  191. package/dist/bundle/config-ZFQFDEVL.js +0 -109
  192. package/dist/bundle/first-run-K6EHRAIM.js +0 -29
  193. package/dist/bundle/first-screen-C6AF4KT4.js +0 -45
  194. package/dist/bundle/meeting-combined-3OKFXZNA.js +0 -26
  195. package/dist/bundle/meeting-model-4XNF725D.js +0 -26
  196. package/dist/bundle/oauth-KOONTGLW.js +0 -20
  197. package/dist/bundle/openai-6Y2JRDNY.js +0 -28
  198. package/dist/bundle/run-log-LG3TI3WI.js +0 -136
  199. package/dist/bundle/server-X7JYRMKX.js +0 -85
  200. package/dist/bundle/store-connection-FCDVOPWB.js +0 -102
  201. package/dist/bundle/store-maintenance-command-6HVOAHOZ.js +0 -77
@@ -0,0 +1,84 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ hide,
5
+ isHidden
6
+ } from "./chunk-WOPVBRPV.js";
7
+ import {
8
+ CliError
9
+ } from "./chunk-IANKXHSE.js";
10
+ import {
11
+ __name
12
+ } from "./chunk-ZVVMGPBJ.js";
13
+
14
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/messenger/lacks.js
15
+ var COMMAND_NEEDS = {
16
+ "account update": ["updateProfile", "change the profile"],
17
+ "account sessions list": ["sessions", "list the account's sessions"],
18
+ "account sessions end": ["endOtherSessions", "end other sessions"],
19
+ "chats events": ["chatEvents", "read who joined or left"],
20
+ "chats inspect": ["inspect", "read a link"],
21
+ "chats folders list": ["folders", "list its folders"],
22
+ "chats folders show": ["folders", "list its folders"],
23
+ "chats folders create": ["createFolder", "create a folder"],
24
+ "chats folders update": ["updateFolder", "change a folder"],
25
+ "chats folders delete": ["deleteFolder", "delete a folder"],
26
+ "chats links show": ["group", "read a group"],
27
+ "chats links reset": ["resetInviteLink", "replace an invite link"],
28
+ "chats requests list": ["joinRequests", "read join requests"],
29
+ "chats requests confirm": ["answerJoinRequest", "answer join requests"],
30
+ "chats requests reject": ["answerJoinRequest", "answer join requests"],
31
+ "chats admins add": ["addAdmin", "make someone an admin"],
32
+ "chats admins remove": ["removeAdmin", "take admin rights back"],
33
+ "contacts add": ["addContact", "add a contact"],
34
+ "contacts remove": ["removeContact", "remove a contact"],
35
+ "contacts rename": ["renameContact", "rename a contact"],
36
+ "contacts import": ["importContacts", "import contacts"],
37
+ "contacts block": ["block", "block a person"],
38
+ "contacts unblock": ["unblock", "unblock a person"],
39
+ "messages forward": ["forward", "forward a message"],
40
+ "messages comments": ["comments", "read comments on a channel post"],
41
+ "messages pin": ["pin", "pin a message"],
42
+ "messages unpin": ["unpin", "unpin a message"],
43
+ "messages scheduled cancel": ["cancelScheduled", "cancel a scheduled message"],
44
+ "messages scheduled edit": ["editScheduled", "edit a scheduled message"],
45
+ "messages scheduled send": ["sendScheduled", "send a scheduled message now"]
46
+ };
47
+ var STORE_ANSWERS = /* @__PURE__ */ new Set(["chats events"]);
48
+ var lackedNeed = /* @__PURE__ */ __name((messenger, path) => {
49
+ const need = COMMAND_NEEDS[path];
50
+ if (!need)
51
+ return void 0;
52
+ if (path === "messages comments" && (messenger?.readsComments ?? messenger?.channelComments) === false)
53
+ return need;
54
+ if (!messenger?.lacks?.includes(need[0]) && !messenger?.never?.includes(need[0]))
55
+ return void 0;
56
+ return messenger.history === "store" && STORE_ANSWERS.has(path) ? void 0 : need;
57
+ }, "lackedNeed");
58
+ var refuseLacking = /* @__PURE__ */ __name((messenger, path) => {
59
+ const need = lackedNeed(messenger, path.join(" "));
60
+ if (need)
61
+ throw new CliError("validation_error", `this messenger cannot ${need[1]}`);
62
+ }, "refuseLacking");
63
+ var hideNever = /* @__PURE__ */ __name((messenger, group) => {
64
+ const walk = /* @__PURE__ */ __name((command, path) => {
65
+ for (const child of command.commands) {
66
+ const at = [...path, child.name()];
67
+ const need = COMMAND_NEEDS[at.join(" ")];
68
+ if (need && messenger.never?.includes(need[0]))
69
+ hide(child);
70
+ walk(child, at);
71
+ if (child.commands.length > 0 && child.commands.every(isHidden))
72
+ hide(child);
73
+ }
74
+ }, "walk");
75
+ walk(group, [group.name()]);
76
+ return group;
77
+ }, "hideNever");
78
+
79
+ export {
80
+ COMMAND_NEEDS,
81
+ lackedNeed,
82
+ refuseLacking,
83
+ hideNever
84
+ };
@@ -5,23 +5,23 @@ import {
5
5
  installFiles,
6
6
  megabytes,
7
7
  sharedModelsDirectory
8
- } from "./chunk-CW6CPQHI.js";
8
+ } from "./chunk-4HLQ2JGK.js";
9
9
  import {
10
10
  importFrom
11
11
  } from "./chunk-Y5E2WNWB.js";
12
12
  import {
13
13
  CliError
14
- } from "./chunk-ST3ZB7LS.js";
14
+ } from "./chunk-IANKXHSE.js";
15
15
  import {
16
16
  __name
17
17
  } from "./chunk-ZVVMGPBJ.js";
18
18
 
19
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
19
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
20
20
  import { readFileSync as readFileSync2 } from "node:fs";
21
21
  import { availableParallelism } from "node:os";
22
22
  import { basename, join as join2 } from "node:path";
23
23
 
24
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
24
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
25
25
  import { createHash } from "node:crypto";
26
26
  import { copyFileSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
27
27
  import { join } from "node:path";
@@ -678,66 +678,45 @@ var Unzip = /* @__PURE__ */ (function() {
678
678
  return Unzip2;
679
679
  })();
680
680
 
681
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
681
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
682
682
  var ONNX_RUNTIME_VERSION = "1.30.0";
683
- var release = /* @__PURE__ */ __name((name, sha256, bytes) => ({
684
- name,
685
- url: `https://github.com/microsoft/onnxruntime/releases/download/v${ONNX_RUNTIME_VERSION}/${name}`,
686
- sha256,
687
- bytes
688
- }), "release");
689
- var npmTarball = {
690
- name: `onnxruntime-node-${ONNX_RUNTIME_VERSION}.tgz`,
691
- url: `https://registry.npmjs.org/onnxruntime-node/-/onnxruntime-node-${ONNX_RUNTIME_VERSION}.tgz`,
692
- sha256: "6e3390d6b783e7be946fad629292799da28d0b42f84856e50d2c1b0383291e75",
693
- bytes: 113507888
694
- };
695
- var NATIVE = {
696
- "linux-x64": {
697
- archive: release("onnxruntime-linux-x64-1.30.0.tgz", "a5ed5a3cac51fbb2e90da632ae43d19212faaa20e76484e62bcb7c23ddb3b3fd", 11306877),
698
- member: "onnxruntime-linux-x64-1.30.0/lib/libonnxruntime.so.1.30.0",
699
- library: {
700
- name: "libonnxruntime.so.1",
701
- sha256: "245a6f8c38127551057a1cd1ffd59f0a186a227ade4f3492dea2494eb565542e",
702
- bytes: 28985152
703
- }
704
- },
705
- "linux-arm64": {
706
- archive: release("onnxruntime-linux-aarch64-1.30.0.tgz", "e16a27a8ed330bbc698df7330b0cf56e722f354e3bcc92118682c74ef3c3e3da", 10269495),
707
- member: "onnxruntime-linux-aarch64-1.30.0/lib/libonnxruntime.so.1.30.0",
708
- library: {
709
- name: "libonnxruntime.so.1",
710
- sha256: "64e903a43a041240fd6bcffe0ac6d4fea47ef87bf24b9d097801bd00a9612a4b",
711
- bytes: 25135496
712
- }
713
- },
714
- "darwin-arm64": {
715
- archive: release("onnxruntime-osx-arm64-1.30.0.tgz", "6ebb5062a934537c352937821f9fe9718e7de1a2db1122a93dd363ffd53a7012", 42373116),
716
- member: "onnxruntime-osx-arm64-1.30.0/lib/libonnxruntime.1.30.0.dylib",
717
- library: {
718
- name: "libonnxruntime.1.dylib",
719
- sha256: "bcc9110f9d638a119de2db7afb3ba9a1da8085f0cb3401e1c48ae1caf450b6fa",
720
- bytes: 43879424
721
- }
722
- },
723
- "win32-x64": {
724
- archive: npmTarball,
725
- member: "package/bin/napi-v6/win32/x64/onnxruntime.dll",
726
- library: {
727
- name: "onnxruntime.dll",
728
- sha256: "508c362f5673483dd3a086379c392795b2e42d10d5e6f3f90ebd7ac21c97af67",
729
- bytes: 28754232
730
- }
683
+ var REGISTRY = "https://registry.npmjs.org";
684
+ var wirecat = /* @__PURE__ */ __name((target, sha256, bytes, library) => ({
685
+ archive: {
686
+ name: `onnxruntime-${target}-${ONNX_RUNTIME_VERSION}.tgz`,
687
+ url: `${REGISTRY}/@wirecat/onnxruntime-${target}/-/onnxruntime-${target}-${ONNX_RUNTIME_VERSION}.tgz`,
688
+ sha256,
689
+ bytes
731
690
  },
732
- "win32-arm64": {
733
- archive: npmTarball,
734
- member: "package/bin/napi-v6/win32/arm64/onnxruntime.dll",
735
- library: {
736
- name: "onnxruntime.dll",
737
- sha256: "6c3a2abf5c6aca11c48a0d338a91af309f2266f25ce2e4084e6a87bbcb0fbfd0",
738
- bytes: 29815136
739
- }
740
- }
691
+ member: `package/${library.name}`,
692
+ library
693
+ }), "wirecat");
694
+ var NATIVE = {
695
+ "linux-x64": wirecat("linux-x64", "9c12e88ae495ae04e28802e52c2524a7a9c31aa715a67eeb636c85efcb08e5d9", 11305384, {
696
+ name: "libonnxruntime.so.1",
697
+ sha256: "245a6f8c38127551057a1cd1ffd59f0a186a227ade4f3492dea2494eb565542e",
698
+ bytes: 28985152
699
+ }),
700
+ "linux-arm64": wirecat("linux-arm64", "4ec23a63f0e7f49edb63590f4bc8b0e8526bff5b3a2b19d768112f37dc50d09c", 10386392, {
701
+ name: "libonnxruntime.so.1",
702
+ sha256: "64e903a43a041240fd6bcffe0ac6d4fea47ef87bf24b9d097801bd00a9612a4b",
703
+ bytes: 25135496
704
+ }),
705
+ "darwin-arm64": wirecat("darwin-arm64", "0e543a584a048b301ff96b81af4b001288e048577ce0f0b4a5a9c2df97979615", 12921423, {
706
+ name: "libonnxruntime.1.dylib",
707
+ sha256: "bffaa6ef856dba2c26f09c7c0e7018fd1562625f3485292c7ad28b83748c6879",
708
+ bytes: 43879424
709
+ }),
710
+ "win32-x64": wirecat("win32-x64", "55924c8e4c3f975d131e943712c5fac6e5423fb2b0c356c96230f2ad18dc2792", 10652326, {
711
+ name: "onnxruntime.dll",
712
+ sha256: "508c362f5673483dd3a086379c392795b2e42d10d5e6f3f90ebd7ac21c97af67",
713
+ bytes: 28754232
714
+ }),
715
+ "win32-arm64": wirecat("win32-arm64", "77e43743e580d6641e49b7cdeed57fd11f21a8cf27a186dd33a3db817b3ff7f2", 10778591, {
716
+ name: "onnxruntime.dll",
717
+ sha256: "6c3a2abf5c6aca11c48a0d338a91af309f2266f25ce2e4084e6a87bbcb0fbfd0",
718
+ bytes: 29815136
719
+ })
741
720
  };
742
721
  var onMusl = /* @__PURE__ */ __name(() => {
743
722
  try {
@@ -771,7 +750,7 @@ var installNativeRuntime = /* @__PURE__ */ __name(async ({ env = process.env, pr
771
750
  const folder = runtimeFolder(runtime, env);
772
751
  if (isInstalled(runtime, folder))
773
752
  return folder;
774
- progress(`ONNX Runtime ${ONNX_RUNTIME_VERSION} for ${runtime.target}: ${megabytes(runtime.archive.bytes)} from Microsoft`);
753
+ progress(`ONNX Runtime ${ONNX_RUNTIME_VERSION} for ${runtime.target}: ${megabytes(runtime.archive.bytes)} from npm`);
775
754
  const parent = sharedModelsDirectory("runtime", env);
776
755
  mkdirSync(parent, { recursive: true, mode: 448 });
777
756
  const staging = mkdtempSync(join(parent, ".onnxruntime-"));
@@ -858,7 +837,7 @@ var openSession = /* @__PURE__ */ __name(async (bytes, threads, options = {}) =>
858
837
  return { ort, session: await ort.InferenceSession.create(bytes, options) };
859
838
  }, "openSession");
860
839
 
861
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
840
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
862
841
  var textModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("text", env), "textModelsDirectory");
863
842
  var placedText = /* @__PURE__ */ __name((model, directory) => model.files.map((file) => [file, join2(directory, model.id, file.name)]), "placedText");
864
843
  var isTextModelInstalled = /* @__PURE__ */ __name((model, directory) => filesPresent(placedText(model, directory)), "isTextModelInstalled");
@@ -4,16 +4,16 @@ import {
4
4
  ACCESS_SECONDS,
5
5
  REFRESH_SECONDS,
6
6
  readStored
7
- } from "./chunk-XTCAWNBP.js";
7
+ } from "./chunk-DCYFT3FR.js";
8
8
  import {
9
9
  OAuthError,
10
10
  OAuthErrorCode
11
- } from "./chunk-5D4AEUVA.js";
11
+ } from "./chunk-PL5P7UKW.js";
12
12
  import {
13
13
  __name
14
14
  } from "./chunk-ZVVMGPBJ.js";
15
15
 
16
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/mcp/http/oauth.js
16
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/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";
@@ -0,0 +1,2 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
@@ -6,21 +6,21 @@ import {
6
6
  answerSchema,
7
7
  describeOptions,
8
8
  metaOf
9
- } from "./chunk-SUG6YGAF.js";
9
+ } from "./chunk-V5EJSF2B.js";
10
10
  import {
11
11
  keyForCommand
12
- } from "./chunk-DYRISFHZ.js";
12
+ } from "./chunk-KJ6USQDZ.js";
13
13
  import {
14
14
  jsonSchemaOf
15
- } from "./chunk-ZPZT46O6.js";
15
+ } from "./chunk-ESN3W2MZ.js";
16
16
  import {
17
17
  CliError
18
- } from "./chunk-ST3ZB7LS.js";
18
+ } from "./chunk-IANKXHSE.js";
19
19
  import {
20
20
  __name
21
21
  } from "./chunk-ZVVMGPBJ.js";
22
22
 
23
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/cli/command-contract.js
23
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/command-contract.js
24
24
  var SCHEMA_DIALECT = "https://json-schema.org/draft/2020-12/schema";
25
25
  var outputOf = /* @__PURE__ */ __name((command) => {
26
26
  const entity = answerEntitySchema(command);
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError
5
- } from "./chunk-ST3ZB7LS.js";
5
+ } from "./chunk-IANKXHSE.js";
6
6
  import {
7
7
  singleLine
8
- } from "./chunk-5RVXXDN7.js";
8
+ } from "./chunk-BBGJQMRI.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/domain/tags.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/domain/tags.js
14
14
  var TAG_TYPES = ["chat", "contact", "message", "task"];
15
15
  var TAG = /^[a-z0-9-]{1,32}$/;
16
16
  var tagOf = /* @__PURE__ */ __name((value) => {
@@ -4,10 +4,10 @@ import {
4
4
  QUERY_LIMITS,
5
5
  exhausted,
6
6
  searchError
7
- } from "./chunk-L2TURFT6.js";
7
+ } from "./chunk-YY7XKHDY.js";
8
8
  import {
9
9
  fold
10
- } from "./chunk-4OAR7BGU.js";
10
+ } from "./chunk-2JHVQMVC.js";
11
11
  import {
12
12
  CATALOG_KINDS,
13
13
  CONTRACT_KINDS,
@@ -26,22 +26,22 @@ import {
26
26
  parseReference,
27
27
  providerLabel,
28
28
  providerNamed
29
- } from "./chunk-PKW3TPNP.js";
29
+ } from "./chunk-DSZYABYL.js";
30
30
  import {
31
31
  holdsCredential,
32
32
  secretNamed
33
- } from "./chunk-W7M4JYEE.js";
33
+ } from "./chunk-73MOMNLL.js";
34
34
  import {
35
35
  CliError
36
- } from "./chunk-ST3ZB7LS.js";
36
+ } from "./chunk-IANKXHSE.js";
37
37
  import {
38
38
  singleLine
39
- } from "./chunk-5RVXXDN7.js";
39
+ } from "./chunk-BBGJQMRI.js";
40
40
  import {
41
41
  __name
42
42
  } from "./chunk-ZVVMGPBJ.js";
43
43
 
44
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/domain/record-fields.js
44
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/domain/record-fields.js
45
45
  var DECIMAL_PATTERN = "^[0-9]{1,16}(\\.[0-9]{1,6})?$";
46
46
  var SIGNED_DECIMAL = "^-?[0-9]{1,16}(\\.[0-9]{1,6})?$";
47
47
  var DAY = "^[0-9]{4}-[0-9]{2}-[0-9]{2}$";
@@ -160,7 +160,7 @@ var fieldError = /* @__PURE__ */ __name((schema, value, at = []) => {
160
160
  return void 0;
161
161
  }, "fieldError");
162
162
 
163
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/domain/record-types.js
163
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/domain/record-types.js
164
164
  var kept = /* @__PURE__ */ __name((description) => ({ description }), "kept");
165
165
  var PARTY = ["person", "organization"];
166
166
  var ORGANIZATION = ["organization"];
@@ -555,7 +555,7 @@ var hasV1Roles = /* @__PURE__ */ __name((type) => rolesOf(type).some(([, role])
555
555
  var IDENTITY_TYPES = RECORD_ENTITY_TYPES.filter((type) => RECORD_TYPES[type].review === "identity");
556
556
  var article = /* @__PURE__ */ __name((word) => /^[aeiou]/.test(word) ? "an" : "a", "article");
557
557
 
558
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/domain/addresses.js
558
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/domain/addresses.js
559
559
  var EMAIL_ADDRESS = /^[^\s@]+@[^\s@]+\.[^\s@]+$/u;
560
560
  var isEmailAddress = /* @__PURE__ */ __name((value) => EMAIL_ADDRESS.test(value), "isEmailAddress");
561
561
  var ROLE_ADDRESS_WORDS = {
@@ -608,16 +608,29 @@ var ROLE_ADDRESS_WORDS = {
608
608
  var bare = /* @__PURE__ */ __name((word) => word.replace(/[.\-_]/gu, ""), "bare");
609
609
  var NO_REPLY = new Set(ROLE_ADDRESS_WORDS.noReply.map(bare));
610
610
  var ROLE = new Set([...ROLE_ADDRESS_WORDS.shared, ...ROLE_ADDRESS_WORDS.noReply].map(bare));
611
- var localWord = /* @__PURE__ */ __name((address) => {
611
+ var PART_ONLY = /* @__PURE__ */ new Set(["bounce", "bounces"]);
612
+ var NOTIFY = /* @__PURE__ */ new Set(["notify", "notification", "notifications", "alert", "alerts"]);
613
+ var localPart = /* @__PURE__ */ __name((address) => {
612
614
  const local = address.trim().toLowerCase().split("@")[0] ?? "";
613
- return bare(local.split("+")[0] ?? "");
614
- }, "localWord");
615
- var isRoleAddress = /* @__PURE__ */ __name((address) => ROLE.has(localWord(address)), "isRoleAddress");
615
+ return local.split("+")[0] ?? "";
616
+ }, "localPart");
617
+ var localWord = /* @__PURE__ */ __name((address) => bare(localPart(address)), "localWord");
618
+ var SEPARATORS = /[.\-_]/u;
619
+ var partsOf = /* @__PURE__ */ __name((address) => localPart(address).split(SEPARATORS), "partsOf");
620
+ var NO_REPLY_PARTS = ROLE_ADDRESS_WORDS.noReply.map((word) => `.${word.split(SEPARATORS).join(".")}.`);
621
+ var isNoReplyAddress = /* @__PURE__ */ __name((address) => {
622
+ const word = localWord(address);
623
+ const parts = `.${partsOf(address).join(".")}.`;
624
+ if (NO_REPLY_PARTS.some((one) => parts.includes(one)))
625
+ return true;
626
+ return [...NO_REPLY].some((one) => !PART_ONLY.has(one) && (word.startsWith(one) || word.endsWith(one)));
627
+ }, "isNoReplyAddress");
628
+ var isRoleAddress = /* @__PURE__ */ __name((address) => ROLE.has(localWord(address)) || isNoReplyAddress(address), "isRoleAddress");
616
629
  var PERSON_LIKE = /* @__PURE__ */ new Set(["hr"]);
617
630
  var isPersonLikeRoleAddress = /* @__PURE__ */ __name((address) => PERSON_LIKE.has(localWord(address)), "isPersonLikeRoleAddress");
618
- var isNoReplyAddress = /* @__PURE__ */ __name((address) => NO_REPLY.has(localWord(address)), "isNoReplyAddress");
631
+ var isNotificationAddress = /* @__PURE__ */ __name((address) => partsOf(address).some((part) => NOTIFY.has(part)), "isNotificationAddress");
619
632
 
620
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/domain/phone-plans.generated.js
633
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/domain/phone-plans.generated.js
621
634
  var PHONE_PLANS = [
622
635
  {
623
636
  country: "us",
@@ -997,7 +1010,7 @@ var PHONE_PLANS = [
997
1010
  }
998
1011
  ];
999
1012
 
1000
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/domain/phones.js
1013
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/domain/phones.js
1001
1014
  var PHONE_COUNTRIES = PHONE_PLANS.map((plan) => plan.country);
1002
1015
  var DEFAULT_PHONE_COUNTRIES = ["ru"];
1003
1016
  var parsePhoneCountries = /* @__PURE__ */ __name((value) => {
@@ -1072,7 +1085,7 @@ var storedPhone = /* @__PURE__ */ __name((raw, provider) => {
1072
1085
  return found ? `+${found[1]}` : void 0;
1073
1086
  }, "storedPhone");
1074
1087
 
1075
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/domain/ref-arguments.js
1088
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/domain/ref-arguments.js
1076
1089
  var TAKES = {
1077
1090
  chat: "a chat: chat:<provider>/<account>/<chat>, its id or its title",
1078
1091
  message: "a message: msg:<provider>/<account>/<chat>/<message>, or a chat and the message's id"
@@ -1132,7 +1145,7 @@ var ensureAccount = /* @__PURE__ */ __name(async (reference, scope, profilesOn)
1132
1145
  throw wrongAccount(reference, scope, profiles);
1133
1146
  }, "ensureAccount");
1134
1147
 
1135
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/search/lucene/automaton.js
1148
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/search/lucene/automaton.js
1136
1149
  var any = { kind: "char", ranges: [[0, 1114111]], negate: false };
1137
1150
  var literal = /* @__PURE__ */ __name((c) => ({
1138
1151
  kind: "char",
@@ -1532,7 +1545,7 @@ var foldRegex = /* @__PURE__ */ __name((pattern, span) => {
1532
1545
  return out;
1533
1546
  }, "foldRegex");
1534
1547
 
1535
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/search/trigrams.js
1548
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/search/trigrams.js
1536
1549
  var trigrams = /* @__PURE__ */ __name((term) => {
1537
1550
  const padded = ` ${term} `;
1538
1551
  const pieces = /* @__PURE__ */ new Set();
@@ -1541,7 +1554,7 @@ var trigrams = /* @__PURE__ */ __name((term) => {
1541
1554
  return [...pieces];
1542
1555
  }, "trigrams");
1543
1556
 
1544
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/resolve.js
1557
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/resolve.js
1545
1558
  var isId = /* @__PURE__ */ __name((reference) => /^-?\d+$/.test(reference.trim()), "isId");
1546
1559
  var foldName = /* @__PURE__ */ __name((name) => name.normalize("NFC").replace(/[\uFE0E\uFE0F\u200D]/g, "").toLowerCase().replaceAll("\u0451", "\u0435"), "foldName");
1547
1560
  var pickChat = /* @__PURE__ */ __name((reference, chats) => {
@@ -1612,7 +1625,7 @@ ${lines}`, { candidates });
1612
1625
  }, "ambiguous");
1613
1626
  var isPresent = /* @__PURE__ */ __name((value) => value !== null && value !== void 0, "isPresent");
1614
1627
 
1615
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/domain/display-names.js
1628
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/domain/display-names.js
1616
1629
  var QUOTES = [
1617
1630
  ['"', '"'],
1618
1631
  ["'", "'"],
@@ -1670,7 +1683,7 @@ var nameKey = /* @__PURE__ */ __name((name) => {
1670
1683
  }, "nameKey");
1671
1684
  var isReadable = /* @__PURE__ */ __name((shown) => shown !== null && READABLE.test(shown), "isReadable");
1672
1685
 
1673
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/domain/counters.js
1686
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/domain/counters.js
1674
1687
  var COUNTER_FIELDS = ["views", "reactions", "comments"];
1675
1688
  var validCounter = /* @__PURE__ */ __name((value) => typeof value === "number" && Number.isFinite(value) && value >= 0, "validCounter");
1676
1689
  var counterValue = /* @__PURE__ */ __name((message, field) => {
@@ -1707,7 +1720,7 @@ var counterFreshness = /* @__PURE__ */ __name((states) => {
1707
1720
  return states.some((one) => one.freshness === "stale") ? "stale" : "fresh";
1708
1721
  }, "counterFreshness");
1709
1722
 
1710
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/domain/rankings-options.js
1723
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/domain/rankings-options.js
1711
1724
  var MESSAGE_MEASURES = ["views", "reactions", "forwards", "comments", "replies", "thread-size"];
1712
1725
  var AUTHOR_MEASURES = [
1713
1726
  "messages",
@@ -1847,7 +1860,7 @@ var withoutUrls = /* @__PURE__ */ __name((text2) => text2.replace(/\S+/gu, (toke
1847
1860
  var rankingWords = /* @__PURE__ */ __name((text2) => withoutUrls(text2).match(/[\p{L}\p{N}]+/gu)?.length ?? 0, "rankingWords");
1848
1861
  var rankingQuestion = /* @__PURE__ */ __name((text2) => withoutUrls(text2).includes("?"), "rankingQuestion");
1849
1862
 
1850
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/domain/records.js
1863
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/domain/records.js
1851
1864
  import { createHash } from "node:crypto";
1852
1865
  var RECORDS_SCHEMA_VERSION = 1;
1853
1866
  var RECORD_OPERATIONS = ["upsert", "delete"];
@@ -2200,7 +2213,7 @@ var fieldReferences = /* @__PURE__ */ __name((record, options = {}) => {
2200
2213
  return found;
2201
2214
  }, "fieldReferences");
2202
2215
 
2203
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/domain/relation-role-labels.js
2216
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/domain/relation-role-labels.js
2204
2217
  var label = /* @__PURE__ */ __name((en, ru, es) => ({ en, ru, es }), "label");
2205
2218
  var ROLE_LABELS = {
2206
2219
  organization: {
@@ -2261,9 +2274,10 @@ export {
2261
2274
  article,
2262
2275
  isEmailAddress,
2263
2276
  ROLE_ADDRESS_WORDS,
2277
+ isNoReplyAddress,
2264
2278
  isRoleAddress,
2265
2279
  isPersonLikeRoleAddress,
2266
- isNoReplyAddress,
2280
+ isNotificationAddress,
2267
2281
  PHONE_COUNTRIES,
2268
2282
  DEFAULT_PHONE_COUNTRIES,
2269
2283
  parsePhoneCountries,