@wirecat/zoom-cli 0.77.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 (186) hide show
  1. package/dist/bin/zm.js +2 -2
  2. package/dist/bundle/{all-profiles-PMCFNDMA.js → all-profiles-LDSHUH5W.js} +11 -11
  3. package/dist/bundle/answer-policy-VJK4ID2F.js +122 -0
  4. package/dist/bundle/{anthropic-TGJOKLUS.js → anthropic-UH3QWA3F.js} +6 -6
  5. package/dist/bundle/{app-server-OAODUFM3.js → app-server-LFANTLAJ.js} +72 -72
  6. package/dist/bundle/{bun-HJHVHJJV.js → bun-M3J2QTR3.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-PLBOY6FP.js → bun-sqlite-NYP5UH23.js} +7 -7
  8. package/dist/bundle/{chunk-NOF6LABG.js → chunk-2GI63IPV.js} +2 -2
  9. package/dist/bundle/{chunk-CL6QAZGT.js → chunk-2IPIBDXI.js} +13 -13
  10. package/dist/bundle/{chunk-635GRAO5.js → chunk-2LJARGNG.js} +14 -13
  11. package/dist/bundle/{chunk-7S3N5CTA.js → chunk-2N57GL4L.js} +1 -1
  12. package/dist/bundle/{chunk-2QDD6S2R.js → chunk-2OTETB4A.js} +8 -8
  13. package/dist/bundle/{chunk-LUAS73NT.js → chunk-2PUMYKGV.js} +20 -118
  14. package/dist/bundle/{chunk-UGRGYLEI.js → chunk-2W6QGFHF.js} +8 -8
  15. package/dist/bundle/{chunk-NJJEUG4C.js → chunk-3AFZ6Q5N.js} +12 -12
  16. package/dist/bundle/{chunk-T4CI3YXW.js → chunk-3QPAD6YI.js} +6 -6
  17. package/dist/bundle/{chunk-77JQIY2V.js → chunk-4BQN5IFQ.js} +3 -3
  18. package/dist/bundle/{chunk-LWMDLXEO.js → chunk-4S7RUA3U.js} +3397 -3088
  19. package/dist/bundle/{chunk-QE4L2QQZ.js → chunk-4T3J4NCF.js} +9 -9
  20. package/dist/bundle/{chunk-ZUMKZOHR.js → chunk-525BI32C.js} +3 -3
  21. package/dist/bundle/{chunk-PO4RZ4XZ.js → chunk-52ZQ72HL.js} +1 -1
  22. package/dist/bundle/{chunk-CZ6OO66B.js → chunk-5KEOCHBZ.js} +4 -4
  23. package/dist/bundle/{chunk-KYKW2W6X.js → chunk-5RVXXDN7.js} +1 -1
  24. package/dist/bundle/{chunk-XVHDT4CO.js → chunk-63WT3HCY.js} +3 -3
  25. package/dist/bundle/{chunk-6YCFDDRO.js → chunk-65DOVVHQ.js} +1 -1
  26. package/dist/bundle/{chunk-SFPUSEOT.js → chunk-73L5R7AS.js} +2 -2
  27. package/dist/bundle/{chunk-QKNO3JTG.js → chunk-7DTWT7BN.js} +2 -2
  28. package/dist/bundle/{chunk-PM3MB3E7.js → chunk-AWLZZTPW.js} +3 -3
  29. package/dist/bundle/{chunk-CUJJZJ4R.js → chunk-AZB6QXZU.js} +38 -5
  30. package/dist/bundle/{chunk-QAGECFHL.js → chunk-BNEJKGG7.js} +31 -22
  31. package/dist/bundle/{chunk-MTH3JJHF.js → chunk-BOVYOUB3.js} +10 -10
  32. package/dist/bundle/{chunk-DCEQIKFD.js → chunk-BTFPDS52.js} +6 -6
  33. package/dist/bundle/{chunk-YVI5SQPY.js → chunk-CWXOXIWS.js} +1 -1
  34. package/dist/bundle/{chunk-7CMYNW3W.js → chunk-D264RGZ4.js} +4 -4
  35. package/dist/bundle/{chunk-H2EVYY5Z.js → chunk-DFCHHR5M.js} +1 -1
  36. package/dist/bundle/{chunk-ECRFXQHA.js → chunk-DI5JX4SD.js} +1 -1
  37. package/dist/bundle/{chunk-DDUNPLET.js → chunk-DQVCCO7G.js} +261 -177
  38. package/dist/bundle/{chunk-FDQE2CLT.js → chunk-E5WLE7BM.js} +1 -1
  39. package/dist/bundle/{chunk-JFVZVPRW.js → chunk-FIJREKLA.js} +3 -3
  40. package/dist/bundle/{chunk-DYIRJINE.js → chunk-FKA7DOCK.js} +1 -1
  41. package/dist/bundle/{chunk-TY4FFK2P.js → chunk-FMT4CIGN.js} +9 -60
  42. package/dist/bundle/{chunk-LMZUC4CS.js → chunk-FO5UNFFN.js} +4 -4
  43. package/dist/bundle/chunk-FPUGMDJV.js +7 -0
  44. package/dist/bundle/{chunk-ICZVSVTW.js → chunk-GTUBQQU2.js} +64 -61
  45. package/dist/bundle/{chunk-7SNU7RFU.js → chunk-HOXBHGP2.js} +12 -12
  46. package/dist/bundle/{chunk-SP5OMHOO.js → chunk-HVQVCGME.js} +3 -3
  47. package/dist/bundle/{chunk-A6LK2W5J.js → chunk-HZRQLAHO.js} +1 -1
  48. package/dist/bundle/{chunk-B7XFDMFV.js → chunk-I6VDTYML.js} +10 -10
  49. package/dist/bundle/{chunk-7DTU7QZP.js → chunk-I75KOOUD.js} +3 -3
  50. package/dist/bundle/{chunk-JMU3E2WA.js → chunk-IIFRJV3A.js} +2 -2
  51. package/dist/bundle/{chunk-W7UCN7MF.js → chunk-J62BQBVG.js} +3 -3
  52. package/dist/bundle/{chunk-MCLZ74II.js → chunk-JJGUHWLB.js} +7 -7
  53. package/dist/bundle/{chunk-NPDPD2H3.js → chunk-LCCVEX4R.js} +12 -12
  54. package/dist/bundle/{chunk-5A5W322G.js → chunk-LITZ7KPO.js} +2 -2
  55. package/dist/bundle/{chunk-YFN5A7OP.js → chunk-M4RXPZ6K.js} +4 -4
  56. package/dist/bundle/{chunk-GHBDYYPO.js → chunk-M5FW654Z.js} +2 -2
  57. package/dist/bundle/{chunk-6JRBMNRN.js → chunk-N5O3XVX3.js} +3 -3
  58. package/dist/bundle/{chunk-5KHCFIWI.js → chunk-ND7TBQKO.js} +2 -2
  59. package/dist/bundle/{chunk-QUGESVOE.js → chunk-NI7UYGTF.js} +13 -13
  60. package/dist/bundle/{chunk-5C6CRSEM.js → chunk-NKFEEY5M.js} +14 -29
  61. package/dist/bundle/{chunk-Q7ZW7XAX.js → chunk-NQMHYLZO.js} +20 -20
  62. package/dist/bundle/{chunk-ZZ32DXTH.js → chunk-O3DYRCIT.js} +1 -1
  63. package/dist/bundle/{chunk-MIG4RLDB.js → chunk-OLMEJNL4.js} +6 -6
  64. package/dist/bundle/{chunk-NPIVV52M.js → chunk-ONJPUFLX.js} +1 -1
  65. package/dist/bundle/{chunk-36SI35XZ.js → chunk-OZQSTX4J.js} +5 -5
  66. package/dist/bundle/{chunk-OXXJW3A5.js → chunk-P4MZOAPC.js} +2843 -1647
  67. package/dist/bundle/{chunk-XC3MWABM.js → chunk-P4WHDL2F.js} +4 -4
  68. package/dist/bundle/{chunk-2QRGJSKO.js → chunk-PCPOO5FS.js} +2 -2
  69. package/dist/bundle/{chunk-LYVHQ6DJ.js → chunk-PJFVE7UH.js} +14 -14
  70. package/dist/bundle/{chunk-SVJQRG5N.js → chunk-PP6SZLCY.js} +103 -42
  71. package/dist/bundle/{chunk-XCA5N63N.js → chunk-QIK2IBJ4.js} +21 -7
  72. package/dist/bundle/{chunk-5C5UEKUJ.js → chunk-QRKSASGP.js} +3 -3
  73. package/dist/bundle/{chunk-3TLQF3DN.js → chunk-QX3PO5UE.js} +3 -3
  74. package/dist/bundle/{chunk-T6RSYDFA.js → chunk-RJ5JAYNZ.js} +361 -270
  75. package/dist/bundle/{chunk-4Z4VOQRR.js → chunk-RMQ7EALU.js} +17 -17
  76. package/dist/bundle/{chunk-IS6MUPN2.js → chunk-RMX2WPWS.js} +4 -4
  77. package/dist/bundle/{chunk-ZRNNMBPC.js → chunk-RUE3WP7K.js} +19 -19
  78. package/dist/bundle/{chunk-I3QMPQYD.js → chunk-SGFNQFP4.js} +38 -39
  79. package/dist/bundle/{chunk-4QNW4NK6.js → chunk-ST3ZB7LS.js} +1 -1
  80. package/dist/bundle/{chunk-F4ROWGLU.js → chunk-T6LA664Z.js} +65 -34
  81. package/dist/bundle/{chunk-7AFYZOHU.js → chunk-TLO62ROR.js} +26 -26
  82. package/dist/bundle/{chunk-MMAZUJBO.js → chunk-TP7GDWVF.js} +1 -1
  83. package/dist/bundle/{chunk-IUOKIZZN.js → chunk-TUECY6LV.js} +2 -2
  84. package/dist/bundle/{chunk-7ILGYNWX.js → chunk-U7QXC75C.js} +8 -8
  85. package/dist/bundle/{chunk-WD5OL5JB.js → chunk-UQKVZFIX.js} +12 -12
  86. package/dist/bundle/{chunk-SY5NGYKA.js → chunk-VX6ZSKXM.js} +12 -12
  87. package/dist/bundle/{chunk-OOIU36FA.js → chunk-W53EJOFQ.js} +1 -1
  88. package/dist/bundle/{chunk-VJ2TLU7R.js → chunk-W5HRTC6X.js} +6 -6
  89. package/dist/bundle/{chunk-STNZQBY4.js → chunk-W656MRJD.js} +6 -6
  90. package/dist/bundle/{chunk-NKKVVPL5.js → chunk-W7HM2VGO.js} +1 -1
  91. package/dist/bundle/chunk-WE4UFASG.js +88 -0
  92. package/dist/bundle/{chunk-ADJIYY33.js → chunk-X2M6NIQG.js} +1 -1
  93. package/dist/bundle/{chunk-VGERRRDC.js → chunk-XAOSZGTD.js} +1 -1
  94. package/dist/bundle/{chunk-IJTBB23F.js → chunk-XDBGGOE2.js} +27 -27
  95. package/dist/bundle/{chunk-375BH5OD.js → chunk-XEIL6VNA.js} +4 -4
  96. package/dist/bundle/{chunk-BOJCRTQW.js → chunk-XFMVDQ6J.js} +2 -2
  97. package/dist/bundle/{chunk-YJIGGUPI.js → chunk-XIHENZW6.js} +4 -4
  98. package/dist/bundle/{chunk-KHBSQROH.js → chunk-XOYMIEAZ.js} +9 -6
  99. package/dist/bundle/{chunk-JQUYHPQD.js → chunk-Y4UDPQ3L.js} +7 -7
  100. package/dist/bundle/{chunk-RQS3W4P6.js → chunk-Y64L7A7E.js} +6 -6
  101. package/dist/bundle/{chunk-CJL5GHTQ.js → chunk-YCW422X7.js} +3175 -1791
  102. package/dist/bundle/{chunk-FRC5QIPQ.js → chunk-YOBTKYIX.js} +8 -8
  103. package/dist/bundle/{chunk-IZMRQ3MV.js → chunk-Z3CPZ4I4.js} +10 -10
  104. package/dist/bundle/{chunk-E3UPMPUV.js → chunk-ZKVYV25H.js} +8 -8
  105. package/dist/bundle/{chunk-FS5HPXQN.js → chunk-ZPZT46O6.js} +35 -9
  106. package/dist/bundle/{cli-Y27PHKBV.js → cli-AVQU63FT.js} +123 -77
  107. package/dist/bundle/command-contract-MCWBL5VS.js +45 -0
  108. package/dist/bundle/{command-server-entry-AXQSW2X6.js → command-server-entry-JZP7Y73G.js} +35 -35
  109. package/dist/bundle/config-G3C54VH6.js +109 -0
  110. package/dist/bundle/{decode-ZRNOOTUZ.js → decode-JLAYH7GC.js} +6 -6
  111. package/dist/bundle/{dispatch-2GHGPAYH.js → dispatch-AWDROXWN.js} +9 -9
  112. package/dist/bundle/{dist-MUFVAMKB.js → dist-TBLTUL5M.js} +21 -21
  113. package/dist/bundle/{echarts-F4PHDYET.js → echarts-FVTUDXDU.js} +2 -2
  114. package/dist/bundle/{embed-KWHCKPCV.js → embed-CJRENDF7.js} +7 -7
  115. package/dist/bundle/{embedder-U3R3RY54.js → embedder-RPE67QJD.js} +10 -10
  116. package/dist/bundle/{failure-S2YXEN4A.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-DVTRFQKW.js → folders-TGFOE7DY.js} +5 -5
  120. package/dist/bundle/{instructions-JU4YW6QY.js → instructions-HET7BCYK.js} +1 -1
  121. package/dist/bundle/{main-5UCRPACH.js → main-QRJ6NRCD.js} +24 -24
  122. package/dist/bundle/{mcp-O6ACR2DX.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-5DKRGZFS.js → meeting-semantic-4MURLQCA.js} +8 -8
  126. package/dist/bundle/{meetings-T2UY35DV.js → meetings-QFZWKHI4.js} +21 -7
  127. package/dist/bundle/{node-MAVRAF4M.js → node-CXZIFHZC.js} +2 -2
  128. package/dist/bundle/{node-sqlite-TFBQ5NDI.js → node-sqlite-CZPYFROO.js} +8 -8
  129. package/dist/bundle/{oauth-7IG5HWSY.js → oauth-T45MPIZF.js} +8 -8
  130. package/dist/bundle/{open-3R3N7L3X.js → open-3AONZFET.js} +6 -6
  131. package/dist/bundle/openai-LHWUXEBO.js +28 -0
  132. package/dist/bundle/{output-file-KKHHAYWF.js → output-file-J4SU6X4I.js} +6 -6
  133. package/dist/bundle/{process-OIO254NR.js → process-5RUXWGYS.js} +1 -1
  134. package/dist/bundle/{program-IBYRU76H.js → program-2O4YSRWY.js} +96 -93
  135. package/dist/bundle/{prompt-LNEOO7PN.js → prompt-NDLUFCJV.js} +6 -6
  136. package/dist/bundle/{recognize-2WYLT3PC.js → recognize-CZOIAJQX.js} +5 -5
  137. package/dist/bundle/{remote-7EAJEIV7.js → remote-O3CE4Q3B.js} +11 -11
  138. package/dist/bundle/{rerank-DZBZ744F.js → rerank-MZOL746K.js} +8 -8
  139. package/dist/bundle/run-log-GX6LNMWY.js +136 -0
  140. package/dist/bundle/{serve-T3KQV5SS.js → serve-43IBHMFM.js} +10 -10
  141. package/dist/bundle/server-3E2PJGYK.js +85 -0
  142. package/dist/bundle/{server-2QQAQZ2J.js → server-6LTMPPTO.js} +64 -64
  143. package/dist/bundle/{services-DETAKMC3.js → services-UIRD5PHE.js} +60 -53
  144. package/dist/bundle/{speech-HD57JNTK.js → speech-6QVKIJVR.js} +25 -25
  145. package/dist/bundle/{sqlite-runtime-OCETZSEZ.js → sqlite-runtime-PKCIBVHZ.js} +7 -7
  146. package/dist/bundle/{state-ZKVQ4DBI.js → state-AC55V3IE.js} +7 -7
  147. package/dist/bundle/{store-7IZ2WMHF.js → store-OAGA2ZK3.js} +28 -24
  148. package/dist/bundle/{store-GEAQ7V5R.js → store-QOCYJNKX.js} +30 -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-CLBAO3MG.js → streaming-VDJOYGMO.js} +7 -7
  152. package/dist/bundle/{tokens-WH73ZWFI.js → tokens-LN442AO6.js} +10 -10
  153. package/dist/bundle/zm.js +9 -9
  154. package/dist/bundle/{zoom-app-ZDTYMJET.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 +6 -4
  167. package/skills/zoom-cli/SKILL.md +88 -236
  168. package/skills/zoom-cli/references/archive.md +59 -0
  169. package/skills/zoom-cli/references/people-and-projects.md +51 -0
  170. package/skills/zoom-cli/references/prepare.md +78 -0
  171. package/skills/zoom-cli/references/search.md +71 -0
  172. package/skills/zoom-cli/references/setup.md +31 -0
  173. package/skills/zoom-cli/references/zoom-live.md +27 -0
  174. package/dist/bundle/answer-policy-XU7KEW2V.js +0 -121
  175. package/dist/bundle/chunk-VKE77B3F.js +0 -2
  176. package/dist/bundle/command-contract-GB7YA3KW.js +0 -45
  177. package/dist/bundle/config-2OOABHR7.js +0 -108
  178. package/dist/bundle/first-run-F4YR2E2C.js +0 -29
  179. package/dist/bundle/first-screen-HPRHD3VK.js +0 -43
  180. package/dist/bundle/meeting-combined-IWU5SPAH.js +0 -26
  181. package/dist/bundle/meeting-model-ILIUJECZ.js +0 -26
  182. package/dist/bundle/openai-DD5I3DWC.js +0 -28
  183. package/dist/bundle/run-log-CCIVRSHP.js +0 -135
  184. package/dist/bundle/server-OJQMPF2R.js +0 -84
  185. package/dist/bundle/store-connection-BALCZW7P.js +0 -101
  186. package/dist/bundle/store-maintenance-command-SBT4LDSI.js +0 -76
@@ -2,31 +2,31 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  updateCommand
5
- } from "./chunk-IS6MUPN2.js";
5
+ } from "./chunk-RMX2WPWS.js";
6
6
  import {
7
7
  QUESTIONS,
8
8
  readSetupAnswers,
9
9
  unanswered,
10
10
  writeSetupAnswers
11
- } from "./chunk-375BH5OD.js";
11
+ } from "./chunk-XEIL6VNA.js";
12
12
  import {
13
13
  DEFAULT_STEMMERS,
14
14
  LANGUAGES
15
- } from "./chunk-FRC5QIPQ.js";
15
+ } from "./chunk-YOBTKYIX.js";
16
16
  import {
17
17
  sharedConfigPath
18
- } from "./chunk-E3UPMPUV.js";
18
+ } from "./chunk-ZKVYV25H.js";
19
19
  import {
20
20
  installerOf
21
- } from "./chunk-ZZ32DXTH.js";
21
+ } from "./chunk-O3DYRCIT.js";
22
22
  import {
23
23
  storePath
24
- } from "./chunk-SFPUSEOT.js";
24
+ } from "./chunk-73L5R7AS.js";
25
25
  import {
26
26
  __name
27
27
  } from "./chunk-ZVVMGPBJ.js";
