@wirecat/amo-cli 0.2.0 → 0.4.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 (183) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/README.md +19 -14
  3. package/contracts/wirecat.json +58 -19
  4. package/dist/amo/button.d.ts +53 -0
  5. package/dist/amo/button.d.ts.map +1 -0
  6. package/dist/amo/button.js +234 -0
  7. package/dist/amo/button.js.map +1 -0
  8. package/dist/amo/oauth.d.ts +12 -3
  9. package/dist/amo/oauth.d.ts.map +1 -1
  10. package/dist/amo/oauth.js +19 -6
  11. package/dist/amo/oauth.js.map +1 -1
  12. package/dist/bin/amo.js +2 -2
  13. package/dist/bundle/agent-43BMVBX2.js +40 -0
  14. package/dist/bundle/{all-profiles-3KQVWDV4.js → all-profiles-PRNXEZRH.js} +63 -21
  15. package/dist/bundle/amo.js +28 -26
  16. package/dist/bundle/{anthropic-N5NOX7K7.js → anthropic-FDI24DU2.js} +5 -5
  17. package/dist/bundle/{app-server-2MST5EZ5.js → app-server-WAKJVDLN.js} +79 -68
  18. package/dist/bundle/{bun-4NHWOFX2.js → bun-YPXUXMBI.js} +2 -2
  19. package/dist/bundle/{bun-sqlite-DRSXPWPR.js → bun-sqlite-UBQ5M47X.js} +6 -6
  20. package/dist/bundle/chunk-23AQD7JU.js +559 -0
  21. package/dist/bundle/{chunk-2I5UVMLW.js → chunk-2AIG2SSJ.js} +1733 -1160
  22. package/dist/bundle/{chunk-DQV2IKCF.js → chunk-2UJ7ZZZC.js} +10 -3
  23. package/dist/bundle/{chunk-ODNQU7DH.js → chunk-3K6T2G52.js} +43 -64
  24. package/dist/bundle/chunk-3PCVQCCV.js +108 -0
  25. package/dist/bundle/{chunk-UMVRT7VQ.js → chunk-3WG4MTQI.js} +1 -1
  26. package/dist/bundle/chunk-4PQECIU2.js +30 -0
  27. package/dist/bundle/{chunk-T2UDLX76.js → chunk-5HZMXHRH.js} +6 -6
  28. package/dist/bundle/{chunk-P3WQRTYZ.js → chunk-5II6TAJE.js} +1 -1
  29. package/dist/bundle/{chunk-RPWAJYI6.js → chunk-5SJEJYQZ.js} +3 -3
  30. package/dist/bundle/{chunk-5QFHNBGB.js → chunk-6PILR4AX.js} +2 -2
  31. package/dist/bundle/{chunk-TNUFLULO.js → chunk-6QMSKJB4.js} +8 -8
  32. package/dist/bundle/{chunk-5RLUHTK6.js → chunk-745FMNI5.js} +1 -1
  33. package/dist/bundle/{chunk-AUBB72VF.js → chunk-7OVTUADG.js} +41 -10
  34. package/dist/bundle/{chunk-7U5HJEPZ.js → chunk-A4W7J6VN.js} +34 -22
  35. package/dist/bundle/chunk-ABMPZL2P.js +734 -0
  36. package/dist/bundle/{chunk-EROSAUNP.js → chunk-AN6IJYH3.js} +5 -5
  37. package/dist/bundle/{chunk-SZ2V62HB.js → chunk-AP3CWDRK.js} +2 -2
  38. package/dist/bundle/{chunk-ESZSMZKT.js → chunk-ASU63X5C.js} +2 -2
  39. package/dist/bundle/{chunk-EPOV5UIO.js → chunk-BCIZAUDV.js} +11 -11
  40. package/dist/bundle/{chunk-7PKFYX7V.js → chunk-CEBX63XY.js} +8 -8
  41. package/dist/bundle/{chunk-7GTUZY7M.js → chunk-CYHIM5SL.js} +3 -3
  42. package/dist/bundle/chunk-DWA5TZMP.js +209 -0
  43. package/dist/bundle/{chunk-LDEBZ3IX.js → chunk-DWD3KDJA.js} +1 -1
  44. package/dist/bundle/{chunk-GQ7VFIYM.js → chunk-E3EWS6DF.js} +23 -7
  45. package/dist/bundle/{chunk-NJYAL3UW.js → chunk-EAX5RO7S.js} +1 -1
  46. package/dist/bundle/{chunk-LJQUYECN.js → chunk-EBNCUQLV.js} +1 -1
  47. package/dist/bundle/{chunk-UBRREVLJ.js → chunk-ELAKOEIO.js} +2 -2
  48. package/dist/bundle/{chunk-DAY6TSPF.js → chunk-FEUNZG7U.js} +62 -50
  49. package/dist/bundle/{chunk-63F65DHU.js → chunk-FQRP6JWX.js} +2 -2
  50. package/dist/bundle/{chunk-SMSTGO2G.js → chunk-G3LAYJJJ.js} +4 -4
  51. package/dist/bundle/{chunk-LGQXGOPJ.js → chunk-GBQ76X6T.js} +2 -2
  52. package/dist/bundle/{chunk-CHUKWON6.js → chunk-GJBOZAUD.js} +3 -3
  53. package/dist/bundle/{chunk-A33TIM5D.js → chunk-GMHRPX5M.js} +225 -225
  54. package/dist/bundle/{chunk-O2UCU52O.js → chunk-GQKEMBM6.js} +171 -569
  55. package/dist/bundle/{chunk-EQUKVVHX.js → chunk-HDZNSOV5.js} +7 -7
  56. package/dist/bundle/{chunk-ZM7I52EP.js → chunk-HZZ56JO7.js} +3 -4
  57. package/dist/bundle/{chunk-XQL7FEF4.js → chunk-IBEHYGG6.js} +9 -9
  58. package/dist/bundle/{chunk-U7RLVJ34.js → chunk-IPNIF5JE.js} +4 -4
  59. package/dist/bundle/{chunk-QDMXZZG4.js → chunk-KBAOJISR.js} +18 -8
  60. package/dist/bundle/{chunk-ADEWU4P4.js → chunk-KORZEYZN.js} +1 -1
  61. package/dist/bundle/{chunk-JMDLPBXK.js → chunk-KQZTX4LM.js} +17 -17
  62. package/dist/bundle/{chunk-NHXJYS4R.js → chunk-KRD375P7.js} +32 -28
  63. package/dist/bundle/{chunk-ULXQ5MJM.js → chunk-LAR2DLTI.js} +4 -4
  64. package/dist/bundle/{chunk-NC76INB2.js → chunk-LZ4IWN43.js} +3088 -2266
  65. package/dist/bundle/{chunk-BVMNXI53.js → chunk-M33XHJTM.js} +25 -25
  66. package/dist/bundle/{chunk-WCYCUTSK.js → chunk-M54YKD3I.js} +7 -7
  67. package/dist/bundle/{chunk-LSND5QYI.js → chunk-MW7HUD6R.js} +9 -9
  68. package/dist/bundle/{chunk-AHJ4W2IL.js → chunk-NFWD4QX3.js} +2 -2
  69. package/dist/bundle/{chunk-PM77PRB6.js → chunk-NKYWQTS2.js} +189 -163
  70. package/dist/bundle/{chunk-LRBPT7LQ.js → chunk-NXNUCGGO.js} +6 -6
  71. package/dist/bundle/{chunk-5D4Z2B5B.js → chunk-O3WE5IGP.js} +9 -9
  72. package/dist/bundle/chunk-OYMHPQF7.js +52 -0
  73. package/dist/bundle/{chunk-VVHRQ46X.js → chunk-PIOR6PIO.js} +2 -2
  74. package/dist/bundle/{chunk-5D4AEUVA.js → chunk-PL5P7UKW.js} +434 -1
  75. package/dist/bundle/{chunk-XEFAMLSD.js → chunk-PL7TNKAY.js} +3 -3
  76. package/dist/bundle/chunk-PLU2IQXC.js +80 -0
  77. package/dist/bundle/{chunk-73CXFE36.js → chunk-QGFURWEP.js} +29 -1
  78. package/dist/bundle/{chunk-CDY2NJFE.js → chunk-RQPB2BSH.js} +2 -2
  79. package/dist/bundle/{chunk-QRQYUHCZ.js → chunk-S6DTLAOB.js} +12 -12
  80. package/dist/bundle/{chunk-DJD7TBYG.js → chunk-SCMB4LI6.js} +76 -74
  81. package/dist/bundle/{chunk-TGEQNS6G.js → chunk-SFZVMKB6.js} +1 -1
  82. package/dist/bundle/{chunk-PFO76YFP.js → chunk-SHOSFYI7.js} +18 -18
  83. package/dist/bundle/{chunk-5SBLU7D7.js → chunk-SMM7GS4Q.js} +1 -1
  84. package/dist/bundle/{chunk-EQ7A6NA6.js → chunk-SNBYFQHT.js} +1 -1
  85. package/dist/bundle/{chunk-GNTJMB6X.js → chunk-SZX7EPPY.js} +4 -4
  86. package/dist/bundle/{chunk-VX37MPTJ.js → chunk-TCSVW7BA.js} +1 -1
  87. package/dist/bundle/{chunk-P5LYZRKW.js → chunk-TEGQVVCZ.js} +1992 -885
  88. package/dist/bundle/{chunk-Q2VNBY4Y.js → chunk-TIR3AB35.js} +758 -1205
  89. package/dist/bundle/{chunk-5HGGG3QO.js → chunk-U46RNOEQ.js} +16 -3
  90. package/dist/bundle/{chunk-Y37A3232.js → chunk-UCM7C773.js} +130 -8
  91. package/dist/bundle/{chunk-L6AFE73L.js → chunk-UEN5NWNW.js} +1 -1
  92. package/dist/bundle/{chunk-6RS7OYTD.js → chunk-V2QWX6B3.js} +3 -3
  93. package/dist/bundle/{chunk-3IRJDH2U.js → chunk-V5SETIQK.js} +2 -100
  94. package/dist/bundle/{chunk-JR6TSMFX.js → chunk-VEFAYLKX.js} +103 -70
  95. package/dist/bundle/{chunk-CUZRHF34.js → chunk-VG26HDKH.js} +4 -4
  96. package/dist/bundle/{chunk-4ZAK773N.js → chunk-VG2ERHFJ.js} +3 -3
  97. package/dist/bundle/{chunk-CHH42KI4.js → chunk-WAFB3IWJ.js} +8 -8
  98. package/dist/bundle/{chunk-5Z5PEEKP.js → chunk-WASBOYI2.js} +4 -4
  99. package/dist/bundle/{chunk-DXGGCGRP.js → chunk-WEWJA42Q.js} +14 -14
  100. package/dist/bundle/chunk-WR2FPZTE.js +353 -0
  101. package/dist/bundle/chunk-XEYT2EQT.js +338 -0
  102. package/dist/bundle/{chunk-DOSJONCX.js → chunk-YFRTEJ6V.js} +7 -7
  103. package/dist/bundle/{chunk-XRTD2GCU.js → chunk-YHVHDRED.js} +19 -258
  104. package/dist/bundle/{chunk-JH3UOHRE.js → chunk-YREKMP24.js} +4 -4
  105. package/dist/bundle/{chunk-V77XNPXG.js → chunk-Z2B3VNRI.js} +11 -11
  106. package/dist/bundle/{chunk-FKR3M62D.js → chunk-ZJC2XJQC.js} +13 -13
  107. package/dist/bundle/{chunk-5E5R65CA.js → chunk-ZKRWNL4T.js} +2 -2
  108. package/dist/bundle/{cli-QVWTXADI.js → cli-QDPKC2HJ.js} +150 -103
  109. package/dist/bundle/command-contract-KWNCP3MQ.js +39 -0
  110. package/dist/bundle/{command-server-entry-5VL5U5EE.js → command-server-entry-TX7WNN7G.js} +28 -28
  111. package/dist/bundle/{decode-SQ5WGNDX.js → decode-BLPC7OYE.js} +5 -5
  112. package/dist/bundle/{dispatch-LA4DFXJD.js → dispatch-5JUT55CS.js} +8 -8
  113. package/dist/bundle/dist-PAKDDIBT.js +191 -0
  114. package/dist/bundle/{echarts-25Z3RINX.js → echarts-54D3FOCL.js} +2 -2
  115. package/dist/bundle/{embed-BNOTNXMA.js → embed-O7KMDYM7.js} +6 -6
  116. package/dist/bundle/{embedder-BCUT7KKV.js → embedder-4PE67CLX.js} +9 -9
  117. package/dist/bundle/{failure-PKAC6XCT.js → failure-NNQYTB3Z.js} +2 -2
  118. package/dist/bundle/{first-run-EO5K5GME.js → first-run-EAU5SHBI.js} +12 -12
  119. package/dist/bundle/first-screen-APSNGZYZ.js +39 -0
  120. package/dist/bundle/{instructions-VLM3QAYB.js → instructions-ONXP5DZQ.js} +1 -1
  121. package/dist/bundle/{mcp-7ILNMJH5.js → mcp-ZNULRPZ4.js} +2 -2
  122. package/dist/bundle/meeting-combined-W2XIYXFU.js +24 -0
  123. package/dist/bundle/{meeting-model-GHMMUQ34.js → meeting-model-FWIZRKVN.js} +11 -11
  124. package/dist/bundle/{meeting-semantic-BMP6323L.js → meeting-semantic-M4YVJ57W.js} +6 -6
  125. package/dist/bundle/{node-CT3N3TNL.js → node-UTQCYQF5.js} +2 -2
  126. package/dist/bundle/{node-sqlite-MELD2SBX.js → node-sqlite-APJG6MGL.js} +7 -7
  127. package/dist/bundle/{oauth-YBH5OKC2.js → oauth-TY7RMIBL.js} +8 -8
  128. package/dist/bundle/{open-WNSBWTAG.js → open-WDVEQL75.js} +5 -5
  129. package/dist/bundle/{openai-XSNMNLW6.js → openai-H5UJHSEZ.js} +15 -15
  130. package/dist/bundle/{process-I2QKOMM7.js → process-MGMXXPMY.js} +1 -1
  131. package/dist/bundle/{program-G6O3IJR2.js → program-IF36C6VR.js} +969 -1127
  132. package/dist/bundle/{prompt-SOG4AKPM.js → prompt-4RLIWLMF.js} +5 -5
  133. package/dist/bundle/{recognize-WMQLWMXH.js → recognize-UIRTMWM4.js} +4 -4
  134. package/dist/bundle/{remote-4BTFOLFY.js → remote-L3MNWZQK.js} +9 -9
  135. package/dist/bundle/{rerank-LJ3TWRNV.js → rerank-F4KZQTY6.js} +7 -7
  136. package/dist/bundle/{serve-B6UANKXN.js → serve-37AUYTWS.js} +10 -10
  137. package/dist/bundle/server-CRF4QSZR.js +86 -0
  138. package/dist/bundle/{server-YRH6GJ5Z.js → server-UBG676ZJ.js} +73 -61
  139. package/dist/bundle/source-Z7GH7T4B.js +44 -0
  140. package/dist/bundle/{sqlite-runtime-R7QFWFE7.js → sqlite-runtime-CI3RW7VA.js} +6 -6
  141. package/dist/bundle/{state-DIJ5YUOE.js → state-JOHLSLUO.js} +6 -6
  142. package/dist/bundle/{store-MYTYDV6A.js → store-2MBG4IUS.js} +28 -21
  143. package/dist/bundle/{store-6WFWW7EC.js → store-OSOUXBYL.js} +28 -23
  144. package/dist/bundle/store-SNW6U32Y.js +34 -0
  145. package/dist/bundle/store-maintenance-command-W7V54SLT.js +73 -0
  146. package/dist/bundle/surface-ESJS2FUI.js +72 -0
  147. package/dist/bundle/writer-BJDQMKUV.js +46 -0
  148. package/dist/commands/account.d.ts +3 -2
  149. package/dist/commands/account.d.ts.map +1 -1
  150. package/dist/commands/account.js +38 -77
  151. package/dist/commands/account.js.map +1 -1
  152. package/dist/commands/crm-shared.d.ts.map +1 -1
  153. package/dist/commands/crm-shared.js +2 -0
  154. package/dist/commands/crm-shared.js.map +1 -1
  155. package/dist/commands/session.d.ts +23 -6
  156. package/dist/commands/session.d.ts.map +1 -1
  157. package/dist/commands/session.js +122 -77
  158. package/dist/commands/session.js.map +1 -1
  159. package/dist/identity.js +1 -1
  160. package/dist/identity.js.map +1 -1
  161. package/dist/program.d.ts.map +1 -1
  162. package/dist/program.js +0 -2
  163. package/dist/program.js.map +1 -1
  164. package/dist/reasons.js +2 -2
  165. package/dist/reasons.js.map +1 -1
  166. package/dist/setup/flow.d.ts.map +1 -1
  167. package/dist/setup/flow.js +74 -4
  168. package/dist/setup/flow.js.map +1 -1
  169. package/dist/setup/texts.en.json +22 -1
  170. package/dist/setup/texts.es.json +22 -1
  171. package/dist/setup/texts.ru.json +22 -1
  172. package/dist/version.d.ts +1 -1
  173. package/dist/version.js +1 -1
  174. package/package.json +3 -3
  175. package/skills/amo-cli/references/setup.md +8 -2
  176. package/dist/bundle/command-contract-QBUQBXH7.js +0 -39
  177. package/dist/bundle/first-screen-GMN3T6RW.js +0 -39
  178. package/dist/bundle/meeting-combined-LAMF7S2B.js +0 -24
  179. package/dist/bundle/server-S6XD6V6E.js +0 -77
  180. package/dist/bundle/source-DGFTA2TN.js +0 -42
  181. package/dist/bundle/store-CHWY2USQ.js +0 -32
  182. package/dist/bundle/store-maintenance-command-B5TMKFMG.js +0 -68
  183. package/dist/bundle/writer-GP7VIMAU.js +0 -44
