@wirecat/hubspot-cli 0.5.0 → 0.7.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 (181) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/README.md +73 -52
  3. package/contracts/wirecat.json +39 -13
  4. package/dist/bin/hubspot.js +2 -2
  5. package/dist/bundle/agent-JXICB6TB.js +40 -0
  6. package/dist/bundle/{all-profiles-PGFXLOKN.js → all-profiles-GVEX5MXB.js} +11 -11
  7. package/dist/bundle/{anthropic-LPOJ3TYF.js → anthropic-GK6VBQUD.js} +5 -5
  8. package/dist/bundle/{app-server-EYWGCSRY.js → app-server-JRROE463.js} +68 -68
  9. package/dist/bundle/{bun-ZJOOKIIW.js → bun-B7XTFPUF.js} +2 -2
  10. package/dist/bundle/{bun-sqlite-Y6KKH2OW.js → bun-sqlite-QSNZ2YP4.js} +6 -6
  11. package/dist/bundle/{chunk-DEUCWBBH.js → chunk-2FLLS5IL.js} +97 -24
  12. package/dist/bundle/{chunk-5ENY4POG.js → chunk-2HSYAKWO.js} +61 -61
  13. package/dist/bundle/{chunk-QLFD3MOL.js → chunk-2IRBXFIU.js} +2165 -839
  14. package/dist/bundle/{chunk-AIQT2GGK.js → chunk-2K5BAY32.js} +19 -19
  15. package/dist/bundle/{chunk-ZMHD76RE.js → chunk-2PCVKD27.js} +2 -2
  16. package/dist/bundle/{chunk-MENMD5Y5.js → chunk-2V5KOOJV.js} +8 -8
  17. package/dist/bundle/{chunk-QDNYJOWJ.js → chunk-3WG4MTQI.js} +1 -1
  18. package/dist/bundle/{chunk-MPNMEWHA.js → chunk-4F62XXF6.js} +2081 -711
  19. package/dist/bundle/{chunk-OFOA6VJ2.js → chunk-4HZQ5UIY.js} +3 -3
  20. package/dist/bundle/{chunk-QIHJKE4K.js → chunk-4LHNA6LJ.js} +7 -7
  21. package/dist/bundle/{chunk-7Q64D56R.js → chunk-52NC5E42.js} +11 -11
  22. package/dist/bundle/{chunk-ZLWQPUPB.js → chunk-5AVU5SF6.js} +2 -2
  23. package/dist/bundle/{chunk-MKBQFD37.js → chunk-5EJ3C3JG.js} +1 -1
  24. package/dist/bundle/{chunk-AVBKXCEY.js → chunk-5ISQ4KJM.js} +8 -8
  25. package/dist/bundle/{chunk-CWCJEAHZ.js → chunk-5MFZYHPO.js} +3 -3
  26. package/dist/bundle/{chunk-5WADRBQG.js → chunk-63YWTFZF.js} +3 -3
  27. package/dist/bundle/{chunk-I334AT2H.js → chunk-6EHX762H.js} +7 -7
  28. package/dist/bundle/{chunk-6S422S22.js → chunk-6IHXKMY6.js} +7 -9
  29. package/dist/bundle/{chunk-QCHW7R7L.js → chunk-6WKK4UZP.js} +1 -1
  30. package/dist/bundle/{chunk-VIJV474N.js → chunk-745FMNI5.js} +1 -1
  31. package/dist/bundle/{chunk-6PWRJGX4.js → chunk-A7KGBXBT.js} +4 -4
  32. package/dist/bundle/{chunk-HPRGUUHY.js → chunk-ALOPYWYY.js} +1 -1
  33. package/dist/bundle/{chunk-PMGAU6AP.js → chunk-AP3CWDRK.js} +2 -2
  34. package/dist/bundle/{chunk-LXLXF2OE.js → chunk-B3JVNOTB.js} +3 -3
  35. package/dist/bundle/{chunk-QPTHEZZ5.js → chunk-BQPAIGAF.js} +2 -2
  36. package/dist/bundle/{chunk-DDMBPYHP.js → chunk-BRBBZDMZ.js} +2 -2
  37. package/dist/bundle/{chunk-POTS24SH.js → chunk-BXXU4EXK.js} +18 -18
  38. package/dist/bundle/{chunk-34HDRZIL.js → chunk-BY3NKT34.js} +12 -12
  39. package/dist/bundle/{chunk-3CHJYWA2.js → chunk-CBTWKTWN.js} +6 -6
  40. package/dist/bundle/{chunk-RZS7N3OZ.js → chunk-CEHBT7QX.js} +7 -7
  41. package/dist/bundle/{chunk-NLPGUYCG.js → chunk-DBHJIFDS.js} +37 -18
  42. package/dist/bundle/{chunk-DJUUQG6Y.js → chunk-DIHVN5IC.js} +8 -8
  43. package/dist/bundle/{chunk-4RZ4DUQT.js → chunk-DIKUPU3T.js} +3 -3
  44. package/dist/bundle/{chunk-WEM4FZPM.js → chunk-DMYLQX2O.js} +2 -2
  45. package/dist/bundle/{chunk-LWS5AO3H.js → chunk-DWWZAQ4N.js} +16 -16
  46. package/dist/bundle/{chunk-NEP67GLY.js → chunk-GD5JTKLS.js} +6 -6
  47. package/dist/bundle/{chunk-KC4ILAKO.js → chunk-GHBJBDTW.js} +1 -1
  48. package/dist/bundle/{chunk-KRTXJMCD.js → chunk-GYH2AXPO.js} +27 -177
  49. package/dist/bundle/{chunk-K3WCBNH4.js → chunk-GZD6BYO7.js} +6 -6
  50. package/dist/bundle/{chunk-KAW5VEER.js → chunk-H5HBZCEJ.js} +8 -8
  51. package/dist/bundle/{chunk-VCYUYFIV.js → chunk-HX2BE7DO.js} +1 -1
  52. package/dist/bundle/{chunk-KXWRVLSU.js → chunk-I5WHQH5K.js} +1 -1
  53. package/dist/bundle/{chunk-R7ZOCDNG.js → chunk-INT5JXGP.js} +1 -1
  54. package/dist/bundle/{chunk-YZ5MULJM.js → chunk-IRFFXKKK.js} +3 -3
  55. package/dist/bundle/{chunk-SBNZYRVZ.js → chunk-J5HHB27S.js} +4 -4
  56. package/dist/bundle/{chunk-V5VMAHDQ.js → chunk-JEUYZCWF.js} +6 -6
  57. package/dist/bundle/{chunk-BH5FEFZB.js → chunk-JQUS4KFV.js} +2 -2
  58. package/dist/bundle/{chunk-5HGS65I3.js → chunk-KGLMYQXM.js} +2 -2
  59. package/dist/bundle/{chunk-AHZQMSXW.js → chunk-L3DUZVBP.js} +8 -8
  60. package/dist/bundle/{chunk-RJBKDZGV.js → chunk-LGGBKAVQ.js} +8 -8
  61. package/dist/bundle/{chunk-ODRF47VS.js → chunk-LJ52BS6C.js} +8 -8
  62. package/dist/bundle/{chunk-7RIE3DAW.js → chunk-M3JDGRXM.js} +221 -163
  63. package/dist/bundle/{chunk-BCW7DAVV.js → chunk-MR2BNER3.js} +2 -2
  64. package/dist/bundle/{chunk-OCISQFMW.js → chunk-NUPAXK4Z.js} +1 -1
  65. package/dist/bundle/{chunk-MW4ROXQ6.js → chunk-OX37ZK27.js} +3 -3
  66. package/dist/bundle/{chunk-MFWECOO3.js → chunk-P7N3TZLH.js} +59 -59
  67. package/dist/bundle/{chunk-L6WSFVTD.js → chunk-QAQK2WXJ.js} +5 -5
  68. package/dist/bundle/{chunk-EPBHJMF6.js → chunk-QY7EOB66.js} +13 -13
  69. package/dist/bundle/{chunk-HBFSGL5E.js → chunk-RE55EPBX.js} +33 -28
  70. package/dist/bundle/{chunk-ABPZOI3C.js → chunk-SBORPDIQ.js} +4 -4
  71. package/dist/bundle/{chunk-YQBGPBYN.js → chunk-SFFV2F3Y.js} +2 -2
  72. package/dist/bundle/{chunk-WQZENAPE.js → chunk-SMEEFN65.js} +63 -4
  73. package/dist/bundle/{chunk-GZJP3KQQ.js → chunk-SVRCPPNI.js} +1 -1
  74. package/dist/bundle/{chunk-BW7NPFVC.js → chunk-SZZVNPTI.js} +7 -7
  75. package/dist/bundle/{chunk-HPSESLOZ.js → chunk-TCSVW7BA.js} +1 -1
  76. package/dist/bundle/{chunk-L4SVHQ7H.js → chunk-TXCINEH6.js} +7 -7
  77. package/dist/bundle/{chunk-BGUGTMTS.js → chunk-UMXA357W.js} +8 -8
  78. package/dist/bundle/{chunk-PPQRWFJZ.js → chunk-VJQLJQHT.js} +5 -5
  79. package/dist/bundle/{chunk-EGR3YUWD.js → chunk-WASBOYI2.js} +4 -4
  80. package/dist/bundle/{chunk-Z7FC6VVM.js → chunk-WSTF2MWW.js} +1 -1
  81. package/dist/bundle/{chunk-BVK4GUUI.js → chunk-WSUS3MUK.js} +1853 -1874
  82. package/dist/bundle/{chunk-A5UTNGI4.js → chunk-WWIYZN67.js} +13 -13
  83. package/dist/bundle/{chunk-STTHRJBX.js → chunk-XL3NAXZY.js} +5 -5
  84. package/dist/bundle/{chunk-23CLSKY7.js → chunk-XWYYFAML.js} +3 -3
  85. package/dist/bundle/{chunk-MPQ4SPZG.js → chunk-XZLOQNS7.js} +74 -31
  86. package/dist/bundle/{chunk-MGMLSPIY.js → chunk-YDTFPDAJ.js} +1 -1
  87. package/dist/bundle/{chunk-ZKPM53YG.js → chunk-YFHCKAGU.js} +4 -4
  88. package/dist/bundle/{chunk-WDR77HPO.js → chunk-YGZ37OEN.js} +8 -1
  89. package/dist/bundle/{chunk-YJLJZMEA.js → chunk-YOVIH4QI.js} +33 -30
  90. package/dist/bundle/{chunk-NEDV6RCQ.js → chunk-YVMLFHWS.js} +3 -3
  91. package/dist/bundle/{chunk-K5S7MKBB.js → chunk-ZH76HQDA.js} +17 -17
  92. package/dist/bundle/{chunk-WXEN6AXQ.js → chunk-ZNNGK73C.js} +3 -3
  93. package/dist/bundle/{chunk-NKIKMG33.js → chunk-ZNRZJIRM.js} +35 -35
  94. package/dist/bundle/{chunk-5UPNDUAA.js → chunk-ZS6T2PYQ.js} +2 -2
  95. package/dist/bundle/command-contract-7EWUA6E6.js +40 -0
  96. package/dist/bundle/{command-server-entry-B7S5AUE6.js → command-server-entry-BFXXPNJO.js} +28 -28
  97. package/dist/bundle/{decode-7L33C5UJ.js → decode-5M7R44BR.js} +5 -5
  98. package/dist/bundle/{dispatch-BIGHHSXV.js → dispatch-B2EP6DDT.js} +8 -8
  99. package/dist/bundle/{echarts-CWR3QH55.js → echarts-7MBFY6SZ.js} +2 -2
  100. package/dist/bundle/{embed-GXQ3HOQ6.js → embed-Y4GYNHRX.js} +6 -6
  101. package/dist/bundle/{embedder-47OYXGLS.js → embedder-FI4T4LQB.js} +9 -9
  102. package/dist/bundle/{failure-VMZOU5GZ.js → failure-AOACEURF.js} +2 -2
  103. package/dist/bundle/{first-run-YVQQOUQG.js → first-run-YY66AKKG.js} +12 -12
  104. package/dist/bundle/first-screen-U7Z63VXE.js +40 -0
  105. package/dist/bundle/hubspot.js +27 -27
  106. package/dist/bundle/{instructions-QFS2MPK3.js → instructions-SM7TKV6L.js} +1 -1
  107. package/dist/bundle/{mcp-Z2KZNCXB.js → mcp-ZNULRPZ4.js} +2 -2
  108. package/dist/bundle/meeting-combined-B444C4NF.js +25 -0
  109. package/dist/bundle/{meeting-model-GLF2HVJG.js → meeting-model-DKLMBQXX.js} +11 -11
  110. package/dist/bundle/{meeting-semantic-RG56F4YX.js → meeting-semantic-C5T6UDVB.js} +6 -6
  111. package/dist/bundle/{node-3TSWTXGI.js → node-OS6OQF3F.js} +2 -2
  112. package/dist/bundle/{node-sqlite-UPQCG7DJ.js → node-sqlite-2XTWZ4HL.js} +7 -7
  113. package/dist/bundle/{oauth-MCVEENW3.js → oauth-BSSJ66FC.js} +7 -7
  114. package/dist/bundle/{open-JMUTKUYJ.js → open-UZ3TKWDY.js} +5 -5
  115. package/dist/bundle/{openai-HT7YDOK7.js → openai-POVKFBTC.js} +15 -15
  116. package/dist/bundle/{process-7RC6DAGM.js → process-A7ZJGQ6G.js} +1 -1
  117. package/dist/bundle/{program-3DLBMOEJ.js → program-Q3JFUVC6.js} +582 -337
  118. package/dist/bundle/{prompt-7EROPXPF.js → prompt-TYOYTRJM.js} +5 -5
  119. package/dist/bundle/{recognize-B232GXD2.js → recognize-GGFRONZT.js} +4 -4
  120. package/dist/bundle/{remote-HGV64VRC.js → remote-K4SLWHMI.js} +9 -9
  121. package/dist/bundle/{rerank-5S6TDXHD.js → rerank-2QTKDUBV.js} +7 -7
  122. package/dist/bundle/{schemas-SB42IXEX.js → schemas-EXBNVPMI.js} +1 -1
  123. package/dist/bundle/{serve-D2WFCV6Z.js → serve-FG2G2X6Y.js} +9 -9
  124. package/dist/bundle/{server-4AXPTJPV.js → server-KRDHBT5Q.js} +60 -60
  125. package/dist/bundle/server-VFKK6OS4.js +86 -0
  126. package/dist/bundle/source-XP2JNUVU.js +426 -0
  127. package/dist/bundle/{sqlite-runtime-DAFMZNLI.js → sqlite-runtime-TWV7KFLA.js} +6 -6
  128. package/dist/bundle/{state-7OEBDXVV.js → state-EFX5ZQED.js} +6 -6
  129. package/dist/bundle/store-LON2XRIS.js +34 -0
  130. package/dist/bundle/{store-2ZWSWF76.js → store-MNQ6YQIS.js} +28 -24
  131. package/dist/bundle/{store-KC6US326.js → store-QPVH5VPJ.js} +22 -22
  132. package/dist/bundle/store-maintenance-command-YEMPRNJX.js +73 -0
  133. package/dist/bundle/surface-UJRMT6QT.js +72 -0
  134. package/dist/bundle/writer-NOSHE7ZI.js +86 -0
  135. package/dist/commands/account.d.ts +3 -2
  136. package/dist/commands/account.d.ts.map +1 -1
  137. package/dist/commands/account.js +31 -78
  138. package/dist/commands/account.js.map +1 -1
  139. package/dist/commands/crm-shared.d.ts.map +1 -1
  140. package/dist/commands/crm-shared.js +2 -0
  141. package/dist/commands/crm-shared.js.map +1 -1
  142. package/dist/commands/session.d.ts +0 -3
  143. package/dist/commands/session.d.ts.map +1 -1
  144. package/dist/commands/session.js +4 -31
  145. package/dist/commands/session.js.map +1 -1
  146. package/dist/config.d.ts.map +1 -1
  147. package/dist/config.js +16 -10
  148. package/dist/config.js.map +1 -1
  149. package/dist/crm/activities.d.ts +6 -1
  150. package/dist/crm/activities.d.ts.map +1 -1
  151. package/dist/crm/activities.js +36 -0
  152. package/dist/crm/activities.js.map +1 -1
  153. package/dist/crm/records.d.ts.map +1 -1
  154. package/dist/crm/records.js +3 -0
  155. package/dist/crm/records.js.map +1 -1
  156. package/dist/crm/writer.d.ts +1 -1
  157. package/dist/crm/writer.d.ts.map +1 -1
  158. package/dist/crm/writer.js +69 -1
  159. package/dist/crm/writer.js.map +1 -1
  160. package/dist/program.d.ts.map +1 -1
  161. package/dist/program.js +0 -2
  162. package/dist/program.js.map +1 -1
  163. package/dist/reasons.d.ts.map +1 -1
  164. package/dist/reasons.js +0 -2
  165. package/dist/reasons.js.map +1 -1
  166. package/dist/version.d.ts +1 -1
  167. package/dist/version.js +1 -1
  168. package/package.json +3 -3
  169. package/skills/hubspot-cli/SKILL.md +17 -5
  170. package/skills/hubspot-cli/references/api/api-basic.md +2 -2
  171. package/skills/hubspot-cli/references/api/api-batch.md +2 -2
  172. package/dist/bundle/agent-RBQMA24N.js +0 -40
  173. package/dist/bundle/command-contract-O2UKYHLD.js +0 -40
  174. package/dist/bundle/first-screen-TU3KE2B5.js +0 -40
  175. package/dist/bundle/meeting-combined-WBEOLQMP.js +0 -25
  176. package/dist/bundle/server-FFHVNABP.js +0 -86
  177. package/dist/bundle/source-DF63EC2B.js +0 -945
  178. package/dist/bundle/store-Q3ZKD4FJ.js +0 -34
  179. package/dist/bundle/store-maintenance-command-24A4GBRP.js +0 -73
  180. package/dist/bundle/surface-SPTM57EP.js +0 -72
  181. package/dist/bundle/writer-EQQ55HOS.js +0 -86
