@wirecat/mail-cli 0.36.0 → 0.37.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 +35 -0
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/agent-OU4K7TKQ.js +40 -0
- package/dist/bundle/{all-profiles-RS6OV3YO.js → all-profiles-ICGWDPUU.js} +11 -11
- package/dist/bundle/{anthropic-PPQ7DTXN.js → anthropic-TL4WFWGU.js} +5 -5
- package/dist/bundle/{app-server-EBFBMFQC.js → app-server-YAR5EFOO.js} +69 -67
- package/dist/bundle/{bun-J7HAT7MW.js → bun-OPDGMZZQ.js} +2 -2
- package/dist/bundle/{bun-sqlite-PCSNAXIQ.js → bun-sqlite-WI3ZPANS.js} +6 -6
- package/dist/bundle/{chunk-U3BO342P.js → chunk-2JHVQMVC.js} +1 -1
- package/dist/bundle/{chunk-JCILSTFK.js → chunk-2XBDILVW.js} +1 -1
- package/dist/bundle/{chunk-WZFGZBGD.js → chunk-2YO3PLOE.js} +19 -19
- package/dist/bundle/{chunk-KVFBSOCV.js → chunk-3DHJF57U.js} +9 -9
- package/dist/bundle/{chunk-NJZR3OFK.js → chunk-3HC5F3P7.js} +1 -1
- package/dist/bundle/{chunk-4WSTWZUB.js → chunk-3SKTQ2HC.js} +2 -2
- package/dist/bundle/{chunk-3NOXZZJV.js → chunk-3YM4B2GT.js} +1 -1
- package/dist/bundle/{chunk-L4QLZDBZ.js → chunk-3ZOOTTFW.js} +6 -6
- package/dist/bundle/{chunk-2UNZ3L2H.js → chunk-4FTIHADB.js} +6 -6
- package/dist/bundle/{chunk-KTVQIKU5.js → chunk-4IZ6R5FS.js} +19 -15
- package/dist/bundle/{chunk-6NDPOY4N.js → chunk-4N7PP76S.js} +1 -1
- package/dist/bundle/{chunk-KP7JHJVP.js → chunk-7HRKUKKY.js} +23 -23
- package/dist/bundle/{chunk-42XY6D5C.js → chunk-7PDGZFXD.js} +5 -5
- package/dist/bundle/{chunk-REWV37HQ.js → chunk-7YKWFERX.js} +6 -6
- package/dist/bundle/{chunk-PF7ZNIVP.js → chunk-BNURKCQG.js} +2 -3
- package/dist/bundle/{chunk-ZRSLG3B3.js → chunk-BNVISIHP.js} +6 -6
- package/dist/bundle/{chunk-KLPFPNZP.js → chunk-BQMJYSA4.js} +11 -11
- package/dist/bundle/{chunk-NYYMMIVW.js → chunk-BYITYTRL.js} +16 -3
- package/dist/bundle/{chunk-ZV57PIPE.js → chunk-CICUPYHT.js} +2 -2
- package/dist/bundle/{chunk-CJHO6B3M.js → chunk-CQHLWMKK.js} +33 -28
- package/dist/bundle/{chunk-MRWV5VNQ.js → chunk-CUW7Y2HJ.js} +6 -6
- package/dist/bundle/{chunk-BBQERXQX.js → chunk-DJZIFZOT.js} +3 -3
- package/dist/bundle/{chunk-HPSESLOZ.js → chunk-DNCLQPOM.js} +1 -1
- package/dist/bundle/{chunk-EGR3YUWD.js → chunk-DPV53EZC.js} +4 -4
- package/dist/bundle/{chunk-GI6DNX7Q.js → chunk-DTR7JO2M.js} +35 -35
- package/dist/bundle/{chunk-5JEKBYIH.js → chunk-ES2FF42M.js} +14 -14
- package/dist/bundle/{chunk-GCTHVCJU.js → chunk-EV72K4IU.js} +4 -4
- package/dist/bundle/{chunk-3BYKGMRM.js → chunk-EZQ5BYNL.js} +6 -6
- package/dist/bundle/{chunk-QI2XGTFH.js → chunk-F2D3J5DR.js} +8 -8
- package/dist/bundle/{chunk-NYR7PIAG.js → chunk-FTT7UDYV.js} +3 -3
- package/dist/bundle/{chunk-GEU3WR75.js → chunk-FXNCKPQ7.js} +3 -3
- package/dist/bundle/{chunk-5TIWO6AR.js → chunk-G4VJN75G.js} +37 -18
- package/dist/bundle/{chunk-CMOO4INK.js → chunk-GGMAIIVE.js} +1 -1
- package/dist/bundle/{chunk-SJNFPBPF.js → chunk-GPUC3FTU.js} +2 -2
- package/dist/bundle/{chunk-XRVZMM5B.js → chunk-GQIMVR7C.js} +164 -36
- package/dist/bundle/{chunk-437UHSIO.js → chunk-HCRUGAIN.js} +190 -62
- package/dist/bundle/{chunk-OEL4DQTT.js → chunk-HES6YMYN.js} +4 -4
- package/dist/bundle/{chunk-LQQIYBHN.js → chunk-HFY7536N.js} +196 -110
- package/dist/bundle/{chunk-2VEFNFYZ.js → chunk-IA7LLLEI.js} +3 -3
- package/dist/bundle/{chunk-RJUVWJTA.js → chunk-IUJDWEGJ.js} +7 -7
- package/dist/bundle/{chunk-PMSZBUC7.js → chunk-IWFWWO37.js} +8 -8
- package/dist/bundle/{chunk-DVJPEZGV.js → chunk-JG6LCSEX.js} +13 -13
- package/dist/bundle/{chunk-3ZKNXKM7.js → chunk-JLXXUEAM.js} +2 -2
- package/dist/bundle/{chunk-645FQC4G.js → chunk-JNP3XGJI.js} +16 -16
- package/dist/bundle/{chunk-2RV4V55B.js → chunk-JZUYZ2XJ.js} +38 -24
- package/dist/bundle/chunk-K4DEQAEW.js +1291 -0
- package/dist/bundle/{chunk-PPIMXOBT.js → chunk-KCM3WSER.js} +6 -6
- package/dist/bundle/{chunk-C3JSQ7UJ.js → chunk-KP5JDYY6.js} +27 -8
- package/dist/bundle/{chunk-SCJVKWMV.js → chunk-KUX54EGR.js} +1981 -802
- package/dist/bundle/chunk-KXJ3JEDH.js +2 -0
- package/dist/bundle/{chunk-V5I7QP4T.js → chunk-KZD3H5QA.js} +2 -2
- package/dist/bundle/{chunk-RMWS7IQ4.js → chunk-LKH3UKLO.js} +4 -4
- package/dist/bundle/{chunk-ROK7Z5LQ.js → chunk-NAOLBEFX.js} +220 -163
- package/dist/bundle/{chunk-5G4MDFZ2.js → chunk-NB52JKLR.js} +13 -9
- package/dist/bundle/{chunk-NTUP5RCP.js → chunk-NB7EOAUZ.js} +8 -1
- package/dist/bundle/{chunk-5VPLQS4S.js → chunk-NISH4UXM.js} +2 -2
- package/dist/bundle/{chunk-6UYIWQLU.js → chunk-NQSKI7XK.js} +4 -4
- package/dist/bundle/{chunk-NSH2UHJR.js → chunk-OWPRJLHV.js} +8 -8
- package/dist/bundle/{chunk-U67XMAEE.js → chunk-OZKZT3ZI.js} +10 -3
- package/dist/bundle/{chunk-774VG5WZ.js → chunk-Q7ICVP25.js} +1 -1
- package/dist/bundle/{chunk-HH34WRQE.js → chunk-QLJGYDWG.js} +7 -7
- package/dist/bundle/{chunk-6VMJLOYO.js → chunk-R44KVISE.js} +12 -12
- package/dist/bundle/{chunk-AVR4FPYG.js → chunk-R73VWPNL.js} +8 -8
- package/dist/bundle/{chunk-6LJIENVT.js → chunk-RRTMPSQR.js} +2 -2
- package/dist/bundle/{chunk-PMGAU6AP.js → chunk-S6JG4YUH.js} +2 -2
- package/dist/bundle/{chunk-WNQECDIP.js → chunk-TMJLGR4A.js} +61 -61
- package/dist/bundle/{chunk-VIJV474N.js → chunk-TXDR6YSF.js} +1 -1
- package/dist/bundle/{chunk-QDNYJOWJ.js → chunk-TY7NDMFY.js} +1 -1
- package/dist/bundle/{chunk-CJMZQ2MZ.js → chunk-UDSL3MUU.js} +8 -8
- package/dist/bundle/{chunk-VIDPFLFM.js → chunk-UTS5NMR3.js} +2 -2
- package/dist/bundle/{chunk-TV634B6T.js → chunk-VB7FZOYX.js} +1 -1
- package/dist/bundle/{chunk-WPPPO427.js → chunk-VK24UQSD.js} +4 -4
- package/dist/bundle/{chunk-NCY55XIT.js → chunk-VYCB5EVI.js} +8 -8
- package/dist/bundle/{chunk-IBOWSQ7X.js → chunk-VZ5PPYDG.js} +1 -1
- package/dist/bundle/chunk-WOPVBRPV.js +29 -0
- package/dist/bundle/{chunk-6PKMUKUF.js → chunk-XEQQJBBO.js} +1 -1
- package/dist/bundle/{chunk-MQ6DQRRI.js → chunk-XWBTD2WP.js} +4 -4
- package/dist/bundle/chunk-XXPJF2VD.js +2 -0
- package/dist/bundle/{chunk-6FZPFNEU.js → chunk-YODGIMMM.js} +9 -9
- package/dist/bundle/{chunk-YPB5BEAD.js → chunk-YWDFYQOU.js} +2 -2
- package/dist/bundle/{chunk-MT3LYU4T.js → chunk-Z4BLNAWI.js} +15062 -11852
- package/dist/bundle/{chunk-Q6TPXXOS.js → chunk-ZSAPOC7B.js} +27 -176
- package/dist/bundle/{chunk-GBZIWCEP.js → chunk-ZTWTEXB2.js} +3 -3
- package/dist/bundle/command-contract-UC6IGCCM.js +39 -0
- package/dist/bundle/{command-server-entry-73RJELAV.js → command-server-entry-RA3ZX2KV.js} +28 -28
- package/dist/bundle/{decode-7BUWBDPT.js → decode-QVKRSRVF.js} +5 -5
- package/dist/bundle/{dispatch-IBOMVWZA.js → dispatch-USKS7J74.js} +8 -8
- package/dist/bundle/{dist-MULVCVSR.js → dist-ITIXJAXK.js} +20 -20
- package/dist/bundle/{echarts-VLWFC322.js → echarts-O3TNDAXJ.js} +2 -2
- package/dist/bundle/{embed-W3VH4HPY.js → embed-2HOODFQT.js} +6 -6
- package/dist/bundle/{embedder-I7ERQZJV.js → embedder-22AJGCZX.js} +9 -9
- package/dist/bundle/{failure-QMAPSQ7X.js → failure-D4FGOIWF.js} +2 -2
- package/dist/bundle/{first-run-LCVER6QN.js → first-run-FU4MFXOA.js} +12 -12
- package/dist/bundle/first-screen-A7SEI2ON.js +40 -0
- package/dist/bundle/{instructions-BNCVLSYQ.js → instructions-AMH5RWVJ.js} +1 -1
- package/dist/bundle/mail.js +12 -12
- package/dist/bundle/{mcp-Z2KZNCXB.js → mcp-5HFPWC3W.js} +2 -2
- package/dist/bundle/meeting-combined-KC6YGWA7.js +24 -0
- package/dist/bundle/{meeting-model-BWLSTNXA.js → meeting-model-QWGAOQHL.js} +11 -11
- package/dist/bundle/{meeting-semantic-ZIEHXN2R.js → meeting-semantic-7PVO6RNB.js} +6 -6
- package/dist/bundle/{node-RYFTRSG4.js → node-EGMCBAO7.js} +2 -2
- package/dist/bundle/{node-sqlite-XCHVNTGQ.js → node-sqlite-JXUELLMP.js} +7 -7
- package/dist/bundle/{oauth-FNUJSKKJ.js → oauth-OYAYWH4K.js} +7 -7
- package/dist/bundle/{open-WVWSJ3WI.js → open-GLEUJGNA.js} +5 -5
- package/dist/bundle/{openai-QOUTYYTF.js → openai-PYTVNB6L.js} +15 -15
- package/dist/bundle/{process-W5KPID53.js → process-SGHEN6MQ.js} +1 -1
- package/dist/bundle/{program-L5UANM3I.js → program-7CFNZ2DF.js} +2001 -2222
- package/dist/bundle/{prompt-JSBAPNJE.js → prompt-CYTILD7N.js} +5 -5
- package/dist/bundle/public-XWMXEGEF.js +196 -0
- package/dist/bundle/{recognize-FDX4SJ6Q.js → recognize-26UNETSQ.js} +4 -4
- package/dist/bundle/{remote-MYOXOQHM.js → remote-PKXBQA5N.js} +9 -9
- package/dist/bundle/{rerank-NY5MSZCR.js → rerank-LLKP7M6Q.js} +7 -7
- package/dist/bundle/{serve-URI6NZA3.js → serve-ZRJEAPJI.js} +9 -9
- package/dist/bundle/{server-HQ25RHQM.js → server-4OQ4G5JY.js} +61 -59
- package/dist/bundle/server-VVRQ4A34.js +86 -0
- package/dist/bundle/{sqlite-runtime-6UUPSSKG.js → sqlite-runtime-667VV4VY.js} +6 -6
- package/dist/bundle/{state-NDDVFPCI.js → state-V3CAAJBE.js} +6 -6
- package/dist/bundle/{store-2RDOICVN.js → store-BJCIMIAH.js} +31 -24
- package/dist/bundle/{store-PKYWPKKR.js → store-GLBBY4OZ.js} +22 -22
- package/dist/bundle/store-maintenance-command-N7L5OVUE.js +73 -0
- package/dist/bundle/surface-26EUQNDT.js +72 -0
- package/dist/commands/import.js +2 -2
- package/dist/commands/import.js.map +1 -1
- package/dist/commands/messages.js +3 -3
- package/dist/commands/messages.js.map +1 -1
- package/dist/commands/read.js +2 -2
- package/dist/commands/read.js.map +1 -1
- package/dist/commands/send.d.ts.map +1 -1
- package/dist/commands/send.js +1 -0
- package/dist/commands/send.js.map +1 -1
- package/dist/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +2 -2
- package/dist/commands/session.js.map +1 -1
- package/dist/commands/sync.js +1 -1
- package/dist/commands/sync.js.map +1 -1
- package/dist/commands/tags.d.ts.map +1 -1
- package/dist/commands/tags.js.map +1 -1
- package/dist/commands/words.js +1 -1
- package/dist/commands/words.js.map +1 -1
- package/dist/config.d.ts +2 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +7 -0
- package/dist/config.js.map +1 -1
- package/dist/mail/imap/account.d.ts.map +1 -1
- package/dist/mail/imap/account.js +2 -1
- package/dist/mail/imap/account.js.map +1 -1
- package/dist/mail/send.d.ts +2 -0
- package/dist/mail/send.d.ts.map +1 -1
- package/dist/mail/send.js +1 -1
- package/dist/mail/send.js.map +1 -1
- package/dist/profile.js +1 -1
- package/dist/profile.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +4 -4
- package/dist/program.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +0 -1
- package/dist/reasons.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/agent-MW7YWUIY.js +0 -39
- package/dist/bundle/chunk-6TT62IUW.js +0 -1264
- package/dist/bundle/command-contract-WFTIRPL5.js +0 -39
- package/dist/bundle/first-screen-DCTHI4NQ.js +0 -39
- package/dist/bundle/meeting-combined-ITU7SZ7E.js +0 -24
- package/dist/bundle/server-UVYFU2JN.js +0 -84
- package/dist/bundle/store-maintenance-command-Y5XTO47X.js +0 -71
- package/dist/bundle/surface-3XKM3MQ2.js +0 -70
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,41 @@
|
|
|
2
2
|
|
|
3
3
|
Notable changes to `@wirecat/mail-cli`. One section per version, newest first.
|
|
4
4
|
|
|
5
|
+
## 0.37.0 — 25.11.2026
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- **`aliases`: the owner's other addresses on a mailbox.** `mail personal config set aliases
|
|
10
|
+
me@work.example.com,me.alias@example.com` names the addresses you also send from. Mail from one is yours, so the
|
|
11
|
+
people you wrote to from it get a mail tie, and mail to one is addressed to you, so `review --unanswered` and
|
|
12
|
+
`tasks agenda` count it as owed. Only you set it, at a terminal: an agent cannot
|
|
13
|
+
([configuration](docs/configuration.md); cli-core 0.753.0).
|
|
14
|
+
|
|
15
|
+
### Changed — may break callers
|
|
16
|
+
|
|
17
|
+
- **mail builds on cli-core 1.0.0 and cli-base 1.0.0.** The store moves to version 73 on its first open: an id is never
|
|
18
|
+
handed out twice, and only tools on cli-core 1.0 open the store after that. Upgrade every installed WireCat CLI
|
|
19
|
+
before you run this version. The migration writes a rollback copy first and refuses to run without one.
|
|
20
|
+
- **An MCP call that names a refused place answers `permission_error`**, not `validation_error`. Before any MCP call
|
|
21
|
+
runs, each option and argument that takes a local file or folder is checked by its real path: a call cannot name a
|
|
22
|
+
credential folder, a folder of a WireCat tool or the message store. A shell run is unchanged.
|
|
23
|
+
- **`schedule exec` is no longer offered over MCP.** It runs only a schedule file in the tool's own schedules folder.
|
|
24
|
+
An agent runs a saved schedule with `schedule run <name>`.
|
|
25
|
+
- **An unreadable config file now answers `config.unreadable`**, not `mail.config-unreadable`: the one name the
|
|
26
|
+
WireCat family uses for it.
|
|
27
|
+
|
|
28
|
+
### Fixed
|
|
29
|
+
|
|
30
|
+
- **Mail in Sent is yours whatever its From.** `sync` now tells cli-core which folder the server marks `\Sent`, so mail
|
|
31
|
+
you sent from another address and filed in Sent counts as outgoing, and its sender joins your addresses.
|
|
32
|
+
- **A sync no longer marks mail deleted that the server's search found and its listing left out.** When a folder's
|
|
33
|
+
listing returns fewer messages than its search, the run skips the deletion check and says why in
|
|
34
|
+
`deletionsSkipped`.
|
|
35
|
+
- **A mailbox folder named over MCP stays the server's name.** `--folder` of `sync`, `session start`,
|
|
36
|
+
`account inspect`, `messages move`, `messages copy` and `messages export`, and the folder of `folders create`,
|
|
37
|
+
`folders rename` and `folders delete`, name a folder on the mail server, not on this computer, so `serve` passes
|
|
38
|
+
them on as given.
|
|
39
|
+
|
|
5
40
|
## 0.36.0 — 19.11.2026
|
|
6
41
|
|
|
7
42
|
### Added
|
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.37.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/agent-
|
|
31
|
+
const chunks = ["../bundle/agent-OU4K7TKQ.js","../bundle/all-profiles-ICGWDPUU.js","../bundle/anthropic-TL4WFWGU.js","../bundle/app-server-YAR5EFOO.js","../bundle/bun-OPDGMZZQ.js","../bundle/bun-sqlite-WI3ZPANS.js","../bundle/decode-QVKRSRVF.js","../bundle/dispatch-USKS7J74.js","../bundle/dist-HFUVURJG.js","../bundle/dist-ITIXJAXK.js","../bundle/dist-PAKDDIBT.js","../bundle/echarts-O3TNDAXJ.js","../bundle/embed-2HOODFQT.js","../bundle/embedder-22AJGCZX.js","../bundle/failure-D4FGOIWF.js","../bundle/first-screen-A7SEI2ON.js","../bundle/instructions-AMH5RWVJ.js","../bundle/mcp-5HFPWC3W.js","../bundle/node-EGMCBAO7.js","../bundle/node-KM3CUABH.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-JXUELLMP.js","../bundle/oauth-OYAYWH4K.js","../bundle/open-GLEUJGNA.js","../bundle/openai-PYTVNB6L.js","../bundle/process-SGHEN6MQ.js","../bundle/program-7CFNZ2DF.js","../bundle/prompt-CYTILD7N.js","../bundle/public-XWMXEGEF.js","../bundle/recognize-26UNETSQ.js","../bundle/remote-PKXBQA5N.js","../bundle/rerank-LLKP7M6Q.js","../bundle/serve-ZRJEAPJI.js","../bundle/server-4OQ4G5JY.js","../bundle/server-VVRQ4A34.js","../bundle/sqlite-runtime-667VV4VY.js","../bundle/state-V3CAAJBE.js","../bundle/store-BJCIMIAH.js","../bundle/store-GLBBY4OZ.js","../bundle/store-maintenance-command-N7L5OVUE.js","../bundle/surface-26EUQNDT.js"]
|
|
32
32
|
if (((words) => words
|
|
33
33
|
.filter((word) => !word.startsWith("-"))
|
|
34
34
|
.slice(0, 2)
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
runCommandForAgent,
|
|
5
|
+
toolsFromCommands
|
|
6
|
+
} from "./chunk-GQIMVR7C.js";
|
|
7
|
+
import "./chunk-NQSKI7XK.js";
|
|
8
|
+
import "./chunk-EZQ5BYNL.js";
|
|
9
|
+
import "./chunk-KZD3H5QA.js";
|
|
10
|
+
import "./chunk-4IZ6R5FS.js";
|
|
11
|
+
import "./chunk-WOPVBRPV.js";
|
|
12
|
+
import "./chunk-PL5P7UKW.js";
|
|
13
|
+
import "./chunk-NAOLBEFX.js";
|
|
14
|
+
import "./chunk-IUJDWEGJ.js";
|
|
15
|
+
import "./chunk-IWFWWO37.js";
|
|
16
|
+
import "./chunk-DJZIFZOT.js";
|
|
17
|
+
import "./chunk-CUW7Y2HJ.js";
|
|
18
|
+
import "./chunk-3YM4B2GT.js";
|
|
19
|
+
import "./chunk-FXNCKPQ7.js";
|
|
20
|
+
import "./chunk-FTT7UDYV.js";
|
|
21
|
+
import "./chunk-K4DEQAEW.js";
|
|
22
|
+
import "./chunk-G4VJN75G.js";
|
|
23
|
+
import "./chunk-JLXXUEAM.js";
|
|
24
|
+
import "./chunk-XEQQJBBO.js";
|
|
25
|
+
import "./chunk-RRTMPSQR.js";
|
|
26
|
+
import "./chunk-TMJLGR4A.js";
|
|
27
|
+
import "./chunk-7YKWFERX.js";
|
|
28
|
+
import "./chunk-QLJGYDWG.js";
|
|
29
|
+
import "./chunk-EV72K4IU.js";
|
|
30
|
+
import "./chunk-DNCLQPOM.js";
|
|
31
|
+
import "./chunk-UTS5NMR3.js";
|
|
32
|
+
import "./chunk-2YO3PLOE.js";
|
|
33
|
+
import "./chunk-KP5JDYY6.js";
|
|
34
|
+
import "./chunk-Y5E2WNWB.js";
|
|
35
|
+
import "./chunk-S6JG4YUH.js";
|
|
36
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
37
|
+
export {
|
|
38
|
+
runCommandForAgent,
|
|
39
|
+
toolsFromCommands
|
|
40
|
+
};
|
|
@@ -4,34 +4,34 @@ import {
|
|
|
4
4
|
StdioServerTransport,
|
|
5
5
|
answeredWire,
|
|
6
6
|
serveStdio
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VB7FZOYX.js";
|
|
8
8
|
import {
|
|
9
9
|
CALLER_META_KEY,
|
|
10
10
|
PROXY_CLIENT_NAME,
|
|
11
11
|
callerOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-KZD3H5QA.js";
|
|
13
13
|
import {
|
|
14
14
|
InMemoryTransport,
|
|
15
15
|
McpServer
|
|
16
16
|
} from "./chunk-PL5P7UKW.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-IWFWWO37.js";
|
|
18
|
+
import "./chunk-JLXXUEAM.js";
|
|
19
|
+
import "./chunk-XEQQJBBO.js";
|
|
20
|
+
import "./chunk-DNCLQPOM.js";
|
|
21
|
+
import "./chunk-2YO3PLOE.js";
|
|
22
22
|
import {
|
|
23
23
|
errorObjectOf,
|
|
24
24
|
mcpErrorResult
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-KP5JDYY6.js";
|
|
26
26
|
import "./chunk-Y5E2WNWB.js";
|
|
27
27
|
import {
|
|
28
28
|
CliError
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-S6JG4YUH.js";
|
|
30
30
|
import {
|
|
31
31
|
__name
|
|
32
32
|
} from "./chunk-ZVVMGPBJ.js";
|
|
33
33
|
|
|
34
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
|
|
35
35
|
import { spawn } from "node:child_process";
|
|
36
36
|
import { randomUUID } from "node:crypto";
|
|
37
37
|
var PROTOCOL = "2025-06-18";
|
|
@@ -290,7 +290,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
|
|
|
290
290
|
}, "serveAllProfilesOverStdio");
|
|
291
291
|
var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
|
|
292
292
|
const { build, close } = allProfilesServer(options);
|
|
293
|
-
const { serveOverHttp } = await import("./serve-
|
|
293
|
+
const { serveOverHttp } = await import("./serve-ZRJEAPJI.js");
|
|
294
294
|
const listening = await serveOverHttp(build, {
|
|
295
295
|
...http,
|
|
296
296
|
appName: options.command,
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
checkedOptions,
|
|
6
6
|
messagesFor,
|
|
7
7
|
systemFor
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-XWBTD2WP.js";
|
|
9
9
|
import {
|
|
10
10
|
Anthropic
|
|
11
11
|
} from "./chunk-XQUUANA2.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-2YO3PLOE.js";
|
|
13
13
|
import {
|
|
14
14
|
array,
|
|
15
15
|
literal,
|
|
@@ -19,14 +19,14 @@ import {
|
|
|
19
19
|
strictObject,
|
|
20
20
|
string,
|
|
21
21
|
unknown
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-KP5JDYY6.js";
|
|
23
23
|
import "./chunk-Y5E2WNWB.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-S6JG4YUH.js";
|
|
25
25
|
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@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/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,59 +3,60 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
PER_RUN,
|
|
5
5
|
envelope
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-DTR7JO2M.js";
|
|
7
7
|
import {
|
|
8
8
|
mcpUrlOf
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-CQHLWMKK.js";
|
|
10
10
|
import {
|
|
11
11
|
skillResources
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-KCM3WSER.js";
|
|
13
13
|
import {
|
|
14
14
|
StdioServerTransport,
|
|
15
15
|
answeredWire,
|
|
16
16
|
serveStdio
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-VB7FZOYX.js";
|
|
18
|
+
import "./chunk-Q7ICVP25.js";
|
|
19
|
+
import "./chunk-ZSAPOC7B.js";
|
|
20
|
+
import "./chunk-OWPRJLHV.js";
|
|
21
21
|
import {
|
|
22
22
|
runCommandForAgent,
|
|
23
23
|
toolsFromCommands
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
24
|
+
} from "./chunk-GQIMVR7C.js";
|
|
25
|
+
import "./chunk-NQSKI7XK.js";
|
|
26
|
+
import "./chunk-EZQ5BYNL.js";
|
|
27
27
|
import {
|
|
28
28
|
appInstructions
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-2XBDILVW.js";
|
|
30
30
|
import {
|
|
31
31
|
answered,
|
|
32
32
|
failed,
|
|
33
33
|
registerCommands
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-JNP3XGJI.js";
|
|
35
35
|
import {
|
|
36
36
|
agentJson
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import "./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-
|
|
37
|
+
} from "./chunk-R73VWPNL.js";
|
|
38
|
+
import "./chunk-HCRUGAIN.js";
|
|
39
|
+
import "./chunk-KUX54EGR.js";
|
|
40
|
+
import "./chunk-JG6LCSEX.js";
|
|
41
|
+
import "./chunk-3DHJF57U.js";
|
|
42
|
+
import "./chunk-NB7EOAUZ.js";
|
|
43
|
+
import "./chunk-VK24UQSD.js";
|
|
44
|
+
import "./chunk-TY7NDMFY.js";
|
|
45
|
+
import "./chunk-KZD3H5QA.js";
|
|
46
|
+
import "./chunk-4IZ6R5FS.js";
|
|
47
|
+
import "./chunk-WOPVBRPV.js";
|
|
47
48
|
import {
|
|
48
49
|
McpServer
|
|
49
50
|
} from "./chunk-PL5P7UKW.js";
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-XWBTD2WP.js";
|
|
52
|
+
import "./chunk-4FTIHADB.js";
|
|
53
|
+
import "./chunk-BQMJYSA4.js";
|
|
54
|
+
import "./chunk-ZTWTEXB2.js";
|
|
54
55
|
import {
|
|
55
56
|
mcpHttpMarker
|
|
56
|
-
} from "./chunk-
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
57
|
+
} from "./chunk-HES6YMYN.js";
|
|
58
|
+
import "./chunk-BYITYTRL.js";
|
|
59
|
+
import "./chunk-7PDGZFXD.js";
|
|
59
60
|
import {
|
|
60
61
|
DEFAULT_OUTPUT_BYTES,
|
|
61
62
|
changesAuthorityAt,
|
|
@@ -66,53 +67,54 @@ import {
|
|
|
66
67
|
readOnlyLockOf,
|
|
67
68
|
readsOverMcpAt,
|
|
68
69
|
rootOf2 as rootOf
|
|
69
|
-
} from "./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-
|
|
79
|
-
import "./chunk-
|
|
80
|
-
import "./chunk-
|
|
81
|
-
import "./chunk-
|
|
82
|
-
import "./chunk-
|
|
83
|
-
import "./chunk-
|
|
84
|
-
import "./chunk-
|
|
85
|
-
import "./chunk-
|
|
86
|
-
import "./chunk-
|
|
87
|
-
import "./chunk-
|
|
88
|
-
import "./chunk-
|
|
89
|
-
import "./chunk-
|
|
90
|
-
import "./chunk-
|
|
91
|
-
import "./chunk-
|
|
92
|
-
import "./chunk-
|
|
93
|
-
import "./chunk-
|
|
94
|
-
import "./chunk-
|
|
95
|
-
import "./chunk-
|
|
96
|
-
import "./chunk-
|
|
97
|
-
import "./chunk-
|
|
70
|
+
} from "./chunk-NAOLBEFX.js";
|
|
71
|
+
import "./chunk-IUJDWEGJ.js";
|
|
72
|
+
import "./chunk-IWFWWO37.js";
|
|
73
|
+
import "./chunk-DJZIFZOT.js";
|
|
74
|
+
import "./chunk-CUW7Y2HJ.js";
|
|
75
|
+
import "./chunk-3YM4B2GT.js";
|
|
76
|
+
import "./chunk-YWDFYQOU.js";
|
|
77
|
+
import "./chunk-KXJ3JEDH.js";
|
|
78
|
+
import "./chunk-7HRKUKKY.js";
|
|
79
|
+
import "./chunk-FXNCKPQ7.js";
|
|
80
|
+
import "./chunk-Z4BLNAWI.js";
|
|
81
|
+
import "./chunk-JZUYZ2XJ.js";
|
|
82
|
+
import "./chunk-UDSL3MUU.js";
|
|
83
|
+
import "./chunk-FTT7UDYV.js";
|
|
84
|
+
import "./chunk-VYCB5EVI.js";
|
|
85
|
+
import "./chunk-OZKZT3ZI.js";
|
|
86
|
+
import "./chunk-2JHVQMVC.js";
|
|
87
|
+
import "./chunk-K4DEQAEW.js";
|
|
88
|
+
import "./chunk-G4VJN75G.js";
|
|
89
|
+
import "./chunk-JLXXUEAM.js";
|
|
90
|
+
import "./chunk-XEQQJBBO.js";
|
|
91
|
+
import "./chunk-RRTMPSQR.js";
|
|
92
|
+
import "./chunk-TMJLGR4A.js";
|
|
93
|
+
import "./chunk-YODGIMMM.js";
|
|
94
|
+
import "./chunk-7YKWFERX.js";
|
|
95
|
+
import "./chunk-QLJGYDWG.js";
|
|
96
|
+
import "./chunk-3ZOOTTFW.js";
|
|
97
|
+
import "./chunk-EV72K4IU.js";
|
|
98
|
+
import "./chunk-TXDR6YSF.js";
|
|
99
|
+
import "./chunk-DNCLQPOM.js";
|
|
98
100
|
import "./chunk-D72URWJE.js";
|
|
99
|
-
import "./chunk-
|
|
100
|
-
import "./chunk-
|
|
101
|
-
import "./chunk-
|
|
102
|
-
import "./chunk-
|
|
101
|
+
import "./chunk-UTS5NMR3.js";
|
|
102
|
+
import "./chunk-BNVISIHP.js";
|
|
103
|
+
import "./chunk-GGMAIIVE.js";
|
|
104
|
+
import "./chunk-2YO3PLOE.js";
|
|
103
105
|
import {
|
|
104
106
|
mcpErrorResult
|
|
105
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-KP5JDYY6.js";
|
|
106
108
|
import "./chunk-Y5E2WNWB.js";
|
|
107
109
|
import {
|
|
108
110
|
CliError
|
|
109
|
-
} from "./chunk-
|
|
110
|
-
import "./chunk-
|
|
111
|
+
} from "./chunk-S6JG4YUH.js";
|
|
112
|
+
import "./chunk-4N7PP76S.js";
|
|
111
113
|
import {
|
|
112
114
|
__name
|
|
113
115
|
} from "./chunk-ZVVMGPBJ.js";
|
|
114
116
|
|
|
115
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
117
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
|
|
116
118
|
var EXCLUDED = [["mcp"]];
|
|
117
119
|
var aliasesOf = /* @__PURE__ */ __name((root, path) => {
|
|
118
120
|
let at = root;
|
|
@@ -228,7 +230,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
|
|
|
228
230
|
var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
|
|
229
231
|
const { app } = options;
|
|
230
232
|
const { build } = createAppServer(command, context, options);
|
|
231
|
-
const { serveOverHttp } = await import("./serve-
|
|
233
|
+
const { serveOverHttp } = await import("./serve-ZRJEAPJI.js");
|
|
232
234
|
const listening = await serveOverHttp(build, {
|
|
233
235
|
...http,
|
|
234
236
|
appName: app.command,
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
jitCompatCheck,
|
|
19
19
|
refineSqliteCodecs,
|
|
20
20
|
sql
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-4N7PP76S.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@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/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,21 +3,21 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
loadVectorExtension,
|
|
5
5
|
vectorExtension
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-NISH4UXM.js";
|
|
7
7
|
import {
|
|
8
8
|
refuseOwnerStoreInTests
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-UTS5NMR3.js";
|
|
10
|
+
import "./chunk-2YO3PLOE.js";
|
|
11
|
+
import "./chunk-KP5JDYY6.js";
|
|
12
12
|
import {
|
|
13
13
|
importFrom
|
|
14
14
|
} from "./chunk-Y5E2WNWB.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-S6JG4YUH.js";
|
|
16
16
|
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@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/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 {
|
|
@@ -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@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/store/normalize.js
|
|
8
8
|
var NORMALIZER_VERSION = 1;
|
|
9
9
|
var fold = /* @__PURE__ */ __name((text) => text.normalize("NFKD").replace(new RegExp("\\p{M}+", "gu"), "").normalize("NFC").toLowerCase(), "fold");
|
|
10
10
|
var normalize = /* @__PURE__ */ __name((text) => fold(text).replace(new RegExp("\\p{Cc}", "gu"), " ").replace(/\s+/gu, " ").trim(), "normalize");
|
|
@@ -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@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
|
|
8
8
|
var instructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => {
|
|
9
9
|
const all = typeof profile !== "string";
|
|
10
10
|
const offers = /* @__PURE__ */ __name((key) => all || writes.includes(key), "offers");
|
|
@@ -19,11 +19,11 @@ import {
|
|
|
19
19
|
string,
|
|
20
20
|
text,
|
|
21
21
|
unknown
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-KP5JDYY6.js";
|
|
23
23
|
import {
|
|
24
24
|
CliError,
|
|
25
25
|
visibleControls
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-S6JG4YUH.js";
|
|
27
27
|
import {
|
|
28
28
|
__commonJS,
|
|
29
29
|
__name,
|
|
@@ -1896,7 +1896,7 @@ var require_cli_table3 = __commonJS({
|
|
|
1896
1896
|
}
|
|
1897
1897
|
});
|
|
1898
1898
|
|
|
1899
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1899
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/paths.js
|
|
1900
1900
|
import { realpathSync } from "node:fs";
|
|
1901
1901
|
import { homedir, userInfo } from "node:os";
|
|
1902
1902
|
import { join, posix, win32 } from "node:path";
|
|
@@ -1970,7 +1970,7 @@ var homeIsMoved = /* @__PURE__ */ __name(({ env = process.env, platform = proces
|
|
|
1970
1970
|
var isMovedRun = /* @__PURE__ */ __name((options) => pathsAreOverridden(options) || homeIsMoved(options), "isMovedRun");
|
|
1971
1971
|
var configFilePath = /* @__PURE__ */ __name((configDir, fileName = "config.json") => join(configDir, fileName), "configFilePath");
|
|
1972
1972
|
|
|
1973
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1973
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/drain.js
|
|
1974
1974
|
var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
|
|
1975
1975
|
if (signal?.aborted)
|
|
1976
1976
|
return Promise.reject(signal.reason);
|
|
@@ -1998,7 +1998,7 @@ var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
|
|
|
1998
1998
|
});
|
|
1999
1999
|
}, "waitForDrain");
|
|
2000
2000
|
|
|
2001
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2001
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/streams.js
|
|
2002
2002
|
var processStreams = {
|
|
2003
2003
|
drain: /* @__PURE__ */ __name(async (signal) => {
|
|
2004
2004
|
await Promise.all([waitForDrain(process.stdout, signal), waitForDrain(process.stderr, signal)]);
|
|
@@ -2027,7 +2027,7 @@ var captureStreams = /* @__PURE__ */ __name(() => {
|
|
|
2027
2027
|
};
|
|
2028
2028
|
}, "captureStreams");
|
|
2029
2029
|
|
|
2030
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2030
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/retry.js
|
|
2031
2031
|
var DEFAULT_RETRY = {
|
|
2032
2032
|
retries: 1,
|
|
2033
2033
|
baseDelayMs: 250,
|
|
@@ -2039,7 +2039,7 @@ var backoffMs = /* @__PURE__ */ __name((attempt, config, random) => {
|
|
|
2039
2039
|
return Math.round(random() * ceiling);
|
|
2040
2040
|
}, "backoffMs");
|
|
2041
2041
|
|
|
2042
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2042
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/result-fields.js
|
|
2043
2043
|
var forbidden = /* @__PURE__ */ new Set(["__proto__", "prototype", "constructor"]);
|
|
2044
2044
|
var validate = /* @__PURE__ */ __name((paths) => {
|
|
2045
2045
|
if (paths.length === 0 || paths.length > 128 || paths.some((path) => path.length > 256 || !/^[A-Za-z][A-Za-z0-9_]*(?:\.[A-Za-z][A-Za-z0-9_]*)*$/.test(path) || path.split(".").some((part) => forbidden.has(part))))
|
|
@@ -2104,7 +2104,7 @@ var projectFields = /* @__PURE__ */ __name((value, fields) => {
|
|
|
2104
2104
|
return project(value, fields);
|
|
2105
2105
|
}, "projectFields");
|
|
2106
2106
|
|
|
2107
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2107
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/batch.js
|
|
2108
2108
|
var BATCH_LIMITS = Object.freeze({
|
|
2109
2109
|
requests: 32,
|
|
2110
2110
|
input_bytes: 262144,
|
|
@@ -2231,7 +2231,7 @@ var runBatch = /* @__PURE__ */ __name(async (requests, options = {}) => {
|
|
|
2231
2231
|
};
|
|
2232
2232
|
}, "runBatch");
|
|
2233
2233
|
|
|
2234
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2234
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/config.js
|
|
2235
2235
|
import { randomBytes } from "node:crypto";
|
|
2236
2236
|
import { mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
2237
2237
|
import { dirname, join as join2 } from "node:path";
|
|
@@ -2275,7 +2275,7 @@ var saveConfigFile = /* @__PURE__ */ __name((path, config) => {
|
|
|
2275
2275
|
`, 384);
|
|
2276
2276
|
}, "saveConfigFile");
|
|
2277
2277
|
|
|
2278
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2278
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/constants.js
|
|
2279
2279
|
import { fileURLToPath } from "node:url";
|
|
2280
2280
|
var BASE_CONSTANTS = new URL("../constants.json", new URL("constants.js", import.meta.resolve("@wirecat/cli-base")).href);
|
|
2281
2281
|
var baseConstantsSchema = object({});
|
|
@@ -2330,11 +2330,11 @@ var loadConstants = /* @__PURE__ */ __name((layers, schema) => {
|
|
|
2330
2330
|
return deepFreeze(result.output);
|
|
2331
2331
|
}, "loadConstants");
|
|
2332
2332
|
|
|
2333
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2333
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
|
|
2334
2334
|
import { readFileSync as readFileSync2 } from "node:fs";
|
|
2335
2335
|
import { join as join3, resolve } from "node:path";
|
|
2336
2336
|
|
|
2337
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2337
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/keyring.js
|
|
2338
2338
|
import { createRequire } from "node:module";
|
|
2339
2339
|
var ENTRY_OPTIONS = { linux: { store: "secret-service" } };
|
|
2340
2340
|
var require2 = createRequire(new URL("keyring.js", import.meta.resolve("@wirecat/cli-base")).href);
|
|
@@ -2360,7 +2360,7 @@ var systemKeyring = {
|
|
|
2360
2360
|
delete: /* @__PURE__ */ __name((service, account) => entry(service, account).deletePassword(), "delete")
|
|
2361
2361
|
};
|
|
2362
2362
|
|
|
2363
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2363
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
|
|
2364
2364
|
var keyringService = /* @__PURE__ */ __name((service, _configDir, _isolated) => service, "keyringService");
|
|
2365
2365
|
var movedRunService = /* @__PURE__ */ __name((service, configDir) => `${service}:${resolve(configDir)}`, "movedRunService");
|
|
2366
2366
|
var warnedRuns = /* @__PURE__ */ new WeakSet();
|
|
@@ -2505,7 +2505,7 @@ var Credentials = class {
|
|
|
2505
2505
|
}
|
|
2506
2506
|
};
|
|
2507
2507
|
|
|
2508
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2508
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/time.js
|
|
2509
2509
|
var abortError = /* @__PURE__ */ __name(() => new DOMException("The operation was aborted.", "AbortError"), "abortError");
|
|
2510
2510
|
var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, reject) => {
|
|
2511
2511
|
if (signal?.aborted) {
|
|
@@ -2520,10 +2520,10 @@ var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, re
|
|
|
2520
2520
|
}), "realSleep");
|
|
2521
2521
|
var wallClock = /* @__PURE__ */ __name(() => /* @__PURE__ */ new Date(), "wallClock");
|
|
2522
2522
|
|
|
2523
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2523
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/logging.js
|
|
2524
2524
|
import { appendFileSync } from "node:fs";
|
|
2525
2525
|
|
|
2526
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2526
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/log.js
|
|
2527
2527
|
var LOG_SEVERITIES = ["trace", "debug", "info", "warn", "error", "fatal"];
|
|
2528
2528
|
var logRecordSchema = strictObject({
|
|
2529
2529
|
time: isoTime,
|
|
@@ -2601,7 +2601,7 @@ var traceIdOf = /* @__PURE__ */ __name((traceparent) => {
|
|
|
2601
2601
|
return traceId;
|
|
2602
2602
|
}, "traceIdOf");
|
|
2603
2603
|
|
|
2604
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2604
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/logging.js
|
|
2605
2605
|
var REDACTED_FIELDS = [
|
|
2606
2606
|
"authorization",
|
|
2607
2607
|
"Authorization",
|
|
@@ -2695,7 +2695,7 @@ var silent = {
|
|
|
2695
2695
|
}, "error")
|
|
2696
2696
|
};
|
|
2697
2697
|
|
|
2698
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2698
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/pretty.js
|
|
2699
2699
|
var import_cli_table3 = __toESM(require_cli_table3(), 1);
|
|
2700
2700
|
import { styleText } from "node:util";
|
|
2701
2701
|
var renderPretty = /* @__PURE__ */ __name((value, options) => {
|
|
@@ -2770,7 +2770,7 @@ var BORDERLESS = {
|
|
|
2770
2770
|
middle: ""
|
|
2771
2771
|
};
|
|
2772
2772
|
|
|
2773
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2773
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/renderer.js
|
|
2774
2774
|
var createRenderer = /* @__PURE__ */ __name(({ format, color, streams = processStreams, quiet = false }) => {
|
|
2775
2775
|
const mark = /* @__PURE__ */ __name((symbol, message) => format === "pretty" ? `${symbol} ${visibleControls(message)}` : visibleControls(message), "mark");
|
|
2776
2776
|
const say = /* @__PURE__ */ __name((symbol) => (message) => {
|