28
28
 
29
- // 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/cli/first-run.js
29
+ // 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/first-run.js
30
30
  import { spawnSync } from "node:child_process";
31
31
  import { accessSync, constants, realpathSync } from "node:fs";
32
32
  import { delimiter, join } from "node:path";
@@ -84,7 +84,7 @@ var suggested = /* @__PURE__ */ __name((env, contentLanguages) => {
84
84
  return (own.length ? own : LANGUAGES.filter(({ code }) => code === "en" || code === system)).map(({ name }) => name);
85
85
  }, "suggested");
86
86
  var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLanguages }) => {
87
- const { openStore } = await import("./store-7IZ2WMHF.js");
87
+ const { openStore } = await import("./store-OAGA2ZK3.js");
88
88
  const store = await openStore({ env });
89
89
  let rebuild = false;
90
90
  try {
@@ -113,8 +113,8 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
113
113
  if (!rebuild)
114
114
  return;
115
115
  const [{ openCache }, { buildStems }] = await Promise.all([
116
- import("./open-3R3N7L3X.js"),
117
- import("./store-maintenance-command-SBT4LDSI.js")
116
+ import("./open-3AONZFET.js"),
117
+ import("./store-maintenance-command-VBCHEOGI.js")
118
118
  ]);
119
119
  const database = await openCache(storePath(env));
120
120
  try {
@@ -126,7 +126,7 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
126
126
  var askTools = /* @__PURE__ */ __name(async (run) => {
127
127
  const { command, env, io } = run;
128
128
  const installed = run.installed ?? ((name) => onPath(name, env));
129
- const { WIRECAT_TOOLS } = await import("./first-screen-HPRHD3VK.js");
129
+ const { WIRECAT_TOOLS } = await import("./first-screen-NGCQD3CU.js");
130
130
  const others = WIRECAT_TOOLS.filter((tool) => tool.command !== command);
131
131
  const missing = others.filter((tool) => !installed(tool.command));
132
132
  io.say("Other WireCat tools \u2014 they share this store, so one search finds everything:");
@@ -197,9 +197,10 @@ var setupAtStart = /* @__PURE__ */ __name(async (start) => {
197
197
  command: start.command,
198
198
  env: start.env,
199
199
  contentLanguages: start.contentLanguages,
200
- all: start.path[0] === "setup",
200
+ // `setup describe` and `setup apply` are a program's; only the bare walk-through asks everything again.
201
+ all: start.path.length === 1 && start.path[0] === "setup",
201
202
  io: {
202
- ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-LNEOO7PN.js")).readSecret(prompt, { input, echo: true }), "ask"),
203
+ ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-NDLUFCJV.js")).readSecret(prompt, { input, echo: true }), "ask"),
203
204
  say: /* @__PURE__ */ __name((text) => process.stderr.write(`${text}
204
205
  `), "say")
205
206
  }
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // 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/cli/command-server-argv.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/cli/command-server-argv.js
8
8
  var COMMAND_SERVER_ARGV = ["commands", "--serve"];
9
9
  var isCommandServer = /* @__PURE__ */ __name((args) => args.length === COMMAND_SERVER_ARGV.length && COMMAND_SERVER_ARGV.every((word, at) => args[at] === word), "isCommandServer");
10
10
 
@@ -5,21 +5,21 @@ import {
5
5
  fieldsOf,
6
6
  processStreams,
7
7
  projectFields
8
- } from "./chunk-QAGECFHL.js";
8
+ } from "./chunk-BNEJKGG7.js";
9
9
  import {
10
10
  COMPACT_FLAG
11
- } from "./chunk-FS5HPXQN.js";
11
+ } from "./chunk-ZPZT46O6.js";
12
12
  import {
13
13
  CliError
14
- } from "./chunk-4QNW4NK6.js";
14
+ } from "./chunk-ST3ZB7LS.js";
15
15
  import {
16
16
  singleLine
17
- } from "./chunk-KYKW2W6X.js";
17
+ } from "./chunk-5RVXXDN7.js";
18
18
  import {
19
19
  __name
20
20
  } from "./chunk-ZVVMGPBJ.js";
21
21
 
22
- // 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/sends/permissions.js
22
+ // 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/sends/permissions.js
23
23
  var LEVELS = ["deny", "readonly", "ask", "allow"];
24
24
  var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
25
25
  var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
@@ -445,7 +445,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
445
445
  }
446
446
  }, "assertRetentionEvidenceRead");