@@ -3,15 +3,15 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  readSharedSection,
5
5
  writeSharedSection
6
- } from "./chunk-RZS7N3OZ.js";
6
+ } from "./chunk-CEHBT7QX.js";
7
7
  import {
8
8
  CliError
9
- } from "./chunk-PMGAU6AP.js";
9
+ } from "./chunk-AP3CWDRK.js";
10
10
  import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
13
13
 
14
- // 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/setup-answers.js
14
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
15
15
  var PERMISSION_ANSWERS = ["readonly", "allow"];
16
16
  var QUESTIONS = ["languages", "tools", "permissions"];
17
17
  var SECTION = "setup";
@@ -5,16 +5,16 @@ import {
5
5
  backoffMs,
6
6
  realSleep,
7
7
  wallClock
8
- } from "./chunk-AIQT2GGK.js";
8
+ } from "./chunk-2K5BAY32.js";
9
9
  import {
10
10
  CliError,
11
11
  isCliError
12
- } from "./chunk-PMGAU6AP.js";
12
+ } from "./chunk-AP3CWDRK.js";
13
13
  import {
14
14
  __name
15
15
  } from "./chunk-ZVVMGPBJ.js";
16
16
 
17
- // node_modules/.pnpm/@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/http/body.js
17
+ // node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/http/body.js
18
18
  var interrupted = /* @__PURE__ */ __name((signal) => isCliError(signal.reason) ? signal.reason : new CliError(signal.reason instanceof Error && signal.reason.name === "TimeoutError" ? "timeout" : "cancelled", "HTTP response read was interrupted"), "interrupted");
