@wirecat/drive-cli 0.53.0 → 0.54.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.
- package/dist/bin/drive.js +2 -2
- package/dist/bundle/{all-profiles-WRN35CUF.js → all-profiles-I5KJKZPF.js} +9 -9
- package/dist/bundle/{anthropic-DZASXWG3.js → anthropic-DPM7BRKX.js} +5 -5
- package/dist/bundle/{app-server-4VHT7QZN.js → app-server-FTGLOZ2K.js} +46 -46
- package/dist/bundle/{bun-7SYKSCLA.js → bun-XRO6XJHQ.js} +2 -2
- package/dist/bundle/{bun-sqlite-2GOM5PM3.js → bun-sqlite-7JJX6OUT.js} +4 -4
- package/dist/bundle/{chunk-54BYJQ77.js → chunk-2DZMGPUC.js} +25 -25
- package/dist/bundle/{chunk-WJRJBQIM.js → chunk-2KARCTUU.js} +549 -288
- package/dist/bundle/{chunk-PSNHPFSK.js → chunk-2LLNPNMB.js} +1 -1
- package/dist/bundle/{chunk-EKFEY3KP.js → chunk-2OGANEKA.js} +1 -1
- package/dist/bundle/{chunk-VTWADVEQ.js → chunk-3K4H2DTA.js} +2 -2
- package/dist/bundle/{chunk-UFWK3L5Z.js → chunk-4I7EBJJV.js} +6 -6
- package/dist/bundle/{chunk-2PVDFLJJ.js → chunk-4LZFESHQ.js} +4 -2
- package/dist/bundle/{chunk-LJAX6YCF.js → chunk-4XRLPQ3N.js} +2 -2
- package/dist/bundle/{chunk-E6XDFMRZ.js → chunk-5DEEBWDI.js} +32 -32
- package/dist/bundle/{chunk-RNIHKIQP.js → chunk-67A2YFAT.js} +4 -4
- package/dist/bundle/{chunk-DOZOLBXE.js → chunk-7GJBKGRZ.js} +3 -3
- package/dist/bundle/{chunk-LSGAJYVN.js → chunk-7MVKSPEG.js} +6 -6
- package/dist/bundle/{chunk-ZDLIO76S.js → chunk-ALMQEGYO.js} +2 -2
- package/dist/bundle/{chunk-FXWBUTR7.js → chunk-AQNY57J2.js} +7 -7
- package/dist/bundle/{chunk-JEOYFKUK.js → chunk-AR2HRFQO.js} +2 -2
- package/dist/bundle/{chunk-3RYX7IB6.js → chunk-BO7ZKZCH.js} +39 -38
- package/dist/bundle/{chunk-QXYGK6G5.js → chunk-C4QKY33N.js} +2 -2
- package/dist/bundle/{chunk-VZ2I62HN.js → chunk-DNJ43DT5.js} +2 -2
- package/dist/bundle/{chunk-ZG6X24ON.js → chunk-E7RDXCV2.js} +5 -5
- package/dist/bundle/{chunk-ALJWBGD5.js → chunk-EOEDICIE.js} +1 -1
- package/dist/bundle/{chunk-6DHQTUB2.js → chunk-FDCGTODC.js} +1 -1
- package/dist/bundle/{chunk-HM352LJR.js → chunk-FDM3JMQZ.js} +24 -24
- package/dist/bundle/{chunk-IJFZKQC4.js → chunk-FKHWVVMV.js} +3 -3
- package/dist/bundle/{chunk-PR3DA7KA.js → chunk-FNDQFFLP.js} +11 -11
- package/dist/bundle/{chunk-CKBHR7QO.js → chunk-FUKJQZED.js} +1 -1
- package/dist/bundle/{chunk-PC4UA6UN.js → chunk-GB5YM5HK.js} +5 -5
- package/dist/bundle/{chunk-CNKILAWA.js → chunk-GC4JNVYF.js} +43 -25
- package/dist/bundle/{chunk-BEL4XZ3M.js → chunk-GIRVMZD3.js} +16 -16
- package/dist/bundle/{chunk-YQOVVCIA.js → chunk-HNR2BJJU.js} +17 -16
- package/dist/bundle/{chunk-T334CFU4.js → chunk-IDK5QUBJ.js} +4 -4
- package/dist/bundle/{chunk-WUX7AUOQ.js → chunk-IXXVCKWL.js} +26 -26
- package/dist/bundle/{chunk-NHBUTCNR.js → chunk-J6XLM4QW.js} +9 -9
- package/dist/bundle/{chunk-CITFEQ6S.js → chunk-JBBZCTTF.js} +1 -1
- package/dist/bundle/{chunk-7XKAVMCF.js → chunk-JPFF6MNK.js} +8 -8
- package/dist/bundle/{chunk-SQHPJBNO.js → chunk-K2DMCTTF.js} +95 -95
- package/dist/bundle/{chunk-NSIFQ5OP.js → chunk-KM7Q67Z3.js} +1 -1
- package/dist/bundle/{chunk-6BNALDGA.js → chunk-KWKRTYRL.js} +4 -4
- package/dist/bundle/{chunk-TZLO3ZZF.js → chunk-KXWJT72E.js} +17 -26
- package/dist/bundle/{chunk-6XYGTRMQ.js → chunk-LAVWTS4P.js} +523 -268
- package/dist/bundle/{chunk-DZMK255Y.js → chunk-N4VNUOOD.js} +41 -31
- package/dist/bundle/{chunk-IAQ4L6SM.js → chunk-NCCL4QWR.js} +3 -3
- package/dist/bundle/{chunk-SIWBUGBU.js → chunk-NDG6LHX7.js} +8 -8
- package/dist/bundle/{chunk-GPJEYW2J.js → chunk-NDUYK676.js} +8 -8
- package/dist/bundle/{chunk-PIMMF67N.js → chunk-NFOUG7ES.js} +2 -2
- package/dist/bundle/{chunk-DT2YCB2V.js → chunk-NPKFXGYG.js} +24 -22
- package/dist/bundle/{chunk-CL4GVCXS.js → chunk-NPMVPKBD.js} +46 -46
- package/dist/bundle/{chunk-MK3N7WX7.js → chunk-ORRQDSDH.js} +3 -3
- package/dist/bundle/{chunk-YLKQSVLI.js → chunk-P4ABC6C4.js} +2 -2
- package/dist/bundle/{chunk-GVCN3GLZ.js → chunk-PFTIYWOK.js} +4 -4
- package/dist/bundle/{chunk-KXMJE3XC.js → chunk-RMQGFLT2.js} +6 -6
- package/dist/bundle/{chunk-YKZ4IPLB.js → chunk-TBD362SJ.js} +7 -7
- package/dist/bundle/{chunk-SVTYS36O.js → chunk-TD4RAOMZ.js} +3 -3
- package/dist/bundle/{chunk-R276546S.js → chunk-TIEEVT2Z.js} +1 -1
- package/dist/bundle/{chunk-OQMK6WXQ.js → chunk-TIVC4DB5.js} +2 -2
- package/dist/bundle/{chunk-ZSXRDF6I.js → chunk-TQFCPUIM.js} +1 -1
- package/dist/bundle/{chunk-KPBCGUJC.js → chunk-UDWMRZL6.js} +21 -21
- package/dist/bundle/{chunk-DLAFGSTN.js → chunk-UIPT6IAU.js} +1 -1
- package/dist/bundle/{chunk-C6Z25IBJ.js → chunk-ULPS2OAL.js} +4 -4
- package/dist/bundle/{chunk-7SH4JHYW.js → chunk-VGTDXEYD.js} +12 -12
- package/dist/bundle/{chunk-R4TE4ZSD.js → chunk-VVMCGF5X.js} +342 -296
- package/dist/bundle/{chunk-F3KHUJEE.js → chunk-VXZULAWV.js} +10 -10
- package/dist/bundle/{chunk-7IUMHMTP.js → chunk-VY2AUZMJ.js} +2 -2
- package/dist/bundle/{chunk-GE4DP24O.js → chunk-VY3TYRCK.js} +51 -51
- package/dist/bundle/{chunk-2HHOMN2G.js → chunk-W6DMCGMK.js} +23 -23
- package/dist/bundle/{chunk-FJW3DDCF.js → chunk-XTNEYXAQ.js} +5 -5
- package/dist/bundle/{chunk-FG4XXZZE.js → chunk-YP5FDMTG.js} +2 -2
- package/dist/bundle/command-contract-VXLGE6NV.js +35 -0
- package/dist/bundle/{decode-WAPM2VBH.js → decode-3LX3BLZM.js} +4 -4
- package/dist/bundle/drive.js +6 -6
- package/dist/bundle/{echarts-GXY34GHA.js → echarts-YNGCOYHW.js} +2 -2
- package/dist/bundle/{embed-HW3N3KNP.js → embed-FICTRZJL.js} +5 -5
- package/dist/bundle/{embedder-7WNFXYYP.js → embedder-DSMRCRSH.js} +8 -8
- package/dist/bundle/{entry-J7YIRDPD.js → entry-4ZX3BNXK.js} +6 -6
- package/dist/bundle/{first-run-53CL2IYH.js → first-run-GRBQ3SQ5.js} +9 -9
- package/dist/bundle/first-screen-JK3MZVCU.js +33 -0
- package/dist/bundle/{google-5NNVARNR.js → google-QV2B2KZA.js} +9 -9
- package/dist/bundle/{google-api-EQQH53QD.js → google-api-EVO7F3WB.js} +51 -51
- package/dist/bundle/grants-VJDGD3BG.js +98 -0
- package/dist/bundle/identity-25CTQZS3.js +14 -0
- package/dist/bundle/{instructions-K5BEQM4C.js → instructions-GJHHFV64.js} +1 -1
- package/dist/bundle/{login-Y6ENYKC3.js → login-54G4F4EP.js} +58 -60
- package/dist/bundle/{mcp-WSGVVZWI.js → mcp-EMNFFY4N.js} +2 -2
- package/dist/bundle/{node-ZYWB7IET.js → node-GFOH6FKP.js} +2 -2
- package/dist/bundle/{node-sqlite-FSQIKGED.js → node-sqlite-NZIBED3C.js} +4 -4
- package/dist/bundle/{oauth-HF5USWXY.js → oauth-WUHT2JII.js} +6 -6
- package/dist/bundle/{open-NHGJENCX.js → open-INBNHORD.js} +3 -3
- package/dist/bundle/{openai-3JCJYKNX.js → openai-BMREUGJP.js} +13 -13
- package/dist/bundle/{process-ZXO2MWRJ.js → process-XVDX4SPD.js} +1 -1
- package/dist/bundle/{program-QAJ66K3Z.js → program-5OBA53CL.js} +75 -75
- package/dist/bundle/{prompt-LQJBCCUF.js → prompt-S7GHCPGR.js} +4 -4
- package/dist/bundle/{reasons-J57GSRWN.js → reasons-T24V3AYS.js} +3 -3
- package/dist/bundle/{recognize-QM3LN4ZF.js → recognize-T3DABMW5.js} +3 -3
- package/dist/bundle/{remote-WREGEZJQ.js → remote-ASYGFT6E.js} +6 -6
- package/dist/bundle/{rerank-YFUB6J6M.js → rerank-BQ5U252K.js} +6 -6
- package/dist/bundle/{serve-7NFEZ564.js → serve-JMLNKCUZ.js} +8 -8
- package/dist/bundle/{server-KBCFZ2AU.js → server-5E6RC7GZ.js} +38 -38
- package/dist/bundle/server-QI4C3CQT.js +63 -0
- package/dist/bundle/{services-C3XWRA2W.js → services-NFB3XSON.js} +29 -25
- package/dist/bundle/{sqlite-runtime-H3TSAMIN.js → sqlite-runtime-TAMYMQFR.js} +4 -4
- package/dist/bundle/{state-S2Q53L6L.js → state-DS4G3ZXV.js} +5 -5
- package/dist/bundle/{store-I27LAJPU.js → store-HAS2LRFE.js} +14 -14
- package/dist/bundle/{store-H345VQHP.js → store-MLMKYJLC.js} +12 -12
- package/dist/bundle/store-maintenance-command-LI3JR22B.js +52 -0
- package/dist/bundle/tokens-AJF2D5TA.js +96 -0
- package/dist/commands/upgrade.d.ts.map +1 -1
- package/dist/commands/upgrade.js +1 -1
- package/dist/commands/upgrade.js.map +1 -1
- package/dist/identity.d.ts +1 -0
- package/dist/identity.d.ts.map +1 -1
- package/dist/identity.js +1 -0
- package/dist/identity.js.map +1 -1
- package/dist/login.d.ts.map +1 -1
- package/dist/login.js +2 -4
- package/dist/login.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +2 -1
- package/dist/program.js.map +1 -1
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +0 -9
- 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/command-contract-D4UG3D33.js +0 -35
- package/dist/bundle/first-screen-2KT7HM2K.js +0 -33
- package/dist/bundle/grants-4NETZ4MR.js +0 -98
- package/dist/bundle/identity-LBTXDMTA.js +0 -12
- package/dist/bundle/server-UYVL2CFI.js +0 -63
- package/dist/bundle/store-maintenance-command-3XA73XMC.js +0 -52
- package/dist/bundle/tokens-7MUGKFEM.js +0 -96
- /package/dist/bundle/{chunk-62EDJKGP.js → chunk-NPGVOZVK.js} +0 -0
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/mcp/bot/instructions.js
|
|
8
8
|
var botInstructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => [
|
|
9
9
|
`The owner's ${name} bot "${profile}", through the official Bot API \u2014 not the owner's personal account. What it writes, people see as the bot.`,
|
|
10
10
|
"Use these tools to read the chats this bot is in, find a message or a person, and \u2014 when the profile allows \u2014 write as the bot.",
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
import {
|
|
29
29
|
agentOf,
|
|
30
30
|
clientHash
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-NDUYK676.js";
|
|
32
32
|
import {
|
|
33
33
|
__name
|
|
34
34
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -540,7 +540,7 @@ function toError(value) {
|
|
|
540
540
|
}
|
|
541
541
|
__name(toError, "toError");
|
|
542
542
|
|
|
543
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
543
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/mcp/caller.js
|
|
544
544
|
var CALLER_META_KEY = "wirecat.dev/caller";
|
|
545
545
|
var PROXY_CLIENT_NAME = "all-profiles";
|
|
546
546
|
var NAME = /^[\w .@()/+-]{1,64}$/;
|
|
@@ -2,25 +2,25 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
ENTITIES
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-K2DMCTTF.js";
|
|
6
6
|
import {
|
|
7
7
|
annotate,
|
|
8
8
|
answerSchema,
|
|
9
9
|
describeOptions,
|
|
10
10
|
metaOf
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-BO7ZKZCH.js";
|
|
12
12
|
import {
|
|
13
13
|
keyForCommand
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-W6DMCGMK.js";
|
|
15
15
|
import {
|
|
16
16
|
CliError,
|
|
17
17
|
jsonSchemaOf
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-TBD362SJ.js";
|
|
19
19
|
import {
|
|
20
20
|
__name
|
|
21
21
|
} from "./chunk-ZVVMGPBJ.js";
|
|
22
22
|
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
24
24
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
25
25
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema, options = {}) => {
|
|
26
26
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -50,7 +50,7 @@ var answerProjectionSchema = /* @__PURE__ */ __name((command) => {
|
|
|
50
50
|
return own && metaOf(command).output?.entity === own.name ? own.project : void 0;
|
|
51
51
|
}, "answerProjectionSchema");
|
|
52
52
|
|
|
53
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
53
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/command-contract.js
|
|
54
54
|
var SCHEMA_DIALECT = "https://json-schema.org/draft/2020-12/schema";
|
|
55
55
|
var outputOf = /* @__PURE__ */ __name((command) => {
|
|
56
56
|
const entity = answerEntitySchema(command);
|
|
@@ -2,12 +2,13 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
REASONS
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-2OGANEKA.js";
|
|
6
6
|
|
|
7
7
|
// dist/version.js
|
|
8
|
-
var VERSION = "0.
|
|
8
|
+
var VERSION = "0.54.1";
|
|
9
9
|
|
|
10
10
|
// dist/identity.js
|
|
11
|
+
var PACKAGE = "@wirecat/drive-cli";
|
|
11
12
|
var DRIVE_APP = {
|
|
12
13
|
command: "drive",
|
|
13
14
|
appName: "drive-cli",
|
|
@@ -20,5 +21,6 @@ var DRIVE_APP = {
|
|
|
20
21
|
|
|
21
22
|
export {
|
|
22
23
|
VERSION,
|
|
24
|
+
PACKAGE,
|
|
23
25
|
DRIVE_APP
|
|
24
26
|
};
|
|
@@ -10,12 +10,12 @@ import {
|
|
|
10
10
|
optional,
|
|
11
11
|
pipe,
|
|
12
12
|
safeParse
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-TBD362SJ.js";
|
|
14
14
|
import {
|
|
15
15
|
__name
|
|
16
16
|
} from "./chunk-ZVVMGPBJ.js";
|
|
17
17
|
|
|
18
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/models/options.js
|
|
19
19
|
var checkedOptions = /* @__PURE__ */ __name((provider, schema, options) => {
|
|
20
20
|
const parsed = safeParse(schema, options);
|
|
21
21
|
if (!parsed.success) {
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
registerPrompts,
|
|
14
14
|
stdinFieldOf,
|
|
15
15
|
syncsFirst
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-FDM3JMQZ.js";
|
|
17
17
|
import {
|
|
18
18
|
answeredWire
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-JBBZCTTF.js";
|
|
20
20
|
import {
|
|
21
21
|
BinaryResource,
|
|
22
22
|
Picture,
|
|
@@ -37,44 +37,44 @@ import {
|
|
|
37
37
|
tool,
|
|
38
38
|
toolKey,
|
|
39
39
|
toolsFromCommands
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-GC4JNVYF.js";
|
|
41
41
|
import {
|
|
42
42
|
agentJson,
|
|
43
43
|
skillResource
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-HNR2BJJU.js";
|
|
45
45
|
import {
|
|
46
46
|
StdioServerTransport,
|
|
47
47
|
callerOf,
|
|
48
48
|
serveStdio
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-3K4H2DTA.js";
|
|
50
50
|
import {
|
|
51
51
|
instructions
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-TQFCPUIM.js";
|
|
53
53
|
import {
|
|
54
54
|
McpServer,
|
|
55
55
|
ResourceTemplate
|
|
56
56
|
} from "./chunk-5D4AEUVA.js";
|
|
57
57
|
import {
|
|
58
58
|
mcpHttpMarker
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-KWKRTYRL.js";
|
|
60
60
|
import {
|
|
61
61
|
connectedFor,
|
|
62
62
|
guardFor
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-2DZMGPUC.js";
|
|
64
64
|
import {
|
|
65
65
|
lackedNeed,
|
|
66
66
|
wholeList
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-NPKFXGYG.js";
|
|
68
68
|
import {
|
|
69
69
|
capability,
|
|
70
70
|
dateWindow,
|
|
71
71
|
imageSize,
|
|
72
72
|
servicesFor,
|
|
73
73
|
storedDeps
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-LAVWTS4P.js";
|
|
75
75
|
import {
|
|
76
76
|
findCommand
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-4I7EBJJV.js";
|
|
78
78
|
import {
|
|
79
79
|
DEFAULT_OUTPUT_BYTES,
|
|
80
80
|
changesAuthorityAt,
|
|
@@ -87,37 +87,37 @@ import {
|
|
|
87
87
|
rootOf2 as rootOf,
|
|
88
88
|
sealed,
|
|
89
89
|
snakeKeys
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-BO7ZKZCH.js";
|
|
91
91
|
import {
|
|
92
92
|
withCaller
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-NDUYK676.js";
|
|
94
94
|
import {
|
|
95
95
|
levelFor,
|
|
96
96
|
readKeysForCommand,
|
|
97
97
|
typedCommand
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-W6DMCGMK.js";
|
|
99
99
|
import {
|
|
100
100
|
isCliFailure
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-P4ABC6C4.js";
|
|
102
102
|
import {
|
|
103
103
|
readOnlyLockOf
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-ALMQEGYO.js";
|
|
105
105
|
import {
|
|
106
106
|
warmEmbedders
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-GB5YM5HK.js";
|
|
108
108
|
import {
|
|
109
109
|
openStore
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-VVMCGF5X.js";
|
|
111
111
|
import {
|
|
112
112
|
pdfPreviewLimits
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-AR2HRFQO.js";
|
|
114
114
|
import {
|
|
115
115
|
timezoneOf
|
|
116
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-J6XLM4QW.js";
|
|
117
117
|
import {
|
|
118
118
|
mcpErrorResult,
|
|
119
119
|
visibleControls
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-N4VNUOOD.js";
|
|
121
121
|
import {
|
|
122
122
|
CliError,
|
|
123
123
|
description,
|
|
@@ -133,15 +133,15 @@ import {
|
|
|
133
133
|
regex,
|
|
134
134
|
strictObject,
|
|
135
135
|
string
|
|
136
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-TBD362SJ.js";
|
|
137
137
|
import {
|
|
138
138
|
__name
|
|
139
139
|
} from "./chunk-ZVVMGPBJ.js";
|
|
140
140
|
|
|
141
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
141
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
142
142
|
import { randomUUID } from "node:crypto";
|
|
143
143
|
|
|
144
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
144
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
|
|
145
145
|
var agentLog = /* @__PURE__ */ __name((open) => {
|
|
146
146
|
let held;
|
|
147
147
|
return {
|
|
@@ -160,7 +160,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
|
|
|
160
160
|
};
|
|
161
161
|
}, "agentLog");
|
|
162
162
|
|
|
163
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
163
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/mcp/resources.js
|
|
164
164
|
var LISTED = 100;
|
|
165
165
|
var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
|
|
166
166
|
server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
|
|
@@ -198,7 +198,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
|
|
|
198
198
|
});
|
|
199
199
|
}, "registerResources");
|
|
200
200
|
|
|
201
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
201
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/mcp/session.js
|
|
202
202
|
var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
|
|
203
203
|
var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
|
|
204
204
|
var MessengerSession = class {
|
|
@@ -273,7 +273,7 @@ var MessengerSession = class {
|
|
|
273
273
|
}
|
|
274
274
|
};
|
|
275
275
|
|
|
276
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
276
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
|
|
277
277
|
var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
278
278
|
const _command = messenger.app.command;
|
|
279
279
|
return {
|
|
@@ -327,7 +327,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
|
327
327
|
};
|
|
328
328
|
}, "attachmentsTools");
|
|
329
329
|
|
|
330
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
330
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
|
|
331
331
|
var PHOTO_LIMIT = 512 * 1024;
|
|
332
332
|
var IMAGE_TYPES = [
|
|
333
333
|
["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
|
|
@@ -381,7 +381,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
|
|
|
381
381
|
return new Uint8Array(Buffer.concat(chunks));
|
|
382
382
|
}, "readUpTo");
|
|
383
383
|
|
|
384
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
384
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
|
|
385
385
|
var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
386
386
|
stats_charts: tool({
|
|
387
387
|
title: "A chart from a chat's statistics",
|
|
@@ -418,14 +418,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
|
418
418
|
})
|
|
419
419
|
}), "statsTools");
|
|
420
420
|
|
|
421
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
421
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/mcp/tools.js
|
|
422
422
|
var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
|
|
423
423
|
...messagesPhotoTools(messenger),
|
|
424
424
|
...attachmentsTools(messenger),
|
|
425
425
|
...statsTools(messenger)
|
|
426
426
|
}).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
|
|
427
427
|
|
|
428
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
428
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
429
429
|
var PER_RUN = /* @__PURE__ */ new Set([
|
|
430
430
|
"streams",
|
|
431
431
|
"stdin",
|
|
@@ -749,7 +749,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
|
|
|
749
749
|
}, "serveOverStdio");
|
|
750
750
|
var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
|
|
751
751
|
const { session, embedders, build, log } = createServer(command, context, messenger, options);
|
|
752
|
-
const { serveOverHttp } = await import("./serve-
|
|
752
|
+
const { serveOverHttp } = await import("./serve-JMLNKCUZ.js");
|
|
753
753
|
const appName = messenger.app.command;
|
|
754
754
|
const appEnvPrefix = messenger.app.envPrefix;
|
|
755
755
|
const listening = await serveOverHttp(build, {
|
|
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
wirecatDirectory
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-C4QKY33N.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-TBD362SJ.js";
|
|
9
9
|
import {
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/speech/models.js
|
|
14
14
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/csukuangfj/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
15
15
|
var gigaam = huggingFace("sherpa-onnx-nemo-transducer-punct-giga-am-v3-russian-2025-12-16", "a6039be7cee829a9044a69ac0ebaf1c191217c97");
|
|
16
16
|
var gigaamCtc = huggingFace("sherpa-onnx-nemo-ctc-punct-giga-am-v3-russian-2025-12-16", "4fb5407ff028a69fec516cdf4c10fac9ddea7c16");
|
|
@@ -135,7 +135,7 @@ var speechModel = /* @__PURE__ */ __name((id) => {
|
|
|
135
135
|
return model;
|
|
136
136
|
}, "speechModel");
|
|
137
137
|
|
|
138
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
138
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/speech/install.js
|
|
139
139
|
import { createHash, randomUUID } from "node:crypto";
|
|
140
140
|
import { createReadStream, createWriteStream, mkdirSync, statSync } from "node:fs";
|
|
141
141
|
import { rename, rm } from "node:fs/promises";
|
|
@@ -2,17 +2,17 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
VERSION
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-4LZFESHQ.js";
|
|
6
6
|
import {
|
|
7
7
|
annotate,
|
|
8
8
|
commandsDocument,
|
|
9
9
|
describeProgram,
|
|
10
10
|
flatten,
|
|
11
11
|
profileFree
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-BO7ZKZCH.js";
|
|
13
13
|
import {
|
|
14
14
|
CliError
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-TBD362SJ.js";
|
|
16
16
|
import {
|
|
17
17
|
__name
|
|
18
18
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -2,19 +2,19 @@ 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-TBD362SJ.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.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/driver.js
|
|
11
11
|
var PRAGMAS = `
|
|
12
12
|
PRAGMA busy_timeout = 5000;
|
|
13
13
|
PRAGMA journal_mode = WAL;
|
|
14
14
|
PRAGMA foreign_keys = ON;
|
|
15
15
|
`;
|
|
16
16
|
|
|
17
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
|
|
18
18
|
var SQLITE_WARNING = "SQLite is an experimental feature";
|
|
19
19
|
var quieted = /* @__PURE__ */ new WeakSet();
|
|
20
20
|
var quietSqliteWarning = /* @__PURE__ */ __name((host = process) => {
|
|
@@ -35,7 +35,7 @@ var isSqliteWarning = /* @__PURE__ */ __name((warning, options) => {
|
|
|
35
35
|
return name === "ExperimentalWarning" && message.startsWith(SQLITE_WARNING);
|
|
36
36
|
}, "isSqliteWarning");
|
|
37
37
|
|
|
38
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
38
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/open.js
|
|
39
39
|
var openCache = /* @__PURE__ */ __name(async (path) => {
|
|
40
40
|
const database = await openFile(path);
|
|
41
41
|
try {
|
|
@@ -48,12 +48,12 @@ var openCache = /* @__PURE__ */ __name(async (path) => {
|
|
|
48
48
|
}, "openCache");
|
|
49
49
|
var openFile = /* @__PURE__ */ __name((path) => "Bun" in globalThis ? openUnderBun(path) : openUnderNode(path), "openFile");
|
|
50
50
|
var openUnderBun = /* @__PURE__ */ __name(async (path) => {
|
|
51
|
-
const { openWithBunSqlite } = await import("./bun-sqlite-
|
|
51
|
+
const { openWithBunSqlite } = await import("./bun-sqlite-7JJX6OUT.js");
|
|
52
52
|
return await openWithBunSqlite(path);
|
|
53
53
|
}, "openUnderBun");
|
|
54
54
|
var openUnderNode = /* @__PURE__ */ __name(async (path) => {
|
|
55
55
|
quietSqliteWarning();
|
|
56
|
-
const { openWithNodeSqlite } = await import("./node-sqlite-
|
|
56
|
+
const { openWithNodeSqlite } = await import("./node-sqlite-NZIBED3C.js");
|
|
57
57
|
return openWithNodeSqlite(path);
|
|
58
58
|
}, "openUnderNode");
|
|
59
59
|
var runtime = /* @__PURE__ */ __name(() => {
|
|
@@ -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-TBD362SJ.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.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/ports/app.js
|
|
11
11
|
var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
|
|
12
12
|
var readOnlyLockOf = /* @__PURE__ */ __name((app, env) => {
|
|
13
13
|
const name = envName(app, "READ_ONLY");
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
commandPathOf,
|
|
8
8
|
findCommand,
|
|
9
9
|
outputOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4I7EBJJV.js";
|
|
11
11
|
import {
|
|
12
12
|
Command,
|
|
13
13
|
Help,
|
|
@@ -18,16 +18,16 @@ import {
|
|
|
18
18
|
environmentOf,
|
|
19
19
|
metaOf,
|
|
20
20
|
takesProfile
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-BO7ZKZCH.js";
|
|
22
22
|
import {
|
|
23
23
|
CliError,
|
|
24
24
|
writes
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-TBD362SJ.js";
|
|
26
26
|
import {
|
|
27
27
|
__name
|
|
28
28
|
} from "./chunk-ZVVMGPBJ.js";
|
|
29
29
|
|
|
30
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/help/sections.js
|
|
31
31
|
var SECTIONS = {
|
|
32
32
|
read: "Read",
|
|
33
33
|
write: "Write",
|
|
@@ -92,7 +92,7 @@ var CORE_SECTIONS = {
|
|
|
92
92
|
upgrade: "setup"
|
|
93
93
|
};
|
|
94
94
|
|
|
95
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
95
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/help/commands-text.js
|
|
96
96
|
var DESCRIPTION = 90;
|
|
97
97
|
var COLUMN = 52;
|
|
98
98
|
var short = /* @__PURE__ */ __name((text) => {
|
|
@@ -131,7 +131,7 @@ var commandsText = /* @__PURE__ */ __name((root, commands, scope) => {
|
|
|
131
131
|
`;
|
|
132
132
|
}, "commandsText");
|
|
133
133
|
|
|
134
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
134
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
|
|
135
135
|
var ARGUMENT_KINDS = {
|
|
136
136
|
chat: "chat",
|
|
137
137
|
chats: "chat",
|
|
@@ -323,7 +323,7 @@ var installCommandHelp = /* @__PURE__ */ __name((program, { profile = true } = {
|
|
|
323
323
|
command.addHelpText("after", () => commandHelpText(command));
|
|
324
324
|
}, "installCommandHelp");
|
|
325
325
|
|
|
326
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
326
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
|
|
327
327
|
var WIRECAT_TOOLS = [
|
|
328
328
|
{
|
|
329
329
|
command: "tg",
|
|
@@ -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-TBD362SJ.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.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/attachments/limits.js
|
|
11
11
|
var MAX_FILE_BYTES = 50 * 1024 * 1024;
|
|
12
12
|
var MAX_TEXT_CHARS = 2e6;
|
|
13
13
|
var ATTACHMENT_LIMIT_ENV = [
|