@wirecat/zoom-cli 0.82.0 → 0.83.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/contracts/wirecat.json +54 -54
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js +1 -1
- package/dist/api.js.map +1 -1
- package/dist/bin/main.js +2 -15
- package/dist/bin/main.js.map +1 -1
- package/dist/bin/zm.js +2 -2
- package/dist/bundle/agent-3HDWEZ5M.js +47 -0
- package/dist/bundle/{all-profiles-RULEKTDQ.js → all-profiles-RY2OMSDL.js} +8 -8
- package/dist/bundle/answer-policy-IFVXPPGW.js +131 -0
- package/dist/bundle/{anthropic-4NAQBZFL.js → anthropic-36VPSF7B.js} +3 -3
- package/dist/bundle/{app-server-VLR42U5L.js → app-server-ZVJVUGB7.js} +72 -71
- package/dist/bundle/{bun-OPDGMZZQ.js → bun-F4M4KCNA.js} +2 -2
- package/dist/bundle/{bun-sqlite-HC6X4AOX.js → bun-sqlite-IOPYIUA7.js} +4 -4
- package/dist/bundle/{chunk-MAJJ4PG3.js → chunk-26TW5RZ6.js} +31 -315
- package/dist/bundle/{chunk-XQQVMECZ.js → chunk-2DK5BBFF.js} +1 -1
- package/dist/bundle/{chunk-BP4FYANF.js → chunk-2IBKKVVZ.js} +4 -4
- package/dist/bundle/{chunk-52Y4ETKU.js → chunk-2S54TM4N.js} +3 -3
- package/dist/bundle/{chunk-DCYFT3FR.js → chunk-3AQHKXVR.js} +4 -4
- package/dist/bundle/{chunk-VS6WURLX.js → chunk-3CW2C7ZA.js} +2 -2
- package/dist/bundle/{chunk-6QYZP4E2.js → chunk-3KUEZK5Z.js} +2 -2
- package/dist/bundle/{chunk-YJXJJ2XP.js → chunk-3PXUQFHX.js} +7 -7
- package/dist/bundle/{chunk-PSKTMMCO.js → chunk-575JMTDR.js} +17 -16
- package/dist/bundle/{chunk-QPHBK63S.js → chunk-5B2LV4MS.js} +2 -1
- package/dist/bundle/{chunk-OGNO35A2.js → chunk-5WL5RHOO.js} +5 -100
- package/dist/bundle/{chunk-ASBDFXLS.js → chunk-6C7ESL5N.js} +2 -2
- package/dist/bundle/{chunk-676C2LE6.js → chunk-6E4KLYNP.js} +10 -10
- package/dist/bundle/chunk-7JDXR75Q.js +465 -0
- package/dist/bundle/{chunk-UR5DBODY.js → chunk-AK3H2C65.js} +30 -26
- package/dist/bundle/{chunk-VB7FZOYX.js → chunk-AQ5RIOUE.js} +1 -1
- package/dist/bundle/{chunk-UKAAAOPC.js → chunk-AQLUAQXJ.js} +23 -15
- package/dist/bundle/{chunk-V5EJSF2B.js → chunk-ASTLGFTR.js} +205 -170
- package/dist/bundle/{chunk-PWVJUIDQ.js → chunk-ATHBB7OU.js} +2 -2
- package/dist/bundle/{chunk-GTKPMYK7.js → chunk-B2NM65RD.js} +13 -5
- package/dist/bundle/{chunk-G6PETRMV.js → chunk-B4KHDXJE.js} +2 -2
- package/dist/bundle/{chunk-4HLQ2JGK.js → chunk-BAFC7WNI.js} +3 -3
- package/dist/bundle/{chunk-KVJ3I7UL.js → chunk-BTLZYRIW.js} +5 -5
- package/dist/bundle/{chunk-KKFY23AK.js → chunk-BZDS2X6Y.js} +61 -61
- package/dist/bundle/{chunk-VZ5PPYDG.js → chunk-C7JPYWYQ.js} +1 -1
- package/dist/bundle/{chunk-W5QHB53X.js → chunk-CDQUW25G.js} +10 -10
- package/dist/bundle/{chunk-AIKFOBDO.js → chunk-CJWGJBHW.js} +28 -8
- package/dist/bundle/{chunk-HP7A2ZOP.js → chunk-D7RCUODT.js} +7 -7
- package/dist/bundle/{chunk-LEKKTJKK.js → chunk-DQJECJUE.js} +23 -102
- package/dist/bundle/{chunk-B32KZRQM.js → chunk-E4JQ3MCW.js} +11 -11
- package/dist/bundle/{chunk-HZENBDW2.js → chunk-E4ODYLEK.js} +6 -6
- package/dist/bundle/{chunk-RQOZBTNI.js → chunk-EE45N67Q.js} +3 -3
- package/dist/bundle/{chunk-VB72LTSZ.js → chunk-EEEU4MKK.js} +11 -11
- package/dist/bundle/{chunk-EGTCQKHV.js → chunk-ETIZGA4P.js} +5 -5
- package/dist/bundle/{chunk-BDKVOU3I.js → chunk-F44QK6CK.js} +3 -3
- package/dist/bundle/{chunk-274SLQNW.js → chunk-FH2UFNH6.js} +2 -2
- package/dist/bundle/{chunk-3HC5F3P7.js → chunk-FTH6WGYO.js} +1 -1
- package/dist/bundle/chunk-FWACRG4X.js +160 -0
- package/dist/bundle/chunk-G5SZL7G2.js +150 -0
- package/dist/bundle/{chunk-EQG3PIH2.js → chunk-G6CHEFAG.js} +2 -2
- package/dist/bundle/{chunk-66ALX4ZI.js → chunk-GHJD7PE6.js} +18 -18
- package/dist/bundle/{chunk-Q7ICVP25.js → chunk-GZ7WBU5Y.js} +1 -1
- package/dist/bundle/{chunk-UL2PXLKT.js → chunk-H6A4NWYJ.js} +320 -43
- package/dist/bundle/{chunk-WMANRJR5.js → chunk-HKLRI2LB.js} +6 -6
- package/dist/bundle/{chunk-L75SMSJR.js → chunk-HMD4FZYY.js} +3 -3
- package/dist/bundle/{chunk-2JHVQMVC.js → chunk-HO4JGD4Q.js} +1 -1
- package/dist/bundle/{chunk-WOPVBRPV.js → chunk-HUAHLO6N.js} +1 -1
- package/dist/bundle/{chunk-6VK332XS.js → chunk-IQZXFWFI.js} +2 -2
- package/dist/bundle/{chunk-NB7EOAUZ.js → chunk-ISQ23VKV.js} +1 -1
- package/dist/bundle/{chunk-QVYAV7F2.js → chunk-JEH33ZCD.js} +3 -3
- package/dist/bundle/{chunk-ICPJT672.js → chunk-JUNQYWQ2.js} +6 -6
- package/dist/bundle/{chunk-K5JGJIV2.js → chunk-JUXMVQWJ.js} +311 -152
- package/dist/bundle/{chunk-OBXQLFT5.js → chunk-KHQDWYCG.js} +1 -1
- package/dist/bundle/{chunk-GGMAIIVE.js → chunk-KYRYD4CR.js} +1 -1
- package/dist/bundle/chunk-LBGT6W4R.js +377 -0
- package/dist/bundle/{chunk-JQ54DYAQ.js → chunk-LN7HRYTH.js} +1 -1
- package/dist/bundle/{chunk-G46WJ7YO.js → chunk-MEB7HBTM.js} +5 -5
- package/dist/bundle/{chunk-M7H4MCAX.js → chunk-MEEFWYX3.js} +3 -3
- package/dist/bundle/{chunk-73MOMNLL.js → chunk-MNOAMJ6H.js} +1 -1
- package/dist/bundle/{chunk-A6EZK5RG.js → chunk-MYHPXJDG.js} +1 -1
- package/dist/bundle/{chunk-HC6VN5CO.js → chunk-NGI37RFW.js} +7 -7
- package/dist/bundle/{chunk-2GP573Q4.js → chunk-NZMWD7Y3.js} +3656 -2697
- package/dist/bundle/chunk-O6IECJRM.js +54 -0
- package/dist/bundle/{chunk-Y6PVS55U.js → chunk-OBWL3BUV.js} +35 -35
- package/dist/bundle/{chunk-2XBDILVW.js → chunk-OEEWVKJX.js} +1 -1
- package/dist/bundle/chunk-OGTN2KVG.js +147 -0
- package/dist/bundle/{chunk-GWGHH56B.js → chunk-OQYZ3W4K.js} +10 -10
- package/dist/bundle/{chunk-2CI2OEZQ.js → chunk-P3ZCTYGW.js} +2 -2
- package/dist/bundle/{chunk-OIPYBF43.js → chunk-PVEBAHFU.js} +2 -2
- package/dist/bundle/{chunk-2SWKQ7C4.js → chunk-R6IA5UQB.js} +1 -1
- package/dist/bundle/{chunk-T7IAWEBU.js → chunk-RLOH7RDN.js} +7 -7
- package/dist/bundle/{chunk-KJ6USQDZ.js → chunk-RQ4AXSCJ.js} +5 -5
- package/dist/bundle/{chunk-XQ2WL3HB.js → chunk-RYGTCRFZ.js} +2 -2
- package/dist/bundle/{chunk-N46F72AF.js → chunk-S4PXWIE4.js} +84 -86
- package/dist/bundle/{chunk-MQLPZBMQ.js → chunk-SDZZYZLL.js} +1 -1
- package/dist/bundle/{chunk-E745WZKY.js → chunk-SHQAYUK6.js} +6 -6
- package/dist/bundle/{chunk-3YM4B2GT.js → chunk-T3W4V4A6.js} +1 -1
- package/dist/bundle/{chunk-4N7PP76S.js → chunk-TCT5D2X2.js} +1 -1
- package/dist/bundle/{chunk-7QPIUMUG.js → chunk-TDWPOSPR.js} +10 -10
- package/dist/bundle/{chunk-ZED2CJW5.js → chunk-TER3N27H.js} +6 -6
- package/dist/bundle/{chunk-UQCTXZEP.js → chunk-TMTNP7QN.js} +9 -9
- package/dist/bundle/{chunk-KWU46LNK.js → chunk-TO5UEWXR.js} +2 -2
- package/dist/bundle/{chunk-OQFQ77AY.js → chunk-UBH7YF3C.js} +61 -59
- package/dist/bundle/{chunk-QVSL5WJ7.js → chunk-UEAE3JUU.js} +488 -436
- package/dist/bundle/{chunk-5KYQ53EF.js → chunk-UHR363OD.js} +7 -7
- package/dist/bundle/{chunk-7UVDPRFK.js → chunk-UM52A76S.js} +5 -5
- package/dist/bundle/{chunk-ZOYOXWJB.js → chunk-URP6BTHN.js} +34 -156
- package/dist/bundle/{chunk-N3JLO63O.js → chunk-UWQEAA6S.js} +1 -1
- package/dist/bundle/{chunk-OO4TRVPB.js → chunk-VR7QZGRU.js} +5 -5
- package/dist/bundle/{chunk-GBHMT2IU.js → chunk-VRH5PBSL.js} +13 -13
- package/dist/bundle/chunk-VTLQTQKY.js +1756 -0
- package/dist/bundle/{chunk-ACI4YIEH.js → chunk-VTYNLTDW.js} +1 -1
- package/dist/bundle/{chunk-NEMX3UNN.js → chunk-WY7XG6TE.js} +2 -2
- package/dist/bundle/{chunk-AC6VJNMJ.js → chunk-XEOZTA3H.js} +1 -1
- package/dist/bundle/{chunk-QG6PILDO.js → chunk-XH23ML2V.js} +1 -1
- package/dist/bundle/{chunk-5HAUK3I4.js → chunk-XYF76A26.js} +1179 -783
- package/dist/bundle/{chunk-KQPUVXKX.js → chunk-ZDYJAEVB.js} +2 -2
- package/dist/bundle/{chunk-TKNM22OH.js → chunk-ZJ63HDBT.js} +1 -1
- package/dist/bundle/{chunk-5TU7Y5UW.js → chunk-ZT4ZPUIO.js} +11 -11
- package/dist/bundle/{cli-U4O5XB7J.js → cli-JK6PQSSN.js} +94 -79
- package/dist/bundle/command-contract-F3QNBKPX.js +46 -0
- package/dist/bundle/{command-server-entry-KKH6ZWJV.js → command-server-entry-DJLGN62J.js} +31 -30
- package/dist/bundle/config-TYYMV3HV.js +118 -0
- package/dist/bundle/{decode-TPCNXEK4.js → decode-ZZICNNFF.js} +3 -3
- package/dist/bundle/{dist-7CLBCYZN.js → dist-NQPF25XI.js} +47 -46
- package/dist/bundle/{echarts-O3TNDAXJ.js → echarts-QMAA7HH5.js} +2 -2
- package/dist/bundle/{embed-WCJSFVSK.js → embed-T64EUKUI.js} +4 -4
- package/dist/bundle/{embedder-TBBUPXBX.js → embedder-ZEKISZXI.js} +7 -7
- package/dist/bundle/{first-run-ELEMFW42.js → first-run-ZFNY4RRH.js} +8 -8
- package/dist/bundle/first-screen-LPGCHRHZ.js +47 -0
- package/dist/bundle/{folders-LXOL4N4S.js → folders-ROKVKSCT.js} +2 -2
- package/dist/bundle/{instructions-AMH5RWVJ.js → instructions-4H7UREH2.js} +1 -1
- package/dist/bundle/{main-YAA7WQ23.js → main-GCK3VYAA.js} +24 -34
- package/dist/bundle/meeting-combined-7HDPOUPB.js +28 -0
- package/dist/bundle/{meeting-model-3BZJ3EQP.js → meeting-model-MVUW7UPQ.js} +10 -10
- package/dist/bundle/{meeting-semantic-3HU7I2SJ.js → meeting-semantic-IF633WGX.js} +3 -3
- package/dist/bundle/{meetings-XWMB6FOH.js → meetings-RY2AAPHV.js} +2 -2
- package/dist/bundle/{node-EGMCBAO7.js → node-P3PUHKYH.js} +2 -2
- package/dist/bundle/{node-sqlite-IJBWENFX.js → node-sqlite-ASAZJNHE.js} +5 -5
- package/dist/bundle/{oauth-SZDDAP7A.js → oauth-4U3OCK3W.js} +5 -5
- package/dist/bundle/oauth-AJARLPSY.js +46 -0
- package/dist/bundle/{open-NS3TMKZX.js → open-SEJRY2ZI.js} +3 -3
- package/dist/bundle/{openai-4DN6WI3B.js → openai-FZDSC2AA.js} +12 -12
- package/dist/bundle/{output-file-2UB5JP3R.js → output-file-RYIOIXMD.js} +1 -1
- package/dist/bundle/{process-SGHEN6MQ.js → process-AFIXYXWL.js} +1 -1
- package/dist/bundle/{program-GVCGZP27.js → program-OYLVYA4Z.js} +174 -236
- package/dist/bundle/{prompt-HJFMPFVC.js → prompt-BCRD64F4.js} +3 -3
- package/dist/bundle/{public-C2ZB2AGQ.js → public-SVJILCNI.js} +43 -35
- package/dist/bundle/{recognize-2SEI5PPM.js → recognize-25ITJWGX.js} +2 -2
- package/dist/bundle/{remote-2DMS74XE.js → remote-5FBAJX7O.js} +8 -8
- package/dist/bundle/{rerank-H6GCYVIA.js → rerank-2HGWWORY.js} +5 -5
- package/dist/bundle/run-log-7HRF4Y47.js +145 -0
- package/dist/bundle/{serve-ODVRPFJO.js → serve-RL35MSJD.js} +7 -7
- package/dist/bundle/{server-PCLIO24L.js → server-QUSBWACP.js} +64 -63
- package/dist/bundle/server-SCK2SRDK.js +96 -0
- package/dist/bundle/{services-4QAPXBLO.js → services-BGRIQNDC.js} +55 -53
- package/dist/bundle/{speech-MA6ZT3WE.js → speech-4W3ZMTFK.js} +21 -21
- package/dist/bundle/{sqlite-runtime-PVMAUXRN.js → sqlite-runtime-K3KLRZCV.js} +4 -4
- package/dist/bundle/{state-QFMTYUME.js → state-GYL4C74G.js} +4 -4
- package/dist/bundle/{store-25OTAQC3.js → store-27UQMNEO.js} +23 -21
- package/dist/bundle/{store-F724QIKJ.js → store-NLYH5SQX.js} +54 -43
- package/dist/bundle/store-connection-CZILWRSR.js +112 -0
- package/dist/bundle/store-maintenance-command-Z3QLNSXJ.js +84 -0
- package/dist/bundle/{streaming-S22C4DG5.js → streaming-73EKEGPF.js} +2 -2
- package/dist/bundle/surface-CV3C4RV2.js +82 -0
- package/dist/bundle/tokens-PY3S22LY.js +27 -0
- package/dist/bundle/zm.js +2 -2
- package/dist/bundle/{zoom-app-YWFB367P.js → zoom-app-4F4YY4OI.js} +8 -6
- package/dist/commands.d.ts +1 -8
- package/dist/commands.d.ts.map +1 -1
- package/dist/commands.js +3 -33
- package/dist/commands.js.map +1 -1
- package/dist/index.d.ts +1 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/dist/program-bindings.d.ts.map +1 -1
- package/dist/program-bindings.js +2 -12
- package/dist/program-bindings.js.map +1 -1
- package/dist/program.d.ts +3 -5
- package/dist/program.d.ts.map +1 -1
- package/dist/run.d.ts.map +1 -1
- package/dist/run.js +6 -1
- package/dist/run.js.map +1 -1
- package/dist/setup-commands.d.ts +5 -14
- package/dist/setup-commands.d.ts.map +1 -1
- package/dist/setup-commands.js +7 -142
- package/dist/setup-commands.js.map +1 -1
- package/dist/tokens.d.ts +20 -44
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +95 -308
- package/dist/tokens.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/zoom-app.js +1 -1
- package/dist/zoom-app.js.map +1 -1
- package/dist/zoom-session.d.ts +6 -0
- package/dist/zoom-session.d.ts.map +1 -0
- package/dist/zoom-session.js +72 -0
- package/dist/zoom-session.js.map +1 -0
- package/package.json +2 -2
- package/skills/zoom-cli/references/setup.md +2 -2
- package/dist/bundle/agent-F4TRJWWS.js +0 -46
- package/dist/bundle/answer-policy-6XC57AEZ.js +0 -131
- package/dist/bundle/chunk-2DBF2IIC.js +0 -330
- package/dist/bundle/chunk-DSZYABYL.js +0 -808
- package/dist/bundle/chunk-KXJ3JEDH.js +0 -2
- package/dist/bundle/chunk-LAYYO4WD.js +0 -31
- package/dist/bundle/chunk-PMUPN6JW.js +0 -773
- package/dist/bundle/chunk-TKVBFJ5C.js +0 -37
- package/dist/bundle/chunk-YY7XKHDY.js +0 -79
- package/dist/bundle/command-contract-FBTK6GQX.js +0 -45
- package/dist/bundle/config-FRJSIZNN.js +0 -118
- package/dist/bundle/first-screen-DIOBWMKP.js +0 -46
- package/dist/bundle/meeting-combined-UXCF4SJ3.js +0 -26
- package/dist/bundle/run-log-QU26SUZP.js +0 -145
- package/dist/bundle/server-NBPF6IDZ.js +0 -95
- package/dist/bundle/store-connection-OGPXANGB.js +0 -111
- package/dist/bundle/store-maintenance-command-2CM7LLNQ.js +0 -83
- package/dist/bundle/surface-7PXHWCF6.js +0 -81
- package/dist/bundle/tokens-NLUHA2DW.js +0 -25
- package/dist/login.d.ts +0 -16
- package/dist/login.d.ts.map +0 -1
- package/dist/login.js +0 -98
- package/dist/login.js.map +0 -1
- package/dist/bundle/{chunk-6CWL5BKG.js → chunk-3QN5KDFZ.js} +147 -147
- /package/dist/bundle/{chunk-7O7XM37N.js → chunk-7ECP5ZQR.js} +0 -0
|
@@ -3,13 +3,13 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
modelSettingsShape,
|
|
5
5
|
resolveModelSettings
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-P3ZCTYGW.js";
|
|
7
7
|
import {
|
|
8
8
|
ancestorValue,
|
|
9
9
|
envName,
|
|
10
10
|
readOnlyLockOf,
|
|
11
11
|
readOnlyRefusal
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ZJ63HDBT.js";
|
|
13
13
|
import {
|
|
14
14
|
currentCaller,
|
|
15
15
|
endpointTemplate,
|
|
@@ -19,13 +19,13 @@ import {
|
|
|
19
19
|
providerErrorKey,
|
|
20
20
|
renderEvent,
|
|
21
21
|
runContextOf
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-RLOH7RDN.js";
|
|
23
23
|
import {
|
|
24
24
|
carries
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-T3W4V4A6.js";
|
|
26
26
|
import {
|
|
27
27
|
permissionCeiling
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-JEH33ZCD.js";
|
|
29
29
|
import {
|
|
30
30
|
CEILING_KEY,
|
|
31
31
|
COMMAND_PATH_KEY,
|
|
@@ -39,36 +39,25 @@ import {
|
|
|
39
39
|
permissionOverrides,
|
|
40
40
|
projectFields,
|
|
41
41
|
resolveOutput
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-RQ4AXSCJ.js";
|
|
43
43
|
import {
|
|
44
44
|
note
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-B4KHDXJE.js";
|
|
46
46
|
import {
|
|
47
47
|
DEFAULT_RERANK_MODEL,
|
|
48
48
|
RERANK_MODELS
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-2IBKKVVZ.js";
|
|
50
50
|
import {
|
|
51
51
|
endpoint
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-3KUEZK5Z.js";
|
|
53
53
|
import {
|
|
54
54
|
filesPresent,
|
|
55
55
|
sharedModelsDirectory
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-BAFC7WNI.js";
|
|
57
57
|
import {
|
|
58
58
|
CATEGORIES,
|
|
59
|
-
FACT_STATUSES,
|
|
60
59
|
LINK_KINDS,
|
|
61
60
|
LINK_SOURCES,
|
|
62
|
-
MEMORY_KINDS,
|
|
63
|
-
MEMORY_SCOPES,
|
|
64
|
-
MEMORY_STATUSES,
|
|
65
|
-
PRIORITY_LABELS,
|
|
66
|
-
TASK_KINDS,
|
|
67
|
-
TASK_ORIGINS,
|
|
68
|
-
TASK_STATES,
|
|
69
|
-
TASK_TYPES,
|
|
70
|
-
TASK_VERDICTS,
|
|
71
|
-
WORK_TASK_TYPES,
|
|
72
61
|
author,
|
|
73
62
|
count,
|
|
74
63
|
evidenceSource,
|
|
@@ -83,7 +72,7 @@ import {
|
|
|
83
72
|
text,
|
|
84
73
|
time,
|
|
85
74
|
untrusted
|
|
86
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-URP6BTHN.js";
|
|
87
76
|
import {
|
|
88
77
|
KEEP_STORE_RUNS_FOR_DAYS,
|
|
89
78
|
KEEP_SUCCESSFUL_RUNS_FOR_DAYS,
|
|
@@ -101,11 +90,25 @@ import {
|
|
|
101
90
|
traceOf,
|
|
102
91
|
typedCommand,
|
|
103
92
|
useAsProcessRun
|
|
104
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-HKLRI2LB.js";
|
|
105
94
|
import {
|
|
106
95
|
isCliFailure,
|
|
96
|
+
storeBusy,
|
|
107
97
|
storeDamaged
|
|
108
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-B2NM65RD.js";
|
|
99
|
+
import {
|
|
100
|
+
FACT_STATUSES,
|
|
101
|
+
MEMORY_KINDS,
|
|
102
|
+
MEMORY_SCOPES,
|
|
103
|
+
MEMORY_STATUSES,
|
|
104
|
+
PRIORITY_LABELS,
|
|
105
|
+
TASK_KINDS,
|
|
106
|
+
TASK_ORIGINS,
|
|
107
|
+
TASK_STATES,
|
|
108
|
+
TASK_TYPES,
|
|
109
|
+
TASK_VERDICTS,
|
|
110
|
+
WORK_TASK_TYPES
|
|
111
|
+
} from "./chunk-G5SZL7G2.js";
|
|
109
112
|
import {
|
|
110
113
|
BUSINESS_KINDS,
|
|
111
114
|
CRM_ACTIVITY_KINDS,
|
|
@@ -120,17 +123,17 @@ import {
|
|
|
120
123
|
ORDER_STATUSES,
|
|
121
124
|
RELATION_KINDS,
|
|
122
125
|
STANDINGS
|
|
123
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-LBGT6W4R.js";
|
|
124
127
|
import {
|
|
125
128
|
TAG_TYPES
|
|
126
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-7JDXR75Q.js";
|
|
127
130
|
import {
|
|
128
131
|
repairConfigText,
|
|
129
132
|
sharedConfigPath
|
|
130
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-SHQAYUK6.js";
|
|
131
134
|
import {
|
|
132
135
|
storePath
|
|
133
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-FH2UFNH6.js";
|
|
134
137
|
import {
|
|
135
138
|
FACT_TYPES,
|
|
136
139
|
MEETING_RESULT_ENTITIES,
|
|
@@ -153,7 +156,7 @@ import {
|
|
|
153
156
|
meetingTagging,
|
|
154
157
|
meetingTranscript,
|
|
155
158
|
readsZone
|
|
156
|
-
} from "./chunk-
|
|
159
|
+
} from "./chunk-BZDS2X6Y.js";
|
|
157
160
|
import {
|
|
158
161
|
FIELD_TYPES,
|
|
159
162
|
QUERY_BACKENDS,
|
|
@@ -169,7 +172,7 @@ import {
|
|
|
169
172
|
resolvePaths,
|
|
170
173
|
saveConfigFile,
|
|
171
174
|
writeSecurely
|
|
172
|
-
} from "./chunk-
|
|
175
|
+
} from "./chunk-3QN5KDFZ.js";
|
|
173
176
|
import {
|
|
174
177
|
COMPACT_FLAG,
|
|
175
178
|
MAX_NEXT_STEPS,
|
|
@@ -4027,7 +4030,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
|
4027
4030
|
}
|
|
4028
4031
|
}, "refuseJoinedPath");
|
|
4029
4032
|
|
|
4030
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
4033
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
4031
4034
|
var WEIGHTS = {
|
|
4032
4035
|
bot: 3,
|
|
4033
4036
|
scam: 3,
|
|
@@ -4052,7 +4055,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
4052
4055
|
var DIGITS = /\d{5,}/;
|
|
4053
4056
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
4054
4057
|
|
|
4055
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
4058
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
4056
4059
|
var linkedIdentity = strictObject({
|
|
4057
4060
|
provider: text,
|
|
4058
4061
|
id,
|
|
@@ -4107,7 +4110,7 @@ var contactCheck = strictObject({
|
|
|
4107
4110
|
checked_at: time
|
|
4108
4111
|
});
|
|
4109
4112
|
|
|
4110
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
4113
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
4111
4114
|
var member = strictObject({
|
|
4112
4115
|
id,
|
|
4113
4116
|
name: nullable(text),
|
|
@@ -4130,7 +4133,7 @@ var member = strictObject({
|
|
|
4130
4133
|
check: optional(record(string(), unknown()))
|
|
4131
4134
|
});
|
|
4132
4135
|
|
|
4133
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
4136
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
4134
4137
|
var setting = optional(nullable(boolean()));
|
|
4135
4138
|
var chat = strictObject({
|
|
4136
4139
|
ref: reference,
|
|
@@ -4171,7 +4174,7 @@ var chat = strictObject({
|
|
|
4171
4174
|
members: optional(array(member))
|
|
4172
4175
|
});
|
|
4173
4176
|
|
|
4174
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
4177
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
4175
4178
|
var attachment = strictObject({
|
|
4176
4179
|
/** The message it came with, as a locator; absent inside that message. */
|
|
4177
4180
|
message: optional(reference),
|
|
@@ -4216,7 +4219,7 @@ var hitFile = strictObject({
|
|
|
4216
4219
|
local_path: optional(text)
|
|
4217
4220
|
});
|
|
4218
4221
|
|
|
4219
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
4222
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
4220
4223
|
var quoted = strictObject({
|
|
4221
4224
|
id,
|
|
4222
4225
|
sender_id: nullable(id),
|
|
@@ -4317,6 +4320,10 @@ var message = strictObject({
|
|
|
4317
4320
|
thread: reference,
|
|
4318
4321
|
read: nullable(boolean()),
|
|
4319
4322
|
flagged: nullable(boolean()),
|
|
4323
|
+
/** What the email is, apart from its sender: one of the mail types. @experimental */
|
|
4324
|
+
mail_type: optional(text),
|
|
4325
|
+
/** How it reached the owner: direct, group or broadcast. @experimental */
|
|
4326
|
+
reach: optional(text),
|
|
4320
4327
|
/** How much the sender's mail looks like spam, a scam or a robot (memo's score), and why; absent when unscored. */
|
|
4321
4328
|
sender_score: optional(strictObject({ score: number(), signals: array(text), demoted: optional(literal(true)) })),
|
|
4322
4329
|
/** Mail `review`: filed in the mailbox of mail sent to many. */
|
|
@@ -4337,7 +4344,7 @@ var message = strictObject({
|
|
|
4337
4344
|
provider_metadata: providerMetadata
|
|
4338
4345
|
});
|
|
4339
4346
|
|
|
4340
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
4347
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
|
|
4341
4348
|
var recordedMeeting = strictObject({
|
|
4342
4349
|
ref: reference,
|
|
4343
4350
|
meeting_id: count,
|
|
@@ -4354,7 +4361,7 @@ var recordedMeeting = strictObject({
|
|
|
4354
4361
|
call: optional(meetingCall)
|
|
4355
4362
|
});
|
|
4356
4363
|
|
|
4357
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
4364
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
4358
4365
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
4359
4366
|
var contextMessage = strictObject({
|
|
4360
4367
|
locator: reference,
|
|
@@ -4560,7 +4567,7 @@ var contactPreparation = strictObject({
|
|
|
4560
4567
|
})
|
|
4561
4568
|
});
|
|
4562
4569
|
|
|
4563
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
4570
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
4564
4571
|
var nullableText = nullable(text);
|
|
4565
4572
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
4566
4573
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -4625,7 +4632,7 @@ var deal = strictObject({
|
|
|
4625
4632
|
})),
|
|
4626
4633
|
people: array(strictObject({ ...party.entries, role: picklist(DEAL_ROLES) })),
|
|
4627
4634
|
author: strictObject({
|
|
4628
|
-
type: picklist(["person", "
|
|
4635
|
+
type: picklist(["person", "agent"]),
|
|
4629
4636
|
id,
|
|
4630
4637
|
name: nullableText,
|
|
4631
4638
|
kind: nullable(picklist(["agent", "rule"]))
|
|
@@ -4716,7 +4723,7 @@ var stage = strictObject({
|
|
|
4716
4723
|
untrusted
|
|
4717
4724
|
});
|
|
4718
4725
|
|
|
4719
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
4726
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/business-context.js
|
|
4720
4727
|
var nullableText2 = nullable(text);
|
|
4721
4728
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
4722
4729
|
var standing = picklist(STANDINGS);
|
|
@@ -4895,7 +4902,7 @@ var dealBrief = strictObject({
|
|
|
4895
4902
|
not_read: coverage2.entries.not_read
|
|
4896
4903
|
});
|
|
4897
4904
|
|
|
4898
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
4905
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
4899
4906
|
var botProfile = strictObject({
|
|
4900
4907
|
name: text,
|
|
4901
4908
|
token: text,
|
|
@@ -5019,7 +5026,7 @@ var stickerInventory = strictObject({
|
|
|
5019
5026
|
url: optional(nullable(text))
|
|
5020
5027
|
});
|
|
5021
5028
|
|
|
5022
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5029
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
5023
5030
|
var actionableError = objectWithRest({
|
|
5024
5031
|
code: text,
|
|
5025
5032
|
message: text,
|
|
@@ -5036,7 +5043,7 @@ var batchResult = strictObject({
|
|
|
5036
5043
|
max_error_percent: count
|
|
5037
5044
|
});
|
|
5038
5045
|
|
|
5039
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5046
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
5040
5047
|
var conversationBuild = strictObject({
|
|
5041
5048
|
chat: id,
|
|
5042
5049
|
messages: count,
|
|
@@ -5061,13 +5068,13 @@ var catchUpPreparation = strictObject({
|
|
|
5061
5068
|
prepared: optional(conversationPreparation)
|
|
5062
5069
|
});
|
|
5063
5070
|
|
|
5064
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5071
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
5065
5072
|
import { spawn } from "node:child_process";
|
|
5066
5073
|
import { randomBytes } from "node:crypto";
|
|
5067
5074
|
import { closeSync, existsSync as existsSync2, mkdirSync, openSync, readdirSync, readFileSync as readFileSync2, realpathSync, rmSync as rmSync2 } from "node:fs";
|
|
5068
5075
|
import { dirname, join as join2 } from "node:path";
|
|
5069
5076
|
|
|
5070
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5077
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
5071
5078
|
import { existsSync, readFileSync, rmSync } from "node:fs";
|
|
5072
5079
|
import { join } from "node:path";
|
|
5073
5080
|
var PART = /^[\w@+-][\w.@+-]{0,99}$/;
|
|
@@ -5107,7 +5114,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
5107
5114
|
};
|
|
5108
5115
|
}, "progressOf");
|
|
5109
5116
|
|
|
5110
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5117
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
5111
5118
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
5112
5119
|
const run = currentRun();
|
|
5113
5120
|
const trace = traceId ?? run.traceId;
|
|
@@ -5121,7 +5128,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
5121
5128
|
}));
|
|
5122
5129
|
}, "recordLogFor");
|
|
5123
5130
|
|
|
5124
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5131
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
5125
5132
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
5126
5133
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
5127
5134
|
const out = openSync(log, "a", 384);
|
|
@@ -5276,7 +5283,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
5276
5283
|
return { job: id6, pid, chat: input.chat, log };
|
|
5277
5284
|
}, "startArchiveJob");
|
|
5278
5285
|
|
|
5279
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5286
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
5280
5287
|
var problem = strictObject({ code: text, message: text });
|
|
5281
5288
|
var job = strictObject({
|
|
5282
5289
|
id,
|
|
@@ -5299,7 +5306,7 @@ var job = strictObject({
|
|
|
5299
5306
|
error: optional(problem)
|
|
5300
5307
|
});
|
|
5301
5308
|
|
|
5302
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5309
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
5303
5310
|
var extractionItem = strictObject({
|
|
5304
5311
|
ref: reference,
|
|
5305
5312
|
attachment: count,
|
|
@@ -5332,7 +5339,7 @@ var extractionReport = strictObject({
|
|
|
5332
5339
|
cursor: optional(text)
|
|
5333
5340
|
});
|
|
5334
5341
|
|
|
5335
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5342
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
5336
5343
|
var savedMessageFile = strictObject({
|
|
5337
5344
|
kind: text,
|
|
5338
5345
|
path: text,
|
|
@@ -5419,7 +5426,7 @@ var messageSyncAll = strictObject({
|
|
|
5419
5426
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
5420
5427
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
5421
5428
|
|
|
5422
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5429
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
5423
5430
|
var range = strictObject({ from: number(), to: number() });
|
|
5424
5431
|
var storeChatStatus = strictObject({
|
|
5425
5432
|
chat_id: id,
|
|
@@ -5517,7 +5524,7 @@ var storeJobRetry = union([
|
|
|
5517
5524
|
]);
|
|
5518
5525
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
5519
5526
|
|
|
5520
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5527
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
5521
5528
|
var account = strictObject({
|
|
5522
5529
|
provider: text,
|
|
5523
5530
|
id,
|
|
@@ -5527,7 +5534,7 @@ var account = strictObject({
|
|
|
5527
5534
|
scope: optional(picklist(["personal", "work"]))
|
|
5528
5535
|
});
|
|
5529
5536
|
|
|
5530
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5537
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
5531
5538
|
var accountSession = strictObject({
|
|
5532
5539
|
current: boolean(),
|
|
5533
5540
|
client: nullable(text),
|
|
@@ -5537,7 +5544,7 @@ var accountSession = strictObject({
|
|
|
5537
5544
|
created_at: optional(nullable(time))
|
|
5538
5545
|
});
|
|
5539
5546
|
|
|
5540
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5547
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
5541
5548
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
5542
5549
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
5543
5550
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -5566,7 +5573,7 @@ var accountRemoval = strictObject({
|
|
|
5566
5573
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
5567
5574
|
});
|
|
5568
5575
|
|
|
5569
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5576
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
5570
5577
|
var accountProfile = strictObject({
|
|
5571
5578
|
profile: id,
|
|
5572
5579
|
current: boolean(),
|
|
@@ -5578,7 +5585,7 @@ var accountProfile = strictObject({
|
|
|
5578
5585
|
bot: optional(literal(true))
|
|
5579
5586
|
});
|
|
5580
5587
|
|
|
5581
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5588
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
5582
5589
|
var milliseconds = pipe(number(), minValue(0));
|
|
5583
5590
|
var counterReading = strictObject({
|
|
5584
5591
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -5590,7 +5597,7 @@ var counterReading = strictObject({
|
|
|
5590
5597
|
});
|
|
5591
5598
|
var selection = record(string(), unknown());
|
|
5592
5599
|
|
|
5593
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5600
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
5594
5601
|
var adminRow = strictObject({
|
|
5595
5602
|
ref: reference,
|
|
5596
5603
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -5643,7 +5650,7 @@ var adminReport = strictObject({
|
|
|
5643
5650
|
rows: array(adminRow)
|
|
5644
5651
|
});
|
|
5645
5652
|
|
|
5646
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5653
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
5647
5654
|
var closeSuggestion = strictObject({
|
|
5648
5655
|
as: picklist(["done", "dismissed"]),
|
|
5649
5656
|
/** The agent's name. */
|
|
@@ -5668,7 +5675,7 @@ var task = strictObject({
|
|
|
5668
5675
|
project_key: optional(nullable(text)),
|
|
5669
5676
|
project_name: optional(nullable(text)),
|
|
5670
5677
|
/** Who added it: the owner, or an agent by its bot name. */
|
|
5671
|
-
created_by: optional(nullable(strictObject({ type: picklist(["person", "
|
|
5678
|
+
created_by: optional(nullable(strictObject({ type: picklist(["person", "agent"]), id, name: nullable(text), owner: boolean() }))),
|
|
5672
5679
|
account: optional(text),
|
|
5673
5680
|
/** The chat it came from, as a `chat:` reference. */
|
|
5674
5681
|
chat: optional(nullable(reference)),
|
|
@@ -5705,7 +5712,7 @@ var task = strictObject({
|
|
|
5705
5712
|
updated_at: optional(time)
|
|
5706
5713
|
});
|
|
5707
5714
|
|
|
5708
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5715
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
5709
5716
|
var agendaChat = strictObject({
|
|
5710
5717
|
chat: reference,
|
|
5711
5718
|
title: nullable(text),
|
|
@@ -5775,11 +5782,11 @@ var agenda = strictObject({
|
|
|
5775
5782
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
5776
5783
|
});
|
|
5777
5784
|
|
|
5778
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5785
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
5779
5786
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
5780
5787
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
5781
5788
|
|
|
5782
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5789
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
5783
5790
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
5784
5791
|
var attachmentBytes = strictObject({
|
|
5785
5792
|
ref: reference,
|
|
@@ -5810,7 +5817,7 @@ var attachmentTextChange = strictObject({
|
|
|
5810
5817
|
text: optional(text)
|
|
5811
5818
|
});
|
|
5812
5819
|
|
|
5813
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5820
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
5814
5821
|
var chart = strictObject({
|
|
5815
5822
|
version: literal(1),
|
|
5816
5823
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -5825,7 +5832,7 @@ var chart = strictObject({
|
|
|
5825
5832
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
5826
5833
|
});
|
|
5827
5834
|
|
|
5828
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5835
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
5829
5836
|
var named = strictObject({
|
|
5830
5837
|
id,
|
|
5831
5838
|
title: nullable(text),
|
|
@@ -5848,7 +5855,7 @@ var folder = strictObject({
|
|
|
5848
5855
|
excluded_chats: optional(array(named))
|
|
5849
5856
|
});
|
|
5850
5857
|
|
|
5851
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5858
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
5852
5859
|
var inviteLink = strictObject({
|
|
5853
5860
|
link: text,
|
|
5854
5861
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -5864,7 +5871,7 @@ var inviteLink = strictObject({
|
|
|
5864
5871
|
joined_count: optional(count)
|
|
5865
5872
|
});
|
|
5866
5873
|
|
|
5867
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5874
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
5868
5875
|
var operated = { operation_id: id, chat_id: id };
|
|
5869
5876
|
var group = strictObject({
|
|
5870
5877
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -5944,7 +5951,7 @@ var chatFolderOrder = strictObject({
|
|
|
5944
5951
|
folders: array(strictObject({ id, title: text }))
|
|
5945
5952
|
});
|
|
5946
5953
|
|
|
5947
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5954
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
5948
5955
|
var operated2 = { operation_id: id, chat_id: id };
|
|
5949
5956
|
var chatRemoval = strictObject(operated2);
|
|
5950
5957
|
var chatMuting = strictObject({
|
|
@@ -5955,7 +5962,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
5955
5962
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
5956
5963
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
5957
5964
|
|
|
5958
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5965
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
5959
5966
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
5960
5967
|
var chatEvent = strictObject({
|
|
5961
5968
|
chat_id: id,
|
|
@@ -5972,7 +5979,7 @@ var chatEvent = strictObject({
|
|
|
5972
5979
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
5973
5980
|
});
|
|
5974
5981
|
|
|
5975
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5982
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
5976
5983
|
var chatMetadata = strictObject({
|
|
5977
5984
|
chat_id: id,
|
|
5978
5985
|
title: nullable(text),
|
|
@@ -5987,7 +5994,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
5987
5994
|
has_more: boolean()
|
|
5988
5995
|
});
|
|
5989
5996
|
|
|
5990
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5997
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
5991
5998
|
var action = picklist(["report", "delete", "remove"]);
|
|
5992
5999
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
5993
6000
|
var chatRules = strictObject({
|
|
@@ -6024,7 +6031,7 @@ var chatModeration = strictObject({
|
|
|
6024
6031
|
}))
|
|
6025
6032
|
});
|
|
6026
6033
|
|
|
6027
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6034
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/chat-sending.js
|
|
6028
6035
|
var chatSending = strictObject({
|
|
6029
6036
|
mode: picklist(["allowed", "ask", "denied"]),
|
|
6030
6037
|
meaning: text,
|
|
@@ -6034,7 +6041,7 @@ var chatSending = strictObject({
|
|
|
6034
6041
|
changed: optional(boolean())
|
|
6035
6042
|
});
|
|
6036
6043
|
|
|
6037
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6044
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
6038
6045
|
var optionalCount = optional(count);
|
|
6039
6046
|
var minutes = nullable(number());
|
|
6040
6047
|
var chatStats = strictObject({
|
|
@@ -6110,7 +6117,7 @@ var taskStats = strictObject({
|
|
|
6110
6117
|
}))
|
|
6111
6118
|
});
|
|
6112
6119
|
|
|
6113
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6120
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
6114
6121
|
var memberCount = strictObject({
|
|
6115
6122
|
day: pipe(text, isoDate()),
|
|
6116
6123
|
participants: nullable(count),
|
|
@@ -6133,7 +6140,7 @@ var chatTracking = strictObject({
|
|
|
6133
6140
|
tracked: boolean()
|
|
6134
6141
|
});
|
|
6135
6142
|
|
|
6136
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6143
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
6137
6144
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
6138
6145
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
6139
6146
|
var profileFields = {
|
|
@@ -6171,7 +6178,7 @@ var profileFields = {
|
|
|
6171
6178
|
}))
|
|
6172
6179
|
};
|
|
6173
6180
|
|
|
6174
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6181
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
6175
6182
|
var contact = strictObject({
|
|
6176
6183
|
ref: reference,
|
|
6177
6184
|
id,
|
|
@@ -6202,7 +6209,7 @@ var contact = strictObject({
|
|
|
6202
6209
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
6203
6210
|
});
|
|
6204
6211
|
|
|
6205
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6212
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
6206
6213
|
var contactNote = strictObject({
|
|
6207
6214
|
id,
|
|
6208
6215
|
/** The contact, as a `contact:` reference. */
|
|
@@ -6214,13 +6221,13 @@ var contactNote = strictObject({
|
|
|
6214
6221
|
updated_at: time
|
|
6215
6222
|
});
|
|
6216
6223
|
|
|
6217
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6224
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
6218
6225
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
6219
6226
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
6220
6227
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
6221
6228
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
6222
6229
|
|
|
6223
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6230
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
6224
6231
|
var conversation = strictObject({
|
|
6225
6232
|
id,
|
|
6226
6233
|
chat: reference,
|
|
@@ -6235,7 +6242,7 @@ var conversation = strictObject({
|
|
|
6235
6242
|
rules_version: count
|
|
6236
6243
|
});
|
|
6237
6244
|
|
|
6238
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6245
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
6239
6246
|
var conversationDetails = union([
|
|
6240
6247
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
6241
6248
|
message
|
|
@@ -6330,7 +6337,7 @@ var conversationHit = strictObject({
|
|
|
6330
6337
|
untrusted
|
|
6331
6338
|
});
|
|
6332
6339
|
|
|
6333
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6340
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
6334
6341
|
var counters = strictObject({
|
|
6335
6342
|
cutoff: time,
|
|
6336
6343
|
max_age_ms: milliseconds,
|
|
@@ -6360,7 +6367,7 @@ var counterRefresh = strictObject({
|
|
|
6360
6367
|
complete: optional(boolean())
|
|
6361
6368
|
});
|
|
6362
6369
|
|
|
6363
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6370
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
6364
6371
|
var document = strictObject({
|
|
6365
6372
|
ref: reference,
|
|
6366
6373
|
id,
|
|
@@ -6375,7 +6382,7 @@ var document = strictObject({
|
|
|
6375
6382
|
owners: optional(array(text))
|
|
6376
6383
|
});
|
|
6377
6384
|
|
|
6378
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6385
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
6379
6386
|
var documentLink = strictObject({
|
|
6380
6387
|
ref: reference,
|
|
6381
6388
|
url: text,
|
|
@@ -6386,7 +6393,34 @@ var documentLink = strictObject({
|
|
|
6386
6393
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
6387
6394
|
});
|
|
6388
6395
|
|
|
6389
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6396
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/domain-list.js
|
|
6397
|
+
var domainList = strictObject({
|
|
6398
|
+
id,
|
|
6399
|
+
title: text,
|
|
6400
|
+
/**
|
|
6401
|
+
* `sector` gives an organization its sector; `freemail` keeps a mailbox provider from making one; `bad` only marks a
|
|
6402
|
+
* host known for spam, phishing or malware.
|
|
6403
|
+
*/
|
|
6404
|
+
signal: picklist(["sector", "freemail", "bad"]),
|
|
6405
|
+
/** `non-commercial`: WireCat may use it, a paid service built around it may not. */
|
|
6406
|
+
class: picklist(["commercial-ok", "non-commercial"]),
|
|
6407
|
+
licence: text,
|
|
6408
|
+
licence_url: text,
|
|
6409
|
+
attribution: text,
|
|
6410
|
+
homepage: text,
|
|
6411
|
+
/** Fetched from its source on this computer, since it may not be redistributed. */
|
|
6412
|
+
upstream: boolean(),
|
|
6413
|
+
lines: count,
|
|
6414
|
+
/** Lines per sector or category, as published. */
|
|
6415
|
+
tags: record(string(), count),
|
|
6416
|
+
/** The pack's build date. */
|
|
6417
|
+
version: text,
|
|
6418
|
+
installed_at: time,
|
|
6419
|
+
sha256: text,
|
|
6420
|
+
path: text
|
|
6421
|
+
});
|
|
6422
|
+
|
|
6423
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
6390
6424
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
6391
6425
|
var contribution = strictObject({
|
|
6392
6426
|
message: evidenceMessage,
|
|
@@ -6416,7 +6450,7 @@ var retentionStay = strictObject({
|
|
|
6416
6450
|
});
|
|
6417
6451
|
var evidence = union([contribution, retentionStay]);
|
|
6418
6452
|
|
|
6419
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6453
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
6420
6454
|
var fact = strictObject({
|
|
6421
6455
|
ref: reference,
|
|
6422
6456
|
id,
|
|
@@ -6435,7 +6469,7 @@ var fact = strictObject({
|
|
|
6435
6469
|
author,
|
|
6436
6470
|
model: nullable(text),
|
|
6437
6471
|
/** Who accepted it; `null` while it is proposed. */
|
|
6438
|
-
confirmed_by: optional(nullable(strictObject({ type: picklist(["person", "
|
|
6472
|
+
confirmed_by: optional(nullable(strictObject({ type: picklist(["person", "agent"]), id }))),
|
|
6439
6473
|
scope: nullable(picklist(MEMORY_SCOPES)),
|
|
6440
6474
|
/** Who recorded it: the owner, or an agent whose fact waits as proposed. */
|
|
6441
6475
|
origin: picklist(["owner", "agent"]),
|
|
@@ -6447,7 +6481,7 @@ var fact = strictObject({
|
|
|
6447
6481
|
updated_at: time
|
|
6448
6482
|
});
|
|
6449
6483
|
|
|
6450
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6484
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
6451
6485
|
var hit = strictObject({
|
|
6452
6486
|
kind: picklist([
|
|
6453
6487
|
"message",
|
|
@@ -6511,7 +6545,7 @@ var hit = strictObject({
|
|
|
6511
6545
|
untrusted
|
|
6512
6546
|
});
|
|
6513
6547
|
|
|
6514
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6548
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
6515
6549
|
var identity = strictObject({
|
|
6516
6550
|
ref: reference,
|
|
6517
6551
|
provider: text,
|
|
@@ -6527,7 +6561,7 @@ var identity = strictObject({
|
|
|
6527
6561
|
person: optional(nullable(reference))
|
|
6528
6562
|
});
|
|
6529
6563
|
|
|
6530
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6564
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
6531
6565
|
var imageEmbedding = strictObject({
|
|
6532
6566
|
model: text,
|
|
6533
6567
|
embedded: count,
|
|
@@ -6536,7 +6570,7 @@ var imageEmbedding = strictObject({
|
|
|
6536
6570
|
more: boolean()
|
|
6537
6571
|
});
|
|
6538
6572
|
|
|
6539
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6573
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
6540
6574
|
var joinRequest = strictObject({
|
|
6541
6575
|
person_id: id,
|
|
6542
6576
|
name: nullable(text),
|
|
@@ -6547,7 +6581,7 @@ var joinRequest = strictObject({
|
|
|
6547
6581
|
about: optional(text)
|
|
6548
6582
|
});
|
|
6549
6583
|
|
|
6550
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6584
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
6551
6585
|
var pollVote = strictObject({
|
|
6552
6586
|
person_id: id,
|
|
6553
6587
|
name: nullable(text),
|
|
@@ -6557,7 +6591,7 @@ var pollVote = strictObject({
|
|
|
6557
6591
|
voted_at: time
|
|
6558
6592
|
});
|
|
6559
6593
|
|
|
6560
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6594
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
6561
6595
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
6562
6596
|
var observation = strictObject({
|
|
6563
6597
|
value: pipe(number(), minValue(0)),
|
|
@@ -6599,7 +6633,7 @@ var serveSummary = strictObject({
|
|
|
6599
6633
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
6600
6634
|
});
|
|
6601
6635
|
|
|
6602
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6636
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
6603
6637
|
var mailCounts = strictObject({
|
|
6604
6638
|
by: picklist(["day", "week", "sender"]),
|
|
6605
6639
|
received: count,
|
|
@@ -6614,7 +6648,7 @@ var mailCounts = strictObject({
|
|
|
6614
6648
|
}))
|
|
6615
6649
|
});
|
|
6616
6650
|
|
|
6617
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6651
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
6618
6652
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
6619
6653
|
var base = { id, evidence: array(evidence2) };
|
|
6620
6654
|
var finding = variant("kind", [
|
|
@@ -6752,13 +6786,13 @@ var mailFindings = strictObject({
|
|
|
6752
6786
|
fingerprint: text,
|
|
6753
6787
|
status: picklist(["proposed", "reviewed"]),
|
|
6754
6788
|
author,
|
|
6755
|
-
decided_by: nullable(strictObject({ type: picklist(["person", "
|
|
6789
|
+
decided_by: nullable(strictObject({ type: picklist(["person", "agent"]), id })),
|
|
6756
6790
|
decided_at: nullable(time),
|
|
6757
6791
|
previous: array(outcome2),
|
|
6758
6792
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
6759
6793
|
});
|
|
6760
6794
|
|
|
6761
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6795
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
6762
6796
|
var mediaArchive = strictObject({
|
|
6763
6797
|
directory: text,
|
|
6764
6798
|
chats: count,
|
|
@@ -6790,7 +6824,7 @@ var mediaArchiveTimer = union([
|
|
|
6790
6824
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
6791
6825
|
]);
|
|
6792
6826
|
|
|
6793
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6827
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
6794
6828
|
var preparationId = pipe(string(), minLength(1));
|
|
6795
6829
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
6796
6830
|
var preparationTime = nullable(isoTime);
|
|
@@ -6882,7 +6916,7 @@ var preparationMeeting = strictObject({
|
|
|
6882
6916
|
updated_at: isoTime
|
|
6883
6917
|
});
|
|
6884
6918
|
|
|
6885
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6919
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
6886
6920
|
var meetingEvidence = preparationEvidence;
|
|
6887
6921
|
var meetingPersonContext = strictObject({
|
|
6888
6922
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -6904,7 +6938,7 @@ var meetingPersonContext = strictObject({
|
|
|
6904
6938
|
})
|
|
6905
6939
|
});
|
|
6906
6940
|
|
|
6907
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6941
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
6908
6942
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
6909
6943
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
6910
6944
|
var finding2 = variant("kind", [
|
|
@@ -6936,13 +6970,13 @@ var meetingFindings = strictObject({
|
|
|
6936
6970
|
fingerprint: text,
|
|
6937
6971
|
status: picklist(["proposed", "reviewed"]),
|
|
6938
6972
|
author,
|
|
6939
|
-
decided_by: nullable(strictObject({ type: picklist(["person", "
|
|
6973
|
+
decided_by: nullable(strictObject({ type: picklist(["person", "agent"]), id })),
|
|
6940
6974
|
decided_at: nullable(time),
|
|
6941
6975
|
previous: array(outcome3),
|
|
6942
6976
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
6943
6977
|
});
|
|
6944
6978
|
|
|
6945
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6979
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
6946
6980
|
var communicationCoverage = strictObject({
|
|
6947
6981
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
6948
6982
|
query: string(),
|
|
@@ -6987,7 +7021,7 @@ var preparationCommunications = strictObject({
|
|
|
6987
7021
|
}))
|
|
6988
7022
|
});
|
|
6989
7023
|
|
|
6990
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7024
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
6991
7025
|
var meetingPreparation = strictObject({
|
|
6992
7026
|
communications: optional(preparationCommunications),
|
|
6993
7027
|
schema_version: literal(1),
|
|
@@ -7100,7 +7134,7 @@ var meetingPreparation = strictObject({
|
|
|
7100
7134
|
})
|
|
7101
7135
|
});
|
|
7102
7136
|
|
|
7103
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7137
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
7104
7138
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
7105
7139
|
var id3 = pipe(string(), minLength(1));
|
|
7106
7140
|
var text3 = string();
|
|
@@ -7164,7 +7198,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
7164
7198
|
})
|
|
7165
7199
|
});
|
|
7166
7200
|
|
|
7167
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7201
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
7168
7202
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
7169
7203
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
7170
7204
|
var meetingSeriesInventory = strictObject({
|
|
@@ -7194,7 +7228,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
7194
7228
|
})
|
|
7195
7229
|
});
|
|
7196
7230
|
|
|
7197
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7231
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
7198
7232
|
var text4 = string();
|
|
7199
7233
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
7200
7234
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -7211,7 +7245,7 @@ var meetingTaskProposal = strictObject({
|
|
|
7211
7245
|
persistence: literal("proposal-only")
|
|
7212
7246
|
});
|
|
7213
7247
|
|
|
7214
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7248
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
7215
7249
|
var memory = strictObject({
|
|
7216
7250
|
ref: reference,
|
|
7217
7251
|
id,
|
|
@@ -7239,7 +7273,7 @@ var memory = strictObject({
|
|
|
7239
7273
|
updated_at: time
|
|
7240
7274
|
});
|
|
7241
7275
|
|
|
7242
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7276
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
7243
7277
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
7244
7278
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
7245
7279
|
var mention = strictObject({
|
|
@@ -7283,7 +7317,7 @@ var mentionRebuild = strictObject({
|
|
|
7283
7317
|
mentions: count
|
|
7284
7318
|
});
|
|
7285
7319
|
|
|
7286
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7320
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
7287
7321
|
var operated3 = { operation_id: id, chat_id: id };
|
|
7288
7322
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
7289
7323
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
@@ -7292,7 +7326,7 @@ var scheduledCancellation = strictObject({ ...operated3, cancelled: array(id) })
|
|
|
7292
7326
|
var scheduledSendEntries = { ...operated3, sent: array(id), messages: array(message) };
|
|
7293
7327
|
var scheduledSend = strictObject(scheduledSendEntries);
|
|
7294
7328
|
|
|
7295
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7329
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
7296
7330
|
var messageTranscript = strictObject({
|
|
7297
7331
|
message_id: id,
|
|
7298
7332
|
text,
|
|
@@ -7350,7 +7384,7 @@ var evidencePacket = strictObject({
|
|
|
7350
7384
|
}))
|
|
7351
7385
|
});
|
|
7352
7386
|
|
|
7353
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7387
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
7354
7388
|
var messageThread = strictObject({
|
|
7355
7389
|
ref: reference,
|
|
7356
7390
|
chat: id,
|
|
@@ -7367,7 +7401,7 @@ var messageThread = strictObject({
|
|
|
7367
7401
|
});
|
|
7368
7402
|
var messageContext = union([message, messageThread]);
|
|
7369
7403
|
|
|
7370
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7404
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
7371
7405
|
var messageCounts = strictObject({
|
|
7372
7406
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
7373
7407
|
total: count,
|
|
@@ -7380,7 +7414,7 @@ var messageCounts = strictObject({
|
|
|
7380
7414
|
}))
|
|
7381
7415
|
});
|
|
7382
7416
|
|
|
7383
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7417
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
7384
7418
|
var messageLink = strictObject({
|
|
7385
7419
|
ref: reference,
|
|
7386
7420
|
url: nullable(text),
|
|
@@ -7397,7 +7431,7 @@ var messageLink = strictObject({
|
|
|
7397
7431
|
})))
|
|
7398
7432
|
});
|
|
7399
7433
|
|
|
7400
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7434
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
7401
7435
|
var messageWrite = strictObject({
|
|
7402
7436
|
operation_id: id,
|
|
7403
7437
|
message,
|
|
@@ -7412,7 +7446,7 @@ var draftWrite = strictObject({
|
|
|
7412
7446
|
});
|
|
7413
7447
|
var messageSend = union([messageWrite, draftWrite]);
|
|
7414
7448
|
|
|
7415
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7449
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
7416
7450
|
var model = strictObject({
|
|
7417
7451
|
id,
|
|
7418
7452
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -7447,7 +7481,7 @@ var chosenModel = strictObject({
|
|
|
7447
7481
|
estimate_seconds: nullable(count)
|
|
7448
7482
|
});
|
|
7449
7483
|
|
|
7450
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7484
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
7451
7485
|
var source = picklist(["environment", "keyring", "file"]);
|
|
7452
7486
|
var modelKey = strictObject({
|
|
7453
7487
|
provider: text,
|
|
@@ -7457,7 +7491,7 @@ var modelKey = strictObject({
|
|
|
7457
7491
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
7458
7492
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
7459
7493
|
|
|
7460
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7494
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
7461
7495
|
var versus = strictObject({ current: number(), previous: number() });
|
|
7462
7496
|
var person = { person_ref: reference, name: nullable(text) };
|
|
7463
7497
|
var graph = strictObject({
|
|
@@ -7491,14 +7525,14 @@ var officialStats = strictObject({
|
|
|
7491
7525
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
7492
7526
|
});
|
|
7493
7527
|
|
|
7494
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7528
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
7495
7529
|
var person2 = strictObject({
|
|
7496
7530
|
ref: reference,
|
|
7497
7531
|
name: nullable(text),
|
|
7498
7532
|
identities: optional(array(identity))
|
|
7499
7533
|
});
|
|
7500
7534
|
|
|
7501
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7535
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
7502
7536
|
var poll = strictObject({
|
|
7503
7537
|
chat_id: id,
|
|
7504
7538
|
message_id: id,
|
|
@@ -7514,11 +7548,11 @@ var poll = strictObject({
|
|
|
7514
7548
|
});
|
|
7515
7549
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
7516
7550
|
|
|
7517
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7551
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
7518
7552
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
7519
7553
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
7520
7554
|
|
|
7521
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7555
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
7522
7556
|
var figures = record(string(), number());
|
|
7523
7557
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
7524
7558
|
var rankingRow = strictObject({
|
|
@@ -7565,7 +7599,7 @@ var ranking = strictObject({
|
|
|
7565
7599
|
rows: array(rankingRow)
|
|
7566
7600
|
});
|
|
7567
7601
|
|
|
7568
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7602
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
7569
7603
|
var reaction = strictObject({
|
|
7570
7604
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
7571
7605
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -7573,7 +7607,7 @@ var reaction = strictObject({
|
|
|
7573
7607
|
reacted_at: time
|
|
7574
7608
|
});
|
|
7575
7609
|
|
|
7576
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7610
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
7577
7611
|
var reactionChange = strictObject({
|
|
7578
7612
|
operation_id: id,
|
|
7579
7613
|
chat_id: id,
|
|
@@ -7581,7 +7615,7 @@ var reactionChange = strictObject({
|
|
|
7581
7615
|
reaction: nullable(text)
|
|
7582
7616
|
});
|
|
7583
7617
|
|
|
7584
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7618
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
7585
7619
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
7586
7620
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
7587
7621
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -7592,7 +7626,7 @@ var recipientChange = strictObject({
|
|
|
7592
7626
|
...partial(recipientOff).entries
|
|
7593
7627
|
});
|
|
7594
7628
|
|
|
7595
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7629
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
7596
7630
|
var events = array(record(string(), unknown()));
|
|
7597
7631
|
var recordedRun = strictObject({
|
|
7598
7632
|
run_id: id,
|
|
@@ -7664,7 +7698,7 @@ var runHit = strictObject({
|
|
|
7664
7698
|
});
|
|
7665
7699
|
var runLocation = strictObject({ path: text });
|
|
7666
7700
|
|
|
7667
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7701
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
7668
7702
|
var relationship = strictObject({
|
|
7669
7703
|
id,
|
|
7670
7704
|
from: reference,
|
|
@@ -7691,7 +7725,7 @@ var relationship = strictObject({
|
|
|
7691
7725
|
created_at: time
|
|
7692
7726
|
});
|
|
7693
7727
|
|
|
7694
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7728
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
7695
7729
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
7696
7730
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
7697
7731
|
var responseTimes = strictObject({
|
|
@@ -7708,7 +7742,7 @@ var waitingChats = strictObject({
|
|
|
7708
7742
|
by_kind: strictObject({ private: count, group: count })
|
|
7709
7743
|
});
|
|
7710
7744
|
|
|
7711
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7745
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
7712
7746
|
var retentionCohort = strictObject({
|
|
7713
7747
|
/** The first day of the joining day or week. */
|
|
7714
7748
|
cohort: text,
|
|
@@ -7756,7 +7790,7 @@ var retention = strictObject({
|
|
|
7756
7790
|
rows: array(retentionCohort)
|
|
7757
7791
|
});
|
|
7758
7792
|
|
|
7759
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7793
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
7760
7794
|
var savedSearch = strictObject({
|
|
7761
7795
|
id,
|
|
7762
7796
|
/** `null` for a run in the history. */
|
|
@@ -7773,7 +7807,7 @@ var savedSearch = strictObject({
|
|
|
7773
7807
|
});
|
|
7774
7808
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
7775
7809
|
|
|
7776
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7810
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
7777
7811
|
var sendAttempt = strictObject({
|
|
7778
7812
|
at: time,
|
|
7779
7813
|
profile: text,
|
|
@@ -7801,7 +7835,7 @@ var sendAttempt = strictObject({
|
|
|
7801
7835
|
error_code: optional(text)
|
|
7802
7836
|
});
|
|
7803
7837
|
|
|
7804
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7838
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
7805
7839
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
7806
7840
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
7807
7841
|
var infoSchema = strictObject({
|
|
@@ -7846,7 +7880,7 @@ var perAccount = { chats: count, messages: count, emails: count, documents: coun
|
|
|
7846
7880
|
var contents = {
|
|
7847
7881
|
by_provider: optional(array(strictObject({ provider: text, accounts: count, ...perAccount }))),
|
|
7848
7882
|
by_chat_kind: optional(array(strictObject({ provider: text, kind: text, chats: count, messages: count }))),
|
|
7849
|
-
/** `name` is the one `
|
|
7883
|
+
/** `name` is the one `session list` shows; the messenger's own id for the account is left out. */
|
|
7850
7884
|
by_account: optional(array(strictObject({ provider: text, account_id: count, name: nullable(text), ...perAccount }))),
|
|
7851
7885
|
/** Calendar years in UTC. */
|
|
7852
7886
|
by_year: optional(array(strictObject({ provider: text, year: count, messages: count }))),
|
|
@@ -8031,7 +8065,7 @@ var storeRepair = union([
|
|
|
8031
8065
|
]);
|
|
8032
8066
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
8033
8067
|
|
|
8034
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8068
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
8035
8069
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
8036
8070
|
var storeTable = strictObject({
|
|
8037
8071
|
name: text,
|
|
@@ -8040,7 +8074,7 @@ var storeTable = strictObject({
|
|
|
8040
8074
|
bytes: optional(nullable(count))
|
|
8041
8075
|
});
|
|
8042
8076
|
|
|
8043
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8077
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
8044
8078
|
var tagTarget = variant("type", [
|
|
8045
8079
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
8046
8080
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -8071,7 +8105,7 @@ var automaticTags = strictObject({
|
|
|
8071
8105
|
dry_run: boolean()
|
|
8072
8106
|
});
|
|
8073
8107
|
|
|
8074
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8108
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
8075
8109
|
var tagging = strictObject({
|
|
8076
8110
|
tag: text,
|
|
8077
8111
|
type: picklist(TAG_TYPES),
|
|
@@ -8084,7 +8118,7 @@ var tagging = strictObject({
|
|
|
8084
8118
|
created_at: time
|
|
8085
8119
|
});
|
|
8086
8120
|
|
|
8087
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8121
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
8088
8122
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
8089
8123
|
var taskPair = strictObject({
|
|
8090
8124
|
task: nullable(side),
|
|
@@ -8107,7 +8141,7 @@ var taskPair = strictObject({
|
|
|
8107
8141
|
created_at: time
|
|
8108
8142
|
});
|
|
8109
8143
|
|
|
8110
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8144
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
8111
8145
|
var nullableTime = nullable(time);
|
|
8112
8146
|
var link = strictObject({
|
|
8113
8147
|
id,
|
|
@@ -8131,7 +8165,7 @@ var taskCard = strictObject({
|
|
|
8131
8165
|
project: reference,
|
|
8132
8166
|
project_key: text,
|
|
8133
8167
|
project_name: text,
|
|
8134
|
-
created_by: nullable(strictObject({ type: picklist(["person", "
|
|
8168
|
+
created_by: nullable(strictObject({ type: picklist(["person", "agent"]), id, name: nullable(text), owner: boolean() })),
|
|
8135
8169
|
title: text,
|
|
8136
8170
|
description: nullable(text),
|
|
8137
8171
|
type: picklist(TASK_TYPES),
|
|
@@ -8281,7 +8315,7 @@ var taskReview = strictObject({
|
|
|
8281
8315
|
untrusted
|
|
8282
8316
|
});
|
|
8283
8317
|
|
|
8284
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8318
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
8285
8319
|
var template = strictObject({
|
|
8286
8320
|
key: text,
|
|
8287
8321
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -8293,7 +8327,7 @@ var template = strictObject({
|
|
|
8293
8327
|
updated_by: nullable(text)
|
|
8294
8328
|
});
|
|
8295
8329
|
|
|
8296
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8330
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
8297
8331
|
var topic = strictObject({
|
|
8298
8332
|
id,
|
|
8299
8333
|
title: text,
|
|
@@ -8307,7 +8341,7 @@ var topic = strictObject({
|
|
|
8307
8341
|
untrusted
|
|
8308
8342
|
});
|
|
8309
8343
|
|
|
8310
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8344
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
8311
8345
|
var ENTITIES = {
|
|
8312
8346
|
sync_progress: progress,
|
|
8313
8347
|
deal,
|
|
@@ -8563,6 +8597,7 @@ var ENTITIES = {
|
|
|
8563
8597
|
chat_rules: chatRules,
|
|
8564
8598
|
chat_moderation: chatModeration,
|
|
8565
8599
|
"model.chosen": chosenModel,
|
|
8600
|
+
domain_list: domainList,
|
|
8566
8601
|
model_key: modelKey,
|
|
8567
8602
|
chat_sending: chatSending,
|
|
8568
8603
|
"model_key.stored": storedModelKey,
|
|
@@ -8609,7 +8644,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
8609
8644
|
return [name, definition];
|
|
8610
8645
|
})), "entityDefinitions");
|
|
8611
8646
|
|
|
8612
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8647
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
8613
8648
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
8614
8649
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
8615
8650
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -8643,7 +8678,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
8643
8678
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
8644
8679
|
}, "answerRow");
|
|
8645
8680
|
|
|
8646
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8681
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
8647
8682
|
var where = [{ field: "ref" }];
|
|
8648
8683
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
8649
8684
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -8735,7 +8770,7 @@ var STATUS_ROWS = {
|
|
|
8735
8770
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
8736
8771
|
};
|
|
8737
8772
|
|
|
8738
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8773
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
8739
8774
|
var TEXT_CHARS = 400;
|
|
8740
8775
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
8741
8776
|
var messageRow = {
|
|
@@ -9107,7 +9142,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
9107
9142
|
return lines.concat(footerOf(body)).join("\n");
|
|
9108
9143
|
}, "compactText");
|
|
9109
9144
|
|
|
9110
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9145
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
9111
9146
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
9112
9147
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
9113
9148
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -9145,7 +9180,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
9145
9180
|
progress: "sync.progress"
|
|
9146
9181
|
};
|
|
9147
9182
|
|
|
9148
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9183
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
9149
9184
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
9150
9185
|
const recording = startRecording(options);
|
|
9151
9186
|
try {
|
|
@@ -9242,7 +9277,7 @@ var startRecording = /* @__PURE__ */ __name((options) => {
|
|
|
9242
9277
|
});
|
|
9243
9278
|
}, "succeed"),
|
|
9244
9279
|
fail: /* @__PURE__ */ __name(async (thrown) => {
|
|
9245
|
-
const error = storeDamaged(thrown);
|
|
9280
|
+
const error = storeBusy(storeDamaged(thrown));
|
|
9246
9281
|
markStoreDamaged(thrown, {
|
|
9247
9282
|
store: storePath(options.env),
|
|
9248
9283
|
command: `${options.app.command} ${options.command}`,
|
|
@@ -9360,7 +9395,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
9360
9395
|
return void 0;
|
|
9361
9396
|
}, "partialOutcome");
|
|
9362
9397
|
|
|
9363
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9398
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
|
|
9364
9399
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
9365
9400
|
var requests = new AsyncLocalStorage();
|
|
9366
9401
|
var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
|
|
@@ -9375,7 +9410,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
|
|
|
9375
9410
|
return direct;
|
|
9376
9411
|
}, "exitCodeSet");
|
|
9377
9412
|
|
|
9378
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9413
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
9379
9414
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
9380
9415
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
9381
9416
|
messageId: message2.id,
|
|
@@ -9481,7 +9516,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
9481
9516
|
}, "guardedWrite");
|
|
9482
9517
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
9483
9518
|
|
|
9484
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9519
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
9485
9520
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
9486
9521
|
if (ms2 === void 0)
|
|
9487
9522
|
return body();
|
|
@@ -9507,7 +9542,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
9507
9542
|
}
|
|
9508
9543
|
}, "withDeadline");
|
|
9509
9544
|
|
|
9510
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9545
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
9511
9546
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
9512
9547
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
9513
9548
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -9690,7 +9725,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
9690
9725
|
}
|
|
9691
9726
|
}, "withAbort");
|
|
9692
9727
|
|
|
9693
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9728
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
9694
9729
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
9695
9730
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
9696
9731
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -9777,7 +9812,7 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
9777
9812
|
return void 0;
|
|
9778
9813
|
}, "sampleCommand");
|
|
9779
9814
|
|
|
9780
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9815
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
9781
9816
|
var model2 = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
9782
9817
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
9783
9818
|
var AI_FIELDS = {
|
|
@@ -9821,7 +9856,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
9821
9856
|
};
|
|
9822
9857
|
}, "resolveAISettings");
|
|
9823
9858
|
|
|
9824
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9859
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
9825
9860
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
9826
9861
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
9827
9862
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -9835,7 +9870,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
9835
9870
|
return ms2;
|
|
9836
9871
|
}, "parseDuration");
|
|
9837
9872
|
|
|
9838
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9873
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
9839
9874
|
import { existsSync as existsSync3, readdirSync as readdirSync2, readFileSync as readFileSync3 } from "node:fs";
|
|
9840
9875
|
import { join as join3 } from "node:path";
|
|
9841
9876
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -9924,7 +9959,7 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
9924
9959
|
return readdirSync2(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
9925
9960
|
}, "registryProfiles");
|
|
9926
9961
|
|
|
9927
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9962
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
9928
9963
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
9929
9964
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
9930
9965
|
var SECTIONS = ["personal", "bot"];
|
|
@@ -10223,7 +10258,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
10223
10258
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
10224
10259
|
}, "readConfigFile");
|
|
10225
10260
|
|
|
10226
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10261
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
10227
10262
|
import { existsSync as existsSync4, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync3, writeFileSync } from "node:fs";
|
|
10228
10263
|
import { dirname as dirname2, join as join4 } from "node:path";
|
|
10229
10264
|
var DEFAULT_CONFIG = {
|
|
@@ -10252,7 +10287,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
10252
10287
|
}
|
|
10253
10288
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
10254
10289
|
|
|
10255
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10290
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
10256
10291
|
import { existsSync as existsSync5, readdirSync as readdirSync3, readFileSync as readFileSync5 } from "node:fs";
|
|
10257
10292
|
import { join as join5 } from "node:path";
|
|
10258
10293
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join5(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -10274,7 +10309,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
10274
10309
|
}, "profilesWithAccounts");
|
|
10275
10310
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
10276
10311
|
|
|
10277
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10312
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
10278
10313
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10279
10314
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
10280
10315
|
const path2 = key.split(".");
|
|
@@ -10307,10 +10342,10 @@ var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((settin
|
|
|
10307
10342
|
};
|
|
10308
10343
|
}), "settingRows");
|
|
10309
10344
|
|
|
10310
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10345
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
10311
10346
|
import { existsSync as existsSync6 } from "node:fs";
|
|
10312
10347
|
|
|
10313
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10348
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
10314
10349
|
var HISTORY_MAX_DAYS = 1095;
|
|
10315
10350
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
10316
10351
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -10357,7 +10392,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
10357
10392
|
return { batch: { ...batch, messages }, skipped };
|
|
10358
10393
|
}, "limitBatch");
|
|
10359
10394
|
|
|
10360
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10395
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
10361
10396
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
10362
10397
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
10363
10398
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -10885,7 +10920,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
10885
10920
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
10886
10921
|
}, "given");
|
|
10887
10922
|
|
|
10888
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10923
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
10889
10924
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
10890
10925
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
10891
10926
|
var DEFAULT_REQUEST_MS = 2e3;
|
|
@@ -10942,7 +10977,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests: requests2, deadline, request
|
|
|
10942
10977
|
};
|
|
10943
10978
|
}, "runBudget");
|
|
10944
10979
|
|
|
10945
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10980
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
10946
10981
|
var runBudgetOf = /* @__PURE__ */ __name((command, requests2) => {
|
|
10947
10982
|
const { deadline, signal, app } = environmentOf(command);
|
|
10948
10983
|
const now = deadline?.();
|
|
@@ -11096,7 +11131,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
11096
11131
|
return words.join(" ");
|
|
11097
11132
|
}, "commandPath");
|
|
11098
11133
|
|
|
11099
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
11134
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
11100
11135
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
11101
11136
|
var FETCH = { remote: "read", local: "write" };
|
|
11102
11137
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -11253,7 +11288,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
11253
11288
|
throw readOnlyRefusal(lock, what);
|
|
11254
11289
|
}, "refuseUnderReadOnly");
|
|
11255
11290
|
|
|
11256
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
11291
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11257
11292
|
import { join as join6 } from "node:path";
|
|
11258
11293
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11259
11294
|
var IMAGE_MODELS = [
|
|
@@ -11307,7 +11342,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11307
11342
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
|
|
11308
11343
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11309
11344
|
|
|
11310
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
11345
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11311
11346
|
var STEPS2 = defineSteps([
|
|
11312
11347
|
...STEPS,
|
|
11313
11348
|
{
|
|
@@ -11611,7 +11646,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11611
11646
|
].join(" ");
|
|
11612
11647
|
}, "stepLine");
|
|
11613
11648
|
|
|
11614
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
11649
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
11615
11650
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
11616
11651
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
11617
11652
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -11669,7 +11704,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
11669
11704
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
11670
11705
|
}, "largeAnswerSteps");
|
|
11671
11706
|
|
|
11672
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
11707
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
11673
11708
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
11674
11709
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
11675
11710
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -11683,7 +11718,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
11683
11718
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
11684
11719
|
}, "strip");
|
|
11685
11720
|
|
|
11686
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
11721
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
|
|
11687
11722
|
var OPEN = "\u27E6";
|
|
11688
11723
|
var CLOSE = "\u27E7";
|
|
11689
11724
|
var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -11790,7 +11825,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
|
|
|
11790
11825
|
return result;
|
|
11791
11826
|
}, "withFieldsMarked");
|
|
11792
11827
|
|
|
11793
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
11828
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
11794
11829
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
11795
11830
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
11796
11831
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|