@wirecat/drive-cli 0.65.0 → 0.67.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/contracts/wirecat.json +2899 -0
- package/dist/bin/drive.js +2 -2
- package/dist/bin/drive.js.map +1 -1
- package/dist/browse.d.ts +1 -1
- package/dist/browse.d.ts.map +1 -1
- package/dist/browse.js +1 -1
- package/dist/bundle/{all-profiles-PD7GJHFA.js → all-profiles-DVZUVAPQ.js} +14 -14
- package/dist/bundle/{anthropic-PJKFON5H.js → anthropic-Y45C45O2.js} +20 -13
- package/dist/bundle/{app-server-6ELQA6FJ.js → app-server-GTXUOUGD.js} +67 -56
- package/dist/bundle/{bun-P54TGES2.js → bun-QVJV76QJ.js} +2 -2
- package/dist/bundle/{bun-sqlite-TND5ZRJH.js → bun-sqlite-CC7PIAMH.js} +9 -9
- package/dist/bundle/{chunk-Y5PKRITX.js → chunk-2MEVCMBW.js} +5 -5
- package/dist/bundle/{chunk-ZILALBYQ.js → chunk-2PIA45FC.js} +7 -5
- package/dist/bundle/{chunk-SIWXYB4E.js → chunk-2Y3YBDZX.js} +3123 -2851
- package/dist/bundle/{chunk-54V4H6PM.js → chunk-3RG6LL25.js} +12 -12
- package/dist/bundle/{chunk-UTNRBOEN.js → chunk-4G7WQNG7.js} +3 -2
- package/dist/bundle/{chunk-OWMZUWCM.js → chunk-4VH7M2OD.js} +6 -14
- package/dist/bundle/{chunk-EM7NL5ES.js → chunk-5DMPGTNR.js} +3 -3
- package/dist/bundle/{chunk-W2XY6C5S.js → chunk-5TK2YQCO.js} +2 -2
- package/dist/bundle/{chunk-NQ5XMSLA.js → chunk-5TSILGTO.js} +21668 -28647
- package/dist/bundle/{chunk-FBHSWQU7.js → chunk-6ERQE4FS.js} +319 -102
- package/dist/bundle/{chunk-4AOINPN2.js → chunk-7AZCAUST.js} +8 -2
- package/dist/bundle/{chunk-DA63E2UM.js → chunk-7J2IP3WL.js} +18 -15
- package/dist/bundle/{chunk-JPPPLKAO.js → chunk-7JKECODO.js} +1 -2
- package/dist/bundle/{chunk-SEQWBZYH.js → chunk-AAZPDWRD.js} +1 -1
- package/dist/bundle/{chunk-CWLL63JD.js → chunk-ABJQ6IDU.js} +17 -17
- package/dist/bundle/{chunk-PHOL2DZM.js → chunk-AJ3DFPRT.js} +63 -5
- package/dist/bundle/{chunk-4EDWLR22.js → chunk-AZKFZ7J7.js} +1 -1
- package/dist/bundle/{chunk-IMHW7VIV.js → chunk-BHSLMJF7.js} +5 -5
- package/dist/bundle/{chunk-EHU6EYGO.js → chunk-C72WYRXD.js} +12 -12
- package/dist/bundle/chunk-CWDC6QJM.js +72 -0
- package/dist/bundle/{chunk-TTP4NOP3.js → chunk-D4MVEOU2.js} +4 -4
- package/dist/bundle/{chunk-ZR2EJPMQ.js → chunk-DAFKV6DJ.js} +226 -18
- package/dist/bundle/{chunk-RNHGQ35R.js → chunk-E3XA56TS.js} +1 -1
- package/dist/bundle/{chunk-ELJUBPY4.js → chunk-EA2OB75T.js} +1 -1
- package/dist/bundle/{chunk-7TAP7Y2E.js → chunk-ETAFFY3J.js} +196 -112
- package/dist/bundle/{chunk-D6Z43SOG.js → chunk-EXWOOST5.js} +402 -362
- package/dist/bundle/{chunk-MCPOZNWG.js → chunk-FIVFP53N.js} +1 -1
- package/dist/bundle/{chunk-HP3NT6JJ.js → chunk-FOMQ4MG3.js} +3 -3
- package/dist/bundle/{chunk-VMAMRFFC.js → chunk-FS2PG2PE.js} +117 -44
- package/dist/bundle/{chunk-6DCLZLGX.js → chunk-HCZYJMBP.js} +1 -1
- package/dist/bundle/{chunk-OFJXHEFT.js → chunk-HJF2QGOX.js} +93 -31
- package/dist/bundle/{chunk-XPWZSW6Y.js → chunk-IJCUAKR5.js} +4 -4
- package/dist/bundle/{chunk-O6K2E7OA.js → chunk-IRULPE5M.js} +1522 -1107
- package/dist/bundle/{chunk-EU5MD24W.js → chunk-JCNEPYQZ.js} +13 -13
- package/dist/bundle/{chunk-VDZY3L7U.js → chunk-JEMBW6IO.js} +1 -1
- package/dist/bundle/{chunk-Z2ADO6UA.js → chunk-JJHDV32D.js} +2 -2
- package/dist/bundle/{chunk-FA6JNXCC.js → chunk-JLUQZZ26.js} +8 -8
- package/dist/bundle/{chunk-WRAUO5EJ.js → chunk-JO7BJYAP.js} +45 -22
- package/dist/bundle/{chunk-TOVWMURV.js → chunk-JRFKCYMW.js} +22 -7
- package/dist/bundle/{chunk-M7ELUGU6.js → chunk-JY2GZDJL.js} +4 -4
- package/dist/bundle/chunk-LSAIXPAX.js +47 -0
- package/dist/bundle/{chunk-WVJHZIDH.js → chunk-LXRBTXCZ.js} +3 -3
- package/dist/bundle/{chunk-RX5CJ55S.js → chunk-M4OP5ASJ.js} +1 -1
- package/dist/bundle/{chunk-F56DRBGY.js → chunk-MBLB4TQI.js} +75 -20
- package/dist/bundle/{chunk-4Y5YBFMS.js → chunk-MEQNAZ6R.js} +7 -7
- package/dist/bundle/{chunk-XYE7XZPB.js → chunk-MEY7URZZ.js} +39 -35
- package/dist/bundle/{chunk-IBO23OID.js → chunk-MF46W7PQ.js} +2 -2
- package/dist/bundle/{chunk-7AQGVX5O.js → chunk-MW46BLWH.js} +60 -29
- package/dist/bundle/{chunk-VHQYWFWV.js → chunk-NFIR346J.js} +1 -1
- package/dist/bundle/{chunk-NI5PD5KM.js → chunk-NWYVOHIX.js} +18611 -16472
- package/dist/bundle/chunk-NYECVHFH.js +10283 -0
- package/dist/bundle/{chunk-D7WB54P7.js → chunk-OOBSSU2G.js} +546 -457
- package/dist/bundle/{chunk-VLXWAH5E.js → chunk-P6A77LMP.js} +4 -4
- package/dist/bundle/{chunk-ZD4MB7NH.js → chunk-PDHN4GHU.js} +5 -40
- package/dist/bundle/{chunk-PLP5527C.js → chunk-PV3AWPHR.js} +5 -5
- package/dist/bundle/{chunk-TMHF4BCL.js → chunk-QOKPRFHM.js} +2 -2
- package/dist/bundle/{chunk-JMJIH6JH.js → chunk-RC72RU66.js} +6 -6
- package/dist/bundle/{chunk-NQRTKYJB.js → chunk-RLH6BOEG.js} +47 -80
- package/dist/bundle/{chunk-II4S2DBJ.js → chunk-SJE7UGOW.js} +12 -6
- package/dist/bundle/{chunk-LMKPP2JP.js → chunk-SXJDCRXE.js} +1 -1
- package/dist/bundle/{chunk-B2LPCHQN.js → chunk-T2VAEDJS.js} +4 -4
- package/dist/bundle/{chunk-I272E6UR.js → chunk-U2ERT45N.js} +54 -117
- package/dist/bundle/{chunk-A27UVLPK.js → chunk-UFNE57VY.js} +3 -3
- package/dist/bundle/{chunk-5XSBCMAF.js → chunk-ULH3TNUP.js} +4 -4
- package/dist/bundle/{chunk-3ONWN3IA.js → chunk-UOAHZV3K.js} +161 -48
- package/dist/bundle/{chunk-ECEP4SO3.js → chunk-UPCEHSIZ.js} +10 -10
- package/dist/bundle/{chunk-42G2XNPN.js → chunk-V7E25BUU.js} +2 -2
- package/dist/bundle/{chunk-EZ2OLYEK.js → chunk-VZ5KETIX.js} +14 -5
- package/dist/bundle/{chunk-X7YGGWXI.js → chunk-WBKYZZQT.js} +3 -2
- package/dist/bundle/{chunk-GW3LBY3T.js → chunk-WKIQKGOF.js} +146 -133
- package/dist/bundle/{chunk-O7ZDCOZE.js → chunk-WWW7YTFG.js} +1 -1
- package/dist/bundle/{chunk-2AFI4KGI.js → chunk-XZCF5XU7.js} +7 -7
- package/dist/bundle/chunk-Y2QVNVHK.js +70 -0
- package/dist/bundle/{chunk-WRMJN6UQ.js → chunk-Y5WSRG3F.js} +3 -3
- package/dist/bundle/{chunk-A4QNADEX.js → chunk-YI4DXASF.js} +49 -49
- package/dist/bundle/{chunk-SS4LKLD7.js → chunk-YVUAG7RF.js} +371 -362
- package/dist/bundle/chunk-ZEPDEFVT.js +71 -0
- package/dist/bundle/{chunk-SE352DBY.js → chunk-ZH4H5XTA.js} +1 -1
- package/dist/bundle/{chunk-3HXNDF6Q.js → chunk-ZK46UHDP.js} +2 -2
- package/dist/bundle/{chunk-SNLSEYJO.js → chunk-ZU5VQYNY.js} +1 -1
- package/dist/bundle/cli-U4LSBYDV.js +1101 -0
- package/dist/bundle/command-contract-UU5T24ZZ.js +41 -0
- package/dist/bundle/{command-server-entry-36JXYIJB.js → command-server-entry-PK6FBUPO.js} +31 -30
- package/dist/bundle/{decode-T5ZW57WZ.js → decode-3ZE6NBKV.js} +8 -8
- package/dist/bundle/{dispatch-RMA2XFYA.js → dispatch-WBEOHZDV.js} +9 -9
- package/dist/bundle/drive.js +13 -13
- package/dist/bundle/{echarts-KQ44LPSF.js → echarts-6FWNCNXK.js} +2 -2
- package/dist/bundle/{embed-Q7XST53J.js → embed-DGYBBZUW.js} +9 -9
- package/dist/bundle/{embedder-RWZSBVW2.js → embedder-O7A6VMWI.js} +12 -12
- package/dist/bundle/entry-CDJ2QSU2.js +25 -0
- package/dist/bundle/{failure-7NP4QPIN.js → failure-X6PSLVSO.js} +4 -4
- package/dist/bundle/first-run-UOQW7DN5.js +30 -0
- package/dist/bundle/first-screen-SNDV4YKF.js +39 -0
- package/dist/bundle/google-HPX52KMC.js +45 -0
- package/dist/bundle/{google-api-P5DRHD7L.js → google-api-HIMN4XL5.js} +68 -63
- package/dist/bundle/grants-RO42I6E4.js +111 -0
- package/dist/bundle/{identity-VDV6CHRW.js → identity-NFGHDPLL.js} +8 -6
- package/dist/bundle/{instructions-Q45FVY6H.js → instructions-6JAQYCM6.js} +1 -1
- package/dist/bundle/{login-XKN3NI6X.js → login-RZOQN63N.js} +73 -70
- package/dist/bundle/{mcp-7KQUJNFN.js → mcp-TDKGDB4V.js} +2 -2
- package/dist/bundle/{node-MSW565D3.js → node-KSIX3GIH.js} +2 -2
- package/dist/bundle/{node-sqlite-S74XVVHL.js → node-sqlite-4FJ6WJXN.js} +10 -10
- package/dist/bundle/oauth-BKZAMFKK.js +22 -0
- package/dist/bundle/{open-P7UQG7XJ.js → open-4AQJGH42.js} +8 -8
- package/dist/bundle/{openai-DDHJ57KZ.js → openai-24F2OX55.js} +28 -21
- package/dist/bundle/{process-NMUB5SHK.js → process-7NOA2T7H.js} +1 -1
- package/dist/bundle/{program-PJNWP6JW.js → program-7JHMLDEX.js} +306 -692
- package/dist/bundle/{prompt-VOSMK4C2.js → prompt-NM66MAZ4.js} +8 -8
- package/dist/bundle/{reasons-KDAXOC5S.js → reasons-KSYP5VDJ.js} +5 -5
- package/dist/bundle/{recognize-GZIY63HS.js → recognize-DBKV2JYZ.js} +7 -7
- package/dist/bundle/{remote-V3YGN7LN.js → remote-ABWUTBVB.js} +13 -10
- package/dist/bundle/{rerank-XRU6AVN7.js → rerank-FQAU4ENY.js} +10 -10
- package/dist/bundle/{serve-NDOAFA57.js → serve-QLJG4QZD.js} +12 -12
- package/dist/bundle/server-NUBLY5SV.js +74 -0
- package/dist/bundle/{server-BKGWJYMC.js → server-VGZNK5XD.js} +47 -45
- package/dist/bundle/{services-TYDMFQCA.js → services-5KARVUHK.js} +44 -34
- package/dist/bundle/{sqlite-runtime-UAFJKSJR.js → sqlite-runtime-ILF6EFQJ.js} +9 -9
- package/dist/bundle/{start-2ZLDP2OE.js → start-C6EXYXAL.js} +7 -7
- package/dist/bundle/{state-6SP27J2K.js → state-R2M56GPU.js} +9 -9
- package/dist/bundle/{store-4UUY545Q.js → store-2OBVMUQL.js} +21 -19
- package/dist/bundle/{store-EJN27MXI.js → store-DA4K7HWW.js} +23 -21
- package/dist/bundle/store-maintenance-command-KSIPI5B5.js +65 -0
- package/dist/bundle/tokens-VQDGSHRB.js +111 -0
- package/dist/commands/config.d.ts.map +1 -1
- package/dist/commands/config.js +5 -3
- package/dist/commands/config.js.map +1 -1
- package/dist/commands/discovery.d.ts +0 -1
- package/dist/commands/discovery.d.ts.map +1 -1
- package/dist/commands/discovery.js +6 -26
- package/dist/commands/discovery.js.map +1 -1
- package/dist/commands/knowledge.d.ts.map +1 -1
- package/dist/commands/knowledge.js +7 -6
- package/dist/commands/knowledge.js.map +1 -1
- package/dist/commands/search.d.ts.map +1 -1
- package/dist/commands/search.js +15 -12
- package/dist/commands/search.js.map +1 -1
- package/dist/commands/sync.d.ts.map +1 -1
- package/dist/commands/sync.js +2 -1
- package/dist/commands/sync.js.map +1 -1
- package/dist/commands/transcripts.d.ts +4 -0
- package/dist/commands/transcripts.d.ts.map +1 -0
- package/dist/commands/transcripts.js +42 -0
- package/dist/commands/transcripts.js.map +1 -0
- package/dist/config.d.ts +10 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +17 -3
- package/dist/config.js.map +1 -1
- package/dist/contract-overrides.d.ts +16 -4
- package/dist/contract-overrides.d.ts.map +1 -1
- package/dist/contract-overrides.js +86 -410
- package/dist/contract-overrides.js.map +1 -1
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +4 -0
- package/dist/errors.js.map +1 -1
- package/dist/google-api.d.ts.map +1 -1
- package/dist/google-api.js +4 -1
- package/dist/google-api.js.map +1 -1
- package/dist/google.d.ts.map +1 -1
- package/dist/google.js +31 -28
- package/dist/google.js.map +1 -1
- package/dist/identity.d.ts +4 -0
- package/dist/identity.d.ts.map +1 -1
- package/dist/identity.js +22 -0
- package/dist/identity.js.map +1 -1
- package/dist/knowledge.js +2 -2
- package/dist/knowledge.js.map +1 -1
- package/dist/list-queries.d.ts +10 -0
- package/dist/list-queries.d.ts.map +1 -1
- package/dist/list-queries.js +12 -1
- package/dist/list-queries.js.map +1 -1
- package/dist/login.d.ts.map +1 -1
- package/dist/login.js +2 -2
- package/dist/login.js.map +1 -1
- package/dist/model.d.ts +4 -1
- package/dist/model.d.ts.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +10 -6
- package/dist/program.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +0 -1
- package/dist/reasons.js.map +1 -1
- package/dist/state.d.ts.map +1 -1
- package/dist/state.js +2 -0
- package/dist/state.js.map +1 -1
- package/dist/store-transition.js +2 -2
- package/dist/store-transition.js.map +1 -1
- package/dist/store.d.ts.map +1 -1
- package/dist/store.js +7 -7
- package/dist/store.js.map +1 -1
- package/dist/sync.d.ts.map +1 -1
- package/dist/sync.js +5 -1
- package/dist/sync.js.map +1 -1
- package/dist/tokens.d.ts +9 -2
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +18 -15
- package/dist/tokens.js.map +1 -1
- package/dist/transcripts.d.ts +21 -0
- package/dist/transcripts.d.ts.map +1 -0
- package/dist/transcripts.js +48 -0
- package/dist/transcripts.js.map +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wcat.d.ts +3 -0
- package/dist/wcat.d.ts.map +1 -0
- package/dist/wcat.js +4 -0
- package/dist/wcat.js.map +1 -0
- package/package.json +7 -7
- package/dist/bundle/chunk-CGQRZRTH.js +0 -26
- package/dist/bundle/chunk-IKHOIXJR.js +0 -27
- package/dist/bundle/chunk-SBZB7HMU.js +0 -1055
- package/dist/bundle/command-contract-25E4PYMD.js +0 -40
- package/dist/bundle/dist-PY3MVR3G.js +0 -21
- package/dist/bundle/entry-HPLW4QL2.js +0 -25
- package/dist/bundle/first-run-RL3RKYZW.js +0 -30
- package/dist/bundle/first-screen-NX3TM2VJ.js +0 -38
- package/dist/bundle/google-DPD5N6AQ.js +0 -42
- package/dist/bundle/grants-TX4MHLI4.js +0 -109
- package/dist/bundle/oauth-6R7AWAES.js +0 -22
- package/dist/bundle/server-QD2MUJJZ.js +0 -72
- package/dist/bundle/store-maintenance-command-LETURZDC.js +0 -60
- package/dist/bundle/tokens-MTFJPTYT.js +0 -107
- /package/dist/bundle/{chunk-YVNHQFLC.js → chunk-XWBPP2HX.js} +0 -0
|
@@ -1,18 +1,5 @@
|
|
|
1
1
|
import { createRequire as __bundleRequire } from "node:module";
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
CHART_KINDS,
|
|
5
|
-
CHART_SIZE,
|
|
6
|
-
chartAnswer,
|
|
7
|
-
chartPng,
|
|
8
|
-
chartRenderer,
|
|
9
|
-
chatChart,
|
|
10
|
-
keepRefreshedRefs,
|
|
11
|
-
mcpUrlOf,
|
|
12
|
-
refuseWriteBeforeConnecting,
|
|
13
|
-
registerPrompts,
|
|
14
|
-
syncsFirst
|
|
15
|
-
} from "./chunk-GW3LBY3T.js";
|
|
16
3
|
import {
|
|
17
4
|
BinaryResource,
|
|
18
5
|
Picture,
|
|
@@ -33,56 +20,69 @@ import {
|
|
|
33
20
|
tool,
|
|
34
21
|
toolKey,
|
|
35
22
|
toolsFromCommands
|
|
36
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-UOAHZV3K.js";
|
|
24
|
+
import {
|
|
25
|
+
CHART_KINDS,
|
|
26
|
+
CHART_SIZE,
|
|
27
|
+
chartAnswer,
|
|
28
|
+
chartPng,
|
|
29
|
+
chartRenderer,
|
|
30
|
+
chatChart,
|
|
31
|
+
keepRefreshedRefs,
|
|
32
|
+
mcpUrlOf,
|
|
33
|
+
refuseWriteBeforeConnecting,
|
|
34
|
+
registerPrompts,
|
|
35
|
+
syncsFirst
|
|
36
|
+
} from "./chunk-WKIQKGOF.js";
|
|
37
37
|
import {
|
|
38
38
|
agentJson,
|
|
39
39
|
skillResource
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-OOBSSU2G.js";
|
|
41
41
|
import {
|
|
42
42
|
instructions
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-E3XA56TS.js";
|
|
44
44
|
import {
|
|
45
45
|
answeredWire
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-AZKFZ7J7.js";
|
|
47
47
|
import {
|
|
48
48
|
StdioServerTransport,
|
|
49
49
|
callerOf,
|
|
50
50
|
callingAgent,
|
|
51
51
|
serveStdio
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-V7E25BUU.js";
|
|
53
53
|
import {
|
|
54
54
|
McpServer,
|
|
55
55
|
ResourceTemplate
|
|
56
56
|
} from "./chunk-5D4AEUVA.js";
|
|
57
57
|
import {
|
|
58
58
|
connectedFor
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-YVUAG7RF.js";
|
|
60
60
|
import {
|
|
61
61
|
lackedNeed,
|
|
62
62
|
wholeList
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-JO7BJYAP.js";
|
|
64
64
|
import {
|
|
65
65
|
capability,
|
|
66
66
|
dateWindow,
|
|
67
67
|
guardFor,
|
|
68
68
|
servicesFor,
|
|
69
69
|
storedDeps
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-IRULPE5M.js";
|
|
71
71
|
import {
|
|
72
72
|
imageSize
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-6ERQE4FS.js";
|
|
74
74
|
import {
|
|
75
75
|
mcpHttpMarker
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-ULH3TNUP.js";
|
|
77
77
|
import {
|
|
78
78
|
warmEmbedders
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-BHSLMJF7.js";
|
|
80
80
|
import {
|
|
81
81
|
stdinFieldOf
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-AAZPDWRD.js";
|
|
83
83
|
import {
|
|
84
84
|
findCommand
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-2MEVCMBW.js";
|
|
86
86
|
import {
|
|
87
87
|
DEFAULT_OUTPUT_BYTES,
|
|
88
88
|
changesAuthorityAt,
|
|
@@ -95,38 +95,38 @@ import {
|
|
|
95
95
|
rootOf2 as rootOf,
|
|
96
96
|
sealed,
|
|
97
97
|
snakeKeys
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-2Y3YBDZX.js";
|
|
99
99
|
import {
|
|
100
100
|
withCaller
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-7J2IP3WL.js";
|
|
102
102
|
import {
|
|
103
103
|
levelFor,
|
|
104
104
|
readKeysForCommand
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-MBLB4TQI.js";
|
|
106
106
|
import {
|
|
107
107
|
readOnlyLockOf
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-ZEPDEFVT.js";
|
|
109
109
|
import {
|
|
110
110
|
openStore
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-NWYVOHIX.js";
|
|
112
112
|
import {
|
|
113
113
|
pdfPreviewLimits
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-LXRBTXCZ.js";
|
|
115
115
|
import {
|
|
116
116
|
typedCommand
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-EXWOOST5.js";
|
|
118
118
|
import {
|
|
119
119
|
timezoneOf
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-UPCEHSIZ.js";
|
|
121
121
|
import {
|
|
122
122
|
isCliFailure
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-7AZCAUST.js";
|
|
124
124
|
import {
|
|
125
125
|
mcpErrorResult
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-PV3AWPHR.js";
|
|
127
127
|
import {
|
|
128
128
|
visibleControls
|
|
129
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-HCZYJMBP.js";
|
|
130
130
|
import {
|
|
131
131
|
description,
|
|
132
132
|
integer,
|
|
@@ -141,18 +141,18 @@ import {
|
|
|
141
141
|
regex,
|
|
142
142
|
strictObject,
|
|
143
143
|
string
|
|
144
|
-
} from "./chunk-
|
|
144
|
+
} from "./chunk-JRFKCYMW.js";
|
|
145
145
|
import {
|
|
146
146
|
CliError
|
|
147
|
-
} from "./chunk-
|
|
147
|
+
} from "./chunk-EA2OB75T.js";
|
|
148
148
|
import {
|
|
149
149
|
__name
|
|
150
150
|
} from "./chunk-ZVVMGPBJ.js";
|
|
151
151
|
|
|
152
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
152
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
153
153
|
import { randomUUID } from "node:crypto";
|
|
154
154
|
|
|
155
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
155
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
|
|
156
156
|
var agentLog = /* @__PURE__ */ __name((open) => {
|
|
157
157
|
let held;
|
|
158
158
|
return {
|
|
@@ -171,7 +171,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
|
|
|
171
171
|
};
|
|
172
172
|
}, "agentLog");
|
|
173
173
|
|
|
174
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
174
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/mcp/resources.js
|
|
175
175
|
var LISTED = 100;
|
|
176
176
|
var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
|
|
177
177
|
server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
|
|
@@ -209,7 +209,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
|
|
|
209
209
|
});
|
|
210
210
|
}, "registerResources");
|
|
211
211
|
|
|
212
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
212
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/mcp/session.js
|
|
213
213
|
var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
|
|
214
214
|
var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
|
|
215
215
|
var MessengerSession = class {
|
|
@@ -284,7 +284,7 @@ var MessengerSession = class {
|
|
|
284
284
|
}
|
|
285
285
|
};
|
|
286
286
|
|
|
287
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
287
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
|
|
288
288
|
var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
289
289
|
const _command = messenger.app.command;
|
|
290
290
|
return {
|
|
@@ -338,7 +338,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
|
338
338
|
};
|
|
339
339
|
}, "attachmentsTools");
|
|
340
340
|
|
|
341
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
341
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
|
|
342
342
|
var PHOTO_LIMIT = 512 * 1024;
|
|
343
343
|
var IMAGE_TYPES = [
|
|
344
344
|
["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
|
|
@@ -392,7 +392,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
|
|
|
392
392
|
return new Uint8Array(Buffer.concat(chunks));
|
|
393
393
|
}, "readUpTo");
|
|
394
394
|
|
|
395
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
395
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
|
|
396
396
|
var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
397
397
|
stats_charts: tool({
|
|
398
398
|
title: "A chart from a chat's statistics",
|
|
@@ -429,14 +429,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
|
429
429
|
})
|
|
430
430
|
}), "statsTools");
|
|
431
431
|
|
|
432
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
432
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/mcp/tools.js
|
|
433
433
|
var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
|
|
434
434
|
...messagesPhotoTools(messenger),
|
|
435
435
|
...attachmentsTools(messenger),
|
|
436
436
|
...statsTools(messenger)
|
|
437
437
|
}).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
|
|
438
438
|
|
|
439
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
439
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
440
440
|
var PER_RUN = /* @__PURE__ */ new Set([
|
|
441
441
|
"streams",
|
|
442
442
|
"stdin",
|
|
@@ -760,7 +760,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
|
|
|
760
760
|
}, "serveOverStdio");
|
|
761
761
|
var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
|
|
762
762
|
const { session, embedders, build, log } = createServer(command, context, messenger, options);
|
|
763
|
-
const { serveOverHttp } = await import("./serve-
|
|
763
|
+
const { serveOverHttp } = await import("./serve-QLJG4QZD.js");
|
|
764
764
|
const appName = messenger.app.command;
|
|
765
765
|
const appEnvPrefix = messenger.app.envPrefix;
|
|
766
766
|
const listening = await serveOverHttp(build, {
|