@wirecat/zoom-cli 0.76.0 → 0.77.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 (212) hide show
  1. package/README.md +12 -11
  2. package/contracts/wirecat.json +53 -105
  3. package/dist/answer-entities.d.ts +1 -141
  4. package/dist/answer-entities.d.ts.map +1 -1
  5. package/dist/answer-entities.js +0 -31
  6. package/dist/answer-entities.js.map +1 -1
  7. package/dist/api.d.ts +18 -1
  8. package/dist/api.d.ts.map +1 -1
  9. package/dist/api.js +179 -54
  10. package/dist/api.js.map +1 -1
  11. package/dist/archive-commands.d.ts +0 -3
  12. package/dist/archive-commands.d.ts.map +1 -1
  13. package/dist/archive-commands.js +1 -54
  14. package/dist/archive-commands.js.map +1 -1
  15. package/dist/bin/zm.js +2 -2
  16. package/dist/bundle/{all-profiles-AAMFP7IN.js → all-profiles-PMCFNDMA.js} +11 -11
  17. package/dist/bundle/answer-policy-XU7KEW2V.js +121 -0
  18. package/dist/bundle/{anthropic-6KIS53QB.js → anthropic-TGJOKLUS.js} +6 -6
  19. package/dist/bundle/{app-server-6QYNNYEU.js → app-server-OAODUFM3.js} +73 -63
  20. package/dist/bundle/{bun-QVVCH4MJ.js → bun-HJHVHJJV.js} +2 -2
  21. package/dist/bundle/{bun-sqlite-Y2ZFMNQ3.js → bun-sqlite-PLBOY6FP.js} +7 -7
  22. package/dist/bundle/{chunk-OWZETMRE.js → chunk-2QDD6S2R.js} +8 -8
  23. package/dist/bundle/{chunk-FGRFIXG2.js → chunk-2QRGJSKO.js} +2 -2
  24. package/dist/bundle/{chunk-D2TGXSHQ.js → chunk-36SI35XZ.js} +5 -5
  25. package/dist/bundle/{chunk-4JPOELCT.js → chunk-375BH5OD.js} +4 -4
  26. package/dist/bundle/{chunk-OFODCJ2A.js → chunk-3TLQF3DN.js} +3 -3
  27. package/dist/bundle/{chunk-K3K3WKDB.js → chunk-4QNW4NK6.js} +1 -1
  28. package/dist/bundle/{chunk-YEBWRWE3.js → chunk-4Z4VOQRR.js} +17 -17
  29. package/dist/bundle/{chunk-LGBLYFKI.js → chunk-5A5W322G.js} +6 -2
  30. package/dist/bundle/chunk-5C5UEKUJ.js +170 -0
  31. package/dist/bundle/chunk-5C6CRSEM.js +389 -0
  32. package/dist/bundle/{chunk-VG63EXRC.js → chunk-5KHCFIWI.js} +2 -2
  33. package/dist/bundle/{chunk-LEVOI6Z3.js → chunk-635GRAO5.js} +12 -12
  34. package/dist/bundle/{chunk-Y2BGABXP.js → chunk-6JRBMNRN.js} +3 -3
  35. package/dist/bundle/{chunk-XC4V6YCS.js → chunk-6YCFDDRO.js} +1 -1
  36. package/dist/bundle/{chunk-VRA4RVQU.js → chunk-77JQIY2V.js} +3 -3
  37. package/dist/bundle/{chunk-CPOFLYPU.js → chunk-7AFYZOHU.js} +29 -29
  38. package/dist/bundle/{chunk-IXPBSDKB.js → chunk-7CMYNW3W.js} +4 -4
  39. package/dist/bundle/chunk-7DTU7QZP.js +72 -0
  40. package/dist/bundle/chunk-7ILGYNWX.js +773 -0
  41. package/dist/bundle/{chunk-Y4WEAWU7.js → chunk-7S3N5CTA.js} +1 -1
  42. package/dist/bundle/chunk-7SNU7RFU.js +229 -0
  43. package/dist/bundle/{chunk-TK77DCE5.js → chunk-A6LK2W5J.js} +1 -1
  44. package/dist/bundle/{chunk-UAV74EY4.js → chunk-ADJIYY33.js} +1 -1
  45. package/dist/bundle/{chunk-JWMOHEDL.js → chunk-B7XFDMFV.js} +10 -10
  46. package/dist/bundle/{chunk-GYTAHH5Y.js → chunk-BOJCRTQW.js} +2 -2
  47. package/dist/bundle/{chunk-HUHH25AG.js → chunk-CJL5GHTQ.js} +913 -544
  48. package/dist/bundle/{chunk-T2QVWRJF.js → chunk-CL6QAZGT.js} +39 -67
  49. package/dist/bundle/{chunk-NQ356ERO.js → chunk-CUJJZJ4R.js} +44 -8
  50. package/dist/bundle/{chunk-OINDAHXC.js → chunk-CZ6OO66B.js} +4 -4
  51. package/dist/bundle/chunk-DCEQIKFD.js +259 -0
  52. package/dist/bundle/{chunk-55SWKR6Y.js → chunk-DDUNPLET.js} +256 -588
  53. package/dist/bundle/{chunk-6VCQ4CTK.js → chunk-DYIRJINE.js} +1 -1
  54. package/dist/bundle/{chunk-WKT5RPSY.js → chunk-E3UPMPUV.js} +8 -8
  55. package/dist/bundle/{chunk-5T7TBK5Y.js → chunk-ECRFXQHA.js} +1 -1
  56. package/dist/bundle/{chunk-LOEK6IFQ.js → chunk-F4ROWGLU.js} +57 -35
  57. package/dist/bundle/{chunk-UYZDH5LK.js → chunk-FDQE2CLT.js} +1 -1
  58. package/dist/bundle/{chunk-M7WYBGQT.js → chunk-FRC5QIPQ.js} +8 -8
  59. package/dist/bundle/{chunk-3D5PETD2.js → chunk-FS5HPXQN.js} +9 -9
  60. package/dist/bundle/{chunk-QY6GE7CL.js → chunk-GHBDYYPO.js} +2 -2
  61. package/dist/bundle/{chunk-OOYIPK4F.js → chunk-H2EVYY5Z.js} +1 -1
  62. package/dist/bundle/{chunk-PFLJJQWW.js → chunk-I3QMPQYD.js} +49 -49
  63. package/dist/bundle/{chunk-XWQKRKMT.js → chunk-ICZVSVTW.js} +71 -252
  64. package/dist/bundle/{chunk-R47GYLNN.js → chunk-IJTBB23F.js} +29 -27
  65. package/dist/bundle/{chunk-WZJ7ZYR4.js → chunk-IS6MUPN2.js} +4 -4
  66. package/dist/bundle/{chunk-ORM73DZO.js → chunk-IUOKIZZN.js} +2 -2
  67. package/dist/bundle/{chunk-FMJ4QSSU.js → chunk-IZMRQ3MV.js} +10 -10
  68. package/dist/bundle/{chunk-HWYSJ4SL.js → chunk-JFVZVPRW.js} +3 -3
  69. package/dist/bundle/{chunk-7RORMNKP.js → chunk-JMU3E2WA.js} +2 -2
  70. package/dist/bundle/{chunk-6SXCGS3A.js → chunk-JQUYHPQD.js} +7 -7
  71. package/dist/bundle/{chunk-MDTEAKA5.js → chunk-KHBSQROH.js} +5 -5
  72. package/dist/bundle/{chunk-EPPE6ZTS.js → chunk-KYKW2W6X.js} +1 -1
  73. package/dist/bundle/chunk-LMZUC4CS.js +101 -0
  74. package/dist/bundle/{chunk-X73YEFQE.js → chunk-LUAS73NT.js} +18 -18
  75. package/dist/bundle/{chunk-25GMFXPF.js → chunk-LWMDLXEO.js} +2032 -2657
  76. package/dist/bundle/{chunk-GPIQY4YB.js → chunk-LYVHQ6DJ.js} +14 -14
  77. package/dist/bundle/{chunk-CXHUOPN5.js → chunk-MCLZ74II.js} +7 -7
  78. package/dist/bundle/chunk-MIG4RLDB.js +555 -0
  79. package/dist/bundle/{chunk-JADBHKBP.js → chunk-MMAZUJBO.js} +1 -1
  80. package/dist/bundle/{chunk-VABYJQYE.js → chunk-MTH3JJHF.js} +24 -22
  81. package/dist/bundle/{chunk-EZXW3ZCR.js → chunk-NJJEUG4C.js} +12 -12
  82. package/dist/bundle/{chunk-GZYICXO4.js → chunk-NKKVVPL5.js} +1 -1
  83. package/dist/bundle/{chunk-QLUU3BV2.js → chunk-NOF6LABG.js} +6 -6
  84. package/dist/bundle/{chunk-KEFDP6NL.js → chunk-NPDPD2H3.js} +12 -12
  85. package/dist/bundle/{chunk-5EII5RIL.js → chunk-NPIVV52M.js} +1 -1
  86. package/dist/bundle/{chunk-UG2QDGAH.js → chunk-OOIU36FA.js} +1 -1
  87. package/dist/bundle/{chunk-IUSY4ZJK.js → chunk-OXXJW3A5.js} +806 -1523
  88. package/dist/bundle/chunk-PM3MB3E7.js +295 -0
  89. package/dist/bundle/{chunk-EBIK5Q73.js → chunk-PO4RZ4XZ.js} +1 -1
  90. package/dist/bundle/{chunk-EZJSAYWZ.js → chunk-Q7ZW7XAX.js} +31 -87
  91. package/dist/bundle/{chunk-CS62FET6.js → chunk-QAGECFHL.js} +22 -22
  92. package/dist/bundle/{chunk-WNXC42IU.js → chunk-QE4L2QQZ.js} +9 -9
  93. package/dist/bundle/{chunk-YESHGC3M.js → chunk-QKNO3JTG.js} +2 -2
  94. package/dist/bundle/{chunk-TYAFL66K.js → chunk-QUGESVOE.js} +15 -31
  95. package/dist/bundle/{chunk-DQHS336B.js → chunk-RQS3W4P6.js} +7 -6
  96. package/dist/bundle/{chunk-XHVFX74L.js → chunk-SFPUSEOT.js} +2 -2
  97. package/dist/bundle/{chunk-YGKM2ZWF.js → chunk-SP5OMHOO.js} +3 -3
  98. package/dist/bundle/chunk-STNZQBY4.js +335 -0
  99. package/dist/bundle/{chunk-RJK5ADMH.js → chunk-SVJQRG5N.js} +16 -16
  100. package/dist/bundle/{chunk-B7ZREOBD.js → chunk-SY5NGYKA.js} +12 -12
  101. package/dist/bundle/{chunk-GB5LI5RM.js → chunk-T4CI3YXW.js} +6 -6
  102. package/dist/bundle/{chunk-ELW3LMJZ.js → chunk-T6RSYDFA.js} +342 -154
  103. package/dist/bundle/{chunk-ZETM63M6.js → chunk-TY4FFK2P.js} +6 -6
  104. package/dist/bundle/chunk-UGRGYLEI.js +224 -0
  105. package/dist/bundle/{chunk-4ERYXY4Y.js → chunk-VGERRRDC.js} +1 -1
  106. package/dist/bundle/{chunk-XRH2NKW4.js → chunk-VJ2TLU7R.js} +6 -6
  107. package/dist/bundle/{chunk-2HKUQ7DR.js → chunk-W7UCN7MF.js} +3 -3
  108. package/dist/bundle/{chunk-IVFNHIU4.js → chunk-WD5OL5JB.js} +81 -5
  109. package/dist/bundle/{chunk-CE5Y7PQU.js → chunk-XC3MWABM.js} +4 -4
  110. package/dist/bundle/{chunk-ZFYNJERV.js → chunk-XCA5N63N.js} +6 -6
  111. package/dist/bundle/chunk-XVHDT4CO.js +31 -0
  112. package/dist/bundle/{chunk-65VRWNDP.js → chunk-YFN5A7OP.js} +4 -4
  113. package/dist/bundle/{chunk-VCFSUGPE.js → chunk-YJIGGUPI.js} +4 -4
  114. package/dist/bundle/{chunk-RXUVXAMM.js → chunk-YVI5SQPY.js} +1 -1
  115. package/dist/bundle/{chunk-FBVJGJDM.js → chunk-ZRNNMBPC.js} +27 -574
  116. package/dist/bundle/{chunk-VJANMYEC.js → chunk-ZUMKZOHR.js} +3 -3
  117. package/dist/bundle/{chunk-35AH33VJ.js → chunk-ZZ32DXTH.js} +1 -1
  118. package/dist/bundle/{cli-FHMLYHUZ.js → cli-Y27PHKBV.js} +101 -84
  119. package/dist/bundle/command-contract-GB7YA3KW.js +45 -0
  120. package/dist/bundle/{command-server-entry-YEZM52R5.js → command-server-entry-AXQSW2X6.js} +35 -31
  121. package/dist/bundle/config-2OOABHR7.js +108 -0
  122. package/dist/bundle/{decode-SIYRMJOK.js → decode-ZRNOOTUZ.js} +16 -8
  123. package/dist/bundle/{dispatch-SMER3WDX.js → dispatch-2GHGPAYH.js} +9 -9
  124. package/dist/bundle/{dist-BSJETSFE.js → dist-MUFVAMKB.js} +25 -22
  125. package/dist/bundle/{echarts-UZJ6AREV.js → echarts-F4PHDYET.js} +2 -2
  126. package/dist/bundle/{embed-A7DSHVI7.js → embed-KWHCKPCV.js} +7 -7
  127. package/dist/bundle/{embedder-WQBR4UGS.js → embedder-U3R3RY54.js} +10 -10
  128. package/dist/bundle/{failure-73UQXQTW.js → failure-S2YXEN4A.js} +3 -3
  129. package/dist/bundle/first-run-F4YR2E2C.js +29 -0
  130. package/dist/bundle/first-screen-HPRHD3VK.js +43 -0
  131. package/dist/bundle/{folders-BH4SV6SI.js → folders-DVTRFQKW.js} +5 -5
  132. package/dist/bundle/{instructions-SDDUBGH4.js → instructions-JU4YW6QY.js} +1 -1
  133. package/dist/bundle/{main-KL4FN5F3.js → main-5UCRPACH.js} +24 -24
  134. package/dist/bundle/{mcp-GN4FTJX5.js → mcp-O6ACR2DX.js} +2 -2
  135. package/dist/bundle/meeting-combined-IWU5SPAH.js +26 -0
  136. package/dist/bundle/meeting-model-ILIUJECZ.js +26 -0
  137. package/dist/bundle/meeting-semantic-5DKRGZFS.js +23 -0
  138. package/dist/bundle/{meetings-URPXBHV7.js → meetings-T2UY35DV.js} +25 -7
  139. package/dist/bundle/{node-ELCNUOCE.js → node-MAVRAF4M.js} +2 -2
  140. package/dist/bundle/{node-sqlite-QLSNHZBM.js → node-sqlite-TFBQ5NDI.js} +8 -8
  141. package/dist/bundle/{oauth-LZ64S7Y3.js → oauth-7IG5HWSY.js} +8 -8
  142. package/dist/bundle/{open-WB4HUPQT.js → open-3R3N7L3X.js} +6 -6
  143. package/dist/bundle/openai-DD5I3DWC.js +28 -0
  144. package/dist/bundle/{output-file-AHPQA5LR.js → output-file-KKHHAYWF.js} +6 -6
  145. package/dist/bundle/{process-67DAKAAQ.js → process-OIO254NR.js} +1 -1
  146. package/dist/bundle/{program-CIMACIBE.js → program-IBYRU76H.js} +423 -251
  147. package/dist/bundle/{prompt-GG53UBDJ.js → prompt-LNEOO7PN.js} +6 -6
  148. package/dist/bundle/{recognize-CFJ3CAEH.js → recognize-2WYLT3PC.js} +5 -5
  149. package/dist/bundle/{remote-BLEM7C3Q.js → remote-7EAJEIV7.js} +11 -11
  150. package/dist/bundle/{rerank-ERN6PC66.js → rerank-DZBZ744F.js} +8 -8
  151. package/dist/bundle/run-log-CCIVRSHP.js +135 -0
  152. package/dist/bundle/{serve-FJPPTJXH.js → serve-T3KQV5SS.js} +15 -15
  153. package/dist/bundle/{server-FLUSDUGM.js → server-2QQAQZ2J.js} +59 -49
  154. package/dist/bundle/server-OJQMPF2R.js +84 -0
  155. package/dist/bundle/{services-LXC6DVUQ.js → services-DETAKMC3.js} +78 -54
  156. package/dist/bundle/{speech-WFEZTKXA.js → speech-HD57JNTK.js} +34 -18
  157. package/dist/bundle/{sqlite-runtime-KN33VSP7.js → sqlite-runtime-OCETZSEZ.js} +7 -7
  158. package/dist/bundle/{state-TXS4ZHIT.js → state-ZKVQ4DBI.js} +7 -7
  159. package/dist/bundle/{store-ZUREZYZB.js → store-7IZ2WMHF.js} +24 -20
  160. package/dist/bundle/{store-MUOXLVL4.js → store-GEAQ7V5R.js} +26 -22
  161. package/dist/bundle/store-connection-BALCZW7P.js +101 -0
  162. package/dist/bundle/store-maintenance-command-SBT4LDSI.js +76 -0
  163. package/dist/bundle/{streaming-ZSCHRC5S.js → streaming-CLBAO3MG.js} +7 -7
  164. package/dist/bundle/{tokens-YVDOY4EV.js → tokens-WH73ZWFI.js} +10 -10
  165. package/dist/bundle/zm.js +9 -9
  166. package/dist/bundle/{zoom-app-O6GIMB7Y.js → zoom-app-ZDTYMJET.js} +8 -8
  167. package/dist/commands.d.ts.map +1 -1
  168. package/dist/commands.js +3 -0
  169. package/dist/commands.js.map +1 -1
  170. package/dist/first-screen.d.ts.map +1 -1
  171. package/dist/first-screen.js +3 -5
  172. package/dist/first-screen.js.map +1 -1
  173. package/dist/meeting-integration-commands.d.ts.map +1 -1
  174. package/dist/meeting-integration-commands.js +46 -28
  175. package/dist/meeting-integration-commands.js.map +1 -1
  176. package/dist/meeting-source.d.ts.map +1 -1
  177. package/dist/meeting-source.js +15 -1
  178. package/dist/meeting-source.js.map +1 -1
  179. package/dist/permissions.d.ts +8 -4
  180. package/dist/permissions.d.ts.map +1 -1
  181. package/dist/permissions.js +25 -24
  182. package/dist/permissions.js.map +1 -1
  183. package/dist/program-bindings.d.ts.map +1 -1
  184. package/dist/program-bindings.js +8 -5
  185. package/dist/program-bindings.js.map +1 -1
  186. package/dist/program.d.ts +2 -1
  187. package/dist/program.d.ts.map +1 -1
  188. package/dist/program.js.map +1 -1
  189. package/dist/remote-meetings.d.ts +38 -8
  190. package/dist/remote-meetings.d.ts.map +1 -1
  191. package/dist/remote-meetings.js +52 -29
  192. package/dist/remote-meetings.js.map +1 -1
  193. package/dist/run.js +1 -1
  194. package/dist/version.d.ts +1 -1
  195. package/dist/version.js +1 -1
  196. package/dist/zoom-app.d.ts.map +1 -1
  197. package/dist/zoom-app.js +1 -0
  198. package/dist/zoom-app.js.map +1 -1
  199. package/package.json +3 -3
  200. package/skills/zoom-cli/SKILL.md +2 -2
  201. package/dist/bundle/answer-policy-ETAELI4A.js +0 -110
  202. package/dist/bundle/chunk-64N7MY3I.js +0 -161
  203. package/dist/bundle/command-contract-HUZ4I23S.js +0 -41
  204. package/dist/bundle/config-KVTWN7QZ.js +0 -97
  205. package/dist/bundle/first-run-SY6XSUZ3.js +0 -29
  206. package/dist/bundle/first-screen-ZDMODGWS.js +0 -39
  207. package/dist/bundle/openai-KN6JE4QU.js +0 -28
  208. package/dist/bundle/run-log-S67YPJF6.js +0 -124
  209. package/dist/bundle/server-UNJY3TSJ.js +0 -74
  210. package/dist/bundle/store-connection-NRNEBUPU.js +0 -90
  211. package/dist/bundle/store-maintenance-command-OBOPYFZ5.js +0 -65
  212. /package/dist/bundle/{chunk-BDCC2J2Z.js → chunk-VKE77B3F.js} +0 -0
