@wirecat/mail-cli 0.33.0 → 0.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/contracts/wirecat.json +2 -2
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/{all-profiles-W3CGXEEJ.js → all-profiles-2KUKROHY.js} +10 -10
- package/dist/bundle/{anthropic-UMDO5AKP.js → anthropic-E5KRCEVC.js} +8 -8
- package/dist/bundle/{app-server-4SICQ5RP.js → app-server-HIQ3QO5K.js} +60 -52
- package/dist/bundle/{bun-QVVCH4MJ.js → bun-KARJPE5D.js} +2 -2
- package/dist/bundle/{bun-sqlite-CHD4AIUK.js → bun-sqlite-NHGX6ZUN.js} +6 -6
- package/dist/bundle/{chunk-TK77DCE5.js → chunk-26DYRMXE.js} +1 -1
- package/dist/bundle/{chunk-JADBHKBP.js → chunk-2GDLJKPT.js} +1 -1
- package/dist/bundle/{chunk-JUYUWMTG.js → chunk-2SCQ7Z4I.js} +4 -4
- package/dist/bundle/{chunk-Y2P2LC5R.js → chunk-2VBEBPGX.js} +9 -9
- package/dist/bundle/{chunk-OOYIPK4F.js → chunk-4SKE5GYA.js} +1 -1
- package/dist/bundle/{chunk-H46MANPR.js → chunk-4URI6EAV.js} +3 -3
- package/dist/bundle/chunk-4VHK5UBM.js +170 -0
- package/dist/bundle/{chunk-L3MKFI3Y.js → chunk-4VM3UCSO.js} +2 -2
- package/dist/bundle/chunk-5GANGHQI.js +721 -0
- package/dist/bundle/{chunk-AEKWEYIG.js → chunk-6G4VQFVX.js} +19 -19
- package/dist/bundle/{chunk-KLLT572M.js → chunk-6GGMFL7J.js} +3 -3
- package/dist/bundle/{chunk-UYZDH5LK.js → chunk-6LFRZDPV.js} +1 -1
- package/dist/bundle/{chunk-LB5FTCPZ.js → chunk-A2Y2RFNW.js} +75 -10
- package/dist/bundle/{chunk-35AH33VJ.js → chunk-AGZ7SNFF.js} +1 -1
- package/dist/bundle/chunk-CKVWAUBW.js +787 -0
- package/dist/bundle/{chunk-QN423PC6.js → chunk-DYQGEZA2.js} +3 -3
- package/dist/bundle/{chunk-BF73DBAA.js → chunk-DZRP4UCK.js} +13 -13
- package/dist/bundle/{chunk-CZ6ZXDSO.js → chunk-EGQJDEFY.js} +74 -36
- package/dist/bundle/{chunk-BRRHYXUP.js → chunk-EZAX77SM.js} +20 -20
- package/dist/bundle/{chunk-47YNANPZ.js → chunk-FNYWC6A3.js} +2 -2
- package/dist/bundle/chunk-FORAOCZ3.js +334 -0
- package/dist/bundle/{chunk-EW3JFV7J.js → chunk-H77ALM2Y.js} +4 -4
- package/dist/bundle/{chunk-OWAJN74H.js → chunk-HH647UBC.js} +23 -23
- package/dist/bundle/{chunk-74BYHR44.js → chunk-HRDCH2VB.js} +620 -622
- package/dist/bundle/{chunk-SDWYOYGN.js → chunk-I3MS74OF.js} +4 -4
- package/dist/bundle/{chunk-FSMCXQH2.js → chunk-IMQ4CVZJ.js} +2 -2
- package/dist/bundle/{chunk-XN5KH24X.js → chunk-JVGVLRBA.js} +5 -5
- package/dist/bundle/{chunk-MNJ3BMPZ.js → chunk-KF6O4RZO.js} +3 -3
- package/dist/bundle/{chunk-UX76GMQM.js → chunk-KGYK3OI3.js} +6 -6
- package/dist/bundle/{chunk-BZY5W35X.js → chunk-KLI5FKZ2.js} +7 -7
- package/dist/bundle/chunk-KNVTBDTE.js +72 -0
- package/dist/bundle/{chunk-SW7YGW3T.js → chunk-LKTDW5LH.js} +7 -7
- package/dist/bundle/{chunk-UWF3SSRL.js → chunk-LOSYDRJU.js} +28 -8
- package/dist/bundle/{chunk-MT7T5N2N.js → chunk-MDISZMK4.js} +4 -4
- package/dist/bundle/{chunk-CIG4UVP6.js → chunk-MGXYIVVJ.js} +14 -13
- package/dist/bundle/{chunk-2BFXHCZW.js → chunk-NAENYLIO.js} +2 -2
- package/dist/bundle/{chunk-LXAX6AZU.js → chunk-NHD5BOJU.js} +6 -6
- package/dist/bundle/{chunk-IPSLQX64.js → chunk-NI4GCP2T.js} +2 -2
- package/dist/bundle/{chunk-CHNNKHLL.js → chunk-NJVJH5MH.js} +1206 -1544
- package/dist/bundle/{chunk-S6CHYNFE.js → chunk-NWD7AFOR.js} +2 -2
- package/dist/bundle/{chunk-7OYZU5SP.js → chunk-NXERDBEK.js} +4 -4
- package/dist/bundle/{chunk-2L6D54BR.js → chunk-OG5QO5RR.js} +8 -8
- package/dist/bundle/{chunk-2P44S7XK.js → chunk-OJ3BI2U4.js} +26 -24
- package/dist/bundle/chunk-OOYRMTX5.js +374 -0
- package/dist/bundle/{chunk-I3UAD4EI.js → chunk-OX5MCGXL.js} +40 -40
- package/dist/bundle/{chunk-LACMDMDI.js → chunk-PA4GEJXQ.js} +9 -9
- package/dist/bundle/{chunk-RENCSP47.js → chunk-PC3N3LH3.js} +3 -3
- package/dist/bundle/{chunk-UG2QDGAH.js → chunk-PRDKEVUL.js} +1 -1
- package/dist/bundle/{chunk-2X344EUT.js → chunk-PVZMN3UZ.js} +8 -8
- package/dist/bundle/{chunk-GZYICXO4.js → chunk-QFJC6POK.js} +1 -1
- package/dist/bundle/{chunk-OFMYFFEF.js → chunk-QOQF2TX3.js} +487 -1144
- package/dist/bundle/{chunk-BI5P7JWM.js → chunk-QQGPV3QN.js} +2 -2
- package/dist/bundle/{chunk-LXUHYDNE.js → chunk-QXLYLVEC.js} +1 -1
- package/dist/bundle/chunk-QXYNDMA6.js +259 -0
- package/dist/bundle/{chunk-HFFHL7SV.js → chunk-R2GS3GBJ.js} +61 -59
- package/dist/bundle/{chunk-LFBD6RTX.js → chunk-RPNQXWRS.js} +4 -4
- package/dist/bundle/{chunk-6IS4BEN4.js → chunk-SK3N4CK5.js} +4 -4
- package/dist/bundle/{chunk-JCQ47WR4.js → chunk-T2EE5M7O.js} +5 -5
- package/dist/bundle/{chunk-XQXYAOBV.js → chunk-TZJC4AOK.js} +26 -26
- package/dist/bundle/{chunk-LKGJMM6W.js → chunk-V43KEZYA.js} +9 -9
- package/dist/bundle/{chunk-SYUIAMVA.js → chunk-VBVR6JRC.js} +260 -516
- package/dist/bundle/{chunk-QO7BK4WD.js → chunk-VRGEDK4T.js} +8 -8
- package/dist/bundle/{chunk-DI74RP6R.js → chunk-WYGDALB3.js} +31 -85
- package/dist/bundle/{chunk-IBIFX2LK.js → chunk-X6IGETU6.js} +2 -2
- package/dist/bundle/{chunk-6VCQ4CTK.js → chunk-XIF75Z7D.js} +1 -1
- package/dist/bundle/chunk-XWU3A7H6.js +29 -0
- package/dist/bundle/{chunk-TBZLGT7R.js → chunk-YWX5X5RI.js} +19 -117
- package/dist/bundle/{chunk-RXUVXAMM.js → chunk-Z6A6QPPW.js} +1 -1
- package/dist/bundle/{chunk-UAV74EY4.js → chunk-ZGZADWD7.js} +1 -1
- package/dist/bundle/{chunk-MJ7DUSHT.js → chunk-ZZEWQR43.js} +18 -14
- package/dist/bundle/command-contract-PZ7VOOXP.js +39 -0
- package/dist/bundle/{command-server-entry-G2ZHCN5J.js → command-server-entry-NF45UPEV.js} +28 -25
- package/dist/bundle/decode-DUZA3EHC.js +296 -0
- package/dist/bundle/{dispatch-RHIK22OA.js → dispatch-CDJZAMVP.js} +8 -8
- package/dist/bundle/{dist-X5G2IMYG.js → dist-RH7EMC4J.js} +29 -24
- package/dist/bundle/{echarts-UZJ6AREV.js → echarts-GZHZBNRA.js} +2 -2
- package/dist/bundle/{embed-FEXLUH3T.js → embed-VE3CSJN4.js} +6 -6
- package/dist/bundle/{embedder-NHQARKFJ.js → embedder-DSJ77DX5.js} +9 -9
- package/dist/bundle/{failure-7DIA4OET.js → failure-YH6HAGFT.js} +2 -2
- package/dist/bundle/{first-run-PS5NR2QG.js → first-run-3L7HLYTI.js} +12 -12
- package/dist/bundle/first-screen-MY5KID77.js +37 -0
- package/dist/bundle/{instructions-SDDUBGH4.js → instructions-OZK3BLIO.js} +1 -1
- package/dist/bundle/mail.js +12 -12
- package/dist/bundle/{mcp-GN4FTJX5.js → mcp-YUG4YR4R.js} +2 -2
- package/dist/bundle/meeting-combined-RYMUPY54.js +24 -0
- package/dist/bundle/meeting-model-U7LW5WEN.js +24 -0
- package/dist/bundle/meeting-semantic-64IOIQRR.js +21 -0
- package/dist/bundle/{node-ELCNUOCE.js → node-OS3VWBUZ.js} +2 -2
- package/dist/bundle/{node-sqlite-2E5MKZMH.js → node-sqlite-RQ623VFA.js} +7 -7
- package/dist/bundle/{oauth-JGPEIY3M.js → oauth-CBPAG734.js} +7 -7
- package/dist/bundle/{open-6DEMCZAB.js → open-H4DGOMBC.js} +5 -5
- package/dist/bundle/{openai-IVKDU5AH.js → openai-EMWRGR54.js} +28 -26
- package/dist/bundle/{process-67DAKAAQ.js → process-3TOIYASI.js} +1 -1
- package/dist/bundle/{program-ESJDQMAJ.js → program-WA6RGAJL.js} +3075 -2024
- package/dist/bundle/{prompt-ZBWOT5KG.js → prompt-22KNCMBI.js} +5 -5
- package/dist/bundle/{recognize-UUBH2DOH.js → recognize-UWD4RSCZ.js} +4 -4
- package/dist/bundle/{remote-UYTNWNOB.js → remote-LJY7MF2E.js} +9 -9
- package/dist/bundle/{rerank-X2633CQN.js → rerank-JJ6KNJFB.js} +7 -7
- package/dist/bundle/{serve-CP7Q4OVW.js → serve-3EPLJYVZ.js} +9 -9
- package/dist/bundle/{server-I7MXRSAG.js → server-5JOFO4V4.js} +52 -44
- package/dist/bundle/server-EOQNS7B7.js +75 -0
- package/dist/bundle/{sqlite-runtime-BX55LI5G.js → sqlite-runtime-MGJA5E27.js} +6 -6
- package/dist/bundle/{state-LLNJQXFH.js → state-UCRDOWOP.js} +6 -6
- package/dist/bundle/{store-K4KU5N75.js → store-265VRRQV.js} +25 -20
- package/dist/bundle/{store-N27XI3VV.js → store-HS272YSA.js} +21 -17
- package/dist/bundle/store-maintenance-command-IKZM5NRP.js +66 -0
- package/dist/config.d.ts +1 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/identity.d.ts.map +1 -1
- package/dist/identity.js +2 -2
- package/dist/identity.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-NRNQAFFE.js +0 -36
- package/dist/bundle/decode-U6V6D6XH.js +0 -162
- package/dist/bundle/first-screen-C2WTLOG2.js +0 -34
- package/dist/bundle/server-QGTMJ7SF.js +0 -67
- package/dist/bundle/store-maintenance-command-VPAFQCNA.js +0 -58
- /package/dist/bundle/{chunk-BDCC2J2Z.js → chunk-FEBUZHU3.js} +0 -0
|
@@ -4,15 +4,15 @@ import {
|
|
|
4
4
|
MAX_SECRET_INPUT,
|
|
5
5
|
bufferedInput,
|
|
6
6
|
inputPolicy
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-NWD7AFOR.js";
|
|
8
8
|
import {
|
|
9
9
|
CliError
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QQGPV3QN.js";
|
|
11
11
|
import {
|
|
12
12
|
__name
|
|
13
13
|
} from "./chunk-ZVVMGPBJ.js";
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
|
|
16
16
|
import { createInterface } from "node:readline";
|
|
17
17
|
import { Writable } from "node:stream";
|
|
18
18
|
var EMPTY_TRIES = 3;
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
CliError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-QQGPV3QN.js";
|
|
6
6
|
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.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/files/ordinary-file.js
|
|
11
11
|
import { constants } from "node:fs";
|
|
12
12
|
import { lstat, open } from "node:fs/promises";
|
|
13
13
|
var deviceOf = /* @__PURE__ */ __name((dev) => process.platform === "win32" ? BigInt.asUintN(32, dev) : dev, "deviceOf");
|
|
@@ -73,7 +73,7 @@ var syncDirectory = /* @__PURE__ */ __name(async (path) => {
|
|
|
73
73
|
}
|
|
74
74
|
}, "syncDirectory");
|
|
75
75
|
|
|
76
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
76
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/files/atomic-write.js
|
|
77
77
|
import { randomUUID } from "node:crypto";
|
|
78
78
|
import { constants as constants2 } from "node:fs";
|
|
79
79
|
import { link, open as open2, realpath, rename, unlink } from "node:fs/promises";
|
|
@@ -111,7 +111,7 @@ var writeFileAtomic = /* @__PURE__ */ __name(async (path, content, { mode = 384,
|
|
|
111
111
|
}
|
|
112
112
|
}, "writeFileAtomic");
|
|
113
113
|
|
|
114
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
114
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/files/bounded-utf8.js
|
|
115
115
|
var readBoundedUtf8File = /* @__PURE__ */ __name(async (path, { maxBytes }) => {
|
|
116
116
|
if (!Number.isSafeInteger(maxBytes) || maxBytes < 1 || maxBytes > 16 * 1024 * 1024)
|
|
117
117
|
throw new CliError("validation_error", "file maxBytes takes 1\u201316777216 bytes");
|
|
@@ -140,21 +140,21 @@ var readBoundedUtf8File = /* @__PURE__ */ __name(async (path, { maxBytes }) => {
|
|
|
140
140
|
}
|
|
141
141
|
}, "readBoundedUtf8File");
|
|
142
142
|
|
|
143
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
143
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/files/lock.js
|
|
144
144
|
import { mkdir as mkdir2 } from "node:fs/promises";
|
|
145
145
|
import { basename as basename2, dirname as dirname2 } from "node:path";
|
|
146
146
|
|
|
147
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
147
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
|
|
148
148
|
import { randomUUID as randomUUID2 } from "node:crypto";
|
|
149
149
|
import { lstat as lstat3, mkdir, open as open3, realpath as realpath3, rmdir as rmdir2, unlink as unlink4 } from "node:fs/promises";
|
|
150
150
|
import { hostname as hostname2 } from "node:os";
|
|
151
151
|
import { join as join3 } from "node:path";
|
|
152
152
|
|
|
153
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
153
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
|
|
154
154
|
import { lstat as lstat2, readdir, realpath as realpath2, unlink as unlink2 } from "node:fs/promises";
|
|
155
155
|
import { join as join2 } from "node:path";
|
|
156
156
|
|
|
157
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
157
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/files/native-lease-owner.js
|
|
158
158
|
import { hostname } from "node:os";
|
|
159
159
|
var missingLeaseFile = /* @__PURE__ */ __name((error) => typeof error === "object" && error !== null && "code" in error && error.code === "ENOENT", "missingLeaseFile");
|
|
160
160
|
var readLeaseOwner = /* @__PURE__ */ __name(async (path, name, signal) => {
|
|
@@ -199,7 +199,7 @@ var leaseOwnerStatus = /* @__PURE__ */ __name((owner) => {
|
|
|
199
199
|
}
|
|
200
200
|
}, "leaseOwnerStatus");
|
|
201
201
|
|
|
202
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
202
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
|
|
203
203
|
var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
|
|
204
204
|
const inspect = /* @__PURE__ */ __name(async (destination, options = {}) => {
|
|
205
205
|
options.signal?.throwIfAborted();
|
|
@@ -258,7 +258,7 @@ var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
|
|
|
258
258
|
return { inspect, recover };
|
|
259
259
|
}, "leaseInspection");
|
|
260
260
|
|
|
261
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
261
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/files/native-lease-release.js
|
|
262
262
|
import { rmdir, unlink as unlink3 } from "node:fs/promises";
|
|
263
263
|
var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identity) => {
|
|
264
264
|
let releasing;
|
|
@@ -283,7 +283,7 @@ var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identi
|
|
|
283
283
|
};
|
|
284
284
|
}, "ownedNativeLease");
|
|
285
285
|
|
|
286
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
286
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
|
|
287
287
|
var validName = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length > 0 && value !== "." && value !== ".." && !/[\\/\0:]/.test(value), "validName");
|
|
288
288
|
var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
|
|
289
289
|
const { markerDirectory, legacyMarker } = layout;
|
|
@@ -354,7 +354,7 @@ var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
|
|
|
354
354
|
};
|
|
355
355
|
}, "nativeWriterLeaseStore");
|
|
356
356
|
|
|
357
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
357
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/files/lock.js
|
|
358
358
|
var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
|
|
359
359
|
const folder = dirname2(path);
|
|
360
360
|
await mkdir2(folder, { recursive: true, mode: 448 });
|
|
@@ -369,7 +369,7 @@ var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
|
|
|
369
369
|
});
|
|
370
370
|
}, "acquireLock");
|
|
371
371
|
|
|
372
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
372
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/files/safe-name.js
|
|
373
373
|
import { basename as basename3 } from "node:path";
|
|
374
374
|
var safeName = /* @__PURE__ */ __name((name, platform = process.platform) => {
|
|
375
375
|
let plain = name === void 0 ? "" : basename3(name.replaceAll("\\", "/")).replace(/[\p{Cc}---]/gu, "").replace(/^\.+/, "");
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
agentArguments,
|
|
7
7
|
agentJson,
|
|
8
8
|
commandAvailability
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HH647UBC.js";
|
|
10
10
|
import {
|
|
11
11
|
failureContext
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-A2Y2RFNW.js";
|
|
13
13
|
import {
|
|
14
14
|
callerOf
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-6GGMFL7J.js";
|
|
16
16
|
import {
|
|
17
17
|
QUERY_ARGUMENT,
|
|
18
18
|
lentConnection,
|
|
@@ -20,10 +20,7 @@ import {
|
|
|
20
20
|
refuseLacking,
|
|
21
21
|
servicesFor,
|
|
22
22
|
storeModeDeps
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import {
|
|
25
|
-
MAX_BUFFERED_INPUT
|
|
26
|
-
} from "./chunk-S6CHYNFE.js";
|
|
23
|
+
} from "./chunk-HRDCH2VB.js";
|
|
27
24
|
import {
|
|
28
25
|
DEFAULT_OUTPUT_BYTES,
|
|
29
26
|
ENTITIES,
|
|
@@ -38,7 +35,7 @@ import {
|
|
|
38
35
|
refuseStoreChange,
|
|
39
36
|
sealed,
|
|
40
37
|
startRecording
|
|
41
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-VBVR6JRC.js";
|
|
42
39
|
import {
|
|
43
40
|
authorityAllowed,
|
|
44
41
|
botApiAllowed,
|
|
@@ -46,29 +43,32 @@ import {
|
|
|
46
43
|
keyForCommand,
|
|
47
44
|
levelFor,
|
|
48
45
|
readKeysForCommand
|
|
49
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-LKTDW5LH.js";
|
|
50
47
|
import {
|
|
51
48
|
currentCaller,
|
|
52
49
|
keepsSuccess,
|
|
53
50
|
runContextOf,
|
|
54
51
|
withCaller
|
|
55
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-PVZMN3UZ.js";
|
|
53
|
+
import {
|
|
54
|
+
MAX_BUFFERED_INPUT
|
|
55
|
+
} from "./chunk-NWD7AFOR.js";
|
|
56
56
|
import {
|
|
57
57
|
enclosingTraceId,
|
|
58
58
|
inRun,
|
|
59
59
|
newRunId,
|
|
60
60
|
traceOf
|
|
61
|
-
} from "./chunk-
|
|
62
|
-
import {
|
|
63
|
-
queryDescription
|
|
64
|
-
} from "./chunk-OFMYFFEF.js";
|
|
61
|
+
} from "./chunk-TZJC4AOK.js";
|
|
65
62
|
import {
|
|
66
63
|
storeDamaged
|
|
67
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-4VM3UCSO.js";
|
|
65
|
+
import {
|
|
66
|
+
queryDescription
|
|
67
|
+
} from "./chunk-QOQF2TX3.js";
|
|
68
68
|
import {
|
|
69
69
|
captureStreams,
|
|
70
70
|
traceIdOf
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-EZAX77SM.js";
|
|
72
72
|
import {
|
|
73
73
|
COMPACT_FLAG,
|
|
74
74
|
SNAKE_CASE,
|
|
@@ -107,19 +107,19 @@ import {
|
|
|
107
107
|
unknown,
|
|
108
108
|
word,
|
|
109
109
|
writes
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-LOSYDRJU.js";
|
|
111
111
|
import {
|
|
112
112
|
CliError,
|
|
113
113
|
errorCodes
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-QQGPV3QN.js";
|
|
115
115
|
import {
|
|
116
116
|
__name
|
|
117
117
|
} from "./chunk-ZVVMGPBJ.js";
|
|
118
118
|
|
|
119
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
119
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
120
120
|
import { Readable } from "node:stream";
|
|
121
121
|
|
|
122
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
122
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/lint.js
|
|
123
123
|
var LINT_SEVERITIES = ["high", "medium", "low"];
|
|
124
124
|
var lintRuleSchema = strictObject({
|
|
125
125
|
id: word,
|
|
@@ -265,7 +265,7 @@ var overrideSchema = strictObject({
|
|
|
265
265
|
});
|
|
266
266
|
var overridesSchema = array(overrideSchema);
|
|
267
267
|
|
|
268
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
268
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/audit.js
|
|
269
269
|
var auditRuleSchema = strictObject({ id: word, severity: picklist(LINT_SEVERITIES), summary: text });
|
|
270
270
|
var defineAuditRules = /* @__PURE__ */ __name((input) => parseRegistry("audit rules", array(auditRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineAuditRules");
|
|
271
271
|
var AUDIT_RULES = defineAuditRules([
|
|
@@ -415,7 +415,7 @@ var REQUIRED_ROOTS = defineRequiredRoots([
|
|
|
415
415
|
{ path: ["upgrade"], meaning: "updates the CLI" }
|
|
416
416
|
]);
|
|
417
417
|
|
|
418
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
418
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/fields.js
|
|
419
419
|
var fieldRuleSchema = strictObject({ id: word, rule: text });
|
|
420
420
|
var defineFieldRules = /* @__PURE__ */ __name((input) => parseRegistry("output field rules", array(fieldRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineFieldRules");
|
|
421
421
|
var FIELD_RULES = defineFieldRules([
|
|
@@ -431,7 +431,7 @@ var FIELD_RULES = defineFieldRules([
|
|
|
431
431
|
}
|
|
432
432
|
]);
|
|
433
433
|
|
|
434
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
434
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/identifiers.js
|
|
435
435
|
var key = pipe(string(), regex(SNAKE_CASE, "a snake_case key"));
|
|
436
436
|
var identifierSchema = strictObject({ key, meaning: text, replaces: optional(array(key)) });
|
|
437
437
|
var defineIdentifiers = /* @__PURE__ */ __name((input) => parseRegistry("identifiers", array(identifierSchema), input, (identifiers) => {
|
|
@@ -453,7 +453,7 @@ var IDENTIFIERS = defineIdentifiers([
|
|
|
453
453
|
{ key: "trace_id", meaning: "the distributed trace a run belongs to, from `traceparent`" }
|
|
454
454
|
]);
|
|
455
455
|
|
|
456
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
456
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-account.js
|
|
457
457
|
var ACCOUNT_FLAGS = [
|
|
458
458
|
{
|
|
459
459
|
name: "--client-id",
|
|
@@ -490,7 +490,7 @@ var ACCOUNT_FLAGS = [
|
|
|
490
490
|
{ name: "--hide-phone", role: "output", type: "switch", meaning: "leave the phone number out of the answer" }
|
|
491
491
|
];
|
|
492
492
|
|
|
493
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
493
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-calendar.js
|
|
494
494
|
var CALENDAR_FLAGS = [
|
|
495
495
|
{ name: "--end-time", value: "<time>", role: "value", type: "time", meaning: "when it ends" },
|
|
496
496
|
{
|
|
@@ -522,6 +522,13 @@ var CALENDAR_FLAGS = [
|
|
|
522
522
|
type: "string",
|
|
523
523
|
meaning: "one of the service's own settings, such as a meeting's waiting room; repeat it for more"
|
|
524
524
|
},
|
|
525
|
+
{
|
|
526
|
+
name: "--conference",
|
|
527
|
+
value: "<service>",
|
|
528
|
+
role: "value",
|
|
529
|
+
type: "string",
|
|
530
|
+
meaning: "the video meeting service that gives the event a new meeting link, such as google-meet"
|
|
531
|
+
},
|
|
525
532
|
{
|
|
526
533
|
name: "--id",
|
|
527
534
|
value: "<id>",
|
|
@@ -571,8 +578,22 @@ var CALENDAR_FLAGS = [
|
|
|
571
578
|
}
|
|
572
579
|
];
|
|
573
580
|
|
|
574
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
581
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-crm.js
|
|
575
582
|
var CRM_FLAGS = [
|
|
583
|
+
{
|
|
584
|
+
name: "--email",
|
|
585
|
+
value: "<address>",
|
|
586
|
+
role: "value",
|
|
587
|
+
type: "string",
|
|
588
|
+
meaning: "an e-mail address to give it; repeat it for more"
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
name: "--phone",
|
|
592
|
+
value: "<phone>",
|
|
593
|
+
role: "value",
|
|
594
|
+
type: "string",
|
|
595
|
+
meaning: "a phone number to give it, in international form starting with +; repeat it for more"
|
|
596
|
+
},
|
|
576
597
|
{
|
|
577
598
|
name: "--pipeline",
|
|
578
599
|
value: "<pipeline>",
|
|
@@ -721,7 +742,7 @@ var CRM_FLAGS = [
|
|
|
721
742
|
}
|
|
722
743
|
];
|
|
723
744
|
|
|
724
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
745
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-how.js
|
|
725
746
|
var HOW_FLAGS = [
|
|
726
747
|
{
|
|
727
748
|
name: "--limit",
|
|
@@ -1718,7 +1739,7 @@ var HOW_FLAGS = [
|
|
|
1718
1739
|
}
|
|
1719
1740
|
];
|
|
1720
1741
|
|
|
1721
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1742
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-knowledge.js
|
|
1722
1743
|
var KNOWLEDGE_FLAGS = [
|
|
1723
1744
|
{
|
|
1724
1745
|
name: "--accept-terms",
|
|
@@ -1753,10 +1774,24 @@ var KNOWLEDGE_FLAGS = [
|
|
|
1753
1774
|
type: "count",
|
|
1754
1775
|
meaning: "at most this many characters read",
|
|
1755
1776
|
unit: "characters"
|
|
1777
|
+
},
|
|
1778
|
+
{
|
|
1779
|
+
name: "--tag",
|
|
1780
|
+
value: "<name>",
|
|
1781
|
+
role: "target",
|
|
1782
|
+
type: "string",
|
|
1783
|
+
meaning: "a tag, by its name or an alias: only what carries it is read"
|
|
1784
|
+
},
|
|
1785
|
+
{
|
|
1786
|
+
name: "--matching",
|
|
1787
|
+
value: "<query>",
|
|
1788
|
+
role: "target",
|
|
1789
|
+
type: "string",
|
|
1790
|
+
meaning: "every stored thing a search with this query finds, in its query language; the command acts on each"
|
|
1756
1791
|
}
|
|
1757
1792
|
];
|
|
1758
1793
|
|
|
1759
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1794
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-mail.js
|
|
1760
1795
|
var MAIL_FLAGS = [
|
|
1761
1796
|
{
|
|
1762
1797
|
name: "--cc",
|
|
@@ -1786,7 +1821,7 @@ var MAIL_FLAGS = [
|
|
|
1786
1821
|
}
|
|
1787
1822
|
];
|
|
1788
1823
|
|
|
1789
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1824
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-privacy.js
|
|
1790
1825
|
var PRIVACY_FLAGS = [
|
|
1791
1826
|
{
|
|
1792
1827
|
name: "--about-text",
|
|
@@ -1847,7 +1882,7 @@ var PRIVACY_FLAGS = [
|
|
|
1847
1882
|
{ name: "--read-receipts", value: "<on|off>", role: "value", type: "choice", meaning: "send read receipts" }
|
|
1848
1883
|
];
|
|
1849
1884
|
|
|
1850
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1885
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-schedule.js
|
|
1851
1886
|
var SCHEDULE_FLAGS = [
|
|
1852
1887
|
{
|
|
1853
1888
|
name: "--locale",
|
|
@@ -1880,7 +1915,7 @@ var SCHEDULE_FLAGS = [
|
|
|
1880
1915
|
}
|
|
1881
1916
|
];
|
|
1882
1917
|
|
|
1883
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1918
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-what.js
|
|
1884
1919
|
var WHAT_FLAGS = [
|
|
1885
1920
|
{
|
|
1886
1921
|
name: "--analysis-provider",
|
|
@@ -2877,7 +2912,7 @@ var WHAT_FLAGS = [
|
|
|
2877
2912
|
}
|
|
2878
2913
|
];
|
|
2879
2914
|
|
|
2880
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2915
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/vocabulary.js
|
|
2881
2916
|
var FLAG_TYPES = [
|
|
2882
2917
|
"switch",
|
|
2883
2918
|
"count",
|
|
@@ -3150,6 +3185,8 @@ var collections = [
|
|
|
3150
3185
|
["splits", "parts of one transaction, each with its own amount and category"],
|
|
3151
3186
|
["users", "people who work in the owner's account at a service, such as a CRM's employees"],
|
|
3152
3187
|
["fields", "a record type's field definitions: code, label, type and options, such as a CRM's custom fields"],
|
|
3188
|
+
["activities", "a CRM's calls, e-mails, meetings, to-dos and comments on its records"],
|
|
3189
|
+
["changes", "what changed in a copied source over a time: records added, moved, closed or reassigned"],
|
|
3153
3190
|
[
|
|
3154
3191
|
"identities",
|
|
3155
3192
|
"ways to reach a person or an organization: an account in one messenger or mailbox, an e-mail address, a phone"
|
|
@@ -3162,6 +3199,7 @@ var collections = [
|
|
|
3162
3199
|
["files", "files in the source, such as Google Drive, read and changed there"],
|
|
3163
3200
|
["comments", "comments people left on a thing in the source: a channel post or a file"],
|
|
3164
3201
|
["meetings", "stored meetings, from Zoom or another provider"],
|
|
3202
|
+
["calls", "phone calls a phone system recorded, stored as meetings with their transcripts"],
|
|
3165
3203
|
["calendars", "calendars of an account, each synced or not"],
|
|
3166
3204
|
["events", "calendar entries: meetings, appointments and other things on a calendar"],
|
|
3167
3205
|
["people", "persons the owner deals with, such as the attendees of events"],
|
|
@@ -3296,7 +3334,7 @@ var VOCABULARY = defineVocabulary({
|
|
|
3296
3334
|
]
|
|
3297
3335
|
});
|
|
3298
3336
|
|
|
3299
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3337
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
3300
3338
|
var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
|
|
3301
3339
|
var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
|
|
3302
3340
|
var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
|
|
@@ -3523,7 +3561,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
|
|
|
3523
3561
|
}
|
|
3524
3562
|
}, "runCommandForAgent");
|
|
3525
3563
|
|
|
3526
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3564
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/mcp/tool.js
|
|
3527
3565
|
var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
|
|
3528
3566
|
var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
|
|
3529
3567
|
var message = pipe(
|
|
@@ -3782,7 +3820,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
|
|
|
3782
3820
|
return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(storeDamaged(error), context))));
|
|
3783
3821
|
}, "failed");
|
|
3784
3822
|
|
|
3785
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3823
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/mcp/surface.js
|
|
3786
3824
|
import { randomUUID } from "node:crypto";
|
|
3787
3825
|
var MATCHES = 8;
|
|
3788
3826
|
var ANSWER = answerSchema();
|
|
@@ -19,11 +19,11 @@ import {
|
|
|
19
19
|
string,
|
|
20
20
|
text,
|
|
21
21
|
unknown
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-LOSYDRJU.js";
|
|
23
23
|
import {
|
|
24
24
|
CliError,
|
|
25
25
|
visibleControls
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-QQGPV3QN.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@0.103.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@0.103.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
|
|
1974
1974
|
var DEFAULT_RETRY = {
|
|
1975
1975
|
retries: 1,
|
|
1976
1976
|
baseDelayMs: 250,
|
|
@@ -1982,7 +1982,7 @@ var backoffMs = /* @__PURE__ */ __name((attempt, config, random) => {
|
|
|
1982
1982
|
return Math.round(random() * ceiling);
|
|
1983
1983
|
}, "backoffMs");
|
|
1984
1984
|
|
|
1985
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1985
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.103.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
|
|
1986
1986
|
var forbidden = /* @__PURE__ */ new Set(["__proto__", "prototype", "constructor"]);
|
|
1987
1987
|
var validate = /* @__PURE__ */ __name((paths) => {
|
|
1988
1988
|
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))))
|
|
@@ -1994,7 +1994,7 @@ var fieldsOf = /* @__PURE__ */ __name((value) => {
|
|
|
1994
1994
|
return [...new Set(paths)];
|
|
1995
1995
|
}, "fieldsOf");
|
|
1996
1996
|
var object2 = /* @__PURE__ */ __name((value) => value !== null && typeof value === "object" && !Array.isArray(value), "object");
|
|
1997
|
-
var retained = /* @__PURE__ */ new Set(["operation_id", "page", "next", "missing", "meta", "coverage"]);
|
|
1997
|
+
var retained = /* @__PURE__ */ new Set(["operation_id", "page", "next", "missing", "meta", "coverage", "untrusted"]);
|
|
1998
1998
|
var itemPaths = /* @__PURE__ */ __name((paths) => paths.map((path) => path.startsWith("items.") ? path.slice(6) : path), "itemPaths");
|
|
1999
1999
|
var onePaths = /* @__PURE__ */ __name((paths) => paths.map((path) => path.startsWith("item.") ? path.slice(5) : path), "onePaths");
|
|
2000
2000
|
var select = /* @__PURE__ */ __name((value, paths) => {
|
|
@@ -2047,7 +2047,7 @@ var projectFields = /* @__PURE__ */ __name((value, fields) => {
|
|
|
2047
2047
|
return project(value, fields);
|
|
2048
2048
|
}, "projectFields");
|
|
2049
2049
|
|
|
2050
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2050
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.103.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
|
|
2051
2051
|
var BATCH_LIMITS = Object.freeze({
|
|
2052
2052
|
requests: 32,
|
|
2053
2053
|
input_bytes: 262144,
|
|
@@ -2174,7 +2174,7 @@ var runBatch = /* @__PURE__ */ __name(async (requests, options = {}) => {
|
|
|
2174
2174
|
};
|
|
2175
2175
|
}, "runBatch");
|
|
2176
2176
|
|
|
2177
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2177
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.103.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
|
|
2178
2178
|
import { randomBytes } from "node:crypto";
|
|
2179
2179
|
import { mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
2180
2180
|
import { dirname, join as join2 } from "node:path";
|
|
@@ -2218,7 +2218,7 @@ var saveConfigFile = /* @__PURE__ */ __name((path, config) => {
|
|
|
2218
2218
|
`, 384);
|
|
2219
2219
|
}, "saveConfigFile");
|
|
2220
2220
|
|
|
2221
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2221
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.103.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
|
|
2222
2222
|
import { fileURLToPath } from "node:url";
|
|
2223
2223
|
var BASE_CONSTANTS = new URL("../constants.json", new URL("constants.js", import.meta.resolve("@wirecat/cli-base")).href);
|
|
2224
2224
|
var baseConstantsSchema = object({});
|
|
@@ -2273,11 +2273,11 @@ var loadConstants = /* @__PURE__ */ __name((layers, schema) => {
|
|
|
2273
2273
|
return deepFreeze(result.output);
|
|
2274
2274
|
}, "loadConstants");
|
|
2275
2275
|
|
|
2276
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2276
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.103.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
|
|
2277
2277
|
import { readFileSync as readFileSync2 } from "node:fs";
|
|
2278
2278
|
import { join as join3, resolve } from "node:path";
|
|
2279
2279
|
|
|
2280
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2280
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.103.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
|
|
2281
2281
|
import { createRequire } from "node:module";
|
|
2282
2282
|
var ENTRY_OPTIONS = { linux: { store: "secret-service" } };
|
|
2283
2283
|
var require2 = createRequire(new URL("keyring.js", import.meta.resolve("@wirecat/cli-base")).href);
|
|
@@ -2303,7 +2303,7 @@ var systemKeyring = {
|
|
|
2303
2303
|
delete: /* @__PURE__ */ __name((service, account) => entry(service, account).deletePassword(), "delete")
|
|
2304
2304
|
};
|
|
2305
2305
|
|
|
2306
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2306
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.103.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
|
|
2307
2307
|
var keyringService = /* @__PURE__ */ __name((service, _configDir, _isolated) => service, "keyringService");
|
|
2308
2308
|
var movedRunService = /* @__PURE__ */ __name((service, configDir) => `${service}:${resolve(configDir)}`, "movedRunService");
|
|
2309
2309
|
var warnedRuns = /* @__PURE__ */ new WeakSet();
|
|
@@ -2439,7 +2439,7 @@ var Credentials = class {
|
|
|
2439
2439
|
}
|
|
2440
2440
|
};
|
|
2441
2441
|
|
|
2442
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2442
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.103.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
|
|
2443
2443
|
var abortError = /* @__PURE__ */ __name(() => new DOMException("The operation was aborted.", "AbortError"), "abortError");
|
|
2444
2444
|
var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, reject) => {
|
|
2445
2445
|
if (signal?.aborted) {
|
|
@@ -2453,10 +2453,10 @@ var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, re
|
|
|
2453
2453
|
}, { once: true });
|
|
2454
2454
|
}), "realSleep");
|
|
2455
2455
|
|
|
2456
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2456
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.103.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
|
|
2457
2457
|
import { appendFileSync } from "node:fs";
|
|
2458
2458
|
|
|
2459
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2459
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.103.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
|
|
2460
2460
|
var LOG_SEVERITIES = ["trace", "debug", "info", "warn", "error", "fatal"];
|
|
2461
2461
|
var logRecordSchema = strictObject({
|
|
2462
2462
|
time: isoTime,
|
|
@@ -2534,7 +2534,7 @@ var traceIdOf = /* @__PURE__ */ __name((traceparent) => {
|
|
|
2534
2534
|
return traceId;
|
|
2535
2535
|
}, "traceIdOf");
|
|
2536
2536
|
|
|
2537
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2537
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.103.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
|
|
2538
2538
|
var REDACTED_FIELDS = [
|
|
2539
2539
|
"authorization",
|
|
2540
2540
|
"Authorization",
|
|
@@ -2628,7 +2628,7 @@ var silent = {
|
|
|
2628
2628
|
}, "error")
|
|
2629
2629
|
};
|
|
2630
2630
|
|
|
2631
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2631
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.103.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
|
|
2632
2632
|
var import_cli_table3 = __toESM(require_cli_table3(), 1);
|
|
2633
2633
|
import { styleText } from "node:util";
|
|
2634
2634
|
var renderPretty = /* @__PURE__ */ __name((value, options) => {
|
|
@@ -2703,7 +2703,7 @@ var BORDERLESS = {
|
|
|
2703
2703
|
middle: ""
|
|
2704
2704
|
};
|
|
2705
2705
|
|
|
2706
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2706
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.103.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
|
|
2707
2707
|
var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
|
|
2708
2708
|
if (signal?.aborted)
|
|
2709
2709
|
return Promise.reject(signal.reason);
|
|
@@ -2731,7 +2731,7 @@ var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
|
|
|
2731
2731
|
});
|
|
2732
2732
|
}, "waitForDrain");
|
|
2733
2733
|
|
|
2734
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2734
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.103.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
|
|
2735
2735
|
var processStreams = {
|
|
2736
2736
|
drain: /* @__PURE__ */ __name(async (signal) => {
|
|
2737
2737
|
await Promise.all([waitForDrain(process.stdout, signal), waitForDrain(process.stderr, signal)]);
|
|
@@ -2760,7 +2760,7 @@ var captureStreams = /* @__PURE__ */ __name(() => {
|
|
|
2760
2760
|
};
|
|
2761
2761
|
}, "captureStreams");
|
|
2762
2762
|
|
|
2763
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2763
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.103.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
|
|
2764
2764
|
var createRenderer = /* @__PURE__ */ __name(({ format, color, streams = processStreams, quiet = false }) => {
|
|
2765
2765
|
const mark = /* @__PURE__ */ __name((symbol, message) => format === "pretty" ? `${symbol} ${visibleControls(message)}` : visibleControls(message), "mark");
|
|
2766
2766
|
const say = /* @__PURE__ */ __name((symbol) => (message) => {
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
ACCESS_SECONDS,
|
|
9
9
|
REFRESH_SECONDS,
|
|
10
10
|
readStored
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-NXERDBEK.js";
|
|
12
12
|
import {
|
|
13
13
|
__name
|
|
14
14
|
} from "./chunk-ZVVMGPBJ.js";
|
|
15
15
|
|
|
16
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.674.0_@wirecat+cli-base@0.103.0_commander@15.0.0_esbuild@0.28.2_typ_fc1e3fbb1256d0776f2342adda6f86ff/node_modules/@wirecat/cli-core/dist/mcp/http/oauth.js
|
|
17
17
|
import { createHash, randomBytes, randomInt, timingSafeEqual } from "node:crypto";
|
|
18
18
|
import { chmodSync, mkdirSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
19
19
|
import { dirname } from "node:path";
|