@wirecat/drive-cli 0.70.0 → 0.71.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -2
- package/dist/bin/drive.js +2 -2
- package/dist/bundle/{all-profiles-FW3GK3QO.js → all-profiles-3QJG2NAN.js} +13 -13
- package/dist/bundle/{anthropic-QVKJT3II.js → anthropic-PSWTEU6G.js} +8 -8
- package/dist/bundle/{app-server-QU73RD5R.js → app-server-PVTA6ABR.js} +62 -62
- package/dist/bundle/{bun-5XCD5CBB.js → bun-LU5LP3JI.js} +2 -2
- package/dist/bundle/{bun-sqlite-TIGSVNSV.js → bun-sqlite-PYMKLBRU.js} +9 -9
- package/dist/bundle/{chunk-BFKFKDPC.js → chunk-22QQUKWA.js} +1 -1
- package/dist/bundle/{chunk-RLNZ7NX5.js → chunk-26DHFMGZ.js} +2 -2
- package/dist/bundle/{chunk-RHSBXOQM.js → chunk-2BVVU7GG.js} +1 -1
- package/dist/bundle/{chunk-ILAQIBEO.js → chunk-2LHAVY4U.js} +1 -1
- package/dist/bundle/{chunk-GAHIHE4K.js → chunk-2PUNKUYJ.js} +3177 -3043
- package/dist/bundle/{chunk-DHX27E5M.js → chunk-2UUWXPOB.js} +3 -3
- package/dist/bundle/{chunk-RCTOWLCD.js → chunk-35SCQ4VI.js} +26 -26
- package/dist/bundle/{chunk-ZCXWV4XO.js → chunk-3EBBLKIT.js} +4 -4
- package/dist/bundle/{chunk-SONPLYV7.js → chunk-3N2OFXB5.js} +5 -5
- package/dist/bundle/{chunk-KSJAFMU5.js → chunk-3UGYFXH6.js} +42 -19
- package/dist/bundle/{chunk-HK225DAG.js → chunk-4HWJOU7N.js} +1 -1
- package/dist/bundle/{chunk-6DPOWBKA.js → chunk-4PA4DHYV.js} +6 -6
- package/dist/bundle/{chunk-54NDYVZA.js → chunk-4QNW4NK6.js} +1 -1
- package/dist/bundle/{chunk-2SBC4DVV.js → chunk-6SJOTNHF.js} +4 -4
- package/dist/bundle/{chunk-VVN6GHAZ.js → chunk-6TNNT2MQ.js} +223 -126
- package/dist/bundle/{chunk-5JTB4URG.js → chunk-6W763DZN.js} +12 -12
- package/dist/bundle/{chunk-FVTKFIQH.js → chunk-6XFIITOG.js} +383 -349
- package/dist/bundle/{chunk-54BQWRJL.js → chunk-72C4YOCH.js} +7 -7
- package/dist/bundle/{chunk-3UWRAIWA.js → chunk-7PDHGZN4.js} +4 -4
- package/dist/bundle/{chunk-REM5WHHQ.js → chunk-ACUAV6VX.js} +56 -56
- package/dist/bundle/{chunk-IGNIUDI3.js → chunk-ASMMG72J.js} +40 -33
- package/dist/bundle/{chunk-DVI72ZQG.js → chunk-B5KSXHJ7.js} +1 -1
- package/dist/bundle/{chunk-6BMTW5A6.js → chunk-BKSQBBYG.js} +7 -7
- package/dist/bundle/{chunk-HRATXUFH.js → chunk-CJLVYIOP.js} +21 -21
- package/dist/bundle/{chunk-RQNRYF6D.js → chunk-COJSWDNU.js} +3 -3
- package/dist/bundle/{chunk-FONIFRYI.js → chunk-COOOO5B3.js} +4 -4
- package/dist/bundle/{chunk-EG62WVR2.js → chunk-D5TGYUVU.js} +6 -6
- package/dist/bundle/{chunk-LMJBQFW6.js → chunk-EOEU3AZN.js} +6 -6
- package/dist/bundle/{chunk-GV5DGHSA.js → chunk-FCS26CYQ.js} +4 -4
- package/dist/bundle/{chunk-BD2K2ONK.js → chunk-FJH7DJWK.js} +4 -4
- package/dist/bundle/{chunk-FADAOLGB.js → chunk-FP54WSIR.js} +4 -4
- package/dist/bundle/{chunk-PAPY6Q6H.js → chunk-FT3LN3HP.js} +1 -1
- package/dist/bundle/{chunk-WJK6KTCS.js → chunk-GBKNJWOZ.js} +8 -8
- package/dist/bundle/{chunk-GJZSVSV3.js → chunk-GOWXXYEF.js} +2 -2
- package/dist/bundle/{chunk-LINBDWJK.js → chunk-GPQ44Y2R.js} +2 -2
- package/dist/bundle/{chunk-3AHBZP33.js → chunk-GZ2D4KXG.js} +8 -8
- package/dist/bundle/{chunk-ZHZYGY5R.js → chunk-HKY7X6NY.js} +4 -4
- package/dist/bundle/{chunk-GPDPEHYX.js → chunk-HL52XXZX.js} +1 -1
- package/dist/bundle/{chunk-BBFXQPKD.js → chunk-HMS6EEQL.js} +3 -3
- package/dist/bundle/{chunk-FYPW7NMH.js → chunk-I4RWW3UD.js} +49 -4
- package/dist/bundle/{chunk-HWUPU6WX.js → chunk-ICDCAQ6K.js} +8 -8
- package/dist/bundle/{chunk-NP7LJATI.js → chunk-J5Q5FS2N.js} +17 -22
- package/dist/bundle/{chunk-I7YSHUPW.js → chunk-JDV7HNNQ.js} +13 -13
- package/dist/bundle/{chunk-BBRMDMIR.js → chunk-JZHBZOJR.js} +3 -3
- package/dist/bundle/{chunk-QBAOIMVB.js → chunk-KGERXYTV.js} +1 -1
- package/dist/bundle/{chunk-7IBENBCK.js → chunk-KGYVHPGE.js} +2 -2
- package/dist/bundle/{chunk-ABZ2NYDT.js → chunk-KYKW2W6X.js} +1 -1
- package/dist/bundle/{chunk-AV5UKJZM.js → chunk-L46C6HQ7.js} +12 -12
- package/dist/bundle/{chunk-3TCMANIM.js → chunk-LXKYKRHD.js} +11 -11
- package/dist/bundle/{chunk-DVVUJ254.js → chunk-MIA7P6FZ.js} +2 -2
- package/dist/bundle/{chunk-PR7XD2DI.js → chunk-MNLL5YLM.js} +2 -2
- package/dist/bundle/{chunk-Q5C6YKAY.js → chunk-OF422U5D.js} +10 -10
- package/dist/bundle/{chunk-HHAZ6DCY.js → chunk-OJSBWP3F.js} +6 -6
- package/dist/bundle/{chunk-EDO5LZVF.js → chunk-P7CUM5IB.js} +1 -1
- package/dist/bundle/{chunk-P7PLKNPX.js → chunk-PRW6SYA3.js} +157 -70
- package/dist/bundle/{chunk-7QSRODXM.js → chunk-Q7DOMFJ4.js} +6 -6
- package/dist/bundle/{chunk-HYXXMSVD.js → chunk-QETR5HIZ.js} +503 -416
- package/dist/bundle/{chunk-YZPE72GE.js → chunk-QFR2PNJN.js} +12 -12
- package/dist/bundle/{chunk-MXNQZAJQ.js → chunk-QNRRK3CN.js} +2 -2
- package/dist/bundle/{chunk-PN4JYURZ.js → chunk-QXC6IEH6.js} +45 -45
- package/dist/bundle/{chunk-WWE5GO6G.js → chunk-RESDD3Q4.js} +3 -3
- package/dist/bundle/{chunk-YCL3SK4T.js → chunk-RJOQH5YY.js} +39 -38
- package/dist/bundle/{chunk-7C5KENNU.js → chunk-RWDKMU74.js} +3 -3
- package/dist/bundle/{chunk-GK3BJMGK.js → chunk-SAKO3P4H.js} +1 -1
- package/dist/bundle/{chunk-FN3RXBO7.js → chunk-SDKQNOL5.js} +6 -6
- package/dist/bundle/{chunk-TGS5VPJD.js → chunk-SERXSCN3.js} +167 -206
- package/dist/bundle/{chunk-3UZ4OH22.js → chunk-TAFHYHKA.js} +18 -116
- package/dist/bundle/{chunk-YRUR3E3E.js → chunk-TAUBRNC5.js} +35 -35
- package/dist/bundle/{chunk-P77FL6RY.js → chunk-UDMNY63V.js} +20 -17
- package/dist/bundle/{chunk-IFTX7AQU.js → chunk-UTO2GO4P.js} +5 -5
- package/dist/bundle/{chunk-3CHW7JGR.js → chunk-WVDCCYS3.js} +17 -17
- package/dist/bundle/{chunk-OY7TNUEC.js → chunk-X4TIMMKJ.js} +1 -1
- package/dist/bundle/{chunk-TNKQDS5A.js → chunk-XF4EXO2C.js} +6 -6
- package/dist/bundle/{chunk-BXPC5TFG.js → chunk-XMMFBPGC.js} +2 -2
- package/dist/bundle/{chunk-FCSHWUMW.js → chunk-Y2NWGNUB.js} +5 -5
- package/dist/bundle/{chunk-ML3R2UHV.js → chunk-YJIGGUPI.js} +4 -4
- package/dist/bundle/{chunk-DR57KDAY.js → chunk-YMJ6IDGT.js} +6 -6
- package/dist/bundle/{chunk-F5KJWRF5.js → chunk-YPFWNVHV.js} +3 -3
- package/dist/bundle/{chunk-XZBA6FVH.js → chunk-YPNWIB6H.js} +3 -3
- package/dist/bundle/{chunk-GA3URWIF.js → chunk-YVI5SQPY.js} +1 -1
- package/dist/bundle/{chunk-T5D4OGDC.js → chunk-Z3KUSRCF.js} +2 -2
- package/dist/bundle/{chunk-4WK26MPY.js → chunk-Z56QFOBR.js} +1 -1
- package/dist/bundle/{chunk-7DJNURKV.js → chunk-ZCR3IRZ2.js} +8 -8
- package/dist/bundle/{chunk-XOL346TJ.js → chunk-ZM63SUHG.js} +2 -2
- package/dist/bundle/{chunk-66PL7P4C.js → chunk-ZZ32DXTH.js} +1 -1
- package/dist/bundle/{cli-K4D4DIGQ.js → cli-556DERZL.js} +68 -68
- package/dist/bundle/command-contract-VRTOAV6W.js +43 -0
- package/dist/bundle/{command-server-entry-WREK3QBB.js → command-server-entry-AYLGNZWD.js} +33 -33
- package/dist/bundle/{decode-SEETPKBH.js → decode-QU24MWMN.js} +8 -8
- package/dist/bundle/{dispatch-SQCEURVK.js → dispatch-4KODNOXV.js} +9 -9
- package/dist/bundle/drive.js +11 -11
- package/dist/bundle/{echarts-WZ5RKFCX.js → echarts-BXX4OQWC.js} +2 -2
- package/dist/bundle/{embed-B2UCRZZR.js → embed-KG27KG3D.js} +9 -9
- package/dist/bundle/{embedder-4R6Z7G7L.js → embedder-IPAVUQUV.js} +12 -12
- package/dist/bundle/entry-MVXQETWS.js +25 -0
- package/dist/bundle/{failure-CYNXH3RQ.js → failure-ESL7ETL4.js} +4 -4
- package/dist/bundle/first-run-4UVLW2WR.js +31 -0
- package/dist/bundle/first-screen-JAKAIINI.js +41 -0
- package/dist/bundle/google-22NXXJX5.js +45 -0
- package/dist/bundle/{google-api-SAND2F7L.js → google-api-VCDBSNOW.js} +70 -70
- package/dist/bundle/grants-MQMTVCRQ.js +118 -0
- package/dist/bundle/{identity-JVVGS4U6.js → identity-LOWMVGZY.js} +6 -6
- package/dist/bundle/{instructions-JSMTSB22.js → instructions-2VECIDXF.js} +1 -1
- package/dist/bundle/{login-6WG3YBDU.js → login-7GBONT7V.js} +76 -76
- package/dist/bundle/{mcp-VFIOZDVY.js → mcp-O6ACR2DX.js} +2 -2
- package/dist/bundle/meeting-combined-LVP4AZKA.js +27 -0
- package/dist/bundle/meeting-model-RAY5XDXZ.js +29 -0
- package/dist/bundle/{meeting-semantic-5U7JQCFF.js → meeting-semantic-G7PFOKU7.js} +10 -10
- package/dist/bundle/{node-VJMVHOWD.js → node-MPEQSFI3.js} +2 -2
- package/dist/bundle/{node-sqlite-DCNT3HVE.js → node-sqlite-OLQMAYB4.js} +10 -10
- package/dist/bundle/oauth-SGH2I2BY.js +22 -0
- package/dist/bundle/{open-NFOEHVW7.js → open-OXTE672W.js} +8 -8
- package/dist/bundle/{openai-D47WY7EC.js → openai-EB3TPIZY.js} +19 -19
- package/dist/bundle/{process-Q2FRU5VA.js → process-F6TKXWWA.js} +1 -1
- package/dist/bundle/{program-T2AJJQEM.js → program-4IFDZ7FM.js} +142 -125
- package/dist/bundle/{prompt-YJSDABXN.js → prompt-F5RRHPN2.js} +8 -8
- package/dist/bundle/{reasons-WEHPCSJX.js → reasons-UORHJDHK.js} +5 -5
- package/dist/bundle/{recognize-6OBEIEB3.js → recognize-DAVNZND3.js} +7 -7
- package/dist/bundle/{remote-3SL2QJ7T.js → remote-D5EYYIAU.js} +13 -13
- package/dist/bundle/{rerank-L6F5SLIB.js → rerank-CND2GVLZ.js} +10 -10
- package/dist/bundle/{serve-GYSWIWH4.js → serve-ZHSPUIGX.js} +12 -12
- package/dist/bundle/server-DUVJWP3Q.js +80 -0
- package/dist/bundle/{server-GWWP3RIT.js → server-YMAK4LHC.js} +54 -54
- package/dist/bundle/{services-BDQBRXT5.js → services-ZILSFJ6E.js} +47 -47
- package/dist/bundle/{sqlite-runtime-ZSZGAUYB.js → sqlite-runtime-S5VPMZQH.js} +9 -9
- package/dist/bundle/{start-BJ275RUK.js → start-CR6X25RT.js} +7 -7
- package/dist/bundle/{state-HLNGFI2T.js → state-YFPHVIIJ.js} +9 -9
- package/dist/bundle/{store-OSRTGYGI.js → store-CL4ZJZRI.js} +23 -23
- package/dist/bundle/{store-I43KZNJW.js → store-UODRT6X4.js} +25 -25
- package/dist/bundle/store-maintenance-command-DY5XIBWR.js +72 -0
- package/dist/bundle/tokens-AF7QOFOF.js +118 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +2 -1
- package/dist/config.js.map +1 -1
- package/dist/sync.d.ts.map +1 -1
- package/dist/sync.js +1 -2
- package/dist/sync.js.map +1 -1
- package/dist/transcripts.d.ts +0 -6
- package/dist/transcripts.d.ts.map +1 -1
- package/dist/transcripts.js +0 -13
- package/dist/transcripts.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/command-contract-V3F452QI.js +0 -43
- package/dist/bundle/entry-ORZYRJ5N.js +0 -25
- package/dist/bundle/first-run-KAKA6KBY.js +0 -31
- package/dist/bundle/first-screen-R645UHRH.js +0 -41
- package/dist/bundle/google-BSO3YB7N.js +0 -45
- package/dist/bundle/grants-PLNFYARD.js +0 -118
- package/dist/bundle/meeting-combined-SUKMFK3F.js +0 -27
- package/dist/bundle/meeting-model-S4YGKIFI.js +0 -29
- package/dist/bundle/oauth-KCMNQ3ZP.js +0 -22
- package/dist/bundle/server-BI46BSRE.js +0 -80
- package/dist/bundle/store-maintenance-command-FO7LEVSL.js +0 -72
- package/dist/bundle/tokens-DB7O7QNB.js +0 -118
- /package/dist/bundle/{chunk-ZI3YTXSF.js → chunk-VKE77B3F.js} +0 -0
|
@@ -2,8 +2,9 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
modelSettingsShape,
|
|
5
|
-
resolveModelSettings
|
|
6
|
-
|
|
5
|
+
resolveModelSettings,
|
|
6
|
+
runBudget
|
|
7
|
+
} from "./chunk-I4RWW3UD.js";
|
|
7
8
|
import {
|
|
8
9
|
currentCaller,
|
|
9
10
|
endpointTemplate,
|
|
@@ -13,33 +14,33 @@ import {
|
|
|
13
14
|
providerErrorKey,
|
|
14
15
|
renderEvent,
|
|
15
16
|
runContextOf
|
|
16
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-72C4YOCH.js";
|
|
17
18
|
import {
|
|
18
19
|
ancestorValue,
|
|
19
20
|
envName,
|
|
20
21
|
readOnlyLockOf,
|
|
21
22
|
readOnlyRefusal
|
|
22
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-MNLL5YLM.js";
|
|
23
24
|
import {
|
|
24
25
|
carries
|
|
25
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-Z56QFOBR.js";
|
|
26
27
|
import {
|
|
27
28
|
DEFAULT_RERANK_MODEL,
|
|
28
29
|
RERANK_MODELS
|
|
29
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-XF4EXO2C.js";
|
|
30
31
|
import {
|
|
31
32
|
permissionCeiling
|
|
32
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-FCS26CYQ.js";
|
|
33
34
|
import {
|
|
34
35
|
endpoint
|
|
35
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-YMJ6IDGT.js";
|
|
36
37
|
import {
|
|
37
38
|
note
|
|
38
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-HMS6EEQL.js";
|
|
39
40
|
import {
|
|
40
41
|
filesPresent,
|
|
41
42
|
sharedModelsDirectory
|
|
42
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-COOOO5B3.js";
|
|
43
44
|
import {
|
|
44
45
|
BUSINESS_KINDS,
|
|
45
46
|
CATEGORIES,
|
|
@@ -98,14 +99,14 @@ import {
|
|
|
98
99
|
typedCommand,
|
|
99
100
|
untrusted,
|
|
100
101
|
useAsProcessRun
|
|
101
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-RJOQH5YY.js";
|
|
102
103
|
import {
|
|
103
104
|
isCliFailure,
|
|
104
105
|
storeDamaged
|
|
105
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-26DHFMGZ.js";
|
|
106
107
|
import {
|
|
107
108
|
TAG_TYPES
|
|
108
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-2UUWXPOB.js";
|
|
109
110
|
import {
|
|
110
111
|
FACT_TYPES,
|
|
111
112
|
MEETING_RESULT_ENTITIES,
|
|
@@ -127,21 +128,21 @@ import {
|
|
|
127
128
|
meetingTagging,
|
|
128
129
|
meetingTranscript,
|
|
129
130
|
readsZone
|
|
130
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-PRW6SYA3.js";
|
|
131
132
|
import {
|
|
132
133
|
FIELD_TYPES,
|
|
133
134
|
QUERY_BACKENDS,
|
|
134
135
|
describeQuery,
|
|
135
136
|
parseLucene,
|
|
136
137
|
timezoneOf
|
|
137
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-OF422U5D.js";
|
|
138
139
|
import {
|
|
139
140
|
repairConfigText,
|
|
140
141
|
sharedConfigPath
|
|
141
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-GBKNJWOZ.js";
|
|
142
143
|
import {
|
|
143
144
|
storePath
|
|
144
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-Z3KUSRCF.js";
|
|
145
146
|
import {
|
|
146
147
|
configFilePath,
|
|
147
148
|
createRecordLog,
|
|
@@ -152,19 +153,19 @@ import {
|
|
|
152
153
|
resolvePaths,
|
|
153
154
|
saveConfigFile,
|
|
154
155
|
writeSecurely
|
|
155
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-CJLVYIOP.js";
|
|
156
157
|
import {
|
|
157
158
|
EXIT_CODES,
|
|
158
159
|
GENERIC_FAILURE,
|
|
159
160
|
exitCodeOfAnswer
|
|
160
|
-
} from "./chunk-
|
|
161
|
+
} from "./chunk-3N2OFXB5.js";
|
|
161
162
|
import {
|
|
162
163
|
singleLine,
|
|
163
164
|
visibleControls
|
|
164
|
-
} from "./chunk-
|
|
165
|
+
} from "./chunk-KYKW2W6X.js";
|
|
165
166
|
import {
|
|
166
167
|
defineLogEvents
|
|
167
|
-
} from "./chunk-
|
|
168
|
+
} from "./chunk-KGYVHPGE.js";
|
|
168
169
|
import {
|
|
169
170
|
COMPACT_FLAG,
|
|
170
171
|
MAX_NEXT_STEPS,
|
|
@@ -214,16 +215,16 @@ import {
|
|
|
214
215
|
unwrap,
|
|
215
216
|
variant,
|
|
216
217
|
writes
|
|
217
|
-
} from "./chunk-
|
|
218
|
+
} from "./chunk-OJSBWP3F.js";
|
|
218
219
|
import {
|
|
219
220
|
CliError,
|
|
220
221
|
isCliError
|
|
221
|
-
} from "./chunk-
|
|
222
|
+
} from "./chunk-4QNW4NK6.js";
|
|
222
223
|
import {
|
|
223
224
|
__name
|
|
224
225
|
} from "./chunk-ZVVMGPBJ.js";
|
|
225
226
|
|
|
226
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
227
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_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
|
|
227
228
|
var labels = /* @__PURE__ */ new WeakMap();
|
|
228
229
|
var annotate = /* @__PURE__ */ __name((command, meta) => {
|
|
229
230
|
labels.set(command, { ...labels.get(command), ...meta });
|
|
@@ -3724,7 +3725,7 @@ __name(useColor, "useColor");
|
|
|
3724
3725
|
// node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
|
|
3725
3726
|
var program = new Command();
|
|
3726
3727
|
|
|
3727
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3728
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_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
|
|
3728
3729
|
import { isDeepStrictEqual } from "node:util";
|
|
3729
3730
|
var protectedCommands = /* @__PURE__ */ new WeakMap();
|
|
3730
3731
|
var hasSharedContract = /* @__PURE__ */ __name((command) => protectedCommands.has(command), "hasSharedContract");
|
|
@@ -3926,7 +3927,7 @@ var customizeSharedCommand = /* @__PURE__ */ __name((reference2, reason, build,
|
|
|
3926
3927
|
return command;
|
|
3927
3928
|
}, "customizeSharedCommand");
|
|
3928
3929
|
|
|
3929
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3930
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_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
|
|
3930
3931
|
var argumentInfoSchema = object({
|
|
3931
3932
|
name: string(),
|
|
3932
3933
|
required: boolean(),
|
|
@@ -4009,7 +4010,7 @@ var commandsDocument = /* @__PURE__ */ __name((root, about) => ({
|
|
|
4009
4010
|
exit_codes: { ok: 0, internal_error: GENERIC_FAILURE, ...EXIT_CODES }
|
|
4010
4011
|
}), "commandsDocument");
|
|
4011
4012
|
|
|
4012
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
4013
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/index.js
|
|
4013
4014
|
var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
4014
4015
|
let command = root;
|
|
4015
4016
|
const path2 = [];
|
|
@@ -4027,7 +4028,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
|
4027
4028
|
}
|
|
4028
4029
|
}, "refuseJoinedPath");
|
|
4029
4030
|
|
|
4030
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4031
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
4031
4032
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
4032
4033
|
var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
|
|
4033
4034
|
var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
|
|
@@ -4453,7 +4454,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
4453
4454
|
}
|
|
4454
4455
|
}, "assertRetentionEvidenceRead");
|
|
4455
4456
|
|
|
4456
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4457
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
4457
4458
|
var WEIGHTS = {
|
|
4458
4459
|
bot: 3,
|
|
4459
4460
|
scam: 3,
|
|
@@ -4478,7 +4479,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
4478
4479
|
var DIGITS = /\d{5,}/;
|
|
4479
4480
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
4480
4481
|
|
|
4481
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4482
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
4482
4483
|
var linkedIdentity = strictObject({
|
|
4483
4484
|
provider: text,
|
|
4484
4485
|
id,
|
|
@@ -4533,7 +4534,7 @@ var contactCheck = strictObject({
|
|
|
4533
4534
|
checked_at: time
|
|
4534
4535
|
});
|
|
4535
4536
|
|
|
4536
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4537
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
4537
4538
|
var member = strictObject({
|
|
4538
4539
|
id,
|
|
4539
4540
|
name: nullable(text),
|
|
@@ -4556,7 +4557,7 @@ var member = strictObject({
|
|
|
4556
4557
|
check: optional(record(string(), unknown()))
|
|
4557
4558
|
});
|
|
4558
4559
|
|
|
4559
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4560
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
4560
4561
|
var setting = optional(nullable(boolean()));
|
|
4561
4562
|
var chat = strictObject({
|
|
4562
4563
|
ref: reference,
|
|
@@ -4597,7 +4598,7 @@ var chat = strictObject({
|
|
|
4597
4598
|
members: optional(array(member))
|
|
4598
4599
|
});
|
|
4599
4600
|
|
|
4600
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4601
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
4601
4602
|
var attachment = strictObject({
|
|
4602
4603
|
/** The message it came with, as a locator; absent inside that message. */
|
|
4603
4604
|
message: optional(reference),
|
|
@@ -4642,7 +4643,7 @@ var hitFile = strictObject({
|
|
|
4642
4643
|
local_path: optional(text)
|
|
4643
4644
|
});
|
|
4644
4645
|
|
|
4645
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4646
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
4646
4647
|
var quoted = strictObject({
|
|
4647
4648
|
id,
|
|
4648
4649
|
sender_id: nullable(id),
|
|
@@ -4761,7 +4762,7 @@ var message = strictObject({
|
|
|
4761
4762
|
provider_metadata: providerMetadata
|
|
4762
4763
|
});
|
|
4763
4764
|
|
|
4764
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4765
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
|
|
4765
4766
|
var recordedMeeting = strictObject({
|
|
4766
4767
|
ref: reference,
|
|
4767
4768
|
meeting_id: count,
|
|
@@ -4774,7 +4775,7 @@ var recordedMeeting = strictObject({
|
|
|
4774
4775
|
people: array(reference)
|
|
4775
4776
|
});
|
|
4776
4777
|
|
|
4777
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4778
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
4778
4779
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
4779
4780
|
var contextMessage = strictObject({
|
|
4780
4781
|
locator: reference,
|
|
@@ -4980,7 +4981,7 @@ var contactPreparation = strictObject({
|
|
|
4980
4981
|
})
|
|
4981
4982
|
});
|
|
4982
4983
|
|
|
4983
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4984
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
4984
4985
|
var nullableText = nullable(text);
|
|
4985
4986
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
4986
4987
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -5028,7 +5029,10 @@ var deal = strictObject({
|
|
|
5028
5029
|
external_id: nullableText,
|
|
5029
5030
|
/** A CRM copy's assignee, the identity `<account>/user/<id>`. */
|
|
5030
5031
|
assignee: nullableText,
|
|
5031
|
-
/**
|
|
5032
|
+
/**
|
|
5033
|
+
* A CRM copy's own fields by code; a list field's value is its option's label, `option_id` its id. `amount_note` is
|
|
5034
|
+
* WireCat's own note, not a CRM field: the CRM's amount the store could not keep, and why.
|
|
5035
|
+
*/
|
|
5032
5036
|
provider_metadata: record(string(), strictObject({
|
|
5033
5037
|
label: nullable(string()),
|
|
5034
5038
|
value: unknown(),
|
|
@@ -5091,7 +5095,7 @@ var stage = strictObject({
|
|
|
5091
5095
|
untrusted
|
|
5092
5096
|
});
|
|
5093
5097
|
|
|
5094
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5098
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/business-context.js
|
|
5095
5099
|
var nullableText2 = nullable(text);
|
|
5096
5100
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
5097
5101
|
var standing = picklist(STANDINGS);
|
|
@@ -5265,7 +5269,7 @@ var dealBrief = strictObject({
|
|
|
5265
5269
|
not_read: coverage2.entries.not_read
|
|
5266
5270
|
});
|
|
5267
5271
|
|
|
5268
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5272
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
5269
5273
|
var botProfile = strictObject({
|
|
5270
5274
|
name: text,
|
|
5271
5275
|
token: text,
|
|
@@ -5389,7 +5393,7 @@ var stickerInventory = strictObject({
|
|
|
5389
5393
|
url: optional(nullable(text))
|
|
5390
5394
|
});
|
|
5391
5395
|
|
|
5392
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5396
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
5393
5397
|
var actionableError = objectWithRest({
|
|
5394
5398
|
code: text,
|
|
5395
5399
|
message: text,
|
|
@@ -5406,7 +5410,7 @@ var batchResult = strictObject({
|
|
|
5406
5410
|
max_error_percent: count
|
|
5407
5411
|
});
|
|
5408
5412
|
|
|
5409
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5413
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
5410
5414
|
var conversationBuild = strictObject({
|
|
5411
5415
|
chat: id,
|
|
5412
5416
|
messages: count,
|
|
@@ -5431,13 +5435,13 @@ var catchUpPreparation = strictObject({
|
|
|
5431
5435
|
prepared: optional(conversationPreparation)
|
|
5432
5436
|
});
|
|
5433
5437
|
|
|
5434
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5438
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
5435
5439
|
import { spawn } from "node:child_process";
|
|
5436
5440
|
import { randomBytes } from "node:crypto";
|
|
5437
5441
|
import { closeSync, existsSync, mkdirSync, openSync, readdirSync, readFileSync, realpathSync, rmSync } from "node:fs";
|
|
5438
5442
|
import { dirname, join } from "node:path";
|
|
5439
5443
|
|
|
5440
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5444
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
5441
5445
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
5442
5446
|
const total = input.total ?? null;
|
|
5443
5447
|
const updated = input.updatedAt ?? null;
|
|
@@ -5453,7 +5457,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
5453
5457
|
};
|
|
5454
5458
|
}, "progressOf");
|
|
5455
5459
|
|
|
5456
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5460
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
5457
5461
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
5458
5462
|
const run = currentRun();
|
|
5459
5463
|
const trace = traceId ?? run.traceId;
|
|
@@ -5467,7 +5471,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
5467
5471
|
}));
|
|
5468
5472
|
}, "recordLogFor");
|
|
5469
5473
|
|
|
5470
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5474
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
5471
5475
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
5472
5476
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
5473
5477
|
const out = openSync(log, "a", 384);
|
|
@@ -5622,7 +5626,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
5622
5626
|
return { job: id6, pid, chat: input.chat, log };
|
|
5623
5627
|
}, "startArchiveJob");
|
|
5624
5628
|
|
|
5625
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5629
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
5626
5630
|
var problem = strictObject({ code: text, message: text });
|
|
5627
5631
|
var job = strictObject({
|
|
5628
5632
|
id,
|
|
@@ -5645,7 +5649,7 @@ var job = strictObject({
|
|
|
5645
5649
|
error: optional(problem)
|
|
5646
5650
|
});
|
|
5647
5651
|
|
|
5648
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5652
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
5649
5653
|
var extractionItem = strictObject({
|
|
5650
5654
|
ref: reference,
|
|
5651
5655
|
attachment: count,
|
|
@@ -5678,7 +5682,7 @@ var extractionReport = strictObject({
|
|
|
5678
5682
|
cursor: optional(text)
|
|
5679
5683
|
});
|
|
5680
5684
|
|
|
5681
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5685
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
5682
5686
|
var savedMessageFile = strictObject({
|
|
5683
5687
|
kind: text,
|
|
5684
5688
|
path: text,
|
|
@@ -5765,7 +5769,7 @@ var messageSyncAll = strictObject({
|
|
|
5765
5769
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
5766
5770
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
5767
5771
|
|
|
5768
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5772
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
5769
5773
|
var range = strictObject({ from: number(), to: number() });
|
|
5770
5774
|
var storeChatStatus = strictObject({
|
|
5771
5775
|
chat_id: id,
|
|
@@ -5863,7 +5867,7 @@ var storeJobRetry = union([
|
|
|
5863
5867
|
]);
|
|
5864
5868
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
5865
5869
|
|
|
5866
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5870
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
5867
5871
|
var account = strictObject({
|
|
5868
5872
|
provider: text,
|
|
5869
5873
|
id,
|
|
@@ -5873,7 +5877,7 @@ var account = strictObject({
|
|
|
5873
5877
|
scope: optional(picklist(["personal", "work"]))
|
|
5874
5878
|
});
|
|
5875
5879
|
|
|
5876
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5880
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
5877
5881
|
var accountSession = strictObject({
|
|
5878
5882
|
current: boolean(),
|
|
5879
5883
|
client: nullable(text),
|
|
@@ -5883,7 +5887,7 @@ var accountSession = strictObject({
|
|
|
5883
5887
|
created_at: optional(nullable(time))
|
|
5884
5888
|
});
|
|
5885
5889
|
|
|
5886
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5890
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
5887
5891
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
5888
5892
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
5889
5893
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -5912,7 +5916,7 @@ var accountRemoval = strictObject({
|
|
|
5912
5916
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
5913
5917
|
});
|
|
5914
5918
|
|
|
5915
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5919
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
5916
5920
|
var accountProfile = strictObject({
|
|
5917
5921
|
profile: id,
|
|
5918
5922
|
current: boolean(),
|
|
@@ -5924,7 +5928,7 @@ var accountProfile = strictObject({
|
|
|
5924
5928
|
bot: optional(literal(true))
|
|
5925
5929
|
});
|
|
5926
5930
|
|
|
5927
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5931
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
5928
5932
|
var milliseconds = pipe(number(), minValue(0));
|
|
5929
5933
|
var counterReading = strictObject({
|
|
5930
5934
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -5936,7 +5940,7 @@ var counterReading = strictObject({
|
|
|
5936
5940
|
});
|
|
5937
5941
|
var selection = record(string(), unknown());
|
|
5938
5942
|
|
|
5939
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5943
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
5940
5944
|
var adminRow = strictObject({
|
|
5941
5945
|
ref: reference,
|
|
5942
5946
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -5989,7 +5993,7 @@ var adminReport = strictObject({
|
|
|
5989
5993
|
rows: array(adminRow)
|
|
5990
5994
|
});
|
|
5991
5995
|
|
|
5992
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5996
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
5993
5997
|
var closeSuggestion = strictObject({
|
|
5994
5998
|
as: picklist(["done", "dismissed"]),
|
|
5995
5999
|
/** The agent's name. */
|
|
@@ -6051,7 +6055,7 @@ var task = strictObject({
|
|
|
6051
6055
|
updated_at: optional(time)
|
|
6052
6056
|
});
|
|
6053
6057
|
|
|
6054
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6058
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
6055
6059
|
var agendaChat = strictObject({
|
|
6056
6060
|
chat: reference,
|
|
6057
6061
|
title: nullable(text),
|
|
@@ -6121,11 +6125,11 @@ var agenda = strictObject({
|
|
|
6121
6125
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
6122
6126
|
});
|
|
6123
6127
|
|
|
6124
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6128
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
6125
6129
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
6126
6130
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
6127
6131
|
|
|
6128
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6132
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
6129
6133
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
6130
6134
|
var attachmentBytes = strictObject({
|
|
6131
6135
|
ref: reference,
|
|
@@ -6156,7 +6160,7 @@ var attachmentTextChange = strictObject({
|
|
|
6156
6160
|
text: optional(text)
|
|
6157
6161
|
});
|
|
6158
6162
|
|
|
6159
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6163
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
6160
6164
|
var chart = strictObject({
|
|
6161
6165
|
version: literal(1),
|
|
6162
6166
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -6171,7 +6175,7 @@ var chart = strictObject({
|
|
|
6171
6175
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
6172
6176
|
});
|
|
6173
6177
|
|
|
6174
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6178
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
6175
6179
|
var named = strictObject({
|
|
6176
6180
|
id,
|
|
6177
6181
|
title: nullable(text),
|
|
@@ -6194,7 +6198,7 @@ var folder = strictObject({
|
|
|
6194
6198
|
excluded_chats: optional(array(named))
|
|
6195
6199
|
});
|
|
6196
6200
|
|
|
6197
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6201
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
6198
6202
|
var inviteLink = strictObject({
|
|
6199
6203
|
link: text,
|
|
6200
6204
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -6210,7 +6214,7 @@ var inviteLink = strictObject({
|
|
|
6210
6214
|
joined_count: optional(count)
|
|
6211
6215
|
});
|
|
6212
6216
|
|
|
6213
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6217
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
6214
6218
|
var operated = { operation_id: id, chat_id: id };
|
|
6215
6219
|
var group = strictObject({
|
|
6216
6220
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -6290,7 +6294,7 @@ var chatFolderOrder = strictObject({
|
|
|
6290
6294
|
folders: array(strictObject({ id, title: text }))
|
|
6291
6295
|
});
|
|
6292
6296
|
|
|
6293
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6297
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
6294
6298
|
var operated2 = { operation_id: id, chat_id: id };
|
|
6295
6299
|
var chatRemoval = strictObject(operated2);
|
|
6296
6300
|
var chatMuting = strictObject({
|
|
@@ -6301,7 +6305,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
6301
6305
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
6302
6306
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
6303
6307
|
|
|
6304
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6308
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
6305
6309
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
6306
6310
|
var chatEvent = strictObject({
|
|
6307
6311
|
chat_id: id,
|
|
@@ -6318,7 +6322,7 @@ var chatEvent = strictObject({
|
|
|
6318
6322
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
6319
6323
|
});
|
|
6320
6324
|
|
|
6321
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6325
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
6322
6326
|
var chatMetadata = strictObject({
|
|
6323
6327
|
chat_id: id,
|
|
6324
6328
|
title: nullable(text),
|
|
@@ -6333,7 +6337,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
6333
6337
|
has_more: boolean()
|
|
6334
6338
|
});
|
|
6335
6339
|
|
|
6336
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6340
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
6337
6341
|
var action = picklist(["report", "delete", "remove"]);
|
|
6338
6342
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
6339
6343
|
var chatRules = strictObject({
|
|
@@ -6370,7 +6374,7 @@ var chatModeration = strictObject({
|
|
|
6370
6374
|
}))
|
|
6371
6375
|
});
|
|
6372
6376
|
|
|
6373
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6377
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/chat-sending.js
|
|
6374
6378
|
var chatSending = strictObject({
|
|
6375
6379
|
mode: picklist(["allowed", "ask", "denied"]),
|
|
6376
6380
|
meaning: text,
|
|
@@ -6380,7 +6384,7 @@ var chatSending = strictObject({
|
|
|
6380
6384
|
changed: optional(boolean())
|
|
6381
6385
|
});
|
|
6382
6386
|
|
|
6383
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6387
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
6384
6388
|
var optionalCount = optional(count);
|
|
6385
6389
|
var minutes = nullable(number());
|
|
6386
6390
|
var chatStats = strictObject({
|
|
@@ -6456,7 +6460,7 @@ var taskStats = strictObject({
|
|
|
6456
6460
|
}))
|
|
6457
6461
|
});
|
|
6458
6462
|
|
|
6459
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6463
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
6460
6464
|
var memberCount = strictObject({
|
|
6461
6465
|
day: pipe(text, isoDate()),
|
|
6462
6466
|
participants: nullable(count),
|
|
@@ -6479,7 +6483,7 @@ var chatTracking = strictObject({
|
|
|
6479
6483
|
tracked: boolean()
|
|
6480
6484
|
});
|
|
6481
6485
|
|
|
6482
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6486
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
6483
6487
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
6484
6488
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
6485
6489
|
var profileFields = {
|
|
@@ -6517,7 +6521,7 @@ var profileFields = {
|
|
|
6517
6521
|
}))
|
|
6518
6522
|
};
|
|
6519
6523
|
|
|
6520
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6524
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
6521
6525
|
var contact = strictObject({
|
|
6522
6526
|
ref: reference,
|
|
6523
6527
|
id,
|
|
@@ -6548,7 +6552,7 @@ var contact = strictObject({
|
|
|
6548
6552
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
6549
6553
|
});
|
|
6550
6554
|
|
|
6551
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6555
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
6552
6556
|
var contactNote = strictObject({
|
|
6553
6557
|
id,
|
|
6554
6558
|
/** The contact, as a `contact:` reference. */
|
|
@@ -6560,13 +6564,13 @@ var contactNote = strictObject({
|
|
|
6560
6564
|
updated_at: time
|
|
6561
6565
|
});
|
|
6562
6566
|
|
|
6563
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6567
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
6564
6568
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
6565
6569
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
6566
6570
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
6567
6571
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
6568
6572
|
|
|
6569
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6573
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
6570
6574
|
var conversation = strictObject({
|
|
6571
6575
|
id,
|
|
6572
6576
|
chat: reference,
|
|
@@ -6581,7 +6585,7 @@ var conversation = strictObject({
|
|
|
6581
6585
|
rules_version: count
|
|
6582
6586
|
});
|
|
6583
6587
|
|
|
6584
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6588
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
6585
6589
|
var conversationDetails = union([
|
|
6586
6590
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
6587
6591
|
message
|
|
@@ -6671,7 +6675,7 @@ var conversationHit = strictObject({
|
|
|
6671
6675
|
stale: boolean()
|
|
6672
6676
|
});
|
|
6673
6677
|
|
|
6674
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6678
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
6675
6679
|
var counters = strictObject({
|
|
6676
6680
|
cutoff: time,
|
|
6677
6681
|
max_age_ms: milliseconds,
|
|
@@ -6701,7 +6705,7 @@ var counterRefresh = strictObject({
|
|
|
6701
6705
|
complete: optional(boolean())
|
|
6702
6706
|
});
|
|
6703
6707
|
|
|
6704
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6708
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
6705
6709
|
var document = strictObject({
|
|
6706
6710
|
ref: reference,
|
|
6707
6711
|
id,
|
|
@@ -6716,7 +6720,7 @@ var document = strictObject({
|
|
|
6716
6720
|
owners: optional(array(text))
|
|
6717
6721
|
});
|
|
6718
6722
|
|
|
6719
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6723
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
6720
6724
|
var documentLink = strictObject({
|
|
6721
6725
|
ref: reference,
|
|
6722
6726
|
url: text,
|
|
@@ -6727,7 +6731,7 @@ var documentLink = strictObject({
|
|
|
6727
6731
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
6728
6732
|
});
|
|
6729
6733
|
|
|
6730
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6734
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
6731
6735
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
6732
6736
|
var contribution = strictObject({
|
|
6733
6737
|
message: evidenceMessage,
|
|
@@ -6757,7 +6761,7 @@ var retentionStay = strictObject({
|
|
|
6757
6761
|
});
|
|
6758
6762
|
var evidence = union([contribution, retentionStay]);
|
|
6759
6763
|
|
|
6760
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6764
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
6761
6765
|
var fact = strictObject({
|
|
6762
6766
|
ref: reference,
|
|
6763
6767
|
id,
|
|
@@ -6788,7 +6792,7 @@ var fact = strictObject({
|
|
|
6788
6792
|
updated_at: time
|
|
6789
6793
|
});
|
|
6790
6794
|
|
|
6791
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6795
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
6792
6796
|
var hit = strictObject({
|
|
6793
6797
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead", ...BUSINESS_KINDS]),
|
|
6794
6798
|
ref: reference,
|
|
@@ -6836,7 +6840,7 @@ var hit = strictObject({
|
|
|
6836
6840
|
untrusted
|
|
6837
6841
|
});
|
|
6838
6842
|
|
|
6839
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6843
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
6840
6844
|
var identity = strictObject({
|
|
6841
6845
|
ref: reference,
|
|
6842
6846
|
provider: text,
|
|
@@ -6852,7 +6856,7 @@ var identity = strictObject({
|
|
|
6852
6856
|
person: optional(nullable(reference))
|
|
6853
6857
|
});
|
|
6854
6858
|
|
|
6855
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6859
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
6856
6860
|
var imageEmbedding = strictObject({
|
|
6857
6861
|
model: text,
|
|
6858
6862
|
embedded: count,
|
|
@@ -6861,7 +6865,7 @@ var imageEmbedding = strictObject({
|
|
|
6861
6865
|
more: boolean()
|
|
6862
6866
|
});
|
|
6863
6867
|
|
|
6864
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6868
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
6865
6869
|
var joinRequest = strictObject({
|
|
6866
6870
|
person_id: id,
|
|
6867
6871
|
name: nullable(text),
|
|
@@ -6872,7 +6876,7 @@ var joinRequest = strictObject({
|
|
|
6872
6876
|
about: optional(text)
|
|
6873
6877
|
});
|
|
6874
6878
|
|
|
6875
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6879
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
6876
6880
|
var pollVote = strictObject({
|
|
6877
6881
|
person_id: id,
|
|
6878
6882
|
name: nullable(text),
|
|
@@ -6882,7 +6886,7 @@ var pollVote = strictObject({
|
|
|
6882
6886
|
voted_at: time
|
|
6883
6887
|
});
|
|
6884
6888
|
|
|
6885
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6889
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
6886
6890
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
6887
6891
|
var observation = strictObject({
|
|
6888
6892
|
value: pipe(number(), minValue(0)),
|
|
@@ -6924,7 +6928,7 @@ var serveSummary = strictObject({
|
|
|
6924
6928
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
6925
6929
|
});
|
|
6926
6930
|
|
|
6927
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6931
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
6928
6932
|
var mailCounts = strictObject({
|
|
6929
6933
|
by: picklist(["day", "week", "sender"]),
|
|
6930
6934
|
received: count,
|
|
@@ -6939,7 +6943,7 @@ var mailCounts = strictObject({
|
|
|
6939
6943
|
}))
|
|
6940
6944
|
});
|
|
6941
6945
|
|
|
6942
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6946
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
6943
6947
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
6944
6948
|
var base = { id, evidence: array(evidence2) };
|
|
6945
6949
|
var finding = variant("kind", [
|
|
@@ -7083,7 +7087,7 @@ var mailFindings = strictObject({
|
|
|
7083
7087
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
7084
7088
|
});
|
|
7085
7089
|
|
|
7086
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7090
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
7087
7091
|
var mediaArchive = strictObject({
|
|
7088
7092
|
directory: text,
|
|
7089
7093
|
chats: count,
|
|
@@ -7115,7 +7119,7 @@ var mediaArchiveTimer = union([
|
|
|
7115
7119
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
7116
7120
|
]);
|
|
7117
7121
|
|
|
7118
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7122
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
7119
7123
|
var preparationId = pipe(string(), minLength(1));
|
|
7120
7124
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
7121
7125
|
var preparationTime = nullable(isoTime);
|
|
@@ -7207,7 +7211,7 @@ var preparationMeeting = strictObject({
|
|
|
7207
7211
|
updated_at: isoTime
|
|
7208
7212
|
});
|
|
7209
7213
|
|
|
7210
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7214
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
7211
7215
|
var meetingEvidence = preparationEvidence;
|
|
7212
7216
|
var meetingPersonContext = strictObject({
|
|
7213
7217
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -7229,7 +7233,7 @@ var meetingPersonContext = strictObject({
|
|
|
7229
7233
|
})
|
|
7230
7234
|
});
|
|
7231
7235
|
|
|
7232
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7236
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
7233
7237
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
7234
7238
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
7235
7239
|
var finding2 = variant("kind", [
|
|
@@ -7267,7 +7271,7 @@ var meetingFindings = strictObject({
|
|
|
7267
7271
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
7268
7272
|
});
|
|
7269
7273
|
|
|
7270
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7274
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
7271
7275
|
var communicationCoverage = strictObject({
|
|
7272
7276
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
7273
7277
|
query: string(),
|
|
@@ -7312,7 +7316,7 @@ var preparationCommunications = strictObject({
|
|
|
7312
7316
|
}))
|
|
7313
7317
|
});
|
|
7314
7318
|
|
|
7315
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7319
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
7316
7320
|
var meetingPreparation = strictObject({
|
|
7317
7321
|
communications: optional(preparationCommunications),
|
|
7318
7322
|
schema_version: literal(1),
|
|
@@ -7425,7 +7429,7 @@ var meetingPreparation = strictObject({
|
|
|
7425
7429
|
})
|
|
7426
7430
|
});
|
|
7427
7431
|
|
|
7428
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7432
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
7429
7433
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
7430
7434
|
var id3 = pipe(string(), minLength(1));
|
|
7431
7435
|
var text3 = string();
|
|
@@ -7489,7 +7493,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
7489
7493
|
})
|
|
7490
7494
|
});
|
|
7491
7495
|
|
|
7492
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7496
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
7493
7497
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
7494
7498
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
7495
7499
|
var meetingSeriesInventory = strictObject({
|
|
@@ -7519,7 +7523,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
7519
7523
|
})
|
|
7520
7524
|
});
|
|
7521
7525
|
|
|
7522
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7526
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
7523
7527
|
var text4 = string();
|
|
7524
7528
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
7525
7529
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -7536,7 +7540,7 @@ var meetingTaskProposal = strictObject({
|
|
|
7536
7540
|
persistence: literal("proposal-only")
|
|
7537
7541
|
});
|
|
7538
7542
|
|
|
7539
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7543
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
7540
7544
|
var memory = strictObject({
|
|
7541
7545
|
ref: reference,
|
|
7542
7546
|
id,
|
|
@@ -7564,7 +7568,7 @@ var memory = strictObject({
|
|
|
7564
7568
|
updated_at: time
|
|
7565
7569
|
});
|
|
7566
7570
|
|
|
7567
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7571
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
7568
7572
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
7569
7573
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
7570
7574
|
var mention = strictObject({
|
|
@@ -7608,13 +7612,13 @@ var mentionRebuild = strictObject({
|
|
|
7608
7612
|
mentions: count
|
|
7609
7613
|
});
|
|
7610
7614
|
|
|
7611
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7615
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
7612
7616
|
var operated3 = { operation_id: id, chat_id: id };
|
|
7613
7617
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
7614
7618
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
7615
7619
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
7616
7620
|
|
|
7617
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7621
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
7618
7622
|
var messageTranscript = strictObject({
|
|
7619
7623
|
message_id: id,
|
|
7620
7624
|
text,
|
|
@@ -7672,7 +7676,7 @@ var evidencePacket = strictObject({
|
|
|
7672
7676
|
}))
|
|
7673
7677
|
});
|
|
7674
7678
|
|
|
7675
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7679
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
7676
7680
|
var messageThread = strictObject({
|
|
7677
7681
|
ref: reference,
|
|
7678
7682
|
chat: id,
|
|
@@ -7689,7 +7693,7 @@ var messageThread = strictObject({
|
|
|
7689
7693
|
});
|
|
7690
7694
|
var messageContext = union([message, messageThread]);
|
|
7691
7695
|
|
|
7692
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7696
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
7693
7697
|
var messageCounts = strictObject({
|
|
7694
7698
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
7695
7699
|
total: count,
|
|
@@ -7702,7 +7706,7 @@ var messageCounts = strictObject({
|
|
|
7702
7706
|
}))
|
|
7703
7707
|
});
|
|
7704
7708
|
|
|
7705
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7709
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
7706
7710
|
var messageLink = strictObject({
|
|
7707
7711
|
ref: reference,
|
|
7708
7712
|
url: nullable(text),
|
|
@@ -7719,7 +7723,7 @@ var messageLink = strictObject({
|
|
|
7719
7723
|
})))
|
|
7720
7724
|
});
|
|
7721
7725
|
|
|
7722
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7726
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
7723
7727
|
var messageWrite = strictObject({
|
|
7724
7728
|
operation_id: id,
|
|
7725
7729
|
message,
|
|
@@ -7734,7 +7738,7 @@ var draftWrite = strictObject({
|
|
|
7734
7738
|
});
|
|
7735
7739
|
var messageSend = union([messageWrite, draftWrite]);
|
|
7736
7740
|
|
|
7737
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7741
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
7738
7742
|
var model = strictObject({
|
|
7739
7743
|
id,
|
|
7740
7744
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -7769,7 +7773,7 @@ var chosenModel = strictObject({
|
|
|
7769
7773
|
estimate_seconds: nullable(count)
|
|
7770
7774
|
});
|
|
7771
7775
|
|
|
7772
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7776
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
7773
7777
|
var source = picklist(["environment", "keyring", "file"]);
|
|
7774
7778
|
var modelKey = strictObject({
|
|
7775
7779
|
provider: text,
|
|
@@ -7779,7 +7783,7 @@ var modelKey = strictObject({
|
|
|
7779
7783
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
7780
7784
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
7781
7785
|
|
|
7782
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7786
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
7783
7787
|
var versus = strictObject({ current: number(), previous: number() });
|
|
7784
7788
|
var person = { person_ref: reference, name: nullable(text) };
|
|
7785
7789
|
var graph = strictObject({
|
|
@@ -7813,14 +7817,14 @@ var officialStats = strictObject({
|
|
|
7813
7817
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
7814
7818
|
});
|
|
7815
7819
|
|
|
7816
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7820
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
7817
7821
|
var person2 = strictObject({
|
|
7818
7822
|
ref: reference,
|
|
7819
7823
|
name: nullable(text),
|
|
7820
7824
|
identities: optional(array(identity))
|
|
7821
7825
|
});
|
|
7822
7826
|
|
|
7823
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7827
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
7824
7828
|
var poll = strictObject({
|
|
7825
7829
|
chat_id: id,
|
|
7826
7830
|
message_id: id,
|
|
@@ -7836,11 +7840,11 @@ var poll = strictObject({
|
|
|
7836
7840
|
});
|
|
7837
7841
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
7838
7842
|
|
|
7839
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7843
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
7840
7844
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
7841
7845
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
7842
7846
|
|
|
7843
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7847
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
7844
7848
|
var figures = record(string(), number());
|
|
7845
7849
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
7846
7850
|
var rankingRow = strictObject({
|
|
@@ -7887,7 +7891,7 @@ var ranking = strictObject({
|
|
|
7887
7891
|
rows: array(rankingRow)
|
|
7888
7892
|
});
|
|
7889
7893
|
|
|
7890
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7894
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
7891
7895
|
var reaction = strictObject({
|
|
7892
7896
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
7893
7897
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -7895,7 +7899,7 @@ var reaction = strictObject({
|
|
|
7895
7899
|
reacted_at: time
|
|
7896
7900
|
});
|
|
7897
7901
|
|
|
7898
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7902
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
7899
7903
|
var reactionChange = strictObject({
|
|
7900
7904
|
operation_id: id,
|
|
7901
7905
|
chat_id: id,
|
|
@@ -7903,7 +7907,7 @@ var reactionChange = strictObject({
|
|
|
7903
7907
|
reaction: nullable(text)
|
|
7904
7908
|
});
|
|
7905
7909
|
|
|
7906
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7910
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
7907
7911
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
7908
7912
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
7909
7913
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -7914,7 +7918,7 @@ var recipientChange = strictObject({
|
|
|
7914
7918
|
...partial(recipientOff).entries
|
|
7915
7919
|
});
|
|
7916
7920
|
|
|
7917
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7921
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
7918
7922
|
var events = array(record(string(), unknown()));
|
|
7919
7923
|
var recordedRun = strictObject({
|
|
7920
7924
|
run_id: id,
|
|
@@ -7986,7 +7990,7 @@ var runHit = strictObject({
|
|
|
7986
7990
|
});
|
|
7987
7991
|
var runLocation = strictObject({ path: text });
|
|
7988
7992
|
|
|
7989
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7993
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
7990
7994
|
var relationship = strictObject({
|
|
7991
7995
|
id,
|
|
7992
7996
|
from: reference,
|
|
@@ -8013,7 +8017,7 @@ var relationship = strictObject({
|
|
|
8013
8017
|
created_at: time
|
|
8014
8018
|
});
|
|
8015
8019
|
|
|
8016
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8020
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
8017
8021
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
8018
8022
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
8019
8023
|
var responseTimes = strictObject({
|
|
@@ -8030,7 +8034,7 @@ var waitingChats = strictObject({
|
|
|
8030
8034
|
by_kind: strictObject({ private: count, group: count })
|
|
8031
8035
|
});
|
|
8032
8036
|
|
|
8033
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8037
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
8034
8038
|
var retentionCohort = strictObject({
|
|
8035
8039
|
/** The first day of the joining day or week. */
|
|
8036
8040
|
cohort: text,
|
|
@@ -8078,7 +8082,7 @@ var retention = strictObject({
|
|
|
8078
8082
|
rows: array(retentionCohort)
|
|
8079
8083
|
});
|
|
8080
8084
|
|
|
8081
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8085
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
8082
8086
|
var savedSearch = strictObject({
|
|
8083
8087
|
id,
|
|
8084
8088
|
/** `null` for a run in the history. */
|
|
@@ -8095,7 +8099,7 @@ var savedSearch = strictObject({
|
|
|
8095
8099
|
});
|
|
8096
8100
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
8097
8101
|
|
|
8098
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8102
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
8099
8103
|
var sendAttempt = strictObject({
|
|
8100
8104
|
at: time,
|
|
8101
8105
|
profile: text,
|
|
@@ -8123,7 +8127,7 @@ var sendAttempt = strictObject({
|
|
|
8123
8127
|
error_code: optional(text)
|
|
8124
8128
|
});
|
|
8125
8129
|
|
|
8126
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8130
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
8127
8131
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
8128
8132
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
8129
8133
|
var infoSchema = strictObject({
|
|
@@ -8353,7 +8357,7 @@ var storeRepair = union([
|
|
|
8353
8357
|
]);
|
|
8354
8358
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
8355
8359
|
|
|
8356
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8360
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
8357
8361
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
8358
8362
|
var storeTable = strictObject({
|
|
8359
8363
|
name: text,
|
|
@@ -8362,7 +8366,7 @@ var storeTable = strictObject({
|
|
|
8362
8366
|
bytes: optional(nullable(count))
|
|
8363
8367
|
});
|
|
8364
8368
|
|
|
8365
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8369
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
8366
8370
|
var tagTarget = variant("type", [
|
|
8367
8371
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
8368
8372
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -8393,7 +8397,7 @@ var automaticTags = strictObject({
|
|
|
8393
8397
|
dry_run: boolean()
|
|
8394
8398
|
});
|
|
8395
8399
|
|
|
8396
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8400
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
8397
8401
|
var tagging = strictObject({
|
|
8398
8402
|
tag: text,
|
|
8399
8403
|
type: picklist(TAG_TYPES),
|
|
@@ -8406,7 +8410,7 @@ var tagging = strictObject({
|
|
|
8406
8410
|
created_at: time
|
|
8407
8411
|
});
|
|
8408
8412
|
|
|
8409
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8413
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
8410
8414
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
8411
8415
|
var taskPair = strictObject({
|
|
8412
8416
|
task: nullable(side),
|
|
@@ -8429,7 +8433,7 @@ var taskPair = strictObject({
|
|
|
8429
8433
|
created_at: time
|
|
8430
8434
|
});
|
|
8431
8435
|
|
|
8432
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8436
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
8433
8437
|
var nullableTime = nullable(time);
|
|
8434
8438
|
var link = strictObject({
|
|
8435
8439
|
id,
|
|
@@ -8603,7 +8607,7 @@ var taskReview = strictObject({
|
|
|
8603
8607
|
untrusted
|
|
8604
8608
|
});
|
|
8605
8609
|
|
|
8606
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8610
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
8607
8611
|
var template = strictObject({
|
|
8608
8612
|
key: text,
|
|
8609
8613
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -8615,7 +8619,7 @@ var template = strictObject({
|
|
|
8615
8619
|
updated_by: nullable(text)
|
|
8616
8620
|
});
|
|
8617
8621
|
|
|
8618
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8622
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
8619
8623
|
var topic = strictObject({
|
|
8620
8624
|
id,
|
|
8621
8625
|
title: text,
|
|
@@ -8629,7 +8633,7 @@ var topic = strictObject({
|
|
|
8629
8633
|
untrusted
|
|
8630
8634
|
});
|
|
8631
8635
|
|
|
8632
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8636
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
8633
8637
|
var ENTITIES = {
|
|
8634
8638
|
sync_progress: progress,
|
|
8635
8639
|
deal,
|
|
@@ -8928,7 +8932,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
8928
8932
|
return [name, definition];
|
|
8929
8933
|
})), "entityDefinitions");
|
|
8930
8934
|
|
|
8931
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8935
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
8932
8936
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
8933
8937
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
8934
8938
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -8962,7 +8966,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
8962
8966
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
8963
8967
|
}, "answerRow");
|
|
8964
8968
|
|
|
8965
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8969
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
8966
8970
|
var where = [{ field: "ref" }];
|
|
8967
8971
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
8968
8972
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -9054,7 +9058,7 @@ var STATUS_ROWS = {
|
|
|
9054
9058
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
9055
9059
|
};
|
|
9056
9060
|
|
|
9057
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9061
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
9058
9062
|
var TEXT_CHARS = 400;
|
|
9059
9063
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
9060
9064
|
var messageRow = {
|
|
@@ -9422,7 +9426,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
9422
9426
|
return lines.concat(footerOf(body)).join("\n");
|
|
9423
9427
|
}, "compactText");
|
|
9424
9428
|
|
|
9425
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9429
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
9426
9430
|
var named2 = /* @__PURE__ */ __name((work) => {
|
|
9427
9431
|
try {
|
|
9428
9432
|
return work();
|
|
@@ -9449,7 +9453,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named2(() => {
|
|
|
9449
9453
|
return projectFields(value, fields);
|
|
9450
9454
|
}), "projectFields");
|
|
9451
9455
|
|
|
9452
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9456
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
9453
9457
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
9454
9458
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
9455
9459
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -9487,7 +9491,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
9487
9491
|
progress: "sync.progress"
|
|
9488
9492
|
};
|
|
9489
9493
|
|
|
9490
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9494
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
9491
9495
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
9492
9496
|
const recording = startRecording(options);
|
|
9493
9497
|
try {
|
|
@@ -9702,7 +9706,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
9702
9706
|
return void 0;
|
|
9703
9707
|
}, "partialOutcome");
|
|
9704
9708
|
|
|
9705
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9709
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
|
|
9706
9710
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
9707
9711
|
var requests = new AsyncLocalStorage();
|
|
9708
9712
|
var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
|
|
@@ -9717,7 +9721,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
|
|
|
9717
9721
|
return direct;
|
|
9718
9722
|
}, "exitCodeSet");
|
|
9719
9723
|
|
|
9720
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9724
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
9721
9725
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
9722
9726
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
9723
9727
|
messageId: message2.id,
|
|
@@ -9823,7 +9827,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
9823
9827
|
}, "guardedWrite");
|
|
9824
9828
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
9825
9829
|
|
|
9826
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9830
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
9827
9831
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
9828
9832
|
if (ms2 === void 0)
|
|
9829
9833
|
return body();
|
|
@@ -9849,7 +9853,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
9849
9853
|
}
|
|
9850
9854
|
}, "withDeadline");
|
|
9851
9855
|
|
|
9852
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9856
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
9853
9857
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
9854
9858
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
9855
9859
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -10032,7 +10036,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
10032
10036
|
}
|
|
10033
10037
|
}, "withAbort");
|
|
10034
10038
|
|
|
10035
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10039
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
10036
10040
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
10037
10041
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
10038
10042
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -10119,7 +10123,7 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
10119
10123
|
return void 0;
|
|
10120
10124
|
}, "sampleCommand");
|
|
10121
10125
|
|
|
10122
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10126
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
10123
10127
|
var model2 = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
10124
10128
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
10125
10129
|
var AI_FIELDS = {
|
|
@@ -10163,7 +10167,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
10163
10167
|
};
|
|
10164
10168
|
}, "resolveAISettings");
|
|
10165
10169
|
|
|
10166
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10170
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
10167
10171
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
10168
10172
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
10169
10173
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -10177,7 +10181,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
10177
10181
|
return ms2;
|
|
10178
10182
|
}, "parseDuration");
|
|
10179
10183
|
|
|
10180
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10184
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
10181
10185
|
import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync as readFileSync2 } from "node:fs";
|
|
10182
10186
|
import { join as join2 } from "node:path";
|
|
10183
10187
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -10266,7 +10270,7 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
10266
10270
|
return readdirSync2(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
10267
10271
|
}, "registryProfiles");
|
|
10268
10272
|
|
|
10269
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10273
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
10270
10274
|
import { readFileSync as readFileSync3 } from "node:fs";
|
|
10271
10275
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10272
10276
|
var SECTIONS = ["personal", "bot"];
|
|
@@ -10562,7 +10566,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
10562
10566
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
10563
10567
|
}, "readConfigFile");
|
|
10564
10568
|
|
|
10565
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10569
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
10566
10570
|
import { existsSync as existsSync3, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync } from "node:fs";
|
|
10567
10571
|
import { dirname as dirname2, join as join3 } from "node:path";
|
|
10568
10572
|
var DEFAULT_CONFIG = {
|
|
@@ -10591,7 +10595,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
10591
10595
|
}
|
|
10592
10596
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
10593
10597
|
|
|
10594
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10598
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
10595
10599
|
import { existsSync as existsSync4, readdirSync as readdirSync3, readFileSync as readFileSync4 } from "node:fs";
|
|
10596
10600
|
import { join as join4 } from "node:path";
|
|
10597
10601
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join4(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -10613,7 +10617,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
10613
10617
|
}, "profilesWithAccounts");
|
|
10614
10618
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
10615
10619
|
|
|
10616
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10620
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
10617
10621
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10618
10622
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
10619
10623
|
const path2 = key.split(".");
|
|
@@ -10646,10 +10650,10 @@ var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((settin
|
|
|
10646
10650
|
};
|
|
10647
10651
|
}), "settingRows");
|
|
10648
10652
|
|
|
10649
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10653
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
10650
10654
|
import { existsSync as existsSync5 } from "node:fs";
|
|
10651
10655
|
|
|
10652
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10656
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
10653
10657
|
var HISTORY_MAX_DAYS = 1095;
|
|
10654
10658
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
10655
10659
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -10696,7 +10700,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
10696
10700
|
return { batch: { ...batch, messages }, skipped };
|
|
10697
10701
|
}, "limitBatch");
|
|
10698
10702
|
|
|
10699
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10703
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
10700
10704
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
10701
10705
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
10702
10706
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -11222,50 +11226,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
11222
11226
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
11223
11227
|
}, "given");
|
|
11224
11228
|
|
|
11225
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11226
|
-
var DEADLINE_MARGIN_MS = 5e3;
|
|
11227
|
-
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
11228
|
-
var DEFAULT_REQUEST_MS = 2e3;
|
|
11229
|
-
var deadlineMargin = /* @__PURE__ */ __name((deadline) => Math.max(DEADLINE_MARGIN_MS, deadline.ms * DEADLINE_MARGIN_SHARE), "deadlineMargin");
|
|
11230
|
-
var requestsFor = /* @__PURE__ */ __name((deadline, requestMs = DEFAULT_REQUEST_MS) => deadline === void 0 ? null : Math.max(1, Math.floor((deadline.ms - deadlineMargin(deadline)) / requestMs)), "requestsFor");
|
|
11231
|
-
var runBudget = /* @__PURE__ */ __name(({ requests: requests2, deadline, requestMs, signal, now = Date.now } = {}) => {
|
|
11232
|
-
const fits = requestsFor(deadline, requestMs);
|
|
11233
|
-
const limit = fits === null ? requests2 ?? null : Math.min(fits, requests2 ?? fits);
|
|
11234
|
-
const margin = deadline ? deadlineMargin(deadline) : 0;
|
|
11235
|
-
let used = 0;
|
|
11236
|
-
let stopped2 = null;
|
|
11237
|
-
let last;
|
|
11238
|
-
let slowest = 0;
|
|
11239
|
-
return {
|
|
11240
|
-
take() {
|
|
11241
|
-
if (stopped2)
|
|
11242
|
-
return stopped2;
|
|
11243
|
-
const at2 = now();
|
|
11244
|
-
if (last !== void 0)
|
|
11245
|
-
slowest = Math.max(slowest, at2 - last);
|
|
11246
|
-
if (signal?.aborted)
|
|
11247
|
-
stopped2 = "cancelled";
|
|
11248
|
-
else if (limit !== null && used >= limit)
|
|
11249
|
-
stopped2 = "requests";
|
|
11250
|
-
else if (deadline && at2 + margin + slowest >= deadline.endsAt)
|
|
11251
|
-
stopped2 = "deadline";
|
|
11252
|
-
if (stopped2)
|
|
11253
|
-
return stopped2;
|
|
11254
|
-
used += 1;
|
|
11255
|
-
last = at2;
|
|
11256
|
-
return null;
|
|
11257
|
-
},
|
|
11258
|
-
get used() {
|
|
11259
|
-
return used;
|
|
11260
|
-
},
|
|
11261
|
-
limit,
|
|
11262
|
-
get stopped() {
|
|
11263
|
-
return stopped2;
|
|
11264
|
-
}
|
|
11265
|
-
};
|
|
11266
|
-
}, "runBudget");
|
|
11267
|
-
|
|
11268
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
11229
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
11269
11230
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
11270
11231
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
11271
11232
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -11301,7 +11262,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
11301
11262
|
return value;
|
|
11302
11263
|
}, "atDetail");
|
|
11303
11264
|
|
|
11304
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11265
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/output.js
|
|
11305
11266
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
11306
11267
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
11307
11268
|
if (other)
|
|
@@ -11365,7 +11326,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
|
|
|
11365
11326
|
}, "warn")
|
|
11366
11327
|
}), "silence");
|
|
11367
11328
|
|
|
11368
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11329
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
11369
11330
|
var runBudgetOf = /* @__PURE__ */ __name((command, requests2) => {
|
|
11370
11331
|
const { deadline, signal, app } = environmentOf(command);
|
|
11371
11332
|
const now = deadline?.();
|
|
@@ -11511,7 +11472,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
11511
11472
|
return words.join(" ");
|
|
11512
11473
|
}, "commandPath");
|
|
11513
11474
|
|
|
11514
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11475
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
11515
11476
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
11516
11477
|
var FETCH = { remote: "read", local: "write" };
|
|
11517
11478
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -11663,7 +11624,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
11663
11624
|
throw readOnlyRefusal(lock, what);
|
|
11664
11625
|
}, "refuseUnderReadOnly");
|
|
11665
11626
|
|
|
11666
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11627
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11667
11628
|
import { join as join5 } from "node:path";
|
|
11668
11629
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11669
11630
|
var IMAGE_MODELS = [
|
|
@@ -11717,7 +11678,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11717
11678
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join5(directory, model3.id, file.name)]), "placedImage");
|
|
11718
11679
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11719
11680
|
|
|
11720
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11681
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11721
11682
|
var STEPS2 = defineSteps([
|
|
11722
11683
|
...STEPS,
|
|
11723
11684
|
{
|
|
@@ -12007,7 +11968,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
12007
11968
|
].join(" ");
|
|
12008
11969
|
}, "stepLine");
|
|
12009
11970
|
|
|
12010
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11971
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
12011
11972
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
12012
11973
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
12013
11974
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -12065,7 +12026,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
12065
12026
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
12066
12027
|
}, "largeAnswerSteps");
|
|
12067
12028
|
|
|
12068
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12029
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
12069
12030
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
12070
12031
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
12071
12032
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -12079,7 +12040,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
12079
12040
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
12080
12041
|
}, "strip");
|
|
12081
12042
|
|
|
12082
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12043
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
|
|
12083
12044
|
var OPEN = "\u27E6";
|
|
12084
12045
|
var CLOSE = "\u27E7";
|
|
12085
12046
|
var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -12163,7 +12124,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
|
|
|
12163
12124
|
return result;
|
|
12164
12125
|
}, "withFieldsMarked");
|
|
12165
12126
|
|
|
12166
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12127
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
12167
12128
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
12168
12129
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
12169
12130
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|