@wirecat/zoom-cli 0.77.0 → 0.79.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/bin/zm.js +2 -2
- package/dist/bundle/{all-profiles-PMCFNDMA.js → all-profiles-LDSHUH5W.js} +11 -11
- package/dist/bundle/answer-policy-VJK4ID2F.js +122 -0
- package/dist/bundle/{anthropic-TGJOKLUS.js → anthropic-UH3QWA3F.js} +6 -6
- package/dist/bundle/{app-server-OAODUFM3.js → app-server-LFANTLAJ.js} +72 -72
- package/dist/bundle/{bun-HJHVHJJV.js → bun-M3J2QTR3.js} +2 -2
- package/dist/bundle/{bun-sqlite-PLBOY6FP.js → bun-sqlite-NYP5UH23.js} +7 -7
- package/dist/bundle/{chunk-NOF6LABG.js → chunk-2GI63IPV.js} +2 -2
- package/dist/bundle/{chunk-CL6QAZGT.js → chunk-2IPIBDXI.js} +13 -13
- package/dist/bundle/{chunk-635GRAO5.js → chunk-2LJARGNG.js} +14 -13
- package/dist/bundle/{chunk-7S3N5CTA.js → chunk-2N57GL4L.js} +1 -1
- package/dist/bundle/{chunk-2QDD6S2R.js → chunk-2OTETB4A.js} +8 -8
- package/dist/bundle/{chunk-LUAS73NT.js → chunk-2PUMYKGV.js} +20 -118
- package/dist/bundle/{chunk-UGRGYLEI.js → chunk-2W6QGFHF.js} +8 -8
- package/dist/bundle/{chunk-NJJEUG4C.js → chunk-3AFZ6Q5N.js} +12 -12
- package/dist/bundle/{chunk-T4CI3YXW.js → chunk-3QPAD6YI.js} +6 -6
- package/dist/bundle/{chunk-77JQIY2V.js → chunk-4BQN5IFQ.js} +3 -3
- package/dist/bundle/{chunk-LWMDLXEO.js → chunk-4S7RUA3U.js} +3397 -3088
- package/dist/bundle/{chunk-QE4L2QQZ.js → chunk-4T3J4NCF.js} +9 -9
- package/dist/bundle/{chunk-ZUMKZOHR.js → chunk-525BI32C.js} +3 -3
- package/dist/bundle/{chunk-PO4RZ4XZ.js → chunk-52ZQ72HL.js} +1 -1
- package/dist/bundle/{chunk-CZ6OO66B.js → chunk-5KEOCHBZ.js} +4 -4
- package/dist/bundle/{chunk-KYKW2W6X.js → chunk-5RVXXDN7.js} +1 -1
- package/dist/bundle/{chunk-XVHDT4CO.js → chunk-63WT3HCY.js} +3 -3
- package/dist/bundle/{chunk-6YCFDDRO.js → chunk-65DOVVHQ.js} +1 -1
- package/dist/bundle/{chunk-SFPUSEOT.js → chunk-73L5R7AS.js} +2 -2
- package/dist/bundle/{chunk-QKNO3JTG.js → chunk-7DTWT7BN.js} +2 -2
- package/dist/bundle/{chunk-PM3MB3E7.js → chunk-AWLZZTPW.js} +3 -3
- package/dist/bundle/{chunk-CUJJZJ4R.js → chunk-AZB6QXZU.js} +38 -5
- package/dist/bundle/{chunk-QAGECFHL.js → chunk-BNEJKGG7.js} +31 -22
- package/dist/bundle/{chunk-MTH3JJHF.js → chunk-BOVYOUB3.js} +10 -10
- package/dist/bundle/{chunk-DCEQIKFD.js → chunk-BTFPDS52.js} +6 -6
- package/dist/bundle/{chunk-YVI5SQPY.js → chunk-CWXOXIWS.js} +1 -1
- package/dist/bundle/{chunk-7CMYNW3W.js → chunk-D264RGZ4.js} +4 -4
- package/dist/bundle/{chunk-H2EVYY5Z.js → chunk-DFCHHR5M.js} +1 -1
- package/dist/bundle/{chunk-ECRFXQHA.js → chunk-DI5JX4SD.js} +1 -1
- package/dist/bundle/{chunk-DDUNPLET.js → chunk-DQVCCO7G.js} +261 -177
- package/dist/bundle/{chunk-FDQE2CLT.js → chunk-E5WLE7BM.js} +1 -1
- package/dist/bundle/{chunk-JFVZVPRW.js → chunk-FIJREKLA.js} +3 -3
- package/dist/bundle/{chunk-DYIRJINE.js → chunk-FKA7DOCK.js} +1 -1
- package/dist/bundle/{chunk-TY4FFK2P.js → chunk-FMT4CIGN.js} +9 -60
- package/dist/bundle/{chunk-LMZUC4CS.js → chunk-FO5UNFFN.js} +4 -4
- package/dist/bundle/chunk-FPUGMDJV.js +7 -0
- package/dist/bundle/{chunk-ICZVSVTW.js → chunk-GTUBQQU2.js} +64 -61
- package/dist/bundle/{chunk-7SNU7RFU.js → chunk-HOXBHGP2.js} +12 -12
- package/dist/bundle/{chunk-SP5OMHOO.js → chunk-HVQVCGME.js} +3 -3
- package/dist/bundle/{chunk-A6LK2W5J.js → chunk-HZRQLAHO.js} +1 -1
- package/dist/bundle/{chunk-B7XFDMFV.js → chunk-I6VDTYML.js} +10 -10
- package/dist/bundle/{chunk-7DTU7QZP.js → chunk-I75KOOUD.js} +3 -3
- package/dist/bundle/{chunk-JMU3E2WA.js → chunk-IIFRJV3A.js} +2 -2
- package/dist/bundle/{chunk-W7UCN7MF.js → chunk-J62BQBVG.js} +3 -3
- package/dist/bundle/{chunk-MCLZ74II.js → chunk-JJGUHWLB.js} +7 -7
- package/dist/bundle/{chunk-NPDPD2H3.js → chunk-LCCVEX4R.js} +12 -12
- package/dist/bundle/{chunk-5A5W322G.js → chunk-LITZ7KPO.js} +2 -2
- package/dist/bundle/{chunk-YFN5A7OP.js → chunk-M4RXPZ6K.js} +4 -4
- package/dist/bundle/{chunk-GHBDYYPO.js → chunk-M5FW654Z.js} +2 -2
- package/dist/bundle/{chunk-6JRBMNRN.js → chunk-N5O3XVX3.js} +3 -3
- package/dist/bundle/{chunk-5KHCFIWI.js → chunk-ND7TBQKO.js} +2 -2
- package/dist/bundle/{chunk-QUGESVOE.js → chunk-NI7UYGTF.js} +13 -13
- package/dist/bundle/{chunk-5C6CRSEM.js → chunk-NKFEEY5M.js} +14 -29
- package/dist/bundle/{chunk-Q7ZW7XAX.js → chunk-NQMHYLZO.js} +20 -20
- package/dist/bundle/{chunk-ZZ32DXTH.js → chunk-O3DYRCIT.js} +1 -1
- package/dist/bundle/{chunk-MIG4RLDB.js → chunk-OLMEJNL4.js} +6 -6
- package/dist/bundle/{chunk-NPIVV52M.js → chunk-ONJPUFLX.js} +1 -1
- package/dist/bundle/{chunk-36SI35XZ.js → chunk-OZQSTX4J.js} +5 -5
- package/dist/bundle/{chunk-OXXJW3A5.js → chunk-P4MZOAPC.js} +2843 -1647
- package/dist/bundle/{chunk-XC3MWABM.js → chunk-P4WHDL2F.js} +4 -4
- package/dist/bundle/{chunk-2QRGJSKO.js → chunk-PCPOO5FS.js} +2 -2
- package/dist/bundle/{chunk-LYVHQ6DJ.js → chunk-PJFVE7UH.js} +14 -14
- package/dist/bundle/{chunk-SVJQRG5N.js → chunk-PP6SZLCY.js} +103 -42
- package/dist/bundle/{chunk-XCA5N63N.js → chunk-QIK2IBJ4.js} +21 -7
- package/dist/bundle/{chunk-5C5UEKUJ.js → chunk-QRKSASGP.js} +3 -3
- package/dist/bundle/{chunk-3TLQF3DN.js → chunk-QX3PO5UE.js} +3 -3
- package/dist/bundle/{chunk-T6RSYDFA.js → chunk-RJ5JAYNZ.js} +361 -270
- package/dist/bundle/{chunk-4Z4VOQRR.js → chunk-RMQ7EALU.js} +17 -17
- package/dist/bundle/{chunk-IS6MUPN2.js → chunk-RMX2WPWS.js} +4 -4
- package/dist/bundle/{chunk-ZRNNMBPC.js → chunk-RUE3WP7K.js} +19 -19
- package/dist/bundle/{chunk-I3QMPQYD.js → chunk-SGFNQFP4.js} +38 -39
- package/dist/bundle/{chunk-4QNW4NK6.js → chunk-ST3ZB7LS.js} +1 -1
- package/dist/bundle/{chunk-F4ROWGLU.js → chunk-T6LA664Z.js} +65 -34
- package/dist/bundle/{chunk-7AFYZOHU.js → chunk-TLO62ROR.js} +26 -26
- package/dist/bundle/{chunk-MMAZUJBO.js → chunk-TP7GDWVF.js} +1 -1
- package/dist/bundle/{chunk-IUOKIZZN.js → chunk-TUECY6LV.js} +2 -2
- package/dist/bundle/{chunk-7ILGYNWX.js → chunk-U7QXC75C.js} +8 -8
- package/dist/bundle/{chunk-WD5OL5JB.js → chunk-UQKVZFIX.js} +12 -12
- package/dist/bundle/{chunk-SY5NGYKA.js → chunk-VX6ZSKXM.js} +12 -12
- package/dist/bundle/{chunk-OOIU36FA.js → chunk-W53EJOFQ.js} +1 -1
- package/dist/bundle/{chunk-VJ2TLU7R.js → chunk-W5HRTC6X.js} +6 -6
- package/dist/bundle/{chunk-STNZQBY4.js → chunk-W656MRJD.js} +6 -6
- package/dist/bundle/{chunk-NKKVVPL5.js → chunk-W7HM2VGO.js} +1 -1
- package/dist/bundle/chunk-WE4UFASG.js +88 -0
- package/dist/bundle/{chunk-ADJIYY33.js → chunk-X2M6NIQG.js} +1 -1
- package/dist/bundle/{chunk-VGERRRDC.js → chunk-XAOSZGTD.js} +1 -1
- package/dist/bundle/{chunk-IJTBB23F.js → chunk-XDBGGOE2.js} +27 -27
- package/dist/bundle/{chunk-375BH5OD.js → chunk-XEIL6VNA.js} +4 -4
- package/dist/bundle/{chunk-BOJCRTQW.js → chunk-XFMVDQ6J.js} +2 -2
- package/dist/bundle/{chunk-YJIGGUPI.js → chunk-XIHENZW6.js} +4 -4
- package/dist/bundle/{chunk-KHBSQROH.js → chunk-XOYMIEAZ.js} +9 -6
- package/dist/bundle/{chunk-JQUYHPQD.js → chunk-Y4UDPQ3L.js} +7 -7
- package/dist/bundle/{chunk-RQS3W4P6.js → chunk-Y64L7A7E.js} +6 -6
- package/dist/bundle/{chunk-CJL5GHTQ.js → chunk-YCW422X7.js} +3175 -1791
- package/dist/bundle/{chunk-FRC5QIPQ.js → chunk-YOBTKYIX.js} +8 -8
- package/dist/bundle/{chunk-IZMRQ3MV.js → chunk-Z3CPZ4I4.js} +10 -10
- package/dist/bundle/{chunk-E3UPMPUV.js → chunk-ZKVYV25H.js} +8 -8
- package/dist/bundle/{chunk-FS5HPXQN.js → chunk-ZPZT46O6.js} +35 -9
- package/dist/bundle/{cli-Y27PHKBV.js → cli-AVQU63FT.js} +123 -77
- package/dist/bundle/command-contract-MCWBL5VS.js +45 -0
- package/dist/bundle/{command-server-entry-AXQSW2X6.js → command-server-entry-JZP7Y73G.js} +35 -35
- package/dist/bundle/config-G3C54VH6.js +109 -0
- package/dist/bundle/{decode-ZRNOOTUZ.js → decode-JLAYH7GC.js} +6 -6
- package/dist/bundle/{dispatch-2GHGPAYH.js → dispatch-AWDROXWN.js} +9 -9
- package/dist/bundle/{dist-MUFVAMKB.js → dist-TBLTUL5M.js} +21 -21
- package/dist/bundle/{echarts-F4PHDYET.js → echarts-FVTUDXDU.js} +2 -2
- package/dist/bundle/{embed-KWHCKPCV.js → embed-CJRENDF7.js} +7 -7
- package/dist/bundle/{embedder-U3R3RY54.js → embedder-RPE67QJD.js} +10 -10
- package/dist/bundle/{failure-S2YXEN4A.js → failure-JZW73RP7.js} +3 -3
- package/dist/bundle/first-run-QEASX5J5.js +29 -0
- package/dist/bundle/first-screen-NGCQD3CU.js +45 -0
- package/dist/bundle/{folders-DVTRFQKW.js → folders-TGFOE7DY.js} +5 -5
- package/dist/bundle/{instructions-JU4YW6QY.js → instructions-HET7BCYK.js} +1 -1
- package/dist/bundle/{main-5UCRPACH.js → main-QRJ6NRCD.js} +24 -24
- package/dist/bundle/{mcp-O6ACR2DX.js → mcp-RGNRW77S.js} +2 -2
- package/dist/bundle/meeting-combined-AZXCDXCV.js +26 -0
- package/dist/bundle/meeting-model-7HNQ4I3J.js +26 -0
- package/dist/bundle/{meeting-semantic-5DKRGZFS.js → meeting-semantic-4MURLQCA.js} +8 -8
- package/dist/bundle/{meetings-T2UY35DV.js → meetings-QFZWKHI4.js} +21 -7
- package/dist/bundle/{node-MAVRAF4M.js → node-CXZIFHZC.js} +2 -2
- package/dist/bundle/{node-sqlite-TFBQ5NDI.js → node-sqlite-CZPYFROO.js} +8 -8
- package/dist/bundle/{oauth-7IG5HWSY.js → oauth-T45MPIZF.js} +8 -8
- package/dist/bundle/{open-3R3N7L3X.js → open-3AONZFET.js} +6 -6
- package/dist/bundle/openai-LHWUXEBO.js +28 -0
- package/dist/bundle/{output-file-KKHHAYWF.js → output-file-J4SU6X4I.js} +6 -6
- package/dist/bundle/{process-OIO254NR.js → process-5RUXWGYS.js} +1 -1
- package/dist/bundle/{program-IBYRU76H.js → program-2O4YSRWY.js} +96 -93
- package/dist/bundle/{prompt-LNEOO7PN.js → prompt-NDLUFCJV.js} +6 -6
- package/dist/bundle/{recognize-2WYLT3PC.js → recognize-CZOIAJQX.js} +5 -5
- package/dist/bundle/{remote-7EAJEIV7.js → remote-O3CE4Q3B.js} +11 -11
- package/dist/bundle/{rerank-DZBZ744F.js → rerank-MZOL746K.js} +8 -8
- package/dist/bundle/run-log-GX6LNMWY.js +136 -0
- package/dist/bundle/{serve-T3KQV5SS.js → serve-43IBHMFM.js} +10 -10
- package/dist/bundle/server-3E2PJGYK.js +85 -0
- package/dist/bundle/{server-2QQAQZ2J.js → server-6LTMPPTO.js} +64 -64
- package/dist/bundle/{services-DETAKMC3.js → services-UIRD5PHE.js} +60 -53
- package/dist/bundle/{speech-HD57JNTK.js → speech-6QVKIJVR.js} +25 -25
- package/dist/bundle/{sqlite-runtime-OCETZSEZ.js → sqlite-runtime-PKCIBVHZ.js} +7 -7
- package/dist/bundle/{state-ZKVQ4DBI.js → state-AC55V3IE.js} +7 -7
- package/dist/bundle/{store-7IZ2WMHF.js → store-OAGA2ZK3.js} +28 -24
- package/dist/bundle/{store-GEAQ7V5R.js → store-QOCYJNKX.js} +30 -26
- package/dist/bundle/store-connection-PBZMFY56.js +102 -0
- package/dist/bundle/store-maintenance-command-VBCHEOGI.js +77 -0
- package/dist/bundle/{streaming-CLBAO3MG.js → streaming-VDJOYGMO.js} +7 -7
- package/dist/bundle/{tokens-WH73ZWFI.js → tokens-LN442AO6.js} +10 -10
- package/dist/bundle/zm.js +9 -9
- package/dist/bundle/{zoom-app-ZDTYMJET.js → zoom-app-TOCQ7LB5.js} +8 -8
- package/dist/program-bindings.d.ts.map +1 -1
- package/dist/program-bindings.js +1 -0
- package/dist/program-bindings.js.map +1 -1
- package/dist/store-commands.d.ts.map +1 -1
- package/dist/store-commands.js +2 -2
- package/dist/store-commands.js.map +1 -1
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +3 -0
- package/dist/tokens.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +6 -4
- package/skills/zoom-cli/SKILL.md +88 -236
- package/skills/zoom-cli/references/archive.md +59 -0
- package/skills/zoom-cli/references/people-and-projects.md +51 -0
- package/skills/zoom-cli/references/prepare.md +78 -0
- package/skills/zoom-cli/references/search.md +71 -0
- package/skills/zoom-cli/references/setup.md +31 -0
- package/skills/zoom-cli/references/zoom-live.md +27 -0
- package/dist/bundle/answer-policy-XU7KEW2V.js +0 -121
- package/dist/bundle/chunk-VKE77B3F.js +0 -2
- package/dist/bundle/command-contract-GB7YA3KW.js +0 -45
- package/dist/bundle/config-2OOABHR7.js +0 -108
- package/dist/bundle/first-run-F4YR2E2C.js +0 -29
- package/dist/bundle/first-screen-HPRHD3VK.js +0 -43
- package/dist/bundle/meeting-combined-IWU5SPAH.js +0 -26
- package/dist/bundle/meeting-model-ILIUJECZ.js +0 -26
- package/dist/bundle/openai-DD5I3DWC.js +0 -28
- package/dist/bundle/run-log-CCIVRSHP.js +0 -135
- package/dist/bundle/server-OJQMPF2R.js +0 -84
- package/dist/bundle/store-connection-BALCZW7P.js +0 -101
- package/dist/bundle/store-maintenance-command-SBT4LDSI.js +0 -76
|
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
LEVELS
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-2OTETB4A.js";
|
|
6
6
|
import {
|
|
7
7
|
WORD_BODY,
|
|
8
8
|
e164Of
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NQMHYLZO.js";
|
|
10
10
|
import {
|
|
11
11
|
resolvePaths,
|
|
12
12
|
writeSecurely
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-BNEJKGG7.js";
|
|
14
14
|
import {
|
|
15
15
|
array,
|
|
16
16
|
getDotPath,
|
|
@@ -29,18 +29,18 @@ import {
|
|
|
29
29
|
string,
|
|
30
30
|
transform,
|
|
31
31
|
unknown
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-ZPZT46O6.js";
|
|
33
33
|
import {
|
|
34
34
|
CliError
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-ST3ZB7LS.js";
|
|
36
36
|
import {
|
|
37
37
|
visibleControls
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-5RVXXDN7.js";
|
|
39
39
|
import {
|
|
40
40
|
__name
|
|
41
41
|
} from "./chunk-ZVVMGPBJ.js";
|
|
42
42
|
|
|
43
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
43
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/vcard.js
|
|
44
44
|
import { createHash } from "node:crypto";
|
|
45
45
|
var MAX_ID = 512;
|
|
46
46
|
var AS_WORD = new RegExp(`^${WORD_BODY}$`);
|
|
@@ -271,7 +271,7 @@ var envelopeOfVcard = /* @__PURE__ */ __name((text, { provider, account, batchId
|
|
|
271
271
|
};
|
|
272
272
|
}, "envelopeOfVcard");
|
|
273
273
|
|
|
274
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
274
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/formatting.js
|
|
275
275
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "the messenger formatter returned invalid text spans"), "invalid");
|
|
276
276
|
var validateFormattedText = /* @__PURE__ */ __name((formatted) => {
|
|
277
277
|
const { text, spans } = formatted;
|
|
@@ -331,7 +331,7 @@ var visibleFormattedText = /* @__PURE__ */ __name((formatted) => {
|
|
|
331
331
|
};
|
|
332
332
|
}, "visibleFormattedText");
|
|
333
333
|
|
|
334
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
334
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/moderation/check.js
|
|
335
335
|
var INVITE = /max\.ru\/join\/|(t|telegram)\.me\/(\+|joinchat\/)|tg:\/\/join/i;
|
|
336
336
|
var LINK = /https?:\/\/\S+/i;
|
|
337
337
|
var STRENGTH = { report: 0, delete: 1, remove: 2 };
|
|
@@ -519,7 +519,7 @@ var nextPoint = /* @__PURE__ */ __name((rows, found) => {
|
|
|
519
519
|
}, "nextPoint");
|
|
520
520
|
var someUndone = /* @__PURE__ */ __name((rows) => rows.some(undone), "someUndone");
|
|
521
521
|
|
|
522
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
522
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/moderation/rules.js
|
|
523
523
|
import { existsSync, readdirSync, readFileSync } from "node:fs";
|
|
524
524
|
import { join } from "node:path";
|
|
525
525
|
var RULE_ACTIONS = ["report", "delete", "remove"];
|
|
@@ -3,16 +3,16 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
QUERY_LIMITS,
|
|
5
5
|
queryError
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-Z3CPZ4I4.js";
|
|
7
7
|
import {
|
|
8
8
|
CliError,
|
|
9
9
|
isCliError
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ST3ZB7LS.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.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/search/lucene/types.js
|
|
16
16
|
var QUERY_VERSION = 1;
|
|
17
17
|
var QUERY_LIMITS2 = {
|
|
18
18
|
...QUERY_LIMITS,
|
|
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
CAPABILITY_STATEMENTS,
|
|
5
5
|
storeCapable
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-W5HRTC6X.js";
|
|
7
7
|
import {
|
|
8
8
|
importFrom
|
|
9
9
|
} from "./chunk-Y5E2WNWB.js";
|
|
@@ -11,7 +11,7 @@ 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.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/sqlite-runtime.js
|
|
15
15
|
import { spawn, spawnSync } from "node:child_process";
|
|
16
16
|
import { readFileSync } from "node:fs";
|
|
17
17
|
import { dirname } from "node:path";
|
|
@@ -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-W53EJOFQ.js";
|
|
6
6
|
import {
|
|
7
7
|
resolvePaths,
|
|
8
8
|
writeSecurely
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BNEJKGG7.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.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/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");
|
|
@@ -2,19 +2,19 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
isCliFailure
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ND7TBQKO.js";
|
|
6
6
|
import {
|
|
7
7
|
secretNamed,
|
|
8
8
|
withoutSecrets
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-52ZQ72HL.js";
|
|
10
10
|
import {
|
|
11
11
|
isContentKey
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-BNEJKGG7.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.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/runs/events.js
|
|
18
18
|
var providerErrorKey = /* @__PURE__ */ __name((value) => typeof value === "string" && /^[A-Za-z][A-Za-z0-9._-]{0,63}$/.test(value) ? value : void 0, "providerErrorKey");
|
|
19
19
|
var renderEvent = /* @__PURE__ */ __name((event) => {
|
|
20
20
|
if (event.event === "store")
|
|
@@ -66,11 +66,11 @@ var MARK = { request: "\u2192", response: "\u2190", cache: "\u2022", warning: "!
|
|
|
66
66
|
var age = /* @__PURE__ */ __name((ms) => ms < 1e3 ? `${ms}ms` : `${Math.round(ms / 1e3)}s`, "age");
|
|
67
67
|
var size = /* @__PURE__ */ __name((bytes) => bytes < 1e3 ? `${bytes} B` : `${(bytes / 1e3).toFixed(1)} kB`, "size");
|
|
68
68
|
|
|
69
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
69
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/runs/run-context.js
|
|
70
70
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
71
71
|
import { createHash } from "node:crypto";
|
|
72
72
|
|
|
73
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
73
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
|
|
74
74
|
import { homedir } from "node:os";
|
|
75
75
|
var MESSAGE_AT_MOST = 500;
|
|
76
76
|
var CAUSES_AT_MOST = 5;
|
|
@@ -183,7 +183,7 @@ var redactText = /* @__PURE__ */ __name((text) => {
|
|
|
183
183
|
return out.length > MESSAGE_AT_MOST ? `${out.slice(0, MESSAGE_AT_MOST)}\u2026` : out;
|
|
184
184
|
}, "redactText");
|
|
185
185
|
|
|
186
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
186
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/runs/run-context.js
|
|
187
187
|
var REDACTED = "[redacted]";
|
|
188
188
|
var keepsSuccess = /* @__PURE__ */ __name(({ record, fromFlag, env, caller, persistent = false }) => {
|
|
189
189
|
if (!record)
|
|
@@ -2,28 +2,28 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
isCommandServer
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-2N57GL4L.js";
|
|
6
6
|
import {
|
|
7
7
|
envName,
|
|
8
8
|
readOnlyLockOf
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-M5FW654Z.js";
|
|
10
10
|
import {
|
|
11
11
|
ensureSqlite
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-IIFRJV3A.js";
|
|
13
13
|
import {
|
|
14
14
|
catchCrashes
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ZPZT46O6.js";
|
|
16
16
|
import {
|
|
17
17
|
CliError
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ST3ZB7LS.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.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/entry.js
|
|
24
24
|
import { spawn } from "node:child_process";
|
|
25
25
|
|
|
26
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/argv-log.js
|
|
27
27
|
import { appendFileSync } from "node:fs";
|
|
28
28
|
var logParsedArgv = /* @__PURE__ */ __name((file, action) => {
|
|
29
29
|
const words = [];
|
|
@@ -47,7 +47,7 @@ var logVersion = /* @__PURE__ */ __name((file) => {
|
|
|
47
47
|
`);
|
|
48
48
|
}, "logVersion");
|
|
49
49
|
|
|
50
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
50
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/entry.js
|
|
51
51
|
var processIo = /* @__PURE__ */ __name(() => ({
|
|
52
52
|
argv: process.argv,
|
|
53
53
|
env: process.env,
|
|
@@ -67,7 +67,7 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
|
|
|
67
67
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-V"))
|
|
68
68
|
return printVersion(entry.app, io);
|
|
69
69
|
if (isCommandServer(args)) {
|
|
70
|
-
const { serveEntry } = await import("./command-server-entry-
|
|
70
|
+
const { serveEntry } = await import("./command-server-entry-JZP7Y73G.js");
|
|
71
71
|
return serveEntry(entry, io, { firstRunAt, commanderExit });
|
|
72
72
|
}
|
|
73
73
|
const tty = io.stdout.isTTY === true;
|
|
@@ -105,7 +105,7 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
|
|
|
105
105
|
ask: /* @__PURE__ */ __name(async (question, command) => {
|
|
106
106
|
if (headless(command) || io.stdin.isTTY !== true)
|
|
107
107
|
return false;
|
|
108
|
-
const { readSecret } = await import("./prompt-
|
|
108
|
+
const { readSecret } = await import("./prompt-NDLUFCJV.js");
|
|
109
109
|
const answer = await readSecret(`${question} [y/N] `, {
|
|
110
110
|
input: io.stdin,
|
|
111
111
|
output: io.stderr,
|
|
@@ -148,8 +148,8 @@ var firstRunAt = /* @__PURE__ */ __name((entry, io, headless) => async (command)
|
|
|
148
148
|
if (command.optsWithGlobals().dryRun === true)
|
|
149
149
|
return;
|
|
150
150
|
const [{ setupAtStart }, { commandPathOf }] = await Promise.all([
|
|
151
|
-
import("./first-run-
|
|
152
|
-
import("./command-contract-
|
|
151
|
+
import("./first-run-QEASX5J5.js"),
|
|
152
|
+
import("./command-contract-MCWBL5VS.js")
|
|
153
153
|
]);
|
|
154
154
|
await setupAtStart({
|
|
155
155
|
command: entry.app.command,
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
parseReference
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NI7UYGTF.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.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/links.js
|
|
11
11
|
var LINK_VERSION = "v1";
|
|
12
12
|
var DEFAULT_LINK_CONFIG = { base: "https://wirecat.dev/o", enabled: true };
|
|
13
13
|
var APP_PREFIX = "wirecat://open";
|
|
@@ -9,15 +9,15 @@ import {
|
|
|
9
9
|
optional,
|
|
10
10
|
pipe,
|
|
11
11
|
safeParse
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ZPZT46O6.js";
|
|
13
13
|
import {
|
|
14
14
|
CliError
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ST3ZB7LS.js";
|
|
16
16
|
import {
|
|
17
17
|
__name
|
|
18
18
|
} from "./chunk-ZVVMGPBJ.js";
|
|
19
19
|
|
|
20
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/models/options.js
|
|
21
21
|
var checkedOptions = /* @__PURE__ */ __name((provider, schema, options) => {
|
|
22
22
|
const parsed = safeParse(schema, options);
|
|
23
23
|
if (!parsed.success) {
|
|
@@ -27,7 +27,7 @@ var checkedOptions = /* @__PURE__ */ __name((provider, schema, options) => {
|
|
|
27
27
|
}, "checkedOptions");
|
|
28
28
|
var range = /* @__PURE__ */ __name((min, max) => optional(pipe(number(), finite(), minValue(min), maxValue(max))), "range");
|
|
29
29
|
|
|
30
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/models/types.js
|
|
31
31
|
var MAX_MODEL_IMAGE_BYTES = 4 * 1024 * 1024;
|
|
32
32
|
var validateImages = /* @__PURE__ */ __name((images) => {
|
|
33
33
|
if (images === void 0)
|
|
@@ -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-ST3ZB7LS.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.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/ports/app.js
|
|
11
11
|
import { readFileSync } from "node:fs";
|
|
12
12
|
var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
|
|
13
13
|
var locking = /* @__PURE__ */ __name((value) => value !== void 0 && value.trim() !== "" && value !== "0", "locking");
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
id,
|
|
6
6
|
text,
|
|
7
7
|
time
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-RUE3WP7K.js";
|
|
9
9
|
import {
|
|
10
10
|
array,
|
|
11
11
|
nullable,
|
|
@@ -16,9 +16,9 @@ import {
|
|
|
16
16
|
strictObject,
|
|
17
17
|
string,
|
|
18
18
|
unknown
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ZPZT46O6.js";
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/note.js
|
|
22
22
|
var link = {
|
|
23
23
|
target_text: nullable(text),
|
|
24
24
|
kind: text,
|
|
@@ -3,12 +3,12 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
CliError,
|
|
5
5
|
errorCodes
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ST3ZB7LS.js";
|
|
7
7
|
import {
|
|
8
8
|
__name
|
|
9
9
|
} from "./chunk-ZVVMGPBJ.js";
|
|
10
10
|
|
|
11
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/errors/failures.js
|
|
12
12
|
var isCliFailure = /* @__PURE__ */ __name((value) => value instanceof Error && value.name === "CliError" && errorCodes.includes(value.code), "isCliFailure");
|
|
13
13
|
var isCommanderFailure = /* @__PURE__ */ __name((value) => {
|
|
14
14
|
const { code, exitCode } = value ?? {};
|
|
@@ -3,18 +3,18 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
formatMeetingReference,
|
|
5
5
|
parseMeetingReference
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RJ5JAYNZ.js";
|
|
7
7
|
import {
|
|
8
8
|
CliError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ST3ZB7LS.js";
|
|
10
10
|
import {
|
|
11
11
|
singleLine
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5RVXXDN7.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.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/money.js
|
|
18
18
|
var CURRENCY_SCALES = {
|
|
19
19
|
AED: 2,
|
|
20
20
|
AMD: 2,
|
|
@@ -108,7 +108,7 @@ var quantityOf = /* @__PURE__ */ __name((text) => {
|
|
|
108
108
|
}, "quantityOf");
|
|
109
109
|
var lineUnits = /* @__PURE__ */ __name((thousandths, unitPrice) => Number((thousandths * BigInt(unitPrice) + 500n) / 1000n), "lineUnits");
|
|
110
110
|
|
|
111
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
111
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/deals.js
|
|
112
112
|
var DEAL_KINDS = ["deal", "lead"];
|
|
113
113
|
var DEAL_STATUSES = ["open", "won", "lost"];
|
|
114
114
|
var STAGE_OUTCOMES = DEAL_STATUSES;
|
|
@@ -118,7 +118,7 @@ var dealLine = /* @__PURE__ */ __name((deal) => {
|
|
|
118
118
|
return `${deal.title} \xB7 ${deal.stage}${money}${deal.status === "open" ? "" : ` (${deal.status})`}`;
|
|
119
119
|
}, "dealLine");
|
|
120
120
|
|
|
121
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
121
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/finance.js
|
|
122
122
|
var INVOICE_DIRECTIONS = ["receivable", "payable"];
|
|
123
123
|
var INVOICE_STATUSES = ["draft", "issued", "partly_paid", "paid", "void"];
|
|
124
124
|
var MONEY_DIRECTIONS = ["in", "out"];
|
|
@@ -147,7 +147,7 @@ var paymentLine = /* @__PURE__ */ __name((payment) => {
|
|
|
147
147
|
var invoiceTitle = /* @__PURE__ */ __name((invoice) => `Invoice ${invoiceLine(invoice)}`, "invoiceTitle");
|
|
148
148
|
var paymentEntryTitle = /* @__PURE__ */ __name((payment) => `Payment \xB7 ${paymentLine(payment)}`, "paymentEntryTitle");
|
|
149
149
|
|
|
150
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
150
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/orders.js
|
|
151
151
|
var ORDER_STATUSES = ["placed", "shipped", "delivered", "cancelled", "returned"];
|
|
152
152
|
var ORDER_PURPOSES = ["personal", "business", "client", "other"];
|
|
153
153
|
var orderLine = /* @__PURE__ */ __name((order) => {
|
|
@@ -158,7 +158,7 @@ var orderLine = /* @__PURE__ */ __name((order) => {
|
|
|
158
158
|
}, "orderLine");
|
|
159
159
|
var orderTitle = /* @__PURE__ */ __name((order) => `Order ${orderLine(order)}`, "orderTitle");
|
|
160
160
|
|
|
161
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
161
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/relations.js
|
|
162
162
|
var ORGANIZATION_ROLES = [
|
|
163
163
|
"employee",
|
|
164
164
|
"contractor",
|
|
@@ -265,7 +265,7 @@ var KEYED = "kind IN ('member-of', 'related-to', 'reports-to', 'customer-of', 'p
|
|
|
265
265
|
var notOverriddenSql = /* @__PURE__ */ __name((alias) => `NOT EXISTS (SELECT 1 FROM links override WHERE ${KEYED} AND override.kind = ${alias}.kind AND override.from_type = ${alias}.from_type AND override.from_id = ${alias}.from_id AND override.to_type = ${alias}.to_type AND override.to_id = ${alias}.to_id AND json_extract(override.metadata, '$.overrides') = ${alias}.id)`, "notOverriddenSql");
|
|
266
266
|
var usableLinkSql = /* @__PURE__ */ __name((alias, now) => `(${alias}.confirmed = 1 OR (${alias}.account_id IS NOT NULL AND ${alias}.deleted_at IS NULL))` + (now === void 0 ? "" : ` AND (${alias}.ends_at IS NULL OR ${alias}.ends_at > ${Math.trunc(now)})`), "usableLinkSql");
|
|
267
267
|
|
|
268
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
268
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/crm.js
|
|
269
269
|
var CRM_KINDS = ["organization", "person", "deal", "lead"];
|
|
270
270
|
var CRM_ACTIVITY_KINDS = ["call", "email", "meeting", "todo", "task", "comment", "other"];
|
|
271
271
|
var isCrmUserId = /* @__PURE__ */ __name((id) => /^\d{1,20}$/.test(id), "isCrmUserId");
|
|
@@ -275,7 +275,7 @@ var normalCrmUserId = /* @__PURE__ */ __name((id) => {
|
|
|
275
275
|
}, "normalCrmUserId");
|
|
276
276
|
var isItemKind = /* @__PURE__ */ __name((kind2) => kind2 === "deal" || kind2 === "lead", "isItemKind");
|
|
277
277
|
|
|
278
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
278
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/business.js
|
|
279
279
|
var CATALOG_KINDS = ["product", "service"];
|
|
280
280
|
var BUSINESS_KINDS = ["invoice", "payment", "order", "contract", "subscription", "product", "wallet"];
|
|
281
281
|
var CONTRACT_KINDS = ["sale", "purchase", "service", "lease", "employment", "nda", "license", "other"];
|
|
@@ -304,7 +304,7 @@ var subscriptionLine = /* @__PURE__ */ __name((subscription) => `${subscription.
|
|
|
304
304
|
var walletLine = /* @__PURE__ */ __name((wallet) => `${wallet.name} \xB7 ${wallet.kind}, ${wallet.currency}${wallet.numberHint === null ? "" : `, \u2026${wallet.numberHint}`}` + notes(wallet.closed ? "closed" : null), "walletLine");
|
|
305
305
|
var transactionLine = /* @__PURE__ */ __name((transaction) => `${moneyLabel(transaction.amount, transaction.currency)} ${transaction.direction}${transaction.label === null ? "" : ` \xB7 ${transaction.label}`}, ${dayMonth(transaction.date)}` + notes(transaction.status === "pending" ? "pending" : null, pending(transaction.review)), "transactionLine");
|
|
306
306
|
|
|
307
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
307
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/locator.js
|
|
308
308
|
var SCHEME = "msg:";
|
|
309
309
|
var formatLocator = /* @__PURE__ */ __name(({ provider, account, chat, message }) => SCHEME + [provider, account, chat, message].map(encodeURIComponent).join("/"), "formatLocator");
|
|
310
310
|
var isLocator = /* @__PURE__ */ __name((reference) => reference.trim().startsWith(SCHEME), "isLocator");
|
|
@@ -325,7 +325,7 @@ var parseLocator = /* @__PURE__ */ __name((reference) => {
|
|
|
325
325
|
return { provider, account, chat, message };
|
|
326
326
|
}, "parseLocator");
|
|
327
327
|
|
|
328
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
328
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/references.js
|
|
329
329
|
var SIMPLE_REFERENCES = [
|
|
330
330
|
"note",
|
|
331
331
|
"document",
|
|
@@ -488,7 +488,7 @@ var looksLikeReference = /* @__PURE__ */ __name((text) => {
|
|
|
488
488
|
return match !== null && byPrefix.has(match[1]);
|
|
489
489
|
}, "looksLikeReference");
|
|
490
490
|
|
|
491
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
491
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/providers.js
|
|
492
492
|
var KINDS = ["messages", "mail", "notes", "documents", "meetings", "events", "crm"];
|
|
493
493
|
var MESSENGER_OPENS = { chat: "messages list", message: "messages show", contact: "contacts show" };
|
|
494
494
|
var CRM_OPENS = { deal: "deals show", lead: "leads show", pipeline: "pipelines show" };
|
|
@@ -2,42 +2,43 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
validateVector
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-QRKSASGP.js";
|
|
6
6
|
import {
|
|
7
7
|
meaningFloor
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-W656MRJD.js";
|
|
9
9
|
import {
|
|
10
10
|
RRF_K,
|
|
11
11
|
plainQuery
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-U7QXC75C.js";
|
|
13
13
|
import {
|
|
14
14
|
MESSAGE_PARSING
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-I75KOOUD.js";
|
|
16
16
|
import {
|
|
17
17
|
normalize
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-HZRQLAHO.js";
|
|
19
19
|
import {
|
|
20
20
|
MEETING_FIELD_NAMES,
|
|
21
21
|
formatMeetingReference,
|
|
22
22
|
liftMeetingFields,
|
|
23
|
-
parseMeetingReference
|
|
24
|
-
|
|
23
|
+
parseMeetingReference,
|
|
24
|
+
refreshMeetingIndex
|
|
25
|
+
} from "./chunk-RJ5JAYNZ.js";
|
|
25
26
|
import {
|
|
26
27
|
implicitTextTerms,
|
|
27
28
|
parseLucene,
|
|
28
29
|
walkQuery
|
|
29
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-Z3CPZ4I4.js";
|
|
30
31
|
import {
|
|
31
32
|
CliError
|
|
32
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-ST3ZB7LS.js";
|
|
33
34
|
import {
|
|
34
35
|
__name
|
|
35
36
|
} from "./chunk-ZVVMGPBJ.js";
|
|
36
37
|
|
|
37
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
38
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/services/meeting-combined.js
|
|
38
39
|
import { createHash } from "node:crypto";
|
|
39
40
|
|
|
40
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
41
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/search/question-plan.js
|
|
41
42
|
var words = /* @__PURE__ */ __name((text) => normalize(text).match(/[\p{L}\p{N}]+/gu) ?? [], "words");
|
|
42
43
|
var joinedHyphens = /* @__PURE__ */ __name((text) => (normalize(text).match(new RegExp("(?<![:\\p{L}\\p{N}-])\\p{L}[\\p{L}\\p{N}]*(?:-\\p{L}[\\p{L}\\p{N}]*)+", "gu")) ?? []).map((word) => word.replaceAll("-", "")), "joinedHyphens");
|
|
43
44
|
var scaffolding = new Set(words("what which how many much who where when is are was were do does did can could should we the a an for of to under from in on at has have \u0441\u043A\u043E\u043B\u044C\u043A\u043E \u043A\u0430\u043A\u043E\u0439 \u043A\u0430\u043A\u0430\u044F \u043A\u0430\u043A\u0438\u0435 \u043A\u0430\u043A\u043E\u0435 \u043A\u0442\u043E \u043A\u043E\u043C\u0443 \u043A\u0435\u043C \u0433\u0434\u0435 \u043A\u043E\u0433\u0434\u0430 \u043A\u0430\u043A \u0447\u0442\u043E \u0432\u043E \u043F\u043E \u043D\u0430 \u0432 \u043A \u0441 \u0443 \u0447\u0435\u0440\u0435\u0437 \u043B\u0438 \u0434\u043E\u043B\u0436\u0435\u043D \u0434\u043E\u043B\u0436\u043D\u0430 \u043D\u0443\u0436\u043D\u043E \u0438\u0434\u0451\u0442 \u0438\u0434\u0435\u0442 \u043C\u043E\u0436\u043D\u043E \u043C\u043E\u0436\u0435\u0442 \u043C\u043E\u0433\u0443\u0442"));
|
|
@@ -174,22 +175,7 @@ var questionLookup = /* @__PURE__ */ __name((text) => {
|
|
|
174
175
|
return terms.length ? anyOfTerms(terms, plan.scope) : void 0;
|
|
175
176
|
}, "questionLookup");
|
|
176
177
|
|
|
177
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
178
|
-
var refreshMeetingIndex = /* @__PURE__ */ __name(async (meetings, accountId, signal) => {
|
|
179
|
-
let before = Number.POSITIVE_INFINITY;
|
|
180
|
-
for (; ; ) {
|
|
181
|
-
signal?.throwIfAborted();
|
|
182
|
-
const { indexed, remaining } = await meetings.indexSearch({
|
|
183
|
-
accountId,
|
|
184
|
-
limit: 1e3,
|
|
185
|
-
maxReadBytes: 64 * 1024 ** 2,
|
|
186
|
-
signal
|
|
187
|
-
});
|
|
188
|
-
if (remaining === 0 || indexed === 0 || remaining >= before)
|
|
189
|
-
return;
|
|
190
|
-
before = remaining;
|
|
191
|
-
}
|
|
192
|
-
}, "refreshMeetingIndex");
|
|
178
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/services/meeting-hit-search.js
|
|
193
179
|
var resolveMeetingSelection = /* @__PURE__ */ __name(async (store, request) => {
|
|
194
180
|
const { project, tag, topic, ...input } = request;
|
|
195
181
|
input.signal?.throwIfAborted();
|
|
@@ -236,7 +222,7 @@ var searchMeetingHits = /* @__PURE__ */ __name(async (store, query, request, opt
|
|
|
236
222
|
return { ...result, selection };
|
|
237
223
|
}, "searchMeetingHits");
|
|
238
224
|
|
|
239
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
225
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/services/meeting-combined.js
|
|
240
226
|
var DEPTH = 200;
|
|
241
227
|
var cursorOf = /* @__PURE__ */ __name((value, key) => {
|
|
242
228
|
if (value === void 0)
|
|
@@ -382,7 +368,6 @@ export {
|
|
|
382
368
|
lookupTerms,
|
|
383
369
|
anyOfTerms,
|
|
384
370
|
questionLookup,
|
|
385
|
-
refreshMeetingIndex,
|
|
386
371
|
resolveMeetingSelection,
|
|
387
372
|
searchMeetingHits,
|
|
388
373
|
searchMeetingsCombined
|