@wirecat/mail-cli 0.23.1 → 0.24.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 +10 -0
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/{all-profiles-FJHJCGRU.js → all-profiles-VS7P6DJY.js} +11 -11
- package/dist/bundle/{anthropic-AFL7NKVZ.js → anthropic-C5JXKGBS.js} +16 -7
- package/dist/bundle/{app-server-WKCBJMHI.js → app-server-HU3LVU42.js} +51 -50
- package/dist/bundle/{bun-HQATAQJQ.js → bun-QLFX47WZ.js} +2 -2
- package/dist/bundle/{bun-sqlite-4ECAV7OU.js → bun-sqlite-W4PGAKVY.js} +5 -5
- package/dist/bundle/{chunk-3UFD76IR.js → chunk-3FD3IATT.js} +6 -6
- package/dist/bundle/{chunk-R554W7ZO.js → chunk-3KSK5BBB.js} +2 -2
- package/dist/bundle/{chunk-AGNAT7CM.js → chunk-4QNHAM3J.js} +2 -2
- package/dist/bundle/{chunk-7SWWVDEZ.js → chunk-4W4EVVL4.js} +61 -21
- package/dist/bundle/{chunk-NMGF3UOZ.js → chunk-5NLHDK7P.js} +50 -46
- package/dist/bundle/{chunk-VFKX5UMJ.js → chunk-5X3GU5LI.js} +6 -6
- package/dist/bundle/{chunk-NKBAZ4VC.js → chunk-64ZG5ERD.js} +2 -2
- package/dist/bundle/{chunk-WN4HP7IZ.js → chunk-6PWCQKMD.js} +12 -12
- package/dist/bundle/{chunk-V3TDQUXD.js → chunk-6VV7J2TN.js} +36 -57
- package/dist/bundle/{chunk-SNTLN2QT.js → chunk-A6J4MPTI.js} +3 -1
- package/dist/bundle/{chunk-CUOCDJFI.js → chunk-AUTX2MLF.js} +11 -9
- package/dist/bundle/{chunk-5UKBUI4I.js → chunk-B72343TK.js} +2 -2
- package/dist/bundle/{chunk-4IWJARFA.js → chunk-BFQQV22T.js} +1 -1
- package/dist/bundle/chunk-C3NYJW6B.js +1542 -0
- package/dist/bundle/{chunk-OJCUSHZG.js → chunk-C5BMCLCQ.js} +4 -4
- package/dist/bundle/{chunk-OU5CWCG2.js → chunk-DW3F6DUW.js} +1 -1
- package/dist/bundle/chunk-EKGRNFYQ.js +18 -0
- package/dist/bundle/{chunk-B6QMMRIM.js → chunk-FKWUUCX2.js} +1340 -1542
- package/dist/bundle/{chunk-LLYVBO3R.js → chunk-FNLUKODV.js} +19 -19
- package/dist/bundle/{chunk-KKGX7JMX.js → chunk-H5FJTHVA.js} +2 -2
- package/dist/bundle/{chunk-3QVGB2CI.js → chunk-HBZAJINU.js} +4 -4
- package/dist/bundle/{chunk-V7CFZ773.js → chunk-IRUN4XOV.js} +2 -2
- package/dist/bundle/{chunk-VAMCRP47.js → chunk-JMLIKXFO.js} +2 -2
- package/dist/bundle/{chunk-QR7JZM3D.js → chunk-JOQGJUFT.js} +1 -1
- package/dist/bundle/{chunk-CBWA2T3N.js → chunk-JWMLMAHP.js} +4 -4
- package/dist/bundle/{chunk-S5OTP7XS.js → chunk-KGOVFEWZ.js} +3 -3
- package/dist/bundle/{chunk-PMIKRELC.js → chunk-KV4VTKF3.js} +3 -3
- package/dist/bundle/chunk-LVGX7VTD.js +138 -0
- package/dist/bundle/{chunk-3DQYO7FB.js → chunk-MCPOZNWG.js} +1 -1
- package/dist/bundle/{chunk-E7ZVKQHG.js → chunk-MTO6YVMN.js} +3 -3
- package/dist/bundle/{chunk-CCYHBNRL.js → chunk-NCRSE647.js} +286 -48
- package/dist/bundle/{chunk-GJNFNC76.js → chunk-NSIN5IM4.js} +8 -8
- package/dist/bundle/{chunk-ZXIPJF3Y.js → chunk-NWKKPDZV.js} +2 -2
- package/dist/bundle/chunk-O373QEAJ.js +1243 -0
- package/dist/bundle/{chunk-VYIIX6VN.js → chunk-OQW6GHUA.js} +1 -1
- package/dist/bundle/{chunk-2HXHAFRP.js → chunk-PRQ2U7HF.js} +2 -2
- package/dist/bundle/{chunk-MBKNL5TX.js → chunk-PT6MF2VU.js} +87 -77
- package/dist/bundle/{chunk-SBGXKM4U.js → chunk-Q4OKEN3B.js} +7 -7
- package/dist/bundle/{chunk-ROKTS7WM.js → chunk-Q6K2XUGU.js} +1 -1
- package/dist/bundle/{chunk-VYHIX3OP.js → chunk-QI3PXUOJ.js} +43 -595
- package/dist/bundle/{chunk-UMXVQIGD.js → chunk-QVMOEB3I.js} +377 -12
- package/dist/bundle/{chunk-HOKGIYUO.js → chunk-RLQZFZLK.js} +62 -7
- package/dist/bundle/{chunk-3OZKDC6Y.js → chunk-RN7OI5KL.js} +8 -8
- package/dist/bundle/{chunk-BVJQBAGL.js → chunk-RNZKQMFY.js} +14 -14
- package/dist/bundle/{chunk-4YJJQNNJ.js → chunk-RUASZW3M.js} +5 -5
- package/dist/bundle/{chunk-UHC5I3JV.js → chunk-RX5CJ55S.js} +1 -1
- package/dist/bundle/{chunk-SR3ADLGX.js → chunk-SWKQ6IAR.js} +3 -3
- package/dist/bundle/{chunk-QUKD5SO2.js → chunk-TI7ZIPA2.js} +4 -4
- package/dist/bundle/{chunk-LQDMUMA2.js → chunk-TLEBSMC7.js} +1997 -768
- package/dist/bundle/{chunk-MUDHCYN4.js → chunk-U6MMQNNK.js} +6 -6
- package/dist/bundle/{chunk-CYQVWITQ.js → chunk-VNKWSCN7.js} +99 -42
- package/dist/bundle/{chunk-DALBYUPC.js → chunk-VUBZFMGP.js} +2 -2
- package/dist/bundle/{chunk-34743C4C.js → chunk-VVL4MKYH.js} +1 -1
- package/dist/bundle/{chunk-7YRKUEYE.js → chunk-WOX7FZJP.js} +667 -222
- package/dist/bundle/{chunk-R5MYOLQP.js → chunk-X47BL4M5.js} +13 -13
- package/dist/bundle/{chunk-GOMJNH56.js → chunk-X7J3TTDO.js} +8 -8
- package/dist/bundle/{chunk-NOA6E6MM.js → chunk-XBEO472U.js} +29202 -16302
- package/dist/bundle/{chunk-4IFX4HV2.js → chunk-YA45XV6G.js} +4 -4
- package/dist/bundle/{chunk-M7RGG3UU.js → chunk-YBQ5AYLZ.js} +3 -3
- package/dist/bundle/{chunk-QV3M2MHG.js → chunk-YI544LHI.js} +13 -136
- package/dist/bundle/chunk-ZO4MQWIK.js +188 -0
- package/dist/bundle/{chunk-76RTQYJQ.js → chunk-ZR2BDNGG.js} +1 -1
- package/dist/bundle/command-contract-ERYYPAD2.js +35 -0
- package/dist/bundle/command-server-entry-5E3PPDE5.js +164 -0
- package/dist/bundle/{decode-QXKTMOTH.js → decode-AVWV7SVZ.js} +5 -5
- package/dist/bundle/{dispatch-G4CYFWQ2.js → dispatch-BXPHSNK5.js} +10 -10
- package/dist/bundle/{dist-5FX36DAW.js → dist-PIOOKBWT.js} +70 -44
- package/dist/bundle/{echarts-HHUM43TU.js → echarts-7K6YQV52.js} +2 -2
- package/dist/bundle/{embed-SRZSDZVI.js → embed-4NT76GJK.js} +6 -6
- package/dist/bundle/{embedder-WZIZCWLX.js → embedder-ITQFF7EN.js} +9 -9
- package/dist/bundle/{failure-FFPK2WYB.js → failure-3Q65JOPD.js} +2 -2
- package/dist/bundle/{first-run-6DVWZ3JQ.js → first-run-PM74YU4X.js} +11 -11
- package/dist/bundle/first-screen-WBVGVSMY.js +33 -0
- package/dist/bundle/{instructions-UWONE6UT.js → instructions-JDSITYHV.js} +1 -1
- package/dist/bundle/mail.js +37 -13
- package/dist/bundle/{mcp-CFVG2OUS.js → mcp-7KQUJNFN.js} +2 -2
- package/dist/bundle/{node-HLAOYJDB.js → node-D6YIJOJI.js} +2 -2
- package/dist/bundle/{node-sqlite-RO66I7W6.js → node-sqlite-PJOHHB4X.js} +6 -6
- package/dist/bundle/{oauth-VNLB2TET.js → oauth-BOWJ3IBT.js} +7 -7
- package/dist/bundle/{open-QQSG343L.js → open-FIAKKZMW.js} +5 -5
- package/dist/bundle/{openai-JTFC7OGF.js → openai-QL54VVLC.js} +16 -37
- package/dist/bundle/{process-3CZAXR6P.js → process-AYHK7WRC.js} +1 -1
- package/dist/bundle/{program-XTOS4RAM.js → program-6FKWOTBK.js} +2267 -1351
- package/dist/bundle/{prompt-HGQ6GPYL.js → prompt-XJZCBELC.js} +5 -5
- package/dist/bundle/{recognize-2SHMNEIZ.js → recognize-OQKWAHBY.js} +4 -4
- package/dist/bundle/{remote-GBQC3433.js → remote-NLVUZ5WK.js} +7 -7
- package/dist/bundle/{rerank-FQHQXFNR.js → rerank-NRPZDTJ7.js} +7 -7
- package/dist/bundle/{serve-THU67QUZ.js → serve-O4YUI7F6.js} +9 -9
- package/dist/bundle/server-6OT5ZEWL.js +66 -0
- package/dist/bundle/{server-LOT3CLYX.js → server-WAL3M4OO.js} +40 -40
- package/dist/bundle/{sqlite-runtime-NOOUMBC4.js → sqlite-runtime-5YHGI4D4.js} +6 -6
- package/dist/bundle/{state-KSKZCV2U.js → state-WYYOJ7KK.js} +6 -6
- package/dist/bundle/{store-BAKSHTKF.js → store-6BJO3F2J.js} +16 -16
- package/dist/bundle/{store-OHNZOQ7U.js → store-X72GOJHD.js} +44 -20
- package/dist/bundle/store-maintenance-command-ASS7RBYC.js +54 -0
- package/dist/config.d.ts +4 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/chunk-EXPR6QAX.js +0 -394
- package/dist/bundle/chunk-FWFNUJQD.js +0 -12172
- package/dist/bundle/command-contract-IIHBNF7J.js +0 -35
- package/dist/bundle/first-screen-SRZ7NYHZ.js +0 -33
- package/dist/bundle/server-VKMUX7ZT.js +0 -65
- package/dist/bundle/store-maintenance-command-ROQHJVEA.js +0 -54
- /package/dist/bundle/{chunk-QZLK2ISN.js → chunk-YVNHQFLC.js} +0 -0
|
@@ -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-VUBZFMGP.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.630.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_4dc2b7e09a64a37f199c7e635efe1b87/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.630.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_4dc2b7e09a64a37f199c7e635efe1b87/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.630.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_4dc2b7e09a64a37f199c7e635efe1b87/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.630.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_4dc2b7e09a64a37f199c7e635efe1b87/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.630.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_4dc2b7e09a64a37f199c7e635efe1b87/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.630.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_4dc2b7e09a64a37f199c7e635efe1b87/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.630.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_4dc2b7e09a64a37f199c7e635efe1b87/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.630.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_4dc2b7e09a64a37f199c7e635efe1b87/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.630.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_4dc2b7e09a64a37f199c7e635efe1b87/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.630.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_4dc2b7e09a64a37f199c7e635efe1b87/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.630.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_4dc2b7e09a64a37f199c7e635efe1b87/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.630.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_4dc2b7e09a64a37f199c7e635efe1b87/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(/^\.+/, "");
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
errorCodes,
|
|
5
5
|
isCliError,
|
|
6
6
|
visibleControls
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VUBZFMGP.js";
|
|
8
8
|
import {
|
|
9
9
|
__name
|
|
10
10
|
} from "./chunk-ZVVMGPBJ.js";
|
|
11
11
|
|
|
12
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
12
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/exit-codes.js
|
|
13
13
|
var EXIT_CODES = {
|
|
14
14
|
validation_error: 2,
|
|
15
15
|
configuration_error: 3,
|
|
@@ -1334,7 +1334,7 @@ function unwrap(schema) {
|
|
|
1334
1334
|
}
|
|
1335
1335
|
__name(unwrap, "unwrap");
|
|
1336
1336
|
|
|
1337
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1337
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/effects.js
|
|
1338
1338
|
var EFFECT_LEVELS = ["none", "read", "write"];
|
|
1339
1339
|
var effectsSchema = strictObject({
|
|
1340
1340
|
remote: picklist(EFFECT_LEVELS),
|
|
@@ -1971,7 +1971,7 @@ function toStandardJsonSchema(schema) {
|
|
|
1971
1971
|
}
|
|
1972
1972
|
__name(toStandardJsonSchema, "toStandardJsonSchema");
|
|
1973
1973
|
|
|
1974
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1974
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/registry.js
|
|
1975
1975
|
var word = pipe(string(), regex(/^[a-z][a-z0-9]*(-[a-z0-9]+)*$/, "a lower-case word, words joined by -"));
|
|
1976
1976
|
var SNAKE_CASE = /^[a-z][a-z0-9]*(_[a-z0-9]+)*$/;
|
|
1977
1977
|
var text = pipe(string(), regex(/\S/, "must not be empty"));
|
|
@@ -2013,7 +2013,7 @@ var fill = /* @__PURE__ */ __name((template, values) => template.replace(PLACEHO
|
|
|
2013
2013
|
return String(value);
|
|
2014
2014
|
}), "fill");
|
|
2015
2015
|
|
|
2016
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2016
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/output.js
|
|
2017
2017
|
var MAX_NEXT_STEPS = 2;
|
|
2018
2018
|
var COMPACT_FLAG = "--compact";
|
|
2019
2019
|
var isoTime = pipe(string(), isoTimestamp("an ISO 8601 time in UTC"), endsWith("Z", "an ISO 8601 time in UTC, ending in `Z`"));
|
|
@@ -2125,7 +2125,7 @@ var jsonlOf = /* @__PURE__ */ __name(({ items, page, meta }) => [
|
|
|
2125
2125
|
JSON.stringify({ type: "end", complete: meta.complete, ...meta.issues ? { issues: meta.issues } : {}, page })
|
|
2126
2126
|
].join("\n"), "jsonlOf");
|
|
2127
2127
|
|
|
2128
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2128
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/errors.js
|
|
2129
2129
|
var CRASH_CODE = "internal_error";
|
|
2130
2130
|
var CRASH_REASON = "command.crashed";
|
|
2131
2131
|
var errorObjectSchema = strictObject({
|
|
@@ -2218,7 +2218,7 @@ var BASE_REASONS = defineReasons([
|
|
|
2218
2218
|
{ reason: CRASH_REASON, code: CRASH_CODE, message: "the command failed; this is a bug", details: [] }
|
|
2219
2219
|
]);
|
|
2220
2220
|
|
|
2221
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2221
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/steps.js
|
|
2222
2222
|
var SAME_COMMAND = "*";
|
|
2223
2223
|
var commandPath = pipe(string(), regex(/^[a-z][a-z0-9-]*( [a-z][a-z0-9-]*)*$/, "a command path such as `messages sync`"));
|
|
2224
2224
|
var stepSchema = union([
|
|
@@ -2297,7 +2297,7 @@ var STEPS = defineSteps([
|
|
|
2297
2297
|
}
|
|
2298
2298
|
]);
|
|
2299
2299
|
|
|
2300
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2300
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/failure.js
|
|
2301
2301
|
var recognise = /* @__PURE__ */ __name((failure) => {
|
|
2302
2302
|
if (isCliError(failure))
|
|
2303
2303
|
return failure;
|