@wirecat/mail-cli 0.22.0 → 0.23.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/CHANGELOG.md +34 -0
- package/README.md +2 -1
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/{all-profiles-DTUWUCQQ.js → all-profiles-FJHJCGRU.js} +9 -9
- package/dist/bundle/{anthropic-YJAEQSNT.js → anthropic-AFL7NKVZ.js} +9 -7
- package/dist/bundle/{app-server-3ZXSTBA3.js → app-server-WKCBJMHI.js} +46 -46
- package/dist/bundle/{bun-34VBM7C5.js → bun-HQATAQJQ.js} +2 -2
- package/dist/bundle/{bun-sqlite-GCT7ROCK.js → bun-sqlite-4ECAV7OU.js} +4 -4
- package/dist/bundle/{chunk-RFB27ACZ.js → chunk-2HXHAFRP.js} +2 -2
- package/dist/bundle/{chunk-MD64ITYO.js → chunk-34743C4C.js} +1 -1
- package/dist/bundle/{chunk-Z75WYAX6.js → chunk-3OZKDC6Y.js} +8 -7
- package/dist/bundle/{chunk-UWL2IOII.js → chunk-3QVGB2CI.js} +2 -2
- package/dist/bundle/{chunk-3HDQVTND.js → chunk-3UFD76IR.js} +5 -5
- package/dist/bundle/{chunk-SCIC2CJS.js → chunk-4IFX4HV2.js} +4 -4
- package/dist/bundle/{chunk-QE72KTS7.js → chunk-4IWJARFA.js} +1 -1
- package/dist/bundle/{chunk-ZZSHGCRC.js → chunk-4YJJQNNJ.js} +4 -4
- package/dist/bundle/{chunk-RPCKBXKN.js → chunk-5UKBUI4I.js} +2 -2
- package/dist/bundle/{chunk-J4UZXBEV.js → chunk-76RTQYJQ.js} +1 -1
- package/dist/bundle/{chunk-I2SDXWLR.js → chunk-7YRKUEYE.js} +118 -54
- package/dist/bundle/{chunk-ZKLXSVIO.js → chunk-AGNAT7CM.js} +1 -1
- package/dist/bundle/{chunk-HSBGNVEL.js → chunk-B6QMMRIM.js} +361 -188
- package/dist/bundle/{chunk-WBAA2X3E.js → chunk-BVJQBAGL.js} +11 -11
- package/dist/bundle/{chunk-TCCN5TON.js → chunk-CBWA2T3N.js} +24 -2
- package/dist/bundle/{chunk-P6FT6YYT.js → chunk-CCYHBNRL.js} +16 -16
- package/dist/bundle/{chunk-B74SOC4R.js → chunk-CUOCDJFI.js} +8 -8
- package/dist/bundle/{chunk-RY7PBP4F.js → chunk-CYQVWITQ.js} +16 -16
- package/dist/bundle/{chunk-566MEXK5.js → chunk-E7ZVKQHG.js} +3 -3
- package/dist/bundle/{chunk-HJ2CXDKJ.js → chunk-EXPR6QAX.js} +26 -12
- package/dist/bundle/{chunk-LTXYJAJK.js → chunk-FWFNUJQD.js} +24 -63
- package/dist/bundle/{chunk-VINSQR4X.js → chunk-GJNFNC76.js} +7 -7
- package/dist/bundle/{chunk-BHNBWFT5.js → chunk-GOMJNH56.js} +44 -0
- package/dist/bundle/{chunk-7XLOWYGD.js → chunk-HOKGIYUO.js} +39 -4
- package/dist/bundle/{chunk-FTI73RLC.js → chunk-KKGX7JMX.js} +2 -2
- package/dist/bundle/{chunk-BMV56JCL.js → chunk-LLYVBO3R.js} +1 -1
- package/dist/bundle/{chunk-QTMVGOSF.js → chunk-LQDMUMA2.js} +1336 -796
- package/dist/bundle/{chunk-VQZCIDSO.js → chunk-M7RGG3UU.js} +3 -3
- package/dist/bundle/{chunk-R3WPMQYZ.js → chunk-MBKNL5TX.js} +632 -435
- package/dist/bundle/{chunk-AF62BPIW.js → chunk-MUDHCYN4.js} +5 -5
- package/dist/bundle/{chunk-25PD6FZY.js → chunk-NKBAZ4VC.js} +2 -2
- package/dist/bundle/{chunk-2PPEDB67.js → chunk-NMGF3UOZ.js} +30 -30
- package/dist/bundle/{chunk-KMQAHDBM.js → chunk-NOA6E6MM.js} +2173 -1297
- package/dist/bundle/{chunk-J2U6LUT5.js → chunk-OJCUSHZG.js} +3 -3
- package/dist/bundle/{chunk-T3DTYJTG.js → chunk-OU5CWCG2.js} +1 -1
- package/dist/bundle/{chunk-OKO2Q6H6.js → chunk-PMIKRELC.js} +2 -2
- package/dist/bundle/{chunk-RT6SLZBI.js → chunk-QR7JZM3D.js} +1 -1
- package/dist/bundle/{chunk-O3M2S62X.js → chunk-QUKD5SO2.js} +3 -3
- package/dist/bundle/{chunk-SFC46MP2.js → chunk-QV3M2MHG.js} +10 -10
- package/dist/bundle/{chunk-SYEICLTR.js → chunk-R554W7ZO.js} +1 -1
- package/dist/bundle/{chunk-NOVBK4SY.js → chunk-R5MYOLQP.js} +12 -12
- package/dist/bundle/{chunk-4FWJNIPH.js → chunk-ROKTS7WM.js} +1 -1
- package/dist/bundle/{chunk-GAPQENMY.js → chunk-S5OTP7XS.js} +22 -4
- package/dist/bundle/{chunk-HRRSTIGP.js → chunk-SBGXKM4U.js} +10 -6
- package/dist/bundle/{chunk-ODFHIXMA.js → chunk-SNTLN2QT.js} +1 -1
- package/dist/bundle/{chunk-VDUGE6TH.js → chunk-SR3ADLGX.js} +2 -2
- package/dist/bundle/{chunk-4WIEVQ2Q.js → chunk-UMXVQIGD.js} +137 -9
- package/dist/bundle/{chunk-HN43G27G.js → chunk-V3TDQUXD.js} +45 -27
- package/dist/bundle/{chunk-3DSYLE5N.js → chunk-V7CFZ773.js} +2 -2
- package/dist/bundle/{chunk-LF5XM4HE.js → chunk-VAMCRP47.js} +1 -1
- package/dist/bundle/{chunk-Z7N4MGOQ.js → chunk-VFKX5UMJ.js} +5 -5
- package/dist/bundle/{chunk-72N26BQM.js → chunk-VYHIX3OP.js} +88 -88
- package/dist/bundle/{chunk-P2QJA7S5.js → chunk-VYIIX6VN.js} +1 -1
- package/dist/bundle/{chunk-V6OIIVH3.js → chunk-WN4HP7IZ.js} +11 -11
- package/dist/bundle/{chunk-MDDB7M7Z.js → chunk-ZXIPJF3Y.js} +1 -1
- package/dist/bundle/command-contract-IIHBNF7J.js +35 -0
- package/dist/bundle/{decode-BIOOL5E4.js → decode-QXKTMOTH.js} +4 -4
- package/dist/bundle/{dispatch-R5OF2FVZ.js → dispatch-G4CYFWQ2.js} +1 -1
- package/dist/bundle/{dist-TJVIRLE5.js → dist-5FX36DAW.js} +44 -22
- package/dist/bundle/{echarts-ECPGMKXO.js → echarts-HHUM43TU.js} +2 -2
- package/dist/bundle/{embed-F7JFSLHN.js → embed-SRZSDZVI.js} +5 -5
- package/dist/bundle/{embedder-U4G74HV3.js → embedder-WZIZCWLX.js} +8 -8
- package/dist/bundle/{failure-WYKVF6RH.js → failure-FFPK2WYB.js} +1 -1
- package/dist/bundle/{first-run-JTYPUYQP.js → first-run-6DVWZ3JQ.js} +8 -8
- package/dist/bundle/first-screen-SRZ7NYHZ.js +33 -0
- package/dist/bundle/{instructions-WNCGZ7OJ.js → instructions-UWONE6UT.js} +1 -1
- package/dist/bundle/mail.js +5 -5
- package/dist/bundle/{node-UIRGGMGT.js → node-HLAOYJDB.js} +2 -2
- package/dist/bundle/{node-sqlite-4ZM7OPRF.js → node-sqlite-RO66I7W6.js} +5 -5
- package/dist/bundle/{oauth-5RAJZPBW.js → oauth-VNLB2TET.js} +6 -6
- package/dist/bundle/{open-7ORCHOAI.js → open-QQSG343L.js} +4 -4
- package/dist/bundle/{openai-XSJNXJA7.js → openai-JTFC7OGF.js} +12 -12
- package/dist/bundle/{process-ZLO72UVZ.js → process-3CZAXR6P.js} +1 -1
- package/dist/bundle/{program-MXGQFQJG.js → program-XTOS4RAM.js} +4528 -2579
- package/dist/bundle/{prompt-IDUPCUGM.js → prompt-HGQ6GPYL.js} +6 -4
- package/dist/bundle/{recognize-OS3EZKIM.js → recognize-2SHMNEIZ.js} +3 -3
- package/dist/bundle/{remote-PF4LZR65.js → remote-GBQC3433.js} +6 -6
- package/dist/bundle/{rerank-CQNZF3JI.js → rerank-FQHQXFNR.js} +6 -6
- package/dist/bundle/{serve-Y2DDLGBT.js → serve-THU67QUZ.js} +8 -8
- package/dist/bundle/{server-TVRT7YEY.js → server-LOT3CLYX.js} +36 -36
- package/dist/bundle/server-VKMUX7ZT.js +65 -0
- package/dist/bundle/{sqlite-runtime-5343C3OE.js → sqlite-runtime-NOOUMBC4.js} +5 -5
- package/dist/bundle/{state-4GBTMPIV.js → state-KSKZCV2U.js} +5 -5
- package/dist/bundle/{store-QA6QJ5BB.js → store-BAKSHTKF.js} +37 -14
- package/dist/bundle/{store-OLBLTQPT.js → store-OHNZOQ7U.js} +30 -18
- package/dist/bundle/store-maintenance-command-ROQHJVEA.js +54 -0
- package/dist/commands/account-remove.d.ts +3 -0
- package/dist/commands/account-remove.d.ts.map +1 -0
- package/dist/commands/account-remove.js +65 -0
- package/dist/commands/account-remove.js.map +1 -0
- package/dist/commands/account.d.ts.map +1 -1
- package/dist/commands/account.js +3 -1
- package/dist/commands/account.js.map +1 -1
- package/dist/commands/context.d.ts +3 -1
- package/dist/commands/context.d.ts.map +1 -1
- package/dist/commands/context.js.map +1 -1
- package/dist/commands/rules.d.ts.map +1 -1
- package/dist/commands/rules.js +29 -7
- package/dist/commands/rules.js.map +1 -1
- package/dist/commands/sync.d.ts +0 -1
- package/dist/commands/sync.d.ts.map +1 -1
- package/dist/commands/sync.js +8 -2
- package/dist/commands/sync.js.map +1 -1
- package/dist/mail/changes.d.ts +1 -0
- package/dist/mail/changes.d.ts.map +1 -1
- package/dist/mail/changes.js +1 -1
- package/dist/mail/changes.js.map +1 -1
- package/dist/providers.js +2 -2
- package/dist/providers.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-QPRXTLMD.js +0 -33
- package/dist/bundle/command-contract-Y4ZQAJEC.js +0 -35
- package/dist/bundle/first-screen-W6RWTAU7.js +0 -33
- package/dist/bundle/server-I3IALQMC.js +0 -65
- package/dist/bundle/store-maintenance-command-LB6CMGP4.js +0 -55
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
PRAGMAS
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SNTLN2QT.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
8
|
} from "./chunk-DALBYUPC.js";
|
|
@@ -10,7 +10,7 @@ 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.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
|
|
14
14
|
var SQLITE_WARNING = "SQLite is an experimental feature";
|
|
15
15
|
var quieted = /* @__PURE__ */ new WeakSet();
|
|
16
16
|
var quietSqliteWarning = /* @__PURE__ */ __name((host = process) => {
|
|
@@ -31,7 +31,7 @@ var isSqliteWarning = /* @__PURE__ */ __name((warning, options) => {
|
|
|
31
31
|
return name === "ExperimentalWarning" && message.startsWith(SQLITE_WARNING);
|
|
32
32
|
}, "isSqliteWarning");
|
|
33
33
|
|
|
34
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/store/open.js
|
|
35
35
|
var openCache = /* @__PURE__ */ __name(async (path) => {
|
|
36
36
|
const database = await openFile(path);
|
|
37
37
|
try {
|
|
@@ -44,12 +44,12 @@ var openCache = /* @__PURE__ */ __name(async (path) => {
|
|
|
44
44
|
}, "openCache");
|
|
45
45
|
var openFile = /* @__PURE__ */ __name((path) => "Bun" in globalThis ? openUnderBun(path) : openUnderNode(path), "openFile");
|
|
46
46
|
var openUnderBun = /* @__PURE__ */ __name(async (path) => {
|
|
47
|
-
const { openWithBunSqlite } = await import("./bun-sqlite-
|
|
47
|
+
const { openWithBunSqlite } = await import("./bun-sqlite-4ECAV7OU.js");
|
|
48
48
|
return await openWithBunSqlite(path);
|
|
49
49
|
}, "openUnderBun");
|
|
50
50
|
var openUnderNode = /* @__PURE__ */ __name(async (path) => {
|
|
51
51
|
quietSqliteWarning();
|
|
52
|
-
const { openWithNodeSqlite } = await import("./node-sqlite-
|
|
52
|
+
const { openWithNodeSqlite } = await import("./node-sqlite-RO66I7W6.js");
|
|
53
53
|
return openWithNodeSqlite(path);
|
|
54
54
|
}, "openUnderNode");
|
|
55
55
|
var runtime = /* @__PURE__ */ __name(() => {
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
defineReasons
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-GOMJNH56.js";
|
|
6
6
|
|
|
7
7
|
// dist/reasons.js
|
|
8
8
|
var ENTRIES = [
|
|
@@ -52,7 +52,7 @@ var ENTRIES = [
|
|
|
52
52
|
var REASONS = defineReasons(ENTRIES.map(([reason, code, message]) => ({ reason, code, message, details: [] })));
|
|
53
53
|
|
|
54
54
|
// dist/version.js
|
|
55
|
-
var VERSION = "0.
|
|
55
|
+
var VERSION = "0.23.1";
|
|
56
56
|
|
|
57
57
|
// dist/identity.js
|
|
58
58
|
var PACKAGE = "@wirecat/mail-cli";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
tool,
|
|
21
21
|
toolKey,
|
|
22
22
|
toolsFromCommands
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-CCYHBNRL.js";
|
|
24
24
|
import {
|
|
25
25
|
CHART_KINDS,
|
|
26
26
|
CHART_SIZE,
|
|
@@ -34,31 +34,34 @@ import {
|
|
|
34
34
|
registerPrompts,
|
|
35
35
|
stdinFieldOf,
|
|
36
36
|
syncsFirst
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-V3TDQUXD.js";
|
|
38
38
|
import {
|
|
39
39
|
agentJson,
|
|
40
40
|
skillResource
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-BVJQBAGL.js";
|
|
42
42
|
import {
|
|
43
43
|
instructions
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-VYIIX6VN.js";
|
|
45
45
|
import {
|
|
46
46
|
answeredWire
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-4IWJARFA.js";
|
|
48
48
|
import {
|
|
49
49
|
StdioServerTransport,
|
|
50
50
|
callerOf,
|
|
51
51
|
callingAgent,
|
|
52
52
|
serveStdio
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-KKGX7JMX.js";
|
|
54
54
|
import {
|
|
55
55
|
McpServer,
|
|
56
56
|
ResourceTemplate
|
|
57
57
|
} from "./chunk-5D4AEUVA.js";
|
|
58
|
+
import {
|
|
59
|
+
mcpHttpMarker
|
|
60
|
+
} from "./chunk-4IFX4HV2.js";
|
|
58
61
|
import {
|
|
59
62
|
connectedFor,
|
|
60
63
|
guardFor
|
|
61
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-VYHIX3OP.js";
|
|
62
65
|
import {
|
|
63
66
|
capability,
|
|
64
67
|
dateWindow,
|
|
@@ -67,10 +70,10 @@ import {
|
|
|
67
70
|
servicesFor,
|
|
68
71
|
storedDeps,
|
|
69
72
|
wholeList
|
|
70
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-LQDMUMA2.js";
|
|
71
74
|
import {
|
|
72
75
|
findCommand
|
|
73
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-4YJJQNNJ.js";
|
|
74
77
|
import {
|
|
75
78
|
DEFAULT_OUTPUT_BYTES,
|
|
76
79
|
changesAuthorityAt,
|
|
@@ -85,30 +88,27 @@ import {
|
|
|
85
88
|
sealed,
|
|
86
89
|
snakeKeys,
|
|
87
90
|
typedCommand
|
|
88
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-B6QMMRIM.js";
|
|
89
92
|
import {
|
|
90
93
|
levelFor,
|
|
91
94
|
readKeysForCommand
|
|
92
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-SBGXKM4U.js";
|
|
93
96
|
import {
|
|
94
97
|
withCaller
|
|
95
|
-
} from "./chunk-
|
|
96
|
-
import {
|
|
97
|
-
mcpHttpMarker
|
|
98
|
-
} from "./chunk-SCIC2CJS.js";
|
|
98
|
+
} from "./chunk-CUOCDJFI.js";
|
|
99
99
|
import {
|
|
100
100
|
openStore,
|
|
101
101
|
pdfPreviewLimits
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-NOA6E6MM.js";
|
|
103
103
|
import {
|
|
104
104
|
timezoneOf
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-7YRKUEYE.js";
|
|
106
106
|
import {
|
|
107
107
|
isCliFailure
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-R554W7ZO.js";
|
|
109
109
|
import {
|
|
110
110
|
warmEmbedders
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-VFKX5UMJ.js";
|
|
112
112
|
import {
|
|
113
113
|
description,
|
|
114
114
|
integer,
|
|
@@ -124,7 +124,7 @@ import {
|
|
|
124
124
|
regex,
|
|
125
125
|
strictObject,
|
|
126
126
|
string
|
|
127
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-GOMJNH56.js";
|
|
128
128
|
import {
|
|
129
129
|
CliError,
|
|
130
130
|
visibleControls
|
|
@@ -133,10 +133,10 @@ import {
|
|
|
133
133
|
__name
|
|
134
134
|
} from "./chunk-ZVVMGPBJ.js";
|
|
135
135
|
|
|
136
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
136
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
137
137
|
import { randomUUID } from "node:crypto";
|
|
138
138
|
|
|
139
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
139
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
|
|
140
140
|
var agentLog = /* @__PURE__ */ __name((open) => {
|
|
141
141
|
let held;
|
|
142
142
|
return {
|
|
@@ -155,7 +155,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
|
|
|
155
155
|
};
|
|
156
156
|
}, "agentLog");
|
|
157
157
|
|
|
158
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
158
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/mcp/resources.js
|
|
159
159
|
var LISTED = 100;
|
|
160
160
|
var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
|
|
161
161
|
server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
|
|
@@ -193,7 +193,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
|
|
|
193
193
|
});
|
|
194
194
|
}, "registerResources");
|
|
195
195
|
|
|
196
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
196
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/mcp/session.js
|
|
197
197
|
var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
|
|
198
198
|
var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
|
|
199
199
|
var MessengerSession = class {
|
|
@@ -268,7 +268,7 @@ var MessengerSession = class {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
|
|
271
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
271
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
|
|
272
272
|
var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
273
273
|
const _command = messenger.app.command;
|
|
274
274
|
return {
|
|
@@ -322,7 +322,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
|
322
322
|
};
|
|
323
323
|
}, "attachmentsTools");
|
|
324
324
|
|
|
325
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
325
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
|
|
326
326
|
var PHOTO_LIMIT = 512 * 1024;
|
|
327
327
|
var IMAGE_TYPES = [
|
|
328
328
|
["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
|
|
@@ -376,7 +376,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
|
|
|
376
376
|
return new Uint8Array(Buffer.concat(chunks));
|
|
377
377
|
}, "readUpTo");
|
|
378
378
|
|
|
379
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
379
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
|
|
380
380
|
var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
381
381
|
stats_charts: tool({
|
|
382
382
|
title: "A chart from a chat's statistics",
|
|
@@ -413,14 +413,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
|
413
413
|
})
|
|
414
414
|
}), "statsTools");
|
|
415
415
|
|
|
416
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
416
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/mcp/tools.js
|
|
417
417
|
var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
|
|
418
418
|
...messagesPhotoTools(messenger),
|
|
419
419
|
...attachmentsTools(messenger),
|
|
420
420
|
...statsTools(messenger)
|
|
421
421
|
}).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
|
|
422
422
|
|
|
423
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
423
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
424
424
|
var PER_RUN = /* @__PURE__ */ new Set([
|
|
425
425
|
"streams",
|
|
426
426
|
"stdin",
|
|
@@ -744,7 +744,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
|
|
|
744
744
|
}, "serveOverStdio");
|
|
745
745
|
var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
|
|
746
746
|
const { session, embedders, build, log } = createServer(command, context, messenger, options);
|
|
747
|
-
const { serveOverHttp } = await import("./serve-
|
|
747
|
+
const { serveOverHttp } = await import("./serve-THU67QUZ.js");
|
|
748
748
|
const appName = messenger.app.command;
|
|
749
749
|
const appEnvPrefix = messenger.app.envPrefix;
|
|
750
750
|
const listening = await serveOverHttp(build, {
|