@wirecat/zoom-cli 0.78.0 → 0.79.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 (179) hide show
  1. package/dist/bin/zm.js +2 -2
  2. package/dist/bundle/{all-profiles-7JN3N3E6.js → all-profiles-LDSHUH5W.js} +11 -11
  3. package/dist/bundle/answer-policy-VJK4ID2F.js +122 -0
  4. package/dist/bundle/{anthropic-U6O7UYGZ.js → anthropic-UH3QWA3F.js} +6 -6
  5. package/dist/bundle/{app-server-G7BTC6CE.js → app-server-LFANTLAJ.js} +68 -68
  6. package/dist/bundle/{bun-VLROVUFK.js → bun-M3J2QTR3.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-C5JLANDE.js → bun-sqlite-NYP5UH23.js} +7 -7
  8. package/dist/bundle/{chunk-53TV72JG.js → chunk-2GI63IPV.js} +2 -2
  9. package/dist/bundle/{chunk-OI4563JI.js → chunk-2IPIBDXI.js} +13 -13
  10. package/dist/bundle/{chunk-HOJOVUO6.js → chunk-2LJARGNG.js} +12 -12
  11. package/dist/bundle/{chunk-NS5XSCHC.js → chunk-2N57GL4L.js} +1 -1
  12. package/dist/bundle/{chunk-YZKVCTZI.js → chunk-2OTETB4A.js} +8 -8
  13. package/dist/bundle/{chunk-MVLLWSV7.js → chunk-2PUMYKGV.js} +16 -16
  14. package/dist/bundle/{chunk-XSF5OBVZ.js → chunk-2W6QGFHF.js} +8 -8
  15. package/dist/bundle/{chunk-HI4QICF7.js → chunk-3AFZ6Q5N.js} +12 -12
  16. package/dist/bundle/{chunk-P5QO7Y3H.js → chunk-3QPAD6YI.js} +6 -6
  17. package/dist/bundle/{chunk-HGBZBQAE.js → chunk-4BQN5IFQ.js} +3 -3
  18. package/dist/bundle/{chunk-2AWWMROP.js → chunk-4S7RUA3U.js} +505 -391
  19. package/dist/bundle/{chunk-FCGRXUAU.js → chunk-4T3J4NCF.js} +9 -9
  20. package/dist/bundle/{chunk-5DLK4OXF.js → chunk-525BI32C.js} +3 -3
  21. package/dist/bundle/{chunk-ORSTSBWU.js → chunk-52ZQ72HL.js} +1 -1
  22. package/dist/bundle/{chunk-XCOGI4JE.js → chunk-5KEOCHBZ.js} +4 -4
  23. package/dist/bundle/{chunk-WJTXO2EI.js → chunk-5RVXXDN7.js} +1 -1
  24. package/dist/bundle/{chunk-WEAMGNST.js → chunk-63WT3HCY.js} +3 -3
  25. package/dist/bundle/{chunk-4XPVRZXE.js → chunk-65DOVVHQ.js} +1 -1
  26. package/dist/bundle/{chunk-LBTANUUH.js → chunk-73L5R7AS.js} +2 -2
  27. package/dist/bundle/{chunk-2LMD3JUD.js → chunk-7DTWT7BN.js} +2 -2
  28. package/dist/bundle/{chunk-LERF2FIK.js → chunk-AWLZZTPW.js} +3 -3
  29. package/dist/bundle/{chunk-FMMCGQNT.js → chunk-AZB6QXZU.js} +5 -3
  30. package/dist/bundle/{chunk-OAYAGQ7C.js → chunk-BNEJKGG7.js} +31 -22
  31. package/dist/bundle/{chunk-H34KEXTN.js → chunk-BOVYOUB3.js} +10 -10
  32. package/dist/bundle/{chunk-BAHXR4PA.js → chunk-BTFPDS52.js} +6 -6
  33. package/dist/bundle/{chunk-NO2LIHWA.js → chunk-CWXOXIWS.js} +1 -1
  34. package/dist/bundle/{chunk-7EVB4UV7.js → chunk-D264RGZ4.js} +4 -4
  35. package/dist/bundle/{chunk-VMA7SILL.js → chunk-DFCHHR5M.js} +1 -1
  36. package/dist/bundle/{chunk-C26V2XNV.js → chunk-DI5JX4SD.js} +1 -1
  37. package/dist/bundle/{chunk-INJK7FNM.js → chunk-DQVCCO7G.js} +183 -171
  38. package/dist/bundle/{chunk-LX532BXO.js → chunk-E5WLE7BM.js} +1 -1
  39. package/dist/bundle/{chunk-H74NENWA.js → chunk-FIJREKLA.js} +3 -3
  40. package/dist/bundle/{chunk-UIBKGH5P.js → chunk-FKA7DOCK.js} +1 -1
  41. package/dist/bundle/{chunk-OAE6XR7E.js → chunk-FMT4CIGN.js} +7 -7
  42. package/dist/bundle/{chunk-ZZJ5IWNT.js → chunk-FO5UNFFN.js} +4 -4
  43. package/dist/bundle/chunk-FPUGMDJV.js +7 -0
  44. package/dist/bundle/{chunk-HUSIS3XO.js → chunk-GTUBQQU2.js} +64 -61
  45. package/dist/bundle/{chunk-B4V4DRVO.js → chunk-HOXBHGP2.js} +12 -12
  46. package/dist/bundle/{chunk-FURKMNC2.js → chunk-HVQVCGME.js} +3 -3
  47. package/dist/bundle/{chunk-7K5O2VWO.js → chunk-HZRQLAHO.js} +1 -1
  48. package/dist/bundle/{chunk-M5R2DURM.js → chunk-I6VDTYML.js} +10 -10
  49. package/dist/bundle/{chunk-LBV4673S.js → chunk-I75KOOUD.js} +3 -3
  50. package/dist/bundle/{chunk-V53TIJLY.js → chunk-IIFRJV3A.js} +2 -2
  51. package/dist/bundle/{chunk-B6TUEQ4O.js → chunk-J62BQBVG.js} +3 -3
  52. package/dist/bundle/{chunk-JOIAE3NO.js → chunk-JJGUHWLB.js} +7 -7
  53. package/dist/bundle/{chunk-Q4AKIAIA.js → chunk-LCCVEX4R.js} +12 -12
  54. package/dist/bundle/{chunk-2O66KMOR.js → chunk-LITZ7KPO.js} +2 -2
  55. package/dist/bundle/{chunk-6MFEWAK4.js → chunk-M4RXPZ6K.js} +4 -4
  56. package/dist/bundle/{chunk-F7IDYQLM.js → chunk-M5FW654Z.js} +2 -2
  57. package/dist/bundle/{chunk-H7SRM26V.js → chunk-N5O3XVX3.js} +3 -3
  58. package/dist/bundle/{chunk-AEVSVVTP.js → chunk-ND7TBQKO.js} +2 -2
  59. package/dist/bundle/{chunk-7IIQU5RA.js → chunk-NI7UYGTF.js} +13 -13
  60. package/dist/bundle/{chunk-5SM2IOAS.js → chunk-NKFEEY5M.js} +14 -29
  61. package/dist/bundle/{chunk-532FNLON.js → chunk-NQMHYLZO.js} +20 -20
  62. package/dist/bundle/{chunk-YAPDU3SV.js → chunk-O3DYRCIT.js} +1 -1
  63. package/dist/bundle/{chunk-7HEZQCHL.js → chunk-OLMEJNL4.js} +6 -6
  64. package/dist/bundle/{chunk-UKYO3HNO.js → chunk-ONJPUFLX.js} +1 -1
  65. package/dist/bundle/{chunk-4QCLPSJ7.js → chunk-OZQSTX4J.js} +5 -5
  66. package/dist/bundle/{chunk-6NTNAEZF.js → chunk-P4MZOAPC.js} +1229 -1015
  67. package/dist/bundle/{chunk-XOG7B7K5.js → chunk-P4WHDL2F.js} +4 -4
  68. package/dist/bundle/{chunk-U2Z35B3W.js → chunk-PCPOO5FS.js} +2 -2
  69. package/dist/bundle/{chunk-TEFHNXXX.js → chunk-PJFVE7UH.js} +14 -14
  70. package/dist/bundle/{chunk-3NZJKY7A.js → chunk-PP6SZLCY.js} +16 -16
  71. package/dist/bundle/{chunk-BGO7IEHY.js → chunk-QIK2IBJ4.js} +21 -7
  72. package/dist/bundle/{chunk-C56OYYFG.js → chunk-QRKSASGP.js} +3 -3
  73. package/dist/bundle/{chunk-KBTINKQF.js → chunk-QX3PO5UE.js} +3 -3
  74. package/dist/bundle/{chunk-FHOQWPQ6.js → chunk-RJ5JAYNZ.js} +307 -268
  75. package/dist/bundle/{chunk-ZDZASHSQ.js → chunk-RMQ7EALU.js} +17 -17
  76. package/dist/bundle/{chunk-UHBQM54J.js → chunk-RMX2WPWS.js} +4 -4
  77. package/dist/bundle/{chunk-EV7QCFQR.js → chunk-RUE3WP7K.js} +19 -19
  78. package/dist/bundle/{chunk-BIUHLXL2.js → chunk-SGFNQFP4.js} +33 -33
  79. package/dist/bundle/{chunk-FNLXFQN6.js → chunk-ST3ZB7LS.js} +1 -1
  80. package/dist/bundle/{chunk-YLNUKNGD.js → chunk-T6LA664Z.js} +35 -34
  81. package/dist/bundle/{chunk-Q4CNLEAY.js → chunk-TLO62ROR.js} +26 -26
  82. package/dist/bundle/{chunk-2USGT7LE.js → chunk-TP7GDWVF.js} +1 -1
  83. package/dist/bundle/{chunk-F2KZNAFF.js → chunk-TUECY6LV.js} +2 -2
  84. package/dist/bundle/{chunk-3QWYRZME.js → chunk-U7QXC75C.js} +8 -8
  85. package/dist/bundle/{chunk-M2M3U4UU.js → chunk-UQKVZFIX.js} +12 -12
  86. package/dist/bundle/{chunk-XXD4YPHQ.js → chunk-VX6ZSKXM.js} +12 -12
  87. package/dist/bundle/{chunk-ZCVO6GAT.js → chunk-W53EJOFQ.js} +1 -1
  88. package/dist/bundle/{chunk-FXHZHQKU.js → chunk-W5HRTC6X.js} +6 -6
  89. package/dist/bundle/{chunk-IBINGDYF.js → chunk-W656MRJD.js} +6 -6
  90. package/dist/bundle/{chunk-GQ6EJDMV.js → chunk-W7HM2VGO.js} +1 -1
  91. package/dist/bundle/{chunk-VW36ZSAE.js → chunk-WE4UFASG.js} +1 -1
  92. package/dist/bundle/{chunk-RJIJR6KH.js → chunk-X2M6NIQG.js} +1 -1
  93. package/dist/bundle/{chunk-MJMHUU3J.js → chunk-XAOSZGTD.js} +1 -1
  94. package/dist/bundle/{chunk-YHQ3TEGB.js → chunk-XDBGGOE2.js} +27 -27
  95. package/dist/bundle/{chunk-WOYPWXZK.js → chunk-XEIL6VNA.js} +4 -4
  96. package/dist/bundle/{chunk-MSMFYW6N.js → chunk-XFMVDQ6J.js} +2 -2
  97. package/dist/bundle/{chunk-KEAKNNXU.js → chunk-XIHENZW6.js} +4 -4
  98. package/dist/bundle/{chunk-DLJPN47R.js → chunk-XOYMIEAZ.js} +6 -5
  99. package/dist/bundle/{chunk-YNYQGZUW.js → chunk-Y4UDPQ3L.js} +7 -7
  100. package/dist/bundle/{chunk-7AMKSXMB.js → chunk-Y64L7A7E.js} +6 -6
  101. package/dist/bundle/{chunk-TXDCIM5D.js → chunk-YCW422X7.js} +1090 -755
  102. package/dist/bundle/{chunk-3A3B3JX4.js → chunk-YOBTKYIX.js} +8 -8
  103. package/dist/bundle/{chunk-TFDD4Q5Z.js → chunk-Z3CPZ4I4.js} +10 -10
  104. package/dist/bundle/{chunk-OOLNK3Y5.js → chunk-ZKVYV25H.js} +8 -8
  105. package/dist/bundle/{chunk-PJMQE4PW.js → chunk-ZPZT46O6.js} +15 -9
  106. package/dist/bundle/{cli-YALONJ4V.js → cli-AVQU63FT.js} +89 -77
  107. package/dist/bundle/command-contract-MCWBL5VS.js +45 -0
  108. package/dist/bundle/{command-server-entry-W4XTBUZE.js → command-server-entry-JZP7Y73G.js} +35 -35
  109. package/dist/bundle/config-G3C54VH6.js +109 -0
  110. package/dist/bundle/{decode-IFQHVCFX.js → decode-JLAYH7GC.js} +6 -6
  111. package/dist/bundle/{dispatch-GOJB4TDK.js → dispatch-AWDROXWN.js} +9 -9
  112. package/dist/bundle/{dist-H7XFUMRX.js → dist-TBLTUL5M.js} +21 -21
  113. package/dist/bundle/{echarts-HPUHPJCO.js → echarts-FVTUDXDU.js} +2 -2
  114. package/dist/bundle/{embed-ESU3WZYW.js → embed-CJRENDF7.js} +7 -7
  115. package/dist/bundle/{embedder-BV6O76B3.js → embedder-RPE67QJD.js} +10 -10
  116. package/dist/bundle/{failure-SWVCYFQX.js → failure-JZW73RP7.js} +3 -3
  117. package/dist/bundle/first-run-QEASX5J5.js +29 -0
  118. package/dist/bundle/first-screen-NGCQD3CU.js +45 -0
  119. package/dist/bundle/{folders-VQGKBM3P.js → folders-TGFOE7DY.js} +5 -5
  120. package/dist/bundle/{instructions-UUX57I3V.js → instructions-HET7BCYK.js} +1 -1
  121. package/dist/bundle/{main-UIKADOFB.js → main-QRJ6NRCD.js} +24 -24
  122. package/dist/bundle/{mcp-VMS6PBCU.js → mcp-RGNRW77S.js} +2 -2
  123. package/dist/bundle/meeting-combined-AZXCDXCV.js +26 -0
  124. package/dist/bundle/meeting-model-7HNQ4I3J.js +26 -0
  125. package/dist/bundle/{meeting-semantic-F6GUICB7.js → meeting-semantic-4MURLQCA.js} +8 -8
  126. package/dist/bundle/{meetings-KIBUPLPW.js → meetings-QFZWKHI4.js} +9 -7
  127. package/dist/bundle/{node-AM3JCAWB.js → node-CXZIFHZC.js} +2 -2
  128. package/dist/bundle/{node-sqlite-VM6VS3RU.js → node-sqlite-CZPYFROO.js} +8 -8
  129. package/dist/bundle/{oauth-AX5Z32H6.js → oauth-T45MPIZF.js} +8 -8
  130. package/dist/bundle/{open-SSGOOOZG.js → open-3AONZFET.js} +6 -6
  131. package/dist/bundle/openai-LHWUXEBO.js +28 -0
  132. package/dist/bundle/{output-file-FR226A64.js → output-file-J4SU6X4I.js} +6 -6
  133. package/dist/bundle/{process-5ZEK2VFY.js → process-5RUXWGYS.js} +1 -1
  134. package/dist/bundle/{program-ROJAJHCB.js → program-2O4YSRWY.js} +96 -94
  135. package/dist/bundle/{prompt-6Y7A4453.js → prompt-NDLUFCJV.js} +6 -6
  136. package/dist/bundle/{recognize-R5W25WKH.js → recognize-CZOIAJQX.js} +5 -5
  137. package/dist/bundle/{remote-PA4FQUZK.js → remote-O3CE4Q3B.js} +11 -11
  138. package/dist/bundle/{rerank-CYX3UFTM.js → rerank-MZOL746K.js} +8 -8
  139. package/dist/bundle/run-log-GX6LNMWY.js +136 -0
  140. package/dist/bundle/{serve-MM5QEZJW.js → serve-43IBHMFM.js} +10 -10
  141. package/dist/bundle/server-3E2PJGYK.js +85 -0
  142. package/dist/bundle/{server-JQQAH7E5.js → server-6LTMPPTO.js} +60 -60
  143. package/dist/bundle/{services-Y2DOQONM.js → services-UIRD5PHE.js} +54 -54
  144. package/dist/bundle/{speech-O6WLX34V.js → speech-6QVKIJVR.js} +25 -25
  145. package/dist/bundle/{sqlite-runtime-LQTBZMFH.js → sqlite-runtime-PKCIBVHZ.js} +7 -7
  146. package/dist/bundle/{state-AIDPZLVH.js → state-AC55V3IE.js} +7 -7
  147. package/dist/bundle/{store-BA4FQS5V.js → store-OAGA2ZK3.js} +26 -24
  148. package/dist/bundle/{store-UNDS2TBG.js → store-QOCYJNKX.js} +26 -26
  149. package/dist/bundle/store-connection-PBZMFY56.js +102 -0
  150. package/dist/bundle/store-maintenance-command-VBCHEOGI.js +77 -0
  151. package/dist/bundle/{streaming-UFHT5MR2.js → streaming-VDJOYGMO.js} +7 -7
  152. package/dist/bundle/{tokens-Z32UKGQB.js → tokens-LN442AO6.js} +10 -10
  153. package/dist/bundle/zm.js +9 -9
  154. package/dist/bundle/{zoom-app-6U46XBTG.js → zoom-app-TOCQ7LB5.js} +8 -8
  155. package/dist/program-bindings.d.ts.map +1 -1
  156. package/dist/program-bindings.js +1 -0
  157. package/dist/program-bindings.js.map +1 -1
  158. package/dist/store-commands.d.ts.map +1 -1
  159. package/dist/store-commands.js +2 -2
  160. package/dist/store-commands.js.map +1 -1
  161. package/dist/tokens.d.ts.map +1 -1
  162. package/dist/tokens.js +3 -0
  163. package/dist/tokens.js.map +1 -1
  164. package/dist/version.d.ts +1 -1
  165. package/dist/version.js +1 -1
  166. package/package.json +4 -3
  167. package/dist/bundle/answer-policy-G2BNMPEX.js +0 -122
  168. package/dist/bundle/chunk-SHTHNBHG.js +0 -2
  169. package/dist/bundle/command-contract-DMR5EOIN.js +0 -45
  170. package/dist/bundle/config-4TLDRXRL.js +0 -109
  171. package/dist/bundle/first-run-OEJGAQAE.js +0 -29
  172. package/dist/bundle/first-screen-QLM4IABL.js +0 -45
  173. package/dist/bundle/meeting-combined-SKJISCC7.js +0 -26
  174. package/dist/bundle/meeting-model-YG3Z5KCB.js +0 -26
  175. package/dist/bundle/openai-YIP73X2B.js +0 -28
  176. package/dist/bundle/run-log-FHERL3H6.js +0 -136
  177. package/dist/bundle/server-W2BBONCQ.js +0 -85
  178. package/dist/bundle/store-connection-ADBJ36T4.js +0 -102
  179. package/dist/bundle/store-maintenance-command-IB6ML4UI.js +0 -77
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  withTimeLimit
5
- } from "./chunk-4XPVRZXE.js";
5
+ } from "./chunk-65DOVVHQ.js";
6
6
  import {
7
7
  EmptyAnswer,
8
8
  checkedOptions,
@@ -10,25 +10,25 @@ import {
10
10
  range,
11
11
  systemFor,
12
12
  validateImages
13
- } from "./chunk-6MFEWAK4.js";
13
+ } from "./chunk-M4RXPZ6K.js";
14
14
  import {
15
15
  refuseOffComputer
16
- } from "./chunk-FCGRXUAU.js";
16
+ } from "./chunk-4T3J4NCF.js";
17
17
  import {
18
18
  envName
19
- } from "./chunk-F7IDYQLM.js";
19
+ } from "./chunk-M5FW654Z.js";
20
20
  import {
21
21
  PLAIN_HTTP_REFUSED,
22
22
  endpoint,
23
23
  endpointFetch,
24
24
  modelAddressAllowed,
25
25
  onThisComputer
26
- } from "./chunk-FURKMNC2.js";
26
+ } from "./chunk-HVQVCGME.js";
27
27
  import {
28
28
  Credentials,
29
29
  pathsAreOverridden,
30
30
  resolvePaths
31
- } from "./chunk-OAYAGQ7C.js";
31
+ } from "./chunk-BNEJKGG7.js";
32
32
  import {
33
33
  array,
34
34
  integer,
@@ -39,15 +39,15 @@ import {
39
39
  strictObject,
40
40
  string,
41
41
  union
42
- } from "./chunk-PJMQE4PW.js";
42
+ } from "./chunk-ZPZT46O6.js";
43
43
  import {
44
44
  CliError
45
- } from "./chunk-FNLXFQN6.js";
45
+ } from "./chunk-ST3ZB7LS.js";
46
46
  import {
47
47
  __name
48
48
  } from "./chunk-ZVVMGPBJ.js";
