@wirecat/hubspot-cli 0.3.2 → 0.5.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 (152) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/README.md +6 -5
  3. package/dist/bin/hubspot.js +2 -2
  4. package/dist/bundle/agent-RBQMA24N.js +40 -0
  5. package/dist/bundle/{all-profiles-6452VSJB.js → all-profiles-PGFXLOKN.js} +11 -11
  6. package/dist/bundle/{anthropic-VQUOVYOW.js → anthropic-LPOJ3TYF.js} +5 -5
  7. package/dist/bundle/{app-server-EQZUP4H4.js → app-server-EYWGCSRY.js} +68 -68
  8. package/dist/bundle/{bun-AJPJ4ZUN.js → bun-ZJOOKIIW.js} +2 -2
  9. package/dist/bundle/{bun-sqlite-AGXGSF6D.js → bun-sqlite-Y6KKH2OW.js} +6 -6
  10. package/dist/bundle/{chunk-2A64XS22.js → chunk-23CLSKY7.js} +3 -3
  11. package/dist/bundle/{chunk-GZZR5U3K.js → chunk-34HDRZIL.js} +14 -14
  12. package/dist/bundle/{chunk-NZGI74GS.js → chunk-3CHJYWA2.js} +6 -6
  13. package/dist/bundle/{chunk-PMP37KLR.js → chunk-4RZ4DUQT.js} +3 -3
  14. package/dist/bundle/{chunk-LT5KE44Q.js → chunk-5ENY4POG.js} +61 -61
  15. package/dist/bundle/{chunk-QBEDVMLZ.js → chunk-5HGS65I3.js} +2 -2
  16. package/dist/bundle/{chunk-KVXEEKBB.js → chunk-5UPNDUAA.js} +2 -2
  17. package/dist/bundle/{chunk-YIF5M5R6.js → chunk-5WADRBQG.js} +3 -3
  18. package/dist/bundle/{chunk-KO4VR5NK.js → chunk-6PWRJGX4.js} +4 -4
  19. package/dist/bundle/{chunk-TKK3ECDS.js → chunk-6S422S22.js} +7 -7
  20. package/dist/bundle/{chunk-5AYKCKSE.js → chunk-7Q64D56R.js} +11 -11
  21. package/dist/bundle/{chunk-PHXOL5HZ.js → chunk-7RIE3DAW.js} +174 -161
  22. package/dist/bundle/{chunk-RVWGFD32.js → chunk-A5UTNGI4.js} +13 -13
  23. package/dist/bundle/{chunk-NTQBS2JL.js → chunk-ABPZOI3C.js} +4 -4
  24. package/dist/bundle/{chunk-L433IDOX.js → chunk-AHZQMSXW.js} +10 -10
  25. package/dist/bundle/{chunk-X5S5KUSU.js → chunk-AIQT2GGK.js} +19 -19
  26. package/dist/bundle/{chunk-3R4KRNUZ.js → chunk-AVBKXCEY.js} +8 -8
  27. package/dist/bundle/{chunk-TIHDBKA7.js → chunk-BCW7DAVV.js} +2 -2
  28. package/dist/bundle/{chunk-7UEL65GQ.js → chunk-BGUGTMTS.js} +8 -8
  29. package/dist/bundle/{chunk-BN22EKQQ.js → chunk-BH5FEFZB.js} +2 -2
  30. package/dist/bundle/{chunk-DJ2GJ77D.js → chunk-BVK4GUUI.js} +1352 -838
  31. package/dist/bundle/{chunk-3TEFE6YU.js → chunk-BW7NPFVC.js} +18 -8
  32. package/dist/bundle/{chunk-WRCKE5ND.js → chunk-CWCJEAHZ.js} +3 -3
  33. package/dist/bundle/{chunk-DW23LM47.js → chunk-DDMBPYHP.js} +2 -2
  34. package/dist/bundle/{chunk-WGBVRDY3.js → chunk-DEUCWBBH.js} +103 -5
  35. package/dist/bundle/{chunk-SEELWPRD.js → chunk-DJUUQG6Y.js} +8 -8
  36. package/dist/bundle/{chunk-VW5F6FK3.js → chunk-EGR3YUWD.js} +4 -4
  37. package/dist/bundle/{chunk-M763RNWP.js → chunk-EPBHJMF6.js} +20 -14
  38. package/dist/bundle/{chunk-7NZT7Y55.js → chunk-GZJP3KQQ.js} +3 -4
  39. package/dist/bundle/{chunk-BHZUPOQY.js → chunk-HBFSGL5E.js} +26 -26
  40. package/dist/bundle/{chunk-O3VM5PTJ.js → chunk-HPRGUUHY.js} +1 -1
  41. package/dist/bundle/{chunk-DSRXCLPO.js → chunk-HPSESLOZ.js} +1 -1
  42. package/dist/bundle/{chunk-Q27QAB4X.js → chunk-I334AT2H.js} +7 -7
  43. package/dist/bundle/{chunk-BAUK2MD5.js → chunk-K3WCBNH4.js} +43 -64
  44. package/dist/bundle/{chunk-JK2SNLU5.js → chunk-K5S7MKBB.js} +17 -17
  45. package/dist/bundle/{chunk-J5P5VSRG.js → chunk-KAW5VEER.js} +21 -8
  46. package/dist/bundle/{chunk-NNMU2TDU.js → chunk-KC4ILAKO.js} +1 -1
  47. package/dist/bundle/{chunk-K4X5ZHI2.js → chunk-KRTXJMCD.js} +16 -16
  48. package/dist/bundle/{chunk-DQB5JMTY.js → chunk-KXWRVLSU.js} +1 -1
  49. package/dist/bundle/{chunk-VQEAZXTV.js → chunk-L4SVHQ7H.js} +7 -7
  50. package/dist/bundle/{chunk-ARTJLL7W.js → chunk-L6WSFVTD.js} +8 -8
  51. package/dist/bundle/{chunk-OJIJVOOA.js → chunk-LWS5AO3H.js} +17 -17
  52. package/dist/bundle/{chunk-E4X7JAFC.js → chunk-LXLXF2OE.js} +3 -3
  53. package/dist/bundle/{chunk-ODPU3II6.js → chunk-MENMD5Y5.js} +8 -8
  54. package/dist/bundle/{chunk-5ZV7REBE.js → chunk-MFWECOO3.js} +82 -64
  55. package/dist/bundle/{chunk-HPZRUY6S.js → chunk-MGMLSPIY.js} +1 -1
  56. package/dist/bundle/{chunk-B3EH22CO.js → chunk-MKBQFD37.js} +1 -1
  57. package/dist/bundle/{chunk-E4FAMU2S.js → chunk-MPNMEWHA.js} +417 -320
  58. package/dist/bundle/{chunk-2HYGCLKN.js → chunk-MPQ4SPZG.js} +93 -40
  59. package/dist/bundle/{chunk-ITGNDZRR.js → chunk-MW4ROXQ6.js} +3 -3
  60. package/dist/bundle/{chunk-JP2HJXFO.js → chunk-NEDV6RCQ.js} +10 -3
  61. package/dist/bundle/{chunk-PLRUUXK7.js → chunk-NEP67GLY.js} +6 -6
  62. package/dist/bundle/{chunk-6MFP47XC.js → chunk-NKIKMG33.js} +35 -35
  63. package/dist/bundle/{chunk-GC6FLHZF.js → chunk-NLPGUYCG.js} +12 -12
  64. package/dist/bundle/{chunk-AF7DANIR.js → chunk-OCISQFMW.js} +1 -1
  65. package/dist/bundle/{chunk-AVUMH42T.js → chunk-ODRF47VS.js} +8 -8
  66. package/dist/bundle/{chunk-EE4JSYGZ.js → chunk-OFOA6VJ2.js} +3 -3
  67. package/dist/bundle/{chunk-BUGROVF3.js → chunk-PMGAU6AP.js} +2 -2
  68. package/dist/bundle/{chunk-IQ2XZ62J.js → chunk-POTS24SH.js} +18 -18
  69. package/dist/bundle/{chunk-B2W3C4N6.js → chunk-PPQRWFJZ.js} +5 -5
  70. package/dist/bundle/{chunk-GRFICQTZ.js → chunk-QCHW7R7L.js} +1 -1
  71. package/dist/bundle/{chunk-5K3FGXZH.js → chunk-QDNYJOWJ.js} +1 -1
  72. package/dist/bundle/{chunk-WCQW4GYO.js → chunk-QIHJKE4K.js} +24 -8
  73. package/dist/bundle/{chunk-7LQRXVQ3.js → chunk-QLFD3MOL.js} +1002 -560
  74. package/dist/bundle/{chunk-7VHBS5BJ.js → chunk-QPTHEZZ5.js} +2 -2
  75. package/dist/bundle/{chunk-IXZLMFPO.js → chunk-R7ZOCDNG.js} +1 -1
  76. package/dist/bundle/{chunk-FIVD4HM4.js → chunk-RJBKDZGV.js} +8 -8
  77. package/dist/bundle/{chunk-4DNHXRCJ.js → chunk-RZS7N3OZ.js} +7 -7
  78. package/dist/bundle/{chunk-A6UFH3QU.js → chunk-SBNZYRVZ.js} +4 -4
  79. package/dist/bundle/{chunk-EMOVVERN.js → chunk-STTHRJBX.js} +5 -5
  80. package/dist/bundle/{chunk-2NCO4E4T.js → chunk-V5VMAHDQ.js} +6 -6
  81. package/dist/bundle/{chunk-LA3YU4K7.js → chunk-VCYUYFIV.js} +1 -1
  82. package/dist/bundle/{chunk-3I2FGNWO.js → chunk-VIJV474N.js} +1 -1
  83. package/dist/bundle/{chunk-ABXVU5O4.js → chunk-WDR77HPO.js} +22 -1
  84. package/dist/bundle/{chunk-3PEKYGZ3.js → chunk-WEM4FZPM.js} +2 -2
  85. package/dist/bundle/{chunk-5PPG73G6.js → chunk-WQZENAPE.js} +3 -3
  86. package/dist/bundle/{chunk-5YNAVVCW.js → chunk-WXEN6AXQ.js} +16 -3
  87. package/dist/bundle/{chunk-IBTMK5KD.js → chunk-YJLJZMEA.js} +25 -25
  88. package/dist/bundle/{chunk-2PRVWEJC.js → chunk-YQBGPBYN.js} +2 -2
  89. package/dist/bundle/{chunk-3DIXAEGH.js → chunk-YZ5MULJM.js} +3 -3
  90. package/dist/bundle/{chunk-JUKAIXKY.js → chunk-Z7FC6VVM.js} +1 -1
  91. package/dist/bundle/{chunk-LKSNISYV.js → chunk-ZKPM53YG.js} +4 -4
  92. package/dist/bundle/{chunk-U6XA3OOM.js → chunk-ZLWQPUPB.js} +2 -2
  93. package/dist/bundle/{chunk-CBCEMFCF.js → chunk-ZMHD76RE.js} +2 -2
  94. package/dist/bundle/command-contract-O2UKYHLD.js +40 -0
  95. package/dist/bundle/{command-server-entry-GJSMDSNE.js → command-server-entry-B7S5AUE6.js} +28 -28
  96. package/dist/bundle/{decode-6PLXHVHW.js → decode-7L33C5UJ.js} +5 -5
  97. package/dist/bundle/{dispatch-TAQ7635E.js → dispatch-BIGHHSXV.js} +8 -8
  98. package/dist/bundle/{echarts-UZ7QLRE2.js → echarts-CWR3QH55.js} +2 -2
  99. package/dist/bundle/{embed-AWLL4EBF.js → embed-GXQ3HOQ6.js} +6 -6
  100. package/dist/bundle/{embedder-MM225YJ6.js → embedder-47OYXGLS.js} +9 -9
  101. package/dist/bundle/{failure-MR2XVHFP.js → failure-VMZOU5GZ.js} +2 -2
  102. package/dist/bundle/{first-run-KCZVNFJ7.js → first-run-YVQQOUQG.js} +12 -12
  103. package/dist/bundle/first-screen-TU3KE2B5.js +40 -0
  104. package/dist/bundle/hubspot.js +27 -25
  105. package/dist/bundle/{instructions-ZJ7U3QUE.js → instructions-QFS2MPK3.js} +1 -1
  106. package/dist/bundle/{mcp-CNV7F2XZ.js → mcp-Z2KZNCXB.js} +2 -2
  107. package/dist/bundle/meeting-combined-WBEOLQMP.js +25 -0
  108. package/dist/bundle/{meeting-model-OYXB2NOE.js → meeting-model-GLF2HVJG.js} +11 -11
  109. package/dist/bundle/{meeting-semantic-S3DBB7XD.js → meeting-semantic-RG56F4YX.js} +6 -6
  110. package/dist/bundle/{node-HGCZGZ4R.js → node-3TSWTXGI.js} +2 -2
  111. package/dist/bundle/{node-sqlite-RKYSRKEB.js → node-sqlite-UPQCG7DJ.js} +7 -7
  112. package/dist/bundle/{oauth-PYDCAQ7Y.js → oauth-MCVEENW3.js} +7 -7
  113. package/dist/bundle/{open-UCDSQUN2.js → open-JMUTKUYJ.js} +5 -5
  114. package/dist/bundle/{openai-Y4F5ZC7O.js → openai-HT7YDOK7.js} +15 -15
  115. package/dist/bundle/{process-P7FB7YO7.js → process-7RC6DAGM.js} +1 -1
  116. package/dist/bundle/{program-VKYZXANH.js → program-3DLBMOEJ.js} +174 -120
  117. package/dist/bundle/{prompt-E5TKZ37Q.js → prompt-7EROPXPF.js} +5 -5
  118. package/dist/bundle/{recognize-5NYPTSLT.js → recognize-B232GXD2.js} +4 -4
  119. package/dist/bundle/{remote-U4LUAHF2.js → remote-HGV64VRC.js} +9 -9
  120. package/dist/bundle/{rerank-AJAVKK5L.js → rerank-5S6TDXHD.js} +7 -7
  121. package/dist/bundle/{schemas-QLQ2K6DL.js → schemas-SB42IXEX.js} +1 -1
  122. package/dist/bundle/{serve-4UJ3R5IP.js → serve-D2WFCV6Z.js} +9 -9
  123. package/dist/bundle/{server-DUKWJUKD.js → server-4AXPTJPV.js} +60 -60
  124. package/dist/bundle/server-FFHVNABP.js +86 -0
  125. package/dist/bundle/{source-LJG4BWRU.js → source-DF63EC2B.js} +114 -86
  126. package/dist/bundle/{sqlite-runtime-KLEA4XAU.js → sqlite-runtime-DAFMZNLI.js} +6 -6
  127. package/dist/bundle/{state-COGSYMVH.js → state-7OEBDXVV.js} +6 -6
  128. package/dist/bundle/{store-BJXCSP26.js → store-2ZWSWF76.js} +24 -24
  129. package/dist/bundle/{store-V5UMSWK4.js → store-KC6US326.js} +26 -22
  130. package/dist/bundle/store-Q3ZKD4FJ.js +34 -0
  131. package/dist/bundle/store-maintenance-command-24A4GBRP.js +73 -0
  132. package/dist/bundle/surface-SPTM57EP.js +72 -0
  133. package/dist/bundle/writer-EQQ55HOS.js +86 -0
  134. package/dist/config.d.ts +1 -0
  135. package/dist/config.d.ts.map +1 -1
  136. package/dist/config.js +59 -10
  137. package/dist/config.js.map +1 -1
  138. package/dist/version.d.ts +1 -1
  139. package/dist/version.js +1 -1
  140. package/package.json +4 -4
  141. package/skills/hubspot-cli/references/api/api-basic.md +34 -6
  142. package/skills/hubspot-cli/references/api/api-batch.md +19 -9
  143. package/skills/hubspot-cli/references/api/api-search.md +9 -0
  144. package/dist/bundle/agent-A7ARC3QB.js +0 -40
  145. package/dist/bundle/command-contract-R2FGN7CQ.js +0 -40
  146. package/dist/bundle/first-screen-SCDV7TXT.js +0 -40
  147. package/dist/bundle/meeting-combined-EL5XZIJ5.js +0 -25
  148. package/dist/bundle/server-UQVV2PPX.js +0 -86
  149. package/dist/bundle/store-7DQGZH64.js +0 -32
  150. package/dist/bundle/store-maintenance-command-DQUBBWMD.js +0 -73
  151. package/dist/bundle/surface-IGBQUYE5.js +0 -72
  152. package/dist/bundle/writer-QOEJONAD.js +0 -86
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/runs/secrets.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/runs/secrets.js
8
8
  var SECRET_WORDS = /* @__PURE__ */ new Set([
9
9
  "authorization",
10
10
  "cookie",
@@ -17,14 +17,14 @@ import {
17
17
  refuseLacking,
18
18
  servicesFor,
19
19
  waitForTurn
20
- } from "./chunk-E4FAMU2S.js";
20
+ } from "./chunk-MPNMEWHA.js";
21
21
  import {
22
22
  capability,
23
23
  throughWrapper
24
- } from "./chunk-M763RNWP.js";
24
+ } from "./chunk-EPBHJMF6.js";
25
25
  import {
26
26
  servingProfiles
27
- } from "./chunk-5YNAVVCW.js";
27
+ } from "./chunk-WXEN6AXQ.js";
28
28
  import {
29
29
  asFirstWord,
30
30
  baseContext,
@@ -38,16 +38,16 @@ import {
38
38
  recalledAccount,
39
39
  rememberAccount,
40
40
  rootOf2 as rootOf
41
- } from "./chunk-PHXOL5HZ.js";
41
+ } from "./chunk-7RIE3DAW.js";
42
42
  import {
43
43
  providerErrorKey
44
- } from "./chunk-FIVD4HM4.js";
44
+ } from "./chunk-RJBKDZGV.js";
45
45
  import {
46
46
  openStore
47
- } from "./chunk-7LQRXVQ3.js";
47
+ } from "./chunk-QLFD3MOL.js";
48
48
  import {
49
49
  isCliFailure
50
- } from "./chunk-DW23LM47.js";
50
+ } from "./chunk-DDMBPYHP.js";
51
51
  import {
52
52
  AUTHORITY_KEY,
53
53
  CEILING_KEY,
@@ -59,22 +59,22 @@ import {
59
59
  levelFor,
60
60
  readKeysForCommand,
61
61
  skipFlagFor
62
- } from "./chunk-3TEFE6YU.js";
62
+ } from "./chunk-BW7NPFVC.js";
63
63
  import {
64
64
  chatReferenceOf,
65
65
  ensureAccount,
66
66
  foldName,
67
67
  isId,
68
68
  pickPerson
69
- } from "./chunk-IQ2XZ62J.js";
69
+ } from "./chunk-POTS24SH.js";
70
70
  import {
71
71
  CliError
72
- } from "./chunk-BUGROVF3.js";
72
+ } from "./chunk-PMGAU6AP.js";
73
73
  import {
74
74
  __name
75
75
  } from "./chunk-ZVVMGPBJ.js";
