@wirecat/zoom-cli 0.61.0 → 0.63.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-HZLIU6RZ.js → all-profiles-CGGNBINU.js} +8 -8
- package/dist/bundle/answer-policy-V2KDPLDO.js +96 -0
- package/dist/bundle/{anthropic-O2YYPCVK.js → anthropic-KVWPIHFG.js} +4 -4
- package/dist/bundle/{app-server-YYCANTUE.js → app-server-NKKFBTQN.js} +50 -50
- package/dist/bundle/{bun-UEFRULAT.js → bun-XRO6XJHQ.js} +2 -2
- package/dist/bundle/{bun-sqlite-VVYKOY7S.js → bun-sqlite-FWNCLOAR.js} +3 -3
- package/dist/bundle/{chunk-IKZFR645.js → chunk-2DPMYUWQ.js} +10 -10
- package/dist/bundle/{chunk-LX6DO44O.js → chunk-2LLNPNMB.js} +1 -1
- package/dist/bundle/{chunk-P2NRA7E5.js → chunk-2NAM2XQG.js} +2 -2
- package/dist/bundle/{chunk-KXYURHVE.js → chunk-2T7MUSDB.js} +95 -95
- package/dist/bundle/{chunk-S726LZCH.js → chunk-3YBDRVOG.js} +6 -6
- package/dist/bundle/{chunk-4XI4PDEH.js → chunk-4OQVRDTG.js} +20 -20
- package/dist/bundle/{chunk-RSXLI5GP.js → chunk-4OTXE6CF.js} +52 -52
- package/dist/bundle/{chunk-UYAKSUT5.js → chunk-5LMQTEU5.js} +5 -5
- package/dist/bundle/{chunk-BNUNZTOU.js → chunk-5MYLM6SU.js} +44 -26
- package/dist/bundle/{chunk-YESOQEOB.js → chunk-5NLFQ644.js} +543 -288
- package/dist/bundle/{chunk-5NRBNGR3.js → chunk-6R3GMSLR.js} +2 -2
- package/dist/bundle/{chunk-MTAVA2LS.js → chunk-6SK5SHCR.js} +2 -2
- package/dist/bundle/{chunk-H5EAHMQN.js → chunk-6SPWQCJF.js} +11 -11
- package/dist/bundle/{chunk-E4T7IJJO.js → chunk-6URISMGR.js} +26 -26
- package/dist/bundle/{chunk-XZ4OVTA5.js → chunk-72S5TXFN.js} +9 -9
- package/dist/bundle/{chunk-F32GKBMF.js → chunk-7AY3ADNV.js} +5 -5
- package/dist/bundle/{chunk-COU66X3X.js → chunk-7CNRZSAV.js} +4 -4
- package/dist/bundle/{chunk-77GJITSU.js → chunk-7LQLJ7LW.js} +2 -2
- package/dist/bundle/{chunk-KGZHRJ7H.js → chunk-AMIIU3UZ.js} +4 -4
- package/dist/bundle/{chunk-HTGBUE2U.js → chunk-BJPFWPKH.js} +2 -2
- package/dist/bundle/{chunk-2M2U43IF.js → chunk-BNTAQADF.js} +2 -2
- package/dist/bundle/{chunk-PCUPOGKR.js → chunk-BPMKLWHV.js} +4 -4
- package/dist/bundle/{chunk-JKWYXBGK.js → chunk-CXPHUOJR.js} +12 -12
- package/dist/bundle/{chunk-NVN4O5IC.js → chunk-D6FTCPXA.js} +9 -9
- package/dist/bundle/{chunk-KZGHGU2M.js → chunk-DIXC56OU.js} +4 -4
- package/dist/bundle/{chunk-TD4Y5LXG.js → chunk-ECXRRW7J.js} +18 -18
- package/dist/bundle/{chunk-M3EVVGR6.js → chunk-EG7HC4EC.js} +2 -2
- package/dist/bundle/{chunk-B45MFBBF.js → chunk-EJFSS65P.js} +6 -6
- package/dist/bundle/{chunk-FQ54A7GI.js → chunk-EOEDICIE.js} +1 -1
- package/dist/bundle/{chunk-7ATLKYBN.js → chunk-FAOLCUKV.js} +17 -17
- package/dist/bundle/{chunk-KPZIQKOF.js → chunk-FDCGTODC.js} +1 -1
- package/dist/bundle/{chunk-OU46OTTE.js → chunk-GOESXUJQ.js} +3 -3
- package/dist/bundle/{chunk-CUSGSXSR.js → chunk-HIZQYFY3.js} +3 -3
- package/dist/bundle/{chunk-MBMDF5EL.js → chunk-IK2OSV5C.js} +6 -6
- package/dist/bundle/{chunk-6SLGIPLT.js → chunk-IOCS5FXW.js} +2 -2
- package/dist/bundle/{chunk-AOSIU5T6.js → chunk-IOUPXUFH.js} +37 -36
- package/dist/bundle/{chunk-KZV5GU7G.js → chunk-IR73ZZY6.js} +8 -8
- package/dist/bundle/{chunk-FBJC7OCI.js → chunk-JBBZCTTF.js} +1 -1
- package/dist/bundle/{chunk-QHT2LZRW.js → chunk-JDJDVYGS.js} +6 -6
- package/dist/bundle/{chunk-4XPIOW5L.js → chunk-KM7Q67Z3.js} +1 -1
- package/dist/bundle/{chunk-U4Y2QQ2D.js → chunk-KMQUZ4YM.js} +3 -3
- package/dist/bundle/{chunk-XX2PDQ54.js → chunk-LTE6WH22.js} +24 -24
- package/dist/bundle/{chunk-CMG54Q4X.js → chunk-LXYC75D3.js} +25 -25
- package/dist/bundle/{chunk-E4QPLXZT.js → chunk-M2WQWF3I.js} +47 -47
- package/dist/bundle/{chunk-T7IQMYPW.js → chunk-M6FCCVYZ.js} +4 -3
- package/dist/bundle/{chunk-HF233RN4.js → chunk-MI3JK6MW.js} +10 -10
- package/dist/bundle/{chunk-FXY45HU7.js → chunk-MIUPH3WA.js} +6 -6
- package/dist/bundle/{chunk-7DMMNCY2.js → chunk-MLNC5N7H.js} +3 -3
- package/dist/bundle/{chunk-OLZE27RS.js → chunk-N3KQ7XND.js} +2 -2
- package/dist/bundle/{chunk-XOJGXWTK.js → chunk-NQCFUYC2.js} +8 -8
- package/dist/bundle/{chunk-VARX3SBT.js → chunk-NVC4VQ2B.js} +1 -1
- package/dist/bundle/{chunk-6LHTWR3X.js → chunk-Q4ZE2LXE.js} +2 -2
- package/dist/bundle/{chunk-67WW33JB.js → chunk-QLQ7VVLK.js} +4 -4
- package/dist/bundle/{chunk-6RV7KXDF.js → chunk-QUWMFBMS.js} +6 -6
- package/dist/bundle/{chunk-SVBM6F4Z.js → chunk-RUJBN7ZP.js} +1 -1
- package/dist/bundle/{chunk-WVYSOV3C.js → chunk-RWG44LQD.js} +4 -4
- package/dist/bundle/{chunk-L7VIPVHL.js → chunk-SB47UAW2.js} +49 -39
- package/dist/bundle/{chunk-LXOSBFWW.js → chunk-SEH7DBAM.js} +7 -7
- package/dist/bundle/{chunk-O3WVOAT7.js → chunk-SLBMXXOW.js} +10 -10
- package/dist/bundle/{chunk-FAOVUALC.js → chunk-SPJJCD2A.js} +13 -13
- package/dist/bundle/{chunk-UPWHCUVA.js → chunk-TILW3EJY.js} +334 -293
- package/dist/bundle/{chunk-LPJ3S6GE.js → chunk-TQFCPUIM.js} +1 -1
- package/dist/bundle/{chunk-BPQNTYLN.js → chunk-TZE6WXID.js} +565 -297
- package/dist/bundle/{chunk-OMUX4LSS.js → chunk-UD4FKICZ.js} +4 -4
- package/dist/bundle/{chunk-DLAFGSTN.js → chunk-UIPT6IAU.js} +1 -1
- package/dist/bundle/{chunk-35X6G276.js → chunk-URJZK4GX.js} +1 -1
- package/dist/bundle/{chunk-RGOBGHWE.js → chunk-VFJ3MOIR.js} +3 -3
- package/dist/bundle/{chunk-GNHPYQMM.js → chunk-XAXXEZZ5.js} +2 -2
- package/dist/bundle/{chunk-OVVDOVLN.js → chunk-YBMOFCY5.js} +2 -2
- package/dist/bundle/{chunk-3TGR4RDD.js → chunk-YF2PT5KA.js} +31 -31
- package/dist/bundle/{chunk-ABCHE4YP.js → chunk-YFIUXE25.js} +3 -3
- package/dist/bundle/{chunk-MVRCLMQL.js → chunk-YI6ZNDPC.js} +22 -12
- package/dist/bundle/{chunk-B3PTSX5D.js → chunk-YJN4XYNA.js} +2 -2
- package/dist/bundle/{cli-O4LAGYXI.js → cli-AHPIESAC.js} +63 -53
- package/dist/bundle/command-contract-HVLI3OKU.js +38 -0
- package/dist/bundle/config-3SFEGYZO.js +78 -0
- package/dist/bundle/{decode-WRMZJJCR.js → decode-ZU7WLMMV.js} +3 -3
- package/dist/bundle/{dist-SQK4GIJT.js → dist-LTS7VI3S.js} +14 -14
- package/dist/bundle/{echarts-3DOOJSQR.js → echarts-YNGCOYHW.js} +2 -2
- package/dist/bundle/{embed-OYRHTMFI.js → embed-VWWOW7PP.js} +4 -4
- package/dist/bundle/{embedder-ZAYCL22W.js → embedder-T5GJC7M2.js} +7 -7
- package/dist/bundle/{first-run-QXSPIXOQ.js → first-run-PX3SHPUU.js} +8 -8
- package/dist/bundle/first-screen-RAPEZG57.js +36 -0
- package/dist/bundle/{folders-EXQLKXVK.js → folders-VXMDFC2D.js} +2 -2
- package/dist/bundle/{instructions-GFEOB7XJ.js → instructions-GJHHFV64.js} +1 -1
- package/dist/bundle/{main-RADF3CRI.js → main-APVJXUJE.js} +16 -16
- package/dist/bundle/{mcp-WSGVVZWI.js → mcp-EMNFFY4N.js} +2 -2
- package/dist/bundle/{meetings-6BIIT42H.js → meetings-GHYNIOHG.js} +4 -4
- package/dist/bundle/{node-A3B2YRQI.js → node-GFOH6FKP.js} +2 -2
- package/dist/bundle/{node-sqlite-XRP5FUDY.js → node-sqlite-QXKSPHTP.js} +3 -3
- package/dist/bundle/{oauth-YICY4AN4.js → oauth-A6I2OMDD.js} +5 -5
- package/dist/bundle/{open-4CNKSQRB.js → open-TQKCU447.js} +2 -2
- package/dist/bundle/{openai-YYRO3X7I.js → openai-XE3BJXOI.js} +9 -9
- package/dist/bundle/{output-file-7BXYV6OL.js → output-file-FQNFCUKE.js} +3 -3
- package/dist/bundle/{process-A45QXKID.js → process-XVDX4SPD.js} +1 -1
- package/dist/bundle/{program-DTP7BRTW.js → program-QRKEXYDG.js} +70 -69
- package/dist/bundle/{prompt-5LMKO7SE.js → prompt-ISYG5RWM.js} +3 -3
- package/dist/bundle/{recognize-MB6WRGUD.js → recognize-KENPECLZ.js} +2 -2
- package/dist/bundle/{remote-PD7WMTTS.js → remote-ZP5XTDCC.js} +5 -5
- package/dist/bundle/{rerank-7E6GQ5Y6.js → rerank-SG653RHT.js} +5 -5
- package/dist/bundle/{run-log-TCFK4LEC.js → run-log-HYKGQ42E.js} +53 -53
- package/dist/bundle/{serve-JBT2BWHK.js → serve-6UJCZD7Z.js} +7 -7
- package/dist/bundle/server-AXE37E6Q.js +66 -0
- package/dist/bundle/{server-H2UPGGBI.js → server-ZAYEDPFR.js} +42 -42
- package/dist/bundle/{services-SJOTKL5V.js → services-KMH7XZPY.js} +31 -27
- package/dist/bundle/{speech-4SL25GSC.js → speech-LINBLG5E.js} +11 -11
- package/dist/bundle/{state-FVMTDZ6B.js → state-4RKZNHE7.js} +4 -4
- package/dist/bundle/{store-TI77SCNL.js → store-253N7NUC.js} +15 -15
- package/dist/bundle/{store-DNPKBUVO.js → store-JTBHRQZK.js} +13 -13
- package/dist/bundle/store-connection-ID2ETC7F.js +76 -0
- package/dist/bundle/store-maintenance-command-XRNECVDU.js +55 -0
- package/dist/bundle/{streaming-UHAHGPH5.js → streaming-YW64OKKQ.js} +4 -4
- package/dist/bundle/{tokens-Y2MX6JBL.js → tokens-DPBC2P3I.js} +4 -4
- package/dist/bundle/zm.js +1 -1
- package/dist/run.d.ts.map +1 -1
- package/dist/run.js +1 -0
- package/dist/run.js.map +1 -1
- package/dist/tokens.d.ts +6 -1
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +21 -10
- package/dist/tokens.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/answer-policy-GRODO2DY.js +0 -96
- package/dist/bundle/command-contract-67QKBY6M.js +0 -38
- package/dist/bundle/config-ABURZDD2.js +0 -78
- package/dist/bundle/first-screen-MD6HWIJW.js +0 -36
- package/dist/bundle/server-CFIKEPLG.js +0 -66
- package/dist/bundle/store-connection-GIFWWMNO.js +0 -76
- package/dist/bundle/store-maintenance-command-WBKGF2CZ.js +0 -55
- /package/dist/bundle/{chunk-62EDJKGP.js → chunk-NPGVOZVK.js} +0 -0
|
@@ -2,7 +2,7 @@ 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-HIZQYFY3.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError,
|
|
8
8
|
array,
|
|
@@ -26,12 +26,12 @@ import {
|
|
|
26
26
|
unknown,
|
|
27
27
|
visibleControls,
|
|
28
28
|
writeSecurely
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-SB47UAW2.js";
|
|
30
30
|
import {
|
|
31
31
|
__name
|
|
32
32
|
} from "./chunk-ZVVMGPBJ.js";
|
|
33
33
|
|
|
34
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/resolve.js
|
|
35
35
|
var isId = /* @__PURE__ */ __name((reference) => /^-?\d+$/.test(reference.trim()), "isId");
|
|
36
36
|
var foldName = /* @__PURE__ */ __name((name) => name.normalize("NFC").replace(/[\uFE0E\uFE0F\u200D]/g, "").toLowerCase(), "foldName");
|
|
37
37
|
var pickChat = /* @__PURE__ */ __name((reference, chats) => {
|
|
@@ -69,7 +69,7 @@ ${lines}`, { candidates });
|
|
|
69
69
|
}, "ambiguous");
|
|
70
70
|
var isPresent = /* @__PURE__ */ __name((value) => value !== null && value !== void 0, "isPresent");
|
|
71
71
|
|
|
72
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
72
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/domain/formatting.js
|
|
73
73
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "the messenger formatter returned invalid text spans"), "invalid");
|
|
74
74
|
var validateFormattedText = /* @__PURE__ */ __name((formatted) => {
|
|
75
75
|
const { text, spans } = formatted;
|
|
@@ -129,7 +129,7 @@ var visibleFormattedText = /* @__PURE__ */ __name((formatted) => {
|
|
|
129
129
|
};
|
|
130
130
|
}, "visibleFormattedText");
|
|
131
131
|
|
|
132
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
132
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/moderation/check.js
|
|
133
133
|
var INVITE = /max\.ru\/join\/|(t|telegram)\.me\/(\+|joinchat\/)|tg:\/\/join/i;
|
|
134
134
|
var LINK = /https?:\/\/\S+/i;
|
|
135
135
|
var STRENGTH = { report: 0, delete: 1, remove: 2 };
|
|
@@ -317,7 +317,7 @@ var nextPoint = /* @__PURE__ */ __name((rows, found) => {
|
|
|
317
317
|
}, "nextPoint");
|
|
318
318
|
var someUndone = /* @__PURE__ */ __name((rows) => rows.some(undone), "someUndone");
|
|
319
319
|
|
|
320
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
320
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/moderation/rules.js
|
|
321
321
|
import { existsSync, readFileSync } from "node:fs";
|
|
322
322
|
import { join } from "node:path";
|
|
323
323
|
var RULE_ACTIONS = ["report", "delete", "remove"];
|
|
@@ -5,19 +5,19 @@ import {
|
|
|
5
5
|
id,
|
|
6
6
|
text,
|
|
7
7
|
time
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-RWG44LQD.js";
|
|
9
9
|
import {
|
|
10
10
|
filesPresent,
|
|
11
11
|
sharedModelsDirectory
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-BPMKLWHV.js";
|
|
13
13
|
import {
|
|
14
14
|
TASK_ORIGINS,
|
|
15
15
|
TASK_STATES,
|
|
16
16
|
TASK_TYPES
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-QUWMFBMS.js";
|
|
18
18
|
import {
|
|
19
19
|
TAG_TYPES
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-YBMOFCY5.js";
|
|
21
21
|
import {
|
|
22
22
|
CliError,
|
|
23
23
|
array,
|
|
@@ -33,18 +33,18 @@ import {
|
|
|
33
33
|
strictObject,
|
|
34
34
|
traceIdOf,
|
|
35
35
|
writeSecurely
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-SB47UAW2.js";
|
|
37
37
|
import {
|
|
38
38
|
__name
|
|
39
39
|
} from "./chunk-ZVVMGPBJ.js";
|
|
40
40
|
|
|
41
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
41
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
42
42
|
import { randomUUID } from "node:crypto";
|
|
43
43
|
import { appendFileSync, mkdirSync, readdirSync, readFileSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
44
44
|
import { userInfo } from "node:os";
|
|
45
45
|
import { join, sep } from "node:path";
|
|
46
46
|
|
|
47
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
47
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
|
|
48
48
|
var snake = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
|
|
49
49
|
var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
|
|
50
50
|
var renamed = /* @__PURE__ */ __name((record, name) => Object.fromEntries(Object.entries(record).map(([key, value]) => [name(key), value])), "renamed");
|
|
@@ -57,7 +57,7 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
|
|
|
57
57
|
error: /* @__PURE__ */ __name((event, message) => logger.error(logAttributes(event), message), "error")
|
|
58
58
|
}), "snakeLogger");
|
|
59
59
|
|
|
60
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
60
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
|
|
61
61
|
var diagnostic = {
|
|
62
62
|
event: true,
|
|
63
63
|
operation: true,
|
|
@@ -127,7 +127,7 @@ var LOG_ATTRIBUTES = [
|
|
|
127
127
|
...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
|
|
128
128
|
].sort();
|
|
129
129
|
|
|
130
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
130
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
131
131
|
var KEEP_RUNS_FOR_DAYS = 30;
|
|
132
132
|
var KEEP_SUCCESSFUL_RUNS_FOR_DAYS = 7;
|
|
133
133
|
var RUNS_SIZE_LIMIT_MB = 200;
|
|
@@ -480,7 +480,7 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
|
|
|
480
480
|
};
|
|
481
481
|
}, "metadataOf");
|
|
482
482
|
|
|
483
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
483
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/runs/scope.js
|
|
484
484
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
485
485
|
import { randomBytes } from "node:crypto";
|
|
486
486
|
var scopes = new AsyncLocalStorage();
|
|
@@ -518,7 +518,7 @@ var attempts = new AsyncLocalStorage();
|
|
|
518
518
|
var withAttempt = /* @__PURE__ */ __name((attempt, work) => attempts.run(attempt, work), "withAttempt");
|
|
519
519
|
var currentAttempt = /* @__PURE__ */ __name(() => attempts.getStore(), "currentAttempt");
|
|
520
520
|
|
|
521
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
521
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
522
522
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
523
523
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
524
524
|
var parseDuration = /* @__PURE__ */ __name((value, source) => {
|
|
@@ -532,7 +532,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source) => {
|
|
|
532
532
|
return ms;
|
|
533
533
|
}, "parseDuration");
|
|
534
534
|
|
|
535
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
535
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
536
536
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
537
537
|
var sentIds = /* @__PURE__ */ __name((typed, message) => ({
|
|
538
538
|
messageId: message.id,
|
|
@@ -638,7 +638,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled =
|
|
|
638
638
|
}, "guardedWrite");
|
|
639
639
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
640
640
|
|
|
641
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
641
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
642
642
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
643
643
|
var e5 = huggingFace("Xenova/multilingual-e5-small", "761b726dd34fb83930e26aab4e9ac3899aa1fa78");
|
|
644
644
|
var gemma = huggingFace("onnx-community/embeddinggemma-300m-ONNX", "5090578d9565bb06545b4552f76e6bc2c93e4a66");
|
|
@@ -797,7 +797,7 @@ var rerankModel = /* @__PURE__ */ __name((id2) => {
|
|
|
797
797
|
var vectorModelKey = /* @__PURE__ */ __name((model) => `local:${model.id}:${model.dims}`, "vectorModelKey");
|
|
798
798
|
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
799
799
|
|
|
800
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
800
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
801
801
|
import { join as join2 } from "node:path";
|
|
802
802
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
803
803
|
var IMAGE_MODELS = [
|
|
@@ -851,7 +851,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
851
851
|
var placedImage = /* @__PURE__ */ __name((model, directory) => model.files.map((file) => [file, join2(directory, model.id, file.name)]), "placedImage");
|
|
852
852
|
var isImageModelInstalled = /* @__PURE__ */ __name((model, directory) => filesPresent(placedImage(model, directory)), "isImageModelInstalled");
|
|
853
853
|
|
|
854
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
854
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
855
855
|
var closeSuggestion = strictObject({
|
|
856
856
|
as: picklist(["done", "dismissed"]),
|
|
857
857
|
/** The agent's name. */
|
|
@@ -893,7 +893,7 @@ var task = strictObject({
|
|
|
893
893
|
updated_at: optional(time)
|
|
894
894
|
});
|
|
895
895
|
|
|
896
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
896
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
897
897
|
var agendaChat = strictObject({
|
|
898
898
|
chat: reference,
|
|
899
899
|
title: nullable(text),
|
|
@@ -963,7 +963,7 @@ var agenda = strictObject({
|
|
|
963
963
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
964
964
|
});
|
|
965
965
|
|
|
966
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
966
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
967
967
|
var conversation = strictObject({
|
|
968
968
|
id,
|
|
969
969
|
chat: reference,
|
|
@@ -978,7 +978,7 @@ var conversation = strictObject({
|
|
|
978
978
|
rules_version: count
|
|
979
979
|
});
|
|
980
980
|
|
|
981
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
981
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
982
982
|
var attachment = strictObject({
|
|
983
983
|
/** The message it came with, as a locator; absent inside that message. */
|
|
984
984
|
message: optional(reference),
|
|
@@ -1015,7 +1015,7 @@ var attachment = strictObject({
|
|
|
1015
1015
|
}))))
|
|
1016
1016
|
});
|
|
1017
1017
|
|
|
1018
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1018
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
1019
1019
|
var tagging = strictObject({
|
|
1020
1020
|
tag: text,
|
|
1021
1021
|
type: picklist(TAG_TYPES),
|
|
@@ -1028,7 +1028,7 @@ var tagging = strictObject({
|
|
|
1028
1028
|
created_at: time
|
|
1029
1029
|
});
|
|
1030
1030
|
|
|
1031
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1031
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
1032
1032
|
var WEIGHTS = {
|
|
1033
1033
|
bot: 3,
|
|
1034
1034
|
scam: 3,
|