49
49
 
50
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/models/openai.js
50
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/models/openai.js
51
51
  var options = strictObject({
52
52
  temperature: range(0, 2),
53
53
  top_p: range(0, 1),
@@ -114,7 +114,7 @@ var openai = {
114
114
  }), "complete")
115
115
  };
116
116
 
117
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/models/index.js
117
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/models/index.js
118
118
  var modelGateway = /* @__PURE__ */ __name((deps) => ({
119
119
  complete: /* @__PURE__ */ __name(async (request) => {
120
120
  if (deps.signal?.aborted)
@@ -129,7 +129,7 @@ var modelGateway = /* @__PURE__ */ __name((deps) => ({
129
129
  if (!adapter && target.provider === "openai")
130
130
  adapter = openai;
131
131
  if (!adapter && target.provider === "anthropic")
132
- adapter = (await import("./anthropic-U6O7UYGZ.js")).anthropic;
132
+ adapter = (await import("./anthropic-UH3QWA3F.js")).anthropic;
133
133
  if (!adapter)
134
134
  throw new CliError("validation_error", `no model adapter for ${target.provider}`);
135
135
  if (request.images !== void 0 && adapter.images !== true)
@@ -189,7 +189,7 @@ var modelGateway = /* @__PURE__ */ __name((deps) => ({
189
189
  }, "complete")
190
190
  }), "modelGateway");
191
191
 
192
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/embeddings/keys.js
192
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/embeddings/keys.js
193
193
  var endpointKeyName = /* @__PURE__ */ __name((baseUrl) => {
194
194
  const host = new URL(baseUrl).host;
195
195
  return ["openai", "anthropic"].includes(host) ? `endpoint:${host}` : host;
@@ -2,16 +2,16 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  hostFetch
5
- } from "./chunk-BGO7IEHY.js";
5
+ } from "./chunk-QIK2IBJ4.js";
6
6
  import {
7
7
  CliError,
8
8
  isCliError
9
- } from "./chunk-FNLXFQN6.js";
9
+ } from "./chunk-ST3ZB7LS.js";
10
10
  import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
13
13
 
14
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/models/endpoint.js
14
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/models/endpoint.js
15
15
  var endpoint = /* @__PURE__ */ __name((value) => {
16
16
  try {
17
17
  const url = new URL(value);
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/store/normalize.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/store/normalize.js
8
8
  var NORMALIZER_VERSION = 1;
9
9
  var fold = /* @__PURE__ */ __name((text) => text.normalize("NFKD").replace(new RegExp("\\p{M}+", "gu"), "").normalize("NFC").toLowerCase(), "fold");
10
10
  var normalize = /* @__PURE__ */ __name((text) => fold(text).replace(new RegExp("\\p{Cc}", "gu"), " ").replace(/\s+/gu, " ").trim(), "normalize");
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  LEVELS
5
- } from "./chunk-YZKVCTZI.js";
5
+ } from "./chunk-2OTETB4A.js";
6
6
  import {
7
7
  WORD_BODY,
8
8
  e164Of
9
- } from "./chunk-532FNLON.js";
9
+ } from "./chunk-NQMHYLZO.js";
10
10
  import {
11
11
  resolvePaths,
12
12
  writeSecurely
13
- } from "./chunk-OAYAGQ7C.js";
13
+ } from "./chunk-BNEJKGG7.js";
14
14
  import {
15
15
  array,
16
16
  getDotPath,
@@ -29,18 +29,18 @@ import {
29
29
  string,
30
30
  transform,
31
31
  unknown
32
- } from "./chunk-PJMQE4PW.js";
32
+ } from "./chunk-ZPZT46O6.js";
33
33
  import {
34
34
  CliError
35
- } from "./chunk-FNLXFQN6.js";
35
+ } from "./chunk-ST3ZB7LS.js";
36
36
  import {
37
37
  visibleControls
38
- } from "./chunk-WJTXO2EI.js";
38
+ } from "./chunk-5RVXXDN7.js";
39
39
  import {
40
40
  __name
41
41
  } from "./chunk-ZVVMGPBJ.js";
42
42
 
43
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/domain/vcard.js
43
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/vcard.js
44
44
  import { createHash } from "node:crypto";
45
45
  var MAX_ID = 512;
46
46
  var AS_WORD = new RegExp(`^${WORD_BODY}$`);
@@ -271,7 +271,7 @@ var envelopeOfVcard = /* @__PURE__ */ __name((text, { provider, account, batchId
271
271
  };
272
272
  }, "envelopeOfVcard");
273
273
 
274
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/domain/formatting.js
274
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/formatting.js
275
275
  var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "the messenger formatter returned invalid text spans"), "invalid");
