@wirecat/hubspot-cli 0.4.0 → 0.6.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 (178) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/README.md +75 -54
  3. package/contracts/wirecat.json +39 -13
  4. package/dist/bin/hubspot.js +2 -2
  5. package/dist/bundle/agent-XB35QVOK.js +40 -0
  6. package/dist/bundle/{all-profiles-JVEE4PXX.js → all-profiles-HFVXPMF6.js} +11 -11
  7. package/dist/bundle/{anthropic-6HT57GNF.js → anthropic-VE6WR6IN.js} +5 -5
  8. package/dist/bundle/{app-server-FOBFF6G6.js → app-server-GZ4DCQK7.js} +68 -68
  9. package/dist/bundle/{bun-GW443QB3.js → bun-2DHMKD34.js} +2 -2
  10. package/dist/bundle/{bun-sqlite-TGIAICDN.js → bun-sqlite-T5XTYL7L.js} +6 -6
  11. package/dist/bundle/{chunk-FK4LEJZM.js → chunk-24HPBWKZ.js} +63 -4
  12. package/dist/bundle/{chunk-4OPN3KCN.js → chunk-2I2KBCS6.js} +5 -5
  13. package/dist/bundle/{chunk-3BM6KBWP.js → chunk-2K5BAY32.js} +19 -19
  14. package/dist/bundle/{chunk-6ULR7N3T.js → chunk-2VUIJ5XB.js} +2 -2
  15. package/dist/bundle/{chunk-UHHXZKB2.js → chunk-3HS7JTPI.js} +27 -177
  16. package/dist/bundle/{chunk-3SRGN5MQ.js → chunk-3TLNO3VM.js} +2 -2
  17. package/dist/bundle/{chunk-ATGD64VO.js → chunk-3W5R3XAH.js} +8 -8
  18. package/dist/bundle/{chunk-CFQQTDSA.js → chunk-3WG4MTQI.js} +1 -1
  19. package/dist/bundle/{chunk-NL3RKJR6.js → chunk-3YTTWJKL.js} +1 -1
  20. package/dist/bundle/{chunk-5WKJFMC3.js → chunk-4UEYVM46.js} +4 -4
  21. package/dist/bundle/{chunk-5G4L6NQJ.js → chunk-5ILCAAY4.js} +35 -35
  22. package/dist/bundle/{chunk-ETKLP4VE.js → chunk-5IPB5WLB.js} +14 -14
  23. package/dist/bundle/{chunk-N4EIJ53V.js → chunk-5NIIXJV3.js} +2 -2
  24. package/dist/bundle/{chunk-QIFCH5DZ.js → chunk-5O5WYSSO.js} +1967 -654
  25. package/dist/bundle/{chunk-XMWMA2N5.js → chunk-5VTKBGPW.js} +90 -33
  26. package/dist/bundle/{chunk-M25KVDHA.js → chunk-5WDNG4QE.js} +7 -7
  27. package/dist/bundle/{chunk-WATDMTDC.js → chunk-67YPTVGP.js} +3 -3
  28. package/dist/bundle/{chunk-3MUHCLRY.js → chunk-6DABKZYH.js} +143 -8
  29. package/dist/bundle/{chunk-HVXOA4FO.js → chunk-745FMNI5.js} +1 -1
  30. package/dist/bundle/{chunk-5KLNBGPU.js → chunk-AKSWXRIU.js} +1 -1
  31. package/dist/bundle/{chunk-HM6AMYHR.js → chunk-AP3CWDRK.js} +2 -2
  32. package/dist/bundle/{chunk-HPRKSL5S.js → chunk-BM5F2ZNI.js} +2 -2
  33. package/dist/bundle/{chunk-FOLKK6FW.js → chunk-BU5CEMUH.js} +20 -14
  34. package/dist/bundle/{chunk-DBPFHJXX.js → chunk-CTN4DW2F.js} +4 -4
  35. package/dist/bundle/{chunk-QJHRRJKD.js → chunk-CU76ZACK.js} +3 -3
  36. package/dist/bundle/{chunk-7QH5BZUG.js → chunk-DIKUPU3T.js} +3 -3
  37. package/dist/bundle/{chunk-JWO3PB5Z.js → chunk-E27NRLJZ.js} +18 -18
  38. package/dist/bundle/{chunk-EU7AVWSX.js → chunk-EB53G4HO.js} +2 -2
  39. package/dist/bundle/{chunk-GJSHLF43.js → chunk-EJZIEBAR.js} +8 -8
  40. package/dist/bundle/{chunk-HQYJ66ZX.js → chunk-G6LDK6DJ.js} +18 -8
  41. package/dist/bundle/{chunk-VDAYIXV4.js → chunk-GEJI27GN.js} +6 -6
  42. package/dist/bundle/{chunk-XJVFXHDI.js → chunk-GHXTNKX2.js} +2 -2
  43. package/dist/bundle/{chunk-W5X37TBC.js → chunk-GR4HZBWO.js} +2 -2
  44. package/dist/bundle/{chunk-WBUVNKHJ.js → chunk-GWXTVO43.js} +7 -7
  45. package/dist/bundle/{chunk-2Q2XIXDL.js → chunk-H4W2OO35.js} +1 -1
  46. package/dist/bundle/{chunk-3LMW7U7F.js → chunk-H5HBZCEJ.js} +21 -8
  47. package/dist/bundle/{chunk-JKNUCEII.js → chunk-HX2BE7DO.js} +1 -1
  48. package/dist/bundle/{chunk-PQUZ2YDC.js → chunk-HYDXA624.js} +6 -6
  49. package/dist/bundle/{chunk-Z3YOKGVZ.js → chunk-HZIGGAC7.js} +2 -2
  50. package/dist/bundle/{chunk-AT43MYQL.js → chunk-I75ON7VM.js} +8 -8
  51. package/dist/bundle/{chunk-PKFLSX5F.js → chunk-ID4GJFE7.js} +8 -8
  52. package/dist/bundle/{chunk-A6PVEUGN.js → chunk-J2SCELII.js} +17 -17
  53. package/dist/bundle/{chunk-PMJCZIV4.js → chunk-J4FXBF44.js} +1 -1
  54. package/dist/bundle/{chunk-DG4RBKIV.js → chunk-J76CMNWQ.js} +1 -1
  55. package/dist/bundle/{chunk-MQACXJLG.js → chunk-JDCFHZNU.js} +10 -10
  56. package/dist/bundle/{chunk-K4DWBOO6.js → chunk-JFLKTYH5.js} +6 -6
  57. package/dist/bundle/{chunk-LS4S7PAP.js → chunk-K4Y2ZWOO.js} +3 -3
  58. package/dist/bundle/{chunk-5ZVYIA56.js → chunk-KDW7B7AR.js} +5 -5
  59. package/dist/bundle/{chunk-BXZRSXBL.js → chunk-KKMOKSS5.js} +3 -3
  60. package/dist/bundle/{chunk-EBJYK7UM.js → chunk-LHY5XGIR.js} +78 -63
  61. package/dist/bundle/{chunk-V23OHBGM.js → chunk-LTU4BQ4S.js} +3 -3
  62. package/dist/bundle/{chunk-LX7QMRRG.js → chunk-M3LRSN6J.js} +13 -13
  63. package/dist/bundle/{chunk-UIWWAT3C.js → chunk-MJ24YFXZ.js} +7 -7
  64. package/dist/bundle/{chunk-YYYRE4AV.js → chunk-MSQGZHKM.js} +32 -28
  65. package/dist/bundle/{chunk-6NUXFVJQ.js → chunk-NQOQG7L3.js} +1 -1
  66. package/dist/bundle/{chunk-WLFYEAZ6.js → chunk-PDVMYIBP.js} +1516 -745
  67. package/dist/bundle/{chunk-QODPEZC5.js → chunk-PR7ZDMGF.js} +10 -3
  68. package/dist/bundle/{chunk-2BCWK5BF.js → chunk-PZ3QJDTD.js} +8 -8
  69. package/dist/bundle/{chunk-OLDIP4CV.js → chunk-Q6AC7WLD.js} +3 -3
  70. package/dist/bundle/{chunk-X5U7GLHD.js → chunk-QH47G73D.js} +16 -3
  71. package/dist/bundle/{chunk-RFGIUCKU.js → chunk-QK5HQUHB.js} +3 -3
  72. package/dist/bundle/{chunk-3MPMYAII.js → chunk-R26OEZOL.js} +1 -1
  73. package/dist/bundle/{chunk-T3GZKV5A.js → chunk-RLK2EGQD.js} +21 -15
  74. package/dist/bundle/{chunk-Z4PY5BDP.js → chunk-RLNPTES2.js} +4 -4
  75. package/dist/bundle/{chunk-XCDRFC6G.js → chunk-T4MZJMEJ.js} +17 -17
  76. package/dist/bundle/{chunk-TAF4PKDS.js → chunk-TAPQZYXY.js} +1 -1
  77. package/dist/bundle/{chunk-AV2ZJ4WX.js → chunk-TCSVW7BA.js} +1 -1
  78. package/dist/bundle/{chunk-E33KM3DB.js → chunk-THGAVPRA.js} +11 -11
  79. package/dist/bundle/{chunk-XDDTJYGA.js → chunk-TRLV5NWZ.js} +2477 -2140
  80. package/dist/bundle/{chunk-5OBVICFK.js → chunk-TT75CEYZ.js} +22 -1
  81. package/dist/bundle/{chunk-7OJ43BAH.js → chunk-TXO4CJW3.js} +7 -7
  82. package/dist/bundle/{chunk-F4ZLRS4B.js → chunk-UCGZRZJA.js} +1 -1
  83. package/dist/bundle/{chunk-NLZADZ4F.js → chunk-UVGJL753.js} +61 -61
  84. package/dist/bundle/{chunk-VMF2UIQI.js → chunk-UZ2CL435.js} +3 -4
  85. package/dist/bundle/{chunk-IED6MKPU.js → chunk-V7N2K5OT.js} +33 -30
  86. package/dist/bundle/{chunk-QV4GDVBN.js → chunk-VR2CJFVL.js} +8 -8
  87. package/dist/bundle/{chunk-7JVKQ6NM.js → chunk-WASBOYI2.js} +4 -4
  88. package/dist/bundle/{chunk-F3HJ2E3P.js → chunk-WE4JSHIG.js} +6 -6
  89. package/dist/bundle/{chunk-FWW2CUXH.js → chunk-X2QRCFGJ.js} +4 -4
  90. package/dist/bundle/{chunk-V2B2OWTC.js → chunk-XRFYVVFU.js} +2 -2
  91. package/dist/bundle/{chunk-Q7DIEU6L.js → chunk-YDG5FIQB.js} +7 -9
  92. package/dist/bundle/{chunk-GOOXUCJW.js → chunk-YIH2A2PQ.js} +2 -2
  93. package/dist/bundle/{chunk-HM72O37C.js → chunk-ZERQSELP.js} +207 -163
  94. package/dist/bundle/{chunk-QNQ4V4UT.js → chunk-ZKTYTOF4.js} +8 -8
  95. package/dist/bundle/command-contract-5FXCYQUS.js +40 -0
  96. package/dist/bundle/{command-server-entry-OJQ55UA2.js → command-server-entry-H6IAJNOF.js} +28 -28
  97. package/dist/bundle/{decode-CDQDRPRJ.js → decode-TR2EC46M.js} +5 -5
  98. package/dist/bundle/{dispatch-JQBAZWCL.js → dispatch-B2EP6DDT.js} +8 -8
  99. package/dist/bundle/{echarts-GJ5JJG2A.js → echarts-7OP7I5B2.js} +2 -2
  100. package/dist/bundle/{embed-BUQXGMKR.js → embed-FLGS4LN7.js} +6 -6
  101. package/dist/bundle/{embedder-FCX6LE4O.js → embedder-JIXQXCP3.js} +9 -9
  102. package/dist/bundle/{failure-I6AAF5R5.js → failure-AOACEURF.js} +2 -2
  103. package/dist/bundle/{first-run-RPYEXXQK.js → first-run-XJ2NWIK2.js} +12 -12
  104. package/dist/bundle/first-screen-U73G5CMM.js +40 -0
  105. package/dist/bundle/hubspot.js +27 -25
  106. package/dist/bundle/{instructions-LPVTPERS.js → instructions-PYCYV6QE.js} +1 -1
  107. package/dist/bundle/{mcp-YGOAUNC3.js → mcp-ZNULRPZ4.js} +2 -2
  108. package/dist/bundle/meeting-combined-IHTM5H5B.js +25 -0
  109. package/dist/bundle/{meeting-model-TRGBEWCY.js → meeting-model-2PA5WJY5.js} +11 -11
  110. package/dist/bundle/{meeting-semantic-RSF5KNKD.js → meeting-semantic-5IH63QFV.js} +6 -6
  111. package/dist/bundle/{node-UAT3EIAP.js → node-6GTNIVBM.js} +2 -2
  112. package/dist/bundle/{node-sqlite-3HKDQNFD.js → node-sqlite-FBCEHPNT.js} +7 -7
  113. package/dist/bundle/{oauth-DYW2NSZP.js → oauth-BFP4SCL5.js} +7 -7
  114. package/dist/bundle/{open-KBRXJ5BC.js → open-MLU4MHGO.js} +5 -5
  115. package/dist/bundle/{openai-YNCLRTSK.js → openai-R7WJI6SO.js} +15 -15
  116. package/dist/bundle/{process-63BB7LKP.js → process-NMNQLJHZ.js} +1 -1
  117. package/dist/bundle/{program-VX52OB3O.js → program-Z735HPFG.js} +517 -343
  118. package/dist/bundle/{prompt-TWLJ3M2O.js → prompt-A6RM55Q4.js} +5 -5
  119. package/dist/bundle/{recognize-GQ6DLGE7.js → recognize-ORRDV45M.js} +4 -4
  120. package/dist/bundle/{remote-RKNSF3TT.js → remote-UF3WSC4X.js} +9 -9
  121. package/dist/bundle/{rerank-H4HSGQUJ.js → rerank-ZSJORUGH.js} +7 -7
  122. package/dist/bundle/{schemas-LDK7O6VW.js → schemas-EXBNVPMI.js} +1 -1
  123. package/dist/bundle/{serve-4ZNIAL7H.js → serve-4KBJ6SIA.js} +9 -9
  124. package/dist/bundle/{server-4G4QB3QN.js → server-IFK4S6LJ.js} +60 -60
  125. package/dist/bundle/server-MNUAZWTN.js +86 -0
  126. package/dist/bundle/source-PBCQAG4C.js +426 -0
  127. package/dist/bundle/{sqlite-runtime-C2JYC7JF.js → sqlite-runtime-XPDUWOPG.js} +6 -6
  128. package/dist/bundle/{state-3KDXCXHG.js → state-4M26H7NL.js} +6 -6
  129. package/dist/bundle/{store-LXLG5HTS.js → store-3W4ZOOIB.js} +28 -24
  130. package/dist/bundle/store-CDY2PW6J.js +34 -0
  131. package/dist/bundle/{store-J5FQBZYR.js → store-ICTY3RIF.js} +22 -22
  132. package/dist/bundle/store-maintenance-command-Y7TC3I43.js +73 -0
  133. package/dist/bundle/surface-4LNDJZD2.js +72 -0
  134. package/dist/bundle/writer-WGHWQTC2.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 +19 -12
  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/writer.d.ts +1 -1
  154. package/dist/crm/writer.d.ts.map +1 -1
  155. package/dist/crm/writer.js +69 -1
  156. package/dist/crm/writer.js.map +1 -1
  157. package/dist/program.d.ts.map +1 -1
  158. package/dist/program.js +0 -2
  159. package/dist/program.js.map +1 -1
  160. package/dist/reasons.d.ts.map +1 -1
  161. package/dist/reasons.js +0 -2
  162. package/dist/reasons.js.map +1 -1
  163. package/dist/version.d.ts +1 -1
  164. package/dist/version.js +1 -1
  165. package/package.json +4 -4
  166. package/skills/hubspot-cli/SKILL.md +10 -5
  167. package/skills/hubspot-cli/references/api/api-basic.md +2 -2
  168. package/skills/hubspot-cli/references/api/api-batch.md +2 -2
  169. package/dist/bundle/agent-NST4YXJR.js +0 -40
  170. package/dist/bundle/command-contract-LYX2QNIA.js +0 -40
  171. package/dist/bundle/first-screen-Y4EH3HZS.js +0 -40
  172. package/dist/bundle/meeting-combined-FEEVVUGC.js +0 -25
  173. package/dist/bundle/server-3IYIZEEQ.js +0 -86
  174. package/dist/bundle/source-2UCNCCO7.js +0 -917
  175. package/dist/bundle/store-2MNUHHZC.js +0 -32
  176. package/dist/bundle/store-maintenance-command-DDB7TR6V.js +0 -73
  177. package/dist/bundle/surface-ZTZANYKC.js +0 -72
  178. package/dist/bundle/writer-X7PGBLDH.js +0 -86
