@wirecat/mail-cli 0.27.0 → 0.29.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/CHANGELOG.md +26 -0
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/{all-profiles-5XWH7TBM.js → all-profiles-Q4E2LPB4.js} +7 -7
- package/dist/bundle/{anthropic-QEQGUEPW.js → anthropic-S3N4JDJU.js} +2 -2
- package/dist/bundle/{app-server-YWDU56NR.js → app-server-E44CAPPI.js} +44 -44
- package/dist/bundle/{bun-PWMM6L45.js → bun-RDYA5FCZ.js} +2 -2
- package/dist/bundle/{bun-sqlite-S4QD5YUO.js → bun-sqlite-FPVHKI24.js} +3 -3
- package/dist/bundle/{chunk-2FZMIJW7.js → chunk-2MTIGJHQ.js} +4 -4
- package/dist/bundle/{chunk-QQTSPQ2D.js → chunk-3AH7UEM6.js} +1 -1
- package/dist/bundle/{chunk-7BXOFLWJ.js → chunk-3RBUACSJ.js} +54 -54
- package/dist/bundle/{chunk-4VDWQKDI.js → chunk-44IAJV2T.js} +16 -16
- package/dist/bundle/{chunk-NZG6IRDW.js → chunk-45ET53MO.js} +2 -2
- package/dist/bundle/{chunk-XBL46B4V.js → chunk-5PDWUD3W.js} +1 -1
- package/dist/bundle/{chunk-APLVXHFG.js → chunk-5ZJ6IHVE.js} +1 -1
- package/dist/bundle/{chunk-255RGG5W.js → chunk-6B2BBL35.js} +5 -5
- package/dist/bundle/{chunk-TKOZCIHU.js → chunk-7AO73MJZ.js} +15 -15
- package/dist/bundle/{chunk-AIEMFRBU.js → chunk-7E4KECG4.js} +1 -1
- package/dist/bundle/{chunk-UIKVP23D.js → chunk-7ESXP4TG.js} +1 -1
- package/dist/bundle/{chunk-77J5ID2O.js → chunk-ATJANIQR.js} +2 -2
- package/dist/bundle/{chunk-T7VERZP5.js → chunk-BDWOTD7E.js} +23 -23
- package/dist/bundle/{chunk-IDOHT4Z3.js → chunk-BPHLFSUO.js} +15 -15
- package/dist/bundle/{chunk-KHBZ4OEP.js → chunk-D4QALV67.js} +1 -1
- package/dist/bundle/{chunk-WRHAX53U.js → chunk-DIOHJT2W.js} +6 -6
- package/dist/bundle/{chunk-QVJMFZFW.js → chunk-DMW6J2P3.js} +1 -1
- package/dist/bundle/{chunk-ROLHKFKB.js → chunk-FDGCTY6J.js} +9 -9
- package/dist/bundle/{chunk-572NWJUN.js → chunk-FHQ32JKS.js} +1 -1
- package/dist/bundle/{chunk-CZRMT6XV.js → chunk-FM4B357N.js} +2 -2
- package/dist/bundle/{chunk-CKFVKHTB.js → chunk-FOZXPSHA.js} +3 -3
- package/dist/bundle/{chunk-5DLPM5AV.js → chunk-HKC6ZJA5.js} +12 -12
- package/dist/bundle/{chunk-BZCXAVGP.js → chunk-IKTBM64M.js} +7 -7
- package/dist/bundle/{chunk-WMXUFUV3.js → chunk-IZEK7JI7.js} +2 -2
- package/dist/bundle/{chunk-UEJVXUIO.js → chunk-KBTVVHFP.js} +12 -12
- package/dist/bundle/{chunk-ELPH22W6.js → chunk-KNTAOY5J.js} +7 -7
- package/dist/bundle/{chunk-EXWZCI5G.js → chunk-KSFPMRH6.js} +1 -1
- package/dist/bundle/{chunk-DSUOYJUL.js → chunk-KTLJ6F2B.js} +3 -3
- package/dist/bundle/{chunk-S7H7TAC3.js → chunk-MT5KDBOM.js} +5 -5
- package/dist/bundle/{chunk-XM2THVMR.js → chunk-MVGFB7IS.js} +2 -2
- package/dist/bundle/{chunk-SXKKOOA7.js → chunk-NUHUTJTM.js} +1 -1
- package/dist/bundle/{chunk-AIZ225IA.js → chunk-NWA7JS74.js} +241 -241
- package/dist/bundle/{chunk-PJ3FKBXG.js → chunk-ODPYXNHI.js} +1 -1
- package/dist/bundle/{chunk-ZVQDOKDY.js → chunk-OLTJB5PW.js} +1 -1
- package/dist/bundle/{chunk-TI2OANJZ.js → chunk-PCYTU7HS.js} +1 -1
- package/dist/bundle/{chunk-OEPNLKHI.js → chunk-PIKOQWTL.js} +4 -4
- package/dist/bundle/{chunk-RRLAFEPQ.js → chunk-PYOM4J73.js} +2 -2
- package/dist/bundle/{chunk-PA7LDYVX.js → chunk-RFM3AAK5.js} +52 -52
- package/dist/bundle/{chunk-UBH4UPZ7.js → chunk-RGIEG4XK.js} +2 -1
- package/dist/bundle/{chunk-VYZ37D2Q.js → chunk-TXDA437R.js} +1 -1
- package/dist/bundle/{chunk-5BPOEPYL.js → chunk-UH7FYLFL.js} +4 -4
- package/dist/bundle/{chunk-ZSWSFKNE.js → chunk-UQZJ2GFQ.js} +2 -2
- package/dist/bundle/{chunk-DQO2LX5I.js → chunk-UUM7AF32.js} +2 -2
- package/dist/bundle/{chunk-R3A65A4D.js → chunk-VERUQQZS.js} +10 -10
- package/dist/bundle/{chunk-R5FTCNLJ.js → chunk-VFRI6RF7.js} +1 -1
- package/dist/bundle/{chunk-FOTP6QLO.js → chunk-VXHL3XI6.js} +2 -2
- package/dist/bundle/{chunk-FVVSBQGK.js → chunk-W32UQL5I.js} +21 -21
- package/dist/bundle/{chunk-OCUKQRJ3.js → chunk-WSHPLO4Q.js} +149 -148
- package/dist/bundle/{chunk-RGQFVVBB.js → chunk-WZNQ2P7H.js} +17 -17
- package/dist/bundle/{chunk-HBK6MRAL.js → chunk-XEMARUGS.js} +7 -7
- package/dist/bundle/{chunk-OPOEAGVB.js → chunk-YAQGWHMH.js} +6 -6
- package/dist/bundle/{chunk-S2QRW647.js → chunk-YRER6N3Y.js} +29 -29
- package/dist/bundle/{chunk-OC3U2JAK.js → chunk-YSR2XBDO.js} +3 -3
- package/dist/bundle/{chunk-XCYDTIVK.js → chunk-Z5D6CRY6.js} +4 -4
- package/dist/bundle/{chunk-PRSXMM4I.js → chunk-ZIFB6KGQ.js} +359 -359
- package/dist/bundle/{chunk-MY4LVD64.js → chunk-ZPVVSA5R.js} +1 -1
- package/dist/bundle/{command-contract-MIJONVVG.js → command-contract-TMLXLGVT.js} +15 -15
- package/dist/bundle/{command-server-entry-VHUFW3OZ.js → command-server-entry-PFUR2W7X.js} +21 -21
- package/dist/bundle/{decode-TIMTSVXM.js → decode-SIVT4JWX.js} +2 -2
- package/dist/bundle/{dist-IP25JFTN.js → dist-YWSF5MHP.js} +11 -11
- package/dist/bundle/{echarts-SDZA2SWG.js → echarts-CABLIXX7.js} +2 -2
- package/dist/bundle/{embed-4W527BCE.js → embed-OHENS6RB.js} +3 -3
- package/dist/bundle/{embedder-LQE2SBJ3.js → embedder-JINT4Y4O.js} +6 -6
- package/dist/bundle/{first-run-KZTKMEI4.js → first-run-LU2MAK2B.js} +6 -6
- package/dist/bundle/first-screen-KZNLKRRQ.js +34 -0
- package/dist/bundle/{instructions-7T6JJIFS.js → instructions-3D22PA4T.js} +1 -1
- package/dist/bundle/mail.js +2 -2
- package/dist/bundle/{node-BZDMUFTW.js → node-42G4RGMW.js} +2 -2
- package/dist/bundle/{node-sqlite-PVSKI4OS.js → node-sqlite-KQZM5M3N.js} +4 -4
- package/dist/bundle/{oauth-TGYGAVGF.js → oauth-7BNCNKQV.js} +4 -4
- package/dist/bundle/{open-5YED4Q4C.js → open-ULOQOP7K.js} +2 -2
- package/dist/bundle/{openai-XVJTML22.js → openai-O5AH6VGT.js} +12 -12
- package/dist/bundle/{process-756VBE7E.js → process-6D767IDN.js} +1 -1
- package/dist/bundle/{program-TDHDXAQA.js → program-OE7MFRMJ.js} +525 -408
- package/dist/bundle/{prompt-HPZANASN.js → prompt-WN7EBVKT.js} +2 -2
- package/dist/bundle/{recognize-PP5XQQHH.js → recognize-IX33XEXZ.js} +1 -1
- package/dist/bundle/{remote-C2LU2WYG.js → remote-22N3FQUC.js} +6 -6
- package/dist/bundle/{rerank-WRHNOM4Z.js → rerank-IGX4EFA2.js} +4 -4
- package/dist/bundle/{serve-RE3IV2QB.js → serve-XWIRR2QZ.js} +6 -6
- package/dist/bundle/server-D5OTVERP.js +68 -0
- package/dist/bundle/{server-52BJ7UTO.js → server-DBS4WC6T.js} +35 -35
- package/dist/bundle/{sqlite-runtime-CRRL3MYX.js → sqlite-runtime-WFBTXXXJ.js} +3 -3
- package/dist/bundle/{state-YGJRPMWD.js → state-4J5ERHJA.js} +3 -3
- package/dist/bundle/{store-ESQE4VHP.js → store-YRBX7XLM.js} +13 -13
- package/dist/bundle/{store-6AZ5LVJL.js → store-YSP2NPRJ.js} +15 -15
- package/dist/bundle/store-maintenance-command-SH6IB7S6.js +58 -0
- package/dist/commands/rules.d.ts.map +1 -1
- package/dist/commands/rules.js +78 -20
- package/dist/commands/rules.js.map +1 -1
- package/dist/commands/words.d.ts.map +1 -1
- package/dist/commands/words.js +2 -0
- package/dist/commands/words.js.map +1 -1
- package/dist/mail/imap/connection.d.ts.map +1 -1
- package/dist/mail/imap/connection.js +10 -2
- package/dist/mail/imap/connection.js.map +1 -1
- package/dist/mail/rules/apply.d.ts +10 -2
- package/dist/mail/rules/apply.d.ts.map +1 -1
- package/dist/mail/rules/apply.js +110 -30
- package/dist/mail/rules/apply.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +1 -0
- package/dist/reasons.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/first-screen-4LG5SJ6D.js +0 -34
- package/dist/bundle/server-43V7HNFY.js +0 -68
- package/dist/bundle/store-maintenance-command-AKQMKUYO.js +0 -58
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,32 @@
|
|
|
2
2
|
|
|
3
3
|
Notable changes to `@wirecat/mail-cli`. One section per version, newest first.
|
|
4
4
|
|
|
5
|
+
## 0.29.0 — 14.11.2026
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- **`rules apply --cursor` goes on from where a stopped run ended.** A run that reaches its time limit answers
|
|
10
|
+
`state: partial` with the cursor and the step that goes on. The run that ends the window reports the counts for
|
|
11
|
+
all of it.
|
|
12
|
+
- **`rules apply` takes `--yes` over MCP.** An agent could only preview it: the tool did not offer `--yes`.
|
|
13
|
+
|
|
14
|
+
### Fixed
|
|
15
|
+
|
|
16
|
+
- **`rules apply` finishes on a large mailbox, and over MCP it answers in time.** It failed after 27 seconds on a
|
|
17
|
+
mailbox of 17,000 emails, which takes about 4 minutes to list. It now runs up to 15 minutes by default (45 seconds
|
|
18
|
+
over MCP, where clients give up after about a minute; `--timeout` still sets it). It reads the headers newest first
|
|
19
|
+
and saves its work batch by batch, so a run that stops keeps what it did. `score:` and `--kind` judge a sender by
|
|
20
|
+
its mail in the store, so where a run stops never changes what they decide.
|
|
21
|
+
- **`rules apply` says when it runs out of its time limit.** The error said the mail server did not answer in time.
|
|
22
|
+
Now it says the command reached its time limit and to run it again with a longer `--timeout`.
|
|
23
|
+
|
|
24
|
+
## 0.28.0 — 13.11.2026
|
|
25
|
+
|
|
26
|
+
### Fixed
|
|
27
|
+
|
|
28
|
+
- **Telemost meeting notes in Yandex's older layout get their summary** (cli-core 0.657.0). Most notes emails have no
|
|
29
|
+
«Итоги» heading: the summary is now the text before the first heading, and Yandex's footer is no longer stored.
|
|
30
|
+
|
|
5
31
|
## 0.27.0 — 13.11.2026
|
|
6
32
|
|
|
7
33
|
### Changed — may break callers
|
package/dist/bin/mail.js
CHANGED
|
@@ -9,7 +9,7 @@ if (
|
|
|
9
9
|
(words[0] === "--version" || words[0] === "-V") &&
|
|
10
10
|
!Object.keys(process.env).some((key) => key.endsWith("_TEST_ARGV_LOG"))
|
|
11
11
|
) {
|
|
12
|
-
process.stdout.write("0.
|
|
12
|
+
process.stdout.write("0.29.0\n")
|
|
13
13
|
} else {
|
|
14
14
|
// Before the bundle compiles: the bundle's own call comes after its chunks.
|
|
15
15
|
module.enableCompileCache()
|
|
@@ -28,7 +28,7 @@ if (
|
|
|
28
28
|
: next(specifier, context),
|
|
29
29
|
})
|
|
30
30
|
}
|
|
31
|
-
const chunks = ["../bundle/all-profiles-
|
|
31
|
+
const chunks = ["../bundle/all-profiles-Q4E2LPB4.js","../bundle/anthropic-S3N4JDJU.js","../bundle/app-server-E44CAPPI.js","../bundle/bun-RDYA5FCZ.js","../bundle/bun-sqlite-FPVHKI24.js","../bundle/decode-SIVT4JWX.js","../bundle/dispatch-DSVN7MNG.js","../bundle/dist-HFUVURJG.js","../bundle/dist-YWSF5MHP.js","../bundle/echarts-CABLIXX7.js","../bundle/embed-OHENS6RB.js","../bundle/embedder-JINT4Y4O.js","../bundle/failure-COTPFUP4.js","../bundle/first-screen-KZNLKRRQ.js","../bundle/instructions-3D22PA4T.js","../bundle/mcp-TDKGDB4V.js","../bundle/node-42G4RGMW.js","../bundle/node-KM3CUABH.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-KQZM5M3N.js","../bundle/oauth-7BNCNKQV.js","../bundle/open-ULOQOP7K.js","../bundle/openai-O5AH6VGT.js","../bundle/process-6D767IDN.js","../bundle/program-OE7MFRMJ.js","../bundle/prompt-WN7EBVKT.js","../bundle/recognize-IX33XEXZ.js","../bundle/remote-22N3FQUC.js","../bundle/rerank-IGX4EFA2.js","../bundle/serve-XWIRR2QZ.js","../bundle/server-D5OTVERP.js","../bundle/server-DBS4WC6T.js","../bundle/sqlite-runtime-WFBTXXXJ.js","../bundle/state-4J5ERHJA.js","../bundle/store-YRBX7XLM.js","../bundle/store-YSP2NPRJ.js","../bundle/store-maintenance-command-SH6IB7S6.js"]
|
|
32
32
|
if (((words) => words
|
|
33
33
|
.filter((word) => !word.startsWith("-"))
|
|
34
34
|
.slice(0, 2)
|
|
@@ -2,20 +2,20 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
answeredWire
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-VFRI6RF7.js";
|
|
6
6
|
import {
|
|
7
7
|
CALLER_META_KEY,
|
|
8
8
|
PROXY_CLIENT_NAME,
|
|
9
9
|
StdioServerTransport,
|
|
10
10
|
callerOf,
|
|
11
11
|
serveStdio
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-VXHL3XI6.js";
|
|
13
13
|
import {
|
|
14
14
|
McpServer
|
|
15
15
|
} from "./chunk-5D4AEUVA.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-XEMARUGS.js";
|
|
17
|
+
import "./chunk-NUHUTJTM.js";
|
|
18
|
+
import "./chunk-ZPVVSA5R.js";
|
|
19
19
|
import "./chunk-XWBPP2HX.js";
|
|
20
20
|
import "./chunk-7MEVD5PI.js";
|
|
21
21
|
import "./chunk-ECZSYLSL.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
__name
|
|
26
26
|
} from "./chunk-ZVVMGPBJ.js";
|
|
27
27
|
|
|
28
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
28
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
|
|
29
29
|
import { spawn } from "node:child_process";
|
|
30
30
|
import { randomUUID } from "node:crypto";
|
|
31
31
|
var PROTOCOL = "2025-06-18";
|
|
@@ -259,7 +259,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
|
|
|
259
259
|
}, "serveAllProfilesOverStdio");
|
|
260
260
|
var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
|
|
261
261
|
const { build, close } = allProfilesServer(options);
|
|
262
|
-
const { serveOverHttp } = await import("./serve-
|
|
262
|
+
const { serveOverHttp } = await import("./serve-XWIRR2QZ.js");
|
|
263
263
|
const listening = await serveOverHttp(build, {
|
|
264
264
|
...http,
|
|
265
265
|
appName: options.command,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
checkedOptions,
|
|
9
9
|
messagesFor,
|
|
10
10
|
systemFor
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-UUM7AF32.js";
|
|
12
12
|
import "./chunk-7MEVD5PI.js";
|
|
13
13
|
import {
|
|
14
14
|
array,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
__name
|
|
27
27
|
} from "./chunk-ZVVMGPBJ.js";
|
|
28
28
|
|
|
29
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/models/anthropic.js
|
|
30
30
|
var options = strictObject({
|
|
31
31
|
stop_sequences: optional(array(string())),
|
|
32
32
|
thinking: optional(strictObject({ type: picklist(["disabled", "adaptive"]) })),
|
|
@@ -3,47 +3,47 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
PER_RUN,
|
|
5
5
|
envelope
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YRER6N3Y.js";
|
|
7
7
|
import {
|
|
8
8
|
mcpUrlOf
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-W32UQL5I.js";
|
|
10
|
+
import "./chunk-ODPYXNHI.js";
|
|
11
11
|
import {
|
|
12
12
|
answered,
|
|
13
13
|
failed,
|
|
14
14
|
registerCommands,
|
|
15
15
|
runCommandForAgent,
|
|
16
16
|
toolsFromCommands
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-BPHLFSUO.js";
|
|
18
18
|
import {
|
|
19
19
|
agentJson,
|
|
20
20
|
skillResource
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-FDGCTY6J.js";
|
|
22
|
+
import "./chunk-IZEK7JI7.js";
|
|
23
23
|
import {
|
|
24
24
|
appInstructions
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-7E4KECG4.js";
|
|
26
26
|
import {
|
|
27
27
|
answeredWire
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-VFRI6RF7.js";
|
|
29
29
|
import {
|
|
30
30
|
StdioServerTransport,
|
|
31
31
|
serveStdio
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-VXHL3XI6.js";
|
|
33
33
|
import {
|
|
34
34
|
McpServer
|
|
35
35
|
} from "./chunk-5D4AEUVA.js";
|
|
36
36
|
import {
|
|
37
37
|
mcpHttpMarker
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
38
|
+
} from "./chunk-PIKOQWTL.js";
|
|
39
|
+
import "./chunk-7AO73MJZ.js";
|
|
40
|
+
import "./chunk-NWA7JS74.js";
|
|
41
|
+
import "./chunk-KBTVVHFP.js";
|
|
42
|
+
import "./chunk-YAQGWHMH.js";
|
|
43
|
+
import "./chunk-UUM7AF32.js";
|
|
44
|
+
import "./chunk-MVGFB7IS.js";
|
|
45
|
+
import "./chunk-FHQ32JKS.js";
|
|
46
|
+
import "./chunk-KTLJ6F2B.js";
|
|
47
47
|
import {
|
|
48
48
|
DEFAULT_OUTPUT_BYTES,
|
|
49
49
|
changesAuthorityAt,
|
|
@@ -54,34 +54,34 @@ import {
|
|
|
54
54
|
readOnlyLockOf,
|
|
55
55
|
readsOverMcpAt,
|
|
56
56
|
rootOf2 as rootOf
|
|
57
|
-
} from "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
57
|
+
} from "./chunk-WSHPLO4Q.js";
|
|
58
|
+
import "./chunk-2MTIGJHQ.js";
|
|
59
|
+
import "./chunk-XEMARUGS.js";
|
|
60
|
+
import "./chunk-7ESXP4TG.js";
|
|
61
61
|
import "./chunk-7C6FGWDH.js";
|
|
62
62
|
import "./chunk-FIVFP53N.js";
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-
|
|
65
|
-
import "./chunk-
|
|
66
|
-
import "./chunk-
|
|
67
|
-
import "./chunk-
|
|
68
|
-
import "./chunk-
|
|
69
|
-
import "./chunk-
|
|
70
|
-
import "./chunk-
|
|
71
|
-
import "./chunk-
|
|
72
|
-
import "./chunk-
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./chunk-
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-
|
|
78
|
-
import "./chunk-
|
|
63
|
+
import "./chunk-UQZJ2GFQ.js";
|
|
64
|
+
import "./chunk-44IAJV2T.js";
|
|
65
|
+
import "./chunk-45ET53MO.js";
|
|
66
|
+
import "./chunk-ZIFB6KGQ.js";
|
|
67
|
+
import "./chunk-WZNQ2P7H.js";
|
|
68
|
+
import "./chunk-BDWOTD7E.js";
|
|
69
|
+
import "./chunk-3RBUACSJ.js";
|
|
70
|
+
import "./chunk-NUHUTJTM.js";
|
|
71
|
+
import "./chunk-ZPVVSA5R.js";
|
|
72
|
+
import "./chunk-IKTBM64M.js";
|
|
73
|
+
import "./chunk-D4QALV67.js";
|
|
74
|
+
import "./chunk-KNTAOY5J.js";
|
|
75
|
+
import "./chunk-5PDWUD3W.js";
|
|
76
|
+
import "./chunk-Z5D6CRY6.js";
|
|
77
|
+
import "./chunk-MT5KDBOM.js";
|
|
78
|
+
import "./chunk-FOZXPSHA.js";
|
|
79
79
|
import "./chunk-M4OP5ASJ.js";
|
|
80
80
|
import "./chunk-XWBPP2HX.js";
|
|
81
81
|
import "./chunk-D72URWJE.js";
|
|
82
|
-
import "./chunk-
|
|
83
|
-
import "./chunk-
|
|
84
|
-
import "./chunk-
|
|
82
|
+
import "./chunk-TXDA437R.js";
|
|
83
|
+
import "./chunk-6B2BBL35.js";
|
|
84
|
+
import "./chunk-OLTJB5PW.js";
|
|
85
85
|
import "./chunk-7MEVD5PI.js";
|
|
86
86
|
import {
|
|
87
87
|
mcpErrorResult
|
|
@@ -90,12 +90,12 @@ import "./chunk-Y5E2WNWB.js";
|
|
|
90
90
|
import {
|
|
91
91
|
CliError
|
|
92
92
|
} from "./chunk-7KCBPAQS.js";
|
|
93
|
-
import "./chunk-
|
|
93
|
+
import "./chunk-DMW6J2P3.js";
|
|
94
94
|
import {
|
|
95
95
|
__name
|
|
96
96
|
} from "./chunk-ZVVMGPBJ.js";
|
|
97
97
|
|
|
98
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
98
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
|
|
99
99
|
var EXCLUDED = [["mcp"]];
|
|
100
100
|
var aliasesOf = /* @__PURE__ */ __name((root, path) => {
|
|
101
101
|
let at = root;
|
|
@@ -225,7 +225,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
|
|
|
225
225
|
var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
|
|
226
226
|
const { app } = options;
|
|
227
227
|
const { build } = createAppServer(command, context, options);
|
|
228
|
-
const { serveOverHttp } = await import("./serve-
|
|
228
|
+
const { serveOverHttp } = await import("./serve-XWIRR2QZ.js");
|
|
229
229
|
const listening = await serveOverHttp(build, {
|
|
230
230
|
...http,
|
|
231
231
|
appName: app.command,
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
jitCompatCheck,
|
|
19
19
|
refineSqliteCodecs,
|
|
20
20
|
sql
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-DMW6J2P3.js";
|
|
22
22
|
import {
|
|
23
23
|
__name
|
|
24
24
|
} from "./chunk-ZVVMGPBJ.js";
|
|
25
25
|
|
|
26
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/bun.js
|
|
27
27
|
import { Database } from "bun:sqlite";
|
|
28
28
|
var bunSQLiteCodecs = refineSqliteCodecs({
|
|
29
29
|
"integer:boolean": { normalize: booleanFromInteger },
|
|
@@ -3,10 +3,10 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
loadVectorExtension,
|
|
5
5
|
vectorExtension
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5ZJ6IHVE.js";
|
|
7
7
|
import {
|
|
8
8
|
refuseOwnerStoreInTests
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TXDA437R.js";
|
|
10
10
|
import "./chunk-7MEVD5PI.js";
|
|
11
11
|
import "./chunk-ECZSYLSL.js";
|
|
12
12
|
import {
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
__name
|
|
18
18
|
} from "./chunk-ZVVMGPBJ.js";
|
|
19
19
|
|
|
20
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
|
|
21
21
|
var customised = false;
|
|
22
22
|
var ownLibrary = /* @__PURE__ */ __name(async () => {
|
|
23
23
|
try {
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
__name
|
|
18
18
|
} from "./chunk-ZVVMGPBJ.js";
|
|
19
19
|
|
|
20
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
21
21
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
22
22
|
var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
|
|
23
23
|
var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
|
|
@@ -421,7 +421,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
421
421
|
}
|
|
422
422
|
}, "assertRetentionEvidenceRead");
|
|
423
423
|
|
|
424
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
424
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
425
425
|
var named = /* @__PURE__ */ __name((work) => {
|
|
426
426
|
try {
|
|
427
427
|
return work();
|
|
@@ -448,7 +448,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
|
|
|
448
448
|
return projectFields(value, fields);
|
|
449
449
|
}), "projectFields");
|
|
450
450
|
|
|
451
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
451
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
452
452
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
453
453
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
454
454
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -484,7 +484,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
484
484
|
return value;
|
|
485
485
|
}, "atDetail");
|
|
486
486
|
|
|
487
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
487
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/output.js
|
|
488
488
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
489
489
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
490
490
|
if (other)
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
__name
|
|
13
13
|
} from "./chunk-ZVVMGPBJ.js";
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/render/messages.js
|
|
16
16
|
import { styleText } from "node:util";
|
|
17
17
|
var TIME_WIDTH = 8;
|
|
18
18
|
var INDENT = " ".repeat(TIME_WIDTH + 2);
|