@wirecat/zoom-cli 0.80.0 → 0.82.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/contracts/wirecat.json +71 -3
- package/dist/answers.d.ts +100 -0
- package/dist/answers.d.ts.map +1 -1
- package/dist/bin/zm.js +2 -2
- package/dist/bundle/agent-F4TRJWWS.js +46 -0
- package/dist/bundle/{all-profiles-5GOKWOT4.js → all-profiles-RULEKTDQ.js} +64 -22
- package/dist/bundle/answer-policy-6XC57AEZ.js +131 -0
- package/dist/bundle/{anthropic-NHXMOFYS.js → anthropic-4NAQBZFL.js} +6 -6
- package/dist/bundle/{app-server-HFW5Z5PI.js → app-server-VLR42U5L.js} +92 -80
- package/dist/bundle/{bun-M5IGY2TG.js → bun-OPDGMZZQ.js} +2 -2
- package/dist/bundle/{bun-sqlite-MTP5JJQ2.js → bun-sqlite-HC6X4AOX.js} +7 -7
- package/dist/bundle/{chunk-TNL3YQ33.js → chunk-274SLQNW.js} +2 -2
- package/dist/bundle/{chunk-5CJ6AAUI.js → chunk-2CI2OEZQ.js} +4 -4
- package/dist/bundle/{chunk-GVKZZT7E.js → chunk-2DBF2IIC.js} +7 -78
- package/dist/bundle/{chunk-NRVMK5H3.js → chunk-2GP573Q4.js} +15748 -11939
- package/dist/bundle/{chunk-4OAR7BGU.js → chunk-2JHVQMVC.js} +1 -1
- package/dist/bundle/{chunk-XKLU5KV2.js → chunk-2SWKQ7C4.js} +1 -1
- package/dist/bundle/{chunk-W3GZ7JUO.js → chunk-2XBDILVW.js} +1 -1
- package/dist/bundle/{chunk-3UONR5HW.js → chunk-3HC5F3P7.js} +1 -1
- package/dist/bundle/{chunk-VN7TKMOW.js → chunk-3YM4B2GT.js} +1 -1
- package/dist/bundle/{chunk-PCPOO5FS.js → chunk-434YFJAE.js} +2 -2
- package/dist/bundle/{chunk-CW6CPQHI.js → chunk-4HLQ2JGK.js} +4 -4
- package/dist/bundle/{chunk-RT7C3SSJ.js → chunk-4N7PP76S.js} +1 -1
- package/dist/bundle/{chunk-JJX4HKDV.js → chunk-52Y4ETKU.js} +4 -4
- package/dist/bundle/{chunk-BIKHHFD2.js → chunk-5HAUK3I4.js} +2166 -2760
- package/dist/bundle/{chunk-W2QDYMAM.js → chunk-5KYQ53EF.js} +13 -9
- package/dist/bundle/{chunk-BW5JEOBE.js → chunk-5TU7Y5UW.js} +12 -12
- package/dist/bundle/{chunk-P2JTVRGU.js → chunk-66ALX4ZI.js} +168 -168
- package/dist/bundle/{chunk-EPIA2UUM.js → chunk-676C2LE6.js} +12 -12
- package/dist/bundle/{chunk-BNEJKGG7.js → chunk-6CWL5BKG.js} +78 -76
- package/dist/bundle/{chunk-TDBVM2SS.js → chunk-6QYZP4E2.js} +3 -3
- package/dist/bundle/{chunk-JXSEH64A.js → chunk-6VK332XS.js} +3 -3
- package/dist/bundle/{chunk-W7M4JYEE.js → chunk-73MOMNLL.js} +1 -1
- package/dist/bundle/{chunk-K672XJ2P.js → chunk-7QPIUMUG.js} +12 -12
- package/dist/bundle/{chunk-CWCDCNXA.js → chunk-7UVDPRFK.js} +6 -6
- package/dist/bundle/{chunk-RMX2WPWS.js → chunk-A6EZK5RG.js} +4 -4
- package/dist/bundle/{chunk-ONJPUFLX.js → chunk-AC6VJNMJ.js} +1 -1
- package/dist/bundle/{chunk-QIK2IBJ4.js → chunk-ACI4YIEH.js} +23 -7
- package/dist/bundle/{chunk-UX4JZMA4.js → chunk-AIKFOBDO.js} +278 -59
- package/dist/bundle/{chunk-GCPO7T2X.js → chunk-ASBDFXLS.js} +3 -3
- package/dist/bundle/{chunk-O4ZBFATF.js → chunk-B32KZRQM.js} +12 -12
- package/dist/bundle/{chunk-5RVXXDN7.js → chunk-BBGJQMRI.js} +1 -1
- package/dist/bundle/chunk-BDKVOU3I.js +52 -0
- package/dist/bundle/{chunk-GCUOZ2OA.js → chunk-BP4FYANF.js} +6 -6
- package/dist/bundle/{chunk-XTCAWNBP.js → chunk-DCYFT3FR.js} +4 -4
- package/dist/bundle/{chunk-FPUGMDJV.js → chunk-DNCLQPOM.js} +1 -1
- package/dist/bundle/{chunk-PKW3TPNP.js → chunk-DSZYABYL.js} +38 -19
- package/dist/bundle/{chunk-6MDL2LZA.js → chunk-E745WZKY.js} +8 -8
- package/dist/bundle/chunk-EGTCQKHV.js +340 -0
- package/dist/bundle/chunk-EQG3PIH2.js +108 -0
- package/dist/bundle/{chunk-ZPZT46O6.js → chunk-ESN3W2MZ.js} +48 -12
- package/dist/bundle/{chunk-7U5X37TE.js → chunk-G46WJ7YO.js} +6 -6
- package/dist/bundle/{chunk-L6FM5RQY.js → chunk-G6PETRMV.js} +3 -3
- package/dist/bundle/chunk-GBHMT2IU.js +755 -0
- package/dist/bundle/{chunk-6QCBTBDA.js → chunk-GGMAIIVE.js} +1 -1
- package/dist/bundle/{chunk-6I4C4ZFT.js → chunk-GTKPMYK7.js} +2 -2
- package/dist/bundle/{chunk-N5YUHN6S.js → chunk-GWGHH56B.js} +12 -12
- package/dist/bundle/{chunk-5XO2AY6D.js → chunk-HC6VN5CO.js} +10 -10
- package/dist/bundle/{chunk-ARL2TTPZ.js → chunk-HP7A2ZOP.js} +9 -9
- package/dist/bundle/chunk-HZENBDW2.js +209 -0
- package/dist/bundle/{chunk-ST3ZB7LS.js → chunk-IANKXHSE.js} +1 -1
- package/dist/bundle/{chunk-GGKEQQME.js → chunk-ICPJT672.js} +13 -9
- package/dist/bundle/chunk-JQ54DYAQ.js +80 -0
- package/dist/bundle/chunk-K5JGJIV2.js +640 -0
- package/dist/bundle/{chunk-DYRISFHZ.js → chunk-KJ6USQDZ.js} +19 -9
- package/dist/bundle/{chunk-TMYZKDQ7.js → chunk-KKFY23AK.js} +65 -65
- package/dist/bundle/chunk-KQPUVXKX.js +84 -0
- package/dist/bundle/{chunk-BPSURRAD.js → chunk-KVJ3I7UL.js} +43 -64
- package/dist/bundle/{chunk-NXFKZFTC.js → chunk-KWU46LNK.js} +3 -3
- package/dist/bundle/chunk-KXJ3JEDH.js +2 -0
- package/dist/bundle/{chunk-YAA2D6RP.js → chunk-L75SMSJR.js} +5 -5
- package/dist/bundle/{chunk-OXPHJEJ2.js → chunk-LAYYO4WD.js} +3 -3
- package/dist/bundle/{chunk-6PIXP5IH.js → chunk-LEKKTJKK.js} +40 -26
- package/dist/bundle/{chunk-3AOESMW6.js → chunk-M7H4MCAX.js} +18 -259
- package/dist/bundle/{chunk-DZ6H3YJH.js → chunk-MAJJ4PG3.js} +19 -16
- package/dist/bundle/{chunk-G5VH4WUF.js → chunk-MQLPZBMQ.js} +2 -2
- package/dist/bundle/{chunk-3Z7CFQTI.js → chunk-N3JLO63O.js} +1 -1
- package/dist/bundle/{chunk-NMETTKCV.js → chunk-N46F72AF.js} +14 -14
- package/dist/bundle/{chunk-A3TUG2DP.js → chunk-NB7EOAUZ.js} +36 -1
- package/dist/bundle/{chunk-BRMV33MO.js → chunk-NEMX3UNN.js} +4 -4
- package/dist/bundle/{chunk-6CDMGT6Q.js → chunk-OBXQLFT5.js} +2 -2
- package/dist/bundle/{chunk-HH7GR6TN.js → chunk-OGNO35A2.js} +6 -6
- package/dist/bundle/{chunk-Q6MISDKJ.js → chunk-OIPYBF43.js} +3 -3
- package/dist/bundle/{chunk-6LY4LBSD.js → chunk-OO4TRVPB.js} +7 -7
- package/dist/bundle/{chunk-CHEHK6IW.js → chunk-OQFQ77AY.js} +214 -118
- package/dist/bundle/{chunk-5D4AEUVA.js → chunk-PL5P7UKW.js} +434 -1
- package/dist/bundle/{chunk-Q5LUGY2V.js → chunk-PMUPN6JW.js} +9 -9
- package/dist/bundle/chunk-PSKTMMCO.js +561 -0
- package/dist/bundle/{chunk-U5N2PKKM.js → chunk-PWVJUIDQ.js} +2 -2
- package/dist/bundle/{chunk-475P3LWG.js → chunk-Q7ICVP25.js} +1 -1
- package/dist/bundle/{chunk-JGSVWLL2.js → chunk-QG6PILDO.js} +2 -2
- package/dist/bundle/{chunk-5K54M6RD.js → chunk-QPHBK63S.js} +1 -1
- package/dist/bundle/{chunk-RFXJLG5V.js → chunk-QVSL5WJ7.js} +5173 -3077
- package/dist/bundle/{chunk-IQWBGMCR.js → chunk-QVYAV7F2.js} +4 -4
- package/dist/bundle/{chunk-XIHENZW6.js → chunk-R2B6PUVI.js} +4 -4
- package/dist/bundle/{chunk-MH4L5LL6.js → chunk-RQOZBTNI.js} +16 -3
- package/dist/bundle/{chunk-FSLR2YGR.js → chunk-T7IAWEBU.js} +7 -7
- package/dist/bundle/{chunk-D4HKTC2T.js → chunk-TKNM22OH.js} +2 -2
- package/dist/bundle/{chunk-EI37UXDR.js → chunk-TKVBFJ5C.js} +1 -1
- package/dist/bundle/{chunk-O3DYRCIT.js → chunk-TXDR6YSF.js} +1 -1
- package/dist/bundle/{chunk-CWXOXIWS.js → chunk-TY7NDMFY.js} +1 -1
- package/dist/bundle/{chunk-Z3CPZ4I4.js → chunk-UAWSINMC.js} +306 -306
- package/dist/bundle/{chunk-4F7Q5CET.js → chunk-UKAAAOPC.js} +31 -180
- package/dist/bundle/{chunk-XL4ND7CZ.js → chunk-UL2PXLKT.js} +26 -26
- package/dist/bundle/{chunk-GRYXOSN6.js → chunk-UQCTXZEP.js} +10 -10
- package/dist/bundle/{chunk-E3JVLVVB.js → chunk-UR5DBODY.js} +37 -30
- package/dist/bundle/{chunk-SUG6YGAF.js → chunk-V5EJSF2B.js} +237 -167
- package/dist/bundle/{chunk-HGSBLY6M.js → chunk-VB72LTSZ.js} +12 -12
- package/dist/bundle/{chunk-2XZ2YKW4.js → chunk-VB7FZOYX.js} +2 -100
- package/dist/bundle/{chunk-PMO2Z6DQ.js → chunk-VS6WURLX.js} +3 -3
- package/dist/bundle/{chunk-5QXQIZJY.js → chunk-VZ5PPYDG.js} +3 -4
- package/dist/bundle/{chunk-YR5TRWT2.js → chunk-W5QHB53X.js} +287 -580
- package/dist/bundle/{chunk-2P6MQH4V.js → chunk-WMANRJR5.js} +6 -6
- package/dist/bundle/chunk-WOPVBRPV.js +29 -0
- package/dist/bundle/{chunk-W32HK7KG.js → chunk-XQ2WL3HB.js} +2 -2
- package/dist/bundle/{chunk-FIJREKLA.js → chunk-XQQVMECZ.js} +3 -3
- package/dist/bundle/{chunk-75JW7X2W.js → chunk-Y6PVS55U.js} +71 -61
- package/dist/bundle/{chunk-EMYRUJCV.js → chunk-YJXJJ2XP.js} +8 -8
- package/dist/bundle/{chunk-L2TURFT6.js → chunk-YY7XKHDY.js} +10 -3
- package/dist/bundle/chunk-ZED2CJW5.js +353 -0
- package/dist/bundle/chunk-ZOYOXWJB.js +746 -0
- package/dist/bundle/{cli-QNBYDOKV.js → cli-U4O5XB7J.js} +171 -124
- package/dist/bundle/command-contract-FBTK6GQX.js +45 -0
- package/dist/bundle/{command-server-entry-WMA4SWJ5.js → command-server-entry-KKH6ZWJV.js} +35 -35
- package/dist/bundle/config-FRJSIZNN.js +118 -0
- package/dist/bundle/{decode-7PXUXNIP.js → decode-TPCNXEK4.js} +6 -6
- package/dist/bundle/{dispatch-AWDROXWN.js → dispatch-FKMIPCPQ.js} +9 -9
- package/dist/bundle/{dist-TSBH4FOU.js → dist-7CLBCYZN.js} +23 -21
- package/dist/bundle/dist-PAKDDIBT.js +191 -0
- package/dist/bundle/{echarts-WIDIUEO6.js → echarts-O3TNDAXJ.js} +2 -2
- package/dist/bundle/{embed-EIRVQF5E.js → embed-WCJSFVSK.js} +7 -7
- package/dist/bundle/{embedder-MXPM6OXK.js → embedder-TBBUPXBX.js} +10 -10
- package/dist/bundle/{failure-JZW73RP7.js → failure-XTWBYI2A.js} +3 -3
- package/dist/bundle/first-run-ELEMFW42.js +29 -0
- package/dist/bundle/first-screen-DIOBWMKP.js +46 -0
- package/dist/bundle/{folders-TGFOE7DY.js → folders-LXOL4N4S.js} +5 -5
- package/dist/bundle/{instructions-D5LNE6NJ.js → instructions-AMH5RWVJ.js} +1 -1
- package/dist/bundle/{main-OHW5Z56X.js → main-YAA7WQ23.js} +24 -24
- package/dist/bundle/{mcp-RGNRW77S.js → mcp-5HFPWC3W.js} +2 -2
- package/dist/bundle/meeting-combined-UXCF4SJ3.js +26 -0
- package/dist/bundle/meeting-model-3BZJ3EQP.js +26 -0
- package/dist/bundle/{meeting-semantic-FYOVY4S2.js → meeting-semantic-3HU7I2SJ.js} +8 -8
- package/dist/bundle/{meetings-WI4SXPBJ.js → meetings-XWMB6FOH.js} +7 -7
- package/dist/bundle/{node-UEWUFR7N.js → node-EGMCBAO7.js} +2 -2
- package/dist/bundle/{node-sqlite-FJWKJHYU.js → node-sqlite-IJBWENFX.js} +8 -8
- package/dist/bundle/oauth-SZDDAP7A.js +20 -0
- package/dist/bundle/{open-EFYTWUGC.js → open-NS3TMKZX.js} +6 -6
- package/dist/bundle/openai-4DN6WI3B.js +28 -0
- package/dist/bundle/{output-file-J4SU6X4I.js → output-file-2UB5JP3R.js} +6 -6
- package/dist/bundle/{process-U5PLNIDC.js → process-SGHEN6MQ.js} +1 -1
- package/dist/bundle/{program-3JICCSA6.js → program-GVCGZP27.js} +170 -160
- package/dist/bundle/{prompt-YPDMSOKC.js → prompt-HJFMPFVC.js} +6 -6
- package/dist/bundle/public-C2ZB2AGQ.js +198 -0
- package/dist/bundle/{recognize-Z2SSWUKH.js → recognize-2SEI5PPM.js} +5 -5
- package/dist/bundle/{remote-R5HMDHOG.js → remote-2DMS74XE.js} +11 -11
- package/dist/bundle/{rerank-6NGBEMQ2.js → rerank-H6GCYVIA.js} +8 -8
- package/dist/bundle/run-log-QU26SUZP.js +145 -0
- package/dist/bundle/{serve-CU3RMWU7.js → serve-ODVRPFJO.js} +11 -11
- package/dist/bundle/server-NBPF6IDZ.js +95 -0
- package/dist/bundle/{server-SOQSVX2Q.js → server-PCLIO24L.js} +82 -69
- package/dist/bundle/{services-LROZ3RDT.js → services-4QAPXBLO.js} +60 -54
- package/dist/bundle/{speech-AS77HFIF.js → speech-MA6ZT3WE.js} +28 -28
- package/dist/bundle/{sqlite-runtime-U25NS6BK.js → sqlite-runtime-PVMAUXRN.js} +7 -7
- package/dist/bundle/{state-CPEVKK66.js → state-QFMTYUME.js} +7 -7
- package/dist/bundle/{store-6CHRMJM7.js → store-25OTAQC3.js} +31 -24
- package/dist/bundle/{store-QKHCZOYR.js → store-F724QIKJ.js} +34 -26
- package/dist/bundle/store-connection-OGPXANGB.js +111 -0
- package/dist/bundle/store-maintenance-command-2CM7LLNQ.js +83 -0
- package/dist/bundle/{streaming-VDJOYGMO.js → streaming-S22C4DG5.js} +7 -7
- package/dist/bundle/surface-7PXHWCF6.js +81 -0
- package/dist/bundle/{tokens-JBN2OHQB.js → tokens-NLUHA2DW.js} +11 -10
- package/dist/bundle/zm.js +9 -9
- package/dist/bundle/{zoom-app-Q4IKYNG3.js → zoom-app-YWFB367P.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/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-7PYXHK2I.js +0 -122
- package/dist/bundle/chunk-3BTRJYIT.js +0 -729
- package/dist/bundle/chunk-M4LAF627.js +0 -719
- package/dist/bundle/command-contract-CT6MV6YG.js +0 -45
- package/dist/bundle/config-ZFQFDEVL.js +0 -109
- package/dist/bundle/first-run-K6EHRAIM.js +0 -29
- package/dist/bundle/first-screen-C6AF4KT4.js +0 -45
- package/dist/bundle/meeting-combined-3OKFXZNA.js +0 -26
- package/dist/bundle/meeting-model-4XNF725D.js +0 -26
- package/dist/bundle/oauth-KOONTGLW.js +0 -20
- package/dist/bundle/openai-6Y2JRDNY.js +0 -28
- package/dist/bundle/run-log-LG3TI3WI.js +0 -136
- package/dist/bundle/server-X7JYRMKX.js +0 -85
- package/dist/bundle/store-connection-FCDVOPWB.js +0 -102
- package/dist/bundle/store-maintenance-command-6HVOAHOZ.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-2CI2OEZQ.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-VN7TKMOW.js";
|
|
12
|
+
} from "./chunk-TKNM22OH.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-T7IAWEBU.js";
|
|
23
|
+
import {
|
|
24
|
+
carries
|
|
25
|
+
} from "./chunk-3YM4B2GT.js";
|
|
26
26
|
import {
|
|
27
27
|
permissionCeiling
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-QVYAV7F2.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-KJ6USQDZ.js";
|
|
43
43
|
import {
|
|
44
44
|
note
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-G6PETRMV.js";
|
|
46
46
|
import {
|
|
47
47
|
DEFAULT_RERANK_MODEL,
|
|
48
48
|
RERANK_MODELS
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-BP4FYANF.js";
|
|
50
50
|
import {
|
|
51
51
|
endpoint
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-6QYZP4E2.js";
|
|
53
53
|
import {
|
|
54
54
|
filesPresent,
|
|
55
55
|
sharedModelsDirectory
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-4HLQ2JGK.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-ZOYOXWJB.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-WMANRJR5.js";
|
|
105
105
|
import {
|
|
106
106
|
isCliFailure,
|
|
107
107
|
storeDamaged
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-GTKPMYK7.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-DSZYABYL.js";
|
|
124
124
|
import {
|
|
125
125
|
TAG_TYPES
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-LAYYO4WD.js";
|
|
127
127
|
import {
|
|
128
128
|
repairConfigText,
|
|
129
129
|
sharedConfigPath
|
|
130
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-E745WZKY.js";
|
|
131
131
|
import {
|
|
132
132
|
storePath
|
|
133
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-274SLQNW.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-KKFY23AK.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-UAWSINMC.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-6CWL5BKG.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-ESN3W2MZ.js";
|
|
224
224
|
import {
|
|
225
225
|
CliError,
|
|
226
226
|
isCliError
|
|
227
|
-
} from "./chunk-
|
|
227
|
+
} from "./chunk-IANKXHSE.js";
|
|
228
228
|
import {
|
|
229
229
|
visibleControls
|
|
230
|
-
} from "./chunk-
|
|
230
|
+
} from "./chunk-BBGJQMRI.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@1.0.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@1.0.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@1.0.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@1.0.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@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/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@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/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@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/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@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/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@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/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@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
4220
4220
|
var quoted = strictObject({
|
|
4221
4221
|
id,
|
|
4222
4222
|
sender_id: nullable(id),
|
|
@@ -4330,12 +4330,14 @@ var message = strictObject({
|
|
|
4330
4330
|
/** Mail `review`: no earlier stored email, in any account, came from this address. */
|
|
4331
4331
|
new_sender: optional(boolean()),
|
|
4332
4332
|
/** Mail `review`: how many identities the sender's person has; 1 is this address alone. */
|
|
4333
|
-
sender_identities: optional(number())
|
|
4333
|
+
sender_identities: optional(number()),
|
|
4334
|
+
/** Mail `review`: how `inbox` sorted the thread, by the AI model; the reason is untrusted. */
|
|
4335
|
+
inbox: optional(strictObject({ bucket: picklist(["answer", "read", "later"]), reason: text }))
|
|
4334
4336
|
})),
|
|
4335
4337
|
provider_metadata: providerMetadata
|
|
4336
4338
|
});
|
|
4337
4339
|
|
|
4338
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4340
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
|
|
4339
4341
|
var recordedMeeting = strictObject({
|
|
4340
4342
|
ref: reference,
|
|
4341
4343
|
meeting_id: count,
|
|
@@ -4352,7 +4354,7 @@ var recordedMeeting = strictObject({
|
|
|
4352
4354
|
call: optional(meetingCall)
|
|
4353
4355
|
});
|
|
4354
4356
|
|
|
4355
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4357
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
4356
4358
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
4357
4359
|
var contextMessage = strictObject({
|
|
4358
4360
|
locator: reference,
|
|
@@ -4558,7 +4560,7 @@ var contactPreparation = strictObject({
|
|
|
4558
4560
|
})
|
|
4559
4561
|
});
|
|
4560
4562
|
|
|
4561
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4563
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
4562
4564
|
var nullableText = nullable(text);
|
|
4563
4565
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
4564
4566
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -4714,7 +4716,7 @@ var stage = strictObject({
|
|
|
4714
4716
|
untrusted
|
|
4715
4717
|
});
|
|
4716
4718
|
|
|
4717
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4719
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/business-context.js
|
|
4718
4720
|
var nullableText2 = nullable(text);
|
|
4719
4721
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
4720
4722
|
var standing = picklist(STANDINGS);
|
|
@@ -4893,7 +4895,7 @@ var dealBrief = strictObject({
|
|
|
4893
4895
|
not_read: coverage2.entries.not_read
|
|
4894
4896
|
});
|
|
4895
4897
|
|
|
4896
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4898
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
4897
4899
|
var botProfile = strictObject({
|
|
4898
4900
|
name: text,
|
|
4899
4901
|
token: text,
|
|
@@ -5017,7 +5019,7 @@ var stickerInventory = strictObject({
|
|
|
5017
5019
|
url: optional(nullable(text))
|
|
5018
5020
|
});
|
|
5019
5021
|
|
|
5020
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5022
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
5021
5023
|
var actionableError = objectWithRest({
|
|
5022
5024
|
code: text,
|
|
5023
5025
|
message: text,
|
|
@@ -5034,7 +5036,7 @@ var batchResult = strictObject({
|
|
|
5034
5036
|
max_error_percent: count
|
|
5035
5037
|
});
|
|
5036
5038
|
|
|
5037
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5039
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
5038
5040
|
var conversationBuild = strictObject({
|
|
5039
5041
|
chat: id,
|
|
5040
5042
|
messages: count,
|
|
@@ -5059,13 +5061,13 @@ var catchUpPreparation = strictObject({
|
|
|
5059
5061
|
prepared: optional(conversationPreparation)
|
|
5060
5062
|
});
|
|
5061
5063
|
|
|
5062
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5064
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
5063
5065
|
import { spawn } from "node:child_process";
|
|
5064
5066
|
import { randomBytes } from "node:crypto";
|
|
5065
5067
|
import { closeSync, existsSync as existsSync2, mkdirSync, openSync, readdirSync, readFileSync as readFileSync2, realpathSync, rmSync as rmSync2 } from "node:fs";
|
|
5066
5068
|
import { dirname, join as join2 } from "node:path";
|
|
5067
5069
|
|
|
5068
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5070
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
5069
5071
|
import { existsSync, readFileSync, rmSync } from "node:fs";
|
|
5070
5072
|
import { join } from "node:path";
|
|
5071
5073
|
var PART = /^[\w@+-][\w.@+-]{0,99}$/;
|
|
@@ -5105,7 +5107,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
5105
5107
|
};
|
|
5106
5108
|
}, "progressOf");
|
|
5107
5109
|
|
|
5108
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5110
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
5109
5111
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
5110
5112
|
const run = currentRun();
|
|
5111
5113
|
const trace = traceId ?? run.traceId;
|
|
@@ -5119,7 +5121,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
5119
5121
|
}));
|
|
5120
5122
|
}, "recordLogFor");
|
|
5121
5123
|
|
|
5122
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5124
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
5123
5125
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
5124
5126
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
5125
5127
|
const out = openSync(log, "a", 384);
|
|
@@ -5274,7 +5276,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
5274
5276
|
return { job: id6, pid, chat: input.chat, log };
|
|
5275
5277
|
}, "startArchiveJob");
|
|
5276
5278
|
|
|
5277
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5279
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
5278
5280
|
var problem = strictObject({ code: text, message: text });
|
|
5279
5281
|
var job = strictObject({
|
|
5280
5282
|
id,
|
|
@@ -5297,7 +5299,7 @@ var job = strictObject({
|
|
|
5297
5299
|
error: optional(problem)
|
|
5298
5300
|
});
|
|
5299
5301
|
|
|
5300
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5302
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
5301
5303
|
var extractionItem = strictObject({
|
|
5302
5304
|
ref: reference,
|
|
5303
5305
|
attachment: count,
|
|
@@ -5330,7 +5332,7 @@ var extractionReport = strictObject({
|
|
|
5330
5332
|
cursor: optional(text)
|
|
5331
5333
|
});
|
|
5332
5334
|
|
|
5333
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5335
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
5334
5336
|
var savedMessageFile = strictObject({
|
|
5335
5337
|
kind: text,
|
|
5336
5338
|
path: text,
|
|
@@ -5417,7 +5419,7 @@ var messageSyncAll = strictObject({
|
|
|
5417
5419
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
5418
5420
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
5419
5421
|
|
|
5420
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5422
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
5421
5423
|
var range = strictObject({ from: number(), to: number() });
|
|
5422
5424
|
var storeChatStatus = strictObject({
|
|
5423
5425
|
chat_id: id,
|
|
@@ -5515,7 +5517,7 @@ var storeJobRetry = union([
|
|
|
5515
5517
|
]);
|
|
5516
5518
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
5517
5519
|
|
|
5518
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5520
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
5519
5521
|
var account = strictObject({
|
|
5520
5522
|
provider: text,
|
|
5521
5523
|
id,
|
|
@@ -5525,7 +5527,7 @@ var account = strictObject({
|
|
|
5525
5527
|
scope: optional(picklist(["personal", "work"]))
|
|
5526
5528
|
});
|
|
5527
5529
|
|
|
5528
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5530
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
5529
5531
|
var accountSession = strictObject({
|
|
5530
5532
|
current: boolean(),
|
|
5531
5533
|
client: nullable(text),
|
|
@@ -5535,7 +5537,7 @@ var accountSession = strictObject({
|
|
|
5535
5537
|
created_at: optional(nullable(time))
|
|
5536
5538
|
});
|
|
5537
5539
|
|
|
5538
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5540
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
5539
5541
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
5540
5542
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
5541
5543
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -5564,7 +5566,7 @@ var accountRemoval = strictObject({
|
|
|
5564
5566
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
5565
5567
|
});
|
|
5566
5568
|
|
|
5567
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5569
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
5568
5570
|
var accountProfile = strictObject({
|
|
5569
5571
|
profile: id,
|
|
5570
5572
|
current: boolean(),
|
|
@@ -5576,7 +5578,7 @@ var accountProfile = strictObject({
|
|
|
5576
5578
|
bot: optional(literal(true))
|
|
5577
5579
|
});
|
|
5578
5580
|
|
|
5579
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5581
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
5580
5582
|
var milliseconds = pipe(number(), minValue(0));
|
|
5581
5583
|
var counterReading = strictObject({
|
|
5582
5584
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -5588,7 +5590,7 @@ var counterReading = strictObject({
|
|
|
5588
5590
|
});
|
|
5589
5591
|
var selection = record(string(), unknown());
|
|
5590
5592
|
|
|
5591
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5593
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
5592
5594
|
var adminRow = strictObject({
|
|
5593
5595
|
ref: reference,
|
|
5594
5596
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -5641,7 +5643,7 @@ var adminReport = strictObject({
|
|
|
5641
5643
|
rows: array(adminRow)
|
|
5642
5644
|
});
|
|
5643
5645
|
|
|
5644
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5646
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
5645
5647
|
var closeSuggestion = strictObject({
|
|
5646
5648
|
as: picklist(["done", "dismissed"]),
|
|
5647
5649
|
/** The agent's name. */
|
|
@@ -5703,7 +5705,7 @@ var task = strictObject({
|
|
|
5703
5705
|
updated_at: optional(time)
|
|
5704
5706
|
});
|
|
5705
5707
|
|
|
5706
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5708
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
5707
5709
|
var agendaChat = strictObject({
|
|
5708
5710
|
chat: reference,
|
|
5709
5711
|
title: nullable(text),
|
|
@@ -5773,11 +5775,11 @@ var agenda = strictObject({
|
|
|
5773
5775
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
5774
5776
|
});
|
|
5775
5777
|
|
|
5776
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5778
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
5777
5779
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
5778
5780
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
5779
5781
|
|
|
5780
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5782
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
5781
5783
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
5782
5784
|
var attachmentBytes = strictObject({
|
|
5783
5785
|
ref: reference,
|
|
@@ -5808,7 +5810,7 @@ var attachmentTextChange = strictObject({
|
|
|
5808
5810
|
text: optional(text)
|
|
5809
5811
|
});
|
|
5810
5812
|
|
|
5811
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5813
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
5812
5814
|
var chart = strictObject({
|
|
5813
5815
|
version: literal(1),
|
|
5814
5816
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -5823,7 +5825,7 @@ var chart = strictObject({
|
|
|
5823
5825
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
5824
5826
|
});
|
|
5825
5827
|
|
|
5826
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5828
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
5827
5829
|
var named = strictObject({
|
|
5828
5830
|
id,
|
|
5829
5831
|
title: nullable(text),
|
|
@@ -5846,7 +5848,7 @@ var folder = strictObject({
|
|
|
5846
5848
|
excluded_chats: optional(array(named))
|
|
5847
5849
|
});
|
|
5848
5850
|
|
|
5849
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5851
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
5850
5852
|
var inviteLink = strictObject({
|
|
5851
5853
|
link: text,
|
|
5852
5854
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -5862,7 +5864,7 @@ var inviteLink = strictObject({
|
|
|
5862
5864
|
joined_count: optional(count)
|
|
5863
5865
|
});
|
|
5864
5866
|
|
|
5865
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5867
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
5866
5868
|
var operated = { operation_id: id, chat_id: id };
|
|
5867
5869
|
var group = strictObject({
|
|
5868
5870
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -5942,7 +5944,7 @@ var chatFolderOrder = strictObject({
|
|
|
5942
5944
|
folders: array(strictObject({ id, title: text }))
|
|
5943
5945
|
});
|
|
5944
5946
|
|
|
5945
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5947
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
5946
5948
|
var operated2 = { operation_id: id, chat_id: id };
|
|
5947
5949
|
var chatRemoval = strictObject(operated2);
|
|
5948
5950
|
var chatMuting = strictObject({
|
|
@@ -5953,7 +5955,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
5953
5955
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
5954
5956
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
5955
5957
|
|
|
5956
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5958
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
5957
5959
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
5958
5960
|
var chatEvent = strictObject({
|
|
5959
5961
|
chat_id: id,
|
|
@@ -5970,7 +5972,7 @@ var chatEvent = strictObject({
|
|
|
5970
5972
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
5971
5973
|
});
|
|
5972
5974
|
|
|
5973
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5975
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
5974
5976
|
var chatMetadata = strictObject({
|
|
5975
5977
|
chat_id: id,
|
|
5976
5978
|
title: nullable(text),
|
|
@@ -5985,7 +5987,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
5985
5987
|
has_more: boolean()
|
|
5986
5988
|
});
|
|
5987
5989
|
|
|
5988
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5990
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
5989
5991
|
var action = picklist(["report", "delete", "remove"]);
|
|
5990
5992
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
5991
5993
|
var chatRules = strictObject({
|
|
@@ -6022,7 +6024,7 @@ var chatModeration = strictObject({
|
|
|
6022
6024
|
}))
|
|
6023
6025
|
});
|
|
6024
6026
|
|
|
6025
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6027
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/chat-sending.js
|
|
6026
6028
|
var chatSending = strictObject({
|
|
6027
6029
|
mode: picklist(["allowed", "ask", "denied"]),
|
|
6028
6030
|
meaning: text,
|
|
@@ -6032,7 +6034,7 @@ var chatSending = strictObject({
|
|
|
6032
6034
|
changed: optional(boolean())
|
|
6033
6035
|
});
|
|
6034
6036
|
|
|
6035
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6037
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
6036
6038
|
var optionalCount = optional(count);
|
|
6037
6039
|
var minutes = nullable(number());
|
|
6038
6040
|
var chatStats = strictObject({
|
|
@@ -6108,7 +6110,7 @@ var taskStats = strictObject({
|
|
|
6108
6110
|
}))
|
|
6109
6111
|
});
|
|
6110
6112
|
|
|
6111
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6113
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
6112
6114
|
var memberCount = strictObject({
|
|
6113
6115
|
day: pipe(text, isoDate()),
|
|
6114
6116
|
participants: nullable(count),
|
|
@@ -6131,7 +6133,7 @@ var chatTracking = strictObject({
|
|
|
6131
6133
|
tracked: boolean()
|
|
6132
6134
|
});
|
|
6133
6135
|
|
|
6134
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6136
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
6135
6137
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
6136
6138
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
6137
6139
|
var profileFields = {
|
|
@@ -6169,7 +6171,7 @@ var profileFields = {
|
|
|
6169
6171
|
}))
|
|
6170
6172
|
};
|
|
6171
6173
|
|
|
6172
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6174
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
6173
6175
|
var contact = strictObject({
|
|
6174
6176
|
ref: reference,
|
|
6175
6177
|
id,
|
|
@@ -6200,7 +6202,7 @@ var contact = strictObject({
|
|
|
6200
6202
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
6201
6203
|
});
|
|
6202
6204
|
|
|
6203
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6205
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
6204
6206
|
var contactNote = strictObject({
|
|
6205
6207
|
id,
|
|
6206
6208
|
/** The contact, as a `contact:` reference. */
|
|
@@ -6212,13 +6214,13 @@ var contactNote = strictObject({
|
|
|
6212
6214
|
updated_at: time
|
|
6213
6215
|
});
|
|
6214
6216
|
|
|
6215
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6217
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
6216
6218
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
6217
6219
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
6218
6220
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
6219
6221
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
6220
6222
|
|
|
6221
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6223
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
6222
6224
|
var conversation = strictObject({
|
|
6223
6225
|
id,
|
|
6224
6226
|
chat: reference,
|
|
@@ -6233,7 +6235,7 @@ var conversation = strictObject({
|
|
|
6233
6235
|
rules_version: count
|
|
6234
6236
|
});
|
|
6235
6237
|
|
|
6236
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6238
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
6237
6239
|
var conversationDetails = union([
|
|
6238
6240
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
6239
6241
|
message
|
|
@@ -6320,10 +6322,15 @@ var conversationHit = strictObject({
|
|
|
6320
6322
|
score: nullable(number()),
|
|
6321
6323
|
matched_in: optional(literal("context")),
|
|
6322
6324
|
by: array(picklist(["meaning", "words"])),
|
|
6323
|
-
stale: boolean()
|
|
6325
|
+
stale: boolean(),
|
|
6326
|
+
/** Up to three of the chunk's messages as "sender: text": what the hit says, without opening it. */
|
|
6327
|
+
lines: optional(array(text)),
|
|
6328
|
+
/** In the block of the owner's own conversations, which the hits before it left out. */
|
|
6329
|
+
from_owner: optional(literal(true)),
|
|
6330
|
+
untrusted
|
|
6324
6331
|
});
|
|
6325
6332
|
|
|
6326
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6333
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
6327
6334
|
var counters = strictObject({
|
|
6328
6335
|
cutoff: time,
|
|
6329
6336
|
max_age_ms: milliseconds,
|
|
@@ -6353,7 +6360,7 @@ var counterRefresh = strictObject({
|
|
|
6353
6360
|
complete: optional(boolean())
|
|
6354
6361
|
});
|
|
6355
6362
|
|
|
6356
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6363
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
6357
6364
|
var document = strictObject({
|
|
6358
6365
|
ref: reference,
|
|
6359
6366
|
id,
|
|
@@ -6368,7 +6375,7 @@ var document = strictObject({
|
|
|
6368
6375
|
owners: optional(array(text))
|
|
6369
6376
|
});
|
|
6370
6377
|
|
|
6371
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6378
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
6372
6379
|
var documentLink = strictObject({
|
|
6373
6380
|
ref: reference,
|
|
6374
6381
|
url: text,
|
|
@@ -6379,7 +6386,7 @@ var documentLink = strictObject({
|
|
|
6379
6386
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
6380
6387
|
});
|
|
6381
6388
|
|
|
6382
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6389
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
6383
6390
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
6384
6391
|
var contribution = strictObject({
|
|
6385
6392
|
message: evidenceMessage,
|
|
@@ -6409,7 +6416,7 @@ var retentionStay = strictObject({
|
|
|
6409
6416
|
});
|
|
6410
6417
|
var evidence = union([contribution, retentionStay]);
|
|
6411
6418
|
|
|
6412
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6419
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
6413
6420
|
var fact = strictObject({
|
|
6414
6421
|
ref: reference,
|
|
6415
6422
|
id,
|
|
@@ -6440,7 +6447,7 @@ var fact = strictObject({
|
|
|
6440
6447
|
updated_at: time
|
|
6441
6448
|
});
|
|
6442
6449
|
|
|
6443
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6450
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
6444
6451
|
var hit = strictObject({
|
|
6445
6452
|
kind: picklist([
|
|
6446
6453
|
"message",
|
|
@@ -6452,6 +6459,9 @@ var hit = strictObject({
|
|
|
6452
6459
|
"deal",
|
|
6453
6460
|
"lead",
|
|
6454
6461
|
"crm_file",
|
|
6462
|
+
"issue",
|
|
6463
|
+
"project",
|
|
6464
|
+
"issue_comment",
|
|
6455
6465
|
...BUSINESS_KINDS
|
|
6456
6466
|
]),
|
|
6457
6467
|
ref: reference,
|
|
@@ -6459,6 +6469,8 @@ var hit = strictObject({
|
|
|
6459
6469
|
url: optional(text),
|
|
6460
6470
|
/** The account it was found in; a note's folder id, or `internal` for a note written in memo. */
|
|
6461
6471
|
account: text,
|
|
6472
|
+
/** A tracker hit that more than one sign-in holds: every account it was found in, `account` first. */
|
|
6473
|
+
accounts: optional(array(text)),
|
|
6462
6474
|
/** The chat, the mail thread's subject, the note's, the event's or the meeting's title. */
|
|
6463
6475
|
title: nullable(text),
|
|
6464
6476
|
/** Null for a meeting whose start is unknown. */
|
|
@@ -6499,7 +6511,7 @@ var hit = strictObject({
|
|
|
6499
6511
|
untrusted
|
|
6500
6512
|
});
|
|
6501
6513
|
|
|
6502
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6514
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
6503
6515
|
var identity = strictObject({
|
|
6504
6516
|
ref: reference,
|
|
6505
6517
|
provider: text,
|
|
@@ -6515,7 +6527,7 @@ var identity = strictObject({
|
|
|
6515
6527
|
person: optional(nullable(reference))
|
|
6516
6528
|
});
|
|
6517
6529
|
|
|
6518
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6530
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
6519
6531
|
var imageEmbedding = strictObject({
|
|
6520
6532
|
model: text,
|
|
6521
6533
|
embedded: count,
|
|
@@ -6524,7 +6536,7 @@ var imageEmbedding = strictObject({
|
|
|
6524
6536
|
more: boolean()
|
|
6525
6537
|
});
|
|
6526
6538
|
|
|
6527
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6539
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
6528
6540
|
var joinRequest = strictObject({
|
|
6529
6541
|
person_id: id,
|
|
6530
6542
|
name: nullable(text),
|
|
@@ -6535,7 +6547,7 @@ var joinRequest = strictObject({
|
|
|
6535
6547
|
about: optional(text)
|
|
6536
6548
|
});
|
|
6537
6549
|
|
|
6538
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6550
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
6539
6551
|
var pollVote = strictObject({
|
|
6540
6552
|
person_id: id,
|
|
6541
6553
|
name: nullable(text),
|
|
@@ -6545,7 +6557,7 @@ var pollVote = strictObject({
|
|
|
6545
6557
|
voted_at: time
|
|
6546
6558
|
});
|
|
6547
6559
|
|
|
6548
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6560
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
6549
6561
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
6550
6562
|
var observation = strictObject({
|
|
6551
6563
|
value: pipe(number(), minValue(0)),
|
|
@@ -6587,7 +6599,7 @@ var serveSummary = strictObject({
|
|
|
6587
6599
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
6588
6600
|
});
|
|
6589
6601
|
|
|
6590
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6602
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
6591
6603
|
var mailCounts = strictObject({
|
|
6592
6604
|
by: picklist(["day", "week", "sender"]),
|
|
6593
6605
|
received: count,
|
|
@@ -6602,7 +6614,7 @@ var mailCounts = strictObject({
|
|
|
6602
6614
|
}))
|
|
6603
6615
|
});
|
|
6604
6616
|
|
|
6605
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6617
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
6606
6618
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
6607
6619
|
var base = { id, evidence: array(evidence2) };
|
|
6608
6620
|
var finding = variant("kind", [
|
|
@@ -6746,7 +6758,7 @@ var mailFindings = strictObject({
|
|
|
6746
6758
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
6747
6759
|
});
|
|
6748
6760
|
|
|
6749
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6761
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
6750
6762
|
var mediaArchive = strictObject({
|
|
6751
6763
|
directory: text,
|
|
6752
6764
|
chats: count,
|
|
@@ -6778,7 +6790,7 @@ var mediaArchiveTimer = union([
|
|
|
6778
6790
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
6779
6791
|
]);
|
|
6780
6792
|
|
|
6781
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6793
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
6782
6794
|
var preparationId = pipe(string(), minLength(1));
|
|
6783
6795
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
6784
6796
|
var preparationTime = nullable(isoTime);
|
|
@@ -6870,7 +6882,7 @@ var preparationMeeting = strictObject({
|
|
|
6870
6882
|
updated_at: isoTime
|
|
6871
6883
|
});
|
|
6872
6884
|
|
|
6873
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6885
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
6874
6886
|
var meetingEvidence = preparationEvidence;
|
|
6875
6887
|
var meetingPersonContext = strictObject({
|
|
6876
6888
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -6892,7 +6904,7 @@ var meetingPersonContext = strictObject({
|
|
|
6892
6904
|
})
|
|
6893
6905
|
});
|
|
6894
6906
|
|
|
6895
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6907
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
6896
6908
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
6897
6909
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
6898
6910
|
var finding2 = variant("kind", [
|
|
@@ -6930,7 +6942,7 @@ var meetingFindings = strictObject({
|
|
|
6930
6942
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
6931
6943
|
});
|
|
6932
6944
|
|
|
6933
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6945
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
6934
6946
|
var communicationCoverage = strictObject({
|
|
6935
6947
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
6936
6948
|
query: string(),
|
|
@@ -6975,7 +6987,7 @@ var preparationCommunications = strictObject({
|
|
|
6975
6987
|
}))
|
|
6976
6988
|
});
|
|
6977
6989
|
|
|
6978
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6990
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
6979
6991
|
var meetingPreparation = strictObject({
|
|
6980
6992
|
communications: optional(preparationCommunications),
|
|
6981
6993
|
schema_version: literal(1),
|
|
@@ -7088,7 +7100,7 @@ var meetingPreparation = strictObject({
|
|
|
7088
7100
|
})
|
|
7089
7101
|
});
|
|
7090
7102
|
|
|
7091
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7103
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
7092
7104
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
7093
7105
|
var id3 = pipe(string(), minLength(1));
|
|
7094
7106
|
var text3 = string();
|
|
@@ -7152,7 +7164,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
7152
7164
|
})
|
|
7153
7165
|
});
|
|
7154
7166
|
|
|
7155
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7167
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
7156
7168
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
7157
7169
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
7158
7170
|
var meetingSeriesInventory = strictObject({
|
|
@@ -7182,7 +7194,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
7182
7194
|
})
|
|
7183
7195
|
});
|
|
7184
7196
|
|
|
7185
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7197
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
7186
7198
|
var text4 = string();
|
|
7187
7199
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
7188
7200
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -7199,7 +7211,7 @@ var meetingTaskProposal = strictObject({
|
|
|
7199
7211
|
persistence: literal("proposal-only")
|
|
7200
7212
|
});
|
|
7201
7213
|
|
|
7202
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7214
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
7203
7215
|
var memory = strictObject({
|
|
7204
7216
|
ref: reference,
|
|
7205
7217
|
id,
|
|
@@ -7227,7 +7239,7 @@ var memory = strictObject({
|
|
|
7227
7239
|
updated_at: time
|
|
7228
7240
|
});
|
|
7229
7241
|
|
|
7230
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7242
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
7231
7243
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
7232
7244
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
7233
7245
|
var mention = strictObject({
|
|
@@ -7271,13 +7283,16 @@ var mentionRebuild = strictObject({
|
|
|
7271
7283
|
mentions: count
|
|
7272
7284
|
});
|
|
7273
7285
|
|
|
7274
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7286
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
7275
7287
|
var operated3 = { operation_id: id, chat_id: id };
|
|
7276
7288
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
7277
7289
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
7278
7290
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
7291
|
+
var scheduledCancellation = strictObject({ ...operated3, cancelled: array(id) });
|
|
7292
|
+
var scheduledSendEntries = { ...operated3, sent: array(id), messages: array(message) };
|
|
7293
|
+
var scheduledSend = strictObject(scheduledSendEntries);
|
|
7279
7294
|
|
|
7280
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7295
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
7281
7296
|
var messageTranscript = strictObject({
|
|
7282
7297
|
message_id: id,
|
|
7283
7298
|
text,
|
|
@@ -7335,7 +7350,7 @@ var evidencePacket = strictObject({
|
|
|
7335
7350
|
}))
|
|
7336
7351
|
});
|
|
7337
7352
|
|
|
7338
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7353
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
7339
7354
|
var messageThread = strictObject({
|
|
7340
7355
|
ref: reference,
|
|
7341
7356
|
chat: id,
|
|
@@ -7352,7 +7367,7 @@ var messageThread = strictObject({
|
|
|
7352
7367
|
});
|
|
7353
7368
|
var messageContext = union([message, messageThread]);
|
|
7354
7369
|
|
|
7355
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7370
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
7356
7371
|
var messageCounts = strictObject({
|
|
7357
7372
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
7358
7373
|
total: count,
|
|
@@ -7365,7 +7380,7 @@ var messageCounts = strictObject({
|
|
|
7365
7380
|
}))
|
|
7366
7381
|
});
|
|
7367
7382
|
|
|
7368
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7383
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
7369
7384
|
var messageLink = strictObject({
|
|
7370
7385
|
ref: reference,
|
|
7371
7386
|
url: nullable(text),
|
|
@@ -7382,7 +7397,7 @@ var messageLink = strictObject({
|
|
|
7382
7397
|
})))
|
|
7383
7398
|
});
|
|
7384
7399
|
|
|
7385
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7400
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
7386
7401
|
var messageWrite = strictObject({
|
|
7387
7402
|
operation_id: id,
|
|
7388
7403
|
message,
|
|
@@ -7397,7 +7412,7 @@ var draftWrite = strictObject({
|
|
|
7397
7412
|
});
|
|
7398
7413
|
var messageSend = union([messageWrite, draftWrite]);
|
|
7399
7414
|
|
|
7400
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7415
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
7401
7416
|
var model = strictObject({
|
|
7402
7417
|
id,
|
|
7403
7418
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -7432,7 +7447,7 @@ var chosenModel = strictObject({
|
|
|
7432
7447
|
estimate_seconds: nullable(count)
|
|
7433
7448
|
});
|
|
7434
7449
|
|
|
7435
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7450
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
7436
7451
|
var source = picklist(["environment", "keyring", "file"]);
|
|
7437
7452
|
var modelKey = strictObject({
|
|
7438
7453
|
provider: text,
|
|
@@ -7442,7 +7457,7 @@ var modelKey = strictObject({
|
|
|
7442
7457
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
7443
7458
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
7444
7459
|
|
|
7445
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7460
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
7446
7461
|
var versus = strictObject({ current: number(), previous: number() });
|
|
7447
7462
|
var person = { person_ref: reference, name: nullable(text) };
|
|
7448
7463
|
var graph = strictObject({
|
|
@@ -7476,14 +7491,14 @@ var officialStats = strictObject({
|
|
|
7476
7491
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
7477
7492
|
});
|
|
7478
7493
|
|
|
7479
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7494
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
7480
7495
|
var person2 = strictObject({
|
|
7481
7496
|
ref: reference,
|
|
7482
7497
|
name: nullable(text),
|
|
7483
7498
|
identities: optional(array(identity))
|
|
7484
7499
|
});
|
|
7485
7500
|
|
|
7486
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7501
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
7487
7502
|
var poll = strictObject({
|
|
7488
7503
|
chat_id: id,
|
|
7489
7504
|
message_id: id,
|
|
@@ -7499,11 +7514,11 @@ var poll = strictObject({
|
|
|
7499
7514
|
});
|
|
7500
7515
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
7501
7516
|
|
|
7502
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7517
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
7503
7518
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
7504
7519
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
7505
7520
|
|
|
7506
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7521
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
7507
7522
|
var figures = record(string(), number());
|
|
7508
7523
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
7509
7524
|
var rankingRow = strictObject({
|
|
@@ -7550,7 +7565,7 @@ var ranking = strictObject({
|
|
|
7550
7565
|
rows: array(rankingRow)
|
|
7551
7566
|
});
|
|
7552
7567
|
|
|
7553
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7568
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
7554
7569
|
var reaction = strictObject({
|
|
7555
7570
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
7556
7571
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -7558,7 +7573,7 @@ var reaction = strictObject({
|
|
|
7558
7573
|
reacted_at: time
|
|
7559
7574
|
});
|
|
7560
7575
|
|
|
7561
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7576
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
7562
7577
|
var reactionChange = strictObject({
|
|
7563
7578
|
operation_id: id,
|
|
7564
7579
|
chat_id: id,
|
|
@@ -7566,7 +7581,7 @@ var reactionChange = strictObject({
|
|
|
7566
7581
|
reaction: nullable(text)
|
|
7567
7582
|
});
|
|
7568
7583
|
|
|
7569
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7584
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
7570
7585
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
7571
7586
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
7572
7587
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -7577,7 +7592,7 @@ var recipientChange = strictObject({
|
|
|
7577
7592
|
...partial(recipientOff).entries
|
|
7578
7593
|
});
|
|
7579
7594
|
|
|
7580
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7595
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
7581
7596
|
var events = array(record(string(), unknown()));
|
|
7582
7597
|
var recordedRun = strictObject({
|
|
7583
7598
|
run_id: id,
|
|
@@ -7649,7 +7664,7 @@ var runHit = strictObject({
|
|
|
7649
7664
|
});
|
|
7650
7665
|
var runLocation = strictObject({ path: text });
|
|
7651
7666
|
|
|
7652
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7667
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
7653
7668
|
var relationship = strictObject({
|
|
7654
7669
|
id,
|
|
7655
7670
|
from: reference,
|
|
@@ -7676,7 +7691,7 @@ var relationship = strictObject({
|
|
|
7676
7691
|
created_at: time
|
|
7677
7692
|
});
|
|
7678
7693
|
|
|
7679
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7694
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
7680
7695
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
7681
7696
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
7682
7697
|
var responseTimes = strictObject({
|
|
@@ -7693,7 +7708,7 @@ var waitingChats = strictObject({
|
|
|
7693
7708
|
by_kind: strictObject({ private: count, group: count })
|
|
7694
7709
|
});
|
|
7695
7710
|
|
|
7696
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7711
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
7697
7712
|
var retentionCohort = strictObject({
|
|
7698
7713
|
/** The first day of the joining day or week. */
|
|
7699
7714
|
cohort: text,
|
|
@@ -7741,7 +7756,7 @@ var retention = strictObject({
|
|
|
7741
7756
|
rows: array(retentionCohort)
|
|
7742
7757
|
});
|
|
7743
7758
|
|
|
7744
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7759
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
7745
7760
|
var savedSearch = strictObject({
|
|
7746
7761
|
id,
|
|
7747
7762
|
/** `null` for a run in the history. */
|
|
@@ -7758,7 +7773,7 @@ var savedSearch = strictObject({
|
|
|
7758
7773
|
});
|
|
7759
7774
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
7760
7775
|
|
|
7761
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7776
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
7762
7777
|
var sendAttempt = strictObject({
|
|
7763
7778
|
at: time,
|
|
7764
7779
|
profile: text,
|
|
@@ -7786,7 +7801,7 @@ var sendAttempt = strictObject({
|
|
|
7786
7801
|
error_code: optional(text)
|
|
7787
7802
|
});
|
|
7788
7803
|
|
|
7789
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7804
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
7790
7805
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
7791
7806
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
7792
7807
|
var infoSchema = strictObject({
|
|
@@ -8016,7 +8031,7 @@ var storeRepair = union([
|
|
|
8016
8031
|
]);
|
|
8017
8032
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
8018
8033
|
|
|
8019
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8034
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
8020
8035
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
8021
8036
|
var storeTable = strictObject({
|
|
8022
8037
|
name: text,
|
|
@@ -8025,7 +8040,7 @@ var storeTable = strictObject({
|
|
|
8025
8040
|
bytes: optional(nullable(count))
|
|
8026
8041
|
});
|
|
8027
8042
|
|
|
8028
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8043
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
8029
8044
|
var tagTarget = variant("type", [
|
|
8030
8045
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
8031
8046
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -8056,7 +8071,7 @@ var automaticTags = strictObject({
|
|
|
8056
8071
|
dry_run: boolean()
|
|
8057
8072
|
});
|
|
8058
8073
|
|
|
8059
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8074
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
8060
8075
|
var tagging = strictObject({
|
|
8061
8076
|
tag: text,
|
|
8062
8077
|
type: picklist(TAG_TYPES),
|
|
@@ -8069,7 +8084,7 @@ var tagging = strictObject({
|
|
|
8069
8084
|
created_at: time
|
|
8070
8085
|
});
|
|
8071
8086
|
|
|
8072
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8087
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
8073
8088
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
8074
8089
|
var taskPair = strictObject({
|
|
8075
8090
|
task: nullable(side),
|
|
@@ -8092,7 +8107,7 @@ var taskPair = strictObject({
|
|
|
8092
8107
|
created_at: time
|
|
8093
8108
|
});
|
|
8094
8109
|
|
|
8095
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8110
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
8096
8111
|
var nullableTime = nullable(time);
|
|
8097
8112
|
var link = strictObject({
|
|
8098
8113
|
id,
|
|
@@ -8266,7 +8281,7 @@ var taskReview = strictObject({
|
|
|
8266
8281
|
untrusted
|
|
8267
8282
|
});
|
|
8268
8283
|
|
|
8269
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8284
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
8270
8285
|
var template = strictObject({
|
|
8271
8286
|
key: text,
|
|
8272
8287
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -8278,7 +8293,7 @@ var template = strictObject({
|
|
|
8278
8293
|
updated_by: nullable(text)
|
|
8279
8294
|
});
|
|
8280
8295
|
|
|
8281
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8296
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
8282
8297
|
var topic = strictObject({
|
|
8283
8298
|
id,
|
|
8284
8299
|
title: text,
|
|
@@ -8292,7 +8307,7 @@ var topic = strictObject({
|
|
|
8292
8307
|
untrusted
|
|
8293
8308
|
});
|
|
8294
8309
|
|
|
8295
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8310
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
8296
8311
|
var ENTITIES = {
|
|
8297
8312
|
sync_progress: progress,
|
|
8298
8313
|
deal,
|
|
@@ -8326,6 +8341,7 @@ var ENTITIES = {
|
|
|
8326
8341
|
attachments: optional(array(hitFile)),
|
|
8327
8342
|
untrusted
|
|
8328
8343
|
}),
|
|
8344
|
+
// Typed loosely: the inferred type of `ENTITIES` would pass the size the compiler writes out (TS7056).
|
|
8329
8345
|
"message.summary": strictObject({
|
|
8330
8346
|
...pick(message, [
|
|
8331
8347
|
"ref",
|
|
@@ -8348,6 +8364,8 @@ var ENTITIES = {
|
|
|
8348
8364
|
message_pin: messagePin,
|
|
8349
8365
|
message_star: messageStar,
|
|
8350
8366
|
message_deletion: messageDeletion,
|
|
8367
|
+
scheduled_cancellation: scheduledCancellation,
|
|
8368
|
+
scheduled_send: scheduledSend,
|
|
8351
8369
|
message_transcript: messageTranscript,
|
|
8352
8370
|
message_links: messageLinks,
|
|
8353
8371
|
evidence_packet: evidencePacket,
|
|
@@ -8591,7 +8609,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
8591
8609
|
return [name, definition];
|
|
8592
8610
|
})), "entityDefinitions");
|
|
8593
8611
|
|
|
8594
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8612
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
8595
8613
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
8596
8614
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
8597
8615
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -8625,7 +8643,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
8625
8643
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
8626
8644
|
}, "answerRow");
|
|
8627
8645
|
|
|
8628
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8646
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
8629
8647
|
var where = [{ field: "ref" }];
|
|
8630
8648
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
8631
8649
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -8717,7 +8735,7 @@ var STATUS_ROWS = {
|
|
|
8717
8735
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
8718
8736
|
};
|
|
8719
8737
|
|
|
8720
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8738
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
8721
8739
|
var TEXT_CHARS = 400;
|
|
8722
8740
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
8723
8741
|
var messageRow = {
|
|
@@ -8851,9 +8869,13 @@ var isListOrRecord = /* @__PURE__ */ __name((value) => typeof value === "object"
|
|
|
8851
8869
|
var firstSet = /* @__PURE__ */ __name((item, field, column) => fieldsOfColumn(field).map((path2) => at(item, path2)).find((value) => printable(value, column)), "firstSet");
|
|
8852
8870
|
var sourceOf = /* @__PURE__ */ __name((item, column) => fieldsOfColumn(column.field).find((path2) => printable(at(item, path2), column)), "sourceOf");
|
|
8853
8871
|
var clean = /* @__PURE__ */ __name((text5) => visibleControls(text5.replace(/\s+/g, " ").trim()), "clean");
|
|
8872
|
+
var BLOCK = /^(⟦untrusted:([0-9a-f]{16}) [^⟦⟧]*⟧)([^⟦⟧]*)(⟦\/untrusted:\2⟧)$/su;
|
|
8854
8873
|
var cut = /* @__PURE__ */ __name((text5, chars) => {
|
|
8855
8874
|
if (chars <= 0)
|
|
8856
8875
|
return text5;
|
|
8876
|
+
const block = BLOCK.exec(text5);
|
|
8877
|
+
if (block)
|
|
8878
|
+
return `${block[1]}${cut(block[3] ?? "", chars)}${block[4]}`;
|
|
8857
8879
|
const letters = Array.from(text5);
|
|
8858
8880
|
return letters.length <= chars ? text5 : `${letters.slice(0, chars).join("")}\u2026(+${letters.length - chars})`;
|
|
8859
8881
|
}, "cut");
|
|
@@ -9085,7 +9107,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
9085
9107
|
return lines.concat(footerOf(body)).join("\n");
|
|
9086
9108
|
}, "compactText");
|
|
9087
9109
|
|
|
9088
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9110
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
9089
9111
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
9090
9112
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
9091
9113
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -9123,7 +9145,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
9123
9145
|
progress: "sync.progress"
|
|
9124
9146
|
};
|
|
9125
9147
|
|
|
9126
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9148
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
9127
9149
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
9128
9150
|
const recording = startRecording(options);
|
|
9129
9151
|
try {
|
|
@@ -9338,7 +9360,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
9338
9360
|
return void 0;
|
|
9339
9361
|
}, "partialOutcome");
|
|
9340
9362
|
|
|
9341
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9363
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
|
|
9342
9364
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
9343
9365
|
var requests = new AsyncLocalStorage();
|
|
9344
9366
|
var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
|
|
@@ -9353,7 +9375,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
|
|
|
9353
9375
|
return direct;
|
|
9354
9376
|
}, "exitCodeSet");
|
|
9355
9377
|
|
|
9356
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9378
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
9357
9379
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
9358
9380
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
9359
9381
|
messageId: message2.id,
|
|
@@ -9459,7 +9481,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
9459
9481
|
}, "guardedWrite");
|
|
9460
9482
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
9461
9483
|
|
|
9462
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9484
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
9463
9485
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
9464
9486
|
if (ms2 === void 0)
|
|
9465
9487
|
return body();
|
|
@@ -9485,7 +9507,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
9485
9507
|
}
|
|
9486
9508
|
}, "withDeadline");
|
|
9487
9509
|
|
|
9488
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9510
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
9489
9511
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
9490
9512
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
9491
9513
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -9668,7 +9690,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
9668
9690
|
}
|
|
9669
9691
|
}, "withAbort");
|
|
9670
9692
|
|
|
9671
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9693
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
9672
9694
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
9673
9695
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
9674
9696
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -9755,7 +9777,7 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
9755
9777
|
return void 0;
|
|
9756
9778
|
}, "sampleCommand");
|
|
9757
9779
|
|
|
9758
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9780
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
9759
9781
|
var model2 = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
9760
9782
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
9761
9783
|
var AI_FIELDS = {
|
|
@@ -9799,7 +9821,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
9799
9821
|
};
|
|
9800
9822
|
}, "resolveAISettings");
|
|
9801
9823
|
|
|
9802
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9824
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
9803
9825
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
9804
9826
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
9805
9827
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -9813,7 +9835,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
9813
9835
|
return ms2;
|
|
9814
9836
|
}, "parseDuration");
|
|
9815
9837
|
|
|
9816
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9838
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
9817
9839
|
import { existsSync as existsSync3, readdirSync as readdirSync2, readFileSync as readFileSync3 } from "node:fs";
|
|
9818
9840
|
import { join as join3 } from "node:path";
|
|
9819
9841
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -9902,7 +9924,7 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
9902
9924
|
return readdirSync2(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
9903
9925
|
}, "registryProfiles");
|
|
9904
9926
|
|
|
9905
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9927
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
9906
9928
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
9907
9929
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
9908
9930
|
var SECTIONS = ["personal", "bot"];
|
|
@@ -10105,7 +10127,10 @@ var scopes2 = /* @__PURE__ */ __name((raw) => {
|
|
|
10105
10127
|
return out;
|
|
10106
10128
|
}, "scopes");
|
|
10107
10129
|
var savedPermissionKeys = /* @__PURE__ */ __name((raw) => scopes2(raw).flatMap(([path2, scope]) => isNode(scope.permissions) ? Object.keys(scope.permissions).map((key) => ({ key, at: [...path2, "permissions", key] })) : []), "savedPermissionKeys");
|
|
10108
|
-
var permissionIssues = /* @__PURE__ */ __name((saved, known, context2) => saved.filter(({ key }) => !known.has(key)).map(({ at: at2 }) => locate("unknown_permission", at2, context2, (key) =>
|
|
10130
|
+
var permissionIssues = /* @__PURE__ */ __name((saved, known, context2, renamed = /* @__PURE__ */ new Map()) => saved.filter(({ key }) => !known.has(key)).map(({ key: name, at: at2 }) => locate("unknown_permission", at2, context2, (key) => {
|
|
10131
|
+
const now = renamed.get(name);
|
|
10132
|
+
return now === void 0 ? `${key} names no command` : `${key} names no command: its command moved, so rename it to permissions.${now}`;
|
|
10133
|
+
})), "permissionIssues");
|
|
10109
10134
|
var pathId = /* @__PURE__ */ __name((path2) => path2.join("\0"), "pathId");
|
|
10110
10135
|
var prune = /* @__PURE__ */ __name((raw, paths) => {
|
|
10111
10136
|
const drop = new Set(paths.map(pathId));
|
|
@@ -10198,7 +10223,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
10198
10223
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
10199
10224
|
}, "readConfigFile");
|
|
10200
10225
|
|
|
10201
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10226
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
10202
10227
|
import { existsSync as existsSync4, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync3, writeFileSync } from "node:fs";
|
|
10203
10228
|
import { dirname as dirname2, join as join4 } from "node:path";
|
|
10204
10229
|
var DEFAULT_CONFIG = {
|
|
@@ -10227,7 +10252,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
10227
10252
|
}
|
|
10228
10253
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
10229
10254
|
|
|
10230
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10255
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
10231
10256
|
import { existsSync as existsSync5, readdirSync as readdirSync3, readFileSync as readFileSync5 } from "node:fs";
|
|
10232
10257
|
import { join as join5 } from "node:path";
|
|
10233
10258
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join5(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -10249,7 +10274,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
10249
10274
|
}, "profilesWithAccounts");
|
|
10250
10275
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
10251
10276
|
|
|
10252
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10277
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
10253
10278
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10254
10279
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
10255
10280
|
const path2 = key.split(".");
|
|
@@ -10282,10 +10307,10 @@ var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((settin
|
|
|
10282
10307
|
};
|
|
10283
10308
|
}), "settingRows");
|
|
10284
10309
|
|
|
10285
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10310
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
10286
10311
|
import { existsSync as existsSync6 } from "node:fs";
|
|
10287
10312
|
|
|
10288
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10313
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
10289
10314
|
var HISTORY_MAX_DAYS = 1095;
|
|
10290
10315
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
10291
10316
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -10332,7 +10357,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
10332
10357
|
return { batch: { ...batch, messages }, skipped };
|
|
10333
10358
|
}, "limitBatch");
|
|
10334
10359
|
|
|
10335
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10360
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
10336
10361
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
10337
10362
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
10338
10363
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -10860,7 +10885,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
10860
10885
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
10861
10886
|
}, "given");
|
|
10862
10887
|
|
|
10863
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10888
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
10864
10889
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
10865
10890
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
10866
10891
|
var DEFAULT_REQUEST_MS = 2e3;
|
|
@@ -10917,7 +10942,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests: requests2, deadline, request
|
|
|
10917
10942
|
};
|
|
10918
10943
|
}, "runBudget");
|
|
10919
10944
|
|
|
10920
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10945
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
10921
10946
|
var runBudgetOf = /* @__PURE__ */ __name((command, requests2) => {
|
|
10922
10947
|
const { deadline, signal, app } = environmentOf(command);
|
|
10923
10948
|
const now = deadline?.();
|
|
@@ -11071,7 +11096,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
11071
11096
|
return words.join(" ");
|
|
11072
11097
|
}, "commandPath");
|
|
11073
11098
|
|
|
11074
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11099
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
11075
11100
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
11076
11101
|
var FETCH = { remote: "read", local: "write" };
|
|
11077
11102
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -11107,7 +11132,12 @@ var destroysNothing = /* @__PURE__ */ __name((command) => {
|
|
|
11107
11132
|
KEPT_UNDER_LOCK.add(command);
|
|
11108
11133
|
return command;
|
|
11109
11134
|
}, "destroysNothing");
|
|
11110
|
-
var PROPOSE_COMMANDS = [
|
|
11135
|
+
var PROPOSE_COMMANDS = [
|
|
11136
|
+
"messages acknowledge",
|
|
11137
|
+
"mail findings add",
|
|
11138
|
+
"projects actions add",
|
|
11139
|
+
"meetings actions add"
|
|
11140
|
+
];
|
|
11111
11141
|
var PROPOSES = /* @__PURE__ */ new WeakSet();
|
|
11112
11142
|
var proposesOnly = /* @__PURE__ */ __name((command) => {
|
|
11113
11143
|
PROPOSES.add(command);
|
|
@@ -11223,7 +11253,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
11223
11253
|
throw readOnlyRefusal(lock, what);
|
|
11224
11254
|
}, "refuseUnderReadOnly");
|
|
11225
11255
|
|
|
11226
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11256
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11227
11257
|
import { join as join6 } from "node:path";
|
|
11228
11258
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11229
11259
|
var IMAGE_MODELS = [
|
|
@@ -11277,7 +11307,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11277
11307
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
|
|
11278
11308
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11279
11309
|
|
|
11280
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11310
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11281
11311
|
var STEPS2 = defineSteps([
|
|
11282
11312
|
...STEPS,
|
|
11283
11313
|
{
|
|
@@ -11525,6 +11555,20 @@ var rootOf2 = /* @__PURE__ */ __name((command) => {
|
|
|
11525
11555
|
root = root.parent;
|
|
11526
11556
|
return root;
|
|
11527
11557
|
}, "rootOf");
|
|
11558
|
+
var typedCommandPath = /* @__PURE__ */ __name((program2, rest) => {
|
|
11559
|
+
const words = [];
|
|
11560
|
+
let current2 = program2;
|
|
11561
|
+
for (const token of rest) {
|
|
11562
|
+
if (token.startsWith("-"))
|
|
11563
|
+
continue;
|
|
11564
|
+
const next = current2.commands.find((one) => one.name() === token || one.aliases().includes(token));
|
|
11565
|
+
if (!next)
|
|
11566
|
+
break;
|
|
11567
|
+
words.push(token);
|
|
11568
|
+
current2 = next;
|
|
11569
|
+
}
|
|
11570
|
+
return words.join(" ");
|
|
11571
|
+
}, "typedCommandPath");
|
|
11528
11572
|
var commandAt = /* @__PURE__ */ __name((root, path2) => {
|
|
11529
11573
|
let at2 = root;
|
|
11530
11574
|
for (const word of path2.split(" "))
|
|
@@ -11567,7 +11611,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11567
11611
|
].join(" ");
|
|
11568
11612
|
}, "stepLine");
|
|
11569
11613
|
|
|
11570
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11614
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
11571
11615
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
11572
11616
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
11573
11617
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -11625,7 +11669,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
11625
11669
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
11626
11670
|
}, "largeAnswerSteps");
|
|
11627
11671
|
|
|
11628
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11672
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
11629
11673
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
11630
11674
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
11631
11675
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -11639,7 +11683,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
11639
11683
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
11640
11684
|
}, "strip");
|
|
11641
11685
|
|
|
11642
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11686
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
|
|
11643
11687
|
var OPEN = "\u27E6";
|
|
11644
11688
|
var CLOSE = "\u27E7";
|
|
11645
11689
|
var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -11661,19 +11705,35 @@ var idOf = /* @__PURE__ */ __name((value) => {
|
|
|
11661
11705
|
const id6 = value.ref ?? value.id;
|
|
11662
11706
|
return typeof id6 === "string" || typeof id6 === "number" ? String(id6) : void 0;
|
|
11663
11707
|
}, "idOf");
|
|
11708
|
+
var everyStringAt = /* @__PURE__ */ __name((value, mark, source2, id6) => {
|
|
11709
|
+
if (Array.isArray(value))
|
|
11710
|
+
return value.map((one) => everyStringAt(one, mark, source2, id6));
|
|
11711
|
+
if (value === null || typeof value !== "object")
|
|
11712
|
+
return markAt(value, [], mark, source2, id6);
|
|
11713
|
+
const record2 = value;
|
|
11714
|
+
const own = idOf(record2) ?? id6;
|
|
11715
|
+
return Object.fromEntries(Object.entries(record2).map(([key, child]) => [key, everyStringAt(child, mark, source2, own)]));
|
|
11716
|
+
}, "everyStringAt");
|
|
11664
11717
|
var markAt = /* @__PURE__ */ __name((value, path2, mark, source2, id6) => {
|
|
11665
11718
|
if (Array.isArray(value))
|
|
11666
11719
|
return value.map((one) => markAt(one, path2, mark, source2, id6));
|
|
11667
11720
|
if (path2.length === 0)
|
|
11668
11721
|
return typeof value === "string" && !value.startsWith(`${OPEN}untrusted:${mark} `) ? marked(value, mark, source2, id6) : value;
|
|
11722
|
+
if (path2.length === 1 && path2[0] === "*")
|
|
11723
|
+
return everyStringAt(value, mark, source2, id6);
|
|
11669
11724
|
if (value === null || typeof value !== "object")
|
|
11670
11725
|
return value;
|
|
11671
11726
|
const [key = "", ...rest] = path2;
|
|
11672
11727
|
const record2 = value;
|
|
11728
|
+
const own = idOf(record2) ?? id6;
|
|
11729
|
+
if (key === "*")
|
|
11730
|
+
return Object.fromEntries(Object.entries(record2).map(([name, child]) => [name, markAt(child, rest, mark, source2, own)]));
|
|
11673
11731
|
if (!(key in record2))
|
|
11674
11732
|
return value;
|
|
11675
|
-
return { ...record2, [key]: markAt(record2[key], rest, mark, source2,
|
|
11733
|
+
return { ...record2, [key]: markAt(record2[key], rest, mark, source2, own) };
|
|
11676
11734
|
}, "markAt");
|
|
11735
|
+
var withoutRunMarks = /* @__PURE__ */ __name((text5, mark) => text5.replace(new RegExp(`${OPEN}untrusted:${mark}(?: [^${OPEN}${CLOSE}]*)?${CLOSE}|${OPEN}/untrusted:${mark}${CLOSE}`, "gu"), ""), "withoutRunMarks");
|
|
11736
|
+
var API_UNTRUSTED = ["item.*", "items.*"];
|
|
11677
11737
|
var withUntrustedMarked = /* @__PURE__ */ __name((value, mark, id6) => {
|
|
11678
11738
|
if (Array.isArray(value))
|
|
11679
11739
|
return value.map((one) => withUntrustedMarked(one, mark, id6));
|
|
@@ -11708,9 +11768,12 @@ var MESSAGE_UNTRUSTED = [
|
|
|
11708
11768
|
"bcc.name",
|
|
11709
11769
|
"reply_addresses.name"
|
|
11710
11770
|
];
|
|
11771
|
+
var CHAT_UNTRUSTED = ["title", "description"];
|
|
11772
|
+
var CONTACT_UNTRUSTED = ["description", "chats.title"];
|
|
11711
11773
|
var DECLARED = /* @__PURE__ */ new WeakMap();
|
|
11712
11774
|
var marksUntrusted = /* @__PURE__ */ __name((command, fields = MESSAGE_UNTRUSTED) => {
|
|
11713
|
-
DECLARED.
|
|
11775
|
+
const raw = DECLARED.get(command) === API_UNTRUSTED;
|
|
11776
|
+
DECLARED.set(command, raw ? [.../* @__PURE__ */ new Set([...API_UNTRUSTED, ...fields])] : fields);
|
|
11714
11777
|
return command;
|
|
11715
11778
|
}, "marksUntrusted");
|
|
11716
11779
|
var untrustedFieldsOf = /* @__PURE__ */ __name((command) => DECLARED.get(command), "untrustedFieldsOf");
|
|
@@ -11727,7 +11790,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
|
|
|
11727
11790
|
return result;
|
|
11728
11791
|
}, "withFieldsMarked");
|
|
11729
11792
|
|
|
11730
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11793
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
11731
11794
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
11732
11795
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
11733
11796
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
@@ -12137,6 +12200,7 @@ export {
|
|
|
12137
12200
|
nextStep,
|
|
12138
12201
|
lineOf,
|
|
12139
12202
|
rootOf2,
|
|
12203
|
+
typedCommandPath,
|
|
12140
12204
|
commandAt,
|
|
12141
12205
|
runnable,
|
|
12142
12206
|
failureSteps,
|
|
@@ -12145,8 +12209,14 @@ export {
|
|
|
12145
12209
|
stepLine,
|
|
12146
12210
|
tooLargeSteps,
|
|
12147
12211
|
withoutProviderRefs,
|
|
12212
|
+
untrustedMarkOf,
|
|
12148
12213
|
runMarkOf,
|
|
12214
|
+
marked,
|
|
12215
|
+
withoutRunMarks,
|
|
12216
|
+
API_UNTRUSTED,
|
|
12149
12217
|
withUntrustedMarked,
|
|
12218
|
+
CHAT_UNTRUSTED,
|
|
12219
|
+
CONTACT_UNTRUSTED,
|
|
12150
12220
|
marksUntrusted,
|
|
12151
12221
|
answerSchema,
|
|
12152
12222
|
listOf,
|