@wirecat/zoom-cli 0.71.0 → 0.72.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/dist/answers.d.ts +56 -0
- package/dist/answers.d.ts.map +1 -1
- package/dist/bin/zm.js +2 -2
- package/dist/bundle/{all-profiles-O4YNVPZX.js → all-profiles-XFIPF4GF.js} +12 -12
- package/dist/bundle/answer-policy-AT6CDEE5.js +110 -0
- package/dist/bundle/{anthropic-7GGRX3RX.js → anthropic-SSUBR3BC.js} +18 -11
- package/dist/bundle/{app-server-CPMKM3HI.js → app-server-7DJHHF2F.js} +68 -56
- package/dist/bundle/{bun-POHZKEPV.js → bun-6HBYWQIX.js} +2 -2
- package/dist/bundle/{bun-sqlite-PGYMBPEL.js → bun-sqlite-4L3Q55NB.js} +10 -6
- package/dist/bundle/{chunk-Q2SUFGSH.js → chunk-23J2ANZ7.js} +2 -2
- package/dist/bundle/{chunk-FSHCAWZS.js → chunk-24OFZNRC.js} +13119 -10386
- package/dist/bundle/{chunk-LE7MDAQG.js → chunk-2MIBRVSV.js} +2 -2
- package/dist/bundle/{chunk-DIQLXAAZ.js → chunk-37NF5CBJ.js} +4 -4
- package/dist/bundle/chunk-3KRTEX5M.js +53 -0
- package/dist/bundle/{chunk-IED3NS7G.js → chunk-4SY67IUA.js} +30 -30
- package/dist/bundle/{chunk-CKPCVEXU.js → chunk-4XQWF3U2.js} +6 -6
- package/dist/bundle/{chunk-CT4WVR4N.js → chunk-4YIGXTBP.js} +3 -3
- package/dist/bundle/{chunk-YPO2U2YB.js → chunk-5AELTC52.js} +388 -143
- package/dist/bundle/{chunk-USQ23X5V.js → chunk-5MGICK47.js} +750 -734
- package/dist/bundle/{chunk-DK6ICIGL.js → chunk-5X4IY5JH.js} +2025 -1302
- package/dist/bundle/{chunk-EOSVN2ER.js → chunk-63QXCE5Z.js} +242 -242
- package/dist/bundle/{chunk-OE7EIP5L.js → chunk-6DCLZLGX.js} +1 -1
- package/dist/bundle/chunk-7GLJSJ7M.js +16 -0
- package/dist/bundle/{chunk-X3ZDN3U7.js → chunk-7IFO43Q5.js} +2 -2
- package/dist/bundle/{chunk-YD2RYVMK.js → chunk-7JYMGXLI.js} +41 -39
- package/dist/bundle/{chunk-DSVZEXYJ.js → chunk-7OD3522V.js} +3541 -3346
- package/dist/bundle/{chunk-2FV5JUQU.js → chunk-7S4D5SM2.js} +41 -35
- package/dist/bundle/{chunk-VRH7VRTK.js → chunk-7SUWPMZG.js} +10 -15
- package/dist/bundle/{chunk-4QPQ7MDA.js → chunk-ADKMBXY4.js} +1 -1
- package/dist/bundle/{chunk-MRI6QMZ3.js → chunk-B3SILJBU.js} +18 -18
- package/dist/bundle/{chunk-7ROXXRGG.js → chunk-CANRIRNZ.js} +6678 -5185
- package/dist/bundle/{chunk-DRBQDCDU.js → chunk-CW46FWKW.js} +38 -123
- package/dist/bundle/{chunk-GXF5HFFP.js → chunk-D24OQAHM.js} +4 -4
- package/dist/bundle/{chunk-ZBKWRYRS.js → chunk-D5EUMWD5.js} +3 -3
- package/dist/bundle/{chunk-QVSLSWAL.js → chunk-DEPXZJ2V.js} +21 -150
- package/dist/bundle/{chunk-TM4JSVGQ.js → chunk-DOCVEKP2.js} +39 -44
- package/dist/bundle/{chunk-BBTQIVFP.js → chunk-EFF2XBHP.js} +2 -2
- package/dist/bundle/{chunk-XRFHQGOD.js → chunk-EG25AY4L.js} +1 -1
- package/dist/bundle/{chunk-FEM2JQN2.js → chunk-ELJUBPY4.js} +1 -1
- package/dist/bundle/{chunk-2U6SER67.js → chunk-ERJYJ36F.js} +2 -2
- package/dist/bundle/chunk-FSCPQQS5.js +244 -0
- package/dist/bundle/{chunk-P3XC6EDU.js → chunk-H53WFZBN.js} +11 -130
- package/dist/bundle/{chunk-RN4EHCC5.js → chunk-I7CUMZD6.js} +3 -3
- package/dist/bundle/{chunk-ALIT5QFT.js → chunk-IACWKZWS.js} +1 -1
- package/dist/bundle/{chunk-MW4EGDDV.js → chunk-IFBIXU6C.js} +2 -2
- package/dist/bundle/{chunk-5K7OGPGA.js → chunk-IU4DUUB3.js} +7 -7
- package/dist/bundle/{chunk-INVTDIF6.js → chunk-IXO4SCKE.js} +1 -1
- package/dist/bundle/{chunk-OHWMIUCT.js → chunk-JAEPK457.js} +244 -245
- package/dist/bundle/{chunk-HB6XJQ3Y.js → chunk-JFPUYQSP.js} +5 -5
- package/dist/bundle/{chunk-IAV5BG3I.js → chunk-JG4MNYG2.js} +1 -1
- package/dist/bundle/{chunk-ZBFL5JPT.js → chunk-JRCH4YZP.js} +16 -10
- package/dist/bundle/{chunk-M76MXMLY.js → chunk-JZ4XNNL7.js} +1 -1
- package/dist/bundle/chunk-K6HR6HCO.js +32 -0
- package/dist/bundle/{chunk-DHWBSXG3.js → chunk-KFZL67JP.js} +323 -55
- package/dist/bundle/{chunk-X4GWR6GO.js → chunk-KPIQXFNB.js} +375 -10
- package/dist/bundle/{chunk-OWEBWDHV.js → chunk-KWURWGGB.js} +80 -5
- package/dist/bundle/{chunk-Q5PI72CR.js → chunk-LA6QUVGQ.js} +3 -2
- package/dist/bundle/{chunk-5J4AMBMM.js → chunk-LLUNHAZ7.js} +4 -4
- package/dist/bundle/{chunk-2RUAMDVV.js → chunk-LTWJM3ED.js} +17 -17
- package/dist/bundle/{chunk-2U27KIKU.js → chunk-M3DMXDX6.js} +6 -6
- package/dist/bundle/{chunk-VW6BF6M7.js → chunk-MCPOZNWG.js} +1 -1
- package/dist/bundle/{chunk-CRFOGYDG.js → chunk-MSQHSW4C.js} +2 -2
- package/dist/bundle/chunk-N4QNYWWG.js +71 -0
- package/dist/bundle/chunk-NMZQTYKJ.js +18 -0
- package/dist/bundle/{chunk-2KESWII5.js → chunk-OHCLQJOV.js} +3 -3
- package/dist/bundle/{chunk-4QUFFB2U.js → chunk-OP5PGE2N.js} +4 -4
- package/dist/bundle/{chunk-Q3XLZIY3.js → chunk-OY6N2ABP.js} +29 -23
- package/dist/bundle/chunk-PJWSGXOB.js +185 -0
- package/dist/bundle/{chunk-633QXP57.js → chunk-QA6KIL7Q.js} +10 -8
- package/dist/bundle/{chunk-N2FNMION.js → chunk-QQUY4MZY.js} +1 -1
- package/dist/bundle/{chunk-X277FBTF.js → chunk-QW7YTRV2.js} +3 -3
- package/dist/bundle/chunk-RJTGENHZ.js +109 -0
- package/dist/bundle/{chunk-ULDXZ6LH.js → chunk-RLCVPECY.js} +63 -63
- package/dist/bundle/{chunk-BGTEVIW4.js → chunk-RN5SU2RN.js} +6 -6
- package/dist/bundle/{chunk-P3ASN72F.js → chunk-RX5CJ55S.js} +1 -1
- package/dist/bundle/{chunk-7QC4M4HS.js → chunk-RZUJMAMK.js} +4 -4
- package/dist/bundle/{chunk-OORMSM6O.js → chunk-S7SXSHRC.js} +21 -21
- package/dist/bundle/{chunk-GGS6D4W4.js → chunk-SXZGCD6E.js} +3 -3
- package/dist/bundle/{chunk-64ZHF6PJ.js → chunk-T27IMG6X.js} +3 -1
- package/dist/bundle/{chunk-VJXHIUFP.js → chunk-TF2WKPNW.js} +15 -15
- package/dist/bundle/{chunk-QTHIU7CO.js → chunk-U32VL3MA.js} +1 -1
- package/dist/bundle/{chunk-RQG5VOGH.js → chunk-U3NJBGLA.js} +3 -3
- package/dist/bundle/{chunk-WOIHSQAL.js → chunk-UVZLK3M4.js} +33 -9
- package/dist/bundle/{chunk-XI3VIQKW.js → chunk-VIV64MQM.js} +560 -537
- package/dist/bundle/{chunk-CFQF6IGY.js → chunk-W3YTVEWV.js} +69 -6
- package/dist/bundle/{chunk-54YDWBYG.js → chunk-WLVG4RBZ.js} +1 -1
- package/dist/bundle/{chunk-77TCCHMP.js → chunk-WOAYHCM2.js} +1 -1
- package/dist/bundle/{chunk-5LJTU4LY.js → chunk-WXTYYWZI.js} +13 -13
- package/dist/bundle/{chunk-MEED7YFG.js → chunk-WZGKHTA4.js} +2 -2
- package/dist/bundle/{chunk-I4DFFR7F.js → chunk-X2MP634F.js} +14 -5
- package/dist/bundle/{chunk-RGJ7OWHU.js → chunk-XPWZSW6Y.js} +61 -21
- package/dist/bundle/{chunk-SELXER2Q.js → chunk-YVVJ6Y5C.js} +7 -7
- package/dist/bundle/{chunk-4LAQDZXU.js → chunk-ZHA56THL.js} +790 -70
- package/dist/bundle/{chunk-ZVI6TFQR.js → chunk-ZVFYGTGJ.js} +17 -17
- package/dist/bundle/{chunk-GL3MYFMX.js → chunk-ZW5KHKMA.js} +5 -5
- package/dist/bundle/{cli-KHMEUXNG.js → cli-IYYI7GAM.js} +158 -96
- package/dist/bundle/command-contract-TX7NSUBM.js +42 -0
- package/dist/bundle/command-server-entry-FXX4LJWF.js +171 -0
- package/dist/bundle/config-YKNM33J7.js +96 -0
- package/dist/bundle/{decode-7RP4HSVE.js → decode-SRGOOGBW.js} +6 -6
- package/dist/bundle/{dispatch-IZCAK47P.js → dispatch-OUHRPFUL.js} +11 -11
- package/dist/bundle/{dist-BFT2SUBV.js → dist-UZLNLAIO.js} +52 -31
- package/dist/bundle/{echarts-T2BSQ2YV.js → echarts-7CM2MCMW.js} +2 -2
- package/dist/bundle/{embed-BAS6YPDT.js → embed-VEE56BOB.js} +7 -7
- package/dist/bundle/{embedder-5XD5FCAO.js → embedder-SZFYR543.js} +10 -10
- package/dist/bundle/{failure-R2OIHCE5.js → failure-MZBNM7M5.js} +3 -3
- package/dist/bundle/first-run-KWC7RKF2.js +29 -0
- package/dist/bundle/first-screen-DWKMNSEI.js +40 -0
- package/dist/bundle/{folders-ZXTOFY4T.js → folders-UQXRSDJJ.js} +5 -5
- package/dist/bundle/{instructions-XZPROPKY.js → instructions-R7OHVAWH.js} +1 -1
- package/dist/bundle/{main-TZXKGL3L.js → main-EFUN2O3K.js} +21 -20
- package/dist/bundle/{mcp-M4QN2E7R.js → mcp-7KQUJNFN.js} +2 -2
- package/dist/bundle/{meetings-JB2ISPND.js → meetings-5I2BDNTA.js} +7 -7
- package/dist/bundle/{node-A3B3MJWX.js → node-3N2JGZ7V.js} +2 -2
- package/dist/bundle/{node-sqlite-QVWDLGDX.js → node-sqlite-2UVEE2WM.js} +11 -7
- package/dist/bundle/{oauth-YA6IYV4O.js → oauth-AYGD7UU3.js} +8 -8
- package/dist/bundle/{open-SY7TXJBS.js → open-3GUVDLGD.js} +6 -6
- package/dist/bundle/openai-NHCDLWWY.js +28 -0
- package/dist/bundle/{output-file-YGQYZCBJ.js → output-file-72JFXVHQ.js} +6 -6
- package/dist/bundle/{process-6HNBTJIY.js → process-YAHHUFR5.js} +1 -1
- package/dist/bundle/{program-77BUCJ4H.js → program-OSZROCTK.js} +97 -91
- package/dist/bundle/{prompt-YDG73YDS.js → prompt-HMCW4XQJ.js} +6 -6
- package/dist/bundle/{recognize-ECXDGTB7.js → recognize-VF5CA7EM.js} +5 -5
- package/dist/bundle/{remote-K4JHGBVJ.js → remote-5C6VTPR2.js} +10 -8
- package/dist/bundle/{rerank-IU2YYD4T.js → rerank-ER7NEDOI.js} +8 -8
- package/dist/bundle/run-log-JKTLKXSK.js +124 -0
- package/dist/bundle/{serve-3XWIF3HI.js → serve-QJWXJOM7.js} +10 -10
- package/dist/bundle/{server-56VYOHWP.js → server-KCIK3Y2P.js} +50 -48
- package/dist/bundle/server-LLGFDLLJ.js +75 -0
- package/dist/bundle/{services-X7IPEGQ5.js → services-LQMYJQG3.js} +62 -45
- package/dist/bundle/{speech-E2OBQWYA.js → speech-74GJQNQH.js} +20 -17
- package/dist/bundle/{state-4GMJYK4H.js → state-4XDGCHDF.js} +7 -7
- package/dist/bundle/{store-LA4TV4DM.js → store-5Y5HK2L2.js} +22 -19
- package/dist/bundle/{store-KPI7GB5Y.js → store-Y56AHJ2Y.js} +42 -27
- package/dist/bundle/store-connection-4WI32AYU.js +89 -0
- package/dist/bundle/store-maintenance-command-PCXO5AH4.js +65 -0
- package/dist/bundle/{streaming-EJ3NM2C2.js → streaming-E5CR6HSR.js} +7 -7
- package/dist/bundle/{tokens-BE6CJMR5.js → tokens-E2QNVC4F.js} +7 -7
- package/dist/bundle/zm.js +34 -10
- package/dist/bundle/{zoom-app-QEJBTIJ4.js → zoom-app-NVL7HEAX.js} +8 -8
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/answer-policy-PPSPMCLH.js +0 -104
- package/dist/bundle/chunk-KMV7GZB6.js +0 -35
- package/dist/bundle/chunk-UG447QY2.js +0 -27
- package/dist/bundle/command-contract-4K6XXZYE.js +0 -41
- package/dist/bundle/config-EEDB632I.js +0 -90
- package/dist/bundle/first-run-23WWZ2PW.js +0 -28
- package/dist/bundle/first-screen-6HFUYVFR.js +0 -39
- package/dist/bundle/openai-2AU24NRN.js +0 -25
- package/dist/bundle/run-log-LFEXNZ74.js +0 -118
- package/dist/bundle/server-YSTMUZ22.js +0 -72
- package/dist/bundle/store-connection-AZTIF6IH.js +0 -83
- package/dist/bundle/store-maintenance-command-LR572PS4.js +0 -61
- /package/dist/bundle/{chunk-VOXIGICJ.js → chunk-YVNHQFLC.js} +0 -0
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
COMMAND_SERVER_CONCURRENT,
|
|
5
|
+
enterCommandServer,
|
|
6
|
+
serveCommands
|
|
7
|
+
} from "./chunk-PJWSGXOB.js";
|
|
8
|
+
import {
|
|
9
|
+
ensureSqlite
|
|
10
|
+
} from "./chunk-RJTGENHZ.js";
|
|
11
|
+
import "./chunk-NMZQTYKJ.js";
|
|
12
|
+
import "./chunk-RN5SU2RN.js";
|
|
13
|
+
import "./chunk-T27IMG6X.js";
|
|
14
|
+
import "./chunk-ZW5KHKMA.js";
|
|
15
|
+
import {
|
|
16
|
+
commandServerRequest,
|
|
17
|
+
exitCodeSet,
|
|
18
|
+
inCommandServerRequest
|
|
19
|
+
} from "./chunk-7OD3522V.js";
|
|
20
|
+
import "./chunk-QA6KIL7Q.js";
|
|
21
|
+
import "./chunk-37NF5CBJ.js";
|
|
22
|
+
import "./chunk-YVVJ6Y5C.js";
|
|
23
|
+
import "./chunk-IACWKZWS.js";
|
|
24
|
+
import "./chunk-JAEPK457.js";
|
|
25
|
+
import "./chunk-N4QNYWWG.js";
|
|
26
|
+
import "./chunk-LA6QUVGQ.js";
|
|
27
|
+
import "./chunk-K6HR6HCO.js";
|
|
28
|
+
import "./chunk-QW7YTRV2.js";
|
|
29
|
+
import "./chunk-D24OQAHM.js";
|
|
30
|
+
import {
|
|
31
|
+
asOwnProcess
|
|
32
|
+
} from "./chunk-5MGICK47.js";
|
|
33
|
+
import "./chunk-WZGKHTA4.js";
|
|
34
|
+
import "./chunk-VIV64MQM.js";
|
|
35
|
+
import "./chunk-U32VL3MA.js";
|
|
36
|
+
import "./chunk-IU4DUUB3.js";
|
|
37
|
+
import "./chunk-3KRTEX5M.js";
|
|
38
|
+
import "./chunk-RLCVPECY.js";
|
|
39
|
+
import "./chunk-63QXCE5Z.js";
|
|
40
|
+
import "./chunk-YVNHQFLC.js";
|
|
41
|
+
import "./chunk-S7SXSHRC.js";
|
|
42
|
+
import {
|
|
43
|
+
catchCrashes
|
|
44
|
+
} from "./chunk-UVZLK3M4.js";
|
|
45
|
+
import "./chunk-Y5E2WNWB.js";
|
|
46
|
+
import {
|
|
47
|
+
CliError
|
|
48
|
+
} from "./chunk-ELJUBPY4.js";
|
|
49
|
+
import "./chunk-6DCLZLGX.js";
|
|
50
|
+
import {
|
|
51
|
+
__name
|
|
52
|
+
} from "./chunk-ZVVMGPBJ.js";
|
|
53
|
+
|
|
54
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/cli/command-server-entry.js
|
|
55
|
+
import { PassThrough } from "node:stream";
|
|
56
|
+
var route = /* @__PURE__ */ __name((stream, sink) => {
|
|
57
|
+
const original = stream.write;
|
|
58
|
+
stream.write = ((chunk, encoding, callback) => {
|
|
59
|
+
sink()(typeof chunk === "string" ? Buffer.from(chunk, typeof encoding === "string" ? encoding : "utf8") : Buffer.from(chunk));
|
|
60
|
+
const done = typeof encoding === "function" ? encoding : callback;
|
|
61
|
+
if (done)
|
|
62
|
+
process.nextTick(done);
|
|
63
|
+
return true;
|
|
64
|
+
});
|
|
65
|
+
return () => {
|
|
66
|
+
stream.write = original;
|
|
67
|
+
};
|
|
68
|
+
}, "route");
|
|
69
|
+
var closedStdin = /* @__PURE__ */ __name(() => {
|
|
70
|
+
const stdin = new PassThrough();
|
|
71
|
+
stdin.end();
|
|
72
|
+
return stdin;
|
|
73
|
+
}, "closedStdin");
|
|
74
|
+
var useStdin = /* @__PURE__ */ __name((outside) => Object.defineProperty(process, "stdin", {
|
|
75
|
+
get: /* @__PURE__ */ __name(() => commandServerRequest()?.stdin ?? outside, "get"),
|
|
76
|
+
configurable: true,
|
|
77
|
+
enumerable: true
|
|
78
|
+
}), "useStdin");
|
|
79
|
+
var roomFor = /* @__PURE__ */ __name((runs) => {
|
|
80
|
+
const emitters = [process, process.stdout, process.stderr];
|
|
81
|
+
const before = emitters.map((emitter) => emitter.getMaxListeners());
|
|
82
|
+
for (const emitter of emitters)
|
|
83
|
+
emitter.setMaxListeners(emitter.getMaxListeners() + 2 * runs);
|
|
84
|
+
return () => {
|
|
85
|
+
for (const [at, emitter] of emitters.entries())
|
|
86
|
+
emitter.setMaxListeners(before[at]);
|
|
87
|
+
};
|
|
88
|
+
}, "roomFor");
|
|
89
|
+
var serveEntry = /* @__PURE__ */ __name(async (entry, io, { firstRunAt, commanderExit }) => {
|
|
90
|
+
const release = catchCrashes({
|
|
91
|
+
cli: entry.app.command,
|
|
92
|
+
interactive: false,
|
|
93
|
+
...entry.reasons ? { reasons: entry.reasons } : {},
|
|
94
|
+
target: io.signals
|
|
95
|
+
});
|
|
96
|
+
const stopper = new AbortController();
|
|
97
|
+
const stop = /* @__PURE__ */ __name(() => stopper.abort(new CliError("cancelled", "the command server was stopped", { retryable: false })), "stop");
|
|
98
|
+
const protocol = io.stdout.write.bind(io.stdout);
|
|
99
|
+
const ownStderr = io.stderr.write.bind(io.stderr);
|
|
100
|
+
const toStderr = /* @__PURE__ */ __name((chunk) => {
|
|
101
|
+
ownStderr(chunk);
|
|
102
|
+
}, "toStderr");
|
|
103
|
+
const sink = /* @__PURE__ */ __name((pick) => () => {
|
|
104
|
+
const request = commandServerRequest();
|
|
105
|
+
return request ? (chunk) => pick(request).push(chunk) : toStderr;
|
|
106
|
+
}, "sink");
|
|
107
|
+
const unrouteOut = route(process.stdout, sink((request) => request.stdout));
|
|
108
|
+
const unrouteErr = route(process.stderr, sink((request) => request.stderr));
|
|
109
|
+
const stdin = Object.getOwnPropertyDescriptor(process, "stdin");
|
|
110
|
+
const requests = io.stdin;
|
|
111
|
+
useStdin(closedStdin());
|
|
112
|
+
const unroom = roomFor(COMMAND_SERVER_CONCURRENT);
|
|
113
|
+
io.signals.on("SIGINT", stop).on("SIGTERM", stop);
|
|
114
|
+
io.stdout.on("error", stop);
|
|
115
|
+
const run = /* @__PURE__ */ __name(async (argv, alone) => {
|
|
116
|
+
const request = { stdout: [], stderr: [], stdin: closedStdin(), alone };
|
|
117
|
+
const requestIo = { ...io, argv: [...io.argv.slice(0, 2), ...argv], stdin: request.stdin };
|
|
118
|
+
const context = {
|
|
119
|
+
args: argv,
|
|
120
|
+
env: io.env,
|
|
121
|
+
tty: false,
|
|
122
|
+
signal: stopper.signal,
|
|
123
|
+
atStart: /* @__PURE__ */ __name(async (command) => {
|
|
124
|
+
await enterCommandServer(command, entry.app.command);
|
|
125
|
+
await firstRunAt(entry, requestIo, () => true)(command);
|
|
126
|
+
}, "atStart"),
|
|
127
|
+
ask: /* @__PURE__ */ __name(async () => false, "ask"),
|
|
128
|
+
openBrowser: /* @__PURE__ */ __name(async () => void 0, "openBrowser"),
|
|
129
|
+
outputClosed: /* @__PURE__ */ __name(() => false, "outputClosed"),
|
|
130
|
+
setExitCode: /* @__PURE__ */ __name((code2) => {
|
|
131
|
+
request.exitCode = code2;
|
|
132
|
+
}, "setExitCode")
|
|
133
|
+
};
|
|
134
|
+
const code = await inCommandServerRequest(request, () => asOwnProcess(async () => {
|
|
135
|
+
try {
|
|
136
|
+
const returned = await entry.run(context);
|
|
137
|
+
return typeof returned === "number" ? returned : exitCodeSet() ?? 0;
|
|
138
|
+
} catch (error) {
|
|
139
|
+
return commanderExit(error) ?? entry.fail(error, context);
|
|
140
|
+
}
|
|
141
|
+
}));
|
|
142
|
+
const text = /* @__PURE__ */ __name((chunks) => Buffer.concat(chunks).toString("utf8"), "text");
|
|
143
|
+
return { code, stdout: text(request.stdout), stderr: text(request.stderr) };
|
|
144
|
+
}, "run");
|
|
145
|
+
try {
|
|
146
|
+
if (entry.sqlite)
|
|
147
|
+
await ensureSqlite();
|
|
148
|
+
await serveCommands({
|
|
149
|
+
input: requests,
|
|
150
|
+
write: /* @__PURE__ */ __name((line) => new Promise((resolve) => protocol(line) ? resolve() : io.stdout.once("drain", resolve)), "write"),
|
|
151
|
+
run,
|
|
152
|
+
cli: entry.app.command,
|
|
153
|
+
concurrent: COMMAND_SERVER_CONCURRENT,
|
|
154
|
+
version: entry.app.version,
|
|
155
|
+
signal: stopper.signal
|
|
156
|
+
});
|
|
157
|
+
io.setExitCode(0);
|
|
158
|
+
} finally {
|
|
159
|
+
io.signals.off("SIGINT", stop).off("SIGTERM", stop);
|
|
160
|
+
unroom();
|
|
161
|
+
unrouteOut();
|
|
162
|
+
unrouteErr();
|
|
163
|
+
if (stdin)
|
|
164
|
+
Object.defineProperty(process, "stdin", stdin);
|
|
165
|
+
requests.destroy?.();
|
|
166
|
+
release();
|
|
167
|
+
}
|
|
168
|
+
}, "serveEntry");
|
|
169
|
+
export {
|
|
170
|
+
serveEntry
|
|
171
|
+
};
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
ZOOM_SETTINGS,
|
|
5
|
+
addProfile,
|
|
6
|
+
filesZone,
|
|
7
|
+
inspectConfig,
|
|
8
|
+
migrateConfig,
|
|
9
|
+
profileAccountKey,
|
|
10
|
+
readConfig,
|
|
11
|
+
setConfig,
|
|
12
|
+
unsetConfig
|
|
13
|
+
} from "./chunk-TF2WKPNW.js";
|
|
14
|
+
import "./chunk-CANRIRNZ.js";
|
|
15
|
+
import "./chunk-CW46FWKW.js";
|
|
16
|
+
import "./chunk-FSCPQQS5.js";
|
|
17
|
+
import "./chunk-M3DMXDX6.js";
|
|
18
|
+
import "./chunk-JZ4XNNL7.js";
|
|
19
|
+
import "./chunk-ERJYJ36F.js";
|
|
20
|
+
import "./chunk-DOCVEKP2.js";
|
|
21
|
+
import "./chunk-JG4MNYG2.js";
|
|
22
|
+
import "./chunk-B3SILJBU.js";
|
|
23
|
+
import "./chunk-JRCH4YZP.js";
|
|
24
|
+
import "./chunk-LTWJM3ED.js";
|
|
25
|
+
import "./chunk-23J2ANZ7.js";
|
|
26
|
+
import "./chunk-KWURWGGB.js";
|
|
27
|
+
import "./chunk-ADKMBXY4.js";
|
|
28
|
+
import "./chunk-LLUNHAZ7.js";
|
|
29
|
+
import "./chunk-5AELTC52.js";
|
|
30
|
+
import "./chunk-7S4D5SM2.js";
|
|
31
|
+
import "./chunk-OY6N2ABP.js";
|
|
32
|
+
import "./chunk-7IFO43Q5.js";
|
|
33
|
+
import "./chunk-HTQTIKWP.js";
|
|
34
|
+
import "./chunk-SXZGCD6E.js";
|
|
35
|
+
import "./chunk-5X4IY5JH.js";
|
|
36
|
+
import "./chunk-WXTYYWZI.js";
|
|
37
|
+
import "./chunk-RZUJMAMK.js";
|
|
38
|
+
import "./chunk-MCPOZNWG.js";
|
|
39
|
+
import "./chunk-H53WFZBN.js";
|
|
40
|
+
import "./chunk-W3YTVEWV.js";
|
|
41
|
+
import "./chunk-ZVFYGTGJ.js";
|
|
42
|
+
import "./chunk-4XQWF3U2.js";
|
|
43
|
+
import "./chunk-PJWSGXOB.js";
|
|
44
|
+
import "./chunk-RJTGENHZ.js";
|
|
45
|
+
import "./chunk-NMZQTYKJ.js";
|
|
46
|
+
import "./chunk-I7CUMZD6.js";
|
|
47
|
+
import "./chunk-EFF2XBHP.js";
|
|
48
|
+
import "./chunk-24OFZNRC.js";
|
|
49
|
+
import "./chunk-7SUWPMZG.js";
|
|
50
|
+
import "./chunk-ZHA56THL.js";
|
|
51
|
+
import "./chunk-7GLJSJ7M.js";
|
|
52
|
+
import "./chunk-IXO4SCKE.js";
|
|
53
|
+
import "./chunk-X2MP634F.js";
|
|
54
|
+
import "./chunk-WLVG4RBZ.js";
|
|
55
|
+
import "./chunk-RX5CJ55S.js";
|
|
56
|
+
import "./chunk-D72URWJE.js";
|
|
57
|
+
import "./chunk-RN5SU2RN.js";
|
|
58
|
+
import "./chunk-T27IMG6X.js";
|
|
59
|
+
import "./chunk-ZW5KHKMA.js";
|
|
60
|
+
import "./chunk-7OD3522V.js";
|
|
61
|
+
import "./chunk-QA6KIL7Q.js";
|
|
62
|
+
import "./chunk-37NF5CBJ.js";
|
|
63
|
+
import "./chunk-YVVJ6Y5C.js";
|
|
64
|
+
import "./chunk-IACWKZWS.js";
|
|
65
|
+
import "./chunk-JAEPK457.js";
|
|
66
|
+
import "./chunk-N4QNYWWG.js";
|
|
67
|
+
import "./chunk-LA6QUVGQ.js";
|
|
68
|
+
import "./chunk-K6HR6HCO.js";
|
|
69
|
+
import "./chunk-QW7YTRV2.js";
|
|
70
|
+
import "./chunk-D24OQAHM.js";
|
|
71
|
+
import "./chunk-5MGICK47.js";
|
|
72
|
+
import "./chunk-WZGKHTA4.js";
|
|
73
|
+
import "./chunk-VIV64MQM.js";
|
|
74
|
+
import "./chunk-U32VL3MA.js";
|
|
75
|
+
import "./chunk-IU4DUUB3.js";
|
|
76
|
+
import "./chunk-3KRTEX5M.js";
|
|
77
|
+
import "./chunk-RLCVPECY.js";
|
|
78
|
+
import "./chunk-63QXCE5Z.js";
|
|
79
|
+
import "./chunk-YVNHQFLC.js";
|
|
80
|
+
import "./chunk-S7SXSHRC.js";
|
|
81
|
+
import "./chunk-UVZLK3M4.js";
|
|
82
|
+
import "./chunk-Y5E2WNWB.js";
|
|
83
|
+
import "./chunk-ELJUBPY4.js";
|
|
84
|
+
import "./chunk-6DCLZLGX.js";
|
|
85
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
86
|
+
export {
|
|
87
|
+
ZOOM_SETTINGS,
|
|
88
|
+
addProfile,
|
|
89
|
+
filesZone,
|
|
90
|
+
inspectConfig,
|
|
91
|
+
migrateConfig,
|
|
92
|
+
profileAccountKey,
|
|
93
|
+
readConfig,
|
|
94
|
+
setConfig,
|
|
95
|
+
unsetConfig
|
|
96
|
+
};
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
decodeChannels,
|
|
7
7
|
formatOf,
|
|
8
8
|
runFfmpeg
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-OHCLQJOV.js";
|
|
10
|
+
import "./chunk-OP5PGE2N.js";
|
|
11
|
+
import "./chunk-S7SXSHRC.js";
|
|
12
|
+
import "./chunk-UVZLK3M4.js";
|
|
13
13
|
import "./chunk-Y5E2WNWB.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-ELJUBPY4.js";
|
|
15
|
+
import "./chunk-6DCLZLGX.js";
|
|
16
16
|
import "./chunk-ZVVMGPBJ.js";
|
|
17
17
|
export {
|
|
18
18
|
LONGEST_AUDIO_SECONDS,
|
|
@@ -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,23 +14,23 @@ import {
|
|
|
13
14
|
parseDescribe,
|
|
14
15
|
shimFiles,
|
|
15
16
|
writeShim
|
|
16
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-XPWZSW6Y.js";
|
|
17
18
|
import "./chunk-Y5E2WNWB.js";
|
|
18
19
|
import {
|
|
19
20
|
CliError
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-ELJUBPY4.js";
|
|
22
|
+
import "./chunk-6DCLZLGX.js";
|
|
22
23
|
import {
|
|
23
24
|
__name,
|
|
24
25
|
__toESM
|
|
25
26
|
} from "./chunk-ZVVMGPBJ.js";
|
|
26
27
|
|
|
27
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
28
|
+
// 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
|
|
28
29
|
var import_cross_spawn2 = __toESM(require_cross_spawn(), 1);
|
|
29
30
|
import { randomUUID } from "node:crypto";
|
|
30
31
|
import { constants } from "node:os";
|
|
31
32
|
|
|
32
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
33
|
+
// 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
|
|
33
34
|
import { readdirSync, statSync } from "node:fs";
|
|
34
35
|
import { join } from "node:path";
|
|
35
36
|
var variable = /* @__PURE__ */ __name((env, name, platform) => platform === "win32" ? Object.entries(env).find(([key]) => key.toUpperCase() === name)?.[1] : env[name], "variable");
|
|
@@ -101,10 +102,9 @@ var findTools = /* @__PURE__ */ __name((search) => {
|
|
|
101
102
|
}, "findTools");
|
|
102
103
|
var isBuiltIn = /* @__PURE__ */ __name((name) => name === "wcat" || BUILT_IN_COMMANDS.includes(name), "isBuiltIn");
|
|
103
104
|
|
|
104
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
105
|
+
// 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
|
|
105
106
|
var import_cross_spawn = __toESM(require_cross_spawn(), 1);
|
|
106
107
|
import { readFileSync } from "node:fs";
|
|
107
|
-
var MAX_ANSWER_BYTES = 64 * 1024;
|
|
108
108
|
var probeDescribe = /* @__PURE__ */ __name((path, { env, timeoutMs }) => new Promise((resolve) => {
|
|
109
109
|
let child;
|
|
110
110
|
try {
|
|
@@ -132,7 +132,7 @@ var probeDescribe = /* @__PURE__ */ __name((path, { env, timeoutMs }) => new Pro
|
|
|
132
132
|
const timer = setTimeout(giveUp, timeoutMs);
|
|
133
133
|
child.stdout?.on("data", (chunk) => {
|
|
134
134
|
size += chunk.length;
|
|
135
|
-
if (size >
|
|
135
|
+
if (size > DESCRIBE_MAX_BYTES)
|
|
136
136
|
giveUp();
|
|
137
137
|
else
|
|
138
138
|
chunks.push(chunk);
|
|
@@ -150,7 +150,7 @@ var baseVersion = /* @__PURE__ */ __name(() => {
|
|
|
150
150
|
}
|
|
151
151
|
}, "baseVersion");
|
|
152
152
|
|
|
153
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
153
|
+
// 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
|
|
154
154
|
import { closeSync, openSync, readSync, realpathSync, rmSync } from "node:fs";
|
|
155
155
|
import { basename, dirname } from "node:path";
|
|
156
156
|
var WIRECAT_PACKAGE = /node_modules[\\/]+@wirecat[\\/]/;
|
|
@@ -242,7 +242,7 @@ var removeShortcuts = /* @__PURE__ */ __name((search, names) => listShortcuts(se
|
|
|
242
242
|
return { ...statusOf(shortcut.name, shortcut.program, search), changed: true };
|
|
243
243
|
}), "removeShortcuts");
|
|
244
244
|
|
|
245
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
245
|
+
// 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
|
|
246
246
|
var DEFAULT_DESCRIBE_TIMEOUT_MS = 2e3;
|
|
247
247
|
var listTools = /* @__PURE__ */ __name(async (context) => {
|
|
248
248
|
const installed = installedPrograms(context);
|
|
@@ -339,7 +339,7 @@ var runTool = /* @__PURE__ */ __name((path, args, context) => new Promise((resol
|
|
|
339
339
|
});
|
|
340
340
|
}), "runTool");
|
|
341
341
|
var fail = /* @__PURE__ */ __name(async (error, json, context) => {
|
|
342
|
-
const { errorObjectOf, exitCodeOfError, renderError } = await import("./failure-
|
|
342
|
+
const { errorObjectOf, exitCodeOfError, renderError } = await import("./failure-MZBNM7M5.js");
|
|
343
343
|
const object = errorObjectOf(error);
|
|
344
344
|
context.stderr.write(`${renderError(object, { cli: "wcat", interactive: !json })}
|
|
345
345
|
`);
|
|
@@ -2,16 +2,21 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
PASTE_QR,
|
|
5
|
+
TABLE_RECORD_TYPES,
|
|
6
|
+
TableError,
|
|
5
7
|
atTerminal,
|
|
6
8
|
bareCheck,
|
|
7
9
|
checkWords,
|
|
8
10
|
countedPoll,
|
|
11
|
+
envelopeOfCsv,
|
|
9
12
|
loginQr,
|
|
10
13
|
parseMarkdown,
|
|
11
14
|
parseMarkdownSpans,
|
|
12
15
|
plainQr,
|
|
16
|
+
recordColumns,
|
|
17
|
+
recordTemplate,
|
|
13
18
|
terminalQr
|
|
14
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-KPIQXFNB.js";
|
|
15
20
|
import {
|
|
16
21
|
DEFAULT_LINK_CONFIG,
|
|
17
22
|
LINK_VERSION,
|
|
@@ -21,55 +26,59 @@ import {
|
|
|
21
26
|
linkTargetOf,
|
|
22
27
|
parseLink,
|
|
23
28
|
refsForLink
|
|
24
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-23J2ANZ7.js";
|
|
25
30
|
import {
|
|
26
31
|
DETAILS,
|
|
27
32
|
REASONS,
|
|
28
33
|
failureContext
|
|
29
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-KWURWGGB.js";
|
|
30
35
|
import {
|
|
31
36
|
pollLines,
|
|
32
37
|
renderMessage,
|
|
33
38
|
renderMessages
|
|
34
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-7IFO43Q5.js";
|
|
40
|
+
import "./chunk-HTQTIKWP.js";
|
|
35
41
|
import {
|
|
36
42
|
ModerationRules,
|
|
37
43
|
act,
|
|
38
44
|
defaultRules,
|
|
39
45
|
envelopeOfVcard,
|
|
40
|
-
foldName,
|
|
41
|
-
isId,
|
|
42
46
|
isVcard,
|
|
43
47
|
judge,
|
|
44
48
|
moderationPathFor,
|
|
45
|
-
pickChat,
|
|
46
|
-
pickPerson,
|
|
47
49
|
validateFormattedText
|
|
48
|
-
} from "./chunk-
|
|
49
|
-
import "./chunk-HTQTIKWP.js";
|
|
50
|
+
} from "./chunk-H53WFZBN.js";
|
|
50
51
|
import {
|
|
51
|
-
|
|
52
|
-
} from "./chunk-
|
|
53
|
-
import "./chunk-
|
|
52
|
+
readSecret
|
|
53
|
+
} from "./chunk-I7CUMZD6.js";
|
|
54
|
+
import "./chunk-EFF2XBHP.js";
|
|
54
55
|
import {
|
|
55
56
|
COUNTER_FIELDS,
|
|
56
|
-
CRM_KINDS,
|
|
57
57
|
RECORDS_ENVELOPE_SCHEMA,
|
|
58
58
|
RECORDS_SCHEMA_VERSION,
|
|
59
59
|
RECORD_ENTITY_TYPES,
|
|
60
60
|
RECORD_OPERATIONS,
|
|
61
61
|
ROLE_ADDRESS_WORDS,
|
|
62
|
+
ROLE_LABELS,
|
|
62
63
|
counterValue,
|
|
64
|
+
displayName,
|
|
63
65
|
envelopeOfJsonl,
|
|
64
66
|
envelopeOfText,
|
|
65
|
-
|
|
66
|
-
|
|
67
|
+
foldName,
|
|
68
|
+
isId,
|
|
67
69
|
isNoReplyAddress,
|
|
68
70
|
isRoleAddress,
|
|
69
|
-
|
|
71
|
+
nameKey,
|
|
70
72
|
observedCounters,
|
|
73
|
+
pickChat,
|
|
74
|
+
pickPerson,
|
|
71
75
|
rankingOptions
|
|
72
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-ZHA56THL.js";
|
|
77
|
+
import "./chunk-7GLJSJ7M.js";
|
|
78
|
+
import {
|
|
79
|
+
resolveOutput
|
|
80
|
+
} from "./chunk-YVVJ6Y5C.js";
|
|
81
|
+
import "./chunk-LA6QUVGQ.js";
|
|
73
82
|
import {
|
|
74
83
|
ADDED_ACCOUNT,
|
|
75
84
|
ADDED_PROVIDER,
|
|
@@ -77,6 +86,8 @@ import {
|
|
|
77
86
|
CONTRACT_KINDS,
|
|
78
87
|
CONTRACT_ROLES,
|
|
79
88
|
CONTRACT_STATUSES,
|
|
89
|
+
CRM_ACTIVITY_KINDS,
|
|
90
|
+
CRM_KINDS,
|
|
80
91
|
CRM_OPENS,
|
|
81
92
|
CURRENCY_SCALES,
|
|
82
93
|
DEAL_KINDS,
|
|
@@ -97,6 +108,7 @@ import {
|
|
|
97
108
|
PROJECT_ROLES,
|
|
98
109
|
PROVIDERS,
|
|
99
110
|
REF_KINDS,
|
|
111
|
+
RELATED_ROLES,
|
|
100
112
|
RELATIONS,
|
|
101
113
|
RELATION_KINDS,
|
|
102
114
|
ROLE_LISTS,
|
|
@@ -118,7 +130,9 @@ import {
|
|
|
118
130
|
intervalOf,
|
|
119
131
|
intervalText,
|
|
120
132
|
inverseOf,
|
|
133
|
+
isCrmUserId,
|
|
121
134
|
isFolderProvider,
|
|
135
|
+
isItemKind,
|
|
122
136
|
isKind,
|
|
123
137
|
isLocator,
|
|
124
138
|
isUsable,
|
|
@@ -129,6 +143,7 @@ import {
|
|
|
129
143
|
minorUnits,
|
|
130
144
|
moneyLabel,
|
|
131
145
|
moneyOf,
|
|
146
|
+
normalCrmUserId,
|
|
132
147
|
normalizeTag,
|
|
133
148
|
parseLocator,
|
|
134
149
|
parseReference,
|
|
@@ -139,24 +154,20 @@ import {
|
|
|
139
154
|
standingOf,
|
|
140
155
|
usableLink,
|
|
141
156
|
useProviders
|
|
142
|
-
} from "./chunk-
|
|
143
|
-
import "./chunk-
|
|
144
|
-
import {
|
|
145
|
-
readSecret
|
|
146
|
-
} from "./chunk-RN4EHCC5.js";
|
|
147
|
-
import "./chunk-BBTQIVFP.js";
|
|
157
|
+
} from "./chunk-VIV64MQM.js";
|
|
158
|
+
import "./chunk-U32VL3MA.js";
|
|
148
159
|
import {
|
|
149
160
|
canonicalMeetingReference,
|
|
150
161
|
formatMeetingReference,
|
|
151
162
|
parseMeetingReference
|
|
152
|
-
} from "./chunk-
|
|
153
|
-
import "./chunk-
|
|
154
|
-
import "./chunk-
|
|
155
|
-
import "./chunk-
|
|
156
|
-
import "./chunk-
|
|
163
|
+
} from "./chunk-RLCVPECY.js";
|
|
164
|
+
import "./chunk-63QXCE5Z.js";
|
|
165
|
+
import "./chunk-YVNHQFLC.js";
|
|
166
|
+
import "./chunk-S7SXSHRC.js";
|
|
167
|
+
import "./chunk-UVZLK3M4.js";
|
|
157
168
|
import "./chunk-Y5E2WNWB.js";
|
|
158
|
-
import "./chunk-
|
|
159
|
-
import "./chunk-
|
|
169
|
+
import "./chunk-ELJUBPY4.js";
|
|
170
|
+
import "./chunk-6DCLZLGX.js";
|
|
160
171
|
import "./chunk-ZVVMGPBJ.js";
|
|
161
172
|
export {
|
|
162
173
|
ADDED_ACCOUNT,
|
|
@@ -168,6 +179,7 @@ export {
|
|
|
168
179
|
DETAILS as CORE_DETAILS,
|
|
169
180
|
REASONS as CORE_REASONS,
|
|
170
181
|
COUNTER_FIELDS,
|
|
182
|
+
CRM_ACTIVITY_KINDS,
|
|
171
183
|
CRM_KINDS,
|
|
172
184
|
CRM_OPENS,
|
|
173
185
|
CURRENCY_SCALES,
|
|
@@ -197,15 +209,19 @@ export {
|
|
|
197
209
|
RECORD_ENTITY_TYPES,
|
|
198
210
|
RECORD_OPERATIONS,
|
|
199
211
|
REF_KINDS,
|
|
212
|
+
RELATED_ROLES,
|
|
200
213
|
RELATIONS,
|
|
201
214
|
RELATION_KINDS,
|
|
202
215
|
ROLE_ADDRESS_WORDS,
|
|
216
|
+
ROLE_LABELS,
|
|
203
217
|
ROLE_LISTS,
|
|
204
218
|
STAGE_OUTCOMES,
|
|
205
219
|
STANDINGS,
|
|
206
220
|
SUBSCRIPTION_STATUSES,
|
|
221
|
+
TABLE_RECORD_TYPES,
|
|
207
222
|
TAG_TYPES,
|
|
208
223
|
TRANSACTION_STATUSES,
|
|
224
|
+
TableError,
|
|
209
225
|
UNKNOWN_PROVIDER,
|
|
210
226
|
WALLET_KINDS,
|
|
211
227
|
act,
|
|
@@ -219,7 +235,9 @@ export {
|
|
|
219
235
|
counterValue,
|
|
220
236
|
currencyOf,
|
|
221
237
|
defaultRules,
|
|
238
|
+
displayName,
|
|
222
239
|
engagementRank,
|
|
240
|
+
envelopeOfCsv,
|
|
223
241
|
envelopeOfJsonl,
|
|
224
242
|
envelopeOfText,
|
|
225
243
|
envelopeOfVcard,
|
|
@@ -257,6 +275,7 @@ export {
|
|
|
257
275
|
moderationPathFor,
|
|
258
276
|
moneyLabel,
|
|
259
277
|
moneyOf,
|
|
278
|
+
nameKey,
|
|
260
279
|
normalCrmUserId,
|
|
261
280
|
normalizeTag,
|
|
262
281
|
observedCounters,
|
|
@@ -274,6 +293,8 @@ export {
|
|
|
274
293
|
providers,
|
|
275
294
|
rankingOptions,
|
|
276
295
|
readSecret,
|
|
296
|
+
recordColumns,
|
|
297
|
+
recordTemplate,
|
|
277
298
|
refsForLink,
|
|
278
299
|
renderMessage,
|
|
279
300
|
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.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/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.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/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,14 +13,14 @@ 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-4XQWF3U2.js";
|
|
17
|
+
import "./chunk-D24OQAHM.js";
|
|
18
|
+
import "./chunk-3KRTEX5M.js";
|
|
19
|
+
import "./chunk-S7SXSHRC.js";
|
|
20
|
+
import "./chunk-UVZLK3M4.js";
|
|
21
21
|
import "./chunk-Y5E2WNWB.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-ELJUBPY4.js";
|
|
23
|
+
import "./chunk-6DCLZLGX.js";
|
|
24
24
|
import "./chunk-ZVVMGPBJ.js";
|
|
25
25
|
export {
|
|
26
26
|
WARM_IDLE_MS,
|
|
@@ -4,27 +4,27 @@ 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-4XQWF3U2.js";
|
|
8
|
+
import "./chunk-D24OQAHM.js";
|
|
9
|
+
import "./chunk-3KRTEX5M.js";
|
|
10
|
+
import "./chunk-S7SXSHRC.js";
|
|
11
|
+
import "./chunk-UVZLK3M4.js";
|
|
12
12
|
import {
|
|
13
13
|
importFrom
|
|
14
14
|
} from "./chunk-Y5E2WNWB.js";
|
|
15
15
|
import {
|
|
16
16
|
CliError
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-ELJUBPY4.js";
|
|
18
|
+
import "./chunk-6DCLZLGX.js";
|
|
19
19
|
import {
|
|
20
20
|
__name
|
|
21
21
|
} from "./chunk-ZVVMGPBJ.js";
|
|
22
22
|
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
|
|
24
24
|
import { readFileSync } from "node:fs";
|
|
25
25
|
import { join } from "node:path";
|
|
26
26
|
|
|
27
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/images/picture/preprocess.js
|
|
28
28
|
var SIZE = 224;
|
|
29
29
|
var MEAN = [0.48145466, 0.4578275, 0.40821073];
|
|
30
30
|
var STD = [0.26862954, 0.26130258, 0.27577711];
|
|
@@ -63,7 +63,7 @@ var preprocess = /* @__PURE__ */ __name(async (bytes, load = importCanvas) => {
|
|
|
63
63
|
return pixels;
|
|
64
64
|
}, "preprocess");
|
|
65
65
|
|
|
66
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
66
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
|
|
67
67
|
var openPictureEmbedder = /* @__PURE__ */ __name(async (model, directory, { threads = 4, canvas } = {}) => {
|
|
68
68
|
const { Tokenizer } = await importFrom(new URL("images/picture/embedder.js", import.meta.resolve("@wirecat/cli-core")).href, "@huggingface/tokenizers");
|
|
69
69
|
const path = /* @__PURE__ */ __name((name) => join(directory, model.id, name), "path");
|