@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
@@ -12,10 +12,31 @@ import {
12
12
  refuseWriteBeforeConnecting,
13
13
  registerPrompts,
14
14
  syncsFirst
15
- } from "./chunk-LXZ66MCH.js";
15
+ } from "./chunk-BHZUPOQY.js";
16
+ import {
17
+ skillResources
18
+ } from "./chunk-PLRUUXK7.js";
19
+ import {
20
+ StdioServerTransport,
21
+ answeredWire,
22
+ serveStdio
23
+ } from "./chunk-AF7DANIR.js";
16
24
  import {
17
25
  stdinFieldOf
18
- } from "./chunk-X2M6NIQG.js";
26
+ } from "./chunk-HPZRUY6S.js";
27
+ import {
28
+ connectedFor
29
+ } from "./chunk-K4X5ZHI2.js";
30
+ import {
31
+ wholeList
32
+ } from "./chunk-ODPU3II6.js";
33
+ import {
34
+ runCommandForAgent,
35
+ toolsFromCommands
36
+ } from "./chunk-2HYGCLKN.js";
37
+ import {
38
+ instructions
39
+ } from "./chunk-B3EH22CO.js";
19
40
  import {
20
41
  BinaryResource,
21
42
  Picture,
@@ -30,50 +51,39 @@ import {
30
51
  outcomeOf,
31
52
  outputOf,
32
53
  registerCommands,
33
- runCommandForAgent,
34
54
  surfaceCommands,
35
55
  tierOf,
36
56
  tool,
37
- toolKey,
38
- toolsFromCommands
39
- } from "./chunk-Q2OLOMHL.js";
40
- import {
41
- agentJson,
42
- skillResources
43
- } from "./chunk-B3MANLNK.js";
57
+ toolKey
58
+ } from "./chunk-OJIJVOOA.js";
44
59
  import {
45
- StdioServerTransport,
46
- answeredWire,
47
- callerOf,
48
- callingAgent,
49
- serveStdio
50
- } from "./chunk-4W6BMH45.js";
60
+ agentJson
61
+ } from "./chunk-AVUMH42T.js";
51
62
  import {
52
- connectedFor
53
- } from "./chunk-3WLYWRGG.js";
54
- import {
55
- capability,
56
- dateWindow,
57
63
  guardFor,
58
64
  imageSize,
59
65
  lackedNeed,
60
66
  servicesFor,
61
- storedDeps,
62
- wholeList
63
- } from "./chunk-VOH7S5M4.js";
67
+ storedDeps
68
+ } from "./chunk-E4FAMU2S.js";
64
69
  import {
65
- instructions
66
- } from "./chunk-FKA7DOCK.js";
70
+ callerOf,
71
+ callingAgent
72
+ } from "./chunk-7VHBS5BJ.js";
73
+ import {
74
+ capability,
75
+ dateWindow
76
+ } from "./chunk-M763RNWP.js";
67
77
  import {
68
78
  McpServer,
69
79
  ResourceTemplate
70
- } from "./chunk-5D4AEUVA.js";
80
+ } from "./chunk-PL5P7UKW.js";
71
81
  import {
72
82
  mcpHttpMarker
73
- } from "./chunk-O55RWNSH.js";
83
+ } from "./chunk-A6UFH3QU.js";
74
84
  import {
75
85
  findCommand
76
- } from "./chunk-NWHEHV3K.js";
86
+ } from "./chunk-EMOVVERN.js";
77
87
  import {
78
88
  DEFAULT_OUTPUT_BYTES,
79
89
  changesAuthorityAt,
@@ -88,35 +98,35 @@ import {
88
98
  rootOf2 as rootOf,
89
99
  sealed,
90
100
  snakeKeys
91
- } from "./chunk-7ELMWE3P.js";
101
+ } from "./chunk-PHXOL5HZ.js";
92
102
  import {
93
103
  withCaller
94
- } from "./chunk-PVKF24ZW.js";
104
+ } from "./chunk-FIVD4HM4.js";
95
105
  import {
96
106
  openStore,
97
107
  pdfPreviewLimits
98
- } from "./chunk-36ITRDYY.js";
108
+ } from "./chunk-7LQRXVQ3.js";
99
109
  import {
100
110
  typedCommand
101
- } from "./chunk-CLAN3FES.js";
111
+ } from "./chunk-IBTMK5KD.js";
102
112
  import {
103
113
  isCliFailure
104
- } from "./chunk-UUMUL4L3.js";
114
+ } from "./chunk-DW23LM47.js";
105
115
  import {
106
116
  warmEmbedders
107
- } from "./chunk-E52JAS35.js";
117
+ } from "./chunk-BAUK2MD5.js";
108
118
  import {
109
119
  fetchesAt,
110
120
  levelFor,
111
121
  readKeysForCommand
112
- } from "./chunk-2VGD63G6.js";
122
+ } from "./chunk-3TEFE6YU.js";
113
123
  import {
114
124
  timezoneOf
115
- } from "./chunk-5K7QLJMM.js";
125
+ } from "./chunk-LT5KE44Q.js";
116
126
  import {
117
127
  errorObjectOf,
118
128
  mcpErrorResult
119
- } from "./chunk-TOSCB4SO.js";
129
+ } from "./chunk-J5P5VSRG.js";
120
130
  import {
121
131
  description,
122
132
  integer,
@@ -131,19 +141,19 @@ import {
131
141
  regex,
132
142
  strictObject,
133
143
  string
134
- } from "./chunk-MVA5HVKL.js";
144
+ } from "./chunk-S4UUN6LD.js";
135
145
  import {
136
146
  CliError,
137
147
  visibleControls
138
- } from "./chunk-DB2XKHI4.js";
148
+ } from "./chunk-BUGROVF3.js";
139
149
  import {
140
150
  __name
141
151
  } from "./chunk-ZVVMGPBJ.js";