@@ -1,7 +1,7 @@
1
1
  import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
 
4
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.113.0_commander@15.0.0_esbuild@0.28.2_typ_9a2e508bb6f63e7e29f0d776540ec8fd/node_modules/@wirecat/cli-core/dist/ports/wirecat-tools.js
4
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/ports/wirecat-tools.js
5
5
  var WIRECAT_TOOLS = [
6
6
  {
7
7
  command: "tg",
@@ -67,6 +67,13 @@ var WIRECAT_TOOLS = [
67
67
  package: "@wirecat/bitrix24-cli",
68
68
  does: "Bitrix24 CRM: deals, leads and pipelines, searchable with your other WireCat data"
69
69
  },
70
+ {
71
+ command: "amo",
72
+ appName: "amo-cli",
73
+ envPrefix: "AMO",
74
+ package: "@wirecat/amo-cli",
75
+ does: "amoCRM and Kommo: deals, contacts and companies, searchable with your other WireCat data"
76
+ },
70
77
  {
71
78
  command: "pbx",
72
79
  appName: "asterisk-cli",
@@ -80,6 +87,27 @@ var WIRECAT_TOOLS = [
80
87
  envPrefix: "WCNOTION",
81
88
  package: "@wirecat/notion-cli",
82
89
  does: "Notion pages and databases as local text, searchable with your other WireCat data"
90
+ },
91
+ {
92
+ command: "ydisk",
93
+ appName: "yandex-disk-cli",
94
+ envPrefix: "YDISK",
95
+ package: "@wirecat/yandex-disk-cli",
96
+ does: "Yandex Disk folders as local text, searchable with your other WireCat data"
97
+ },
98
+ {
99
+ command: "wordpress",
100
+ appName: "wordpress-cli",
101
+ envPrefix: "WCWP",
102
+ package: "@wirecat/wordpress-cli",
103
+ does: "WordPress posts and pages, searchable with your other WireCat data"
104
+ },
105
+ {
106
+ command: "linear",
107
+ appName: "linear-cli",
108
+ envPrefix: "WCLINEAR",
109
+ package: "@wirecat/linear-cli",
110
+ does: "Linear issues and projects, searchable with your other WireCat data"
83
111
  }
84
112
  ];
85
113
 
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  parseReference
5
- } from "./chunk-QRQYUHCZ.js";
5
+ } from "./chunk-S6DTLAOB.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.113.0_commander@15.0.0_esbuild@0.28.2_typ_9a2e508bb6f63e7e29f0d776540ec8fd/node_modules/@wirecat/cli-core/dist/domain/links.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/domain/links.js
11
11
  var LINK_VERSION = "v1";
