@wirecat/zoom-cli 0.79.0 → 0.81.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 +5 -4
- package/contracts/wirecat.json +71 -3
- package/dist/answer-output.d.ts +1 -1
- package/dist/answer-output.js +1 -1
- package/dist/answers.d.ts +44 -0
- package/dist/answers.d.ts.map +1 -1
- package/dist/bin/zm.js +2 -2
- package/dist/bundle/agent-VYAJCJLE.js +45 -0
- package/dist/bundle/{all-profiles-LDSHUH5W.js → all-profiles-3ASMN35R.js} +64 -22
- package/dist/bundle/answer-policy-PTH4F2DW.js +129 -0
- package/dist/bundle/{anthropic-UH3QWA3F.js → anthropic-XXI53VNI.js} +6 -6
- package/dist/bundle/{app-server-LFANTLAJ.js → app-server-B7WLNZNQ.js} +90 -80
- package/dist/bundle/{bun-M3J2QTR3.js → bun-2FLR4IV4.js} +2 -2
- package/dist/bundle/{bun-sqlite-NYP5UH23.js → bun-sqlite-3NNHTOGM.js} +7 -7
- package/dist/bundle/{chunk-RMQ7EALU.js → chunk-2ELGSNX3.js} +17 -17
- package/dist/bundle/{chunk-5RVXXDN7.js → chunk-2GNGR265.js} +1 -1
- package/dist/bundle/{chunk-FMT4CIGN.js → chunk-2RFWRJFK.js} +7 -7
- package/dist/bundle/{chunk-HZRQLAHO.js → chunk-2Z7UOXFC.js} +1 -1
- package/dist/bundle/chunk-337ALCXQ.js +640 -0
- package/dist/bundle/{chunk-2PUMYKGV.js → chunk-35FVYRH5.js} +20 -18
- package/dist/bundle/{chunk-Y64L7A7E.js → chunk-3M436OO2.js} +6 -6
- package/dist/bundle/{chunk-E5WLE7BM.js → chunk-3UX4VJWD.js} +1 -1
- package/dist/bundle/{chunk-P4MZOAPC.js → chunk-437DLSB3.js} +1371 -638
- package/dist/bundle/{chunk-I75KOOUD.js → chunk-46EF6P2J.js} +3 -3
- package/dist/bundle/{chunk-XOYMIEAZ.js → chunk-4B335BCJ.js} +7 -78
- package/dist/bundle/chunk-4BU3LRTB.js +561 -0
- package/dist/bundle/{chunk-LITZ7KPO.js → chunk-4BXLHSXY.js} +2 -2
- package/dist/bundle/{chunk-TUECY6LV.js → chunk-4FSH7K6N.js} +2 -2
- package/dist/bundle/{chunk-W656MRJD.js → chunk-4VOCXLMJ.js} +6 -6
- package/dist/bundle/{chunk-TLO62ROR.js → chunk-4ZXJ4AZW.js} +26 -26
- package/dist/bundle/{chunk-XFMVDQ6J.js → chunk-5EWYDHBH.js} +2 -2
- package/dist/bundle/{chunk-UQKVZFIX.js → chunk-5SEBLX6B.js} +12 -12
- package/dist/bundle/{chunk-HVQVCGME.js → chunk-77TJ3AJH.js} +3 -3
- package/dist/bundle/{chunk-I6VDTYML.js → chunk-7JWVPJIP.js} +10 -10
- package/dist/bundle/{chunk-FPUGMDJV.js → chunk-AV2ZJ4WX.js} +1 -1
- package/dist/bundle/{chunk-PCPOO5FS.js → chunk-AWJQ6FAX.js} +2 -2
- package/dist/bundle/{chunk-NKFEEY5M.js → chunk-B2WBWKYN.js} +12 -12
- package/dist/bundle/{chunk-52ZQ72HL.js → chunk-BQBC2WIG.js} +1 -1
- package/dist/bundle/{chunk-2GI63IPV.js → chunk-BZXHJKKI.js} +3 -3
- package/dist/bundle/{chunk-3QPAD6YI.js → chunk-C4BBCSGK.js} +43 -64
- package/dist/bundle/{chunk-CWXOXIWS.js → chunk-CFQQTDSA.js} +1 -1
- package/dist/bundle/{chunk-OLMEJNL4.js → chunk-D26K6756.js} +6 -6
- package/dist/bundle/{chunk-DI5JX4SD.js → chunk-D7CDHBDX.js} +1 -1
- package/dist/bundle/{chunk-Y4UDPQ3L.js → chunk-DMJLJVD3.js} +7 -7
- package/dist/bundle/{chunk-LCCVEX4R.js → chunk-EEBSKMEA.js} +12 -12
- package/dist/bundle/{chunk-DQVCCO7G.js → chunk-EPASOAEI.js} +184 -165
- package/dist/bundle/{chunk-RUE3WP7K.js → chunk-EWEQ7AXL.js} +45 -23
- package/dist/bundle/{chunk-4T3J4NCF.js → chunk-F2J2FQUB.js} +9 -9
- package/dist/bundle/{chunk-TP7GDWVF.js → chunk-F5ZAN7OC.js} +1 -1
- package/dist/bundle/{chunk-DFCHHR5M.js → chunk-FMMYBVCH.js} +1 -1
- package/dist/bundle/{chunk-XAOSZGTD.js → chunk-FXCR4DGU.js} +1 -1
- package/dist/bundle/{chunk-M5FW654Z.js → chunk-FXZPAGHT.js} +2 -2
- package/dist/bundle/{chunk-5KEOCHBZ.js → chunk-G3DWMG7Y.js} +4 -4
- package/dist/bundle/{chunk-FKA7DOCK.js → chunk-GCAJW4SR.js} +1 -1
- package/dist/bundle/chunk-GDRFVBCB.js +108 -0
- package/dist/bundle/{chunk-WE4UFASG.js → chunk-GPRJXJC7.js} +15 -1
- package/dist/bundle/chunk-GW2A2FJH.js +209 -0
- package/dist/bundle/{chunk-2N57GL4L.js → chunk-HHQROAJQ.js} +1 -1
- package/dist/bundle/{chunk-M4RXPZ6K.js → chunk-HIFPHARA.js} +4 -4
- package/dist/bundle/{chunk-O3DYRCIT.js → chunk-HVXOA4FO.js} +1 -1
- package/dist/bundle/{chunk-ONJPUFLX.js → chunk-IBYGNUO7.js} +1 -1
- package/dist/bundle/{chunk-2W6QGFHF.js → chunk-IDUKCXL7.js} +8 -8
- package/dist/bundle/{chunk-FO5UNFFN.js → chunk-IFM4G4MT.js} +4 -4
- package/dist/bundle/chunk-IVZACJ6X.js +52 -0
- package/dist/bundle/{chunk-XIHENZW6.js → chunk-IYNICUCC.js} +4 -4
- package/dist/bundle/chunk-J5EHZBO5.js +68 -0
- package/dist/bundle/{chunk-FIJREKLA.js → chunk-JK24A3RP.js} +3 -3
- package/dist/bundle/{chunk-73L5R7AS.js → chunk-JKEMW6E4.js} +2 -2
- package/dist/bundle/{chunk-PP6SZLCY.js → chunk-K7CTCDYX.js} +18 -249
- package/dist/bundle/{chunk-63WT3HCY.js → chunk-KZ3B6HW5.js} +3 -3
- package/dist/bundle/{chunk-XDBGGOE2.js → chunk-L2ERFXB7.js} +32 -28
- package/dist/bundle/{chunk-2IPIBDXI.js → chunk-L54I45OX.js} +19 -16
- package/dist/bundle/{chunk-X2M6NIQG.js → chunk-LECMHK2F.js} +1 -1
- package/dist/bundle/{chunk-NQMHYLZO.js → chunk-LGESUPKO.js} +20 -20
- package/dist/bundle/{chunk-SGFNQFP4.js → chunk-LVCCZI5A.js} +71 -61
- package/dist/bundle/chunk-M7OYEMLI.js +340 -0
- package/dist/bundle/{chunk-VX6ZSKXM.js → chunk-MA4UJNUI.js} +12 -12
- package/dist/bundle/{chunk-4S7RUA3U.js → chunk-MBBR7QHI.js} +9333 -8433
- package/dist/bundle/{chunk-BNEJKGG7.js → chunk-N5ROXGY4.js} +78 -76
- package/dist/bundle/{chunk-2LJARGNG.js → chunk-N62P5FY4.js} +12 -12
- package/dist/bundle/{chunk-65DOVVHQ.js → chunk-NM5XMKWO.js} +1 -1
- package/dist/bundle/{chunk-YOBTKYIX.js → chunk-NQGGTO3B.js} +35 -12
- package/dist/bundle/{chunk-W5HRTC6X.js → chunk-NS3JWBDR.js} +6 -6
- package/dist/bundle/{chunk-QIK2IBJ4.js → chunk-NX3BLISW.js} +23 -7
- package/dist/bundle/{chunk-4BQN5IFQ.js → chunk-OEQNP56V.js} +2 -100
- package/dist/bundle/{chunk-5D4AEUVA.js → chunk-PL5P7UKW.js} +434 -1
- package/dist/bundle/{chunk-AWLZZTPW.js → chunk-PS7HQ5LQ.js} +3 -3
- package/dist/bundle/{chunk-J62BQBVG.js → chunk-Q26UFIH4.js} +3 -3
- package/dist/bundle/{chunk-QRKSASGP.js → chunk-QFK52FG6.js} +3 -3
- package/dist/bundle/chunk-QNG27PGH.js +751 -0
- package/dist/bundle/{chunk-T6LA664Z.js → chunk-R4CXFYQN.js} +139 -574
- package/dist/bundle/{chunk-OZQSTX4J.js → chunk-R6HP2XKD.js} +5 -5
- package/dist/bundle/{chunk-GTUBQQU2.js → chunk-RQFRXUI4.js} +77 -67
- package/dist/bundle/{chunk-BTFPDS52.js → chunk-RRYHLP3A.js} +6 -6
- package/dist/bundle/{chunk-HOXBHGP2.js → chunk-SRUAUMBL.js} +12 -12
- package/dist/bundle/{chunk-RJ5JAYNZ.js → chunk-T2BHIC37.js} +65 -65
- package/dist/bundle/{chunk-JJGUHWLB.js → chunk-T7QPZYRZ.js} +7 -7
- package/dist/bundle/{chunk-NI7UYGTF.js → chunk-TI4WJOEX.js} +13 -13
- package/dist/bundle/{chunk-ST3ZB7LS.js → chunk-UHMJSSQO.js} +1 -1
- package/dist/bundle/{chunk-BOVYOUB3.js → chunk-UMPUY77T.js} +10 -10
- package/dist/bundle/{chunk-U7QXC75C.js → chunk-UPR2S5IE.js} +9 -9
- package/dist/bundle/chunk-UUVWAVKN.js +80 -0
- package/dist/bundle/{chunk-2OTETB4A.js → chunk-V3ZTAAJ6.js} +19 -9
- package/dist/bundle/{chunk-QX3PO5UE.js → chunk-VAW7QGJA.js} +3 -3
- package/dist/bundle/{chunk-N5O3XVX3.js → chunk-VQTYJ6XH.js} +3 -3
- package/dist/bundle/{chunk-YCW422X7.js → chunk-VXD65V67.js} +1466 -1544
- package/dist/bundle/{chunk-D264RGZ4.js → chunk-WHXYPLUE.js} +4 -4
- package/dist/bundle/chunk-WIX6BFRF.js +353 -0
- package/dist/bundle/{chunk-P4WHDL2F.js → chunk-WKNYNK7W.js} +4 -4
- package/dist/bundle/{chunk-PJFVE7UH.js → chunk-XWKUGAG6.js} +31 -16
- package/dist/bundle/{chunk-W7HM2VGO.js → chunk-XYQVVW4R.js} +1 -1
- package/dist/bundle/{chunk-RMX2WPWS.js → chunk-Y7XJA4EW.js} +4 -4
- package/dist/bundle/{chunk-Z3CPZ4I4.js → chunk-YIIGF643.js} +306 -306
- package/dist/bundle/{chunk-525BI32C.js → chunk-YISJJNXT.js} +3 -3
- package/dist/bundle/{chunk-AZB6QXZU.js → chunk-YJKXCINQ.js} +51 -4
- package/dist/bundle/{chunk-IIFRJV3A.js → chunk-YNWBRDBX.js} +2 -2
- package/dist/bundle/{chunk-ZPZT46O6.js → chunk-YRDQ54G5.js} +33 -10
- package/dist/bundle/{chunk-W53EJOFQ.js → chunk-YUDVRFXN.js} +1 -1
- package/dist/bundle/{chunk-ND7TBQKO.js → chunk-ZFRYFDZN.js} +2 -2
- package/dist/bundle/{chunk-XEIL6VNA.js → chunk-ZLYICF6A.js} +4 -4
- package/dist/bundle/{chunk-7DTWT7BN.js → chunk-ZMAPXIGC.js} +2 -2
- package/dist/bundle/{chunk-ZKVYV25H.js → chunk-ZNAX7GUV.js} +8 -8
- package/dist/bundle/{cli-AVQU63FT.js → cli-WTGAGSXV.js} +144 -97
- package/dist/bundle/command-contract-3IKVWPDL.js +45 -0
- package/dist/bundle/{command-server-entry-JZP7Y73G.js → command-server-entry-47CAYN3E.js} +35 -35
- package/dist/bundle/config-ZOGOKGTU.js +116 -0
- package/dist/bundle/{decode-JLAYH7GC.js → decode-2G7QS5IQ.js} +6 -6
- package/dist/bundle/{dispatch-AWDROXWN.js → dispatch-ZAP3KBVJ.js} +9 -9
- package/dist/bundle/dist-PAKDDIBT.js +191 -0
- package/dist/bundle/{dist-TBLTUL5M.js → dist-WY6R3WH7.js} +21 -21
- package/dist/bundle/{echarts-FVTUDXDU.js → echarts-YRRVLEX3.js} +2 -2
- package/dist/bundle/{embed-CJRENDF7.js → embed-B5H3OW2O.js} +7 -7
- package/dist/bundle/{embedder-RPE67QJD.js → embedder-3O73SP6Y.js} +10 -10
- package/dist/bundle/{failure-JZW73RP7.js → failure-EYGW7JMC.js} +3 -3
- package/dist/bundle/first-run-MPKMDEMA.js +29 -0
- package/dist/bundle/first-screen-AIAAC3KF.js +45 -0
- package/dist/bundle/{folders-TGFOE7DY.js → folders-4CGFWM6H.js} +5 -5
- package/dist/bundle/{instructions-HET7BCYK.js → instructions-AG7SRWTR.js} +1 -1
- package/dist/bundle/{main-QRJ6NRCD.js → main-DOGY6FJP.js} +24 -24
- package/dist/bundle/{mcp-RGNRW77S.js → mcp-YGOAUNC3.js} +2 -2
- package/dist/bundle/meeting-combined-YKPKTKGA.js +26 -0
- package/dist/bundle/meeting-model-HTXSGHNM.js +26 -0
- package/dist/bundle/{meeting-semantic-4MURLQCA.js → meeting-semantic-FOEBWV3P.js} +8 -8
- package/dist/bundle/{meetings-QFZWKHI4.js → meetings-PVE4C2NF.js} +7 -7
- package/dist/bundle/{node-CXZIFHZC.js → node-GJQYN4FT.js} +2 -2
- package/dist/bundle/{node-sqlite-CZPYFROO.js → node-sqlite-MLRYKVCQ.js} +8 -8
- package/dist/bundle/oauth-AC55C6SG.js +20 -0
- package/dist/bundle/{open-3AONZFET.js → open-3LGTYP6M.js} +6 -6
- package/dist/bundle/openai-E2MSLVIX.js +28 -0
- package/dist/bundle/{output-file-J4SU6X4I.js → output-file-FXMTTLOI.js} +6 -6
- package/dist/bundle/{process-5RUXWGYS.js → process-MEKCZMX3.js} +1 -1
- package/dist/bundle/{program-2O4YSRWY.js → program-E5BSSIGY.js} +166 -156
- package/dist/bundle/{prompt-NDLUFCJV.js → prompt-AIA6QSZK.js} +6 -6
- package/dist/bundle/{recognize-CZOIAJQX.js → recognize-M57VNTEV.js} +5 -5
- package/dist/bundle/{remote-O3CE4Q3B.js → remote-3OTENZ7Z.js} +11 -11
- package/dist/bundle/{rerank-MZOL746K.js → rerank-P5WHDFDU.js} +8 -8
- package/dist/bundle/run-log-EOQ4EQDS.js +143 -0
- package/dist/bundle/{serve-43IBHMFM.js → serve-BRLC2QVV.js} +11 -11
- package/dist/bundle/{server-6LTMPPTO.js → server-25NF7DMS.js} +80 -69
- package/dist/bundle/server-EW2RL2EL.js +93 -0
- package/dist/bundle/{services-UIRD5PHE.js → services-MJE43OGD.js} +54 -52
- package/dist/bundle/{speech-6QVKIJVR.js → speech-4AVCWTQH.js} +28 -28
- package/dist/bundle/{sqlite-runtime-PKCIBVHZ.js → sqlite-runtime-U4TQXWMC.js} +7 -7
- package/dist/bundle/{state-AC55V3IE.js → state-GNUGVMY7.js} +7 -7
- package/dist/bundle/{store-OAGA2ZK3.js → store-KBFZVQWF.js} +33 -24
- package/dist/bundle/{store-QOCYJNKX.js → store-MHVBFUBB.js} +27 -26
- package/dist/bundle/store-connection-SKRUAI4L.js +109 -0
- package/dist/bundle/store-maintenance-command-G6EXJSHJ.js +81 -0
- package/dist/bundle/{streaming-VDJOYGMO.js → streaming-6F7AFEHD.js} +7 -7
- package/dist/bundle/surface-DWEWB5RG.js +79 -0
- package/dist/bundle/{tokens-LN442AO6.js → tokens-BB4MQBLH.js} +11 -10
- package/dist/bundle/zm.js +9 -9
- package/dist/bundle/{zoom-app-TOCQ7LB5.js → zoom-app-YTGOZ2FS.js} +8 -8
- package/dist/commands.d.ts +1 -0
- package/dist/commands.d.ts.map +1 -1
- package/dist/commands.js +8 -2
- package/dist/commands.js.map +1 -1
- package/dist/program-bindings.d.ts.map +1 -1
- package/dist/program-bindings.js +2 -2
- package/dist/program-bindings.js.map +1 -1
- package/dist/setup-commands.d.ts +1 -1
- package/dist/setup-commands.d.ts.map +1 -1
- package/dist/setup-commands.js +31 -5
- package/dist/setup-commands.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/zoom-api/types.d.ts +5 -0
- package/dist/zoom-api/types.d.ts.map +1 -1
- package/package.json +3 -3
- package/dist/bundle/answer-policy-VJK4ID2F.js +0 -122
- package/dist/bundle/chunk-3AFZ6Q5N.js +0 -729
- package/dist/bundle/command-contract-MCWBL5VS.js +0 -45
- package/dist/bundle/config-G3C54VH6.js +0 -109
- package/dist/bundle/first-run-QEASX5J5.js +0 -29
- package/dist/bundle/first-screen-NGCQD3CU.js +0 -45
- package/dist/bundle/meeting-combined-AZXCDXCV.js +0 -26
- package/dist/bundle/meeting-model-7HNQ4I3J.js +0 -26
- package/dist/bundle/oauth-T45MPIZF.js +0 -20
- package/dist/bundle/openai-LHWUXEBO.js +0 -28
- package/dist/bundle/run-log-GX6LNMWY.js +0 -136
- package/dist/bundle/server-3E2PJGYK.js +0 -85
- package/dist/bundle/store-connection-PBZMFY56.js +0 -102
- package/dist/bundle/store-maintenance-command-VBCHEOGI.js +0 -77
|
@@ -3,16 +3,13 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
modelSettingsShape,
|
|
5
5
|
resolveModelSettings
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-IFM4G4MT.js";
|
|
7
7
|
import {
|
|
8
8
|
ancestorValue,
|
|
9
9
|
envName,
|
|
10
10
|
readOnlyLockOf,
|
|
11
11
|
readOnlyRefusal
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import {
|
|
14
|
-
carries
|
|
15
|
-
} from "./chunk-W53EJOFQ.js";
|
|
12
|
+
} from "./chunk-FXZPAGHT.js";
|
|
16
13
|
import {
|
|
17
14
|
currentCaller,
|
|
18
15
|
endpointTemplate,
|
|
@@ -22,10 +19,13 @@ import {
|
|
|
22
19
|
providerErrorKey,
|
|
23
20
|
renderEvent,
|
|
24
21
|
runContextOf
|
|
25
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-T7QPZYRZ.js";
|
|
23
|
+
import {
|
|
24
|
+
carries
|
|
25
|
+
} from "./chunk-YUDVRFXN.js";
|
|
26
26
|
import {
|
|
27
27
|
permissionCeiling
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-ZLYICF6A.js";
|
|
29
29
|
import {
|
|
30
30
|
CEILING_KEY,
|
|
31
31
|
COMMAND_PATH_KEY,
|
|
@@ -39,21 +39,21 @@ import {
|
|
|
39
39
|
permissionOverrides,
|
|
40
40
|
projectFields,
|
|
41
41
|
resolveOutput
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-V3ZTAAJ6.js";
|
|
43
43
|
import {
|
|
44
44
|
note
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-VQTYJ6XH.js";
|
|
46
46
|
import {
|
|
47
47
|
DEFAULT_RERANK_MODEL,
|
|
48
48
|
RERANK_MODELS
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-4VOCXLMJ.js";
|
|
50
50
|
import {
|
|
51
51
|
endpoint
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-77TJ3AJH.js";
|
|
53
53
|
import {
|
|
54
54
|
filesPresent,
|
|
55
55
|
sharedModelsDirectory
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-G3DWMG7Y.js";
|
|
57
57
|
import {
|
|
58
58
|
CATEGORIES,
|
|
59
59
|
FACT_STATUSES,
|
|
@@ -83,7 +83,7 @@ import {
|
|
|
83
83
|
text,
|
|
84
84
|
time,
|
|
85
85
|
untrusted
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-EWEQ7AXL.js";
|
|
87
87
|
import {
|
|
88
88
|
KEEP_STORE_RUNS_FOR_DAYS,
|
|
89
89
|
KEEP_SUCCESSFUL_RUNS_FOR_DAYS,
|
|
@@ -101,11 +101,11 @@ import {
|
|
|
101
101
|
traceOf,
|
|
102
102
|
typedCommand,
|
|
103
103
|
useAsProcessRun
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-D26K6756.js";
|
|
105
105
|
import {
|
|
106
106
|
isCliFailure,
|
|
107
107
|
storeDamaged
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-ZFRYFDZN.js";
|
|
109
109
|
import {
|
|
110
110
|
BUSINESS_KINDS,
|
|
111
111
|
CRM_ACTIVITY_KINDS,
|
|
@@ -120,17 +120,17 @@ import {
|
|
|
120
120
|
ORDER_STATUSES,
|
|
121
121
|
RELATION_KINDS,
|
|
122
122
|
STANDINGS
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-TI4WJOEX.js";
|
|
124
124
|
import {
|
|
125
125
|
TAG_TYPES
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-KZ3B6HW5.js";
|
|
127
127
|
import {
|
|
128
128
|
repairConfigText,
|
|
129
129
|
sharedConfigPath
|
|
130
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-ZNAX7GUV.js";
|
|
131
131
|
import {
|
|
132
132
|
storePath
|
|
133
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-JKEMW6E4.js";
|
|
134
134
|
import {
|
|
135
135
|
FACT_TYPES,
|
|
136
136
|
MEETING_RESULT_ENTITIES,
|
|
@@ -153,14 +153,14 @@ import {
|
|
|
153
153
|
meetingTagging,
|
|
154
154
|
meetingTranscript,
|
|
155
155
|
readsZone
|
|
156
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-T2BHIC37.js";
|
|
157
157
|
import {
|
|
158
158
|
FIELD_TYPES,
|
|
159
159
|
QUERY_BACKENDS,
|
|
160
160
|
describeQuery,
|
|
161
161
|
parseLucene,
|
|
162
162
|
timezoneOf
|
|
163
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-YIIGF643.js";
|
|
164
164
|
import {
|
|
165
165
|
configFilePath,
|
|
166
166
|
createRecordLog,
|
|
@@ -169,7 +169,7 @@ import {
|
|
|
169
169
|
resolvePaths,
|
|
170
170
|
saveConfigFile,
|
|
171
171
|
writeSecurely
|
|
172
|
-
} from "./chunk-
|
|
172
|
+
} from "./chunk-N5ROXGY4.js";
|
|
173
173
|
import {
|
|
174
174
|
COMPACT_FLAG,
|
|
175
175
|
MAX_NEXT_STEPS,
|
|
@@ -220,19 +220,19 @@ import {
|
|
|
220
220
|
unwrap,
|
|
221
221
|
variant,
|
|
222
222
|
writes
|
|
223
|
-
} from "./chunk-
|
|
223
|
+
} from "./chunk-YRDQ54G5.js";
|
|
224
224
|
import {
|
|
225
225
|
CliError,
|
|
226
226
|
isCliError
|
|
227
|
-
} from "./chunk-
|
|
227
|
+
} from "./chunk-UHMJSSQO.js";
|
|
228
228
|
import {
|
|
229
229
|
visibleControls
|
|
230
|
-
} from "./chunk-
|
|
230
|
+
} from "./chunk-2GNGR265.js";
|
|
231
231
|
import {
|
|
232
232
|
__name
|
|
233
233
|
} from "./chunk-ZVVMGPBJ.js";
|
|
234
234
|
|
|
235
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
235
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_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
|
|
236
236
|
var labels = /* @__PURE__ */ new WeakMap();
|
|
237
237
|
var annotate = /* @__PURE__ */ __name((command, meta) => {
|
|
238
238
|
labels.set(command, { ...labels.get(command), ...meta });
|
|
@@ -3733,7 +3733,7 @@ __name(useColor, "useColor");
|
|
|
3733
3733
|
// node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
|
|
3734
3734
|
var program = new Command();
|
|
3735
3735
|
|
|
3736
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3736
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_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
|
|
3737
3737
|
import { isDeepStrictEqual } from "node:util";
|
|
3738
3738
|
var protectedCommands = /* @__PURE__ */ new WeakMap();
|
|
3739
3739
|
var hasSharedContract = /* @__PURE__ */ __name((command) => protectedCommands.has(command), "hasSharedContract");
|
|
@@ -3935,7 +3935,7 @@ var customizeSharedCommand = /* @__PURE__ */ __name((reference2, reason, build,
|
|
|
3935
3935
|
return command;
|
|
3936
3936
|
}, "customizeSharedCommand");
|
|
3937
3937
|
|
|
3938
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3938
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_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
|
|
3939
3939
|
var argumentInfoSchema = object({
|
|
3940
3940
|
name: string(),
|
|
3941
3941
|
required: boolean(),
|
|
@@ -4009,7 +4009,7 @@ var commandsDocumentSchema = strictObject({
|
|
|
4009
4009
|
exit_codes: record(string(), pipe(number(), integer()))
|
|
4010
4010
|
});
|
|
4011
4011
|
|
|
4012
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
4012
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_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
|
|
4013
4013
|
var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
4014
4014
|
let command = root;
|
|
4015
4015
|
const path2 = [];
|
|
@@ -4027,7 +4027,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
|
4027
4027
|
}
|
|
4028
4028
|
}, "refuseJoinedPath");
|
|
4029
4029
|
|
|
4030
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4030
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
4031
4031
|
var WEIGHTS = {
|
|
4032
4032
|
bot: 3,
|
|
4033
4033
|
scam: 3,
|
|
@@ -4052,7 +4052,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
4052
4052
|
var DIGITS = /\d{5,}/;
|
|
4053
4053
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
4054
4054
|
|
|
4055
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4055
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
4056
4056
|
var linkedIdentity = strictObject({
|
|
4057
4057
|
provider: text,
|
|
4058
4058
|
id,
|
|
@@ -4107,7 +4107,7 @@ var contactCheck = strictObject({
|
|
|
4107
4107
|
checked_at: time
|
|
4108
4108
|
});
|
|
4109
4109
|
|
|
4110
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4110
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
4111
4111
|
var member = strictObject({
|
|
4112
4112
|
id,
|
|
4113
4113
|
name: nullable(text),
|
|
@@ -4130,7 +4130,7 @@ var member = strictObject({
|
|
|
4130
4130
|
check: optional(record(string(), unknown()))
|
|
4131
4131
|
});
|
|
4132
4132
|
|
|
4133
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4133
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
4134
4134
|
var setting = optional(nullable(boolean()));
|
|
4135
4135
|
var chat = strictObject({
|
|
4136
4136
|
ref: reference,
|
|
@@ -4171,7 +4171,7 @@ var chat = strictObject({
|
|
|
4171
4171
|
members: optional(array(member))
|
|
4172
4172
|
});
|
|
4173
4173
|
|
|
4174
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4174
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
4175
4175
|
var attachment = strictObject({
|
|
4176
4176
|
/** The message it came with, as a locator; absent inside that message. */
|
|
4177
4177
|
message: optional(reference),
|
|
@@ -4216,7 +4216,7 @@ var hitFile = strictObject({
|
|
|
4216
4216
|
local_path: optional(text)
|
|
4217
4217
|
});
|
|
4218
4218
|
|
|
4219
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4219
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
4220
4220
|
var quoted = strictObject({
|
|
4221
4221
|
id,
|
|
4222
4222
|
sender_id: nullable(id),
|
|
@@ -4335,7 +4335,7 @@ var message = strictObject({
|
|
|
4335
4335
|
provider_metadata: providerMetadata
|
|
4336
4336
|
});
|
|
4337
4337
|
|
|
4338
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4338
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
|
|
4339
4339
|
var recordedMeeting = strictObject({
|
|
4340
4340
|
ref: reference,
|
|
4341
4341
|
meeting_id: count,
|
|
@@ -4352,7 +4352,7 @@ var recordedMeeting = strictObject({
|
|
|
4352
4352
|
call: optional(meetingCall)
|
|
4353
4353
|
});
|
|
4354
4354
|
|
|
4355
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4355
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
4356
4356
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
4357
4357
|
var contextMessage = strictObject({
|
|
4358
4358
|
locator: reference,
|
|
@@ -4558,7 +4558,7 @@ var contactPreparation = strictObject({
|
|
|
4558
4558
|
})
|
|
4559
4559
|
});
|
|
4560
4560
|
|
|
4561
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4561
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
4562
4562
|
var nullableText = nullable(text);
|
|
4563
4563
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
4564
4564
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -4714,7 +4714,7 @@ var stage = strictObject({
|
|
|
4714
4714
|
untrusted
|
|
4715
4715
|
});
|
|
4716
4716
|
|
|
4717
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4717
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/business-context.js
|
|
4718
4718
|
var nullableText2 = nullable(text);
|
|
4719
4719
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
4720
4720
|
var standing = picklist(STANDINGS);
|
|
@@ -4893,7 +4893,7 @@ var dealBrief = strictObject({
|
|
|
4893
4893
|
not_read: coverage2.entries.not_read
|
|
4894
4894
|
});
|
|
4895
4895
|
|
|
4896
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4896
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
4897
4897
|
var botProfile = strictObject({
|
|
4898
4898
|
name: text,
|
|
4899
4899
|
token: text,
|
|
@@ -5017,7 +5017,7 @@ var stickerInventory = strictObject({
|
|
|
5017
5017
|
url: optional(nullable(text))
|
|
5018
5018
|
});
|
|
5019
5019
|
|
|
5020
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5020
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
5021
5021
|
var actionableError = objectWithRest({
|
|
5022
5022
|
code: text,
|
|
5023
5023
|
message: text,
|
|
@@ -5034,7 +5034,7 @@ var batchResult = strictObject({
|
|
|
5034
5034
|
max_error_percent: count
|
|
5035
5035
|
});
|
|
5036
5036
|
|
|
5037
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5037
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
5038
5038
|
var conversationBuild = strictObject({
|
|
5039
5039
|
chat: id,
|
|
5040
5040
|
messages: count,
|
|
@@ -5059,13 +5059,13 @@ var catchUpPreparation = strictObject({
|
|
|
5059
5059
|
prepared: optional(conversationPreparation)
|
|
5060
5060
|
});
|
|
5061
5061
|
|
|
5062
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5062
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
5063
5063
|
import { spawn } from "node:child_process";
|
|
5064
5064
|
import { randomBytes } from "node:crypto";
|
|
5065
5065
|
import { closeSync, existsSync as existsSync2, mkdirSync, openSync, readdirSync, readFileSync as readFileSync2, realpathSync, rmSync as rmSync2 } from "node:fs";
|
|
5066
5066
|
import { dirname, join as join2 } from "node:path";
|
|
5067
5067
|
|
|
5068
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5068
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
5069
5069
|
import { existsSync, readFileSync, rmSync } from "node:fs";
|
|
5070
5070
|
import { join } from "node:path";
|
|
5071
5071
|
var PART = /^[\w@+-][\w.@+-]{0,99}$/;
|
|
@@ -5105,7 +5105,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
5105
5105
|
};
|
|
5106
5106
|
}, "progressOf");
|
|
5107
5107
|
|
|
5108
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5108
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
5109
5109
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
5110
5110
|
const run = currentRun();
|
|
5111
5111
|
const trace = traceId ?? run.traceId;
|
|
@@ -5119,7 +5119,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
5119
5119
|
}));
|
|
5120
5120
|
}, "recordLogFor");
|
|
5121
5121
|
|
|
5122
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5122
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
5123
5123
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
5124
5124
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
5125
5125
|
const out = openSync(log, "a", 384);
|
|
@@ -5274,7 +5274,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
5274
5274
|
return { job: id6, pid, chat: input.chat, log };
|
|
5275
5275
|
}, "startArchiveJob");
|
|
5276
5276
|
|
|
5277
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5277
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
5278
5278
|
var problem = strictObject({ code: text, message: text });
|
|
5279
5279
|
var job = strictObject({
|
|
5280
5280
|
id,
|
|
@@ -5297,7 +5297,7 @@ var job = strictObject({
|
|
|
5297
5297
|
error: optional(problem)
|
|
5298
5298
|
});
|
|
5299
5299
|
|
|
5300
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5300
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
5301
5301
|
var extractionItem = strictObject({
|
|
5302
5302
|
ref: reference,
|
|
5303
5303
|
attachment: count,
|
|
@@ -5330,7 +5330,7 @@ var extractionReport = strictObject({
|
|
|
5330
5330
|
cursor: optional(text)
|
|
5331
5331
|
});
|
|
5332
5332
|
|
|
5333
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5333
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
5334
5334
|
var savedMessageFile = strictObject({
|
|
5335
5335
|
kind: text,
|
|
5336
5336
|
path: text,
|
|
@@ -5417,7 +5417,7 @@ var messageSyncAll = strictObject({
|
|
|
5417
5417
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
5418
5418
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
5419
5419
|
|
|
5420
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5420
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
5421
5421
|
var range = strictObject({ from: number(), to: number() });
|
|
5422
5422
|
var storeChatStatus = strictObject({
|
|
5423
5423
|
chat_id: id,
|
|
@@ -5515,7 +5515,7 @@ var storeJobRetry = union([
|
|
|
5515
5515
|
]);
|
|
5516
5516
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
5517
5517
|
|
|
5518
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5518
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
5519
5519
|
var account = strictObject({
|
|
5520
5520
|
provider: text,
|
|
5521
5521
|
id,
|
|
@@ -5525,7 +5525,7 @@ var account = strictObject({
|
|
|
5525
5525
|
scope: optional(picklist(["personal", "work"]))
|
|
5526
5526
|
});
|
|
5527
5527
|
|
|
5528
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5528
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
5529
5529
|
var accountSession = strictObject({
|
|
5530
5530
|
current: boolean(),
|
|
5531
5531
|
client: nullable(text),
|
|
@@ -5535,7 +5535,7 @@ var accountSession = strictObject({
|
|
|
5535
5535
|
created_at: optional(nullable(time))
|
|
5536
5536
|
});
|
|
5537
5537
|
|
|
5538
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5538
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
5539
5539
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
5540
5540
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
5541
5541
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -5564,7 +5564,7 @@ var accountRemoval = strictObject({
|
|
|
5564
5564
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
5565
5565
|
});
|
|
5566
5566
|
|
|
5567
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5567
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
5568
5568
|
var accountProfile = strictObject({
|
|
5569
5569
|
profile: id,
|
|
5570
5570
|
current: boolean(),
|
|
@@ -5576,7 +5576,7 @@ var accountProfile = strictObject({
|
|
|
5576
5576
|
bot: optional(literal(true))
|
|
5577
5577
|
});
|
|
5578
5578
|
|
|
5579
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5579
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
5580
5580
|
var milliseconds = pipe(number(), minValue(0));
|
|
5581
5581
|
var counterReading = strictObject({
|
|
5582
5582
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -5588,7 +5588,7 @@ var counterReading = strictObject({
|
|
|
5588
5588
|
});
|
|
5589
5589
|
var selection = record(string(), unknown());
|
|
5590
5590
|
|
|
5591
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5591
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
5592
5592
|
var adminRow = strictObject({
|
|
5593
5593
|
ref: reference,
|
|
5594
5594
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -5641,7 +5641,7 @@ var adminReport = strictObject({
|
|
|
5641
5641
|
rows: array(adminRow)
|
|
5642
5642
|
});
|
|
5643
5643
|
|
|
5644
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5644
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
5645
5645
|
var closeSuggestion = strictObject({
|
|
5646
5646
|
as: picklist(["done", "dismissed"]),
|
|
5647
5647
|
/** The agent's name. */
|
|
@@ -5703,7 +5703,7 @@ var task = strictObject({
|
|
|
5703
5703
|
updated_at: optional(time)
|
|
5704
5704
|
});
|
|
5705
5705
|
|
|
5706
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5706
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
5707
5707
|
var agendaChat = strictObject({
|
|
5708
5708
|
chat: reference,
|
|
5709
5709
|
title: nullable(text),
|
|
@@ -5773,11 +5773,11 @@ var agenda = strictObject({
|
|
|
5773
5773
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
5774
5774
|
});
|
|
5775
5775
|
|
|
5776
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5776
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
5777
5777
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
5778
5778
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
5779
5779
|
|
|
5780
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5780
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
5781
5781
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
5782
5782
|
var attachmentBytes = strictObject({
|
|
5783
5783
|
ref: reference,
|
|
@@ -5808,7 +5808,7 @@ var attachmentTextChange = strictObject({
|
|
|
5808
5808
|
text: optional(text)
|
|
5809
5809
|
});
|
|
5810
5810
|
|
|
5811
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5811
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
5812
5812
|
var chart = strictObject({
|
|
5813
5813
|
version: literal(1),
|
|
5814
5814
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -5823,7 +5823,7 @@ var chart = strictObject({
|
|
|
5823
5823
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
5824
5824
|
});
|
|
5825
5825
|
|
|
5826
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5826
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
5827
5827
|
var named = strictObject({
|
|
5828
5828
|
id,
|
|
5829
5829
|
title: nullable(text),
|
|
@@ -5846,7 +5846,7 @@ var folder = strictObject({
|
|
|
5846
5846
|
excluded_chats: optional(array(named))
|
|
5847
5847
|
});
|
|
5848
5848
|
|
|
5849
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5849
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
5850
5850
|
var inviteLink = strictObject({
|
|
5851
5851
|
link: text,
|
|
5852
5852
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -5862,7 +5862,7 @@ var inviteLink = strictObject({
|
|
|
5862
5862
|
joined_count: optional(count)
|
|
5863
5863
|
});
|
|
5864
5864
|
|
|
5865
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5865
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
5866
5866
|
var operated = { operation_id: id, chat_id: id };
|
|
5867
5867
|
var group = strictObject({
|
|
5868
5868
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -5942,7 +5942,7 @@ var chatFolderOrder = strictObject({
|
|
|
5942
5942
|
folders: array(strictObject({ id, title: text }))
|
|
5943
5943
|
});
|
|
5944
5944
|
|
|
5945
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5945
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
5946
5946
|
var operated2 = { operation_id: id, chat_id: id };
|
|
5947
5947
|
var chatRemoval = strictObject(operated2);
|
|
5948
5948
|
var chatMuting = strictObject({
|
|
@@ -5953,7 +5953,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
5953
5953
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
5954
5954
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
5955
5955
|
|
|
5956
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5956
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
5957
5957
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
5958
5958
|
var chatEvent = strictObject({
|
|
5959
5959
|
chat_id: id,
|
|
@@ -5970,7 +5970,7 @@ var chatEvent = strictObject({
|
|
|
5970
5970
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
5971
5971
|
});
|
|
5972
5972
|
|
|
5973
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5973
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
5974
5974
|
var chatMetadata = strictObject({
|
|
5975
5975
|
chat_id: id,
|
|
5976
5976
|
title: nullable(text),
|
|
@@ -5985,7 +5985,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
5985
5985
|
has_more: boolean()
|
|
5986
5986
|
});
|
|
5987
5987
|
|
|
5988
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5988
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
5989
5989
|
var action = picklist(["report", "delete", "remove"]);
|
|
5990
5990
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
5991
5991
|
var chatRules = strictObject({
|
|
@@ -6022,7 +6022,7 @@ var chatModeration = strictObject({
|
|
|
6022
6022
|
}))
|
|
6023
6023
|
});
|
|
6024
6024
|
|
|
6025
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6025
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/chat-sending.js
|
|
6026
6026
|
var chatSending = strictObject({
|
|
6027
6027
|
mode: picklist(["allowed", "ask", "denied"]),
|
|
6028
6028
|
meaning: text,
|
|
@@ -6032,7 +6032,7 @@ var chatSending = strictObject({
|
|
|
6032
6032
|
changed: optional(boolean())
|
|
6033
6033
|
});
|
|
6034
6034
|
|
|
6035
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6035
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
6036
6036
|
var optionalCount = optional(count);
|
|
6037
6037
|
var minutes = nullable(number());
|
|
6038
6038
|
var chatStats = strictObject({
|
|
@@ -6108,7 +6108,7 @@ var taskStats = strictObject({
|
|
|
6108
6108
|
}))
|
|
6109
6109
|
});
|
|
6110
6110
|
|
|
6111
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6111
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
6112
6112
|
var memberCount = strictObject({
|
|
6113
6113
|
day: pipe(text, isoDate()),
|
|
6114
6114
|
participants: nullable(count),
|
|
@@ -6131,7 +6131,7 @@ var chatTracking = strictObject({
|
|
|
6131
6131
|
tracked: boolean()
|
|
6132
6132
|
});
|
|
6133
6133
|
|
|
6134
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6134
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
6135
6135
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
6136
6136
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
6137
6137
|
var profileFields = {
|
|
@@ -6169,7 +6169,7 @@ var profileFields = {
|
|
|
6169
6169
|
}))
|
|
6170
6170
|
};
|
|
6171
6171
|
|
|
6172
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6172
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
6173
6173
|
var contact = strictObject({
|
|
6174
6174
|
ref: reference,
|
|
6175
6175
|
id,
|
|
@@ -6200,7 +6200,7 @@ var contact = strictObject({
|
|
|
6200
6200
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
6201
6201
|
});
|
|
6202
6202
|
|
|
6203
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6203
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
6204
6204
|
var contactNote = strictObject({
|
|
6205
6205
|
id,
|
|
6206
6206
|
/** The contact, as a `contact:` reference. */
|
|
@@ -6212,13 +6212,13 @@ var contactNote = strictObject({
|
|
|
6212
6212
|
updated_at: time
|
|
6213
6213
|
});
|
|
6214
6214
|
|
|
6215
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6215
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
6216
6216
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
6217
6217
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
6218
6218
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
6219
6219
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
6220
6220
|
|
|
6221
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6221
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
6222
6222
|
var conversation = strictObject({
|
|
6223
6223
|
id,
|
|
6224
6224
|
chat: reference,
|
|
@@ -6233,7 +6233,7 @@ var conversation = strictObject({
|
|
|
6233
6233
|
rules_version: count
|
|
6234
6234
|
});
|
|
6235
6235
|
|
|
6236
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6236
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
6237
6237
|
var conversationDetails = union([
|
|
6238
6238
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
6239
6239
|
message
|
|
@@ -6323,7 +6323,7 @@ var conversationHit = strictObject({
|
|
|
6323
6323
|
stale: boolean()
|
|
6324
6324
|
});
|
|
6325
6325
|
|
|
6326
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6326
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
6327
6327
|
var counters = strictObject({
|
|
6328
6328
|
cutoff: time,
|
|
6329
6329
|
max_age_ms: milliseconds,
|
|
@@ -6353,7 +6353,7 @@ var counterRefresh = strictObject({
|
|
|
6353
6353
|
complete: optional(boolean())
|
|
6354
6354
|
});
|
|
6355
6355
|
|
|
6356
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6356
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
6357
6357
|
var document = strictObject({
|
|
6358
6358
|
ref: reference,
|
|
6359
6359
|
id,
|
|
@@ -6368,7 +6368,7 @@ var document = strictObject({
|
|
|
6368
6368
|
owners: optional(array(text))
|
|
6369
6369
|
});
|
|
6370
6370
|
|
|
6371
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6371
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
6372
6372
|
var documentLink = strictObject({
|
|
6373
6373
|
ref: reference,
|
|
6374
6374
|
url: text,
|
|
@@ -6379,7 +6379,7 @@ var documentLink = strictObject({
|
|
|
6379
6379
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
6380
6380
|
});
|
|
6381
6381
|
|
|
6382
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6382
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
6383
6383
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
6384
6384
|
var contribution = strictObject({
|
|
6385
6385
|
message: evidenceMessage,
|
|
@@ -6409,7 +6409,7 @@ var retentionStay = strictObject({
|
|
|
6409
6409
|
});
|
|
6410
6410
|
var evidence = union([contribution, retentionStay]);
|
|
6411
6411
|
|
|
6412
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6412
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
6413
6413
|
var fact = strictObject({
|
|
6414
6414
|
ref: reference,
|
|
6415
6415
|
id,
|
|
@@ -6440,9 +6440,20 @@ var fact = strictObject({
|
|
|
6440
6440
|
updated_at: time
|
|
6441
6441
|
});
|
|
6442
6442
|
|
|
6443
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6443
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
6444
6444
|
var hit = strictObject({
|
|
6445
|
-
kind: picklist([
|
|
6445
|
+
kind: picklist([
|
|
6446
|
+
"message",
|
|
6447
|
+
"mail",
|
|
6448
|
+
"note",
|
|
6449
|
+
"document",
|
|
6450
|
+
"event",
|
|
6451
|
+
"meeting",
|
|
6452
|
+
"deal",
|
|
6453
|
+
"lead",
|
|
6454
|
+
"crm_file",
|
|
6455
|
+
...BUSINESS_KINDS
|
|
6456
|
+
]),
|
|
6446
6457
|
ref: reference,
|
|
6447
6458
|
provider: text,
|
|
6448
6459
|
url: optional(text),
|
|
@@ -6488,7 +6499,7 @@ var hit = strictObject({
|
|
|
6488
6499
|
untrusted
|
|
6489
6500
|
});
|
|
6490
6501
|
|
|
6491
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6502
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
6492
6503
|
var identity = strictObject({
|
|
6493
6504
|
ref: reference,
|
|
6494
6505
|
provider: text,
|
|
@@ -6504,7 +6515,7 @@ var identity = strictObject({
|
|
|
6504
6515
|
person: optional(nullable(reference))
|
|
6505
6516
|
});
|
|
6506
6517
|
|
|
6507
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6518
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
6508
6519
|
var imageEmbedding = strictObject({
|
|
6509
6520
|
model: text,
|
|
6510
6521
|
embedded: count,
|
|
@@ -6513,7 +6524,7 @@ var imageEmbedding = strictObject({
|
|
|
6513
6524
|
more: boolean()
|
|
6514
6525
|
});
|
|
6515
6526
|
|
|
6516
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6527
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
6517
6528
|
var joinRequest = strictObject({
|
|
6518
6529
|
person_id: id,
|
|
6519
6530
|
name: nullable(text),
|
|
@@ -6524,7 +6535,7 @@ var joinRequest = strictObject({
|
|
|
6524
6535
|
about: optional(text)
|
|
6525
6536
|
});
|
|
6526
6537
|
|
|
6527
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6538
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
6528
6539
|
var pollVote = strictObject({
|
|
6529
6540
|
person_id: id,
|
|
6530
6541
|
name: nullable(text),
|
|
@@ -6534,7 +6545,7 @@ var pollVote = strictObject({
|
|
|
6534
6545
|
voted_at: time
|
|
6535
6546
|
});
|
|
6536
6547
|
|
|
6537
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6548
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
6538
6549
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
6539
6550
|
var observation = strictObject({
|
|
6540
6551
|
value: pipe(number(), minValue(0)),
|
|
@@ -6576,7 +6587,7 @@ var serveSummary = strictObject({
|
|
|
6576
6587
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
6577
6588
|
});
|
|
6578
6589
|
|
|
6579
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6590
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
6580
6591
|
var mailCounts = strictObject({
|
|
6581
6592
|
by: picklist(["day", "week", "sender"]),
|
|
6582
6593
|
received: count,
|
|
@@ -6591,7 +6602,7 @@ var mailCounts = strictObject({
|
|
|
6591
6602
|
}))
|
|
6592
6603
|
});
|
|
6593
6604
|
|
|
6594
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6605
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
6595
6606
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
6596
6607
|
var base = { id, evidence: array(evidence2) };
|
|
6597
6608
|
var finding = variant("kind", [
|
|
@@ -6735,7 +6746,7 @@ var mailFindings = strictObject({
|
|
|
6735
6746
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
6736
6747
|
});
|
|
6737
6748
|
|
|
6738
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6749
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
6739
6750
|
var mediaArchive = strictObject({
|
|
6740
6751
|
directory: text,
|
|
6741
6752
|
chats: count,
|
|
@@ -6767,7 +6778,7 @@ var mediaArchiveTimer = union([
|
|
|
6767
6778
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
6768
6779
|
]);
|
|
6769
6780
|
|
|
6770
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6781
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
6771
6782
|
var preparationId = pipe(string(), minLength(1));
|
|
6772
6783
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
6773
6784
|
var preparationTime = nullable(isoTime);
|
|
@@ -6859,7 +6870,7 @@ var preparationMeeting = strictObject({
|
|
|
6859
6870
|
updated_at: isoTime
|
|
6860
6871
|
});
|
|
6861
6872
|
|
|
6862
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6873
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
6863
6874
|
var meetingEvidence = preparationEvidence;
|
|
6864
6875
|
var meetingPersonContext = strictObject({
|
|
6865
6876
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -6881,7 +6892,7 @@ var meetingPersonContext = strictObject({
|
|
|
6881
6892
|
})
|
|
6882
6893
|
});
|
|
6883
6894
|
|
|
6884
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6895
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
6885
6896
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
6886
6897
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
6887
6898
|
var finding2 = variant("kind", [
|
|
@@ -6919,7 +6930,7 @@ var meetingFindings = strictObject({
|
|
|
6919
6930
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
6920
6931
|
});
|
|
6921
6932
|
|
|
6922
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6933
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
6923
6934
|
var communicationCoverage = strictObject({
|
|
6924
6935
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
6925
6936
|
query: string(),
|
|
@@ -6964,7 +6975,7 @@ var preparationCommunications = strictObject({
|
|
|
6964
6975
|
}))
|
|
6965
6976
|
});
|
|
6966
6977
|
|
|
6967
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6978
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
6968
6979
|
var meetingPreparation = strictObject({
|
|
6969
6980
|
communications: optional(preparationCommunications),
|
|
6970
6981
|
schema_version: literal(1),
|
|
@@ -7077,7 +7088,7 @@ var meetingPreparation = strictObject({
|
|
|
7077
7088
|
})
|
|
7078
7089
|
});
|
|
7079
7090
|
|
|
7080
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7091
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
7081
7092
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
7082
7093
|
var id3 = pipe(string(), minLength(1));
|
|
7083
7094
|
var text3 = string();
|
|
@@ -7141,7 +7152,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
7141
7152
|
})
|
|
7142
7153
|
});
|
|
7143
7154
|
|
|
7144
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7155
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
7145
7156
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
7146
7157
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
7147
7158
|
var meetingSeriesInventory = strictObject({
|
|
@@ -7171,7 +7182,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
7171
7182
|
})
|
|
7172
7183
|
});
|
|
7173
7184
|
|
|
7174
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7185
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
7175
7186
|
var text4 = string();
|
|
7176
7187
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
7177
7188
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -7188,7 +7199,7 @@ var meetingTaskProposal = strictObject({
|
|
|
7188
7199
|
persistence: literal("proposal-only")
|
|
7189
7200
|
});
|
|
7190
7201
|
|
|
7191
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7202
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
7192
7203
|
var memory = strictObject({
|
|
7193
7204
|
ref: reference,
|
|
7194
7205
|
id,
|
|
@@ -7216,7 +7227,7 @@ var memory = strictObject({
|
|
|
7216
7227
|
updated_at: time
|
|
7217
7228
|
});
|
|
7218
7229
|
|
|
7219
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7230
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
7220
7231
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
7221
7232
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
7222
7233
|
var mention = strictObject({
|
|
@@ -7260,13 +7271,16 @@ var mentionRebuild = strictObject({
|
|
|
7260
7271
|
mentions: count
|
|
7261
7272
|
});
|
|
7262
7273
|
|
|
7263
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7274
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
7264
7275
|
var operated3 = { operation_id: id, chat_id: id };
|
|
7265
7276
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
7266
7277
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
7267
7278
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
7279
|
+
var scheduledCancellation = strictObject({ ...operated3, cancelled: array(id) });
|
|
7280
|
+
var scheduledSendEntries = { ...operated3, sent: array(id), messages: array(message) };
|
|
7281
|
+
var scheduledSend = strictObject(scheduledSendEntries);
|
|
7268
7282
|
|
|
7269
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7283
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
7270
7284
|
var messageTranscript = strictObject({
|
|
7271
7285
|
message_id: id,
|
|
7272
7286
|
text,
|
|
@@ -7324,7 +7338,7 @@ var evidencePacket = strictObject({
|
|
|
7324
7338
|
}))
|
|
7325
7339
|
});
|
|
7326
7340
|
|
|
7327
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7341
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
7328
7342
|
var messageThread = strictObject({
|
|
7329
7343
|
ref: reference,
|
|
7330
7344
|
chat: id,
|
|
@@ -7341,7 +7355,7 @@ var messageThread = strictObject({
|
|
|
7341
7355
|
});
|
|
7342
7356
|
var messageContext = union([message, messageThread]);
|
|
7343
7357
|
|
|
7344
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7358
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
7345
7359
|
var messageCounts = strictObject({
|
|
7346
7360
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
7347
7361
|
total: count,
|
|
@@ -7354,7 +7368,7 @@ var messageCounts = strictObject({
|
|
|
7354
7368
|
}))
|
|
7355
7369
|
});
|
|
7356
7370
|
|
|
7357
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7371
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
7358
7372
|
var messageLink = strictObject({
|
|
7359
7373
|
ref: reference,
|
|
7360
7374
|
url: nullable(text),
|
|
@@ -7371,7 +7385,7 @@ var messageLink = strictObject({
|
|
|
7371
7385
|
})))
|
|
7372
7386
|
});
|
|
7373
7387
|
|
|
7374
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7388
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
7375
7389
|
var messageWrite = strictObject({
|
|
7376
7390
|
operation_id: id,
|
|
7377
7391
|
message,
|
|
@@ -7386,7 +7400,7 @@ var draftWrite = strictObject({
|
|
|
7386
7400
|
});
|
|
7387
7401
|
var messageSend = union([messageWrite, draftWrite]);
|
|
7388
7402
|
|
|
7389
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7403
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
7390
7404
|
var model = strictObject({
|
|
7391
7405
|
id,
|
|
7392
7406
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -7421,7 +7435,7 @@ var chosenModel = strictObject({
|
|
|
7421
7435
|
estimate_seconds: nullable(count)
|
|
7422
7436
|
});
|
|
7423
7437
|
|
|
7424
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7438
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
7425
7439
|
var source = picklist(["environment", "keyring", "file"]);
|
|
7426
7440
|
var modelKey = strictObject({
|
|
7427
7441
|
provider: text,
|
|
@@ -7431,7 +7445,7 @@ var modelKey = strictObject({
|
|
|
7431
7445
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
7432
7446
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
7433
7447
|
|
|
7434
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7448
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
7435
7449
|
var versus = strictObject({ current: number(), previous: number() });
|
|
7436
7450
|
var person = { person_ref: reference, name: nullable(text) };
|
|
7437
7451
|
var graph = strictObject({
|
|
@@ -7465,14 +7479,14 @@ var officialStats = strictObject({
|
|
|
7465
7479
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
7466
7480
|
});
|
|
7467
7481
|
|
|
7468
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7482
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
7469
7483
|
var person2 = strictObject({
|
|
7470
7484
|
ref: reference,
|
|
7471
7485
|
name: nullable(text),
|
|
7472
7486
|
identities: optional(array(identity))
|
|
7473
7487
|
});
|
|
7474
7488
|
|
|
7475
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7489
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
7476
7490
|
var poll = strictObject({
|
|
7477
7491
|
chat_id: id,
|
|
7478
7492
|
message_id: id,
|
|
@@ -7488,11 +7502,11 @@ var poll = strictObject({
|
|
|
7488
7502
|
});
|
|
7489
7503
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
7490
7504
|
|
|
7491
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7505
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
7492
7506
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
7493
7507
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
7494
7508
|
|
|
7495
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7509
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
7496
7510
|
var figures = record(string(), number());
|
|
7497
7511
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
7498
7512
|
var rankingRow = strictObject({
|
|
@@ -7539,7 +7553,7 @@ var ranking = strictObject({
|
|
|
7539
7553
|
rows: array(rankingRow)
|
|
7540
7554
|
});
|
|
7541
7555
|
|
|
7542
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7556
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
7543
7557
|
var reaction = strictObject({
|
|
7544
7558
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
7545
7559
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -7547,7 +7561,7 @@ var reaction = strictObject({
|
|
|
7547
7561
|
reacted_at: time
|
|
7548
7562
|
});
|
|
7549
7563
|
|
|
7550
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7564
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
7551
7565
|
var reactionChange = strictObject({
|
|
7552
7566
|
operation_id: id,
|
|
7553
7567
|
chat_id: id,
|
|
@@ -7555,7 +7569,7 @@ var reactionChange = strictObject({
|
|
|
7555
7569
|
reaction: nullable(text)
|
|
7556
7570
|
});
|
|
7557
7571
|
|
|
7558
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7572
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
7559
7573
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
7560
7574
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
7561
7575
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -7566,7 +7580,7 @@ var recipientChange = strictObject({
|
|
|
7566
7580
|
...partial(recipientOff).entries
|
|
7567
7581
|
});
|
|
7568
7582
|
|
|
7569
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7583
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
7570
7584
|
var events = array(record(string(), unknown()));
|
|
7571
7585
|
var recordedRun = strictObject({
|
|
7572
7586
|
run_id: id,
|
|
@@ -7638,7 +7652,7 @@ var runHit = strictObject({
|
|
|
7638
7652
|
});
|
|
7639
7653
|
var runLocation = strictObject({ path: text });
|
|
7640
7654
|
|
|
7641
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7655
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
7642
7656
|
var relationship = strictObject({
|
|
7643
7657
|
id,
|
|
7644
7658
|
from: reference,
|
|
@@ -7665,7 +7679,7 @@ var relationship = strictObject({
|
|
|
7665
7679
|
created_at: time
|
|
7666
7680
|
});
|
|
7667
7681
|
|
|
7668
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7682
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
7669
7683
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
7670
7684
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
7671
7685
|
var responseTimes = strictObject({
|
|
@@ -7682,7 +7696,7 @@ var waitingChats = strictObject({
|
|
|
7682
7696
|
by_kind: strictObject({ private: count, group: count })
|
|
7683
7697
|
});
|
|
7684
7698
|
|
|
7685
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7699
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
7686
7700
|
var retentionCohort = strictObject({
|
|
7687
7701
|
/** The first day of the joining day or week. */
|
|
7688
7702
|
cohort: text,
|
|
@@ -7730,7 +7744,7 @@ var retention = strictObject({
|
|
|
7730
7744
|
rows: array(retentionCohort)
|
|
7731
7745
|
});
|
|
7732
7746
|
|
|
7733
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7747
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
7734
7748
|
var savedSearch = strictObject({
|
|
7735
7749
|
id,
|
|
7736
7750
|
/** `null` for a run in the history. */
|
|
@@ -7747,7 +7761,7 @@ var savedSearch = strictObject({
|
|
|
7747
7761
|
});
|
|
7748
7762
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
7749
7763
|
|
|
7750
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7764
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
7751
7765
|
var sendAttempt = strictObject({
|
|
7752
7766
|
at: time,
|
|
7753
7767
|
profile: text,
|
|
@@ -7775,7 +7789,7 @@ var sendAttempt = strictObject({
|
|
|
7775
7789
|
error_code: optional(text)
|
|
7776
7790
|
});
|
|
7777
7791
|
|
|
7778
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7792
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
7779
7793
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
7780
7794
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
7781
7795
|
var infoSchema = strictObject({
|
|
@@ -8005,7 +8019,7 @@ var storeRepair = union([
|
|
|
8005
8019
|
]);
|
|
8006
8020
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
8007
8021
|
|
|
8008
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8022
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
8009
8023
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
8010
8024
|
var storeTable = strictObject({
|
|
8011
8025
|
name: text,
|
|
@@ -8014,7 +8028,7 @@ var storeTable = strictObject({
|
|
|
8014
8028
|
bytes: optional(nullable(count))
|
|
8015
8029
|
});
|
|
8016
8030
|
|
|
8017
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8031
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
8018
8032
|
var tagTarget = variant("type", [
|
|
8019
8033
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
8020
8034
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -8045,7 +8059,7 @@ var automaticTags = strictObject({
|
|
|
8045
8059
|
dry_run: boolean()
|
|
8046
8060
|
});
|
|
8047
8061
|
|
|
8048
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8062
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
8049
8063
|
var tagging = strictObject({
|
|
8050
8064
|
tag: text,
|
|
8051
8065
|
type: picklist(TAG_TYPES),
|
|
@@ -8058,7 +8072,7 @@ var tagging = strictObject({
|
|
|
8058
8072
|
created_at: time
|
|
8059
8073
|
});
|
|
8060
8074
|
|
|
8061
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8075
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
8062
8076
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
8063
8077
|
var taskPair = strictObject({
|
|
8064
8078
|
task: nullable(side),
|
|
@@ -8081,7 +8095,7 @@ var taskPair = strictObject({
|
|
|
8081
8095
|
created_at: time
|
|
8082
8096
|
});
|
|
8083
8097
|
|
|
8084
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8098
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
8085
8099
|
var nullableTime = nullable(time);
|
|
8086
8100
|
var link = strictObject({
|
|
8087
8101
|
id,
|
|
@@ -8255,7 +8269,7 @@ var taskReview = strictObject({
|
|
|
8255
8269
|
untrusted
|
|
8256
8270
|
});
|
|
8257
8271
|
|
|
8258
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8272
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
8259
8273
|
var template = strictObject({
|
|
8260
8274
|
key: text,
|
|
8261
8275
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -8267,7 +8281,7 @@ var template = strictObject({
|
|
|
8267
8281
|
updated_by: nullable(text)
|
|
8268
8282
|
});
|
|
8269
8283
|
|
|
8270
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8284
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
8271
8285
|
var topic = strictObject({
|
|
8272
8286
|
id,
|
|
8273
8287
|
title: text,
|
|
@@ -8281,7 +8295,7 @@ var topic = strictObject({
|
|
|
8281
8295
|
untrusted
|
|
8282
8296
|
});
|
|
8283
8297
|
|
|
8284
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8298
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
8285
8299
|
var ENTITIES = {
|
|
8286
8300
|
sync_progress: progress,
|
|
8287
8301
|
deal,
|
|
@@ -8337,6 +8351,8 @@ var ENTITIES = {
|
|
|
8337
8351
|
message_pin: messagePin,
|
|
8338
8352
|
message_star: messageStar,
|
|
8339
8353
|
message_deletion: messageDeletion,
|
|
8354
|
+
scheduled_cancellation: scheduledCancellation,
|
|
8355
|
+
scheduled_send: scheduledSend,
|
|
8340
8356
|
message_transcript: messageTranscript,
|
|
8341
8357
|
message_links: messageLinks,
|
|
8342
8358
|
evidence_packet: evidencePacket,
|
|
@@ -8580,7 +8596,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
8580
8596
|
return [name, definition];
|
|
8581
8597
|
})), "entityDefinitions");
|
|
8582
8598
|
|
|
8583
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8599
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
8584
8600
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
8585
8601
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
8586
8602
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -8614,7 +8630,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
8614
8630
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
8615
8631
|
}, "answerRow");
|
|
8616
8632
|
|
|
8617
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8633
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
8618
8634
|
var where = [{ field: "ref" }];
|
|
8619
8635
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
8620
8636
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -8706,7 +8722,7 @@ var STATUS_ROWS = {
|
|
|
8706
8722
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
8707
8723
|
};
|
|
8708
8724
|
|
|
8709
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8725
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
8710
8726
|
var TEXT_CHARS = 400;
|
|
8711
8727
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
8712
8728
|
var messageRow = {
|
|
@@ -9074,7 +9090,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
9074
9090
|
return lines.concat(footerOf(body)).join("\n");
|
|
9075
9091
|
}, "compactText");
|
|
9076
9092
|
|
|
9077
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9093
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
9078
9094
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
9079
9095
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
9080
9096
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -9112,7 +9128,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
9112
9128
|
progress: "sync.progress"
|
|
9113
9129
|
};
|
|
9114
9130
|
|
|
9115
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9131
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
9116
9132
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
9117
9133
|
const recording = startRecording(options);
|
|
9118
9134
|
try {
|
|
@@ -9327,7 +9343,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
9327
9343
|
return void 0;
|
|
9328
9344
|
}, "partialOutcome");
|
|
9329
9345
|
|
|
9330
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9346
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
|
|
9331
9347
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
9332
9348
|
var requests = new AsyncLocalStorage();
|
|
9333
9349
|
var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
|
|
@@ -9342,7 +9358,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
|
|
|
9342
9358
|
return direct;
|
|
9343
9359
|
}, "exitCodeSet");
|
|
9344
9360
|
|
|
9345
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9361
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
9346
9362
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
9347
9363
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
9348
9364
|
messageId: message2.id,
|
|
@@ -9448,7 +9464,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
9448
9464
|
}, "guardedWrite");
|
|
9449
9465
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
9450
9466
|
|
|
9451
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9467
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
9452
9468
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
9453
9469
|
if (ms2 === void 0)
|
|
9454
9470
|
return body();
|
|
@@ -9474,7 +9490,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
9474
9490
|
}
|
|
9475
9491
|
}, "withDeadline");
|
|
9476
9492
|
|
|
9477
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9493
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
9478
9494
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
9479
9495
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
9480
9496
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -9657,7 +9673,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
9657
9673
|
}
|
|
9658
9674
|
}, "withAbort");
|
|
9659
9675
|
|
|
9660
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9676
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
9661
9677
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
9662
9678
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
9663
9679
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -9744,7 +9760,7 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
9744
9760
|
return void 0;
|
|
9745
9761
|
}, "sampleCommand");
|
|
9746
9762
|
|
|
9747
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9763
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
9748
9764
|
var model2 = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
9749
9765
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
9750
9766
|
var AI_FIELDS = {
|
|
@@ -9788,7 +9804,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
9788
9804
|
};
|
|
9789
9805
|
}, "resolveAISettings");
|
|
9790
9806
|
|
|
9791
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9807
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
9792
9808
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
9793
9809
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
9794
9810
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -9802,7 +9818,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
9802
9818
|
return ms2;
|
|
9803
9819
|
}, "parseDuration");
|
|
9804
9820
|
|
|
9805
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9821
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
9806
9822
|
import { existsSync as existsSync3, readdirSync as readdirSync2, readFileSync as readFileSync3 } from "node:fs";
|
|
9807
9823
|
import { join as join3 } from "node:path";
|
|
9808
9824
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -9891,7 +9907,7 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
9891
9907
|
return readdirSync2(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
9892
9908
|
}, "registryProfiles");
|
|
9893
9909
|
|
|
9894
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9910
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
9895
9911
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
9896
9912
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
9897
9913
|
var SECTIONS = ["personal", "bot"];
|
|
@@ -10187,7 +10203,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
10187
10203
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
10188
10204
|
}, "readConfigFile");
|
|
10189
10205
|
|
|
10190
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10206
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
10191
10207
|
import { existsSync as existsSync4, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync3, writeFileSync } from "node:fs";
|
|
10192
10208
|
import { dirname as dirname2, join as join4 } from "node:path";
|
|
10193
10209
|
var DEFAULT_CONFIG = {
|
|
@@ -10216,7 +10232,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
10216
10232
|
}
|
|
10217
10233
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
10218
10234
|
|
|
10219
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10235
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
10220
10236
|
import { existsSync as existsSync5, readdirSync as readdirSync3, readFileSync as readFileSync5 } from "node:fs";
|
|
10221
10237
|
import { join as join5 } from "node:path";
|
|
10222
10238
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join5(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -10238,7 +10254,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
10238
10254
|
}, "profilesWithAccounts");
|
|
10239
10255
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
10240
10256
|
|
|
10241
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10257
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
10242
10258
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10243
10259
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
10244
10260
|
const path2 = key.split(".");
|
|
@@ -10271,10 +10287,10 @@ var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((settin
|
|
|
10271
10287
|
};
|
|
10272
10288
|
}), "settingRows");
|
|
10273
10289
|
|
|
10274
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10290
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
10275
10291
|
import { existsSync as existsSync6 } from "node:fs";
|
|
10276
10292
|
|
|
10277
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10293
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
10278
10294
|
var HISTORY_MAX_DAYS = 1095;
|
|
10279
10295
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
10280
10296
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -10321,7 +10337,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
10321
10337
|
return { batch: { ...batch, messages }, skipped };
|
|
10322
10338
|
}, "limitBatch");
|
|
10323
10339
|
|
|
10324
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10340
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
10325
10341
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
10326
10342
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
10327
10343
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -10849,7 +10865,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
10849
10865
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
10850
10866
|
}, "given");
|
|
10851
10867
|
|
|
10852
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10868
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
10853
10869
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
10854
10870
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
10855
10871
|
var DEFAULT_REQUEST_MS = 2e3;
|
|
@@ -10906,7 +10922,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests: requests2, deadline, request
|
|
|
10906
10922
|
};
|
|
10907
10923
|
}, "runBudget");
|
|
10908
10924
|
|
|
10909
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10925
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
10910
10926
|
var runBudgetOf = /* @__PURE__ */ __name((command, requests2) => {
|
|
10911
10927
|
const { deadline, signal, app } = environmentOf(command);
|
|
10912
10928
|
const now = deadline?.();
|
|
@@ -11060,7 +11076,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
11060
11076
|
return words.join(" ");
|
|
11061
11077
|
}, "commandPath");
|
|
11062
11078
|
|
|
11063
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11079
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
11064
11080
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
11065
11081
|
var FETCH = { remote: "read", local: "write" };
|
|
11066
11082
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -11212,7 +11228,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
11212
11228
|
throw readOnlyRefusal(lock, what);
|
|
11213
11229
|
}, "refuseUnderReadOnly");
|
|
11214
11230
|
|
|
11215
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11231
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11216
11232
|
import { join as join6 } from "node:path";
|
|
11217
11233
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11218
11234
|
var IMAGE_MODELS = [
|
|
@@ -11266,7 +11282,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11266
11282
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
|
|
11267
11283
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11268
11284
|
|
|
11269
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11285
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11270
11286
|
var STEPS2 = defineSteps([
|
|
11271
11287
|
...STEPS,
|
|
11272
11288
|
{
|
|
@@ -11556,7 +11572,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11556
11572
|
].join(" ");
|
|
11557
11573
|
}, "stepLine");
|
|
11558
11574
|
|
|
11559
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11575
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
11560
11576
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
11561
11577
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
11562
11578
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -11614,7 +11630,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
11614
11630
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
11615
11631
|
}, "largeAnswerSteps");
|
|
11616
11632
|
|
|
11617
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11633
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
11618
11634
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
11619
11635
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
11620
11636
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -11628,7 +11644,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
11628
11644
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
11629
11645
|
}, "strip");
|
|
11630
11646
|
|
|
11631
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11647
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
|
|
11632
11648
|
var OPEN = "\u27E6";
|
|
11633
11649
|
var CLOSE = "\u27E7";
|
|
11634
11650
|
var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -11637,6 +11653,10 @@ var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
|
11637
11653
|
const mark = ancestorValue(envName(app, "UNTRUSTED_MARK"), env);
|
|
11638
11654
|
return mark && /^[0-9a-f]{16}$/.test(mark) ? mark : void 0;
|
|
11639
11655
|
}, "untrustedMarkOf");
|
|
11656
|
+
var runMarkOf = /* @__PURE__ */ __name((command) => {
|
|
11657
|
+
const { app, env } = environmentOf(command);
|
|
11658
|
+
return app ? untrustedMarkOf(app, env ?? process.env) : void 0;
|
|
11659
|
+
}, "runMarkOf");
|
|
11640
11660
|
var marked = /* @__PURE__ */ __name((text5, mark, source2, id6) => {
|
|
11641
11661
|
const inside = text5.replaceAll(OPEN, "").replaceAll(CLOSE, "").replaceAll(mark, "");
|
|
11642
11662
|
const named2 = id6 === void 0 ? "" : ` id=${id6.replaceAll(OPEN, "").replaceAll(CLOSE, "").replace(/\s/g, "")}`;
|
|
@@ -11712,7 +11732,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
|
|
|
11712
11732
|
return result;
|
|
11713
11733
|
}, "withFieldsMarked");
|
|
11714
11734
|
|
|
11715
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11735
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
11716
11736
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
11717
11737
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
11718
11738
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
@@ -11842,8 +11862,7 @@ var renderAnswer = /* @__PURE__ */ __name((command, { renderer, format, streams,
|
|
|
11842
11862
|
const root = rootOf2(command);
|
|
11843
11863
|
const runnableSteps = runnable(root, body.next);
|
|
11844
11864
|
const next = environmentOf(command).agent ? runnableSteps : withLines(root, runnableSteps);
|
|
11845
|
-
const
|
|
11846
|
-
const mark = app ? untrustedMarkOf(app, env ?? process.env) : void 0;
|
|
11865
|
+
const mark = runMarkOf(command);
|
|
11847
11866
|
const declared = untrustedFieldsOf(command);
|
|
11848
11867
|
const shown = mark === void 0 ? body : withUntrustedMarked(declared ? withFieldsMarked(body, declared, mark) : body, mark);
|
|
11849
11868
|
const kept = withoutProviderRefs({ ...shown, ...next.length > 0 ? { next } : {} });
|
|
@@ -12131,7 +12150,7 @@ export {
|
|
|
12131
12150
|
stepLine,
|
|
12132
12151
|
tooLargeSteps,
|
|
12133
12152
|
withoutProviderRefs,
|
|
12134
|
-
|
|
12153
|
+
runMarkOf,
|
|
12135
12154
|
withUntrustedMarked,
|
|
12136
12155
|
marksUntrusted,
|
|
12137
12156
|
answerSchema,
|