@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.
- package/CHANGELOG.md +36 -0
- package/contracts/wirecat.json +2 -1
- package/dist/bin/hubspot.js +2 -2
- package/dist/bundle/agent-NMSIVLX7.js +41 -0
- package/dist/bundle/{all-profiles-HFVXPMF6.js → all-profiles-EMBBR5CW.js} +11 -11
- package/dist/bundle/{anthropic-VE6WR6IN.js → anthropic-AS2MTXO3.js} +5 -5
- package/dist/bundle/{app-server-GZ4DCQK7.js → app-server-WZWKHDLK.js} +70 -68
- package/dist/bundle/{bun-2DHMKD34.js → bun-OPDGMZZQ.js} +2 -2
- package/dist/bundle/{bun-sqlite-T5XTYL7L.js → bun-sqlite-NBAY7FR2.js} +6 -6
- package/dist/bundle/{chunk-AKSWXRIU.js → chunk-2JHVQMVC.js} +1 -1
- package/dist/bundle/{chunk-UCGZRZJA.js → chunk-2XBDILVW.js} +1 -1
- package/dist/bundle/{chunk-3YTTWJKL.js → chunk-3HC5F3P7.js} +1 -1
- package/dist/bundle/{chunk-J4FXBF44.js → chunk-3YM4B2GT.js} +1 -1
- package/dist/bundle/{chunk-J76CMNWQ.js → chunk-4N7PP76S.js} +1 -1
- package/dist/bundle/{chunk-X2QRCFGJ.js → chunk-4NLZXDXP.js} +4 -4
- package/dist/bundle/{chunk-2K5BAY32.js → chunk-5JKTVAXX.js} +19 -19
- package/dist/bundle/{chunk-PR7ZDMGF.js → chunk-5XYI75HH.js} +3 -3
- package/dist/bundle/{chunk-EB53G4HO.js → chunk-6TD3DCWC.js} +2 -2
- package/dist/bundle/{chunk-K4Y2ZWOO.js → chunk-7SV76BVS.js} +3 -3
- package/dist/bundle/{chunk-PDVMYIBP.js → chunk-7T5BFWZI.js} +14450 -12008
- package/dist/bundle/{chunk-5WDNG4QE.js → chunk-7Z53MLQP.js} +7 -7
- package/dist/bundle/{chunk-RLK2EGQD.js → chunk-AINKLKDN.js} +29 -16
- package/dist/bundle/{chunk-E27NRLJZ.js → chunk-BGWQIFAS.js} +38 -24
- package/dist/bundle/{chunk-MSQGZHKM.js → chunk-CVAHCGE6.js} +27 -26
- package/dist/bundle/{chunk-6DABKZYH.js → chunk-D7NSIQBI.js} +125 -64
- package/dist/bundle/{chunk-THGAVPRA.js → chunk-D7OZWLJU.js} +11 -11
- package/dist/bundle/{chunk-TCSVW7BA.js → chunk-DNCLQPOM.js} +1 -1
- package/dist/bundle/{chunk-WASBOYI2.js → chunk-DPV53EZC.js} +4 -4
- package/dist/bundle/{chunk-QK5HQUHB.js → chunk-EVUMQKV7.js} +3 -3
- package/dist/bundle/{chunk-5O5WYSSO.js → chunk-FRF32QVB.js} +711 -633
- package/dist/bundle/{chunk-H4W2OO35.js → chunk-GGMAIIVE.js} +1 -1
- package/dist/bundle/{chunk-I75ON7VM.js → chunk-GIMHJ7HA.js} +8 -8
- package/dist/bundle/{chunk-5NIIXJV3.js → chunk-GXDD4QWH.js} +2 -2
- package/dist/bundle/{chunk-ZERQSELP.js → chunk-H6AH45GE.js} +198 -164
- package/dist/bundle/{chunk-DIKUPU3T.js → chunk-HZ3C4WXD.js} +3 -3
- package/dist/bundle/{chunk-TXO4CJW3.js → chunk-IA77VHME.js} +13 -9
- package/dist/bundle/{chunk-LTU4BQ4S.js → chunk-IA7LLLEI.js} +3 -3
- package/dist/bundle/{chunk-3HS7JTPI.js → chunk-IGNMDKP7.js} +14 -14
- package/dist/bundle/{chunk-G6LDK6DJ.js → chunk-IPKCM55K.js} +7 -7
- package/dist/bundle/{chunk-2I2KBCS6.js → chunk-JBZYHRUN.js} +5 -5
- package/dist/bundle/{chunk-M3LRSN6J.js → chunk-JG6LCSEX.js} +13 -13
- package/dist/bundle/{chunk-HZIGGAC7.js → chunk-JLXXUEAM.js} +2 -2
- package/dist/bundle/{chunk-T4MZJMEJ.js → chunk-JPONKBEQ.js} +23 -23
- package/dist/bundle/{chunk-5ILCAAY4.js → chunk-K5QWV6IX.js} +35 -35
- package/dist/bundle/{chunk-LHY5XGIR.js → chunk-KNL7CKF6.js} +179 -108
- package/dist/bundle/{chunk-JFLKTYH5.js → chunk-KVTNYRDO.js} +6 -6
- package/dist/bundle/chunk-KXJ3JEDH.js +2 -0
- package/dist/bundle/{chunk-CU76ZACK.js → chunk-L45WN3AR.js} +3 -3
- package/dist/bundle/{chunk-2VUIJ5XB.js → chunk-L72WUJAS.js} +2 -2
- package/dist/bundle/{chunk-GWXTVO43.js → chunk-LCUWAH4L.js} +7 -7
- package/dist/bundle/{chunk-4UEYVM46.js → chunk-LKH3UKLO.js} +4 -4
- package/dist/bundle/{chunk-CTN4DW2F.js → chunk-LM3W7YOM.js} +4 -4
- package/dist/bundle/{chunk-3TLNO3VM.js → chunk-LZPKBN3C.js} +2 -2
- package/dist/bundle/{chunk-EJZIEBAR.js → chunk-LZPSIYRC.js} +8 -8
- package/dist/bundle/{chunk-KDW7B7AR.js → chunk-MYXUJCJD.js} +5 -5
- package/dist/bundle/{chunk-PZ3QJDTD.js → chunk-NA2B6PYR.js} +5 -5
- package/dist/bundle/{chunk-TT75CEYZ.js → chunk-NB7EOAUZ.js} +1 -1
- package/dist/bundle/{chunk-XRFYVVFU.js → chunk-NISH4UXM.js} +2 -2
- package/dist/bundle/{chunk-VR2CJFVL.js → chunk-NQVMPJAQ.js} +8 -8
- package/dist/bundle/{chunk-J2SCELII.js → chunk-NVR6M4TF.js} +16 -16
- package/dist/bundle/{chunk-GR4HZBWO.js → chunk-O4AUYEGC.js} +2 -2
- package/dist/bundle/{chunk-TRLV5NWZ.js → chunk-OGVSGXPI.js} +640 -506
- package/dist/bundle/{chunk-3W5R3XAH.js → chunk-OUYXUGUX.js} +8 -8
- package/dist/bundle/chunk-P657KN5N.js +122 -0
- package/dist/bundle/{chunk-GHXTNKX2.js → chunk-P7G5HFY3.js} +2 -2
- package/dist/bundle/{chunk-BU5CEMUH.js → chunk-PFYPJUWX.js} +19 -15
- package/dist/bundle/{chunk-Q6AC7WLD.js → chunk-PLPBEWD4.js} +3 -3
- package/dist/bundle/{chunk-HYDXA624.js → chunk-PMQ7GP6X.js} +6 -6
- package/dist/bundle/{chunk-JDCFHZNU.js → chunk-Q32ZDGS2.js} +8 -8
- package/dist/bundle/{chunk-TAPQZYXY.js → chunk-Q7ICVP25.js} +1 -1
- package/dist/bundle/{chunk-WE4JSHIG.js → chunk-QLYSNL47.js} +6 -6
- package/dist/bundle/{chunk-H5HBZCEJ.js → chunk-QPPOIWPY.js} +8 -8
- package/dist/bundle/{chunk-GEJI27GN.js → chunk-R2C5WDQV.js} +6 -6
- package/dist/bundle/{chunk-UVGJL753.js → chunk-RQORQN2V.js} +61 -61
- package/dist/bundle/{chunk-YIH2A2PQ.js → chunk-RRTMPSQR.js} +2 -2
- package/dist/bundle/{chunk-AP3CWDRK.js → chunk-S6JG4YUH.js} +2 -2
- package/dist/bundle/{chunk-MJ24YFXZ.js → chunk-TTF5DP4V.js} +7 -7
- package/dist/bundle/{chunk-745FMNI5.js → chunk-TXDR6YSF.js} +1 -1
- package/dist/bundle/{chunk-3WG4MTQI.js → chunk-TY7NDMFY.js} +1 -1
- package/dist/bundle/{chunk-ID4GJFE7.js → chunk-U5CFLBNX.js} +8 -8
- package/dist/bundle/{chunk-ZKTYTOF4.js → chunk-UDSL3MUU.js} +8 -8
- package/dist/bundle/{chunk-RLNPTES2.js → chunk-V57E7PJQ.js} +4 -4
- package/dist/bundle/{chunk-67YPTVGP.js → chunk-V7IF2K3P.js} +3 -3
- package/dist/bundle/{chunk-NQOQG7L3.js → chunk-VB7FZOYX.js} +1 -1
- package/dist/bundle/{chunk-KKMOKSS5.js → chunk-VNMEE4ZZ.js} +3 -3
- package/dist/bundle/{chunk-UZ2CL435.js → chunk-VZ5PPYDG.js} +1 -1
- package/dist/bundle/chunk-WOPVBRPV.js +29 -0
- package/dist/bundle/{chunk-R26OEZOL.js → chunk-XEQQJBBO.js} +1 -1
- package/dist/bundle/chunk-XIKSGUMQ.js +1293 -0
- package/dist/bundle/{chunk-YDG5FIQB.js → chunk-XK5BAPHF.js} +7 -7
- package/dist/bundle/{chunk-QH47G73D.js → chunk-XQGN2D44.js} +3 -3
- package/dist/bundle/{chunk-5VTKBGPW.js → chunk-YKSH7BY2.js} +121 -36
- package/dist/bundle/{chunk-BM5F2ZNI.js → chunk-YWDFYQOU.js} +2 -2
- package/dist/bundle/{chunk-5IPB5WLB.js → chunk-ZJEENQRH.js} +12 -12
- package/dist/bundle/{chunk-24HPBWKZ.js → chunk-ZZOCAZSZ.js} +3 -3
- package/dist/bundle/command-contract-BGTXROZA.js +40 -0
- package/dist/bundle/{command-server-entry-H6IAJNOF.js → command-server-entry-PDLRF2RV.js} +28 -28
- package/dist/bundle/{decode-TR2EC46M.js → decode-26M7XE2B.js} +5 -5
- package/dist/bundle/{dispatch-B2EP6DDT.js → dispatch-2FTOHA5D.js} +8 -8
- package/dist/bundle/{echarts-7OP7I5B2.js → echarts-O3TNDAXJ.js} +2 -2
- package/dist/bundle/{embed-FLGS4LN7.js → embed-XJLEAWXE.js} +6 -6
- package/dist/bundle/{embedder-JIXQXCP3.js → embedder-OEL6PXEH.js} +9 -9
- package/dist/bundle/{failure-AOACEURF.js → failure-OHIXWTR6.js} +2 -2
- package/dist/bundle/{first-run-XJ2NWIK2.js → first-run-J2T4IKK4.js} +12 -12
- package/dist/bundle/first-screen-Q5KYFT3R.js +41 -0
- package/dist/bundle/hubspot.js +27 -27
- package/dist/bundle/{instructions-PYCYV6QE.js → instructions-AMH5RWVJ.js} +1 -1
- package/dist/bundle/{mcp-ZNULRPZ4.js → mcp-5HFPWC3W.js} +2 -2
- package/dist/bundle/meeting-combined-5H6VGK6O.js +25 -0
- package/dist/bundle/{meeting-model-2PA5WJY5.js → meeting-model-USLGH5SE.js} +11 -11
- package/dist/bundle/{meeting-semantic-5IH63QFV.js → meeting-semantic-Q6XYFYUD.js} +6 -6
- package/dist/bundle/{node-6GTNIVBM.js → node-EGMCBAO7.js} +2 -2
- package/dist/bundle/{node-sqlite-FBCEHPNT.js → node-sqlite-2SWWGW6H.js} +7 -7
- package/dist/bundle/{oauth-BFP4SCL5.js → oauth-V5LGTXF2.js} +7 -7
- package/dist/bundle/{open-MLU4MHGO.js → open-25EKOTZA.js} +5 -5
- package/dist/bundle/{openai-R7WJI6SO.js → openai-CH37GSZS.js} +15 -15
- package/dist/bundle/{process-NMNQLJHZ.js → process-SGHEN6MQ.js} +1 -1
- package/dist/bundle/{program-Z735HPFG.js → program-G4OZFVUI.js} +212 -117
- package/dist/bundle/{prompt-A6RM55Q4.js → prompt-2VSPX5S7.js} +5 -5
- package/dist/bundle/public-WB7IWBMR.js +196 -0
- package/dist/bundle/{recognize-ORRDV45M.js → recognize-NA5XUFKK.js} +4 -4
- package/dist/bundle/{remote-UF3WSC4X.js → remote-NRJOX6XW.js} +9 -9
- package/dist/bundle/{rerank-ZSJORUGH.js → rerank-NG3XMFCV.js} +7 -7
- package/dist/bundle/{schemas-EXBNVPMI.js → schemas-SKF4MZBJ.js} +1 -1
- package/dist/bundle/{serve-4KBJ6SIA.js → serve-MR67OBED.js} +9 -9
- package/dist/bundle/server-LFNGSVUQ.js +88 -0
- package/dist/bundle/{server-IFK4S6LJ.js → server-NZPHVRS6.js} +62 -60
- package/dist/bundle/{source-PBCQAG4C.js → source-P2KVDTJ5.js} +75 -73
- package/dist/bundle/{sqlite-runtime-XPDUWOPG.js → sqlite-runtime-V5U6F5EB.js} +6 -6
- package/dist/bundle/{state-4M26H7NL.js → state-L4MWAATO.js} +6 -6
- package/dist/bundle/store-ARASPKTV.js +34 -0
- package/dist/bundle/{store-ICTY3RIF.js → store-JFIZLDKO.js} +22 -22
- package/dist/bundle/{store-3W4ZOOIB.js → store-SUHY3G2X.js} +27 -24
- package/dist/bundle/store-maintenance-command-L2FXCEGU.js +75 -0
- package/dist/bundle/surface-NQK7CQ33.js +74 -0
- package/dist/bundle/writer-TYTMOXXA.js +88 -0
- package/dist/config.d.ts +5 -38
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js.map +1 -1
- package/dist/crm/records.d.ts.map +1 -1
- package/dist/crm/records.js +3 -0
- package/dist/crm/records.js.map +1 -1
- package/dist/crm/source.js +1 -1
- package/dist/crm/source.js.map +1 -1
- package/dist/generated/definitions.d.ts +1 -1
- package/dist/generated/definitions.d.ts.map +1 -1
- package/dist/generated/manifest.d.ts +1 -1
- package/dist/generated/manifest.d.ts.map +1 -1
- package/dist/generated/manifest.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/hubspot-cli/SKILL.md +10 -3
- package/dist/bundle/agent-XB35QVOK.js +0 -40
- package/dist/bundle/chunk-HX2BE7DO.js +0 -40
- package/dist/bundle/chunk-V7N2K5OT.js +0 -1269
- package/dist/bundle/command-contract-5FXCYQUS.js +0 -40
- package/dist/bundle/first-screen-U73G5CMM.js +0 -40
- package/dist/bundle/meeting-combined-IHTM5H5B.js +0 -25
- package/dist/bundle/server-MNUAZWTN.js +0 -86
- package/dist/bundle/store-CDY2PW6J.js +0 -34
- package/dist/bundle/store-maintenance-command-Y7TC3I43.js +0 -73
- package/dist/bundle/surface-4LNDJZD2.js +0 -72
- package/dist/bundle/writer-WGHWQTC2.js +0 -86
|
@@ -12,31 +12,31 @@ import {
|
|
|
12
12
|
refuseWriteBeforeConnecting,
|
|
13
13
|
registerPrompts,
|
|
14
14
|
syncsFirst
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-CVAHCGE6.js";
|
|
16
16
|
import {
|
|
17
17
|
skillResources
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-QLYSNL47.js";
|
|
19
19
|
import {
|
|
20
20
|
StdioServerTransport,
|
|
21
21
|
answeredWire,
|
|
22
22
|
serveStdio
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-VB7FZOYX.js";
|
|
24
24
|
import {
|
|
25
25
|
stdinFieldOf
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-Q7ICVP25.js";
|
|
27
27
|
import {
|
|
28
28
|
connectedFor
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-IGNMDKP7.js";
|
|
30
30
|
import {
|
|
31
31
|
wholeList
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-NQVMPJAQ.js";
|
|
33
33
|
import {
|
|
34
34
|
runCommandForAgent,
|
|
35
35
|
toolsFromCommands
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-YKSH7BY2.js";
|
|
37
37
|
import {
|
|
38
38
|
instructions
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-2XBDILVW.js";
|
|
40
40
|
import {
|
|
41
41
|
BinaryResource,
|
|
42
42
|
Picture,
|
|
@@ -55,35 +55,35 @@ import {
|
|
|
55
55
|
tierOf,
|
|
56
56
|
tool,
|
|
57
57
|
toolKey
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-NVR6M4TF.js";
|
|
59
59
|
import {
|
|
60
60
|
agentJson
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-U5CFLBNX.js";
|
|
62
62
|
import {
|
|
63
63
|
guardFor,
|
|
64
64
|
imageSize,
|
|
65
65
|
lackedNeed,
|
|
66
66
|
servicesFor,
|
|
67
67
|
storedDeps
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-FRF32QVB.js";
|
|
69
69
|
import {
|
|
70
70
|
callerOf,
|
|
71
71
|
callingAgent
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-GXDD4QWH.js";
|
|
73
73
|
import {
|
|
74
74
|
capability,
|
|
75
75
|
dateWindow
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-PFYPJUWX.js";
|
|
77
77
|
import {
|
|
78
78
|
McpServer,
|
|
79
79
|
ResourceTemplate
|
|
80
80
|
} from "./chunk-PL5P7UKW.js";
|
|
81
81
|
import {
|
|
82
82
|
mcpHttpMarker
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-V57E7PJQ.js";
|
|
84
84
|
import {
|
|
85
85
|
findCommand
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-JBZYHRUN.js";
|
|
87
87
|
import {
|
|
88
88
|
DEFAULT_OUTPUT_BYTES,
|
|
89
89
|
changesAuthorityAt,
|
|
@@ -98,35 +98,35 @@ import {
|
|
|
98
98
|
rootOf2 as rootOf,
|
|
99
99
|
sealed,
|
|
100
100
|
snakeKeys
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-H6AH45GE.js";
|
|
102
102
|
import {
|
|
103
103
|
withCaller
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-GIMHJ7HA.js";
|
|
105
105
|
import {
|
|
106
106
|
openStore,
|
|
107
107
|
pdfPreviewLimits
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-7T5BFWZI.js";
|
|
109
109
|
import {
|
|
110
110
|
typedCommand
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-XIKSGUMQ.js";
|
|
112
112
|
import {
|
|
113
113
|
isCliFailure
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-JLXXUEAM.js";
|
|
115
115
|
import {
|
|
116
116
|
warmEmbedders
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-KVTNYRDO.js";
|
|
118
118
|
import {
|
|
119
119
|
fetchesAt,
|
|
120
120
|
levelFor,
|
|
121
121
|
readKeysForCommand
|
|
122
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-IPKCM55K.js";
|
|
123
123
|
import {
|
|
124
124
|
timezoneOf
|
|
125
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-RQORQN2V.js";
|
|
126
126
|
import {
|
|
127
127
|
errorObjectOf,
|
|
128
128
|
mcpErrorResult
|
|
129
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-QPPOIWPY.js";
|
|
130
130
|
import {
|
|
131
131
|
description,
|
|
132
132
|
integer,
|
|
@@ -145,15 +145,15 @@ import {
|
|
|
145
145
|
import {
|
|
146
146
|
CliError,
|
|
147
147
|
visibleControls
|
|
148
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-S6JG4YUH.js";
|
|
149
149
|
import {
|
|
150
150
|
__name
|
|
151
151
|
} from "./chunk-ZVVMGPBJ.js";
|
|
152
152
|
|
|
153
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
153
|
+
// 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/server.js
|
|
154
154
|
import { randomUUID } from "node:crypto";
|
|
155
155
|
|
|
156
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
156
|
+
// 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-log.js
|
|
157
157
|
var agentLog = /* @__PURE__ */ __name((open) => {
|
|
158
158
|
let held;
|
|
159
159
|
return {
|
|
@@ -172,7 +172,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
|
|
|
172
172
|
};
|
|
173
173
|
}, "agentLog");
|
|
174
174
|
|
|
175
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
175
|
+
// 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/resources.js
|
|
176
176
|
var LISTED = 100;
|
|
177
177
|
var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
|
|
178
178
|
server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
|
|
@@ -210,7 +210,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
|
|
|
210
210
|
});
|
|
211
211
|
}, "registerResources");
|
|
212
212
|
|
|
213
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
213
|
+
// 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/session.js
|
|
214
214
|
var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
|
|
215
215
|
var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
|
|
216
216
|
var MessengerSession = class {
|
|
@@ -285,7 +285,7 @@ var MessengerSession = class {
|
|
|
285
285
|
}
|
|
286
286
|
};
|
|
287
287
|
|
|
288
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
288
|
+
// 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/tools/attachments.js
|
|
289
289
|
var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
290
290
|
const _command = messenger.app.command;
|
|
291
291
|
return {
|
|
@@ -339,7 +339,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
|
339
339
|
};
|
|
340
340
|
}, "attachmentsTools");
|
|
341
341
|
|
|
342
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
342
|
+
// 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/tools/messages-photo.js
|
|
343
343
|
var PHOTO_LIMIT = 512 * 1024;
|
|
344
344
|
var IMAGE_TYPES = [
|
|
345
345
|
["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
|
|
@@ -395,7 +395,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
|
|
|
395
395
|
return new Uint8Array(Buffer.concat(chunks));
|
|
396
396
|
}, "readUpTo");
|
|
397
397
|
|
|
398
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
398
|
+
// 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/tools/stats.js
|
|
399
399
|
var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
400
400
|
stats_charts: tool({
|
|
401
401
|
title: "A chart from a chat's statistics",
|
|
@@ -432,14 +432,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
|
432
432
|
})
|
|
433
433
|
}), "statsTools");
|
|
434
434
|
|
|
435
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
435
|
+
// 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/tools.js
|
|
436
436
|
var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
|
|
437
437
|
...messagesPhotoTools(messenger),
|
|
438
438
|
...attachmentsTools(messenger),
|
|
439
439
|
...statsTools(messenger)
|
|
440
440
|
}).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
|
|
441
441
|
|
|
442
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
442
|
+
// 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/server.js
|
|
443
443
|
var PER_RUN = /* @__PURE__ */ new Set([
|
|
444
444
|
"streams",
|
|
445
445
|
"stdin",
|
|
@@ -755,7 +755,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
|
|
|
755
755
|
}, "serveOverStdio");
|
|
756
756
|
var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
|
|
757
757
|
const { session, embedders, build, log } = createServer(command, context, messenger, options);
|
|
758
|
-
const { serveOverHttp } = await import("./serve-
|
|
758
|
+
const { serveOverHttp } = await import("./serve-MR67OBED.js");
|
|
759
759
|
const appName = messenger.app.command;
|
|
760
760
|
const appEnvPrefix = messenger.app.envPrefix;
|
|
761
761
|
const listening = await serveOverHttp(build, {
|