@wirecat/hubspot-cli 0.6.0 → 0.8.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 (164) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/contracts/wirecat.json +2 -1
  3. package/dist/bin/hubspot.js +2 -2
  4. package/dist/bundle/agent-NMSIVLX7.js +41 -0
  5. package/dist/bundle/{all-profiles-HFVXPMF6.js → all-profiles-EMBBR5CW.js} +11 -11
  6. package/dist/bundle/{anthropic-VE6WR6IN.js → anthropic-AS2MTXO3.js} +5 -5
  7. package/dist/bundle/{app-server-GZ4DCQK7.js → app-server-WZWKHDLK.js} +70 -68
  8. package/dist/bundle/{bun-2DHMKD34.js → bun-OPDGMZZQ.js} +2 -2
  9. package/dist/bundle/{bun-sqlite-T5XTYL7L.js → bun-sqlite-NBAY7FR2.js} +6 -6
  10. package/dist/bundle/{chunk-AKSWXRIU.js → chunk-2JHVQMVC.js} +1 -1
  11. package/dist/bundle/{chunk-UCGZRZJA.js → chunk-2XBDILVW.js} +1 -1
  12. package/dist/bundle/{chunk-3YTTWJKL.js → chunk-3HC5F3P7.js} +1 -1
  13. package/dist/bundle/{chunk-J4FXBF44.js → chunk-3YM4B2GT.js} +1 -1
  14. package/dist/bundle/{chunk-J76CMNWQ.js → chunk-4N7PP76S.js} +1 -1
  15. package/dist/bundle/{chunk-X2QRCFGJ.js → chunk-4NLZXDXP.js} +4 -4
  16. package/dist/bundle/{chunk-2K5BAY32.js → chunk-5JKTVAXX.js} +19 -19
  17. package/dist/bundle/{chunk-PR7ZDMGF.js → chunk-5XYI75HH.js} +3 -3
  18. package/dist/bundle/{chunk-EB53G4HO.js → chunk-6TD3DCWC.js} +2 -2
  19. package/dist/bundle/{chunk-K4Y2ZWOO.js → chunk-7SV76BVS.js} +3 -3
  20. package/dist/bundle/{chunk-PDVMYIBP.js → chunk-7T5BFWZI.js} +14450 -12008
  21. package/dist/bundle/{chunk-5WDNG4QE.js → chunk-7Z53MLQP.js} +7 -7
  22. package/dist/bundle/{chunk-RLK2EGQD.js → chunk-AINKLKDN.js} +29 -16
  23. package/dist/bundle/{chunk-E27NRLJZ.js → chunk-BGWQIFAS.js} +38 -24
  24. package/dist/bundle/{chunk-MSQGZHKM.js → chunk-CVAHCGE6.js} +27 -26
  25. package/dist/bundle/{chunk-6DABKZYH.js → chunk-D7NSIQBI.js} +125 -64
  26. package/dist/bundle/{chunk-THGAVPRA.js → chunk-D7OZWLJU.js} +11 -11
  27. package/dist/bundle/{chunk-TCSVW7BA.js → chunk-DNCLQPOM.js} +1 -1
  28. package/dist/bundle/{chunk-WASBOYI2.js → chunk-DPV53EZC.js} +4 -4
  29. package/dist/bundle/{chunk-QK5HQUHB.js → chunk-EVUMQKV7.js} +3 -3
  30. package/dist/bundle/{chunk-5O5WYSSO.js → chunk-FRF32QVB.js} +711 -633
  31. package/dist/bundle/{chunk-H4W2OO35.js → chunk-GGMAIIVE.js} +1 -1
  32. package/dist/bundle/{chunk-I75ON7VM.js → chunk-GIMHJ7HA.js} +8 -8
  33. package/dist/bundle/{chunk-5NIIXJV3.js → chunk-GXDD4QWH.js} +2 -2
  34. package/dist/bundle/{chunk-ZERQSELP.js → chunk-H6AH45GE.js} +198 -164
  35. package/dist/bundle/{chunk-DIKUPU3T.js → chunk-HZ3C4WXD.js} +3 -3
  36. package/dist/bundle/{chunk-TXO4CJW3.js → chunk-IA77VHME.js} +13 -9
  37. package/dist/bundle/{chunk-LTU4BQ4S.js → chunk-IA7LLLEI.js} +3 -3
  38. package/dist/bundle/{chunk-3HS7JTPI.js → chunk-IGNMDKP7.js} +14 -14
  39. package/dist/bundle/{chunk-G6LDK6DJ.js → chunk-IPKCM55K.js} +7 -7
  40. package/dist/bundle/{chunk-2I2KBCS6.js → chunk-JBZYHRUN.js} +5 -5
  41. package/dist/bundle/{chunk-M3LRSN6J.js → chunk-JG6LCSEX.js} +13 -13
  42. package/dist/bundle/{chunk-HZIGGAC7.js → chunk-JLXXUEAM.js} +2 -2
  43. package/dist/bundle/{chunk-T4MZJMEJ.js → chunk-JPONKBEQ.js} +23 -23
  44. package/dist/bundle/{chunk-5ILCAAY4.js → chunk-K5QWV6IX.js} +35 -35
  45. package/dist/bundle/{chunk-LHY5XGIR.js → chunk-KNL7CKF6.js} +179 -108
  46. package/dist/bundle/{chunk-JFLKTYH5.js → chunk-KVTNYRDO.js} +6 -6
  47. package/dist/bundle/chunk-KXJ3JEDH.js +2 -0
  48. package/dist/bundle/{chunk-CU76ZACK.js → chunk-L45WN3AR.js} +3 -3
  49. package/dist/bundle/{chunk-2VUIJ5XB.js → chunk-L72WUJAS.js} +2 -2
  50. package/dist/bundle/{chunk-GWXTVO43.js → chunk-LCUWAH4L.js} +7 -7
  51. package/dist/bundle/{chunk-4UEYVM46.js → chunk-LKH3UKLO.js} +4 -4
  52. package/dist/bundle/{chunk-CTN4DW2F.js → chunk-LM3W7YOM.js} +4 -4
  53. package/dist/bundle/{chunk-3TLNO3VM.js → chunk-LZPKBN3C.js} +2 -2
  54. package/dist/bundle/{chunk-EJZIEBAR.js → chunk-LZPSIYRC.js} +8 -8
  55. package/dist/bundle/{chunk-KDW7B7AR.js → chunk-MYXUJCJD.js} +5 -5
  56. package/dist/bundle/{chunk-PZ3QJDTD.js → chunk-NA2B6PYR.js} +5 -5
  57. package/dist/bundle/{chunk-TT75CEYZ.js → chunk-NB7EOAUZ.js} +1 -1
  58. package/dist/bundle/{chunk-XRFYVVFU.js → chunk-NISH4UXM.js} +2 -2
  59. package/dist/bundle/{chunk-VR2CJFVL.js → chunk-NQVMPJAQ.js} +8 -8
  60. package/dist/bundle/{chunk-J2SCELII.js → chunk-NVR6M4TF.js} +16 -16
  61. package/dist/bundle/{chunk-GR4HZBWO.js → chunk-O4AUYEGC.js} +2 -2
  62. package/dist/bundle/{chunk-TRLV5NWZ.js → chunk-OGVSGXPI.js} +640 -506
  63. package/dist/bundle/{chunk-3W5R3XAH.js → chunk-OUYXUGUX.js} +8 -8
  64. package/dist/bundle/chunk-P657KN5N.js +122 -0
  65. package/dist/bundle/{chunk-GHXTNKX2.js → chunk-P7G5HFY3.js} +2 -2
  66. package/dist/bundle/{chunk-BU5CEMUH.js → chunk-PFYPJUWX.js} +19 -15
  67. package/dist/bundle/{chunk-Q6AC7WLD.js → chunk-PLPBEWD4.js} +3 -3
  68. package/dist/bundle/{chunk-HYDXA624.js → chunk-PMQ7GP6X.js} +6 -6
  69. package/dist/bundle/{chunk-JDCFHZNU.js → chunk-Q32ZDGS2.js} +8 -8
  70. package/dist/bundle/{chunk-TAPQZYXY.js → chunk-Q7ICVP25.js} +1 -1
  71. package/dist/bundle/{chunk-WE4JSHIG.js → chunk-QLYSNL47.js} +6 -6
  72. package/dist/bundle/{chunk-H5HBZCEJ.js → chunk-QPPOIWPY.js} +8 -8
  73. package/dist/bundle/{chunk-GEJI27GN.js → chunk-R2C5WDQV.js} +6 -6
  74. package/dist/bundle/{chunk-UVGJL753.js → chunk-RQORQN2V.js} +61 -61
  75. package/dist/bundle/{chunk-YIH2A2PQ.js → chunk-RRTMPSQR.js} +2 -2
  76. package/dist/bundle/{chunk-AP3CWDRK.js → chunk-S6JG4YUH.js} +2 -2
  77. package/dist/bundle/{chunk-MJ24YFXZ.js → chunk-TTF5DP4V.js} +7 -7
  78. package/dist/bundle/{chunk-745FMNI5.js → chunk-TXDR6YSF.js} +1 -1
  79. package/dist/bundle/{chunk-3WG4MTQI.js → chunk-TY7NDMFY.js} +1 -1
  80. package/dist/bundle/{chunk-ID4GJFE7.js → chunk-U5CFLBNX.js} +8 -8
  81. package/dist/bundle/{chunk-ZKTYTOF4.js → chunk-UDSL3MUU.js} +8 -8
  82. package/dist/bundle/{chunk-RLNPTES2.js → chunk-V57E7PJQ.js} +4 -4
  83. package/dist/bundle/{chunk-67YPTVGP.js → chunk-V7IF2K3P.js} +3 -3
  84. package/dist/bundle/{chunk-NQOQG7L3.js → chunk-VB7FZOYX.js} +1 -1
  85. package/dist/bundle/{chunk-KKMOKSS5.js → chunk-VNMEE4ZZ.js} +3 -3
  86. package/dist/bundle/{chunk-UZ2CL435.js → chunk-VZ5PPYDG.js} +1 -1
  87. package/dist/bundle/chunk-WOPVBRPV.js +29 -0
  88. package/dist/bundle/{chunk-R26OEZOL.js → chunk-XEQQJBBO.js} +1 -1
  89. package/dist/bundle/chunk-XIKSGUMQ.js +1293 -0
  90. package/dist/bundle/{chunk-YDG5FIQB.js → chunk-XK5BAPHF.js} +7 -7
  91. package/dist/bundle/{chunk-QH47G73D.js → chunk-XQGN2D44.js} +3 -3
  92. package/dist/bundle/{chunk-5VTKBGPW.js → chunk-YKSH7BY2.js} +121 -36
  93. package/dist/bundle/{chunk-BM5F2ZNI.js → chunk-YWDFYQOU.js} +2 -2
  94. package/dist/bundle/{chunk-5IPB5WLB.js → chunk-ZJEENQRH.js} +12 -12
  95. package/dist/bundle/{chunk-24HPBWKZ.js → chunk-ZZOCAZSZ.js} +3 -3
  96. package/dist/bundle/command-contract-BGTXROZA.js +40 -0
  97. package/dist/bundle/{command-server-entry-H6IAJNOF.js → command-server-entry-PDLRF2RV.js} +28 -28
  98. package/dist/bundle/{decode-TR2EC46M.js → decode-26M7XE2B.js} +5 -5
  99. package/dist/bundle/{dispatch-B2EP6DDT.js → dispatch-2FTOHA5D.js} +8 -8
  100. package/dist/bundle/{echarts-7OP7I5B2.js → echarts-O3TNDAXJ.js} +2 -2
  101. package/dist/bundle/{embed-FLGS4LN7.js → embed-XJLEAWXE.js} +6 -6
  102. package/dist/bundle/{embedder-JIXQXCP3.js → embedder-OEL6PXEH.js} +9 -9
  103. package/dist/bundle/{failure-AOACEURF.js → failure-OHIXWTR6.js} +2 -2
  104. package/dist/bundle/{first-run-XJ2NWIK2.js → first-run-J2T4IKK4.js} +12 -12
  105. package/dist/bundle/first-screen-Q5KYFT3R.js +41 -0
  106. package/dist/bundle/hubspot.js +27 -27
  107. package/dist/bundle/{instructions-PYCYV6QE.js → instructions-AMH5RWVJ.js} +1 -1
  108. package/dist/bundle/{mcp-ZNULRPZ4.js → mcp-5HFPWC3W.js} +2 -2
  109. package/dist/bundle/meeting-combined-5H6VGK6O.js +25 -0
  110. package/dist/bundle/{meeting-model-2PA5WJY5.js → meeting-model-USLGH5SE.js} +11 -11
  111. package/dist/bundle/{meeting-semantic-5IH63QFV.js → meeting-semantic-Q6XYFYUD.js} +6 -6
  112. package/dist/bundle/{node-6GTNIVBM.js → node-EGMCBAO7.js} +2 -2
  113. package/dist/bundle/{node-sqlite-FBCEHPNT.js → node-sqlite-2SWWGW6H.js} +7 -7
  114. package/dist/bundle/{oauth-BFP4SCL5.js → oauth-V5LGTXF2.js} +7 -7
  115. package/dist/bundle/{open-MLU4MHGO.js → open-25EKOTZA.js} +5 -5
  116. package/dist/bundle/{openai-R7WJI6SO.js → openai-CH37GSZS.js} +15 -15
  117. package/dist/bundle/{process-NMNQLJHZ.js → process-SGHEN6MQ.js} +1 -1
  118. package/dist/bundle/{program-Z735HPFG.js → program-G4OZFVUI.js} +212 -117
  119. package/dist/bundle/{prompt-A6RM55Q4.js → prompt-2VSPX5S7.js} +5 -5
  120. package/dist/bundle/public-WB7IWBMR.js +196 -0
  121. package/dist/bundle/{recognize-ORRDV45M.js → recognize-NA5XUFKK.js} +4 -4
  122. package/dist/bundle/{remote-UF3WSC4X.js → remote-NRJOX6XW.js} +9 -9
  123. package/dist/bundle/{rerank-ZSJORUGH.js → rerank-NG3XMFCV.js} +7 -7
  124. package/dist/bundle/{schemas-EXBNVPMI.js → schemas-SKF4MZBJ.js} +1 -1
  125. package/dist/bundle/{serve-4KBJ6SIA.js → serve-MR67OBED.js} +9 -9
  126. package/dist/bundle/server-LFNGSVUQ.js +88 -0
  127. package/dist/bundle/{server-IFK4S6LJ.js → server-NZPHVRS6.js} +62 -60
  128. package/dist/bundle/{source-PBCQAG4C.js → source-P2KVDTJ5.js} +75 -73
  129. package/dist/bundle/{sqlite-runtime-XPDUWOPG.js → sqlite-runtime-V5U6F5EB.js} +6 -6
  130. package/dist/bundle/{state-4M26H7NL.js → state-L4MWAATO.js} +6 -6
  131. package/dist/bundle/store-ARASPKTV.js +34 -0
  132. package/dist/bundle/{store-ICTY3RIF.js → store-JFIZLDKO.js} +22 -22
  133. package/dist/bundle/{store-3W4ZOOIB.js → store-SUHY3G2X.js} +27 -24
  134. package/dist/bundle/store-maintenance-command-L2FXCEGU.js +75 -0
  135. package/dist/bundle/surface-NQK7CQ33.js +74 -0
  136. package/dist/bundle/writer-TYTMOXXA.js +88 -0
  137. package/dist/config.d.ts +5 -38
  138. package/dist/config.d.ts.map +1 -1
  139. package/dist/config.js.map +1 -1
  140. package/dist/crm/records.d.ts.map +1 -1
  141. package/dist/crm/records.js +3 -0
  142. package/dist/crm/records.js.map +1 -1
  143. package/dist/crm/source.js +1 -1
  144. package/dist/crm/source.js.map +1 -1
  145. package/dist/generated/definitions.d.ts +1 -1
  146. package/dist/generated/definitions.d.ts.map +1 -1
  147. package/dist/generated/manifest.d.ts +1 -1
  148. package/dist/generated/manifest.d.ts.map +1 -1
  149. package/dist/generated/manifest.js.map +1 -1
  150. package/dist/version.d.ts +1 -1
  151. package/dist/version.js +1 -1
  152. package/package.json +3 -3
  153. package/skills/hubspot-cli/SKILL.md +10 -3
  154. package/dist/bundle/agent-XB35QVOK.js +0 -40
  155. package/dist/bundle/chunk-HX2BE7DO.js +0 -40
  156. package/dist/bundle/chunk-V7N2K5OT.js +0 -1269
  157. package/dist/bundle/command-contract-5FXCYQUS.js +0 -40
  158. package/dist/bundle/first-screen-U73G5CMM.js +0 -40
  159. package/dist/bundle/meeting-combined-IHTM5H5B.js +0 -25
  160. package/dist/bundle/server-MNUAZWTN.js +0 -86
  161. package/dist/bundle/store-CDY2PW6J.js +0 -34
  162. package/dist/bundle/store-maintenance-command-Y7TC3I43.js +0 -73
  163. package/dist/bundle/surface-4LNDJZD2.js +0 -72
  164. package/dist/bundle/writer-WGHWQTC2.js +0 -86