19
19
  var checked = /* @__PURE__ */ __name((signal) => {
20
20
  if (signal?.aborted)
@@ -99,7 +99,7 @@ var readJsonResponse = /* @__PURE__ */ __name(async (response, options) => {
99
99
  }
100
100
  }, "readJsonResponse");
101
101
 
102
- // node_modules/.pnpm/@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/http/hosts.js
102
+ // node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/http/hosts.js
103
103
  var LABEL = "[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?";
104
104
  var HOST_PATTERN = new RegExp(`^(?:${LABEL}(?:\\.${LABEL})*|\\*\\.${LABEL}(?:\\.${LABEL})+)$`);
105
105
  var hostProblems = /* @__PURE__ */ __name((hosts) => [
@@ -111,7 +111,7 @@ var hostCovered = /* @__PURE__ */ __name((hostname, hosts) => {
111
111
  return hosts.some((host) => host.startsWith("*.") ? name.endsWith(host.slice(1)) : name === host);
112
112
  }, "hostCovered");
113
113
 
114
- // node_modules/.pnpm/@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/http/fetch.js
114
+ // node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/http/fetch.js
115
115
  var HOST_FETCH_TIMEOUT_MS = 3e4;
116
116
  var REDIRECTS = 5;
117
117
  var REDIRECT_STATUSES = /* @__PURE__ */ new Set([301, 302, 303, 307, 308]);
@@ -229,7 +229,7 @@ var hostFetch = /* @__PURE__ */ __name((options) => {
229
229
  };
230
230
  }, "hostFetch");
231
231
 
232
- // node_modules/.pnpm/@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/http/index.js
232
+ // node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/http/index.js
233
233
  var parseRetryAfter = /* @__PURE__ */ __name((header, now) => {
234
234
  if (!header)
235
235
  return void 0;
@@ -321,7 +321,7 @@ var retrying = /* @__PURE__ */ __name((send, options = {}) => {
321
321
  };
322
322
  }, "retrying");
323
323
 
324
- // 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/models/endpoint.js
324
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/models/endpoint.js
325
325
  var endpoint = /* @__PURE__ */ __name((value) => {
326
326
  try {
327
327
  const url = new URL(value);
@@ -2,19 +2,19 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  validateVector
5
- } from "./chunk-LXLXF2OE.js";
5
+ } from "./chunk-B3JVNOTB.js";
6
6
  import {
7
7
  meaningFloor
8
- } from "./chunk-L6WSFVTD.js";
8
+ } from "./chunk-QAQK2WXJ.js";
9
9
  import {
10
10
  RRF_K
11
- } from "./chunk-I334AT2H.js";
11
+ } from "./chunk-6EHX762H.js";
12
12
  import {
13
13
  MESSAGE_PARSING
14
- } from "./chunk-NEDV6RCQ.js";
14
+ } from "./chunk-YVMLFHWS.js";
15
15
  import {
16
16
  normalize
17
- } from "./chunk-KXWRVLSU.js";
17
+ } from "./chunk-I5WHQH5K.js";
18
18
  import {
19
19
  formatMeetingReference,
20
20
  implicitTextTerms,
@@ -23,18 +23,18 @@ import {
23
23
  parseMeetingReference,
24
24
  refreshMeetingIndex,
25
25
  walkQuery
26
- } from "./chunk-5ENY4POG.js";
26
+ } from "./chunk-2HSYAKWO.js";
27
27
  import {
28
28
  CliError
29
- } from "./chunk-PMGAU6AP.js";
29
+ } from "./chunk-AP3CWDRK.js";
30
30
  import {
31
31
  __name
32
32
  } from "./chunk-ZVVMGPBJ.js";