447
447
 
448
- // 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/cli/result-fields.js
448
+ // 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/result-fields.js
449
449
  var named = /* @__PURE__ */ __name((work) => {
450
450
  try {
451
451
  return work();
@@ -472,7 +472,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
472
472
  return projectFields(value, fields);
473
473
  }), "projectFields");
474
474
 
475
- // 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/output-detail.js
475
+ // 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/output-detail.js
476
476
  var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
477
477
  var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
478
478
  var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
@@ -508,7 +508,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
508
508
  return value;
509
509
  }, "atDetail");
510
510
 
511
- // 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/output.js
511
+ // 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/output.js
512
512
  var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
513
513
  const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
514
514
  if (other)
@@ -2,13 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  refuseLacking
5
- } from "./chunk-NJJEUG4C.js";
5
+ } from "./chunk-3AFZ6Q5N.js";
6
6
  import {
7
7
  servingProfiles
8
- } from "./chunk-W7UCN7MF.js";
8
+ } from "./chunk-J62BQBVG.js";
9
9
  import {
10
+ DEFAULT_PACE,
10
11
  FloodMemory,
11
12
  OFFLINE,
13
+ Pacer,
12
14
  RecipientList,
13
15
  capability,
14
16
  ceilingRefusal,
@@ -16,12 +18,13 @@ import {
16
18
  floodPathFor,
17
19
  guardFor,
18
20
  holdEnd,
21
+ pacePathFor,
19
22
  profilesOnAccount,
20
23
  recipientsPathFor,
21
24
  servicesFor,
22
25
  throughWrapper,
23
- withFileLockAsync
24
- } from "./chunk-LWMDLXEO.js";
26
+ waitForTurn
27
+ } from "./chunk-4S7RUA3U.js";
25
28
  import {
26
29
  asFirstWord,
27
30
  baseContext,
@@ -35,10 +38,10 @@ import {
35
38
  recalledAccount,
36
39
  rememberAccount,
37
40
  rootOf2 as rootOf
38
- } from "./chunk-DDUNPLET.js";
41
+ } from "./chunk-DQVCCO7G.js";
39
42
  import {
40
43
  providerErrorKey
41
- } from "./chunk-MCLZ74II.js";
44
+ } from "./chunk-JJGUHWLB.js";
42
45
  import {
43
46
  AUTHORITY_KEY,
44
47
  CEILING_KEY,
@@ -50,31 +53,28 @@ import {
50
53
  levelFor,
51
54
  readKeysForCommand,
52
55
  skipFlagFor
53
- } from "./chunk-2QDD6S2R.js";
56
+ } from "./chunk-2OTETB4A.js";
54
57
  import {
55
58
  openStore
56
- } from "./chunk-OXXJW3A5.js";
59
+ } from "./chunk-P4MZOAPC.js";
57
60
  import {
58
61
  chatReferenceOf,
59
62
  ensureAccount,
60
63
  foldName,
61
64
  isId,
62
65
  pickPerson
63
- } from "./chunk-Q7ZW7XAX.js";
66
+ } from "./chunk-NQMHYLZO.js";
64
67
  import {
65
68
  isCliFailure
66
- } from "./chunk-5KHCFIWI.js";
67
- import {
68
- resolvePaths
69
- } from "./chunk-QAGECFHL.js";
69
+ } from "./chunk-ND7TBQKO.js";
70
70
  import {
71
71
  CliError
72
- } from "./chunk-4QNW4NK6.js";
72
+ } from "./chunk-ST3ZB7LS.js";
73
73
  import {
74
74
  __name
75
75
  } from "./chunk-ZVVMGPBJ.js";
