@wirecat/drive-cli 0.60.0 → 0.62.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/README.md +4 -5
- 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-537I27Z4.js → all-profiles-CKD2DWUK.js} +14 -14
- package/dist/bundle/{anthropic-X4NWVHDF.js → anthropic-E3T4USLA.js} +9 -9
- package/dist/bundle/{app-server-KSHJKKS7.js → app-server-JB2AEWWL.js} +58 -55
- package/dist/bundle/{bun-WTBGGCUC.js → bun-CC44AAND.js} +2 -2
- package/dist/bundle/{bun-sqlite-T7Y3JFFD.js → bun-sqlite-AUMFKYVR.js} +8 -8
- package/dist/bundle/{chunk-2AXA5SKP.js → chunk-27YUUGXQ.js} +1 -1
- package/dist/bundle/{chunk-HIP43OGZ.js → chunk-2HF2MRXI.js} +1 -1
- package/dist/bundle/{chunk-AXWXQNTC.js → chunk-2KN35F32.js} +10 -10
- package/dist/bundle/{chunk-EBLA7GXY.js → chunk-4OSSOWDM.js} +2 -1
- package/dist/bundle/{chunk-XFXRGQXJ.js → chunk-4SIZEJ3M.js} +2 -2
- package/dist/bundle/{chunk-LQSRVQ3V.js → chunk-67ZQCWBV.js} +3 -3
- package/dist/bundle/{chunk-FO4TCH6P.js → chunk-6EY46GAN.js} +2 -2
- package/dist/bundle/{chunk-4XZXH2NM.js → chunk-7W5HYGVW.js} +4 -2
- package/dist/bundle/{chunk-FZOCQQ66.js → chunk-7ZXIWZQ6.js} +12 -12
- package/dist/bundle/{chunk-YGG7UA3C.js → chunk-AH5C3D3D.js} +5 -5
- package/dist/bundle/{chunk-YDN2RH5S.js → chunk-AQVUEZEP.js} +2 -2
- package/dist/bundle/{chunk-N7S2UPF3.js → chunk-CJHY5YIF.js} +494 -227
- package/dist/bundle/{chunk-MXP35VPO.js → chunk-CZ2GJHLL.js} +2 -2
- package/dist/bundle/{chunk-HQVIK6PM.js → chunk-DJOAMGF4.js} +262 -368
- package/dist/bundle/{chunk-HCJG7ENG.js → chunk-DRZZBN3V.js} +3 -3
- package/dist/bundle/{chunk-TXMTMEHW.js → chunk-DWJHL6DV.js} +4 -4
- package/dist/bundle/{chunk-S36HRPNS.js → chunk-E43ENLJJ.js} +1 -1
- package/dist/bundle/{chunk-4VHBDVY2.js → chunk-EOOGWUTP.js} +14 -10
- package/dist/bundle/{chunk-5XHLQZAG.js → chunk-EW7PKB4M.js} +58 -49
- package/dist/bundle/{chunk-TKW4QWCY.js → chunk-FEZF3TII.js} +12 -6
- package/dist/bundle/{chunk-KEXTTZJM.js → chunk-FNWIJ6EJ.js} +2 -2
- package/dist/bundle/{chunk-OYNUBWD2.js → chunk-FUITWY7O.js} +1 -1
- package/dist/bundle/{chunk-TVQDMP2F.js → chunk-HCNQT3QE.js} +1440 -771
- package/dist/bundle/{chunk-FTZNUZO7.js → chunk-HG6CAYJH.js} +3 -3
- package/dist/bundle/{chunk-SZXI4OXX.js → chunk-IR4SQLBR.js} +2 -2
- package/dist/bundle/{chunk-UTFATA4K.js → chunk-JK3U25QZ.js} +1 -1
- package/dist/bundle/{chunk-SBHSNOU4.js → chunk-JN5TVEEL.js} +96 -27
- package/dist/bundle/{chunk-IXN7Y6JA.js → chunk-KLFSRKHB.js} +1 -1
- package/dist/bundle/{chunk-57QVQGBE.js → chunk-L7K2MOIC.js} +22 -22
- package/dist/bundle/{chunk-JGUJJNGZ.js → chunk-LQKD257P.js} +582 -424
- package/dist/bundle/{chunk-GVRS5AIH.js → chunk-LWE4JGRN.js} +2 -2
- package/dist/bundle/{chunk-D6WIWOQC.js → chunk-MN4VXU3M.js} +4 -4
- package/dist/bundle/{chunk-QIJWSKZL.js → chunk-N7OZPKU7.js} +4 -4
- package/dist/bundle/{chunk-W62CON5K.js → chunk-O2XOX4HB.js} +34 -10
- package/dist/bundle/{chunk-PDYHEWKG.js → chunk-O7ALBI2I.js} +5 -5
- package/dist/bundle/{chunk-PETFPXLU.js → chunk-OBH5BA62.js} +3 -3
- package/dist/bundle/{chunk-246P2DCT.js → chunk-OD4U7GUY.js} +113 -51
- package/dist/bundle/{chunk-67QXMO2G.js → chunk-ONP2IBHY.js} +26 -26
- package/dist/bundle/{chunk-JQLIM6BH.js → chunk-OTROVC4E.js} +1 -1
- package/dist/bundle/{chunk-73TTP6ET.js → chunk-PEQA6LA5.js} +617 -243
- package/dist/bundle/{chunk-ALWTUDZF.js → chunk-Q2LRPOKL.js} +22 -14
- package/dist/bundle/{chunk-CKGHRWVR.js → chunk-QCKZ3GAA.js} +4 -4
- package/dist/bundle/chunk-QCX6XZLA.js +415 -0
- package/dist/bundle/{chunk-UVLSWLPZ.js → chunk-QH7DOVO3.js} +204 -58
- package/dist/bundle/{chunk-OMKUBCNN.js → chunk-QTI6IVHZ.js} +8 -8
- package/dist/bundle/{chunk-6HTKB4WC.js → chunk-R347FPYU.js} +1 -1
- package/dist/bundle/chunk-RIDQNVZM.js +64 -0
- package/dist/bundle/{chunk-ZPQS7XJA.js → chunk-RPMKG63Z.js} +18 -4
- package/dist/bundle/{chunk-XDIEQ2CE.js → chunk-RWSXVCSG.js} +3 -3
- package/dist/bundle/{chunk-3TQHIHZI.js → chunk-SVPCHFKI.js} +2 -2
- package/dist/bundle/{chunk-V2VMBM7O.js → chunk-SW4I5BR7.js} +2 -2
- package/dist/bundle/{chunk-EHAI773E.js → chunk-T5NWWXS2.js} +2 -2
- package/dist/bundle/{chunk-4CBZEAQ7.js → chunk-T7X53FCJ.js} +34 -34
- package/dist/bundle/{chunk-77C5XRH3.js → chunk-TDX4GZFO.js} +7 -7
- package/dist/bundle/{chunk-PPL5ASW2.js → chunk-U2BFYSQV.js} +14158 -2039
- package/dist/bundle/{chunk-DQDKLZAK.js → chunk-UGXN5D7U.js} +719 -128
- package/dist/bundle/{chunk-UNJE63JK.js → chunk-UOXOLGNG.js} +2 -2
- package/dist/bundle/{chunk-LJ77Y3TK.js → chunk-UQLWMGSD.js} +6 -5
- package/dist/bundle/{chunk-HFGR33KD.js → chunk-VAYB52HF.js} +33 -31
- package/dist/bundle/{chunk-GD6TQ6U4.js → chunk-VQDD64A4.js} +8 -8
- package/dist/bundle/{chunk-22ATLSNK.js → chunk-W4RTIL7S.js} +5 -5
- package/dist/bundle/{chunk-UVYVIHEA.js → chunk-WZKEU7WR.js} +4 -2
- package/dist/bundle/{chunk-5AMRCBMP.js → chunk-XEW2EN6F.js} +51 -37
- package/dist/bundle/{chunk-O37ESNAP.js → chunk-XFRRKZHQ.js} +242 -90
- package/dist/bundle/{chunk-K6XVRA6U.js → chunk-XS5POQST.js} +1 -1
- package/dist/bundle/{chunk-IRZ7OF3F.js → chunk-XZUS7XRO.js} +1 -1
- package/dist/bundle/{chunk-V7QMHMR3.js → chunk-YALI4C7C.js} +6 -6
- package/dist/bundle/{chunk-73MNUSP3.js → chunk-YMWENGKH.js} +1 -1
- package/dist/bundle/{chunk-MVNPE5FZ.js → chunk-YOJDGAPT.js} +8 -8
- package/dist/bundle/{chunk-DMHGWL5D.js → chunk-YPFUYQDP.js} +13 -13
- package/dist/bundle/{chunk-VVCZS42A.js → chunk-YUWPNG7B.js} +1 -1
- package/dist/bundle/{chunk-VRW6ZDTH.js → chunk-YXYTY4GF.js} +39 -26
- package/dist/bundle/{chunk-ZYCLPJ7U.js → chunk-ZMOUUOT2.js} +1 -1
- package/dist/bundle/command-contract-OB5BRABN.js +39 -0
- package/dist/bundle/{decode-35N57AFW.js → decode-WIIX3Y2X.js} +8 -8
- package/dist/bundle/{dispatch-CWXZW3PL.js → dispatch-GEFIXA6X.js} +9 -9
- package/dist/bundle/drive.js +11 -11
- package/dist/bundle/{echarts-3P3QZWMU.js → echarts-OYINM4C4.js} +2 -2
- package/dist/bundle/{embed-Q6Q5IOJQ.js → embed-DWZIYMBX.js} +9 -9
- package/dist/bundle/{embedder-D44JDTAA.js → embedder-ILWH7ZRM.js} +12 -12
- package/dist/bundle/entry-V5V3TOTY.js +22 -0
- package/dist/bundle/{failure-GRMMSDCZ.js → failure-GV77W3CD.js} +4 -4
- package/dist/bundle/first-run-V3VVLQF4.js +30 -0
- package/dist/bundle/first-screen-Y3RIN7FU.js +37 -0
- package/dist/bundle/{google-6ZZDKFBN.js → google-KLZSUAVY.js} +13 -13
- package/dist/bundle/{google-api-E6MOJ4ZD.js → google-api-HZQ5R4ZO.js} +83 -64
- package/dist/bundle/grants-L7XLHLUT.js +105 -0
- package/dist/bundle/{identity-TID7S5NE.js → identity-J2DON4IO.js} +6 -6
- package/dist/bundle/{instructions-ANJN4HV3.js → instructions-HGOJ23AJ.js} +1 -1
- package/dist/bundle/{login-BGMK2ABH.js → login-BD2TS4GY.js} +64 -64
- package/dist/bundle/{mcp-WBHKX5E3.js → mcp-GWDA3HOA.js} +2 -2
- package/dist/bundle/{node-VOB45ES2.js → node-CPKTDPH7.js} +2 -2
- package/dist/bundle/{node-sqlite-TSX6XQY2.js → node-sqlite-IXDCRLSX.js} +9 -9
- package/dist/bundle/oauth-HOGY4YBB.js +22 -0
- package/dist/bundle/{open-3USWHGNR.js → open-O7P3ZV3Y.js} +8 -8
- package/dist/bundle/{openai-YZ5VGPIP.js → openai-RCFQKCXC.js} +17 -17
- package/dist/bundle/{process-44JS2W7L.js → process-KXDRJO22.js} +1 -1
- package/dist/bundle/{program-TZLAFKJV.js → program-UCHFC7JQ.js} +266 -104
- package/dist/bundle/prompt-EVPPBN5W.js +17 -0
- package/dist/bundle/{reasons-ZK3U3CIN.js → reasons-57J2D77K.js} +5 -5
- package/dist/bundle/{recognize-OFW7HWTM.js → recognize-MRCYGP2J.js} +7 -7
- package/dist/bundle/{remote-YBDRZQZ5.js → remote-L3L4PHKF.js} +10 -10
- package/dist/bundle/{rerank-TQQNS5FJ.js → rerank-PSOE6XFT.js} +10 -10
- package/dist/bundle/{serve-OPZXMVLH.js → serve-72OGS3BF.js} +12 -12
- package/dist/bundle/server-C5TGNFXW.js +70 -0
- package/dist/bundle/{server-2D6DDIK5.js → server-SCXKYHBO.js} +44 -44
- package/dist/bundle/{services-34WKT3NN.js → services-YAFTELBI.js} +42 -32
- package/dist/bundle/{sqlite-runtime-WPUMKLUV.js → sqlite-runtime-DLK4SU33.js} +9 -9
- package/dist/bundle/{start-ZXUJZ4JV.js → start-AFFA3LKM.js} +9 -7
- package/dist/bundle/{state-AV2RB3AQ.js → state-T5VNAJSZ.js} +9 -9
- package/dist/bundle/{store-YKV4GAMS.js → store-4OFK7PKQ.js} +48 -28
- package/dist/bundle/{store-3M7N2Q5T.js → store-R6MSY2IM.js} +20 -18
- package/dist/bundle/store-maintenance-command-QDMCXGV6.js +60 -0
- package/dist/bundle/tokens-HIG36RNS.js +103 -0
- package/dist/commands/config.js +1 -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/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +10 -2
- package/dist/commands/session.js.map +1 -1
- package/dist/config.d.ts +16 -5
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +11 -17
- package/dist/config.js.map +1 -1
- package/dist/download.d.ts +3 -2
- package/dist/download.d.ts.map +1 -1
- package/dist/download.js +21 -9
- package/dist/download.js.map +1 -1
- package/dist/google-api.d.ts +3 -1
- package/dist/google-api.d.ts.map +1 -1
- package/dist/google-api.js +27 -7
- package/dist/google-api.js.map +1 -1
- package/dist/login.js +1 -1
- package/dist/login.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +7 -7
- 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-77YTRBL6.js +0 -249
- package/dist/bundle/chunk-YYHKVOVK.js +0 -132
- package/dist/bundle/command-contract-NUIWUVYB.js +0 -39
- package/dist/bundle/entry-ZHCNI7XO.js +0 -22
- package/dist/bundle/first-run-3DC2SDWM.js +0 -30
- package/dist/bundle/first-screen-YJF4YODC.js +0 -37
- package/dist/bundle/grants-GWXDH5GM.js +0 -105
- package/dist/bundle/oauth-CEOYXW6C.js +0 -22
- package/dist/bundle/prompt-SG7LAOXW.js +0 -17
- package/dist/bundle/server-R6G2O772.js +0 -70
- package/dist/bundle/store-maintenance-command-WDXNY4ZF.js +0 -60
- package/dist/bundle/tokens-F63RXXEF.js +0 -103
- package/dist/oauth-application.d.ts +0 -5
- package/dist/oauth-application.d.ts.map +0 -1
- package/dist/oauth-application.js +0 -9
- package/dist/oauth-application.js.map +0 -1
- /package/dist/bundle/{chunk-LK2E2ELG.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-XEW2EN6F.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-XFRRKZHQ.js";
|
|
38
38
|
import {
|
|
39
39
|
agentJson,
|
|
40
40
|
skillResource
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-JN5TVEEL.js";
|
|
42
42
|
import {
|
|
43
43
|
answeredWire
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-E43ENLJJ.js";
|
|
45
45
|
import {
|
|
46
46
|
StdioServerTransport,
|
|
47
47
|
callerOf,
|
|
48
48
|
callingAgent,
|
|
49
49
|
serveStdio
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-LWE4JGRN.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-EW7PKB4M.js";
|
|
59
59
|
import {
|
|
60
60
|
lackedNeed,
|
|
61
61
|
wholeList
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-YXYTY4GF.js";
|
|
63
63
|
import {
|
|
64
64
|
findCommand
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-O7ALBI2I.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-PEQA6LA5.js";
|
|
79
79
|
import {
|
|
80
80
|
withCaller
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-VQDD64A4.js";
|
|
82
82
|
import {
|
|
83
83
|
readOnlyLockOf
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-7W5HYGVW.js";
|
|
85
85
|
import {
|
|
86
86
|
mcpHttpMarker
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-DWJHL6DV.js";
|
|
88
88
|
import {
|
|
89
89
|
instructions
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-R347FPYU.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-LQKD257P.js";
|
|
98
98
|
import {
|
|
99
99
|
levelFor,
|
|
100
100
|
readKeysForCommand,
|
|
101
101
|
typedCommand
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-VAYB52HF.js";
|
|
103
103
|
import {
|
|
104
104
|
isCliFailure
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-AQVUEZEP.js";
|
|
106
106
|
import {
|
|
107
107
|
warmEmbedders
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-AH5C3D3D.js";
|
|
109
109
|
import {
|
|
110
110
|
openStore
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-U2BFYSQV.js";
|
|
112
112
|
import {
|
|
113
113
|
pdfPreviewLimits
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-UOXOLGNG.js";
|
|
115
115
|
import {
|
|
116
116
|
timezoneOf
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-EOOGWUTP.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.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/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.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/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.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/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.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/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.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/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.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/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.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/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.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/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.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/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-72OGS3BF.js");
|
|
758
758
|
const appName = messenger.app.command;
|
|
759
759
|
const appEnvPrefix = messenger.app.envPrefix;
|
|
760
760
|
const listening = await serveOverHttp(build, {
|
|
@@ -2,25 +2,25 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
storePath
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-FNWIJ6EJ.js";
|
|
6
6
|
import {
|
|
7
7
|
resolvePaths
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-OD4U7GUY.js";
|
|
9
9
|
import {
|
|
10
10
|
singleLine
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2HF2MRXI.js";
|
|
12
12
|
import {
|
|
13
13
|
CliError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-4OSSOWDM.js";
|
|
15
15
|
import {
|
|
16
16
|
__name
|
|
17
17
|
} from "./chunk-ZVVMGPBJ.js";
|
|
18
18
|
|
|
19
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/store/shared-config.js
|
|
20
20
|
import { mkdirSync, readFileSync, renameSync, statSync, writeFileSync } from "node:fs";
|
|
21
21
|
import { dirname, join, resolve } from "node:path";
|
|
22
22
|
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
|
|
24
24
|
var DEFAULT_TASK_CATEGORIES = [
|
|
25
25
|
{
|
|
26
26
|
name: "taxes",
|
|
@@ -775,7 +775,7 @@ var storedTaskCategories = /* @__PURE__ */ __name((json) => {
|
|
|
775
775
|
}
|
|
776
776
|
}, "storedTaskCategories");
|
|
777
777
|
|
|
778
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
778
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/store/shared-config.js
|
|
779
779
|
var SECTION = "task_categories";
|
|
780
780
|
var sharedConfigPath = /* @__PURE__ */ __name((store, env = process.env) => {
|
|
781
781
|
const paths = resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env });
|