@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
|
@@ -3,20 +3,20 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
SAMPLE_RATE,
|
|
5
5
|
decodeOgg
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-C5BMCLCQ.js";
|
|
7
|
+
import "./chunk-FNLUKODV.js";
|
|
8
|
+
import "./chunk-X7J3TTDO.js";
|
|
9
9
|
import {
|
|
10
10
|
importFrom
|
|
11
11
|
} from "./chunk-Y5E2WNWB.js";
|
|
12
12
|
import {
|
|
13
13
|
CliError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-VUBZFMGP.js";
|
|
15
15
|
import {
|
|
16
16
|
__name
|
|
17
17
|
} from "./chunk-ZVVMGPBJ.js";
|
|
18
18
|
|
|
19
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19
|
+
// 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/speech/decode.js
|
|
20
20
|
import { spawn } from "node:child_process";
|
|
21
21
|
import { mkdtemp, rm, writeFile } from "node:fs/promises";
|
|
22
22
|
import { createRequire } from "node:module";
|
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
BUILT_IN_COMMANDS,
|
|
8
8
|
DESCRIBE_FLAG,
|
|
9
|
+
DESCRIBE_MAX_BYTES,
|
|
9
10
|
FIRST_PARTY_TOOLS,
|
|
10
11
|
PROGRAM_PREFIX,
|
|
11
12
|
TOOL_NAME,
|
|
@@ -13,22 +14,22 @@ import {
|
|
|
13
14
|
parseDescribe,
|
|
14
15
|
shimFiles,
|
|
15
16
|
writeShim
|
|
16
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-4W4EVVL4.js";
|
|
17
18
|
import "./chunk-Y5E2WNWB.js";
|
|
18
19
|
import {
|
|
19
20
|
CliError
|
|
20
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-VUBZFMGP.js";
|
|
21
22
|
import {
|
|
22
23
|
__name,
|
|
23
24
|
__toESM
|
|
24
25
|
} from "./chunk-ZVVMGPBJ.js";
|
|
25
26
|
|
|
26
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
27
|
+
// 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/wcat/dispatch.js
|
|
27
28
|
var import_cross_spawn2 = __toESM(require_cross_spawn(), 1);
|
|
28
29
|
import { randomUUID } from "node:crypto";
|
|
29
30
|
import { constants } from "node:os";
|
|
30
31
|
|
|
31
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
32
|
+
// 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/wcat/path.js
|
|
32
33
|
import { readdirSync, statSync } from "node:fs";
|
|
33
34
|
import { join } from "node:path";
|
|
34
35
|
var variable = /* @__PURE__ */ __name((env, name, platform) => platform === "win32" ? Object.entries(env).find(([key]) => key.toUpperCase() === name)?.[1] : env[name], "variable");
|
|
@@ -100,10 +101,9 @@ var findTools = /* @__PURE__ */ __name((search) => {
|
|
|
100
101
|
}, "findTools");
|
|
101
102
|
var isBuiltIn = /* @__PURE__ */ __name((name) => name === "wcat" || BUILT_IN_COMMANDS.includes(name), "isBuiltIn");
|
|
102
103
|
|
|
103
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
104
|
+
// 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/wcat/probe.js
|
|
104
105
|
var import_cross_spawn = __toESM(require_cross_spawn(), 1);
|
|
105
106
|
import { readFileSync } from "node:fs";
|
|
106
|
-
var MAX_ANSWER_BYTES = 64 * 1024;
|
|
107
107
|
var probeDescribe = /* @__PURE__ */ __name((path, { env, timeoutMs }) => new Promise((resolve) => {
|
|
108
108
|
let child;
|
|
109
109
|
try {
|
|
@@ -131,7 +131,7 @@ var probeDescribe = /* @__PURE__ */ __name((path, { env, timeoutMs }) => new Pro
|
|
|
131
131
|
const timer = setTimeout(giveUp, timeoutMs);
|
|
132
132
|
child.stdout?.on("data", (chunk) => {
|
|
133
133
|
size += chunk.length;
|
|
134
|
-
if (size >
|
|
134
|
+
if (size > DESCRIBE_MAX_BYTES)
|
|
135
135
|
giveUp();
|
|
136
136
|
else
|
|
137
137
|
chunks.push(chunk);
|
|
@@ -149,7 +149,7 @@ var baseVersion = /* @__PURE__ */ __name(() => {
|
|
|
149
149
|
}
|
|
150
150
|
}, "baseVersion");
|
|
151
151
|
|
|
152
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
152
|
+
// 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/wcat/shortcuts.js
|
|
153
153
|
import { closeSync, openSync, readSync, realpathSync, rmSync } from "node:fs";
|
|
154
154
|
import { basename, dirname } from "node:path";
|
|
155
155
|
var WIRECAT_PACKAGE = /node_modules[\\/]+@wirecat[\\/]/;
|
|
@@ -241,7 +241,7 @@ var removeShortcuts = /* @__PURE__ */ __name((search, names) => listShortcuts(se
|
|
|
241
241
|
return { ...statusOf(shortcut.name, shortcut.program, search), changed: true };
|
|
242
242
|
}), "removeShortcuts");
|
|
243
243
|
|
|
244
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
244
|
+
// 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/wcat/dispatch.js
|
|
245
245
|
var DEFAULT_DESCRIBE_TIMEOUT_MS = 2e3;
|
|
246
246
|
var listTools = /* @__PURE__ */ __name(async (context) => {
|
|
247
247
|
const installed = installedPrograms(context);
|
|
@@ -338,7 +338,7 @@ var runTool = /* @__PURE__ */ __name((path, args, context) => new Promise((resol
|
|
|
338
338
|
});
|
|
339
339
|
}), "runTool");
|
|
340
340
|
var fail = /* @__PURE__ */ __name(async (error, json, context) => {
|
|
341
|
-
const { errorObjectOf, exitCodeOfError, renderError } = await import("./failure-
|
|
341
|
+
const { errorObjectOf, exitCodeOfError, renderError } = await import("./failure-3Q65JOPD.js");
|
|
342
342
|
const object = errorObjectOf(error);
|
|
343
343
|
context.stderr.write(`${renderError(object, { cli: "wcat", interactive: !json })}
|
|
344
344
|
`);
|
|
@@ -4,10 +4,13 @@ import {
|
|
|
4
4
|
DEFAULT_LINK_CONFIG,
|
|
5
5
|
LINK_VERSION,
|
|
6
6
|
PASTE_QR,
|
|
7
|
+
TABLE_RECORD_TYPES,
|
|
8
|
+
TableError,
|
|
7
9
|
atTerminal,
|
|
8
10
|
bareCheck,
|
|
9
11
|
checkWords,
|
|
10
12
|
countedPoll,
|
|
13
|
+
envelopeOfCsv,
|
|
11
14
|
formatLink,
|
|
12
15
|
linkConfigOf,
|
|
13
16
|
linkFor,
|
|
@@ -17,91 +20,82 @@ import {
|
|
|
17
20
|
parseMarkdown,
|
|
18
21
|
parseMarkdownSpans,
|
|
19
22
|
plainQr,
|
|
23
|
+
recordColumns,
|
|
24
|
+
recordTemplate,
|
|
20
25
|
refsForLink,
|
|
21
26
|
terminalQr
|
|
22
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-QVMOEB3I.js";
|
|
23
28
|
import {
|
|
24
29
|
DETAILS,
|
|
25
30
|
REASONS,
|
|
26
31
|
failureContext
|
|
27
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-RLQZFZLK.js";
|
|
28
33
|
import {
|
|
29
34
|
pollLines,
|
|
30
35
|
renderMessage,
|
|
31
36
|
renderMessages
|
|
32
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-4QNHAM3J.js";
|
|
33
38
|
import {
|
|
34
39
|
ModerationRules,
|
|
35
40
|
act,
|
|
36
41
|
defaultRules,
|
|
37
42
|
envelopeOfVcard,
|
|
38
|
-
foldName,
|
|
39
|
-
isId,
|
|
40
43
|
isVcard,
|
|
41
44
|
judge,
|
|
42
45
|
moderationPathFor,
|
|
43
|
-
pickChat,
|
|
44
|
-
pickPerson,
|
|
45
46
|
validateFormattedText
|
|
46
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-YI544LHI.js";
|
|
47
48
|
import {
|
|
48
49
|
readSecret
|
|
49
|
-
} from "./chunk-
|
|
50
|
-
import "./chunk-
|
|
50
|
+
} from "./chunk-KGOVFEWZ.js";
|
|
51
|
+
import "./chunk-NWKKPDZV.js";
|
|
51
52
|
import "./chunk-HTQTIKWP.js";
|
|
52
53
|
import {
|
|
53
54
|
resolveOutput
|
|
54
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-Q4OKEN3B.js";
|
|
55
56
|
import {
|
|
56
|
-
ADDED_ACCOUNT,
|
|
57
|
-
ADDED_PROVIDER,
|
|
58
57
|
COUNTER_FIELDS,
|
|
59
58
|
CRM_KINDS,
|
|
60
|
-
CRM_OPENS,
|
|
61
|
-
FOLDER_PROVIDERS,
|
|
62
|
-
KINDS,
|
|
63
|
-
PROVIDERS,
|
|
64
59
|
RECORDS_ENVELOPE_SCHEMA,
|
|
65
60
|
RECORDS_SCHEMA_VERSION,
|
|
66
61
|
RECORD_ENTITY_TYPES,
|
|
67
62
|
RECORD_OPERATIONS,
|
|
68
|
-
|
|
69
|
-
UNKNOWN_PROVIDER,
|
|
70
|
-
canonicalReference,
|
|
63
|
+
ROLE_ADDRESS_WORDS,
|
|
71
64
|
counterValue,
|
|
65
|
+
displayName,
|
|
72
66
|
envelopeOfJsonl,
|
|
73
67
|
envelopeOfText,
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
isFolderProvider,
|
|
68
|
+
foldName,
|
|
69
|
+
isCrmUserId,
|
|
70
|
+
isId,
|
|
78
71
|
isItemKind,
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
kindsIn,
|
|
84
|
-
looksLikeReference,
|
|
72
|
+
isNoReplyAddress,
|
|
73
|
+
isRoleAddress,
|
|
74
|
+
nameKey,
|
|
75
|
+
normalCrmUserId,
|
|
85
76
|
observedCounters,
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
rankingOptions,
|
|
91
|
-
useProviders
|
|
92
|
-
} from "./chunk-FWFNUJQD.js";
|
|
77
|
+
pickChat,
|
|
78
|
+
pickPerson,
|
|
79
|
+
rankingOptions
|
|
80
|
+
} from "./chunk-C3NYJW6B.js";
|
|
93
81
|
import {
|
|
82
|
+
ADDED_ACCOUNT,
|
|
83
|
+
ADDED_PROVIDER,
|
|
94
84
|
CATALOG_KINDS,
|
|
95
85
|
CONTRACT_KINDS,
|
|
86
|
+
CONTRACT_ROLES,
|
|
96
87
|
CONTRACT_STATUSES,
|
|
88
|
+
CRM_OPENS,
|
|
97
89
|
CURRENCY_SCALES,
|
|
98
90
|
DEAL_KINDS,
|
|
99
91
|
DEAL_ROLES,
|
|
100
92
|
DEAL_STATUSES,
|
|
101
93
|
ENGAGEMENT_LEVELS,
|
|
102
94
|
FINANCE_REVIEWS,
|
|
95
|
+
FOLDER_PROVIDERS,
|
|
103
96
|
INVOICE_DIRECTIONS,
|
|
104
97
|
INVOICE_STATUSES,
|
|
98
|
+
KINDS,
|
|
105
99
|
MONEY_DIRECTIONS,
|
|
106
100
|
ORDER_DIRECTIONS,
|
|
107
101
|
ORDER_PURPOSES,
|
|
@@ -109,6 +103,8 @@ import {
|
|
|
109
103
|
ORGANIZATION_ROLES,
|
|
110
104
|
PERIOD_UNITS,
|
|
111
105
|
PROJECT_ROLES,
|
|
106
|
+
PROVIDERS,
|
|
107
|
+
REF_KINDS,
|
|
112
108
|
RELATIONS,
|
|
113
109
|
RELATION_KINDS,
|
|
114
110
|
ROLE_LISTS,
|
|
@@ -117,39 +113,57 @@ import {
|
|
|
117
113
|
SUBSCRIPTION_STATUSES,
|
|
118
114
|
TAG_TYPES,
|
|
119
115
|
TRANSACTION_STATUSES,
|
|
116
|
+
UNKNOWN_PROVIDER,
|
|
120
117
|
WALLET_KINDS,
|
|
121
118
|
byEngagement,
|
|
122
119
|
canonicalMeetingReference,
|
|
120
|
+
canonicalReference,
|
|
123
121
|
currencyOf,
|
|
124
122
|
engagementRank,
|
|
125
123
|
formatDecimal,
|
|
124
|
+
formatLocator,
|
|
126
125
|
formatMeetingReference,
|
|
126
|
+
formatReference,
|
|
127
|
+
holdsKind,
|
|
127
128
|
intervalOf,
|
|
128
129
|
intervalText,
|
|
129
130
|
inverseOf,
|
|
131
|
+
isFolderProvider,
|
|
132
|
+
isKind,
|
|
133
|
+
isLocator,
|
|
130
134
|
isUsable,
|
|
135
|
+
kindIn,
|
|
136
|
+
kindOf,
|
|
137
|
+
kindsIn,
|
|
138
|
+
looksLikeReference,
|
|
131
139
|
minorUnits,
|
|
132
140
|
moneyLabel,
|
|
133
141
|
moneyOf,
|
|
134
142
|
normalizeTag,
|
|
143
|
+
parseLocator,
|
|
135
144
|
parseMeetingReference,
|
|
145
|
+
parseReference,
|
|
146
|
+
providerNamed,
|
|
147
|
+
providers,
|
|
136
148
|
rolesOf,
|
|
137
149
|
signedMinorUnits,
|
|
138
150
|
standingOf,
|
|
139
|
-
usableLink
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
import "./chunk-
|
|
143
|
-
import "./chunk-
|
|
144
|
-
import "./chunk-
|
|
151
|
+
usableLink,
|
|
152
|
+
useProviders
|
|
153
|
+
} from "./chunk-WOX7FZJP.js";
|
|
154
|
+
import "./chunk-Q6K2XUGU.js";
|
|
155
|
+
import "./chunk-YVNHQFLC.js";
|
|
156
|
+
import "./chunk-FNLUKODV.js";
|
|
157
|
+
import "./chunk-X7J3TTDO.js";
|
|
145
158
|
import "./chunk-Y5E2WNWB.js";
|
|
146
|
-
import "./chunk-
|
|
159
|
+
import "./chunk-VUBZFMGP.js";
|
|
147
160
|
import "./chunk-ZVVMGPBJ.js";
|
|
148
161
|
export {
|
|
149
162
|
ADDED_ACCOUNT,
|
|
150
163
|
ADDED_PROVIDER,
|
|
151
164
|
CATALOG_KINDS,
|
|
152
165
|
CONTRACT_KINDS,
|
|
166
|
+
CONTRACT_ROLES,
|
|
153
167
|
CONTRACT_STATUSES,
|
|
154
168
|
DETAILS as CORE_DETAILS,
|
|
155
169
|
REASONS as CORE_REASONS,
|
|
@@ -185,12 +199,15 @@ export {
|
|
|
185
199
|
REF_KINDS,
|
|
186
200
|
RELATIONS,
|
|
187
201
|
RELATION_KINDS,
|
|
202
|
+
ROLE_ADDRESS_WORDS,
|
|
188
203
|
ROLE_LISTS,
|
|
189
204
|
STAGE_OUTCOMES,
|
|
190
205
|
STANDINGS,
|
|
191
206
|
SUBSCRIPTION_STATUSES,
|
|
207
|
+
TABLE_RECORD_TYPES,
|
|
192
208
|
TAG_TYPES,
|
|
193
209
|
TRANSACTION_STATUSES,
|
|
210
|
+
TableError,
|
|
194
211
|
UNKNOWN_PROVIDER,
|
|
195
212
|
WALLET_KINDS,
|
|
196
213
|
act,
|
|
@@ -204,7 +221,9 @@ export {
|
|
|
204
221
|
counterValue,
|
|
205
222
|
currencyOf,
|
|
206
223
|
defaultRules,
|
|
224
|
+
displayName,
|
|
207
225
|
engagementRank,
|
|
226
|
+
envelopeOfCsv,
|
|
208
227
|
envelopeOfJsonl,
|
|
209
228
|
envelopeOfText,
|
|
210
229
|
envelopeOfVcard,
|
|
@@ -219,11 +238,14 @@ export {
|
|
|
219
238
|
intervalOf,
|
|
220
239
|
intervalText,
|
|
221
240
|
inverseOf,
|
|
241
|
+
isCrmUserId,
|
|
222
242
|
isFolderProvider,
|
|
223
243
|
isId,
|
|
224
244
|
isItemKind,
|
|
225
245
|
isKind,
|
|
226
246
|
isLocator,
|
|
247
|
+
isNoReplyAddress,
|
|
248
|
+
isRoleAddress,
|
|
227
249
|
isUsable,
|
|
228
250
|
isVcard,
|
|
229
251
|
judge,
|
|
@@ -239,6 +261,8 @@ export {
|
|
|
239
261
|
moderationPathFor,
|
|
240
262
|
moneyLabel,
|
|
241
263
|
moneyOf,
|
|
264
|
+
nameKey,
|
|
265
|
+
normalCrmUserId,
|
|
242
266
|
normalizeTag,
|
|
243
267
|
observedCounters,
|
|
244
268
|
parseLink,
|
|
@@ -255,6 +279,8 @@ export {
|
|
|
255
279
|
providers,
|
|
256
280
|
rankingOptions,
|
|
257
281
|
readSecret,
|
|
282
|
+
recordColumns,
|
|
283
|
+
recordTemplate,
|
|
258
284
|
refsForLink,
|
|
259
285
|
renderMessage,
|
|
260
286
|
renderMessages,
|
|
@@ -42399,7 +42399,7 @@ function install11(registers) {
|
|
|
42399
42399
|
}
|
|
42400
42400
|
__name(install11, "install");
|
|
42401
42401
|
|
|
42402
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
42402
|
+
// 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/charts/echarts-option.js
|
|
42403
42403
|
var echartsOption = /* @__PURE__ */ __name((chart) => ({
|
|
42404
42404
|
animation: false,
|
|
42405
42405
|
backgroundColor: "#111827",
|
|
@@ -42447,7 +42447,7 @@ var echartsOption = /* @__PURE__ */ __name((chart) => ({
|
|
|
42447
42447
|
} : {}
|
|
42448
42448
|
}), "echartsOption");
|
|
42449
42449
|
|
|
42450
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
42450
|
+
// 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/charts/echarts.js
|
|
42451
42451
|
use([install2, install, install6, install5, install10, install7, install11]);
|
|
42452
42452
|
var echartsRenderer = {
|
|
42453
42453
|
render: /* @__PURE__ */ __name(async (chart, size) => {
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
truncated,
|
|
14
14
|
unit,
|
|
15
15
|
warmEmbedders
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-5X3GU5LI.js";
|
|
17
|
+
import "./chunk-TI7ZIPA2.js";
|
|
18
|
+
import "./chunk-B72343TK.js";
|
|
19
|
+
import "./chunk-FNLUKODV.js";
|
|
20
|
+
import "./chunk-X7J3TTDO.js";
|
|
21
21
|
import "./chunk-Y5E2WNWB.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-VUBZFMGP.js";
|
|
23
23
|
import "./chunk-ZVVMGPBJ.js";
|
|
24
24
|
export {
|
|
25
25
|
WARM_IDLE_MS,
|
|
@@ -4,26 +4,26 @@ import {
|
|
|
4
4
|
openSession,
|
|
5
5
|
truncated,
|
|
6
6
|
unit
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-5X3GU5LI.js";
|
|
8
|
+
import "./chunk-TI7ZIPA2.js";
|
|
9
|
+
import "./chunk-B72343TK.js";
|
|
10
|
+
import "./chunk-FNLUKODV.js";
|
|
11
|
+
import "./chunk-X7J3TTDO.js";
|
|
12
12
|
import {
|
|
13
13
|
importFrom
|
|
14
14
|
} from "./chunk-Y5E2WNWB.js";
|
|
15
15
|
import {
|
|
16
16
|
CliError
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-VUBZFMGP.js";
|
|
18
18
|
import {
|
|
19
19
|
__name
|
|
20
20
|
} from "./chunk-ZVVMGPBJ.js";
|
|
21
21
|
|
|
22
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22
|
+
// 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/images/picture/embedder.js
|
|
23
23
|
import { readFileSync } from "node:fs";
|
|
24
24
|
import { join } from "node:path";
|
|
25
25
|
|
|
26
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26
|
+
// 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/images/picture/preprocess.js
|
|
27
27
|
var SIZE = 224;
|
|
28
28
|
var MEAN = [0.48145466, 0.4578275, 0.40821073];
|
|
29
29
|
var STD = [0.26862954, 0.26130258, 0.27577711];
|
|
@@ -62,7 +62,7 @@ var preprocess = /* @__PURE__ */ __name(async (bytes, load = importCanvas) => {
|
|
|
62
62
|
return pixels;
|
|
63
63
|
}, "preprocess");
|
|
64
64
|
|
|
65
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
65
|
+
// 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/images/picture/embedder.js
|
|
66
66
|
var openPictureEmbedder = /* @__PURE__ */ __name(async (model, directory, { threads = 4, canvas } = {}) => {
|
|
67
67
|
const { Tokenizer } = await importFrom(new URL("images/picture/embedder.js", import.meta.resolve("@wirecat/cli-core")).href, "@huggingface/tokenizers");
|
|
68
68
|
const path = /* @__PURE__ */ __name((name) => join(directory, model.id, name), "path");
|
|
@@ -5,19 +5,19 @@ import {
|
|
|
5
5
|
asksAtStart,
|
|
6
6
|
setupAtStart,
|
|
7
7
|
systemLanguage
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-6PWCQKMD.js";
|
|
9
|
+
import "./chunk-HBZAJINU.js";
|
|
10
|
+
import "./chunk-MCPOZNWG.js";
|
|
11
|
+
import "./chunk-SWKQ6IAR.js";
|
|
12
|
+
import "./chunk-NSIN5IM4.js";
|
|
13
|
+
import "./chunk-3FD3IATT.js";
|
|
14
|
+
import "./chunk-B72343TK.js";
|
|
15
|
+
import "./chunk-RX5CJ55S.js";
|
|
16
16
|
import "./chunk-D72URWJE.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-FNLUKODV.js";
|
|
18
|
+
import "./chunk-X7J3TTDO.js";
|
|
19
19
|
import "./chunk-Y5E2WNWB.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-VUBZFMGP.js";
|
|
21
21
|
import "./chunk-ZVVMGPBJ.js";
|
|
22
22
|
export {
|
|
23
23
|
askSetupQuestions,
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
WIRECAT_TOOLS,
|
|
5
|
+
firstScreen,
|
|
6
|
+
installHelp
|
|
7
|
+
} from "./chunk-RN7OI5KL.js";
|
|
8
|
+
import "./chunk-RUASZW3M.js";
|
|
9
|
+
import "./chunk-HTQTIKWP.js";
|
|
10
|
+
import "./chunk-FKWUUCX2.js";
|
|
11
|
+
import "./chunk-Q4OKEN3B.js";
|
|
12
|
+
import "./chunk-AUTX2MLF.js";
|
|
13
|
+
import "./chunk-DW3F6DUW.js";
|
|
14
|
+
import "./chunk-SWKQ6IAR.js";
|
|
15
|
+
import "./chunk-MTO6YVMN.js";
|
|
16
|
+
import "./chunk-O373QEAJ.js";
|
|
17
|
+
import "./chunk-WOX7FZJP.js";
|
|
18
|
+
import "./chunk-3KSK5BBB.js";
|
|
19
|
+
import "./chunk-Q6K2XUGU.js";
|
|
20
|
+
import "./chunk-3FD3IATT.js";
|
|
21
|
+
import "./chunk-TI7ZIPA2.js";
|
|
22
|
+
import "./chunk-B72343TK.js";
|
|
23
|
+
import "./chunk-YVNHQFLC.js";
|
|
24
|
+
import "./chunk-FNLUKODV.js";
|
|
25
|
+
import "./chunk-X7J3TTDO.js";
|
|
26
|
+
import "./chunk-Y5E2WNWB.js";
|
|
27
|
+
import "./chunk-VUBZFMGP.js";
|
|
28
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
29
|
+
export {
|
|
30
|
+
WIRECAT_TOOLS,
|
|
31
|
+
firstScreen,
|
|
32
|
+
installHelp
|
|
33
|
+
};
|
package/dist/bundle/mail.js
CHANGED
|
@@ -3,11 +3,11 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
3
3
|
const require = __bundleRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
IDENTITY
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-64ZG5ERD.js";
|
|
7
7
|
import {
|
|
8
8
|
installerOf
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-RX5CJ55S.js";
|
|
10
|
+
import "./chunk-YVNHQFLC.js";
|
|
11
11
|
import {
|
|
12
12
|
DESCRIBE_FLAG,
|
|
13
13
|
DISPATCH_FLAG,
|
|
@@ -18,13 +18,13 @@ import {
|
|
|
18
18
|
fileState,
|
|
19
19
|
shimFiles,
|
|
20
20
|
writeShim
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-4W4EVVL4.js";
|
|
22
|
+
import "./chunk-FNLUKODV.js";
|
|
23
23
|
import {
|
|
24
24
|
catchCrashes
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-X7J3TTDO.js";
|
|
26
26
|
import "./chunk-Y5E2WNWB.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-VUBZFMGP.js";
|
|
28
28
|
import {
|
|
29
29
|
__name
|
|
30
30
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -32,10 +32,13 @@ import {
|
|
|
32
32
|
// dist/bin/mail.js
|
|
33
33
|
import { enableCompileCache } from "node:module";
|
|
34
34
|
|
|
35
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
35
|
+
// 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/wcat/start.js
|
|
36
|
+
import { createHash } from "node:crypto";
|
|
37
|
+
import { existsSync, readFileSync as readFileSync2, realpathSync } from "node:fs";
|
|
38
|
+
import { dirname as dirname2, join as join2 } from "node:path";
|
|
36
39
|
import { fileURLToPath } from "node:url";
|
|
37
40
|
|
|
38
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
41
|
+
// 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/wcat/launcher.js
|
|
39
42
|
import { readFileSync } from "node:fs";
|
|
40
43
|
import { basename, dirname, join, resolve } from "node:path";
|
|
41
44
|
var posix = /* @__PURE__ */ __name((path) => path.replaceAll("\\", "/"), "posix");
|
|
@@ -94,6 +97,8 @@ var installed = /* @__PURE__ */ __name((dir, program) => {
|
|
|
94
97
|
var NAME = "wcat";
|
|
95
98
|
var ensureLauncher = /* @__PURE__ */ __name(({ dir, program, platform }) => {
|
|
96
99
|
try {
|
|
100
|
+
if (!exists(join(dir, program)))
|
|
101
|
+
return "failed";
|
|
97
102
|
const mine = shimFiles("launcher", { dir, name: NAME, target: program, platform });
|
|
98
103
|
const states = mine.map((file) => fileState(file.path));
|
|
99
104
|
if (states.some((one) => one.state === "foreign"))
|
|
@@ -119,7 +124,7 @@ var ensureLauncher = /* @__PURE__ */ __name(({ dir, program, platform }) => {
|
|
|
119
124
|
}
|
|
120
125
|
}, "ensureLauncher");
|
|
121
126
|
|
|
122
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
127
|
+
// 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/wcat/start.js
|
|
123
128
|
var wcatStart = /* @__PURE__ */ __name(async (tool, io = {}) => {
|
|
124
129
|
const argv = io.argv ?? process.argv;
|
|
125
130
|
const env = io.env ?? process.env;
|
|
@@ -127,12 +132,12 @@ var wcatStart = /* @__PURE__ */ __name(async (tool, io = {}) => {
|
|
|
127
132
|
const stdout = io.stdout ?? process.stdout;
|
|
128
133
|
const [first, ...rest] = argv.slice(2);
|
|
129
134
|
if (first === DESCRIBE_FLAG) {
|
|
130
|
-
stdout.write(`${JSON.stringify(describeAnswer(tool))}
|
|
135
|
+
stdout.write(`${JSON.stringify(describeAnswer(tool, shippedManifest(argv[1])))}
|
|
131
136
|
`);
|
|
132
137
|
return { code: 0 };
|
|
133
138
|
}
|
|
134
139
|
if (first === DISPATCH_FLAG) {
|
|
135
|
-
const { runWcat } = await import("./dispatch-
|
|
140
|
+
const { runWcat } = await import("./dispatch-BXPHSNK5.js");
|
|
136
141
|
const code = await runWcat(rest, { env, platform, stdout, stderr: io.stderr ?? process.stderr, self: tool });
|
|
137
142
|
return { code };
|
|
138
143
|
}
|
|
@@ -145,6 +150,25 @@ var wcatStart = /* @__PURE__ */ __name(async (tool, io = {}) => {
|
|
|
145
150
|
});
|
|
146
151
|
return folder ? { launcher: ensureLauncher({ ...folder, platform }) } : {};
|
|
147
152
|
}, "wcatStart");
|
|
153
|
+
var shippedManifest = /* @__PURE__ */ __name((bin) => {
|
|
154
|
+
if (!bin)
|
|
155
|
+
return void 0;
|
|
156
|
+
try {
|
|
157
|
+
for (let dir = dirname2(realpathSync(bin)); ; dir = dirname2(dir)) {
|
|
158
|
+
if (existsSync(join2(dir, "package.json"))) {
|
|
159
|
+
const bytes = readFileSync2(join2(dir, "contracts", "wirecat.json"));
|
|
160
|
+
const { wcat_manifest: format, desktop } = JSON.parse(bytes.toString("utf8"));
|
|
161
|
+
if (format !== 2 || typeof desktop !== "object" || desktop === null)
|
|
162
|
+
return void 0;
|
|
163
|
+
return { desktop, sha256: createHash("sha256").update(bytes).digest("hex") };
|
|
164
|
+
}
|
|
165
|
+
if (dirname2(dir) === dir)
|
|
166
|
+
return void 0;
|
|
167
|
+
}
|
|
168
|
+
} catch {
|
|
169
|
+
return void 0;
|
|
170
|
+
}
|
|
171
|
+
}, "shippedManifest");
|
|
148
172
|
|
|
149
173
|
// dist/bin/mail.js
|
|
150
174
|
enableCompileCache();
|
|
@@ -158,7 +182,7 @@ if (wcat.code !== void 0) {
|
|
|
158
182
|
process.exitCode = wcat.code;
|
|
159
183
|
} else {
|
|
160
184
|
const stopCatching = catchCrashes({ cli: IDENTITY.command, interactive: process.stdout.isTTY === true });
|
|
161
|
-
const { run } = await import("./program-
|
|
185
|
+
const { run } = await import("./program-6FKWOTBK.js");
|
|
162
186
|
try {
|
|
163
187
|
process.exitCode = await run(process.argv.slice(2));
|
|
164
188
|
} finally {
|