76
76
 
77
- // 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/cli/messenger/ask.js
77
+ // 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/messenger/ask.js
78
78
  import { openSync } from "node:fs";
79
79
  import { createInterface } from "node:readline";
80
80
  import { ReadStream } from "node:tty";
@@ -129,7 +129,7 @@ var terminalAsker = /* @__PURE__ */ __name((command) => async (key, request) =>
129
129
  throw new CliError("cancelled", `${key}: not done \u2014 the answer was no`);
130
130
  }, "terminalAsker");
131
131
 
132
- // 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/cli/permission-keys.js
132
+ // 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/permission-keys.js
133
133
  var HOUSEKEEPING = /* @__PURE__ */ new Set([
134
134
  "help",
135
135
  "guide",
@@ -209,7 +209,7 @@ var refuseUnknownPermissionKeys = /* @__PURE__ */ __name((command, settings, too
209
209
  throw new CliError("validation_error", `--permission ${key} names no command`, { permission: key });
210
210
  }, "refuseUnknownPermissionKeys");
211
211
 
212
- // 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/cli/messenger/stored.js
212
+ // 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/messenger/stored.js
213
213
  var REKEY_PACING = { lockMs: 50, pauseMs: 25 };
214
214
  var stored = /* @__PURE__ */ __name((messenger, { account, store, warn, events, pending, announcing, deletedWithoutChat, profile, rekeyed, rekeyPacing = REKEY_PACING, closing, namesFromStore, recipientIds, countsUnread = false, historyLimits, command = "cli" }) => {
215
215
  let warned = false;
@@ -785,102 +785,7 @@ var keep = /* @__PURE__ */ __name(async (store, account, event, seenAt, among, c
785
785
  }
786
786
  }, "keep");
787
787
 
788
- // 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/sends/pace.js
789
- import { readFileSync, renameSync, writeFileSync } from "node:fs";
790
- import { join } from "node:path";
791
- var DEFAULT_PACE = { perMinute: 60, burst: 20 };
792
- var pacePathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "pace", `${profile}.json`), "pacePathFor");
793
- var Pacer = class {
794
- static {
795
- __name(this, "Pacer");
796
- }
797
- path;
798
- rate;
799
- now;
800
- constructor(path, rate, now = Date.now) {
801
- this.path = path;
802
- this.rate = rate;
803
- this.now = now;
804
- }
805
- get interval() {
806
- return this.rate.perMinute > 0 ? 6e4 / this.rate.perMinute : 0;
807
- }
808
- /** When this call may go; reserved at once, so the next caller in any process lines up behind it. */
809
- async reserve() {
810
- if (this.interval === 0)
811
- return this.now();
812
- return withFileLockAsync(this.path, "the request pace", () => {
813
- const now = this.now();
814
- const tat = Math.max(this.read(now), now);
815
- this.write(tat + this.interval, now);
816
- return Math.max(now, tat - this.rate.burst * this.interval);
817
- });
818
- }
819
- /** The messenger asked every caller to wait: nothing goes before `now + waitMs`, in any process. */
820
- async holdFor(waitMs) {
821
- if (this.interval === 0)
822
- return;
823
- await withFileLockAsync(this.path, "the request pace", () => {
824
- const now = this.now();
825
- const hold = now + waitMs + this.rate.burst * this.interval;
826
- this.write(Math.max(this.read(now), hold), now);
827
- });
828
- }
829
- /** The owner's `flood clear`: every process may go again at once. */
830
- async reset() {
831
- await withFileLockAsync(this.path, "the request pace", () => this.write(0, this.now()));
832
- }
833
- read(now) {
834
- try {
835
- const file = JSON.parse(readFileSync(this.path, "utf8"));
836
- const tat = Number(file.tat);
837
- if (!Number.isFinite(tat))
838
- return 0;
839
- const at = Number(file.at);
840
- return Number.isFinite(at) && at > now ? now + Math.max(0, tat - at) : tat;
841
- } catch {
842
- return 0;
843
- }
844
- }
845
- write(tat, at) {
846
- const temporary = `${this.path}.${process.pid}.tmp`;
847
- writeFileSync(temporary, JSON.stringify({ tat, at }), { mode: 384 });
848
- renameSync(temporary, this.path);
849
- }
850
- };
851
- var ANNOUNCE_WAIT_MS = 5e3;
852
- var LONGEST_PACE_WAIT_MS = 5 * 6e4;
853
- var waitForTurn = /* @__PURE__ */ __name(async (pacer, options) => {
854
- const { name, operation, warn } = options;
855
- const now = options.now ?? Date.now;
856
- let at = now();
857
- try {
858
- at = await pacer.reserve();
859
- } catch (error) {
860
- warn?.(`could not remember ${name}'s wait (${error instanceof Error ? error.message : String(error)})`, {
861
- event: "warning",
862
- code: "wait_not_remembered",
863
- operation
864
- });
865
- }
866
- const waitMs = at - now();
867
- if (waitMs <= 0)
868
- return;
869
- if (waitMs > (options.longestWaitMs ?? LONGEST_PACE_WAIT_MS))
870
- throw new CliError("rate_limited", `this profile's next request to ${name} has to wait ${Math.ceil(waitMs / 1e3)} s more \u2014 nothing was sent to ${name}`, { retry_after_ms: waitMs, retry_at: new Date(at).toISOString(), remembered: true });
871
- if (waitMs >= ANNOUNCE_WAIT_MS) {
872
- const seconds = Math.ceil(waitMs / 1e3);
873
- warn?.(`waiting ${seconds} s to keep this profile's pace with ${name}`, {
874
- event: "warning",
875
- code: "pace_wait",
876
- operation,
877
- counts: { seconds }
878
- });
879
- }
880
- await (options.sleep ?? ((ms) => new Promise((resolve) => setTimeout(resolve, ms))))(waitMs);
881
- }, "waitForTurn");
882
-
883
- // 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/cli/messenger/flooded.js
788
+ // 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/messenger/flooded.js
884
789
  var LONG_LIVED = /* @__PURE__ */ new Set(["self", "newSendId", "close", "formatMarkdown", "formatHtml", "storedChats"]);
885
790
  var LISTENING = /* @__PURE__ */ new Set(["watch", "feed", "listen", "listenHistory"]);
886
791
  var BLOCKING = /* @__PURE__ */ new Set(["frozen", "limited", "banned"]);
@@ -977,7 +882,7 @@ var flooded = /* @__PURE__ */ __name((messenger, memory, { name, warn, pacer })
977
882
  });
