@wirecat/hubspot-cli 0.2.0 → 0.3.1

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 (174) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +2 -2
  3. package/contracts/wirecat.json +40 -2
  4. package/dist/bin/hubspot.js +2 -2
  5. package/dist/bundle/agent-A7ARC3QB.js +40 -0
  6. package/dist/bundle/{all-profiles-64JAUYW4.js → all-profiles-6452VSJB.js} +64 -22
  7. package/dist/bundle/{anthropic-VJOS4OUM.js → anthropic-VQUOVYOW.js} +6 -6
  8. package/dist/bundle/{app-server-GXV2OFML.js → app-server-EQZUP4H4.js} +79 -68
  9. package/dist/bundle/{bun-M3J2QTR3.js → bun-AJPJ4ZUN.js} +2 -2
  10. package/dist/bundle/{bun-sqlite-IX3XYA5F.js → bun-sqlite-AGXGSF6D.js} +7 -7
  11. package/dist/bundle/{chunk-N2XADGL4.js → chunk-2A64XS22.js} +4 -4
  12. package/dist/bundle/{chunk-Q2OLOMHL.js → chunk-2HYGCLKN.js} +93 -565
  13. package/dist/bundle/{chunk-FOZYMDRL.js → chunk-2NCO4E4T.js} +6 -6
  14. package/dist/bundle/{chunk-FBCCBCFH.js → chunk-2PRVWEJC.js} +3 -3
  15. package/dist/bundle/{chunk-LOBVOGOE.js → chunk-3DIXAEGH.js} +4 -4
  16. package/dist/bundle/{chunk-O3DYRCIT.js → chunk-3I2FGNWO.js} +1 -1
  17. package/dist/bundle/{chunk-65TWQ7BV.js → chunk-3PEKYGZ3.js} +2 -2
  18. package/dist/bundle/{chunk-DRWWJLI6.js → chunk-3R4KRNUZ.js} +8 -8
  19. package/dist/bundle/{chunk-2VGD63G6.js → chunk-3TEFE6YU.js} +7 -7
  20. package/dist/bundle/{chunk-TI46WQXQ.js → chunk-4DNHXRCJ.js} +7 -7
  21. package/dist/bundle/{chunk-QU25DA5N.js → chunk-5AYKCKSE.js} +11 -11
  22. package/dist/bundle/{chunk-CWXOXIWS.js → chunk-5K3FGXZH.js} +1 -1
  23. package/dist/bundle/{chunk-24ERVFJP.js → chunk-5YNAVVCW.js} +3 -3
  24. package/dist/bundle/{chunk-URX6YDUL.js → chunk-5ZV7REBE.js} +75 -66
  25. package/dist/bundle/{chunk-TLKEPUAV.js → chunk-6MFP47XC.js} +60 -50
  26. package/dist/bundle/{chunk-36ITRDYY.js → chunk-7LQRXVQ3.js} +783 -482
  27. package/dist/bundle/{chunk-E5WLE7BM.js → chunk-7NZT7Y55.js} +1 -1
  28. package/dist/bundle/{chunk-C32AKHTY.js → chunk-7UEL65GQ.js} +35 -12
  29. package/dist/bundle/chunk-7VHBS5BJ.js +108 -0
  30. package/dist/bundle/{chunk-O55RWNSH.js → chunk-A6UFH3QU.js} +4 -4
  31. package/dist/bundle/{chunk-WE4UFASG.js → chunk-ABXVU5O4.js} +8 -1
  32. package/dist/bundle/{chunk-4W6BMH45.js → chunk-AF7DANIR.js} +2 -100
  33. package/dist/bundle/{chunk-2VGZRYEH.js → chunk-ARTJLL7W.js} +6 -6
  34. package/dist/bundle/chunk-AVUMH42T.js +194 -0
  35. package/dist/bundle/{chunk-MFNMKHML.js → chunk-AWOJYRQW.js} +1024 -1639
  36. package/dist/bundle/chunk-B2W3C4N6.js +338 -0
  37. package/dist/bundle/{chunk-FKA7DOCK.js → chunk-B3EH22CO.js} +1 -1
  38. package/dist/bundle/{chunk-E52JAS35.js → chunk-BAUK2MD5.js} +6 -6
  39. package/dist/bundle/{chunk-LXZ66MCH.js → chunk-BHZUPOQY.js} +35 -29
  40. package/dist/bundle/{chunk-JLDBMEKZ.js → chunk-BN22EKQQ.js} +2 -2
  41. package/dist/bundle/{chunk-DB2XKHI4.js → chunk-BUGROVF3.js} +2 -2
  42. package/dist/bundle/{chunk-DSP36YHQ.js → chunk-CBCEMFCF.js} +2 -2
  43. package/dist/bundle/{chunk-HZRQLAHO.js → chunk-DQB5JMTY.js} +1 -1
  44. package/dist/bundle/{chunk-FPUGMDJV.js → chunk-DSRXCLPO.js} +1 -1
  45. package/dist/bundle/{chunk-UUMUL4L3.js → chunk-DW23LM47.js} +2 -2
  46. package/dist/bundle/{chunk-VOH7S5M4.js → chunk-E4FAMU2S.js} +3230 -3116
  47. package/dist/bundle/{chunk-TKVL2C3B.js → chunk-E4X7JAFC.js} +3 -3
  48. package/dist/bundle/{chunk-NUU4WZVL.js → chunk-EE4JSYGZ.js} +3 -3
  49. package/dist/bundle/{chunk-NWHEHV3K.js → chunk-EMOVVERN.js} +5 -5
  50. package/dist/bundle/{chunk-PVKF24ZW.js → chunk-FIVD4HM4.js} +8 -8
  51. package/dist/bundle/{chunk-QJW35N5V.js → chunk-GC6FLHZF.js} +12 -12
  52. package/dist/bundle/{chunk-TP7GDWVF.js → chunk-GRFICQTZ.js} +1 -1
  53. package/dist/bundle/{chunk-GPYCBYX5.js → chunk-GZZR5U3K.js} +12 -12
  54. package/dist/bundle/{chunk-X2M6NIQG.js → chunk-HPZRUY6S.js} +1 -1
  55. package/dist/bundle/{chunk-CLAN3FES.js → chunk-IBTMK5KD.js} +54 -34
  56. package/dist/bundle/{chunk-5A6ZYNAQ.js → chunk-IQ2XZ62J.js} +18 -18
  57. package/dist/bundle/{chunk-DBEQI5YM.js → chunk-ITGNDZRR.js} +3 -3
  58. package/dist/bundle/{chunk-W53EJOFQ.js → chunk-IXZLMFPO.js} +1 -1
  59. package/dist/bundle/{chunk-TOSCB4SO.js → chunk-J5P5VSRG.js} +16 -10
  60. package/dist/bundle/{chunk-RMIYKDUL.js → chunk-JK2SNLU5.js} +17 -17
  61. package/dist/bundle/{chunk-43EKCUBJ.js → chunk-JP2HJXFO.js} +3 -3
  62. package/dist/bundle/{chunk-DFCHHR5M.js → chunk-JUKAIXKY.js} +1 -1
  63. package/dist/bundle/{chunk-3WLYWRGG.js → chunk-K4X5ZHI2.js} +19 -17
  64. package/dist/bundle/{chunk-5GBUCHRU.js → chunk-KO4VR5NK.js} +4 -4
  65. package/dist/bundle/{chunk-PPHBRESD.js → chunk-KVXEEKBB.js} +2 -2
  66. package/dist/bundle/{chunk-SDQGB4KB.js → chunk-L433IDOX.js} +9 -9
  67. package/dist/bundle/chunk-LA3YU4K7.js +40 -0
  68. package/dist/bundle/{chunk-ECEZOLOD.js → chunk-LKSNISYV.js} +4 -4
  69. package/dist/bundle/{chunk-5K7QLJMM.js → chunk-LT5KE44Q.js} +226 -226
  70. package/dist/bundle/{chunk-YMCY7VRE.js → chunk-LTVYGXWT.js} +7 -7
  71. package/dist/bundle/chunk-M763RNWP.js +733 -0
  72. package/dist/bundle/{chunk-IMJQRPLN.js → chunk-NNMU2TDU.js} +1 -1
  73. package/dist/bundle/chunk-NTQBS2JL.js +52 -0
  74. package/dist/bundle/{chunk-HCAZV5NP.js → chunk-NZGI74GS.js} +6 -6
  75. package/dist/bundle/{chunk-W7HM2VGO.js → chunk-O3VM5PTJ.js} +1 -1
  76. package/dist/bundle/chunk-ODPU3II6.js +353 -0
  77. package/dist/bundle/chunk-OJIJVOOA.js +561 -0
  78. package/dist/bundle/{chunk-7ELMWE3P.js → chunk-PHXOL5HZ.js} +176 -160
  79. package/dist/bundle/{chunk-5D4AEUVA.js → chunk-PL5P7UKW.js} +434 -1
  80. package/dist/bundle/{chunk-B3MANLNK.js → chunk-PLRUUXK7.js} +19 -233
  81. package/dist/bundle/{chunk-RR5MX5TM.js → chunk-PMP37KLR.js} +4 -4
  82. package/dist/bundle/{chunk-FTFV3HFW.js → chunk-Q27QAB4X.js} +9 -9
  83. package/dist/bundle/{chunk-2QZK5BEP.js → chunk-RVWGFD32.js} +30 -15
  84. package/dist/bundle/{chunk-MVA5HVKL.js → chunk-S4UUN6LD.js} +18 -0
  85. package/dist/bundle/{chunk-QGFX5MXL.js → chunk-SEELWPRD.js} +9 -9
  86. package/dist/bundle/{chunk-HC5ZWE5X.js → chunk-TIHDBKA7.js} +2 -2
  87. package/dist/bundle/{chunk-NHHJHXMQ.js → chunk-U6XA3OOM.js} +2 -2
  88. package/dist/bundle/{chunk-IJADZW42.js → chunk-VNPC274V.js} +3 -3
  89. package/dist/bundle/{chunk-NXERIDPJ.js → chunk-VQEAZXTV.js} +7 -7
  90. package/dist/bundle/{chunk-P5BHKKBI.js → chunk-VW5F6FK3.js} +4 -4
  91. package/dist/bundle/{chunk-XRREFEIW.js → chunk-WCQW4GYO.js} +7 -7
  92. package/dist/bundle/{chunk-H3TNVEQX.js → chunk-WGBVRDY3.js} +29 -4
  93. package/dist/bundle/chunk-WRCKE5ND.js +80 -0
  94. package/dist/bundle/{chunk-TBJYLC5K.js → chunk-X5S5KUSU.js} +75 -75
  95. package/dist/bundle/{chunk-2UOJ7DLZ.js → chunk-XLDQTDF6.js} +3 -3
  96. package/dist/bundle/{chunk-Z73OL5HV.js → chunk-Z6ZQVYIE.js} +3 -3
  97. package/dist/bundle/command-contract-R2FGN7CQ.js +40 -0
  98. package/dist/bundle/{command-server-entry-DJKVVZCQ.js → command-server-entry-GJSMDSNE.js} +29 -29
  99. package/dist/bundle/{decode-FC65Y4IV.js → decode-6PLXHVHW.js} +6 -6
  100. package/dist/bundle/{dispatch-KOISQ5QJ.js → dispatch-TAQ7635E.js} +8 -8
  101. package/dist/bundle/dist-PAKDDIBT.js +191 -0
  102. package/dist/bundle/{echarts-FVTUDXDU.js → echarts-UZ7QLRE2.js} +2 -2
  103. package/dist/bundle/{embed-VNBZFPYH.js → embed-AWLL4EBF.js} +7 -7
  104. package/dist/bundle/{embedder-6U4NOFRO.js → embedder-MM225YJ6.js} +10 -10
  105. package/dist/bundle/{failure-FZ6VYKEQ.js → failure-MR2XVHFP.js} +3 -3
  106. package/dist/bundle/first-run-KCZVNFJ7.js +29 -0
  107. package/dist/bundle/first-screen-SCDV7TXT.js +40 -0
  108. package/dist/bundle/hubspot.js +26 -26
  109. package/dist/bundle/{instructions-HET7BCYK.js → instructions-ZJ7U3QUE.js} +1 -1
  110. package/dist/bundle/{mcp-RGNRW77S.js → mcp-CNV7F2XZ.js} +2 -2
  111. package/dist/bundle/meeting-combined-EL5XZIJ5.js +25 -0
  112. package/dist/bundle/meeting-model-OYXB2NOE.js +25 -0
  113. package/dist/bundle/{meeting-semantic-JY3OGCBS.js → meeting-semantic-S3DBB7XD.js} +7 -7
  114. package/dist/bundle/{node-CXZIFHZC.js → node-HGCZGZ4R.js} +2 -2
  115. package/dist/bundle/{node-sqlite-P3O7XN7Q.js → node-sqlite-RKYSRKEB.js} +8 -8
  116. package/dist/bundle/oauth-PYDCAQ7Y.js +20 -0
  117. package/dist/bundle/{open-F4P6YV54.js → open-UCDSQUN2.js} +6 -6
  118. package/dist/bundle/{openai-4AICLIK3.js → openai-Y4F5ZC7O.js} +16 -16
  119. package/dist/bundle/{process-5RUXWGYS.js → process-P7FB7YO7.js} +1 -1
  120. package/dist/bundle/{program-XA4C44Z4.js → program-O2A5L4S4.js} +683 -242
  121. package/dist/bundle/{prompt-NFMDVBZ4.js → prompt-E5TKZ37Q.js} +6 -6
  122. package/dist/bundle/{recognize-DKN3RY4V.js → recognize-5NYPTSLT.js} +5 -5
  123. package/dist/bundle/{remote-6QHAGQWY.js → remote-U4LUAHF2.js} +10 -10
  124. package/dist/bundle/{rerank-M4KHEHUZ.js → rerank-AJAVKK5L.js} +8 -8
  125. package/dist/bundle/{schemas-JRL3DLMP.js → schemas-QLQ2K6DL.js} +7 -33
  126. package/dist/bundle/{serve-DNU43ND6.js → serve-4UJ3R5IP.js} +11 -11
  127. package/dist/bundle/{server-ATG5KY7K.js → server-DUKWJUKD.js} +73 -61
  128. package/dist/bundle/server-UQVV2PPX.js +86 -0
  129. package/dist/bundle/{source-54HR4IWG.js → source-FCQDXCAD.js} +334 -78
  130. package/dist/bundle/{sqlite-runtime-EMQAC63N.js → sqlite-runtime-KLEA4XAU.js} +7 -7
  131. package/dist/bundle/{state-T45CX7VY.js → state-COGSYMVH.js} +7 -7
  132. package/dist/bundle/{store-6TZ2FCVA.js → store-BJXCSP26.js} +25 -24
  133. package/dist/bundle/store-CHH3G3SL.js +32 -0
  134. package/dist/bundle/{store-6LCEVBAZ.js → store-V5UMSWK4.js} +27 -22
  135. package/dist/bundle/store-maintenance-command-DQUBBWMD.js +73 -0
  136. package/dist/bundle/surface-IGBQUYE5.js +72 -0
  137. package/dist/bundle/writer-AQSEPEEN.js +86 -0
  138. package/dist/commands/session.js +2 -2
  139. package/dist/commands/session.js.map +1 -1
  140. package/dist/config.d.ts +1 -1
  141. package/dist/config.d.ts.map +1 -1
  142. package/dist/config.js +1 -5
  143. package/dist/config.js.map +1 -1
  144. package/dist/crm/activities.d.ts.map +1 -1
  145. package/dist/crm/activities.js +3 -13
  146. package/dist/crm/activities.js.map +1 -1
  147. package/dist/crm/records.d.ts +6 -0
  148. package/dist/crm/records.d.ts.map +1 -1
  149. package/dist/crm/records.js +6 -0
  150. package/dist/crm/records.js.map +1 -1
  151. package/dist/crm/source.d.ts +0 -6
  152. package/dist/crm/source.d.ts.map +1 -1
  153. package/dist/crm/source.js +1 -7
  154. package/dist/crm/source.js.map +1 -1
  155. package/dist/generated/manifest.d.ts.map +1 -1
  156. package/dist/generated/manifest.js +0 -115
  157. package/dist/generated/manifest.js.map +1 -1
  158. package/dist/generated/types.d.ts +160 -0
  159. package/dist/generated/types.d.ts.map +1 -1
  160. package/dist/hubspot/transport.js +1 -1
  161. package/dist/hubspot/transport.js.map +1 -1
  162. package/dist/version.d.ts +1 -1
  163. package/dist/version.js +1 -1
  164. package/package.json +3 -3
  165. package/dist/bundle/command-contract-C6CBFXZF.js +0 -40
  166. package/dist/bundle/first-run-UWAFSINQ.js +0 -29
  167. package/dist/bundle/first-screen-RTVMGHAE.js +0 -40
  168. package/dist/bundle/meeting-combined-L5AGBPYX.js +0 -25
  169. package/dist/bundle/meeting-model-NTB4RK3F.js +0 -25
  170. package/dist/bundle/oauth-HNCY4B2S.js +0 -20
  171. package/dist/bundle/server-VNWVVH7A.js +0 -77
  172. package/dist/bundle/store-DXWYNVVB.js +0 -32
  173. package/dist/bundle/store-maintenance-command-J57HCJYY.js +0 -68
  174. package/dist/bundle/writer-NLLI5YRM.js +0 -79