33
33
 
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/services/meeting-combined.js
34
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/services/meeting-combined.js
35
35
  import { createHash } from "node:crypto";
36
36
 
37
- // 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/search/question-plan.js
37
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/search/question-plan.js
38
38
  var words = /* @__PURE__ */ __name((text) => normalize(text).match(/[\p{L}\p{N}]+/gu) ?? [], "words");
39
39
  var joinedHyphens = /* @__PURE__ */ __name((text) => (normalize(text).match(new RegExp("(?<![:\\p{L}\\p{N}-])\\p{L}[\\p{L}\\p{N}]*(?:-\\p{L}[\\p{L}\\p{N}]*)+", "gu")) ?? []).map((word) => word.replaceAll("-", "")), "joinedHyphens");
40
40
  var scaffolding = new Set(words("what which how many much who where when is are was were do does did can could should we the a an for of to under from in on at has have \u0441\u043A\u043E\u043B\u044C\u043A\u043E \u043A\u0430\u043A\u043E\u0439 \u043A\u0430\u043A\u0430\u044F \u043A\u0430\u043A\u0438\u0435 \u043A\u0430\u043A\u043E\u0435 \u043A\u0442\u043E \u043A\u043E\u043C\u0443 \u043A\u0435\u043C \u0433\u0434\u0435 \u043A\u043E\u0433\u0434\u0430 \u043A\u0430\u043A \u0447\u0442\u043E \u0432\u043E \u043F\u043E \u043D\u0430 \u0432 \u043A \u0441 \u0443 \u0447\u0435\u0440\u0435\u0437 \u043B\u0438 \u0434\u043E\u043B\u0436\u0435\u043D \u0434\u043E\u043B\u0436\u043D\u0430 \u043D\u0443\u0436\u043D\u043E \u0438\u0434\u0451\u0442 \u0438\u0434\u0435\u0442 \u043C\u043E\u0436\u043D\u043E \u043C\u043E\u0436\u0435\u0442 \u043C\u043E\u0433\u0443\u0442"));
