@wirecat/cli-memo 0.131.47 → 0.131.49

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 (163) hide show
  1. package/README.md +1 -1
  2. package/dist/bin/memo.js +2 -2
  3. package/dist/bundle/{all-profiles-75EGCXK3.js → all-profiles-3HADTQZA.js} +9 -9
  4. package/dist/bundle/{anthropic-PTAYBCPR.js → anthropic-RI4DWC3G.js} +6 -6
  5. package/dist/bundle/{app-server-YSUBXGGB.js → app-server-6EKWAYJI.js} +42 -42
  6. package/dist/bundle/auto-NKUBNWLS.js +86 -0
  7. package/dist/bundle/{bun-3AIG5ML4.js → bun-HUHQD76Z.js} +2 -2
  8. package/dist/bundle/{bun-sqlite-5FCGI6EO.js → bun-sqlite-RPSKGB4O.js} +5 -5
  9. package/dist/bundle/{chunk-3HPFTKDH.js → chunk-2HPYP3ZT.js} +4 -4
  10. package/dist/bundle/{chunk-KLBZJZD2.js → chunk-2OIGV355.js} +216 -143
  11. package/dist/bundle/{chunk-R44PUK7G.js → chunk-355PHJYX.js} +1 -1
  12. package/dist/bundle/{chunk-F4HMPMET.js → chunk-3BG5VYMV.js} +10 -10
  13. package/dist/bundle/{chunk-5N6HWFXN.js → chunk-4VQPPX47.js} +350 -295
  14. package/dist/bundle/{chunk-PGVADNDD.js → chunk-57LMWEDK.js} +3 -3
  15. package/dist/bundle/{chunk-ELKK5M66.js → chunk-5JVA43HX.js} +6 -6
  16. package/dist/bundle/{chunk-U35N3EC7.js → chunk-5RVL7GYA.js} +2 -2
  17. package/dist/bundle/{chunk-BNIWLVWG.js → chunk-6N6BVPVX.js} +18 -4
  18. package/dist/bundle/{chunk-JY34MQW4.js → chunk-7RNHFNHX.js} +4 -4
  19. package/dist/bundle/{chunk-HCZV537M.js → chunk-AKD62EUH.js} +2 -2
  20. package/dist/bundle/{chunk-RZ54DSVU.js → chunk-BXTDAGM4.js} +2 -2
  21. package/dist/bundle/{chunk-V3B5COFP.js → chunk-BYVASZVV.js} +5 -5
  22. package/dist/bundle/{chunk-DS4DOK75.js → chunk-D5KGXYG6.js} +33 -25
  23. package/dist/bundle/{chunk-4LWX2WOB.js → chunk-DJRBSOWH.js} +4 -4
  24. package/dist/bundle/{chunk-W2JVP7GK.js → chunk-DVA6MQWK.js} +1 -1
  25. package/dist/bundle/{chunk-SN63VOE6.js → chunk-EBNNONF5.js} +8 -8
  26. package/dist/bundle/{chunk-XRRPQCTS.js → chunk-EJDV5IIF.js} +1 -1
  27. package/dist/bundle/{chunk-ZKH6LC5P.js → chunk-FOM7WE2C.js} +9 -9
  28. package/dist/bundle/{chunk-GA3KFYEZ.js → chunk-GAKZOX2S.js} +20 -11
  29. package/dist/bundle/{chunk-IPMBB6W5.js → chunk-GIDZGGAD.js} +4 -4
  30. package/dist/bundle/{chunk-6TKWJKPS.js → chunk-GV6XJMUW.js} +12 -12
  31. package/dist/bundle/{chunk-EFQCDCLY.js → chunk-HCMXUHHF.js} +99 -74
  32. package/dist/bundle/{chunk-U75ANK5K.js → chunk-HXOAPH47.js} +1 -1
  33. package/dist/bundle/{chunk-J324GKJM.js → chunk-IXXBPSXO.js} +2 -2
  34. package/dist/bundle/{chunk-UFVGAFID.js → chunk-KVOHC4ZM.js} +22 -14
  35. package/dist/bundle/{chunk-N63KZFH4.js → chunk-LUPJB7ZD.js} +9 -9
  36. package/dist/bundle/{chunk-IPLPMD6H.js → chunk-LZWXGO3G.js} +2 -2
  37. package/dist/bundle/{chunk-6QNPOBR5.js → chunk-N6IHOYMT.js} +198 -81
  38. package/dist/bundle/{chunk-32QM6X5H.js → chunk-ND6D4A6H.js} +3 -3
  39. package/dist/bundle/{chunk-MCMEBL3C.js → chunk-NJDGZRF5.js} +31 -15
  40. package/dist/bundle/{chunk-25RDNYKZ.js → chunk-NTQUBSIJ.js} +6 -6
  41. package/dist/bundle/{chunk-I2RDACUF.js → chunk-O3KOW7RG.js} +8 -8
  42. package/dist/bundle/{chunk-2R2Z2VWL.js → chunk-O3ZOYXH3.js} +20 -20
  43. package/dist/bundle/{chunk-W3T45MMN.js → chunk-OQTBCPSG.js} +8 -8
  44. package/dist/bundle/{chunk-SYTYLLYO.js → chunk-OT23U5LT.js} +2 -2
  45. package/dist/bundle/{chunk-OSCRP52P.js → chunk-P2LMXIHL.js} +675 -400
  46. package/dist/bundle/{chunk-ZLIARJU4.js → chunk-P2TISY3R.js} +1 -1
  47. package/dist/bundle/{chunk-CID4MNRQ.js → chunk-P3ASN72F.js} +1 -1
  48. package/dist/bundle/{chunk-YMK35KVV.js → chunk-PEYCLVIO.js} +2 -2
  49. package/dist/bundle/{chunk-UE4GMPBY.js → chunk-PUTGTW6W.js} +1 -1
  50. package/dist/bundle/{chunk-G3YSCD77.js → chunk-PYRHU35W.js} +173 -156
  51. package/dist/bundle/{chunk-DDADFHR7.js → chunk-QCPUC3HW.js} +13 -13
  52. package/dist/bundle/{chunk-N5QQFDNV.js → chunk-QCRJNWJZ.js} +3 -3
  53. package/dist/bundle/{chunk-HVTW2M6T.js → chunk-QNM36ARO.js} +8 -2
  54. package/dist/bundle/{chunk-Y5CAKD4X.js → chunk-QOGYHU3Q.js} +4 -4
  55. package/dist/bundle/{chunk-MMJDQQFX.js → chunk-RKFKRCOH.js} +310 -279
  56. package/dist/bundle/{chunk-DMTLG2GD.js → chunk-RYMYE5PF.js} +8 -8
  57. package/dist/bundle/{chunk-MSBRZ5QD.js → chunk-S7F4ZDFU.js} +3 -3
  58. package/dist/bundle/{chunk-G4W42RGE.js → chunk-SSPSNSC5.js} +1 -1
  59. package/dist/bundle/{chunk-ILK5BCBB.js → chunk-TSUNLSIN.js} +2 -2
  60. package/dist/bundle/{chunk-6IVHND3S.js → chunk-UAR6UMFL.js} +5 -5
  61. package/dist/bundle/{chunk-HYEYRFWX.js → chunk-UDJTRFRV.js} +1 -1
  62. package/dist/bundle/{chunk-FSAMZHIM.js → chunk-UG4BO256.js} +6 -6
  63. package/dist/bundle/{chunk-LE7NROV6.js → chunk-UJLYVXP6.js} +34 -34
  64. package/dist/bundle/{chunk-EVZI54B5.js → chunk-V2DMJ6ES.js} +6 -6
  65. package/dist/bundle/{chunk-LER7G4XY.js → chunk-VW6BF6M7.js} +1 -1
  66. package/dist/bundle/{chunk-V6OYLCCM.js → chunk-W6JQNNJ5.js} +3 -3
  67. package/dist/bundle/{chunk-DWBTCOF2.js → chunk-WNW6VW27.js} +7 -7
  68. package/dist/bundle/{chunk-KWM7HLAI.js → chunk-XH6K2B5L.js} +4 -4
  69. package/dist/bundle/{chunk-GOFPCOEI.js → chunk-XXGBXCBQ.js} +11 -11
  70. package/dist/bundle/{chunk-GQLSVXS2.js → chunk-XZZFHQGM.js} +22 -22
  71. package/dist/bundle/{chunk-CODD5SXC.js → chunk-Y6VH7IRN.js} +29 -29
  72. package/dist/bundle/{chunk-Y4ZXDJQF.js → chunk-ZA7FKGB7.js} +2 -2
  73. package/dist/bundle/command-contract-MRLLZQ4M.js +32 -0
  74. package/dist/bundle/{decode-F2A2BLIA.js → decode-IYWZ3X7X.js} +5 -5
  75. package/dist/bundle/{dispatch-MLRETSNQ.js → dispatch-HCRXCPCF.js} +8 -8
  76. package/dist/bundle/{echarts-JL55HJCM.js → echarts-5LLJ6JXC.js} +2 -2
  77. package/dist/bundle/{embed-74KVORNN.js → embed-EGY2R4FN.js} +6 -6
  78. package/dist/bundle/{embedder-GACNPCZN.js → embedder-K2BGPWNX.js} +9 -9
  79. package/dist/bundle/{entry-7FI2H4RQ.js → entry-NMAZNDNU.js} +7 -7
  80. package/dist/bundle/{failure-UJBGB2GP.js → failure-G4DCTWFD.js} +2 -2
  81. package/dist/bundle/failure-SACX3WGX.js +66 -0
  82. package/dist/bundle/{first-run-D4VBIJ7H.js → first-run-QDCSWX3N.js} +11 -11
  83. package/dist/bundle/first-screen-YABO6OZ7.js +30 -0
  84. package/dist/bundle/{instructions-QNPIVGKX.js → instructions-P72XX4AK.js} +1 -1
  85. package/dist/bundle/{mcp-YMXA6IH6.js → mcp-M4QN2E7R.js} +2 -2
  86. package/dist/bundle/mcp-QRZ2HSON.js +90 -0
  87. package/dist/bundle/memo.js +16 -16
  88. package/dist/bundle/{node-SPFML2D5.js → node-ZB4RNICS.js} +2 -2
  89. package/dist/bundle/{node-sqlite-T3KILRCP.js → node-sqlite-7XJ4J4E5.js} +6 -6
  90. package/dist/bundle/{oauth-ZOGSHZF3.js → oauth-FMH3JIPT.js} +7 -7
  91. package/dist/bundle/{open-XXFVCGCA.js → open-PRCTOHHL.js} +5 -5
  92. package/dist/bundle/{openai-JRHZLFKD.js → openai-VW4W6SIO.js} +10 -10
  93. package/dist/bundle/{process-OGYYVVLG.js → process-XNN4WG6N.js} +1 -1
  94. package/dist/bundle/{program-EFCQACPD.js → program-OSHEAD76.js} +161 -89
  95. package/dist/bundle/{prompt-53D5WVD3.js → prompt-RT55UZGB.js} +5 -5
  96. package/dist/bundle/{recognize-7GYZKJCD.js → recognize-AQ2UXUC2.js} +4 -4
  97. package/dist/bundle/{remote-V5GUFZCG.js → remote-T3P5OWRR.js} +7 -7
  98. package/dist/bundle/{rerank-FUNVBYFI.js → rerank-743T3675.js} +7 -7
  99. package/dist/bundle/{serve-ZLUYFAXC.js → serve-BSKOU4FJ.js} +9 -9
  100. package/dist/bundle/{server-HJRMD3XD.js → server-7GH6JLM3.js} +57 -57
  101. package/dist/bundle/server-VMWVYGK7.js +48 -0
  102. package/dist/bundle/server-ZFHSK6TT.js +61 -0
  103. package/dist/bundle/{state-4P7H6KBM.js → state-MDMI3I2Z.js} +6 -6
  104. package/dist/bundle/{store-NILJK24C.js → store-I3DIZALN.js} +13 -13
  105. package/dist/bundle/store-maintenance-command-HZPQPOK7.js +48 -0
  106. package/dist/bundle/update-Y3UQ5DQJ.js +69 -0
  107. package/dist/doctor/command.d.ts +2 -0
  108. package/dist/doctor/command.d.ts.map +1 -1
  109. package/dist/examples.d.ts.map +1 -1
  110. package/dist/examples.js +1 -0
  111. package/dist/examples.js.map +1 -1
  112. package/dist/memories/memory.d.ts.map +1 -1
  113. package/dist/memories/memory.js +3 -1
  114. package/dist/memories/memory.js.map +1 -1
  115. package/dist/notes/folders-command.d.ts.map +1 -1
  116. package/dist/notes/folders-command.js +51 -1
  117. package/dist/notes/folders-command.js.map +1 -1
  118. package/dist/notes/folders.d.ts +1 -0
  119. package/dist/notes/folders.d.ts.map +1 -1
  120. package/dist/notes/folders.js +1 -0
  121. package/dist/notes/folders.js.map +1 -1
  122. package/dist/notes/import.d.ts +3 -1
  123. package/dist/notes/import.d.ts.map +1 -1
  124. package/dist/notes/import.js +8 -3
  125. package/dist/notes/import.js.map +1 -1
  126. package/dist/notes/state.d.ts +2 -0
  127. package/dist/notes/state.d.ts.map +1 -1
  128. package/dist/notes/state.js +3 -1
  129. package/dist/notes/state.js.map +1 -1
  130. package/dist/progress.d.ts +12 -0
  131. package/dist/progress.d.ts.map +1 -0
  132. package/dist/progress.js +19 -0
  133. package/dist/progress.js.map +1 -0
  134. package/dist/reasons.d.ts.map +1 -1
  135. package/dist/reasons.js +6 -0
  136. package/dist/reasons.js.map +1 -1
  137. package/dist/run/auto.d.ts +3 -0
  138. package/dist/run/auto.d.ts.map +1 -1
  139. package/dist/run/auto.js +16 -4
  140. package/dist/run/auto.js.map +1 -1
  141. package/dist/run/import.d.ts.map +1 -1
  142. package/dist/run/import.js +7 -1
  143. package/dist/run/import.js.map +1 -1
  144. package/dist/search/answers.d.ts.map +1 -1
  145. package/dist/search/answers.js +7 -2
  146. package/dist/search/answers.js.map +1 -1
  147. package/dist/search/search.d.ts.map +1 -1
  148. package/dist/search/search.js +4 -3
  149. package/dist/search/search.js.map +1 -1
  150. package/dist/version.d.ts +1 -1
  151. package/dist/version.js +1 -1
  152. package/package.json +4 -4
  153. package/dist/bundle/auto-GB35FRTV.js +0 -86
  154. package/dist/bundle/command-contract-YYILWWYQ.js +0 -32
  155. package/dist/bundle/failure-AHPPXHAW.js +0 -66
  156. package/dist/bundle/first-screen-D7Q2U7VP.js +0 -30
  157. package/dist/bundle/mcp-AFXHH33V.js +0 -90
  158. package/dist/bundle/server-4OJC7ZWM.js +0 -61
  159. package/dist/bundle/server-CGUUZBLB.js +0 -48
  160. package/dist/bundle/store-maintenance-command-VP7CIBSS.js +0 -48
  161. package/dist/bundle/update-NPK4DT2E.js +0 -69
  162. /package/dist/bundle/{chunk-AT5Y62SD.js → chunk-CDFNOKPG.js} +0 -0
  163. /package/dist/bundle/{chunk-JPGEFBRW.js → chunk-VOXIGICJ.js} +0 -0
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/mcp/stdio-wire.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/mcp/stdio-wire.js
8
8
  import { PassThrough, Writable } from "node:stream";