@@ -5,12 +5,12 @@ import {
5
5
  } from "./chunk-Y5E2WNWB.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-DB2XKHI4.js";
8
+ } from "./chunk-BUGROVF3.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/store/vector-extension.js
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/store/vector-extension.js
14
14
  import { readFileSync } from "node:fs";
15
15
  var musl = /* @__PURE__ */ __name(() => {
16
16
  if (process.platform !== "linux")
@@ -4,15 +4,15 @@ import {
4
4
  OBJECTS,
5
5
  SERVICE,
6
6
  segment
7
- } from "./chunk-MFNMKHML.js";
7
+ } from "./chunk-AWOJYRQW.js";
8
8
  import {
9
9
  foldFieldName,
10
10
  values_exports
11
- } from "./chunk-VOH7S5M4.js";
11
+ } from "./chunk-E4FAMU2S.js";
12
12
  import {
13
13
  CliError,
14
14
  isCliError
15
- } from "./chunk-DB2XKHI4.js";
15
+ } from "./chunk-BUGROVF3.js";
16
16
  import {
17
17
  __name
18
18
  } from "./chunk-ZVVMGPBJ.js";
@@ -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-WE4UFASG.js";
5
+ } from "./chunk-ABXVU5O4.js";
6
6
  import {
7
7
  commandPathOf,
8
8
  outputOf
9
- } from "./chunk-NWHEHV3K.js";
9
+ } from "./chunk-EMOVVERN.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-7ELMWE3P.js";
20
+ } from "./chunk-PHXOL5HZ.js";
21
21
  import {
22
22
  wrapAnsi
23
23
  } from "./chunk-EH6ZEJGT.js";