276
276
  var validateFormattedText = /* @__PURE__ */ __name((formatted) => {
277
277
  const { text, spans } = formatted;
@@ -331,7 +331,7 @@ var visibleFormattedText = /* @__PURE__ */ __name((formatted) => {
331
331
  };
332
332
  }, "visibleFormattedText");
333
333
 
334
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/moderation/check.js
334
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/moderation/check.js
335
335
  var INVITE = /max\.ru\/join\/|(t|telegram)\.me\/(\+|joinchat\/)|tg:\/\/join/i;
336
336
  var LINK = /https?:\/\/\S+/i;
337
337
  var STRENGTH = { report: 0, delete: 1, remove: 2 };
@@ -519,7 +519,7 @@ var nextPoint = /* @__PURE__ */ __name((rows, found) => {
519
519
  }, "nextPoint");
520
520
  var someUndone = /* @__PURE__ */ __name((rows) => rows.some(undone), "someUndone");
521
521
 
522
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/moderation/rules.js
522
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/moderation/rules.js
523
523
  import { existsSync, readdirSync, readFileSync } from "node:fs";
524
524
  import { join } from "node:path";
525
525
  var RULE_ACTIONS = ["report", "delete", "remove"];
@@ -3,16 +3,16 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  QUERY_LIMITS,
5
5
  queryError
6
- } from "./chunk-TFDD4Q5Z.js";
6
+ } from "./chunk-Z3CPZ4I4.js";
7
7
  import {
8
8
  CliError,
9
9
  isCliError
10
- } from "./chunk-FNLXFQN6.js";
10
+ } from "./chunk-ST3ZB7LS.js";
11
11
  import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/search/lucene/types.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/search/lucene/types.js