76
76
 
77
- // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/messenger/ask.js
77
+ // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/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.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/permission-keys.js
132
+ // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/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.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
212
+ // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
213
213
  var LONG_LIVED = /* @__PURE__ */ new Set(["self", "newSendId", "close", "formatMarkdown", "formatHtml", "storedChats"]);
214
214
  var LISTENING = /* @__PURE__ */ new Set(["watch", "feed", "listen", "listenHistory"]);
215
215
  var BLOCKING = /* @__PURE__ */ new Set(["frozen", "limited", "banned"]);
@@ -306,7 +306,7 @@ var flooded = /* @__PURE__ */ __name((messenger, memory, { name, warn, pacer })
306
306
  });
307
307
  }, "flooded");
308
308
 
309
- // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
309
+ // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
310
310
  var observed = /* @__PURE__ */ __name((messenger, events) => {
311
311
  const timed = /* @__PURE__ */ __name(async (operation, named, work, after) => {
312
312
  const write = currentOperation();
@@ -405,7 +405,7 @@ var byPart = /* @__PURE__ */ __name((batch, counts) => {
405
405
  counts[part] = (counts[part] ?? 0) + items.length;
406
406
  }, "byPart");
407
407
 
408
- // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
408
+ // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
409
409
  var REKEY_PACING = { lockMs: 50, pauseMs: 25 };
410
410
  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" }) => {
411
411
  let warned = false;
@@ -981,7 +981,7 @@ var keep = /* @__PURE__ */ __name(async (store, account, event, seenAt, among, c
981
981
  }
982
982
  }, "keep");
983
983
 
984
- // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
984
+ // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
985
985
  var lazyStore = /* @__PURE__ */ __name((env, command, version) => {
986
986
  let opened;
987
987
  return {
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/store/normalize.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/store/normalize.js
8
8
  var NORMALIZER_VERSION = 1;
9
9
  var fold = /* @__PURE__ */ __name((text) => text.normalize("NFKD").replace(new RegExp("\\p{M}+", "gu"), "").normalize("NFC").toLowerCase(), "fold");
10
10
  var normalize = /* @__PURE__ */ __name((text) => fold(text).replace(new RegExp("\\p{Cc}", "gu"), " ").replace(/\s+/gu, " ").trim(), "normalize");
@@ -2,11 +2,11 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  WIRECAT_TOOLS
5
- } from "./chunk-ABXVU5O4.js";
5
+ } from "./chunk-WDR77HPO.js";
6
6
  import {
7
7
  commandPathOf,
8
8
  outputOf
9
- } from "./chunk-EMOVVERN.js";
9
+ } from "./chunk-STTHRJBX.js";
10
10
  import {
11
11
  Command,
12
12
  Help,
@@ -17,21 +17,21 @@ import {
17
17
  environmentOf,
18
18
  metaOf,
19
19
  takesProfile
20
- } from "./chunk-PHXOL5HZ.js";
20
+ } from "./chunk-7RIE3DAW.js";
21
21
  import {
22
22
  wrapAnsi
23
23
  } from "./chunk-EH6ZEJGT.js";
24
24
  import {
25
25
  writes
26
- } from "./chunk-J5P5VSRG.js";
26
+ } from "./chunk-KAW5VEER.js";
27
27
  import {
28
28
  CliError
29
- } from "./chunk-BUGROVF3.js";
29
+ } from "./chunk-PMGAU6AP.js";
30
30
  import {
31
31
  __name
32
32
  } from "./chunk-ZVVMGPBJ.js";
33
33
 
34
- // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
34
+ // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
35
35
  var ARGUMENT_KINDS = {
36
36
  chat: "chat",
37
37
  chats: "chat",
@@ -224,7 +224,7 @@ var installCommandHelp = /* @__PURE__ */ __name((program, { profile = true } = {
224
224
  command.addHelpText("after", () => commandHelpText(command));
225
225
  }, "installCommandHelp");
226
226
 
227
- // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
227
+ // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
228
228
  var WIDTH = 100;
229
229
  var widest = /* @__PURE__ */ __name((texts) => texts.reduce((most, text) => Math.max(most, text.length), 0), "widest");
230
230
  var block = /* @__PURE__ */ __name((title, rows, column) => rows.length === 0 ? [] : ["", `${title}:`, ...rows.map(([left, right]) => ` ${left.padEnd(column)}${right}`)], "block");
@@ -1,17 +1,17 @@
1
1
  import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ filesPresent,
5
+ sharedModelsDirectory
6
+ } from "./chunk-6PWRJGX4.js";
3
7
  import {
4
8
  readSharedSection,
5
9
  sharedConfigPath,
6
10
  writeSharedSection
7
- } from "./chunk-4DNHXRCJ.js";
8
- import {
9
- filesPresent,
10
- sharedModelsDirectory
11
- } from "./chunk-KO4VR5NK.js";
11
+ } from "./chunk-RZS7N3OZ.js";
12
12
  import {
13
13
  storePath
14
- } from "./chunk-3PEKYGZ3.js";
14
+ } from "./chunk-WEM4FZPM.js";
15
15
  import {
16
16
  array,
17
17
  check,
@@ -35,12 +35,12 @@ import {
35
35
  } from "./chunk-S4UUN6LD.js";
36
36
  import {
37
37
  CliError
38
- } from "./chunk-BUGROVF3.js";
38
+ } from "./chunk-PMGAU6AP.js";
39
39
  import {
40
40
  __name
41
41
  } from "./chunk-ZVVMGPBJ.js";
