@wirecat/zoom-cli 0.66.0 → 0.68.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/README.md +2 -1
- package/constants.json +7 -0
- package/dist/answer-entities.d.ts +18 -0
- package/dist/answer-entities.d.ts.map +1 -1
- package/dist/answer-entities.js +12 -0
- package/dist/answer-entities.js.map +1 -1
- package/dist/answer-policy.d.ts.map +1 -1
- package/dist/answer-policy.js +2 -1
- package/dist/answer-policy.js.map +1 -1
- package/dist/answers.d.ts +4 -4
- package/dist/bin/main.js +3 -2
- package/dist/bin/main.js.map +1 -1
- package/dist/bin/zm.js +2 -2
- package/dist/bundle/{all-profiles-D5CFH2OK.js → all-profiles-R66UM3HM.js} +12 -11
- package/dist/bundle/answer-policy-UCGUO53A.js +104 -0
- package/dist/bundle/{anthropic-K2E2JS4S.js → anthropic-4ZI2BPLG.js} +7 -7
- package/dist/bundle/{app-server-TVXDG6HZ.js → app-server-64O5IQI5.js} +61 -57
- package/dist/bundle/{bun-O4WHGL2F.js → bun-HUHQD76Z.js} +2 -2
- package/dist/bundle/{bun-sqlite-HGBEHQI3.js → bun-sqlite-VOVHPTIF.js} +6 -6
- package/dist/bundle/{chunk-N6JMJN5A.js → chunk-2OSBCYJT.js} +39 -26
- package/dist/bundle/{chunk-7JMBEPW2.js → chunk-2T6XHWDX.js} +2 -2
- package/dist/bundle/chunk-32FPA7P2.js +35 -0
- package/dist/bundle/{chunk-NO24PJNW.js → chunk-355PHJYX.js} +1 -1
- package/dist/bundle/{chunk-NMQUCHTX.js → chunk-3BRV2YU2.js} +3 -3
- package/dist/bundle/{chunk-GNGBG5BT.js → chunk-474WF55M.js} +95 -48
- package/dist/bundle/{chunk-O5FKJV3T.js → chunk-4TLPOY22.js} +12 -12
- package/dist/bundle/{chunk-CR4CXOLX.js → chunk-4YFJYSSK.js} +205 -59
- package/dist/bundle/chunk-5JAYUG3X.js +261 -0
- package/dist/bundle/{chunk-5HPALDUO.js → chunk-65T3PU75.js} +3 -2
- package/dist/bundle/{chunk-QAPU2JNO.js → chunk-6CJ7NHIP.js} +13 -13
- package/dist/bundle/{chunk-LN2S3RA3.js → chunk-6T3P226D.js} +4 -4
- package/dist/bundle/{chunk-P3XVLHIQ.js → chunk-6TJ62LZQ.js} +22 -14
- package/dist/bundle/{chunk-FWFFQV4D.js → chunk-6XO7RTJY.js} +129 -9
- package/dist/bundle/{chunk-K5CIN4JP.js → chunk-77I67HWF.js} +8 -8
- package/dist/bundle/{chunk-3B7L2UX4.js → chunk-77KFLU5F.js} +3 -3
- package/dist/bundle/{chunk-2YLNUZ3T.js → chunk-7AUP2WT3.js} +3 -3
- package/dist/bundle/{chunk-7PF56S6U.js → chunk-7DUYFITC.js} +25 -23
- package/dist/bundle/{chunk-ZKTXUDSR.js → chunk-7QNJICKZ.js} +30 -26
- package/dist/bundle/{chunk-XWDSEJWP.js → chunk-A63ZFOQJ.js} +18 -4
- package/dist/bundle/{chunk-A2SCXNA7.js → chunk-AJ7CMUGD.js} +1396 -326
- package/dist/bundle/{chunk-Z6U3MEGJ.js → chunk-AVEIQMHZ.js} +4 -2
- package/dist/bundle/chunk-AYEVBAGO.js +178 -0
- package/dist/bundle/{chunk-SU4WPBQE.js → chunk-B6JMVB6R.js} +22 -23
- package/dist/bundle/{chunk-YLEQN6PB.js → chunk-BL36NSV5.js} +3 -3
- package/dist/bundle/{chunk-RMKHYUHK.js → chunk-BOAMDYLY.js} +4 -4
- package/dist/bundle/chunk-BSM43OMN.js +31 -0
- package/dist/bundle/{chunk-67RNZGAG.js → chunk-DGNPJGD3.js} +16 -10
- package/dist/bundle/{chunk-Y3EIK4XW.js → chunk-DVA6MQWK.js} +1 -1
- package/dist/bundle/{chunk-AU4JHT3R.js → chunk-DWSUSWAX.js} +98 -13
- package/dist/bundle/{chunk-H5ZVZAOD.js → chunk-EH5QGQFR.js} +3 -3
- package/dist/bundle/chunk-EJDV5IIF.js +93 -0
- package/dist/bundle/{chunk-3WTKZ2ZS.js → chunk-EWIBLDQQ.js} +8 -8
- package/dist/bundle/{chunk-GHAPWKG2.js → chunk-EZRPSZJS.js} +3 -3
- package/dist/bundle/{chunk-QJHRYUMJ.js → chunk-FBLUKCIR.js} +1 -1
- package/dist/bundle/{chunk-S6S3KVJI.js → chunk-FEM2JQN2.js} +2 -1
- package/dist/bundle/{chunk-P2G4KGTR.js → chunk-FMQS7HCC.js} +12 -12
- package/dist/bundle/{chunk-ZNFPDTQM.js → chunk-FNQASORM.js} +2 -2
- package/dist/bundle/{chunk-GKXFL35E.js → chunk-GOXDBCDM.js} +728 -130
- package/dist/bundle/{chunk-U3ZUT557.js → chunk-HXOAPH47.js} +1 -1
- package/dist/bundle/{chunk-QV5ZGRK3.js → chunk-JO4YADNV.js} +7 -7
- package/dist/bundle/{chunk-5A26IBAR.js → chunk-JRCYFCPL.js} +30 -28
- package/dist/bundle/{chunk-ZTL7ANSG.js → chunk-K67V24AT.js} +5 -5
- package/dist/bundle/{chunk-BXSAROQP.js → chunk-KAPJQGHE.js} +2 -2
- package/dist/bundle/{chunk-TFDVFD4N.js → chunk-KNE6VFHZ.js} +97 -38
- package/dist/bundle/{chunk-AZ7ICKIA.js → chunk-KUB2U5NT.js} +6 -6
- package/dist/bundle/{chunk-GI6QVSCW.js → chunk-L4WVLRXM.js} +4 -4
- package/dist/bundle/{chunk-756RS4PH.js → chunk-LBOSTBAY.js} +2541 -1355
- package/dist/bundle/{chunk-62GOOZO3.js → chunk-LV7QRR5S.js} +6 -6
- package/dist/bundle/{chunk-J4EZL6HY.js → chunk-LYWUG43B.js} +33 -33
- package/dist/bundle/{chunk-N67BLTBV.js → chunk-NRRI37NJ.js} +28 -9
- package/dist/bundle/{chunk-N5JRRBEG.js → chunk-NUJMJQXV.js} +281 -10
- package/dist/bundle/{chunk-UYV2JGLQ.js → chunk-OE7EIP5L.js} +1 -1
- package/dist/bundle/{chunk-U4RVOSX3.js → chunk-P2TISY3R.js} +1 -1
- package/dist/bundle/{chunk-ILHTNOIV.js → chunk-P3ASN72F.js} +1 -1
- package/dist/bundle/{chunk-UOIXBEFR.js → chunk-PIHBD3YS.js} +16 -6
- package/dist/bundle/{chunk-BLT3LR3U.js → chunk-PUTGTW6W.js} +4 -2
- package/dist/bundle/{chunk-TUEEXECZ.js → chunk-QXTREL2M.js} +3 -3
- package/dist/bundle/{chunk-2VPHQFO5.js → chunk-R7LFGEDE.js} +2 -2
- package/dist/bundle/{chunk-IDWHJ35K.js → chunk-RGJ7OWHU.js} +4 -4
- package/dist/bundle/{chunk-3Y2F65AY.js → chunk-RP3U3J53.js} +10 -89
- package/dist/bundle/{chunk-JX3V35A5.js → chunk-RRYUD2EF.js} +3 -3
- package/dist/bundle/{chunk-XFUID5NY.js → chunk-SRP6SFFD.js} +2 -2
- package/dist/bundle/{chunk-7SQJCKR6.js → chunk-SSPSNSC5.js} +1 -1
- package/dist/bundle/{chunk-Q47C3QZW.js → chunk-TDGZMC6K.js} +510 -318
- package/dist/bundle/{chunk-EXXM4RNI.js → chunk-TN3FH2GQ.js} +11 -11
- package/dist/bundle/chunk-TUNQ6NE2.js +64 -0
- package/dist/bundle/{chunk-CAW6IMFZ.js → chunk-TZUKDM72.js} +72 -20
- package/dist/bundle/{chunk-S4GDDO5S.js → chunk-UDJTRFRV.js} +1 -1
- package/dist/bundle/{chunk-5GD2XZ6X.js → chunk-US5C3WAY.js} +63 -53
- package/dist/bundle/{chunk-7KCTPGOF.js → chunk-UU5PLDRA.js} +2 -2
- package/dist/bundle/{chunk-6TIKPRVQ.js → chunk-VLD7Y4SY.js} +7 -7
- package/dist/bundle/{chunk-PQLBPYJR.js → chunk-VW6BF6M7.js} +1 -1
- package/dist/bundle/chunk-W42BJ65M.js +37 -0
- package/dist/bundle/{chunk-KDKFGQWG.js → chunk-Y5LP5SHV.js} +15 -12
- package/dist/bundle/{chunk-TMVKZMDO.js → chunk-YJY3W2ZT.js} +232 -88
- package/dist/bundle/{chunk-6GSJLNP4.js → chunk-YOAEZSDG.js} +2 -2
- package/dist/bundle/{chunk-IKQ73INC.js → chunk-YQRNFG2E.js} +15849 -1674
- package/dist/bundle/{chunk-RO44LANT.js → chunk-YTF2WPV4.js} +1880 -778
- package/dist/bundle/{chunk-CZ4KLUJG.js → chunk-ZRD3NDOX.js} +2 -2
- package/dist/bundle/{cli-HWQIL2AC.js → cli-VQJ7ZRYR.js} +124 -69
- package/dist/bundle/command-contract-JPUWWYIV.js +41 -0
- package/dist/bundle/config-YGLLR77A.js +90 -0
- package/dist/bundle/{decode-XPAPPUGE.js → decode-L3ENO2XH.js} +6 -6
- package/dist/bundle/{dispatch-AKVJGP2S.js → dispatch-5MGDLOK4.js} +9 -9
- package/dist/bundle/{dist-LDIUQBM7.js → dist-WQLS7U23.js} +66 -17
- package/dist/bundle/{echarts-FMACRZQC.js → echarts-5LLJ6JXC.js} +2 -2
- package/dist/bundle/{embed-LK45GRQ7.js → embed-37MYTCU7.js} +7 -7
- package/dist/bundle/{embedder-QPBC5XBY.js → embedder-GNGHVJAO.js} +10 -10
- package/dist/bundle/{failure-7OULAOWQ.js → failure-CR64C4XA.js} +3 -3
- package/dist/bundle/{first-run-J5FG773Q.js → first-run-NR5JKYP3.js} +12 -12
- package/dist/bundle/first-screen-RCR7ATO2.js +39 -0
- package/dist/bundle/{folders-RHPUVMDI.js → folders-VU4IN35Y.js} +5 -5
- package/dist/bundle/{instructions-E5FXYCWF.js → instructions-P72XX4AK.js} +1 -1
- package/dist/bundle/{main-FJHE5YHU.js → main-QYFCYSTW.js} +23 -24
- package/dist/bundle/{mcp-MNI62HHE.js → mcp-M4QN2E7R.js} +2 -2
- package/dist/bundle/{meetings-MYIDGYGW.js → meetings-66UQINKI.js} +37 -7
- package/dist/bundle/{node-4SNKUPXT.js → node-ZB4RNICS.js} +2 -2
- package/dist/bundle/{node-sqlite-SYZUTVPC.js → node-sqlite-XPRKBDF3.js} +7 -7
- package/dist/bundle/{oauth-QPS5VTN6.js → oauth-WJRDUU5J.js} +8 -8
- package/dist/bundle/{open-OVCASRSJ.js → open-S2YSIEOW.js} +6 -6
- package/dist/bundle/openai-CRNZFNZD.js +25 -0
- package/dist/bundle/{output-file-K5JEL33Z.js → output-file-6COFGPUL.js} +6 -6
- package/dist/bundle/{process-HQZOTT6U.js → process-XNN4WG6N.js} +1 -1
- package/dist/bundle/{program-A546WC4F.js → program-BRPJKRCX.js} +181 -205
- package/dist/bundle/{prompt-CYBKP7S5.js → prompt-7RQOL25I.js} +6 -6
- package/dist/bundle/{recognize-3H3YDCFI.js → recognize-N5WADGQB.js} +5 -5
- package/dist/bundle/{remote-VAYVTJBS.js → remote-WHYV35IF.js} +8 -8
- package/dist/bundle/{rerank-XA4GA5PS.js → rerank-FBMZVWSH.js} +8 -8
- package/dist/bundle/{run-log-XAFHMI3F.js → run-log-TOCHREH2.js} +59 -57
- package/dist/bundle/{serve-KGHEDUHB.js → serve-4BABX4WS.js} +10 -10
- package/dist/bundle/{server-ZYTSMDTP.js → server-CDVI6LOB.js} +47 -46
- package/dist/bundle/server-XOFQKFVO.js +72 -0
- package/dist/bundle/{services-ZHMZC2OQ.js → services-PIY33I7R.js} +59 -32
- package/dist/bundle/{speech-7CJEFKM3.js → speech-LS5Q4FL2.js} +14 -14
- package/dist/bundle/{state-U6KSYVOH.js → state-YUX5R2R7.js} +7 -7
- package/dist/bundle/{store-DJE3LAEG.js → store-BD7HAXAA.js} +22 -17
- package/dist/bundle/{store-WS4CQGYU.js → store-ERMGBF2B.js} +59 -30
- package/dist/bundle/store-connection-JBR6CMTJ.js +83 -0
- package/dist/bundle/store-maintenance-command-I5DUSO2C.js +62 -0
- package/dist/bundle/{streaming-QMHH7L6N.js → streaming-O53PIORL.js} +7 -7
- package/dist/bundle/{tokens-PWQ56OXO.js → tokens-QKNEP2GJ.js} +7 -7
- package/dist/bundle/zm.js +9 -10
- package/dist/bundle/zoom-app-XJXZ4ZBX.js +41 -0
- package/dist/commands.d.ts.map +1 -1
- package/dist/commands.js +1 -0
- package/dist/commands.js.map +1 -1
- package/dist/config.d.ts +9 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +48 -10
- package/dist/config.js.map +1 -1
- package/dist/identity.d.ts +1 -0
- package/dist/identity.d.ts.map +1 -1
- package/dist/identity.js +11 -0
- package/dist/identity.js.map +1 -1
- package/dist/meeting-source.d.ts.map +1 -1
- package/dist/meeting-source.js +2 -1
- package/dist/meeting-source.js.map +1 -1
- package/dist/meeting-stats-commands.d.ts +4 -2
- package/dist/meeting-stats-commands.d.ts.map +1 -1
- package/dist/meeting-stats-commands.js +27 -2
- package/dist/meeting-stats-commands.js.map +1 -1
- package/dist/program-bindings.d.ts.map +1 -1
- package/dist/program-bindings.js +10 -4
- package/dist/program-bindings.js.map +1 -1
- package/dist/recording-schedule-setup.d.ts.map +1 -1
- package/dist/recording-schedule-setup.js +5 -5
- package/dist/recording-schedule-setup.js.map +1 -1
- package/dist/run.d.ts.map +1 -1
- package/dist/run.js +2 -6
- package/dist/run.js.map +1 -1
- package/dist/setup-commands.d.ts +7 -1
- package/dist/setup-commands.d.ts.map +1 -1
- package/dist/setup-commands.js +45 -8
- package/dist/setup-commands.js.map +1 -1
- package/dist/store-commands.d.ts.map +1 -1
- package/dist/store-commands.js +6 -0
- package/dist/store-commands.js.map +1 -1
- package/dist/store-connection.d.ts +2 -1
- package/dist/store-connection.d.ts.map +1 -1
- package/dist/store-connection.js +4 -0
- package/dist/store-connection.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/watch-service.d.ts +1 -1
- package/dist/watch-service.d.ts.map +1 -1
- package/dist/watch-service.js +5 -3
- package/dist/watch-service.js.map +1 -1
- package/dist/zoom-app.d.ts +49 -0
- package/dist/zoom-app.d.ts.map +1 -0
- package/dist/zoom-app.js +83 -0
- package/dist/zoom-app.js.map +1 -0
- package/package.json +4 -3
- package/skills/zoom-cli/SKILL.md +4 -1
- package/dist/bundle/answer-policy-YAYMKRRD.js +0 -101
- package/dist/bundle/chunk-2T5BOLBS.js +0 -132
- package/dist/bundle/chunk-HKQWV3KT.js +0 -31
- package/dist/bundle/chunk-L7IK4FOA.js +0 -18
- package/dist/bundle/chunk-P2SYZNM4.js +0 -19
- package/dist/bundle/chunk-TN7K66PU.js +0 -9
- package/dist/bundle/command-contract-CQFJXWX6.js +0 -40
- package/dist/bundle/config-R2Y6ZVQS.js +0 -83
- package/dist/bundle/first-screen-MULOBUHN.js +0 -38
- package/dist/bundle/openai-VEVT7D7L.js +0 -25
- package/dist/bundle/server-IDNSJXF3.js +0 -71
- package/dist/bundle/store-connection-T5WGOOPH.js +0 -81
- package/dist/bundle/store-maintenance-command-5CBQCEQQ.js +0 -61
- /package/dist/bundle/{chunk-NUN6OGOV.js → chunk-VOXIGICJ.js} +0 -0
|
@@ -2,24 +2,26 @@ 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-FEM2JQN2.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.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/ports/app.js
|
|
11
11
|
var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
|
|
12
12
|
var readOnlyLockOf = /* @__PURE__ */ __name((app, env) => {
|
|
13
13
|
const name = envName(app, "READ_ONLY");
|
|
14
14
|
const value = env[name];
|
|
15
15
|
return value === void 0 || value.trim() === "" || value === "0" ? void 0 : name;
|
|
16
16
|
}, "readOnlyLockOf");
|
|
17
|
+
var mailHolderVariable = /* @__PURE__ */ __name((app) => envName(app, "MAIL_HOLDER"), "mailHolderVariable");
|
|
17
18
|
var MESSENGER_CHANGE_REFUSAL = "send, react, change chats or change the account";
|
|
18
19
|
var readOnlyRefusal = /* @__PURE__ */ __name((lock, what) => new CliError("permission_error", `this process is read-only (${lock}) \u2014 it cannot ${what}`), "readOnlyRefusal");
|
|
19
20
|
|
|
20
21
|
export {
|
|
21
22
|
envName,
|
|
22
23
|
readOnlyLockOf,
|
|
24
|
+
mailHolderVariable,
|
|
23
25
|
MESSENGER_CHANGE_REFUSAL,
|
|
24
26
|
readOnlyRefusal
|
|
25
27
|
};
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
CliError
|
|
5
|
+
} from "./chunk-FEM2JQN2.js";
|
|
6
|
+
import {
|
|
7
|
+
singleLine
|
|
8
|
+
} from "./chunk-OE7EIP5L.js";
|
|
9
|
+
import {
|
|
10
|
+
__name
|
|
11
|
+
} from "./chunk-ZVVMGPBJ.js";
|
|
12
|
+
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/domain/tags.js
|
|
14
|
+
var TAG_TYPES = ["chat", "contact", "message", "task"];
|
|
15
|
+
var TAG = /^[a-z0-9-]{1,32}$/;
|
|
16
|
+
var tagOf = /* @__PURE__ */ __name((value) => {
|
|
17
|
+
const tag = value.trim().toLowerCase();
|
|
18
|
+
return TAG.test(tag) ? tag : void 0;
|
|
19
|
+
}, "tagOf");
|
|
20
|
+
var normalizeTag = /* @__PURE__ */ __name((value) => {
|
|
21
|
+
const tag = tagOf(value);
|
|
22
|
+
if (tag === void 0)
|
|
23
|
+
throw new CliError("validation_error", `"${singleLine(value)}" is not a tag \u2014 use 1\u201332 letters a\u2013z, digits and hyphens`, { reason: "tag.invalid" });
|
|
24
|
+
return tag;
|
|
25
|
+
}, "normalizeTag");
|
|
26
|
+
|
|
27
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/domain/money.js
|
|
28
|
+
var CURRENCY_SCALES = {
|
|
29
|
+
AED: 2,
|
|
30
|
+
AMD: 2,
|
|
31
|
+
AUD: 2,
|
|
32
|
+
BHD: 3,
|
|
33
|
+
BYN: 2,
|
|
34
|
+
CAD: 2,
|
|
35
|
+
CHF: 2,
|
|
36
|
+
CLP: 0,
|
|
37
|
+
CNY: 2,
|
|
38
|
+
CZK: 2,
|
|
39
|
+
DKK: 2,
|
|
40
|
+
EUR: 2,
|
|
41
|
+
GBP: 2,
|
|
42
|
+
GEL: 2,
|
|
43
|
+
HUF: 2,
|
|
44
|
+
ILS: 2,
|
|
45
|
+
INR: 2,
|
|
46
|
+
ISK: 0,
|
|
47
|
+
JPY: 0,
|
|
48
|
+
KGS: 2,
|
|
49
|
+
KRW: 0,
|
|
50
|
+
KWD: 3,
|
|
51
|
+
KZT: 2,
|
|
52
|
+
NOK: 2,
|
|
53
|
+
PLN: 2,
|
|
54
|
+
RSD: 2,
|
|
55
|
+
RUB: 2,
|
|
56
|
+
SEK: 2,
|
|
57
|
+
THB: 2,
|
|
58
|
+
TRY: 2,
|
|
59
|
+
UAH: 2,
|
|
60
|
+
USD: 2,
|
|
61
|
+
UZS: 2,
|
|
62
|
+
VND: 0
|
|
63
|
+
};
|
|
64
|
+
var refuse = /* @__PURE__ */ __name((message, reason) => {
|
|
65
|
+
throw new CliError("validation_error", message, { reason });
|
|
66
|
+
}, "refuse");
|
|
67
|
+
var DECIMAL = /^(\d{1,15})(?:\.(\d+))?$/;
|
|
68
|
+
var parseDecimal = /* @__PURE__ */ __name((text, scale) => {
|
|
69
|
+
const match = DECIMAL.exec(text.trim());
|
|
70
|
+
if (!match || (match[2] ?? "").length > scale)
|
|
71
|
+
return void 0;
|
|
72
|
+
return BigInt(`${match[1]}${(match[2] ?? "").padEnd(scale, "0")}`);
|
|
73
|
+
}, "parseDecimal");
|
|
74
|
+
var formatDecimal = /* @__PURE__ */ __name((units, scale) => {
|
|
75
|
+
const digits = BigInt(units).toString().padStart(scale + 1, "0");
|
|
76
|
+
return scale === 0 ? digits : `${digits.slice(0, -scale)}.${digits.slice(-scale)}`;
|
|
77
|
+
}, "formatDecimal");
|
|
78
|
+
var groupDigits = /* @__PURE__ */ __name((decimal) => {
|
|
79
|
+
const [whole = "0", fraction] = decimal.split(".");
|
|
80
|
+
const grouped = whole.replace(/\B(?=(\d{3})+(?!\d))/g, " ");
|
|
81
|
+
return fraction === void 0 ? grouped : `${grouped}.${fraction}`;
|
|
82
|
+
}, "groupDigits");
|
|
83
|
+
var currencyOf = /* @__PURE__ */ __name((text) => {
|
|
84
|
+
const code = typeof text === "string" ? text.trim().toUpperCase() : "";
|
|
85
|
+
if (CURRENCY_SCALES[code] === void 0)
|
|
86
|
+
return refuse(`${typeof text === "string" && text.trim() ? text.trim() : "an empty currency"} is not a currency the store keeps; use one of ${Object.keys(CURRENCY_SCALES).join(", ")}`, "money.currency");
|
|
87
|
+
return code;
|
|
88
|
+
}, "currencyOf");
|
|
89
|
+
var scaleOf = /* @__PURE__ */ __name((currency) => CURRENCY_SCALES[currencyOf(currency)], "scaleOf");
|
|
90
|
+
var minorUnits = /* @__PURE__ */ __name((amount, currency, what = "an amount") => {
|
|
91
|
+
const scale = scaleOf(currency);
|
|
92
|
+
const units = typeof amount === "string" ? parseDecimal(amount, scale) : void 0;
|
|
93
|
+
if (units === void 0 || units > BigInt(Number.MAX_SAFE_INTEGER))
|
|
94
|
+
return refuse(`${what} is a decimal string with at most ${scale} decimal${scale === 1 ? "" : "s"} for ${currency}, such as "${formatDecimal(5e3 * 10 ** scale, scale)}"`, "money.amount");
|
|
95
|
+
return Number(units);
|
|
96
|
+
}, "minorUnits");
|
|
97
|
+
var moneyOf = /* @__PURE__ */ __name((units, currency) => ({
|
|
98
|
+
amount: formatDecimal(units, scaleOf(currency)),
|
|
99
|
+
currency
|
|
100
|
+
}), "moneyOf");
|
|
101
|
+
var moneyLabel = /* @__PURE__ */ __name((units, currency) => `${groupDigits(formatDecimal(units, scaleOf(currency)))} ${currency}`, "moneyLabel");
|
|
102
|
+
var QUANTITY_SCALE = 3;
|
|
103
|
+
var quantityOf = /* @__PURE__ */ __name((text) => {
|
|
104
|
+
const thousandths = typeof text === "string" ? parseDecimal(text, QUANTITY_SCALE) : void 0;
|
|
105
|
+
if (thousandths === void 0 || thousandths === 0n)
|
|
106
|
+
return refuse('a quantity is a decimal string above 0 with at most 3 decimals, such as "1.5"', "money.quantity");
|
|
107
|
+
const plain = formatDecimal(thousandths, QUANTITY_SCALE).replace(/\.?0+$/, "");
|
|
108
|
+
return { text: plain, thousandths };
|
|
109
|
+
}, "quantityOf");
|
|
110
|
+
var lineUnits = /* @__PURE__ */ __name((thousandths, unitPrice) => Number((thousandths * BigInt(unitPrice) + 500n) / 1000n), "lineUnits");
|
|
111
|
+
|
|
112
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/domain/finance.js
|
|
113
|
+
var INVOICE_DIRECTIONS = ["receivable", "payable"];
|
|
114
|
+
var INVOICE_STATUSES = ["draft", "issued", "partly_paid", "paid", "void"];
|
|
115
|
+
var MONEY_DIRECTIONS = ["in", "out"];
|
|
116
|
+
var FINANCE_REVIEWS = ["proposed", "confirmed", "rejected"];
|
|
117
|
+
var settledStatus = /* @__PURE__ */ __name((current, total, paid) => {
|
|
118
|
+
if (current === "draft" || current === "void")
|
|
119
|
+
return current;
|
|
120
|
+
if (paid <= 0)
|
|
121
|
+
return "issued";
|
|
122
|
+
return paid < total ? "partly_paid" : "paid";
|
|
123
|
+
}, "settledStatus");
|
|
124
|
+
var dayMonth = /* @__PURE__ */ __name((date) => date === null ? null : `${date.slice(8, 10)}.${date.slice(5, 7)}`, "dayMonth");
|
|
125
|
+
var notes = /* @__PURE__ */ __name((...words) => {
|
|
126
|
+
const kept = words.filter((word) => word !== null);
|
|
127
|
+
return kept.length === 0 ? "" : ` (${kept.join(", ")})`;
|
|
128
|
+
}, "notes");
|
|
129
|
+
var invoiceLine = /* @__PURE__ */ __name((invoice) => {
|
|
130
|
+
const party = invoice.counterpartyName === null ? "" : `${invoice.direction === "receivable" ? " to" : " from"} ${invoice.counterpartyName}`;
|
|
131
|
+
const due = invoice.dueDate === null ? "" : `, due ${dayMonth(invoice.dueDate)}`;
|
|
132
|
+
return `${invoice.number ?? `#${invoice.id}`} \xB7 ${moneyLabel(invoice.total, invoice.currency)}${party}${due}` + notes(invoice.status.replace("_", " "), invoice.review === "confirmed" ? null : invoice.review);
|
|
133
|
+
}, "invoiceLine");
|
|
134
|
+
var paymentLine = /* @__PURE__ */ __name((payment) => {
|
|
135
|
+
const party = payment.partyName === null ? "" : `${payment.direction === "in" ? " from" : " to"} ${payment.partyName}`;
|
|
136
|
+
return `${moneyLabel(payment.amount, payment.currency)}${party}, ${dayMonth(payment.date)}` + notes(payment.review === "confirmed" ? null : payment.review);
|
|
137
|
+
}, "paymentLine");
|
|
138
|
+
var invoiceTitle = /* @__PURE__ */ __name((invoice) => `Invoice ${invoiceLine(invoice)}`, "invoiceTitle");
|
|
139
|
+
var paymentEntryTitle = /* @__PURE__ */ __name((payment) => `Payment \xB7 ${paymentLine(payment)}`, "paymentEntryTitle");
|
|
140
|
+
|
|
141
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/domain/orders.js
|
|
142
|
+
var ORDER_STATUSES = ["placed", "shipped", "delivered", "cancelled", "returned"];
|
|
143
|
+
var ORDER_PURPOSES = ["personal", "business", "client", "other"];
|
|
144
|
+
var orderLine = /* @__PURE__ */ __name((order) => {
|
|
145
|
+
const money = order.total === null || order.currency === null ? "" : `, ${moneyLabel(order.total, order.currency)}`;
|
|
146
|
+
const notes2 = [order.status, order.review === "confirmed" ? null : order.review].filter(Boolean).join(", ");
|
|
147
|
+
return `${order.number ?? `#${order.id}`} \xB7 ${order.supplierName}${money} (${notes2})`;
|
|
148
|
+
}, "orderLine");
|
|
149
|
+
var orderTitle = /* @__PURE__ */ __name((order) => `Order ${orderLine(order)}`, "orderTitle");
|
|
150
|
+
|
|
151
|
+
export {
|
|
152
|
+
TAG_TYPES,
|
|
153
|
+
tagOf,
|
|
154
|
+
normalizeTag,
|
|
155
|
+
CURRENCY_SCALES,
|
|
156
|
+
parseDecimal,
|
|
157
|
+
formatDecimal,
|
|
158
|
+
currencyOf,
|
|
159
|
+
scaleOf,
|
|
160
|
+
minorUnits,
|
|
161
|
+
moneyOf,
|
|
162
|
+
moneyLabel,
|
|
163
|
+
quantityOf,
|
|
164
|
+
lineUnits,
|
|
165
|
+
INVOICE_DIRECTIONS,
|
|
166
|
+
INVOICE_STATUSES,
|
|
167
|
+
MONEY_DIRECTIONS,
|
|
168
|
+
FINANCE_REVIEWS,
|
|
169
|
+
settledStatus,
|
|
170
|
+
invoiceLine,
|
|
171
|
+
paymentLine,
|
|
172
|
+
invoiceTitle,
|
|
173
|
+
paymentEntryTitle,
|
|
174
|
+
ORDER_STATUSES,
|
|
175
|
+
ORDER_PURPOSES,
|
|
176
|
+
orderLine,
|
|
177
|
+
orderTitle
|
|
178
|
+
};
|
|
@@ -19,16 +19,16 @@ import {
|
|
|
19
19
|
reference,
|
|
20
20
|
string,
|
|
21
21
|
variant
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-NRRI37NJ.js";
|
|
23
23
|
import {
|
|
24
24
|
CliError,
|
|
25
25
|
isCliError
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-FEM2JQN2.js";
|
|
27
27
|
import {
|
|
28
28
|
__name
|
|
29
29
|
} from "./chunk-ZVVMGPBJ.js";
|
|
30
30
|
|
|
31
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
31
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/types.js
|
|
32
32
|
var QUERY_LIMITS = {
|
|
33
33
|
bytes: 8192,
|
|
34
34
|
depth: 32,
|
|
@@ -72,7 +72,7 @@ function queryError(reason, span, alternative, context = {}, details = {}) {
|
|
|
72
72
|
__name(queryError, "queryError");
|
|
73
73
|
var walkQuery = /* @__PURE__ */ __name((node) => node.kind === "predicate" ? [node] : node.clauses.flatMap(({ node: node2 }) => walkQuery(node2)), "walkQuery");
|
|
74
74
|
|
|
75
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
75
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/dates.js
|
|
76
76
|
var timezoneOf = /* @__PURE__ */ __name((given) => {
|
|
77
77
|
const zone = given ?? Intl.DateTimeFormat().resolvedOptions().timeZone ?? "UTC";
|
|
78
78
|
try {
|
|
@@ -217,7 +217,7 @@ var dateRange = /* @__PURE__ */ __name((lower, upper, lowerInclusive, upperInclu
|
|
|
217
217
|
};
|
|
218
218
|
}, "dateRange");
|
|
219
219
|
|
|
220
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
220
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/fields.js
|
|
221
221
|
var FIELD_TYPES = ["kw", "txt", "enum", "num", "time", "bool", "ref"];
|
|
222
222
|
var OPERATORS_BY_TYPE = {
|
|
223
223
|
kw: ["term", "phrase", "wildcard"],
|
|
@@ -296,22 +296,17 @@ var queryFieldsOf = /* @__PURE__ */ __name((schema, annotations = {}) => {
|
|
|
296
296
|
return [...own, ...relations, ...states];
|
|
297
297
|
}, "queryFieldsOf");
|
|
298
298
|
|
|
299
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
300
|
-
var QUERY_SYNTAX = 'field:value \xB7 "a phrase" \xB7 word* \xB7 AND OR NOT \xB7 ( ) \xB7 [a TO b] \xB7 > >= < <=';
|
|
299
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/help.js
|
|
301
300
|
var shownOf = /* @__PURE__ */ __name((registry) => registry.backend === "native" ? registry.fields.filter((field) => field.native) : registry.fields, "shownOf");
|
|
302
301
|
var leftOut = /* @__PURE__ */ __name((fields) => fields.filter((field) => field.negatable).map((field) => field.name), "leftOut");
|
|
303
302
|
var has = /* @__PURE__ */ __name((fields, operator) => fields.some((field) => field.operators.includes(operator)), "has");
|
|
304
|
-
var syntaxOf = /* @__PURE__ */ __name((shown, backend) =>
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
"terms joined by AND",
|
|
312
|
-
...has(shown, "range") ? ["[a TO b] \xB7 > >= < <="] : []
|
|
313
|
-
].join(" \xB7 ");
|
|
314
|
-
}, "syntaxOf");
|
|
303
|
+
var syntaxOf = /* @__PURE__ */ __name((shown, backend) => [
|
|
304
|
+
"field:value",
|
|
305
|
+
...has(shown, "phrase") ? ['"a phrase"'] : [],
|
|
306
|
+
...has(shown, "wildcard") ? ["word*"] : [],
|
|
307
|
+
...backend === "native" ? ["terms joined by AND"] : ["AND OR NOT", "( )"],
|
|
308
|
+
...has(shown, "range") ? ["[a TO b] \xB7 > >= < <="] : []
|
|
309
|
+
].join(" \xB7 "), "syntaxOf");
|
|
315
310
|
var kindOf = /* @__PURE__ */ __name((field) => field.values ? `${field.type}: ${field.values.join("|")}` : `${field.type}: ${field.operators.join(", ")}`, "kindOf");
|
|
316
311
|
var fieldsHelp = /* @__PURE__ */ __name((registry, guide) => {
|
|
317
312
|
const shown = shownOf(registry);
|
|
@@ -332,13 +327,13 @@ var queryDescription = /* @__PURE__ */ __name((registry) => {
|
|
|
332
327
|
if (shown.length === 0)
|
|
333
328
|
return "field:value terms; this list filters by none yet, so any term is refused";
|
|
334
329
|
const negatable = leftOut(shown);
|
|
335
|
-
const terms = registry.backend === "native" ? `field:value terms joined by AND that narrow the list${negatable.length > 0 ? `; -field:value or NOT field:value leaves out what matches, for ${negatable.join(", ")} only` : ""}` :
|
|
330
|
+
const terms = registry.backend === "native" ? `field:value terms joined by AND that narrow the list${negatable.length > 0 ? `; -field:value or NOT field:value leaves out what matches, for ${negatable.join(", ")} only` : ""}` : `field:value terms that narrow the list (Lucene: AND OR NOT, -field:value${has(shown, "range") ? ", [a TO b], > <" : ""})`;
|
|
336
331
|
const fields = shown.map((field) => field.values ? `${field.name} (${field.values.join("|")})` : field.name);
|
|
337
332
|
const defaults = registry.defaults?.length ? `; unless named: ${registry.defaults.join(" ")}` : "";
|
|
338
333
|
return `${terms}; fields: ${fields.join(", ")}; e.g. ${shown[0]?.example ?? ""}${defaults}`;
|
|
339
334
|
}, "queryDescription");
|
|
340
335
|
|
|
341
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
336
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/parser.js
|
|
342
337
|
var whitespace = /* @__PURE__ */ __name((c) => /[ \t\n\r\u3000]/u.test(c), "whitespace");
|
|
343
338
|
var reserved = /* @__PURE__ */ new Set([
|
|
344
339
|
"+",
|
|
@@ -445,6 +440,10 @@ var tokensOf = /* @__PURE__ */ __name((text, fail = queryError) => {
|
|
|
445
440
|
break;
|
|
446
441
|
at++;
|
|
447
442
|
}
|
|
443
|
+
const [field, colon] = tokens.slice(-2);
|
|
444
|
+
if (field?.kind === "term" && colon?.kind === ":" && colon.span.end === start && text[at] === ":" && /^[a-z][a-z_-]*$/u.test(text.slice(start, at)) && /^:[^\s()"]/u.test(text.slice(at)))
|
|
445
|
+
while (at < text.length && !whitespace(text[at] ?? "") && !["(", ")", '"'].includes(text[at] ?? ""))
|
|
446
|
+
at++;
|
|
448
447
|
const raw = text.slice(start, at);
|
|
449
448
|
kind = { AND: "AND", OR: "OR", NOT: "NOT", "&&": "AND", "||": "OR" }[raw] ?? (/^\d+(?:\.\d+)?$/u.test(raw) ? "number" : "term");
|
|
450
449
|
}
|
|
@@ -643,7 +642,7 @@ var implicitTextTerms = /* @__PURE__ */ __name((text) => {
|
|
|
643
642
|
return new Set(tokens.flatMap((token, index) => (token.kind === "term" || token.kind === "number") && ![":", "=", "<", ">", "<=", ">="].includes(tokens[index - 1]?.kind ?? "") && ![":", "=", "<", ">", "<=", ">="].includes(tokens[index + 1]?.kind ?? "") ? [token.span.start] : []));
|
|
644
643
|
}, "implicitTextTerms");
|
|
645
644
|
|
|
646
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
645
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/validate.js
|
|
647
646
|
var inContext = /* @__PURE__ */ __name((context, run) => {
|
|
648
647
|
try {
|
|
649
648
|
run();
|
|
@@ -718,7 +717,7 @@ var validateQuery = /* @__PURE__ */ __name((ast, registry, options = {}) => {
|
|
|
718
717
|
}, "validateQuery");
|
|
719
718
|
var fieldsNamed = /* @__PURE__ */ __name((ast) => new Set(walkQuery(ast.root).map((node) => node.field)), "fieldsNamed");
|
|
720
719
|
|
|
721
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
720
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/registry.js
|
|
722
721
|
var describeQuery = /* @__PURE__ */ __name((registry) => ({
|
|
723
722
|
entity: registry.entity,
|
|
724
723
|
backend: registry.backend,
|
|
@@ -789,7 +788,7 @@ var QUERY_REASONS = defineReasons([
|
|
|
789
788
|
details: [...SPAN, ...details]
|
|
790
789
|
})));
|
|
791
790
|
|
|
792
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
791
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/evaluate.js
|
|
793
792
|
var wordsOf = /* @__PURE__ */ __name((text) => text.toLowerCase().match(/[\p{L}\p{N}]+/gu) ?? [], "wordsOf");
|
|
794
793
|
var pattern = /* @__PURE__ */ __name((value) => new RegExp(`^${[...value].map((char) => char === "*" ? ".*" : char === "?" ? "." : char.replace(/[.+^${}()|[\]\\]/, "\\$&")).join("")}$`, "iu"), "pattern");
|
|
795
794
|
var present = /* @__PURE__ */ __name((value) => value !== void 0 && value !== null && value !== "", "present");
|
|
@@ -3,14 +3,14 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
checkCancelled,
|
|
5
5
|
object
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KAPJQGHE.js";
|
|
7
7
|
import {
|
|
8
8
|
Credentials
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KNE6VFHZ.js";
|
|
10
10
|
import {
|
|
11
11
|
CliError,
|
|
12
12
|
isCliError
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-FEM2JQN2.js";
|
|
14
14
|
import {
|
|
15
15
|
__name
|
|
16
16
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -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-VW6BF6M7.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-KNE6VFHZ.js";
|
|
14
14
|
import {
|
|
15
15
|
number,
|
|
16
16
|
object,
|
|
17
17
|
optional,
|
|
18
18
|
string
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-NRRI37NJ.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.
|
|
25
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.8_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) => {
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
|
|
4
|
+
// dist/version.js
|
|
5
|
+
var VERSION = "0.68.0";
|
|
6
|
+
|
|
7
|
+
// dist/identity.js
|
|
8
|
+
var CLIENT_ID_MISSING = "zoom.client-id-missing";
|
|
9
|
+
var ZOOM_REASONS = [
|
|
10
|
+
{
|
|
11
|
+
reason: CLIENT_ID_MISSING,
|
|
12
|
+
code: "configuration_error",
|
|
13
|
+
message: "no Zoom app is set: zoom.client_id and ZM_ZOOM_CLIENT_ID are empty",
|
|
14
|
+
details: []
|
|
15
|
+
}
|
|
16
|
+
];
|
|
17
|
+
var ZM = {
|
|
18
|
+
command: "zm",
|
|
19
|
+
appName: "zoom-cli",
|
|
20
|
+
envPrefix: "ZM",
|
|
21
|
+
description: "Zoom meeting transcripts and summaries",
|
|
22
|
+
version: VERSION,
|
|
23
|
+
messenger: false,
|
|
24
|
+
errors: { reasons: ZOOM_REASONS }
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
export {
|
|
28
|
+
VERSION,
|
|
29
|
+
CLIENT_ID_MISSING,
|
|
30
|
+
ZM
|
|
31
|
+
};
|
|
@@ -2,26 +2,30 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
validateFormattedText
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-FMQS7HCC.js";
|
|
6
6
|
import {
|
|
7
7
|
inputPolicy
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-2T6XHWDX.js";
|
|
9
9
|
import {
|
|
10
10
|
indent
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-KNE6VFHZ.js";
|
|
12
12
|
import {
|
|
13
13
|
CliError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-FEM2JQN2.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.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/domain/checks.js
|
|
20
20
|
var spelled = /* @__PURE__ */ __name((check, args) => `${check.replaceAll(".", " ")}${args === void 0 ? "" : ` ${args}`}`, "spelled");
|
|
21
21
|
var bareCheck = /* @__PURE__ */ __name((check, args) => `\`${spelled(check, args)}\``, "bareCheck");
|
|
22
22
|
var checkWords = /* @__PURE__ */ __name((command, profile) => (check, args) => `\`${command} ${profile === void 0 ? "" : `${profile} `}${spelled(check, args)}\``, "checkWords");
|
|
23
23
|
|
|
24
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/domain/crm.js
|
|
25
|
+
var CRM_KINDS = ["organization", "person", "deal", "lead"];
|
|
26
|
+
var isItemKind = /* @__PURE__ */ __name((kind) => kind === "deal" || kind === "lead", "isItemKind");
|
|
27
|
+
|
|
28
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/domain/markdown.js
|
|
25
29
|
var MARKERS = [
|
|
26
30
|
["**", "bold"],
|
|
27
31
|
["~~", "strike"],
|
|
@@ -67,7 +71,7 @@ var closing = /* @__PURE__ */ __name((input, open, marker) => {
|
|
|
67
71
|
return end;
|
|
68
72
|
}, "closing");
|
|
69
73
|
|
|
70
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
74
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/domain/markdown-spans.js
|
|
71
75
|
var STYLES = [
|
|
72
76
|
["**", "bold"],
|
|
73
77
|
["__", "underline"],
|
|
@@ -227,7 +231,7 @@ var parseMarkdownSpans = /* @__PURE__ */ __name((input) => {
|
|
|
227
231
|
return validateFormattedText(result);
|
|
228
232
|
}, "parseMarkdownSpans");
|
|
229
233
|
|
|
230
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
234
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/domain/polls.js
|
|
231
235
|
var countedPoll = /* @__PURE__ */ __name((poll, votes, self) => {
|
|
232
236
|
const cast = votes.filter((vote) => vote.answers.length > 0);
|
|
233
237
|
const mine = self === null ? void 0 : votes.find((vote) => vote.person.id === self);
|
|
@@ -1876,7 +1880,7 @@ var createDataURL = /* @__PURE__ */ __name(function(width, height, getPixel) {
|
|
|
1876
1880
|
var qrcode_default = qrcode;
|
|
1877
1881
|
var stringToBytes = qrcode.stringToBytes;
|
|
1878
1882
|
|
|
1879
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1883
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/terminal/qr.js
|
|
1880
1884
|
var QUIET_ZONE = 4;
|
|
1881
1885
|
var BLACK_ON_WHITE = "\x1B[30;107m";
|
|
1882
1886
|
var RESET = "\x1B[0m";
|
|
@@ -1923,7 +1927,7 @@ var plainQr = /* @__PURE__ */ __name((link) => {
|
|
|
1923
1927
|
return lines.join("\n");
|
|
1924
1928
|
}, "plainQr");
|
|
1925
1929
|
|
|
1926
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1930
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/terminal/login-qr.js
|
|
1927
1931
|
var MARGIN = 2;
|
|
1928
1932
|
var atTerminal = /* @__PURE__ */ __name((input) => input.isTTY === true && !inputPolicy(input).noInput, "atTerminal");
|
|
1929
1933
|
var PASTE_QR = "agents: paste the QR code above into the chat as a code block, exactly as printed; when a new one is printed, paste it and say the old one expired";
|
|
@@ -1961,6 +1965,8 @@ ${indent(drawn.text, pad + MARGIN)}`);
|
|
|
1961
1965
|
export {
|
|
1962
1966
|
bareCheck,
|
|
1963
1967
|
checkWords,
|
|
1968
|
+
CRM_KINDS,
|
|
1969
|
+
isItemKind,
|
|
1964
1970
|
parseMarkdown,
|
|
1965
1971
|
parseMarkdownSpans,
|
|
1966
1972
|
countedPoll,
|
|
@@ -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.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/background/processes.js
|
|
8
8
|
import { execFileSync } from "node:child_process";
|
|
9
9
|
import { readdirSync, readFileSync, readlinkSync } from "node:fs";
|
|
10
10
|
var alive = /* @__PURE__ */ __name((pid) => {
|