@@ -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-6DABKZYH.js";
5
+ } from "./chunk-D7NSIQBI.js";
6
6
  import {
7
7
  RECORD_TYPES
8
- } from "./chunk-E27NRLJZ.js";
8
+ } from "./chunk-BGWQIFAS.js";
9
9
  import {
10
10
  parseReference
11
- } from "./chunk-RLK2EGQD.js";
11
+ } from "./chunk-AINKLKDN.js";
12
12
  import {
13
13
  defineReasons
14
- } from "./chunk-H5HBZCEJ.js";
14
+ } from "./chunk-QPPOIWPY.js";
15
15
  import {
16
16
  __name
17
17
  } from "./chunk-ZVVMGPBJ.js";
18
18
 
19
- // 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/domain/links.js
19
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/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.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/domain/records-table.js
140
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/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
@@ -1801,7 +1801,7 @@ var REASONS2 = defineReasons(OWN.filter(([reason]) => !CORE.has(reason)).map(([r
1801
1801
  var DETAILS2 = ["account", "profile", "profiles", "status", "scope"];
1802
1802
 
1803
1803
  // dist/version.js
1804
- var VERSION = "0.6.0";
1804
+ var VERSION = "0.8.0";
1805
1805
 
1806
1806
  // dist/identity.js
1807
1807
  var PACKAGE = "@wirecat/hubspot-cli";
@@ -2,16 +2,16 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  alive
5
- } from "./chunk-J4FXBF44.js";
5
+ } from "./chunk-3YM4B2GT.js";
6
6
  import {
7
7
  resolvePaths,
8
8
  writeSecurely
9
- } from "./chunk-2K5BAY32.js";
9
+ } from "./chunk-5JKTVAXX.js";
10
10
  import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
13
13
 
14
- // 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/background/lock.js
14
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/background/lock.js
15
15
  import { existsSync, linkSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
16
16
  import { dirname, join } from "node:path";
17
17
  var lockPath = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "serve", `${profile}.lock`), "lockPath");
