@wirecat/mail-cli 0.26.0 → 0.27.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 +14 -0
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/{all-profiles-6NXVQLUQ.js → all-profiles-5XWH7TBM.js} +7 -7
- package/dist/bundle/{anthropic-OLNFE2CL.js → anthropic-QEQGUEPW.js} +2 -2
- package/dist/bundle/{app-server-J76N6XIK.js → app-server-YWDU56NR.js} +48 -44
- package/dist/bundle/{bun-6PYDHXNR.js → bun-PWMM6L45.js} +2 -2
- package/dist/bundle/{bun-sqlite-QD5PFHPS.js → bun-sqlite-S4QD5YUO.js} +3 -3
- package/dist/bundle/{chunk-VA4V73SL.js → chunk-255RGG5W.js} +5 -5
- package/dist/bundle/{chunk-5WROIMUV.js → chunk-2FZMIJW7.js} +4 -4
- package/dist/bundle/{chunk-AJ5K74X6.js → chunk-4VDWQKDI.js} +16 -16
- package/dist/bundle/{chunk-HI5XUETY.js → chunk-572NWJUN.js} +1 -1
- package/dist/bundle/{chunk-H2IJQH5X.js → chunk-5BPOEPYL.js} +4 -4
- package/dist/bundle/{chunk-DKIVYAXW.js → chunk-5DLPM5AV.js} +12 -12
- package/dist/bundle/{chunk-CZI45AQM.js → chunk-77J5ID2O.js} +2 -2
- package/dist/bundle/{chunk-2E2EV4HD.js → chunk-7BXOFLWJ.js} +80 -57
- package/dist/bundle/{chunk-QI6EXKSH.js → chunk-AIEMFRBU.js} +1 -1
- package/dist/bundle/{chunk-CFBIPM7T.js → chunk-AIZ225IA.js} +267 -251
- package/dist/bundle/{chunk-RXKIP2ML.js → chunk-APLVXHFG.js} +1 -1
- package/dist/bundle/{chunk-NBJU6MBU.js → chunk-BZCXAVGP.js} +7 -7
- package/dist/bundle/{chunk-XZ7CQ6NA.js → chunk-CKFVKHTB.js} +3 -3
- package/dist/bundle/{chunk-MIWSCTLG.js → chunk-CZRMT6XV.js} +2 -2
- package/dist/bundle/{chunk-NMFPK3MU.js → chunk-DQO2LX5I.js} +2 -2
- package/dist/bundle/{chunk-PY2IOVUN.js → chunk-DSUOYJUL.js} +3 -3
- package/dist/bundle/{chunk-QJGG6QYV.js → chunk-ELPH22W6.js} +7 -7
- package/dist/bundle/{chunk-BMGRDZM3.js → chunk-EXWZCI5G.js} +1 -1
- package/dist/bundle/{chunk-M4Y33SJJ.js → chunk-FOTP6QLO.js} +2 -2
- package/dist/bundle/{chunk-T7SHPALQ.js → chunk-FVVSBQGK.js} +24 -22
- package/dist/bundle/{chunk-76VSHS5Y.js → chunk-HBK6MRAL.js} +7 -7
- package/dist/bundle/{chunk-YM345236.js → chunk-IDOHT4Z3.js} +19 -19
- package/dist/bundle/{chunk-A3EBRXOQ.js → chunk-KHBZ4OEP.js} +1 -1
- package/dist/bundle/{chunk-LTZGLOKE.js → chunk-MY4LVD64.js} +1 -1
- package/dist/bundle/{chunk-M7RHPCXM.js → chunk-NZG6IRDW.js} +2 -2
- package/dist/bundle/{chunk-V32L23NN.js → chunk-OC3U2JAK.js} +3 -3
- package/dist/bundle/{chunk-XELZCDWE.js → chunk-OCUKQRJ3.js} +158 -148
- package/dist/bundle/{chunk-VWRT57QU.js → chunk-OEPNLKHI.js} +4 -4
- package/dist/bundle/{chunk-UE2NKPA4.js → chunk-OPOEAGVB.js} +6 -6
- package/dist/bundle/{chunk-JNKXU7AE.js → chunk-PA7LDYVX.js} +52 -52
- package/dist/bundle/{chunk-EDWJ7IYH.js → chunk-PJ3FKBXG.js} +1 -1
- package/dist/bundle/{chunk-PJ6YMNJG.js → chunk-PRSXMM4I.js} +447 -407
- package/dist/bundle/{chunk-OGE7YG4J.js → chunk-QQTSPQ2D.js} +1 -1
- package/dist/bundle/{chunk-52M5BAEG.js → chunk-QVJMFZFW.js} +1 -1
- package/dist/bundle/{chunk-YXGHC3NP.js → chunk-R3A65A4D.js} +10 -10
- package/dist/bundle/{chunk-BDYQQ6G2.js → chunk-R5FTCNLJ.js} +1 -1
- package/dist/bundle/{chunk-A6XETABW.js → chunk-RGQFVVBB.js} +17 -17
- package/dist/bundle/{chunk-ZZSZN4CJ.js → chunk-ROLHKFKB.js} +13 -12
- package/dist/bundle/{chunk-KXASCNOV.js → chunk-RRLAFEPQ.js} +2 -2
- package/dist/bundle/{chunk-LMTQMYUF.js → chunk-S2QRW647.js} +33 -29
- package/dist/bundle/{chunk-GIG7F6UW.js → chunk-S7H7TAC3.js} +5 -5
- package/dist/bundle/{chunk-VJPLIXV4.js → chunk-SXKKOOA7.js} +1 -1
- package/dist/bundle/{chunk-76EKZSDK.js → chunk-T7VERZP5.js} +23 -23
- package/dist/bundle/{chunk-66C66FNK.js → chunk-TI2OANJZ.js} +1 -1
- package/dist/bundle/{chunk-3J2UJFBJ.js → chunk-TKOZCIHU.js} +15 -15
- package/dist/bundle/{chunk-JVJG54QK.js → chunk-UBH4UPZ7.js} +1 -1
- package/dist/bundle/{chunk-UNJUCK5R.js → chunk-UEJVXUIO.js} +12 -12
- package/dist/bundle/{chunk-V4PFD25P.js → chunk-UIKVP23D.js} +1 -1
- package/dist/bundle/{chunk-3XTKQ5EM.js → chunk-VYZ37D2Q.js} +1 -1
- package/dist/bundle/{chunk-M2LATBP2.js → chunk-WMXUFUV3.js} +2 -2
- package/dist/bundle/{chunk-4Q6KAV4O.js → chunk-WRHAX53U.js} +6 -6
- package/dist/bundle/{chunk-3RY4HC4V.js → chunk-XBL46B4V.js} +1 -1
- package/dist/bundle/{chunk-XUJEZ5YF.js → chunk-XCYDTIVK.js} +5 -5
- package/dist/bundle/{chunk-HNSBXC6U.js → chunk-XM2THVMR.js} +2 -2
- package/dist/bundle/{chunk-M7ECSGSN.js → chunk-ZSWSFKNE.js} +4 -6
- package/dist/bundle/{chunk-2TCS4PLJ.js → chunk-ZVQDOKDY.js} +1 -1
- package/dist/bundle/{command-contract-NNEXHZW5.js → command-contract-MIJONVVG.js} +15 -15
- package/dist/bundle/{command-server-entry-AIBWNC5D.js → command-server-entry-VHUFW3OZ.js} +21 -21
- package/dist/bundle/{decode-H7KLRD33.js → decode-TIMTSVXM.js} +2 -2
- package/dist/bundle/{dist-YYSP43J3.js → dist-IP25JFTN.js} +11 -11
- package/dist/bundle/{echarts-VSD3LS6D.js → echarts-SDZA2SWG.js} +2 -2
- package/dist/bundle/{embed-UENZ5HN3.js → embed-4W527BCE.js} +3 -3
- package/dist/bundle/{embedder-MJMGOJT7.js → embedder-LQE2SBJ3.js} +6 -6
- package/dist/bundle/{first-run-HYALREFN.js → first-run-KZTKMEI4.js} +6 -6
- package/dist/bundle/first-screen-4LG5SJ6D.js +34 -0
- package/dist/bundle/{instructions-WOHRYOLN.js → instructions-7T6JJIFS.js} +1 -1
- package/dist/bundle/mail.js +2 -2
- package/dist/bundle/{node-4BRWJJCE.js → node-BZDMUFTW.js} +2 -2
- package/dist/bundle/{node-sqlite-D3QESEYQ.js → node-sqlite-PVSKI4OS.js} +4 -4
- package/dist/bundle/{oauth-T7TTOBIZ.js → oauth-TGYGAVGF.js} +4 -4
- package/dist/bundle/{open-6P6627QB.js → open-5YED4Q4C.js} +2 -2
- package/dist/bundle/{openai-FIMCJGAP.js → openai-XVJTML22.js} +12 -12
- package/dist/bundle/{process-35IH3WHC.js → process-756VBE7E.js} +1 -1
- package/dist/bundle/{program-IEXB72IK.js → program-TDHDXAQA.js} +387 -374
- package/dist/bundle/{prompt-HFBCPMVL.js → prompt-HPZANASN.js} +2 -2
- package/dist/bundle/{recognize-CNL4HJ7Z.js → recognize-PP5XQQHH.js} +1 -1
- package/dist/bundle/{remote-AYGZI7HT.js → remote-C2LU2WYG.js} +6 -6
- package/dist/bundle/{rerank-5C2OZZXD.js → rerank-WRHNOM4Z.js} +4 -4
- package/dist/bundle/{serve-S6OYBDIB.js → serve-RE3IV2QB.js} +6 -6
- package/dist/bundle/server-43V7HNFY.js +68 -0
- package/dist/bundle/{server-VKO6E6PI.js → server-52BJ7UTO.js} +37 -35
- package/dist/bundle/{sqlite-runtime-DBTGNTVE.js → sqlite-runtime-CRRL3MYX.js} +3 -3
- package/dist/bundle/{state-ZQG6AL2Y.js → state-YGJRPMWD.js} +3 -3
- package/dist/bundle/{store-B7BXWILZ.js → store-6AZ5LVJL.js} +15 -15
- package/dist/bundle/{store-LY4QKTOO.js → store-ESQE4VHP.js} +13 -13
- package/dist/bundle/store-maintenance-command-AKQMKUYO.js +58 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/first-screen-GPF5RHBX.js +0 -34
- package/dist/bundle/server-WXSHVDME.js +0 -68
- package/dist/bundle/store-maintenance-command-UR6NQDVV.js +0 -58
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
Notable changes to `@wirecat/mail-cli`. One section per version, newest first.
|
|
4
4
|
|
|
5
|
+
## 0.27.0 — 13.11.2026
|
|
6
|
+
|
|
7
|
+
### Changed — may break callers
|
|
8
|
+
|
|
9
|
+
- **Built on cli-core 0.656.0** (was 0.653.0). See the
|
|
10
|
+
[cli-core changelog](https://github.com/WireCatLabs/cli-core/blob/main/CHANGELOG.md).
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- **Sync runs on a fresh install.** A shared WireCat config (`~/.config/WireCat/config.json`) that could not be
|
|
15
|
+
read (a byte-order mark, broken JSON, a folder in its place, an older `setup` shape) made every WireCat tool
|
|
16
|
+
read-only and refused `sync`. Now only the owner's own "read only" answer limits a tool, and even then a sync runs:
|
|
17
|
+
it only reads the service into the local store (cli-core 0.656.0).
|
|
18
|
+
|
|
5
19
|
## 0.26.0 — 13.11.2026
|
|
6
20
|
|
|
7
21
|
### 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.27.0\n")
|
|
13
13
|
} else {
|
|
14
14
|
// Before the bundle compiles: the bundle's own call comes after its chunks.
|
|
15
15
|
module.enableCompileCache()
|
|
@@ -28,7 +28,7 @@ if (
|
|
|
28
28
|
: next(specifier, context),
|
|
29
29
|
})
|
|
30
30
|
}
|
|
31
|
-
const chunks = ["../bundle/all-profiles-
|
|
31
|
+
const chunks = ["../bundle/all-profiles-5XWH7TBM.js","../bundle/anthropic-QEQGUEPW.js","../bundle/app-server-YWDU56NR.js","../bundle/bun-PWMM6L45.js","../bundle/bun-sqlite-S4QD5YUO.js","../bundle/decode-TIMTSVXM.js","../bundle/dispatch-DSVN7MNG.js","../bundle/dist-HFUVURJG.js","../bundle/dist-IP25JFTN.js","../bundle/echarts-SDZA2SWG.js","../bundle/embed-4W527BCE.js","../bundle/embedder-LQE2SBJ3.js","../bundle/failure-COTPFUP4.js","../bundle/first-screen-4LG5SJ6D.js","../bundle/instructions-7T6JJIFS.js","../bundle/mcp-TDKGDB4V.js","../bundle/node-BZDMUFTW.js","../bundle/node-KM3CUABH.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-PVSKI4OS.js","../bundle/oauth-TGYGAVGF.js","../bundle/open-5YED4Q4C.js","../bundle/openai-XVJTML22.js","../bundle/process-756VBE7E.js","../bundle/program-TDHDXAQA.js","../bundle/prompt-HPZANASN.js","../bundle/recognize-PP5XQQHH.js","../bundle/remote-C2LU2WYG.js","../bundle/rerank-WRHNOM4Z.js","../bundle/serve-RE3IV2QB.js","../bundle/server-43V7HNFY.js","../bundle/server-52BJ7UTO.js","../bundle/sqlite-runtime-CRRL3MYX.js","../bundle/state-YGJRPMWD.js","../bundle/store-6AZ5LVJL.js","../bundle/store-ESQE4VHP.js","../bundle/store-maintenance-command-AKQMKUYO.js"]
|
|
32
32
|
if (((words) => words
|
|
33
33
|
.filter((word) => !word.startsWith("-"))
|
|
34
34
|
.slice(0, 2)
|
|
@@ -2,20 +2,20 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
answeredWire
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-R5FTCNLJ.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-FOTP6QLO.js";
|
|
13
13
|
import {
|
|
14
14
|
McpServer
|
|
15
15
|
} from "./chunk-5D4AEUVA.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-HBK6MRAL.js";
|
|
17
|
+
import "./chunk-SXKKOOA7.js";
|
|
18
|
+
import "./chunk-MY4LVD64.js";
|
|
19
19
|
import "./chunk-XWBPP2HX.js";
|
|
20
20
|
import "./chunk-7MEVD5PI.js";
|
|
21
21
|
import "./chunk-ECZSYLSL.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
__name
|
|
26
26
|
} from "./chunk-ZVVMGPBJ.js";
|
|
27
27
|
|
|
28
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
28
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
|
|
29
29
|
import { spawn } from "node:child_process";
|
|
30
30
|
import { randomUUID } from "node:crypto";
|
|
31
31
|
var PROTOCOL = "2025-06-18";
|
|
@@ -259,7 +259,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
|
|
|
259
259
|
}, "serveAllProfilesOverStdio");
|
|
260
260
|
var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
|
|
261
261
|
const { build, close } = allProfilesServer(options);
|
|
262
|
-
const { serveOverHttp } = await import("./serve-
|
|
262
|
+
const { serveOverHttp } = await import("./serve-RE3IV2QB.js");
|
|
263
263
|
const listening = await serveOverHttp(build, {
|
|
264
264
|
...http,
|
|
265
265
|
appName: options.command,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
checkedOptions,
|
|
9
9
|
messagesFor,
|
|
10
10
|
systemFor
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-DQO2LX5I.js";
|
|
12
12
|
import "./chunk-7MEVD5PI.js";
|
|
13
13
|
import {
|
|
14
14
|
array,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
__name
|
|
27
27
|
} from "./chunk-ZVVMGPBJ.js";
|
|
28
28
|
|
|
29
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/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,84 +3,85 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
PER_RUN,
|
|
5
5
|
envelope
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-S2QRW647.js";
|
|
7
7
|
import {
|
|
8
8
|
mcpUrlOf
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-FVVSBQGK.js";
|
|
10
|
+
import "./chunk-PJ3FKBXG.js";
|
|
11
11
|
import {
|
|
12
12
|
answered,
|
|
13
13
|
failed,
|
|
14
14
|
registerCommands,
|
|
15
15
|
runCommandForAgent,
|
|
16
16
|
toolsFromCommands
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-IDOHT4Z3.js";
|
|
18
18
|
import {
|
|
19
19
|
agentJson,
|
|
20
20
|
skillResource
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-ROLHKFKB.js";
|
|
22
|
+
import "./chunk-WMXUFUV3.js";
|
|
23
23
|
import {
|
|
24
24
|
appInstructions
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-AIEMFRBU.js";
|
|
26
26
|
import {
|
|
27
27
|
answeredWire
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-R5FTCNLJ.js";
|
|
29
29
|
import {
|
|
30
30
|
StdioServerTransport,
|
|
31
31
|
serveStdio
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-FOTP6QLO.js";
|
|
33
33
|
import {
|
|
34
34
|
McpServer
|
|
35
35
|
} from "./chunk-5D4AEUVA.js";
|
|
36
36
|
import {
|
|
37
37
|
mcpHttpMarker
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
38
|
+
} from "./chunk-OEPNLKHI.js";
|
|
39
|
+
import "./chunk-TKOZCIHU.js";
|
|
40
|
+
import "./chunk-AIZ225IA.js";
|
|
41
|
+
import "./chunk-UEJVXUIO.js";
|
|
42
|
+
import "./chunk-OPOEAGVB.js";
|
|
43
|
+
import "./chunk-DQO2LX5I.js";
|
|
44
|
+
import "./chunk-XM2THVMR.js";
|
|
45
|
+
import "./chunk-572NWJUN.js";
|
|
46
|
+
import "./chunk-DSUOYJUL.js";
|
|
47
47
|
import {
|
|
48
48
|
DEFAULT_OUTPUT_BYTES,
|
|
49
49
|
changesAuthorityAt,
|
|
50
50
|
describeProgram,
|
|
51
51
|
environmentOf,
|
|
52
|
+
fetchesOnlyAt,
|
|
52
53
|
judgedTargets,
|
|
53
54
|
readOnlyLockOf,
|
|
54
55
|
readsOverMcpAt,
|
|
55
56
|
rootOf2 as rootOf
|
|
56
|
-
} from "./chunk-
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
57
|
+
} from "./chunk-OCUKQRJ3.js";
|
|
58
|
+
import "./chunk-2FZMIJW7.js";
|
|
59
|
+
import "./chunk-HBK6MRAL.js";
|
|
60
|
+
import "./chunk-UIKVP23D.js";
|
|
60
61
|
import "./chunk-7C6FGWDH.js";
|
|
61
62
|
import "./chunk-FIVFP53N.js";
|
|
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-
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-
|
|
63
|
+
import "./chunk-ZSWSFKNE.js";
|
|
64
|
+
import "./chunk-4VDWQKDI.js";
|
|
65
|
+
import "./chunk-NZG6IRDW.js";
|
|
66
|
+
import "./chunk-PRSXMM4I.js";
|
|
67
|
+
import "./chunk-RGQFVVBB.js";
|
|
68
|
+
import "./chunk-T7VERZP5.js";
|
|
69
|
+
import "./chunk-7BXOFLWJ.js";
|
|
70
|
+
import "./chunk-SXKKOOA7.js";
|
|
71
|
+
import "./chunk-MY4LVD64.js";
|
|
72
|
+
import "./chunk-BZCXAVGP.js";
|
|
73
|
+
import "./chunk-KHBZ4OEP.js";
|
|
74
|
+
import "./chunk-ELPH22W6.js";
|
|
75
|
+
import "./chunk-XBL46B4V.js";
|
|
76
|
+
import "./chunk-XCYDTIVK.js";
|
|
77
|
+
import "./chunk-S7H7TAC3.js";
|
|
78
|
+
import "./chunk-CKFVKHTB.js";
|
|
78
79
|
import "./chunk-M4OP5ASJ.js";
|
|
79
80
|
import "./chunk-XWBPP2HX.js";
|
|
80
81
|
import "./chunk-D72URWJE.js";
|
|
81
|
-
import "./chunk-
|
|
82
|
-
import "./chunk-
|
|
83
|
-
import "./chunk-
|
|
82
|
+
import "./chunk-VYZ37D2Q.js";
|
|
83
|
+
import "./chunk-255RGG5W.js";
|
|
84
|
+
import "./chunk-ZVQDOKDY.js";
|
|
84
85
|
import "./chunk-7MEVD5PI.js";
|
|
85
86
|
import {
|
|
86
87
|
mcpErrorResult
|
|
@@ -89,12 +90,12 @@ import "./chunk-Y5E2WNWB.js";
|
|
|
89
90
|
import {
|
|
90
91
|
CliError
|
|
91
92
|
} from "./chunk-7KCBPAQS.js";
|
|
92
|
-
import "./chunk-
|
|
93
|
+
import "./chunk-QVJMFZFW.js";
|
|
93
94
|
import {
|
|
94
95
|
__name
|
|
95
96
|
} from "./chunk-ZVVMGPBJ.js";
|
|
96
97
|
|
|
97
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
98
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
|
|
98
99
|
var EXCLUDED = [["mcp"]];
|
|
99
100
|
var aliasesOf = /* @__PURE__ */ __name((root, path) => {
|
|
100
101
|
let at = root;
|
|
@@ -116,6 +117,7 @@ var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
|
|
|
116
117
|
const levels = /* @__PURE__ */ __name(() => options.resolveSettings(flags, { env: context.env }).permissions, "levels");
|
|
117
118
|
const readOnly = /* @__PURE__ */ __name(() => readOnlyLockOf(app, context.env) !== void 0, "readOnly");
|
|
118
119
|
const authority = changesAuthorityAt(root);
|
|
120
|
+
const fetches = fetchesOnlyAt(root);
|
|
119
121
|
const targets = judgedTargets(root);
|
|
120
122
|
const passed = Object.fromEntries(Object.entries(environment).filter(([key]) => !PER_RUN.has(key)));
|
|
121
123
|
const tools = toolsFromCommands(program.commands, {
|
|
@@ -126,6 +128,7 @@ var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
|
|
|
126
128
|
readOnly: readOnly(),
|
|
127
129
|
authority,
|
|
128
130
|
fetchOnly: readsOverMcpAt(root),
|
|
131
|
+
fetches,
|
|
129
132
|
permissions: options.permissions
|
|
130
133
|
});
|
|
131
134
|
const availability = /* @__PURE__ */ __name((one) => () => {
|
|
@@ -159,6 +162,7 @@ var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
|
|
|
159
162
|
levels,
|
|
160
163
|
overrides,
|
|
161
164
|
authority,
|
|
165
|
+
fetches,
|
|
162
166
|
permissions: options.permissions,
|
|
163
167
|
environment: passed
|
|
164
168
|
});
|
|
@@ -221,7 +225,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
|
|
|
221
225
|
var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
|
|
222
226
|
const { app } = options;
|
|
223
227
|
const { build } = createAppServer(command, context, options);
|
|
224
|
-
const { serveOverHttp } = await import("./serve-
|
|
228
|
+
const { serveOverHttp } = await import("./serve-RE3IV2QB.js");
|
|
225
229
|
const listening = await serveOverHttp(build, {
|
|
226
230
|
...http,
|
|
227
231
|
appName: app.command,
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
jitCompatCheck,
|
|
19
19
|
refineSqliteCodecs,
|
|
20
20
|
sql
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-QVJMFZFW.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.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/bun.js
|
|
27
27
|
import { Database } from "bun:sqlite";
|
|
28
28
|
var bunSQLiteCodecs = refineSqliteCodecs({
|
|
29
29
|
"integer:boolean": { normalize: booleanFromInteger },
|
|
@@ -3,10 +3,10 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
loadVectorExtension,
|
|
5
5
|
vectorExtension
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-APLVXHFG.js";
|
|
7
7
|
import {
|
|
8
8
|
refuseOwnerStoreInTests
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VYZ37D2Q.js";
|
|
10
10
|
import "./chunk-7MEVD5PI.js";
|
|
11
11
|
import "./chunk-ECZSYLSL.js";
|
|
12
12
|
import {
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
__name
|
|
18
18
|
} from "./chunk-ZVVMGPBJ.js";
|
|
19
19
|
|
|
20
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/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 {
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
PRAGMAS
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZVQDOKDY.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
8
|
} from "./chunk-7KCBPAQS.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
|
|
14
14
|
var SQLITE_WARNING = "SQLite is an experimental feature";
|
|
15
15
|
var quieted = /* @__PURE__ */ new WeakSet();
|
|
16
16
|
var quietSqliteWarning = /* @__PURE__ */ __name((host = process) => {
|
|
@@ -31,7 +31,7 @@ var isSqliteWarning = /* @__PURE__ */ __name((warning, options) => {
|
|
|
31
31
|
return name === "ExperimentalWarning" && message.startsWith(SQLITE_WARNING);
|
|
32
32
|
}, "isSqliteWarning");
|
|
33
33
|
|
|
34
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/store/open.js
|
|
35
35
|
var openCache = /* @__PURE__ */ __name(async (path) => {
|
|
36
36
|
const database = await openFile(path);
|
|
37
37
|
try {
|
|
@@ -44,12 +44,12 @@ var openCache = /* @__PURE__ */ __name(async (path) => {
|
|
|
44
44
|
}, "openCache");
|
|
45
45
|
var openFile = /* @__PURE__ */ __name((path) => "Bun" in globalThis ? openUnderBun(path) : openUnderNode(path), "openFile");
|
|
46
46
|
var openUnderBun = /* @__PURE__ */ __name(async (path) => {
|
|
47
|
-
const { openWithBunSqlite } = await import("./bun-sqlite-
|
|
47
|
+
const { openWithBunSqlite } = await import("./bun-sqlite-S4QD5YUO.js");
|
|
48
48
|
return await openWithBunSqlite(path);
|
|
49
49
|
}, "openUnderBun");
|
|
50
50
|
var openUnderNode = /* @__PURE__ */ __name(async (path) => {
|
|
51
51
|
quietSqliteWarning();
|
|
52
|
-
const { openWithNodeSqlite } = await import("./node-sqlite-
|
|
52
|
+
const { openWithNodeSqlite } = await import("./node-sqlite-PVSKI4OS.js");
|
|
53
53
|
return openWithNodeSqlite(path);
|
|
54
54
|
}, "openUnderNode");
|
|
55
55
|
var runtime = /* @__PURE__ */ __name(() => {
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
__name
|
|
18
18
|
} from "./chunk-ZVVMGPBJ.js";
|
|
19
19
|
|
|
20
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
21
21
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
22
22
|
var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
|
|
23
23
|
var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
|
|
@@ -421,7 +421,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
421
421
|
}
|
|
422
422
|
}, "assertRetentionEvidenceRead");
|
|
423
423
|
|
|
424
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
424
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
425
425
|
var named = /* @__PURE__ */ __name((work) => {
|
|
426
426
|
try {
|
|
427
427
|
return work();
|
|
@@ -448,7 +448,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
|
|
|
448
448
|
return projectFields(value, fields);
|
|
449
449
|
}), "projectFields");
|
|
450
450
|
|
|
451
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
451
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
452
452
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
453
453
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
454
454
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -484,7 +484,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
484
484
|
return value;
|
|
485
485
|
}, "atDetail");
|
|
486
486
|
|
|
487
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
487
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/output.js
|
|
488
488
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
489
489
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
490
490
|
if (other)
|
|
@@ -23,20 +23,20 @@ import {
|
|
|
23
23
|
tagMemberIds,
|
|
24
24
|
thingOf,
|
|
25
25
|
write
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-PRSXMM4I.js";
|
|
27
27
|
import {
|
|
28
28
|
ADDED_PROVIDER,
|
|
29
29
|
filesAccountSql,
|
|
30
30
|
folderProviderOf,
|
|
31
31
|
folderProviderSql,
|
|
32
32
|
isDocumentAccountProvider
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-7BXOFLWJ.js";
|
|
34
34
|
import {
|
|
35
35
|
damagedFile
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-SXKKOOA7.js";
|
|
37
37
|
import {
|
|
38
38
|
fold
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-KHBZ4OEP.js";
|
|
40
40
|
import {
|
|
41
41
|
CliError
|
|
42
42
|
} from "./chunk-7KCBPAQS.js";
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
__name
|
|
45
45
|
} from "./chunk-ZVVMGPBJ.js";
|
|
46
46
|
|
|
47
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
47
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/store/damage.js
|
|
48
48
|
var DERIVED = /* @__PURE__ */ new Set(["mentions", "involvements", "embeddings"]);
|
|
49
49
|
var named = /* @__PURE__ */ __name((tables) => tables.length <= 5 ? tables.join(", ") : `${tables.slice(0, 5).join(", ")} and ${tables.length - 5} more`, "named");
|
|
50
50
|
var isDerivedTable = /* @__PURE__ */ __name((table, searchIndexes) => DERIVED.has(table) || table.startsWith("vector_index_") || searchIndexes.some((index) => table === index || table.startsWith(`${index}_`)), "isDerivedTable");
|
|
@@ -147,11 +147,11 @@ var storeDamageReport = /* @__PURE__ */ __name(({ health, command, mark = null,
|
|
|
147
147
|
};
|
|
148
148
|
}, "storeDamageReport");
|
|
149
149
|
|
|
150
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
150
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
|
|
151
151
|
import { realpathSync, statSync } from "node:fs";
|
|
152
152
|
import { resolve } from "node:path";
|
|
153
153
|
|
|
154
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
154
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/people.js
|
|
155
155
|
var planPeople = /* @__PURE__ */ __name((database, snapshot, mappings, bindings, conflicts) => {
|
|
156
156
|
const creatable = /* @__PURE__ */ new Set();
|
|
157
157
|
let people = 0, identities = 0;
|
|
@@ -214,11 +214,11 @@ var copyPeople = /* @__PURE__ */ __name((database, snapshot, mappings, now) => {
|
|
|
214
214
|
}
|
|
215
215
|
}, "copyPeople");
|
|
216
216
|
|
|
217
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
217
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/store/document-transfer/digest.js
|
|
218
218
|
import { createHash } from "node:crypto";
|
|
219
219
|
var digest = /* @__PURE__ */ __name((value) => createHash("sha256").update(JSON.stringify(value)).digest("hex"), "digest");
|
|
220
220
|
|
|
221
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
221
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/collection.js
|
|
222
222
|
var documentsKeyOf = /* @__PURE__ */ __name((collection) => {
|
|
223
223
|
const colon = collection.indexOf(":");
|
|
224
224
|
const provider = collection.slice(0, colon);
|
|
@@ -262,7 +262,7 @@ var currentCollection = /* @__PURE__ */ __name((row) => {
|
|
|
262
262
|
};
|
|
263
263
|
}, "currentCollection");
|
|
264
264
|
|
|
265
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
265
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/plan.js
|
|
266
266
|
var planTransfer = /* @__PURE__ */ __name((database, snapshot, sourceKey, bindings) => {
|
|
267
267
|
const mappings = /* @__PURE__ */ new Map();
|
|
268
268
|
const missing = /* @__PURE__ */ new Set(), conflicts = /* @__PURE__ */ new Set();
|
|
@@ -429,7 +429,7 @@ var planTransfer = /* @__PURE__ */ __name((database, snapshot, sourceKey, bindin
|
|
|
429
429
|
};
|
|
430
430
|
}, "planTransfer");
|
|
431
431
|
|
|
432
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
432
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/snapshot.js
|
|
433
433
|
var TRANSFER_TABLES = { document: "documents", note: "notes", memory: "memories", fact: "facts" };
|
|
434
434
|
var MAX_ENTITIES = 1e3;
|
|
435
435
|
var MAX_AUXILIARY = 1e4;
|
|
@@ -591,7 +591,7 @@ var transferSnapshot = /* @__PURE__ */ __name((database, collection) => read(dat
|
|
|
591
591
|
};
|
|
592
592
|
}), "transferSnapshot");
|
|
593
593
|
|
|
594
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
594
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/apply.js
|
|
595
595
|
var providerHere = /* @__PURE__ */ __name(({ provider, name, settings }) => {
|
|
596
596
|
if (provider !== "folder" || String(name ?? "").startsWith("google-drive:"))
|
|
597
597
|
return provider ?? null;
|
|
@@ -763,7 +763,7 @@ var remapEntity = /* @__PURE__ */ __name((database, entity, id, mappings) => {
|
|
|
763
763
|
database.prepare(`UPDATE ${TRANSFER_TABLES[entity.kind]} SET ${columns.join(",")} WHERE id=?`).run(...values, id);
|
|
764
764
|
}, "remapEntity");
|
|
765
765
|
|
|
766
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
766
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
|
|
767
767
|
var locations = /* @__PURE__ */ __name((options) => {
|
|
768
768
|
for (const value of [options.source, options.destination, options.collection])
|
|
769
769
|
if (typeof value !== "string" || !value.trim())
|
|
@@ -865,7 +865,7 @@ var applyWith = /* @__PURE__ */ __name(async (location, options) => {
|
|
|
865
865
|
}
|
|
866
866
|
}, "applyWith");
|
|
867
867
|
|
|
868
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
868
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/store/health.js
|
|
869
869
|
import { existsSync, statSync as statSync2 } from "node:fs";
|
|
870
870
|
var JSON_COLUMNS = {
|
|
871
871
|
accounts: ["settings"],
|
|
@@ -1007,7 +1007,7 @@ var storeHealth = /* @__PURE__ */ __name(async (path, { deep = false } = {}) =>
|
|
|
1007
1007
|
}
|
|
1008
1008
|
}, "storeHealth");
|
|
1009
1009
|
|
|
1010
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1010
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/store/project-transfer/preview.js
|
|
1011
1011
|
var previewProjectAnnotationSnapshot = /* @__PURE__ */ __name(async (options) => {
|
|
1012
1012
|
if (!options || typeof options !== "object" || Array.isArray(options))
|
|
1013
1013
|
throw new CliError("validation_error", "project preview options are required");
|
|
@@ -1033,7 +1033,7 @@ var previewProjectAnnotationSnapshot = /* @__PURE__ */ __name(async (options) =>
|
|
|
1033
1033
|
});
|
|
1034
1034
|
}, "previewProjectAnnotationSnapshot");
|
|
1035
1035
|
|
|
1036
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1036
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/store/project-transfer/snapshot.js
|
|
1037
1037
|
var snapshotProjectAnnotations = /* @__PURE__ */ __name(async (options) => {
|
|
1038
1038
|
if (!options || typeof options !== "object" || Array.isArray(options))
|
|
1039
1039
|
throw new CliError("validation_error", "snapshot options are required");
|
|
@@ -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.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/input-policy.js
|
|
11
11
|
var MAX_BUFFERED_INPUT = 16 * 1024 * 1024;
|
|
12
12
|
var MAX_SECRET_INPUT = 64 * 1024;
|
|
13
13
|
var policies = /* @__PURE__ */ new WeakMap();
|
|
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
commandPathOf,
|
|
5
5
|
outputOf
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-DSUOYJUL.js";
|
|
7
7
|
import {
|
|
8
8
|
wrapAnsi
|
|
9
9
|
} from "./chunk-HTQTIKWP.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
environmentOf,
|
|
18
18
|
metaOf,
|
|
19
19
|
takesProfile
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-OCUKQRJ3.js";
|
|
21
21
|
import {
|
|
22
22
|
writes
|
|
23
23
|
} from "./chunk-ECZSYLSL.js";
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
__name
|
|
29
29
|
} from "./chunk-ZVVMGPBJ.js";
|
|
30
30
|
|
|
31
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
31
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
|
|
32
32
|
var ARGUMENT_KINDS = {
|
|
33
33
|
chat: "chat",
|
|
34
34
|
chats: "chat",
|
|
@@ -221,7 +221,7 @@ var installCommandHelp = /* @__PURE__ */ __name((program, { profile = true } = {
|
|
|
221
221
|
command.addHelpText("after", () => commandHelpText(command));
|
|
222
222
|
}, "installCommandHelp");
|
|
223
223
|
|
|
224
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
224
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
|
|
225
225
|
var WIRECAT_TOOLS = [
|
|
226
226
|
{
|
|
227
227
|
command: "tg",
|