@wirecat/zoom-cli 0.76.0 → 0.77.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -11
- package/contracts/wirecat.json +53 -105
- package/dist/answer-entities.d.ts +1 -141
- package/dist/answer-entities.d.ts.map +1 -1
- package/dist/answer-entities.js +0 -31
- package/dist/answer-entities.js.map +1 -1
- package/dist/api.d.ts +18 -1
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js +179 -54
- package/dist/api.js.map +1 -1
- package/dist/archive-commands.d.ts +0 -3
- package/dist/archive-commands.d.ts.map +1 -1
- package/dist/archive-commands.js +1 -54
- package/dist/archive-commands.js.map +1 -1
- package/dist/bin/zm.js +2 -2
- package/dist/bundle/{all-profiles-AAMFP7IN.js → all-profiles-PMCFNDMA.js} +11 -11
- package/dist/bundle/answer-policy-XU7KEW2V.js +121 -0
- package/dist/bundle/{anthropic-6KIS53QB.js → anthropic-TGJOKLUS.js} +6 -6
- package/dist/bundle/{app-server-6QYNNYEU.js → app-server-OAODUFM3.js} +73 -63
- package/dist/bundle/{bun-QVVCH4MJ.js → bun-HJHVHJJV.js} +2 -2
- package/dist/bundle/{bun-sqlite-Y2ZFMNQ3.js → bun-sqlite-PLBOY6FP.js} +7 -7
- package/dist/bundle/{chunk-OWZETMRE.js → chunk-2QDD6S2R.js} +8 -8
- package/dist/bundle/{chunk-FGRFIXG2.js → chunk-2QRGJSKO.js} +2 -2
- package/dist/bundle/{chunk-D2TGXSHQ.js → chunk-36SI35XZ.js} +5 -5
- package/dist/bundle/{chunk-4JPOELCT.js → chunk-375BH5OD.js} +4 -4
- package/dist/bundle/{chunk-OFODCJ2A.js → chunk-3TLQF3DN.js} +3 -3
- package/dist/bundle/{chunk-K3K3WKDB.js → chunk-4QNW4NK6.js} +1 -1
- package/dist/bundle/{chunk-YEBWRWE3.js → chunk-4Z4VOQRR.js} +17 -17
- package/dist/bundle/{chunk-LGBLYFKI.js → chunk-5A5W322G.js} +6 -2
- package/dist/bundle/chunk-5C5UEKUJ.js +170 -0
- package/dist/bundle/chunk-5C6CRSEM.js +389 -0
- package/dist/bundle/{chunk-VG63EXRC.js → chunk-5KHCFIWI.js} +2 -2
- package/dist/bundle/{chunk-LEVOI6Z3.js → chunk-635GRAO5.js} +12 -12
- package/dist/bundle/{chunk-Y2BGABXP.js → chunk-6JRBMNRN.js} +3 -3
- package/dist/bundle/{chunk-XC4V6YCS.js → chunk-6YCFDDRO.js} +1 -1
- package/dist/bundle/{chunk-VRA4RVQU.js → chunk-77JQIY2V.js} +3 -3
- package/dist/bundle/{chunk-CPOFLYPU.js → chunk-7AFYZOHU.js} +29 -29
- package/dist/bundle/{chunk-IXPBSDKB.js → chunk-7CMYNW3W.js} +4 -4
- package/dist/bundle/chunk-7DTU7QZP.js +72 -0
- package/dist/bundle/chunk-7ILGYNWX.js +773 -0
- package/dist/bundle/{chunk-Y4WEAWU7.js → chunk-7S3N5CTA.js} +1 -1
- package/dist/bundle/chunk-7SNU7RFU.js +229 -0
- package/dist/bundle/{chunk-TK77DCE5.js → chunk-A6LK2W5J.js} +1 -1
- package/dist/bundle/{chunk-UAV74EY4.js → chunk-ADJIYY33.js} +1 -1
- package/dist/bundle/{chunk-JWMOHEDL.js → chunk-B7XFDMFV.js} +10 -10
- package/dist/bundle/{chunk-GYTAHH5Y.js → chunk-BOJCRTQW.js} +2 -2
- package/dist/bundle/{chunk-HUHH25AG.js → chunk-CJL5GHTQ.js} +913 -544
- package/dist/bundle/{chunk-T2QVWRJF.js → chunk-CL6QAZGT.js} +39 -67
- package/dist/bundle/{chunk-NQ356ERO.js → chunk-CUJJZJ4R.js} +44 -8
- package/dist/bundle/{chunk-OINDAHXC.js → chunk-CZ6OO66B.js} +4 -4
- package/dist/bundle/chunk-DCEQIKFD.js +259 -0
- package/dist/bundle/{chunk-55SWKR6Y.js → chunk-DDUNPLET.js} +256 -588
- package/dist/bundle/{chunk-6VCQ4CTK.js → chunk-DYIRJINE.js} +1 -1
- package/dist/bundle/{chunk-WKT5RPSY.js → chunk-E3UPMPUV.js} +8 -8
- package/dist/bundle/{chunk-5T7TBK5Y.js → chunk-ECRFXQHA.js} +1 -1
- package/dist/bundle/{chunk-LOEK6IFQ.js → chunk-F4ROWGLU.js} +57 -35
- package/dist/bundle/{chunk-UYZDH5LK.js → chunk-FDQE2CLT.js} +1 -1
- package/dist/bundle/{chunk-M7WYBGQT.js → chunk-FRC5QIPQ.js} +8 -8
- package/dist/bundle/{chunk-3D5PETD2.js → chunk-FS5HPXQN.js} +9 -9
- package/dist/bundle/{chunk-QY6GE7CL.js → chunk-GHBDYYPO.js} +2 -2
- package/dist/bundle/{chunk-OOYIPK4F.js → chunk-H2EVYY5Z.js} +1 -1
- package/dist/bundle/{chunk-PFLJJQWW.js → chunk-I3QMPQYD.js} +49 -49
- package/dist/bundle/{chunk-XWQKRKMT.js → chunk-ICZVSVTW.js} +71 -252
- package/dist/bundle/{chunk-R47GYLNN.js → chunk-IJTBB23F.js} +29 -27
- package/dist/bundle/{chunk-WZJ7ZYR4.js → chunk-IS6MUPN2.js} +4 -4
- package/dist/bundle/{chunk-ORM73DZO.js → chunk-IUOKIZZN.js} +2 -2
- package/dist/bundle/{chunk-FMJ4QSSU.js → chunk-IZMRQ3MV.js} +10 -10
- package/dist/bundle/{chunk-HWYSJ4SL.js → chunk-JFVZVPRW.js} +3 -3
- package/dist/bundle/{chunk-7RORMNKP.js → chunk-JMU3E2WA.js} +2 -2
- package/dist/bundle/{chunk-6SXCGS3A.js → chunk-JQUYHPQD.js} +7 -7
- package/dist/bundle/{chunk-MDTEAKA5.js → chunk-KHBSQROH.js} +5 -5
- package/dist/bundle/{chunk-EPPE6ZTS.js → chunk-KYKW2W6X.js} +1 -1
- package/dist/bundle/chunk-LMZUC4CS.js +101 -0
- package/dist/bundle/{chunk-X73YEFQE.js → chunk-LUAS73NT.js} +18 -18
- package/dist/bundle/{chunk-25GMFXPF.js → chunk-LWMDLXEO.js} +2032 -2657
- package/dist/bundle/{chunk-GPIQY4YB.js → chunk-LYVHQ6DJ.js} +14 -14
- package/dist/bundle/{chunk-CXHUOPN5.js → chunk-MCLZ74II.js} +7 -7
- package/dist/bundle/chunk-MIG4RLDB.js +555 -0
- package/dist/bundle/{chunk-JADBHKBP.js → chunk-MMAZUJBO.js} +1 -1
- package/dist/bundle/{chunk-VABYJQYE.js → chunk-MTH3JJHF.js} +24 -22
- package/dist/bundle/{chunk-EZXW3ZCR.js → chunk-NJJEUG4C.js} +12 -12
- package/dist/bundle/{chunk-GZYICXO4.js → chunk-NKKVVPL5.js} +1 -1
- package/dist/bundle/{chunk-QLUU3BV2.js → chunk-NOF6LABG.js} +6 -6
- package/dist/bundle/{chunk-KEFDP6NL.js → chunk-NPDPD2H3.js} +12 -12
- package/dist/bundle/{chunk-5EII5RIL.js → chunk-NPIVV52M.js} +1 -1
- package/dist/bundle/{chunk-UG2QDGAH.js → chunk-OOIU36FA.js} +1 -1
- package/dist/bundle/{chunk-IUSY4ZJK.js → chunk-OXXJW3A5.js} +806 -1523
- package/dist/bundle/chunk-PM3MB3E7.js +295 -0
- package/dist/bundle/{chunk-EBIK5Q73.js → chunk-PO4RZ4XZ.js} +1 -1
- package/dist/bundle/{chunk-EZJSAYWZ.js → chunk-Q7ZW7XAX.js} +31 -87
- package/dist/bundle/{chunk-CS62FET6.js → chunk-QAGECFHL.js} +22 -22
- package/dist/bundle/{chunk-WNXC42IU.js → chunk-QE4L2QQZ.js} +9 -9
- package/dist/bundle/{chunk-YESHGC3M.js → chunk-QKNO3JTG.js} +2 -2
- package/dist/bundle/{chunk-TYAFL66K.js → chunk-QUGESVOE.js} +15 -31
- package/dist/bundle/{chunk-DQHS336B.js → chunk-RQS3W4P6.js} +7 -6
- package/dist/bundle/{chunk-XHVFX74L.js → chunk-SFPUSEOT.js} +2 -2
- package/dist/bundle/{chunk-YGKM2ZWF.js → chunk-SP5OMHOO.js} +3 -3
- package/dist/bundle/chunk-STNZQBY4.js +335 -0
- package/dist/bundle/{chunk-RJK5ADMH.js → chunk-SVJQRG5N.js} +16 -16
- package/dist/bundle/{chunk-B7ZREOBD.js → chunk-SY5NGYKA.js} +12 -12
- package/dist/bundle/{chunk-GB5LI5RM.js → chunk-T4CI3YXW.js} +6 -6
- package/dist/bundle/{chunk-ELW3LMJZ.js → chunk-T6RSYDFA.js} +342 -154
- package/dist/bundle/{chunk-ZETM63M6.js → chunk-TY4FFK2P.js} +6 -6
- package/dist/bundle/chunk-UGRGYLEI.js +224 -0
- package/dist/bundle/{chunk-4ERYXY4Y.js → chunk-VGERRRDC.js} +1 -1
- package/dist/bundle/{chunk-XRH2NKW4.js → chunk-VJ2TLU7R.js} +6 -6
- package/dist/bundle/{chunk-2HKUQ7DR.js → chunk-W7UCN7MF.js} +3 -3
- package/dist/bundle/{chunk-IVFNHIU4.js → chunk-WD5OL5JB.js} +81 -5
- package/dist/bundle/{chunk-CE5Y7PQU.js → chunk-XC3MWABM.js} +4 -4
- package/dist/bundle/{chunk-ZFYNJERV.js → chunk-XCA5N63N.js} +6 -6
- package/dist/bundle/chunk-XVHDT4CO.js +31 -0
- package/dist/bundle/{chunk-65VRWNDP.js → chunk-YFN5A7OP.js} +4 -4
- package/dist/bundle/{chunk-VCFSUGPE.js → chunk-YJIGGUPI.js} +4 -4
- package/dist/bundle/{chunk-RXUVXAMM.js → chunk-YVI5SQPY.js} +1 -1
- package/dist/bundle/{chunk-FBVJGJDM.js → chunk-ZRNNMBPC.js} +27 -574
- package/dist/bundle/{chunk-VJANMYEC.js → chunk-ZUMKZOHR.js} +3 -3
- package/dist/bundle/{chunk-35AH33VJ.js → chunk-ZZ32DXTH.js} +1 -1
- package/dist/bundle/{cli-FHMLYHUZ.js → cli-Y27PHKBV.js} +101 -84
- package/dist/bundle/command-contract-GB7YA3KW.js +45 -0
- package/dist/bundle/{command-server-entry-YEZM52R5.js → command-server-entry-AXQSW2X6.js} +35 -31
- package/dist/bundle/config-2OOABHR7.js +108 -0
- package/dist/bundle/{decode-SIYRMJOK.js → decode-ZRNOOTUZ.js} +16 -8
- package/dist/bundle/{dispatch-SMER3WDX.js → dispatch-2GHGPAYH.js} +9 -9
- package/dist/bundle/{dist-BSJETSFE.js → dist-MUFVAMKB.js} +25 -22
- package/dist/bundle/{echarts-UZJ6AREV.js → echarts-F4PHDYET.js} +2 -2
- package/dist/bundle/{embed-A7DSHVI7.js → embed-KWHCKPCV.js} +7 -7
- package/dist/bundle/{embedder-WQBR4UGS.js → embedder-U3R3RY54.js} +10 -10
- package/dist/bundle/{failure-73UQXQTW.js → failure-S2YXEN4A.js} +3 -3
- package/dist/bundle/first-run-F4YR2E2C.js +29 -0
- package/dist/bundle/first-screen-HPRHD3VK.js +43 -0
- package/dist/bundle/{folders-BH4SV6SI.js → folders-DVTRFQKW.js} +5 -5
- package/dist/bundle/{instructions-SDDUBGH4.js → instructions-JU4YW6QY.js} +1 -1
- package/dist/bundle/{main-KL4FN5F3.js → main-5UCRPACH.js} +24 -24
- package/dist/bundle/{mcp-GN4FTJX5.js → mcp-O6ACR2DX.js} +2 -2
- package/dist/bundle/meeting-combined-IWU5SPAH.js +26 -0
- package/dist/bundle/meeting-model-ILIUJECZ.js +26 -0
- package/dist/bundle/meeting-semantic-5DKRGZFS.js +23 -0
- package/dist/bundle/{meetings-URPXBHV7.js → meetings-T2UY35DV.js} +25 -7
- package/dist/bundle/{node-ELCNUOCE.js → node-MAVRAF4M.js} +2 -2
- package/dist/bundle/{node-sqlite-QLSNHZBM.js → node-sqlite-TFBQ5NDI.js} +8 -8
- package/dist/bundle/{oauth-LZ64S7Y3.js → oauth-7IG5HWSY.js} +8 -8
- package/dist/bundle/{open-WB4HUPQT.js → open-3R3N7L3X.js} +6 -6
- package/dist/bundle/openai-DD5I3DWC.js +28 -0
- package/dist/bundle/{output-file-AHPQA5LR.js → output-file-KKHHAYWF.js} +6 -6
- package/dist/bundle/{process-67DAKAAQ.js → process-OIO254NR.js} +1 -1
- package/dist/bundle/{program-CIMACIBE.js → program-IBYRU76H.js} +423 -251
- package/dist/bundle/{prompt-GG53UBDJ.js → prompt-LNEOO7PN.js} +6 -6
- package/dist/bundle/{recognize-CFJ3CAEH.js → recognize-2WYLT3PC.js} +5 -5
- package/dist/bundle/{remote-BLEM7C3Q.js → remote-7EAJEIV7.js} +11 -11
- package/dist/bundle/{rerank-ERN6PC66.js → rerank-DZBZ744F.js} +8 -8
- package/dist/bundle/run-log-CCIVRSHP.js +135 -0
- package/dist/bundle/{serve-FJPPTJXH.js → serve-T3KQV5SS.js} +15 -15
- package/dist/bundle/{server-FLUSDUGM.js → server-2QQAQZ2J.js} +59 -49
- package/dist/bundle/server-OJQMPF2R.js +84 -0
- package/dist/bundle/{services-LXC6DVUQ.js → services-DETAKMC3.js} +78 -54
- package/dist/bundle/{speech-WFEZTKXA.js → speech-HD57JNTK.js} +34 -18
- package/dist/bundle/{sqlite-runtime-KN33VSP7.js → sqlite-runtime-OCETZSEZ.js} +7 -7
- package/dist/bundle/{state-TXS4ZHIT.js → state-ZKVQ4DBI.js} +7 -7
- package/dist/bundle/{store-ZUREZYZB.js → store-7IZ2WMHF.js} +24 -20
- package/dist/bundle/{store-MUOXLVL4.js → store-GEAQ7V5R.js} +26 -22
- package/dist/bundle/store-connection-BALCZW7P.js +101 -0
- package/dist/bundle/store-maintenance-command-SBT4LDSI.js +76 -0
- package/dist/bundle/{streaming-ZSCHRC5S.js → streaming-CLBAO3MG.js} +7 -7
- package/dist/bundle/{tokens-YVDOY4EV.js → tokens-WH73ZWFI.js} +10 -10
- package/dist/bundle/zm.js +9 -9
- package/dist/bundle/{zoom-app-O6GIMB7Y.js → zoom-app-ZDTYMJET.js} +8 -8
- package/dist/commands.d.ts.map +1 -1
- package/dist/commands.js +3 -0
- package/dist/commands.js.map +1 -1
- package/dist/first-screen.d.ts.map +1 -1
- package/dist/first-screen.js +3 -5
- package/dist/first-screen.js.map +1 -1
- package/dist/meeting-integration-commands.d.ts.map +1 -1
- package/dist/meeting-integration-commands.js +46 -28
- package/dist/meeting-integration-commands.js.map +1 -1
- package/dist/meeting-source.d.ts.map +1 -1
- package/dist/meeting-source.js +15 -1
- package/dist/meeting-source.js.map +1 -1
- package/dist/permissions.d.ts +8 -4
- package/dist/permissions.d.ts.map +1 -1
- package/dist/permissions.js +25 -24
- package/dist/permissions.js.map +1 -1
- package/dist/program-bindings.d.ts.map +1 -1
- package/dist/program-bindings.js +8 -5
- package/dist/program-bindings.js.map +1 -1
- package/dist/program.d.ts +2 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js.map +1 -1
- package/dist/remote-meetings.d.ts +38 -8
- package/dist/remote-meetings.d.ts.map +1 -1
- package/dist/remote-meetings.js +52 -29
- package/dist/remote-meetings.js.map +1 -1
- package/dist/run.js +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/zoom-app.d.ts.map +1 -1
- package/dist/zoom-app.js +1 -0
- package/dist/zoom-app.js.map +1 -1
- package/package.json +3 -3
- package/skills/zoom-cli/SKILL.md +2 -2
- package/dist/bundle/answer-policy-ETAELI4A.js +0 -110
- package/dist/bundle/chunk-64N7MY3I.js +0 -161
- package/dist/bundle/command-contract-HUZ4I23S.js +0 -41
- package/dist/bundle/config-KVTWN7QZ.js +0 -97
- package/dist/bundle/first-run-SY6XSUZ3.js +0 -29
- package/dist/bundle/first-screen-ZDMODGWS.js +0 -39
- package/dist/bundle/openai-KN6JE4QU.js +0 -28
- package/dist/bundle/run-log-S67YPJF6.js +0 -124
- package/dist/bundle/server-UNJY3TSJ.js +0 -74
- package/dist/bundle/store-connection-NRNEBUPU.js +0 -90
- package/dist/bundle/store-maintenance-command-OBOPYFZ5.js +0 -65
- /package/dist/bundle/{chunk-BDCC2J2Z.js → chunk-VKE77B3F.js} +0 -0
|
@@ -1,11 +1,18 @@
|
|
|
1
1
|
import { createRequire as __bundleRequire } from "node:module";
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
modelSettingsShape,
|
|
5
|
+
resolveModelSettings
|
|
6
|
+
} from "./chunk-LMZUC4CS.js";
|
|
3
7
|
import {
|
|
4
8
|
ancestorValue,
|
|
5
9
|
envName,
|
|
6
10
|
readOnlyLockOf,
|
|
7
11
|
readOnlyRefusal
|
|
8
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-GHBDYYPO.js";
|
|
13
|
+
import {
|
|
14
|
+
carries
|
|
15
|
+
} from "./chunk-OOIU36FA.js";
|
|
9
16
|
import {
|
|
10
17
|
currentCaller,
|
|
11
18
|
endpointTemplate,
|
|
@@ -15,10 +22,10 @@ import {
|
|
|
15
22
|
providerErrorKey,
|
|
16
23
|
renderEvent,
|
|
17
24
|
runContextOf
|
|
18
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-MCLZ74II.js";
|
|
19
26
|
import {
|
|
20
27
|
permissionCeiling
|
|
21
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-375BH5OD.js";
|
|
22
29
|
import {
|
|
23
30
|
CEILING_KEY,
|
|
24
31
|
COMMAND_PATH_KEY,
|
|
@@ -32,33 +39,30 @@ import {
|
|
|
32
39
|
permissionOverrides,
|
|
33
40
|
projectFields,
|
|
34
41
|
resolveOutput
|
|
35
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-2QDD6S2R.js";
|
|
36
43
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./chunk-
|
|
44
|
+
note
|
|
45
|
+
} from "./chunk-6JRBMNRN.js";
|
|
39
46
|
import {
|
|
40
|
-
|
|
41
|
-
|
|
47
|
+
DEFAULT_RERANK_MODEL,
|
|
48
|
+
RERANK_MODELS
|
|
49
|
+
} from "./chunk-STNZQBY4.js";
|
|
42
50
|
import {
|
|
43
|
-
|
|
44
|
-
} from "./chunk-
|
|
51
|
+
endpoint
|
|
52
|
+
} from "./chunk-SP5OMHOO.js";
|
|
45
53
|
import {
|
|
46
54
|
filesPresent,
|
|
47
55
|
sharedModelsDirectory
|
|
48
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-CZ6OO66B.js";
|
|
49
57
|
import {
|
|
50
58
|
CATEGORIES,
|
|
51
59
|
FACT_STATUSES,
|
|
52
|
-
KEEP_STORE_RUNS_FOR_DAYS,
|
|
53
|
-
KEEP_SUCCESSFUL_RUNS_FOR_DAYS,
|
|
54
60
|
LINK_KINDS,
|
|
55
61
|
LINK_SOURCES,
|
|
56
|
-
LOG_ATTRIBUTES,
|
|
57
62
|
MEMORY_KINDS,
|
|
58
63
|
MEMORY_SCOPES,
|
|
59
64
|
MEMORY_STATUSES,
|
|
60
65
|
PRIORITY_LABELS,
|
|
61
|
-
RUNS_SIZE_LIMIT_MB,
|
|
62
66
|
TASK_KINDS,
|
|
63
67
|
TASK_ORIGINS,
|
|
64
68
|
TASK_STATES,
|
|
@@ -66,36 +70,42 @@ import {
|
|
|
66
70
|
TASK_VERDICTS,
|
|
67
71
|
WORK_TASK_TYPES,
|
|
68
72
|
author,
|
|
69
|
-
childTrace,
|
|
70
73
|
count,
|
|
71
|
-
currentRun,
|
|
72
|
-
enclosingTraceId,
|
|
73
74
|
evidenceSource,
|
|
74
75
|
id,
|
|
75
|
-
inRun,
|
|
76
76
|
isGroupName,
|
|
77
|
-
logAttributes,
|
|
78
77
|
markStoreDamaged,
|
|
79
|
-
newRunId,
|
|
80
78
|
organization,
|
|
81
79
|
project,
|
|
82
80
|
providerMetadata,
|
|
83
81
|
reminder,
|
|
84
|
-
runsDirFor,
|
|
85
|
-
snakeLogger,
|
|
86
82
|
sourceReview,
|
|
87
|
-
startRun,
|
|
88
83
|
text,
|
|
89
84
|
time,
|
|
85
|
+
untrusted
|
|
86
|
+
} from "./chunk-ZRNNMBPC.js";
|
|
87
|
+
import {
|
|
88
|
+
KEEP_STORE_RUNS_FOR_DAYS,
|
|
89
|
+
KEEP_SUCCESSFUL_RUNS_FOR_DAYS,
|
|
90
|
+
LOG_ATTRIBUTES,
|
|
91
|
+
RUNS_SIZE_LIMIT_MB,
|
|
92
|
+
childTrace,
|
|
93
|
+
currentRun,
|
|
94
|
+
enclosingTraceId,
|
|
95
|
+
inRun,
|
|
96
|
+
logAttributes,
|
|
97
|
+
newRunId,
|
|
98
|
+
runsDirFor,
|
|
99
|
+
snakeLogger,
|
|
100
|
+
startRun,
|
|
90
101
|
traceOf,
|
|
91
102
|
typedCommand,
|
|
92
|
-
untrusted,
|
|
93
103
|
useAsProcessRun
|
|
94
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-MIG4RLDB.js";
|
|
95
105
|
import {
|
|
96
106
|
isCliFailure,
|
|
97
107
|
storeDamaged
|
|
98
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-5KHCFIWI.js";
|
|
99
109
|
import {
|
|
100
110
|
BUSINESS_KINDS,
|
|
101
111
|
CRM_ACTIVITY_KINDS,
|
|
@@ -109,18 +119,18 @@ import {
|
|
|
109
119
|
ORDER_PURPOSES,
|
|
110
120
|
ORDER_STATUSES,
|
|
111
121
|
RELATION_KINDS,
|
|
112
|
-
STANDINGS
|
|
122
|
+
STANDINGS
|
|
123
|
+
} from "./chunk-QUGESVOE.js";
|
|
124
|
+
import {
|
|
113
125
|
TAG_TYPES
|
|
114
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-XVHDT4CO.js";
|
|
115
127
|
import {
|
|
116
|
-
readSharedSection,
|
|
117
128
|
repairConfigText,
|
|
118
|
-
sharedConfigPath
|
|
119
|
-
|
|
120
|
-
} from "./chunk-WKT5RPSY.js";
|
|
129
|
+
sharedConfigPath
|
|
130
|
+
} from "./chunk-E3UPMPUV.js";
|
|
121
131
|
import {
|
|
122
132
|
storePath
|
|
123
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-SFPUSEOT.js";
|
|
124
134
|
import {
|
|
125
135
|
FACT_TYPES,
|
|
126
136
|
MEETING_RESULT_ENTITIES,
|
|
@@ -138,16 +148,18 @@ import {
|
|
|
138
148
|
meetingSpeaker,
|
|
139
149
|
meetingStats,
|
|
140
150
|
meetingSummary,
|
|
151
|
+
meetingTagChange,
|
|
152
|
+
meetingTagging,
|
|
141
153
|
meetingTranscript,
|
|
142
154
|
readsZone
|
|
143
|
-
} from "./chunk-
|
|
155
|
+
} from "./chunk-T6RSYDFA.js";
|
|
144
156
|
import {
|
|
145
157
|
FIELD_TYPES,
|
|
146
158
|
QUERY_BACKENDS,
|
|
147
159
|
describeQuery,
|
|
148
160
|
parseLucene,
|
|
149
161
|
timezoneOf
|
|
150
|
-
} from "./chunk-
|
|
162
|
+
} from "./chunk-IZMRQ3MV.js";
|
|
151
163
|
import {
|
|
152
164
|
configFilePath,
|
|
153
165
|
createRecordLog,
|
|
@@ -156,7 +168,7 @@ import {
|
|
|
156
168
|
resolvePaths,
|
|
157
169
|
saveConfigFile,
|
|
158
170
|
writeSecurely
|
|
159
|
-
} from "./chunk-
|
|
171
|
+
} from "./chunk-QAGECFHL.js";
|
|
160
172
|
import {
|
|
161
173
|
COMPACT_FLAG,
|
|
162
174
|
MAX_NEXT_STEPS,
|
|
@@ -167,7 +179,6 @@ import {
|
|
|
167
179
|
defineSteps,
|
|
168
180
|
effectsSchema,
|
|
169
181
|
exitCodeOfAnswer,
|
|
170
|
-
getDotPath,
|
|
171
182
|
integer,
|
|
172
183
|
isoDate,
|
|
173
184
|
isoTime,
|
|
@@ -199,7 +210,6 @@ import {
|
|
|
199
210
|
regex,
|
|
200
211
|
safeInteger,
|
|
201
212
|
safeParse,
|
|
202
|
-
startsWith,
|
|
203
213
|
stepOf,
|
|
204
214
|
strictObject,
|
|
205
215
|
string,
|
|
@@ -207,22 +217,21 @@ import {
|
|
|
207
217
|
union,
|
|
208
218
|
unknown,
|
|
209
219
|
unwrap,
|
|
210
|
-
url,
|
|
211
220
|
variant,
|
|
212
221
|
writes
|
|
213
|
-
} from "./chunk-
|
|
222
|
+
} from "./chunk-FS5HPXQN.js";
|
|
214
223
|
import {
|
|
215
224
|
CliError,
|
|
216
225
|
isCliError
|
|
217
|
-
} from "./chunk-
|
|
226
|
+
} from "./chunk-4QNW4NK6.js";
|
|
218
227
|
import {
|
|
219
228
|
visibleControls
|
|
220
|
-
} from "./chunk-
|
|
229
|
+
} from "./chunk-KYKW2W6X.js";
|
|
221
230
|
import {
|
|
222
231
|
__name
|
|
223
232
|
} from "./chunk-ZVVMGPBJ.js";
|
|
224
233
|
|
|
225
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
234
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/registry.js
|
|
226
235
|
var labels = /* @__PURE__ */ new WeakMap();
|
|
227
236
|
var annotate = /* @__PURE__ */ __name((command, meta) => {
|
|
228
237
|
labels.set(command, { ...labels.get(command), ...meta });
|
|
@@ -3723,7 +3732,7 @@ __name(useColor, "useColor");
|
|
|
3723
3732
|
// node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
|
|
3724
3733
|
var program = new Command();
|
|
3725
3734
|
|
|
3726
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3735
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/contracts.js
|
|
3727
3736
|
import { isDeepStrictEqual } from "node:util";
|
|
3728
3737
|
var protectedCommands = /* @__PURE__ */ new WeakMap();
|
|
3729
3738
|
var hasSharedContract = /* @__PURE__ */ __name((command) => protectedCommands.has(command), "hasSharedContract");
|
|
@@ -3925,7 +3934,7 @@ var customizeSharedCommand = /* @__PURE__ */ __name((reference2, reason, build,
|
|
|
3925
3934
|
return command;
|
|
3926
3935
|
}, "customizeSharedCommand");
|
|
3927
3936
|
|
|
3928
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3937
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/document.js
|
|
3929
3938
|
var argumentInfoSchema = object({
|
|
3930
3939
|
name: string(),
|
|
3931
3940
|
required: boolean(),
|
|
@@ -3999,7 +4008,7 @@ var commandsDocumentSchema = strictObject({
|
|
|
3999
4008
|
exit_codes: record(string(), pipe(number(), integer()))
|
|
4000
4009
|
});
|
|
4001
4010
|
|
|
4002
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
4011
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/index.js
|
|
4003
4012
|
var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
4004
4013
|
let command = root;
|
|
4005
4014
|
const path2 = [];
|
|
@@ -4017,7 +4026,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
|
4017
4026
|
}
|
|
4018
4027
|
}, "refuseJoinedPath");
|
|
4019
4028
|
|
|
4020
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4029
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
4021
4030
|
var WEIGHTS = {
|
|
4022
4031
|
bot: 3,
|
|
4023
4032
|
scam: 3,
|
|
@@ -4042,7 +4051,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
4042
4051
|
var DIGITS = /\d{5,}/;
|
|
4043
4052
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
4044
4053
|
|
|
4045
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4054
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
4046
4055
|
var linkedIdentity = strictObject({
|
|
4047
4056
|
provider: text,
|
|
4048
4057
|
id,
|
|
@@ -4097,7 +4106,7 @@ var contactCheck = strictObject({
|
|
|
4097
4106
|
checked_at: time
|
|
4098
4107
|
});
|
|
4099
4108
|
|
|
4100
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4109
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
4101
4110
|
var member = strictObject({
|
|
4102
4111
|
id,
|
|
4103
4112
|
name: nullable(text),
|
|
@@ -4120,7 +4129,7 @@ var member = strictObject({
|
|
|
4120
4129
|
check: optional(record(string(), unknown()))
|
|
4121
4130
|
});
|
|
4122
4131
|
|
|
4123
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4132
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
4124
4133
|
var setting = optional(nullable(boolean()));
|
|
4125
4134
|
var chat = strictObject({
|
|
4126
4135
|
ref: reference,
|
|
@@ -4161,7 +4170,7 @@ var chat = strictObject({
|
|
|
4161
4170
|
members: optional(array(member))
|
|
4162
4171
|
});
|
|
4163
4172
|
|
|
4164
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4173
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
4165
4174
|
var attachment = strictObject({
|
|
4166
4175
|
/** The message it came with, as a locator; absent inside that message. */
|
|
4167
4176
|
message: optional(reference),
|
|
@@ -4206,7 +4215,7 @@ var hitFile = strictObject({
|
|
|
4206
4215
|
local_path: optional(text)
|
|
4207
4216
|
});
|
|
4208
4217
|
|
|
4209
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4218
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
4210
4219
|
var quoted = strictObject({
|
|
4211
4220
|
id,
|
|
4212
4221
|
sender_id: nullable(id),
|
|
@@ -4325,7 +4334,7 @@ var message = strictObject({
|
|
|
4325
4334
|
provider_metadata: providerMetadata
|
|
4326
4335
|
});
|
|
4327
4336
|
|
|
4328
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4337
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
|
|
4329
4338
|
var recordedMeeting = strictObject({
|
|
4330
4339
|
ref: reference,
|
|
4331
4340
|
meeting_id: count,
|
|
@@ -4338,7 +4347,7 @@ var recordedMeeting = strictObject({
|
|
|
4338
4347
|
people: array(reference)
|
|
4339
4348
|
});
|
|
4340
4349
|
|
|
4341
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4350
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
4342
4351
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
4343
4352
|
var contextMessage = strictObject({
|
|
4344
4353
|
locator: reference,
|
|
@@ -4544,7 +4553,7 @@ var contactPreparation = strictObject({
|
|
|
4544
4553
|
})
|
|
4545
4554
|
});
|
|
4546
4555
|
|
|
4547
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4556
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
4548
4557
|
var nullableText = nullable(text);
|
|
4549
4558
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
4550
4559
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -4655,7 +4664,7 @@ var stage = strictObject({
|
|
|
4655
4664
|
untrusted
|
|
4656
4665
|
});
|
|
4657
4666
|
|
|
4658
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4667
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/business-context.js
|
|
4659
4668
|
var nullableText2 = nullable(text);
|
|
4660
4669
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
4661
4670
|
var standing = picklist(STANDINGS);
|
|
@@ -4829,7 +4838,7 @@ var dealBrief = strictObject({
|
|
|
4829
4838
|
not_read: coverage2.entries.not_read
|
|
4830
4839
|
});
|
|
4831
4840
|
|
|
4832
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4841
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
4833
4842
|
var botProfile = strictObject({
|
|
4834
4843
|
name: text,
|
|
4835
4844
|
token: text,
|
|
@@ -4953,7 +4962,7 @@ var stickerInventory = strictObject({
|
|
|
4953
4962
|
url: optional(nullable(text))
|
|
4954
4963
|
});
|
|
4955
4964
|
|
|
4956
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4965
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
4957
4966
|
var actionableError = objectWithRest({
|
|
4958
4967
|
code: text,
|
|
4959
4968
|
message: text,
|
|
@@ -4970,7 +4979,7 @@ var batchResult = strictObject({
|
|
|
4970
4979
|
max_error_percent: count
|
|
4971
4980
|
});
|
|
4972
4981
|
|
|
4973
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4982
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
4974
4983
|
var conversationBuild = strictObject({
|
|
4975
4984
|
chat: id,
|
|
4976
4985
|
messages: count,
|
|
@@ -4995,13 +5004,13 @@ var catchUpPreparation = strictObject({
|
|
|
4995
5004
|
prepared: optional(conversationPreparation)
|
|
4996
5005
|
});
|
|
4997
5006
|
|
|
4998
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5007
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
4999
5008
|
import { spawn } from "node:child_process";
|
|
5000
5009
|
import { randomBytes } from "node:crypto";
|
|
5001
5010
|
import { closeSync, existsSync as existsSync2, mkdirSync, openSync, readdirSync, readFileSync as readFileSync2, realpathSync, rmSync as rmSync2 } from "node:fs";
|
|
5002
5011
|
import { dirname, join as join2 } from "node:path";
|
|
5003
5012
|
|
|
5004
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5013
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
5005
5014
|
import { existsSync, readFileSync, rmSync } from "node:fs";
|
|
5006
5015
|
import { join } from "node:path";
|
|
5007
5016
|
var PART = /^[\w@+-][\w.@+-]{0,99}$/;
|
|
@@ -5041,7 +5050,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
5041
5050
|
};
|
|
5042
5051
|
}, "progressOf");
|
|
5043
5052
|
|
|
5044
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5053
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
5045
5054
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
5046
5055
|
const run = currentRun();
|
|
5047
5056
|
const trace = traceId ?? run.traceId;
|
|
@@ -5055,7 +5064,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
5055
5064
|
}));
|
|
5056
5065
|
}, "recordLogFor");
|
|
5057
5066
|
|
|
5058
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5067
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
5059
5068
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
5060
5069
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
5061
5070
|
const out = openSync(log, "a", 384);
|
|
@@ -5210,7 +5219,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
5210
5219
|
return { job: id6, pid, chat: input.chat, log };
|
|
5211
5220
|
}, "startArchiveJob");
|
|
5212
5221
|
|
|
5213
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5222
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
5214
5223
|
var problem = strictObject({ code: text, message: text });
|
|
5215
5224
|
var job = strictObject({
|
|
5216
5225
|
id,
|
|
@@ -5233,7 +5242,7 @@ var job = strictObject({
|
|
|
5233
5242
|
error: optional(problem)
|
|
5234
5243
|
});
|
|
5235
5244
|
|
|
5236
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5245
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
5237
5246
|
var extractionItem = strictObject({
|
|
5238
5247
|
ref: reference,
|
|
5239
5248
|
attachment: count,
|
|
@@ -5266,7 +5275,7 @@ var extractionReport = strictObject({
|
|
|
5266
5275
|
cursor: optional(text)
|
|
5267
5276
|
});
|
|
5268
5277
|
|
|
5269
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5278
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
5270
5279
|
var savedMessageFile = strictObject({
|
|
5271
5280
|
kind: text,
|
|
5272
5281
|
path: text,
|
|
@@ -5353,7 +5362,7 @@ var messageSyncAll = strictObject({
|
|
|
5353
5362
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
5354
5363
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
5355
5364
|
|
|
5356
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5365
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
5357
5366
|
var range = strictObject({ from: number(), to: number() });
|
|
5358
5367
|
var storeChatStatus = strictObject({
|
|
5359
5368
|
chat_id: id,
|
|
@@ -5451,7 +5460,7 @@ var storeJobRetry = union([
|
|
|
5451
5460
|
]);
|
|
5452
5461
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
5453
5462
|
|
|
5454
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5463
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
5455
5464
|
var account = strictObject({
|
|
5456
5465
|
provider: text,
|
|
5457
5466
|
id,
|
|
@@ -5461,7 +5470,7 @@ var account = strictObject({
|
|
|
5461
5470
|
scope: optional(picklist(["personal", "work"]))
|
|
5462
5471
|
});
|
|
5463
5472
|
|
|
5464
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5473
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
5465
5474
|
var accountSession = strictObject({
|
|
5466
5475
|
current: boolean(),
|
|
5467
5476
|
client: nullable(text),
|
|
@@ -5471,7 +5480,7 @@ var accountSession = strictObject({
|
|
|
5471
5480
|
created_at: optional(nullable(time))
|
|
5472
5481
|
});
|
|
5473
5482
|
|
|
5474
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5483
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
5475
5484
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
5476
5485
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
5477
5486
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -5500,7 +5509,7 @@ var accountRemoval = strictObject({
|
|
|
5500
5509
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
5501
5510
|
});
|
|
5502
5511
|
|
|
5503
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5512
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
5504
5513
|
var accountProfile = strictObject({
|
|
5505
5514
|
profile: id,
|
|
5506
5515
|
current: boolean(),
|
|
@@ -5512,7 +5521,7 @@ var accountProfile = strictObject({
|
|
|
5512
5521
|
bot: optional(literal(true))
|
|
5513
5522
|
});
|
|
5514
5523
|
|
|
5515
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5524
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
5516
5525
|
var milliseconds = pipe(number(), minValue(0));
|
|
5517
5526
|
var counterReading = strictObject({
|
|
5518
5527
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -5524,7 +5533,7 @@ var counterReading = strictObject({
|
|
|
5524
5533
|
});
|
|
5525
5534
|
var selection = record(string(), unknown());
|
|
5526
5535
|
|
|
5527
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5536
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
5528
5537
|
var adminRow = strictObject({
|
|
5529
5538
|
ref: reference,
|
|
5530
5539
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -5577,7 +5586,7 @@ var adminReport = strictObject({
|
|
|
5577
5586
|
rows: array(adminRow)
|
|
5578
5587
|
});
|
|
5579
5588
|
|
|
5580
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5589
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
5581
5590
|
var closeSuggestion = strictObject({
|
|
5582
5591
|
as: picklist(["done", "dismissed"]),
|
|
5583
5592
|
/** The agent's name. */
|
|
@@ -5639,7 +5648,7 @@ var task = strictObject({
|
|
|
5639
5648
|
updated_at: optional(time)
|
|
5640
5649
|
});
|
|
5641
5650
|
|
|
5642
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5651
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
5643
5652
|
var agendaChat = strictObject({
|
|
5644
5653
|
chat: reference,
|
|
5645
5654
|
title: nullable(text),
|
|
@@ -5709,11 +5718,11 @@ var agenda = strictObject({
|
|
|
5709
5718
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
5710
5719
|
});
|
|
5711
5720
|
|
|
5712
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5721
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
5713
5722
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
5714
5723
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
5715
5724
|
|
|
5716
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5725
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
5717
5726
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
5718
5727
|
var attachmentBytes = strictObject({
|
|
5719
5728
|
ref: reference,
|
|
@@ -5744,7 +5753,7 @@ var attachmentTextChange = strictObject({
|
|
|
5744
5753
|
text: optional(text)
|
|
5745
5754
|
});
|
|
5746
5755
|
|
|
5747
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5756
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
5748
5757
|
var chart = strictObject({
|
|
5749
5758
|
version: literal(1),
|
|
5750
5759
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -5759,7 +5768,7 @@ var chart = strictObject({
|
|
|
5759
5768
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
5760
5769
|
});
|
|
5761
5770
|
|
|
5762
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5771
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
5763
5772
|
var named = strictObject({
|
|
5764
5773
|
id,
|
|
5765
5774
|
title: nullable(text),
|
|
@@ -5782,7 +5791,7 @@ var folder = strictObject({
|
|
|
5782
5791
|
excluded_chats: optional(array(named))
|
|
5783
5792
|
});
|
|
5784
5793
|
|
|
5785
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5794
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
5786
5795
|
var inviteLink = strictObject({
|
|
5787
5796
|
link: text,
|
|
5788
5797
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -5798,7 +5807,7 @@ var inviteLink = strictObject({
|
|
|
5798
5807
|
joined_count: optional(count)
|
|
5799
5808
|
});
|
|
5800
5809
|
|
|
5801
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5810
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
5802
5811
|
var operated = { operation_id: id, chat_id: id };
|
|
5803
5812
|
var group = strictObject({
|
|
5804
5813
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -5878,7 +5887,7 @@ var chatFolderOrder = strictObject({
|
|
|
5878
5887
|
folders: array(strictObject({ id, title: text }))
|
|
5879
5888
|
});
|
|
5880
5889
|
|
|
5881
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5890
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
5882
5891
|
var operated2 = { operation_id: id, chat_id: id };
|
|
5883
5892
|
var chatRemoval = strictObject(operated2);
|
|
5884
5893
|
var chatMuting = strictObject({
|
|
@@ -5889,7 +5898,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
5889
5898
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
5890
5899
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
5891
5900
|
|
|
5892
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5901
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
5893
5902
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
5894
5903
|
var chatEvent = strictObject({
|
|
5895
5904
|
chat_id: id,
|
|
@@ -5906,7 +5915,7 @@ var chatEvent = strictObject({
|
|
|
5906
5915
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
5907
5916
|
});
|
|
5908
5917
|
|
|
5909
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5918
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
5910
5919
|
var chatMetadata = strictObject({
|
|
5911
5920
|
chat_id: id,
|
|
5912
5921
|
title: nullable(text),
|
|
@@ -5921,7 +5930,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
5921
5930
|
has_more: boolean()
|
|
5922
5931
|
});
|
|
5923
5932
|
|
|
5924
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5933
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
5925
5934
|
var action = picklist(["report", "delete", "remove"]);
|
|
5926
5935
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
5927
5936
|
var chatRules = strictObject({
|
|
@@ -5958,7 +5967,17 @@ var chatModeration = strictObject({
|
|
|
5958
5967
|
}))
|
|
5959
5968
|
});
|
|
5960
5969
|
|
|
5961
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5970
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/chat-sending.js
|
|
5971
|
+
var chatSending = strictObject({
|
|
5972
|
+
mode: picklist(["allowed", "ask", "denied"]),
|
|
5973
|
+
meaning: text,
|
|
5974
|
+
/** When the owner last set it; `null` while it is the default, ask. */
|
|
5975
|
+
since: nullable(time),
|
|
5976
|
+
/** `set` only: whether this run changed it. */
|
|
5977
|
+
changed: optional(boolean())
|
|
5978
|
+
});
|
|
5979
|
+
|
|
5980
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
5962
5981
|
var optionalCount = optional(count);
|
|
5963
5982
|
var minutes = nullable(number());
|
|
5964
5983
|
var chatStats = strictObject({
|
|
@@ -6034,7 +6053,7 @@ var taskStats = strictObject({
|
|
|
6034
6053
|
}))
|
|
6035
6054
|
});
|
|
6036
6055
|
|
|
6037
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6056
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
6038
6057
|
var memberCount = strictObject({
|
|
6039
6058
|
day: pipe(text, isoDate()),
|
|
6040
6059
|
participants: nullable(count),
|
|
@@ -6057,7 +6076,7 @@ var chatTracking = strictObject({
|
|
|
6057
6076
|
tracked: boolean()
|
|
6058
6077
|
});
|
|
6059
6078
|
|
|
6060
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6079
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
6061
6080
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
6062
6081
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
6063
6082
|
var profileFields = {
|
|
@@ -6095,7 +6114,7 @@ var profileFields = {
|
|
|
6095
6114
|
}))
|
|
6096
6115
|
};
|
|
6097
6116
|
|
|
6098
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6117
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
6099
6118
|
var contact = strictObject({
|
|
6100
6119
|
ref: reference,
|
|
6101
6120
|
id,
|
|
@@ -6126,7 +6145,7 @@ var contact = strictObject({
|
|
|
6126
6145
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
6127
6146
|
});
|
|
6128
6147
|
|
|
6129
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6148
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
6130
6149
|
var contactNote = strictObject({
|
|
6131
6150
|
id,
|
|
6132
6151
|
/** The contact, as a `contact:` reference. */
|
|
@@ -6138,13 +6157,13 @@ var contactNote = strictObject({
|
|
|
6138
6157
|
updated_at: time
|
|
6139
6158
|
});
|
|
6140
6159
|
|
|
6141
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6160
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
6142
6161
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
6143
6162
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
6144
6163
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
6145
6164
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
6146
6165
|
|
|
6147
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6166
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
6148
6167
|
var conversation = strictObject({
|
|
6149
6168
|
id,
|
|
6150
6169
|
chat: reference,
|
|
@@ -6159,7 +6178,7 @@ var conversation = strictObject({
|
|
|
6159
6178
|
rules_version: count
|
|
6160
6179
|
});
|
|
6161
6180
|
|
|
6162
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6181
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
6163
6182
|
var conversationDetails = union([
|
|
6164
6183
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
6165
6184
|
message
|
|
@@ -6249,7 +6268,7 @@ var conversationHit = strictObject({
|
|
|
6249
6268
|
stale: boolean()
|
|
6250
6269
|
});
|
|
6251
6270
|
|
|
6252
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6271
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
6253
6272
|
var counters = strictObject({
|
|
6254
6273
|
cutoff: time,
|
|
6255
6274
|
max_age_ms: milliseconds,
|
|
@@ -6279,7 +6298,7 @@ var counterRefresh = strictObject({
|
|
|
6279
6298
|
complete: optional(boolean())
|
|
6280
6299
|
});
|
|
6281
6300
|
|
|
6282
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6301
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
6283
6302
|
var document = strictObject({
|
|
6284
6303
|
ref: reference,
|
|
6285
6304
|
id,
|
|
@@ -6294,7 +6313,7 @@ var document = strictObject({
|
|
|
6294
6313
|
owners: optional(array(text))
|
|
6295
6314
|
});
|
|
6296
6315
|
|
|
6297
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6316
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
6298
6317
|
var documentLink = strictObject({
|
|
6299
6318
|
ref: reference,
|
|
6300
6319
|
url: text,
|
|
@@ -6305,7 +6324,7 @@ var documentLink = strictObject({
|
|
|
6305
6324
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
6306
6325
|
});
|
|
6307
6326
|
|
|
6308
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6327
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
6309
6328
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
6310
6329
|
var contribution = strictObject({
|
|
6311
6330
|
message: evidenceMessage,
|
|
@@ -6335,7 +6354,7 @@ var retentionStay = strictObject({
|
|
|
6335
6354
|
});
|
|
6336
6355
|
var evidence = union([contribution, retentionStay]);
|
|
6337
6356
|
|
|
6338
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6357
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
6339
6358
|
var fact = strictObject({
|
|
6340
6359
|
ref: reference,
|
|
6341
6360
|
id,
|
|
@@ -6366,7 +6385,7 @@ var fact = strictObject({
|
|
|
6366
6385
|
updated_at: time
|
|
6367
6386
|
});
|
|
6368
6387
|
|
|
6369
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6388
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
6370
6389
|
var hit = strictObject({
|
|
6371
6390
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead", ...BUSINESS_KINDS]),
|
|
6372
6391
|
ref: reference,
|
|
@@ -6414,7 +6433,7 @@ var hit = strictObject({
|
|
|
6414
6433
|
untrusted
|
|
6415
6434
|
});
|
|
6416
6435
|
|
|
6417
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6436
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
6418
6437
|
var identity = strictObject({
|
|
6419
6438
|
ref: reference,
|
|
6420
6439
|
provider: text,
|
|
@@ -6430,7 +6449,7 @@ var identity = strictObject({
|
|
|
6430
6449
|
person: optional(nullable(reference))
|
|
6431
6450
|
});
|
|
6432
6451
|
|
|
6433
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6452
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
6434
6453
|
var imageEmbedding = strictObject({
|
|
6435
6454
|
model: text,
|
|
6436
6455
|
embedded: count,
|
|
@@ -6439,7 +6458,7 @@ var imageEmbedding = strictObject({
|
|
|
6439
6458
|
more: boolean()
|
|
6440
6459
|
});
|
|
6441
6460
|
|
|
6442
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6461
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
6443
6462
|
var joinRequest = strictObject({
|
|
6444
6463
|
person_id: id,
|
|
6445
6464
|
name: nullable(text),
|
|
@@ -6450,7 +6469,7 @@ var joinRequest = strictObject({
|
|
|
6450
6469
|
about: optional(text)
|
|
6451
6470
|
});
|
|
6452
6471
|
|
|
6453
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6472
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
6454
6473
|
var pollVote = strictObject({
|
|
6455
6474
|
person_id: id,
|
|
6456
6475
|
name: nullable(text),
|
|
@@ -6460,7 +6479,7 @@ var pollVote = strictObject({
|
|
|
6460
6479
|
voted_at: time
|
|
6461
6480
|
});
|
|
6462
6481
|
|
|
6463
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6482
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
6464
6483
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
6465
6484
|
var observation = strictObject({
|
|
6466
6485
|
value: pipe(number(), minValue(0)),
|
|
@@ -6502,7 +6521,7 @@ var serveSummary = strictObject({
|
|
|
6502
6521
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
6503
6522
|
});
|
|
6504
6523
|
|
|
6505
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6524
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
6506
6525
|
var mailCounts = strictObject({
|
|
6507
6526
|
by: picklist(["day", "week", "sender"]),
|
|
6508
6527
|
received: count,
|
|
@@ -6517,7 +6536,7 @@ var mailCounts = strictObject({
|
|
|
6517
6536
|
}))
|
|
6518
6537
|
});
|
|
6519
6538
|
|
|
6520
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6539
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
6521
6540
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
6522
6541
|
var base = { id, evidence: array(evidence2) };
|
|
6523
6542
|
var finding = variant("kind", [
|
|
@@ -6661,7 +6680,7 @@ var mailFindings = strictObject({
|
|
|
6661
6680
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
6662
6681
|
});
|
|
6663
6682
|
|
|
6664
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6683
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
6665
6684
|
var mediaArchive = strictObject({
|
|
6666
6685
|
directory: text,
|
|
6667
6686
|
chats: count,
|
|
@@ -6693,7 +6712,7 @@ var mediaArchiveTimer = union([
|
|
|
6693
6712
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
6694
6713
|
]);
|
|
6695
6714
|
|
|
6696
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6715
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
6697
6716
|
var preparationId = pipe(string(), minLength(1));
|
|
6698
6717
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
6699
6718
|
var preparationTime = nullable(isoTime);
|
|
@@ -6785,7 +6804,7 @@ var preparationMeeting = strictObject({
|
|
|
6785
6804
|
updated_at: isoTime
|
|
6786
6805
|
});
|
|
6787
6806
|
|
|
6788
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6807
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
6789
6808
|
var meetingEvidence = preparationEvidence;
|
|
6790
6809
|
var meetingPersonContext = strictObject({
|
|
6791
6810
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -6807,7 +6826,7 @@ var meetingPersonContext = strictObject({
|
|
|
6807
6826
|
})
|
|
6808
6827
|
});
|
|
6809
6828
|
|
|
6810
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6829
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
6811
6830
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
6812
6831
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
6813
6832
|
var finding2 = variant("kind", [
|
|
@@ -6845,7 +6864,7 @@ var meetingFindings = strictObject({
|
|
|
6845
6864
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
6846
6865
|
});
|
|
6847
6866
|
|
|
6848
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6867
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
6849
6868
|
var communicationCoverage = strictObject({
|
|
6850
6869
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
6851
6870
|
query: string(),
|
|
@@ -6890,7 +6909,7 @@ var preparationCommunications = strictObject({
|
|
|
6890
6909
|
}))
|
|
6891
6910
|
});
|
|
6892
6911
|
|
|
6893
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6912
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
6894
6913
|
var meetingPreparation = strictObject({
|
|
6895
6914
|
communications: optional(preparationCommunications),
|
|
6896
6915
|
schema_version: literal(1),
|
|
@@ -7003,7 +7022,7 @@ var meetingPreparation = strictObject({
|
|
|
7003
7022
|
})
|
|
7004
7023
|
});
|
|
7005
7024
|
|
|
7006
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7025
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
7007
7026
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
7008
7027
|
var id3 = pipe(string(), minLength(1));
|
|
7009
7028
|
var text3 = string();
|
|
@@ -7067,7 +7086,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
7067
7086
|
})
|
|
7068
7087
|
});
|
|
7069
7088
|
|
|
7070
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7089
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
7071
7090
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
7072
7091
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
7073
7092
|
var meetingSeriesInventory = strictObject({
|
|
@@ -7097,7 +7116,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
7097
7116
|
})
|
|
7098
7117
|
});
|
|
7099
7118
|
|
|
7100
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7119
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
7101
7120
|
var text4 = string();
|
|
7102
7121
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
7103
7122
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -7114,7 +7133,7 @@ var meetingTaskProposal = strictObject({
|
|
|
7114
7133
|
persistence: literal("proposal-only")
|
|
7115
7134
|
});
|
|
7116
7135
|
|
|
7117
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7136
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
7118
7137
|
var memory = strictObject({
|
|
7119
7138
|
ref: reference,
|
|
7120
7139
|
id,
|
|
@@ -7142,7 +7161,7 @@ var memory = strictObject({
|
|
|
7142
7161
|
updated_at: time
|
|
7143
7162
|
});
|
|
7144
7163
|
|
|
7145
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7164
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
7146
7165
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
7147
7166
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
7148
7167
|
var mention = strictObject({
|
|
@@ -7186,13 +7205,13 @@ var mentionRebuild = strictObject({
|
|
|
7186
7205
|
mentions: count
|
|
7187
7206
|
});
|
|
7188
7207
|
|
|
7189
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7208
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
7190
7209
|
var operated3 = { operation_id: id, chat_id: id };
|
|
7191
7210
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
7192
7211
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
7193
7212
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
7194
7213
|
|
|
7195
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7214
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
7196
7215
|
var messageTranscript = strictObject({
|
|
7197
7216
|
message_id: id,
|
|
7198
7217
|
text,
|
|
@@ -7250,7 +7269,7 @@ var evidencePacket = strictObject({
|
|
|
7250
7269
|
}))
|
|
7251
7270
|
});
|
|
7252
7271
|
|
|
7253
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7272
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
7254
7273
|
var messageThread = strictObject({
|
|
7255
7274
|
ref: reference,
|
|
7256
7275
|
chat: id,
|
|
@@ -7267,7 +7286,7 @@ var messageThread = strictObject({
|
|
|
7267
7286
|
});
|
|
7268
7287
|
var messageContext = union([message, messageThread]);
|
|
7269
7288
|
|
|
7270
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7289
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
7271
7290
|
var messageCounts = strictObject({
|
|
7272
7291
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
7273
7292
|
total: count,
|
|
@@ -7280,7 +7299,7 @@ var messageCounts = strictObject({
|
|
|
7280
7299
|
}))
|
|
7281
7300
|
});
|
|
7282
7301
|
|
|
7283
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7302
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
7284
7303
|
var messageLink = strictObject({
|
|
7285
7304
|
ref: reference,
|
|
7286
7305
|
url: nullable(text),
|
|
@@ -7297,7 +7316,7 @@ var messageLink = strictObject({
|
|
|
7297
7316
|
})))
|
|
7298
7317
|
});
|
|
7299
7318
|
|
|
7300
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7319
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
7301
7320
|
var messageWrite = strictObject({
|
|
7302
7321
|
operation_id: id,
|
|
7303
7322
|
message,
|
|
@@ -7312,7 +7331,7 @@ var draftWrite = strictObject({
|
|
|
7312
7331
|
});
|
|
7313
7332
|
var messageSend = union([messageWrite, draftWrite]);
|
|
7314
7333
|
|
|
7315
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7334
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
7316
7335
|
var model = strictObject({
|
|
7317
7336
|
id,
|
|
7318
7337
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -7347,7 +7366,7 @@ var chosenModel = strictObject({
|
|
|
7347
7366
|
estimate_seconds: nullable(count)
|
|
7348
7367
|
});
|
|
7349
7368
|
|
|
7350
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7369
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
7351
7370
|
var source = picklist(["environment", "keyring", "file"]);
|
|
7352
7371
|
var modelKey = strictObject({
|
|
7353
7372
|
provider: text,
|
|
@@ -7357,7 +7376,7 @@ var modelKey = strictObject({
|
|
|
7357
7376
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
7358
7377
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
7359
7378
|
|
|
7360
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7379
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
7361
7380
|
var versus = strictObject({ current: number(), previous: number() });
|
|
7362
7381
|
var person = { person_ref: reference, name: nullable(text) };
|
|
7363
7382
|
var graph = strictObject({
|
|
@@ -7391,14 +7410,14 @@ var officialStats = strictObject({
|
|
|
7391
7410
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
7392
7411
|
});
|
|
7393
7412
|
|
|
7394
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7413
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
7395
7414
|
var person2 = strictObject({
|
|
7396
7415
|
ref: reference,
|
|
7397
7416
|
name: nullable(text),
|
|
7398
7417
|
identities: optional(array(identity))
|
|
7399
7418
|
});
|
|
7400
7419
|
|
|
7401
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7420
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
7402
7421
|
var poll = strictObject({
|
|
7403
7422
|
chat_id: id,
|
|
7404
7423
|
message_id: id,
|
|
@@ -7414,11 +7433,11 @@ var poll = strictObject({
|
|
|
7414
7433
|
});
|
|
7415
7434
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
7416
7435
|
|
|
7417
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7436
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
7418
7437
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
7419
7438
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
7420
7439
|
|
|
7421
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7440
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
7422
7441
|
var figures = record(string(), number());
|
|
7423
7442
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
7424
7443
|
var rankingRow = strictObject({
|
|
@@ -7465,7 +7484,7 @@ var ranking = strictObject({
|
|
|
7465
7484
|
rows: array(rankingRow)
|
|
7466
7485
|
});
|
|
7467
7486
|
|
|
7468
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7487
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
7469
7488
|
var reaction = strictObject({
|
|
7470
7489
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
7471
7490
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -7473,7 +7492,7 @@ var reaction = strictObject({
|
|
|
7473
7492
|
reacted_at: time
|
|
7474
7493
|
});
|
|
7475
7494
|
|
|
7476
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7495
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
7477
7496
|
var reactionChange = strictObject({
|
|
7478
7497
|
operation_id: id,
|
|
7479
7498
|
chat_id: id,
|
|
@@ -7481,7 +7500,7 @@ var reactionChange = strictObject({
|
|
|
7481
7500
|
reaction: nullable(text)
|
|
7482
7501
|
});
|
|
7483
7502
|
|
|
7484
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7503
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
7485
7504
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
7486
7505
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
7487
7506
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -7492,7 +7511,7 @@ var recipientChange = strictObject({
|
|
|
7492
7511
|
...partial(recipientOff).entries
|
|
7493
7512
|
});
|
|
7494
7513
|
|
|
7495
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7514
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
7496
7515
|
var events = array(record(string(), unknown()));
|
|
7497
7516
|
var recordedRun = strictObject({
|
|
7498
7517
|
run_id: id,
|
|
@@ -7564,7 +7583,7 @@ var runHit = strictObject({
|
|
|
7564
7583
|
});
|
|
7565
7584
|
var runLocation = strictObject({ path: text });
|
|
7566
7585
|
|
|
7567
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7586
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
7568
7587
|
var relationship = strictObject({
|
|
7569
7588
|
id,
|
|
7570
7589
|
from: reference,
|
|
@@ -7591,7 +7610,7 @@ var relationship = strictObject({
|
|
|
7591
7610
|
created_at: time
|
|
7592
7611
|
});
|
|
7593
7612
|
|
|
7594
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7613
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
7595
7614
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
7596
7615
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
7597
7616
|
var responseTimes = strictObject({
|
|
@@ -7608,7 +7627,7 @@ var waitingChats = strictObject({
|
|
|
7608
7627
|
by_kind: strictObject({ private: count, group: count })
|
|
7609
7628
|
});
|
|
7610
7629
|
|
|
7611
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7630
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
7612
7631
|
var retentionCohort = strictObject({
|
|
7613
7632
|
/** The first day of the joining day or week. */
|
|
7614
7633
|
cohort: text,
|
|
@@ -7656,7 +7675,7 @@ var retention = strictObject({
|
|
|
7656
7675
|
rows: array(retentionCohort)
|
|
7657
7676
|
});
|
|
7658
7677
|
|
|
7659
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7678
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
7660
7679
|
var savedSearch = strictObject({
|
|
7661
7680
|
id,
|
|
7662
7681
|
/** `null` for a run in the history. */
|
|
@@ -7673,7 +7692,7 @@ var savedSearch = strictObject({
|
|
|
7673
7692
|
});
|
|
7674
7693
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
7675
7694
|
|
|
7676
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7695
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
7677
7696
|
var sendAttempt = strictObject({
|
|
7678
7697
|
at: time,
|
|
7679
7698
|
profile: text,
|
|
@@ -7701,7 +7720,7 @@ var sendAttempt = strictObject({
|
|
|
7701
7720
|
error_code: optional(text)
|
|
7702
7721
|
});
|
|
7703
7722
|
|
|
7704
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7723
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
7705
7724
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
7706
7725
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
7707
7726
|
var infoSchema = strictObject({
|
|
@@ -7931,7 +7950,7 @@ var storeRepair = union([
|
|
|
7931
7950
|
]);
|
|
7932
7951
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
7933
7952
|
|
|
7934
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7953
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
7935
7954
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
7936
7955
|
var storeTable = strictObject({
|
|
7937
7956
|
name: text,
|
|
@@ -7940,7 +7959,7 @@ var storeTable = strictObject({
|
|
|
7940
7959
|
bytes: optional(nullable(count))
|
|
7941
7960
|
});
|
|
7942
7961
|
|
|
7943
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7962
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
7944
7963
|
var tagTarget = variant("type", [
|
|
7945
7964
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
7946
7965
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -7971,7 +7990,7 @@ var automaticTags = strictObject({
|
|
|
7971
7990
|
dry_run: boolean()
|
|
7972
7991
|
});
|
|
7973
7992
|
|
|
7974
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7993
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
7975
7994
|
var tagging = strictObject({
|
|
7976
7995
|
tag: text,
|
|
7977
7996
|
type: picklist(TAG_TYPES),
|
|
@@ -7984,7 +8003,7 @@ var tagging = strictObject({
|
|
|
7984
8003
|
created_at: time
|
|
7985
8004
|
});
|
|
7986
8005
|
|
|
7987
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8006
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
7988
8007
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
7989
8008
|
var taskPair = strictObject({
|
|
7990
8009
|
task: nullable(side),
|
|
@@ -8007,7 +8026,7 @@ var taskPair = strictObject({
|
|
|
8007
8026
|
created_at: time
|
|
8008
8027
|
});
|
|
8009
8028
|
|
|
8010
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8029
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
8011
8030
|
var nullableTime = nullable(time);
|
|
8012
8031
|
var link = strictObject({
|
|
8013
8032
|
id,
|
|
@@ -8181,7 +8200,7 @@ var taskReview = strictObject({
|
|
|
8181
8200
|
untrusted
|
|
8182
8201
|
});
|
|
8183
8202
|
|
|
8184
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8203
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
8185
8204
|
var template = strictObject({
|
|
8186
8205
|
key: text,
|
|
8187
8206
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -8193,7 +8212,7 @@ var template = strictObject({
|
|
|
8193
8212
|
updated_by: nullable(text)
|
|
8194
8213
|
});
|
|
8195
8214
|
|
|
8196
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8215
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
8197
8216
|
var topic = strictObject({
|
|
8198
8217
|
id,
|
|
8199
8218
|
title: text,
|
|
@@ -8207,7 +8226,7 @@ var topic = strictObject({
|
|
|
8207
8226
|
untrusted
|
|
8208
8227
|
});
|
|
8209
8228
|
|
|
8210
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8229
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
8211
8230
|
var ENTITIES = {
|
|
8212
8231
|
sync_progress: progress,
|
|
8213
8232
|
deal,
|
|
@@ -8383,6 +8402,8 @@ var ENTITIES = {
|
|
|
8383
8402
|
meeting_stats: meetingStats,
|
|
8384
8403
|
meeting_counts: meetingCounts,
|
|
8385
8404
|
call_stats: callStats,
|
|
8405
|
+
meeting_tag_change: meetingTagChange,
|
|
8406
|
+
meeting_tagging: meetingTagging,
|
|
8386
8407
|
meeting_speaker: meetingSpeaker,
|
|
8387
8408
|
meeting_participants: meetingParticipants,
|
|
8388
8409
|
meeting_passage: meetingPassage,
|
|
@@ -8459,6 +8480,7 @@ var ENTITIES = {
|
|
|
8459
8480
|
chat_moderation: chatModeration,
|
|
8460
8481
|
"model.chosen": chosenModel,
|
|
8461
8482
|
model_key: modelKey,
|
|
8483
|
+
chat_sending: chatSending,
|
|
8462
8484
|
"model_key.stored": storedModelKey,
|
|
8463
8485
|
"model_key.removed": removedModelKey,
|
|
8464
8486
|
chat_event: chatEvent,
|
|
@@ -8503,7 +8525,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
8503
8525
|
return [name, definition];
|
|
8504
8526
|
})), "entityDefinitions");
|
|
8505
8527
|
|
|
8506
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8528
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
8507
8529
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
8508
8530
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
8509
8531
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -8537,7 +8559,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
8537
8559
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
8538
8560
|
}, "answerRow");
|
|
8539
8561
|
|
|
8540
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8562
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
8541
8563
|
var where = [{ field: "ref" }];
|
|
8542
8564
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
8543
8565
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -8629,7 +8651,7 @@ var STATUS_ROWS = {
|
|
|
8629
8651
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
8630
8652
|
};
|
|
8631
8653
|
|
|
8632
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8654
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
8633
8655
|
var TEXT_CHARS = 400;
|
|
8634
8656
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
8635
8657
|
var messageRow = {
|
|
@@ -8997,7 +9019,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
8997
9019
|
return lines.concat(footerOf(body)).join("\n");
|
|
8998
9020
|
}, "compactText");
|
|
8999
9021
|
|
|
9000
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9022
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
9001
9023
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
9002
9024
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
9003
9025
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -9035,7 +9057,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
9035
9057
|
progress: "sync.progress"
|
|
9036
9058
|
};
|
|
9037
9059
|
|
|
9038
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9060
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
9039
9061
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
9040
9062
|
const recording = startRecording(options);
|
|
9041
9063
|
try {
|
|
@@ -9250,7 +9272,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
9250
9272
|
return void 0;
|
|
9251
9273
|
}, "partialOutcome");
|
|
9252
9274
|
|
|
9253
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9275
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
|
|
9254
9276
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
9255
9277
|
var requests = new AsyncLocalStorage();
|
|
9256
9278
|
var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
|
|
@@ -9265,7 +9287,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
|
|
|
9265
9287
|
return direct;
|
|
9266
9288
|
}, "exitCodeSet");
|
|
9267
9289
|
|
|
9268
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9290
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
9269
9291
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
9270
9292
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
9271
9293
|
messageId: message2.id,
|
|
@@ -9371,7 +9393,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
9371
9393
|
}, "guardedWrite");
|
|
9372
9394
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
9373
9395
|
|
|
9374
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9396
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
9375
9397
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
9376
9398
|
if (ms2 === void 0)
|
|
9377
9399
|
return body();
|
|
@@ -9397,7 +9419,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
9397
9419
|
}
|
|
9398
9420
|
}, "withDeadline");
|
|
9399
9421
|
|
|
9400
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9422
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
9401
9423
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
9402
9424
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
9403
9425
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -9580,7 +9602,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
9580
9602
|
}
|
|
9581
9603
|
}, "withAbort");
|
|
9582
9604
|
|
|
9583
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9605
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
9584
9606
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
9585
9607
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
9586
9608
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -9606,12 +9628,12 @@ var takesProfile = /* @__PURE__ */ __name((command) => {
|
|
|
9606
9628
|
return top !== void 0 && !PROFILE_FREE.has(top.name());
|
|
9607
9629
|
}, "takesProfile");
|
|
9608
9630
|
var commandWords = /* @__PURE__ */ __name((program2) => /* @__PURE__ */ new Set(["help", ...program2.commands.flatMap((command) => [command.name(), ...command.aliases()])]), "commandWords");
|
|
9609
|
-
var liftProfile = /* @__PURE__ */ __name((argv,
|
|
9631
|
+
var liftProfile = /* @__PURE__ */ __name((argv, words, valued = /* @__PURE__ */ new Set()) => {
|
|
9610
9632
|
let at2 = 0;
|
|
9611
9633
|
while (argv[at2]?.startsWith("-") && argv[at2] !== "--")
|
|
9612
9634
|
at2 += valued.has(argv[at2]) ? 2 : 1;
|
|
9613
9635
|
const first2 = argv[at2];
|
|
9614
|
-
if (first2 === void 0 || first2.startsWith("-") ||
|
|
9636
|
+
if (first2 === void 0 || first2.startsWith("-") || words.has(first2))
|
|
9615
9637
|
return { rest: argv };
|
|
9616
9638
|
return { profile: first2, rest: [...argv.slice(0, at2), ...argv.slice(at2 + 1)] };
|
|
9617
9639
|
}, "liftProfile");
|
|
@@ -9634,9 +9656,9 @@ var runGroup = /* @__PURE__ */ __name((app, env, word) => {
|
|
|
9634
9656
|
return { name: lock, from: LOCK, locked: true };
|
|
9635
9657
|
}, "runGroup");
|
|
9636
9658
|
var valuedOptions = /* @__PURE__ */ __name((program2) => new Set(program2.options.filter((option) => option.required).flatMap((option) => [option.long, option.short].filter((flag2) => flag2 !== void 0))), "valuedOptions");
|
|
9637
|
-
var refuseCommandName = /* @__PURE__ */ __name((profile,
|
|
9638
|
-
if (
|
|
9639
|
-
throw new CliError("validation_error", `"${profile}" is a command, so \`${command} ${profile} \u2026\` would always mean the command and never this profile. Pick a name that is not one of: ` + [...
|
|
9659
|
+
var refuseCommandName = /* @__PURE__ */ __name((profile, words, command) => {
|
|
9660
|
+
if (words.has(profile)) {
|
|
9661
|
+
throw new CliError("validation_error", `"${profile}" is a command, so \`${command} ${profile} \u2026\` would always mean the command and never this profile. Pick a name that is not one of: ` + [...words].sort().join(", "));
|
|
9640
9662
|
}
|
|
9641
9663
|
}, "refuseCommandName");
|
|
9642
9664
|
var rootOf = /* @__PURE__ */ __name((command) => {
|
|
@@ -9667,82 +9689,13 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
9667
9689
|
return void 0;
|
|
9668
9690
|
}, "sampleCommand");
|
|
9669
9691
|
|
|
9670
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9671
|
-
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
9672
|
-
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
9673
|
-
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
9674
|
-
model: optional(pipe(string(), trim(), minLength(1), maxLength(200))),
|
|
9675
|
-
base_url: optional(pipe(string(), check((value) => endpoint(value), "use an HTTP/S endpoint without credentials, query or fragment")))
|
|
9676
|
-
}));
|
|
9677
|
-
var resolveModelSettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
9678
|
-
const configured = layers.map(([from, scope]) => [from, scope?.models ?? {}]);
|
|
9679
|
-
const purposes = /* @__PURE__ */ new Set([
|
|
9680
|
-
"default",
|
|
9681
|
-
"analysis",
|
|
9682
|
-
"replies",
|
|
9683
|
-
...configured.flatMap(([, models2]) => Object.keys(models2))
|
|
9684
|
-
]);
|
|
9685
|
-
for (const name of Object.keys(env)) {
|
|
9686
|
-
const match = new RegExp(`^${prefix}_MODELS_([A-Z][A-Z0-9_]*)_(PROVIDER|MODEL|BASE_URL)$`).exec(name);
|
|
9687
|
-
if (match?.[1])
|
|
9688
|
-
purposes.add(match[1].toLowerCase().replaceAll("_", "-"));
|
|
9689
|
-
}
|
|
9690
|
-
const models = {};
|
|
9691
|
-
const sources = {};
|
|
9692
|
-
for (const purpose of purposes) {
|
|
9693
|
-
const resolved = {};
|
|
9694
|
-
for (const field of MODEL_FIELDS) {
|
|
9695
|
-
const variable = `${prefix}_MODELS_${purpose.replaceAll("-", "_").toUpperCase()}_${field.toUpperCase()}`;
|
|
9696
|
-
const candidates = [
|
|
9697
|
-
[variable, env[variable]?.trim() || void 0],
|
|
9698
|
-
...configured.map(([from, model3]) => [
|
|
9699
|
-
`${from}: models.${purpose}.${field}`,
|
|
9700
|
-
model3[purpose]?.[field]
|
|
9701
|
-
]),
|
|
9702
|
-
...purpose === "default" ? [] : [
|
|
9703
|
-
[
|
|
9704
|
-
`${prefix}_MODELS_DEFAULT_${field.toUpperCase()}`,
|
|
9705
|
-
env[`${prefix}_MODELS_DEFAULT_${field.toUpperCase()}`]?.trim() || void 0
|
|
9706
|
-
],
|
|
9707
|
-
...configured.map(([from, model3]) => [
|
|
9708
|
-
`${from}: models.default.${field}`,
|
|
9709
|
-
model3.default?.[field]
|
|
9710
|
-
])
|
|
9711
|
-
]
|
|
9712
|
-
];
|
|
9713
|
-
const selected = candidates.find(([, value]) => value !== void 0);
|
|
9714
|
-
if (selected)
|
|
9715
|
-
resolved[field] = selected[1];
|
|
9716
|
-
sources[`models.${purpose}.${field}`] = selected?.[0] ?? "default";
|
|
9717
|
-
}
|
|
9718
|
-
if (Object.keys(resolved).length)
|
|
9719
|
-
models[purpose] = resolved;
|
|
9720
|
-
}
|
|
9721
|
-
const checked = safeParse(modelSettingsShape, models);
|
|
9722
|
-
if (!checked.success)
|
|
9723
|
-
throw new CliError("configuration_error", `models.${getDotPath(checked.issues[0]) ?? "settings"} is invalid`);
|
|
9724
|
-
return { models: checked.output, sources };
|
|
9725
|
-
}, "resolveModelSettings");
|
|
9726
|
-
var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
9727
|
-
const configured = { ...settings.models?.default, ...settings.models?.[purpose] };
|
|
9728
|
-
if (configured.provider === void 0 || configured.provider === "off")
|
|
9729
|
-
return void 0;
|
|
9730
|
-
if (!configured.model)
|
|
9731
|
-
throw new CliError("configuration_error", `set models.${purpose}.model before calling its provider`);
|
|
9732
|
-
return {
|
|
9733
|
-
provider: configured.provider,
|
|
9734
|
-
model: configured.model,
|
|
9735
|
-
...configured.base_url === void 0 ? {} : { baseUrl: configured.base_url }
|
|
9736
|
-
};
|
|
9737
|
-
}, "modelTarget");
|
|
9738
|
-
|
|
9739
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
9692
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
9740
9693
|
var model2 = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
9741
|
-
var
|
|
9694
|
+
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
9742
9695
|
var AI_FIELDS = {
|
|
9743
9696
|
embeddingProvider: optional(picklist(["local", "openai"])),
|
|
9744
9697
|
embeddingModel: optional(model2),
|
|
9745
|
-
embeddingBaseUrl: optional(
|
|
9698
|
+
embeddingBaseUrl: optional(url),
|
|
9746
9699
|
embeddingDims: optional(pipe(number(), integer(), minValue(1), maxValue(65536))),
|
|
9747
9700
|
models: optional(modelSettingsShape)
|
|
9748
9701
|
};
|
|
@@ -9780,7 +9733,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
9780
9733
|
};
|
|
9781
9734
|
}, "resolveAISettings");
|
|
9782
9735
|
|
|
9783
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9736
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
9784
9737
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
9785
9738
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
9786
9739
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -9794,296 +9747,19 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
9794
9747
|
return ms2;
|
|
9795
9748
|
}, "parseDuration");
|
|
9796
9749
|
|
|
9797
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9798
|
-
import { existsSync as existsSync3 } from "node:fs";
|
|
9750
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
9751
|
+
import { existsSync as existsSync3, readdirSync as readdirSync2, readFileSync as readFileSync3 } from "node:fs";
|
|
9799
9752
|
import { join as join3 } from "node:path";
|
|
9800
|
-
var
|
|
9801
|
-
var e5 = huggingFace("Xenova/multilingual-e5-small", "761b726dd34fb83930e26aab4e9ac3899aa1fa78");
|
|
9802
|
-
var e5Large = huggingFace("Xenova/multilingual-e5-large", "00fc3aeb3dbb95842de2ac1961d33c6319acf57b");
|
|
9803
|
-
var gemma = huggingFace("onnx-community/embeddinggemma-300m-ONNX", "5090578d9565bb06545b4552f76e6bc2c93e4a66");
|
|
9804
|
-
var TEXT_MODELS = [
|
|
9805
|
-
{
|
|
9806
|
-
id: "e5-small",
|
|
9807
|
-
title: "multilingual-e5-small, 8-bit",
|
|
9808
|
-
size: "small",
|
|
9809
|
-
languages: "about 100 languages, Russian and English among them",
|
|
9810
|
-
licence: "MIT",
|
|
9811
|
-
dims: 384,
|
|
9812
|
-
maxTokens: 512,
|
|
9813
|
-
// 100k-message corpus, one 8-thread session on Ryzen AI 9 HX 470: 31–32 chunks/s.
|
|
9814
|
-
chunksPerSecond: 31,
|
|
9815
|
-
pooling: "mean",
|
|
9816
|
-
prefix: { query: "query: ", passage: "passage: " },
|
|
9817
|
-
onnx: "onnx/model_quantized.onnx",
|
|
9818
|
-
files: [
|
|
9819
|
-
{
|
|
9820
|
-
name: "onnx/model_quantized.onnx",
|
|
9821
|
-
url: e5("onnx/model_quantized.onnx"),
|
|
9822
|
-
sha256: "f80102d3f2a1229f387d3c81909990d8945513e347b0eab049f7de3c6f98c193",
|
|
9823
|
-
bytes: 118308185
|
|
9824
|
-
},
|
|
9825
|
-
{
|
|
9826
|
-
name: "tokenizer.json",
|
|
9827
|
-
url: e5("tokenizer.json"),
|
|
9828
|
-
sha256: "0b44a9d7b51c3c62626640cda0e2c2f70fdacdc25bbbd68038369d14ebdf4c39",
|
|
9829
|
-
bytes: 17082730
|
|
9830
|
-
},
|
|
9831
|
-
{
|
|
9832
|
-
name: "tokenizer_config.json",
|
|
9833
|
-
url: e5("tokenizer_config.json"),
|
|
9834
|
-
sha256: "a1d6bc8734a6f635dc158508bef000f8e2e5a759c7d92f984b2c86e5ff53425b",
|
|
9835
|
-
bytes: 443
|
|
9836
|
-
}
|
|
9837
|
-
]
|
|
9838
|
-
},
|
|
9839
|
-
{
|
|
9840
|
-
id: "embeddinggemma",
|
|
9841
|
-
title: "EmbeddingGemma 300M, 4-bit",
|
|
9842
|
-
size: "medium",
|
|
9843
|
-
languages: "over 100 languages \u2014 the best of the two on chat, about seven times slower",
|
|
9844
|
-
licence: "Gemma Terms of Use",
|
|
9845
|
-
terms: "https://ai.google.dev/gemma/terms",
|
|
9846
|
-
// Gemma Terms of Use §3.1: every copy carries this notice and the use restrictions of §3.2.
|
|
9847
|
-
notice: "Gemma is provided under and subject to the Gemma Terms of Use found at ai.google.dev/gemma/terms. Its use is restricted by the Gemma Prohibited Use Policy: https://ai.google.dev/gemma/prohibited_use_policy",
|
|
9848
|
-
dims: 768,
|
|
9849
|
-
maxTokens: 2048,
|
|
9850
|
-
// 2026-11-08, 1,200-character chunks, 8 threads on the Ryzen AI 9 HX 470: 8.3 chunks/s against e5-small's 52.7, so
|
|
9851
|
-
// 5 on the scale e5-small's 31 sets. It was 2, which held a memo sync to 39 chunks.
|
|
9852
|
-
chunksPerSecond: 5,
|
|
9853
|
-
pooling: "sentence_embedding",
|
|
9854
|
-
prefix: { query: "task: search result | query: ", passage: "title: none | text: " },
|
|
9855
|
-
onnx: "onnx/model_q4.onnx",
|
|
9856
|
-
externalData: "onnx/model_q4.onnx_data",
|
|
9857
|
-
files: [
|
|
9858
|
-
{
|
|
9859
|
-
name: "onnx/model_q4.onnx",
|
|
9860
|
-
url: gemma("onnx/model_q4.onnx"),
|
|
9861
|
-
sha256: "ad1dfee81a70f7944b9b9d1cc6e48075b832881cf33fab2f2b248be78f3f0043",
|
|
9862
|
-
bytes: 519322
|
|
9863
|
-
},
|
|
9864
|
-
{
|
|
9865
|
-
name: "onnx/model_q4.onnx_data",
|
|
9866
|
-
url: gemma("onnx/model_q4.onnx_data"),
|
|
9867
|
-
sha256: "599962c3143b040de2dd05e5975be3e9091dd067cacc6a8f7186e3203bab9e02",
|
|
9868
|
-
bytes: 196725760
|
|
9869
|
-
},
|
|
9870
|
-
{
|
|
9871
|
-
name: "tokenizer.json",
|
|
9872
|
-
url: gemma("tokenizer.json"),
|
|
9873
|
-
sha256: "4dda02faaf32bc91031dc8c88457ac272b00c1016cc679757d1c441b248b9c47",
|
|
9874
|
-
bytes: 20323312
|
|
9875
|
-
},
|
|
9876
|
-
{
|
|
9877
|
-
name: "tokenizer_config.json",
|
|
9878
|
-
url: gemma("tokenizer_config.json"),
|
|
9879
|
-
sha256: "3ca953eea6c3c9fcda9cf3df22949ff18b216f7c74bd6459230f3f1013953f3a",
|
|
9880
|
-
bytes: 1156830
|
|
9881
|
-
}
|
|
9882
|
-
]
|
|
9883
|
-
},
|
|
9884
|
-
{
|
|
9885
|
-
id: "e5-large",
|
|
9886
|
-
title: "multilingual-e5-large, 8-bit",
|
|
9887
|
-
size: "large",
|
|
9888
|
-
languages: "about 100 languages, Russian and English among them \u2014 reads better than e5-small, several times slower",
|
|
9889
|
-
licence: "MIT",
|
|
9890
|
-
dims: 1024,
|
|
9891
|
-
maxTokens: 512,
|
|
9892
|
-
// 2026-11-07, one 8-thread session on the Ryzen AI 9 HX 470 while other benchmarks ran: 3.4 chunks/s.
|
|
9893
|
-
chunksPerSecond: 4,
|
|
9894
|
-
pooling: "mean",
|
|
9895
|
-
prefix: { query: "query: ", passage: "passage: " },
|
|
9896
|
-
onnx: "onnx/model_quantized.onnx",
|
|
9897
|
-
files: [
|
|
9898
|
-
{
|
|
9899
|
-
name: "onnx/model_quantized.onnx",
|
|
9900
|
-
url: e5Large("onnx/model_quantized.onnx"),
|
|
9901
|
-
sha256: "0a8d65db9a36f810ba5da15249f13145fcdc7890e6656f1fd38cd8b7c4db1fca",
|
|
9902
|
-
bytes: 561768762
|
|
9903
|
-
},
|
|
9904
|
-
{
|
|
9905
|
-
name: "tokenizer.json",
|
|
9906
|
-
url: e5Large("tokenizer.json"),
|
|
9907
|
-
sha256: "62c24cdc13d4c9952d63718d6c9fa4c287974249e16b7ade6d5a85e7bbb75626",
|
|
9908
|
-
bytes: 17082660
|
|
9909
|
-
},
|
|
9910
|
-
{
|
|
9911
|
-
name: "tokenizer_config.json",
|
|
9912
|
-
url: e5Large("tokenizer_config.json"),
|
|
9913
|
-
sha256: "efb5c0d09722e5fe59a462cd2a9976ee216d55b037597d997cd3fe833216da15",
|
|
9914
|
-
bytes: 418
|
|
9915
|
-
}
|
|
9916
|
-
]
|
|
9917
|
-
}
|
|
9918
|
-
];
|
|
9919
|
-
var DEFAULT_TEXT_MODEL = "embeddinggemma";
|
|
9920
|
-
var PREVIOUS_DEFAULT_TEXT_MODEL = "e5-small";
|
|
9921
|
-
var SECTION = "text_models";
|
|
9922
|
-
var slug = pipe(string(), regex(/^[a-z0-9][a-z0-9._-]{0,62}$/, "is not a model id: a-z, 0-9, . _ -"));
|
|
9923
|
-
var words = pipe(string(), trim(), minLength(1), maxLength(300));
|
|
9924
|
-
var fileName = pipe(string(), check((name) => /^[\w.-]+(\/[\w.-]+)*$/.test(name) && !name.split("/").some((part) => part === ".." || part === "."), "is not a file inside the model's folder"));
|
|
9925
|
-
var modelFile = strictObject({
|
|
9926
|
-
name: fileName,
|
|
9927
|
-
url: pipe(string(), url(), startsWith("https://", "has to be an https address")),
|
|
9928
|
-
sha256: pipe(string(), regex(/^[0-9a-f]{64}$/, "has to be a sha256 in hex")),
|
|
9929
|
-
bytes: pipe(number(), integer(), minValue(1))
|
|
9930
|
-
});
|
|
9931
|
-
var CustomTextModelShape = pipe(strictObject({
|
|
9932
|
-
id: slug,
|
|
9933
|
-
title: words,
|
|
9934
|
-
languages: words,
|
|
9935
|
-
licence: words,
|
|
9936
|
-
terms: optional(pipe(string(), url())),
|
|
9937
|
-
dims: pipe(number(), integer(), minValue(1), maxValue(8192)),
|
|
9938
|
-
maxTokens: pipe(number(), integer(), minValue(16), maxValue(32768)),
|
|
9939
|
-
chunksPerSecond: optional(pipe(number(), minValue(0.01))),
|
|
9940
|
-
pooling: picklist(["mean", "sentence_embedding"]),
|
|
9941
|
-
prefix: strictObject({
|
|
9942
|
-
query: pipe(string(), maxLength(200)),
|
|
9943
|
-
passage: pipe(string(), maxLength(200))
|
|
9944
|
-
}),
|
|
9945
|
-
onnx: fileName,
|
|
9946
|
-
externalData: optional(fileName),
|
|
9947
|
-
files: pipe(array(modelFile), minLength(1), maxLength(16))
|
|
9948
|
-
}), check((model3) => !TEXT_MODELS.some((one) => one.id === model3.id), "takes the id of a model this version ships; choose another"), check((model3) => {
|
|
9949
|
-
const names = model3.files.map(({ name }) => name);
|
|
9950
|
-
return [model3.onnx, model3.externalData, "tokenizer.json", "tokenizer_config.json"].every((name) => name === void 0 || names.includes(name));
|
|
9951
|
-
}, "has to list its onnx file, its external data and tokenizer.json and tokenizer_config.json among files"));
|
|
9952
|
-
var TextModelsSection = strictObject({
|
|
9953
|
-
use: optional(slug),
|
|
9954
|
-
custom: optional(array(CustomTextModelShape))
|
|
9955
|
-
});
|
|
9956
|
-
var textModelsFile = /* @__PURE__ */ __name((env = process.env) => sharedConfigPath(storePath(env), env), "textModelsFile");
|
|
9957
|
-
var readTextModelsSection = /* @__PURE__ */ __name((env = process.env) => {
|
|
9958
|
-
const path2 = textModelsFile(env);
|
|
9959
|
-
const section2 = readSharedSection(path2, SECTION);
|
|
9960
|
-
if (section2 === void 0)
|
|
9961
|
-
return {};
|
|
9962
|
-
const checked = safeParse(TextModelsSection, section2);
|
|
9963
|
-
if (!checked.success) {
|
|
9964
|
-
const issue = checked.issues[0];
|
|
9965
|
-
const at2 = issue ? getDotPath(issue) : null;
|
|
9966
|
-
throw new CliError("configuration_error", `${path2}: ${SECTION}${at2 ? `.${at2}` : ""} ${issue?.message ?? "is not valid"}`);
|
|
9967
|
-
}
|
|
9968
|
-
const ids = checked.output.custom?.map(({ id: id6 }) => id6) ?? [];
|
|
9969
|
-
const twice = ids.find((id6, at2) => ids.indexOf(id6) !== at2);
|
|
9970
|
-
if (twice)
|
|
9971
|
-
throw new CliError("configuration_error", `${path2}: ${SECTION}.custom names ${twice} twice`);
|
|
9972
|
-
return checked.output;
|
|
9973
|
-
}, "readTextModelsSection");
|
|
9974
|
-
var writeTextModelsSection = /* @__PURE__ */ __name((section2, env = process.env) => writeSharedSection(textModelsFile(env), SECTION, section2.use === void 0 && !section2.custom?.length ? void 0 : section2), "writeTextModelsSection");
|
|
9975
|
-
var textModels = /* @__PURE__ */ __name((env = process.env) => [
|
|
9976
|
-
...TEXT_MODELS,
|
|
9977
|
-
...(readTextModelsSection(env).custom ?? []).map((model3) => ({ ...model3, custom: true }))
|
|
9978
|
-
], "textModels");
|
|
9979
|
-
var textModel = /* @__PURE__ */ __name((id6, env = process.env) => {
|
|
9980
|
-
const known = textModels(env);
|
|
9981
|
-
const found = known.find((model3) => model3.id === id6);
|
|
9982
|
-
if (!found) {
|
|
9983
|
-
throw new CliError("validation_error", `no text model ${id6} \u2014 one of: ${known.map((model3) => model3.id).join(", ")}`);
|
|
9984
|
-
}
|
|
9985
|
-
return found;
|
|
9986
|
-
}, "textModel");
|
|
9987
|
-
var downloaded = /* @__PURE__ */ __name((id6, env) => {
|
|
9988
|
-
const model3 = TEXT_MODELS.find((one) => one.id === id6);
|
|
9989
|
-
const directory = sharedModelsDirectory("text", env);
|
|
9990
|
-
return model3 !== void 0 && filesPresent(model3.files.map((file) => [file, join3(directory, model3.id, file.name)]));
|
|
9991
|
-
}, "downloaded");
|
|
9992
|
-
var chosenTextModel = /* @__PURE__ */ __name((env = process.env) => {
|
|
9993
|
-
const use = readTextModelsSection(env).use;
|
|
9994
|
-
if (use !== void 0)
|
|
9995
|
-
return { id: use, from: "chosen" };
|
|
9996
|
-
const kept = !downloaded(DEFAULT_TEXT_MODEL, env) && existsSync3(join3(sharedModelsDirectory("text", env), PREVIOUS_DEFAULT_TEXT_MODEL));
|
|
9997
|
-
return { id: kept ? PREVIOUS_DEFAULT_TEXT_MODEL : DEFAULT_TEXT_MODEL, from: "default" };
|
|
9998
|
-
}, "chosenTextModel");
|
|
9999
|
-
var mmarco = huggingFace("cross-encoder/mmarco-mMiniLMv2-L12-H384-v1", "1427fd652930e4ba29e8149678df786c240d8825");
|
|
10000
|
-
var bge = huggingFace("onnx-community/bge-reranker-v2-m3-ONNX", "6f5ff65298512715a1e669753bc754d2bc8f367b");
|
|
10001
|
-
var RERANK_MODELS = [
|
|
10002
|
-
{
|
|
10003
|
-
id: "mmarco",
|
|
10004
|
-
title: "mMARCO mMiniLMv2-L12 cross-encoder, 8-bit",
|
|
10005
|
-
languages: "about 100 languages, Russian and English among them",
|
|
10006
|
-
licence: "Apache-2.0",
|
|
10007
|
-
maxTokens: 512,
|
|
10008
|
-
// The x86 name is the quantizer's target; WebAssembly and native ONNX Runtime both run it on any processor.
|
|
10009
|
-
onnx: "onnx/model_quint8_avx2.onnx",
|
|
10010
|
-
files: [
|
|
10011
|
-
{
|
|
10012
|
-
name: "onnx/model_quint8_avx2.onnx",
|
|
10013
|
-
url: mmarco("onnx/model_quint8_avx2.onnx"),
|
|
10014
|
-
sha256: "6c2513767fb63d008a4377bef7a7a3555433d9436342bb53e35a3a72ffc52d4b",
|
|
10015
|
-
bytes: 118620016
|
|
10016
|
-
},
|
|
10017
|
-
{
|
|
10018
|
-
name: "tokenizer.json",
|
|
10019
|
-
url: mmarco("tokenizer.json"),
|
|
10020
|
-
sha256: "62c24cdc13d4c9952d63718d6c9fa4c287974249e16b7ade6d5a85e7bbb75626",
|
|
10021
|
-
bytes: 17082660
|
|
10022
|
-
},
|
|
10023
|
-
{
|
|
10024
|
-
name: "tokenizer_config.json",
|
|
10025
|
-
url: mmarco("tokenizer_config.json"),
|
|
10026
|
-
sha256: "e7fbfbfa6347b4e414c1cee50d142e2c2f9a895dad68b068ae83a8b564c3837e",
|
|
10027
|
-
bytes: 435
|
|
10028
|
-
}
|
|
10029
|
-
]
|
|
10030
|
-
},
|
|
10031
|
-
{
|
|
10032
|
-
id: "bge-reranker-v2-m3",
|
|
10033
|
-
title: "BGE reranker v2 m3, 8-bit",
|
|
10034
|
-
languages: "over 100 languages \u2014 better than mmarco in the benchmark, about seven times slower",
|
|
10035
|
-
licence: "Apache-2.0 (BAAI's; the ONNX export declares none)",
|
|
10036
|
-
maxTokens: 512,
|
|
10037
|
-
onnx: "onnx/model_quantized.onnx",
|
|
10038
|
-
files: [
|
|
10039
|
-
{
|
|
10040
|
-
name: "onnx/model_quantized.onnx",
|
|
10041
|
-
url: bge("onnx/model_quantized.onnx"),
|
|
10042
|
-
sha256: "912fc1215c2dbff6499700534bd8d31253af01573861abbfc43afd1fab6cce5d",
|
|
10043
|
-
bytes: 570727094
|
|
10044
|
-
},
|
|
10045
|
-
{
|
|
10046
|
-
name: "tokenizer.json",
|
|
10047
|
-
url: bge("tokenizer.json"),
|
|
10048
|
-
sha256: "8bf8afbfd11306bd872018c53bfdf2e160a56f8edbcf49933324404791c148d3",
|
|
10049
|
-
bytes: 17082900
|
|
10050
|
-
},
|
|
10051
|
-
{
|
|
10052
|
-
name: "tokenizer_config.json",
|
|
10053
|
-
url: bge("tokenizer_config.json"),
|
|
10054
|
-
sha256: "b87c8703482b0300d3da30e201519aa641f6a450f5eb5bf1e624afbf70c74d80",
|
|
10055
|
-
bytes: 1203
|
|
10056
|
-
}
|
|
10057
|
-
]
|
|
10058
|
-
}
|
|
10059
|
-
];
|
|
10060
|
-
var DEFAULT_RERANK_MODEL = "mmarco";
|
|
10061
|
-
var rerankModel = /* @__PURE__ */ __name((id6) => {
|
|
10062
|
-
const found = RERANK_MODELS.find((model3) => model3.id === id6);
|
|
10063
|
-
if (!found) {
|
|
10064
|
-
throw new CliError("validation_error", `no reranker ${id6} \u2014 one of: ${RERANK_MODELS.map((model3) => model3.id).join(", ")}`);
|
|
10065
|
-
}
|
|
10066
|
-
return found;
|
|
10067
|
-
}, "rerankModel");
|
|
10068
|
-
var vectorModelKey = /* @__PURE__ */ __name((model3) => {
|
|
10069
|
-
const weights = model3.custom ? model3.files.find(({ name }) => name === model3.onnx)?.sha256.slice(0, 12) : void 0;
|
|
10070
|
-
return `local:${model3.id}${weights ? `@${weights}` : ""}:${model3.dims}`;
|
|
10071
|
-
}, "vectorModelKey");
|
|
10072
|
-
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
10073
|
-
|
|
10074
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
10075
|
-
import { existsSync as existsSync4, readdirSync as readdirSync2, readFileSync as readFileSync3 } from "node:fs";
|
|
10076
|
-
import { join as join4 } from "node:path";
|
|
10077
|
-
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join4(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
9753
|
+
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
10078
9754
|
var botFiles = /* @__PURE__ */ __name((app, profile, env = process.env) => {
|
|
10079
9755
|
const directory = botsDirectory(app, env);
|
|
10080
9756
|
return {
|
|
10081
|
-
registry:
|
|
10082
|
-
recipients:
|
|
10083
|
-
journal:
|
|
10084
|
-
updates:
|
|
10085
|
-
presses:
|
|
10086
|
-
checks:
|
|
9757
|
+
registry: join3(directory, `${profile}.json`),
|
|
9758
|
+
recipients: join3(directory, "recipients", `${profile}.json`),
|
|
9759
|
+
journal: join3(directory, "sends", `${profile}.jsonl`),
|
|
9760
|
+
updates: join3(directory, "updates", `${profile}.json`),
|
|
9761
|
+
presses: join3(directory, "presses", `${profile}.json`),
|
|
9762
|
+
checks: join3(directory, "checks", `${profile}.json`)
|
|
10087
9763
|
};
|
|
10088
9764
|
}, "botFiles");
|
|
10089
9765
|
var ChatRegistry = class {
|
|
@@ -10110,7 +9786,7 @@ var ChatRegistry = class {
|
|
|
10110
9786
|
}
|
|
10111
9787
|
/** Makes this bot known to `bot list` before it has seen any chat. */
|
|
10112
9788
|
touch() {
|
|
10113
|
-
if (!
|
|
9789
|
+
if (!existsSync3(this.#path))
|
|
10114
9790
|
writeSecurely(this.#path, `${JSON.stringify({ chats: [] }, null, 2)}
|
|
10115
9791
|
`, 384);
|
|
10116
9792
|
}
|
|
@@ -10139,7 +9815,7 @@ var ChatRegistry = class {
|
|
|
10139
9815
|
this.#write({ ...this.#read(), chats: [...byId.values()] });
|
|
10140
9816
|
}
|
|
10141
9817
|
#read() {
|
|
10142
|
-
if (!
|
|
9818
|
+
if (!existsSync3(this.#path))
|
|
10143
9819
|
return {};
|
|
10144
9820
|
try {
|
|
10145
9821
|
const parsed = JSON.parse(readFileSync3(this.#path, "utf8"));
|
|
@@ -10155,12 +9831,12 @@ var ChatRegistry = class {
|
|
|
10155
9831
|
};
|
|
10156
9832
|
var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
10157
9833
|
const directory = botsDirectory(app, env);
|
|
10158
|
-
if (!
|
|
9834
|
+
if (!existsSync3(directory))
|
|
10159
9835
|
return [];
|
|
10160
9836
|
return readdirSync2(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
10161
9837
|
}, "registryProfiles");
|
|
10162
9838
|
|
|
10163
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9839
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
10164
9840
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
10165
9841
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10166
9842
|
var SECTIONS = ["personal", "bot"];
|
|
@@ -10456,20 +10132,20 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
10456
10132
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
10457
10133
|
}, "readConfigFile");
|
|
10458
10134
|
|
|
10459
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10460
|
-
import { existsSync as
|
|
10461
|
-
import { dirname as dirname2, join as
|
|
10135
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
10136
|
+
import { existsSync as existsSync4, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync3, writeFileSync } from "node:fs";
|
|
10137
|
+
import { dirname as dirname2, join as join4 } from "node:path";
|
|
10462
10138
|
var DEFAULT_CONFIG = {
|
|
10463
10139
|
defaults: { limit: 20, keep_runs_for_days: 30, sends_per_hour: 30, update_check: true, skill_hint: true },
|
|
10464
10140
|
profiles: {}
|
|
10465
10141
|
};
|
|
10466
10142
|
function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
10467
|
-
if (
|
|
10143
|
+
if (existsSync4(path2))
|
|
10468
10144
|
return;
|
|
10469
10145
|
const directory = dirname2(path2);
|
|
10470
10146
|
mkdirSync2(directory, { recursive: true, mode: 448 });
|
|
10471
|
-
const temporary = mkdtempSync(
|
|
10472
|
-
const candidate =
|
|
10147
|
+
const temporary = mkdtempSync(join4(directory, ".config-"));
|
|
10148
|
+
const candidate = join4(temporary, "config.json");
|
|
10473
10149
|
try {
|
|
10474
10150
|
writeFileSync(candidate, `${JSON.stringify(config, null, 2)}
|
|
10475
10151
|
`, { flag: "wx", mode: 384 });
|
|
@@ -10485,10 +10161,10 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
10485
10161
|
}
|
|
10486
10162
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
10487
10163
|
|
|
10488
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10489
|
-
import { existsSync as
|
|
10490
|
-
import { join as
|
|
10491
|
-
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) =>
|
|
10164
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
10165
|
+
import { existsSync as existsSync5, readdirSync as readdirSync3, readFileSync as readFileSync5 } from "node:fs";
|
|
10166
|
+
import { join as join5 } from "node:path";
|
|
10167
|
+
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join5(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
10492
10168
|
var rememberAccount = /* @__PURE__ */ __name((app, profile, id6, env) => writeSecurely(accountFileFor(app, profile, env), `${JSON.stringify({ account: id6 })}
|
|
10493
10169
|
`, 384), "rememberAccount");
|
|
10494
10170
|
var recalledAccount = /* @__PURE__ */ __name((app, provider, profile, env) => {
|
|
@@ -10500,14 +10176,14 @@ var recalledAccount = /* @__PURE__ */ __name((app, provider, profile, env) => {
|
|
|
10500
10176
|
}
|
|
10501
10177
|
}, "recalledAccount");
|
|
10502
10178
|
var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
10503
|
-
const dir =
|
|
10504
|
-
if (!
|
|
10179
|
+
const dir = join5(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts");
|
|
10180
|
+
if (!existsSync5(dir))
|
|
10505
10181
|
return [];
|
|
10506
10182
|
return readdirSync3(dir).filter((name) => name.endsWith(".json")).map((name) => name.slice(0, -".json".length));
|
|
10507
10183
|
}, "profilesWithAccounts");
|
|
10508
10184
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
10509
10185
|
|
|
10510
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10186
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
10511
10187
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10512
10188
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
10513
10189
|
const path2 = key.split(".");
|
|
@@ -10540,10 +10216,10 @@ var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((settin
|
|
|
10540
10216
|
};
|
|
10541
10217
|
}), "settingRows");
|
|
10542
10218
|
|
|
10543
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10544
|
-
import { existsSync as
|
|
10219
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
10220
|
+
import { existsSync as existsSync6 } from "node:fs";
|
|
10545
10221
|
|
|
10546
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10222
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
10547
10223
|
var HISTORY_MAX_DAYS = 1095;
|
|
10548
10224
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
10549
10225
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -10590,7 +10266,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
10590
10266
|
return { batch: { ...batch, messages }, skipped };
|
|
10591
10267
|
}, "limitBatch");
|
|
10592
10268
|
|
|
10593
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10269
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
10594
10270
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
10595
10271
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
10596
10272
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -10743,8 +10419,8 @@ var NoProfileHere = class extends CliError {
|
|
|
10743
10419
|
this.app = app;
|
|
10744
10420
|
}
|
|
10745
10421
|
/** `words`: the command that was typed, without its arguments, so the suggestion runs as written. */
|
|
10746
|
-
withoutSetup(
|
|
10747
|
-
const command =
|
|
10422
|
+
withoutSetup(words) {
|
|
10423
|
+
const command = words ? `${this.app.command} personal ${words}` : `${this.app.command} personal \u2026`;
|
|
10748
10424
|
return new CliError("validation_error", `name a profile: there is none on this computer yet \u2014 any name works, such as \`${command}\` (or set ${envName(this.app, "PROFILE")})`, { profiles: [] });
|
|
10749
10425
|
}
|
|
10750
10426
|
};
|
|
@@ -10952,7 +10628,7 @@ var settingsFor = /* @__PURE__ */ __name((app, extension = {}) => {
|
|
|
10952
10628
|
updateCheck: updateCheck.value,
|
|
10953
10629
|
skillHint: skillHint.value,
|
|
10954
10630
|
configPath,
|
|
10955
|
-
configFound:
|
|
10631
|
+
configFound: existsSync6(configPath),
|
|
10956
10632
|
configuredProfiles: namedProfiles(config),
|
|
10957
10633
|
profilesHere: profilesOf(config, env),
|
|
10958
10634
|
accountProfiles: accountsOf(config, env, bots),
|
|
@@ -11116,7 +10792,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
11116
10792
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
11117
10793
|
}, "given");
|
|
11118
10794
|
|
|
11119
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10795
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
11120
10796
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
11121
10797
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
11122
10798
|
var DEFAULT_REQUEST_MS = 2e3;
|
|
@@ -11159,7 +10835,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests: requests2, deadline, request
|
|
|
11159
10835
|
};
|
|
11160
10836
|
}, "runBudget");
|
|
11161
10837
|
|
|
11162
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10838
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
11163
10839
|
var runBudgetOf = /* @__PURE__ */ __name((command, requests2) => {
|
|
11164
10840
|
const { deadline, signal, app } = environmentOf(command);
|
|
11165
10841
|
const now = deadline?.();
|
|
@@ -11199,11 +10875,17 @@ var detailOf = /* @__PURE__ */ __name(({ brief, full }) => {
|
|
|
11199
10875
|
return brief ? { hitDetail: "brief" } : full ? { hitDetail: "full" } : {};
|
|
11200
10876
|
}, "detailOf");
|
|
11201
10877
|
var COMPACT_KEY = new Option(COMPACT_FLAG).attributeName();
|
|
10878
|
+
var outputFieldsOf = /* @__PURE__ */ __name((command) => {
|
|
10879
|
+
const fields = rootOf(command).getOptionValue("fields");
|
|
10880
|
+
return typeof fields === "string" ? { fields } : {};
|
|
10881
|
+
}, "outputFieldsOf");
|
|
11202
10882
|
var compactOf = /* @__PURE__ */ __name((command) => command.optsWithGlobals()[COMPACT_KEY] === true, "compactOf");
|
|
11203
10883
|
var outputFor = /* @__PURE__ */ __name((command) => {
|
|
11204
10884
|
const { streams, tty, env, agent } = environmentOf(command);
|
|
10885
|
+
const { fields: _own, ...flags } = command.optsWithGlobals();
|
|
11205
10886
|
return resolveOutput({
|
|
11206
|
-
...
|
|
10887
|
+
...flags,
|
|
10888
|
+
...outputFieldsOf(command),
|
|
11207
10889
|
...detailOf(command.optsWithGlobals()),
|
|
11208
10890
|
compact: compactOf(command),
|
|
11209
10891
|
...agent ? { capture: agent.result } : {},
|
|
@@ -11221,7 +10903,7 @@ var baseContext = /* @__PURE__ */ __name((command, resolveSettings) => {
|
|
|
11221
10903
|
env,
|
|
11222
10904
|
compact: compactOf(command),
|
|
11223
10905
|
...detailOf(command.optsWithGlobals()),
|
|
11224
|
-
...
|
|
10906
|
+
...outputFieldsOf(command),
|
|
11225
10907
|
...environment.agent ? { capture: environment.agent.result } : {},
|
|
11226
10908
|
...environment.streams ? { streams: environment.streams } : {},
|
|
11227
10909
|
...environment.tty === void 0 ? {} : { tty: environment.tty }
|
|
@@ -11293,13 +10975,13 @@ var inCommandRun = /* @__PURE__ */ __name((command, body) => {
|
|
|
11293
10975
|
return baseContext(command, (flags, options) => resolveSettings(flags, { ...options, needsProfile: false })).run(body);
|
|
11294
10976
|
}, "inCommandRun");
|
|
11295
10977
|
var commandPath = /* @__PURE__ */ __name((command) => {
|
|
11296
|
-
const
|
|
10978
|
+
const words = [];
|
|
11297
10979
|
for (let current2 = command; current2?.parent; current2 = current2.parent)
|
|
11298
|
-
|
|
11299
|
-
return
|
|
10980
|
+
words.unshift(current2.name());
|
|
10981
|
+
return words.join(" ");
|
|
11300
10982
|
}, "commandPath");
|
|
11301
10983
|
|
|
11302
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10984
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
11303
10985
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
11304
10986
|
var FETCH = { remote: "read", local: "write" };
|
|
11305
10987
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -11414,10 +11096,10 @@ var refuseStoreChange = /* @__PURE__ */ __name((app, env) => {
|
|
|
11414
11096
|
throw readOnlyRefusal(lock, storeChangeRefusal(app));
|
|
11415
11097
|
}, "refuseStoreChange");
|
|
11416
11098
|
var pathOf2 = /* @__PURE__ */ __name((command) => {
|
|
11417
|
-
const
|
|
11099
|
+
const words = [];
|
|
11418
11100
|
for (let at2 = command; at2.parent; at2 = at2.parent)
|
|
11419
|
-
|
|
11420
|
-
return
|
|
11101
|
+
words.unshift(at2.name());
|
|
11102
|
+
return words;
|
|
11421
11103
|
}, "pathOf");
|
|
11422
11104
|
var changesMessenger = /* @__PURE__ */ __name((command) => {
|
|
11423
11105
|
const { path: path2, effects, lifetime, reaches } = "path" in command ? command : { path: pathOf2(command), ...metaOf(command) };
|
|
@@ -11451,8 +11133,8 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
11451
11133
|
throw readOnlyRefusal(lock, what);
|
|
11452
11134
|
}, "refuseUnderReadOnly");
|
|
11453
11135
|
|
|
11454
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11455
|
-
import { join as
|
|
11136
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11137
|
+
import { join as join6 } from "node:path";
|
|
11456
11138
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11457
11139
|
var IMAGE_MODELS = [
|
|
11458
11140
|
{
|
|
@@ -11502,10 +11184,10 @@ var imageModel = /* @__PURE__ */ __name((id6) => {
|
|
|
11502
11184
|
return found;
|
|
11503
11185
|
}, "imageModel");
|
|
11504
11186
|
var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("image", env), "imageModelsDirectory");
|
|
11505
|
-
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file,
|
|
11187
|
+
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
|
|
11506
11188
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11507
11189
|
|
|
11508
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11190
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11509
11191
|
var STEPS2 = defineSteps([
|
|
11510
11192
|
...STEPS,
|
|
11511
11193
|
{
|
|
@@ -11742,10 +11424,10 @@ var nextStep = /* @__PURE__ */ __name((id6, input) => {
|
|
|
11742
11424
|
const args = Object.fromEntries(Object.entries(input.args ?? {}).filter(([, value]) => value !== void 0));
|
|
11743
11425
|
return stepOf(definition, { ...input, args });
|
|
11744
11426
|
}, "nextStep");
|
|
11745
|
-
var lineOf = /* @__PURE__ */ __name((command,
|
|
11427
|
+
var lineOf = /* @__PURE__ */ __name((command, words) => {
|
|
11746
11428
|
const root = rootOf2(command);
|
|
11747
11429
|
const profile = root.getOptionValue("profile");
|
|
11748
|
-
return typedCommand(root.name(),
|
|
11430
|
+
return typedCommand(root.name(), words, typeof profile === "string" && profile !== "" ? profile : void 0);
|
|
11749
11431
|
}, "lineOf");
|
|
11750
11432
|
var rootOf2 = /* @__PURE__ */ __name((command) => {
|
|
11751
11433
|
let root = command;
|
|
@@ -11795,7 +11477,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11795
11477
|
].join(" ");
|
|
11796
11478
|
}, "stepLine");
|
|
11797
11479
|
|
|
11798
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11480
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
11799
11481
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
11800
11482
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
11801
11483
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -11821,10 +11503,10 @@ var declaresRow = /* @__PURE__ */ __name((command) => {
|
|
|
11821
11503
|
return rowShapeOf(command, rows2 && entityRows(rows2)) !== GENERIC_ROW;
|
|
11822
11504
|
}, "declaresRow");
|
|
11823
11505
|
var pathOf3 = /* @__PURE__ */ __name((command) => {
|
|
11824
|
-
const
|
|
11506
|
+
const words = [];
|
|
11825
11507
|
for (let at2 = command; at2.parent; at2 = at2.parent)
|
|
11826
|
-
|
|
11827
|
-
return
|
|
11508
|
+
words.unshift(at2.name());
|
|
11509
|
+
return words.join(" ");
|
|
11828
11510
|
}, "pathOf");
|
|
11829
11511
|
var step = /* @__PURE__ */ __name((command, id6, args, why) => ({
|
|
11830
11512
|
kind: "command",
|
|
@@ -11853,7 +11535,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
11853
11535
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
11854
11536
|
}, "largeAnswerSteps");
|
|
11855
11537
|
|
|
11856
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11538
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
11857
11539
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
11858
11540
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
11859
11541
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -11867,7 +11549,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
11867
11549
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
11868
11550
|
}, "strip");
|
|
11869
11551
|
|
|
11870
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11552
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
|
|
11871
11553
|
var OPEN = "\u27E6";
|
|
11872
11554
|
var CLOSE = "\u27E7";
|
|
11873
11555
|
var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -11951,7 +11633,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
|
|
|
11951
11633
|
return result;
|
|
11952
11634
|
}, "withFieldsMarked");
|
|
11953
11635
|
|
|
11954
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11636
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
11955
11637
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
11956
11638
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
11957
11639
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
@@ -12059,8 +11741,8 @@ var linesOf = /* @__PURE__ */ __name((body) => jsonlOf("items" in body ? body :
|
|
|
12059
11741
|
var jsonlRecords = /* @__PURE__ */ __name((body) => linesOf(sealed(body)).split("\n").map((line) => JSON.parse(line)), "jsonlRecords");
|
|
12060
11742
|
var listZone = /* @__PURE__ */ __name((command) => {
|
|
12061
11743
|
const registry = metaOf(command).query;
|
|
12062
|
-
const
|
|
12063
|
-
const text5 = Array.isArray(
|
|
11744
|
+
const words = command.processedArgs.at(-1);
|
|
11745
|
+
const text5 = Array.isArray(words) ? words.join(" ") : typeof words === "string" ? words : "";
|
|
12064
11746
|
const times = new Set(registry?.fields.filter(({ type }) => type === "time").map(({ name }) => name));
|
|
12065
11747
|
if (times.size === 0 || text5.trim() === "")
|
|
12066
11748
|
return void 0;
|
|
@@ -12264,25 +11946,10 @@ export {
|
|
|
12264
11946
|
refuseCommandName,
|
|
12265
11947
|
rootOf,
|
|
12266
11948
|
sampleCommand,
|
|
12267
|
-
modelTarget,
|
|
12268
11949
|
AI_ENTRIES,
|
|
12269
11950
|
AI_SETTING_KEYS,
|
|
12270
11951
|
resolveAISettings,
|
|
12271
11952
|
parseDuration,
|
|
12272
|
-
DEFAULT_TEXT_MODEL,
|
|
12273
|
-
PREVIOUS_DEFAULT_TEXT_MODEL,
|
|
12274
|
-
CustomTextModelShape,
|
|
12275
|
-
textModelsFile,
|
|
12276
|
-
readTextModelsSection,
|
|
12277
|
-
writeTextModelsSection,
|
|
12278
|
-
textModels,
|
|
12279
|
-
textModel,
|
|
12280
|
-
chosenTextModel,
|
|
12281
|
-
RERANK_MODELS,
|
|
12282
|
-
DEFAULT_RERANK_MODEL,
|
|
12283
|
-
rerankModel,
|
|
12284
|
-
vectorModelKey,
|
|
12285
|
-
meaningFloor,
|
|
12286
11953
|
historyWindow,
|
|
12287
11954
|
limitBatch,
|
|
12288
11955
|
botsDirectory,
|
|
@@ -12322,6 +11989,7 @@ export {
|
|
|
12322
11989
|
environmentOf,
|
|
12323
11990
|
withAgentLevels,
|
|
12324
11991
|
secretInputOf,
|
|
11992
|
+
outputFieldsOf,
|
|
12325
11993
|
outputFor,
|
|
12326
11994
|
baseContext,
|
|
12327
11995
|
inCommandRun,
|