12
12
  var DEFAULT_LINK_CONFIG = { base: "https://wirecat.dev/o", enabled: true };
13
13
  var APP_PREFIX = "wirecat://open";
@@ -3,16 +3,16 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  formatMeetingReference,
5
5
  parseMeetingReference
6
- } from "./chunk-A33TIM5D.js";
6
+ } from "./chunk-GMHRPX5M.js";
7
7
  import {
8
8
  CliError,
9
9
  singleLine
10
- } from "./chunk-SZ2V62HB.js";
10
+ } from "./chunk-AP3CWDRK.js";
11
11
  import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.113.0_commander@15.0.0_esbuild@0.28.2_typ_9a2e508bb6f63e7e29f0d776540ec8fd/node_modules/@wirecat/cli-core/dist/domain/money.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/domain/money.js
16
16
  var CURRENCY_SCALES = {
17
17
  AED: 2,
18
18
  AMD: 2,
@@ -106,7 +106,7 @@ var quantityOf = /* @__PURE__ */ __name((text) => {
106
106
  }, "quantityOf");
107
107
  var lineUnits = /* @__PURE__ */ __name((thousandths, unitPrice) => Number((thousandths * BigInt(unitPrice) + 500n) / 1000n), "lineUnits");
108
108
 
109
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.113.0_commander@15.0.0_esbuild@0.28.2_typ_9a2e508bb6f63e7e29f0d776540ec8fd/node_modules/@wirecat/cli-core/dist/domain/finance.js
109
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/domain/finance.js
110
110
  var INVOICE_DIRECTIONS = ["receivable", "payable"];
111
111
  var INVOICE_STATUSES = ["draft", "issued", "partly_paid", "paid", "void"];
112
112
  var MONEY_DIRECTIONS = ["in", "out"];
@@ -135,7 +135,7 @@ var paymentLine = /* @__PURE__ */ __name((payment) => {
135
135
  var invoiceTitle = /* @__PURE__ */ __name((invoice) => `Invoice ${invoiceLine(invoice)}`, "invoiceTitle");
136
136
  var paymentEntryTitle = /* @__PURE__ */ __name((payment) => `Payment \xB7 ${paymentLine(payment)}`, "paymentEntryTitle");
137
137
 
138
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.113.0_commander@15.0.0_esbuild@0.28.2_typ_9a2e508bb6f63e7e29f0d776540ec8fd/node_modules/@wirecat/cli-core/dist/domain/business.js
138
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/domain/business.js
139
139
  var CATALOG_KINDS = ["product", "service"];
140
140
  var BUSINESS_KINDS = ["invoice", "payment", "order", "contract", "subscription", "product", "wallet"];
141
141
  var CONTRACT_KINDS = ["sale", "purchase", "service", "lease", "employment", "nda", "license", "other"];
@@ -163,7 +163,7 @@ var subscriptionLine = /* @__PURE__ */ __name((subscription) => `${subscription.
163
163
  var walletLine = /* @__PURE__ */ __name((wallet) => `${wallet.name} \xB7 ${wallet.kind}, ${wallet.currency}${wallet.numberHint === null ? "" : `, \u2026${wallet.numberHint}`}` + notes(wallet.closed ? "closed" : null), "walletLine");
164
164
  var transactionLine = /* @__PURE__ */ __name((transaction) => `${moneyLabel(transaction.amount, transaction.currency)} ${transaction.direction}${transaction.label === null ? "" : ` \xB7 ${transaction.label}`}, ${dayMonth(transaction.date)}` + notes(transaction.status === "pending" ? "pending" : null, pending(transaction.review)), "transactionLine");
165
165
 
166
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.113.0_commander@15.0.0_esbuild@0.28.2_typ_9a2e508bb6f63e7e29f0d776540ec8fd/node_modules/@wirecat/cli-core/dist/domain/crm.js
166
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/domain/crm.js
167
167
  var CRM_KINDS = ["organization", "person", "deal", "lead"];
168
168
  var CRM_ACTIVITY_KINDS = ["call", "email", "meeting", "todo", "task", "comment", "other"];
169
169
  var isCrmUserId = /* @__PURE__ */ __name((id) => /^\d{1,20}$/.test(id), "isCrmUserId");
@@ -173,7 +173,7 @@ var normalCrmUserId = /* @__PURE__ */ __name((id) => {
173
173
  }, "normalCrmUserId");
174
174
  var isItemKind = /* @__PURE__ */ __name((kind2) => kind2 === "deal" || kind2 === "lead", "isItemKind");
175
175
 
176
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.113.0_commander@15.0.0_esbuild@0.28.2_typ_9a2e508bb6f63e7e29f0d776540ec8fd/node_modules/@wirecat/cli-core/dist/domain/deals.js
176
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/domain/deals.js
177
177
  var DEAL_KINDS = ["deal", "lead"];
178
178
  var DEAL_STATUSES = ["open", "won", "lost"];
179
179
  var STAGE_OUTCOMES = DEAL_STATUSES;
@@ -183,7 +183,7 @@ var dealLine = /* @__PURE__ */ __name((deal) => {
183
183
  return `${deal.title} \xB7 ${deal.stage}${money}${deal.status === "open" ? "" : ` (${deal.status})`}`;
184
184
  }, "dealLine");
185
185
 
186
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.113.0_commander@15.0.0_esbuild@0.28.2_typ_9a2e508bb6f63e7e29f0d776540ec8fd/node_modules/@wirecat/cli-core/dist/domain/locator.js
186
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/domain/locator.js
187
187
  var SCHEME = "msg:";
188
188
  var formatLocator = /* @__PURE__ */ __name(({ provider, account, chat, message }) => SCHEME + [provider, account, chat, message].map(encodeURIComponent).join("/"), "formatLocator");
189
189
  var isLocator = /* @__PURE__ */ __name((reference) => reference.trim().startsWith(SCHEME), "isLocator");
@@ -204,7 +204,7 @@ var parseLocator = /* @__PURE__ */ __name((reference) => {
204
204
  return { provider, account, chat, message };
205
205
  }, "parseLocator");
206
206
 
207
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.113.0_commander@15.0.0_esbuild@0.28.2_typ_9a2e508bb6f63e7e29f0d776540ec8fd/node_modules/@wirecat/cli-core/dist/domain/references.js
207
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/domain/references.js
208
208
  var SIMPLE_REFERENCES = [
209
209
  "note",
210
210
  "document",
@@ -367,7 +367,7 @@ var looksLikeReference = /* @__PURE__ */ __name((text) => {
367
367
  return match !== null && byPrefix.has(match[1]);
368
368
  }, "looksLikeReference");
369
369
 
370
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.113.0_commander@15.0.0_esbuild@0.28.2_typ_9a2e508bb6f63e7e29f0d776540ec8fd/node_modules/@wirecat/cli-core/dist/domain/providers.js
370
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/domain/providers.js
371
371
  var KINDS = ["messages", "mail", "notes", "documents", "meetings", "events", "crm"];
372
372
  var MESSENGER_OPENS = { chat: "messages list", message: "messages show", contact: "contacts show" };
373
373
  var PROVIDERS = [
@@ -542,7 +542,7 @@ var holdsKind = /* @__PURE__ */ __name((provider, kind2) => kindsIn(provider).in
542
542
  var holdsKindOf = /* @__PURE__ */ __name((provider, kind2) => kindIn(provider) === void 0 ? kind2 === "messages" : holdsKind(provider, kind2), "holdsKindOf");
543
543
  var kindOf = /* @__PURE__ */ __name((provider) => kindIn(provider) ?? "messages", "kindOf");
544
544
 
545
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.113.0_commander@15.0.0_esbuild@0.28.2_typ_9a2e508bb6f63e7e29f0d776540ec8fd/node_modules/@wirecat/cli-core/dist/domain/orders.js
545
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/domain/orders.js
546
546
  var ORDER_STATUSES = ["placed", "shipped", "delivered", "cancelled", "returned"];
547
547
  var ORDER_PURPOSES = ["personal", "business", "client", "other"];
548
548
  var orderLine = /* @__PURE__ */ __name((order) => {
@@ -553,7 +553,7 @@ var orderLine = /* @__PURE__ */ __name((order) => {
553
553
  }, "orderLine");
554
554
  var orderTitle = /* @__PURE__ */ __name((order) => `Order ${orderLine(order)}`, "orderTitle");
555
555
 
556
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.113.0_commander@15.0.0_esbuild@0.28.2_typ_9a2e508bb6f63e7e29f0d776540ec8fd/node_modules/@wirecat/cli-core/dist/domain/relations.js
556
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/domain/relations.js
557
557
  var ORGANIZATION_ROLES = [
558
558
  "employee",
559
559
  "contractor",
@@ -19,11 +19,11 @@ import {
19
19
  string,
20
20
  text,
21
21
  unknown
22
- } from "./chunk-AUBB72VF.js";
22
+ } from "./chunk-7OVTUADG.js";
23
23
  import {
24
24
  CliError,
25
25
  visibleControls
26
- } from "./chunk-SZ2V62HB.js";
26
+ } from "./chunk-AP3CWDRK.js";
27
27
  import {
28
28
  __commonJS,
29
29
  __name,
@@ -1896,7 +1896,7 @@ var require_cli_table3 = __commonJS({
1896
1896
  }
1897
1897
  });
1898
1898
 
1899
- // node_modules/.pnpm/@wirecat+cli-base@0.113.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/paths.js
1899
+ // node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/paths.js
1900
1900
  import { realpathSync } from "node:fs";
1901
1901
  import { homedir, userInfo } from "node:os";
1902
1902
  import { join, posix, win32 } from "node:path";
@@ -1970,7 +1970,64 @@ var homeIsMoved = /* @__PURE__ */ __name(({ env = process.env, platform = proces
1970
1970
  var isMovedRun = /* @__PURE__ */ __name((options) => pathsAreOverridden(options) || homeIsMoved(options), "isMovedRun");
1971
1971
  var configFilePath = /* @__PURE__ */ __name((configDir, fileName = "config.json") => join(configDir, fileName), "configFilePath");
1972
1972
 
1973
- // node_modules/.pnpm/@wirecat+cli-base@0.113.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/retry.js
1973
+ // node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/drain.js
1974
+ var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
1975
+ if (signal?.aborted)
1976
+ return Promise.reject(signal.reason);
1977
+ if (stream.destroyed)
1978
+ return Promise.reject(new Error("output stream closed"));
1979
+ if (!stream.writableNeedDrain)
1980
+ return Promise.resolve();
1981
+ return new Promise((resolve2, reject) => {
1982
+ const cleanup = /* @__PURE__ */ __name(() => {
1983
+ stream.off("drain", drained).off("error", failed).off("close", closed);
1984
+ signal?.removeEventListener("abort", aborted);
1985
+ }, "cleanup");
1986
+ const drained = /* @__PURE__ */ __name(() => {
1987
+ cleanup();
1988
+ resolve2();
1989
+ }, "drained");
1990
+ const failed = /* @__PURE__ */ __name((error) => {
1991
+ cleanup();
1992
+ reject(error);
1993
+ }, "failed");
1994
+ const closed = /* @__PURE__ */ __name(() => failed(new Error("output stream closed before drain")), "closed");
1995
+ const aborted = /* @__PURE__ */ __name(() => failed(signal?.reason), "aborted");
1996
+ stream.once("drain", drained).once("error", failed).once("close", closed);
1997
+ signal?.addEventListener("abort", aborted, { once: true });
1998
+ });
1999
+ }, "waitForDrain");
2000
+
2001
+ // node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/streams.js
2002
+ var processStreams = {
2003
+ drain: /* @__PURE__ */ __name(async (signal) => {
2004
+ await Promise.all([waitForDrain(process.stdout, signal), waitForDrain(process.stderr, signal)]);
2005
+ }, "drain"),
2006
+ data: /* @__PURE__ */ __name((text2) => {
2007
+ process.stdout.write(`${text2}
2008
+ `);
2009
+ }, "data"),
2010
+ diagnostic: /* @__PURE__ */ __name((text2) => {
2011
+ process.stderr.write(`${text2}
2012
+ `);
2013
+ }, "diagnostic"),
2014
+ progress: /* @__PURE__ */ __name((text2) => {
2015
+ process.stderr.write(`\r${text2.padEnd(72)}${text2 === "" ? "\r" : ""}`);
2016
+ }, "progress")
2017
+ };
2018
+ var captureStreams = /* @__PURE__ */ __name(() => {
2019
+ const stdout = [];
2020
+ const stderr = [];
2021
+ return {
2022
+ stdout,
2023
+ stderr,
2024
+ data: /* @__PURE__ */ __name((text2) => stdout.push(text2), "data"),
2025
+ diagnostic: /* @__PURE__ */ __name((text2) => stderr.push(text2), "diagnostic"),
2026
+ progress: /* @__PURE__ */ __name((text2) => stderr.push(text2), "progress")
2027
+ };
2028
+ }, "captureStreams");
2029
+
2030
+ // node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/retry.js
1974
2031
  var DEFAULT_RETRY = {
1975
2032
  retries: 1,
1976
2033
  baseDelayMs: 250,
@@ -1982,7 +2039,7 @@ var backoffMs = /* @__PURE__ */ __name((attempt, config, random) => {
1982
2039
  return Math.round(random() * ceiling);
1983
2040
  }, "backoffMs");
1984
2041
 
1985
- // node_modules/.pnpm/@wirecat+cli-base@0.113.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/result-fields.js
2042
+ // node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/result-fields.js
1986
2043
  var forbidden = /* @__PURE__ */ new Set(["__proto__", "prototype", "constructor"]);
1987
2044
  var validate = /* @__PURE__ */ __name((paths) => {
1988
2045
  if (paths.length === 0 || paths.length > 128 || paths.some((path) => path.length > 256 || !/^[A-Za-z][A-Za-z0-9_]*(?:\.[A-Za-z][A-Za-z0-9_]*)*$/.test(path) || path.split(".").some((part) => forbidden.has(part))))
@@ -2047,7 +2104,7 @@ var projectFields = /* @__PURE__ */ __name((value, fields) => {
2047
2104
  return project(value, fields);
2048
2105
  }, "projectFields");
2049
2106
 
2050
- // node_modules/.pnpm/@wirecat+cli-base@0.113.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/batch.js
2107
+ // node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/batch.js
2051
2108
  var BATCH_LIMITS = Object.freeze({
2052
2109
  requests: 32,
2053
2110
  input_bytes: 262144,
@@ -2174,7 +2231,7 @@ var runBatch = /* @__PURE__ */ __name(async (requests, options = {}) => {
2174
2231
  };
2175
2232
  }, "runBatch");
2176
2233
 
2177
- // node_modules/.pnpm/@wirecat+cli-base@0.113.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/config.js
2234
+ // node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/config.js
2178
2235
  import { randomBytes } from "node:crypto";
2179
2236
  import { mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from "node:fs";
2180
2237
  import { dirname, join as join2 } from "node:path";
@@ -2218,16 +2275,16 @@ var saveConfigFile = /* @__PURE__ */ __name((path, config) => {
2218
2275
  `, 384);
2219
2276
  }, "saveConfigFile");
2220
2277
 
2221
- // node_modules/.pnpm/@wirecat+cli-base@0.113.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/constants.js
2278
+ // node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/constants.js
2222
2279
  var BASE_CONSTANTS = new URL("../constants.json", new URL("constants.js", import.meta.resolve("@wirecat/cli-base")).href);
2223
2280
  var baseConstantsSchema = object({});
2224
2281
  var LayerSchema = record(string(), unknown());
2225
2282
 
2226
- // node_modules/.pnpm/@wirecat+cli-base@0.113.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
2283
+ // node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
2227
2284
  import { readFileSync as readFileSync2 } from "node:fs";
2228
2285
  import { join as join3, resolve } from "node:path";
2229
2286
 
2230
- // node_modules/.pnpm/@wirecat+cli-base@0.113.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/keyring.js
2287
+ // node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/keyring.js
2231
2288
  import { createRequire } from "node:module";
2232
2289
  var ENTRY_OPTIONS = { linux: { store: "secret-service" } };
2233
2290
  var require2 = createRequire(new URL("keyring.js", import.meta.resolve("@wirecat/cli-base")).href);
@@ -2253,7 +2310,7 @@ var systemKeyring = {
2253
2310
  delete: /* @__PURE__ */ __name((service, account) => entry(service, account).deletePassword(), "delete")
2254
2311
  };
2255
2312
 
2256
- // node_modules/.pnpm/@wirecat+cli-base@0.113.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
2313
+ // node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
2257
2314
  var keyringService = /* @__PURE__ */ __name((service, _configDir, _isolated) => service, "keyringService");
2258
2315
  var movedRunService = /* @__PURE__ */ __name((service, configDir) => `${service}:${resolve(configDir)}`, "movedRunService");
2259
2316
  var warnedRuns = /* @__PURE__ */ new WeakSet();
@@ -2398,7 +2455,7 @@ var Credentials = class {
2398
2455
  }
2399
2456
  };