9
9
  var lineReader = /* @__PURE__ */ __name((onMessage) => {
10
10
  let rest = "";
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError
5
- } from "./chunk-RZ54DSVU.js";
5
+ } from "./chunk-BXTDAGM4.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/http/public-url.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/http/public-url.js
11
11
  var EXAMPLE = "--public-url https://<name>.ts.net";
12
12
  var publicUrlOf = /* @__PURE__ */ __name((given, { missing, reaches, path = false }) => {
13
13
  if (!given)
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  wirecatDirectory
5
- } from "./chunk-IPLPMD6H.js";
5
+ } from "./chunk-LZWXGO3G.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-RZ54DSVU.js";
8
+ } from "./chunk-BXTDAGM4.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/speech/models.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/speech/models.js
14
14
  var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/csukuangfj/${repository}/resolve/${commit}/${name}`, "huggingFace");
15
15
  var gigaam = huggingFace("sherpa-onnx-nemo-transducer-punct-giga-am-v3-russian-2025-12-16", "a6039be7cee829a9044a69ac0ebaf1c191217c97");
16
16
  var gigaamCtc = huggingFace("sherpa-onnx-nemo-ctc-punct-giga-am-v3-russian-2025-12-16", "4fb5407ff028a69fec516cdf4c10fac9ddea7c16");
@@ -137,7 +137,7 @@ var speechModel = /* @__PURE__ */ __name((id) => {
137
137
  return model;
138
138
  }, "speechModel");
139
139
 
140
- // node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/speech/install.js
140
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/speech/install.js
141
141
  import { createHash, randomUUID } from "node:crypto";
142
142
  import { createReadStream, createWriteStream, mkdirSync, statSync } from "node:fs";
143
143
  import { rename, rm } from "node:fs/promises";
@@ -175,11 +175,12 @@ var sizeOf = /* @__PURE__ */ __name((path) => {
175
175
  }
176
176
  }, "sizeOf");
177
177
  var installedBytes = /* @__PURE__ */ __name((model) => model.files.reduce((sum, file) => sum + file.bytes, 0), "installedBytes");
178
- var install = /* @__PURE__ */ __name(async (model, directory, { fetch: get = fetch, progress, verifyExisting } = {}) => {
178
+ var install = /* @__PURE__ */ __name(async (model, directory, { fetch: get = fetch, progress, bytes, verifyExisting } = {}) => {
179
179
  mkdirSync(join(directory, model.id), { recursive: true, mode: 448 });
180
- await installFiles(placed(model, directory), { fetch: get, progress, verifyExisting });
180
+ await installFiles(placed(model, directory), { fetch: get, progress, bytes, verifyExisting });
181
181
  }, "install");
182
- var installFiles = /* @__PURE__ */ __name(async (files, { fetch: get = fetch, progress, verifyExisting } = {}) => {
182
+ var installFiles = /* @__PURE__ */ __name(async (files, { fetch: get = fetch, progress, bytes = /* @__PURE__ */ __name(() => {
183
+ }, "bytes"), verifyExisting } = {}) => {
183
184
  if (verifyExisting)
184
185
  for (const [file, path] of files) {
185
186
  if (sizeOf(path) !== void 0) {
@@ -192,18 +193,24 @@ var installFiles = /* @__PURE__ */ __name(async (files, { fetch: get = fetch, pr
192
193
  }
193
194
  }
194
195
  }
195
- for (const [file, path] of files) {
196
- if (sizeOf(path) === file.bytes)
197
- continue;
196
+ const total = files.reduce((sum, [file]) => sum + file.bytes, 0);
197
+ const missing = files.filter(([file, path]) => sizeOf(path) !== file.bytes);
198
+ let done = total - missing.reduce((sum, [file]) => sum + file.bytes, 0);
199
+ bytes(done, total);
200
+ for (const [file, path] of missing) {
198
201
  mkdirSync(dirname(path), { recursive: true, mode: 448 });
199
202
  progress?.(`downloading ${file.name} (${megabytes(file.bytes)})`);
200
- await fetchVerified(file, path, get);
203
+ const before = done;
204
+ await fetchVerified(file, path, get, (received) => {
205
+ done = before + received;
206
+ bytes(done, total);
207
+ });
201
208
  }
202
209
  }, "installFiles");
203
- var fetchVerified = /* @__PURE__ */ __name(async (file, path, get) => {
210
+ var fetchVerified = /* @__PURE__ */ __name(async (file, path, get, received) => {
204
211
  const stalled = watchdog(STALL_MS);
205
212
  try {
206
- await fetchInto(file, path, get, stalled);
213
+ await fetchInto(file, path, get, stalled, received);
207
214
  } catch (error) {
208
215
  if (stalled.signal.aborted) {
209
216
  throw new CliError("timeout", `${file.name} stopped downloading for ${STALL_MS / 1e3} s \u2014 nothing was installed`);
@@ -213,7 +220,7 @@ var fetchVerified = /* @__PURE__ */ __name(async (file, path, get) => {
213
220
  stalled.stop();
214
221
  }
215
222
  }, "fetchVerified");
216
- var fetchInto = /* @__PURE__ */ __name(async (file, path, get, stalled) => {
223
+ var fetchInto = /* @__PURE__ */ __name(async (file, path, get, stalled, received) => {
217
224
  const response = await get(file.url, { signal: stalled.signal });
218
225
  if (!response.ok || !response.body) {
219
226
  await response.body?.cancel();
@@ -231,6 +238,7 @@ var fetchInto = /* @__PURE__ */ __name(async (file, path, get, stalled) => {
231
238
  return;
232
239
  }
233
240
  hash.update(chunk);
241
+ received(bytes);
234
242
  done(null, chunk);
235
243
  }
236
244
  });
@@ -2,21 +2,21 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  botInstructions
5
- } from "./chunk-R44PUK7G.js";
5
+ } from "./chunk-355PHJYX.js";
6
6
  import {
7
7
  answered,
8
8
  normal,
9
9
  registerCommands,
10
10
  runCommandForAgent,
11
11
  toolsFromCommands
12
- } from "./chunk-6QNPOBR5.js";
12
+ } from "./chunk-N6IHOYMT.js";
13
13
  import {
14
14
  agentJson,
15
15
  skillResource
16
- } from "./chunk-MCMEBL3C.js";
16
+ } from "./chunk-NJDGZRF5.js";
17
17
  import {
18
18
  callerOf
19
- } from "./chunk-YMK35KVV.js";
19
+ } from "./chunk-PEYCLVIO.js";
20
20
  import {
21
21
  serveStdio
22
22
  } from "./chunk-MM5NVP7F.js";
@@ -25,26 +25,26 @@ import {
25
25
  } from "./chunk-H3ZN4YLB.js";
26
26
  import {
27
27
  wholeList
28
- } from "./chunk-5N6HWFXN.js";
28
+ } from "./chunk-4VQPPX47.js";
29
29
  import {
30
30
  changesMessenger,
31
31
  flatten,
32
32
  itemOf
33
- } from "./chunk-G3YSCD77.js";
33
+ } from "./chunk-PYRHU35W.js";
34
34
  import {
35
35
  MESSENGER_CHANGE_REFUSAL,
36
36
  readOnlyLockOf,
37
37
  readOnlyRefusal
38
- } from "./chunk-SYTYLLYO.js";
38
+ } from "./chunk-OT23U5LT.js";
39
39
  import {
40
40
  mcpErrorResult,
41
41
  object
42
- } from "./chunk-SN63VOE6.js";
42
+ } from "./chunk-EBNNONF5.js";
43
43
  import {
44
44
  __name
45
45
  } from "./chunk-ZVVMGPBJ.js";
46
46
 
47
- // node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/mcp/bot/server.js
47
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/mcp/bot/server.js
48
48
  import { randomUUID } from "node:crypto";
49
49
  var body = /* @__PURE__ */ __name((command, value) => Array.isArray(value) ? wholeList(`bot ${command}`, value) : value !== null && typeof value === "object" && ("item" in value || "items" in value) ? value : itemOf(value !== null && typeof value === "object" ? value : { value }), "body");
50
50
  var createBotServer = /* @__PURE__ */ __name((options) => {
@@ -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-2R2Z2VWL.js";
5
+ } from "./chunk-O3ZOYXH3.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/store/path.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/store/path.js
11
11
  import { userInfo } from "node:os";
12
12
  import { isAbsolute, join, relative, resolve } from "node:path";
13
13
  var wirecatDirectory = /* @__PURE__ */ __name((env = process.env, platform) => resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env, ...platform ? { platform } : {} }).state, "wirecatDirectory");
@@ -7,10 +7,10 @@ import {
7
7
  agentJson,
8
8
  commandAvailability,
9
9
  failureContext
10
- } from "./chunk-MCMEBL3C.js";
10
+ } from "./chunk-NJDGZRF5.js";
11
11
  import {
12
12
  callerOf
13
- } from "./chunk-YMK35KVV.js";
13
+ } from "./chunk-PEYCLVIO.js";
14
14
  import {
15
15
  QUERY_ARGUMENT,
16
16
  lentConnection,
@@ -18,7 +18,7 @@ import {
18
18
  refuseLacking,
19
19
  servicesFor,
20
20
  storeModeDeps
21
- } from "./chunk-5N6HWFXN.js";
21
+ } from "./chunk-4VQPPX47.js";
22
22
  import {
23
23
  DEFAULT_OUTPUT_BYTES,
24
24
  ENTITIES,
@@ -42,23 +42,23 @@ import {
42
42
  sealed,
43
43
  startRecording,
44
44
  traceOf
45
- } from "./chunk-G3YSCD77.js";
45
+ } from "./chunk-PYRHU35W.js";
46
46
  import {
47
47
  currentCaller,
48
48
  keepsSuccess,
49
49
  runContextOf,
50
50
  withCaller
51
- } from "./chunk-ZKH6LC5P.js";
51
+ } from "./chunk-FOM7WE2C.js";
52
52
  import {
53
53
  queryDescription
54
- } from "./chunk-EFQCDCLY.js";
54
+ } from "./chunk-HCMXUHHF.js";
55
55
  import {
56
56
  MAX_BUFFERED_INPUT
57
- } from "./chunk-HCZV537M.js";
57
+ } from "./chunk-AKD62EUH.js";
58
58
  import {
59
59
  captureStreams,
60
60
  traceIdOf
61
- } from "./chunk-2R2Z2VWL.js";
61
+ } from "./chunk-O3ZOYXH3.js";
62
62
  import {
63
63
  COMPACT_FLAG,
64
64
  SNAKE_CASE,
@@ -97,19 +97,19 @@ import {
97
97
  unknown,
98
98
  word,
99
99
  writes
100
- } from "./chunk-SN63VOE6.js";
100
+ } from "./chunk-EBNNONF5.js";
101
101
  import {
102
102
  CliError,
103
103
  errorCodes
104
- } from "./chunk-RZ54DSVU.js";
104
+ } from "./chunk-BXTDAGM4.js";
105
105
  import {
106
106
  __name
107
107
  } from "./chunk-ZVVMGPBJ.js";
108
108
 
109
- // node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/mcp/agent.js
109
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/mcp/agent.js
110
110
  import { Readable } from "node:stream";
111
111
 
112
- // node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/lint.js
112
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/lint.js
113
113
  var LINT_SEVERITIES = ["high", "medium", "low"];
114
114
  var lintRuleSchema = strictObject({
115
115
  id: word,
@@ -237,7 +237,7 @@ var overrideSchema = strictObject({
237
237
  });
238
238
  var overridesSchema = array(overrideSchema);
239
239
 
240
- // node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/audit.js
240
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/audit.js
241
241
  var auditRuleSchema = strictObject({ id: word, severity: picklist(LINT_SEVERITIES), summary: text });
242
242
  var defineAuditRules = /* @__PURE__ */ __name((input) => parseRegistry("audit rules", array(auditRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineAuditRules");
243
243
  var AUDIT_RULES = defineAuditRules([
@@ -333,6 +333,14 @@ var PARITY_GROUPS = defineParityGroups([
333
333
  members: ["tg", "max", "memo", "drive", "zm", "wa", "gcal"],
334
334
  covers: ["commands", "upgrade", "notes", "meetings"],
335
335
  differences: []
336
+ },
337
+ // bitrix24-cli's search is cli-core's CRM `search all`, and beeline-cli's meetings take call recordings, not
338
+ // zoom-cli's: both are compared on the root commands every CLI shares, the way gcal and mail are on theirs.
339
+ {
340
+ name: "shared-roots",
341
+ members: ["tg", "max", "memo", "drive", "zm", "wa", "b24", "beeline"],
342
+ covers: ["commands", "doctor", "skill", "mcp", "upgrade"],
343
+ differences: MEMO_HAS_NO_PROFILES
336
344
  }
337
345
  ]);
338
346
  var requiredRootSchema = strictObject({ path: pipe(array(segment), minLength(1)), meaning: text });
@@ -346,7 +354,7 @@ var REQUIRED_ROOTS = defineRequiredRoots([
346
354
  { path: ["upgrade"], meaning: "updates the CLI" }
347
355
  ]);
348
356
 
349
- // node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/fields.js
357
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/fields.js
350
358
  var fieldRuleSchema = strictObject({ id: word, rule: text });
351
359
  var defineFieldRules = /* @__PURE__ */ __name((input) => parseRegistry("output field rules", array(fieldRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineFieldRules");
352
360
  var FIELD_RULES = defineFieldRules([
@@ -362,7 +370,7 @@ var FIELD_RULES = defineFieldRules([
362
370
  }
363
371
  ]);
364
372
 
365
- // node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/identifiers.js
373
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/identifiers.js
366
374
  var key = pipe(string(), regex(SNAKE_CASE, "a snake_case key"));
367
375
  var identifierSchema = strictObject({ key, meaning: text, replaces: optional(array(key)) });
368
376
  var defineIdentifiers = /* @__PURE__ */ __name((input) => parseRegistry("identifiers", array(identifierSchema), input, (identifiers) => {
@@ -384,7 +392,7 @@ var IDENTIFIERS = defineIdentifiers([
384
392
  { key: "trace_id", meaning: "the distributed trace a run belongs to, from `traceparent`" }
385
393
  ]);
386
394
 
387
- // node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-calendar.js
395
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-calendar.js
388
396
  var CALENDAR_FLAGS = [
389
397
  { name: "--end-time", value: "<time>", role: "value", type: "time", meaning: "when it ends" },
390
398
  {
@@ -458,7 +466,47 @@ var CALENDAR_FLAGS = [
458
466
  }
459
467
  ];
460
468
 
461
- // node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-how.js
469
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-crm.js
470
+ var CRM_FLAGS = [
471
+ {
472
+ name: "--pipeline",
473
+ value: "<pipeline>",
474
+ role: "value",
475
+ type: "string",
476
+ meaning: "a CRM pipeline: pipeline:<id>, or a name only one pipeline has"
477
+ },
478
+ {
479
+ name: "--stage",
480
+ value: "<stage>",
481
+ role: "value",
482
+ type: "string",
483
+ meaning: "a stage of the record's pipeline, by the CRM's id or its name"
484
+ },
485
+ {
486
+ name: "--amount",
487
+ value: "<decimal>",
488
+ role: "value",
489
+ type: "string",
490
+ meaning: "a sum of money as a decimal, such as 1500.50, in --currency"
491
+ },
492
+ { name: "--currency", value: "<code>", role: "value", type: "string", meaning: "an ISO 4217 code, such as EUR" },
493
+ {
494
+ name: "--close-date",
495
+ value: "<date>",
496
+ role: "value",
497
+ type: "time",
498
+ meaning: "the day a deal or lead is expected to close, YYYY-MM-DD"
499
+ },
500
+ {
501
+ name: "--owner",
502
+ value: "<user>",
503
+ role: "value",
504
+ type: "id",
505
+ meaning: "the CRM user a record is assigned to, by the CRM's id"
506
+ }
507
+ ];
508
+
509
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-how.js
462
510
  var HOW_FLAGS = [
463
511
  {
464
512
  name: "--limit",
@@ -783,6 +831,7 @@ var HOW_FLAGS = [
783
831
  meaning: "tell the people it concerns about it: the chat's members, or an event's attendees"
784
832
  },
785
833
  { name: "--no-notify", role: "mode", type: "switch", meaning: "tell nobody about it" },
834
+ { name: "--open-new", role: "mode", type: "switch", meaning: "a read again for tasks also opens new tasks" },
786
835
  { name: "--offline", role: "mode", type: "switch", meaning: "answer from what was recorded and never connect" },
787
836
  {
788
837
  name: "--operation-id",
@@ -1452,7 +1501,7 @@ var HOW_FLAGS = [
1452
1501
  }
1453
1502
  ];
1454
1503
 
1455
- // node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-mail.js
1504
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-mail.js
1456
1505
  var MAIL_FLAGS = [
1457
1506
  {
1458
1507
  name: "--cc",
@@ -1482,7 +1531,94 @@ var MAIL_FLAGS = [
1482
1531
  }
1483
1532
  ];
1484
1533
 
1485
- // node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-what.js
1534
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-privacy.js
1535
+ var PRIVACY_FLAGS = [
1536
+ {
1537
+ name: "--about-text",
1538
+ value: "<who>",
1539
+ role: "value",
1540
+ type: "choice",
1541
+ meaning: "who sees the about text: everyone, contacts or nobody"
1542
+ },
1543
+ {
1544
+ name: "--calls",
1545
+ value: "<who>",
1546
+ role: "value",
1547
+ type: "choice",
1548
+ meaning: "whose calls ring: everyone, contacts or nobody"
1549
+ },
1550
+ {
1551
+ name: "--chat-invites",
1552
+ value: "<who>",
1553
+ role: "value",
1554
+ type: "choice",
1555
+ meaning: "who may add the account to groups and channels: everyone, contacts or nobody"
1556
+ },
1557
+ {
1558
+ name: "--find-by-phone",
1559
+ value: "<who>",
1560
+ role: "value",
1561
+ type: "choice",
1562
+ meaning: "who finds the account by its number: everyone, contacts or nobody"
1563
+ },
1564
+ {
1565
+ name: "--hide-online",
1566
+ value: "<on|off>",
1567
+ role: "value",
1568
+ type: "choice",
1569
+ meaning: "hide online status and last seen"
1570
+ },
1571
+ {
1572
+ name: "--last-seen",
1573
+ value: "<who>",
1574
+ role: "value",
1575
+ type: "choice",
1576
+ meaning: "who sees when the account was last online: everyone, contacts or nobody"
1577
+ },
1578
+ {
1579
+ name: "--phone-number",
1580
+ value: "<who>",
1581
+ role: "value",
1582
+ type: "choice",
1583
+ meaning: "who sees the number: everyone, contacts or nobody"
1584
+ },
1585
+ {
1586
+ name: "--profile-photo",
1587
+ value: "<who>",
1588
+ role: "value",
1589
+ type: "choice",
1590
+ meaning: "who sees the profile photo: everyone, contacts or nobody"
1591
+ },
1592
+ { name: "--read-receipts", value: "<on|off>", role: "value", type: "choice", meaning: "send read receipts" }
1593
+ ];
1594
+
1595
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-schedule.js
1596
+ var SCHEDULE_FLAGS = [
1597
+ {
1598
+ name: "--notify-on",
1599
+ value: "<when>",
1600
+ role: "value",
1601
+ type: "choice",
1602
+ meaning: "when a scheduled run tells the owner: always, failures or never"
1603
+ },
1604
+ {
1605
+ name: "--deliver-to",
1606
+ value: "<route>",
1607
+ role: "value",
1608
+ type: "string",
1609
+ meaning: "where a scheduled run's result also goes, by the owner's own CLI: telegram-bot:<profile>/<chat> or email:<profile>/<address>; repeat it for more. Not --to, which names who a message is for"
1610
+ },
1611
+ {
1612
+ name: "--max-cost-per-day",
1613
+ value: "<usd>",
1614
+ role: "budget",
1615
+ type: "number",
1616
+ meaning: "start no run for the rest of the day once the day's runs cost this much; 0 for no cap",
1617
+ unit: "US dollars"
1618
+ }
1619
+ ];
1620
+
1621
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-what.js
1486
1622
  var WHAT_FLAGS = [
1487
1623
  {
1488
1624
  name: "--analysis-provider",
@@ -1905,6 +2041,20 @@ var WHAT_FLAGS = [
1905
2041
  meaning: "look again from this day, for what arrived late"
1906
2042
  },
1907
2043
  { name: "--run", value: "<id>", role: "target", type: "id", meaning: "the run it is about" },
2044
+ {
2045
+ name: "--who",
2046
+ value: "<side>",
2047
+ role: "target",
2048
+ type: "choice",
2049
+ meaning: "whose replies are measured: me (the owner's) or others (the other side's)"
2050
+ },
2051
+ {
2052
+ name: "--write",
2053
+ value: "<id>",
2054
+ role: "target",
2055
+ type: "id",
2056
+ meaning: "one write of a run, by the operation_id its answer listed: undo or act on that write alone"
2057
+ },
1908
2058
  {
1909
2059
  name: "--target",
1910
2060
  value: "<ref>",
@@ -2107,63 +2257,6 @@ var WHAT_FLAGS = [
2107
2257
  type: "path",
2108
2258
  meaning: "an Ogg Opus file sent as a voice message"
2109
2259
  },
2110
- {
2111
- name: "--about-text",
2112
- value: "<who>",
2113
- role: "value",
2114
- type: "choice",
2115
- meaning: "who sees the about text: everyone, contacts or nobody"
2116
- },
2117
- {
2118
- name: "--calls",
2119
- value: "<who>",
2120
- role: "value",
2121
- type: "choice",
2122
- meaning: "whose calls ring: everyone, contacts or nobody"
2123
- },
2124
- {
2125
- name: "--chat-invites",
2126
- value: "<who>",
2127
- role: "value",
2128
- type: "choice",
2129
- meaning: "who may add the account to groups and channels: everyone, contacts or nobody"
2130
- },
2131
- {
2132
- name: "--find-by-phone",
2133
- value: "<who>",
2134
- role: "value",
2135
- type: "choice",
2136
- meaning: "who finds the account by its number: everyone, contacts or nobody"
2137
- },
2138
- {
2139
- name: "--hide-online",
2140
- value: "<on|off>",
2141
- role: "value",
2142
- type: "choice",
2143
- meaning: "hide online status and last seen"
2144
- },
2145
- {
2146
- name: "--last-seen",
2147
- value: "<who>",
2148
- role: "value",
2149
- type: "choice",
2150
- meaning: "who sees when the account was last online: everyone, contacts or nobody"
2151
- },
2152
- {
2153
- name: "--phone-number",
2154
- value: "<who>",
2155
- role: "value",
2156
- type: "choice",
2157
- meaning: "who sees the number: everyone, contacts or nobody"
2158
- },
2159
- {
2160
- name: "--profile-photo",
2161
- value: "<who>",
2162
- role: "value",
2163
- type: "choice",
2164
- meaning: "who sees the profile photo: everyone, contacts or nobody"
2165
- },
2166
- { name: "--read-receipts", value: "<on|off>", role: "value", type: "choice", meaning: "send read receipts" },
2167
2260
  {
2168
2261
  name: "--until",
2169
2262
  value: "<time>",
@@ -2266,6 +2359,13 @@ var WHAT_FLAGS = [
2266
2359
  type: "id",
2267
2360
  meaning: "never show this chat in it; repeat it for more"
2268
2361
  },
2362
+ {
2363
+ name: "--field",
2364
+ value: "<key=value>",
2365
+ role: "value",
2366
+ type: "string",
2367
+ meaning: "set one named field on a write, as key=value; repeat it for more"
2368
+ },
2269
2369
  {
2270
2370
  name: "--file",
2271
2371
  value: "<file>",
@@ -2480,7 +2580,7 @@ var WHAT_FLAGS = [
2480
2580
  }
2481
2581
  ];
2482
2582
 
2483
- // node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/vocabulary.js
2583
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/vocabulary.js
2484
2584
  var FLAG_TYPES = [
2485
2585
  "switch",
2486
2586
  "count",
@@ -2729,6 +2829,13 @@ var collections = [
2729
2829
  ["invoices", "bills the owner sends or receives, with their amounts and due dates"],
2730
2830
  ["orders", "what a customer asked for and the owner owes or delivers"],
2731
2831
  ["payments", "money that moved in or out, each one matched to the invoices it settles"],
2832
+ ["deals", "sales the owner works on, each at a stage of a pipeline, with an amount and an outcome"],
2833
+ ["leads", "possible customers not yet qualified into a deal"],
2834
+ ["pipelines", "ordered sets of stages a deal moves through"],
2835
+ ["stages", "steps of a pipeline, each open, won or lost"],
2836
+ ["products", "goods and services the owner sells, with their prices"],
2837
+ ["users", "people who work in the owner's account at a service, such as a CRM's employees"],
2838
+ ["fields", "a record type's field definitions: code, label, type and options, such as a CRM's custom fields"],
2732
2839
  [
2733
2840
  "identities",
2734
2841
  "ways to reach a person or an organization: an account in one messenger or mailbox, an e-mail address, a phone"
@@ -2823,6 +2930,7 @@ var views = [
2823
2930
  ["newcomers", "members observed joining during the selected time window"],
2824
2931
  ["retention", "whether members of a selected cohort remain or return over time"],
2825
2932
  ["responses", "observed replies between participants and the time taken to answer"],
2933
+ ["waiting", "chats whose newest message waits on the owner's reply"],
2826
2934
  ["discussion", "source posts compared by known views and observed discussion replies"],
2827
2935
  ["unanswered", "questions without an observed qualifying answer"],
2828
2936
  ["me", "the account a profile's token belongs to"],
@@ -2837,6 +2945,7 @@ var roots = [
2837
2945
  ["serve", "the long-running process"],
2838
2946
  ["setup", "the guided first run: log in or link the account, then install the agent skill"],
2839
2947
  ["doctor", "check this machine's setup"],
2948
+ ["recover", "repair a damaged store: what it would do, then its run subcommand does it"],
2840
2949
  ["upgrade", "install a newer version of this tool"],
2841
2950
  ["commands", "the command tree as data"],
2842
2951
  ["guide", "scenarios: the commands for a common task, in order, and why each"],
@@ -2858,10 +2967,18 @@ var VOCABULARY = defineVocabulary({
2858
2967
  ],
2859
2968
  views: views.map(([entry, meaning]) => ({ word: entry, meaning })),
2860
2969
  roots: roots.map(([entry, meaning]) => ({ word: entry, meaning })),
2861
- flags: [...HOW_FLAGS, ...WHAT_FLAGS, ...CALENDAR_FLAGS, ...MAIL_FLAGS]
2970
+ flags: [
2971
+ ...HOW_FLAGS,
2972
+ ...WHAT_FLAGS,
2973
+ ...PRIVACY_FLAGS,
2974
+ ...CALENDAR_FLAGS,
2975
+ ...MAIL_FLAGS,
2976
+ ...CRM_FLAGS,
2977
+ ...SCHEDULE_FLAGS
2978
+ ]
2862
2979
  });
2863
2980
 
2864
- // node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/mcp/agent.js
2981
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/mcp/agent.js
2865
2982
  var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
2866
2983
  var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
2867
2984
  var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
@@ -3084,7 +3201,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
3084
3201
  }
3085
3202
  }, "runCommandForAgent");
3086
3203
 
3087
- // node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/mcp/tool.js
3204
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/mcp/tool.js
3088
3205
  var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
3089
3206
  var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
3090
3207
  var message = pipe(
@@ -3343,7 +3460,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
3343
3460
  return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(error, context))));
3344
3461
  }, "failed");
3345
3462
 
3346
- // node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3463
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3347
3464
  import { randomUUID } from "node:crypto";
3348
3465
  var MATCHES = 8;
3349
3466
  var ANSWER = answerSchema();