@@ -171,7 +171,7 @@ var questionLookup = /* @__PURE__ */ __name((text) => {
171
171
  return terms.length ? anyOfTerms(terms, plan.scope) : void 0;
172
172
  }, "questionLookup");
173
173
 
174
- // 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-hit-search.js
174
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/services/meeting-hit-search.js
175
175
  var resolveMeetingSelection = /* @__PURE__ */ __name(async (store, request) => {
176
176
  const { project, tag, topic, ...input } = request;
177
177
  input.signal?.throwIfAborted();
@@ -209,7 +209,7 @@ var resolveMeetingSelection = /* @__PURE__ */ __name(async (store, request) => {
209
209
  return { input, selection };
210
210
  }, "resolveMeetingSelection");
211
211
 
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/services/meeting-combined.js
212
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/services/meeting-combined.js
213
213
  var DEPTH = 200;
214
214
  var cursorOf = /* @__PURE__ */ __name((value, key) => {
215
215
  if (value === void 0)
@@ -5,12 +5,12 @@ import {
5
5
  } from "./chunk-Y5E2WNWB.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-PMGAU6AP.js";
8
+ } from "./chunk-AP3CWDRK.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
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/store/vector-extension.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/store/vector-extension.js
14
14
  import { readFileSync } from "node:fs";
15
15
  var musl = /* @__PURE__ */ __name(() => {
16
16
  if (process.platform !== "linux")
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
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/mcp/instructions.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
8
8
  var instructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => {
9
9
  const all = typeof profile !== "string";
10
10
  const offers = /* @__PURE__ */ __name((key) => all || writes.includes(key), "offers");
@@ -2,33 +2,33 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  stdinFieldOf
5
- } from "./chunk-MGMLSPIY.js";
5
+ } from "./chunk-YDTFPDAJ.js";
6
6
  import {
7
7
  commandPathOf
8
- } from "./chunk-STTHRJBX.js";
8
+ } from "./chunk-XL3NAXZY.js";
9
9
  import {
10
10
  commandServerRequest,
11
11
  metaOf
12
- } from "./chunk-7RIE3DAW.js";
12
+ } from "./chunk-M3JDGRXM.js";
13
13
  import {
14
14
  errorObjectOf,
15
15
  renderError
16
- } from "./chunk-KAW5VEER.js";
16
+ } from "./chunk-H5HBZCEJ.js";
17
17
  import {
18
18
  CliError
19
- } from "./chunk-PMGAU6AP.js";
19
+ } from "./chunk-AP3CWDRK.js";
20
20
  import {
21
21
  __name
22
22
  } from "./chunk-ZVVMGPBJ.js";