978
883
  }, "flooded");
979
884
 
980
- // 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/cli/messenger/observed.js
885
+ // 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/messenger/observed.js
981
886
  var observed = /* @__PURE__ */ __name((messenger, events) => {
982
887
  const timed = /* @__PURE__ */ __name(async (operation, named, work, after) => {
983
888
  const write = currentOperation();
@@ -1076,7 +981,7 @@ var byPart = /* @__PURE__ */ __name((batch, counts) => {
1076
981
  counts[part] = (counts[part] ?? 0) + items.length;
1077
982
  }, "byPart");
1078
983
 
1079
- // 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/cli/messenger/context.js
984
+ // 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/messenger/context.js
1080
985
  var lazyStore = /* @__PURE__ */ __name((env, command, version) => {
1081
986
  let opened;
1082
987
  return {
@@ -1479,9 +1384,6 @@ var messengerContext = /* @__PURE__ */ __name((command, messenger, resolving = {
1479
1384
  export {
1480
1385
  answerOf,
1481
1386
  terminalAsker,
1482
- DEFAULT_PACE,
1483
- pacePathFor,
1484
- Pacer,
1485
1387
  commandPathKey,
1486
1388
  commandPermissions,
1487
1389
  knownPermissionKeys,
@@ -4,24 +4,24 @@ import {
4
4
  embeddingKeys,
5
5
  endpointKeyName,
6
6
  modelGateway
7
- } from "./chunk-7SNU7RFU.js";
7
+ } from "./chunk-HOXBHGP2.js";
8
8
  import {
9
9
  modelAddressAllowed,
10
10
  onThisComputer
11
- } from "./chunk-SP5OMHOO.js";
11
+ } from "./chunk-HVQVCGME.js";
12
12
  import {
13
13
  readSharedSection,
14
14
  sharedConfigPath,
15
15
  writeSharedSection
16
- } from "./chunk-E3UPMPUV.js";
16
+ } from "./chunk-ZKVYV25H.js";
17
17
  import {
18
18
  storePath
19
- } from "./chunk-SFPUSEOT.js";
19
+ } from "./chunk-73L5R7AS.js";
20
20
  import {
21
21
  Credentials,
22
22
  isMovedRun,
23
23
  resolvePaths
24
- } from "./chunk-QAGECFHL.js";
24
+ } from "./chunk-BNEJKGG7.js";
25
25
  import {
26
26
  check,
27
27
  getDotPath,
@@ -34,15 +34,15 @@ import {
34
34
  strictObject,
35
35
  string,
36
36
  trim
37
- } from "./chunk-FS5HPXQN.js";
37
+ } from "./chunk-ZPZT46O6.js";
38
38
  import {
39
39
  CliError
40
- } from "./chunk-4QNW4NK6.js";
40
+ } from "./chunk-ST3ZB7LS.js";
41
41
  import {
42
42
  __name
43
43
  } from "./chunk-ZVVMGPBJ.js";
44
44
 
45
- // 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/ai.js
45
+ // 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/ai.js
46
46
  var AI_PROVIDERS = ["anthropic", "openai", "ollama"];
47
47
  var DEFAULT_BASE_URL = {
48
48
  anthropic: "https://api.anthropic.com",
@@ -5,7 +5,7 @@ import {
5
5
  LIST_QUERY_GUIDE,
6
6
  nativeTerms,
7
7
  throughWrapper
8
- } from "./chunk-LWMDLXEO.js";
8
+ } from "./chunk-4S7RUA3U.js";
9
9
  import {
10
10
  DEFAULT_CONFIG,
11
11
  environmentOf,
@@ -15,16 +15,16 @@ import {
15
15
  renderAnswer,
16
16
  snakeKeys,
17
17
  withAgentLevels
18
- } from "./chunk-DDUNPLET.js";
18
+ } from "./chunk-DQVCCO7G.js";
19
19
  import {
20
20
  readOnlyLockOf
21
- } from "./chunk-GHBDYYPO.js";
21
+ } from "./chunk-M5FW654Z.js";
22
22
  import {
23
23
  formatReference
24
- } from "./chunk-QUGESVOE.js";
24
+ } from "./chunk-NI7UYGTF.js";
25
25
  import {
26
26
  queryError
27
- } from "./chunk-IZMRQ3MV.js";
27
+ } from "./chunk-Z3CPZ4I4.js";
28
28
  import {
29
29
  array,
30
30
  boolean,
@@ -34,15 +34,15 @@ import {
34
34
  safeParse,
35
35
  strictObject,
36
36
  string
37
- } from "./chunk-FS5HPXQN.js";
37
+ } from "./chunk-ZPZT46O6.js";
38
38
  import {
39
39
  CliError
40
- } from "./chunk-4QNW4NK6.js";
40
+ } from "./chunk-ST3ZB7LS.js";
41
41
  import {
42
42
  __name
43
43
  } from "./chunk-ZVVMGPBJ.js";
44
44
 
45
- // 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/cli/messenger/lacks.js
45
+ // 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/messenger/lacks.js
46
46
  var COMMAND_NEEDS = {
47
47
  "account update": ["updateProfile", "change the profile"],
48
48
  "account sessions list": ["sessions", "list the account's sessions"],
@@ -92,7 +92,7 @@ var hideNever = /* @__PURE__ */ __name((messenger, group) => {
92
92
  return group;
93
93
  }, "hideNever");
94
94
 
95
- // 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/cli/paging.js
95
+ // 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/paging.js
96
96
  var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
97
97
  if (!/^\d+$/.test(value.trim()) || Number(value) < 1)
98
98
  throw new CliError("validation_error", `${flag} takes a whole number from 1 upwards, not "${value}"`);
@@ -119,7 +119,7 @@ var pagingOf = /* @__PURE__ */ __name((command) => {
119
119
  return { limit: limit ?? DEFAULT_CONFIG.defaults.limit, page: page ?? 1 };
120
120
  }, "pagingOf");
121
121
 
122
- // 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/cli/messenger/chat-answers.js
122
+ // 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/messenger/chat-answers.js
123
123
  var defined = /* @__PURE__ */ __name((record2) => Object.fromEntries(Object.entries(record2).filter(([, value]) => value !== void 0)), "defined");
124
124
  var chatRef = /* @__PURE__ */ __name((account, chat) => formatReference({ type: "chat", provider: account.provider, account: account.account, chat }), "chatRef");
125
125
  var settingsOf = /* @__PURE__ */ __name((settings) => defined({
@@ -381,7 +381,7 @@ var sessionAnswer = /* @__PURE__ */ __name(({ current, client, device, location,
381
381
  ...createdAt === void 0 ? {} : { created_at: createdAt }
382
382
  }), "sessionAnswer");
383
383
 
384
- // 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/background/relay.js
384
+ // 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/relay.js
385
385
  import { createHash } from "node:crypto";
386
386
  import { chmodSync, lstatSync, mkdirSync, rmSync } from "node:fs";
387
387
  import { createConnection, createServer } from "node:net";
@@ -602,7 +602,7 @@ var relayCommand = /* @__PURE__ */ __name((path, request, options) => new Promis
602
602
  }, () => finish({ error: stopped() }));
603
603
  }), "relayCommand");
604
604
 
605
- // 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/cli/messenger/serve-relay.js
605
+ // 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/messenger/serve-relay.js
606
606
  var lentConnection = /* @__PURE__ */ __name((connection, watchers) => throughWrapper(connection, {
607
607
  close: /* @__PURE__ */ __name(async () => {
608
608
  }, "close"),
@@ -5,23 +5,23 @@ import {
5
5
  installFiles,
6
6
  megabytes,
7
7
  sharedModelsDirectory
8
- } from "./chunk-CZ6OO66B.js";
8
+ } from "./chunk-5KEOCHBZ.js";
9
9
  import {
10
10
  importFrom
11
11
  } from "./chunk-Y5E2WNWB.js";
12
12
  import {
13
13
  CliError
14
- } from "./chunk-4QNW4NK6.js";
14
+ } from "./chunk-ST3ZB7LS.js";
15
15
  import {
16
16
  __name
17
17
  } from "./chunk-ZVVMGPBJ.js";
18
18
 
19
- // 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/embed.js
19
+ // 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/embed.js
20
20
  import { readFileSync as readFileSync2 } from "node:fs";
21
21
  import { availableParallelism } from "node:os";
22
22
  import { basename, join as join2 } from "node:path";
23
23
 
24
- // node_modules/.pnpm/@wirecat+cli-core@0.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/onnx-runtime.js
24
+ // 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/onnx-runtime.js
25
25
  import { createHash } from "node:crypto";
26
26
  import { copyFileSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
27
27
  import { join } from "node:path";
@@ -678,7 +678,7 @@ var Unzip = /* @__PURE__ */ (function() {
678
678
  return Unzip2;
679
679
  })();
680
680
 
681
- // 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/onnx-runtime.js
681
+ // 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/onnx-runtime.js
682
682
  var ONNX_RUNTIME_VERSION = "1.30.0";
683
683
  var release = /* @__PURE__ */ __name((name, sha256, bytes) => ({
684
684
  name,
@@ -858,7 +858,7 @@ var openSession = /* @__PURE__ */ __name(async (bytes, threads, options = {}) =>
858
858
  return { ort, session: await ort.InferenceSession.create(bytes, options) };
859
859
  }, "openSession");
860
860
 
861
- // 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/embed.js
861
+ // 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/embed.js
862
862
  var textModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("text", env), "textModelsDirectory");
863
863
  var placedText = /* @__PURE__ */ __name((model, directory) => model.files.map((file) => [file, join2(directory, model.id, file.name)]), "placedText");
864
864
  var isTextModelInstalled = /* @__PURE__ */ __name((model, directory) => filesPresent(placedText(model, directory)), "isTextModelInstalled");
@@ -29,7 +29,7 @@ import {
29
29
  agentOf,
30
30
  clientHash,
31
31
  currentCaller
32
- } from "./chunk-MCLZ74II.js";
32
+ } from "./chunk-JJGUHWLB.js";
33
33
  import {
34
34
  __name
35
35
  } from "./chunk-ZVVMGPBJ.js";
@@ -541,7 +541,7 @@ function toError(value) {
541
541
  }
542
542
  __name(toError, "toError");
543
543
 
544
- // 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/mcp/caller.js
544
+ // 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/mcp/caller.js
545
545
  var callingAgent = /* @__PURE__ */ __name((fallback, caller = currentCaller()) => {
546
546
  const client = caller?.agent?.client?.name;
547
547
  if (client && client !== "unknown")
@@ -629,7 +629,7 @@ var passedOn = /* @__PURE__ */ __name((value, tool) => {
629
629
  };
630
630
  }, "passedOn");
631
631
 
632
- // 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/mcp/stdio-wire.js
632
+ // 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/mcp/stdio-wire.js
633
633
  import { PassThrough, Writable } from "node:stream";
634
634
  var lineReader = /* @__PURE__ */ __name((onMessage) => {
635
635
  let rest = "";