16
16
  var QUERY_VERSION = 1;
17
17
  var QUERY_LIMITS2 = {
18
18
  ...QUERY_LIMITS,
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CAPABILITY_STATEMENTS,
5
5
  storeCapable
6
- } from "./chunk-FXHZHQKU.js";
6
+ } from "./chunk-W5HRTC6X.js";
7
7
  import {
8
8
  importFrom
9
9
  } from "./chunk-Y5E2WNWB.js";
@@ -11,7 +11,7 @@ import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
13
13
 
14
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/sqlite-runtime.js
14
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/sqlite-runtime.js
15
15
  import { spawn, spawnSync } from "node:child_process";
16
16
  import { readFileSync } from "node:fs";
17
17
  import { dirname } from "node:path";
@@ -2,16 +2,16 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  alive
5
- } from "./chunk-ZCVO6GAT.js";
5
+ } from "./chunk-W53EJOFQ.js";
6
6
  import {
7
7
  resolvePaths,
8
8
  writeSecurely
9
- } from "./chunk-OAYAGQ7C.js";
9
+ } from "./chunk-BNEJKGG7.js";
10
10
  import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
13
13
 
14
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/background/lock.js
14
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/background/lock.js
15
15
  import { existsSync, linkSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
16
16
  import { dirname, join } from "node:path";
17
17
  var lockPath = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "serve", `${profile}.lock`), "lockPath");
