@wirecat/mail-cli 0.15.0 → 0.16.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 +32 -0
- package/README.md +14 -14
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/{all-profiles-PKXL5TKP.js → all-profiles-TUDREUUW.js} +6 -6
- package/dist/bundle/{anthropic-DFDNZU7C.js → anthropic-KQOVSP6C.js} +3 -3
- package/dist/bundle/{app-server-WOZAOCKX.js → app-server-QK7PKVT7.js} +40 -40
- package/dist/bundle/{bun-DKZAL6ML.js → bun-2NMWL5YB.js} +2 -2
- package/dist/bundle/{bun-sqlite-2A7FS5GD.js → bun-sqlite-Y4FP6SDX.js} +2 -2
- package/dist/bundle/{chunk-WIU733D2.js → chunk-3CVDHJER.js} +1 -1
- package/dist/bundle/{chunk-QJQV6KG2.js → chunk-3ZJE5TIG.js} +1 -1
- package/dist/bundle/{chunk-FEWWBU2I.js → chunk-4IEDXIUN.js} +208 -210
- package/dist/bundle/{chunk-WTDYN3TQ.js → chunk-4IIH5PXR.js} +26 -26
- package/dist/bundle/{chunk-YWIU4HOT.js → chunk-5FPQGUJA.js} +1 -1
- package/dist/bundle/{chunk-U3VX3UUC.js → chunk-6DVPPLAN.js} +3 -3
- package/dist/bundle/{chunk-IA6U76ZY.js → chunk-7LMTWOTP.js} +1 -1
- package/dist/bundle/{chunk-YRHXVXLQ.js → chunk-ANFIIXBL.js} +1 -1
- package/dist/bundle/{chunk-QSGT4ZH4.js → chunk-ARDUJR5Z.js} +1 -1
- package/dist/bundle/{chunk-BKF7XIJ5.js → chunk-B2NDDA2W.js} +8 -8
- package/dist/bundle/{chunk-BIKMEGC7.js → chunk-CGH6UH3T.js} +7 -7
- package/dist/bundle/{chunk-4HVY3QPF.js → chunk-CRYWPLJP.js} +1 -1
- package/dist/bundle/{chunk-LRBAQSU3.js → chunk-CT2MIWXY.js} +2 -2
- package/dist/bundle/{chunk-JQTIB4WJ.js → chunk-DDQXDX4U.js} +4 -4
- package/dist/bundle/{chunk-NNLYS4IR.js → chunk-DKIAHQRN.js} +7 -7
- package/dist/bundle/{chunk-XKUAEYJV.js → chunk-EBEYU7RW.js} +9 -9
- package/dist/bundle/{chunk-6AYJDBHT.js → chunk-EZIJPXDZ.js} +5 -5
- package/dist/bundle/{chunk-NDZK466U.js → chunk-FHY664YS.js} +3 -3
- package/dist/bundle/{chunk-4YECCESG.js → chunk-FROWEHK7.js} +2 -2
- package/dist/bundle/{chunk-73SQQXSU.js → chunk-GAYW2JRW.js} +7 -7
- package/dist/bundle/{chunk-KJYCA6IC.js → chunk-GIKNAOER.js} +3 -3
- package/dist/bundle/{chunk-M5DF6QNT.js → chunk-HN3EDDVX.js} +12 -12
- package/dist/bundle/{chunk-RFDP45QO.js → chunk-HVAXTTOT.js} +2 -2
- package/dist/bundle/{chunk-M5VHTDJZ.js → chunk-I3K6JG4I.js} +16 -16
- package/dist/bundle/{chunk-SPQY3PJX.js → chunk-IJYYD2JU.js} +296 -169
- package/dist/bundle/{chunk-K4N5UG64.js → chunk-K2OQCQ2N.js} +4 -4
- package/dist/bundle/{chunk-3MKCLPQV.js → chunk-KJV3BI7S.js} +9 -9
- package/dist/bundle/{chunk-HGOYQUT7.js → chunk-KMZRXGTF.js} +1 -1
- package/dist/bundle/{chunk-XGNC5OJG.js → chunk-LMN7SYX4.js} +1 -1
- package/dist/bundle/{chunk-5W7D5H2R.js → chunk-M6O4DH5F.js} +1 -1
- package/dist/bundle/{chunk-R6UG66IM.js → chunk-MLWN27HF.js} +214 -214
- package/dist/bundle/{chunk-P4SV3VKP.js → chunk-N7DLDEFU.js} +2 -2
- package/dist/bundle/{chunk-LARQTWIL.js → chunk-OYB3FUYQ.js} +1 -1
- package/dist/bundle/{chunk-RBNL3DBQ.js → chunk-POS35G6D.js} +1 -1
- package/dist/bundle/{chunk-PI5P457W.js → chunk-PWTEWT4M.js} +4 -4
- package/dist/bundle/{chunk-BY5S3JEZ.js → chunk-PYX6K527.js} +44 -44
- package/dist/bundle/{chunk-2BHY4GFP.js → chunk-Q4T2HBZP.js} +2 -2
- package/dist/bundle/{chunk-QTD3BVS5.js → chunk-R6SBRHVG.js} +5 -5
- package/dist/bundle/{chunk-OJEIUOMW.js → chunk-RPEW7E3S.js} +10 -10
- package/dist/bundle/{chunk-OZVGHHFZ.js → chunk-TTOKDZQX.js} +1 -1
- package/dist/bundle/{chunk-4TPNRJER.js → chunk-UBLFUQ7O.js} +6 -6
- package/dist/bundle/{chunk-6Z7VBDFR.js → chunk-UYOGVVQS.js} +12 -2
- package/dist/bundle/{chunk-4XRIALMN.js → chunk-VD6GZ3W2.js} +1 -1
- package/dist/bundle/{chunk-VQQFOA4O.js → chunk-VP5FL5JQ.js} +6 -6
- package/dist/bundle/{chunk-PXLVTHMH.js → chunk-VTJ5TMGN.js} +2 -2
- package/dist/bundle/{chunk-5C3L2QER.js → chunk-WKHHCCJE.js} +21 -21
- package/dist/bundle/{chunk-2A4Z3WOC.js → chunk-X7EBOXBY.js} +278 -274
- package/dist/bundle/{chunk-SRHKHE4C.js → chunk-XAANQN4R.js} +13 -13
- package/dist/bundle/{chunk-ENZTLYTS.js → chunk-XEIGKPYU.js} +6 -3
- package/dist/bundle/{chunk-4DGOI6JB.js → chunk-YGJO5VNR.js} +22 -22
- package/dist/bundle/{chunk-A6O3WHBD.js → chunk-ZNW4E3SG.js} +2 -2
- package/dist/bundle/{chunk-WOV3ABQR.js → chunk-ZS6YKNYS.js} +3 -3
- package/dist/bundle/{command-contract-4E4NYRR7.js → command-contract-GVNLRXWS.js} +13 -13
- package/dist/bundle/{decode-LX4FPSI7.js → decode-WCS4KOHV.js} +2 -2
- package/dist/bundle/{dist-HQIZDYNQ.js → dist-FL422DTA.js} +10 -10
- package/dist/bundle/{echarts-BGBPRGR5.js → echarts-45D6USAX.js} +2 -2
- package/dist/bundle/{embed-ASAE3H5I.js → embed-4B4ATLCN.js} +3 -3
- package/dist/bundle/{embedder-QYDZRKBX.js → embedder-ASWGJXNV.js} +6 -6
- package/dist/bundle/{first-run-EFNNGFCB.js → first-run-5K3UD4BU.js} +5 -5
- package/dist/bundle/{first-screen-XHM3TT6G.js → first-screen-NNX54MYC.js} +14 -14
- package/dist/bundle/{instructions-6LPDSKAD.js → instructions-6EFSPC7C.js} +1 -1
- package/dist/bundle/mail.js +2 -2
- package/dist/bundle/{node-IB246NCQ.js → node-OXC26QXO.js} +2 -2
- package/dist/bundle/{node-sqlite-UROXM4VR.js → node-sqlite-PXHZAG7Y.js} +3 -3
- package/dist/bundle/{oauth-VSCKHS4T.js → oauth-YK2QLC7U.js} +4 -4
- package/dist/bundle/{open-R4LVB63T.js → open-SABDXZ4B.js} +2 -2
- package/dist/bundle/{openai-MKCEOFKL.js → openai-DPURPXEU.js} +10 -10
- package/dist/bundle/{process-SWPJGPQC.js → process-YWPAOI6G.js} +1 -1
- package/dist/bundle/{program-CJ2YDRUY.js → program-ERLBUNWI.js} +1488 -1321
- package/dist/bundle/{prompt-TWWJ5VAM.js → prompt-GKVNFGFE.js} +2 -2
- package/dist/bundle/{recognize-XMO5ETQU.js → recognize-344YDSLX.js} +1 -1
- package/dist/bundle/{remote-N6VAWJWE.js → remote-53UZUJJU.js} +4 -4
- package/dist/bundle/{rerank-XNAMC6FH.js → rerank-PAIRND6R.js} +4 -4
- package/dist/bundle/{serve-IJ32WEBH.js → serve-DZSO7LJK.js} +6 -6
- package/dist/bundle/{server-KEYSE5OL.js → server-EGG3V67I.js} +32 -32
- package/dist/bundle/server-SGGMRV2K.js +64 -0
- package/dist/bundle/{sqlite-runtime-NFBRN7OF.js → sqlite-runtime-ZQ6F3VYZ.js} +3 -3
- package/dist/bundle/{state-7WPJEW2Z.js → state-LXPOWLZ5.js} +3 -3
- package/dist/bundle/{store-PKQCNACC.js → store-4ZMSK5R5.js} +11 -11
- package/dist/bundle/{store-KHVHOGQR.js → store-PHT75I6S.js} +13 -13
- package/dist/bundle/store-maintenance-command-C6ONZNRX.js +54 -0
- package/dist/commands/account.js +1 -1
- package/dist/commands/account.js.map +1 -1
- package/dist/commands/attachments.js +3 -3
- package/dist/commands/attachments.js.map +1 -1
- package/dist/commands/context.d.ts +4 -0
- package/dist/commands/context.d.ts.map +1 -1
- package/dist/commands/context.js.map +1 -1
- package/dist/commands/drafts-send.js +1 -1
- package/dist/commands/drafts-send.js.map +1 -1
- package/dist/commands/drafts.d.ts.map +1 -1
- package/dist/commands/drafts.js +9 -6
- package/dist/commands/drafts.js.map +1 -1
- package/dist/commands/export.js +3 -3
- package/dist/commands/export.js.map +1 -1
- package/dist/commands/folders.d.ts.map +1 -1
- package/dist/commands/folders.js +7 -4
- package/dist/commands/folders.js.map +1 -1
- package/dist/commands/messages.js +11 -11
- package/dist/commands/messages.js.map +1 -1
- package/dist/commands/rules.d.ts.map +1 -1
- package/dist/commands/rules.js +55 -33
- package/dist/commands/rules.js.map +1 -1
- package/dist/commands/send.d.ts.map +1 -1
- package/dist/commands/send.js +7 -6
- package/dist/commands/send.js.map +1 -1
- package/dist/commands/session-start.js +1 -1
- package/dist/commands/session-start.js.map +1 -1
- package/dist/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +5 -2
- package/dist/commands/session.js.map +1 -1
- package/dist/commands/stats.js +4 -4
- package/dist/commands/stats.js.map +1 -1
- package/dist/commands/status.js +1 -1
- package/dist/commands/status.js.map +1 -1
- package/dist/commands/sync.js +3 -3
- package/dist/commands/sync.js.map +1 -1
- package/dist/commands/tags.d.ts.map +1 -1
- package/dist/commands/tags.js +3 -2
- package/dist/commands/tags.js.map +1 -1
- package/dist/config.d.ts +3 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +13 -1
- package/dist/config.js.map +1 -1
- package/dist/mail/domain-age.d.ts.map +1 -1
- package/dist/mail/domain-age.js +3 -6
- package/dist/mail/domain-age.js.map +1 -1
- package/dist/mail/save.d.ts.map +1 -1
- package/dist/mail/save.js +3 -2
- package/dist/mail/save.js.map +1 -1
- package/dist/mail/send.d.ts +6 -0
- package/dist/mail/send.d.ts.map +1 -1
- package/dist/mail/send.js +11 -4
- package/dist/mail/send.js.map +1 -1
- package/dist/mail/smtp.d.ts.map +1 -1
- package/dist/mail/smtp.js +7 -5
- package/dist/mail/smtp.js.map +1 -1
- package/dist/oauth.js +1 -1
- package/dist/oauth.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +5 -1
- package/dist/program.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +10 -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/skills/mail-cli/SKILL.md +16 -16
- package/dist/bundle/server-CRVR4L2E.js +0 -64
- package/dist/bundle/store-maintenance-command-5MODJN6R.js +0 -54
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,38 @@
|
|
|
2
2
|
|
|
3
3
|
Notable changes to `@wirecat/mail-cli`. One section per version, newest first.
|
|
4
4
|
|
|
5
|
+
## 0.16.1 — 05.11.2026
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- **The tests of the private file modes skip the mode check on Windows**, where files have no Unix modes.
|
|
10
|
+
- **Docs, help examples and the skill name the example profile `personal`, not `ya`**, as tg does. A second
|
|
11
|
+
mailbox in an example is `work`. No behaviour changes.
|
|
12
|
+
- **`docs/configuration.md` says which flag answers `ask`**: `--allow-dangerous` for `drafts delete`, `--yes` for
|
|
13
|
+
every other change, and `confirmation_required` without a terminal or a flag.
|
|
14
|
+
- **The sender domain cache and the sign-in records folder are private to you.** `domain-ages.json` is written with
|
|
15
|
+
mode 600 and the folder that holds `sign-ins.json` with mode 700, as every other private file of mail's.
|
|
16
|
+
- **Every error and issue reason mail raises is in its registry**, so `mail commands info` lists it and an agent can
|
|
17
|
+
branch on it: `mail.smtp-login-refused`, `mail.no-drafts`, `mail.draft-unknown`, `mail.gmail-objectid`,
|
|
18
|
+
`mail.export-destination-exists`, `download.exists`, `mail.unreadable`, `mail.deletions-skipped`,
|
|
19
|
+
`mail.rules-unreadable` and `mail.export-unreadable`. A test keeps the list complete.
|
|
20
|
+
- **The secret scan knows Google's OAuth access tokens, refresh tokens and client secrets.**
|
|
21
|
+
- **`mail commands info` says what `rules remove`, `rules apply` and `rules import` answer with**, as every other
|
|
22
|
+
command does: `mail_rule_change`, `mail_rules_apply` and `mail_rule_import`. The answers are unchanged.
|
|
23
|
+
- **`rules apply` closes its connection to the mail server before it answers**, and the tag commands hand the store
|
|
24
|
+
to the run, so a timeout or a signal closes it too.
|
|
25
|
+
|
|
26
|
+
## 0.16.0 — 05.11.2026
|
|
27
|
+
|
|
28
|
+
### Changed — may break callers
|
|
29
|
+
|
|
30
|
+
- **mail runs on cli-core 0.569.0: an agent schedule runs on Sonnet, starts lean and stops for the day at a cost
|
|
31
|
+
cap.** `mail <profile> schedule agent` takes `--model <model>` and `--max-cost-per-day <usd>`. Without them a claude
|
|
32
|
+
schedule runs on `sonnet` and a codex one on codex's own default, a new claude schedule starts without your MCP
|
|
33
|
+
servers, skills, settings and CLAUDE.md, and no run starts for the rest of the day once the day's runs cost 5 US
|
|
34
|
+
dollars. `schedule_model_claude`, `schedule_model_codex`, `schedule_lean_start` and `schedule_max_cost_per_day` in
|
|
35
|
+
the config file's `defaults` change that for every new schedule; `mail config show` lists them.
|
|
36
|
+
|
|
5
37
|
## 0.15.0 — 05.11.2026
|
|
6
38
|
|
|
7
39
|
### Changed — may break callers
|
package/README.md
CHANGED
|
@@ -20,19 +20,19 @@ change one you can undo. It keeps drafts, and sends, replies and forwards over S
|
|
|
20
20
|
|
|
21
21
|
First turn on IMAP in your mailbox and make an app password:
|
|
22
22
|
[the steps for every provider](https://github.com/WireCatLabs/mail-cli/blob/main/docs/providers.md). Then, with a
|
|
23
|
-
profile name of your choice (`
|
|
23
|
+
profile name of your choice (`personal` here) and your own address in place of the synthetic `me@example.com`:
|
|
24
24
|
|
|
25
25
|
```sh
|
|
26
26
|
npm install -g @wirecat/mail-cli
|
|
27
|
-
mail
|
|
28
|
-
mail
|
|
29
|
-
mail
|
|
30
|
-
mail
|
|
31
|
-
mail
|
|
27
|
+
mail personal session start --address me@example.com # finds the server, shows the steps, asks for the app password.
|
|
28
|
+
mail personal account check # logs in and lists what the server supports
|
|
29
|
+
mail personal sync # reads the last 30 days into the shared store
|
|
30
|
+
mail personal status # how far the sync is
|
|
31
|
+
mail personal search messages invoice # search the stored mail
|
|
32
32
|
mail skill install # optional: instructions for your AI agent
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
Now the mail is in the store. `mail
|
|
35
|
+
Now the mail is in the store. `mail personal messages show <ref>` reads a search hit whole. [memo](https://github.com/WireCatLabs/cli-memo)
|
|
36
36
|
searches it together with your messages and notes: `memo search all "invoice"`.
|
|
37
37
|
|
|
38
38
|
You need Node.js 22.16 or a later 22.x, or 24 or later. To try it with no install, run
|
|
@@ -77,8 +77,8 @@ You need Node.js 22.16 or a later 22.x, or 24 or later. To try it with no instal
|
|
|
77
77
|
|
|
78
78
|
```sh
|
|
79
79
|
mail skill install # instructions for Claude Code, Codex, Gemini CLI and OpenClaw
|
|
80
|
-
mail
|
|
81
|
-
mail
|
|
80
|
+
mail personal mcp add claude-code --allow-writes # or codex: adds this profile's MCP server
|
|
81
|
+
mail personal mcp config # the entry for Claude Desktop, Cursor and others
|
|
82
82
|
```
|
|
83
83
|
|
|
84
84
|
`mcp add` stops until you pass `--allow-writes`, because the server's `write` tool runs commands that change the
|
|
@@ -107,7 +107,7 @@ as data, never as instructions.
|
|
|
107
107
|
|
|
108
108
|
## Sign-in and profiles
|
|
109
109
|
|
|
110
|
-
A profile is a name you choose for one mailbox and the first word of every command that uses it: `mail
|
|
110
|
+
A profile is a name you choose for one mailbox and the first word of every command that uses it: `mail personal sync`.
|
|
111
111
|
`session start` creates the profile and signs it in, `session status` says where the password comes from (`--check`
|
|
112
112
|
logs in to prove it works), `session end` forgets the password and keeps the mail, and `mail session list` lists the
|
|
113
113
|
profiles.
|
|
@@ -126,8 +126,8 @@ permissions decide what a command may do (`allow`, `ask`, `readonly` or `deny`);
|
|
|
126
126
|
write. See [settings](https://github.com/WireCatLabs/mail-cli/blob/main/docs/configuration.md).
|
|
127
127
|
|
|
128
128
|
```sh
|
|
129
|
-
mail
|
|
130
|
-
mail
|
|
129
|
+
mail personal config set permissions.sync readonly # this profile cannot sync
|
|
130
|
+
mail personal config show # every setting and where it came from
|
|
131
131
|
```
|
|
132
132
|
|
|
133
133
|
## Limits
|
|
@@ -163,8 +163,8 @@ See [security](https://github.com/WireCatLabs/mail-cli/blob/main/docs/security.m
|
|
|
163
163
|
|
|
164
164
|
```sh
|
|
165
165
|
mail doctor # version, paths, settings and profiles; no keyring, no network
|
|
166
|
-
mail
|
|
167
|
-
mail
|
|
166
|
+
mail personal session status # where the app password comes from
|
|
167
|
+
mail personal runs list # failed and partial runs are kept
|
|
168
168
|
```
|
|
169
169
|
|
|
170
170
|
See [when something goes wrong](https://github.com/WireCatLabs/mail-cli/blob/main/docs/troubleshooting.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.16.1\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-TUDREUUW.js","../bundle/anthropic-KQOVSP6C.js","../bundle/app-server-QK7PKVT7.js","../bundle/bun-2NMWL5YB.js","../bundle/bun-sqlite-Y4FP6SDX.js","../bundle/decode-WCS4KOHV.js","../bundle/dispatch-3ILCYZ4Q.js","../bundle/dist-FL422DTA.js","../bundle/dist-HFUVURJG.js","../bundle/echarts-45D6USAX.js","../bundle/embed-4B4ATLCN.js","../bundle/embedder-ASWGJXNV.js","../bundle/failure-UDL5QZRZ.js","../bundle/first-screen-NNX54MYC.js","../bundle/instructions-6EFSPC7C.js","../bundle/mcp-PPVOM4SE.js","../bundle/node-KM3CUABH.js","../bundle/node-OXC26QXO.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-PXHZAG7Y.js","../bundle/oauth-YK2QLC7U.js","../bundle/open-SABDXZ4B.js","../bundle/openai-DPURPXEU.js","../bundle/process-YWPAOI6G.js","../bundle/program-ERLBUNWI.js","../bundle/prompt-GKVNFGFE.js","../bundle/recognize-344YDSLX.js","../bundle/remote-53UZUJJU.js","../bundle/rerank-PAIRND6R.js","../bundle/serve-DZSO7LJK.js","../bundle/server-EGG3V67I.js","../bundle/server-SGGMRV2K.js","../bundle/sqlite-runtime-ZQ6F3VYZ.js","../bundle/state-LXPOWLZ5.js","../bundle/store-4ZMSK5R5.js","../bundle/store-PHT75I6S.js","../bundle/store-maintenance-command-C6ONZNRX.js"]
|
|
32
32
|
if (((words) => words
|
|
33
33
|
.filter((word) => !word.startsWith("-"))
|
|
34
34
|
.slice(0, 2)
|
|
@@ -2,19 +2,19 @@ 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-ARDUJR5Z.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-Q4T2HBZP.js";
|
|
13
13
|
import {
|
|
14
14
|
McpServer
|
|
15
15
|
} from "./chunk-5D4AEUVA.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-DKIAHQRN.js";
|
|
17
|
+
import "./chunk-CRYWPLJP.js";
|
|
18
18
|
import "./chunk-LU3WKZBA.js";
|
|
19
19
|
import "./chunk-QCNK3YUZ.js";
|
|
20
20
|
import "./chunk-G6RG2AZV.js";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
__name
|
|
25
25
|
} from "./chunk-ZVVMGPBJ.js";
|
|
26
26
|
|
|
27
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
|
|
28
28
|
import { spawn } from "node:child_process";
|
|
29
29
|
import { randomUUID } from "node:crypto";
|
|
30
30
|
var PROTOCOL = "2025-06-18";
|
|
@@ -258,7 +258,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
|
|
|
258
258
|
}, "serveAllProfilesOverStdio");
|
|
259
259
|
var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
|
|
260
260
|
const { build, close } = allProfilesServer(options);
|
|
261
|
-
const { serveOverHttp } = await import("./serve-
|
|
261
|
+
const { serveOverHttp } = await import("./serve-DZSO7LJK.js");
|
|
262
262
|
const listening = await serveOverHttp(build, {
|
|
263
263
|
...http,
|
|
264
264
|
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-POS35G6D.js";
|
|
9
9
|
import {
|
|
10
10
|
messagesFor,
|
|
11
11
|
systemFor
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-3ZJE5TIG.js";
|
|
13
13
|
import "./chunk-QCNK3YUZ.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.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/models/anthropic.js
|
|
27
27
|
var options = strictObject({
|
|
28
28
|
stop_sequences: optional(array(string()))
|
|
29
29
|
});
|
|
@@ -3,42 +3,42 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
PER_RUN,
|
|
5
5
|
envelope
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4IIH5PXR.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-XAANQN4R.js";
|
|
14
14
|
import {
|
|
15
15
|
mcpUrlOf
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-YGJO5VNR.js";
|
|
17
17
|
import {
|
|
18
18
|
agentJson,
|
|
19
19
|
skillResource
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-KJV3BI7S.js";
|
|
21
|
+
import "./chunk-XEIGKPYU.js";
|
|
22
22
|
import {
|
|
23
23
|
appInstructions
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-5FPQGUJA.js";
|
|
25
25
|
import {
|
|
26
26
|
answeredWire
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-ARDUJR5Z.js";
|
|
28
28
|
import {
|
|
29
29
|
StdioServerTransport,
|
|
30
30
|
serveStdio
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-Q4T2HBZP.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-
|
|
35
|
+
import "./chunk-WKHHCCJE.js";
|
|
36
|
+
import "./chunk-MLWN27HF.js";
|
|
37
|
+
import "./chunk-HN3EDDVX.js";
|
|
38
|
+
import "./chunk-GAYW2JRW.js";
|
|
39
|
+
import "./chunk-3ZJE5TIG.js";
|
|
40
|
+
import "./chunk-ANFIIXBL.js";
|
|
41
|
+
import "./chunk-6DVPPLAN.js";
|
|
42
42
|
import {
|
|
43
43
|
DEFAULT_OUTPUT_BYTES,
|
|
44
44
|
changesAuthorityAt,
|
|
@@ -48,35 +48,35 @@ import {
|
|
|
48
48
|
readOnlyLockOf,
|
|
49
49
|
readsOverMcpAt,
|
|
50
50
|
rootOf2 as rootOf
|
|
51
|
-
} from "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
51
|
+
} from "./chunk-IJYYD2JU.js";
|
|
52
|
+
import "./chunk-DDQXDX4U.js";
|
|
53
|
+
import "./chunk-DKIAHQRN.js";
|
|
54
54
|
import "./chunk-EDJQDR5X.js";
|
|
55
55
|
import "./chunk-YPF6OS37.js";
|
|
56
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-ZNW4E3SG.js";
|
|
57
57
|
import {
|
|
58
58
|
mcpHttpMarker
|
|
59
|
-
} from "./chunk-
|
|
60
|
-
import "./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-
|
|
70
|
-
import "./chunk-
|
|
71
|
-
import "./chunk-
|
|
72
|
-
import "./chunk-
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-
|
|
59
|
+
} from "./chunk-PWTEWT4M.js";
|
|
60
|
+
import "./chunk-CT2MIWXY.js";
|
|
61
|
+
import "./chunk-3CVDHJER.js";
|
|
62
|
+
import "./chunk-HVAXTTOT.js";
|
|
63
|
+
import "./chunk-R6SBRHVG.js";
|
|
64
|
+
import "./chunk-ZS6YKNYS.js";
|
|
65
|
+
import "./chunk-I3K6JG4I.js";
|
|
66
|
+
import "./chunk-GIKNAOER.js";
|
|
67
|
+
import "./chunk-X7EBOXBY.js";
|
|
68
|
+
import "./chunk-EBEYU7RW.js";
|
|
69
|
+
import "./chunk-UBLFUQ7O.js";
|
|
70
|
+
import "./chunk-4IEDXIUN.js";
|
|
71
|
+
import "./chunk-CRYWPLJP.js";
|
|
72
|
+
import "./chunk-CGH6UH3T.js";
|
|
73
|
+
import "./chunk-K2OQCQ2N.js";
|
|
74
|
+
import "./chunk-TTOKDZQX.js";
|
|
75
75
|
import "./chunk-KV4267S4.js";
|
|
76
76
|
import "./chunk-LU3WKZBA.js";
|
|
77
77
|
import "./chunk-D72URWJE.js";
|
|
78
|
-
import "./chunk-
|
|
79
|
-
import "./chunk-
|
|
78
|
+
import "./chunk-EZIJPXDZ.js";
|
|
79
|
+
import "./chunk-KMZRXGTF.js";
|
|
80
80
|
import "./chunk-QCNK3YUZ.js";
|
|
81
81
|
import {
|
|
82
82
|
mcpErrorResult
|
|
@@ -85,12 +85,12 @@ import "./chunk-Y5E2WNWB.js";
|
|
|
85
85
|
import {
|
|
86
86
|
CliError
|
|
87
87
|
} from "./chunk-EB2IULWB.js";
|
|
88
|
-
import "./chunk-
|
|
88
|
+
import "./chunk-LMN7SYX4.js";
|
|
89
89
|
import {
|
|
90
90
|
__name
|
|
91
91
|
} from "./chunk-ZVVMGPBJ.js";
|
|
92
92
|
|
|
93
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
93
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
|
|
94
94
|
var EXCLUDED = [["mcp"]];
|
|
95
95
|
var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
|
|
96
96
|
const { app } = options;
|
|
@@ -205,7 +205,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
|
|
|
205
205
|
var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
|
|
206
206
|
const { app } = options;
|
|
207
207
|
const { build } = createAppServer(command, context, options);
|
|
208
|
-
const { serveOverHttp } = await import("./serve-
|
|
208
|
+
const { serveOverHttp } = await import("./serve-DZSO7LJK.js");
|
|
209
209
|
const listening = await serveOverHttp(build, {
|
|
210
210
|
...http,
|
|
211
211
|
appName: app.command,
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
jitCompatCheck,
|
|
19
19
|
refineSqliteCodecs,
|
|
20
20
|
sql
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-LMN7SYX4.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.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/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-7LMTWOTP.js";
|
|
7
7
|
import "./chunk-QCNK3YUZ.js";
|
|
8
8
|
import "./chunk-G6RG2AZV.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.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/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
|
__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.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/background/processes.js
|
|
8
8
|
import { execFileSync } from "node:child_process";
|
|
9
9
|
import { readdirSync, readFileSync, readlinkSync } from "node:fs";
|
|
10
10
|
var alive = /* @__PURE__ */ __name((pid) => {
|
|
@@ -7,7 +7,7 @@ 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.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/models/types.js
|
|
11
11
|
var MAX_MODEL_IMAGE_BYTES = 4 * 1024 * 1024;
|
|
12
12
|
var validateImages = /* @__PURE__ */ __name((images) => {
|
|
13
13
|
if (images === void 0)
|