@wirecat/zoom-cli 0.72.0 → 0.73.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/contracts/wirecat.json +1478 -0
- package/dist/account-removal.d.ts.map +1 -1
- package/dist/account-removal.js +0 -2
- package/dist/account-removal.js.map +1 -1
- package/dist/answers.d.ts +1 -3
- package/dist/answers.d.ts.map +1 -1
- package/dist/answers.js +0 -3
- package/dist/answers.js.map +1 -1
- package/dist/bin/main.js +13 -5
- package/dist/bin/main.js.map +1 -1
- package/dist/bin/zm.js +2 -2
- package/dist/bundle/{all-profiles-XFIPF4GF.js → all-profiles-V47CUJFK.js} +12 -12
- package/dist/bundle/answer-policy-W6H72X2R.js +112 -0
- package/dist/bundle/{anthropic-SSUBR3BC.js → anthropic-SID7Z3QN.js} +7 -7
- package/dist/bundle/{app-server-7DJHHF2F.js → app-server-KCMUSY4A.js} +67 -61
- package/dist/bundle/{bun-6HBYWQIX.js → bun-PWMM6L45.js} +2 -2
- package/dist/bundle/{bun-sqlite-4L3Q55NB.js → bun-sqlite-3TLKUN5A.js} +7 -7
- package/dist/bundle/{chunk-OY6N2ABP.js → chunk-2BAZRRJP.js} +19 -19
- package/dist/bundle/{chunk-KWURWGGB.js → chunk-2NQPB6MT.js} +28 -9
- package/dist/bundle/chunk-2PYZTRRC.js +84 -0
- package/dist/bundle/chunk-2VYEGKQ3.js +13 -0
- package/dist/bundle/{chunk-X2MP634F.js → chunk-35CYSRGJ.js} +4 -4
- package/dist/bundle/{chunk-SXZGCD6E.js → chunk-3ADFJ3UP.js} +3 -3
- package/dist/bundle/{chunk-63QXCE5Z.js → chunk-3HTJBGNP.js} +10 -10
- package/dist/bundle/{chunk-OHCLQJOV.js → chunk-44YVZIA4.js} +3 -3
- package/dist/bundle/{chunk-D24OQAHM.js → chunk-4LFFDUUW.js} +4 -4
- package/dist/bundle/{chunk-UVZLK3M4.js → chunk-4RJL32PF.js} +25 -10
- package/dist/bundle/{chunk-CANRIRNZ.js → chunk-6AO2RSYH.js} +951 -692
- package/dist/bundle/{chunk-37NF5CBJ.js → chunk-6NI4FE5G.js} +6 -8
- package/dist/bundle/{chunk-QW7YTRV2.js → chunk-6WUTUCKH.js} +3 -3
- package/dist/bundle/{chunk-WOAYHCM2.js → chunk-AIEMFRBU.js} +1 -1
- package/dist/bundle/{chunk-B3SILJBU.js → chunk-CIUJEQH4.js} +30 -22
- package/dist/bundle/{chunk-MSQHSW4C.js → chunk-CMWFYZ45.js} +2 -2
- package/dist/bundle/{chunk-2MIBRVSV.js → chunk-CQBLPBZU.js} +2 -2
- package/dist/bundle/{chunk-U3NJBGLA.js → chunk-DPSTOVKC.js} +185 -34
- package/dist/bundle/{chunk-OP5PGE2N.js → chunk-DYLYH7VE.js} +4 -4
- package/dist/bundle/{chunk-ELJUBPY4.js → chunk-EA2OB75T.js} +1 -1
- package/dist/bundle/{chunk-3KRTEX5M.js → chunk-ERQRY6WZ.js} +3 -2
- package/dist/bundle/{chunk-H53WFZBN.js → chunk-ETQNHS3A.js} +12 -12
- package/dist/bundle/{chunk-JG4MNYG2.js → chunk-EXWZCI5G.js} +1 -1
- package/dist/bundle/{chunk-MCPOZNWG.js → chunk-FIVFP53N.js} +1 -1
- package/dist/bundle/{chunk-7OD3522V.js → chunk-FJMRDRPN.js} +180 -149
- package/dist/bundle/{chunk-RZUJMAMK.js → chunk-FT7X74RT.js} +4 -4
- package/dist/bundle/{chunk-ADLS6FVG.js → chunk-FXBHOCJK.js} +1 -1
- package/dist/bundle/{chunk-JRCH4YZP.js → chunk-FZLJ2G7A.js} +17 -121
- package/dist/bundle/{chunk-ZW5KHKMA.js → chunk-G2TSDMTA.js} +5 -5
- package/dist/bundle/{chunk-7S4D5SM2.js → chunk-G3SIY4MQ.js} +29 -28
- package/dist/bundle/{chunk-M3DMXDX6.js → chunk-GCZMYDKU.js} +6 -6
- package/dist/bundle/{chunk-4XQWF3U2.js → chunk-HAMDPWEZ.js} +6 -6
- package/dist/bundle/{chunk-6DCLZLGX.js → chunk-HCZYJMBP.js} +1 -1
- package/dist/bundle/{chunk-S7SXSHRC.js → chunk-HNWDEDMU.js} +61 -30
- package/dist/bundle/{chunk-24OFZNRC.js → chunk-HO3GBTIT.js} +4038 -3729
- package/dist/bundle/chunk-IE7YBRUO.js +25 -0
- package/dist/bundle/{chunk-XPWZSW6Y.js → chunk-IJCUAKR5.js} +4 -4
- package/dist/bundle/{chunk-RLCVPECY.js → chunk-IKNOTHG2.js} +110 -64
- package/dist/bundle/{chunk-QA6KIL7Q.js → chunk-ILDGZBZD.js} +11 -8
- package/dist/bundle/{chunk-W3YTVEWV.js → chunk-JIS34MLC.js} +9 -9
- package/dist/bundle/{chunk-KFZL67JP.js → chunk-JQF4LM3V.js} +128 -47
- package/dist/bundle/{chunk-ZHA56THL.js → chunk-K5JFX5TK.js} +927 -904
- package/dist/bundle/{chunk-WXTYYWZI.js → chunk-K7EMVFJ7.js} +115 -113
- package/dist/bundle/{chunk-7GLJSJ7M.js → chunk-KHBZ4OEP.js} +1 -1
- package/dist/bundle/{chunk-PJWSGXOB.js → chunk-KK2IVZUQ.js} +7 -7
- package/dist/bundle/{chunk-YVVJ6Y5C.js → chunk-KQD4ZVNC.js} +7 -7
- package/dist/bundle/{chunk-TF2WKPNW.js → chunk-KSNJK4QM.js} +15 -15
- package/dist/bundle/{chunk-KPIQXFNB.js → chunk-KUL7S5Y3.js} +16 -15
- package/dist/bundle/{chunk-JZ4XNNL7.js → chunk-L6YSKCC3.js} +1 -1
- package/dist/bundle/chunk-LQYMN36C.js +73 -0
- package/dist/bundle/{chunk-5MGICK47.js → chunk-LSVQCI6V.js} +26 -26
- package/dist/bundle/{chunk-CW46FWKW.js → chunk-LVDTSCIN.js} +14 -12
- package/dist/bundle/{chunk-RX5CJ55S.js → chunk-M4OP5ASJ.js} +1 -1
- package/dist/bundle/{chunk-FSCPQQS5.js → chunk-MAE5UGRQ.js} +150 -93
- package/dist/bundle/{chunk-4YIGXTBP.js → chunk-MG2CCAVG.js} +3 -3
- package/dist/bundle/{chunk-N4QNYWWG.js → chunk-MOKEB656.js} +2 -2
- package/dist/bundle/{chunk-RN5SU2RN.js → chunk-N3SOTKXC.js} +6 -6
- package/dist/bundle/{chunk-7SUWPMZG.js → chunk-NBA2V6LB.js} +8 -8
- package/dist/bundle/{chunk-LLUNHAZ7.js → chunk-OFA22L4G.js} +4 -4
- package/dist/bundle/{chunk-RJTGENHZ.js → chunk-OKOJEBHK.js} +4 -7
- package/dist/bundle/{chunk-LA6QUVGQ.js → chunk-OMLVWOEF.js} +6 -2
- package/dist/bundle/{chunk-5X4IY5JH.js → chunk-OU5OXA6Q.js} +531 -416
- package/dist/bundle/{chunk-DEPXZJ2V.js → chunk-P4FU6R3Z.js} +17 -13
- package/dist/bundle/{chunk-5AELTC52.js → chunk-PACLT6IW.js} +102 -99
- package/dist/bundle/{chunk-EFF2XBHP.js → chunk-PGPHEC2X.js} +2 -2
- package/dist/bundle/{chunk-NMZQTYKJ.js → chunk-PJ3FKBXG.js} +1 -1
- package/dist/bundle/{chunk-7IFO43Q5.js → chunk-PKON63JH.js} +2 -2
- package/dist/bundle/{chunk-23J2ANZ7.js → chunk-Q43KX56Z.js} +2 -2
- package/dist/bundle/{chunk-VIV64MQM.js → chunk-QS6DWXDB.js} +26 -17
- package/dist/bundle/{chunk-IXO4SCKE.js → chunk-QVJMFZFW.js} +1 -1
- package/dist/bundle/{chunk-U32VL3MA.js → chunk-QWGEOQHA.js} +3 -2
- package/dist/bundle/{chunk-QQUY4MZY.js → chunk-R5FTCNLJ.js} +1 -1
- package/dist/bundle/{chunk-IFBIXU6C.js → chunk-SO52EJ2W.js} +2 -2
- package/dist/bundle/{chunk-JFPUYQSP.js → chunk-SYIOT45G.js} +5 -5
- package/dist/bundle/{chunk-ADKMBXY4.js → chunk-TI2OANJZ.js} +1 -1
- package/dist/bundle/{chunk-IACWKZWS.js → chunk-UIKVP23D.js} +1 -1
- package/dist/bundle/{chunk-JAEPK457.js → chunk-USIMMGWS.js} +23 -23
- package/dist/bundle/{chunk-WZGKHTA4.js → chunk-UYBLNGZ2.js} +8 -2
- package/dist/bundle/{chunk-4SY67IUA.js → chunk-V5Q2QKYM.js} +26 -33
- package/dist/bundle/{chunk-WLVG4RBZ.js → chunk-VJVYGTPM.js} +15 -2
- package/dist/bundle/{chunk-IU4DUUB3.js → chunk-VPPNYUQM.js} +8 -8
- package/dist/bundle/{chunk-D5EUMWD5.js → chunk-X2FILY5F.js} +3 -3
- package/dist/bundle/{chunk-LTWJM3ED.js → chunk-XLY7V2LB.js} +17 -17
- package/dist/bundle/chunk-XWBPP2HX.js +2 -0
- package/dist/bundle/{chunk-ZVFYGTGJ.js → chunk-Y3IH7EZC.js} +17 -17
- package/dist/bundle/{chunk-7JYMGXLI.js → chunk-Z5XCU4S7.js} +45 -41
- package/dist/bundle/{chunk-I7CUMZD6.js → chunk-ZAIE3G5I.js} +3 -3
- package/dist/bundle/{chunk-ERJYJ36F.js → chunk-ZMHZ6CQS.js} +2 -2
- package/dist/bundle/{chunk-T27IMG6X.js → chunk-ZVQDOKDY.js} +1 -1
- package/dist/bundle/{chunk-DOCVEKP2.js → chunk-ZX4QWTMQ.js} +36 -32
- package/dist/bundle/{cli-IYYI7GAM.js → cli-4ZYJ6OZE.js} +109 -101
- package/dist/bundle/command-contract-FJDDCHYP.js +43 -0
- package/dist/bundle/{command-server-entry-FXX4LJWF.js → command-server-entry-CASONRIJ.js} +35 -33
- package/dist/bundle/config-4DZHX2WX.js +99 -0
- package/dist/bundle/{decode-SRGOOGBW.js → decode-KEFCVGEB.js} +6 -6
- package/dist/bundle/{dispatch-OUHRPFUL.js → dispatch-EU67WGME.js} +9 -9
- package/dist/bundle/{dist-UZLNLAIO.js → dist-GCQ7KCKN.js} +26 -22
- package/dist/bundle/{echarts-7CM2MCMW.js → echarts-SDZA2SWG.js} +2 -2
- package/dist/bundle/{embed-VEE56BOB.js → embed-43VJEPM6.js} +7 -7
- package/dist/bundle/{embedder-SZFYR543.js → embedder-Q4ZHAGRP.js} +10 -10
- package/dist/bundle/{failure-MZBNM7M5.js → failure-CTJLEB2R.js} +3 -3
- package/dist/bundle/first-run-CPOLQVNA.js +29 -0
- package/dist/bundle/first-screen-XYESRGWW.js +41 -0
- package/dist/bundle/folders-MSBTAPAG.js +24 -0
- package/dist/bundle/{instructions-R7OHVAWH.js → instructions-7T6JJIFS.js} +1 -1
- package/dist/bundle/{main-EFUN2O3K.js → main-NA3QVPXS.js} +39 -26
- package/dist/bundle/{mcp-7KQUJNFN.js → mcp-TDKGDB4V.js} +2 -2
- package/dist/bundle/{meetings-5I2BDNTA.js → meetings-7CVIQJTA.js} +9 -7
- package/dist/bundle/{node-3N2JGZ7V.js → node-BZDMUFTW.js} +2 -2
- package/dist/bundle/{node-P4E63KXA.js → node-KM3CUABH.js} +9 -9
- package/dist/bundle/{node-sqlite-2UVEE2WM.js → node-sqlite-QHGB23B4.js} +10 -10
- package/dist/bundle/{oauth-AYGD7UU3.js → oauth-BMEMCM2I.js} +8 -8
- package/dist/bundle/{open-3GUVDLGD.js → open-JGU2NRJP.js} +6 -6
- package/dist/bundle/openai-VTXXFNCS.js +28 -0
- package/dist/bundle/{output-file-72JFXVHQ.js → output-file-VDOCYH2G.js} +6 -6
- package/dist/bundle/{process-YAHHUFR5.js → process-756VBE7E.js} +1 -1
- package/dist/bundle/{program-OSZROCTK.js → program-XM6CDIJ2.js} +138 -139
- package/dist/bundle/{prompt-HMCW4XQJ.js → prompt-2IPFXJ4B.js} +6 -6
- package/dist/bundle/{recognize-VF5CA7EM.js → recognize-672E2RIB.js} +5 -5
- package/dist/bundle/{remote-5C6VTPR2.js → remote-YLHRVPDS.js} +11 -10
- package/dist/bundle/{rerank-ER7NEDOI.js → rerank-NBXQG3OS.js} +8 -8
- package/dist/bundle/run-log-3WITBT2F.js +126 -0
- package/dist/bundle/{serve-QJWXJOM7.js → serve-FNLOUMYP.js} +10 -10
- package/dist/bundle/{server-KCIK3Y2P.js → server-7ZB5AK5H.js} +54 -50
- package/dist/bundle/server-GGRGD4SH.js +77 -0
- package/dist/bundle/{services-LQMYJQG3.js → services-Z4UWN64R.js} +46 -44
- package/dist/bundle/{speech-74GJQNQH.js → speech-XSYVCKR3.js} +20 -20
- package/dist/bundle/sqlite-runtime-GAPXJNWU.js +20 -0
- package/dist/bundle/{state-4XDGCHDF.js → state-QSA53EF5.js} +7 -7
- package/dist/bundle/{store-5Y5HK2L2.js → store-EKI4OAJH.js} +20 -20
- package/dist/bundle/{store-Y56AHJ2Y.js → store-NOF5EYUC.js} +30 -28
- package/dist/bundle/store-connection-2OZQGEIO.js +92 -0
- package/dist/bundle/store-maintenance-command-GNX3SOZ6.js +67 -0
- package/dist/bundle/{streaming-E5CR6HSR.js → streaming-PQEXKTE5.js} +7 -7
- package/dist/bundle/tokens-WJQYQ3FK.js +24 -0
- package/dist/bundle/zm.js +9 -9
- package/dist/bundle/{zoom-app-NVL7HEAX.js → zoom-app-Y7RMWLVU.js} +9 -8
- package/dist/folders.d.ts +12 -2
- package/dist/folders.d.ts.map +1 -1
- package/dist/folders.js +81 -3
- package/dist/folders.js.map +1 -1
- package/dist/identity.d.ts +5 -0
- package/dist/identity.d.ts.map +1 -1
- package/dist/identity.js +14 -0
- package/dist/identity.js.map +1 -1
- package/dist/recording-schedule-setup.d.ts.map +1 -1
- package/dist/recording-schedule-setup.js +4 -7
- package/dist/recording-schedule-setup.js.map +1 -1
- package/dist/remote-http.d.ts +1 -1
- package/dist/remote-http.d.ts.map +1 -1
- package/dist/remote-http.js +21 -23
- package/dist/remote-http.js.map +1 -1
- package/dist/setup-commands.d.ts.map +1 -1
- package/dist/setup-commands.js +2 -4
- package/dist/setup-commands.js.map +1 -1
- package/dist/tokens.d.ts +17 -2
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +109 -29
- package/dist/tokens.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wcat.d.ts +3 -0
- package/dist/wcat.d.ts.map +1 -0
- package/dist/wcat.js +4 -0
- package/dist/wcat.js.map +1 -0
- package/package.json +15 -14
- package/dist/bundle/answer-policy-AT6CDEE5.js +0 -110
- package/dist/bundle/chunk-EG25AY4L.js +0 -17
- package/dist/bundle/chunk-K6HR6HCO.js +0 -32
- package/dist/bundle/command-contract-TX7NSUBM.js +0 -42
- package/dist/bundle/config-YKNM33J7.js +0 -96
- package/dist/bundle/first-run-KWC7RKF2.js +0 -29
- package/dist/bundle/first-screen-DWKMNSEI.js +0 -40
- package/dist/bundle/folders-UQXRSDJJ.js +0 -16
- package/dist/bundle/openai-NHCDLWWY.js +0 -28
- package/dist/bundle/run-log-JKTLKXSK.js +0 -124
- package/dist/bundle/server-LLGFDLLJ.js +0 -75
- package/dist/bundle/store-connection-4WI32AYU.js +0 -89
- package/dist/bundle/store-maintenance-command-PCXO5AH4.js +0 -65
- package/dist/bundle/tokens-E2QNVC4F.js +0 -20
- /package/dist/bundle/{chunk-YVNHQFLC.js → chunk-7O7XM37N.js} +0 -0
|
@@ -9,18 +9,18 @@ import {
|
|
|
9
9
|
providerErrorKey,
|
|
10
10
|
renderEvent,
|
|
11
11
|
runContextOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ILDGZBZD.js";
|
|
13
13
|
import {
|
|
14
14
|
permissionCeiling
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-6NI4FE5G.js";
|
|
16
16
|
import {
|
|
17
17
|
fieldsOf,
|
|
18
18
|
projectFields,
|
|
19
19
|
resolveOutput
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-KQD4ZVNC.js";
|
|
21
21
|
import {
|
|
22
22
|
carries
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-UIKVP23D.js";
|
|
24
24
|
import {
|
|
25
25
|
DEFAULT_HISTORY_LIMITS,
|
|
26
26
|
DEFAULT_RERANK_MODEL,
|
|
@@ -42,13 +42,13 @@ import {
|
|
|
42
42
|
tagging,
|
|
43
43
|
task,
|
|
44
44
|
withWriteScope
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-USIMMGWS.js";
|
|
46
46
|
import {
|
|
47
47
|
ancestorValue,
|
|
48
48
|
envName,
|
|
49
49
|
readOnlyLockOf,
|
|
50
50
|
readOnlyRefusal
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-MOKEB656.js";
|
|
52
52
|
import {
|
|
53
53
|
CEILING_KEY,
|
|
54
54
|
COMMAND_PATH_KEY,
|
|
@@ -59,13 +59,13 @@ import {
|
|
|
59
59
|
keyForCommand,
|
|
60
60
|
layerPermissions,
|
|
61
61
|
permissionOverrides
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-OMLVWOEF.js";
|
|
63
63
|
import {
|
|
64
64
|
endpoint
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-LQYMN36C.js";
|
|
66
66
|
import {
|
|
67
67
|
note
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-6WUTUCKH.js";
|
|
69
69
|
import {
|
|
70
70
|
CATEGORIES,
|
|
71
71
|
FACT_STATUSES,
|
|
@@ -111,11 +111,11 @@ import {
|
|
|
111
111
|
typedCommand,
|
|
112
112
|
untrusted,
|
|
113
113
|
useAsProcessRun
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-LSVQCI6V.js";
|
|
115
115
|
import {
|
|
116
116
|
isCliFailure,
|
|
117
117
|
storeDamaged
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-UYBLNGZ2.js";
|
|
119
119
|
import {
|
|
120
120
|
BUSINESS_KINDS,
|
|
121
121
|
CRM_ACTIVITY_KINDS,
|
|
@@ -130,13 +130,13 @@ import {
|
|
|
130
130
|
ORDER_STATUSES,
|
|
131
131
|
RELATION_KINDS,
|
|
132
132
|
STANDINGS
|
|
133
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-QS6DWXDB.js";
|
|
134
134
|
import {
|
|
135
135
|
sharedConfigPath
|
|
136
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-VPPNYUQM.js";
|
|
137
137
|
import {
|
|
138
138
|
storePath
|
|
139
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-ERQRY6WZ.js";
|
|
140
140
|
import {
|
|
141
141
|
FACT_TYPES,
|
|
142
142
|
MEETING_RESULT_ENTITIES,
|
|
@@ -154,12 +154,12 @@ import {
|
|
|
154
154
|
meetingStats,
|
|
155
155
|
meetingSummary,
|
|
156
156
|
meetingTranscript
|
|
157
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-IKNOTHG2.js";
|
|
158
158
|
import {
|
|
159
159
|
FIELD_TYPES,
|
|
160
160
|
QUERY_BACKENDS,
|
|
161
161
|
describeQuery
|
|
162
|
-
} from "./chunk-
|
|
162
|
+
} from "./chunk-3HTJBGNP.js";
|
|
163
163
|
import {
|
|
164
164
|
configFilePath,
|
|
165
165
|
createRecordLog,
|
|
@@ -168,7 +168,7 @@ import {
|
|
|
168
168
|
resolvePaths,
|
|
169
169
|
saveConfigFile,
|
|
170
170
|
writeSecurely
|
|
171
|
-
} from "./chunk-
|
|
171
|
+
} from "./chunk-HNWDEDMU.js";
|
|
172
172
|
import {
|
|
173
173
|
COMPACT_FLAG,
|
|
174
174
|
MAX_NEXT_STEPS,
|
|
@@ -219,18 +219,18 @@ import {
|
|
|
219
219
|
unwrap,
|
|
220
220
|
variant,
|
|
221
221
|
writes
|
|
222
|
-
} from "./chunk-
|
|
222
|
+
} from "./chunk-4RJL32PF.js";
|
|
223
223
|
import {
|
|
224
224
|
CliError
|
|
225
|
-
} from "./chunk-
|
|
225
|
+
} from "./chunk-EA2OB75T.js";
|
|
226
226
|
import {
|
|
227
227
|
visibleControls
|
|
228
|
-
} from "./chunk-
|
|
228
|
+
} from "./chunk-HCZYJMBP.js";
|
|
229
229
|
import {
|
|
230
230
|
__name
|
|
231
231
|
} from "./chunk-ZVVMGPBJ.js";
|
|
232
232
|
|
|
233
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
233
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.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
|
|
234
234
|
var labels = /* @__PURE__ */ new WeakMap();
|
|
235
235
|
var annotate = /* @__PURE__ */ __name((command, meta) => {
|
|
236
236
|
labels.set(command, { ...labels.get(command), ...meta });
|
|
@@ -3731,7 +3731,7 @@ __name(useColor, "useColor");
|
|
|
3731
3731
|
// node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
|
|
3732
3732
|
var program = new Command();
|
|
3733
3733
|
|
|
3734
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3734
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.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
|
|
3735
3735
|
import { isDeepStrictEqual } from "node:util";
|
|
3736
3736
|
var protectedCommands = /* @__PURE__ */ new WeakMap();
|
|
3737
3737
|
var hasSharedContract = /* @__PURE__ */ __name((command) => protectedCommands.has(command), "hasSharedContract");
|
|
@@ -3933,7 +3933,7 @@ var customizeSharedCommand = /* @__PURE__ */ __name((reference2, reason, build,
|
|
|
3933
3933
|
return command;
|
|
3934
3934
|
}, "customizeSharedCommand");
|
|
3935
3935
|
|
|
3936
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3936
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.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
|
|
3937
3937
|
var argumentInfoSchema = object({
|
|
3938
3938
|
name: string(),
|
|
3939
3939
|
required: boolean(),
|
|
@@ -3971,7 +3971,7 @@ var commandInfoSchema = object({
|
|
|
3971
3971
|
summary: optional(string()),
|
|
3972
3972
|
description: string(),
|
|
3973
3973
|
usage: string(),
|
|
3974
|
-
origin: picklist(["handwritten", "generated"]),
|
|
3974
|
+
origin: picklist(["handwritten", "generated", "cli-core"]),
|
|
3975
3975
|
api_operation: optional(string()),
|
|
3976
3976
|
effects: optional(effectsSchema),
|
|
3977
3977
|
state: optional(picklist(["beta", "deprecated"])),
|
|
@@ -4007,7 +4007,7 @@ var commandsDocumentSchema = strictObject({
|
|
|
4007
4007
|
exit_codes: record(string(), pipe(number(), integer()))
|
|
4008
4008
|
});
|
|
4009
4009
|
|
|
4010
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
4010
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.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
|
|
4011
4011
|
var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
4012
4012
|
let command = root;
|
|
4013
4013
|
const path2 = [];
|
|
@@ -4025,7 +4025,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
|
4025
4025
|
}
|
|
4026
4026
|
}, "refuseJoinedPath");
|
|
4027
4027
|
|
|
4028
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4028
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
4029
4029
|
var linkedIdentity = strictObject({
|
|
4030
4030
|
provider: text,
|
|
4031
4031
|
id,
|
|
@@ -4080,7 +4080,7 @@ var contactCheck = strictObject({
|
|
|
4080
4080
|
checked_at: time
|
|
4081
4081
|
});
|
|
4082
4082
|
|
|
4083
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4083
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
4084
4084
|
var member = strictObject({
|
|
4085
4085
|
id,
|
|
4086
4086
|
name: nullable(text),
|
|
@@ -4103,7 +4103,7 @@ var member = strictObject({
|
|
|
4103
4103
|
check: optional(record(string(), unknown()))
|
|
4104
4104
|
});
|
|
4105
4105
|
|
|
4106
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4106
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
4107
4107
|
var setting = optional(nullable(boolean()));
|
|
4108
4108
|
var chat = strictObject({
|
|
4109
4109
|
ref: reference,
|
|
@@ -4144,7 +4144,7 @@ var chat = strictObject({
|
|
|
4144
4144
|
members: optional(array(member))
|
|
4145
4145
|
});
|
|
4146
4146
|
|
|
4147
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4147
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
4148
4148
|
var quoted = strictObject({
|
|
4149
4149
|
id,
|
|
4150
4150
|
sender_id: nullable(id),
|
|
@@ -4263,7 +4263,20 @@ var message = strictObject({
|
|
|
4263
4263
|
provider_metadata: providerMetadata
|
|
4264
4264
|
});
|
|
4265
4265
|
|
|
4266
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4266
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
|
|
4267
|
+
var recordedMeeting = strictObject({
|
|
4268
|
+
ref: reference,
|
|
4269
|
+
meeting_id: count,
|
|
4270
|
+
account: strictObject({ provider: text, account: text }),
|
|
4271
|
+
title: nullable(text),
|
|
4272
|
+
started_at: nullable(time),
|
|
4273
|
+
duration_ms: nullable(count),
|
|
4274
|
+
has_transcript: boolean(),
|
|
4275
|
+
event: nullable(reference),
|
|
4276
|
+
people: array(reference)
|
|
4277
|
+
});
|
|
4278
|
+
|
|
4279
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
4267
4280
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
4268
4281
|
var contextMessage = strictObject({
|
|
4269
4282
|
locator: reference,
|
|
@@ -4309,6 +4322,8 @@ var context = strictObject({
|
|
|
4309
4322
|
mentions: array(contextMessage),
|
|
4310
4323
|
/** Calendar events they are invited to, one occurrence per series. */
|
|
4311
4324
|
events: optional(strictObject({ upcoming: array(contextEvent), recent: array(contextEvent) })),
|
|
4325
|
+
/** Recorded meetings and calls they took part in, newest first. */
|
|
4326
|
+
meetings: optional(array(recordedMeeting)),
|
|
4312
4327
|
limits: strictObject({ messages: count, bytes: count }),
|
|
4313
4328
|
complete: boolean(),
|
|
4314
4329
|
not_read: array(strictObject({
|
|
@@ -4467,7 +4482,7 @@ var contactPreparation = strictObject({
|
|
|
4467
4482
|
})
|
|
4468
4483
|
});
|
|
4469
4484
|
|
|
4470
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4485
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
4471
4486
|
var nullableText = nullable(text);
|
|
4472
4487
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
4473
4488
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -4538,6 +4553,8 @@ var deal = strictObject({
|
|
|
4538
4553
|
updated_at: time,
|
|
4539
4554
|
/** `show` of a CRM copy whose `activities` setting is on: its activities and tasks, open ones first. */
|
|
4540
4555
|
activities: optional(array(activity)),
|
|
4556
|
+
/** `show` of a CRM copy: the newest recorded meetings and calls of its people, in its account's scope. */
|
|
4557
|
+
meetings: optional(array(recordedMeeting)),
|
|
4541
4558
|
untrusted
|
|
4542
4559
|
});
|
|
4543
4560
|
var lead = deal;
|
|
@@ -4576,7 +4593,7 @@ var stage = strictObject({
|
|
|
4576
4593
|
untrusted
|
|
4577
4594
|
});
|
|
4578
4595
|
|
|
4579
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4596
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/business-context.js
|
|
4580
4597
|
var nullableText2 = nullable(text);
|
|
4581
4598
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
4582
4599
|
var standing = picklist(STANDINGS);
|
|
@@ -4750,7 +4767,7 @@ var dealBrief = strictObject({
|
|
|
4750
4767
|
not_read: coverage2.entries.not_read
|
|
4751
4768
|
});
|
|
4752
4769
|
|
|
4753
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4770
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
4754
4771
|
var botProfile = strictObject({
|
|
4755
4772
|
name: text,
|
|
4756
4773
|
token: text,
|
|
@@ -4874,7 +4891,7 @@ var stickerInventory = strictObject({
|
|
|
4874
4891
|
url: optional(nullable(text))
|
|
4875
4892
|
});
|
|
4876
4893
|
|
|
4877
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4894
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
4878
4895
|
var actionableError = objectWithRest({
|
|
4879
4896
|
code: text,
|
|
4880
4897
|
message: text,
|
|
@@ -4891,7 +4908,7 @@ var batchResult = strictObject({
|
|
|
4891
4908
|
max_error_percent: count
|
|
4892
4909
|
});
|
|
4893
4910
|
|
|
4894
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4911
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
4895
4912
|
var conversationBuild = strictObject({
|
|
4896
4913
|
chat: id,
|
|
4897
4914
|
messages: count,
|
|
@@ -4916,13 +4933,13 @@ var catchUpPreparation = strictObject({
|
|
|
4916
4933
|
prepared: optional(conversationPreparation)
|
|
4917
4934
|
});
|
|
4918
4935
|
|
|
4919
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4936
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
4920
4937
|
import { spawn } from "node:child_process";
|
|
4921
4938
|
import { randomBytes } from "node:crypto";
|
|
4922
4939
|
import { closeSync, existsSync, mkdirSync, openSync, readdirSync, readFileSync, realpathSync, rmSync } from "node:fs";
|
|
4923
4940
|
import { dirname, join } from "node:path";
|
|
4924
4941
|
|
|
4925
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4942
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
4926
4943
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
4927
4944
|
const run = currentRun();
|
|
4928
4945
|
const trace = traceId ?? run.traceId;
|
|
@@ -4936,7 +4953,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
4936
4953
|
}));
|
|
4937
4954
|
}, "recordLogFor");
|
|
4938
4955
|
|
|
4939
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4956
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
4940
4957
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
4941
4958
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
4942
4959
|
const out = openSync(log, "a", 384);
|
|
@@ -5091,7 +5108,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
5091
5108
|
return { job: id6, pid, chat: input.chat, log };
|
|
5092
5109
|
}, "startArchiveJob");
|
|
5093
5110
|
|
|
5094
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5111
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
5095
5112
|
var problem = strictObject({ code: text, message: text });
|
|
5096
5113
|
var job = strictObject({
|
|
5097
5114
|
id,
|
|
@@ -5114,7 +5131,7 @@ var job = strictObject({
|
|
|
5114
5131
|
error: optional(problem)
|
|
5115
5132
|
});
|
|
5116
5133
|
|
|
5117
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5134
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
5118
5135
|
var extractionItem = strictObject({
|
|
5119
5136
|
ref: reference,
|
|
5120
5137
|
attachment: count,
|
|
@@ -5147,7 +5164,7 @@ var extractionReport = strictObject({
|
|
|
5147
5164
|
cursor: optional(text)
|
|
5148
5165
|
});
|
|
5149
5166
|
|
|
5150
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5167
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
5151
5168
|
var savedMessageFile = strictObject({
|
|
5152
5169
|
kind: text,
|
|
5153
5170
|
path: text,
|
|
@@ -5234,7 +5251,7 @@ var messageSyncAll = strictObject({
|
|
|
5234
5251
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
5235
5252
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
5236
5253
|
|
|
5237
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5254
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
5238
5255
|
var range = strictObject({ from: number(), to: number() });
|
|
5239
5256
|
var storeChatStatus = strictObject({
|
|
5240
5257
|
chat_id: id,
|
|
@@ -5332,7 +5349,7 @@ var storeJobRetry = union([
|
|
|
5332
5349
|
]);
|
|
5333
5350
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
5334
5351
|
|
|
5335
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5352
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
5336
5353
|
var account = strictObject({
|
|
5337
5354
|
provider: text,
|
|
5338
5355
|
id,
|
|
@@ -5342,7 +5359,7 @@ var account = strictObject({
|
|
|
5342
5359
|
scope: optional(picklist(["personal", "work"]))
|
|
5343
5360
|
});
|
|
5344
5361
|
|
|
5345
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5362
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
5346
5363
|
var accountSession = strictObject({
|
|
5347
5364
|
current: boolean(),
|
|
5348
5365
|
client: nullable(text),
|
|
@@ -5352,7 +5369,7 @@ var accountSession = strictObject({
|
|
|
5352
5369
|
created_at: optional(nullable(time))
|
|
5353
5370
|
});
|
|
5354
5371
|
|
|
5355
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5372
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
5356
5373
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
5357
5374
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
5358
5375
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -5381,7 +5398,7 @@ var accountRemoval = strictObject({
|
|
|
5381
5398
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
5382
5399
|
});
|
|
5383
5400
|
|
|
5384
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5401
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
5385
5402
|
var accountProfile = strictObject({
|
|
5386
5403
|
profile: id,
|
|
5387
5404
|
current: boolean(),
|
|
@@ -5393,7 +5410,7 @@ var accountProfile = strictObject({
|
|
|
5393
5410
|
bot: optional(literal(true))
|
|
5394
5411
|
});
|
|
5395
5412
|
|
|
5396
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5413
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
5397
5414
|
var milliseconds = pipe(number(), minValue(0));
|
|
5398
5415
|
var counterReading = strictObject({
|
|
5399
5416
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -5405,7 +5422,7 @@ var counterReading = strictObject({
|
|
|
5405
5422
|
});
|
|
5406
5423
|
var selection = record(string(), unknown());
|
|
5407
5424
|
|
|
5408
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5425
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
5409
5426
|
var adminRow = strictObject({
|
|
5410
5427
|
ref: reference,
|
|
5411
5428
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -5458,11 +5475,11 @@ var adminReport = strictObject({
|
|
|
5458
5475
|
rows: array(adminRow)
|
|
5459
5476
|
});
|
|
5460
5477
|
|
|
5461
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5478
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
5462
5479
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
5463
5480
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
5464
5481
|
|
|
5465
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5482
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
5466
5483
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
5467
5484
|
var attachmentBytes = strictObject({
|
|
5468
5485
|
ref: reference,
|
|
@@ -5493,7 +5510,7 @@ var attachmentTextChange = strictObject({
|
|
|
5493
5510
|
text: optional(text)
|
|
5494
5511
|
});
|
|
5495
5512
|
|
|
5496
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5513
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
5497
5514
|
var chart = strictObject({
|
|
5498
5515
|
version: literal(1),
|
|
5499
5516
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -5508,7 +5525,7 @@ var chart = strictObject({
|
|
|
5508
5525
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
5509
5526
|
});
|
|
5510
5527
|
|
|
5511
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5528
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
5512
5529
|
var named = strictObject({
|
|
5513
5530
|
id,
|
|
5514
5531
|
title: nullable(text),
|
|
@@ -5531,7 +5548,7 @@ var folder = strictObject({
|
|
|
5531
5548
|
excluded_chats: optional(array(named))
|
|
5532
5549
|
});
|
|
5533
5550
|
|
|
5534
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5551
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
5535
5552
|
var inviteLink = strictObject({
|
|
5536
5553
|
link: text,
|
|
5537
5554
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -5547,7 +5564,7 @@ var inviteLink = strictObject({
|
|
|
5547
5564
|
joined_count: optional(count)
|
|
5548
5565
|
});
|
|
5549
5566
|
|
|
5550
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5567
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
5551
5568
|
var operated = { operation_id: id, chat_id: id };
|
|
5552
5569
|
var group = strictObject({
|
|
5553
5570
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -5627,7 +5644,7 @@ var chatFolderOrder = strictObject({
|
|
|
5627
5644
|
folders: array(strictObject({ id, title: text }))
|
|
5628
5645
|
});
|
|
5629
5646
|
|
|
5630
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5647
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
5631
5648
|
var operated2 = { operation_id: id, chat_id: id };
|
|
5632
5649
|
var chatRemoval = strictObject(operated2);
|
|
5633
5650
|
var chatMuting = strictObject({
|
|
@@ -5638,7 +5655,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
5638
5655
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
5639
5656
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
5640
5657
|
|
|
5641
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5658
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
5642
5659
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
5643
5660
|
var chatEvent = strictObject({
|
|
5644
5661
|
chat_id: id,
|
|
@@ -5655,7 +5672,7 @@ var chatEvent = strictObject({
|
|
|
5655
5672
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
5656
5673
|
});
|
|
5657
5674
|
|
|
5658
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5675
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
5659
5676
|
var chatMetadata = strictObject({
|
|
5660
5677
|
chat_id: id,
|
|
5661
5678
|
title: nullable(text),
|
|
@@ -5670,7 +5687,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
5670
5687
|
has_more: boolean()
|
|
5671
5688
|
});
|
|
5672
5689
|
|
|
5673
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5690
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
5674
5691
|
var action = picklist(["report", "delete", "remove"]);
|
|
5675
5692
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
5676
5693
|
var chatRules = strictObject({
|
|
@@ -5707,7 +5724,7 @@ var chatModeration = strictObject({
|
|
|
5707
5724
|
}))
|
|
5708
5725
|
});
|
|
5709
5726
|
|
|
5710
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5727
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
5711
5728
|
var optionalCount = optional(count);
|
|
5712
5729
|
var minutes = nullable(number());
|
|
5713
5730
|
var chatStats = strictObject({
|
|
@@ -5783,7 +5800,7 @@ var taskStats = strictObject({
|
|
|
5783
5800
|
}))
|
|
5784
5801
|
});
|
|
5785
5802
|
|
|
5786
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5803
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
5787
5804
|
var memberCount = strictObject({
|
|
5788
5805
|
day: pipe(text, isoDate()),
|
|
5789
5806
|
participants: nullable(count),
|
|
@@ -5806,7 +5823,7 @@ var chatTracking = strictObject({
|
|
|
5806
5823
|
tracked: boolean()
|
|
5807
5824
|
});
|
|
5808
5825
|
|
|
5809
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5826
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
5810
5827
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
5811
5828
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
5812
5829
|
var profileFields = {
|
|
@@ -5844,7 +5861,7 @@ var profileFields = {
|
|
|
5844
5861
|
}))
|
|
5845
5862
|
};
|
|
5846
5863
|
|
|
5847
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5864
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
5848
5865
|
var contact = strictObject({
|
|
5849
5866
|
ref: reference,
|
|
5850
5867
|
id,
|
|
@@ -5875,7 +5892,7 @@ var contact = strictObject({
|
|
|
5875
5892
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
5876
5893
|
});
|
|
5877
5894
|
|
|
5878
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5895
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
5879
5896
|
var contactNote = strictObject({
|
|
5880
5897
|
id,
|
|
5881
5898
|
/** The contact, as a `contact:` reference. */
|
|
@@ -5887,13 +5904,13 @@ var contactNote = strictObject({
|
|
|
5887
5904
|
updated_at: time
|
|
5888
5905
|
});
|
|
5889
5906
|
|
|
5890
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5907
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
5891
5908
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
5892
5909
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
5893
5910
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
5894
5911
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
5895
5912
|
|
|
5896
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5913
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
5897
5914
|
var conversationDetails = union([
|
|
5898
5915
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
5899
5916
|
message
|
|
@@ -5983,7 +6000,7 @@ var conversationHit = strictObject({
|
|
|
5983
6000
|
stale: boolean()
|
|
5984
6001
|
});
|
|
5985
6002
|
|
|
5986
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6003
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
5987
6004
|
var counters = strictObject({
|
|
5988
6005
|
cutoff: time,
|
|
5989
6006
|
max_age_ms: milliseconds,
|
|
@@ -6013,7 +6030,7 @@ var counterRefresh = strictObject({
|
|
|
6013
6030
|
complete: optional(boolean())
|
|
6014
6031
|
});
|
|
6015
6032
|
|
|
6016
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6033
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
6017
6034
|
var document = strictObject({
|
|
6018
6035
|
ref: reference,
|
|
6019
6036
|
id,
|
|
@@ -6028,7 +6045,7 @@ var document = strictObject({
|
|
|
6028
6045
|
owners: optional(array(text))
|
|
6029
6046
|
});
|
|
6030
6047
|
|
|
6031
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6048
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
6032
6049
|
var documentLink = strictObject({
|
|
6033
6050
|
ref: reference,
|
|
6034
6051
|
url: text,
|
|
@@ -6039,7 +6056,7 @@ var documentLink = strictObject({
|
|
|
6039
6056
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
6040
6057
|
});
|
|
6041
6058
|
|
|
6042
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6059
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
6043
6060
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
6044
6061
|
var contribution = strictObject({
|
|
6045
6062
|
message: evidenceMessage,
|
|
@@ -6069,7 +6086,7 @@ var retentionStay = strictObject({
|
|
|
6069
6086
|
});
|
|
6070
6087
|
var evidence = union([contribution, retentionStay]);
|
|
6071
6088
|
|
|
6072
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6089
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
6073
6090
|
var fact = strictObject({
|
|
6074
6091
|
ref: reference,
|
|
6075
6092
|
id,
|
|
@@ -6100,7 +6117,7 @@ var fact = strictObject({
|
|
|
6100
6117
|
updated_at: time
|
|
6101
6118
|
});
|
|
6102
6119
|
|
|
6103
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6120
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
6104
6121
|
var hit = strictObject({
|
|
6105
6122
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead", ...BUSINESS_KINDS]),
|
|
6106
6123
|
ref: reference,
|
|
@@ -6140,13 +6157,15 @@ var hit = strictObject({
|
|
|
6140
6157
|
review: optional(picklist(["proposed", "confirmed"])),
|
|
6141
6158
|
/** A business hit's record in the import that made it; absent for one the owner or an agent wrote. */
|
|
6142
6159
|
source_record: optional(strictObject({ provider: text, account: text, external_id: text })),
|
|
6160
|
+
/** A document's: the meeting it is the transcript, recording or notes of. */
|
|
6161
|
+
meeting: optional(reference),
|
|
6143
6162
|
/** A message's files; absent when it has none. */
|
|
6144
6163
|
attachments: optional(array(hitFile)),
|
|
6145
6164
|
/** Absent on a note hit: the owner wrote it. */
|
|
6146
6165
|
untrusted
|
|
6147
6166
|
});
|
|
6148
6167
|
|
|
6149
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6168
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
6150
6169
|
var identity = strictObject({
|
|
6151
6170
|
ref: reference,
|
|
6152
6171
|
provider: text,
|
|
@@ -6162,7 +6181,7 @@ var identity = strictObject({
|
|
|
6162
6181
|
person: optional(nullable(reference))
|
|
6163
6182
|
});
|
|
6164
6183
|
|
|
6165
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6184
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
6166
6185
|
var imageEmbedding = strictObject({
|
|
6167
6186
|
model: text,
|
|
6168
6187
|
embedded: count,
|
|
@@ -6171,7 +6190,7 @@ var imageEmbedding = strictObject({
|
|
|
6171
6190
|
more: boolean()
|
|
6172
6191
|
});
|
|
6173
6192
|
|
|
6174
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6193
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
6175
6194
|
var joinRequest = strictObject({
|
|
6176
6195
|
person_id: id,
|
|
6177
6196
|
name: nullable(text),
|
|
@@ -6182,7 +6201,7 @@ var joinRequest = strictObject({
|
|
|
6182
6201
|
about: optional(text)
|
|
6183
6202
|
});
|
|
6184
6203
|
|
|
6185
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6204
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
6186
6205
|
var pollVote = strictObject({
|
|
6187
6206
|
person_id: id,
|
|
6188
6207
|
name: nullable(text),
|
|
@@ -6192,7 +6211,7 @@ var pollVote = strictObject({
|
|
|
6192
6211
|
voted_at: time
|
|
6193
6212
|
});
|
|
6194
6213
|
|
|
6195
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6214
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
6196
6215
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
6197
6216
|
var observation = strictObject({
|
|
6198
6217
|
value: pipe(number(), minValue(0)),
|
|
@@ -6234,7 +6253,7 @@ var serveSummary = strictObject({
|
|
|
6234
6253
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
6235
6254
|
});
|
|
6236
6255
|
|
|
6237
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6256
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
6238
6257
|
var mailCounts = strictObject({
|
|
6239
6258
|
by: picklist(["day", "week", "sender"]),
|
|
6240
6259
|
received: count,
|
|
@@ -6249,7 +6268,7 @@ var mailCounts = strictObject({
|
|
|
6249
6268
|
}))
|
|
6250
6269
|
});
|
|
6251
6270
|
|
|
6252
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6271
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
6253
6272
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
6254
6273
|
var base = { id, evidence: array(evidence2) };
|
|
6255
6274
|
var finding = variant("kind", [
|
|
@@ -6393,7 +6412,7 @@ var mailFindings = strictObject({
|
|
|
6393
6412
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
6394
6413
|
});
|
|
6395
6414
|
|
|
6396
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6415
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
6397
6416
|
var mediaArchive = strictObject({
|
|
6398
6417
|
directory: text,
|
|
6399
6418
|
chats: count,
|
|
@@ -6425,7 +6444,7 @@ var mediaArchiveTimer = union([
|
|
|
6425
6444
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
6426
6445
|
]);
|
|
6427
6446
|
|
|
6428
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6447
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
6429
6448
|
var preparationId = pipe(string(), minLength(1));
|
|
6430
6449
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
6431
6450
|
var preparationTime = nullable(isoTime);
|
|
@@ -6517,7 +6536,7 @@ var preparationMeeting = strictObject({
|
|
|
6517
6536
|
updated_at: isoTime
|
|
6518
6537
|
});
|
|
6519
6538
|
|
|
6520
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6539
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
6521
6540
|
var meetingEvidence = preparationEvidence;
|
|
6522
6541
|
var meetingPersonContext = strictObject({
|
|
6523
6542
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -6539,7 +6558,7 @@ var meetingPersonContext = strictObject({
|
|
|
6539
6558
|
})
|
|
6540
6559
|
});
|
|
6541
6560
|
|
|
6542
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6561
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
6543
6562
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
6544
6563
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
6545
6564
|
var finding2 = variant("kind", [
|
|
@@ -6577,7 +6596,7 @@ var meetingFindings = strictObject({
|
|
|
6577
6596
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
6578
6597
|
});
|
|
6579
6598
|
|
|
6580
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6599
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
6581
6600
|
var communicationCoverage = strictObject({
|
|
6582
6601
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
6583
6602
|
query: string(),
|
|
@@ -6622,7 +6641,7 @@ var preparationCommunications = strictObject({
|
|
|
6622
6641
|
}))
|
|
6623
6642
|
});
|
|
6624
6643
|
|
|
6625
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6644
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
6626
6645
|
var meetingPreparation = strictObject({
|
|
6627
6646
|
communications: optional(preparationCommunications),
|
|
6628
6647
|
schema_version: literal(1),
|
|
@@ -6735,7 +6754,7 @@ var meetingPreparation = strictObject({
|
|
|
6735
6754
|
})
|
|
6736
6755
|
});
|
|
6737
6756
|
|
|
6738
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6757
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
6739
6758
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
6740
6759
|
var id3 = pipe(string(), minLength(1));
|
|
6741
6760
|
var text3 = string();
|
|
@@ -6799,7 +6818,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
6799
6818
|
})
|
|
6800
6819
|
});
|
|
6801
6820
|
|
|
6802
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6821
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
6803
6822
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
6804
6823
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
6805
6824
|
var meetingSeriesInventory = strictObject({
|
|
@@ -6829,7 +6848,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
6829
6848
|
})
|
|
6830
6849
|
});
|
|
6831
6850
|
|
|
6832
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6851
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
6833
6852
|
var text4 = string();
|
|
6834
6853
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
6835
6854
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -6846,7 +6865,7 @@ var meetingTaskProposal = strictObject({
|
|
|
6846
6865
|
persistence: literal("proposal-only")
|
|
6847
6866
|
});
|
|
6848
6867
|
|
|
6849
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6868
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
6850
6869
|
var memory = strictObject({
|
|
6851
6870
|
ref: reference,
|
|
6852
6871
|
id,
|
|
@@ -6874,7 +6893,7 @@ var memory = strictObject({
|
|
|
6874
6893
|
updated_at: time
|
|
6875
6894
|
});
|
|
6876
6895
|
|
|
6877
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6896
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
6878
6897
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
6879
6898
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
6880
6899
|
var mention = strictObject({
|
|
@@ -6918,13 +6937,13 @@ var mentionRebuild = strictObject({
|
|
|
6918
6937
|
mentions: count
|
|
6919
6938
|
});
|
|
6920
6939
|
|
|
6921
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6940
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
6922
6941
|
var operated3 = { operation_id: id, chat_id: id };
|
|
6923
6942
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
6924
6943
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
6925
6944
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
6926
6945
|
|
|
6927
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6946
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
6928
6947
|
var messageTranscript = strictObject({
|
|
6929
6948
|
message_id: id,
|
|
6930
6949
|
text,
|
|
@@ -6982,7 +7001,7 @@ var evidencePacket = strictObject({
|
|
|
6982
7001
|
}))
|
|
6983
7002
|
});
|
|
6984
7003
|
|
|
6985
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7004
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
6986
7005
|
var messageThread = strictObject({
|
|
6987
7006
|
ref: reference,
|
|
6988
7007
|
chat: id,
|
|
@@ -6999,7 +7018,7 @@ var messageThread = strictObject({
|
|
|
6999
7018
|
});
|
|
7000
7019
|
var messageContext = union([message, messageThread]);
|
|
7001
7020
|
|
|
7002
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7021
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
7003
7022
|
var messageCounts = strictObject({
|
|
7004
7023
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
7005
7024
|
total: count,
|
|
@@ -7012,7 +7031,7 @@ var messageCounts = strictObject({
|
|
|
7012
7031
|
}))
|
|
7013
7032
|
});
|
|
7014
7033
|
|
|
7015
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7034
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
7016
7035
|
var messageLink = strictObject({
|
|
7017
7036
|
ref: reference,
|
|
7018
7037
|
url: nullable(text),
|
|
@@ -7029,7 +7048,7 @@ var messageLink = strictObject({
|
|
|
7029
7048
|
})))
|
|
7030
7049
|
});
|
|
7031
7050
|
|
|
7032
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7051
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
7033
7052
|
var messageWrite = strictObject({
|
|
7034
7053
|
operation_id: id,
|
|
7035
7054
|
message,
|
|
@@ -7044,7 +7063,7 @@ var draftWrite = strictObject({
|
|
|
7044
7063
|
});
|
|
7045
7064
|
var messageSend = union([messageWrite, draftWrite]);
|
|
7046
7065
|
|
|
7047
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7066
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
7048
7067
|
var model = strictObject({
|
|
7049
7068
|
id,
|
|
7050
7069
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -7079,7 +7098,7 @@ var chosenModel = strictObject({
|
|
|
7079
7098
|
estimate_seconds: nullable(count)
|
|
7080
7099
|
});
|
|
7081
7100
|
|
|
7082
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7101
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
7083
7102
|
var source = picklist(["environment", "keyring", "file"]);
|
|
7084
7103
|
var modelKey = strictObject({
|
|
7085
7104
|
provider: text,
|
|
@@ -7089,7 +7108,7 @@ var modelKey = strictObject({
|
|
|
7089
7108
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
7090
7109
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
7091
7110
|
|
|
7092
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7111
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
7093
7112
|
var versus = strictObject({ current: number(), previous: number() });
|
|
7094
7113
|
var person = { person_ref: reference, name: nullable(text) };
|
|
7095
7114
|
var graph = strictObject({
|
|
@@ -7123,14 +7142,14 @@ var officialStats = strictObject({
|
|
|
7123
7142
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
7124
7143
|
});
|
|
7125
7144
|
|
|
7126
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7145
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
7127
7146
|
var person2 = strictObject({
|
|
7128
7147
|
ref: reference,
|
|
7129
7148
|
name: nullable(text),
|
|
7130
7149
|
identities: optional(array(identity))
|
|
7131
7150
|
});
|
|
7132
7151
|
|
|
7133
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7152
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
7134
7153
|
var poll = strictObject({
|
|
7135
7154
|
chat_id: id,
|
|
7136
7155
|
message_id: id,
|
|
@@ -7146,11 +7165,11 @@ var poll = strictObject({
|
|
|
7146
7165
|
});
|
|
7147
7166
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
7148
7167
|
|
|
7149
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7168
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
7150
7169
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
7151
7170
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
7152
7171
|
|
|
7153
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7172
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
7154
7173
|
var figures = record(string(), number());
|
|
7155
7174
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
7156
7175
|
var rankingRow = strictObject({
|
|
@@ -7197,7 +7216,7 @@ var ranking = strictObject({
|
|
|
7197
7216
|
rows: array(rankingRow)
|
|
7198
7217
|
});
|
|
7199
7218
|
|
|
7200
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7219
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
7201
7220
|
var reaction = strictObject({
|
|
7202
7221
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
7203
7222
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -7205,7 +7224,7 @@ var reaction = strictObject({
|
|
|
7205
7224
|
reacted_at: time
|
|
7206
7225
|
});
|
|
7207
7226
|
|
|
7208
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7227
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
7209
7228
|
var reactionChange = strictObject({
|
|
7210
7229
|
operation_id: id,
|
|
7211
7230
|
chat_id: id,
|
|
@@ -7213,7 +7232,7 @@ var reactionChange = strictObject({
|
|
|
7213
7232
|
reaction: nullable(text)
|
|
7214
7233
|
});
|
|
7215
7234
|
|
|
7216
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7235
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
7217
7236
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
7218
7237
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
7219
7238
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -7224,7 +7243,7 @@ var recipientChange = strictObject({
|
|
|
7224
7243
|
...partial(recipientOff).entries
|
|
7225
7244
|
});
|
|
7226
7245
|
|
|
7227
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7246
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
7228
7247
|
var events = array(record(string(), unknown()));
|
|
7229
7248
|
var recordedRun = strictObject({
|
|
7230
7249
|
run_id: id,
|
|
@@ -7296,7 +7315,7 @@ var runHit = strictObject({
|
|
|
7296
7315
|
});
|
|
7297
7316
|
var runLocation = strictObject({ path: text });
|
|
7298
7317
|
|
|
7299
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7318
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
7300
7319
|
var relationship = strictObject({
|
|
7301
7320
|
id,
|
|
7302
7321
|
from: reference,
|
|
@@ -7323,7 +7342,7 @@ var relationship = strictObject({
|
|
|
7323
7342
|
created_at: time
|
|
7324
7343
|
});
|
|
7325
7344
|
|
|
7326
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7345
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
7327
7346
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
7328
7347
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
7329
7348
|
var responseTimes = strictObject({
|
|
@@ -7340,7 +7359,7 @@ var waitingChats = strictObject({
|
|
|
7340
7359
|
by_kind: strictObject({ private: count, group: count })
|
|
7341
7360
|
});
|
|
7342
7361
|
|
|
7343
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7362
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
7344
7363
|
var retentionCohort = strictObject({
|
|
7345
7364
|
/** The first day of the joining day or week. */
|
|
7346
7365
|
cohort: text,
|
|
@@ -7388,7 +7407,7 @@ var retention = strictObject({
|
|
|
7388
7407
|
rows: array(retentionCohort)
|
|
7389
7408
|
});
|
|
7390
7409
|
|
|
7391
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7410
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
7392
7411
|
var savedSearch = strictObject({
|
|
7393
7412
|
id,
|
|
7394
7413
|
/** `null` for a run in the history. */
|
|
@@ -7405,7 +7424,7 @@ var savedSearch = strictObject({
|
|
|
7405
7424
|
});
|
|
7406
7425
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
7407
7426
|
|
|
7408
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7427
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
7409
7428
|
var sendAttempt = strictObject({
|
|
7410
7429
|
at: time,
|
|
7411
7430
|
profile: text,
|
|
@@ -7433,7 +7452,7 @@ var sendAttempt = strictObject({
|
|
|
7433
7452
|
error_code: optional(text)
|
|
7434
7453
|
});
|
|
7435
7454
|
|
|
7436
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7455
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
7437
7456
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
7438
7457
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
7439
7458
|
var infoSchema = strictObject({
|
|
@@ -7663,7 +7682,7 @@ var storeRepair = union([
|
|
|
7663
7682
|
]);
|
|
7664
7683
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
7665
7684
|
|
|
7666
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7685
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
7667
7686
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
7668
7687
|
var storeTable = strictObject({
|
|
7669
7688
|
name: text,
|
|
@@ -7672,7 +7691,7 @@ var storeTable = strictObject({
|
|
|
7672
7691
|
bytes: optional(nullable(count))
|
|
7673
7692
|
});
|
|
7674
7693
|
|
|
7675
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7694
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
7676
7695
|
var tagTarget = variant("type", [
|
|
7677
7696
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
7678
7697
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -7703,7 +7722,7 @@ var automaticTags = strictObject({
|
|
|
7703
7722
|
dry_run: boolean()
|
|
7704
7723
|
});
|
|
7705
7724
|
|
|
7706
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7725
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
7707
7726
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
7708
7727
|
var taskPair = strictObject({
|
|
7709
7728
|
task: nullable(side),
|
|
@@ -7726,7 +7745,7 @@ var taskPair = strictObject({
|
|
|
7726
7745
|
created_at: time
|
|
7727
7746
|
});
|
|
7728
7747
|
|
|
7729
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7748
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
7730
7749
|
var nullableTime = nullable(time);
|
|
7731
7750
|
var link = strictObject({
|
|
7732
7751
|
id,
|
|
@@ -7900,7 +7919,7 @@ var taskReview = strictObject({
|
|
|
7900
7919
|
untrusted
|
|
7901
7920
|
});
|
|
7902
7921
|
|
|
7903
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7922
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
7904
7923
|
var template = strictObject({
|
|
7905
7924
|
key: text,
|
|
7906
7925
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -7912,7 +7931,7 @@ var template = strictObject({
|
|
|
7912
7931
|
updated_by: nullable(text)
|
|
7913
7932
|
});
|
|
7914
7933
|
|
|
7915
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7934
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
7916
7935
|
var topic = strictObject({
|
|
7917
7936
|
id,
|
|
7918
7937
|
title: text,
|
|
@@ -7926,7 +7945,7 @@ var topic = strictObject({
|
|
|
7926
7945
|
untrusted
|
|
7927
7946
|
});
|
|
7928
7947
|
|
|
7929
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7948
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
7930
7949
|
var ENTITIES = {
|
|
7931
7950
|
sync_progress: progress,
|
|
7932
7951
|
deal,
|
|
@@ -8221,7 +8240,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
8221
8240
|
return [name, definition];
|
|
8222
8241
|
})), "entityDefinitions");
|
|
8223
8242
|
|
|
8224
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8243
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
8225
8244
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
8226
8245
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
8227
8246
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -8255,7 +8274,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
8255
8274
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
8256
8275
|
}, "answerRow");
|
|
8257
8276
|
|
|
8258
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8277
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
8259
8278
|
var where = [{ field: "ref" }];
|
|
8260
8279
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
8261
8280
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -8347,7 +8366,7 @@ var STATUS_ROWS = {
|
|
|
8347
8366
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
8348
8367
|
};
|
|
8349
8368
|
|
|
8350
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8369
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
8351
8370
|
var TEXT_CHARS = 400;
|
|
8352
8371
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
8353
8372
|
var messageRow = {
|
|
@@ -8695,8 +8714,9 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
8695
8714
|
} else if (isFields(body.item)) {
|
|
8696
8715
|
const sections = shape.sections ?? {};
|
|
8697
8716
|
const rest = Object.fromEntries(Object.entries(body.item).filter(([name]) => !Object.hasOwn(sections, name) && !shape.hidden?.includes(name)));
|
|
8698
|
-
|
|
8699
|
-
|
|
8717
|
+
const own = shape.oneLine ? rowsOfItems([rest], shape, clock, chars) : void 0;
|
|
8718
|
+
lines = own ? own.lines.filter((line) => line !== "") : blockOf(rest, chars, "", shape.whole).map(guarded);
|
|
8719
|
+
let dates = own?.dates ?? [];
|
|
8700
8720
|
let drawn = [];
|
|
8701
8721
|
for (const [name, entity] of Object.entries(sections)) {
|
|
8702
8722
|
const list = body.item[name];
|
|
@@ -8707,13 +8727,14 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
8707
8727
|
drawn = drawn.concat([`# ${[`${clean(name)}: ${list.length}`, ...header].join(" \xB7 ")}`], rows2);
|
|
8708
8728
|
}
|
|
8709
8729
|
const when = spanOf(dates, clock);
|
|
8710
|
-
|
|
8730
|
+
const head = [...own?.header ?? [], ...when];
|
|
8731
|
+
lines = own ? (head.length ? [`# ${head.join(" \xB7 ")}`] : []).concat(lines, drawn) : lines.concat(when.length ? [`# ${when.join(" \xB7 ")}`] : [], drawn);
|
|
8711
8732
|
} else if (present(body.item))
|
|
8712
8733
|
lines = [guarded(cut(clean(String(body.item)), chars))];
|
|
8713
8734
|
return lines.concat(footerOf(body)).join("\n");
|
|
8714
8735
|
}, "compactText");
|
|
8715
8736
|
|
|
8716
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8737
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
8717
8738
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
8718
8739
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
8719
8740
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -8751,7 +8772,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
8751
8772
|
progress: "sync.progress"
|
|
8752
8773
|
};
|
|
8753
8774
|
|
|
8754
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8775
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
8755
8776
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
8756
8777
|
const recording = startRecording(options);
|
|
8757
8778
|
try {
|
|
@@ -8966,7 +8987,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
8966
8987
|
return void 0;
|
|
8967
8988
|
}, "partialOutcome");
|
|
8968
8989
|
|
|
8969
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8990
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
|
|
8970
8991
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
8971
8992
|
var requests = new AsyncLocalStorage();
|
|
8972
8993
|
var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
|
|
@@ -8981,7 +9002,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
|
|
|
8981
9002
|
return direct;
|
|
8982
9003
|
}, "exitCodeSet");
|
|
8983
9004
|
|
|
8984
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9005
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
8985
9006
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
8986
9007
|
if (ms2 === void 0)
|
|
8987
9008
|
return body();
|
|
@@ -9007,7 +9028,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
9007
9028
|
}
|
|
9008
9029
|
}, "withDeadline");
|
|
9009
9030
|
|
|
9010
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9031
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
9011
9032
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
9012
9033
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
9013
9034
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -9190,7 +9211,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
9190
9211
|
}
|
|
9191
9212
|
}, "withAbort");
|
|
9192
9213
|
|
|
9193
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9214
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
9194
9215
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
9195
9216
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
9196
9217
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -9277,7 +9298,7 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
9277
9298
|
return void 0;
|
|
9278
9299
|
}, "sampleCommand");
|
|
9279
9300
|
|
|
9280
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9301
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
9281
9302
|
var model2 = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
9282
9303
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
9283
9304
|
var AI_FIELDS = {
|
|
@@ -9321,7 +9342,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
9321
9342
|
};
|
|
9322
9343
|
}, "resolveAISettings");
|
|
9323
9344
|
|
|
9324
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9345
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
9325
9346
|
import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync as readFileSync2 } from "node:fs";
|
|
9326
9347
|
import { join as join2 } from "node:path";
|
|
9327
9348
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -9410,10 +9431,10 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
9410
9431
|
return readdirSync2(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
9411
9432
|
}, "registryProfiles");
|
|
9412
9433
|
|
|
9413
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9434
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
9414
9435
|
import { readFileSync as readFileSync3 } from "node:fs";
|
|
9415
9436
|
|
|
9416
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9437
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
|
|
9417
9438
|
var REPAIR_WORDS = {
|
|
9418
9439
|
byte_order_mark: "an invisible byte-order mark at the start",
|
|
9419
9440
|
comment: "a comment, which JSON does not allow",
|
|
@@ -9654,7 +9675,7 @@ ${parts.join(",\n")}
|
|
|
9654
9675
|
${indent}${close}`;
|
|
9655
9676
|
}, "serialise");
|
|
9656
9677
|
|
|
9657
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9678
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
9658
9679
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
9659
9680
|
var SECTIONS = ["personal", "bot"];
|
|
9660
9681
|
var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
|
|
@@ -9949,7 +9970,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
9949
9970
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
9950
9971
|
}, "readConfigFile");
|
|
9951
9972
|
|
|
9952
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9973
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
9953
9974
|
import { existsSync as existsSync3, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync } from "node:fs";
|
|
9954
9975
|
import { dirname as dirname2, join as join3 } from "node:path";
|
|
9955
9976
|
var DEFAULT_CONFIG = {
|
|
@@ -9978,7 +9999,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
9978
9999
|
}
|
|
9979
10000
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
9980
10001
|
|
|
9981
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10002
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
9982
10003
|
import { existsSync as existsSync4, readdirSync as readdirSync3, readFileSync as readFileSync4 } from "node:fs";
|
|
9983
10004
|
import { join as join4 } from "node:path";
|
|
9984
10005
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join4(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -10000,7 +10021,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
10000
10021
|
}, "profilesWithAccounts");
|
|
10001
10022
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
10002
10023
|
|
|
10003
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10024
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
10004
10025
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10005
10026
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
10006
10027
|
const path2 = key.split(".");
|
|
@@ -10033,7 +10054,7 @@ var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((settin
|
|
|
10033
10054
|
};
|
|
10034
10055
|
}), "settingRows");
|
|
10035
10056
|
|
|
10036
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10057
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
10037
10058
|
import { existsSync as existsSync5 } from "node:fs";
|
|
10038
10059
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
10039
10060
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
@@ -10204,11 +10225,12 @@ var fromFile = /* @__PURE__ */ __name((settings, key, fallback) => first([
|
|
|
10204
10225
|
], fallback), "fromFile");
|
|
10205
10226
|
var settingsFor = /* @__PURE__ */ __name((app, extension = {}) => {
|
|
10206
10227
|
const declared = extension.permissions;
|
|
10207
|
-
const
|
|
10228
|
+
const botEntries = {
|
|
10208
10229
|
...SHARED_PROFILE_ENTRIES,
|
|
10209
10230
|
...declared ? { permissions: optional(commandPathLevels) } : {},
|
|
10210
10231
|
...extension.profile
|
|
10211
10232
|
};
|
|
10233
|
+
const profileEntries = { ...botEntries, ...extension.personal };
|
|
10212
10234
|
const defaultsOnly = { ...SHARED_DEFAULTS_ONLY, ...extension.defaults };
|
|
10213
10235
|
const defaultsEntries = { ...profileEntries, ...defaultsOnly };
|
|
10214
10236
|
const strictOf = /* @__PURE__ */ __name((entries) => strictObject(entries, objectMessage), "strictOf");
|
|
@@ -10220,7 +10242,7 @@ var settingsFor = /* @__PURE__ */ __name((app, extension = {}) => {
|
|
|
10220
10242
|
defaults: optional(strictOf(defaultsEntries)),
|
|
10221
10243
|
profiles: optional(record(string(), strictOf(profileEntries), "has to be an object of profiles, by name"), {}),
|
|
10222
10244
|
personal: optional(kindSection(profileEntries)),
|
|
10223
|
-
bot: optional(kindSection({ ...
|
|
10245
|
+
bot: optional(kindSection({ ...botEntries, ...BOT_ONLY_ENTRIES }))
|
|
10224
10246
|
};
|
|
10225
10247
|
const schema2 = strictOf(configEntries);
|
|
10226
10248
|
const defaultsOnlyKeys = Object.keys(defaultsOnly);
|
|
@@ -10559,7 +10581,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
10559
10581
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
10560
10582
|
}, "given");
|
|
10561
10583
|
|
|
10562
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10584
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
10563
10585
|
var runBudgetOf = /* @__PURE__ */ __name((command, requests2) => {
|
|
10564
10586
|
const { deadline, signal, app } = environmentOf(command);
|
|
10565
10587
|
const now = deadline?.();
|
|
@@ -10699,7 +10721,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
10699
10721
|
return words.join(" ");
|
|
10700
10722
|
}, "commandPath");
|
|
10701
10723
|
|
|
10702
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10724
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
10703
10725
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
10704
10726
|
var FETCH = { remote: "read", local: "write" };
|
|
10705
10727
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -10846,7 +10868,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
10846
10868
|
throw readOnlyRefusal(lock, what);
|
|
10847
10869
|
}, "refuseUnderReadOnly");
|
|
10848
10870
|
|
|
10849
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10871
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
10850
10872
|
var STEPS2 = defineSteps([
|
|
10851
10873
|
...STEPS,
|
|
10852
10874
|
{
|
|
@@ -10861,6 +10883,15 @@ var STEPS2 = defineSteps([
|
|
|
10861
10883
|
],
|
|
10862
10884
|
why: "the local copy is missing messages; syncing brings them in"
|
|
10863
10885
|
},
|
|
10886
|
+
{
|
|
10887
|
+
id: "search.server",
|
|
10888
|
+
command: "search messages",
|
|
10889
|
+
args: [
|
|
10890
|
+
{ name: "query", required: true },
|
|
10891
|
+
{ name: "backend", required: true }
|
|
10892
|
+
],
|
|
10893
|
+
why: "only the local copy was searched, and it does not hold every message; the messenger's own search reaches the rest"
|
|
10894
|
+
},
|
|
10864
10895
|
{
|
|
10865
10896
|
id: "messages.transcribe",
|
|
10866
10897
|
command: "messages transcribe",
|
|
@@ -11127,7 +11158,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11127
11158
|
].join(" ");
|
|
11128
11159
|
}, "stepLine");
|
|
11129
11160
|
|
|
11130
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11161
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
11131
11162
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
11132
11163
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
11133
11164
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -11185,7 +11216,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
11185
11216
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
11186
11217
|
}, "largeAnswerSteps");
|
|
11187
11218
|
|
|
11188
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11219
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
11189
11220
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
11190
11221
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
11191
11222
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -11199,7 +11230,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
11199
11230
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
11200
11231
|
}, "strip");
|
|
11201
11232
|
|
|
11202
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11233
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
|
|
11203
11234
|
var OPEN = "\u27E6";
|
|
11204
11235
|
var CLOSE = "\u27E7";
|
|
11205
11236
|
var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -11283,7 +11314,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
|
|
|
11283
11314
|
return result;
|
|
11284
11315
|
}, "withFieldsMarked");
|
|
11285
11316
|
|
|
11286
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11317
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
11287
11318
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
11288
11319
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
11289
11320
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|