@wirecat/drive-cli 0.61.0 → 0.63.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/dist/bin/drive.js +2 -2
- package/dist/browse.d.ts +20 -0
- package/dist/browse.d.ts.map +1 -0
- package/dist/browse.js +146 -0
- package/dist/browse.js.map +1 -0
- package/dist/bundle/{all-profiles-H4L3Z5UM.js → all-profiles-GZJS3UKC.js} +13 -14
- package/dist/bundle/{anthropic-PPGFISVP.js → anthropic-RGV3WXX5.js} +9 -9
- package/dist/bundle/{app-server-YXVK2FUZ.js → app-server-AA2PJ7PV.js} +57 -55
- package/dist/bundle/{bun-DKZAL6ML.js → bun-OXZYIA3R.js} +2 -2
- package/dist/bundle/{bun-sqlite-MTZY36QK.js → bun-sqlite-D45NSDM3.js} +8 -8
- package/dist/bundle/{chunk-KV4267S4.js → chunk-27YUUGXQ.js} +1 -1
- package/dist/bundle/{chunk-6IBM4Z3V.js → chunk-2HF2MRXI.js} +1 -1
- package/dist/bundle/{chunk-HGOYQUT7.js → chunk-2NIC72HH.js} +4 -2
- package/dist/bundle/{chunk-XZBR2O63.js → chunk-2TDUGC5D.js} +1501 -781
- package/dist/bundle/{chunk-DEPMQHXQ.js → chunk-2TFXK3R4.js} +4 -4
- package/dist/bundle/{chunk-JVBLXSAA.js → chunk-33MGFUED.js} +652 -249
- package/dist/bundle/{chunk-S4YK6TTG.js → chunk-3BZRKLJ6.js} +13 -13
- package/dist/bundle/{chunk-6SUGANRJ.js → chunk-3HK5WMI5.js} +6 -6
- package/dist/bundle/{chunk-YWIU4HOT.js → chunk-3QINVLZI.js} +1 -1
- package/dist/bundle/{chunk-XYCCGGKN.js → chunk-44SBK6KB.js} +1207 -643
- package/dist/bundle/{chunk-LARQTWIL.js → chunk-4CIZWCXV.js} +1 -1
- package/dist/bundle/{chunk-WZ5XK74U.js → chunk-4OSSOWDM.js} +1 -1
- package/dist/bundle/{chunk-XGNC5OJG.js → chunk-4S4JMW6I.js} +1 -1
- package/dist/bundle/{chunk-WIU733D2.js → chunk-534OBX5Y.js} +1 -1
- package/dist/bundle/{chunk-UO2IUDVK.js → chunk-5PPL7JDM.js} +2 -2
- package/dist/bundle/{chunk-OFFA54TW.js → chunk-6EY46GAN.js} +2 -2
- package/dist/bundle/{chunk-RFRCOAWS.js → chunk-6KQJSFYF.js} +22 -22
- package/dist/bundle/{chunk-6DN4VPA7.js → chunk-6MQSQ4LX.js} +33 -31
- package/dist/bundle/{chunk-NIX2MWHZ.js → chunk-7EMQ26BA.js} +39 -25
- package/dist/bundle/{chunk-X2CXW4HM.js → chunk-ABYGSJZ4.js} +7 -7
- package/dist/bundle/{chunk-I26VL4W7.js → chunk-AEX37ETW.js} +2 -2
- package/dist/bundle/{chunk-36CWGEVX.js → chunk-BKYMKVHT.js} +2 -2
- package/dist/bundle/{chunk-3WZH3WV3.js → chunk-CE2TJBLP.js} +3 -3
- package/dist/bundle/{chunk-YMBFZA3H.js → chunk-DJ3SDJZY.js} +8 -8
- package/dist/bundle/{chunk-DXPOVLQC.js → chunk-DJHLVUL6.js} +227 -90
- package/dist/bundle/{chunk-VPDAH7PJ.js → chunk-E4SDKMBJ.js} +59 -1
- package/dist/bundle/{chunk-NZ2EIZLX.js → chunk-EOOGWUTP.js} +10 -10
- package/dist/bundle/{chunk-VYXVPYA3.js → chunk-FEZF3TII.js} +6 -6
- package/dist/bundle/{chunk-Q4XVBKX4.js → chunk-FRIJUILO.js} +3 -3
- package/dist/bundle/{chunk-OLPJRD4S.js → chunk-FUITWY7O.js} +1 -1
- package/dist/bundle/{chunk-AM4RIWOZ.js → chunk-HZZCEQTH.js} +18 -4
- package/dist/bundle/{chunk-2RJA4BQB.js → chunk-J24ZFCWM.js} +39 -26
- package/dist/bundle/{chunk-QSGT4ZH4.js → chunk-J4DIHPZ6.js} +1 -1
- package/dist/bundle/{chunk-ZHYRHERD.js → chunk-L37LMMRJ.js} +2 -2
- package/dist/bundle/{chunk-XLFJLZJL.js → chunk-LMAVCYLQ.js} +22 -14
- package/dist/bundle/{chunk-E6J5YH2N.js → chunk-LZEOQW7S.js} +36 -36
- package/dist/bundle/{chunk-FE5JJXKA.js → chunk-MOTRI3SY.js} +2 -2
- package/dist/bundle/{chunk-PJTX2MOI.js → chunk-ND6LLYGF.js} +98 -81
- package/dist/bundle/{chunk-3I2D5TK2.js → chunk-NEFSGCVA.js} +10 -10
- package/dist/bundle/{chunk-OGNOQDWB.js → chunk-O2XOX4HB.js} +34 -10
- package/dist/bundle/{chunk-DCBFNBEB.js → chunk-OD4U7GUY.js} +20 -20
- package/dist/bundle/{chunk-BXR7BKM3.js → chunk-OTROVC4E.js} +1 -1
- package/dist/bundle/{chunk-UKOYQC5O.js → chunk-OXY6SSZG.js} +184 -29
- package/dist/bundle/{chunk-ZMNYK3FC.js → chunk-PDCCYHCH.js} +5 -5
- package/dist/bundle/{chunk-J5UDQD5S.js → chunk-PO5RQQIG.js} +5 -5
- package/dist/bundle/{chunk-PY7LKNOS.js → chunk-Q5DJTRKV.js} +2 -2
- package/dist/bundle/{chunk-E5EXJ2XS.js → chunk-QCKZ3GAA.js} +4 -4
- package/dist/bundle/{chunk-3SJQNS72.js → chunk-RKELRWH7.js} +5 -5
- package/dist/bundle/{chunk-6Y2FWJZ4.js → chunk-S4RXABDR.js} +3 -3
- package/dist/bundle/{chunk-BQMIDYBA.js → chunk-SXM6MHRR.js} +12 -12
- package/dist/bundle/chunk-TF23BZW5.js +64 -0
- package/dist/bundle/{chunk-N2RLJTIW.js → chunk-TWUH22Z5.js} +4 -4
- package/dist/bundle/chunk-UPOSDTPT.js +87 -0
- package/dist/bundle/{chunk-J4HQVHMN.js → chunk-UQLWMGSD.js} +5 -5
- package/dist/bundle/{chunk-K7LS3NGM.js → chunk-V3NVXIQR.js} +736 -230
- package/dist/bundle/{chunk-TKGAYKXW.js → chunk-VAUMOZU5.js} +228 -66
- package/dist/bundle/{chunk-BF6TQMNB.js → chunk-VJEOGKAN.js} +8 -10
- package/dist/bundle/{chunk-XGMDWIUP.js → chunk-VKPCONDQ.js} +4 -4
- package/dist/bundle/{chunk-73WSULMI.js → chunk-WYGWWHZP.js} +2 -2
- package/dist/bundle/{chunk-5W56YMQS.js → chunk-XDC3TWTL.js} +60 -51
- package/dist/bundle/{chunk-5W7D5H2R.js → chunk-XIUDS3OK.js} +1 -1
- package/dist/bundle/{chunk-3UPIJ7DW.js → chunk-XNVFKMVR.js} +21868 -4533
- package/dist/bundle/{chunk-O5CUFS7T.js → chunk-XR6ESRU6.js} +2 -2
- package/dist/bundle/{chunk-EPCJUL6M.js → chunk-Y6GNA7HE.js} +3 -3
- package/dist/bundle/{chunk-67HS46KM.js → chunk-YGU6ULU5.js} +12 -12
- package/dist/bundle/{chunk-HFM653T3.js → chunk-YIP7ELON.js} +768 -131
- package/dist/bundle/{chunk-3252WXOL.js → chunk-YUWPNG7B.js} +1 -1
- package/dist/bundle/{chunk-QR5VQXQ5.js → chunk-Z42YYLTS.js} +59 -37
- package/dist/bundle/{chunk-AWN22PJK.js → chunk-Z5KC7XBR.js} +3 -3
- package/dist/bundle/{chunk-ECEYAQGN.js → chunk-ZM5J6ZMB.js} +4 -2
- package/dist/bundle/{chunk-YPF6OS37.js → chunk-ZMOUUOT2.js} +1 -1
- package/dist/bundle/{chunk-CACYL36O.js → chunk-ZOJU7ZFI.js} +8 -8
- package/dist/bundle/command-contract-BRW3AP44.js +38 -0
- package/dist/bundle/{decode-62A3HGPW.js → decode-G5YEIPNC.js} +8 -8
- package/dist/bundle/{dispatch-IE7PBEQC.js → dispatch-GEFIXA6X.js} +9 -9
- package/dist/bundle/drive.js +11 -11
- package/dist/bundle/{echarts-BGBPRGR5.js → echarts-W2CWHNXR.js} +2 -2
- package/dist/bundle/{embed-J3IBVV2V.js → embed-OBFFPVF4.js} +9 -9
- package/dist/bundle/{embedder-QFPMDRT2.js → embedder-NGCBQHIG.js} +12 -12
- package/dist/bundle/entry-ET6HGM7A.js +22 -0
- package/dist/bundle/{failure-BKOGBMIC.js → failure-GV77W3CD.js} +4 -4
- package/dist/bundle/first-run-JG52UZVO.js +30 -0
- package/dist/bundle/first-screen-CIL3GFAA.js +36 -0
- package/dist/bundle/{google-RXM2XEPD.js → google-CIWUVJ5C.js} +13 -13
- package/dist/bundle/{google-api-NC65BZO4.js → google-api-Z3NSTBBR.js} +56 -57
- package/dist/bundle/grants-3S4RL3WB.js +104 -0
- package/dist/bundle/{identity-PI6F2GWA.js → identity-OM6GFZ7T.js} +6 -6
- package/dist/bundle/{instructions-6LPDSKAD.js → instructions-YQBQSYSS.js} +1 -1
- package/dist/bundle/{login-HTY7GT2S.js → login-7RYSDVN3.js} +62 -63
- package/dist/bundle/{mcp-PPVOM4SE.js → mcp-GWDA3HOA.js} +2 -2
- package/dist/bundle/{node-IB246NCQ.js → node-IVU33RL7.js} +2 -2
- package/dist/bundle/{node-sqlite-G2Y5SFJM.js → node-sqlite-SIH5BEW2.js} +9 -9
- package/dist/bundle/oauth-PT4JEHLL.js +22 -0
- package/dist/bundle/{open-WD4GFSJD.js → open-IAO2SNII.js} +8 -8
- package/dist/bundle/{openai-QVM4PMY7.js → openai-SGOUBHXP.js} +17 -17
- package/dist/bundle/{process-SWPJGPQC.js → process-BPBMV3AT.js} +1 -1
- package/dist/bundle/{program-WHYFAMXR.js → program-MYKKJ4F6.js} +231 -87
- package/dist/bundle/prompt-3ZM64DCB.js +17 -0
- package/dist/bundle/{reasons-Q34DQWB6.js → reasons-57J2D77K.js} +5 -5
- package/dist/bundle/{recognize-DM3YWHSE.js → recognize-A5C5RPB3.js} +7 -7
- package/dist/bundle/{remote-KXVWRK7J.js → remote-VWYFLRGO.js} +10 -10
- package/dist/bundle/{rerank-TINXM3MY.js → rerank-4NGQWREA.js} +10 -10
- package/dist/bundle/{serve-IY2WL656.js → serve-Y6LQTFH5.js} +12 -12
- package/dist/bundle/{server-VPY3OWPC.js → server-6AUHIIUA.js} +43 -44
- package/dist/bundle/server-PFHI35HA.js +69 -0
- package/dist/bundle/{services-PXNBOCOC.js → services-2W4J7EMW.js} +47 -32
- package/dist/bundle/{sqlite-runtime-5ZK2CV7Y.js → sqlite-runtime-P6BBDX2H.js} +9 -9
- package/dist/bundle/{start-LDVCN3DK.js → start-AFFA3LKM.js} +9 -7
- package/dist/bundle/{state-3MKTT3VS.js → state-PXKKXR3R.js} +9 -9
- package/dist/bundle/{store-4VQOT5IJ.js → store-CN6JEUC4.js} +28 -18
- package/dist/bundle/{store-7M4MSUJV.js → store-IVV2BAGZ.js} +78 -28
- package/dist/bundle/store-maintenance-command-MSY2QNEH.js +59 -0
- package/dist/bundle/tokens-P4LPNUFW.js +102 -0
- package/dist/commands/config.d.ts.map +1 -1
- package/dist/commands/config.js +5 -1
- package/dist/commands/config.js.map +1 -1
- package/dist/commands/folders.d.ts +2 -1
- package/dist/commands/folders.d.ts.map +1 -1
- package/dist/commands/folders.js +16 -3
- package/dist/commands/folders.js.map +1 -1
- package/dist/program.js +1 -1
- package/dist/program.js.map +1 -1
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +15 -6
- package/dist/tokens.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/chunk-BCWUDTYQ.js +0 -22
- package/dist/bundle/chunk-W767AUNR.js +0 -132
- package/dist/bundle/chunk-WUP2MJDN.js +0 -42
- package/dist/bundle/command-contract-T3EO5AYD.js +0 -39
- package/dist/bundle/entry-YQSYER66.js +0 -22
- package/dist/bundle/first-run-ZIFPVZAI.js +0 -30
- package/dist/bundle/first-screen-L5U26EY7.js +0 -37
- package/dist/bundle/grants-SEWUYYH3.js +0 -105
- package/dist/bundle/oauth-MWBKBI4T.js +0 -22
- package/dist/bundle/prompt-OVYCGZB7.js +0 -17
- package/dist/bundle/server-EMWVVT2C.js +0 -70
- package/dist/bundle/store-maintenance-command-NRATYBWD.js +0 -60
- package/dist/bundle/tokens-XUKLM3SL.js +0 -103
- /package/dist/bundle/{chunk-LU3WKZBA.js → chunk-ZQ3GWKDQ.js} +0 -0
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
registerPrompts,
|
|
14
14
|
stdinFieldOf,
|
|
15
15
|
syncsFirst
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-Z42YYLTS.js";
|
|
17
17
|
import {
|
|
18
18
|
BinaryResource,
|
|
19
19
|
Picture,
|
|
@@ -34,20 +34,20 @@ import {
|
|
|
34
34
|
tool,
|
|
35
35
|
toolKey,
|
|
36
36
|
toolsFromCommands
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-DJHLVUL6.js";
|
|
38
38
|
import {
|
|
39
39
|
agentJson,
|
|
40
40
|
skillResource
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-OXY6SSZG.js";
|
|
42
42
|
import {
|
|
43
43
|
answeredWire
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-J4DIHPZ6.js";
|
|
45
45
|
import {
|
|
46
46
|
StdioServerTransport,
|
|
47
47
|
callerOf,
|
|
48
48
|
callingAgent,
|
|
49
49
|
serveStdio
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-WYGWWHZP.js";
|
|
51
51
|
import {
|
|
52
52
|
McpServer,
|
|
53
53
|
ResourceTemplate
|
|
@@ -55,14 +55,14 @@ import {
|
|
|
55
55
|
import {
|
|
56
56
|
connectedFor,
|
|
57
57
|
guardFor
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-XDC3TWTL.js";
|
|
59
59
|
import {
|
|
60
60
|
lackedNeed,
|
|
61
61
|
wholeList
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-J24ZFCWM.js";
|
|
63
63
|
import {
|
|
64
64
|
findCommand
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-RKELRWH7.js";
|
|
66
66
|
import {
|
|
67
67
|
DEFAULT_OUTPUT_BYTES,
|
|
68
68
|
changesAuthorityAt,
|
|
@@ -75,52 +75,52 @@ import {
|
|
|
75
75
|
rootOf2 as rootOf,
|
|
76
76
|
sealed,
|
|
77
77
|
snakeKeys
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-33MGFUED.js";
|
|
79
79
|
import {
|
|
80
80
|
withCaller
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-VJEOGKAN.js";
|
|
82
82
|
import {
|
|
83
83
|
readOnlyLockOf
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-ZM5J6ZMB.js";
|
|
85
85
|
import {
|
|
86
86
|
mcpHttpMarker
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-2TFXK3R4.js";
|
|
88
88
|
import {
|
|
89
89
|
instructions
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-3QINVLZI.js";
|
|
91
91
|
import {
|
|
92
92
|
capability,
|
|
93
93
|
dateWindow,
|
|
94
94
|
imageSize,
|
|
95
95
|
servicesFor,
|
|
96
96
|
storedDeps
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-44SBK6KB.js";
|
|
98
98
|
import {
|
|
99
99
|
levelFor,
|
|
100
100
|
readKeysForCommand,
|
|
101
101
|
typedCommand
|
|
102
|
-
} from "./chunk-
|
|
103
|
-
import {
|
|
104
|
-
isCliFailure
|
|
105
|
-
} from "./chunk-BCWUDTYQ.js";
|
|
102
|
+
} from "./chunk-6MQSQ4LX.js";
|
|
106
103
|
import {
|
|
107
104
|
warmEmbedders
|
|
108
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-PO5RQQIG.js";
|
|
109
106
|
import {
|
|
110
107
|
openStore
|
|
111
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-XNVFKMVR.js";
|
|
112
109
|
import {
|
|
113
110
|
pdfPreviewLimits
|
|
114
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-UPOSDTPT.js";
|
|
115
112
|
import {
|
|
116
113
|
timezoneOf
|
|
117
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-EOOGWUTP.js";
|
|
115
|
+
import {
|
|
116
|
+
isCliFailure
|
|
117
|
+
} from "./chunk-E4SDKMBJ.js";
|
|
118
118
|
import {
|
|
119
119
|
mcpErrorResult
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-UQLWMGSD.js";
|
|
121
121
|
import {
|
|
122
122
|
visibleControls
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-2HF2MRXI.js";
|
|
124
124
|
import {
|
|
125
125
|
description,
|
|
126
126
|
integer,
|
|
@@ -135,18 +135,18 @@ import {
|
|
|
135
135
|
regex,
|
|
136
136
|
strictObject,
|
|
137
137
|
string
|
|
138
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-FEZF3TII.js";
|
|
139
139
|
import {
|
|
140
140
|
CliError
|
|
141
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-4OSSOWDM.js";
|
|
142
142
|
import {
|
|
143
143
|
__name
|
|
144
144
|
} from "./chunk-ZVVMGPBJ.js";
|
|
145
145
|
|
|
146
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
146
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
147
147
|
import { randomUUID } from "node:crypto";
|
|
148
148
|
|
|
149
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
149
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
|
|
150
150
|
var agentLog = /* @__PURE__ */ __name((open) => {
|
|
151
151
|
let held;
|
|
152
152
|
return {
|
|
@@ -165,7 +165,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
|
|
|
165
165
|
};
|
|
166
166
|
}, "agentLog");
|
|
167
167
|
|
|
168
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
168
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/mcp/resources.js
|
|
169
169
|
var LISTED = 100;
|
|
170
170
|
var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
|
|
171
171
|
server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
|
|
@@ -203,7 +203,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
|
|
|
203
203
|
});
|
|
204
204
|
}, "registerResources");
|
|
205
205
|
|
|
206
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
206
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/mcp/session.js
|
|
207
207
|
var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
|
|
208
208
|
var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
|
|
209
209
|
var MessengerSession = class {
|
|
@@ -278,7 +278,7 @@ var MessengerSession = class {
|
|
|
278
278
|
}
|
|
279
279
|
};
|
|
280
280
|
|
|
281
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
281
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
|
|
282
282
|
var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
283
283
|
const _command = messenger.app.command;
|
|
284
284
|
return {
|
|
@@ -332,7 +332,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
|
332
332
|
};
|
|
333
333
|
}, "attachmentsTools");
|
|
334
334
|
|
|
335
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
335
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
|
|
336
336
|
var PHOTO_LIMIT = 512 * 1024;
|
|
337
337
|
var IMAGE_TYPES = [
|
|
338
338
|
["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
|
|
@@ -386,7 +386,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
|
|
|
386
386
|
return new Uint8Array(Buffer.concat(chunks));
|
|
387
387
|
}, "readUpTo");
|
|
388
388
|
|
|
389
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
389
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
|
|
390
390
|
var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
391
391
|
stats_charts: tool({
|
|
392
392
|
title: "A chart from a chat's statistics",
|
|
@@ -423,14 +423,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
|
423
423
|
})
|
|
424
424
|
}), "statsTools");
|
|
425
425
|
|
|
426
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
426
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/mcp/tools.js
|
|
427
427
|
var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
|
|
428
428
|
...messagesPhotoTools(messenger),
|
|
429
429
|
...attachmentsTools(messenger),
|
|
430
430
|
...statsTools(messenger)
|
|
431
431
|
}).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
|
|
432
432
|
|
|
433
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
433
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
434
434
|
var PER_RUN = /* @__PURE__ */ new Set([
|
|
435
435
|
"streams",
|
|
436
436
|
"stdin",
|
|
@@ -754,7 +754,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
|
|
|
754
754
|
}, "serveOverStdio");
|
|
755
755
|
var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
|
|
756
756
|
const { session, embedders, build, log } = createServer(command, context, messenger, options);
|
|
757
|
-
const { serveOverHttp } = await import("./serve-
|
|
757
|
+
const { serveOverHttp } = await import("./serve-Y6LQTFH5.js");
|
|
758
758
|
const appName = messenger.app.command;
|
|
759
759
|
const appEnvPrefix = messenger.app.envPrefix;
|
|
760
760
|
const listening = await serveOverHttp(build, {
|
|
@@ -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-
|
|
5
|
+
} from "./chunk-4OSSOWDM.js";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/models/types.js
|
|
11
11
|
var MAX_MODEL_IMAGE_BYTES = 4 * 1024 * 1024;
|
|
12
12
|
var validateImages = /* @__PURE__ */ __name((images) => {
|
|
13
13
|
if (images === void 0)
|