@@ -2,19 +2,19 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  isCliFailure
5
- } from "./chunk-AEVSVVTP.js";
5
+ } from "./chunk-ND7TBQKO.js";
6
6
  import {
7
7
  secretNamed,
8
8
  withoutSecrets
9
- } from "./chunk-ORSTSBWU.js";
9
+ } from "./chunk-52ZQ72HL.js";
10
10
  import {
11
11
  isContentKey
12
- } from "./chunk-OAYAGQ7C.js";
12
+ } from "./chunk-BNEJKGG7.js";
13
13
  import {
14
14
  __name
15
15
  } from "./chunk-ZVVMGPBJ.js";
16
16
 
17
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/runs/events.js
17
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/runs/events.js
18
18
  var providerErrorKey = /* @__PURE__ */ __name((value) => typeof value === "string" && /^[A-Za-z][A-Za-z0-9._-]{0,63}$/.test(value) ? value : void 0, "providerErrorKey");
19
19
  var renderEvent = /* @__PURE__ */ __name((event) => {
20
20
  if (event.event === "store")
@@ -66,11 +66,11 @@ var MARK = { request: "\u2192", response: "\u2190", cache: "\u2022", warning: "!
66
66
  var age = /* @__PURE__ */ __name((ms) => ms < 1e3 ? `${ms}ms` : `${Math.round(ms / 1e3)}s`, "age");
67
67
  var size = /* @__PURE__ */ __name((bytes) => bytes < 1e3 ? `${bytes} B` : `${(bytes / 1e3).toFixed(1)} kB`, "size");
68
68
 
69
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/runs/run-context.js
69
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/runs/run-context.js
70
70
  import { AsyncLocalStorage } from "node:async_hooks";
71
71
  import { createHash } from "node:crypto";
72
72
 
73
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
73
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
74
74
  import { homedir } from "node:os";
75
75
  var MESSAGE_AT_MOST = 500;
76
76
  var CAUSES_AT_MOST = 5;
@@ -183,7 +183,7 @@ var redactText = /* @__PURE__ */ __name((text) => {
183
183
  return out.length > MESSAGE_AT_MOST ? `${out.slice(0, MESSAGE_AT_MOST)}\u2026` : out;
184
184
  }, "redactText");
185
185
 
186
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/runs/run-context.js
186
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/runs/run-context.js
187
187
  var REDACTED = "[redacted]";
188
188
  var keepsSuccess = /* @__PURE__ */ __name(({ record, fromFlag, env, caller, persistent = false }) => {
189
189
  if (!record)
@@ -2,28 +2,28 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  isCommandServer
5
- } from "./chunk-NS5XSCHC.js";
5
+ } from "./chunk-2N57GL4L.js";
6
6
  import {
7
7
  envName,
8
8
  readOnlyLockOf
9
- } from "./chunk-F7IDYQLM.js";
9
+ } from "./chunk-M5FW654Z.js";
10
10
  import {
11
11
  ensureSqlite
12
- } from "./chunk-V53TIJLY.js";
12
+ } from "./chunk-IIFRJV3A.js";
13
13
  import {
14
14
  catchCrashes
15
- } from "./chunk-PJMQE4PW.js";
15
+ } from "./chunk-ZPZT46O6.js";
16
16
  import {
17
17
  CliError
18
- } from "./chunk-FNLXFQN6.js";
18
+ } from "./chunk-ST3ZB7LS.js";
19
19
  import {
20
20
  __name
21
21
  } from "./chunk-ZVVMGPBJ.js";
