@wirecat/mail-cli 0.7.0 → 0.9.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 +28 -0
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/{all-profiles-SI67TKZM.js → all-profiles-X6ROLLMF.js} +9 -9
- package/dist/bundle/{anthropic-DALMLC3Y.js → anthropic-MPARKCMJ.js} +6 -6
- package/dist/bundle/{app-server-XOH327Z2.js → app-server-JQ5XCXWT.js} +48 -48
- package/dist/bundle/{bun-ORL67CJ6.js → bun-H7LT5433.js} +2 -2
- package/dist/bundle/{bun-sqlite-DGXFNFHI.js → bun-sqlite-AGK2BHAN.js} +5 -5
- package/dist/bundle/{chunk-35KD2CI2.js → chunk-24MHYGNE.js} +286 -252
- package/dist/bundle/{chunk-XQJWMBDY.js → chunk-25N52S7U.js} +6 -6
- package/dist/bundle/{chunk-VNJMO5F6.js → chunk-2FDROA4Q.js} +2 -2
- package/dist/bundle/{chunk-CAKBG5FC.js → chunk-3LMWAO6A.js} +6 -6
- package/dist/bundle/{chunk-AP7V256W.js → chunk-3W6VSSQQ.js} +1 -1
- package/dist/bundle/{chunk-U6UJ3HRS.js → chunk-3Y7H3CXI.js} +2 -2
- package/dist/bundle/{chunk-GJUUTUK4.js → chunk-4EFKQXA5.js} +8 -8
- package/dist/bundle/{chunk-BEMLGWY4.js → chunk-4MIC7S7B.js} +1 -1
- package/dist/bundle/{chunk-VKPWP3AK.js → chunk-5NYUCY5W.js} +2 -2
- package/dist/bundle/{chunk-23IEVVL2.js → chunk-5PWKPRTD.js} +4 -4
- package/dist/bundle/{chunk-E3DRM6YP.js → chunk-64FN5JK6.js} +3 -3
- package/dist/bundle/{chunk-IYZHM3ZN.js → chunk-65SVO3T7.js} +3 -3
- package/dist/bundle/{chunk-NNIXREJH.js → chunk-6FBBDIX6.js} +7 -7
- package/dist/bundle/{chunk-PDL4UREY.js → chunk-BNPCRWZ6.js} +8 -8
- package/dist/bundle/{chunk-JFMUI4H6.js → chunk-CHK3V7FG.js} +1 -1
- package/dist/bundle/{chunk-7K6KJWTO.js → chunk-DL32PWLR.js} +12 -12
- package/dist/bundle/{chunk-SQLCCKEL.js → chunk-DLB2JPLU.js} +1 -1
- package/dist/bundle/{chunk-MMXMVGA6.js → chunk-DQHAXX33.js} +7 -7
- package/dist/bundle/{chunk-VBOMKZ4E.js → chunk-EUJTQY43.js} +70 -53
- package/dist/bundle/{chunk-M2JCUVCJ.js → chunk-EVG7MOAH.js} +94 -94
- package/dist/bundle/{chunk-OHTR4WFO.js → chunk-FEA5E7WQ.js} +2 -2
- package/dist/bundle/{chunk-6XNPXAJU.js → chunk-FUDHVV4R.js} +23 -23
- package/dist/bundle/{chunk-5BSEGMNE.js → chunk-GPCKNZIA.js} +4 -4
- package/dist/bundle/{chunk-2M4K7HYR.js → chunk-HWLAV2HM.js} +17 -17
- package/dist/bundle/{chunk-Q44AYEOB.js → chunk-HZ42NO25.js} +2 -2
- package/dist/bundle/{chunk-EYT33MM3.js → chunk-INVEYTAL.js} +46 -46
- package/dist/bundle/{chunk-FPOGVDLS.js → chunk-IYC3IHEZ.js} +2 -2
- package/dist/bundle/{chunk-MHQKHWCJ.js → chunk-J4MY3QIN.js} +34 -28
- package/dist/bundle/{chunk-73OJJGZE.js → chunk-JYVZDJNO.js} +17 -3
- package/dist/bundle/{chunk-BGUMGCUY.js → chunk-JZMPDFM4.js} +2 -2
- package/dist/bundle/{chunk-FTFNWGIR.js → chunk-K3RWO7LR.js} +8 -8
- package/dist/bundle/{chunk-DKQWTQVY.js → chunk-KWHFDVAF.js} +23 -23
- package/dist/bundle/{chunk-BM445GYF.js → chunk-L3KMVMRJ.js} +2 -2
- package/dist/bundle/{chunk-ZNGQ3NZ4.js → chunk-M55XFZMG.js} +9 -9
- package/dist/bundle/{chunk-S4YUR4S3.js → chunk-N6YA4OQI.js} +219 -206
- package/dist/bundle/{chunk-NXJLC2WK.js → chunk-NAIJNJZZ.js} +12 -8
- package/dist/bundle/{chunk-HV3EIYX4.js → chunk-NTWORG4T.js} +1 -1
- package/dist/bundle/{chunk-6RMMAUUW.js → chunk-OZGDPG6I.js} +30 -30
- package/dist/bundle/{chunk-3TYEJRMZ.js → chunk-PC3AFEEA.js} +4 -4
- package/dist/bundle/{chunk-FUB3X25H.js → chunk-PEF637VV.js} +4 -4
- package/dist/bundle/{chunk-V4TDG4KF.js → chunk-PTDJXPXG.js} +14 -14
- package/dist/bundle/{chunk-RQVWZBW3.js → chunk-PXQ7A5HQ.js} +3 -3
- package/dist/bundle/{chunk-4NYWHINR.js → chunk-QO4K6R7K.js} +6 -6
- package/dist/bundle/{chunk-4ULY3GDL.js → chunk-QXXBDW6N.js} +10 -10
- package/dist/bundle/{chunk-5JEYIHS6.js → chunk-RGM66WZ3.js} +3 -3
- package/dist/bundle/{chunk-QZBT6BOU.js → chunk-ROZBXOES.js} +1 -1
- package/dist/bundle/{chunk-VSHJWTX5.js → chunk-SEL7SJCM.js} +6 -6
- package/dist/bundle/{chunk-ZKZABB4K.js → chunk-SUB4DRMA.js} +3 -3
- package/dist/bundle/{chunk-HFJNEXU7.js → chunk-SYFBRZ5F.js} +2 -2
- package/dist/bundle/{chunk-MCJ7LKYR.js → chunk-TKFQ3GNY.js} +6 -6
- package/dist/bundle/{chunk-45KA5667.js → chunk-TVZFDVZP.js} +13 -13
- package/dist/bundle/{chunk-3GZK5GTU.js → chunk-U6BDAY55.js} +1 -1
- package/dist/bundle/{chunk-6LK7KTWB.js → chunk-UHBCL66Y.js} +1 -1
- package/dist/bundle/{chunk-ZKCNMW7G.js → chunk-VOGSDGVL.js} +2 -2
- package/dist/bundle/{chunk-DXGMPMFP.js → chunk-YLSV3WOO.js} +4 -4
- package/dist/bundle/{chunk-LZ5J3UXD.js → chunk-YXQIZORE.js} +4 -4
- package/dist/bundle/{chunk-R5MML3FC.js → chunk-Z3TZTOR2.js} +67 -59
- package/dist/bundle/{chunk-Q2C3VMSU.js → chunk-ZISFMUYB.js} +18 -18
- package/dist/bundle/command-contract-T3H5CAX3.js +34 -0
- package/dist/bundle/{decode-KOBURZIQ.js → decode-ZATANRER.js} +5 -5
- package/dist/bundle/{dispatch-GDAH4JHS.js → dispatch-5C6XNGEE.js} +8 -8
- package/dist/bundle/{dist-T7HMT675.js → dist-JN22LNLZ.js} +13 -13
- package/dist/bundle/{echarts-LEWTQO6H.js → echarts-WKTVUY3O.js} +2 -2
- package/dist/bundle/{embed-PUFE4BSQ.js → embed-AVKPYK4V.js} +6 -6
- package/dist/bundle/{embedder-3G4BQQ6X.js → embedder-PSV2E5TR.js} +9 -9
- package/dist/bundle/{failure-6COJAO7T.js → failure-YRGRZBTX.js} +2 -2
- package/dist/bundle/{first-run-FLXOC53U.js → first-run-YN4SF5RZ.js} +11 -11
- package/dist/bundle/first-screen-IJJZJP6Q.js +32 -0
- package/dist/bundle/{instructions-HGSXDCBT.js → instructions-W5SJW23S.js} +1 -1
- package/dist/bundle/mail.js +12 -12
- package/dist/bundle/{mcp-GAPDLFWA.js → mcp-B25MZCS7.js} +2 -2
- package/dist/bundle/{node-5Z7PS4F5.js → node-BHBFRH6H.js} +2 -2
- package/dist/bundle/{node-sqlite-OAW7APIX.js → node-sqlite-7FHC3W5U.js} +5 -5
- package/dist/bundle/{oauth-ZFZWPAJN.js → oauth-ORPM6FLL.js} +7 -7
- package/dist/bundle/{open-ZQMBZVH4.js → open-AY5KLPWO.js} +4 -4
- package/dist/bundle/{openai-XT2RIXAK.js → openai-U7VALRI7.js} +14 -14
- package/dist/bundle/{process-VVEQIHPE.js → process-7AWARSC5.js} +1 -1
- package/dist/bundle/{program-RD3BBDNY.js → program-2W4J47LM.js} +468 -389
- package/dist/bundle/{prompt-PU7GE4Z4.js → prompt-STNX6JL7.js} +5 -5
- package/dist/bundle/{recognize-AG4A3KUK.js → recognize-2XWWTN6Y.js} +4 -4
- package/dist/bundle/{remote-D6TQ6T7F.js → remote-OIC32DKQ.js} +7 -7
- package/dist/bundle/{rerank-GO24HJPF.js → rerank-IFTSO576.js} +7 -7
- package/dist/bundle/{serve-WCHJAH6G.js → serve-P2D2AJAU.js} +9 -9
- package/dist/bundle/server-6D7W5Q4A.js +63 -0
- package/dist/bundle/{server-CAVNBG3P.js → server-DFEJBMXO.js} +38 -38
- package/dist/bundle/{sqlite-runtime-ANXC4AW2.js → sqlite-runtime-DD4Y35DQ.js} +5 -5
- package/dist/bundle/{state-EGJ66A62.js → state-XUSQMIKJ.js} +6 -6
- package/dist/bundle/{store-SBFA444C.js → store-EQC5DKSY.js} +13 -13
- package/dist/bundle/{store-OON7FCMQ.js → store-T3PKOLER.js} +15 -15
- package/dist/bundle/store-maintenance-command-7YQZXE4V.js +52 -0
- package/dist/commands/read.d.ts.map +1 -1
- package/dist/commands/read.js +1 -0
- package/dist/commands/read.js.map +1 -1
- package/dist/commands/server-search.d.ts.map +1 -1
- package/dist/commands/server-search.js +3 -2
- package/dist/commands/server-search.js.map +1 -1
- package/dist/oauth.d.ts +2 -5
- package/dist/oauth.d.ts.map +1 -1
- package/dist/oauth.js +4 -7
- package/dist/oauth.js.map +1 -1
- package/dist/providers.d.ts +8 -0
- package/dist/providers.d.ts.map +1 -1
- package/dist/providers.js +2 -0
- package/dist/providers.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/command-contract-CB5BII3S.js +0 -34
- package/dist/bundle/first-screen-VUZEDSQW.js +0 -32
- package/dist/bundle/server-5KJJ3D6P.js +0 -63
- package/dist/bundle/store-maintenance-command-UEOJLYMJ.js +0 -52
- /package/dist/bundle/{chunk-WJWLHLQ7.js → chunk-EKRM2QJB.js} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,34 @@
|
|
|
2
2
|
|
|
3
3
|
Notable changes to `@wirecat/mail-cli`. One section per version, newest first.
|
|
4
4
|
|
|
5
|
+
## 0.9.0 — 02.11.2026
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- **Microsoft sign-in works without a config**: WireCat's Microsoft app is built in. The sign-in sends
|
|
10
|
+
`http://localhost:<port>/callback`, the address registered for it (docs/oauth-microsoft.md). Google keeps
|
|
11
|
+
`127.0.0.1`.
|
|
12
|
+
|
|
13
|
+
## 0.8.0 — 02.11.2026
|
|
14
|
+
|
|
15
|
+
### Added
|
|
16
|
+
|
|
17
|
+
- **Every answer's `meta` says `now` and `now_local`**, the moment it was made (cli-core 0.541.0, cli-base 0.72.0).
|
|
18
|
+
|
|
19
|
+
### Fixed
|
|
20
|
+
|
|
21
|
+
- **`search messages` waits 20 seconds for a Yandex server by default**, not 5: one IMAP SEARCH of a large Yandex
|
|
22
|
+
INBOX takes 5 to 7 seconds, so the old default always ran out. `--server-time` still sets it; the provider registry
|
|
23
|
+
holds the value.
|
|
24
|
+
- **A scheduled sync no longer fails at 30 seconds while it goes on running.** `schedule exec` waited for the sync with
|
|
25
|
+
the 30 s deadline of a one-shot command, answered `timeout` (exit 9) and left the sync writing for up to 15 minutes.
|
|
26
|
+
It now waits as long as the sync's own deadline allows, and a stop of the run stops the sync too (cli-core).
|
|
27
|
+
- **A Gmail sync uses about 200 MB, not 1 to 1.7 GB.** Each round asked the store about every stored email of the
|
|
28
|
+
account; on a 260,000-email mailbox a 30-day sync now takes seconds instead of minutes (cli-core).
|
|
29
|
+
- **`search messages --backend` stays inside its time bound**: reading the finds and their attachments counts toward
|
|
30
|
+
`--server-time`, the bound ends before the command's deadline, nothing is written after the command is stopped,
|
|
31
|
+
and a find over 5 MB is left on the server (`search.server-too-large`) (cli-core).
|
|
32
|
+
|
|
5
33
|
## 0.7.0 — 01.11.2026
|
|
6
34
|
|
|
7
35
|
### Changed — may break callers
|
package/dist/bin/mail.js
CHANGED
|
@@ -9,7 +9,7 @@ if (
|
|
|
9
9
|
(words[0] === "--version" || words[0] === "-V") &&
|
|
10
10
|
!Object.keys(process.env).some((key) => key.endsWith("_TEST_ARGV_LOG"))
|
|
11
11
|
) {
|
|
12
|
-
process.stdout.write("0.
|
|
12
|
+
process.stdout.write("0.9.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-X6ROLLMF.js","../bundle/anthropic-MPARKCMJ.js","../bundle/app-server-JQ5XCXWT.js","../bundle/bun-H7LT5433.js","../bundle/bun-sqlite-AGK2BHAN.js","../bundle/decode-ZATANRER.js","../bundle/dispatch-5C6XNGEE.js","../bundle/dist-HFUVURJG.js","../bundle/dist-JN22LNLZ.js","../bundle/echarts-WKTVUY3O.js","../bundle/embed-AVKPYK4V.js","../bundle/embedder-PSV2E5TR.js","../bundle/failure-YRGRZBTX.js","../bundle/first-screen-IJJZJP6Q.js","../bundle/instructions-W5SJW23S.js","../bundle/mcp-B25MZCS7.js","../bundle/node-BHBFRH6H.js","../bundle/node-KM3CUABH.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-7FHC3W5U.js","../bundle/oauth-ORPM6FLL.js","../bundle/open-AY5KLPWO.js","../bundle/openai-U7VALRI7.js","../bundle/process-7AWARSC5.js","../bundle/program-2W4J47LM.js","../bundle/prompt-STNX6JL7.js","../bundle/recognize-2XWWTN6Y.js","../bundle/remote-OIC32DKQ.js","../bundle/rerank-IFTSO576.js","../bundle/serve-P2D2AJAU.js","../bundle/server-6D7W5Q4A.js","../bundle/server-DFEJBMXO.js","../bundle/sqlite-runtime-DD4Y35DQ.js","../bundle/state-XUSQMIKJ.js","../bundle/store-EQC5DKSY.js","../bundle/store-T3PKOLER.js","../bundle/store-maintenance-command-7YQZXE4V.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,28 +2,28 @@ 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-U6BDAY55.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-2FDROA4Q.js";
|
|
13
13
|
import {
|
|
14
14
|
McpServer
|
|
15
15
|
} from "./chunk-5D4AEUVA.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-M55XFZMG.js";
|
|
17
|
+
import "./chunk-EKRM2QJB.js";
|
|
18
|
+
import "./chunk-ZISFMUYB.js";
|
|
19
|
+
import "./chunk-NAIJNJZZ.js";
|
|
20
20
|
import "./chunk-Y5E2WNWB.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-L3KMVMRJ.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.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/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-P2D2AJAU.js");
|
|
261
261
|
const listening = await serveOverHttp(build, {
|
|
262
262
|
...http,
|
|
263
263
|
appName: options.command,
|
|
@@ -5,25 +5,25 @@ import {
|
|
|
5
5
|
} from "./chunk-XQUUANA2.js";
|
|
6
6
|
import {
|
|
7
7
|
checkedOptions
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-SUB4DRMA.js";
|
|
9
9
|
import {
|
|
10
10
|
messagesFor,
|
|
11
11
|
systemFor
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-VOGSDGVL.js";
|
|
13
|
+
import "./chunk-ZISFMUYB.js";
|
|
14
14
|
import {
|
|
15
15
|
array,
|
|
16
16
|
optional,
|
|
17
17
|
strictObject,
|
|
18
18
|
string
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-NAIJNJZZ.js";
|
|
20
20
|
import "./chunk-Y5E2WNWB.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-L3KMVMRJ.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.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/models/anthropic.js
|
|
27
27
|
var options = strictObject({
|
|
28
28
|
stop_sequences: optional(array(string()))
|
|
29
29
|
});
|
|
@@ -3,93 +3,93 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
PER_RUN,
|
|
5
5
|
envelope
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OZGDPG6I.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-J4MY3QIN.js";
|
|
14
14
|
import {
|
|
15
15
|
mcpUrlOf
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-FUDHVV4R.js";
|
|
17
17
|
import {
|
|
18
18
|
agentJson,
|
|
19
19
|
skillResource
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-PTDJXPXG.js";
|
|
21
|
+
import "./chunk-JYVZDJNO.js";
|
|
22
22
|
import {
|
|
23
23
|
appInstructions
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-CHK3V7FG.js";
|
|
25
25
|
import {
|
|
26
26
|
answeredWire
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-U6BDAY55.js";
|
|
28
28
|
import {
|
|
29
29
|
StdioServerTransport,
|
|
30
30
|
serveStdio
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-2FDROA4Q.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-KWHFDVAF.js";
|
|
36
|
+
import "./chunk-N6YA4OQI.js";
|
|
37
|
+
import "./chunk-TVZFDVZP.js";
|
|
38
|
+
import "./chunk-K3RWO7LR.js";
|
|
39
|
+
import "./chunk-VOGSDGVL.js";
|
|
40
|
+
import "./chunk-JZMPDFM4.js";
|
|
41
|
+
import "./chunk-6FBBDIX6.js";
|
|
42
|
+
import "./chunk-EVG7MOAH.js";
|
|
43
43
|
import {
|
|
44
44
|
DEFAULT_OUTPUT_BYTES,
|
|
45
45
|
changesAuthorityAt,
|
|
46
46
|
describeProgram,
|
|
47
47
|
environmentOf,
|
|
48
|
-
fetchesOnlyAt,
|
|
49
48
|
judgedTargets,
|
|
50
49
|
readOnlyLockOf,
|
|
50
|
+
readsOverMcpAt,
|
|
51
51
|
rootOf2 as rootOf
|
|
52
|
-
} from "./chunk-
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
52
|
+
} from "./chunk-Z3TZTOR2.js";
|
|
53
|
+
import "./chunk-SEL7SJCM.js";
|
|
54
|
+
import "./chunk-M55XFZMG.js";
|
|
55
|
+
import "./chunk-5PWKPRTD.js";
|
|
56
|
+
import "./chunk-ROZBXOES.js";
|
|
57
|
+
import "./chunk-65SVO3T7.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-
|
|
70
|
-
import "./chunk-
|
|
71
|
-
import "./chunk-
|
|
72
|
-
import "./chunk-
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./chunk-
|
|
60
|
+
} from "./chunk-YLSV3WOO.js";
|
|
61
|
+
import "./chunk-RGM66WZ3.js";
|
|
62
|
+
import "./chunk-UHBCL66Y.js";
|
|
63
|
+
import "./chunk-PXQ7A5HQ.js";
|
|
64
|
+
import "./chunk-HWLAV2HM.js";
|
|
65
|
+
import "./chunk-GPCKNZIA.js";
|
|
66
|
+
import "./chunk-24MHYGNE.js";
|
|
67
|
+
import "./chunk-TKFQ3GNY.js";
|
|
68
|
+
import "./chunk-DQHAXX33.js";
|
|
69
|
+
import "./chunk-EUJTQY43.js";
|
|
70
|
+
import "./chunk-4EFKQXA5.js";
|
|
71
|
+
import "./chunk-QO4K6R7K.js";
|
|
72
|
+
import "./chunk-25N52S7U.js";
|
|
73
|
+
import "./chunk-3W6VSSQQ.js";
|
|
74
|
+
import "./chunk-DLB2JPLU.js";
|
|
75
|
+
import "./chunk-EKRM2QJB.js";
|
|
76
76
|
import "./chunk-D72URWJE.js";
|
|
77
|
-
import "./chunk-
|
|
78
|
-
import "./chunk-
|
|
79
|
-
import "./chunk-
|
|
80
|
-
import "./chunk-
|
|
77
|
+
import "./chunk-3LMWAO6A.js";
|
|
78
|
+
import "./chunk-PC3AFEEA.js";
|
|
79
|
+
import "./chunk-HZ42NO25.js";
|
|
80
|
+
import "./chunk-ZISFMUYB.js";
|
|
81
81
|
import {
|
|
82
82
|
mcpErrorResult
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-NAIJNJZZ.js";
|
|
84
84
|
import "./chunk-Y5E2WNWB.js";
|
|
85
85
|
import {
|
|
86
86
|
CliError
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-L3KMVMRJ.js";
|
|
88
88
|
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.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/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;
|
|
@@ -113,7 +113,7 @@ var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
|
|
|
113
113
|
currentLevels: levels,
|
|
114
114
|
readOnly: readOnly(),
|
|
115
115
|
authority,
|
|
116
|
-
fetchOnly:
|
|
116
|
+
fetchOnly: readsOverMcpAt(root),
|
|
117
117
|
permissions: options.permissions
|
|
118
118
|
});
|
|
119
119
|
const availability = /* @__PURE__ */ __name((one) => () => {
|
|
@@ -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-P2D2AJAU.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-3W6VSSQQ.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.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/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,18 +3,18 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
loadVectorExtension,
|
|
5
5
|
vectorExtension
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-5NYUCY5W.js";
|
|
7
|
+
import "./chunk-ZISFMUYB.js";
|
|
8
|
+
import "./chunk-NAIJNJZZ.js";
|
|
9
9
|
import {
|
|
10
10
|
importFrom
|
|
11
11
|
} from "./chunk-Y5E2WNWB.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-L3KMVMRJ.js";
|
|
13
13
|
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.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/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 {
|