2400
2457
 
2401
- // node_modules/.pnpm/@wirecat+cli-base@0.113.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/time.js
2458
+ // node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/time.js
2402
2459
  var abortError = /* @__PURE__ */ __name(() => new DOMException("The operation was aborted.", "AbortError"), "abortError");
2403
2460
  var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, reject) => {
2404
2461
  if (signal?.aborted) {
@@ -2411,12 +2468,13 @@ var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, re
2411
2468
  reject(abortError());
2412
2469
  }, { once: true });
2413
2470
  }), "realSleep");
2471
+ var monotonic = /* @__PURE__ */ __name(() => performance.now(), "monotonic");
2414
2472
  var wallClock = /* @__PURE__ */ __name(() => /* @__PURE__ */ new Date(), "wallClock");
2415
2473
 
2416
- // node_modules/.pnpm/@wirecat+cli-base@0.113.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/logging.js
2474
+ // node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/logging.js
2417
2475
  import { appendFileSync } from "node:fs";
2418
2476
 
2419
- // node_modules/.pnpm/@wirecat+cli-base@0.113.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/log.js
2477
+ // node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/log.js
2420
2478
  var LOG_SEVERITIES = ["trace", "debug", "info", "warn", "error", "fatal"];
2421
2479
  var logRecordSchema = strictObject({
2422
2480
  time: isoTime,
@@ -2494,7 +2552,7 @@ var traceIdOf = /* @__PURE__ */ __name((traceparent) => {
2494
2552
  return traceId;
2495
2553
  }, "traceIdOf");
2496
2554
 
2497
- // node_modules/.pnpm/@wirecat+cli-base@0.113.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/logging.js
2555
+ // node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/logging.js
2498
2556
  var REDACTED_FIELDS = [
2499
2557
  "authorization",
2500
2558
  "Authorization",
@@ -2588,7 +2646,7 @@ var silent = {
2588
2646
  }, "error")
2589
2647
  };
2590
2648
 
2591
- // node_modules/.pnpm/@wirecat+cli-base@0.113.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/pretty.js
2649
+ // node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/pretty.js
2592
2650
  var import_cli_table3 = __toESM(require_cli_table3(), 1);
2593
2651
  import { styleText } from "node:util";
2594
2652
  var renderPretty = /* @__PURE__ */ __name((value, options) => {
@@ -2663,64 +2721,7 @@ var BORDERLESS = {
2663
2721
  middle: ""
2664
2722
  };
2665
2723
 
2666
- // node_modules/.pnpm/@wirecat+cli-base@0.113.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/drain.js
2667
- var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
2668
- if (signal?.aborted)
2669
- return Promise.reject(signal.reason);
2670
- if (stream.destroyed)
2671
- return Promise.reject(new Error("output stream closed"));
2672
- if (!stream.writableNeedDrain)
2673
- return Promise.resolve();
2674
- return new Promise((resolve2, reject) => {
2675
- const cleanup = /* @__PURE__ */ __name(() => {
2676
- stream.off("drain", drained).off("error", failed).off("close", closed);
2677
- signal?.removeEventListener("abort", aborted);
2678
- }, "cleanup");
2679
- const drained = /* @__PURE__ */ __name(() => {
2680
- cleanup();
2681
- resolve2();
2682
- }, "drained");
2683
- const failed = /* @__PURE__ */ __name((error) => {
2684
- cleanup();
2685
- reject(error);
2686
- }, "failed");
2687
- const closed = /* @__PURE__ */ __name(() => failed(new Error("output stream closed before drain")), "closed");
2688
- const aborted = /* @__PURE__ */ __name(() => failed(signal?.reason), "aborted");
2689
- stream.once("drain", drained).once("error", failed).once("close", closed);
2690
- signal?.addEventListener("abort", aborted, { once: true });
2691
- });
2692
- }, "waitForDrain");
2693
-
2694
- // node_modules/.pnpm/@wirecat+cli-base@0.113.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/streams.js
2695
- var processStreams = {
2696
- drain: /* @__PURE__ */ __name(async (signal) => {
2697
- await Promise.all([waitForDrain(process.stdout, signal), waitForDrain(process.stderr, signal)]);
2698
- }, "drain"),
2699
- data: /* @__PURE__ */ __name((text2) => {
2700
- process.stdout.write(`${text2}
2701
- `);
2702
- }, "data"),
2703
- diagnostic: /* @__PURE__ */ __name((text2) => {
2704
- process.stderr.write(`${text2}
2705
- `);
2706
- }, "diagnostic"),
2707
- progress: /* @__PURE__ */ __name((text2) => {
2708
- process.stderr.write(`\r${text2.padEnd(72)}${text2 === "" ? "\r" : ""}`);
2709
- }, "progress")
2710
- };
2711
- var captureStreams = /* @__PURE__ */ __name(() => {
2712
- const stdout = [];
2713
- const stderr = [];
2714
- return {
2715
- stdout,
2716
- stderr,
2717
- data: /* @__PURE__ */ __name((text2) => stdout.push(text2), "data"),
2718
- diagnostic: /* @__PURE__ */ __name((text2) => stderr.push(text2), "diagnostic"),
2719
- progress: /* @__PURE__ */ __name((text2) => stderr.push(text2), "progress")
2720
- };
2721
- }, "captureStreams");
2722
-
2723
- // node_modules/.pnpm/@wirecat+cli-base@0.113.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/renderer.js
2724
+ // node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/renderer.js
2724
2725
  var createRenderer = /* @__PURE__ */ __name(({ format, color, streams = processStreams, quiet = false }) => {
2725
2726
  const mark = /* @__PURE__ */ __name((symbol, message) => format === "pretty" ? `${symbol} ${visibleControls(message)}` : visibleControls(message), "mark");
2726
2727
  const say = /* @__PURE__ */ __name((symbol) => (message) => {
@@ -2775,6 +2776,7 @@ export {
2775
2776
  keyringService,
2776
2777
  Credentials,
2777
2778
  realSleep,
2779
+ monotonic,
2778
2780
  wallClock,
2779
2781
  defineLogEvents,
2780
2782
  isContentKey,
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.113.0_commander@15.0.0_esbuild@0.28.2_typ_9a2e508bb6f63e7e29f0d776540ec8fd/node_modules/@wirecat/cli-core/dist/store/normalize.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/store/normalize.js
8
8
  var NORMALIZER_VERSION = 1;
9
9
  var fold = /* @__PURE__ */ __name((text) => text.normalize("NFKD").replace(new RegExp("\\p{M}+", "gu"), "").normalize("NFC").toLowerCase(), "fold");
10
10
  var normalize = /* @__PURE__ */ __name((text) => fold(text).replace(new RegExp("\\p{Cc}", "gu"), " ").replace(/\s+/gu, " ").trim(), "normalize");
@@ -4,10 +4,10 @@ import {
4
4
  QUERY_LIMITS,
5
5
  exhausted,
6
6
  searchError
7
- } from "./chunk-DQV2IKCF.js";
7
+ } from "./chunk-2UJ7ZZZC.js";
8
8
  import {
9
9
  fold
10
- } from "./chunk-TGEQNS6G.js";
10
+ } from "./chunk-SFZVMKB6.js";
11
11
  import {
12
12
  CATALOG_KINDS,
13
13
  CONTRACT_KINDS,
@@ -26,16 +26,16 @@ import {
26
26
  parseReference,
27
27
  providerLabel,
28
28
  providerNamed
29
- } from "./chunk-QRQYUHCZ.js";
29
+ } from "./chunk-S6DTLAOB.js";
30
30
  import {
31
31
  CliError,
32
32
  singleLine
33
- } from "./chunk-SZ2V62HB.js";
33
+ } from "./chunk-AP3CWDRK.js";
34
34
  import {
35
35
  __name
36
36
  } from "./chunk-ZVVMGPBJ.js";
37
37
 
38
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.113.0_commander@15.0.0_esbuild@0.28.2_typ_9a2e508bb6f63e7e29f0d776540ec8fd/node_modules/@wirecat/cli-core/dist/domain/addresses.js
38
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/domain/addresses.js
39
39
  var EMAIL_ADDRESS = /^[^\s@]+@[^\s@]+\.[^\s@]+$/u;
40
40
  var isEmailAddress = /* @__PURE__ */ __name((value) => EMAIL_ADDRESS.test(value), "isEmailAddress");
41
41
  var ROLE_ADDRESS_WORDS = {
@@ -97,7 +97,7 @@ var PERSON_LIKE = /* @__PURE__ */ new Set(["hr"]);
97
97
  var isPersonLikeRoleAddress = /* @__PURE__ */ __name((address) => PERSON_LIKE.has(localWord(address)), "isPersonLikeRoleAddress");
98
98
  var isNoReplyAddress = /* @__PURE__ */ __name((address) => NO_REPLY.has(localWord(address)), "isNoReplyAddress");
99
99
 
100
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.113.0_commander@15.0.0_esbuild@0.28.2_typ_9a2e508bb6f63e7e29f0d776540ec8fd/node_modules/@wirecat/cli-core/dist/domain/ref-arguments.js
100
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/domain/ref-arguments.js
101
101
  var TAKES = {
102
102
  chat: "a chat: chat:<provider>/<account>/<chat>, its id or its title",
103
103
  message: "a message: msg:<provider>/<account>/<chat>/<message>, or a chat and the message's id"
@@ -157,7 +157,7 @@ var ensureAccount = /* @__PURE__ */ __name(async (reference, scope, profilesOn)
157
157
  throw wrongAccount(reference, scope, profiles);
158
158
  }, "ensureAccount");
159
159
 
160
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.113.0_commander@15.0.0_esbuild@0.28.2_typ_9a2e508bb6f63e7e29f0d776540ec8fd/node_modules/@wirecat/cli-core/dist/search/lucene/automaton.js
160
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/search/lucene/automaton.js
161
161
  var any = { kind: "char", ranges: [[0, 1114111]], negate: false };
162
162
  var literal = /* @__PURE__ */ __name((c) => ({
163
163
  kind: "char",
@@ -557,7 +557,7 @@ var foldRegex = /* @__PURE__ */ __name((pattern, span) => {
557
557
  return out;
558
558
  }, "foldRegex");
559
559
 
560
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.113.0_commander@15.0.0_esbuild@0.28.2_typ_9a2e508bb6f63e7e29f0d776540ec8fd/node_modules/@wirecat/cli-core/dist/search/trigrams.js
560
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/search/trigrams.js
561
561
  var trigrams = /* @__PURE__ */ __name((term) => {
562
562
  const padded = ` ${term} `;
563
563
  const pieces = /* @__PURE__ */ new Set();
@@ -566,7 +566,7 @@ var trigrams = /* @__PURE__ */ __name((term) => {
566
566
  return [...pieces];
567
567
  }, "trigrams");
568
568
 
569
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.113.0_commander@15.0.0_esbuild@0.28.2_typ_9a2e508bb6f63e7e29f0d776540ec8fd/node_modules/@wirecat/cli-core/dist/resolve.js
569
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/resolve.js
570
570
  var isId = /* @__PURE__ */ __name((reference) => /^-?\d+$/.test(reference.trim()), "isId");
571
571
  var foldName = /* @__PURE__ */ __name((name) => name.normalize("NFC").replace(/[\uFE0E\uFE0F\u200D]/g, "").toLowerCase().replaceAll("\u0451", "\u0435"), "foldName");
572
572
  var pickChat = /* @__PURE__ */ __name((reference, chats) => {
@@ -637,7 +637,7 @@ ${lines}`, { candidates });
637
637
  }, "ambiguous");
638
638
  var isPresent = /* @__PURE__ */ __name((value) => value !== null && value !== void 0, "isPresent");
639
639
 
640
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.113.0_commander@15.0.0_esbuild@0.28.2_typ_9a2e508bb6f63e7e29f0d776540ec8fd/node_modules/@wirecat/cli-core/dist/domain/display-names.js
640
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/domain/display-names.js
641
641
  var QUOTES = [
642
642
  ['"', '"'],
643
643
  ["'", "'"],
@@ -695,7 +695,7 @@ var nameKey = /* @__PURE__ */ __name((name) => {
695
695
  }, "nameKey");
696
696
  var isReadable = /* @__PURE__ */ __name((shown) => shown !== null && READABLE.test(shown), "isReadable");
697
697
 
698
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.113.0_commander@15.0.0_esbuild@0.28.2_typ_9a2e508bb6f63e7e29f0d776540ec8fd/node_modules/@wirecat/cli-core/dist/domain/phone-plans.generated.js
698
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/domain/phone-plans.generated.js
699
699
  var PHONE_PLANS = [
700
700
  {
701
701
  country: "us",
@@ -1075,7 +1075,7 @@ var PHONE_PLANS = [
1075
1075
  }
1076
1076
  ];
1077
1077
 
1078
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.113.0_commander@15.0.0_esbuild@0.28.2_typ_9a2e508bb6f63e7e29f0d776540ec8fd/node_modules/@wirecat/cli-core/dist/domain/phones.js
1078
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/domain/phones.js
1079
1079
  var PHONE_COUNTRIES = PHONE_PLANS.map((plan) => plan.country);
1080
1080
  var DEFAULT_PHONE_COUNTRIES = ["ru"];
1081
1081
  var parsePhoneCountries = /* @__PURE__ */ __name((value) => {
@@ -1150,7 +1150,7 @@ var storedPhone = /* @__PURE__ */ __name((raw, provider) => {
1150
1150
  return found ? `+${found[1]}` : void 0;
1151
1151
  }, "storedPhone");
1152
1152
 
1153
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.113.0_commander@15.0.0_esbuild@0.28.2_typ_9a2e508bb6f63e7e29f0d776540ec8fd/node_modules/@wirecat/cli-core/dist/domain/record-fields.js
1153
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/domain/record-fields.js
1154
1154
  var DECIMAL_PATTERN = "^[0-9]{1,16}(\\.[0-9]{1,6})?$";
1155
1155
  var SIGNED_DECIMAL = "^-?[0-9]{1,16}(\\.[0-9]{1,6})?$";
1156
1156
  var DAY = "^[0-9]{4}-[0-9]{2}-[0-9]{2}$";
@@ -1200,7 +1200,7 @@ var arrayOf = /* @__PURE__ */ __name((item, maxItems, description) => ({
1200
1200
  }), "arrayOf");
1201
1201
  var isObject = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isObject");
1202
1202
 
1203
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.113.0_commander@15.0.0_esbuild@0.28.2_typ_9a2e508bb6f63e7e29f0d776540ec8fd/node_modules/@wirecat/cli-core/dist/domain/record-types.js
1203
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/domain/record-types.js
1204
1204
  var kept = /* @__PURE__ */ __name((description) => ({ description }), "kept");
1205
1205
  var PARTY = ["person", "organization"];
1206
1206
  var ORGANIZATION = ["organization"];
@@ -1595,7 +1595,7 @@ var hasV1Roles = /* @__PURE__ */ __name((type) => rolesOf(type).some(([, role])
1595
1595
  var IDENTITY_TYPES = RECORD_ENTITY_TYPES.filter((type) => RECORD_TYPES[type].review === "identity");
1596
1596
  var article2 = /* @__PURE__ */ __name((word) => /^[aeiou]/.test(word) ? "an" : "a", "article");
1597
1597
 
1598
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.113.0_commander@15.0.0_esbuild@0.28.2_typ_9a2e508bb6f63e7e29f0d776540ec8fd/node_modules/@wirecat/cli-core/dist/domain/records.js
1598
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/domain/records.js
1599
1599
  import { createHash } from "node:crypto";
1600
1600
  var RECORDS_SCHEMA_VERSION = 1;
1601
1601
  var RECORD_OPERATIONS = ["upsert", "delete"];
@@ -1736,7 +1736,7 @@ var fieldReferences = /* @__PURE__ */ __name((record, options = {}) => {
1736
1736
  return found;
1737
1737
  }, "fieldReferences");
1738
1738
 
1739
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.113.0_commander@15.0.0_esbuild@0.28.2_typ_9a2e508bb6f63e7e29f0d776540ec8fd/node_modules/@wirecat/cli-core/dist/domain/counters.js
1739
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/domain/counters.js
1740
1740
  var COUNTER_FIELDS = ["views", "reactions", "comments"];
1741
1741
  var validCounter = /* @__PURE__ */ __name((value) => typeof value === "number" && Number.isFinite(value) && value >= 0, "validCounter");
1742
1742
  var counterObservationTime = /* @__PURE__ */ __name((observation, now) => {
@@ -1755,7 +1755,7 @@ var counterFreshness = /* @__PURE__ */ __name((states) => {
1755
1755
  return states.some((one) => one.freshness === "stale") ? "stale" : "fresh";
1756
1756
  }, "counterFreshness");
1757
1757
 
1758
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.113.0_commander@15.0.0_esbuild@0.28.2_typ_9a2e508bb6f63e7e29f0d776540ec8fd/node_modules/@wirecat/cli-core/dist/domain/rankings-options.js
1758
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/domain/rankings-options.js
1759
1759
  var MESSAGE_MEASURES = ["views", "reactions", "forwards", "comments", "replies", "thread-size"];
1760
1760
  var AUTHOR_MEASURES = [
1761
1761
  "messages",
@@ -1895,7 +1895,7 @@ var withoutUrls = /* @__PURE__ */ __name((text2) => text2.replace(/\S+/gu, (toke
1895
1895
  var rankingWords = /* @__PURE__ */ __name((text2) => withoutUrls(text2).match(/[\p{L}\p{N}]+/gu)?.length ?? 0, "rankingWords");
1896
1896
  var rankingQuestion = /* @__PURE__ */ __name((text2) => withoutUrls(text2).includes("?"), "rankingQuestion");
1897
1897
 
1898
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.113.0_commander@15.0.0_esbuild@0.28.2_typ_9a2e508bb6f63e7e29f0d776540ec8fd/node_modules/@wirecat/cli-core/dist/domain/relation-role-labels.js
1898
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/domain/relation-role-labels.js
1899
1899
  var label = /* @__PURE__ */ __name((en, ru, es) => ({ en, ru, es }), "label");
1900
1900
  var ROLE_LABELS = {
1901
1901
  organization: {
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.113.0_commander@15.0.0_esbuild@0.28.2_typ_9a2e508bb6f63e7e29f0d776540ec8fd/node_modules/@wirecat/cli-core/dist/background/processes.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/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.691.0_@wirecat+cli-base@0.113.0_commander@15.0.0_esbuild@0.28.2_typ_9a2e508bb6f63e7e29f0d776540ec8fd/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
8
8
  var instructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => {
9
9
  const all = typeof profile !== "string";
10
10
  const offers = /* @__PURE__ */ __name((key) => all || writes.includes(key), "offers");