24
24
  import {
25
25
  writes
26
- } from "./chunk-TOSCB4SO.js";
26
+ } from "./chunk-J5P5VSRG.js";
27
27
  import {
28
28
  CliError
29
- } from "./chunk-DB2XKHI4.js";
29
+ } from "./chunk-BUGROVF3.js";
30
30
  import {
31
31
  __name
32
32
  } from "./chunk-ZVVMGPBJ.js";
33
33
 
34
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
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
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.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
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
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");
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  singleLine
5
- } from "./chunk-DB2XKHI4.js";
5
+ } from "./chunk-BUGROVF3.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/names.js
10
+ // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/names.js
11
11
  var FIRST_PARTY_TOOLS = [
12
12
  { name: "tg", package: "@wirecat/tg-cli" },
13
13
  { name: "max", package: "@wirecat/max-cli" },
@@ -31,7 +31,7 @@ var DESCRIBE_FLAG = "--wcat-describe";
31
31
  var DESCRIBE_MAX_BYTES = 64 * 1024;
32
32
  var DISPATCH_FLAG = "--wcat-dispatch";
33
33
 
34
- // node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/describe.js
34
+ // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/describe.js
35
35
  var DESCRIBE_FORMAT = 1;
36
36
  var DESCRIBE_MANIFEST_FORMAT = 2;
37
37
  var describeAnswer = /* @__PURE__ */ __name((tool, manifest) => {
@@ -74,7 +74,7 @@ var parseDescribe = /* @__PURE__ */ __name((text) => {
74
74
  };
75
75
  }, "parseDescribe");
76
76
 
77
- // node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/shim.js
77
+ // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/shim.js
78
78
  import { lstatSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
79
79
  import { join } from "node:path";
80
80
  var SHIM_FORMAT = 2;
@@ -5,16 +5,16 @@ import {
5
5
  backoffMs,
6
6
  realSleep,
7
7
  wallClock
8
- } from "./chunk-TBJYLC5K.js";
8
+ } from "./chunk-X5S5KUSU.js";
9
9
  import {
10
10
  CliError,
11
11
  isCliError
12
- } from "./chunk-DB2XKHI4.js";
12
+ } from "./chunk-BUGROVF3.js";
13
13
  import {
14
14
  __name
15
15
  } from "./chunk-ZVVMGPBJ.js";
16
16
 
17
- // node_modules/.pnpm/@wirecat+cli-base@0.109.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
17
+ // node_modules/.pnpm/@wirecat+cli-base@0.119.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.109.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
102
+ // node_modules/.pnpm/@wirecat+cli-base@0.119.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.109.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
114
+ // node_modules/.pnpm/@wirecat+cli-base@0.119.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]);
@@ -213,7 +213,7 @@ var hostFetch = /* @__PURE__ */ __name((options) => {
213
213
  };
214
214
  }, "hostFetch");