@@ -19,14 +19,14 @@ import {
19
19
  string,
20
20
  text,
21
21
  unknown
22
- } from "./chunk-3D5PETD2.js";
22
+ } from "./chunk-FS5HPXQN.js";
23
23
  import {
24
24
  CliError,
25
25
  isCliError
26
- } from "./chunk-K3K3WKDB.js";
26
+ } from "./chunk-4QNW4NK6.js";
27
27
  import {
28
28
  visibleControls
29
- } from "./chunk-EPPE6ZTS.js";
29
+ } from "./chunk-KYKW2W6X.js";
30
30
  import {
31
31
  __commonJS,
32
32
  __name,
@@ -1899,7 +1899,7 @@ var require_cli_table3 = __commonJS({
1899
1899
  }
1900
1900
  });
1901
1901
 
1902
- // node_modules/.pnpm/@wirecat+cli-base@0.100.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
1902
+ // node_modules/.pnpm/@wirecat+cli-base@0.102.1_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
1903
1903
  var forbidden = /* @__PURE__ */ new Set(["__proto__", "prototype", "constructor"]);
1904
1904
  var validate = /* @__PURE__ */ __name((paths) => {
1905
1905
  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))))
@@ -1911,7 +1911,7 @@ var fieldsOf = /* @__PURE__ */ __name((value) => {
1911
1911
  return [...new Set(paths)];
1912
1912
  }, "fieldsOf");