@@ -2,36 +2,36 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  commandAvailability
5
- } from "./chunk-X2QRCFGJ.js";
5
+ } from "./chunk-4NLZXDXP.js";
6
6
  import {
7
7
  lentConnection
8
- } from "./chunk-KDW7B7AR.js";
8
+ } from "./chunk-MYXUJCJD.js";
9
9
  import {
10
10
  QUERY_ARGUMENT
11
- } from "./chunk-BU5CEMUH.js";
11
+ } from "./chunk-PFYPJUWX.js";
12
12
  import {
13
13
  changesMessenger,
14
14
  flatten
15
- } from "./chunk-ZERQSELP.js";
15
+ } from "./chunk-H6AH45GE.js";
16
16
  import {
17
17
  currentCaller
18
- } from "./chunk-I75ON7VM.js";
18
+ } from "./chunk-GIMHJ7HA.js";
19
19
  import {
20
20
  enclosingTraceId,
21
21
  inRun,
22
22
  newRunId,
23
23
  traceOf
24
- } from "./chunk-V7N2K5OT.js";
24
+ } from "./chunk-XIKSGUMQ.js";
25
25
  import {
26
26
  authorityAllowed,
27
27
  botApiAllowed
28
- } from "./chunk-G6LDK6DJ.js";
28
+ } from "./chunk-IPKCM55K.js";
29
29
  import {
30
30
  queryDescription
31
- } from "./chunk-UVGJL753.js";
31
+ } from "./chunk-RQORQN2V.js";
32
32
  import {
33
33
  captureStreams
34
- } from "./chunk-2K5BAY32.js";
34
+ } from "./chunk-5JKTVAXX.js";
35
35
  import {
36
36
  COMPACT_FLAG,
37
37
  SNAKE_CASE,
@@ -41,7 +41,7 @@ import {
41
41
  text,
42
42
  word,
43
43
  writes
44
- } from "./chunk-H5HBZCEJ.js";
44
+ } from "./chunk-QPPOIWPY.js";
45
45
  import {
46
46
  array,
47
47
  boolean,
@@ -65,15 +65,15 @@ import {
65
65
  } from "./chunk-S4UUN6LD.js";
66
66
  import {
67
67
  CliError
68
- } from "./chunk-AP3CWDRK.js";
68
+ } from "./chunk-S6JG4YUH.js";
69
69
  import {
70
70
  __name
71
71
  } from "./chunk-ZVVMGPBJ.js";