142
152
 
143
- // 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/mcp/server.js
153
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/mcp/server.js
144
154
  import { randomUUID } from "node:crypto";
145
155
 
146
- // 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/mcp/agent-log.js
156
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
147
157
  var agentLog = /* @__PURE__ */ __name((open) => {
148
158
  let held;
149
159
  return {
@@ -162,7 +172,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
162
172
  };
163
173
  }, "agentLog");
164
174
 
165
- // 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/mcp/resources.js
175
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/mcp/resources.js
166
176
  var LISTED = 100;
167
177
  var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
168
178
  server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
@@ -200,7 +210,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
200
210
  });
201
211
  }, "registerResources");
202
212
 
203
- // 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/mcp/session.js
213
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/mcp/session.js
204
214
  var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
205
215
  var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
206
216
  var MessengerSession = class {
@@ -275,7 +285,7 @@ var MessengerSession = class {
275
285
  }
276
286
  };
277
287
 
278
- // 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/mcp/tools/attachments.js
288
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
279
289
  var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
280
290
  const _command = messenger.app.command;
281
291
  return {
@@ -329,7 +339,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
329
339
  };
330
340
  }, "attachmentsTools");
331
341
 
332
- // 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/mcp/tools/messages-photo.js
342
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
333
343
  var PHOTO_LIMIT = 512 * 1024;
334
344
  var IMAGE_TYPES = [
335
345
  ["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
@@ -385,7 +395,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
385
395
  return new Uint8Array(Buffer.concat(chunks));
386
396
  }, "readUpTo");
387
397
 
388
- // 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/mcp/tools/stats.js
398
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
389
399
  var statsTools = /* @__PURE__ */ __name((messenger) => ({
390
400
  stats_charts: tool({
391
401
  title: "A chart from a chat's statistics",
@@ -422,14 +432,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
422
432
  })
423
433
  }), "statsTools");
424
434
 
425
- // 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/mcp/tools.js
435
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/mcp/tools.js
426
436
  var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
427
437
  ...messagesPhotoTools(messenger),
428
438
  ...attachmentsTools(messenger),
429
439
  ...statsTools(messenger)
430
440
  }).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
431
441
 
432
- // 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/mcp/server.js
442
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/mcp/server.js
433
443
  var PER_RUN = /* @__PURE__ */ new Set([
434
444
  "streams",
435
445
  "stdin",
@@ -745,7 +755,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
745
755
  }, "serveOverStdio");
746
756
  var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
747
757
  const { session, embedders, build, log } = createServer(command, context, messenger, options);
748
- const { serveOverHttp } = await import("./serve-DNU43ND6.js");
758
+ const { serveOverHttp } = await import("./serve-4UJ3R5IP.js");
749
759
  const appName = messenger.app.command;
750
760
  const appEnvPrefix = messenger.app.envPrefix;
751
761
  const listening = await serveOverHttp(build, {