1913
1913
  var object2 = /* @__PURE__ */ __name((value) => value !== null && typeof value === "object" && !Array.isArray(value), "object");
1914
- var retained = /* @__PURE__ */ new Set(["operation_id", "page", "next", "missing", "meta", "coverage"]);
1914
+ var retained = /* @__PURE__ */ new Set(["operation_id", "page", "next", "missing", "meta", "coverage", "untrusted"]);
1915
1915
  var itemPaths = /* @__PURE__ */ __name((paths) => paths.map((path) => path.startsWith("items.") ? path.slice(6) : path), "itemPaths");
1916
1916
  var onePaths = /* @__PURE__ */ __name((paths) => paths.map((path) => path.startsWith("item.") ? path.slice(5) : path), "onePaths");
1917
1917
  var select = /* @__PURE__ */ __name((value, paths) => {
@@ -1964,7 +1964,7 @@ var projectFields = /* @__PURE__ */ __name((value, fields) => {
1964
1964
  return project(value, fields);
1965
1965
  }, "projectFields");
1966
1966
 
1967
- // node_modules/.pnpm/@wirecat+cli-base@0.100.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
1967
+ // node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/batch.js
1968
1968
  var BATCH_LIMITS = Object.freeze({
1969
1969
  requests: 32,
1970
1970
  input_bytes: 262144,
@@ -2111,7 +2111,7 @@ var runBatch = /* @__PURE__ */ __name(async (requests, options = {}) => {
2111
2111
  };
2112
2112
  }, "runBatch");
2113
2113
 
2114
- // node_modules/.pnpm/@wirecat+cli-base@0.100.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
2114
+ // node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/config.js
2115
2115
  import { randomBytes } from "node:crypto";
2116
2116
  import { mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from "node:fs";
2117
2117
  import { dirname, join } from "node:path";
@@ -2155,7 +2155,7 @@ var saveConfigFile = /* @__PURE__ */ __name((path, config) => {
2155
2155
  `, 384);
2156
2156
  }, "saveConfigFile");
2157
2157
 
2158
- // node_modules/.pnpm/@wirecat+cli-base@0.100.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
2158
+ // node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/keyring.js
2159
2159
  import { createRequire } from "node:module";
2160
2160
  var ENTRY_OPTIONS = { linux: { store: "secret-service" } };
2161
2161
  var require2 = createRequire(new URL("keyring.js", import.meta.resolve("@wirecat/cli-base")).href);
@@ -2181,7 +2181,7 @@ var systemKeyring = {
2181
2181
  delete: /* @__PURE__ */ __name((service, account) => entry(service, account).deletePassword(), "delete")
2182
2182
  };
2183
2183
 
2184
- // node_modules/.pnpm/@wirecat+cli-base@0.100.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
2184
+ // node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/paths.js
2185
2185
  import { realpathSync } from "node:fs";
2186
2186
  import { homedir, userInfo } from "node:os";
2187
2187
  import { join as join2, posix, win32 } from "node:path";
@@ -2255,7 +2255,7 @@ var homeIsMoved = /* @__PURE__ */ __name(({ env = process.env, platform = proces
2255
2255
  var isMovedRun = /* @__PURE__ */ __name((options) => pathsAreOverridden(options) || homeIsMoved(options), "isMovedRun");
2256
2256
  var configFilePath = /* @__PURE__ */ __name((configDir, fileName = "config.json") => join2(configDir, fileName), "configFilePath");
2257
2257
 
2258
- // node_modules/.pnpm/@wirecat+cli-base@0.100.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
2258
+ // node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
2259
2259
  import { readFileSync as readFileSync2 } from "node:fs";
2260
2260
  import { join as join3, resolve } from "node:path";
2261
2261
  var movedRunService = /* @__PURE__ */ __name((service, configDir) => `${service}:${resolve(configDir)}`, "movedRunService");
@@ -2392,10 +2392,10 @@ var Credentials = class {
2392
2392
  }
2393
2393
  };
2394
2394
 
2395
- // node_modules/.pnpm/@wirecat+cli-base@0.100.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
2395
+ // node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/logging.js
2396
2396
  import { appendFileSync } from "node:fs";
2397
2397
 
2398
- // node_modules/.pnpm/@wirecat+cli-base@0.100.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
2398
+ // node_modules/.pnpm/@wirecat+cli-base@0.102.1_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
2399
2399
  var LOG_SEVERITIES = ["trace", "debug", "info", "warn", "error", "fatal"];
2400
2400
  var logRecordSchema = strictObject({
2401
2401
  time: isoTime,
@@ -2473,7 +2473,7 @@ var traceIdOf = /* @__PURE__ */ __name((traceparent) => {
2473
2473
  return traceId;
2474
2474
  }, "traceIdOf");
2475
2475
 
2476
- // node_modules/.pnpm/@wirecat+cli-base@0.100.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
2476
+ // node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/logging.js
2477
2477
  var REDACTED_FIELDS = [
2478
2478
  "authorization",
2479
2479
  "Authorization",
@@ -2567,7 +2567,7 @@ var silent = {
2567
2567
  }, "error")
2568
2568
  };
2569
2569
 
2570
- // node_modules/.pnpm/@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/output-buffer.js
2570
+ // node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/output-buffer.js
2571
2571
  var createOutputBuffer = /* @__PURE__ */ __name(({ maxOutputBytes = 4 * 1024 * 1024, fields, format } = {}) => {
2572
2572
  if (!Number.isSafeInteger(maxOutputBytes) || maxOutputBytes < 0)
2573
2573
  throw new CliError("validation_error", "maxOutputBytes must be a nonnegative whole byte count");
@@ -2628,7 +2628,7 @@ var createOutputBuffer = /* @__PURE__ */ __name(({ maxOutputBytes = 4 * 1024 * 1
2628
2628
  };
2629
2629
  }, "createOutputBuffer");
2630
2630
 
2631
- // node_modules/.pnpm/@wirecat+cli-base@0.100.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
2631
+ // node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/retry.js
2632
2632
  var DEFAULT_RETRY = {
2633
2633
  retries: 1,
2634
2634
  baseDelayMs: 250,
@@ -2640,7 +2640,7 @@ var backoffMs = /* @__PURE__ */ __name((attempt, config, random) => {
2640
2640
  return Math.round(random() * ceiling);
2641
2641
  }, "backoffMs");
2642
2642
 
2643
- // node_modules/.pnpm/@wirecat+cli-base@0.100.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
2643
+ // node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/constants.js
2644
2644
  import { fileURLToPath } from "node:url";
2645
2645
  var BASE_CONSTANTS = new URL("../constants.json", new URL("constants.js", import.meta.resolve("@wirecat/cli-base")).href);
2646
2646
  var baseConstantsSchema = object({});
@@ -2695,7 +2695,7 @@ var loadConstants = /* @__PURE__ */ __name((layers, schema) => {
2695
2695
  return deepFreeze(result.output);
2696
2696
  }, "loadConstants");
2697
2697
 
2698
- // node_modules/.pnpm/@wirecat+cli-base@0.100.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
2698
+ // node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/time.js
2699
2699
  var abortError = /* @__PURE__ */ __name(() => new DOMException("The operation was aborted.", "AbortError"), "abortError");
2700
2700
  var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, reject) => {
2701
2701
  if (signal?.aborted) {
@@ -2710,7 +2710,7 @@ var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, re
2710
2710
  }), "realSleep");
2711
2711
  var wallClock = /* @__PURE__ */ __name(() => /* @__PURE__ */ new Date(), "wallClock");
2712
2712
 
2713
- // node_modules/.pnpm/@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/deadline.js
2713
+ // node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/deadline.js
2714
2714
  var createDeadline = /* @__PURE__ */ __name(({ timeoutMs, signal, sleep = realSleep } = {}) => {
2715
2715
  if (timeoutMs !== void 0 && (!Number.isSafeInteger(timeoutMs) || timeoutMs < 0 || timeoutMs > 2147483647))
2716
2716
  throw new CliError("validation_error", "timeoutMs must be an integer from zero through 2147483647");
@@ -2794,7 +2794,7 @@ var createDeadline = /* @__PURE__ */ __name(({ timeoutMs, signal, sleep = realSl
2794
2794
  };
2795
2795
  }, "createDeadline");
2796
2796
 
2797
- // node_modules/.pnpm/@wirecat+cli-base@0.100.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
2797
+ // node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/pretty.js
2798
2798
  var import_cli_table3 = __toESM(require_cli_table3(), 1);
2799
2799
  import { styleText } from "node:util";
2800
2800
  var renderPretty = /* @__PURE__ */ __name((value, options) => {
@@ -2869,7 +2869,7 @@ var BORDERLESS = {
2869
2869
  middle: ""
2870
2870
  };
2871
2871
 
2872
- // node_modules/.pnpm/@wirecat+cli-base@0.100.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
2872
+ // node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/drain.js
2873
2873
  var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
2874
2874
  if (signal?.aborted)
2875
2875
  return Promise.reject(signal.reason);
@@ -2897,7 +2897,7 @@ var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
2897
2897
  });
2898
2898
  }, "waitForDrain");
2899
2899
 
2900
- // node_modules/.pnpm/@wirecat+cli-base@0.100.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
2900
+ // node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/streams.js
2901
2901
  var processStreams = {
2902
2902
  drain: /* @__PURE__ */ __name(async (signal) => {
2903
2903
  await Promise.all([waitForDrain(process.stdout, signal), waitForDrain(process.stderr, signal)]);
@@ -2926,7 +2926,7 @@ var captureStreams = /* @__PURE__ */ __name(() => {
2926
2926
  };
2927
2927
  }, "captureStreams");
2928
2928
 
2929
- // node_modules/.pnpm/@wirecat+cli-base@0.100.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
2929
+ // node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/renderer.js
2930
2930
  var createRenderer = /* @__PURE__ */ __name(({ format, color, streams = processStreams, quiet = false }) => {
2931
2931
  const mark = /* @__PURE__ */ __name((symbol, message) => format === "pretty" ? `${symbol} ${visibleControls(message)}` : visibleControls(message), "mark");
2932
2932
  const say = /* @__PURE__ */ __name((symbol) => (message) => {
@@ -2,20 +2,20 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  unit
5
- } from "./chunk-GB5LI5RM.js";
5
+ } from "./chunk-T4CI3YXW.js";
6
6
  import {
7
7
  PLAIN_HTTP_REFUSED,
8
8
  modelAddressAllowed,
9
9
  onThisComputer
10
- } from "./chunk-YGKM2ZWF.js";
10
+ } from "./chunk-SP5OMHOO.js";
11
11
  import {
12
12
  readSharedSection,
13
13
  sharedConfigPath,
14
14
  writeSharedSection
15
- } from "./chunk-WKT5RPSY.js";
15
+ } from "./chunk-E3UPMPUV.js";
16
16
  import {
17
17
  storePath
18
- } from "./chunk-XHVFX74L.js";
18
+ } from "./chunk-SFPUSEOT.js";
19
19
  import {
20
20
  boolean,
21
21
  isoTimestamp,
@@ -23,18 +23,18 @@ import {
23
23
  safeParse,
24
24
  strictObject,
25
25
  string
26
- } from "./chunk-3D5PETD2.js";
26
+ } from "./chunk-FS5HPXQN.js";
27
27
  import {
28
28
  CliError
29
- } from "./chunk-K3K3WKDB.js";
29
+ } from "./chunk-4QNW4NK6.js";
30
30
  import {
31
31
  __name
32
32
  } from "./chunk-ZVVMGPBJ.js";
33
33
 
34
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
34
+ // node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
35
35
  import { setTimeout } from "node:timers/promises";
36
36
 
37
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/models/local-only.js
37
+ // node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/models/local-only.js
38
38
  var SECTION = "local_only";
39
39
  var Setting = strictObject({
40
40
  on: boolean(),
@@ -68,7 +68,7 @@ var refuseModelAddress = /* @__PURE__ */ __name((env, address, what) => {
68
68
  refuseOffComputer(env, address, what);
69
69
  }, "refuseModelAddress");
70
70
 
71
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
71
+ // node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
72
72
  var OPENAI_URL = "https://api.openai.com/v1";
73
73
  var OPENAI_MODELS = {
74
74
  "text-embedding-3-small": { dims: 1536, perMillion: 0.02 },
@@ -5,12 +5,12 @@ import {
5
5
  } from "./chunk-Y5E2WNWB.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-K3K3WKDB.js";
8
+ } from "./chunk-4QNW4NK6.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/store/vector-extension.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/store/vector-extension.js
14
14
  import { readFileSync } from "node:fs";
15
15
  var musl = /* @__PURE__ */ __name(() => {
16
16
  if (process.platform !== "linux")
@@ -3,18 +3,18 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  formatMeetingReference,
5
5
  parseMeetingReference
6
- } from "./chunk-ELW3LMJZ.js";
6
+ } from "./chunk-T6RSYDFA.js";
7
7
  import {
8
8
  CliError
9
- } from "./chunk-K3K3WKDB.js";
9
+ } from "./chunk-4QNW4NK6.js";
10
10
  import {
11
11
  singleLine
12
- } from "./chunk-EPPE6ZTS.js";
12
+ } from "./chunk-KYKW2W6X.js";
13
13
  import {
14
14
  __name
15
15
  } from "./chunk-ZVVMGPBJ.js";
16
16
 
17
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/domain/money.js
17
+ // node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/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.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/domain/deals.js
111
+ // node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/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.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/domain/finance.js
121
+ // node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/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.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/domain/orders.js
150
+ // node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/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.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/domain/relations.js
161
+ // node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/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.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/domain/crm.js
268
+ // node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/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.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/domain/business.js
278
+ // node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/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,21 +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.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/domain/tags.js
308
- var TAG_TYPES = ["chat", "contact", "message", "task"];
309
- var TAG = /^[a-z0-9-]{1,32}$/;
310
- var tagOf = /* @__PURE__ */ __name((value) => {
311
- const tag = value.trim().toLowerCase();
312
- return TAG.test(tag) ? tag : void 0;
313
- }, "tagOf");
314
- var normalizeTag = /* @__PURE__ */ __name((value) => {
315
- const tag = tagOf(value);
316
- if (tag === void 0)
317
- throw new CliError("validation_error", `"${singleLine(value)}" is not a tag \u2014 use 1\u201332 letters a\u2013z, digits and hyphens`, { reason: "tag.invalid" });
318
- return tag;
319
- }, "normalizeTag");
320
-
321
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/domain/locator.js
307
+ // node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/domain/locator.js
322
308
  var SCHEME = "msg:";
323
309
  var formatLocator = /* @__PURE__ */ __name(({ provider, account, chat, message }) => SCHEME + [provider, account, chat, message].map(encodeURIComponent).join("/"), "formatLocator");
324
310
  var isLocator = /* @__PURE__ */ __name((reference) => reference.trim().startsWith(SCHEME), "isLocator");
@@ -339,7 +325,7 @@ var parseLocator = /* @__PURE__ */ __name((reference) => {
339
325
  return { provider, account, chat, message };
340
326
  }, "parseLocator");
341
327
 
342
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/domain/references.js
328
+ // node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/domain/references.js
343
329
  var SIMPLE_REFERENCES = [
344
330
  "note",
345
331
  "document",
@@ -502,7 +488,7 @@ var looksLikeReference = /* @__PURE__ */ __name((text) => {
502
488
  return match !== null && byPrefix.has(match[1]);
503
489
  }, "looksLikeReference");
504
490
 
505
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/domain/providers.js
491
+ // node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/domain/providers.js
506
492
  var KINDS = ["messages", "mail", "notes", "documents", "meetings", "events", "crm"];
507
493
  var MESSENGER_OPENS = { chat: "messages list", message: "messages show", contact: "contacts show" };
508
494
  var CRM_OPENS = { deal: "deals show", lead: "leads show", pipeline: "pipelines show" };
@@ -519,7 +505,8 @@ var PROVIDERS = [
519
505
  { name: "obsidian", kind: "notes", aliases: [] },
520
506
  { name: "added", kind: "notes", aliases: [] },
521
507
  { name: "zoom", kind: "meetings", aliases: [] },
522
- { name: "google-meet", kind: "meetings", aliases: [], command: "gmeet" },
508
+ // Google Meet has no tool of its own: its meetings are gcal's, since every meeting is on the calendar.
509
+ { name: "google-meet", kind: "meetings", aliases: [], command: "gcal" },
523
510
  { name: "google-drive", kind: "documents", aliases: [] },
524
511
  // Its meetings come from the notes Telemost mails (`keeper@telemost.yandex.ru`), read by a mail rule.
525
512
  { name: "telemost", kind: "meetings", aliases: [] },
@@ -757,9 +744,6 @@ export {
757
744
  subscriptionLine,
758
745
  walletLine,
759
746
  transactionLine,
760
- TAG_TYPES,
761
- tagOf,
762
- normalizeTag,
763
747
  formatLocator,
764
748
  isLocator,
765
749
  parseLocator,
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  checkCancelled
5
- } from "./chunk-FGRFIXG2.js";
5
+ } from "./chunk-2QRGJSKO.js";
6
6
  import {
7
7
  BASE_CONSTANTS,
8
8
  baseConstantsSchema,
9
9
  loadConstants
10
- } from "./chunk-CS62FET6.js";
10
+ } from "./chunk-QAGECFHL.js";
11
11
  import {
12
12
  nonEmpty,
13
13
  object,
@@ -15,15 +15,15 @@ import {
15
15
  pipe,
16
16
  string,
17
17
  transform
18
- } from "./chunk-3D5PETD2.js";
18
+ } from "./chunk-FS5HPXQN.js";
19
19
  import {
20
20
  CliError
21
- } from "./chunk-K3K3WKDB.js";
21
+ } from "./chunk-4QNW4NK6.js";
22
22
  import {
23
23
  __name
24
24
  } from "./chunk-ZVVMGPBJ.js";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/constants/obscure.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/constants/obscure.js
27
27
  import { createDecipheriv } from "node:crypto";
28
28
  var KEY = Buffer.from("d43012779aa2dded3e98092a3dbcf5d8980c564172f5ce0a5fd0574e5f740339", "hex");
29
29
  var reveal = /* @__PURE__ */ __name((obscured) => {
@@ -32,7 +32,7 @@ var reveal = /* @__PURE__ */ __name((obscured) => {
32
32
  return Buffer.concat([decipher.update(bytes.subarray(16)), decipher.final()]).toString("utf8");
33
33
  }, "reveal");
34
34
 
35
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/constants/index.js
35
+ // node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/constants/index.js
36
36
  var CORE_CONSTANTS = new URL("../../constants.json", new URL("constants/index.js", import.meta.resolve("@wirecat/cli-core")).href);
37
37
  var constantsSchema = object({
38
38
  ...baseConstantsSchema.entries,
@@ -204,6 +204,7 @@ var ZOOM_APP_SCOPES = [
204
204
  { scope: "cloud_recording:read:list_recording_files", required: false, use: "download recordings and meeting chat" },
205
205
  { scope: "user:read:user", required: false, use: "session status --check" },
206
206
  { scope: "meeting:read:meeting", required: false, use: "show one meeting, prepare a series" },
207
+ { scope: "meeting:read:past_meeting", required: false, use: "meetings show reads a meeting that ran from Zoom" },
207
208
  { scope: "meeting:read:invitation", required: false, use: "show a meeting's invitation" },
208
209
  { scope: "meeting:write:meeting", required: false, use: "create a meeting" },
209
210
  { scope: "meeting:update:meeting", required: false, use: "change a meeting" },
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  resolvePaths
5
- } from "./chunk-CS62FET6.js";
5
+ } from "./chunk-QAGECFHL.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/store/path.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/store/path.js
11
11
  import { realpathSync } from "node:fs";
12
12
  import { userInfo } from "node:os";
13
13
  import { basename, dirname, isAbsolute, join, relative, resolve } 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
  hostFetch
5
- } from "./chunk-ZFYNJERV.js";
5
+ } from "./chunk-XCA5N63N.js";
6
6
  import {
7
7
  CliError,
8
8
  isCliError
9
- } from "./chunk-K3K3WKDB.js";
9
+ } from "./chunk-4QNW4NK6.js";
10
10
  import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
13
13
 
14
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/models/endpoint.js
14
+ // node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/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);