42
42
 
43
- // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/embeddings/models.js
43
+ // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/embeddings/models.js
44
44
  import { existsSync } from "node:fs";
45
45
  import { join } from "node:path";
46
46
  var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
@@ -5,16 +5,16 @@ import {
5
5
  UNTRUSTED_NEUTRAL,
6
6
  agentArguments,
7
7
  agentJson
8
- } from "./chunk-AVUMH42T.js";
8
+ } from "./chunk-ODRF47VS.js";
9
9
  import {
10
10
  onlineDeps,
11
11
  refuseLacking,
12
12
  servicesFor,
13
13
  storeModeDeps
14
- } from "./chunk-E4FAMU2S.js";
14
+ } from "./chunk-MPNMEWHA.js";
15
15
  import {
16
16
  callerOf
17
- } from "./chunk-7VHBS5BJ.js";
17
+ } from "./chunk-QPTHEZZ5.js";
18
18
  import {
19
19
  DEFAULT_OUTPUT_BYTES,
20
20
  ENTITIES,
@@ -27,35 +27,35 @@ import {
27
27
  refuseStoreChange,
28
28
  sealed,
29
29
  startRecording
30
- } from "./chunk-PHXOL5HZ.js";
30
+ } from "./chunk-7RIE3DAW.js";
31
31
  import {
32
32
  currentCaller,
33
33
  keepsSuccess,
34
34
  runContextOf,
35
35
  withCaller
36
- } from "./chunk-FIVD4HM4.js";
36
+ } from "./chunk-RJBKDZGV.js";
37
37
  import {
38
38
  inRun,
39
39
  newRunId
40
- } from "./chunk-IBTMK5KD.js";
40
+ } from "./chunk-YJLJZMEA.js";
41
41
  import {
42
42
  storeDamaged
43
- } from "./chunk-DW23LM47.js";
43
+ } from "./chunk-DDMBPYHP.js";
44
44
  import {
45
45
  failureContext
46
- } from "./chunk-WGBVRDY3.js";
46
+ } from "./chunk-DEUCWBBH.js";
47
47
  import {
48
48
  fetchesAt,
49
49
  keyForCommand,
50
50
  levelFor,
51
51
  readKeysForCommand
52
- } from "./chunk-3TEFE6YU.js";
52
+ } from "./chunk-BW7NPFVC.js";
53
53
  import {
54
54
  MAX_BUFFERED_INPUT
55
- } from "./chunk-KVXEEKBB.js";
55
+ } from "./chunk-5UPNDUAA.js";
56
56
  import {
57
57
  traceIdOf
58
- } from "./chunk-X5S5KUSU.js";
58
+ } from "./chunk-AIQT2GGK.js";
59
59
  import {
60
60
  errorObjectOf,
61
61
  itemEnvelopeSchema,
@@ -63,7 +63,7 @@ import {
63
63
  mcpErrorResult,
64
64
  toJsonSchema,
65
65
  toStandardJsonSchema
66
- } from "./chunk-J5P5VSRG.js";
66
+ } from "./chunk-KAW5VEER.js";
67
67
  import {
68
68
  array,
69
69
  boolean,
@@ -88,15 +88,15 @@ import {
88
88
  import {
89
89
  CliError,
90
90
  errorCodes
91
- } from "./chunk-BUGROVF3.js";
91
+ } from "./chunk-PMGAU6AP.js";
92
92
  import {
93
93
  __name
94
94
  } from "./chunk-ZVVMGPBJ.js";
95
95
 
96
- // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/mcp/surface.js
96
+ // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/mcp/surface.js
97
97
  import { randomUUID } from "node:crypto";
98
98
 
99
- // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/mcp/tool.js
99
+ // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/mcp/tool.js
100
100
  var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
101
101
  var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
102
102
  var message = pipe(
@@ -355,7 +355,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
355
355
  return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(storeDamaged(error), context))));