215
215
 
216
- // node_modules/.pnpm/@wirecat+cli-base@0.109.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
216
+ // node_modules/.pnpm/@wirecat+cli-base@0.119.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
217
217
  var parseRetryAfter = /* @__PURE__ */ __name((header, now) => {
218
218
  if (!header)
219
219
  return void 0;
@@ -305,7 +305,7 @@ var retrying = /* @__PURE__ */ __name((send, options = {}) => {
305
305
  };
306
306
  }, "retrying");
307
307
 
308
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/models/endpoint.js
308
+ // 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/models/endpoint.js
309
309
  var endpoint = /* @__PURE__ */ __name((value) => {
310
310
  try {
311
311
  const url = new URL(value);
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  QUERY_REASONS
5
- } from "./chunk-5K7QLJMM.js";
5
+ } from "./chunk-LT5KE44Q.js";
6
6
  import {
7
7
  defineReasons
8
- } from "./chunk-TOSCB4SO.js";
8
+ } from "./chunk-J5P5VSRG.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/errors/reasons.js
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/errors/reasons.js
14
14
  var validation = /* @__PURE__ */ __name((reason, message) => [reason, "validation_error", message], "validation");
15
15
  var QUERY = [
16
16
  ["query.aborted", "the search was stopped before it finished"],
@@ -69,6 +69,8 @@ var PROVIDER_API = [
69
69
  ["offline.refused", "permission_error", "this command needs the provider; --offline was given"],
70
70
  validation("api.unknown-method", "the provider has no method by this name"),
71
71
  ["api.disabled", "configuration_error", "the provider's API is turned off for this OAuth project"],
72
+ ["manifest.invalid", "configuration_error", "the source manifest does not match its shape or the generated API"],
73
+ ["verify.no-id", "provider_error", "the answer to the sign-in check holds no account id where auth.verify says"],
72
74
  ["provider.usage-limit", "rate_limited", "the account's usage limit at the provider is reached; wait, do not retry"],
73
75
  ["access.denied", "permission_error", "the provider refused this account access to the item"],
74
76
  ["item.not-found", "not_found", "the provider has no item by this id, or this account cannot see it"],
@@ -192,6 +194,15 @@ var OTHERS = [
192
194
  validation("document.changed", "the document changed while it was read; nothing was saved"),
193
195
  ["document.not-imported", "not_found", "the document is not imported in this source account"],
194
196
  ["document.not-found", "not_found", "no listed document has that reference"],
197
+ ["state.unreadable", "configuration_error", "a sync state file cannot be read; move it away and sync again"],
198
+ ["profile.busy", "provider_unavailable", "another sync or write holds this profile's local copy"],
199
+ ["profile.account-taken", "conflict", "another profile here already uses this provider account"],
200
+ ["profile.other-account", "conflict", "this profile's copy was synced from another provider account"],
201
+ ["profile.not-synced", "not_found", "the profile has no local copy yet; sync it first"],
202
+ ["provider.failed", "provider_error", "a read from the provider failed"],
203
+ ["identity.none", "not_found", "the provider shows no accounts on a document"],
204
+ validation("folder.not-a-folder", "what was named is not a folder the account can read"),
205
+ ["folder.not-chosen", "not_found", "the folder is not among the chosen folders"],
195
206
  ["meeting.not-found", "not_found", "no meeting row has that event or meeting reference"],
196
207
  ["listing.too-large", "provider_error", "the listing is over its bound; the checkpoint was kept"],
197
208
  ["listing.source-not-found", "not_found", "a source: term names no account holding what is listed"],
@@ -458,8 +469,19 @@ var OTHERS = [
458
469
  [
459
470
  "crm.foreign-contacts-spent",
460
471
  "permission_error",
461
- "the day's views of contacts and companies that are not yours are spent"
472
+ "the day's reads of records that are not yours (contacts, companies, other people's files) are spent"
462
473
  ],
474
+ validation("crm.files-limit-range", "a files setting takes a whole number within its range; it is never clamped"),
475
+ validation("crm.file-too-large", "the file is larger than the download may take; --max-size raises it up to 2048 MB"),
476
+ validation("crm.files-disk-full", "the account's files folder is at its files.max_total_mb even after dropping"),
477
+ ["crm.file-unavailable", "provider_error", "the CRM did not give the file; its link is never shown"],
478
+ ["crm.files-denied", "permission_error", "the profile's files.download level stops downloading files"],
479
+ [
480
+ "crm.file-exists",
481
+ "conflict",
482
+ "the --dir folder already holds a file of that name, which a download never overwrites"
483
+ ],
484
+ ["crm.scope-missing", "permission_error", "the CRM sign-in lacks a scope one kind of a record's files needs"],
463
485
  [
464
486
  "crm.client-reads-admin-only",
465
487
  "permission_error",
@@ -471,6 +493,7 @@ var OTHERS = [
471
493
  validation("crm.owner-unknown", "owner: names no CRM user: me without a known sign-in user, or not a user id"),
472
494
  validation("crm.write-unsupported", "the CRM does not take this write, or does not recognise a repeated one"),
473
495
  validation("crm.unlisted-held", "a list of every id would mark most of a kind deleted; nothing was, until --rescan"),
496
+ validation("tracker.unlisted-held", "a tracker's id list would mark too much deleted, or the sign-in read only part; nothing was, until --rescan"),
474
497
  validation("crm.narrowing-held", "the default scope mine would mark most of a kind's stored rows deleted; none is, until the owner sets the scope"),
475
498
  validation("crm.unassigned-dropped", "the CRM does not let this sign-in choose a user in unassigned; that user's deals are not copied"),
476
499
  validation("crm.not-reported", "the CRM did not list users or departments; what they would say is unknown, nothing withdrawn"),
@@ -687,6 +710,8 @@ var REASONS = defineReasons([
687
710
  }))
688
711
  ]);
689
712
  var DETAILS = [
713
+ "holders",
714
+ "profile",
690
715
  "contracts",
691
716
  "calendars",
692
717
  "allowed",
@@ -0,0 +1,80 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ timezoneOf,
5
+ zonedMoment
6
+ } from "./chunk-LT5KE44Q.js";
7
+ import {
8
+ CliError
9
+ } from "./chunk-BUGROVF3.js";
10
+ import {
11
+ __name
12
+ } from "./chunk-ZVVMGPBJ.js";
13
+
14
+ // 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/domain/moment.js
15
+ var calendarMoment = /* @__PURE__ */ __name((wanted, flag, { zone, end = false } = {}) => {
16
+ try {
17
+ return zonedMoment(wanted, timezoneOf(zone), { start: 0, end: wanted.length }, { end });
18
+ } catch (error) {
19
+ if (!(error instanceof CliError))
20
+ throw error;
21
+ const alternative = error.details?.alternative;
22
+ throw new CliError("validation_error", `${flag}: "${wanted}" is not a time${alternative ? ` \u2014 ${alternative}` : ""}`);
23
+ }
24
+ }, "calendarMoment");
25
+ var dayIn = /* @__PURE__ */ __name((at, zone) => new Intl.DateTimeFormat("en-CA", { timeZone: zone, year: "numeric", month: "2-digit", day: "2-digit" }).format(at), "dayIn");
26
+ var MINUTE = 6e4;
27
+ var YEAR = 365 * 24 * 60 * MINUTE;
28
+ var RELATIVE = /^(\d+)(m|h|d)$/;
29
+ var RELATIVE_MS = { m: MINUTE, h: 60 * MINUTE, d: 24 * 60 * MINUTE };
30
+ var DATE_ALONE = /^\d{4}-\d{2}-\d{2}$/;
31
+ var ZONED = /(?:Z|[+-]\d{2}:?\d{2})$/i;
32
+ var dayWord = /* @__PURE__ */ __name((word, zone, now) => {
33
+ const today = new Intl.DateTimeFormat("en-CA", { timeZone: zone }).format(now);
34
+ if (word === "today")
35
+ return today;
36
+ const date = /* @__PURE__ */ new Date(`${today}T00:00:00Z`);
37
+ date.setUTCDate(date.getUTCDate() - 1);
38
+ return date.toISOString().slice(0, 10);
39
+ }, "dayWord");
40
+ var readMoment = /* @__PURE__ */ __name((typed, flag, { zone, end = false, now = Date.now(), direction = -1 } = {}) => {
41
+ const wanted = typed.trim();
42
+ const [, amount, unit] = RELATIVE.exec(wanted) ?? [];
43
+ if (amount && unit)
44
+ return { time: now + direction * Number(amount) * (RELATIVE_MS[unit] ?? 0), local: false, dateAlone: false };
45
+ const word = wanted.toLowerCase();
46
+ const date = word === "today" || word === "yesterday" ? dayWord(word, timezoneOf(zone), now) : wanted;
47
+ if (!/^\d{4}-\d{2}-\d{2}/.test(date))
48
+ return void 0;
49
+ const iso = date.replace(/^(\d{4}-\d{2}-\d{2}) +(?=\d)/, "$1T");
50
+ return {
51
+ time: calendarMoment(iso, flag, { ...zone === void 0 ? {} : { zone }, end }),
52
+ local: !ZONED.test(iso),
53
+ dateAlone: DATE_ALONE.test(iso)
54
+ };
55
+ }, "readMoment");
56
+ var lead = /* @__PURE__ */ __name((ms) => ms === MINUTE ? "a minute" : ms === YEAR ? "a year" : `${Math.ceil(ms / MINUTE)} minutes`, "lead");
57
+ var aheadOf = /* @__PURE__ */ __name((reference, flag, now = Date.now(), options = {}) => {
58
+ const { refuseDate = false, soonest, latest, ...at } = options;
59
+ const read = readMoment(reference, flag, { ...at, now, direction: 1 });
60
+ if (read === void 0)
61
+ throw new CliError("validation_error", `${flag} takes an ISO 8601 time, today, or 30m, 2h, 3d from now \u2014 not "${reference.trim()}"`);
62
+ if (refuseDate && read.dateAlone)
63
+ throw new CliError("validation_error", DATE_ALONE.test(reference.trim()) ? `${flag} needs a time of day as well: ${reference.trim()}T09:00` : `${flag} needs a time of day as well, like 2026-11-20T09:00`);
64
+ if (soonest === 0 && read.time <= now)
65
+ throw new CliError("validation_error", `${flag} is in the past`);
66
+ if (soonest !== void 0 && soonest > 0 && read.time < now + soonest)
67
+ throw new CliError("validation_error", `${flag} has to be at least ${lead(soonest)} from now`);
68
+ if (latest !== void 0 && read.time > now + latest)
69
+ throw new CliError("validation_error", `${flag} can be at most ${lead(latest)} from now`);
70
+ return read.time;
71
+ }, "aheadOf");
72
+
73
+ export {
74
+ calendarMoment,
75
+ dayIn,
76
+ MINUTE,
77
+ YEAR,
78
+ readMoment,
79
+ aheadOf
80
+ };
@@ -7,7 +7,7 @@ import {
7
7
  isoTime,
8
8
  parseRegistry,
9
9
  text
10
- } from "./chunk-TOSCB4SO.js";
10
+ } from "./chunk-J5P5VSRG.js";
11
11
  import {
12
12
  array,
13
13
  getDotPath,
@@ -21,11 +21,11 @@ import {
21
21
  strictObject,
22
22
  string,
23
23
  unknown
24
- } from "./chunk-MVA5HVKL.js";
24
+ } from "./chunk-S4UUN6LD.js";
25
25
  import {
26
26
  CliError,
27
27
  visibleControls
28
- } from "./chunk-DB2XKHI4.js";
28
+ } from "./chunk-BUGROVF3.js";
29
29
  import {
30
30
  __commonJS,
31
31
  __name,
@@ -1898,7 +1898,7 @@ var require_cli_table3 = __commonJS({
1898
1898
  }
1899
1899
  });
1900
1900
 
1901
- // node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/paths.js
1901
+ // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/paths.js
1902
1902
  import { realpathSync } from "node:fs";
1903
1903
  import { homedir, userInfo } from "node:os";
1904
1904
  import { join, posix, win32 } from "node:path";
@@ -1972,7 +1972,64 @@ var homeIsMoved = /* @__PURE__ */ __name(({ env = process.env, platform = proces
1972
1972
  var isMovedRun = /* @__PURE__ */ __name((options) => pathsAreOverridden(options) || homeIsMoved(options), "isMovedRun");
1973
1973
  var configFilePath = /* @__PURE__ */ __name((configDir, fileName = "config.json") => join(configDir, fileName), "configFilePath");
1974
1974
 
1975
- // node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/retry.js
1975
+ // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/drain.js
1976
+ var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
1977
+ if (signal?.aborted)
1978
+ return Promise.reject(signal.reason);
1979
+ if (stream.destroyed)
1980
+ return Promise.reject(new Error("output stream closed"));
1981
+ if (!stream.writableNeedDrain)
1982
+ return Promise.resolve();
1983
+ return new Promise((resolve2, reject) => {
1984
+ const cleanup = /* @__PURE__ */ __name(() => {
1985
+ stream.off("drain", drained).off("error", failed).off("close", closed);
1986
+ signal?.removeEventListener("abort", aborted);
1987
+ }, "cleanup");
1988
+ const drained = /* @__PURE__ */ __name(() => {
1989
+ cleanup();
1990
+ resolve2();
1991
+ }, "drained");
1992
+ const failed = /* @__PURE__ */ __name((error) => {
1993
+ cleanup();
1994
+ reject(error);
1995
+ }, "failed");
1996
+ const closed = /* @__PURE__ */ __name(() => failed(new Error("output stream closed before drain")), "closed");
1997
+ const aborted = /* @__PURE__ */ __name(() => failed(signal?.reason), "aborted");
1998
+ stream.once("drain", drained).once("error", failed).once("close", closed);
1999
+ signal?.addEventListener("abort", aborted, { once: true });
2000
+ });
2001
+ }, "waitForDrain");
2002
+
2003
+ // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/streams.js
2004
+ var processStreams = {
2005
+ drain: /* @__PURE__ */ __name(async (signal) => {
2006
+ await Promise.all([waitForDrain(process.stdout, signal), waitForDrain(process.stderr, signal)]);
2007
+ }, "drain"),
2008
+ data: /* @__PURE__ */ __name((text2) => {
2009
+ process.stdout.write(`${text2}
2010
+ `);
2011
+ }, "data"),
2012
+ diagnostic: /* @__PURE__ */ __name((text2) => {
2013
+ process.stderr.write(`${text2}
2014
+ `);
2015
+ }, "diagnostic"),
2016
+ progress: /* @__PURE__ */ __name((text2) => {
2017
+ process.stderr.write(`\r${text2.padEnd(72)}${text2 === "" ? "\r" : ""}`);
2018
+ }, "progress")
2019
+ };
2020
+ var captureStreams = /* @__PURE__ */ __name(() => {
2021
+ const stdout = [];
2022
+ const stderr = [];
2023
+ return {
2024
+ stdout,
2025
+ stderr,
2026
+ data: /* @__PURE__ */ __name((text2) => stdout.push(text2), "data"),
2027
+ diagnostic: /* @__PURE__ */ __name((text2) => stderr.push(text2), "diagnostic"),
2028
+ progress: /* @__PURE__ */ __name((text2) => stderr.push(text2), "progress")
2029
+ };
2030
+ }, "captureStreams");
2031
+
2032
+ // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/retry.js
1976
2033
  var DEFAULT_RETRY = {
1977
2034
  retries: 1,
1978
2035
  baseDelayMs: 250,
@@ -1984,7 +2041,7 @@ var backoffMs = /* @__PURE__ */ __name((attempt, config, random) => {
1984
2041
  return Math.round(random() * ceiling);
1985
2042
  }, "backoffMs");
1986
2043
 
1987
- // node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/result-fields.js
2044
+ // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/result-fields.js
1988
2045
  var forbidden = /* @__PURE__ */ new Set(["__proto__", "prototype", "constructor"]);
1989
2046
  var validate = /* @__PURE__ */ __name((paths) => {
1990
2047
  if (paths.length === 0 || paths.length > 128 || paths.some((path) => path.length > 256 || !/^[A-Za-z][A-Za-z0-9_]*(?:\.[A-Za-z][A-Za-z0-9_]*)*$/.test(path) || path.split(".").some((part) => forbidden.has(part))))
@@ -2049,7 +2106,7 @@ var projectFields = /* @__PURE__ */ __name((value, fields) => {
2049
2106
  return project(value, fields);
2050
2107
  }, "projectFields");
2051
2108
 
2052
- // node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/batch.js
2109
+ // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/batch.js
2053
2110
  var BATCH_LIMITS = Object.freeze({
2054
2111
  requests: 32,
2055
2112
  input_bytes: 262144,
@@ -2176,7 +2233,7 @@ var runBatch = /* @__PURE__ */ __name(async (requests, options = {}) => {
2176
2233
  };
2177
2234
  }, "runBatch");
2178
2235
 
2179
- // node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/config.js
2236
+ // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/config.js
2180
2237
  import { randomBytes } from "node:crypto";
2181
2238
  import { mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from "node:fs";
2182
2239
  import { dirname, join as join2 } from "node:path";
@@ -2220,16 +2277,16 @@ var saveConfigFile = /* @__PURE__ */ __name((path, config) => {
2220
2277
  `, 384);
2221
2278
  }, "saveConfigFile");
2222
2279
 
2223
- // node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/constants.js
2280
+ // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/constants.js
2224
2281
  var BASE_CONSTANTS = new URL("../constants.json", new URL("constants.js", import.meta.resolve("@wirecat/cli-base")).href);
2225
2282
  var baseConstantsSchema = object({});
2226
2283
  var LayerSchema = record(string(), unknown());
2227
2284
 
2228
- // node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
2285
+ // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
2229
2286
  import { readFileSync as readFileSync2 } from "node:fs";
2230
2287
  import { join as join3, resolve } from "node:path";
2231
2288
 
2232
- // node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/keyring.js
2289
+ // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/keyring.js
2233
2290
  import { createRequire } from "node:module";
2234
2291
  var ENTRY_OPTIONS = { linux: { store: "secret-service" } };
2235
2292
  var require2 = createRequire(new URL("keyring.js", import.meta.resolve("@wirecat/cli-base")).href);
@@ -2255,7 +2312,7 @@ var systemKeyring = {
2255
2312
  delete: /* @__PURE__ */ __name((service, account) => entry(service, account).deletePassword(), "delete")
2256
2313
  };
2257
2314
 
2258
- // node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
2315
+ // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
2259
2316
  var movedRunService = /* @__PURE__ */ __name((service, configDir) => `${service}:${resolve(configDir)}`, "movedRunService");
2260
2317
  var warnedRuns = /* @__PURE__ */ new WeakSet();
2261
2318
  var Credentials = class {
@@ -2399,7 +2456,7 @@ var Credentials = class {
2399
2456
  }
2400
2457
  };
2401
2458
 
2402
- // node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/time.js
2459
+ // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/time.js
2403
2460
  var abortError = /* @__PURE__ */ __name(() => new DOMException("The operation was aborted.", "AbortError"), "abortError");
2404
2461
  var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, reject) => {
2405
2462
  if (signal?.aborted) {
@@ -2414,10 +2471,10 @@ var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, re
2414
2471
  }), "realSleep");
2415
2472
  var wallClock = /* @__PURE__ */ __name(() => /* @__PURE__ */ new Date(), "wallClock");
2416
2473
 
2417
- // node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/logging.js
2474
+ // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/logging.js
2418
2475
  import { appendFileSync } from "node:fs";
2419
2476
 
2420
- // node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/log.js
2477
+ // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/log.js
2421
2478
  var LOG_SEVERITIES = ["trace", "debug", "info", "warn", "error", "fatal"];
2422
2479
  var logRecordSchema = strictObject({
2423
2480
  time: isoTime,
@@ -2495,7 +2552,7 @@ var traceIdOf = /* @__PURE__ */ __name((traceparent) => {
2495
2552
  return traceId;
2496
2553
  }, "traceIdOf");
2497
2554
 
2498
- // node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/logging.js
2555
+ // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/logging.js
2499
2556
  var REDACTED_FIELDS = [
2500
2557
  "authorization",
2501
2558
  "Authorization",
@@ -2589,7 +2646,7 @@ var silent = {
2589
2646
  }, "error")
2590
2647
  };
2591
2648
 
2592
- // node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/pretty.js
2649
+ // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/pretty.js
2593
2650
  var import_cli_table3 = __toESM(require_cli_table3(), 1);
2594
2651
  import { styleText } from "node:util";
2595
2652
  var renderPretty = /* @__PURE__ */ __name((value, options) => {
@@ -2663,64 +2720,7 @@ var BORDERLESS = {
2663
2720
  middle: ""
2664
2721
  };
2665
2722
 
2666
- // node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/drain.js
2667
- var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
2668
- if (signal?.aborted)
2669
- return Promise.reject(signal.reason);
2670
- if (stream.destroyed)
2671
- return Promise.reject(new Error("output stream closed"));
2672
- if (!stream.writableNeedDrain)
2673
- return Promise.resolve();
2674
- return new Promise((resolve2, reject) => {
2675
- const cleanup = /* @__PURE__ */ __name(() => {
2676
- stream.off("drain", drained).off("error", failed).off("close", closed);
2677
- signal?.removeEventListener("abort", aborted);
2678
- }, "cleanup");
2679
- const drained = /* @__PURE__ */ __name(() => {
2680
- cleanup();
2681
- resolve2();
2682
- }, "drained");
2683
- const failed = /* @__PURE__ */ __name((error) => {
2684
- cleanup();
2685
- reject(error);
2686
- }, "failed");
2687
- const closed = /* @__PURE__ */ __name(() => failed(new Error("output stream closed before drain")), "closed");
2688
- const aborted = /* @__PURE__ */ __name(() => failed(signal?.reason), "aborted");
2689
- stream.once("drain", drained).once("error", failed).once("close", closed);
2690
- signal?.addEventListener("abort", aborted, { once: true });
2691
- });
2692
- }, "waitForDrain");
2693
-
2694
- // node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/streams.js
2695
- var processStreams = {
2696
- drain: /* @__PURE__ */ __name(async (signal) => {
2697
- await Promise.all([waitForDrain(process.stdout, signal), waitForDrain(process.stderr, signal)]);
2698
- }, "drain"),
2699
- data: /* @__PURE__ */ __name((text2) => {
2700
- process.stdout.write(`${text2}
2701
- `);
2702
- }, "data"),
2703
- diagnostic: /* @__PURE__ */ __name((text2) => {
2704
- process.stderr.write(`${text2}
2705
- `);
2706
- }, "diagnostic"),
2707
- progress: /* @__PURE__ */ __name((text2) => {
2708
- process.stderr.write(`\r${text2.padEnd(72)}${text2 === "" ? "\r" : ""}`);
2709
- }, "progress")
2710
- };
2711
- var captureStreams = /* @__PURE__ */ __name(() => {
2712
- const stdout = [];
2713
- const stderr = [];
2714
- return {
2715
- stdout,
2716
- stderr,
2717
- data: /* @__PURE__ */ __name((text2) => stdout.push(text2), "data"),
2718
- diagnostic: /* @__PURE__ */ __name((text2) => stderr.push(text2), "diagnostic"),
2719
- progress: /* @__PURE__ */ __name((text2) => stderr.push(text2), "progress")
2720
- };
2721
- }, "captureStreams");
2722
-
2723
- // node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/renderer.js
2723
+ // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/renderer.js
2724
2724
  var createRenderer = /* @__PURE__ */ __name(({ format, color, streams = processStreams, quiet = false }) => {
2725
2725
  const mark = /* @__PURE__ */ __name((symbol, message) => format === "pretty" ? `${symbol} ${visibleControls(message)}` : visibleControls(message), "mark");
2726
2726
  const say = /* @__PURE__ */ __name((symbol) => (message) => {
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  SERVICE
5
- } from "./chunk-MFNMKHML.js";
5
+ } from "./chunk-AWOJYRQW.js";
6
6
  import {
7
7
  integer,
8
8
  maxLength,
@@ -14,10 +14,10 @@ import {
14
14
  regex,
15
15
  safeParse,
16
16
  string
17
- } from "./chunk-MVA5HVKL.js";
17
+ } from "./chunk-S4UUN6LD.js";
18
18
  import {
19
19
  CliError
20
- } from "./chunk-DB2XKHI4.js";
20
+ } from "./chunk-BUGROVF3.js";
21
21
  import {
22
22
  __name
23
23
  } from "./chunk-ZVVMGPBJ.js";
@@ -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-YMCY7VRE.js";
5
+ } from "./chunk-LTVYGXWT.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-EMQAC63N.js");
18
+ const { ensureSqlite } = await import("./sqlite-runtime-KLEA4XAU.js");
19
19
  await ensureSqlite();
20
- const { openStore, storePath } = await import("./store-6TZ2FCVA.js");
20
+ const { openStore, storePath } = await import("./store-BJXCSP26.js");
21
21
  const store = await openStore({
22
22
  path: storePath(env),
23
23
  env,