@wirecat/mail-cli 0.23.0 → 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 +29 -0
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/{all-profiles-CI32WFEV.js → all-profiles-VS7P6DJY.js} +11 -11
- package/dist/bundle/{anthropic-ICSOMJIN.js → anthropic-C5JXKGBS.js} +16 -7
- package/dist/bundle/{app-server-3F4ZB7DH.js → app-server-HU3LVU42.js} +51 -50
- package/dist/bundle/{bun-7AHNFZMZ.js → bun-QLFX47WZ.js} +2 -2
- package/dist/bundle/{bun-sqlite-UIWRS4HI.js → bun-sqlite-W4PGAKVY.js} +5 -5
- package/dist/bundle/{chunk-ETIUB2DF.js → chunk-3FD3IATT.js} +6 -6
- package/dist/bundle/{chunk-6FSLEARF.js → chunk-3KSK5BBB.js} +2 -2
- package/dist/bundle/{chunk-I3YNNSGB.js → chunk-4QNHAM3J.js} +2 -2
- package/dist/bundle/{chunk-7SWWVDEZ.js → chunk-4W4EVVL4.js} +61 -21
- package/dist/bundle/{chunk-JDKC7EXM.js → chunk-5NLHDK7P.js} +50 -46
- package/dist/bundle/{chunk-AHRHP2H2.js → chunk-5X3GU5LI.js} +6 -6
- package/dist/bundle/{chunk-KNRONMVG.js → chunk-64ZG5ERD.js} +2 -2
- package/dist/bundle/{chunk-RIAZTS6C.js → chunk-6PWCQKMD.js} +12 -12
- package/dist/bundle/{chunk-4PNIZUEC.js → chunk-6VV7J2TN.js} +36 -57
- package/dist/bundle/{chunk-5AS5N7V5.js → chunk-A6J4MPTI.js} +3 -1
- package/dist/bundle/{chunk-ZYHBMDNU.js → chunk-AUTX2MLF.js} +11 -9
- package/dist/bundle/{chunk-5Y2WRUYP.js → chunk-B72343TK.js} +2 -2
- package/dist/bundle/{chunk-7SIWMF77.js → chunk-BFQQV22T.js} +1 -1
- package/dist/bundle/chunk-C3NYJW6B.js +1542 -0
- package/dist/bundle/{chunk-7ZDH2XEY.js → chunk-C5BMCLCQ.js} +4 -4
- package/dist/bundle/{chunk-JO4BJYVE.js → chunk-DW3F6DUW.js} +1 -1
- package/dist/bundle/chunk-EKGRNFYQ.js +18 -0
- package/dist/bundle/{chunk-4YTX5YAU.js → chunk-FKWUUCX2.js} +1361 -1539
- package/dist/bundle/{chunk-LLYVBO3R.js → chunk-FNLUKODV.js} +19 -19
- package/dist/bundle/{chunk-HGV7DSSA.js → chunk-H5FJTHVA.js} +2 -2
- package/dist/bundle/{chunk-3QVGB2CI.js → chunk-HBZAJINU.js} +4 -4
- package/dist/bundle/{chunk-BT7UUI6E.js → chunk-IRUN4XOV.js} +2 -2
- package/dist/bundle/{chunk-4TKQIXND.js → chunk-JMLIKXFO.js} +2 -2
- package/dist/bundle/{chunk-XV3M3NAN.js → chunk-JOQGJUFT.js} +1 -1
- package/dist/bundle/{chunk-NEDYKKJJ.js → chunk-JWMLMAHP.js} +4 -4
- package/dist/bundle/{chunk-5QQOUYNA.js → chunk-KGOVFEWZ.js} +3 -3
- package/dist/bundle/{chunk-NKDYHAHP.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-SCH3NC5X.js → chunk-MTO6YVMN.js} +3 -3
- package/dist/bundle/{chunk-R4RAWEMV.js → chunk-NCRSE647.js} +286 -48
- package/dist/bundle/{chunk-UTLJQG6Q.js → chunk-NSIN5IM4.js} +8 -8
- package/dist/bundle/{chunk-IMIY7HQB.js → chunk-NWKKPDZV.js} +2 -2
- package/dist/bundle/chunk-O373QEAJ.js +1243 -0
- package/dist/bundle/{chunk-OMW37FXK.js → chunk-OQW6GHUA.js} +1 -1
- package/dist/bundle/{chunk-D6WTKSRA.js → chunk-PRQ2U7HF.js} +2 -2
- package/dist/bundle/{chunk-HRIYU2HJ.js → chunk-PT6MF2VU.js} +469 -120
- package/dist/bundle/{chunk-B6GITVDX.js → chunk-Q4OKEN3B.js} +7 -7
- package/dist/bundle/{chunk-ELGEHZK2.js → chunk-Q6K2XUGU.js} +1 -1
- package/dist/bundle/{chunk-CNYQ3TTZ.js → chunk-QI3PXUOJ.js} +43 -595
- package/dist/bundle/{chunk-SGMENSI6.js → chunk-QVMOEB3I.js} +391 -16
- package/dist/bundle/{chunk-S2U5BXWS.js → chunk-RLQZFZLK.js} +80 -5
- package/dist/bundle/{chunk-SETCGPFG.js → chunk-RN7OI5KL.js} +9 -8
- package/dist/bundle/{chunk-5J4WNTTM.js → chunk-RNZKQMFY.js} +14 -14
- package/dist/bundle/{chunk-WQRX4RQS.js → chunk-RUASZW3M.js} +5 -5
- package/dist/bundle/{chunk-UHC5I3JV.js → chunk-RX5CJ55S.js} +1 -1
- package/dist/bundle/{chunk-FHCOGR7S.js → chunk-SWKQ6IAR.js} +3 -3
- package/dist/bundle/{chunk-KJQZXCNK.js → chunk-TI7ZIPA2.js} +4 -4
- package/dist/bundle/{chunk-7DFWXIY5.js → chunk-TLEBSMC7.js} +1997 -768
- package/dist/bundle/{chunk-5Z7LZAVP.js → chunk-U6MMQNNK.js} +6 -6
- package/dist/bundle/{chunk-HN6PB7F5.js → chunk-VNKWSCN7.js} +99 -42
- package/dist/bundle/{chunk-DALBYUPC.js → chunk-VUBZFMGP.js} +2 -2
- package/dist/bundle/{chunk-XP5FBDIG.js → chunk-VVL4MKYH.js} +1 -1
- package/dist/bundle/{chunk-TEL2OMS5.js → chunk-WOX7FZJP.js} +686 -220
- package/dist/bundle/{chunk-2BAO4T4Z.js → chunk-X47BL4M5.js} +13 -13
- package/dist/bundle/{chunk-GOMJNH56.js → chunk-X7J3TTDO.js} +8 -8
- package/dist/bundle/{chunk-FVKZ55I2.js → chunk-XBEO472U.js} +29976 -16640
- package/dist/bundle/{chunk-UA4BOLIY.js → chunk-YA45XV6G.js} +4 -4
- package/dist/bundle/{chunk-FIZWQTUC.js → chunk-YBQ5AYLZ.js} +3 -3
- package/dist/bundle/{chunk-AFPETMXZ.js → chunk-YI544LHI.js} +13 -136
- package/dist/bundle/chunk-ZO4MQWIK.js +188 -0
- package/dist/bundle/{chunk-7OVVX4F4.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-BJXABRAN.js → decode-AVWV7SVZ.js} +5 -5
- package/dist/bundle/{dispatch-G4CYFWQ2.js → dispatch-BXPHSNK5.js} +10 -10
- package/dist/bundle/{dist-LLEA6R4V.js → dist-PIOOKBWT.js} +78 -44
- package/dist/bundle/{echarts-YPTKBOZV.js → echarts-7K6YQV52.js} +2 -2
- package/dist/bundle/{embed-DMROTI5M.js → embed-4NT76GJK.js} +6 -6
- package/dist/bundle/{embedder-DWMHXCHJ.js → embedder-ITQFF7EN.js} +9 -9
- package/dist/bundle/{failure-FFPK2WYB.js → failure-3Q65JOPD.js} +2 -2
- package/dist/bundle/{first-run-FQOEF2IO.js → first-run-PM74YU4X.js} +11 -11
- package/dist/bundle/first-screen-WBVGVSMY.js +33 -0
- package/dist/bundle/{instructions-OGKMROLD.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-HIKYE546.js → node-D6YIJOJI.js} +2 -2
- package/dist/bundle/{node-sqlite-3GJAG7VO.js → node-sqlite-PJOHHB4X.js} +6 -6
- package/dist/bundle/{oauth-H3DB6IHI.js → oauth-BOWJ3IBT.js} +7 -7
- package/dist/bundle/{open-DJ2PRG74.js → open-FIAKKZMW.js} +5 -5
- package/dist/bundle/{openai-MDBRYB55.js → openai-QL54VVLC.js} +16 -37
- package/dist/bundle/{process-4LBD72JH.js → process-AYHK7WRC.js} +1 -1
- package/dist/bundle/{program-F6WK6RX4.js → program-6FKWOTBK.js} +3206 -1603
- package/dist/bundle/{prompt-UNPUG6SO.js → prompt-XJZCBELC.js} +5 -5
- package/dist/bundle/{recognize-DMIO4PDB.js → recognize-OQKWAHBY.js} +4 -4
- package/dist/bundle/{remote-24HJA72D.js → remote-NLVUZ5WK.js} +7 -7
- package/dist/bundle/{rerank-PTNCHHIU.js → rerank-NRPZDTJ7.js} +7 -7
- package/dist/bundle/{serve-T6JHM2YD.js → serve-O4YUI7F6.js} +9 -9
- package/dist/bundle/server-6OT5ZEWL.js +66 -0
- package/dist/bundle/{server-BWEYRUR3.js → server-WAL3M4OO.js} +40 -40
- package/dist/bundle/{sqlite-runtime-ZJ4EH5ZM.js → sqlite-runtime-5YHGI4D4.js} +6 -6
- package/dist/bundle/{state-KSN4OFYW.js → state-WYYOJ7KK.js} +6 -6
- package/dist/bundle/{store-OIEZJEA7.js → store-6BJO3F2J.js} +22 -16
- package/dist/bundle/{store-GVBW2ZFK.js → store-X72GOJHD.js} +50 -22
- package/dist/bundle/store-maintenance-command-ASS7RBYC.js +54 -0
- package/dist/commands/rules.d.ts.map +1 -1
- package/dist/commands/rules.js +29 -7
- package/dist/commands/rules.js.map +1 -1
- package/dist/commands/sync.d.ts +0 -1
- package/dist/commands/sync.d.ts.map +1 -1
- package/dist/commands/sync.js +8 -2
- package/dist/commands/sync.js.map +1 -1
- 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 +4 -4
- package/dist/bundle/chunk-5AQ4S4TZ.js +0 -12172
- package/dist/bundle/chunk-B4MWHI2V.js +0 -380
- package/dist/bundle/command-contract-UIRWJVEY.js +0 -35
- package/dist/bundle/first-screen-B6LF5464.js +0 -33
- package/dist/bundle/server-VUQNR5ZD.js +0 -65
- package/dist/bundle/store-maintenance-command-KJ54HLUQ.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,89 +20,82 @@ import {
|
|
|
17
20
|
parseMarkdown,
|
|
18
21
|
parseMarkdownSpans,
|
|
19
22
|
plainQr,
|
|
23
|
+
recordColumns,
|
|
24
|
+
recordTemplate,
|
|
25
|
+
refsForLink,
|
|
20
26
|
terminalQr
|
|
21
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-QVMOEB3I.js";
|
|
22
28
|
import {
|
|
23
29
|
DETAILS,
|
|
24
30
|
REASONS,
|
|
25
31
|
failureContext
|
|
26
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-RLQZFZLK.js";
|
|
27
33
|
import {
|
|
28
34
|
pollLines,
|
|
29
35
|
renderMessage,
|
|
30
36
|
renderMessages
|
|
31
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-4QNHAM3J.js";
|
|
32
38
|
import {
|
|
33
39
|
ModerationRules,
|
|
34
40
|
act,
|
|
35
41
|
defaultRules,
|
|
36
42
|
envelopeOfVcard,
|
|
37
|
-
foldName,
|
|
38
|
-
isId,
|
|
39
43
|
isVcard,
|
|
40
44
|
judge,
|
|
41
45
|
moderationPathFor,
|
|
42
|
-
pickChat,
|
|
43
|
-
pickPerson,
|
|
44
46
|
validateFormattedText
|
|
45
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-YI544LHI.js";
|
|
46
48
|
import {
|
|
47
49
|
readSecret
|
|
48
|
-
} from "./chunk-
|
|
49
|
-
import "./chunk-
|
|
50
|
+
} from "./chunk-KGOVFEWZ.js";
|
|
51
|
+
import "./chunk-NWKKPDZV.js";
|
|
50
52
|
import "./chunk-HTQTIKWP.js";
|
|
51
53
|
import {
|
|
52
54
|
resolveOutput
|
|
53
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-Q4OKEN3B.js";
|
|
54
56
|
import {
|
|
55
|
-
ADDED_ACCOUNT,
|
|
56
|
-
ADDED_PROVIDER,
|
|
57
57
|
COUNTER_FIELDS,
|
|
58
58
|
CRM_KINDS,
|
|
59
|
-
CRM_OPENS,
|
|
60
|
-
FOLDER_PROVIDERS,
|
|
61
|
-
KINDS,
|
|
62
|
-
PROVIDERS,
|
|
63
59
|
RECORDS_ENVELOPE_SCHEMA,
|
|
64
60
|
RECORDS_SCHEMA_VERSION,
|
|
65
61
|
RECORD_ENTITY_TYPES,
|
|
66
62
|
RECORD_OPERATIONS,
|
|
67
|
-
|
|
68
|
-
UNKNOWN_PROVIDER,
|
|
69
|
-
canonicalReference,
|
|
63
|
+
ROLE_ADDRESS_WORDS,
|
|
70
64
|
counterValue,
|
|
65
|
+
displayName,
|
|
71
66
|
envelopeOfJsonl,
|
|
72
67
|
envelopeOfText,
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
isFolderProvider,
|
|
68
|
+
foldName,
|
|
69
|
+
isCrmUserId,
|
|
70
|
+
isId,
|
|
77
71
|
isItemKind,
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
kindsIn,
|
|
83
|
-
looksLikeReference,
|
|
72
|
+
isNoReplyAddress,
|
|
73
|
+
isRoleAddress,
|
|
74
|
+
nameKey,
|
|
75
|
+
normalCrmUserId,
|
|
84
76
|
observedCounters,
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
rankingOptions,
|
|
90
|
-
useProviders
|
|
91
|
-
} from "./chunk-5AQ4S4TZ.js";
|
|
77
|
+
pickChat,
|
|
78
|
+
pickPerson,
|
|
79
|
+
rankingOptions
|
|
80
|
+
} from "./chunk-C3NYJW6B.js";
|
|
92
81
|
import {
|
|
82
|
+
ADDED_ACCOUNT,
|
|
83
|
+
ADDED_PROVIDER,
|
|
93
84
|
CATALOG_KINDS,
|
|
94
85
|
CONTRACT_KINDS,
|
|
86
|
+
CONTRACT_ROLES,
|
|
95
87
|
CONTRACT_STATUSES,
|
|
88
|
+
CRM_OPENS,
|
|
96
89
|
CURRENCY_SCALES,
|
|
97
90
|
DEAL_KINDS,
|
|
98
91
|
DEAL_ROLES,
|
|
99
92
|
DEAL_STATUSES,
|
|
93
|
+
ENGAGEMENT_LEVELS,
|
|
100
94
|
FINANCE_REVIEWS,
|
|
95
|
+
FOLDER_PROVIDERS,
|
|
101
96
|
INVOICE_DIRECTIONS,
|
|
102
97
|
INVOICE_STATUSES,
|
|
98
|
+
KINDS,
|
|
103
99
|
MONEY_DIRECTIONS,
|
|
104
100
|
ORDER_DIRECTIONS,
|
|
105
101
|
ORDER_PURPOSES,
|
|
@@ -107,6 +103,8 @@ import {
|
|
|
107
103
|
ORGANIZATION_ROLES,
|
|
108
104
|
PERIOD_UNITS,
|
|
109
105
|
PROJECT_ROLES,
|
|
106
|
+
PROVIDERS,
|
|
107
|
+
REF_KINDS,
|
|
110
108
|
RELATIONS,
|
|
111
109
|
RELATION_KINDS,
|
|
112
110
|
ROLE_LISTS,
|
|
@@ -115,37 +113,57 @@ import {
|
|
|
115
113
|
SUBSCRIPTION_STATUSES,
|
|
116
114
|
TAG_TYPES,
|
|
117
115
|
TRANSACTION_STATUSES,
|
|
116
|
+
UNKNOWN_PROVIDER,
|
|
118
117
|
WALLET_KINDS,
|
|
118
|
+
byEngagement,
|
|
119
119
|
canonicalMeetingReference,
|
|
120
|
+
canonicalReference,
|
|
120
121
|
currencyOf,
|
|
122
|
+
engagementRank,
|
|
121
123
|
formatDecimal,
|
|
124
|
+
formatLocator,
|
|
122
125
|
formatMeetingReference,
|
|
126
|
+
formatReference,
|
|
127
|
+
holdsKind,
|
|
123
128
|
intervalOf,
|
|
124
129
|
intervalText,
|
|
125
130
|
inverseOf,
|
|
131
|
+
isFolderProvider,
|
|
132
|
+
isKind,
|
|
133
|
+
isLocator,
|
|
126
134
|
isUsable,
|
|
135
|
+
kindIn,
|
|
136
|
+
kindOf,
|
|
137
|
+
kindsIn,
|
|
138
|
+
looksLikeReference,
|
|
127
139
|
minorUnits,
|
|
128
140
|
moneyLabel,
|
|
129
141
|
moneyOf,
|
|
130
142
|
normalizeTag,
|
|
143
|
+
parseLocator,
|
|
131
144
|
parseMeetingReference,
|
|
145
|
+
parseReference,
|
|
146
|
+
providerNamed,
|
|
147
|
+
providers,
|
|
132
148
|
rolesOf,
|
|
133
149
|
signedMinorUnits,
|
|
134
150
|
standingOf,
|
|
135
|
-
usableLink
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
import "./chunk-
|
|
139
|
-
import "./chunk-
|
|
140
|
-
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";
|
|
141
158
|
import "./chunk-Y5E2WNWB.js";
|
|
142
|
-
import "./chunk-
|
|
159
|
+
import "./chunk-VUBZFMGP.js";
|
|
143
160
|
import "./chunk-ZVVMGPBJ.js";
|
|
144
161
|
export {
|
|
145
162
|
ADDED_ACCOUNT,
|
|
146
163
|
ADDED_PROVIDER,
|
|
147
164
|
CATALOG_KINDS,
|
|
148
165
|
CONTRACT_KINDS,
|
|
166
|
+
CONTRACT_ROLES,
|
|
149
167
|
CONTRACT_STATUSES,
|
|
150
168
|
DETAILS as CORE_DETAILS,
|
|
151
169
|
REASONS as CORE_REASONS,
|
|
@@ -157,6 +175,7 @@ export {
|
|
|
157
175
|
DEAL_ROLES,
|
|
158
176
|
DEAL_STATUSES,
|
|
159
177
|
DEFAULT_LINK_CONFIG,
|
|
178
|
+
ENGAGEMENT_LEVELS,
|
|
160
179
|
FINANCE_REVIEWS,
|
|
161
180
|
FOLDER_PROVIDERS,
|
|
162
181
|
INVOICE_DIRECTIONS,
|
|
@@ -180,17 +199,21 @@ export {
|
|
|
180
199
|
REF_KINDS,
|
|
181
200
|
RELATIONS,
|
|
182
201
|
RELATION_KINDS,
|
|
202
|
+
ROLE_ADDRESS_WORDS,
|
|
183
203
|
ROLE_LISTS,
|
|
184
204
|
STAGE_OUTCOMES,
|
|
185
205
|
STANDINGS,
|
|
186
206
|
SUBSCRIPTION_STATUSES,
|
|
207
|
+
TABLE_RECORD_TYPES,
|
|
187
208
|
TAG_TYPES,
|
|
188
209
|
TRANSACTION_STATUSES,
|
|
210
|
+
TableError,
|
|
189
211
|
UNKNOWN_PROVIDER,
|
|
190
212
|
WALLET_KINDS,
|
|
191
213
|
act,
|
|
192
214
|
atTerminal,
|
|
193
215
|
bareCheck,
|
|
216
|
+
byEngagement,
|
|
194
217
|
canonicalMeetingReference,
|
|
195
218
|
canonicalReference,
|
|
196
219
|
checkWords,
|
|
@@ -198,6 +221,9 @@ export {
|
|
|
198
221
|
counterValue,
|
|
199
222
|
currencyOf,
|
|
200
223
|
defaultRules,
|
|
224
|
+
displayName,
|
|
225
|
+
engagementRank,
|
|
226
|
+
envelopeOfCsv,
|
|
201
227
|
envelopeOfJsonl,
|
|
202
228
|
envelopeOfText,
|
|
203
229
|
envelopeOfVcard,
|
|
@@ -212,11 +238,14 @@ export {
|
|
|
212
238
|
intervalOf,
|
|
213
239
|
intervalText,
|
|
214
240
|
inverseOf,
|
|
241
|
+
isCrmUserId,
|
|
215
242
|
isFolderProvider,
|
|
216
243
|
isId,
|
|
217
244
|
isItemKind,
|
|
218
245
|
isKind,
|
|
219
246
|
isLocator,
|
|
247
|
+
isNoReplyAddress,
|
|
248
|
+
isRoleAddress,
|
|
220
249
|
isUsable,
|
|
221
250
|
isVcard,
|
|
222
251
|
judge,
|
|
@@ -232,6 +261,8 @@ export {
|
|
|
232
261
|
moderationPathFor,
|
|
233
262
|
moneyLabel,
|
|
234
263
|
moneyOf,
|
|
264
|
+
nameKey,
|
|
265
|
+
normalCrmUserId,
|
|
235
266
|
normalizeTag,
|
|
236
267
|
observedCounters,
|
|
237
268
|
parseLink,
|
|
@@ -248,6 +279,9 @@ export {
|
|
|
248
279
|
providers,
|
|
249
280
|
rankingOptions,
|
|
250
281
|
readSecret,
|
|
282
|
+
recordColumns,
|
|
283
|
+
recordTemplate,
|
|
284
|
+
refsForLink,
|
|
251
285
|
renderMessage,
|
|
252
286
|
renderMessages,
|
|
253
287
|
resolveOutput,
|
|
@@ -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 {
|