@wirecat/mail-cli 0.36.0 → 0.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +35 -0
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/agent-OU4K7TKQ.js +40 -0
- package/dist/bundle/{all-profiles-RS6OV3YO.js → all-profiles-ICGWDPUU.js} +11 -11
- package/dist/bundle/{anthropic-PPQ7DTXN.js → anthropic-TL4WFWGU.js} +5 -5
- package/dist/bundle/{app-server-EBFBMFQC.js → app-server-YAR5EFOO.js} +69 -67
- package/dist/bundle/{bun-J7HAT7MW.js → bun-OPDGMZZQ.js} +2 -2
- package/dist/bundle/{bun-sqlite-PCSNAXIQ.js → bun-sqlite-WI3ZPANS.js} +6 -6
- package/dist/bundle/{chunk-U3BO342P.js → chunk-2JHVQMVC.js} +1 -1
- package/dist/bundle/{chunk-JCILSTFK.js → chunk-2XBDILVW.js} +1 -1
- package/dist/bundle/{chunk-WZFGZBGD.js → chunk-2YO3PLOE.js} +19 -19
- package/dist/bundle/{chunk-KVFBSOCV.js → chunk-3DHJF57U.js} +9 -9
- package/dist/bundle/{chunk-NJZR3OFK.js → chunk-3HC5F3P7.js} +1 -1
- package/dist/bundle/{chunk-4WSTWZUB.js → chunk-3SKTQ2HC.js} +2 -2
- package/dist/bundle/{chunk-3NOXZZJV.js → chunk-3YM4B2GT.js} +1 -1
- package/dist/bundle/{chunk-L4QLZDBZ.js → chunk-3ZOOTTFW.js} +6 -6
- package/dist/bundle/{chunk-2UNZ3L2H.js → chunk-4FTIHADB.js} +6 -6
- package/dist/bundle/{chunk-KTVQIKU5.js → chunk-4IZ6R5FS.js} +19 -15
- package/dist/bundle/{chunk-6NDPOY4N.js → chunk-4N7PP76S.js} +1 -1
- package/dist/bundle/{chunk-KP7JHJVP.js → chunk-7HRKUKKY.js} +23 -23
- package/dist/bundle/{chunk-42XY6D5C.js → chunk-7PDGZFXD.js} +5 -5
- package/dist/bundle/{chunk-REWV37HQ.js → chunk-7YKWFERX.js} +6 -6
- package/dist/bundle/{chunk-PF7ZNIVP.js → chunk-BNURKCQG.js} +2 -3
- package/dist/bundle/{chunk-ZRSLG3B3.js → chunk-BNVISIHP.js} +6 -6
- package/dist/bundle/{chunk-KLPFPNZP.js → chunk-BQMJYSA4.js} +11 -11
- package/dist/bundle/{chunk-NYYMMIVW.js → chunk-BYITYTRL.js} +16 -3
- package/dist/bundle/{chunk-ZV57PIPE.js → chunk-CICUPYHT.js} +2 -2
- package/dist/bundle/{chunk-CJHO6B3M.js → chunk-CQHLWMKK.js} +33 -28
- package/dist/bundle/{chunk-MRWV5VNQ.js → chunk-CUW7Y2HJ.js} +6 -6
- package/dist/bundle/{chunk-BBQERXQX.js → chunk-DJZIFZOT.js} +3 -3
- package/dist/bundle/{chunk-HPSESLOZ.js → chunk-DNCLQPOM.js} +1 -1
- package/dist/bundle/{chunk-EGR3YUWD.js → chunk-DPV53EZC.js} +4 -4
- package/dist/bundle/{chunk-GI6DNX7Q.js → chunk-DTR7JO2M.js} +35 -35
- package/dist/bundle/{chunk-5JEKBYIH.js → chunk-ES2FF42M.js} +14 -14
- package/dist/bundle/{chunk-GCTHVCJU.js → chunk-EV72K4IU.js} +4 -4
- package/dist/bundle/{chunk-3BYKGMRM.js → chunk-EZQ5BYNL.js} +6 -6
- package/dist/bundle/{chunk-QI2XGTFH.js → chunk-F2D3J5DR.js} +8 -8
- package/dist/bundle/{chunk-NYR7PIAG.js → chunk-FTT7UDYV.js} +3 -3
- package/dist/bundle/{chunk-GEU3WR75.js → chunk-FXNCKPQ7.js} +3 -3
- package/dist/bundle/{chunk-5TIWO6AR.js → chunk-G4VJN75G.js} +37 -18
- package/dist/bundle/{chunk-CMOO4INK.js → chunk-GGMAIIVE.js} +1 -1
- package/dist/bundle/{chunk-SJNFPBPF.js → chunk-GPUC3FTU.js} +2 -2
- package/dist/bundle/{chunk-XRVZMM5B.js → chunk-GQIMVR7C.js} +164 -36
- package/dist/bundle/{chunk-437UHSIO.js → chunk-HCRUGAIN.js} +190 -62
- package/dist/bundle/{chunk-OEL4DQTT.js → chunk-HES6YMYN.js} +4 -4
- package/dist/bundle/{chunk-LQQIYBHN.js → chunk-HFY7536N.js} +196 -110
- package/dist/bundle/{chunk-2VEFNFYZ.js → chunk-IA7LLLEI.js} +3 -3
- package/dist/bundle/{chunk-RJUVWJTA.js → chunk-IUJDWEGJ.js} +7 -7
- package/dist/bundle/{chunk-PMSZBUC7.js → chunk-IWFWWO37.js} +8 -8
- package/dist/bundle/{chunk-DVJPEZGV.js → chunk-JG6LCSEX.js} +13 -13
- package/dist/bundle/{chunk-3ZKNXKM7.js → chunk-JLXXUEAM.js} +2 -2
- package/dist/bundle/{chunk-645FQC4G.js → chunk-JNP3XGJI.js} +16 -16
- package/dist/bundle/{chunk-2RV4V55B.js → chunk-JZUYZ2XJ.js} +38 -24
- package/dist/bundle/chunk-K4DEQAEW.js +1291 -0
- package/dist/bundle/{chunk-PPIMXOBT.js → chunk-KCM3WSER.js} +6 -6
- package/dist/bundle/{chunk-C3JSQ7UJ.js → chunk-KP5JDYY6.js} +27 -8
- package/dist/bundle/{chunk-SCJVKWMV.js → chunk-KUX54EGR.js} +1981 -802
- package/dist/bundle/chunk-KXJ3JEDH.js +2 -0
- package/dist/bundle/{chunk-V5I7QP4T.js → chunk-KZD3H5QA.js} +2 -2
- package/dist/bundle/{chunk-RMWS7IQ4.js → chunk-LKH3UKLO.js} +4 -4
- package/dist/bundle/{chunk-ROK7Z5LQ.js → chunk-NAOLBEFX.js} +220 -163
- package/dist/bundle/{chunk-5G4MDFZ2.js → chunk-NB52JKLR.js} +13 -9
- package/dist/bundle/{chunk-NTUP5RCP.js → chunk-NB7EOAUZ.js} +8 -1
- package/dist/bundle/{chunk-5VPLQS4S.js → chunk-NISH4UXM.js} +2 -2
- package/dist/bundle/{chunk-6UYIWQLU.js → chunk-NQSKI7XK.js} +4 -4
- package/dist/bundle/{chunk-NSH2UHJR.js → chunk-OWPRJLHV.js} +8 -8
- package/dist/bundle/{chunk-U67XMAEE.js → chunk-OZKZT3ZI.js} +10 -3
- package/dist/bundle/{chunk-774VG5WZ.js → chunk-Q7ICVP25.js} +1 -1
- package/dist/bundle/{chunk-HH34WRQE.js → chunk-QLJGYDWG.js} +7 -7
- package/dist/bundle/{chunk-6VMJLOYO.js → chunk-R44KVISE.js} +12 -12
- package/dist/bundle/{chunk-AVR4FPYG.js → chunk-R73VWPNL.js} +8 -8
- package/dist/bundle/{chunk-6LJIENVT.js → chunk-RRTMPSQR.js} +2 -2
- package/dist/bundle/{chunk-PMGAU6AP.js → chunk-S6JG4YUH.js} +2 -2
- package/dist/bundle/{chunk-WNQECDIP.js → chunk-TMJLGR4A.js} +61 -61
- package/dist/bundle/{chunk-VIJV474N.js → chunk-TXDR6YSF.js} +1 -1
- package/dist/bundle/{chunk-QDNYJOWJ.js → chunk-TY7NDMFY.js} +1 -1
- package/dist/bundle/{chunk-CJMZQ2MZ.js → chunk-UDSL3MUU.js} +8 -8
- package/dist/bundle/{chunk-VIDPFLFM.js → chunk-UTS5NMR3.js} +2 -2
- package/dist/bundle/{chunk-TV634B6T.js → chunk-VB7FZOYX.js} +1 -1
- package/dist/bundle/{chunk-WPPPO427.js → chunk-VK24UQSD.js} +4 -4
- package/dist/bundle/{chunk-NCY55XIT.js → chunk-VYCB5EVI.js} +8 -8
- package/dist/bundle/{chunk-IBOWSQ7X.js → chunk-VZ5PPYDG.js} +1 -1
- package/dist/bundle/chunk-WOPVBRPV.js +29 -0
- package/dist/bundle/{chunk-6PKMUKUF.js → chunk-XEQQJBBO.js} +1 -1
- package/dist/bundle/{chunk-MQ6DQRRI.js → chunk-XWBTD2WP.js} +4 -4
- package/dist/bundle/chunk-XXPJF2VD.js +2 -0
- package/dist/bundle/{chunk-6FZPFNEU.js → chunk-YODGIMMM.js} +9 -9
- package/dist/bundle/{chunk-YPB5BEAD.js → chunk-YWDFYQOU.js} +2 -2
- package/dist/bundle/{chunk-MT3LYU4T.js → chunk-Z4BLNAWI.js} +15062 -11852
- package/dist/bundle/{chunk-Q6TPXXOS.js → chunk-ZSAPOC7B.js} +27 -176
- package/dist/bundle/{chunk-GBZIWCEP.js → chunk-ZTWTEXB2.js} +3 -3
- package/dist/bundle/command-contract-UC6IGCCM.js +39 -0
- package/dist/bundle/{command-server-entry-73RJELAV.js → command-server-entry-RA3ZX2KV.js} +28 -28
- package/dist/bundle/{decode-7BUWBDPT.js → decode-QVKRSRVF.js} +5 -5
- package/dist/bundle/{dispatch-IBOMVWZA.js → dispatch-USKS7J74.js} +8 -8
- package/dist/bundle/{dist-MULVCVSR.js → dist-ITIXJAXK.js} +20 -20
- package/dist/bundle/{echarts-VLWFC322.js → echarts-O3TNDAXJ.js} +2 -2
- package/dist/bundle/{embed-W3VH4HPY.js → embed-2HOODFQT.js} +6 -6
- package/dist/bundle/{embedder-I7ERQZJV.js → embedder-22AJGCZX.js} +9 -9
- package/dist/bundle/{failure-QMAPSQ7X.js → failure-D4FGOIWF.js} +2 -2
- package/dist/bundle/{first-run-LCVER6QN.js → first-run-FU4MFXOA.js} +12 -12
- package/dist/bundle/first-screen-A7SEI2ON.js +40 -0
- package/dist/bundle/{instructions-BNCVLSYQ.js → instructions-AMH5RWVJ.js} +1 -1
- package/dist/bundle/mail.js +12 -12
- package/dist/bundle/{mcp-Z2KZNCXB.js → mcp-5HFPWC3W.js} +2 -2
- package/dist/bundle/meeting-combined-KC6YGWA7.js +24 -0
- package/dist/bundle/{meeting-model-BWLSTNXA.js → meeting-model-QWGAOQHL.js} +11 -11
- package/dist/bundle/{meeting-semantic-ZIEHXN2R.js → meeting-semantic-7PVO6RNB.js} +6 -6
- package/dist/bundle/{node-RYFTRSG4.js → node-EGMCBAO7.js} +2 -2
- package/dist/bundle/{node-sqlite-XCHVNTGQ.js → node-sqlite-JXUELLMP.js} +7 -7
- package/dist/bundle/{oauth-FNUJSKKJ.js → oauth-OYAYWH4K.js} +7 -7
- package/dist/bundle/{open-WVWSJ3WI.js → open-GLEUJGNA.js} +5 -5
- package/dist/bundle/{openai-QOUTYYTF.js → openai-PYTVNB6L.js} +15 -15
- package/dist/bundle/{process-W5KPID53.js → process-SGHEN6MQ.js} +1 -1
- package/dist/bundle/{program-L5UANM3I.js → program-7CFNZ2DF.js} +2001 -2222
- package/dist/bundle/{prompt-JSBAPNJE.js → prompt-CYTILD7N.js} +5 -5
- package/dist/bundle/public-XWMXEGEF.js +196 -0
- package/dist/bundle/{recognize-FDX4SJ6Q.js → recognize-26UNETSQ.js} +4 -4
- package/dist/bundle/{remote-MYOXOQHM.js → remote-PKXBQA5N.js} +9 -9
- package/dist/bundle/{rerank-NY5MSZCR.js → rerank-LLKP7M6Q.js} +7 -7
- package/dist/bundle/{serve-URI6NZA3.js → serve-ZRJEAPJI.js} +9 -9
- package/dist/bundle/{server-HQ25RHQM.js → server-4OQ4G5JY.js} +61 -59
- package/dist/bundle/server-VVRQ4A34.js +86 -0
- package/dist/bundle/{sqlite-runtime-6UUPSSKG.js → sqlite-runtime-667VV4VY.js} +6 -6
- package/dist/bundle/{state-NDDVFPCI.js → state-V3CAAJBE.js} +6 -6
- package/dist/bundle/{store-2RDOICVN.js → store-BJCIMIAH.js} +31 -24
- package/dist/bundle/{store-PKYWPKKR.js → store-GLBBY4OZ.js} +22 -22
- package/dist/bundle/store-maintenance-command-N7L5OVUE.js +73 -0
- package/dist/bundle/surface-26EUQNDT.js +72 -0
- package/dist/commands/import.js +2 -2
- package/dist/commands/import.js.map +1 -1
- package/dist/commands/messages.js +3 -3
- package/dist/commands/messages.js.map +1 -1
- package/dist/commands/read.js +2 -2
- package/dist/commands/read.js.map +1 -1
- package/dist/commands/send.d.ts.map +1 -1
- package/dist/commands/send.js +1 -0
- package/dist/commands/send.js.map +1 -1
- package/dist/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +2 -2
- package/dist/commands/session.js.map +1 -1
- package/dist/commands/sync.js +1 -1
- package/dist/commands/sync.js.map +1 -1
- package/dist/commands/tags.d.ts.map +1 -1
- package/dist/commands/tags.js.map +1 -1
- package/dist/commands/words.js +1 -1
- package/dist/commands/words.js.map +1 -1
- package/dist/config.d.ts +2 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +7 -0
- package/dist/config.js.map +1 -1
- package/dist/mail/imap/account.d.ts.map +1 -1
- package/dist/mail/imap/account.js +2 -1
- package/dist/mail/imap/account.js.map +1 -1
- package/dist/mail/send.d.ts +2 -0
- package/dist/mail/send.d.ts.map +1 -1
- package/dist/mail/send.js +1 -1
- package/dist/mail/send.js.map +1 -1
- package/dist/profile.js +1 -1
- package/dist/profile.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +4 -4
- package/dist/program.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +0 -1
- package/dist/reasons.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/agent-MW7YWUIY.js +0 -39
- package/dist/bundle/chunk-6TT62IUW.js +0 -1264
- package/dist/bundle/command-contract-WFTIRPL5.js +0 -39
- package/dist/bundle/first-screen-DCTHI4NQ.js +0 -39
- package/dist/bundle/meeting-combined-ITU7SZ7E.js +0 -24
- package/dist/bundle/server-UVYFU2JN.js +0 -84
- package/dist/bundle/store-maintenance-command-Y5XTO47X.js +0 -71
- package/dist/bundle/surface-3XKM3MQ2.js +0 -70
|
@@ -5,31 +5,31 @@ import {
|
|
|
5
5
|
isNewer,
|
|
6
6
|
readNoticeState,
|
|
7
7
|
writeUpdateState
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-VK24UQSD.js";
|
|
9
9
|
import {
|
|
10
10
|
executableEnvironment,
|
|
11
11
|
executableOnPath
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-TY7NDMFY.js";
|
|
13
13
|
import {
|
|
14
14
|
Command,
|
|
15
15
|
Option,
|
|
16
16
|
annotate
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-NAOLBEFX.js";
|
|
18
18
|
import {
|
|
19
19
|
require_cross_spawn
|
|
20
20
|
} from "./chunk-D72URWJE.js";
|
|
21
21
|
import {
|
|
22
22
|
refuseOwnerHomeInTests
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-2YO3PLOE.js";
|
|
24
24
|
import {
|
|
25
25
|
CliError
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-S6JG4YUH.js";
|
|
27
27
|
import {
|
|
28
28
|
__name,
|
|
29
29
|
__toESM
|
|
30
30
|
} from "./chunk-ZVVMGPBJ.js";
|
|
31
31
|
|
|
32
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
32
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/skill/index.js
|
|
33
33
|
import { existsSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
|
|
34
34
|
import { homedir } from "node:os";
|
|
35
35
|
import { basename, dirname, join, relative, resolve, sep } from "node:path";
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
errorCodes,
|
|
5
5
|
isCliError,
|
|
6
6
|
visibleControls
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-S6JG4YUH.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@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/exit-codes.js
|
|
13
13
|
var EXIT_CODES = {
|
|
14
14
|
validation_error: 2,
|
|
15
15
|
configuration_error: 3,
|
|
@@ -155,6 +155,7 @@ var ValiError = class extends Error {
|
|
|
155
155
|
this.issues = issues;
|
|
156
156
|
}
|
|
157
157
|
};
|
|
158
|
+
var EMAIL_REGEX = /^[\w+-]+(?:\.[\w+-]+)*@[\da-zA-Z]+(?:[.-][\da-zA-Z]+)*\.[a-zA-Z]{2,}$/u;
|
|
158
159
|
var EMOJI_REGEX = new RegExp("^(?:[\\u{1F1E6}-\\u{1F1FF}]{2}|\\u{1F3F4}[\\u{E0061}-\\u{E007A}]{2}[\\u{E0030}-\\u{E0039}\\u{E0061}-\\u{E007A}]{1,3}\\u{E007F}|(?:\\p{Emoji}\\uFE0F\\u20E3?|\\p{Emoji_Modifier_Base}\\p{Emoji_Modifier}?|(?![\\p{Emoji_Modifier_Base}\\u{1F1E6}-\\u{1F1FF}])\\p{Emoji_Presentation})(?:\\u200D(?:\\p{Emoji}\\uFE0F\\u20E3?|\\p{Emoji_Modifier_Base}\\p{Emoji_Modifier}?|(?![\\p{Emoji_Modifier_Base}\\u{1F1E6}-\\u{1F1FF}])\\p{Emoji_Presentation}))*)+$", "u");
|
|
159
160
|
var ISO_DATE_REGEX = /^\d{4}-(?:0[1-9]|1[0-2])-(?:[12]\d|0[1-9]|3[01])$/u;
|
|
160
161
|
var ISO_TIMESTAMP_REGEX = /^\d{4}-(?:0[1-9]|1[0-2])-(?:[12]\d|0[1-9]|3[01])[T ](?:0\d|1\d|2[0-3])(?::[0-5]\d){2}(?:\.\d{1,9})?(?:Z| ?[+-](?:0\d|1\d|2[0-3])(?::?[0-5]\d)?)$/u;
|
|
@@ -186,6 +187,23 @@ function description(description_) {
|
|
|
186
187
|
}
|
|
187
188
|
__name(description, "description");
|
|
188
189
|
// @__NO_SIDE_EFFECTS__
|
|
190
|
+
function email(message$1) {
|
|
191
|
+
return {
|
|
192
|
+
kind: "validation",
|
|
193
|
+
type: "email",
|
|
194
|
+
reference: email,
|
|
195
|
+
expects: null,
|
|
196
|
+
async: false,
|
|
197
|
+
requirement: EMAIL_REGEX,
|
|
198
|
+
message: message$1,
|
|
199
|
+
"~run"(dataset, config$1) {
|
|
200
|
+
if (dataset.typed && !this.requirement.test(dataset.value)) _addIssue(this, "email", dataset, config$1);
|
|
201
|
+
return dataset;
|
|
202
|
+
}
|
|
203
|
+
};
|
|
204
|
+
}
|
|
205
|
+
__name(email, "email");
|
|
206
|
+
// @__NO_SIDE_EFFECTS__
|
|
189
207
|
function endsWith(requirement, message$1) {
|
|
190
208
|
return {
|
|
191
209
|
kind: "validation",
|
|
@@ -1409,7 +1427,7 @@ function unwrap(schema) {
|
|
|
1409
1427
|
}
|
|
1410
1428
|
__name(unwrap, "unwrap");
|
|
1411
1429
|
|
|
1412
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1430
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/effects.js
|
|
1413
1431
|
var EFFECT_LEVELS = ["none", "read", "write"];
|
|
1414
1432
|
var effectsSchema = strictObject({
|
|
1415
1433
|
remote: picklist(EFFECT_LEVELS),
|
|
@@ -2046,7 +2064,7 @@ function toStandardJsonSchema(schema) {
|
|
|
2046
2064
|
}
|
|
2047
2065
|
__name(toStandardJsonSchema, "toStandardJsonSchema");
|
|
2048
2066
|
|
|
2049
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2067
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/registry.js
|
|
2050
2068
|
var word = pipe(string(), regex(/^[a-z][a-z0-9]*(-[a-z0-9]+)*$/, "a lower-case word, words joined by -"));
|
|
2051
2069
|
var SNAKE_CASE = /^[a-z][a-z0-9]*(_[a-z0-9]+)*$/;
|
|
2052
2070
|
var text = pipe(string(), regex(/\S/, "must not be empty"));
|
|
@@ -2088,7 +2106,7 @@ var fill = /* @__PURE__ */ __name((template, values) => template.replace(PLACEHO
|
|
|
2088
2106
|
return String(value);
|
|
2089
2107
|
}), "fill");
|
|
2090
2108
|
|
|
2091
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2109
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/output.js
|
|
2092
2110
|
var MAX_NEXT_STEPS = 2;
|
|
2093
2111
|
var COMPACT_FLAG = "--compact";
|
|
2094
2112
|
var isoTime = pipe(string(), isoTimestamp("an ISO 8601 time in UTC"), endsWith("Z", "an ISO 8601 time in UTC, ending in `Z`"));
|
|
@@ -2233,7 +2251,7 @@ var jsonlOf = /* @__PURE__ */ __name(({ items, page, meta }) => [
|
|
|
2233
2251
|
JSON.stringify({ type: "end", complete: meta.complete, ...meta.issues ? { issues: meta.issues } : {}, page })
|
|
2234
2252
|
].join("\n"), "jsonlOf");
|
|
2235
2253
|
|
|
2236
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2254
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/errors.js
|
|
2237
2255
|
var CRASH_CODE = "internal_error";
|
|
2238
2256
|
var CRASH_REASON = "command.crashed";
|
|
2239
2257
|
var errorObjectSchema = strictObject({
|
|
@@ -2332,7 +2350,7 @@ var BASE_REASONS = defineReasons([
|
|
|
2332
2350
|
{ reason: CRASH_REASON, code: CRASH_CODE, message: "the command failed; this is a bug", details: [] }
|
|
2333
2351
|
]);
|
|
2334
2352
|
|
|
2335
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2353
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/steps.js
|
|
2336
2354
|
var SAME_COMMAND = "*";
|
|
2337
2355
|
var commandPath = pipe(string(), regex(/^[a-z][a-z0-9-]*( [a-z][a-z0-9-]*)*$/, "a command path such as `messages sync`"));
|
|
2338
2356
|
var stepSchema = union([
|
|
@@ -2411,7 +2429,7 @@ var STEPS = defineSteps([
|
|
|
2411
2429
|
}
|
|
2412
2430
|
]);
|
|
2413
2431
|
|
|
2414
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2432
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/failure.js
|
|
2415
2433
|
var recognise = /* @__PURE__ */ __name((failure) => {
|
|
2416
2434
|
if (isCliError(failure))
|
|
2417
2435
|
return failure;
|
|
@@ -2565,6 +2583,7 @@ export {
|
|
|
2565
2583
|
getDotPath,
|
|
2566
2584
|
check,
|
|
2567
2585
|
description,
|
|
2586
|
+
email,
|
|
2568
2587
|
finite,
|
|
2569
2588
|
integer,
|
|
2570
2589
|
isoDate,
|