@wirecat/mail-cli 0.3.0 → 0.4.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 +16 -0
- package/README.md +10 -7
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/{all-profiles-52LCOKSL.js → all-profiles-55XPXQHY.js} +5 -5
- package/dist/bundle/{anthropic-HPW7PLTT.js → anthropic-K5B6I4LB.js} +3 -3
- package/dist/bundle/{app-server-Y7XSPVHJ.js → app-server-VWWLQLTZ.js} +39 -39
- package/dist/bundle/{bun-B7YXDIMT.js → bun-EO7AI6YP.js} +2 -2
- package/dist/bundle/{bun-sqlite-TTTKY7H2.js → bun-sqlite-F24A4IOP.js} +2 -2
- package/dist/bundle/{chunk-C6E3VFUX.js → chunk-2ADB5DSG.js} +2 -2
- package/dist/bundle/{chunk-LJDOPCPW.js → chunk-2LP46EUH.js} +91 -91
- package/dist/bundle/{chunk-FX77WAQL.js → chunk-2NZGUKYK.js} +6 -6
- package/dist/bundle/{chunk-PYIJCWCH.js → chunk-4KLJN3LK.js} +11 -11
- package/dist/bundle/{chunk-FGNTGLWA.js → chunk-5RUTHKXZ.js} +3 -3
- package/dist/bundle/{chunk-KALDYMKJ.js → chunk-6BNMEOVS.js} +3 -3
- package/dist/bundle/{chunk-RVIMMCHF.js → chunk-6BR6JMCR.js} +9 -9
- package/dist/bundle/{chunk-MXUUQXMA.js → chunk-7IYDIU4P.js} +5 -5
- package/dist/bundle/{chunk-IXHLMSHV.js → chunk-7QQ4EMYF.js} +2 -2
- package/dist/bundle/{chunk-O2F54PUO.js → chunk-7X64JS6S.js} +1 -1
- package/dist/bundle/{chunk-V7NZTJKU.js → chunk-ANRI6EZY.js} +7 -7
- package/dist/bundle/{chunk-X7TFD5SX.js → chunk-BHKI5OCD.js} +1 -1
- package/dist/bundle/{chunk-I2ARI6FI.js → chunk-CADRRSQK.js} +1 -1
- package/dist/bundle/{chunk-KXVZ373I.js → chunk-CCNHVZ3G.js} +299 -266
- package/dist/bundle/{chunk-TL7PE6JU.js → chunk-CSI73XJ5.js} +6 -6
- package/dist/bundle/{chunk-5LY3OS7U.js → chunk-EDKV6D6T.js} +1 -1
- package/dist/bundle/{chunk-VTJDEWMB.js → chunk-EOEYP7CJ.js} +2 -2
- package/dist/bundle/{chunk-5SSFYIFF.js → chunk-F6JTOQIK.js} +5 -4
- package/dist/bundle/{chunk-JXYFIUVX.js → chunk-F7KAJNNK.js} +4 -4
- package/dist/bundle/{chunk-N5WIUNOT.js → chunk-FFKNUVVD.js} +1 -1
- package/dist/bundle/{chunk-RMYYKBFW.js → chunk-H7K2DN3R.js} +7 -7
- package/dist/bundle/{chunk-ZIJJNH47.js → chunk-HJEMHZRU.js} +1 -1
- package/dist/bundle/{chunk-XD3TL4BK.js → chunk-HORM6VRV.js} +1 -1
- package/dist/bundle/{chunk-FUXSKWWJ.js → chunk-HUB42T2Z.js} +46 -46
- package/dist/bundle/{chunk-DKKCQMDM.js → chunk-ID24SLH3.js} +16 -16
- package/dist/bundle/{chunk-JDOOPGKW.js → chunk-IIO6NXCA.js} +2 -2
- package/dist/bundle/{chunk-Y2HGQK7A.js → chunk-JKHI3PH7.js} +1 -1
- package/dist/bundle/{chunk-QTWIZKUI.js → chunk-JZFIHVRB.js} +26 -26
- package/dist/bundle/{chunk-JHNLU42I.js → chunk-LKDK5YMI.js} +1 -1
- package/dist/bundle/{chunk-732GKOLO.js → chunk-M4NTQ247.js} +10 -10
- package/dist/bundle/{chunk-GX2M3AOO.js → chunk-MGBGE2Y4.js} +2 -2
- package/dist/bundle/{chunk-TNQOKGJS.js → chunk-NL5LNYGX.js} +21 -21
- package/dist/bundle/{chunk-MHNEMDH3.js → chunk-OM4ZBLT7.js} +13 -13
- package/dist/bundle/{chunk-H2JVXO5V.js → chunk-ORYYYM5Y.js} +21 -21
- package/dist/bundle/{chunk-LCA5KC34.js → chunk-QYWDC7NP.js} +43 -43
- package/dist/bundle/{chunk-4UOEUEZZ.js → chunk-RLSGMMGC.js} +4 -4
- package/dist/bundle/{chunk-HS25KDT3.js → chunk-SWRNMYDL.js} +1 -1
- package/dist/bundle/{chunk-TLZWUADZ.js → chunk-SY3SP7EI.js} +5 -5
- package/dist/bundle/{chunk-4PXWXI2U.js → chunk-UJYCKCFR.js} +2 -2
- package/dist/bundle/{chunk-K6SIGXRS.js → chunk-UO7X2VW4.js} +5 -5
- package/dist/bundle/{chunk-PL6UPJIL.js → chunk-UZDHK26H.js} +1 -1
- package/dist/bundle/{chunk-YVIX7FHL.js → chunk-VP5GCMHM.js} +5 -5
- package/dist/bundle/{chunk-RORC2FW7.js → chunk-VWHRIGYJ.js} +2 -2
- package/dist/bundle/{chunk-XQVGIW4R.js → chunk-VWXCEEUH.js} +2 -2
- package/dist/bundle/{chunk-3RDTVH3H.js → chunk-WFBTPZK3.js} +3 -3
- package/dist/bundle/{chunk-RZCFEASJ.js → chunk-X7AXH2IC.js} +195 -195
- package/dist/bundle/{chunk-37MSU5O6.js → chunk-XJ5TBPCK.js} +2 -2
- package/dist/bundle/{chunk-O3DRPTWF.js → chunk-YSSMDVT3.js} +1 -1
- package/dist/bundle/{chunk-C2THROZU.js → chunk-YYTWV5GU.js} +42 -42
- package/dist/bundle/{chunk-SRMJ6LLC.js → chunk-ZAR67WKR.js} +5 -5
- package/dist/bundle/{command-contract-3HA7CZEQ.js → command-contract-L65UZ7AF.js} +13 -13
- package/dist/bundle/{decode-VLI3MAXE.js → decode-ON4KBMEX.js} +2 -2
- package/dist/bundle/{dist-C7LAAMNF.js → dist-FMN7UZ7R.js} +14 -14
- package/dist/bundle/{echarts-POTU3SHN.js → echarts-XPA226QR.js} +2 -2
- package/dist/bundle/{embed-J2DEEEUF.js → embed-QERDAB73.js} +3 -3
- package/dist/bundle/{embedder-5N56V7YJ.js → embedder-I76YT3E5.js} +6 -6
- package/dist/bundle/{first-run-XILZE4PI.js → first-run-KZJFR55N.js} +5 -5
- package/dist/bundle/{first-screen-43VLEDWZ.js → first-screen-EORANEAK.js} +14 -14
- package/dist/bundle/{instructions-B7AUZXPL.js → instructions-NN3BCFIM.js} +1 -1
- package/dist/bundle/mail.js +2 -2
- package/dist/bundle/{node-SZAO6HTA.js → node-2S75QJ6B.js} +2 -2
- package/dist/bundle/{node-sqlite-O34FFLRV.js → node-sqlite-RC7WM3EG.js} +2 -2
- package/dist/bundle/{oauth-YYTLIPJT.js → oauth-FUHLZCKV.js} +4 -4
- package/dist/bundle/{open-SWJGI6H4.js → open-JOKT7LKY.js} +1 -1
- package/dist/bundle/{openai-GYXWCQOV.js → openai-U3IMQ6UI.js} +10 -10
- package/dist/bundle/{process-GLVWCUMK.js → process-LKODK722.js} +1 -1
- package/dist/bundle/{program-HW73TGIF.js → program-RMLIQXCA.js} +918 -604
- package/dist/bundle/{prompt-OZLHHGCD.js → prompt-23VYMNNB.js} +2 -2
- package/dist/bundle/{recognize-RDQSGHC5.js → recognize-TXO3462R.js} +1 -1
- package/dist/bundle/{remote-BKU5P3GK.js → remote-5F4ZOASM.js} +4 -4
- package/dist/bundle/{rerank-EQIXYHKB.js → rerank-TXSDPEFE.js} +4 -4
- package/dist/bundle/{serve-S6K5HKWG.js → serve-TWYECYWM.js} +6 -6
- package/dist/bundle/server-2GEAXKX2.js +63 -0
- package/dist/bundle/{server-4VRVHPQC.js → server-3S3BKE6D.js} +31 -31
- package/dist/bundle/{sqlite-runtime-OOE455YM.js → sqlite-runtime-BEOBGC6K.js} +2 -2
- package/dist/bundle/{state-OLPOJ2TY.js → state-ERWIUTQQ.js} +3 -3
- package/dist/bundle/{store-6AVCPLH4.js → store-2JO4JGQL.js} +11 -9
- package/dist/bundle/{store-WFV26CWY.js → store-4RY5UMOP.js} +11 -11
- package/dist/bundle/store-maintenance-command-T7D4OTN7.js +52 -0
- package/dist/commands/read.d.ts +3 -0
- package/dist/commands/read.d.ts.map +1 -0
- package/dist/commands/read.js +33 -0
- package/dist/commands/read.js.map +1 -0
- package/dist/identity.js +1 -1
- package/dist/identity.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +2 -0
- package/dist/program.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/mail-cli/SKILL.md +6 -2
- package/dist/bundle/server-WK6DRJX2.js +0 -63
- package/dist/bundle/store-maintenance-command-S6235I3W.js +0 -52
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
Notable changes to `@wirecat/mail-cli`. One section per version, newest first.
|
|
4
4
|
|
|
5
|
+
## 0.4.0 — 01.11.2026
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- **`mail <profile> search messages '<query>'`** searches the profile's stored mail offline, with the query language
|
|
10
|
+
of every WireCat CLI and memo's ranking: any form of a word, `from:`, `to:`, `subject:`, `label:`, `is:unread`,
|
|
11
|
+
`has:attachment`, `content:`, `date>7d`, and `list:` for a mailing list by its List-Id or domain. Mail from a
|
|
12
|
+
suspicious sender comes after the rest (`--plain-order` keeps the words' order); `--newest`, `--exact`, `--page`.
|
|
13
|
+
- **`mail <profile> messages show <ref>`** gives one email whole, with the first 4,000 characters of each
|
|
14
|
+
attachment's text (`--full`: all of it and the HTML body), and `--before-n`/`--after-n` emails of its thread, in the
|
|
15
|
+
JSON `memo messages show` gives.
|
|
16
|
+
- **`mail <profile> conversations list [query]` and `conversations show <thread>`**: the threads, newest first,
|
|
17
|
+
filtered by `subject:`, `emails_count>1` or `last_email_at>7d`, and one thread's emails oldest first.
|
|
18
|
+
- Each reads the profile's own mailbox only; a reference of another mailbox is refused. Over MCP they are `read`
|
|
19
|
+
commands.
|
|
20
|
+
|
|
5
21
|
## 0.3.0 — 01.11.2026
|
|
6
22
|
|
|
7
23
|
### Added
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
`mail` copies your mailbox into the shared WireCat store on your computer, so you and your AI agents can search it
|
|
4
4
|
and read it there. It reads over IMAP and never changes the mailbox: it does not send, move, flag or delete mail.
|
|
5
|
-
It
|
|
5
|
+
It searches and reads what it stored, offline.
|
|
6
6
|
|
|
7
7
|
[Documentation](https://github.com/WireCatLabs/mail-cli/blob/main/docs/index.md) · [Roadmap](https://github.com/WireCatLabs/mail-cli/blob/main/docs/roadmap.md) · [WireCat](https://wirecat.dev)
|
|
8
8
|
|
|
@@ -24,11 +24,12 @@ mail ya session start --address me@example.com # finds the server, shows the s
|
|
|
24
24
|
mail ya account check # logs in and lists what the server supports
|
|
25
25
|
mail ya sync # reads the last 30 days into the shared store
|
|
26
26
|
mail ya status # how far the sync is
|
|
27
|
+
mail ya search messages invoice # search the stored mail
|
|
27
28
|
mail skill install # optional: instructions for your AI agent
|
|
28
29
|
```
|
|
29
30
|
|
|
30
|
-
Now the mail is in the store.
|
|
31
|
-
|
|
31
|
+
Now the mail is in the store. `mail ya messages show <ref>` reads a search hit whole. [memo](https://github.com/WireCatLabs/cli-memo)
|
|
32
|
+
searches it together with your messages and notes: `memo search all "invoice"`.
|
|
32
33
|
|
|
33
34
|
You need Node.js 22.16 or a later 22.x, or 24 or later. To try it with no install, run
|
|
34
35
|
`npx @wirecat/mail-cli --help`. If `mail` is not found, `mail doctor` says why.
|
|
@@ -37,8 +38,10 @@ You need Node.js 22.16 or a later 22.x, or 24 or later. To try it with no instal
|
|
|
37
38
|
|
|
38
39
|
- **Sync a mailbox into the shared store.** `sync` reads INBOX and Sent (All Mail on Gmail), or the folders you name,
|
|
39
40
|
newest first, and skips what is already stored. `--since-time 2026-10-01` reads from local midnight of that day.
|
|
40
|
-
- **Search and read the mail
|
|
41
|
-
|
|
41
|
+
- **Search and read the stored mail.** `search messages 'from:ann@example.com has:attachment date>30d'` uses the
|
|
42
|
+
query language of every WireCat CLI, with `list:` for mailing lists; `messages show` gives an email whole with its
|
|
43
|
+
attachments' text, `conversations list|show` its threads. It reads the profile's mailbox only and asks no server.
|
|
44
|
+
[memo](https://github.com/WireCatLabs/cli-memo) searches every mailbox together with your messages and notes.
|
|
42
45
|
- **Sync a big mailbox in parts.** A run stops before its deadline, keeps what it read and tells you to run it again;
|
|
43
46
|
`status` shows how far it is.
|
|
44
47
|
- **Check a mailbox.** `account check` shows what the server supports, `folders list` the folders with their role and
|
|
@@ -98,10 +101,10 @@ mail ya config show # every setting and where it came
|
|
|
98
101
|
|
|
99
102
|
- Read-only: `mail` never sends, moves, flags or deletes mail. But memo has `memo mail delete`, which moves Gmail mail
|
|
100
103
|
to Trash, so an agent with write access to memo can change mail.
|
|
101
|
-
- Text and headers only: attachments
|
|
104
|
+
- Text and headers only: the text of attachments is stored, not the files, nor the original message.
|
|
102
105
|
- No OAuth yet, so no Outlook or Microsoft 365, and no Google Workspace domain that turns app passwords off.
|
|
103
106
|
- Gmail caps IMAP downloads at 2,500 MB a day; a new Yandex app password can take 2 to 3 hours to work.
|
|
104
|
-
- `
|
|
107
|
+
- Search reads what `sync` stored: mail not synced yet is not found. Search on the server is planned.
|
|
105
108
|
|
|
106
109
|
What comes next, such as OAuth sign-in, is on the
|
|
107
110
|
[roadmap](https://github.com/WireCatLabs/mail-cli/blob/main/docs/roadmap.md).
|
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.4.0\n")
|
|
13
13
|
} else {
|
|
14
14
|
// Before the bundle compiles: the bundle's own call comes after its chunks.
|
|
15
15
|
module.enableCompileCache()
|
|
@@ -29,7 +29,7 @@ if (
|
|
|
29
29
|
})
|
|
30
30
|
}
|
|
31
31
|
const running = import("../bundle/mail.js")
|
|
32
|
-
const chunks = ["../bundle/all-profiles-
|
|
32
|
+
const chunks = ["../bundle/all-profiles-55XPXQHY.js","../bundle/anthropic-K5B6I4LB.js","../bundle/app-server-VWWLQLTZ.js","../bundle/bun-EO7AI6YP.js","../bundle/bun-sqlite-F24A4IOP.js","../bundle/decode-ON4KBMEX.js","../bundle/dispatch-EUKKT3PD.js","../bundle/dist-FMN7UZ7R.js","../bundle/dist-HFUVURJG.js","../bundle/echarts-XPA226QR.js","../bundle/embed-QERDAB73.js","../bundle/embedder-I76YT3E5.js","../bundle/failure-OAIC5VAP.js","../bundle/first-screen-EORANEAK.js","../bundle/instructions-NN3BCFIM.js","../bundle/mcp-L7SRVDRN.js","../bundle/node-2S75QJ6B.js","../bundle/node-KM3CUABH.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-RC7WM3EG.js","../bundle/oauth-FUHLZCKV.js","../bundle/open-JOKT7LKY.js","../bundle/openai-U3IMQ6UI.js","../bundle/process-LKODK722.js","../bundle/program-RMLIQXCA.js","../bundle/prompt-23VYMNNB.js","../bundle/recognize-TXO3462R.js","../bundle/remote-5F4ZOASM.js","../bundle/rerank-TXSDPEFE.js","../bundle/serve-TWYECYWM.js","../bundle/server-2GEAXKX2.js","../bundle/server-3S3BKE6D.js","../bundle/sqlite-runtime-BEOBGC6K.js","../bundle/state-ERWIUTQQ.js","../bundle/store-2JO4JGQL.js","../bundle/store-4RY5UMOP.js","../bundle/store-maintenance-command-T7D4OTN7.js"]
|
|
33
33
|
// After the server answers its first request, so it starts no later.
|
|
34
34
|
if (serves) setTimeout(() => void Promise.allSettled(chunks.map((chunk) => import(chunk))), 2000).unref()
|
|
35
35
|
await running
|
|
@@ -2,18 +2,18 @@ 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-JKHI3PH7.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-MGBGE2Y4.js";
|
|
13
13
|
import {
|
|
14
14
|
McpServer
|
|
15
15
|
} from "./chunk-5D4AEUVA.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-H7K2DN3R.js";
|
|
17
17
|
import "./chunk-NPGVOZVK.js";
|
|
18
18
|
import "./chunk-J3QXTBD2.js";
|
|
19
19
|
import "./chunk-LQ37ALDJ.js";
|
|
@@ -23,7 +23,7 @@ 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.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
|
|
27
27
|
import { spawn } from "node:child_process";
|
|
28
28
|
import { randomUUID } from "node:crypto";
|
|
29
29
|
var PROTOCOL = "2025-06-18";
|
|
@@ -257,7 +257,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
|
|
|
257
257
|
}, "serveAllProfilesOverStdio");
|
|
258
258
|
var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
|
|
259
259
|
const { build, close } = allProfilesServer(options);
|
|
260
|
-
const { serveOverHttp } = await import("./serve-
|
|
260
|
+
const { serveOverHttp } = await import("./serve-TWYECYWM.js");
|
|
261
261
|
const listening = await serveOverHttp(build, {
|
|
262
262
|
...http,
|
|
263
263
|
appName: options.command,
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
} from "./chunk-XQUUANA2.js";
|
|
6
6
|
import {
|
|
7
7
|
checkedOptions
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FFKNUVVD.js";
|
|
9
9
|
import {
|
|
10
10
|
messagesFor,
|
|
11
11
|
systemFor
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-BHKI5OCD.js";
|
|
13
13
|
import "./chunk-J3QXTBD2.js";
|
|
14
14
|
import {
|
|
15
15
|
array,
|
|
@@ -23,7 +23,7 @@ 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.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/models/anthropic.js
|
|
27
27
|
var options = strictObject({
|
|
28
28
|
stop_sequences: optional(array(string()))
|
|
29
29
|
});
|
|
@@ -3,43 +3,43 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
PER_RUN,
|
|
5
5
|
envelope
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-JZFIHVRB.js";
|
|
7
7
|
import {
|
|
8
8
|
answered,
|
|
9
9
|
failed,
|
|
10
10
|
registerCommands,
|
|
11
11
|
runCommandForAgent,
|
|
12
12
|
toolsFromCommands
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-OM4ZBLT7.js";
|
|
14
14
|
import {
|
|
15
15
|
mcpUrlOf
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ORYYYM5Y.js";
|
|
17
17
|
import {
|
|
18
18
|
agentJson,
|
|
19
19
|
skillResource
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-6BR6JMCR.js";
|
|
21
|
+
import "./chunk-VWHRIGYJ.js";
|
|
22
22
|
import {
|
|
23
23
|
appInstructions
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-EDKV6D6T.js";
|
|
25
25
|
import {
|
|
26
26
|
answeredWire
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-JKHI3PH7.js";
|
|
28
28
|
import {
|
|
29
29
|
StdioServerTransport,
|
|
30
30
|
serveStdio
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-MGBGE2Y4.js";
|
|
32
32
|
import {
|
|
33
33
|
McpServer
|
|
34
34
|
} from "./chunk-5D4AEUVA.js";
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-NL5LNYGX.js";
|
|
36
|
+
import "./chunk-X7AXH2IC.js";
|
|
37
|
+
import "./chunk-4KLJN3LK.js";
|
|
38
|
+
import "./chunk-VP5GCMHM.js";
|
|
39
|
+
import "./chunk-BHKI5OCD.js";
|
|
40
|
+
import "./chunk-HJEMHZRU.js";
|
|
41
|
+
import "./chunk-7IYDIU4P.js";
|
|
42
|
+
import "./chunk-2LP46EUH.js";
|
|
43
43
|
import {
|
|
44
44
|
DEFAULT_OUTPUT_BYTES,
|
|
45
45
|
changesAuthorityAt,
|
|
@@ -49,34 +49,34 @@ import {
|
|
|
49
49
|
judgedTargets,
|
|
50
50
|
readOnlyLockOf,
|
|
51
51
|
rootOf2 as rootOf
|
|
52
|
-
} from "./chunk-
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
52
|
+
} from "./chunk-HUB42T2Z.js";
|
|
53
|
+
import "./chunk-F6JTOQIK.js";
|
|
54
|
+
import "./chunk-H7K2DN3R.js";
|
|
55
55
|
import "./chunk-ZD3WUGR2.js";
|
|
56
56
|
import "./chunk-P7P5MNAU.js";
|
|
57
|
-
import "./chunk-
|
|
57
|
+
import "./chunk-VWXCEEUH.js";
|
|
58
58
|
import {
|
|
59
59
|
mcpHttpMarker
|
|
60
|
-
} from "./chunk-
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-
|
|
65
|
-
import "./chunk-
|
|
66
|
-
import "./chunk-
|
|
67
|
-
import "./chunk-
|
|
68
|
-
import "./chunk-
|
|
69
|
-
import "./chunk-
|
|
60
|
+
} from "./chunk-RLSGMMGC.js";
|
|
61
|
+
import "./chunk-EOEYP7CJ.js";
|
|
62
|
+
import "./chunk-CADRRSQK.js";
|
|
63
|
+
import "./chunk-UJYCKCFR.js";
|
|
64
|
+
import "./chunk-ID24SLH3.js";
|
|
65
|
+
import "./chunk-5RUTHKXZ.js";
|
|
66
|
+
import "./chunk-CCNHVZ3G.js";
|
|
67
|
+
import "./chunk-SY3SP7EI.js";
|
|
68
|
+
import "./chunk-2NZGUKYK.js";
|
|
69
|
+
import "./chunk-YYTWV5GU.js";
|
|
70
70
|
import "./chunk-NPGVOZVK.js";
|
|
71
|
-
import "./chunk-
|
|
72
|
-
import "./chunk-
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-
|
|
71
|
+
import "./chunk-ANRI6EZY.js";
|
|
72
|
+
import "./chunk-F7KAJNNK.js";
|
|
73
|
+
import "./chunk-UO7X2VW4.js";
|
|
74
|
+
import "./chunk-7X64JS6S.js";
|
|
75
75
|
import "./chunk-QX7RCLRS.js";
|
|
76
76
|
import "./chunk-D72URWJE.js";
|
|
77
|
-
import "./chunk-
|
|
78
|
-
import "./chunk-
|
|
79
|
-
import "./chunk-
|
|
77
|
+
import "./chunk-ZAR67WKR.js";
|
|
78
|
+
import "./chunk-WFBTPZK3.js";
|
|
79
|
+
import "./chunk-UZDHK26H.js";
|
|
80
80
|
import "./chunk-J3QXTBD2.js";
|
|
81
81
|
import {
|
|
82
82
|
mcpErrorResult
|
|
@@ -89,7 +89,7 @@ import {
|
|
|
89
89
|
__name
|
|
90
90
|
} from "./chunk-ZVVMGPBJ.js";
|
|
91
91
|
|
|
92
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
92
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
|
|
93
93
|
var EXCLUDED = [["mcp"]];
|
|
94
94
|
var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
|
|
95
95
|
const { app } = options;
|
|
@@ -204,7 +204,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
|
|
|
204
204
|
var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
|
|
205
205
|
const { app } = options;
|
|
206
206
|
const { build } = createAppServer(command, context, options);
|
|
207
|
-
const { serveOverHttp } = await import("./serve-
|
|
207
|
+
const { serveOverHttp } = await import("./serve-TWYECYWM.js");
|
|
208
208
|
const listening = await serveOverHttp(build, {
|
|
209
209
|
...http,
|
|
210
210
|
appName: app.command,
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
jitCompatCheck,
|
|
19
19
|
refineSqliteCodecs,
|
|
20
20
|
sql
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-7X64JS6S.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.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/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,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
loadVectorExtension,
|
|
5
5
|
vectorExtension
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SWRNMYDL.js";
|
|
7
7
|
import "./chunk-J3QXTBD2.js";
|
|
8
8
|
import "./chunk-LQ37ALDJ.js";
|
|
9
9
|
import {
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
__name
|
|
15
15
|
} from "./chunk-ZVVMGPBJ.js";
|
|
16
16
|
|
|
17
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
|
|
18
18
|
var customised = false;
|
|
19
19
|
var ownLibrary = /* @__PURE__ */ __name(async () => {
|
|
20
20
|
try {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
MAX_SECRET_INPUT,
|
|
5
5
|
bufferedInput,
|
|
6
6
|
inputPolicy
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HJEMHZRU.js";
|
|
8
8
|
import {
|
|
9
9
|
CliError
|
|
10
10
|
} from "./chunk-5BVIWP3S.js";
|
|
@@ -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.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
|
|
16
16
|
import { createInterface } from "node:readline";
|
|
17
17
|
import { Writable } from "node:stream";
|
|
18
18
|
var readSecret = /* @__PURE__ */ __name(async (prompt, { input = process.stdin, output = process.stderr, echo = false, signal: givenSignal } = {}) => {
|