@wirecat/zoom-cli 0.81.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/answers.d.ts +56 -0
- package/dist/answers.d.ts.map +1 -1
- 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-3ASMN35R.js → all-profiles-RY2OMSDL.js} +12 -12
- package/dist/bundle/answer-policy-IFVXPPGW.js +131 -0
- package/dist/bundle/{anthropic-XXI53VNI.js → anthropic-36VPSF7B.js} +6 -6
- package/dist/bundle/{app-server-B7WLNZNQ.js → app-server-ZVJVUGB7.js} +79 -76
- package/dist/bundle/{bun-2FLR4IV4.js → bun-F4M4KCNA.js} +2 -2
- package/dist/bundle/{bun-sqlite-3NNHTOGM.js → bun-sqlite-IOPYIUA7.js} +7 -7
- package/dist/bundle/{chunk-L54I45OX.js → chunk-26TW5RZ6.js} +33 -317
- package/dist/bundle/{chunk-JK24A3RP.js → chunk-2DK5BBFF.js} +3 -3
- package/dist/bundle/{chunk-4VOCXLMJ.js → chunk-2IBKKVVZ.js} +6 -6
- package/dist/bundle/{chunk-WKNYNK7W.js → chunk-2S54TM4N.js} +4 -4
- package/dist/bundle/{chunk-WHXYPLUE.js → chunk-3AQHKXVR.js} +4 -4
- package/dist/bundle/{chunk-YISJJNXT.js → chunk-3CW2C7ZA.js} +3 -3
- package/dist/bundle/{chunk-77TJ3AJH.js → chunk-3KUEZK5Z.js} +3 -3
- package/dist/bundle/{chunk-NQGGTO3B.js → chunk-3PXUQFHX.js} +8 -8
- package/dist/bundle/{chunk-N5ROXGY4.js → chunk-3QN5KDFZ.js} +167 -167
- package/dist/bundle/{chunk-AWJQ6FAX.js → chunk-434YFJAE.js} +2 -2
- package/dist/bundle/{chunk-4BU3LRTB.js → chunk-575JMTDR.js} +19 -18
- package/dist/bundle/{chunk-NM5XMKWO.js → chunk-5B2LV4MS.js} +2 -1
- package/dist/bundle/{chunk-3M436OO2.js → chunk-5WL5RHOO.js} +7 -102
- package/dist/bundle/{chunk-PS7HQ5LQ.js → chunk-6C7ESL5N.js} +3 -3
- package/dist/bundle/{chunk-SRUAUMBL.js → chunk-6E4KLYNP.js} +12 -12
- package/dist/bundle/chunk-7JDXR75Q.js +465 -0
- package/dist/bundle/{chunk-L2ERFXB7.js → chunk-AK3H2C65.js} +40 -31
- package/dist/bundle/{chunk-OEQNP56V.js → chunk-AQ5RIOUE.js} +1 -1
- package/dist/bundle/{chunk-35FVYRH5.js → chunk-AQLUAQXJ.js} +37 -180
- package/dist/bundle/{chunk-EPASOAEI.js → chunk-ASTLGFTR.js} +284 -184
- package/dist/bundle/{chunk-YNWBRDBX.js → chunk-ATHBB7OU.js} +2 -2
- package/dist/bundle/{chunk-ZFRYFDZN.js → chunk-B2NM65RD.js} +14 -6
- package/dist/bundle/{chunk-VQTYJ6XH.js → chunk-B4KHDXJE.js} +3 -3
- package/dist/bundle/{chunk-G3DWMG7Y.js → chunk-BAFC7WNI.js} +4 -4
- package/dist/bundle/{chunk-2GNGR265.js → chunk-BBGJQMRI.js} +1 -1
- package/dist/bundle/{chunk-C4BBCSGK.js → chunk-BTLZYRIW.js} +6 -6
- package/dist/bundle/{chunk-T2BHIC37.js → chunk-BZDS2X6Y.js} +65 -65
- package/dist/bundle/{chunk-3UX4VJWD.js → chunk-C7JPYWYQ.js} +3 -4
- package/dist/bundle/{chunk-R4CXFYQN.js → chunk-CDQUW25G.js} +180 -38
- package/dist/bundle/{chunk-YJKXCINQ.js → chunk-CJWGJBHW.js} +274 -60
- package/dist/bundle/{chunk-F2J2FQUB.js → chunk-D7RCUODT.js} +9 -9
- package/dist/bundle/{chunk-AV2ZJ4WX.js → chunk-DNCLQPOM.js} +1 -1
- package/dist/bundle/{chunk-LGESUPKO.js → chunk-DQJECJUE.js} +25 -90
- package/dist/bundle/{chunk-MA4UJNUI.js → chunk-E4JQ3MCW.js} +12 -12
- package/dist/bundle/{chunk-GW2A2FJH.js → chunk-E4ODYLEK.js} +8 -8
- package/dist/bundle/{chunk-Q26UFIH4.js → chunk-EE45N67Q.js} +16 -3
- package/dist/bundle/{chunk-5SEBLX6B.js → chunk-EEEU4MKK.js} +12 -12
- package/dist/bundle/{chunk-YRDQ54G5.js → chunk-ESN3W2MZ.js} +24 -11
- package/dist/bundle/{chunk-M7OYEMLI.js → chunk-ETIZGA4P.js} +7 -7
- package/dist/bundle/{chunk-IVZACJ6X.js → chunk-F44QK6CK.js} +4 -4
- package/dist/bundle/{chunk-JKEMW6E4.js → chunk-FH2UFNH6.js} +2 -2
- package/dist/bundle/{chunk-XYQVVW4R.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-GDRFVBCB.js → chunk-G6CHEFAG.js} +2 -2
- package/dist/bundle/{chunk-2ELGSNX3.js → chunk-GHJD7PE6.js} +170 -170
- package/dist/bundle/{chunk-LECMHK2F.js → chunk-GZ7WBU5Y.js} +1 -1
- package/dist/bundle/{chunk-4ZXJ4AZW.js → chunk-H6A4NWYJ.js} +322 -45
- package/dist/bundle/{chunk-D26K6756.js → chunk-HKLRI2LB.js} +6 -6
- package/dist/bundle/{chunk-R6HP2XKD.js → chunk-HMD4FZYY.js} +5 -5
- package/dist/bundle/{chunk-2Z7UOXFC.js → chunk-HO4JGD4Q.js} +1 -1
- package/dist/bundle/chunk-HUAHLO6N.js +29 -0
- package/dist/bundle/{chunk-UHMJSSQO.js → chunk-IANKXHSE.js} +1 -1
- package/dist/bundle/{chunk-QFK52FG6.js → chunk-IQZXFWFI.js} +3 -3
- package/dist/bundle/{chunk-GPRJXJC7.js → chunk-ISQ23VKV.js} +22 -1
- package/dist/bundle/{chunk-ZLYICF6A.js → chunk-JEH33ZCD.js} +4 -4
- package/dist/bundle/{chunk-IDUKCXL7.js → chunk-JUNQYWQ2.js} +13 -9
- package/dist/bundle/{chunk-337ALCXQ.js → chunk-JUXMVQWJ.js} +312 -153
- package/dist/bundle/{chunk-5EWYDHBH.js → chunk-KHQDWYCG.js} +2 -2
- package/dist/bundle/{chunk-FMMYBVCH.js → chunk-KYRYD4CR.js} +1 -1
- package/dist/bundle/chunk-LBGT6W4R.js +377 -0
- package/dist/bundle/{chunk-UUVWAVKN.js → chunk-LN7HRYTH.js} +3 -3
- package/dist/bundle/{chunk-NS3JWBDR.js → chunk-MEB7HBTM.js} +6 -6
- package/dist/bundle/{chunk-K7CTCDYX.js → chunk-MEEFWYX3.js} +6 -6
- package/dist/bundle/{chunk-BQBC2WIG.js → chunk-MNOAMJ6H.js} +1 -1
- package/dist/bundle/{chunk-Y7XJA4EW.js → chunk-MYHPXJDG.js} +4 -4
- package/dist/bundle/{chunk-7JWVPJIP.js → chunk-NGI37RFW.js} +10 -10
- package/dist/bundle/{chunk-437DLSB3.js → chunk-NZMWD7Y3.js} +17227 -13055
- package/dist/bundle/chunk-O6IECJRM.js +54 -0
- package/dist/bundle/{chunk-LVCCZI5A.js → chunk-OBWL3BUV.js} +39 -39
- package/dist/bundle/{chunk-GCAJW4SR.js → chunk-OEEWVKJX.js} +1 -1
- package/dist/bundle/chunk-OGTN2KVG.js +147 -0
- package/dist/bundle/{chunk-B2WBWKYN.js → chunk-OQYZ3W4K.js} +12 -12
- package/dist/bundle/{chunk-IFM4G4MT.js → chunk-P3ZCTYGW.js} +4 -4
- package/dist/bundle/{chunk-VAW7QGJA.js → chunk-PVEBAHFU.js} +3 -3
- package/dist/bundle/{chunk-IYNICUCC.js → chunk-R2B6PUVI.js} +4 -4
- package/dist/bundle/{chunk-D7CDHBDX.js → chunk-R6IA5UQB.js} +1 -1
- package/dist/bundle/{chunk-T7QPZYRZ.js → chunk-RLOH7RDN.js} +7 -7
- package/dist/bundle/{chunk-V3ZTAAJ6.js → chunk-RQ4AXSCJ.js} +8 -8
- package/dist/bundle/{chunk-4BXLHSXY.js → chunk-RYGTCRFZ.js} +2 -2
- package/dist/bundle/{chunk-XWKUGAG6.js → chunk-S4PXWIE4.js} +85 -87
- package/dist/bundle/{chunk-ZMAPXIGC.js → chunk-SDZZYZLL.js} +2 -2
- package/dist/bundle/{chunk-ZNAX7GUV.js → chunk-SHQAYUK6.js} +8 -8
- package/dist/bundle/{chunk-YUDVRFXN.js → chunk-T3W4V4A6.js} +1 -1
- package/dist/bundle/{chunk-F5ZAN7OC.js → chunk-TCT5D2X2.js} +1 -1
- package/dist/bundle/{chunk-EEBSKMEA.js → chunk-TDWPOSPR.js} +12 -12
- package/dist/bundle/{chunk-WIX6BFRF.js → chunk-TER3N27H.js} +8 -8
- package/dist/bundle/{chunk-UMPUY77T.js → chunk-TMTNP7QN.js} +10 -10
- package/dist/bundle/{chunk-BZXHJKKI.js → chunk-TO5UEWXR.js} +2 -2
- package/dist/bundle/{chunk-HVXOA4FO.js → chunk-TXDR6YSF.js} +1 -1
- package/dist/bundle/{chunk-CFQQTDSA.js → chunk-TY7NDMFY.js} +1 -1
- package/dist/bundle/{chunk-YIIGF643.js → chunk-UAWSINMC.js} +10 -10
- package/dist/bundle/{chunk-RQFRXUI4.js → chunk-UBH7YF3C.js} +200 -112
- package/dist/bundle/{chunk-MBBR7QHI.js → chunk-UEAE3JUU.js} +2641 -1150
- package/dist/bundle/{chunk-2RFWRJFK.js → chunk-UHR363OD.js} +14 -10
- package/dist/bundle/{chunk-RRYHLP3A.js → chunk-UM52A76S.js} +6 -6
- package/dist/bundle/chunk-URP6BTHN.js +624 -0
- package/dist/bundle/{chunk-HHQROAJQ.js → chunk-UWQEAA6S.js} +1 -1
- package/dist/bundle/{chunk-DMJLJVD3.js → chunk-VR7QZGRU.js} +7 -7
- package/dist/bundle/{chunk-QNG27PGH.js → chunk-VRH5PBSL.js} +21 -17
- package/dist/bundle/chunk-VTLQTQKY.js +1756 -0
- package/dist/bundle/{chunk-NX3BLISW.js → chunk-VTYNLTDW.js} +6 -6
- package/dist/bundle/{chunk-HIFPHARA.js → chunk-WY7XG6TE.js} +4 -4
- package/dist/bundle/{chunk-IBYGNUO7.js → chunk-XEOZTA3H.js} +1 -1
- package/dist/bundle/{chunk-4FSH7K6N.js → chunk-XH23ML2V.js} +2 -2
- package/dist/bundle/{chunk-VXD65V67.js → chunk-XYF76A26.js} +2224 -2288
- package/dist/bundle/{chunk-J5EHZBO5.js → chunk-ZDYJAEVB.js} +19 -3
- package/dist/bundle/{chunk-FXZPAGHT.js → chunk-ZJ63HDBT.js} +2 -2
- package/dist/bundle/{chunk-N62P5FY4.js → chunk-ZT4ZPUIO.js} +12 -12
- package/dist/bundle/{cli-WTGAGSXV.js → cli-JK6PQSSN.js} +133 -116
- package/dist/bundle/command-contract-F3QNBKPX.js +46 -0
- package/dist/bundle/{command-server-entry-47CAYN3E.js → command-server-entry-DJLGN62J.js} +36 -35
- package/dist/bundle/config-TYYMV3HV.js +118 -0
- package/dist/bundle/{decode-2G7QS5IQ.js → decode-ZZICNNFF.js} +6 -6
- package/dist/bundle/{dispatch-ZAP3KBVJ.js → dispatch-FKMIPCPQ.js} +9 -9
- package/dist/bundle/{dist-WY6R3WH7.js → dist-NQPF25XI.js} +52 -49
- package/dist/bundle/{echarts-YRRVLEX3.js → echarts-QMAA7HH5.js} +2 -2
- package/dist/bundle/{embed-B5H3OW2O.js → embed-T64EUKUI.js} +7 -7
- package/dist/bundle/{embedder-3O73SP6Y.js → embedder-ZEKISZXI.js} +10 -10
- package/dist/bundle/{failure-EYGW7JMC.js → failure-XTWBYI2A.js} +3 -3
- package/dist/bundle/first-run-ZFNY4RRH.js +29 -0
- package/dist/bundle/first-screen-LPGCHRHZ.js +47 -0
- package/dist/bundle/{folders-4CGFWM6H.js → folders-ROKVKSCT.js} +5 -5
- package/dist/bundle/{instructions-AG7SRWTR.js → instructions-4H7UREH2.js} +1 -1
- package/dist/bundle/{main-DOGY6FJP.js → main-GCK3VYAA.js} +27 -37
- package/dist/bundle/{mcp-YGOAUNC3.js → mcp-5HFPWC3W.js} +2 -2
- package/dist/bundle/meeting-combined-7HDPOUPB.js +28 -0
- package/dist/bundle/meeting-model-MVUW7UPQ.js +26 -0
- package/dist/bundle/{meeting-semantic-FOEBWV3P.js → meeting-semantic-IF633WGX.js} +8 -8
- package/dist/bundle/{meetings-PVE4C2NF.js → meetings-RY2AAPHV.js} +7 -7
- package/dist/bundle/{node-GJQYN4FT.js → node-P3PUHKYH.js} +2 -2
- package/dist/bundle/{node-sqlite-MLRYKVCQ.js → node-sqlite-ASAZJNHE.js} +8 -8
- package/dist/bundle/{oauth-AC55C6SG.js → oauth-4U3OCK3W.js} +8 -8
- package/dist/bundle/oauth-AJARLPSY.js +46 -0
- package/dist/bundle/{open-3LGTYP6M.js → open-SEJRY2ZI.js} +6 -6
- package/dist/bundle/openai-FZDSC2AA.js +28 -0
- package/dist/bundle/{output-file-FXMTTLOI.js → output-file-RYIOIXMD.js} +6 -6
- package/dist/bundle/{process-MEKCZMX3.js → process-AFIXYXWL.js} +1 -1
- package/dist/bundle/{program-E5BSSIGY.js → program-OYLVYA4Z.js} +186 -247
- package/dist/bundle/{prompt-AIA6QSZK.js → prompt-BCRD64F4.js} +6 -6
- package/dist/bundle/public-SVJILCNI.js +206 -0
- package/dist/bundle/{recognize-M57VNTEV.js → recognize-25ITJWGX.js} +5 -5
- package/dist/bundle/{remote-3OTENZ7Z.js → remote-5FBAJX7O.js} +11 -11
- package/dist/bundle/{rerank-P5WHDFDU.js → rerank-2HGWWORY.js} +8 -8
- package/dist/bundle/run-log-7HRF4Y47.js +145 -0
- package/dist/bundle/{serve-BRLC2QVV.js → serve-RL35MSJD.js} +10 -10
- package/dist/bundle/{server-25NF7DMS.js → server-QUSBWACP.js} +71 -68
- package/dist/bundle/server-SCK2SRDK.js +96 -0
- package/dist/bundle/{services-MJE43OGD.js → services-BGRIQNDC.js} +66 -60
- package/dist/bundle/{speech-4AVCWTQH.js → speech-4W3ZMTFK.js} +25 -25
- package/dist/bundle/{sqlite-runtime-U4TQXWMC.js → sqlite-runtime-K3KLRZCV.js} +7 -7
- package/dist/bundle/{state-GNUGVMY7.js → state-GYL4C74G.js} +7 -7
- package/dist/bundle/{store-KBFZVQWF.js → store-27UQMNEO.js} +28 -26
- package/dist/bundle/{store-MHVBFUBB.js → store-NLYH5SQX.js} +64 -46
- package/dist/bundle/store-connection-CZILWRSR.js +112 -0
- package/dist/bundle/store-maintenance-command-Z3QLNSXJ.js +84 -0
- package/dist/bundle/{streaming-6F7AFEHD.js → streaming-73EKEGPF.js} +7 -7
- package/dist/bundle/surface-CV3C4RV2.js +82 -0
- package/dist/bundle/tokens-PY3S22LY.js +27 -0
- package/dist/bundle/zm.js +9 -9
- package/dist/bundle/{zoom-app-YTGOZ2FS.js → zoom-app-4F4YY4OI.js} +11 -9
- 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 +3 -3
- package/skills/zoom-cli/references/setup.md +2 -2
- package/dist/bundle/agent-VYAJCJLE.js +0 -45
- package/dist/bundle/answer-policy-PTH4F2DW.js +0 -129
- package/dist/bundle/chunk-46EF6P2J.js +0 -72
- package/dist/bundle/chunk-4B335BCJ.js +0 -330
- package/dist/bundle/chunk-EWEQ7AXL.js +0 -719
- package/dist/bundle/chunk-FXCR4DGU.js +0 -37
- package/dist/bundle/chunk-KZ3B6HW5.js +0 -31
- package/dist/bundle/chunk-TI4WJOEX.js +0 -789
- package/dist/bundle/chunk-UPR2S5IE.js +0 -773
- package/dist/bundle/command-contract-3IKVWPDL.js +0 -45
- package/dist/bundle/config-ZOGOKGTU.js +0 -116
- package/dist/bundle/first-run-MPKMDEMA.js +0 -29
- package/dist/bundle/first-screen-AIAAC3KF.js +0 -45
- package/dist/bundle/meeting-combined-YKPKTKGA.js +0 -26
- package/dist/bundle/meeting-model-HTXSGHNM.js +0 -26
- package/dist/bundle/openai-E2MSLVIX.js +0 -28
- package/dist/bundle/run-log-EOQ4EQDS.js +0 -143
- package/dist/bundle/server-EW2RL2EL.js +0 -93
- package/dist/bundle/store-connection-SKRUAI4L.js +0 -109
- package/dist/bundle/store-maintenance-command-G6EXJSHJ.js +0 -81
- package/dist/bundle/surface-DWEWB5RG.js +0 -79
- package/dist/bundle/tokens-BB4MQBLH.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-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,14 +156,14 @@ 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,
|
|
160
163
|
describeQuery,
|
|
161
164
|
parseLucene,
|
|
162
165
|
timezoneOf
|
|
163
|
-
} from "./chunk-
|
|
166
|
+
} from "./chunk-UAWSINMC.js";
|
|
164
167
|
import {
|
|
165
168
|
configFilePath,
|
|
166
169
|
createRecordLog,
|
|
@@ -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,
|
|
@@ -220,19 +223,19 @@ import {
|
|
|
220
223
|
unwrap,
|
|
221
224
|
variant,
|
|
222
225
|
writes
|
|
223
|
-
} from "./chunk-
|
|
226
|
+
} from "./chunk-ESN3W2MZ.js";
|
|
224
227
|
import {
|
|
225
228
|
CliError,
|
|
226
229
|
isCliError
|
|
227
|
-
} from "./chunk-
|
|
230
|
+
} from "./chunk-IANKXHSE.js";
|
|
228
231
|
import {
|
|
229
232
|
visibleControls
|
|
230
|
-
} from "./chunk-
|
|
233
|
+
} from "./chunk-BBGJQMRI.js";
|
|
231
234
|
import {
|
|
232
235
|
__name
|
|
233
236
|
} from "./chunk-ZVVMGPBJ.js";
|
|
234
237
|
|
|
235
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
238
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/registry.js
|
|
236
239
|
var labels = /* @__PURE__ */ new WeakMap();
|
|
237
240
|
var annotate = /* @__PURE__ */ __name((command, meta) => {
|
|
238
241
|
labels.set(command, { ...labels.get(command), ...meta });
|
|
@@ -3733,7 +3736,7 @@ __name(useColor, "useColor");
|
|
|
3733
3736
|
// node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
|
|
3734
3737
|
var program = new Command();
|
|
3735
3738
|
|
|
3736
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3739
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/contracts.js
|
|
3737
3740
|
import { isDeepStrictEqual } from "node:util";
|
|
3738
3741
|
var protectedCommands = /* @__PURE__ */ new WeakMap();
|
|
3739
3742
|
var hasSharedContract = /* @__PURE__ */ __name((command) => protectedCommands.has(command), "hasSharedContract");
|
|
@@ -3935,7 +3938,7 @@ var customizeSharedCommand = /* @__PURE__ */ __name((reference2, reason, build,
|
|
|
3935
3938
|
return command;
|
|
3936
3939
|
}, "customizeSharedCommand");
|
|
3937
3940
|
|
|
3938
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3941
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/document.js
|
|
3939
3942
|
var argumentInfoSchema = object({
|
|
3940
3943
|
name: string(),
|
|
3941
3944
|
required: boolean(),
|
|
@@ -4009,7 +4012,7 @@ var commandsDocumentSchema = strictObject({
|
|
|
4009
4012
|
exit_codes: record(string(), pipe(number(), integer()))
|
|
4010
4013
|
});
|
|
4011
4014
|
|
|
4012
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
4015
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/index.js
|
|
4013
4016
|
var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
4014
4017
|
let command = root;
|
|
4015
4018
|
const path2 = [];
|
|
@@ -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@0.
|
|
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@0.
|
|
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@0.
|
|
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@0.
|
|
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@0.
|
|
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@0.
|
|
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. */
|
|
@@ -4330,12 +4337,14 @@ var message = strictObject({
|
|
|
4330
4337
|
/** Mail `review`: no earlier stored email, in any account, came from this address. */
|
|
4331
4338
|
new_sender: optional(boolean()),
|
|
4332
4339
|
/** Mail `review`: how many identities the sender's person has; 1 is this address alone. */
|
|
4333
|
-
sender_identities: optional(number())
|
|
4340
|
+
sender_identities: optional(number()),
|
|
4341
|
+
/** Mail `review`: how `inbox` sorted the thread, by the AI model; the reason is untrusted. */
|
|
4342
|
+
inbox: optional(strictObject({ bucket: picklist(["answer", "read", "later"]), reason: text }))
|
|
4334
4343
|
})),
|
|
4335
4344
|
provider_metadata: providerMetadata
|
|
4336
4345
|
});
|
|
4337
4346
|
|
|
4338
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
4339
4348
|
var recordedMeeting = strictObject({
|
|
4340
4349
|
ref: reference,
|
|
4341
4350
|
meeting_id: count,
|
|
@@ -4352,7 +4361,7 @@ var recordedMeeting = strictObject({
|
|
|
4352
4361
|
call: optional(meetingCall)
|
|
4353
4362
|
});
|
|
4354
4363
|
|
|
4355
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
4356
4365
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
4357
4366
|
var contextMessage = strictObject({
|
|
4358
4367
|
locator: reference,
|
|
@@ -4558,7 +4567,7 @@ var contactPreparation = strictObject({
|
|
|
4558
4567
|
})
|
|
4559
4568
|
});
|
|
4560
4569
|
|
|
4561
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
4562
4571
|
var nullableText = nullable(text);
|
|
4563
4572
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
4564
4573
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -4623,7 +4632,7 @@ var deal = strictObject({
|
|
|
4623
4632
|
})),
|
|
4624
4633
|
people: array(strictObject({ ...party.entries, role: picklist(DEAL_ROLES) })),
|
|
4625
4634
|
author: strictObject({
|
|
4626
|
-
type: picklist(["person", "
|
|
4635
|
+
type: picklist(["person", "agent"]),
|
|
4627
4636
|
id,
|
|
4628
4637
|
name: nullableText,
|
|
4629
4638
|
kind: nullable(picklist(["agent", "rule"]))
|
|
@@ -4714,7 +4723,7 @@ var stage = strictObject({
|
|
|
4714
4723
|
untrusted
|
|
4715
4724
|
});
|
|
4716
4725
|
|
|
4717
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
4718
4727
|
var nullableText2 = nullable(text);
|
|
4719
4728
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
4720
4729
|
var standing = picklist(STANDINGS);
|
|
@@ -4893,7 +4902,7 @@ var dealBrief = strictObject({
|
|
|
4893
4902
|
not_read: coverage2.entries.not_read
|
|
4894
4903
|
});
|
|
4895
4904
|
|
|
4896
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
4897
4906
|
var botProfile = strictObject({
|
|
4898
4907
|
name: text,
|
|
4899
4908
|
token: text,
|
|
@@ -5017,7 +5026,7 @@ var stickerInventory = strictObject({
|
|
|
5017
5026
|
url: optional(nullable(text))
|
|
5018
5027
|
});
|
|
5019
5028
|
|
|
5020
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
5021
5030
|
var actionableError = objectWithRest({
|
|
5022
5031
|
code: text,
|
|
5023
5032
|
message: text,
|
|
@@ -5034,7 +5043,7 @@ var batchResult = strictObject({
|
|
|
5034
5043
|
max_error_percent: count
|
|
5035
5044
|
});
|
|
5036
5045
|
|
|
5037
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
5038
5047
|
var conversationBuild = strictObject({
|
|
5039
5048
|
chat: id,
|
|
5040
5049
|
messages: count,
|
|
@@ -5059,13 +5068,13 @@ var catchUpPreparation = strictObject({
|
|
|
5059
5068
|
prepared: optional(conversationPreparation)
|
|
5060
5069
|
});
|
|
5061
5070
|
|
|
5062
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
5063
5072
|
import { spawn } from "node:child_process";
|
|
5064
5073
|
import { randomBytes } from "node:crypto";
|
|
5065
5074
|
import { closeSync, existsSync as existsSync2, mkdirSync, openSync, readdirSync, readFileSync as readFileSync2, realpathSync, rmSync as rmSync2 } from "node:fs";
|
|
5066
5075
|
import { dirname, join as join2 } from "node:path";
|
|
5067
5076
|
|
|
5068
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
5069
5078
|
import { existsSync, readFileSync, rmSync } from "node:fs";
|
|
5070
5079
|
import { join } from "node:path";
|
|
5071
5080
|
var PART = /^[\w@+-][\w.@+-]{0,99}$/;
|
|
@@ -5105,7 +5114,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
5105
5114
|
};
|
|
5106
5115
|
}, "progressOf");
|
|
5107
5116
|
|
|
5108
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
5109
5118
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
5110
5119
|
const run = currentRun();
|
|
5111
5120
|
const trace = traceId ?? run.traceId;
|
|
@@ -5119,7 +5128,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
5119
5128
|
}));
|
|
5120
5129
|
}, "recordLogFor");
|
|
5121
5130
|
|
|
5122
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
5123
5132
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
5124
5133
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
5125
5134
|
const out = openSync(log, "a", 384);
|
|
@@ -5274,7 +5283,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
5274
5283
|
return { job: id6, pid, chat: input.chat, log };
|
|
5275
5284
|
}, "startArchiveJob");
|
|
5276
5285
|
|
|
5277
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
5278
5287
|
var problem = strictObject({ code: text, message: text });
|
|
5279
5288
|
var job = strictObject({
|
|
5280
5289
|
id,
|
|
@@ -5297,7 +5306,7 @@ var job = strictObject({
|
|
|
5297
5306
|
error: optional(problem)
|
|
5298
5307
|
});
|
|
5299
5308
|
|
|
5300
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
5301
5310
|
var extractionItem = strictObject({
|
|
5302
5311
|
ref: reference,
|
|
5303
5312
|
attachment: count,
|
|
@@ -5330,7 +5339,7 @@ var extractionReport = strictObject({
|
|
|
5330
5339
|
cursor: optional(text)
|
|
5331
5340
|
});
|
|
5332
5341
|
|
|
5333
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
5334
5343
|
var savedMessageFile = strictObject({
|
|
5335
5344
|
kind: text,
|
|
5336
5345
|
path: text,
|
|
@@ -5417,7 +5426,7 @@ var messageSyncAll = strictObject({
|
|
|
5417
5426
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
5418
5427
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
5419
5428
|
|
|
5420
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
5421
5430
|
var range = strictObject({ from: number(), to: number() });
|
|
5422
5431
|
var storeChatStatus = strictObject({
|
|
5423
5432
|
chat_id: id,
|
|
@@ -5515,7 +5524,7 @@ var storeJobRetry = union([
|
|
|
5515
5524
|
]);
|
|
5516
5525
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
5517
5526
|
|
|
5518
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
5519
5528
|
var account = strictObject({
|
|
5520
5529
|
provider: text,
|
|
5521
5530
|
id,
|
|
@@ -5525,7 +5534,7 @@ var account = strictObject({
|
|
|
5525
5534
|
scope: optional(picklist(["personal", "work"]))
|
|
5526
5535
|
});
|
|
5527
5536
|
|
|
5528
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
5529
5538
|
var accountSession = strictObject({
|
|
5530
5539
|
current: boolean(),
|
|
5531
5540
|
client: nullable(text),
|
|
@@ -5535,7 +5544,7 @@ var accountSession = strictObject({
|
|
|
5535
5544
|
created_at: optional(nullable(time))
|
|
5536
5545
|
});
|
|
5537
5546
|
|
|
5538
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
5539
5548
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
5540
5549
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
5541
5550
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -5564,7 +5573,7 @@ var accountRemoval = strictObject({
|
|
|
5564
5573
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
5565
5574
|
});
|
|
5566
5575
|
|
|
5567
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
5568
5577
|
var accountProfile = strictObject({
|
|
5569
5578
|
profile: id,
|
|
5570
5579
|
current: boolean(),
|
|
@@ -5576,7 +5585,7 @@ var accountProfile = strictObject({
|
|
|
5576
5585
|
bot: optional(literal(true))
|
|
5577
5586
|
});
|
|
5578
5587
|
|
|
5579
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
5580
5589
|
var milliseconds = pipe(number(), minValue(0));
|
|
5581
5590
|
var counterReading = strictObject({
|
|
5582
5591
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -5588,7 +5597,7 @@ var counterReading = strictObject({
|
|
|
5588
5597
|
});
|
|
5589
5598
|
var selection = record(string(), unknown());
|
|
5590
5599
|
|
|
5591
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
5592
5601
|
var adminRow = strictObject({
|
|
5593
5602
|
ref: reference,
|
|
5594
5603
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -5641,7 +5650,7 @@ var adminReport = strictObject({
|
|
|
5641
5650
|
rows: array(adminRow)
|
|
5642
5651
|
});
|
|
5643
5652
|
|
|
5644
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
5645
5654
|
var closeSuggestion = strictObject({
|
|
5646
5655
|
as: picklist(["done", "dismissed"]),
|
|
5647
5656
|
/** The agent's name. */
|
|
@@ -5666,7 +5675,7 @@ var task = strictObject({
|
|
|
5666
5675
|
project_key: optional(nullable(text)),
|
|
5667
5676
|
project_name: optional(nullable(text)),
|
|
5668
5677
|
/** Who added it: the owner, or an agent by its bot name. */
|
|
5669
|
-
created_by: optional(nullable(strictObject({ type: picklist(["person", "
|
|
5678
|
+
created_by: optional(nullable(strictObject({ type: picklist(["person", "agent"]), id, name: nullable(text), owner: boolean() }))),
|
|
5670
5679
|
account: optional(text),
|
|
5671
5680
|
/** The chat it came from, as a `chat:` reference. */
|
|
5672
5681
|
chat: optional(nullable(reference)),
|
|
@@ -5703,7 +5712,7 @@ var task = strictObject({
|
|
|
5703
5712
|
updated_at: optional(time)
|
|
5704
5713
|
});
|
|
5705
5714
|
|
|
5706
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
5707
5716
|
var agendaChat = strictObject({
|
|
5708
5717
|
chat: reference,
|
|
5709
5718
|
title: nullable(text),
|
|
@@ -5773,11 +5782,11 @@ var agenda = strictObject({
|
|
|
5773
5782
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
5774
5783
|
});
|
|
5775
5784
|
|
|
5776
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
5777
5786
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
5778
5787
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
5779
5788
|
|
|
5780
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
5781
5790
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
5782
5791
|
var attachmentBytes = strictObject({
|
|
5783
5792
|
ref: reference,
|
|
@@ -5808,7 +5817,7 @@ var attachmentTextChange = strictObject({
|
|
|
5808
5817
|
text: optional(text)
|
|
5809
5818
|
});
|
|
5810
5819
|
|
|
5811
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
5812
5821
|
var chart = strictObject({
|
|
5813
5822
|
version: literal(1),
|
|
5814
5823
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -5823,7 +5832,7 @@ var chart = strictObject({
|
|
|
5823
5832
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
5824
5833
|
});
|
|
5825
5834
|
|
|
5826
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
5827
5836
|
var named = strictObject({
|
|
5828
5837
|
id,
|
|
5829
5838
|
title: nullable(text),
|
|
@@ -5846,7 +5855,7 @@ var folder = strictObject({
|
|
|
5846
5855
|
excluded_chats: optional(array(named))
|
|
5847
5856
|
});
|
|
5848
5857
|
|
|
5849
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
5850
5859
|
var inviteLink = strictObject({
|
|
5851
5860
|
link: text,
|
|
5852
5861
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -5862,7 +5871,7 @@ var inviteLink = strictObject({
|
|
|
5862
5871
|
joined_count: optional(count)
|
|
5863
5872
|
});
|
|
5864
5873
|
|
|
5865
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
5866
5875
|
var operated = { operation_id: id, chat_id: id };
|
|
5867
5876
|
var group = strictObject({
|
|
5868
5877
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -5942,7 +5951,7 @@ var chatFolderOrder = strictObject({
|
|
|
5942
5951
|
folders: array(strictObject({ id, title: text }))
|
|
5943
5952
|
});
|
|
5944
5953
|
|
|
5945
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
5946
5955
|
var operated2 = { operation_id: id, chat_id: id };
|
|
5947
5956
|
var chatRemoval = strictObject(operated2);
|
|
5948
5957
|
var chatMuting = strictObject({
|
|
@@ -5953,7 +5962,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
5953
5962
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
5954
5963
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
5955
5964
|
|
|
5956
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
5957
5966
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
5958
5967
|
var chatEvent = strictObject({
|
|
5959
5968
|
chat_id: id,
|
|
@@ -5970,7 +5979,7 @@ var chatEvent = strictObject({
|
|
|
5970
5979
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
5971
5980
|
});
|
|
5972
5981
|
|
|
5973
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
5974
5983
|
var chatMetadata = strictObject({
|
|
5975
5984
|
chat_id: id,
|
|
5976
5985
|
title: nullable(text),
|
|
@@ -5985,7 +5994,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
5985
5994
|
has_more: boolean()
|
|
5986
5995
|
});
|
|
5987
5996
|
|
|
5988
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
5989
5998
|
var action = picklist(["report", "delete", "remove"]);
|
|
5990
5999
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
5991
6000
|
var chatRules = strictObject({
|
|
@@ -6022,7 +6031,7 @@ var chatModeration = strictObject({
|
|
|
6022
6031
|
}))
|
|
6023
6032
|
});
|
|
6024
6033
|
|
|
6025
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
6026
6035
|
var chatSending = strictObject({
|
|
6027
6036
|
mode: picklist(["allowed", "ask", "denied"]),
|
|
6028
6037
|
meaning: text,
|
|
@@ -6032,7 +6041,7 @@ var chatSending = strictObject({
|
|
|
6032
6041
|
changed: optional(boolean())
|
|
6033
6042
|
});
|
|
6034
6043
|
|
|
6035
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
6036
6045
|
var optionalCount = optional(count);
|
|
6037
6046
|
var minutes = nullable(number());
|
|
6038
6047
|
var chatStats = strictObject({
|
|
@@ -6108,7 +6117,7 @@ var taskStats = strictObject({
|
|
|
6108
6117
|
}))
|
|
6109
6118
|
});
|
|
6110
6119
|
|
|
6111
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
6112
6121
|
var memberCount = strictObject({
|
|
6113
6122
|
day: pipe(text, isoDate()),
|
|
6114
6123
|
participants: nullable(count),
|
|
@@ -6131,7 +6140,7 @@ var chatTracking = strictObject({
|
|
|
6131
6140
|
tracked: boolean()
|
|
6132
6141
|
});
|
|
6133
6142
|
|
|
6134
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
6135
6144
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
6136
6145
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
6137
6146
|
var profileFields = {
|
|
@@ -6169,7 +6178,7 @@ var profileFields = {
|
|
|
6169
6178
|
}))
|
|
6170
6179
|
};
|
|
6171
6180
|
|
|
6172
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
6173
6182
|
var contact = strictObject({
|
|
6174
6183
|
ref: reference,
|
|
6175
6184
|
id,
|
|
@@ -6200,7 +6209,7 @@ var contact = strictObject({
|
|
|
6200
6209
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
6201
6210
|
});
|
|
6202
6211
|
|
|
6203
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
6204
6213
|
var contactNote = strictObject({
|
|
6205
6214
|
id,
|
|
6206
6215
|
/** The contact, as a `contact:` reference. */
|
|
@@ -6212,13 +6221,13 @@ var contactNote = strictObject({
|
|
|
6212
6221
|
updated_at: time
|
|
6213
6222
|
});
|
|
6214
6223
|
|
|
6215
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
6216
6225
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
6217
6226
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
6218
6227
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
6219
6228
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
6220
6229
|
|
|
6221
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
6222
6231
|
var conversation = strictObject({
|
|
6223
6232
|
id,
|
|
6224
6233
|
chat: reference,
|
|
@@ -6233,7 +6242,7 @@ var conversation = strictObject({
|
|
|
6233
6242
|
rules_version: count
|
|
6234
6243
|
});
|
|
6235
6244
|
|
|
6236
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
6237
6246
|
var conversationDetails = union([
|
|
6238
6247
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
6239
6248
|
message
|
|
@@ -6320,10 +6329,15 @@ var conversationHit = strictObject({
|
|
|
6320
6329
|
score: nullable(number()),
|
|
6321
6330
|
matched_in: optional(literal("context")),
|
|
6322
6331
|
by: array(picklist(["meaning", "words"])),
|
|
6323
|
-
stale: boolean()
|
|
6332
|
+
stale: boolean(),
|
|
6333
|
+
/** Up to three of the chunk's messages as "sender: text": what the hit says, without opening it. */
|
|
6334
|
+
lines: optional(array(text)),
|
|
6335
|
+
/** In the block of the owner's own conversations, which the hits before it left out. */
|
|
6336
|
+
from_owner: optional(literal(true)),
|
|
6337
|
+
untrusted
|
|
6324
6338
|
});
|
|
6325
6339
|
|
|
6326
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
6327
6341
|
var counters = strictObject({
|
|
6328
6342
|
cutoff: time,
|
|
6329
6343
|
max_age_ms: milliseconds,
|
|
@@ -6353,7 +6367,7 @@ var counterRefresh = strictObject({
|
|
|
6353
6367
|
complete: optional(boolean())
|
|
6354
6368
|
});
|
|
6355
6369
|
|
|
6356
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
6357
6371
|
var document = strictObject({
|
|
6358
6372
|
ref: reference,
|
|
6359
6373
|
id,
|
|
@@ -6368,7 +6382,7 @@ var document = strictObject({
|
|
|
6368
6382
|
owners: optional(array(text))
|
|
6369
6383
|
});
|
|
6370
6384
|
|
|
6371
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
6372
6386
|
var documentLink = strictObject({
|
|
6373
6387
|
ref: reference,
|
|
6374
6388
|
url: text,
|
|
@@ -6379,7 +6393,34 @@ var documentLink = strictObject({
|
|
|
6379
6393
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
6380
6394
|
});
|
|
6381
6395
|
|
|
6382
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
6383
6424
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
6384
6425
|
var contribution = strictObject({
|
|
6385
6426
|
message: evidenceMessage,
|
|
@@ -6409,7 +6450,7 @@ var retentionStay = strictObject({
|
|
|
6409
6450
|
});
|
|
6410
6451
|
var evidence = union([contribution, retentionStay]);
|
|
6411
6452
|
|
|
6412
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
6413
6454
|
var fact = strictObject({
|
|
6414
6455
|
ref: reference,
|
|
6415
6456
|
id,
|
|
@@ -6428,7 +6469,7 @@ var fact = strictObject({
|
|
|
6428
6469
|
author,
|
|
6429
6470
|
model: nullable(text),
|
|
6430
6471
|
/** Who accepted it; `null` while it is proposed. */
|
|
6431
|
-
confirmed_by: optional(nullable(strictObject({ type: picklist(["person", "
|
|
6472
|
+
confirmed_by: optional(nullable(strictObject({ type: picklist(["person", "agent"]), id }))),
|
|
6432
6473
|
scope: nullable(picklist(MEMORY_SCOPES)),
|
|
6433
6474
|
/** Who recorded it: the owner, or an agent whose fact waits as proposed. */
|
|
6434
6475
|
origin: picklist(["owner", "agent"]),
|
|
@@ -6440,7 +6481,7 @@ var fact = strictObject({
|
|
|
6440
6481
|
updated_at: time
|
|
6441
6482
|
});
|
|
6442
6483
|
|
|
6443
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
6444
6485
|
var hit = strictObject({
|
|
6445
6486
|
kind: picklist([
|
|
6446
6487
|
"message",
|
|
@@ -6452,6 +6493,9 @@ var hit = strictObject({
|
|
|
6452
6493
|
"deal",
|
|
6453
6494
|
"lead",
|
|
6454
6495
|
"crm_file",
|
|
6496
|
+
"issue",
|
|
6497
|
+
"project",
|
|
6498
|
+
"issue_comment",
|
|
6455
6499
|
...BUSINESS_KINDS
|
|
6456
6500
|
]),
|
|
6457
6501
|
ref: reference,
|
|
@@ -6459,6 +6503,8 @@ var hit = strictObject({
|
|
|
6459
6503
|
url: optional(text),
|
|
6460
6504
|
/** The account it was found in; a note's folder id, or `internal` for a note written in memo. */
|
|
6461
6505
|
account: text,
|
|
6506
|
+
/** A tracker hit that more than one sign-in holds: every account it was found in, `account` first. */
|
|
6507
|
+
accounts: optional(array(text)),
|
|
6462
6508
|
/** The chat, the mail thread's subject, the note's, the event's or the meeting's title. */
|
|
6463
6509
|
title: nullable(text),
|
|
6464
6510
|
/** Null for a meeting whose start is unknown. */
|
|
@@ -6499,7 +6545,7 @@ var hit = strictObject({
|
|
|
6499
6545
|
untrusted
|
|
6500
6546
|
});
|
|
6501
6547
|
|
|
6502
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
6503
6549
|
var identity = strictObject({
|
|
6504
6550
|
ref: reference,
|
|
6505
6551
|
provider: text,
|
|
@@ -6515,7 +6561,7 @@ var identity = strictObject({
|
|
|
6515
6561
|
person: optional(nullable(reference))
|
|
6516
6562
|
});
|
|
6517
6563
|
|
|
6518
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
6519
6565
|
var imageEmbedding = strictObject({
|
|
6520
6566
|
model: text,
|
|
6521
6567
|
embedded: count,
|
|
@@ -6524,7 +6570,7 @@ var imageEmbedding = strictObject({
|
|
|
6524
6570
|
more: boolean()
|
|
6525
6571
|
});
|
|
6526
6572
|
|
|
6527
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
6528
6574
|
var joinRequest = strictObject({
|
|
6529
6575
|
person_id: id,
|
|
6530
6576
|
name: nullable(text),
|
|
@@ -6535,7 +6581,7 @@ var joinRequest = strictObject({
|
|
|
6535
6581
|
about: optional(text)
|
|
6536
6582
|
});
|
|
6537
6583
|
|
|
6538
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
6539
6585
|
var pollVote = strictObject({
|
|
6540
6586
|
person_id: id,
|
|
6541
6587
|
name: nullable(text),
|
|
@@ -6545,7 +6591,7 @@ var pollVote = strictObject({
|
|
|
6545
6591
|
voted_at: time
|
|
6546
6592
|
});
|
|
6547
6593
|
|
|
6548
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
6549
6595
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
6550
6596
|
var observation = strictObject({
|
|
6551
6597
|
value: pipe(number(), minValue(0)),
|
|
@@ -6587,7 +6633,7 @@ var serveSummary = strictObject({
|
|
|
6587
6633
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
6588
6634
|
});
|
|
6589
6635
|
|
|
6590
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
6591
6637
|
var mailCounts = strictObject({
|
|
6592
6638
|
by: picklist(["day", "week", "sender"]),
|
|
6593
6639
|
received: count,
|
|
@@ -6602,7 +6648,7 @@ var mailCounts = strictObject({
|
|
|
6602
6648
|
}))
|
|
6603
6649
|
});
|
|
6604
6650
|
|
|
6605
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
6606
6652
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
6607
6653
|
var base = { id, evidence: array(evidence2) };
|
|
6608
6654
|
var finding = variant("kind", [
|
|
@@ -6740,13 +6786,13 @@ var mailFindings = strictObject({
|
|
|
6740
6786
|
fingerprint: text,
|
|
6741
6787
|
status: picklist(["proposed", "reviewed"]),
|
|
6742
6788
|
author,
|
|
6743
|
-
decided_by: nullable(strictObject({ type: picklist(["person", "
|
|
6789
|
+
decided_by: nullable(strictObject({ type: picklist(["person", "agent"]), id })),
|
|
6744
6790
|
decided_at: nullable(time),
|
|
6745
6791
|
previous: array(outcome2),
|
|
6746
6792
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
6747
6793
|
});
|
|
6748
6794
|
|
|
6749
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
6750
6796
|
var mediaArchive = strictObject({
|
|
6751
6797
|
directory: text,
|
|
6752
6798
|
chats: count,
|
|
@@ -6778,7 +6824,7 @@ var mediaArchiveTimer = union([
|
|
|
6778
6824
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
6779
6825
|
]);
|
|
6780
6826
|
|
|
6781
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
6782
6828
|
var preparationId = pipe(string(), minLength(1));
|
|
6783
6829
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
6784
6830
|
var preparationTime = nullable(isoTime);
|
|
@@ -6870,7 +6916,7 @@ var preparationMeeting = strictObject({
|
|
|
6870
6916
|
updated_at: isoTime
|
|
6871
6917
|
});
|
|
6872
6918
|
|
|
6873
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
6874
6920
|
var meetingEvidence = preparationEvidence;
|
|
6875
6921
|
var meetingPersonContext = strictObject({
|
|
6876
6922
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -6892,7 +6938,7 @@ var meetingPersonContext = strictObject({
|
|
|
6892
6938
|
})
|
|
6893
6939
|
});
|
|
6894
6940
|
|
|
6895
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
6896
6942
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
6897
6943
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
6898
6944
|
var finding2 = variant("kind", [
|
|
@@ -6924,13 +6970,13 @@ var meetingFindings = strictObject({
|
|
|
6924
6970
|
fingerprint: text,
|
|
6925
6971
|
status: picklist(["proposed", "reviewed"]),
|
|
6926
6972
|
author,
|
|
6927
|
-
decided_by: nullable(strictObject({ type: picklist(["person", "
|
|
6973
|
+
decided_by: nullable(strictObject({ type: picklist(["person", "agent"]), id })),
|
|
6928
6974
|
decided_at: nullable(time),
|
|
6929
6975
|
previous: array(outcome3),
|
|
6930
6976
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
6931
6977
|
});
|
|
6932
6978
|
|
|
6933
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
6934
6980
|
var communicationCoverage = strictObject({
|
|
6935
6981
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
6936
6982
|
query: string(),
|
|
@@ -6975,7 +7021,7 @@ var preparationCommunications = strictObject({
|
|
|
6975
7021
|
}))
|
|
6976
7022
|
});
|
|
6977
7023
|
|
|
6978
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
6979
7025
|
var meetingPreparation = strictObject({
|
|
6980
7026
|
communications: optional(preparationCommunications),
|
|
6981
7027
|
schema_version: literal(1),
|
|
@@ -7088,7 +7134,7 @@ var meetingPreparation = strictObject({
|
|
|
7088
7134
|
})
|
|
7089
7135
|
});
|
|
7090
7136
|
|
|
7091
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
7092
7138
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
7093
7139
|
var id3 = pipe(string(), minLength(1));
|
|
7094
7140
|
var text3 = string();
|
|
@@ -7152,7 +7198,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
7152
7198
|
})
|
|
7153
7199
|
});
|
|
7154
7200
|
|
|
7155
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
7156
7202
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
7157
7203
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
7158
7204
|
var meetingSeriesInventory = strictObject({
|
|
@@ -7182,7 +7228,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
7182
7228
|
})
|
|
7183
7229
|
});
|
|
7184
7230
|
|
|
7185
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
7186
7232
|
var text4 = string();
|
|
7187
7233
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
7188
7234
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -7199,7 +7245,7 @@ var meetingTaskProposal = strictObject({
|
|
|
7199
7245
|
persistence: literal("proposal-only")
|
|
7200
7246
|
});
|
|
7201
7247
|
|
|
7202
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
7203
7249
|
var memory = strictObject({
|
|
7204
7250
|
ref: reference,
|
|
7205
7251
|
id,
|
|
@@ -7227,7 +7273,7 @@ var memory = strictObject({
|
|
|
7227
7273
|
updated_at: time
|
|
7228
7274
|
});
|
|
7229
7275
|
|
|
7230
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
7231
7277
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
7232
7278
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
7233
7279
|
var mention = strictObject({
|
|
@@ -7271,7 +7317,7 @@ var mentionRebuild = strictObject({
|
|
|
7271
7317
|
mentions: count
|
|
7272
7318
|
});
|
|
7273
7319
|
|
|
7274
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
7275
7321
|
var operated3 = { operation_id: id, chat_id: id };
|
|
7276
7322
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
7277
7323
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
@@ -7280,7 +7326,7 @@ var scheduledCancellation = strictObject({ ...operated3, cancelled: array(id) })
|
|
|
7280
7326
|
var scheduledSendEntries = { ...operated3, sent: array(id), messages: array(message) };
|
|
7281
7327
|
var scheduledSend = strictObject(scheduledSendEntries);
|
|
7282
7328
|
|
|
7283
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
7284
7330
|
var messageTranscript = strictObject({
|
|
7285
7331
|
message_id: id,
|
|
7286
7332
|
text,
|
|
@@ -7338,7 +7384,7 @@ var evidencePacket = strictObject({
|
|
|
7338
7384
|
}))
|
|
7339
7385
|
});
|
|
7340
7386
|
|
|
7341
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
7342
7388
|
var messageThread = strictObject({
|
|
7343
7389
|
ref: reference,
|
|
7344
7390
|
chat: id,
|
|
@@ -7355,7 +7401,7 @@ var messageThread = strictObject({
|
|
|
7355
7401
|
});
|
|
7356
7402
|
var messageContext = union([message, messageThread]);
|
|
7357
7403
|
|
|
7358
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
7359
7405
|
var messageCounts = strictObject({
|
|
7360
7406
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
7361
7407
|
total: count,
|
|
@@ -7368,7 +7414,7 @@ var messageCounts = strictObject({
|
|
|
7368
7414
|
}))
|
|
7369
7415
|
});
|
|
7370
7416
|
|
|
7371
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
7372
7418
|
var messageLink = strictObject({
|
|
7373
7419
|
ref: reference,
|
|
7374
7420
|
url: nullable(text),
|
|
@@ -7385,7 +7431,7 @@ var messageLink = strictObject({
|
|
|
7385
7431
|
})))
|
|
7386
7432
|
});
|
|
7387
7433
|
|
|
7388
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
7389
7435
|
var messageWrite = strictObject({
|
|
7390
7436
|
operation_id: id,
|
|
7391
7437
|
message,
|
|
@@ -7400,7 +7446,7 @@ var draftWrite = strictObject({
|
|
|
7400
7446
|
});
|
|
7401
7447
|
var messageSend = union([messageWrite, draftWrite]);
|
|
7402
7448
|
|
|
7403
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
7404
7450
|
var model = strictObject({
|
|
7405
7451
|
id,
|
|
7406
7452
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -7435,7 +7481,7 @@ var chosenModel = strictObject({
|
|
|
7435
7481
|
estimate_seconds: nullable(count)
|
|
7436
7482
|
});
|
|
7437
7483
|
|
|
7438
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
7439
7485
|
var source = picklist(["environment", "keyring", "file"]);
|
|
7440
7486
|
var modelKey = strictObject({
|
|
7441
7487
|
provider: text,
|
|
@@ -7445,7 +7491,7 @@ var modelKey = strictObject({
|
|
|
7445
7491
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
7446
7492
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
7447
7493
|
|
|
7448
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
7449
7495
|
var versus = strictObject({ current: number(), previous: number() });
|
|
7450
7496
|
var person = { person_ref: reference, name: nullable(text) };
|
|
7451
7497
|
var graph = strictObject({
|
|
@@ -7479,14 +7525,14 @@ var officialStats = strictObject({
|
|
|
7479
7525
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
7480
7526
|
});
|
|
7481
7527
|
|
|
7482
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
7483
7529
|
var person2 = strictObject({
|
|
7484
7530
|
ref: reference,
|
|
7485
7531
|
name: nullable(text),
|
|
7486
7532
|
identities: optional(array(identity))
|
|
7487
7533
|
});
|
|
7488
7534
|
|
|
7489
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
7490
7536
|
var poll = strictObject({
|
|
7491
7537
|
chat_id: id,
|
|
7492
7538
|
message_id: id,
|
|
@@ -7502,11 +7548,11 @@ var poll = strictObject({
|
|
|
7502
7548
|
});
|
|
7503
7549
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
7504
7550
|
|
|
7505
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
7506
7552
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
7507
7553
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
7508
7554
|
|
|
7509
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
7510
7556
|
var figures = record(string(), number());
|
|
7511
7557
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
7512
7558
|
var rankingRow = strictObject({
|
|
@@ -7553,7 +7599,7 @@ var ranking = strictObject({
|
|
|
7553
7599
|
rows: array(rankingRow)
|
|
7554
7600
|
});
|
|
7555
7601
|
|
|
7556
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
7557
7603
|
var reaction = strictObject({
|
|
7558
7604
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
7559
7605
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -7561,7 +7607,7 @@ var reaction = strictObject({
|
|
|
7561
7607
|
reacted_at: time
|
|
7562
7608
|
});
|
|
7563
7609
|
|
|
7564
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
7565
7611
|
var reactionChange = strictObject({
|
|
7566
7612
|
operation_id: id,
|
|
7567
7613
|
chat_id: id,
|
|
@@ -7569,7 +7615,7 @@ var reactionChange = strictObject({
|
|
|
7569
7615
|
reaction: nullable(text)
|
|
7570
7616
|
});
|
|
7571
7617
|
|
|
7572
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
7573
7619
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
7574
7620
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
7575
7621
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -7580,7 +7626,7 @@ var recipientChange = strictObject({
|
|
|
7580
7626
|
...partial(recipientOff).entries
|
|
7581
7627
|
});
|
|
7582
7628
|
|
|
7583
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
7584
7630
|
var events = array(record(string(), unknown()));
|
|
7585
7631
|
var recordedRun = strictObject({
|
|
7586
7632
|
run_id: id,
|
|
@@ -7652,7 +7698,7 @@ var runHit = strictObject({
|
|
|
7652
7698
|
});
|
|
7653
7699
|
var runLocation = strictObject({ path: text });
|
|
7654
7700
|
|
|
7655
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
7656
7702
|
var relationship = strictObject({
|
|
7657
7703
|
id,
|
|
7658
7704
|
from: reference,
|
|
@@ -7679,7 +7725,7 @@ var relationship = strictObject({
|
|
|
7679
7725
|
created_at: time
|
|
7680
7726
|
});
|
|
7681
7727
|
|
|
7682
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
7683
7729
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
7684
7730
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
7685
7731
|
var responseTimes = strictObject({
|
|
@@ -7696,7 +7742,7 @@ var waitingChats = strictObject({
|
|
|
7696
7742
|
by_kind: strictObject({ private: count, group: count })
|
|
7697
7743
|
});
|
|
7698
7744
|
|
|
7699
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
7700
7746
|
var retentionCohort = strictObject({
|
|
7701
7747
|
/** The first day of the joining day or week. */
|
|
7702
7748
|
cohort: text,
|
|
@@ -7744,7 +7790,7 @@ var retention = strictObject({
|
|
|
7744
7790
|
rows: array(retentionCohort)
|
|
7745
7791
|
});
|
|
7746
7792
|
|
|
7747
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
7748
7794
|
var savedSearch = strictObject({
|
|
7749
7795
|
id,
|
|
7750
7796
|
/** `null` for a run in the history. */
|
|
@@ -7761,7 +7807,7 @@ var savedSearch = strictObject({
|
|
|
7761
7807
|
});
|
|
7762
7808
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
7763
7809
|
|
|
7764
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
7765
7811
|
var sendAttempt = strictObject({
|
|
7766
7812
|
at: time,
|
|
7767
7813
|
profile: text,
|
|
@@ -7789,7 +7835,7 @@ var sendAttempt = strictObject({
|
|
|
7789
7835
|
error_code: optional(text)
|
|
7790
7836
|
});
|
|
7791
7837
|
|
|
7792
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
7793
7839
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
7794
7840
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
7795
7841
|
var infoSchema = strictObject({
|
|
@@ -7834,7 +7880,7 @@ var perAccount = { chats: count, messages: count, emails: count, documents: coun
|
|
|
7834
7880
|
var contents = {
|
|
7835
7881
|
by_provider: optional(array(strictObject({ provider: text, accounts: count, ...perAccount }))),
|
|
7836
7882
|
by_chat_kind: optional(array(strictObject({ provider: text, kind: text, chats: count, messages: count }))),
|
|
7837
|
-
/** `name` is the one `
|
|
7883
|
+
/** `name` is the one `session list` shows; the messenger's own id for the account is left out. */
|
|
7838
7884
|
by_account: optional(array(strictObject({ provider: text, account_id: count, name: nullable(text), ...perAccount }))),
|
|
7839
7885
|
/** Calendar years in UTC. */
|
|
7840
7886
|
by_year: optional(array(strictObject({ provider: text, year: count, messages: count }))),
|
|
@@ -8019,7 +8065,7 @@ var storeRepair = union([
|
|
|
8019
8065
|
]);
|
|
8020
8066
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
8021
8067
|
|
|
8022
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
8023
8069
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
8024
8070
|
var storeTable = strictObject({
|
|
8025
8071
|
name: text,
|
|
@@ -8028,7 +8074,7 @@ var storeTable = strictObject({
|
|
|
8028
8074
|
bytes: optional(nullable(count))
|
|
8029
8075
|
});
|
|
8030
8076
|
|
|
8031
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
8032
8078
|
var tagTarget = variant("type", [
|
|
8033
8079
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
8034
8080
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -8059,7 +8105,7 @@ var automaticTags = strictObject({
|
|
|
8059
8105
|
dry_run: boolean()
|
|
8060
8106
|
});
|
|
8061
8107
|
|
|
8062
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
8063
8109
|
var tagging = strictObject({
|
|
8064
8110
|
tag: text,
|
|
8065
8111
|
type: picklist(TAG_TYPES),
|
|
@@ -8072,7 +8118,7 @@ var tagging = strictObject({
|
|
|
8072
8118
|
created_at: time
|
|
8073
8119
|
});
|
|
8074
8120
|
|
|
8075
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
8076
8122
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
8077
8123
|
var taskPair = strictObject({
|
|
8078
8124
|
task: nullable(side),
|
|
@@ -8095,7 +8141,7 @@ var taskPair = strictObject({
|
|
|
8095
8141
|
created_at: time
|
|
8096
8142
|
});
|
|
8097
8143
|
|
|
8098
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
8099
8145
|
var nullableTime = nullable(time);
|
|
8100
8146
|
var link = strictObject({
|
|
8101
8147
|
id,
|
|
@@ -8119,7 +8165,7 @@ var taskCard = strictObject({
|
|
|
8119
8165
|
project: reference,
|
|
8120
8166
|
project_key: text,
|
|
8121
8167
|
project_name: text,
|
|
8122
|
-
created_by: nullable(strictObject({ type: picklist(["person", "
|
|
8168
|
+
created_by: nullable(strictObject({ type: picklist(["person", "agent"]), id, name: nullable(text), owner: boolean() })),
|
|
8123
8169
|
title: text,
|
|
8124
8170
|
description: nullable(text),
|
|
8125
8171
|
type: picklist(TASK_TYPES),
|
|
@@ -8269,7 +8315,7 @@ var taskReview = strictObject({
|
|
|
8269
8315
|
untrusted
|
|
8270
8316
|
});
|
|
8271
8317
|
|
|
8272
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
8273
8319
|
var template = strictObject({
|
|
8274
8320
|
key: text,
|
|
8275
8321
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -8281,7 +8327,7 @@ var template = strictObject({
|
|
|
8281
8327
|
updated_by: nullable(text)
|
|
8282
8328
|
});
|
|
8283
8329
|
|
|
8284
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
8285
8331
|
var topic = strictObject({
|
|
8286
8332
|
id,
|
|
8287
8333
|
title: text,
|
|
@@ -8295,7 +8341,7 @@ var topic = strictObject({
|
|
|
8295
8341
|
untrusted
|
|
8296
8342
|
});
|
|
8297
8343
|
|
|
8298
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
8299
8345
|
var ENTITIES = {
|
|
8300
8346
|
sync_progress: progress,
|
|
8301
8347
|
deal,
|
|
@@ -8329,6 +8375,7 @@ var ENTITIES = {
|
|
|
8329
8375
|
attachments: optional(array(hitFile)),
|
|
8330
8376
|
untrusted
|
|
8331
8377
|
}),
|
|
8378
|
+
// Typed loosely: the inferred type of `ENTITIES` would pass the size the compiler writes out (TS7056).
|
|
8332
8379
|
"message.summary": strictObject({
|
|
8333
8380
|
...pick(message, [
|
|
8334
8381
|
"ref",
|
|
@@ -8550,6 +8597,7 @@ var ENTITIES = {
|
|
|
8550
8597
|
chat_rules: chatRules,
|
|
8551
8598
|
chat_moderation: chatModeration,
|
|
8552
8599
|
"model.chosen": chosenModel,
|
|
8600
|
+
domain_list: domainList,
|
|
8553
8601
|
model_key: modelKey,
|
|
8554
8602
|
chat_sending: chatSending,
|
|
8555
8603
|
"model_key.stored": storedModelKey,
|
|
@@ -8596,7 +8644,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
8596
8644
|
return [name, definition];
|
|
8597
8645
|
})), "entityDefinitions");
|
|
8598
8646
|
|
|
8599
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
8600
8648
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
8601
8649
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
8602
8650
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -8630,7 +8678,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
8630
8678
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
8631
8679
|
}, "answerRow");
|
|
8632
8680
|
|
|
8633
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
8634
8682
|
var where = [{ field: "ref" }];
|
|
8635
8683
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
8636
8684
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -8722,7 +8770,7 @@ var STATUS_ROWS = {
|
|
|
8722
8770
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
8723
8771
|
};
|
|
8724
8772
|
|
|
8725
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
8726
8774
|
var TEXT_CHARS = 400;
|
|
8727
8775
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
8728
8776
|
var messageRow = {
|
|
@@ -8856,9 +8904,13 @@ var isListOrRecord = /* @__PURE__ */ __name((value) => typeof value === "object"
|
|
|
8856
8904
|
var firstSet = /* @__PURE__ */ __name((item, field, column) => fieldsOfColumn(field).map((path2) => at(item, path2)).find((value) => printable(value, column)), "firstSet");
|
|
8857
8905
|
var sourceOf = /* @__PURE__ */ __name((item, column) => fieldsOfColumn(column.field).find((path2) => printable(at(item, path2), column)), "sourceOf");
|
|
8858
8906
|
var clean = /* @__PURE__ */ __name((text5) => visibleControls(text5.replace(/\s+/g, " ").trim()), "clean");
|
|
8907
|
+
var BLOCK = /^(⟦untrusted:([0-9a-f]{16}) [^⟦⟧]*⟧)([^⟦⟧]*)(⟦\/untrusted:\2⟧)$/su;
|
|
8859
8908
|
var cut = /* @__PURE__ */ __name((text5, chars) => {
|
|
8860
8909
|
if (chars <= 0)
|
|
8861
8910
|
return text5;
|
|
8911
|
+
const block = BLOCK.exec(text5);
|
|
8912
|
+
if (block)
|
|
8913
|
+
return `${block[1]}${cut(block[3] ?? "", chars)}${block[4]}`;
|
|
8862
8914
|
const letters = Array.from(text5);
|
|
8863
8915
|
return letters.length <= chars ? text5 : `${letters.slice(0, chars).join("")}\u2026(+${letters.length - chars})`;
|
|
8864
8916
|
}, "cut");
|
|
@@ -9090,7 +9142,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
9090
9142
|
return lines.concat(footerOf(body)).join("\n");
|
|
9091
9143
|
}, "compactText");
|
|
9092
9144
|
|
|
9093
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
9094
9146
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
9095
9147
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
9096
9148
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -9128,7 +9180,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
9128
9180
|
progress: "sync.progress"
|
|
9129
9181
|
};
|
|
9130
9182
|
|
|
9131
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
9132
9184
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
9133
9185
|
const recording = startRecording(options);
|
|
9134
9186
|
try {
|
|
@@ -9225,7 +9277,7 @@ var startRecording = /* @__PURE__ */ __name((options) => {
|
|
|
9225
9277
|
});
|
|
9226
9278
|
}, "succeed"),
|
|
9227
9279
|
fail: /* @__PURE__ */ __name(async (thrown) => {
|
|
9228
|
-
const error = storeDamaged(thrown);
|
|
9280
|
+
const error = storeBusy(storeDamaged(thrown));
|
|
9229
9281
|
markStoreDamaged(thrown, {
|
|
9230
9282
|
store: storePath(options.env),
|
|
9231
9283
|
command: `${options.app.command} ${options.command}`,
|
|
@@ -9343,7 +9395,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
9343
9395
|
return void 0;
|
|
9344
9396
|
}, "partialOutcome");
|
|
9345
9397
|
|
|
9346
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
9347
9399
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
9348
9400
|
var requests = new AsyncLocalStorage();
|
|
9349
9401
|
var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
|
|
@@ -9358,7 +9410,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
|
|
|
9358
9410
|
return direct;
|
|
9359
9411
|
}, "exitCodeSet");
|
|
9360
9412
|
|
|
9361
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
9362
9414
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
9363
9415
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
9364
9416
|
messageId: message2.id,
|
|
@@ -9464,7 +9516,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
9464
9516
|
}, "guardedWrite");
|
|
9465
9517
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
9466
9518
|
|
|
9467
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
9468
9520
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
9469
9521
|
if (ms2 === void 0)
|
|
9470
9522
|
return body();
|
|
@@ -9490,7 +9542,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
9490
9542
|
}
|
|
9491
9543
|
}, "withDeadline");
|
|
9492
9544
|
|
|
9493
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
9494
9546
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
9495
9547
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
9496
9548
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -9673,7 +9725,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
9673
9725
|
}
|
|
9674
9726
|
}, "withAbort");
|
|
9675
9727
|
|
|
9676
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
9677
9729
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
9678
9730
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
9679
9731
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -9760,7 +9812,7 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
9760
9812
|
return void 0;
|
|
9761
9813
|
}, "sampleCommand");
|
|
9762
9814
|
|
|
9763
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
9764
9816
|
var model2 = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
9765
9817
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
9766
9818
|
var AI_FIELDS = {
|
|
@@ -9804,7 +9856,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
9804
9856
|
};
|
|
9805
9857
|
}, "resolveAISettings");
|
|
9806
9858
|
|
|
9807
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
9808
9860
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
9809
9861
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
9810
9862
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -9818,7 +9870,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
9818
9870
|
return ms2;
|
|
9819
9871
|
}, "parseDuration");
|
|
9820
9872
|
|
|
9821
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
9822
9874
|
import { existsSync as existsSync3, readdirSync as readdirSync2, readFileSync as readFileSync3 } from "node:fs";
|
|
9823
9875
|
import { join as join3 } from "node:path";
|
|
9824
9876
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -9907,7 +9959,7 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
9907
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));
|
|
9908
9960
|
}, "registryProfiles");
|
|
9909
9961
|
|
|
9910
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
9911
9963
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
9912
9964
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
9913
9965
|
var SECTIONS = ["personal", "bot"];
|
|
@@ -10110,7 +10162,10 @@ var scopes2 = /* @__PURE__ */ __name((raw) => {
|
|
|
10110
10162
|
return out;
|
|
10111
10163
|
}, "scopes");
|
|
10112
10164
|
var savedPermissionKeys = /* @__PURE__ */ __name((raw) => scopes2(raw).flatMap(([path2, scope]) => isNode(scope.permissions) ? Object.keys(scope.permissions).map((key) => ({ key, at: [...path2, "permissions", key] })) : []), "savedPermissionKeys");
|
|
10113
|
-
var permissionIssues = /* @__PURE__ */ __name((saved, known, context2) => saved.filter(({ key }) => !known.has(key)).map(({ at: at2 }) => locate("unknown_permission", at2, context2, (key) =>
|
|
10165
|
+
var permissionIssues = /* @__PURE__ */ __name((saved, known, context2, renamed = /* @__PURE__ */ new Map()) => saved.filter(({ key }) => !known.has(key)).map(({ key: name, at: at2 }) => locate("unknown_permission", at2, context2, (key) => {
|
|
10166
|
+
const now = renamed.get(name);
|
|
10167
|
+
return now === void 0 ? `${key} names no command` : `${key} names no command: its command moved, so rename it to permissions.${now}`;
|
|
10168
|
+
})), "permissionIssues");
|
|
10114
10169
|
var pathId = /* @__PURE__ */ __name((path2) => path2.join("\0"), "pathId");
|
|
10115
10170
|
var prune = /* @__PURE__ */ __name((raw, paths) => {
|
|
10116
10171
|
const drop = new Set(paths.map(pathId));
|
|
@@ -10203,7 +10258,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
10203
10258
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
10204
10259
|
}, "readConfigFile");
|
|
10205
10260
|
|
|
10206
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
10207
10262
|
import { existsSync as existsSync4, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync3, writeFileSync } from "node:fs";
|
|
10208
10263
|
import { dirname as dirname2, join as join4 } from "node:path";
|
|
10209
10264
|
var DEFAULT_CONFIG = {
|
|
@@ -10232,7 +10287,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
10232
10287
|
}
|
|
10233
10288
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
10234
10289
|
|
|
10235
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
10236
10291
|
import { existsSync as existsSync5, readdirSync as readdirSync3, readFileSync as readFileSync5 } from "node:fs";
|
|
10237
10292
|
import { join as join5 } from "node:path";
|
|
10238
10293
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join5(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -10254,7 +10309,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
10254
10309
|
}, "profilesWithAccounts");
|
|
10255
10310
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
10256
10311
|
|
|
10257
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
10258
10313
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10259
10314
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
10260
10315
|
const path2 = key.split(".");
|
|
@@ -10287,10 +10342,10 @@ var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((settin
|
|
|
10287
10342
|
};
|
|
10288
10343
|
}), "settingRows");
|
|
10289
10344
|
|
|
10290
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
10291
10346
|
import { existsSync as existsSync6 } from "node:fs";
|
|
10292
10347
|
|
|
10293
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
10294
10349
|
var HISTORY_MAX_DAYS = 1095;
|
|
10295
10350
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
10296
10351
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -10337,7 +10392,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
10337
10392
|
return { batch: { ...batch, messages }, skipped };
|
|
10338
10393
|
}, "limitBatch");
|
|
10339
10394
|
|
|
10340
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
10341
10396
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
10342
10397
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
10343
10398
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -10865,7 +10920,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
10865
10920
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
10866
10921
|
}, "given");
|
|
10867
10922
|
|
|
10868
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
10869
10924
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
10870
10925
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
10871
10926
|
var DEFAULT_REQUEST_MS = 2e3;
|
|
@@ -10922,7 +10977,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests: requests2, deadline, request
|
|
|
10922
10977
|
};
|
|
10923
10978
|
}, "runBudget");
|
|
10924
10979
|
|
|
10925
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
10926
10981
|
var runBudgetOf = /* @__PURE__ */ __name((command, requests2) => {
|
|
10927
10982
|
const { deadline, signal, app } = environmentOf(command);
|
|
10928
10983
|
const now = deadline?.();
|
|
@@ -11076,7 +11131,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
11076
11131
|
return words.join(" ");
|
|
11077
11132
|
}, "commandPath");
|
|
11078
11133
|
|
|
11079
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
11080
11135
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
11081
11136
|
var FETCH = { remote: "read", local: "write" };
|
|
11082
11137
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -11112,7 +11167,12 @@ var destroysNothing = /* @__PURE__ */ __name((command) => {
|
|
|
11112
11167
|
KEPT_UNDER_LOCK.add(command);
|
|
11113
11168
|
return command;
|
|
11114
11169
|
}, "destroysNothing");
|
|
11115
|
-
var PROPOSE_COMMANDS = [
|
|
11170
|
+
var PROPOSE_COMMANDS = [
|
|
11171
|
+
"messages acknowledge",
|
|
11172
|
+
"mail findings add",
|
|
11173
|
+
"projects actions add",
|
|
11174
|
+
"meetings actions add"
|
|
11175
|
+
];
|
|
11116
11176
|
var PROPOSES = /* @__PURE__ */ new WeakSet();
|
|
11117
11177
|
var proposesOnly = /* @__PURE__ */ __name((command) => {
|
|
11118
11178
|
PROPOSES.add(command);
|
|
@@ -11228,7 +11288,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
11228
11288
|
throw readOnlyRefusal(lock, what);
|
|
11229
11289
|
}, "refuseUnderReadOnly");
|
|
11230
11290
|
|
|
11231
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
11232
11292
|
import { join as join6 } from "node:path";
|
|
11233
11293
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11234
11294
|
var IMAGE_MODELS = [
|
|
@@ -11282,7 +11342,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11282
11342
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
|
|
11283
11343
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11284
11344
|
|
|
11285
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
11286
11346
|
var STEPS2 = defineSteps([
|
|
11287
11347
|
...STEPS,
|
|
11288
11348
|
{
|
|
@@ -11530,6 +11590,20 @@ var rootOf2 = /* @__PURE__ */ __name((command) => {
|
|
|
11530
11590
|
root = root.parent;
|
|
11531
11591
|
return root;
|
|
11532
11592
|
}, "rootOf");
|
|
11593
|
+
var typedCommandPath = /* @__PURE__ */ __name((program2, rest) => {
|
|
11594
|
+
const words = [];
|
|
11595
|
+
let current2 = program2;
|
|
11596
|
+
for (const token of rest) {
|
|
11597
|
+
if (token.startsWith("-"))
|
|
11598
|
+
continue;
|
|
11599
|
+
const next = current2.commands.find((one) => one.name() === token || one.aliases().includes(token));
|
|
11600
|
+
if (!next)
|
|
11601
|
+
break;
|
|
11602
|
+
words.push(token);
|
|
11603
|
+
current2 = next;
|
|
11604
|
+
}
|
|
11605
|
+
return words.join(" ");
|
|
11606
|
+
}, "typedCommandPath");
|
|
11533
11607
|
var commandAt = /* @__PURE__ */ __name((root, path2) => {
|
|
11534
11608
|
let at2 = root;
|
|
11535
11609
|
for (const word of path2.split(" "))
|
|
@@ -11572,7 +11646,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11572
11646
|
].join(" ");
|
|
11573
11647
|
}, "stepLine");
|
|
11574
11648
|
|
|
11575
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
11576
11650
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
11577
11651
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
11578
11652
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -11630,7 +11704,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
11630
11704
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
11631
11705
|
}, "largeAnswerSteps");
|
|
11632
11706
|
|
|
11633
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
11634
11708
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
11635
11709
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
11636
11710
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -11644,7 +11718,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
11644
11718
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
11645
11719
|
}, "strip");
|
|
11646
11720
|
|
|
11647
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
11648
11722
|
var OPEN = "\u27E6";
|
|
11649
11723
|
var CLOSE = "\u27E7";
|
|
11650
11724
|
var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -11666,19 +11740,35 @@ var idOf = /* @__PURE__ */ __name((value) => {
|
|
|
11666
11740
|
const id6 = value.ref ?? value.id;
|
|
11667
11741
|
return typeof id6 === "string" || typeof id6 === "number" ? String(id6) : void 0;
|
|
11668
11742
|
}, "idOf");
|
|
11743
|
+
var everyStringAt = /* @__PURE__ */ __name((value, mark, source2, id6) => {
|
|
11744
|
+
if (Array.isArray(value))
|
|
11745
|
+
return value.map((one) => everyStringAt(one, mark, source2, id6));
|
|
11746
|
+
if (value === null || typeof value !== "object")
|
|
11747
|
+
return markAt(value, [], mark, source2, id6);
|
|
11748
|
+
const record2 = value;
|
|
11749
|
+
const own = idOf(record2) ?? id6;
|
|
11750
|
+
return Object.fromEntries(Object.entries(record2).map(([key, child]) => [key, everyStringAt(child, mark, source2, own)]));
|
|
11751
|
+
}, "everyStringAt");
|
|
11669
11752
|
var markAt = /* @__PURE__ */ __name((value, path2, mark, source2, id6) => {
|
|
11670
11753
|
if (Array.isArray(value))
|
|
11671
11754
|
return value.map((one) => markAt(one, path2, mark, source2, id6));
|
|
11672
11755
|
if (path2.length === 0)
|
|
11673
11756
|
return typeof value === "string" && !value.startsWith(`${OPEN}untrusted:${mark} `) ? marked(value, mark, source2, id6) : value;
|
|
11757
|
+
if (path2.length === 1 && path2[0] === "*")
|
|
11758
|
+
return everyStringAt(value, mark, source2, id6);
|
|
11674
11759
|
if (value === null || typeof value !== "object")
|
|
11675
11760
|
return value;
|
|
11676
11761
|
const [key = "", ...rest] = path2;
|
|
11677
11762
|
const record2 = value;
|
|
11763
|
+
const own = idOf(record2) ?? id6;
|
|
11764
|
+
if (key === "*")
|
|
11765
|
+
return Object.fromEntries(Object.entries(record2).map(([name, child]) => [name, markAt(child, rest, mark, source2, own)]));
|
|
11678
11766
|
if (!(key in record2))
|
|
11679
11767
|
return value;
|
|
11680
|
-
return { ...record2, [key]: markAt(record2[key], rest, mark, source2,
|
|
11768
|
+
return { ...record2, [key]: markAt(record2[key], rest, mark, source2, own) };
|
|
11681
11769
|
}, "markAt");
|
|
11770
|
+
var withoutRunMarks = /* @__PURE__ */ __name((text5, mark) => text5.replace(new RegExp(`${OPEN}untrusted:${mark}(?: [^${OPEN}${CLOSE}]*)?${CLOSE}|${OPEN}/untrusted:${mark}${CLOSE}`, "gu"), ""), "withoutRunMarks");
|
|
11771
|
+
var API_UNTRUSTED = ["item.*", "items.*"];
|
|
11682
11772
|
var withUntrustedMarked = /* @__PURE__ */ __name((value, mark, id6) => {
|
|
11683
11773
|
if (Array.isArray(value))
|
|
11684
11774
|
return value.map((one) => withUntrustedMarked(one, mark, id6));
|
|
@@ -11713,9 +11803,12 @@ var MESSAGE_UNTRUSTED = [
|
|
|
11713
11803
|
"bcc.name",
|
|
11714
11804
|
"reply_addresses.name"
|
|
11715
11805
|
];
|
|
11806
|
+
var CHAT_UNTRUSTED = ["title", "description"];
|
|
11807
|
+
var CONTACT_UNTRUSTED = ["description", "chats.title"];
|
|
11716
11808
|
var DECLARED = /* @__PURE__ */ new WeakMap();
|
|
11717
11809
|
var marksUntrusted = /* @__PURE__ */ __name((command, fields = MESSAGE_UNTRUSTED) => {
|
|
11718
|
-
DECLARED.
|
|
11810
|
+
const raw = DECLARED.get(command) === API_UNTRUSTED;
|
|
11811
|
+
DECLARED.set(command, raw ? [.../* @__PURE__ */ new Set([...API_UNTRUSTED, ...fields])] : fields);
|
|
11719
11812
|
return command;
|
|
11720
11813
|
}, "marksUntrusted");
|
|
11721
11814
|
var untrustedFieldsOf = /* @__PURE__ */ __name((command) => DECLARED.get(command), "untrustedFieldsOf");
|
|
@@ -11732,7 +11825,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
|
|
|
11732
11825
|
return result;
|
|
11733
11826
|
}, "withFieldsMarked");
|
|
11734
11827
|
|
|
11735
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
|
|
11736
11829
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
11737
11830
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
11738
11831
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
@@ -12142,6 +12235,7 @@ export {
|
|
|
12142
12235
|
nextStep,
|
|
12143
12236
|
lineOf,
|
|
12144
12237
|
rootOf2,
|
|
12238
|
+
typedCommandPath,
|
|
12145
12239
|
commandAt,
|
|
12146
12240
|
runnable,
|
|
12147
12241
|
failureSteps,
|
|
@@ -12150,8 +12244,14 @@ export {
|
|
|
12150
12244
|
stepLine,
|
|
12151
12245
|
tooLargeSteps,
|
|
12152
12246
|
withoutProviderRefs,
|
|
12247
|
+
untrustedMarkOf,
|
|
12153
12248
|
runMarkOf,
|
|
12249
|
+
marked,
|
|
12250
|
+
withoutRunMarks,
|
|
12251
|
+
API_UNTRUSTED,
|
|
12154
12252
|
withUntrustedMarked,
|
|
12253
|
+
CHAT_UNTRUSTED,
|
|
12254
|
+
CONTACT_UNTRUSTED,
|
|
12155
12255
|
marksUntrusted,
|
|
12156
12256
|
answerSchema,
|
|
12157
12257
|
listOf,
|