@@ -2,31 +2,31 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  updateCommand
5
- } from "./chunk-7QH5BZUG.js";
5
+ } from "./chunk-DIKUPU3T.js";
6
6
  import {
7
7
  QUESTIONS,
8
8
  readSetupAnswers,
9
9
  unanswered,
10
10
  writeSetupAnswers
11
- } from "./chunk-WATDMTDC.js";
11
+ } from "./chunk-67YPTVGP.js";
12
12
  import {
13
13
  DEFAULT_STEMMERS,
14
14
  LANGUAGES
15
- } from "./chunk-QNQ4V4UT.js";
16
- import {
17
- sharedConfigPath
18
- } from "./chunk-UIWWAT3C.js";
15
+ } from "./chunk-ZKTYTOF4.js";
19
16
  import {
20
17
  installerOf
21
- } from "./chunk-HVXOA4FO.js";
18
+ } from "./chunk-745FMNI5.js";
19
+ import {
20
+ sharedConfigPath
21
+ } from "./chunk-MJ24YFXZ.js";
22
22
  import {
23
23
  storePath
24
- } from "./chunk-6ULR7N3T.js";
24
+ } from "./chunk-2VUIJ5XB.js";
25
25
  import {
26
26
  __name
27
27
  } from "./chunk-ZVVMGPBJ.js";