356
356
  }, "failed");
357
357
 
358
- // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/mcp/surface.js
358
+ // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/mcp/surface.js
359
359
  var MATCHES = 8;
360
360
  var ANSWER = answerSchema();
361
361
  var agentAnswer = /* @__PURE__ */ __name((prefix, writes) => {
@@ -412,7 +412,7 @@ var search = /* @__PURE__ */ __name((commands, query) => {
412
412
  const matched = weights.filter((weight) => weight > 0).length;
413
413
  const exact = normal(entry[0]) === named || (entry[1].aliases ?? []).some((alias) => normal(alias) === named);
414
414
  return { entry, matched, rank: (exact ? 1e3 : 0) + matched * 10 + weights.reduce((a, b) => a + b, 0) };
415
- }).filter(({ matched, rank }) => matched > 0 || rank >= 1e3).sort((a, b) => b.rank - a.rank || a.entry[0].localeCompare(b.entry[0])).map(({ entry }) => entry);
415
+ }).filter(({ matched, rank }) => matched > 0 || rank >= 1e3).sort((a, b) => b.rank - a.rank || wordsOf(a.entry[0]).length - wordsOf(b.entry[0]).length || a.entry[0].localeCompare(b.entry[0])).map(({ entry }) => entry);
416
416
  }, "search");