72
72
 
73
- // 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/agent.js
73
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/agent.js
74
74
  import { Readable } from "node:stream";
75
75
 
76
- // 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/standards/lint.js
76
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/lint.js
77
77
  var LINT_SEVERITIES = ["high", "medium", "low"];
78
78
  var lintRuleSchema = strictObject({
79
79
  id: word,
@@ -219,7 +219,7 @@ var overrideSchema = strictObject({
219
219
  });
220
220
  var overridesSchema = array(overrideSchema);
221
221
 
222
- // 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/standards/audit.js
222
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/audit.js
223
223
  var auditRuleSchema = strictObject({ id: word, severity: picklist(LINT_SEVERITIES), summary: text });
224
224
  var defineAuditRules = /* @__PURE__ */ __name((input) => parseRegistry("audit rules", array(auditRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineAuditRules");
225
225
  var AUDIT_RULES = defineAuditRules([
@@ -338,8 +338,23 @@ var FAMILY_SINCE_0_98 = [
338
338
  review_after: "2026-12-10"
339
339
  }
340
340
  ];
341
+ var CONFIG_UNREADABLE_RENAME = [
342
+ "account-rename.config=config.unreadable=mail.config-unreadable",
343
+ "account-rename.config=config.unreadable",
344
+ "config.unreadable=mail.config-unreadable"
345
+ ].map((ids) => ({
346
+ rule: REASON,
347
+ target: `reason ${ids}`,
348
+ reason: "one failure under several names while the CLIs move to cli-core 1.0, which names it config.unreadable",
349
+ review_after: "2026-12-09"
350
+ }));
341
351
  var PARITY_GROUPS = defineParityGroups([
342
- { name: "messengers", members: ["tg", "max"], covers: "tree", differences: MESSENGERS_SINCE_0_98 },
352
+ {
353
+ name: "messengers",
354
+ members: ["tg", "max"],
355
+ covers: "tree",
356
+ differences: [...MESSENGERS_SINCE_0_98, ...CONFIG_UNREADABLE_RENAME]
357
+ },
343
358
  {
344
359
  name: "all",
345
360
  members: ["tg", "max", "memo", "drive", "zm", "wa"],
@@ -430,7 +445,7 @@ var REQUIRED_ROOTS = defineRequiredRoots([
430
445
  { path: ["upgrade"], meaning: "updates the CLI" }
431
446
  ]);
432
447
 
433
- // 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/standards/fields.js
448
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/fields.js
434
449
  var fieldRuleSchema = strictObject({ id: word, rule: text });
435
450
  var defineFieldRules = /* @__PURE__ */ __name((input) => parseRegistry("output field rules", array(fieldRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineFieldRules");
436
451
  var FIELD_RULES = defineFieldRules([
@@ -446,7 +461,7 @@ var FIELD_RULES = defineFieldRules([
446
461
  }
447
462
  ]);
448
463
 
449
- // 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/standards/identifiers.js
464
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/identifiers.js
450
465
  var key = pipe(string(), regex(SNAKE_CASE, "a snake_case key"));
451
466
  var identifierSchema = strictObject({ key, meaning: text, replaces: optional(array(key)) });
452
467
  var defineIdentifiers = /* @__PURE__ */ __name((input) => parseRegistry("identifiers", array(identifierSchema), input, (identifiers) => {
@@ -468,7 +483,7 @@ var IDENTIFIERS = defineIdentifiers([
468
483
  { key: "trace_id", meaning: "the distributed trace a run belongs to, from `traceparent`" }
469
484
  ]);
470
485
 
471
- // 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/standards/flags-account.js
486
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-account.js
472
487
  var ACCOUNT_FLAGS = [
473
488
  {
474
489
  name: "--client-id",
@@ -505,7 +520,7 @@ var ACCOUNT_FLAGS = [
505
520
  { name: "--hide-phone", role: "output", type: "switch", meaning: "leave the phone number out of the answer" }
506
521
  ];
507
522
 
508
- // 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/standards/flags-calendar.js
523
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-calendar.js
509
524
  var CALENDAR_FLAGS = [
510
525
  { name: "--end-time", value: "<time>", role: "value", type: "time", meaning: "when it ends" },
511
526
  {
@@ -593,7 +608,7 @@ var CALENDAR_FLAGS = [
593
608
  }
594
609
  ];
595
610
 
596
- // 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/standards/flags-content.js
611
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-content.js
597
612
  var CONTENT_FLAGS = [
598
613
  { name: "--slug", value: "<slug>", role: "value", type: "string", meaning: "the last part of its web address" },
599
614
  {
@@ -608,10 +623,30 @@ var CONTENT_FLAGS = [
608
623
  role: "mode",
609
624
  type: "switch",
610
625
  meaning: "write the new text over a body the tool cannot fully read back, losing what it could not show"
626
+ },
627
+ {
628
+ name: "--from-template",
629
+ value: "<template>",
630
+ role: "value",
631
+ type: "string",
632
+ meaning: "start the new page from one of the source's page templates, by name or id; not a message --template"
633
+ },
634
+ {
635
+ name: "--cover",
636
+ value: "<link>",
637
+ role: "value",
638
+ type: "string",
639
+ meaning: "the page's cover image, by an https link, or none to take it away; a local image file is --photo"
640
+ },
641
+ {
642
+ name: "--allow-deleting-content",
643
+ role: "mode",
644
+ type: "switch",
645
+ meaning: "let an update delete the child pages and databases its new text leaves out; the source keeps them in its trash, unlike --allow-delete"
611
646
  }
612
647
  ];
613
648
 
614
- // 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/standards/flags-crm.js
649
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-crm.js
615
650
  var CRM_FLAGS = [
616
651
  {
617
652
  name: "--email",
@@ -775,7 +810,7 @@ var CRM_FLAGS = [
775
810
  }
776
811
  ];
777
812
 
778
- // 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/standards/flags-how.js
813
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-how.js
779
814
  var HOW_FLAGS = [
780
815
  {
781
816
  name: "--limit",
@@ -1768,7 +1803,7 @@ var HOW_FLAGS = [
1768
1803
  }
1769
1804
  ];
1770
1805
 
1771
- // 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/standards/flags-knowledge.js
1806
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-knowledge.js
1772
1807
  var KNOWLEDGE_FLAGS = [
1773
1808
  {
1774
1809
  name: "--accept-terms",
@@ -1824,10 +1859,24 @@ var KNOWLEDGE_FLAGS = [
1824
1859
  role: "target",
1825
1860
  type: "string",
1826
1861
  meaning: "every stored thing a search with this query finds, in its query language; the command acts on each"
1862
+ },
1863
+ {
1864
+ name: "--since",
1865
+ value: "<time>",
1866
+ role: "target",
1867
+ type: "time",
1868
+ meaning: "from this time on: a time, or a duration ago such as 1d"
1869
+ },
1870
+ {
1871
+ name: "--event",
1872
+ value: "<events>",
1873
+ role: "target",
1874
+ type: "list",
1875
+ meaning: "only these kinds of event, comma separated; the command lists them"
1827
1876
  }
1828
1877
  ];
1829
1878
 
1830
- // 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/standards/flags-mail.js
1879
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-mail.js
1831
1880
  var MAIL_FLAGS = [
1832
1881
  {
1833
1882
  name: "--cc",
@@ -1857,7 +1906,7 @@ var MAIL_FLAGS = [
1857
1906
  }
1858
1907
  ];
1859
1908
 
1860
- // 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/standards/flags-mirror.js
1909
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-mirror.js
1861
1910
  var MIRROR_FLAGS = [
1862
1911
  {
1863
1912
  name: "--keep",
@@ -1888,7 +1937,7 @@ var MIRROR_FLAGS = [
1888
1937
  }
1889
1938
  ];
1890
1939
 
1891
- // 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/standards/flags-privacy.js
1940
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-privacy.js
1892
1941
  var PRIVACY_FLAGS = [
1893
1942
  {
1894
1943
  name: "--about-text",
@@ -1949,7 +1998,7 @@ var PRIVACY_FLAGS = [
1949
1998
  { name: "--read-receipts", value: "<on|off>", role: "value", type: "choice", meaning: "send read receipts" }
1950
1999
  ];
1951
2000
 
1952
- // 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/standards/flags-schedule.js
2001
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-schedule.js
1953
2002
  var SCHEDULE_FLAGS = [
1954
2003
  {
1955
2004
  name: "--locale",
@@ -1982,7 +2031,7 @@ var SCHEDULE_FLAGS = [
1982
2031
  }
1983
2032
  ];
1984
2033
 
1985
- // 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/standards/flags-search.js
2034
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-search.js
1986
2035
  var SEARCH_FLAGS = [
1987
2036
  {
1988
2037
  name: "--like",
@@ -1993,7 +2042,7 @@ var SEARCH_FLAGS = [
1993
2042
  }
1994
2043
  ];
1995
2044
 
1996
- // 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/standards/flags-what.js
2045
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-what.js
1997
2046
  var WHAT_FLAGS = [
1998
2047
  {
1999
2048
  name: "--analysis-provider",
@@ -2405,7 +2454,7 @@ var WHAT_FLAGS = [
2405
2454
  type: "string",
2406
2455
  meaning: "an organization: its id or organization:<id>"
2407
2456
  },
2408
- { name: "--parent", value: "<id>", role: "target", type: "id", meaning: "the folder or task it sits under, by id" },
2457
+ { name: "--parent", value: "<id>", role: "target", type: "id", meaning: "the folder, task or issue it sits under" },
2409
2458
  {
2410
2459
  name: "--participant-id",
2411
2460
  value: "<id>",
@@ -2683,7 +2732,6 @@ var WHAT_FLAGS = [
2683
2732
  type: "choice",
2684
2733
  meaning: "how it is closed: done, or dismissed when it needs no answer"
2685
2734
  },
2686
- { name: "--assignee", value: "<person...>", role: "value", type: "list", meaning: "who does it, by UID" },
2687
2735
  { name: "--at", value: "<hh:mm>", role: "value", type: "string", meaning: "every day at this local time" },
2688
2736
  { name: "--body", value: "<json>", role: "value", type: "string", meaning: "the request body, as JSON" },
2689
2737
  {
@@ -2841,7 +2889,6 @@ var WHAT_FLAGS = [
2841
2889
  type: "id",
2842
2890
  meaning: "pin this chat at the top of it; repeat it for more"
2843
2891
  },
2844
- { name: "--priority", value: "<n>", role: "value", type: "count", meaning: "0 urgent \u2026 4 low" },
2845
2892
  { name: "--quiz", role: "value", type: "switch", meaning: "a quiz: one answer is right, and a vote is final" },
2846
2893
  {
2847
2894
  name: "--reason",
@@ -2990,7 +3037,33 @@ var WHAT_FLAGS = [
2990
3037
  }
2991
3038
  ];
2992
3039
 
2993
- // 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/standards/vocabulary.js
3040
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-work.js
3041
+ var WORK_FLAGS = [
3042
+ {
3043
+ name: "--assignee",
3044
+ value: "<person...>",
3045
+ role: "value",
3046
+ type: "list",
3047
+ otherValues: ["user"],
3048
+ meaning: "who does it: people by UID (<person...>), or one tracker user by id, name or e-mail (<user>)"
3049
+ },
3050
+ {
3051
+ name: "--priority",
3052
+ value: "<n>",
3053
+ role: "value",
3054
+ type: "string",
3055
+ meaning: "how urgent: low, medium, high, critical or none, a score from 0.0 to 1.0, or the old 0 urgent \u2026 4 low"
3056
+ },
3057
+ {
3058
+ name: "--team",
3059
+ value: "<team>",
3060
+ role: "value",
3061
+ type: "string",
3062
+ meaning: "the tracker team that owns an issue, by id, key or name"
3063
+ }
3064
+ ];
3065
+
3066
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/vocabulary.js
2994
3067
  var FLAG_TYPES = [
2995
3068
  "switch",
2996
3069
  "count",
@@ -3148,6 +3221,7 @@ var verbs = [
3148
3221
  "look at a source before taking anything from it: a chat link without joining, a mailbox without importing"
3149
3222
  ],
3150
3223
  ["send", "send a message"],
3224
+ ["reply", "answer in a comment thread at the source, under the comment that started it"],
3151
3225
  ["call", "call one provider API method by its own name, generated from the provider's method list"],
3152
3226
  ["edit", "change a sent message"],
3153
3227
  ["forward", "send an existing message on to another chat"],
@@ -3272,6 +3346,7 @@ var collections = [
3272
3346
  ["teams", "groups in a tracker that own issues, states and labels"],
3273
3347
  ["states", "the workflow steps a tracker team moves its issues through, each of a type such as started"],
3274
3348
  ["labels", "a tracker's shared labels on issues, kept by the tracker and not by the owner"],
3349
+ ["sprints", "a tracker team's time-boxed runs of work, such as Linear's cycles, each with a start and an end"],
3275
3350
  ["fields", "a record type's field definitions: code, label, type and options, such as a CRM's custom fields"],
3276
3351
  ["activities", "a CRM's calls, e-mails, meetings, to-dos and comments on its records"],
3277
3352
  ["changes", "what changed in a copied source over a time: records added, moved, closed or reassigned"],
@@ -3284,13 +3359,19 @@ var collections = [
3284
3359
  ["relationships", "confirmed or suggested links between people, organizations and projects"],
3285
3360
  ["roles", "the parts a person plays in a relationship, built in or the owner's own"],
3286
3361
  ["sheets", "remote spreadsheets and their cell ranges, read or changed through a provider"],
3362
+ [
3363
+ "databases",
3364
+ "a source's databases, such as Notion's, each a set of rows with typed properties; the local store's are tables"
3365
+ ],
3366
+ ["rows", "the records of a database at the source, each with typed values; an order's or an invoice's are lines"],
3287
3367
  ["files", "files in the source, such as Google Drive, read and changed there"],
3288
3368
  ["mirrors", "saved pairings of a local folder and a folder in the source, which sync keeps the same both ways"],
3289
3369
  [
3290
3370
  "conflicts",
3291
3371
  "files a mirror's sync found changed on both sides and could not merge, each waiting for a side or a final file"
3292
3372
  ],
3293
- ["comments", "comments people left on a thing in the source: a channel post or a file"],
3373
+ ["versions", "earlier contents of a file that a write replaced or deleted, kept on this computer to be put back"],
3374
+ ["comments", "comments people left on a thing in the source: a channel post, a file or an issue"],
3294
3375
  ["meetings", "stored meetings, from Zoom or another provider"],
3295
3376
  ["calls", "phone calls a phone system recorded, stored as meetings with their transcripts"],
3296
3377
  ["calendars", "calendars of an account, each synced or not"],
@@ -3359,6 +3440,7 @@ var views = [
3359
3440
  ["stats", "a thing's own numbers, such as a post's views, as read at each sync"],
3360
3441
  ["logs", "the log of a running process"],
3361
3442
  ["events", "what happened in a thing over time"],
3443
+ ["changes", "what a sync changed in the local copy since a time: added, changed, deleted or no longer visible"],
3362
3444
  ["scheduled", "what is scheduled to happen"],
3363
3445
  ["context", "what surrounds one thing"],
3364
3446
  ["path", "where a thing is on this machine"],
@@ -3369,6 +3451,8 @@ var views = [
3369
3451
  ["transcript", "the text of speech: a voice message or a meeting recording"],
3370
3452
  ["evidence", "the stored messages or lines a result or a reference rests on"],
3371
3453
  ["passage", "a cited transcript line with bounded surrounding lines from the same revision"],
3454
+ ["summary", "the summary a service wrote of a meeting, with its sections and next steps"],
3455
+ ["people", "the people found across stored meetings by name or email, with the meetings they were in"],
3372
3456
  ["invitation", "the text that invites people to a meeting: how to join it and when"],
3373
3457
  ["agenda", "what needs a look today"],
3374
3458
  ["busy", "when calendars or people are taken, without what takes them"],
@@ -3432,11 +3516,12 @@ var VOCABULARY = defineVocabulary({
3432
3516
  ...SCHEDULE_FLAGS,
3433
3517
  ...CONTENT_FLAGS,
3434
3518
  ...SEARCH_FLAGS,
3435
- ...MIRROR_FLAGS
3519
+ ...MIRROR_FLAGS,
3520
+ ...WORK_FLAGS
3436
3521
  ]
3437
3522
  });
3438
3523
 
3439
- // 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/agent.js
3524
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/agent.js
3440
3525
  var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
3441
3526
  var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
3442
3527
  var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError
5
- } from "./chunk-AP3CWDRK.js";
5
+ } from "./chunk-S6JG4YUH.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // 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/input-policy.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/input-policy.js
11
11
  var MAX_BUFFERED_INPUT = 16 * 1024 * 1024;
12
12
  var MAX_SECRET_INPUT = 64 * 1024;
13
13
  var policies = /* @__PURE__ */ new WeakMap();
@@ -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-DIKUPU3T.js";
5
+ } from "./chunk-HZ3C4WXD.js";
6
6
  import {
7
7
  QUESTIONS,
8
8
  readSetupAnswers,
9
9
  unanswered,
10
10
  writeSetupAnswers
11
- } from "./chunk-67YPTVGP.js";
11
+ } from "./chunk-V7IF2K3P.js";
12
12
  import {
13
13
  DEFAULT_STEMMERS,
14
14
  LANGUAGES
15
- } from "./chunk-ZKTYTOF4.js";
15
+ } from "./chunk-UDSL3MUU.js";
16
16
  import {
17
17
  installerOf
18
- } from "./chunk-745FMNI5.js";
18
+ } from "./chunk-TXDR6YSF.js";
19
19
  import {
20
20
  sharedConfigPath
21
- } from "./chunk-MJ24YFXZ.js";
21
+ } from "./chunk-TTF5DP4V.js";
22
22
  import {
23
23
  storePath
24
- } from "./chunk-2VUIJ5XB.js";
24
+ } from "./chunk-L72WUJAS.js";
25
25
  import {
26
26
  __name
27
27
  } from "./chunk-ZVVMGPBJ.js";
28
28
 
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
29
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/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-ICTY3RIF.js");
87
+ const { openStore } = await import("./store-JFIZLDKO.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-MLU4MHGO.js"),
117
- import("./store-maintenance-command-Y7TC3I43.js")
116
+ import("./open-25EKOTZA.js"),
117
+ import("./store-maintenance-command-L2FXCEGU.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-U73G5CMM.js");
129
+ const { WIRECAT_TOOLS } = await import("./first-screen-Q5KYFT3R.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-A6RM55Q4.js")).readSecret(prompt, { input, echo: true }), "ask"),
203
+ ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-2VSPX5S7.js")).readSecret(prompt, { input, echo: true }), "ask"),
204
204
  say: /* @__PURE__ */ __name((text) => process.stderr.write(`${text}
205
205
  `), "say")
206
206
  }
@@ -5,15 +5,15 @@ import {
5
5
  SERVICE,
6
6
  readActivity,
7
7
  segment
8
- } from "./chunk-TRLV5NWZ.js";
8
+ } from "./chunk-OGVSGXPI.js";
9
9
  import {
10
10
  foldFieldName,
11
11
  values_exports
12
- } from "./chunk-5O5WYSSO.js";
12
+ } from "./chunk-FRF32QVB.js";
13
13
  import {
14
14
  CliError,
15
15
  isCliError
16
- } from "./chunk-AP3CWDRK.js";
16
+ } from "./chunk-S6JG4YUH.js";
17
17
  import {
18
18
  __name
19
19
  } from "./chunk-ZVVMGPBJ.js";
@@ -0,0 +1,40 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ SCHEMA_DIALECT,
5
+ commandContract,
6
+ commandPathOf,
7
+ findCommand,
8
+ outputOf
9
+ } from "./chunk-JBZYHRUN.js";
10
+ import "./chunk-H6AH45GE.js";
11
+ import "./chunk-GIMHJ7HA.js";
12
+ import "./chunk-V7IF2K3P.js";
13
+ import "./chunk-NA2B6PYR.js";
14
+ import "./chunk-3YM4B2GT.js";
15
+ import "./chunk-VNMEE4ZZ.js";
16
+ import "./chunk-XIKSGUMQ.js";
17
+ import "./chunk-JLXXUEAM.js";
18
+ import "./chunk-7Z53MLQP.js";
19
+ import "./chunk-LM3W7YOM.js";
20
+ import "./chunk-IPKCM55K.js";
21
+ import "./chunk-AINKLKDN.js";
22
+ import "./chunk-XEQQJBBO.js";
23
+ import "./chunk-RRTMPSQR.js";
24
+ import "./chunk-RQORQN2V.js";
25
+ import "./chunk-DNCLQPOM.js";
26
+ import "./chunk-TTF5DP4V.js";
27
+ import "./chunk-L72WUJAS.js";
28
+ import "./chunk-5JKTVAXX.js";
29
+ import "./chunk-QPPOIWPY.js";
30
+ import "./chunk-S4UUN6LD.js";
31
+ import "./chunk-Y5E2WNWB.js";
32
+ import "./chunk-S6JG4YUH.js";
33
+ import "./chunk-ZVVMGPBJ.js";
34
+ export {
35
+ SCHEMA_DIALECT,
36
+ commandContract,
37
+ commandPathOf,
38
+ findCommand,
39
+ outputOf
40
+ };