@wirecat/mail-cli 0.17.0 → 0.18.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 +14 -0
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/{all-profiles-55AU2Q2N.js → all-profiles-4CVOXA5Y.js} +10 -10
- package/dist/bundle/{anthropic-I7RI7YPK.js → anthropic-5VIKYINO.js} +6 -6
- package/dist/bundle/{app-server-NY72GTQA.js → app-server-LTSQBDPF.js} +53 -50
- package/dist/bundle/{bun-C2R7UPM2.js → bun-C7DBRUW2.js} +2 -2
- package/dist/bundle/{bun-sqlite-RNPHH3KC.js → bun-sqlite-Y5JKT62B.js} +5 -5
- package/dist/bundle/{chunk-YO7BLBVE.js → chunk-23HWKHPZ.js} +301 -259
- package/dist/bundle/{chunk-OHS5CYZI.js → chunk-2NWOYXPJ.js} +56 -56
- package/dist/bundle/{chunk-JSB6BTPT.js → chunk-3DQYO7FB.js} +1 -1
- package/dist/bundle/{chunk-B73I6KLW.js → chunk-3W5H4TM7.js} +184 -16
- package/dist/bundle/{chunk-2EVM7GV5.js → chunk-3YRE6DNM.js} +8 -8
- package/dist/bundle/{chunk-YIJRPPF5.js → chunk-43I5XD7S.js} +1 -1
- package/dist/bundle/{chunk-HZL42476.js → chunk-5S6Q3SWU.js} +4 -2
- package/dist/bundle/{chunk-DG43I7MC.js → chunk-6RO5RDNR.js} +27 -9
- package/dist/bundle/{chunk-J7XH6CJC.js → chunk-7P4ICYJT.js} +1 -1
- package/dist/bundle/{chunk-BWCYUXF7.js → chunk-7SWWVDEZ.js} +4 -4
- package/dist/bundle/{chunk-24H2KUGW.js → chunk-A5OMARL4.js} +28 -28
- package/dist/bundle/{chunk-QDX2O5BN.js → chunk-ACLILULA.js} +3 -3
- package/dist/bundle/{chunk-QRNL5DIS.js → chunk-AOMSP4EI.js} +6 -6
- package/dist/bundle/{chunk-XJQJ3ZIY.js → chunk-BHNBWFT5.js} +8 -8
- package/dist/bundle/{chunk-LNC7XMEQ.js → chunk-BMFPCW6Q.js} +4 -4
- package/dist/bundle/{chunk-MG4NWXWI.js → chunk-BMGVKULS.js} +4 -4
- package/dist/bundle/{chunk-4HTTN4NO.js → chunk-BMV56JCL.js} +19 -19
- package/dist/bundle/{chunk-22WVQJW3.js → chunk-C4RUKMDT.js} +16 -10
- package/dist/bundle/{chunk-QU5TWVG5.js → chunk-C5T5K7HW.js} +127 -27
- package/dist/bundle/{chunk-KJKRLI2S.js → chunk-CPEN6BZZ.js} +2 -2
- package/dist/bundle/{chunk-YHUCNI2W.js → chunk-DALBYUPC.js} +2 -2
- package/dist/bundle/{chunk-6NN5ZX5T.js → chunk-DPSH46NO.js} +5 -5
- package/dist/bundle/{chunk-CHVHIDNK.js → chunk-EFP5NN7I.js} +3 -3
- package/dist/bundle/{chunk-22IKW3TY.js → chunk-ERBEBORA.js} +14 -14
- package/dist/bundle/{chunk-YCOBSDZY.js → chunk-FLOOPXOT.js} +12 -12
- package/dist/bundle/{chunk-F4P3VDJZ.js → chunk-GLLLYACZ.js} +6 -6
- package/dist/bundle/{chunk-S4NIDBLI.js → chunk-GRP67IQ4.js} +56 -47
- package/dist/bundle/{chunk-T4RRZILQ.js → chunk-HFUS33UT.js} +2 -2
- package/dist/bundle/{chunk-RFFE5ACS.js → chunk-HTFBXGJF.js} +2 -2
- package/dist/bundle/{chunk-MTFTMPB6.js → chunk-IANOK5SE.js} +2 -2
- package/dist/bundle/{chunk-WHI3LTAW.js → chunk-ITUC5WAV.js} +1 -1
- package/dist/bundle/{chunk-VMXMHC6E.js → chunk-JO3BIMYK.js} +3 -3
- package/dist/bundle/{chunk-45JQ72CH.js → chunk-KVSC657S.js} +19 -12
- package/dist/bundle/{chunk-OFZDCUUJ.js → chunk-L3YX7A5M.js} +7 -7
- package/dist/bundle/{chunk-2CY44MKY.js → chunk-M7C4IGJ6.js} +8 -8
- package/dist/bundle/{chunk-GBM7FFFI.js → chunk-MCR43SWG.js} +4 -4
- package/dist/bundle/{chunk-YB47AQWE.js → chunk-N5VEJ3E7.js} +10 -10
- package/dist/bundle/{chunk-IPFFPD3M.js → chunk-NDJZQCF3.js} +297 -174
- package/dist/bundle/{chunk-R3G33QIV.js → chunk-OLJDZTHB.js} +13 -13
- package/dist/bundle/{chunk-CHC2LWKY.js → chunk-OMKPALMX.js} +2 -2
- package/dist/bundle/{chunk-MRTSDBTN.js → chunk-OUGGAAXI.js} +1508 -559
- package/dist/bundle/{chunk-SHEVFBZT.js → chunk-P6WCG6X2.js} +36 -30
- package/dist/bundle/{chunk-GYCJQGFO.js → chunk-QPF4LTK5.js} +6 -6
- package/dist/bundle/{chunk-WOFGEJ6W.js → chunk-RIO3TD3I.js} +1 -1
- package/dist/bundle/{chunk-RIAHISWA.js → chunk-RQSF7X22.js} +1 -1
- package/dist/bundle/{chunk-2ON2PDHC.js → chunk-SIYT2BBI.js} +10 -10
- package/dist/bundle/{chunk-M6GLFDWV.js → chunk-SMS5YNPB.js} +3 -3
- package/dist/bundle/{chunk-H32SKDF2.js → chunk-SW2KERUB.js} +640 -123
- package/dist/bundle/{chunk-BPDUVWL2.js → chunk-TVZ77ZOV.js} +2 -2
- package/dist/bundle/{chunk-SQAAOEGI.js → chunk-U43HUE35.js} +9 -9
- package/dist/bundle/{chunk-RQGTRB73.js → chunk-UEGABYXI.js} +3 -3
- package/dist/bundle/{chunk-TCYLDGRA.js → chunk-UHC5I3JV.js} +1 -1
- package/dist/bundle/{chunk-XOJ5E777.js → chunk-UWL2IOII.js} +4 -4
- package/dist/bundle/{chunk-ITMGJX7I.js → chunk-UXD5JMS5.js} +1 -1
- package/dist/bundle/{chunk-JI225TBX.js → chunk-WA3DQSAZ.js} +2 -2
- package/dist/bundle/{chunk-VXBUDZV3.js → chunk-XGTW3GRX.js} +2 -2
- package/dist/bundle/{chunk-QEO7MI3E.js → chunk-YA2JPMYX.js} +2 -2
- package/dist/bundle/{chunk-A3PKKY24.js → chunk-ZLH465EU.js} +1 -1
- package/dist/bundle/{chunk-BD7OK4P5.js → chunk-ZT2Y267T.js} +3 -3
- package/dist/bundle/command-contract-Y3GIKCPB.js +34 -0
- package/dist/bundle/{decode-5AYG6LLW.js → decode-WVIDLK4E.js} +5 -5
- package/dist/bundle/{dispatch-EVLWT6N3.js → dispatch-R5OF2FVZ.js} +8 -8
- package/dist/bundle/{dist-JRTLLLLG.js → dist-KGQWS3XL.js} +24 -14
- package/dist/bundle/{echarts-EFAEE4D2.js → echarts-VMKACZBF.js} +2 -2
- package/dist/bundle/{embed-6SSOYGZQ.js → embed-EQINOOST.js} +6 -6
- package/dist/bundle/{embedder-VFSLGHBO.js → embedder-LM52TDRN.js} +9 -9
- package/dist/bundle/{failure-RBBZ7F3L.js → failure-WYKVF6RH.js} +2 -2
- package/dist/bundle/{first-run-PVEHOQOD.js → first-run-H4VXZAAF.js} +11 -11
- package/dist/bundle/first-screen-ZP74TJLK.js +32 -0
- package/dist/bundle/{instructions-EOLC3GYB.js → instructions-NLSME663.js} +1 -1
- package/dist/bundle/mail.js +12 -12
- package/dist/bundle/{mcp-JYLZR5LQ.js → mcp-CFVG2OUS.js} +2 -2
- package/dist/bundle/{node-2ZRMQAYF.js → node-FGMSXLTA.js} +2 -2
- package/dist/bundle/{node-sqlite-UKWOBONA.js → node-sqlite-K3T3ZRBY.js} +6 -6
- package/dist/bundle/{oauth-HFD46WAY.js → oauth-OJKJ6JLH.js} +7 -7
- package/dist/bundle/{open-2DLCQUC4.js → open-DCYIXHXS.js} +5 -5
- package/dist/bundle/{openai-A7YLLQEE.js → openai-C4H4W57J.js} +14 -14
- package/dist/bundle/{process-I3INVLFQ.js → process-MN4NSYGA.js} +1 -1
- package/dist/bundle/{program-4ZCATQND.js → program-ZZZOKWCX.js} +1028 -642
- package/dist/bundle/{prompt-R636OFYK.js → prompt-ELEJUDAU.js} +5 -5
- package/dist/bundle/{recognize-G4WUSU5I.js → recognize-G2FVMI5M.js} +4 -4
- package/dist/bundle/{remote-BMXVVYTN.js → remote-F4YVSEYM.js} +7 -7
- package/dist/bundle/{rerank-7W3QEZ3Q.js → rerank-7VM5R5N6.js} +7 -7
- package/dist/bundle/{serve-JQCPQYOJ.js → serve-A7NRFPRN.js} +9 -9
- package/dist/bundle/{server-IMOCOYXH.js → server-7R2BEIRY.js} +39 -39
- package/dist/bundle/server-DFJA2HBO.js +64 -0
- package/dist/bundle/{sqlite-runtime-H2IEHDRZ.js → sqlite-runtime-4SKUB4EN.js} +6 -6
- package/dist/bundle/{state-J5N3Y4LX.js → state-S2FKK2XB.js} +6 -6
- package/dist/bundle/{store-C4TIYTGI.js → store-4HAARQVR.js} +26 -18
- package/dist/bundle/{store-U5WIT3P4.js → store-FLHO3UMA.js} +17 -15
- package/dist/bundle/store-maintenance-command-BINJIQ6F.js +54 -0
- package/dist/commands/restore.js +1 -1
- package/dist/commands/restore.js.map +1 -1
- package/dist/commands/status.d.ts.map +1 -1
- package/dist/commands/status.js +2 -8
- package/dist/commands/status.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/command-contract-AUPKK5Y4.js +0 -34
- package/dist/bundle/first-screen-7ONKJ7QW.js +0 -32
- package/dist/bundle/server-GYVOIGF5.js +0 -64
- package/dist/bundle/store-maintenance-command-WRRZ7Q7B.js +0 -54
- /package/dist/bundle/{chunk-CNMSF5QU.js → chunk-QZLK2ISN.js} +0 -0
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
agentOf,
|
|
30
30
|
clientHash,
|
|
31
31
|
currentCaller
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-U43HUE35.js";
|
|
33
33
|
import {
|
|
34
34
|
__name
|
|
35
35
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -541,7 +541,7 @@ function toError(value) {
|
|
|
541
541
|
}
|
|
542
542
|
__name(toError, "toError");
|
|
543
543
|
|
|
544
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
544
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/mcp/caller.js
|
|
545
545
|
var callingAgent = /* @__PURE__ */ __name((fallback, caller = currentCaller()) => {
|
|
546
546
|
const client = caller?.agent?.client?.name;
|
|
547
547
|
if (client && client !== "unknown")
|
|
@@ -3,25 +3,25 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
secretNamed,
|
|
5
5
|
withoutSecrets
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZLH465EU.js";
|
|
7
7
|
import {
|
|
8
8
|
isContentKey
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BMV56JCL.js";
|
|
10
10
|
import {
|
|
11
11
|
errorCodes
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-DALBYUPC.js";
|
|
13
13
|
import {
|
|
14
14
|
__name
|
|
15
15
|
} from "./chunk-ZVVMGPBJ.js";
|
|
16
16
|
|
|
17
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/runs/run-context.js
|
|
18
18
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
19
19
|
import { createHash } from "node:crypto";
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
|
|
22
22
|
import { homedir } from "node:os";
|
|
23
23
|
|
|
24
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/errors/failures.js
|
|
25
25
|
var isCliFailure = /* @__PURE__ */ __name((value) => value instanceof Error && value.name === "CliError" && errorCodes.includes(value.code), "isCliFailure");
|
|
26
26
|
var isCommanderFailure = /* @__PURE__ */ __name((value) => {
|
|
27
27
|
const { code, exitCode } = value ?? {};
|
|
@@ -29,7 +29,7 @@ var isCommanderFailure = /* @__PURE__ */ __name((value) => {
|
|
|
29
29
|
}, "isCommanderFailure");
|
|
30
30
|
var failureKey = /* @__PURE__ */ __name((error) => isCliFailure(error) ? error.code : error instanceof Error ? error.name : "error", "failureKey");
|
|
31
31
|
|
|
32
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
32
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/runs/events.js
|
|
33
33
|
var providerErrorKey = /* @__PURE__ */ __name((value) => typeof value === "string" && /^[A-Za-z][A-Za-z0-9._-]{0,63}$/.test(value) ? value : void 0, "providerErrorKey");
|
|
34
34
|
var renderEvent = /* @__PURE__ */ __name((event) => {
|
|
35
35
|
if (event.event === "warning") {
|
|
@@ -77,7 +77,7 @@ var MARK = { request: "\u2192", response: "\u2190", cache: "\u2022", warning: "!
|
|
|
77
77
|
var age = /* @__PURE__ */ __name((ms) => ms < 1e3 ? `${ms}ms` : `${Math.round(ms / 1e3)}s`, "age");
|
|
78
78
|
var size = /* @__PURE__ */ __name((bytes) => bytes < 1e3 ? `${bytes} B` : `${(bytes / 1e3).toFixed(1)} kB`, "size");
|
|
79
79
|
|
|
80
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
80
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
|
|
81
81
|
var MESSAGE_AT_MOST = 500;
|
|
82
82
|
var CAUSES_AT_MOST = 5;
|
|
83
83
|
var FRAMES_AT_MOST = 15;
|
|
@@ -186,7 +186,7 @@ var redactText = /* @__PURE__ */ __name((text) => {
|
|
|
186
186
|
return out.length > MESSAGE_AT_MOST ? `${out.slice(0, MESSAGE_AT_MOST)}\u2026` : out;
|
|
187
187
|
}, "redactText");
|
|
188
188
|
|
|
189
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
189
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/runs/run-context.js
|
|
190
190
|
var REDACTED = "[redacted]";
|
|
191
191
|
var keepsSuccess = /* @__PURE__ */ __name(({ record, fromFlag, env, caller, persistent = false }) => {
|
|
192
192
|
if (!record)
|
|
@@ -2,16 +2,16 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
alive
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ITUC5WAV.js";
|
|
6
6
|
import {
|
|
7
7
|
resolvePaths,
|
|
8
8
|
writeSecurely
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BMV56JCL.js";
|
|
10
10
|
import {
|
|
11
11
|
__name
|
|
12
12
|
} from "./chunk-ZVVMGPBJ.js";
|
|
13
13
|
|
|
14
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
14
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/background/lock.js
|
|
15
15
|
import { existsSync, linkSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
|
|
16
16
|
import { dirname, join } from "node:path";
|
|
17
17
|
var lockPath = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "serve", `${profile}.lock`), "lockPath");
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.80.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/installer.js
|
|
8
8
|
var installerOf = /* @__PURE__ */ __name((scriptPath) => {
|
|
9
9
|
const path = scriptPath.replaceAll("\\", "/");
|
|
10
10
|
if (path.includes("/_npx/"))
|
|
@@ -3,26 +3,26 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
executableEnvironment,
|
|
5
5
|
executableOnPath
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-3DQYO7FB.js";
|
|
7
7
|
import {
|
|
8
8
|
require_cross_spawn
|
|
9
9
|
} from "./chunk-D72URWJE.js";
|
|
10
10
|
import {
|
|
11
11
|
loadConfigFile,
|
|
12
12
|
saveConfigFile
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-BMV56JCL.js";
|
|
14
14
|
import {
|
|
15
15
|
number,
|
|
16
16
|
object,
|
|
17
17
|
optional,
|
|
18
18
|
string
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-BHNBWFT5.js";
|
|
20
20
|
import {
|
|
21
21
|
__name,
|
|
22
22
|
__toESM
|
|
23
23
|
} from "./chunk-ZVVMGPBJ.js";
|
|
24
24
|
|
|
25
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.80.
|
|
25
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/update/index.js
|
|
26
26
|
var import_cross_spawn = __toESM(require_cross_spawn(), 1);
|
|
27
27
|
import { existsSync } from "node:fs";
|
|
28
28
|
var updateCommand = /* @__PURE__ */ __name((installer, packageName) => {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/mcp/bot/instructions.js
|
|
8
8
|
var botInstructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => [
|
|
9
9
|
`The owner's ${name} bot "${profile}", through the official Bot API \u2014 not the owner's personal account. What it writes, people see as the bot.`,
|
|
10
10
|
"Use these tools to read the chats this bot is in, find a message or a person, and \u2014 when the profile allows \u2014 write as the bot.",
|
|
@@ -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-DALBYUPC.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.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/cli/input-policy.js
|
|
11
11
|
var MAX_BUFFERED_INPUT = 16 * 1024 * 1024;
|
|
12
12
|
var MAX_SECRET_INPUT = 64 * 1024;
|
|
13
13
|
var policies = /* @__PURE__ */ new WeakMap();
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
ACCESS_SECONDS,
|
|
9
9
|
REFRESH_SECONDS,
|
|
10
10
|
readStored
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-BMGVKULS.js";
|
|
12
12
|
import {
|
|
13
13
|
__name
|
|
14
14
|
} from "./chunk-ZVVMGPBJ.js";
|
|
15
15
|
|
|
16
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/mcp/http/oauth.js
|
|
17
17
|
import { createHash, randomBytes, randomInt, timingSafeEqual } from "node:crypto";
|
|
18
18
|
import { chmodSync, mkdirSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
19
19
|
import { dirname } from "node:path";
|
|
@@ -7,12 +7,12 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
singleLine,
|
|
9
9
|
visibleControls
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DALBYUPC.js";
|
|
11
11
|
import {
|
|
12
12
|
__name
|
|
13
13
|
} from "./chunk-ZVVMGPBJ.js";
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/render/messages.js
|
|
16
16
|
import { styleText } from "node:util";
|
|
17
17
|
var TIME_WIDTH = 8;
|
|
18
18
|
var INDENT = " ".repeat(TIME_WIDTH + 2);
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/runs/secrets.js
|
|
8
8
|
var SECRET_WORDS = /* @__PURE__ */ new Set([
|
|
9
9
|
"authorization",
|
|
10
10
|
"cookie",
|
|
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
unit
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-GLLLYACZ.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-DALBYUPC.js";
|
|
9
9
|
import {
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
|
|
14
14
|
import { setTimeout } from "node:timers/promises";
|
|
15
15
|
var OPENAI_URL = "https://api.openai.com/v1";
|
|
16
16
|
var OPENAI_MODELS = {
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
SCHEMA_DIALECT,
|
|
5
|
+
commandContract,
|
|
6
|
+
commandPathOf,
|
|
7
|
+
findCommand,
|
|
8
|
+
outputOf
|
|
9
|
+
} from "./chunk-DPSH46NO.js";
|
|
10
|
+
import "./chunk-NDJZQCF3.js";
|
|
11
|
+
import "./chunk-L3YX7A5M.js";
|
|
12
|
+
import "./chunk-U43HUE35.js";
|
|
13
|
+
import "./chunk-ACLILULA.js";
|
|
14
|
+
import "./chunk-ITUC5WAV.js";
|
|
15
|
+
import "./chunk-MCR43SWG.js";
|
|
16
|
+
import "./chunk-SMS5YNPB.js";
|
|
17
|
+
import "./chunk-N5VEJ3E7.js";
|
|
18
|
+
import "./chunk-2NWOYXPJ.js";
|
|
19
|
+
import "./chunk-ZLH465EU.js";
|
|
20
|
+
import "./chunk-QPF4LTK5.js";
|
|
21
|
+
import "./chunk-HTFBXGJF.js";
|
|
22
|
+
import "./chunk-QZLK2ISN.js";
|
|
23
|
+
import "./chunk-BMV56JCL.js";
|
|
24
|
+
import "./chunk-BHNBWFT5.js";
|
|
25
|
+
import "./chunk-Y5E2WNWB.js";
|
|
26
|
+
import "./chunk-DALBYUPC.js";
|
|
27
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
28
|
+
export {
|
|
29
|
+
SCHEMA_DIALECT,
|
|
30
|
+
commandContract,
|
|
31
|
+
commandPathOf,
|
|
32
|
+
findCommand,
|
|
33
|
+
outputOf
|
|
34
|
+
};
|
|
@@ -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-BMFPCW6Q.js";
|
|
7
|
+
import "./chunk-BMV56JCL.js";
|
|
8
|
+
import "./chunk-BHNBWFT5.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-DALBYUPC.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.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/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";
|
|
@@ -13,22 +13,22 @@ import {
|
|
|
13
13
|
parseDescribe,
|
|
14
14
|
shimFiles,
|
|
15
15
|
writeShim
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-7SWWVDEZ.js";
|
|
17
17
|
import "./chunk-Y5E2WNWB.js";
|
|
18
18
|
import {
|
|
19
19
|
CliError
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-DALBYUPC.js";
|
|
21
21
|
import {
|
|
22
22
|
__name,
|
|
23
23
|
__toESM
|
|
24
24
|
} from "./chunk-ZVVMGPBJ.js";
|
|
25
25
|
|
|
26
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.80.
|
|
26
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.7_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
27
|
var import_cross_spawn2 = __toESM(require_cross_spawn(), 1);
|
|
28
28
|
import { randomUUID } from "node:crypto";
|
|
29
29
|
import { constants } from "node:os";
|
|
30
30
|
|
|
31
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.80.
|
|
31
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.7_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
32
|
import { readdirSync, statSync } from "node:fs";
|
|
33
33
|
import { join } from "node:path";
|
|
34
34
|
var variable = /* @__PURE__ */ __name((env, name, platform) => platform === "win32" ? Object.entries(env).find(([key]) => key.toUpperCase() === name)?.[1] : env[name], "variable");
|
|
@@ -100,7 +100,7 @@ var findTools = /* @__PURE__ */ __name((search) => {
|
|
|
100
100
|
}, "findTools");
|
|
101
101
|
var isBuiltIn = /* @__PURE__ */ __name((name) => name === "wcat" || BUILT_IN_COMMANDS.includes(name), "isBuiltIn");
|
|
102
102
|
|
|
103
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.80.
|
|
103
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.7_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
104
|
var import_cross_spawn = __toESM(require_cross_spawn(), 1);
|
|
105
105
|
import { readFileSync } from "node:fs";
|
|
106
106
|
var MAX_ANSWER_BYTES = 64 * 1024;
|
|
@@ -149,7 +149,7 @@ var baseVersion = /* @__PURE__ */ __name(() => {
|
|
|
149
149
|
}
|
|
150
150
|
}, "baseVersion");
|
|
151
151
|
|
|
152
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.80.
|
|
152
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.7_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.80.
|
|
244
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.7_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-WYKVF6RH.js");
|
|
342
342
|
const object = errorObjectOf(error);
|
|
343
343
|
context.stderr.write(`${renderError(object, { cli: "wcat", interactive: !json })}
|
|
344
344
|
`);
|
|
@@ -1,27 +1,29 @@
|
|
|
1
1
|
import { createRequire as __bundleRequire } from "node:module";
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
|
+
CRM_KINDS,
|
|
4
5
|
PASTE_QR,
|
|
5
6
|
atTerminal,
|
|
6
7
|
bareCheck,
|
|
7
8
|
checkWords,
|
|
8
9
|
countedPoll,
|
|
10
|
+
isItemKind,
|
|
9
11
|
loginQr,
|
|
10
12
|
parseMarkdown,
|
|
11
13
|
parseMarkdownSpans,
|
|
12
14
|
plainQr,
|
|
13
15
|
terminalQr
|
|
14
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-C4RUKMDT.js";
|
|
15
17
|
import {
|
|
16
18
|
DETAILS,
|
|
17
19
|
REASONS,
|
|
18
20
|
failureContext
|
|
19
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-6RO5RDNR.js";
|
|
20
22
|
import {
|
|
21
23
|
pollLines,
|
|
22
24
|
renderMessage,
|
|
23
25
|
renderMessages
|
|
24
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-YA2JPMYX.js";
|
|
25
27
|
import {
|
|
26
28
|
ModerationRules,
|
|
27
29
|
act,
|
|
@@ -32,17 +34,19 @@ import {
|
|
|
32
34
|
pickChat,
|
|
33
35
|
pickPerson,
|
|
34
36
|
validateFormattedText
|
|
35
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-SIYT2BBI.js";
|
|
36
38
|
import {
|
|
37
39
|
readSecret
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
+
} from "./chunk-EFP5NN7I.js";
|
|
41
|
+
import "./chunk-WA3DQSAZ.js";
|
|
40
42
|
import "./chunk-HTQTIKWP.js";
|
|
41
43
|
import {
|
|
42
44
|
resolveOutput
|
|
43
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-L3YX7A5M.js";
|
|
44
46
|
import {
|
|
45
47
|
COUNTER_FIELDS,
|
|
48
|
+
CRM_OPENS,
|
|
49
|
+
DEAL_KINDS,
|
|
46
50
|
DEAL_ROLES,
|
|
47
51
|
DEAL_STATUSES,
|
|
48
52
|
FOLDER_PROVIDERS,
|
|
@@ -53,6 +57,7 @@ import {
|
|
|
53
57
|
RECORD_ENTITY_TYPES,
|
|
54
58
|
RECORD_OPERATIONS,
|
|
55
59
|
REF_KINDS,
|
|
60
|
+
STAGE_OUTCOMES,
|
|
56
61
|
UNKNOWN_PROVIDER,
|
|
57
62
|
canonicalReference,
|
|
58
63
|
counterValue,
|
|
@@ -72,7 +77,7 @@ import {
|
|
|
72
77
|
providers,
|
|
73
78
|
rankingOptions,
|
|
74
79
|
useProviders
|
|
75
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-KVSC657S.js";
|
|
76
81
|
import {
|
|
77
82
|
CURRENCY_SCALES,
|
|
78
83
|
FINANCE_REVIEWS,
|
|
@@ -90,19 +95,22 @@ import {
|
|
|
90
95
|
moneyOf,
|
|
91
96
|
normalizeTag,
|
|
92
97
|
parseMeetingReference
|
|
93
|
-
} from "./chunk-
|
|
94
|
-
import "./chunk-
|
|
95
|
-
import "./chunk-
|
|
96
|
-
import "./chunk-
|
|
97
|
-
import "./chunk-
|
|
98
|
+
} from "./chunk-2NWOYXPJ.js";
|
|
99
|
+
import "./chunk-ZLH465EU.js";
|
|
100
|
+
import "./chunk-QZLK2ISN.js";
|
|
101
|
+
import "./chunk-BMV56JCL.js";
|
|
102
|
+
import "./chunk-BHNBWFT5.js";
|
|
98
103
|
import "./chunk-Y5E2WNWB.js";
|
|
99
|
-
import "./chunk-
|
|
104
|
+
import "./chunk-DALBYUPC.js";
|
|
100
105
|
import "./chunk-ZVVMGPBJ.js";
|
|
101
106
|
export {
|
|
102
107
|
DETAILS as CORE_DETAILS,
|
|
103
108
|
REASONS as CORE_REASONS,
|
|
104
109
|
COUNTER_FIELDS,
|
|
110
|
+
CRM_KINDS,
|
|
111
|
+
CRM_OPENS,
|
|
105
112
|
CURRENCY_SCALES,
|
|
113
|
+
DEAL_KINDS,
|
|
106
114
|
DEAL_ROLES,
|
|
107
115
|
DEAL_STATUSES,
|
|
108
116
|
FINANCE_REVIEWS,
|
|
@@ -121,6 +129,7 @@ export {
|
|
|
121
129
|
RECORD_ENTITY_TYPES,
|
|
122
130
|
RECORD_OPERATIONS,
|
|
123
131
|
REF_KINDS,
|
|
132
|
+
STAGE_OUTCOMES,
|
|
124
133
|
TAG_TYPES,
|
|
125
134
|
UNKNOWN_PROVIDER,
|
|
126
135
|
act,
|
|
@@ -140,6 +149,7 @@ export {
|
|
|
140
149
|
formatReference,
|
|
141
150
|
isFolderProvider,
|
|
142
151
|
isId,
|
|
152
|
+
isItemKind,
|
|
143
153
|
isKind,
|
|
144
154
|
isLocator,
|
|
145
155
|
judge,
|
|
@@ -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.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/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.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/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-GLLLYACZ.js";
|
|
17
|
+
import "./chunk-MCR43SWG.js";
|
|
18
|
+
import "./chunk-HTFBXGJF.js";
|
|
19
|
+
import "./chunk-BMV56JCL.js";
|
|
20
|
+
import "./chunk-BHNBWFT5.js";
|
|
21
21
|
import "./chunk-Y5E2WNWB.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-DALBYUPC.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-GLLLYACZ.js";
|
|
8
|
+
import "./chunk-MCR43SWG.js";
|
|
9
|
+
import "./chunk-HTFBXGJF.js";
|
|
10
|
+
import "./chunk-BMV56JCL.js";
|
|
11
|
+
import "./chunk-BHNBWFT5.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-DALBYUPC.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.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/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.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/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.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/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-FLOOPXOT.js";
|
|
9
|
+
import "./chunk-UWL2IOII.js";
|
|
10
|
+
import "./chunk-3DQYO7FB.js";
|
|
11
|
+
import "./chunk-ACLILULA.js";
|
|
12
|
+
import "./chunk-3YRE6DNM.js";
|
|
13
|
+
import "./chunk-QPF4LTK5.js";
|
|
14
|
+
import "./chunk-HTFBXGJF.js";
|
|
15
|
+
import "./chunk-UHC5I3JV.js";
|
|
16
16
|
import "./chunk-D72URWJE.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-BMV56JCL.js";
|
|
18
|
+
import "./chunk-BHNBWFT5.js";
|
|
19
19
|
import "./chunk-Y5E2WNWB.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-DALBYUPC.js";
|
|
21
21
|
import "./chunk-ZVVMGPBJ.js";
|
|
22
22
|
export {
|
|
23
23
|
askSetupQuestions,
|
|
@@ -0,0 +1,32 @@
|
|
|
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-M7C4IGJ6.js";
|
|
8
|
+
import "./chunk-DPSH46NO.js";
|
|
9
|
+
import "./chunk-HTQTIKWP.js";
|
|
10
|
+
import "./chunk-NDJZQCF3.js";
|
|
11
|
+
import "./chunk-L3YX7A5M.js";
|
|
12
|
+
import "./chunk-U43HUE35.js";
|
|
13
|
+
import "./chunk-ACLILULA.js";
|
|
14
|
+
import "./chunk-ITUC5WAV.js";
|
|
15
|
+
import "./chunk-MCR43SWG.js";
|
|
16
|
+
import "./chunk-SMS5YNPB.js";
|
|
17
|
+
import "./chunk-N5VEJ3E7.js";
|
|
18
|
+
import "./chunk-2NWOYXPJ.js";
|
|
19
|
+
import "./chunk-ZLH465EU.js";
|
|
20
|
+
import "./chunk-QPF4LTK5.js";
|
|
21
|
+
import "./chunk-HTFBXGJF.js";
|
|
22
|
+
import "./chunk-QZLK2ISN.js";
|
|
23
|
+
import "./chunk-BMV56JCL.js";
|
|
24
|
+
import "./chunk-BHNBWFT5.js";
|
|
25
|
+
import "./chunk-Y5E2WNWB.js";
|
|
26
|
+
import "./chunk-DALBYUPC.js";
|
|
27
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
28
|
+
export {
|
|
29
|
+
WIRECAT_TOOLS,
|
|
30
|
+
firstScreen,
|
|
31
|
+
installHelp
|
|
32
|
+
};
|