417
417
  var nearest = /* @__PURE__ */ __name((commands, asked) => {
418
418
  const words = normal(asked).split(" ");
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  formatMeetingReference
5
- } from "./chunk-LT5KE44Q.js";
5
+ } from "./chunk-5ENY4POG.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-BUGROVF3.js";
8
+ } from "./chunk-PMGAU6AP.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/services/meeting-semantic.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/services/meeting-semantic.js
14
14
  var positive = /* @__PURE__ */ __name((value, name, max) => {
15
15
  if (!Number.isSafeInteger(value) || value < 1 || value > max)
16
16
  throw new CliError("validation_error", `Invalid ${name}`);
@@ -2,11 +2,11 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  AUDIT_MIN_SCORE
5
- } from "./chunk-E4FAMU2S.js";
5
+ } from "./chunk-MPNMEWHA.js";
6
6
  import {
7
7
  LIST_QUERY_GUIDE,
8
8
  nativeTerms
9
- } from "./chunk-M763RNWP.js";
9
+ } from "./chunk-EPBHJMF6.js";
10
10
  import {
11
11
  DEFAULT_CONFIG,
12
12
  environmentOf,
@@ -16,21 +16,21 @@ import {
16
16
  renderAnswer,
17
17
  snakeKeys,
18
18
  withAgentLevels
19
- } from "./chunk-PHXOL5HZ.js";
19
+ } from "./chunk-7RIE3DAW.js";
20
20
  import {
21
21
  formatReference
22
- } from "./chunk-GC6FLHZF.js";
22
+ } from "./chunk-NLPGUYCG.js";
23
23
  import {
24
24
  queryError
25
- } from "./chunk-LT5KE44Q.js";
25
+ } from "./chunk-5ENY4POG.js";
26
26
  import {
27
27
  CliError
28
- } from "./chunk-BUGROVF3.js";
28
+ } from "./chunk-PMGAU6AP.js";
29
29
  import {
30
30
  __name
31
31
  } from "./chunk-ZVVMGPBJ.js";
32
32
 
33
- // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/paging.js
33
+ // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/paging.js
34
34
  var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
35
35
  if (!/^\d+$/.test(value.trim()) || Number(value) < 1)
36
36
  throw new CliError("validation_error", `${flag} takes a whole number from 1 upwards, not "${value}"`);
@@ -57,7 +57,7 @@ var pagingOf = /* @__PURE__ */ __name((command) => {
57
57
  return { limit: limit ?? DEFAULT_CONFIG.defaults.limit, page: page ?? 1 };
58
58
  }, "pagingOf");
59
59
 
60
- // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/messenger/chat-answers.js
60
+ // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/messenger/chat-answers.js
61
61
  var defined = /* @__PURE__ */ __name((record) => Object.fromEntries(Object.entries(record).filter(([, value]) => value !== void 0)), "defined");
62
62
  var chatRef = /* @__PURE__ */ __name((account, chat) => formatReference({ type: "chat", provider: account.provider, account: account.account, chat }), "chatRef");
63
63
  var settingsOf = /* @__PURE__ */ __name((settings) => defined({