28
28
 
29
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/cli/first-run.js
29
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/cli/first-run.js
30
30
  import { spawnSync } from "node:child_process";
31
31
  import { accessSync, constants, realpathSync } from "node:fs";
32
32
  import { delimiter, join } from "node:path";
@@ -84,7 +84,7 @@ var suggested = /* @__PURE__ */ __name((env, contentLanguages) => {
84
84
  return (own.length ? own : LANGUAGES.filter(({ code }) => code === "en" || code === system)).map(({ name }) => name);
85
85
  }, "suggested");
86
86
  var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLanguages }) => {
87
- const { openStore } = await import("./store-J5FQBZYR.js");
87
+ const { openStore } = await import("./store-ICTY3RIF.js");
88
88
  const store = await openStore({ env });
89
89
  let rebuild = false;
90
90
  try {
@@ -113,8 +113,8 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
113
113
  if (!rebuild)
114
114
  return;
115
115
  const [{ openCache }, { buildStems }] = await Promise.all([
116
- import("./open-KBRXJ5BC.js"),
117
- import("./store-maintenance-command-DDB7TR6V.js")
116
+ import("./open-MLU4MHGO.js"),
117
+ import("./store-maintenance-command-Y7TC3I43.js")
118
118
  ]);
119
119
  const database = await openCache(storePath(env));
120
120
  try {
@@ -126,7 +126,7 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
126
126
  var askTools = /* @__PURE__ */ __name(async (run) => {
127
127
  const { command, env, io } = run;
128
128
  const installed = run.installed ?? ((name) => onPath(name, env));
129
- const { WIRECAT_TOOLS } = await import("./first-screen-Y4EH3HZS.js");
129
+ const { WIRECAT_TOOLS } = await import("./first-screen-U73G5CMM.js");
130
130
  const others = WIRECAT_TOOLS.filter((tool) => tool.command !== command);
131
131
  const missing = others.filter((tool) => !installed(tool.command));
132
132
  io.say("Other WireCat tools \u2014 they share this store, so one search finds everything:");
@@ -200,7 +200,7 @@ var setupAtStart = /* @__PURE__ */ __name(async (start) => {
200
200
  // `setup describe` and `setup apply` are a program's; only the bare walk-through asks everything again.
201
201
  all: start.path.length === 1 && start.path[0] === "setup",
202
202
  io: {
203
- ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-TWLJ3M2O.js")).readSecret(prompt, { input, echo: true }), "ask"),
203
+ ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-A6RM55Q4.js")).readSecret(prompt, { input, echo: true }), "ask"),
204
204
  say: /* @__PURE__ */ __name((text) => process.stderr.write(`${text}
205
205
  `), "say")
206
206
  }
@@ -7,12 +7,12 @@ import {
7
7
  agentOf,
8
8
  clientHash,
9
9
  currentCaller
10
- } from "./chunk-AT43MYQL.js";
10
+ } from "./chunk-I75ON7VM.js";
11
11
  import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/mcp/caller.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/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")