@wirecat/zoom-cli 0.77.0 → 0.78.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-7JN3N3E6.js} +11 -11
- package/dist/bundle/answer-policy-G2BNMPEX.js +122 -0
- package/dist/bundle/{anthropic-TGJOKLUS.js → anthropic-U6O7UYGZ.js} +6 -6
- package/dist/bundle/{app-server-OAODUFM3.js → app-server-G7BTC6CE.js} +72 -72
- package/dist/bundle/{bun-HJHVHJJV.js → bun-VLROVUFK.js} +2 -2
- package/dist/bundle/{bun-sqlite-PLBOY6FP.js → bun-sqlite-C5JLANDE.js} +7 -7
- package/dist/bundle/{chunk-LWMDLXEO.js → chunk-2AWWMROP.js} +3252 -3057
- package/dist/bundle/{chunk-QKNO3JTG.js → chunk-2LMD3JUD.js} +2 -2
- package/dist/bundle/{chunk-5A5W322G.js → chunk-2O66KMOR.js} +2 -2
- package/dist/bundle/{chunk-MMAZUJBO.js → chunk-2USGT7LE.js} +1 -1
- package/dist/bundle/{chunk-FRC5QIPQ.js → chunk-3A3B3JX4.js} +8 -8
- package/dist/bundle/{chunk-SVJQRG5N.js → chunk-3NZJKY7A.js} +103 -42
- package/dist/bundle/{chunk-7ILGYNWX.js → chunk-3QWYRZME.js} +8 -8
- package/dist/bundle/{chunk-36SI35XZ.js → chunk-4QCLPSJ7.js} +5 -5
- package/dist/bundle/{chunk-6YCFDDRO.js → chunk-4XPVRZXE.js} +1 -1
- package/dist/bundle/{chunk-Q7ZW7XAX.js → chunk-532FNLON.js} +20 -20
- package/dist/bundle/{chunk-NOF6LABG.js → chunk-53TV72JG.js} +2 -2
- package/dist/bundle/{chunk-ZUMKZOHR.js → chunk-5DLK4OXF.js} +3 -3
- package/dist/bundle/{chunk-5C6CRSEM.js → chunk-5SM2IOAS.js} +12 -12
- package/dist/bundle/{chunk-YFN5A7OP.js → chunk-6MFEWAK4.js} +4 -4
- package/dist/bundle/{chunk-OXXJW3A5.js → chunk-6NTNAEZF.js} +2014 -1032
- package/dist/bundle/{chunk-RQS3W4P6.js → chunk-7AMKSXMB.js} +6 -6
- package/dist/bundle/{chunk-7CMYNW3W.js → chunk-7EVB4UV7.js} +4 -4
- package/dist/bundle/{chunk-MIG4RLDB.js → chunk-7HEZQCHL.js} +6 -6
- package/dist/bundle/{chunk-QUGESVOE.js → chunk-7IIQU5RA.js} +13 -13
- package/dist/bundle/{chunk-A6LK2W5J.js → chunk-7K5O2VWO.js} +1 -1
- package/dist/bundle/{chunk-5KHCFIWI.js → chunk-AEVSVVTP.js} +2 -2
- package/dist/bundle/{chunk-7SNU7RFU.js → chunk-B4V4DRVO.js} +12 -12
- package/dist/bundle/{chunk-W7UCN7MF.js → chunk-B6TUEQ4O.js} +3 -3
- package/dist/bundle/{chunk-DCEQIKFD.js → chunk-BAHXR4PA.js} +6 -6
- package/dist/bundle/{chunk-XCA5N63N.js → chunk-BGO7IEHY.js} +6 -6
- package/dist/bundle/{chunk-I3QMPQYD.js → chunk-BIUHLXL2.js} +38 -39
- package/dist/bundle/{chunk-ECRFXQHA.js → chunk-C26V2XNV.js} +1 -1
- package/dist/bundle/{chunk-5C5UEKUJ.js → chunk-C56OYYFG.js} +3 -3
- package/dist/bundle/{chunk-KHBSQROH.js → chunk-DLJPN47R.js} +8 -6
- package/dist/bundle/{chunk-ZRNNMBPC.js → chunk-EV7QCFQR.js} +19 -19
- package/dist/bundle/{chunk-IUOKIZZN.js → chunk-F2KZNAFF.js} +2 -2
- package/dist/bundle/{chunk-GHBDYYPO.js → chunk-F7IDYQLM.js} +2 -2
- package/dist/bundle/{chunk-QE4L2QQZ.js → chunk-FCGRXUAU.js} +9 -9
- package/dist/bundle/{chunk-T6RSYDFA.js → chunk-FHOQWPQ6.js} +119 -67
- package/dist/bundle/{chunk-CUJJZJ4R.js → chunk-FMMCGQNT.js} +36 -5
- package/dist/bundle/{chunk-4QNW4NK6.js → chunk-FNLXFQN6.js} +1 -1
- package/dist/bundle/{chunk-SP5OMHOO.js → chunk-FURKMNC2.js} +3 -3
- package/dist/bundle/{chunk-VJ2TLU7R.js → chunk-FXHZHQKU.js} +6 -6
- package/dist/bundle/{chunk-NKKVVPL5.js → chunk-GQ6EJDMV.js} +1 -1
- package/dist/bundle/{chunk-MTH3JJHF.js → chunk-H34KEXTN.js} +10 -10
- package/dist/bundle/{chunk-JFVZVPRW.js → chunk-H74NENWA.js} +3 -3
- package/dist/bundle/{chunk-6JRBMNRN.js → chunk-H7SRM26V.js} +3 -3
- package/dist/bundle/{chunk-77JQIY2V.js → chunk-HGBZBQAE.js} +3 -3
- package/dist/bundle/{chunk-NJJEUG4C.js → chunk-HI4QICF7.js} +12 -12
- package/dist/bundle/{chunk-635GRAO5.js → chunk-HOJOVUO6.js} +14 -13
- package/dist/bundle/{chunk-ICZVSVTW.js → chunk-HUSIS3XO.js} +59 -59
- package/dist/bundle/{chunk-STNZQBY4.js → chunk-IBINGDYF.js} +6 -6
- package/dist/bundle/{chunk-DDUNPLET.js → chunk-INJK7FNM.js} +240 -168
- package/dist/bundle/{chunk-MCLZ74II.js → chunk-JOIAE3NO.js} +7 -7
- package/dist/bundle/{chunk-3TLQF3DN.js → chunk-KBTINKQF.js} +3 -3
- package/dist/bundle/{chunk-YJIGGUPI.js → chunk-KEAKNNXU.js} +4 -4
- package/dist/bundle/{chunk-SFPUSEOT.js → chunk-LBTANUUH.js} +2 -2
- package/dist/bundle/{chunk-7DTU7QZP.js → chunk-LBV4673S.js} +3 -3
- package/dist/bundle/{chunk-PM3MB3E7.js → chunk-LERF2FIK.js} +3 -3
- package/dist/bundle/{chunk-FDQE2CLT.js → chunk-LX532BXO.js} +1 -1
- package/dist/bundle/{chunk-WD5OL5JB.js → chunk-M2M3U4UU.js} +12 -12
- package/dist/bundle/{chunk-B7XFDMFV.js → chunk-M5R2DURM.js} +10 -10
- package/dist/bundle/{chunk-VGERRRDC.js → chunk-MJMHUU3J.js} +1 -1
- package/dist/bundle/{chunk-BOJCRTQW.js → chunk-MSMFYW6N.js} +2 -2
- package/dist/bundle/{chunk-LUAS73NT.js → chunk-MVLLWSV7.js} +20 -118
- package/dist/bundle/{chunk-YVI5SQPY.js → chunk-NO2LIHWA.js} +1 -1
- package/dist/bundle/{chunk-7S3N5CTA.js → chunk-NS5XSCHC.js} +1 -1
- package/dist/bundle/{chunk-TY4FFK2P.js → chunk-OAE6XR7E.js} +9 -60
- package/dist/bundle/{chunk-QAGECFHL.js → chunk-OAYAGQ7C.js} +21 -21
- package/dist/bundle/{chunk-CL6QAZGT.js → chunk-OI4563JI.js} +13 -13
- package/dist/bundle/{chunk-E3UPMPUV.js → chunk-OOLNK3Y5.js} +8 -8
- package/dist/bundle/{chunk-PO4RZ4XZ.js → chunk-ORSTSBWU.js} +1 -1
- package/dist/bundle/{chunk-T4CI3YXW.js → chunk-P5QO7Y3H.js} +6 -6
- package/dist/bundle/{chunk-FS5HPXQN.js → chunk-PJMQE4PW.js} +29 -9
- package/dist/bundle/{chunk-NPDPD2H3.js → chunk-Q4AKIAIA.js} +12 -12
- package/dist/bundle/{chunk-7AFYZOHU.js → chunk-Q4CNLEAY.js} +26 -26
- package/dist/bundle/{chunk-ADJIYY33.js → chunk-RJIJR6KH.js} +1 -1
- package/dist/bundle/{chunk-LYVHQ6DJ.js → chunk-TEFHNXXX.js} +14 -14
- package/dist/bundle/{chunk-IZMRQ3MV.js → chunk-TFDD4Q5Z.js} +10 -10
- package/dist/bundle/{chunk-CJL5GHTQ.js → chunk-TXDCIM5D.js} +2493 -1444
- package/dist/bundle/{chunk-2QRGJSKO.js → chunk-U2Z35B3W.js} +2 -2
- package/dist/bundle/{chunk-IS6MUPN2.js → chunk-UHBQM54J.js} +4 -4
- package/dist/bundle/{chunk-DYIRJINE.js → chunk-UIBKGH5P.js} +1 -1
- package/dist/bundle/{chunk-NPIVV52M.js → chunk-UKYO3HNO.js} +1 -1
- package/dist/bundle/{chunk-JMU3E2WA.js → chunk-V53TIJLY.js} +2 -2
- package/dist/bundle/{chunk-H2EVYY5Z.js → chunk-VMA7SILL.js} +1 -1
- package/dist/bundle/chunk-VW36ZSAE.js +88 -0
- package/dist/bundle/{chunk-XVHDT4CO.js → chunk-WEAMGNST.js} +3 -3
- package/dist/bundle/{chunk-KYKW2W6X.js → chunk-WJTXO2EI.js} +1 -1
- package/dist/bundle/{chunk-375BH5OD.js → chunk-WOYPWXZK.js} +4 -4
- package/dist/bundle/{chunk-CZ6OO66B.js → chunk-XCOGI4JE.js} +4 -4
- package/dist/bundle/{chunk-XC3MWABM.js → chunk-XOG7B7K5.js} +4 -4
- package/dist/bundle/{chunk-UGRGYLEI.js → chunk-XSF5OBVZ.js} +8 -8
- package/dist/bundle/{chunk-SY5NGYKA.js → chunk-XXD4YPHQ.js} +12 -12
- package/dist/bundle/{chunk-ZZ32DXTH.js → chunk-YAPDU3SV.js} +1 -1
- package/dist/bundle/{chunk-IJTBB23F.js → chunk-YHQ3TEGB.js} +27 -27
- package/dist/bundle/{chunk-F4ROWGLU.js → chunk-YLNUKNGD.js} +63 -33
- package/dist/bundle/{chunk-JQUYHPQD.js → chunk-YNYQGZUW.js} +7 -7
- package/dist/bundle/{chunk-2QDD6S2R.js → chunk-YZKVCTZI.js} +8 -8
- package/dist/bundle/{chunk-OOIU36FA.js → chunk-ZCVO6GAT.js} +1 -1
- package/dist/bundle/{chunk-4Z4VOQRR.js → chunk-ZDZASHSQ.js} +17 -17
- package/dist/bundle/{chunk-LMZUC4CS.js → chunk-ZZJ5IWNT.js} +4 -4
- package/dist/bundle/{cli-Y27PHKBV.js → cli-YALONJ4V.js} +111 -77
- package/dist/bundle/command-contract-DMR5EOIN.js +45 -0
- package/dist/bundle/{command-server-entry-AXQSW2X6.js → command-server-entry-W4XTBUZE.js} +35 -35
- package/dist/bundle/config-4TLDRXRL.js +109 -0
- package/dist/bundle/{decode-ZRNOOTUZ.js → decode-IFQHVCFX.js} +6 -6
- package/dist/bundle/{dispatch-2GHGPAYH.js → dispatch-GOJB4TDK.js} +9 -9
- package/dist/bundle/{dist-MUFVAMKB.js → dist-H7XFUMRX.js} +21 -21
- package/dist/bundle/{echarts-F4PHDYET.js → echarts-HPUHPJCO.js} +2 -2
- package/dist/bundle/{embed-KWHCKPCV.js → embed-ESU3WZYW.js} +7 -7
- package/dist/bundle/{embedder-U3R3RY54.js → embedder-BV6O76B3.js} +10 -10
- package/dist/bundle/{failure-S2YXEN4A.js → failure-SWVCYFQX.js} +3 -3
- package/dist/bundle/first-run-OEJGAQAE.js +29 -0
- package/dist/bundle/first-screen-QLM4IABL.js +45 -0
- package/dist/bundle/{folders-DVTRFQKW.js → folders-VQGKBM3P.js} +5 -5
- package/dist/bundle/{instructions-JU4YW6QY.js → instructions-UUX57I3V.js} +1 -1
- package/dist/bundle/{main-5UCRPACH.js → main-UIKADOFB.js} +24 -24
- package/dist/bundle/{mcp-O6ACR2DX.js → mcp-VMS6PBCU.js} +2 -2
- package/dist/bundle/meeting-combined-SKJISCC7.js +26 -0
- package/dist/bundle/meeting-model-YG3Z5KCB.js +26 -0
- package/dist/bundle/{meeting-semantic-5DKRGZFS.js → meeting-semantic-F6GUICB7.js} +8 -8
- package/dist/bundle/{meetings-T2UY35DV.js → meetings-KIBUPLPW.js} +19 -7
- package/dist/bundle/{node-MAVRAF4M.js → node-AM3JCAWB.js} +2 -2
- package/dist/bundle/{node-sqlite-TFBQ5NDI.js → node-sqlite-VM6VS3RU.js} +8 -8
- package/dist/bundle/{oauth-7IG5HWSY.js → oauth-AX5Z32H6.js} +8 -8
- package/dist/bundle/{open-3R3N7L3X.js → open-SSGOOOZG.js} +6 -6
- package/dist/bundle/openai-YIP73X2B.js +28 -0
- package/dist/bundle/{output-file-KKHHAYWF.js → output-file-FR226A64.js} +6 -6
- package/dist/bundle/{process-OIO254NR.js → process-5ZEK2VFY.js} +1 -1
- package/dist/bundle/{program-IBYRU76H.js → program-ROJAJHCB.js} +93 -92
- package/dist/bundle/{prompt-LNEOO7PN.js → prompt-6Y7A4453.js} +6 -6
- package/dist/bundle/{recognize-2WYLT3PC.js → recognize-R5W25WKH.js} +5 -5
- package/dist/bundle/{remote-7EAJEIV7.js → remote-PA4FQUZK.js} +11 -11
- package/dist/bundle/{rerank-DZBZ744F.js → rerank-CYX3UFTM.js} +8 -8
- package/dist/bundle/run-log-FHERL3H6.js +136 -0
- package/dist/bundle/{serve-T3KQV5SS.js → serve-MM5QEZJW.js} +10 -10
- package/dist/bundle/{server-2QQAQZ2J.js → server-JQQAH7E5.js} +64 -64
- package/dist/bundle/server-W2BBONCQ.js +85 -0
- package/dist/bundle/{services-DETAKMC3.js → services-Y2DOQONM.js} +58 -51
- package/dist/bundle/{speech-HD57JNTK.js → speech-O6WLX34V.js} +25 -25
- package/dist/bundle/{sqlite-runtime-OCETZSEZ.js → sqlite-runtime-LQTBZMFH.js} +7 -7
- package/dist/bundle/{state-ZKVQ4DBI.js → state-AIDPZLVH.js} +7 -7
- package/dist/bundle/{store-7IZ2WMHF.js → store-BA4FQS5V.js} +26 -24
- package/dist/bundle/{store-GEAQ7V5R.js → store-UNDS2TBG.js} +30 -26
- package/dist/bundle/store-connection-ADBJ36T4.js +102 -0
- package/dist/bundle/store-maintenance-command-IB6ML4UI.js +77 -0
- package/dist/bundle/{streaming-CLBAO3MG.js → streaming-UFHT5MR2.js} +7 -7
- package/dist/bundle/{tokens-WH73ZWFI.js → tokens-Z32UKGQB.js} +10 -10
- package/dist/bundle/zm.js +9 -9
- package/dist/bundle/{zoom-app-ZDTYMJET.js → zoom-app-6U46XBTG.js} +8 -8
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +5 -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/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
- /package/dist/bundle/{chunk-VKE77B3F.js → chunk-SHTHNBHG.js} +0 -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
|
checkCancelled
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-U2Z35B3W.js";
|
|
6
6
|
import {
|
|
7
7
|
BASE_CONSTANTS,
|
|
8
8
|
baseConstantsSchema,
|
|
9
9
|
loadConstants
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-OAYAGQ7C.js";
|
|
11
11
|
import {
|
|
12
12
|
nonEmpty,
|
|
13
13
|
object,
|
|
@@ -15,15 +15,15 @@ import {
|
|
|
15
15
|
pipe,
|
|
16
16
|
string,
|
|
17
17
|
transform
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-PJMQE4PW.js";
|
|
19
19
|
import {
|
|
20
20
|
CliError
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-FNLXFQN6.js";
|
|
22
22
|
import {
|
|
23
23
|
__name
|
|
24
24
|
} from "./chunk-ZVVMGPBJ.js";
|
|
25
25
|
|
|
26
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/constants/obscure.js
|
|
27
27
|
import { createDecipheriv } from "node:crypto";
|
|
28
28
|
var KEY = Buffer.from("d43012779aa2dded3e98092a3dbcf5d8980c564172f5ce0a5fd0574e5f740339", "hex");
|
|
29
29
|
var reveal = /* @__PURE__ */ __name((obscured) => {
|
|
@@ -32,7 +32,7 @@ var reveal = /* @__PURE__ */ __name((obscured) => {
|
|
|
32
32
|
return Buffer.concat([decipher.update(bytes.subarray(16)), decipher.final()]).toString("utf8");
|
|
33
33
|
}, "reveal");
|
|
34
34
|
|
|
35
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
35
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/constants/index.js
|
|
36
36
|
var CORE_CONSTANTS = new URL("../../constants.json", new URL("constants/index.js", import.meta.resolve("@wirecat/cli-core")).href);
|
|
37
37
|
var constantsSchema = object({
|
|
38
38
|
...baseConstantsSchema.entries,
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
readLock,
|
|
6
6
|
releaseLock,
|
|
7
7
|
takeLock
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-B6TUEQ4O.js";
|
|
9
9
|
import {
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
|
|
14
14
|
import { existsSync as existsSync2, readFileSync as readFileSync2 } from "node:fs";
|
|
15
15
|
|
|
16
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/mcp/http/activity.js
|
|
17
17
|
import { randomBytes } from "node:crypto";
|
|
18
18
|
import { chmodSync, existsSync, mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
19
19
|
import { dirname } from "node:path";
|
|
@@ -86,7 +86,7 @@ var activityRecorder = /* @__PURE__ */ __name((path, now = Date.now) => {
|
|
|
86
86
|
};
|
|
87
87
|
}, "activityRecorder");
|
|
88
88
|
|
|
89
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
89
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
|
|
90
90
|
var ACCESS_SECONDS = 60 * 60;
|
|
91
91
|
var REFRESH_SECONDS = 30 * 24 * 60 * 60;
|
|
92
92
|
var readStored = /* @__PURE__ */ __name((path) => existsSync2(path) ? JSON.parse(readFileSync2(path, "utf8")) : { clients: [], tokens: [] }, "readStored");
|
|
@@ -5,18 +5,18 @@ import {
|
|
|
5
5
|
resolvePaths,
|
|
6
6
|
traceIdOf,
|
|
7
7
|
writeSecurely
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-OAYAGQ7C.js";
|
|
9
9
|
import {
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
14
14
|
import { randomUUID } from "node:crypto";
|
|
15
15
|
import { appendFileSync, mkdirSync, readdirSync, readFileSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
16
16
|
import { userInfo } from "node:os";
|
|
17
17
|
import { join, sep } from "node:path";
|
|
18
18
|
|
|
19
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
|
|
20
20
|
var snake = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
|
|
21
21
|
var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
|
|
22
22
|
var renamed = /* @__PURE__ */ __name((record, name) => Object.fromEntries(Object.entries(record).map(([key, value]) => [name(key), value])), "renamed");
|
|
@@ -29,7 +29,7 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
|
|
|
29
29
|
error: /* @__PURE__ */ __name((event, message) => logger.error(logAttributes(event), message), "error")
|
|
30
30
|
}), "snakeLogger");
|
|
31
31
|
|
|
32
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
32
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
|
|
33
33
|
var diagnostic = {
|
|
34
34
|
event: true,
|
|
35
35
|
operation: true,
|
|
@@ -103,7 +103,7 @@ var LOG_ATTRIBUTES = [
|
|
|
103
103
|
...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
|
|
104
104
|
].sort();
|
|
105
105
|
|
|
106
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
106
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
107
107
|
var KEEP_RUNS_FOR_DAYS = 30;
|
|
108
108
|
var KEEP_SUCCESSFUL_RUNS_FOR_DAYS = 7;
|
|
109
109
|
var KEEP_STORE_RUNS_FOR_DAYS = 3;
|
|
@@ -470,7 +470,7 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
|
|
|
470
470
|
};
|
|
471
471
|
}, "metadataOf");
|
|
472
472
|
|
|
473
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
473
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/runs/scope.js
|
|
474
474
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
475
475
|
import { randomBytes } from "node:crypto";
|
|
476
476
|
var scopes = new AsyncLocalStorage();
|
|
@@ -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-FHOQWPQ6.js";
|
|
7
7
|
import {
|
|
8
8
|
CliError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FNLXFQN6.js";
|
|
10
10
|
import {
|
|
11
11
|
singleLine
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-WJTXO2EI.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.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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" };
|
|
@@ -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.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/store/normalize.js
|
|
8
8
|
var NORMALIZER_VERSION = 1;
|
|
9
9
|
var fold = /* @__PURE__ */ __name((text) => text.normalize("NFKD").replace(new RegExp("\\p{M}+", "gu"), "").normalize("NFC").toLowerCase(), "fold");
|
|
10
10
|
var normalize = /* @__PURE__ */ __name((text) => fold(text).replace(new RegExp("\\p{Cc}", "gu"), " ").replace(/\s+/gu, " ").trim(), "normalize");
|
|
@@ -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-FNLXFQN6.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.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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 ?? {};
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
withTimeLimit
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-4XPVRZXE.js";
|
|
6
6
|
import {
|
|
7
7
|
EmptyAnswer,
|
|
8
8
|
checkedOptions,
|
|
@@ -10,25 +10,25 @@ import {
|
|
|
10
10
|
range,
|
|
11
11
|
systemFor,
|
|
12
12
|
validateImages
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-6MFEWAK4.js";
|
|
14
14
|
import {
|
|
15
15
|
refuseOffComputer
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-FCGRXUAU.js";
|
|
17
17
|
import {
|
|
18
18
|
envName
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-F7IDYQLM.js";
|
|
20
20
|
import {
|
|
21
21
|
PLAIN_HTTP_REFUSED,
|
|
22
22
|
endpoint,
|
|
23
23
|
endpointFetch,
|
|
24
24
|
modelAddressAllowed,
|
|
25
25
|
onThisComputer
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-FURKMNC2.js";
|
|
27
27
|
import {
|
|
28
28
|
Credentials,
|
|
29
29
|
pathsAreOverridden,
|
|
30
30
|
resolvePaths
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-OAYAGQ7C.js";
|
|
32
32
|
import {
|
|
33
33
|
array,
|
|
34
34
|
integer,
|
|
@@ -39,15 +39,15 @@ import {
|
|
|
39
39
|
strictObject,
|
|
40
40
|
string,
|
|
41
41
|
union
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-PJMQE4PW.js";
|
|
43
43
|
import {
|
|
44
44
|
CliError
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-FNLXFQN6.js";
|
|
46
46
|
import {
|
|
47
47
|
__name
|
|
48
48
|
} from "./chunk-ZVVMGPBJ.js";
|
|
49
49
|
|
|
50
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
50
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/models/openai.js
|
|
51
51
|
var options = strictObject({
|
|
52
52
|
temperature: range(0, 2),
|
|
53
53
|
top_p: range(0, 1),
|
|
@@ -114,7 +114,7 @@ var openai = {
|
|
|
114
114
|
}), "complete")
|
|
115
115
|
};
|
|
116
116
|
|
|
117
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
117
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/models/index.js
|
|
118
118
|
var modelGateway = /* @__PURE__ */ __name((deps) => ({
|
|
119
119
|
complete: /* @__PURE__ */ __name(async (request) => {
|
|
120
120
|
if (deps.signal?.aborted)
|
|
@@ -129,7 +129,7 @@ var modelGateway = /* @__PURE__ */ __name((deps) => ({
|
|
|
129
129
|
if (!adapter && target.provider === "openai")
|
|
130
130
|
adapter = openai;
|
|
131
131
|
if (!adapter && target.provider === "anthropic")
|
|
132
|
-
adapter = (await import("./anthropic-
|
|
132
|
+
adapter = (await import("./anthropic-U6O7UYGZ.js")).anthropic;
|
|
133
133
|
if (!adapter)
|
|
134
134
|
throw new CliError("validation_error", `no model adapter for ${target.provider}`);
|
|
135
135
|
if (request.images !== void 0 && adapter.images !== true)
|
|
@@ -189,7 +189,7 @@ var modelGateway = /* @__PURE__ */ __name((deps) => ({
|
|
|
189
189
|
}, "complete")
|
|
190
190
|
}), "modelGateway");
|
|
191
191
|
|
|
192
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
192
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/embeddings/keys.js
|
|
193
193
|
var endpointKeyName = /* @__PURE__ */ __name((baseUrl) => {
|
|
194
194
|
const host = new URL(baseUrl).host;
|
|
195
195
|
return ["openai", "anthropic"].includes(host) ? `endpoint:${host}` : host;
|
|
@@ -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-ZCVO6GAT.js";
|
|
6
6
|
import {
|
|
7
7
|
resolvePaths,
|
|
8
8
|
writeSecurely
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-OAYAGQ7C.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.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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");
|
|
@@ -5,27 +5,27 @@ import {
|
|
|
5
5
|
openRemote,
|
|
6
6
|
remoteKey,
|
|
7
7
|
remoteModel
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FCGRXUAU.js";
|
|
9
9
|
import {
|
|
10
10
|
isTextModelInstalled,
|
|
11
11
|
openEmbedder,
|
|
12
12
|
textModelsDirectory
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-P5QO7Y3H.js";
|
|
14
14
|
import {
|
|
15
15
|
textModel,
|
|
16
16
|
vectorModelKey
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-IBINGDYF.js";
|
|
18
18
|
import {
|
|
19
19
|
endpointFetch
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-FURKMNC2.js";
|
|
21
21
|
import {
|
|
22
22
|
CliError
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-FNLXFQN6.js";
|
|
24
24
|
import {
|
|
25
25
|
__name
|
|
26
26
|
} from "./chunk-ZVVMGPBJ.js";
|
|
27
27
|
|
|
28
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
28
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/services/meeting-model.js
|
|
29
29
|
var integer = /* @__PURE__ */ __name((value, name, max) => {
|
|
30
30
|
if (!Number.isSafeInteger(value) || value < 1 || value > max)
|
|
31
31
|
throw new CliError("validation_error", `Invalid ${name}`);
|
|
@@ -5,16 +5,16 @@ import {
|
|
|
5
5
|
backoffMs,
|
|
6
6
|
realSleep,
|
|
7
7
|
wallClock
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-OAYAGQ7C.js";
|
|
9
9
|
import {
|
|
10
10
|
CliError,
|
|
11
11
|
isCliError
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-FNLXFQN6.js";
|
|
13
13
|
import {
|
|
14
14
|
__name
|
|
15
15
|
} from "./chunk-ZVVMGPBJ.js";
|
|
16
16
|
|
|
17
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
17
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/http/hosts.js
|
|
18
18
|
var LABEL = "[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?";
|
|
19
19
|
var HOST_PATTERN = new RegExp(`^(?:${LABEL}(?:\\.${LABEL})*|\\*\\.${LABEL}(?:\\.${LABEL})+)$`);
|
|
20
20
|
var hostProblems = /* @__PURE__ */ __name((hosts) => [
|
|
@@ -26,7 +26,7 @@ var hostCovered = /* @__PURE__ */ __name((hostname, hosts) => {
|
|
|
26
26
|
return hosts.some((host) => host.startsWith("*.") ? name.endsWith(host.slice(1)) : name === host);
|
|
27
27
|
}, "hostCovered");
|
|
28
28
|
|
|
29
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
29
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/http/fetch.js
|
|
30
30
|
var HOST_FETCH_TIMEOUT_MS = 3e4;
|
|
31
31
|
var REDIRECTS = 5;
|
|
32
32
|
var REDIRECT_STATUSES = /* @__PURE__ */ new Set([301, 302, 303, 307, 308]);
|
|
@@ -114,7 +114,7 @@ var hostFetch = /* @__PURE__ */ __name((options) => {
|
|
|
114
114
|
};
|
|
115
115
|
}, "hostFetch");
|
|
116
116
|
|
|
117
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
117
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/http/body.js
|
|
118
118
|
var interrupted = /* @__PURE__ */ __name((signal) => isCliError(signal.reason) ? signal.reason : new CliError(signal.reason instanceof Error && signal.reason.name === "TimeoutError" ? "timeout" : "cancelled", "HTTP response read was interrupted"), "interrupted");
|
|
119
119
|
var checked2 = /* @__PURE__ */ __name((signal) => {
|
|
120
120
|
if (signal?.aborted)
|
|
@@ -199,7 +199,7 @@ var readJsonResponse = /* @__PURE__ */ __name(async (response, options) => {
|
|
|
199
199
|
}
|
|
200
200
|
}, "readJsonResponse");
|
|
201
201
|
|
|
202
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
202
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/http/index.js
|
|
203
203
|
var parseRetryAfter = /* @__PURE__ */ __name((header, now) => {
|
|
204
204
|
if (!header)
|
|
205
205
|
return void 0;
|