22
22
 
23
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/entry.js
23
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/entry.js
24
24
  import { spawn } from "node:child_process";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/argv-log.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/argv-log.js
27
27
  import { appendFileSync } from "node:fs";
28
28
  var logParsedArgv = /* @__PURE__ */ __name((file, action) => {
29
29
  const words = [];
@@ -47,7 +47,7 @@ var logVersion = /* @__PURE__ */ __name((file) => {
47
47
  `);
48
48
  }, "logVersion");
49
49
 
50
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/entry.js
50
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/entry.js
51
51
  var processIo = /* @__PURE__ */ __name(() => ({
52
52
  argv: process.argv,
53
53
  env: process.env,
@@ -67,7 +67,7 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
67
67
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-V"))
68
68
  return printVersion(entry.app, io);
69
69
  if (isCommandServer(args)) {
70
- const { serveEntry } = await import("./command-server-entry-W4XTBUZE.js");
70
+ const { serveEntry } = await import("./command-server-entry-JZP7Y73G.js");
71
71
  return serveEntry(entry, io, { firstRunAt, commanderExit });
72
72
  }
73
73
  const tty = io.stdout.isTTY === true;
@@ -105,7 +105,7 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
105
105
  ask: /* @__PURE__ */ __name(async (question, command) => {
106
106
  if (headless(command) || io.stdin.isTTY !== true)
107
107
  return false;
108
- const { readSecret } = await import("./prompt-6Y7A4453.js");
108
+ const { readSecret } = await import("./prompt-NDLUFCJV.js");
109
109
  const answer = await readSecret(`${question} [y/N] `, {
110
110
  input: io.stdin,
111
111
  output: io.stderr,
@@ -148,8 +148,8 @@ var firstRunAt = /* @__PURE__ */ __name((entry, io, headless) => async (command)
148
148
  if (command.optsWithGlobals().dryRun === true)
149
149
  return;
150
150
  const [{ setupAtStart }, { commandPathOf }] = await Promise.all([
151
- import("./first-run-OEJGAQAE.js"),
152
- import("./command-contract-DMR5EOIN.js")
151
+ import("./first-run-QEASX5J5.js"),
152
+ import("./command-contract-MCWBL5VS.js")
153
153
  ]);
154
154
  await setupAtStart({
155
155
  command: entry.app.command,
@@ -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-7IIQU5RA.js";
5
+ } from "./chunk-NI7UYGTF.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/domain/links.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/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";
@@ -9,15 +9,15 @@ import {
9
9
  optional,
10
10
  pipe,
11
11
  safeParse
12
- } from "./chunk-PJMQE4PW.js";
12
+ } from "./chunk-ZPZT46O6.js";
13
13
  import {
14
14
  CliError
15
- } from "./chunk-FNLXFQN6.js";
15
+ } from "./chunk-ST3ZB7LS.js";
16
16
  import {
17
17
  __name
18
18
  } from "./chunk-ZVVMGPBJ.js";
19
19
 
20
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/models/options.js
20
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/models/options.js
21
21
  var checkedOptions = /* @__PURE__ */ __name((provider, schema, options) => {
22
22
  const parsed = safeParse(schema, options);
23
23
  if (!parsed.success) {
@@ -27,7 +27,7 @@ var checkedOptions = /* @__PURE__ */ __name((provider, schema, options) => {
27
27
  }, "checkedOptions");
28
28
  var range = /* @__PURE__ */ __name((min, max) => optional(pipe(number(), finite(), minValue(min), maxValue(max))), "range");
29
29
 
30
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/models/types.js
30
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/models/types.js
31
31
  var MAX_MODEL_IMAGE_BYTES = 4 * 1024 * 1024;
32
32
  var validateImages = /* @__PURE__ */ __name((images) => {
33
33
  if (images === void 0)
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError
5
- } from "./chunk-FNLXFQN6.js";
5
+ } from "./chunk-ST3ZB7LS.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/ports/app.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/ports/app.js
11
11
  import { readFileSync } from "node:fs";
12
12
  var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
13
13
  var locking = /* @__PURE__ */ __name((value) => value !== void 0 && value.trim() !== "" && value !== "0", "locking");
@@ -5,7 +5,7 @@ import {
5
5
  id,
6
6
  text,
7
7
  time
8
- } from "./chunk-EV7QCFQR.js";
8
+ } from "./chunk-RUE3WP7K.js";
9
9
  import {
10
10
  array,
11
11
  nullable,
@@ -16,9 +16,9 @@ import {
16
16
  strictObject,
17
17
  string,
18
18
  unknown
19
- } from "./chunk-PJMQE4PW.js";
19
+ } from "./chunk-ZPZT46O6.js";
20
20
 
21
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/note.js
21
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/note.js
22
22
  var link = {
23
23
  target_text: nullable(text),
24
24
  kind: text,
@@ -3,12 +3,12 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError,
5
5
  errorCodes
6
- } from "./chunk-FNLXFQN6.js";
6
+ } from "./chunk-ST3ZB7LS.js";
7
7
  import {
8
8
  __name
9
9
  } from "./chunk-ZVVMGPBJ.js";
10
10
 
11
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/errors/failures.js
11
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/errors/failures.js
12
12
  var isCliFailure = /* @__PURE__ */ __name((value) => value instanceof Error && value.name === "CliError" && errorCodes.includes(value.code), "isCliFailure");
13
13
  var isCommanderFailure = /* @__PURE__ */ __name((value) => {
14
14
  const { code, exitCode } = value ?? {};
@@ -3,18 +3,18 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  formatMeetingReference,
5
5
  parseMeetingReference
6
- } from "./chunk-FHOQWPQ6.js";
6
+ } from "./chunk-RJ5JAYNZ.js";
7
7
  import {
8
8
  CliError
9
- } from "./chunk-FNLXFQN6.js";
9
+ } from "./chunk-ST3ZB7LS.js";
10
10
  import {
11
11
  singleLine
12
- } from "./chunk-WJTXO2EI.js";
12
+ } from "./chunk-5RVXXDN7.js";
13
13
  import {
14
14
  __name
15
15
  } from "./chunk-ZVVMGPBJ.js";
16
16
 
17
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/domain/money.js
17
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/money.js
18
18
  var CURRENCY_SCALES = {
19
19
  AED: 2,
20
20
  AMD: 2,
@@ -108,7 +108,7 @@ var quantityOf = /* @__PURE__ */ __name((text) => {
108
108
  }, "quantityOf");
109
109
  var lineUnits = /* @__PURE__ */ __name((thousandths, unitPrice) => Number((thousandths * BigInt(unitPrice) + 500n) / 1000n), "lineUnits");
110
110
 
111
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/domain/deals.js
111
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/deals.js
112
112
  var DEAL_KINDS = ["deal", "lead"];
113
113
  var DEAL_STATUSES = ["open", "won", "lost"];
114
114
  var STAGE_OUTCOMES = DEAL_STATUSES;
@@ -118,7 +118,7 @@ var dealLine = /* @__PURE__ */ __name((deal) => {
118
118
  return `${deal.title} \xB7 ${deal.stage}${money}${deal.status === "open" ? "" : ` (${deal.status})`}`;
119
119
  }, "dealLine");
120
120
 
121
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/domain/finance.js
121
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/finance.js
122
122
  var INVOICE_DIRECTIONS = ["receivable", "payable"];
123
123
  var INVOICE_STATUSES = ["draft", "issued", "partly_paid", "paid", "void"];
124
124
  var MONEY_DIRECTIONS = ["in", "out"];
@@ -147,7 +147,7 @@ var paymentLine = /* @__PURE__ */ __name((payment) => {
147
147
  var invoiceTitle = /* @__PURE__ */ __name((invoice) => `Invoice ${invoiceLine(invoice)}`, "invoiceTitle");
148
148
  var paymentEntryTitle = /* @__PURE__ */ __name((payment) => `Payment \xB7 ${paymentLine(payment)}`, "paymentEntryTitle");
149
149
 
150
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/domain/orders.js
150
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/orders.js
151
151
  var ORDER_STATUSES = ["placed", "shipped", "delivered", "cancelled", "returned"];
152
152
  var ORDER_PURPOSES = ["personal", "business", "client", "other"];
153
153
  var orderLine = /* @__PURE__ */ __name((order) => {
@@ -158,7 +158,7 @@ var orderLine = /* @__PURE__ */ __name((order) => {
158
158
  }, "orderLine");
159
159
  var orderTitle = /* @__PURE__ */ __name((order) => `Order ${orderLine(order)}`, "orderTitle");
160
160
 
161
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/domain/relations.js
161
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/relations.js
162
162
  var ORGANIZATION_ROLES = [
163
163
  "employee",
164
164
  "contractor",
@@ -265,7 +265,7 @@ var KEYED = "kind IN ('member-of', 'related-to', 'reports-to', 'customer-of', 'p
265
265
  var notOverriddenSql = /* @__PURE__ */ __name((alias) => `NOT EXISTS (SELECT 1 FROM links override WHERE ${KEYED} AND override.kind = ${alias}.kind AND override.from_type = ${alias}.from_type AND override.from_id = ${alias}.from_id AND override.to_type = ${alias}.to_type AND override.to_id = ${alias}.to_id AND json_extract(override.metadata, '$.overrides') = ${alias}.id)`, "notOverriddenSql");
266
266
  var usableLinkSql = /* @__PURE__ */ __name((alias, now) => `(${alias}.confirmed = 1 OR (${alias}.account_id IS NOT NULL AND ${alias}.deleted_at IS NULL))` + (now === void 0 ? "" : ` AND (${alias}.ends_at IS NULL OR ${alias}.ends_at > ${Math.trunc(now)})`), "usableLinkSql");
267
267
 
268
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/domain/crm.js
268
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/crm.js
269
269
  var CRM_KINDS = ["organization", "person", "deal", "lead"];
270
270
  var CRM_ACTIVITY_KINDS = ["call", "email", "meeting", "todo", "task", "comment", "other"];
271
271
  var isCrmUserId = /* @__PURE__ */ __name((id) => /^\d{1,20}$/.test(id), "isCrmUserId");
@@ -275,7 +275,7 @@ var normalCrmUserId = /* @__PURE__ */ __name((id) => {
275
275
  }, "normalCrmUserId");
276
276
  var isItemKind = /* @__PURE__ */ __name((kind2) => kind2 === "deal" || kind2 === "lead", "isItemKind");
277
277
 
278
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/domain/business.js
278
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/business.js
279
279
  var CATALOG_KINDS = ["product", "service"];
280
280
  var BUSINESS_KINDS = ["invoice", "payment", "order", "contract", "subscription", "product", "wallet"];
281
281
  var CONTRACT_KINDS = ["sale", "purchase", "service", "lease", "employment", "nda", "license", "other"];
@@ -304,7 +304,7 @@ var subscriptionLine = /* @__PURE__ */ __name((subscription) => `${subscription.
304
304
  var walletLine = /* @__PURE__ */ __name((wallet) => `${wallet.name} \xB7 ${wallet.kind}, ${wallet.currency}${wallet.numberHint === null ? "" : `, \u2026${wallet.numberHint}`}` + notes(wallet.closed ? "closed" : null), "walletLine");
305
305
  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");
306
306
 
307
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/domain/locator.js
307
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/locator.js
308
308
  var SCHEME = "msg:";
309
309
  var formatLocator = /* @__PURE__ */ __name(({ provider, account, chat, message }) => SCHEME + [provider, account, chat, message].map(encodeURIComponent).join("/"), "formatLocator");
310
310
  var isLocator = /* @__PURE__ */ __name((reference) => reference.trim().startsWith(SCHEME), "isLocator");
@@ -325,7 +325,7 @@ var parseLocator = /* @__PURE__ */ __name((reference) => {
325
325
  return { provider, account, chat, message };
326
326
  }, "parseLocator");
327
327
 
328
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/domain/references.js
328
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/references.js
329
329
  var SIMPLE_REFERENCES = [
330
330
  "note",
331
331
  "document",
@@ -488,7 +488,7 @@ var looksLikeReference = /* @__PURE__ */ __name((text) => {
488
488
  return match !== null && byPrefix.has(match[1]);
489
489
  }, "looksLikeReference");
490
490
 
491
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/domain/providers.js
491
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/providers.js
492
492
  var KINDS = ["messages", "mail", "notes", "documents", "meetings", "events", "crm"];
493
493
  var MESSENGER_OPENS = { chat: "messages list", message: "messages show", contact: "contacts show" };
494
494
  var CRM_OPENS = { deal: "deals show", lead: "leads show", pipeline: "pipelines show" };