23
23
 
24
- // 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/command-server.js
24
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/command-server.js
25
25
  import { createInterface } from "node:readline";
26
26
 
27
- // 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/command-server-argv.js
27
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/command-server-argv.js
28
28
  var COMMAND_SERVER_ARGV = ["commands", "--serve"];
29
29
  var isCommandServer = /* @__PURE__ */ __name((args) => args.length === COMMAND_SERVER_ARGV.length && COMMAND_SERVER_ARGV.every((word, at) => args[at] === word), "isCommandServer");
30
30
 
31
- // 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/command-server.js
31
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/command-server.js
32
32
  var COMMAND_SERVER_PROTOCOL = 1;
33
33
  var COMMAND_SERVER_IDLE_MS = 10 * 6e4;
34
34
  var COMMAND_SERVER_CONCURRENT = 8;
@@ -3,15 +3,15 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  timezoneOf,
5
5
  zonedMoment
6
- } from "./chunk-5ENY4POG.js";
6
+ } from "./chunk-2HSYAKWO.js";
7
7
  import {
8
8
  CliError
9
- } from "./chunk-PMGAU6AP.js";
9
+ } from "./chunk-AP3CWDRK.js";
10
10
  import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
13
13
 
14
- // 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/domain/moment.js
14
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/domain/moment.js
15
15
  var calendarMoment = /* @__PURE__ */ __name((wanted, flag, { zone, end = false } = {}) => {
16
16
  try {
17
17
  return zonedMoment(wanted, timezoneOf(zone), { start: 0, end: wanted.length }, { end });
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  IDENTITY
5
- } from "./chunk-6S422S22.js";
5
+ } from "./chunk-6IHXKMY6.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
@@ -15,9 +15,9 @@ var PROVIDER = {
15
15
  command: IDENTITY.command
16
16
  };
17
17
  var openHubspotStore = /* @__PURE__ */ __name(async (env, { readOnly = false } = {}) => {
18
- const { ensureSqlite } = await import("./sqlite-runtime-DAFMZNLI.js");
18
+ const { ensureSqlite } = await import("./sqlite-runtime-TWV7KFLA.js");
19
19
  await ensureSqlite();
20
- const { openStore, storePath } = await import("./store-2ZWSWF76.js");
20
+ const { openStore, storePath } = await import("./store-MNQ6YQIS.js");
21
21
  const store = await openStore({
22
22
  path: storePath(env),
23
23
  env,
@@ -6,28 +6,28 @@ import {
6
6
  QUERY_LIMITS,
7
7
  SEARCH_QUERY,
8
8
  searchError
9
- } from "./chunk-NEDV6RCQ.js";
9
+ } from "./chunk-YVMLFHWS.js";
10
10
  import {
11
11
  tagOf
12
- } from "./chunk-ZMHD76RE.js";
12
+ } from "./chunk-2PCVKD27.js";
13
13
  import {
14
14
  parseLucene,
15
15
  queryAstSchema,
16
16
  validateQuery,
17
17
  walkQuery
18
- } from "./chunk-5ENY4POG.js";
18
+ } from "./chunk-2HSYAKWO.js";
19
19
  import {
20
20
  safeParse
21
21
  } from "./chunk-S4UUN6LD.js";
22
22
  import {
23
23
  CliError,
24
24
  isCliError
25
- } from "./chunk-PMGAU6AP.js";
25
+ } from "./chunk-AP3CWDRK.js";
26
26
  import {
27
27
  __name
28
28
  } from "./chunk-ZVVMGPBJ.js";
29
29
 
30
- // 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/search/fusion.js
30
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/search/fusion.js
31
31
  var RRF_K = 60;
32
32
  var fuseRanked = /* @__PURE__ */ __name((lists, facts) => {
33
33
  const rows = lists.flatMap((list) => list.map((item, rank) => ({ item, vote: 1 / (RRF_K + rank + 1), ...facts(item) })));
@@ -35,7 +35,7 @@ var fuseRanked = /* @__PURE__ */ __name((lists, facts) => {
35
35
  return rows.sort((a, b) => Number(b.exact === true) - Number(a.exact === true) || (ranking ? Number(b.ranked) - Number(a.ranked) || b.vote - a.vote : 0) || b.at - a.at).map(({ item }) => item);
36
36
  }, "fuseRanked");
37
37
 
38
- // 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/search/lucene/registry.js
38
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/search/lucene/registry.js
39
39
  var FIELD_VERSION = 2;
40
40
  var UNITS = {
41
41
  "": 1,
@@ -564,7 +564,7 @@ var validateAst = /* @__PURE__ */ __name((input, options = {}) => {
564
564
  return validateFields(parsed.output, options);
565
565
  }, "validateAst");
566
566
 
567
- // 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/search/lucene/plain.js
567
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/search/lucene/plain.js
568
568
  var REPAIRED = /* @__PURE__ */ new Set([
569
569
  "query.invalid-syntax",
570
570
  "query.unclosed-literal",
@@ -2,21 +2,21 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  REASONS
5
- } from "./chunk-DEUCWBBH.js";
5
+ } from "./chunk-2FLLS5IL.js";
6
6
  import {
7
7
  RECORD_TYPES
8
- } from "./chunk-POTS24SH.js";
8
+ } from "./chunk-BXXU4EXK.js";
9
9
  import {
10
10
  parseReference
11
- } from "./chunk-NLPGUYCG.js";
11
+ } from "./chunk-DBHJIFDS.js";
12
12
  import {
13
13
  defineReasons
14
- } from "./chunk-KAW5VEER.js";
14
+ } from "./chunk-H5HBZCEJ.js";
15
15
  import {
16
16
  __name
17
17
  } from "./chunk-ZVVMGPBJ.js";
18
18
 
19
- // 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/domain/links.js
19
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/domain/links.js
20
20
  var LINK_VERSION = "v1";
21
21
  var DEFAULT_LINK_CONFIG = { base: "https://wirecat.dev/o", enabled: true };
22
22
  var APP_PREFIX = "wirecat://open";
@@ -137,7 +137,7 @@ var linkFor = /* @__PURE__ */ __name((ref, { form, config = DEFAULT_LINK_CONFIG,
137
137
  return form === "app" ? `${APP_PREFIX}${path}` : `${config.base}#${path}`;
138
138
  }, "linkFor");
139
139
 
140
- // 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/domain/records-table.js
140
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/domain/records-table.js
141
141
  var TABLE_RECORD_TYPES = Object.keys(RECORD_TYPES).filter((type) => RECORD_TYPES[type].sheet !== false);
142
142
 
143
143
  // node_modules/.pnpm/qrcode-generator@2.0.4/node_modules/qrcode-generator/dist/qrcode.mjs
@@ -1776,7 +1776,6 @@ var stringToBytes = qrcode.stringToBytes;
1776
1776
  // dist/reasons.js
1777
1777
  var CORE = new Set(REASONS.map((one) => one.reason));
1778
1778
  var OWN = [
1779
- ["session.duplicate", "conflict", "another profile here already signs in to this HubSpot account"],
1780
1779
  ["account.id-missing", "configuration_error", "WCHUBSPOT_TOKEN needs WCHUBSPOT_ACCOUNT, the HubSpot account's id"],
1781
1780
  ["account.id-malformed", "configuration_error", "WCHUBSPOT_ACCOUNT must be the HubSpot account's id, digits only"],
1782
1781
  [
@@ -1785,7 +1784,6 @@ var OWN = [
1785
1784
  "a WCHUBSPOT_TOKEN profile uses the local copy only after an online run checked it"
1786
1785
  ],
1787
1786
  ["account.mismatch", "configuration_error", "WCHUBSPOT_ACCOUNT names another account than the token's own"],
1788
- ["account-remove.account-shared", "conflict", "another profile reads the same account, whose copy the store shares"],
1789
1787
  ["session.expired", "authentication_error", "HubSpot refused the key: it was revoked, expired or mistyped"],
1790
1788
  ["hubspot.scope-missing", "permission_error", "the HubSpot key lacks a scope this command needs"],
1791
1789
  ["hubspot.access-denied", "permission_error", "the HubSpot key may not read this"],
@@ -1803,7 +1801,7 @@ var REASONS2 = defineReasons(OWN.filter(([reason]) => !CORE.has(reason)).map(([r
1803
1801
  var DETAILS2 = ["account", "profile", "profiles", "status", "scope"];
1804
1802
 
1805
1803
  // dist/version.js
1806
- var VERSION = "0.5.0";
1804
+ var VERSION = "0.7.0";
1807
1805
 
1808
1806
  // dist/identity.js
1809
1807
  var PACKAGE = "@wirecat/hubspot-cli";
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
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/sqlite/drizzle/shared-5XR7K42U.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/shared-5XR7K42U.js
8
8
  var entityKind = /* @__PURE__ */ Symbol.for("drizzle:entityKind");
9
9
  var kindsByConstructor = /* @__PURE__ */ new WeakMap();
10
10
  function collectKinds(ctor) {
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/installer.js
7
+ // node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/installer.js
8
8
  var installerOf = /* @__PURE__ */ __name((scriptPath) => {
9
9
  const path = scriptPath.replaceAll("\\", "/");
10
10
  if (path.includes("/_npx/"))
@@ -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-WEM4FZPM.js";
5
+ } from "./chunk-DMYLQX2O.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-PMGAU6AP.js";
8
+ } from "./chunk-AP3CWDRK.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
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/speech/models.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/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.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/speech/install.js
140
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/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";
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
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/mcp/bot/instructions.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/mcp/bot/instructions.js
8
8
  var botInstructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => [
9
9
  `The owner's ${name} bot "${profile}", through the official Bot API \u2014 not the owner's personal account. What it writes, people see as the bot.`,
10
10
  "Use these tools to read the chats this bot is in, find a message or a person, and \u2014 when the profile allows \u2014 write as the bot.",
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/errors.js
7
+ // node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/errors.js
8
8
  var errorCodes = [
9
9
  "validation_error",
10
10
  "configuration_error",
@@ -39,7 +39,7 @@ var CliError = class extends Error {
39
39
  };
40
40
  var isCliError = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && value[BRAND] === true, "isCliError");
41
41
 
42
- // node_modules/.pnpm/@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/sanitize.js
42
+ // node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/sanitize.js
43
43
  var CONTROL = (
44
44
  // biome-ignore lint/suspicious/noControlCharactersInRegex: matching them is the whole point
45
45
  /[\u0000-\u0008\u000B-\u001F\u007F-\u009F\u200B\u200E\u200F\u202A-\u202E\u2066-\u2069\uFEFF\u{E0000}-\u{E007F}]/gu
@@ -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-5ENY4POG.js";
5
+ } from "./chunk-2HSYAKWO.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-PMGAU6AP.js";
8
+ } from "./chunk-AP3CWDRK.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
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
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/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}`);
@@ -7,12 +7,12 @@ import {
7
7
  agentOf,
8
8
  clientHash,
9
9
  currentCaller
10
- } from "./chunk-RJBKDZGV.js";
10
+ } from "./chunk-LGGBKAVQ.js";
11
11
  import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // 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/caller.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/mcp/caller.js
16
16
  var callingAgent = /* @__PURE__ */ __name((fallback, caller = currentCaller()) => {
17
17
  const client = caller?.agent?.client?.name;
18
18
  if (client && client !== "unknown")
@@ -3,12 +3,12 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError,
5
5
  errorCodes
6
- } from "./chunk-PMGAU6AP.js";
6
+ } from "./chunk-AP3CWDRK.js";
7
7
  import {
8
8
  __name
9
9
  } from "./chunk-ZVVMGPBJ.js";
10
10
 
11
- // 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/errors/failures.js
11
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/errors/failures.js
12
12
  var isCliFailure = /* @__PURE__ */ __name((value) => value instanceof Error && value.name === "CliError" && errorCodes.includes(value.code), "isCliFailure");
13
13
  var isCommanderFailure = /* @__PURE__ */ __name((value) => {
14
14
  const { code, exitCode } = value ?? {};