@wirecat/drive-cli 0.47.0 → 0.50.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/dist/age.d.ts +36 -0
- package/dist/age.d.ts.map +1 -1
- package/dist/age.js +17 -0
- package/dist/age.js.map +1 -1
- package/dist/bin/drive.js +2 -2
- package/dist/bundle/{all-profiles-O7CNQ7FO.js → all-profiles-WQTVOCIS.js} +8 -8
- package/dist/bundle/{anthropic-6T67J2CE.js → anthropic-YCA2AWIJ.js} +5 -5
- package/dist/bundle/{app-server-BVBZT3UY.js → app-server-ZQOYUQJH.js} +52 -52
- package/dist/bundle/{bun-O6RL6LRQ.js → bun-5NFIDHGM.js} +2 -2
- package/dist/bundle/{bun-sqlite-54W7JUY3.js → bun-sqlite-OAQE4M2E.js} +4 -4
- package/dist/bundle/{chunk-NLEB26GA.js → chunk-24TOKSZE.js} +2 -2
- package/dist/bundle/{chunk-DL7D6Y3B.js → chunk-2M5XEGVE.js} +3413 -3293
- package/dist/bundle/{chunk-4NGLRHWO.js → chunk-3CQNJKJT.js} +1 -1
- package/dist/bundle/{chunk-CYCQBQBH.js → chunk-3HNUH632.js} +6 -6
- package/dist/bundle/{chunk-5TC3NCAF.js → chunk-3XX52F42.js} +2 -2
- package/dist/bundle/{chunk-R2A3K7ZF.js → chunk-4J7UGHPK.js} +5 -5
- package/dist/bundle/{chunk-GHOWRW7E.js → chunk-4OLWMHS6.js} +10 -3
- package/dist/bundle/{chunk-NDNTLUPS.js → chunk-4SSUKRO4.js} +2 -2
- package/dist/bundle/{chunk-CVIKKIGE.js → chunk-4VLUX3V5.js} +1 -1
- package/dist/bundle/{chunk-AIXLOMH4.js → chunk-53UWCVSU.js} +1 -1
- package/dist/bundle/{chunk-3Z7WSD2A.js → chunk-5OMLYNYB.js} +8 -8
- package/dist/bundle/{chunk-VCYFEWPD.js → chunk-5WN7JHQE.js} +26 -26
- package/dist/bundle/{chunk-GQW4GRYR.js → chunk-5Z63NTC7.js} +6 -6
- package/dist/bundle/{chunk-D67JGWSC.js → chunk-5ZJHQ4TN.js} +7 -4
- package/dist/bundle/{chunk-XF5MFUEB.js → chunk-652YTDT5.js} +15 -15
- package/dist/bundle/{chunk-PJ7IQVOM.js → chunk-6DDXB5WB.js} +2 -2
- package/dist/bundle/{chunk-DXKVEOSS.js → chunk-6E4PFCQ4.js} +1 -1
- package/dist/bundle/{chunk-G3FAOS52.js → chunk-7SYSC7KX.js} +2 -2
- package/dist/bundle/{chunk-BQUPOB5H.js → chunk-AO3NCZNT.js} +8 -8
- package/dist/bundle/{chunk-U2OD7MKK.js → chunk-BUALWXBT.js} +1 -1
- package/dist/bundle/{chunk-OWXTPXIQ.js → chunk-C4PNAHI4.js} +11 -11
- package/dist/bundle/{recognize-IFXOJHEA.js → chunk-CCEVICWU.js} +7 -7
- package/dist/bundle/{chunk-IGMRWQP3.js → chunk-CEUEXMIR.js} +86 -35
- package/dist/bundle/{chunk-5MGIL5LW.js → chunk-CTIQ77AB.js} +20 -17
- package/dist/bundle/{chunk-VHQNVG3J.js → chunk-DTHWL5YU.js} +5 -5
- package/dist/bundle/{chunk-67BQ3XMH.js → chunk-E656DAZT.js} +1 -1
- package/dist/bundle/{chunk-WUFCYDKB.js → chunk-EXYEDKTX.js} +2 -2
- package/dist/bundle/{chunk-BJ3JRO34.js → chunk-EY4CUQW2.js} +7 -7
- package/dist/bundle/{chunk-QW36EOAM.js → chunk-FABKIQ24.js} +2 -2
- package/dist/bundle/{chunk-SMHQA5J6.js → chunk-FSAM4Y2S.js} +15 -8
- package/dist/bundle/{chunk-R2QRP7EJ.js → chunk-G75FZQAZ.js} +13 -9
- package/dist/bundle/{chunk-VHT2WI4I.js → chunk-HGWMX7BM.js} +101 -73
- package/dist/bundle/{chunk-44FV5JAS.js → chunk-HURI56SB.js} +21 -21
- package/dist/bundle/{chunk-GWPKIRNQ.js → chunk-IA6LNKCF.js} +5 -5
- package/dist/bundle/{chunk-LHIL46I3.js → chunk-IFM2APQB.js} +2 -2
- package/dist/bundle/{chunk-BEXHAGXH.js → chunk-IGG4RBIZ.js} +170 -146
- package/dist/bundle/{chunk-PDBBBUY7.js → chunk-INVF3GXW.js} +10 -10
- package/dist/bundle/{chunk-KADPV4YA.js → chunk-IUZ4PT2V.js} +2 -2
- package/dist/bundle/{chunk-K74PQVQZ.js → chunk-JA2YY7D4.js} +7 -7
- package/dist/bundle/{chunk-K7FRUB33.js → chunk-JHBX53SK.js} +35 -35
- package/dist/bundle/{chunk-QTJUH3LS.js → chunk-JSMPSOEM.js} +3 -3
- package/dist/bundle/{chunk-PH74B2VZ.js → chunk-KEQ35HQQ.js} +3 -3
- package/dist/bundle/{chunk-NW7IMGRR.js → chunk-KYMGVMOS.js} +1 -1
- package/dist/bundle/{chunk-AOOD3RMK.js → chunk-KZEOWOZV.js} +7 -7
- package/dist/bundle/{chunk-VYBOYBLX.js → chunk-LNWRRK2H.js} +6 -6
- package/dist/bundle/{chunk-RCS2SCX5.js → chunk-M2D4FXKY.js} +5 -5
- package/dist/bundle/{chunk-KJMBV574.js → chunk-M6FQOGUW.js} +392 -319
- package/dist/bundle/{chunk-GOR3Z2FR.js → chunk-MMOG7ZVF.js} +2 -2
- package/dist/bundle/{chunk-RJ633GFA.js → chunk-NHRJW3PH.js} +2 -2
- package/dist/bundle/{chunk-MFS52LTZ.js → chunk-OKSS7YUN.js} +1 -1
- package/dist/bundle/{chunk-ZBM4GEV2.js → chunk-OL22OOIW.js} +4 -4
- package/dist/bundle/{chunk-BHE7ZY2N.js → chunk-OQEBGY74.js} +74 -46
- package/dist/bundle/{chunk-MAXN7COO.js → chunk-P3T2SZW2.js} +1 -1
- package/dist/bundle/{chunk-LJARCTGL.js → chunk-P6VN5UB4.js} +4 -4
- package/dist/bundle/{chunk-A3FU4RR6.js → chunk-PNUS224S.js} +4 -4
- package/dist/bundle/{chunk-JVTVAZ5X.js → chunk-POD2GHQB.js} +58 -19
- package/dist/bundle/{chunk-FEULDMWM.js → chunk-Q27HCATD.js} +1980 -1557
- package/dist/bundle/{chunk-4DW6QGEV.js → chunk-Q3VG3UYV.js} +11 -11
- package/dist/bundle/{chunk-AUS6TKP5.js → chunk-QBECV7NO.js} +33 -32
- package/dist/bundle/{chunk-DORXXBFC.js → chunk-QNLD7Y6Z.js} +7 -7
- package/dist/bundle/{chunk-3HRDEJJW.js → chunk-QSDXVUJG.js} +4 -4
- package/dist/bundle/{chunk-GNFHZZ55.js → chunk-QY3LK3OT.js} +5 -5
- package/dist/bundle/{chunk-CFZWPIVC.js → chunk-R7XMCREL.js} +39 -21
- package/dist/bundle/{chunk-NP3XLLN3.js → chunk-RTIMGPLN.js} +3 -3
- package/dist/bundle/{chunk-SWMMR3FR.js → chunk-T7UZHKAS.js} +2 -2
- package/dist/bundle/{chunk-IKNU5A5Y.js → chunk-TATRMMOG.js} +3 -3
- package/dist/bundle/{chunk-QWSRPXCJ.js → chunk-UVPKSZSC.js} +4 -4
- package/dist/bundle/{chunk-CKR3DVUK.js → chunk-VAETCXRI.js} +54 -26
- package/dist/bundle/{chunk-6T7NSOYC.js → chunk-VAK2Q2XG.js} +14 -14
- package/dist/bundle/{chunk-DDYR6DYL.js → chunk-XEETGCOC.js} +1 -1
- package/dist/bundle/{chunk-XAZQTJXR.js → chunk-XGJUEH5C.js} +27 -27
- package/dist/bundle/{chunk-VAGF723Z.js → chunk-Y73IZWRI.js} +1 -1
- package/dist/bundle/{chunk-2DLAJGRN.js → chunk-YOABRW2M.js} +1 -1
- package/dist/bundle/{chunk-TRMIV3OA.js → chunk-YROVFHPJ.js} +2 -2
- package/dist/bundle/{chunk-NB2N6L3R.js → chunk-Z54E5LKF.js} +6 -6
- package/dist/bundle/{chunk-IAW5A7OR.js → chunk-ZJBRKR42.js} +32 -28
- package/dist/bundle/{chunk-LOTQ2HMT.js → chunk-ZKGYW63J.js} +9 -9
- package/dist/bundle/{chunk-XEBFFKXO.js → chunk-ZP735UUT.js} +3 -3
- package/dist/bundle/{chunk-HEPIOCHN.js → chunk-ZXD2I5ZQ.js} +58 -51
- package/dist/bundle/command-contract-TAWVO2G3.js +38 -0
- package/dist/bundle/decode-YZRTP54O.js +159 -0
- package/dist/bundle/drive.js +7 -7
- package/dist/bundle/{echarts-LD3AI55P.js → echarts-C6HUK2FL.js} +2 -2
- package/dist/bundle/{embed-FJKIIM43.js → embed-QRQ7ITFC.js} +5 -5
- package/dist/bundle/{embedder-NNQ5ZC25.js → embedder-EZDB3JPA.js} +8 -8
- package/dist/bundle/{entry-ZYSNPDSD.js → entry-4WQQKSYG.js} +6 -6
- package/dist/bundle/failure-EEJGMWEP.js +37 -0
- package/dist/bundle/{first-run-KA2UPZAU.js → first-run-ZAS4OV3T.js} +9 -9
- package/dist/bundle/first-screen-6ICWD2N3.js +36 -0
- package/dist/bundle/{google-ZYDFTHLN.js → google-KNILTIDW.js} +9 -9
- package/dist/bundle/google-api-CZACYX5T.js +82 -0
- package/dist/bundle/{identity-7JM62OER.js → identity-VBCGUXT5.js} +2 -2
- package/dist/bundle/{instructions-RZMSW3OC.js → instructions-II4M2WL3.js} +1 -1
- package/dist/bundle/{login-JU6NKW5P.js → login-4JACQVMD.js} +62 -62
- package/dist/bundle/mcp-2BR2EX7L.js +95 -0
- package/dist/bundle/{mcp-KWXNBIAI.js → mcp-6ZIAWU3N.js} +76 -76
- package/dist/bundle/{mcp-OQBZXELQ.js → mcp-ZYZ4DFW2.js} +2 -2
- package/dist/bundle/{node-ZRLYQL7J.js → node-LIN7L4VQ.js} +2 -2
- package/dist/bundle/node-sqlite-VAH4KZN3.js +62 -0
- package/dist/bundle/{oauth-NAIBKERJ.js → oauth-QUE3VCTU.js} +6 -6
- package/dist/bundle/{open-3P5EPXPV.js → open-DQ3EVYPB.js} +3 -3
- package/dist/bundle/{process-LL77573L.js → process-46XDWPVW.js} +1 -1
- package/dist/bundle/{program-VKHR42BF.js → program-X3CZ4XDN.js} +141 -99
- package/dist/bundle/{prompt-3TX2SWOY.js → prompt-SAZYCZV3.js} +4 -4
- package/dist/bundle/{reasons-GF2TYGX6.js → reasons-366PI7OV.js} +3 -3
- package/dist/bundle/recognize-SSBOHOTW.js +22 -0
- package/dist/bundle/{remote-663M42Y5.js → remote-EL3FWCQE.js} +6 -6
- package/dist/bundle/{rerank-OT2F2DBV.js → rerank-RPIQRJIW.js} +6 -6
- package/dist/bundle/{serve-PDNNI6O6.js → serve-AX44DIKK.js} +8 -8
- package/dist/bundle/server-DCJIGUW2.js +56 -0
- package/dist/bundle/server-WWQSQBFT.js +69 -0
- package/dist/bundle/{services-5MCTECBU.js → services-K4UOEMQD.js} +28 -28
- package/dist/bundle/{sqlite-runtime-BF3KDM7W.js → sqlite-runtime-N7N3EYGH.js} +4 -4
- package/dist/bundle/{state-SZX65E74.js → state-C3S5FD7V.js} +5 -5
- package/dist/bundle/{store-TCWNLA3V.js → store-4N3NBUGX.js} +14 -14
- package/dist/bundle/{store-UKPGGAPW.js → store-QV4ZNEQ3.js} +16 -16
- package/dist/bundle/store-maintenance-command-QL4AECBD.js +57 -0
- package/dist/bundle/tokens-Y7HCOXOA.js +103 -0
- package/dist/commands/documents.d.ts +5 -1
- package/dist/commands/documents.d.ts.map +1 -1
- package/dist/commands/documents.js +11 -5
- package/dist/commands/documents.js.map +1 -1
- package/dist/commands/remote.d.ts +8 -0
- package/dist/commands/remote.d.ts.map +1 -1
- package/dist/commands/remote.js +16 -0
- package/dist/commands/remote.js.map +1 -1
- package/dist/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +10 -2
- package/dist/commands/session.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +4 -1
- package/dist/program.js.map +1 -1
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +2 -2
- package/dist/tokens.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-MXCBV3GJ.js +0 -38
- package/dist/bundle/failure-KZDBSYBR.js +0 -37
- package/dist/bundle/first-screen-VQ3RXDMF.js +0 -36
- package/dist/bundle/google-api-2GT5PAW2.js +0 -82
- package/dist/bundle/mcp-JOQMFGBC.js +0 -95
- package/dist/bundle/node-sqlite-TXPSRROT.js +0 -46
- package/dist/bundle/server-BFOEPMR7.js +0 -56
- package/dist/bundle/server-K566PJ7H.js +0 -69
- package/dist/bundle/store-maintenance-command-QHLUVBTJ.js +0 -57
- package/dist/bundle/tokens-DFCFRF7I.js +0 -103
- /package/dist/bundle/{chunk-O5EHUB2V.js → chunk-2WNDZFGG.js} +0 -0
- /package/dist/bundle/{chunk-Q2Z3VCM4.js → chunk-VDZZ46RT.js} +0 -0
|
@@ -3,10 +3,10 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
recordLogFor,
|
|
5
5
|
storeTable
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-QBECV7NO.js";
|
|
7
7
|
import {
|
|
8
8
|
carries
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-53UWCVSU.js";
|
|
10
10
|
import {
|
|
11
11
|
WEIGHTS,
|
|
12
12
|
agenda,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
conversation,
|
|
17
17
|
tagging,
|
|
18
18
|
task
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-R7XMCREL.js";
|
|
20
20
|
import {
|
|
21
21
|
author,
|
|
22
22
|
count,
|
|
@@ -29,10 +29,10 @@ import {
|
|
|
29
29
|
text,
|
|
30
30
|
time,
|
|
31
31
|
untrusted
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-OL22OOIW.js";
|
|
33
33
|
import {
|
|
34
34
|
envName
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-NHRJW3PH.js";
|
|
36
36
|
import {
|
|
37
37
|
FACT_STATUSES,
|
|
38
38
|
FACT_TYPES,
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
TASK_TYPES,
|
|
49
49
|
TASK_VERDICTS,
|
|
50
50
|
WORK_TASK_TYPES
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-Z54E5LKF.js";
|
|
52
52
|
import {
|
|
53
53
|
MEETING_RESULT_ENTITIES,
|
|
54
54
|
event,
|
|
@@ -64,11 +64,11 @@ import {
|
|
|
64
64
|
meetingStats,
|
|
65
65
|
meetingSummary,
|
|
66
66
|
meetingTranscript
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-OQEBGY74.js";
|
|
68
68
|
import {
|
|
69
69
|
resolvePaths,
|
|
70
70
|
writeSecurely
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-HGWMX7BM.js";
|
|
72
72
|
import {
|
|
73
73
|
CliError,
|
|
74
74
|
array,
|
|
@@ -102,12 +102,12 @@ import {
|
|
|
102
102
|
unknown,
|
|
103
103
|
unwrap,
|
|
104
104
|
variant
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-EY4CUQW2.js";
|
|
106
106
|
import {
|
|
107
107
|
__name
|
|
108
108
|
} from "./chunk-ZVVMGPBJ.js";
|
|
109
109
|
|
|
110
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
110
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
111
111
|
var member = strictObject({
|
|
112
112
|
id,
|
|
113
113
|
name: nullable(text),
|
|
@@ -130,7 +130,7 @@ var member = strictObject({
|
|
|
130
130
|
check: optional(record(string(), unknown()))
|
|
131
131
|
});
|
|
132
132
|
|
|
133
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
133
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
134
134
|
var setting = optional(nullable(boolean()));
|
|
135
135
|
var chat = strictObject({
|
|
136
136
|
ref: reference,
|
|
@@ -171,7 +171,7 @@ var chat = strictObject({
|
|
|
171
171
|
members: optional(array(member))
|
|
172
172
|
});
|
|
173
173
|
|
|
174
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
174
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
175
175
|
var botProfile = strictObject({
|
|
176
176
|
name: text,
|
|
177
177
|
token: text,
|
|
@@ -238,7 +238,7 @@ var stickerInventory = strictObject({
|
|
|
238
238
|
url: optional(nullable(text))
|
|
239
239
|
});
|
|
240
240
|
|
|
241
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
241
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
242
242
|
var actionableError = objectWithRest({
|
|
243
243
|
code: text,
|
|
244
244
|
message: text,
|
|
@@ -255,7 +255,7 @@ var batchResult = strictObject({
|
|
|
255
255
|
max_error_percent: count
|
|
256
256
|
});
|
|
257
257
|
|
|
258
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
258
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
259
259
|
var conversationBuild = strictObject({
|
|
260
260
|
chat: id,
|
|
261
261
|
messages: count,
|
|
@@ -280,13 +280,13 @@ var catchUpPreparation = strictObject({
|
|
|
280
280
|
prepared: optional(conversationPreparation)
|
|
281
281
|
});
|
|
282
282
|
|
|
283
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
283
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
284
284
|
import { spawn } from "node:child_process";
|
|
285
285
|
import { randomBytes } from "node:crypto";
|
|
286
286
|
import { closeSync, existsSync, mkdirSync, openSync, readdirSync, readFileSync, realpathSync, rmSync } from "node:fs";
|
|
287
287
|
import { dirname, join } from "node:path";
|
|
288
288
|
|
|
289
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
289
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
290
290
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
291
291
|
const total = input.total ?? null;
|
|
292
292
|
const updated = input.updatedAt ?? null;
|
|
@@ -302,7 +302,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
302
302
|
};
|
|
303
303
|
}, "progressOf");
|
|
304
304
|
|
|
305
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
305
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
306
306
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
307
307
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
308
308
|
const out = openSync(log, "a", 384);
|
|
@@ -457,7 +457,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
457
457
|
return { job: id6, pid, chat: input.chat, log };
|
|
458
458
|
}, "startArchiveJob");
|
|
459
459
|
|
|
460
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
460
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
461
461
|
var problem = strictObject({ code: text, message: text });
|
|
462
462
|
var job = strictObject({
|
|
463
463
|
id,
|
|
@@ -480,7 +480,7 @@ var job = strictObject({
|
|
|
480
480
|
error: optional(problem)
|
|
481
481
|
});
|
|
482
482
|
|
|
483
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
483
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
484
484
|
var quoted = strictObject({
|
|
485
485
|
id,
|
|
486
486
|
sender_id: nullable(id),
|
|
@@ -539,6 +539,17 @@ var message = strictObject({
|
|
|
539
539
|
})),
|
|
540
540
|
/** The messages around a search hit, or its thread, oldest first; the hit itself is among them. */
|
|
541
541
|
context: optional(array(strictObject({ ref: reference, timestamp: time, sender_name: nullable(text), text }))),
|
|
542
|
+
/**
|
|
543
|
+
* A discovery hit's later messages, from any chat the search reads, that share a rare word with it, latest first:
|
|
544
|
+
* one may change or cancel what the hit says.
|
|
545
|
+
*/
|
|
546
|
+
follow_ups: optional(array(strictObject({
|
|
547
|
+
ref: reference,
|
|
548
|
+
chat_title: nullable(text),
|
|
549
|
+
timestamp: time,
|
|
550
|
+
sender_name: nullable(text),
|
|
551
|
+
text
|
|
552
|
+
}))),
|
|
542
553
|
outgoing: nullable(boolean()),
|
|
543
554
|
attachments: array(attachment),
|
|
544
555
|
reply_to: nullable(quoted),
|
|
@@ -576,7 +587,7 @@ var message = strictObject({
|
|
|
576
587
|
provider_metadata: providerMetadata
|
|
577
588
|
});
|
|
578
589
|
|
|
579
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
590
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
580
591
|
var extractionItem = strictObject({
|
|
581
592
|
ref: reference,
|
|
582
593
|
attachment: count,
|
|
@@ -609,7 +620,7 @@ var extractionReport = strictObject({
|
|
|
609
620
|
cursor: optional(text)
|
|
610
621
|
});
|
|
611
622
|
|
|
612
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
623
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
613
624
|
var savedMessageFile = strictObject({
|
|
614
625
|
kind: text,
|
|
615
626
|
path: text,
|
|
@@ -688,7 +699,7 @@ var messageSyncAll = strictObject({
|
|
|
688
699
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
689
700
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
690
701
|
|
|
691
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
702
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
692
703
|
var range = strictObject({ from: number(), to: number() });
|
|
693
704
|
var storeChatStatus = strictObject({
|
|
694
705
|
chat_id: id,
|
|
@@ -779,7 +790,7 @@ var storeJobRetry = union([
|
|
|
779
790
|
]);
|
|
780
791
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
781
792
|
|
|
782
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
793
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
783
794
|
var account = strictObject({
|
|
784
795
|
provider: text,
|
|
785
796
|
id,
|
|
@@ -789,7 +800,7 @@ var account = strictObject({
|
|
|
789
800
|
scope: optional(picklist(["personal", "work"]))
|
|
790
801
|
});
|
|
791
802
|
|
|
792
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
803
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
793
804
|
var accountSession = strictObject({
|
|
794
805
|
current: boolean(),
|
|
795
806
|
client: nullable(text),
|
|
@@ -799,7 +810,7 @@ var accountSession = strictObject({
|
|
|
799
810
|
created_at: optional(nullable(time))
|
|
800
811
|
});
|
|
801
812
|
|
|
802
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
813
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
803
814
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
804
815
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
805
816
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -817,7 +828,7 @@ var accountPrivacy = strictObject({
|
|
|
817
828
|
});
|
|
818
829
|
var accountPrivacyChange = strictObject({ operation_id: id, privacy: accountPrivacy });
|
|
819
830
|
|
|
820
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
831
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
821
832
|
var accountProfile = strictObject({
|
|
822
833
|
profile: id,
|
|
823
834
|
current: boolean(),
|
|
@@ -827,7 +838,7 @@ var accountProfile = strictObject({
|
|
|
827
838
|
signed_in: optional(boolean())
|
|
828
839
|
});
|
|
829
840
|
|
|
830
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
841
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
831
842
|
var milliseconds = pipe(number(), minValue(0));
|
|
832
843
|
var counterReading = strictObject({
|
|
833
844
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -839,7 +850,7 @@ var counterReading = strictObject({
|
|
|
839
850
|
});
|
|
840
851
|
var selection = record(string(), unknown());
|
|
841
852
|
|
|
842
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
853
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
843
854
|
var adminRow = strictObject({
|
|
844
855
|
ref: reference,
|
|
845
856
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -892,11 +903,11 @@ var adminReport = strictObject({
|
|
|
892
903
|
rows: array(adminRow)
|
|
893
904
|
});
|
|
894
905
|
|
|
895
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
906
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
896
907
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
897
908
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
898
909
|
|
|
899
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
910
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
900
911
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
901
912
|
var attachmentBytes = strictObject({
|
|
902
913
|
ref: reference,
|
|
@@ -924,7 +935,7 @@ var attachmentTextChange = strictObject({
|
|
|
924
935
|
replaced: nullable(picklist(["extracted", "agent"]))
|
|
925
936
|
});
|
|
926
937
|
|
|
927
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
938
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
928
939
|
var chart = strictObject({
|
|
929
940
|
version: literal(1),
|
|
930
941
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -939,7 +950,7 @@ var chart = strictObject({
|
|
|
939
950
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
940
951
|
});
|
|
941
952
|
|
|
942
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
953
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
943
954
|
var named = strictObject({
|
|
944
955
|
id,
|
|
945
956
|
title: nullable(text),
|
|
@@ -962,7 +973,7 @@ var folder = strictObject({
|
|
|
962
973
|
excluded_chats: optional(array(named))
|
|
963
974
|
});
|
|
964
975
|
|
|
965
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
976
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
966
977
|
var inviteLink = strictObject({
|
|
967
978
|
link: text,
|
|
968
979
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -978,7 +989,7 @@ var inviteLink = strictObject({
|
|
|
978
989
|
joined_count: optional(count)
|
|
979
990
|
});
|
|
980
991
|
|
|
981
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
992
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
982
993
|
var operated = { operation_id: id, chat_id: id };
|
|
983
994
|
var group = strictObject({
|
|
984
995
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -1058,7 +1069,7 @@ var chatFolderOrder = strictObject({
|
|
|
1058
1069
|
folders: array(strictObject({ id, title: text }))
|
|
1059
1070
|
});
|
|
1060
1071
|
|
|
1061
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1072
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
1062
1073
|
var operated2 = { operation_id: id, chat_id: id };
|
|
1063
1074
|
var chatRemoval = strictObject(operated2);
|
|
1064
1075
|
var chatMuting = strictObject({
|
|
@@ -1069,7 +1080,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
1069
1080
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
1070
1081
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
1071
1082
|
|
|
1072
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1083
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
1073
1084
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
1074
1085
|
var chatEvent = strictObject({
|
|
1075
1086
|
chat_id: id,
|
|
@@ -1086,7 +1097,7 @@ var chatEvent = strictObject({
|
|
|
1086
1097
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
1087
1098
|
});
|
|
1088
1099
|
|
|
1089
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1100
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
1090
1101
|
var chatMetadata = strictObject({
|
|
1091
1102
|
chat_id: id,
|
|
1092
1103
|
title: nullable(text),
|
|
@@ -1101,7 +1112,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
1101
1112
|
has_more: boolean()
|
|
1102
1113
|
});
|
|
1103
1114
|
|
|
1104
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1115
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
1105
1116
|
var action = picklist(["report", "delete", "remove"]);
|
|
1106
1117
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
1107
1118
|
var chatRules = strictObject({
|
|
@@ -1138,7 +1149,7 @@ var chatModeration = strictObject({
|
|
|
1138
1149
|
}))
|
|
1139
1150
|
});
|
|
1140
1151
|
|
|
1141
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1152
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
1142
1153
|
var optionalCount = optional(count);
|
|
1143
1154
|
var minutes = nullable(number());
|
|
1144
1155
|
var chatStats = strictObject({
|
|
@@ -1200,7 +1211,7 @@ var taskStats = strictObject({
|
|
|
1200
1211
|
}))
|
|
1201
1212
|
});
|
|
1202
1213
|
|
|
1203
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1214
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
1204
1215
|
var memberCount = strictObject({
|
|
1205
1216
|
day: pipe(text, isoDate()),
|
|
1206
1217
|
participants: nullable(count),
|
|
@@ -1223,7 +1234,45 @@ var chatTracking = strictObject({
|
|
|
1223
1234
|
tracked: boolean()
|
|
1224
1235
|
});
|
|
1225
1236
|
|
|
1226
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1237
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
1238
|
+
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
1239
|
+
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
1240
|
+
var profileFields = {
|
|
1241
|
+
usernames: array(text),
|
|
1242
|
+
birthday: optional(nullable(text)),
|
|
1243
|
+
phone: optional(nullable(text)),
|
|
1244
|
+
flags: partial(strictObject({
|
|
1245
|
+
bot: boolean(),
|
|
1246
|
+
verified: boolean(),
|
|
1247
|
+
premium: boolean(),
|
|
1248
|
+
scam: boolean(),
|
|
1249
|
+
fake: boolean(),
|
|
1250
|
+
restricted: boolean(),
|
|
1251
|
+
deleted: boolean(),
|
|
1252
|
+
support: boolean()
|
|
1253
|
+
})),
|
|
1254
|
+
seen: optional(text),
|
|
1255
|
+
contact: optional(boolean()),
|
|
1256
|
+
mutual_contact: optional(boolean()),
|
|
1257
|
+
common_chats_count: optional(nullable(count)),
|
|
1258
|
+
registered: optional(nullable(strictObject({
|
|
1259
|
+
at: text,
|
|
1260
|
+
source: picklist(["telegram", "max", "estimate"]),
|
|
1261
|
+
precision: picklist(["day", "month"])
|
|
1262
|
+
}))),
|
|
1263
|
+
has_photo: optional(boolean()),
|
|
1264
|
+
/** Earlier names and usernames, oldest first; the current ones are not repeated. */
|
|
1265
|
+
aliases: array(strictObject({
|
|
1266
|
+
name: optional(text),
|
|
1267
|
+
username: optional(text),
|
|
1268
|
+
link: optional(text),
|
|
1269
|
+
first_seen_at: time,
|
|
1270
|
+
last_seen_at: time,
|
|
1271
|
+
source: picklist(["profile", "messages"])
|
|
1272
|
+
}))
|
|
1273
|
+
};
|
|
1274
|
+
|
|
1275
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
1227
1276
|
var contact = strictObject({
|
|
1228
1277
|
ref: reference,
|
|
1229
1278
|
id,
|
|
@@ -1238,13 +1287,23 @@ var contact = strictObject({
|
|
|
1238
1287
|
/** For a source that knows it, such as a Zoom contact. */
|
|
1239
1288
|
email: optional(nullable(text)),
|
|
1240
1289
|
phones: optional(array(strictObject({ number: text, label: nullable(text) }))),
|
|
1241
|
-
/** `contacts show`: the chats shared with them. */
|
|
1242
|
-
chats: optional(array(
|
|
1290
|
+
/** `contacts show`: the chats shared with them, and what the store holds of their messages in each. */
|
|
1291
|
+
chats: optional(array(strictObject({
|
|
1292
|
+
...pick(chat, ["ref", "id", "title", "kind", "last_message_at"]).entries,
|
|
1293
|
+
/** Their messages stored; a floor unless `complete`. */
|
|
1294
|
+
their_messages: optional(count),
|
|
1295
|
+
first_at: optional(nullable(time)),
|
|
1296
|
+
last_at: optional(nullable(time)),
|
|
1297
|
+
/** The store holds the whole chat, so the count is the real one. */
|
|
1298
|
+
complete: optional(boolean())
|
|
1299
|
+
}))),
|
|
1300
|
+
/** `contacts show`: what the messenger says about them, or with `--offline` what the store saw of them. */
|
|
1301
|
+
...partial(strictObject(profileFields)).entries,
|
|
1243
1302
|
/** `contacts show --with-notes`: the owner's private notes about them. */
|
|
1244
1303
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
1245
1304
|
});
|
|
1246
1305
|
|
|
1247
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1306
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
1248
1307
|
var linkedIdentity = strictObject({
|
|
1249
1308
|
provider: text,
|
|
1250
1309
|
id,
|
|
@@ -1285,7 +1344,7 @@ var contactCheck = strictObject({
|
|
|
1285
1344
|
checked_at: time
|
|
1286
1345
|
});
|
|
1287
1346
|
|
|
1288
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1347
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
1289
1348
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
1290
1349
|
var contextMessage = strictObject({
|
|
1291
1350
|
locator: reference,
|
|
@@ -1483,7 +1542,7 @@ var contactPreparation = strictObject({
|
|
|
1483
1542
|
})
|
|
1484
1543
|
});
|
|
1485
1544
|
|
|
1486
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1545
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
1487
1546
|
var contactNote = strictObject({
|
|
1488
1547
|
id,
|
|
1489
1548
|
/** The contact, as a `contact:` reference. */
|
|
@@ -1495,62 +1554,13 @@ var contactNote = strictObject({
|
|
|
1495
1554
|
updated_at: time
|
|
1496
1555
|
});
|
|
1497
1556
|
|
|
1498
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1499
|
-
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
1500
|
-
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
1501
|
-
var contactProfile = strictObject({
|
|
1502
|
-
id,
|
|
1503
|
-
name: nullable(text),
|
|
1504
|
-
usernames: array(text),
|
|
1505
|
-
bio: nullable(text),
|
|
1506
|
-
birthday: optional(nullable(text)),
|
|
1507
|
-
phone: optional(nullable(text)),
|
|
1508
|
-
flags: partial(strictObject({
|
|
1509
|
-
bot: boolean(),
|
|
1510
|
-
verified: boolean(),
|
|
1511
|
-
premium: boolean(),
|
|
1512
|
-
scam: boolean(),
|
|
1513
|
-
fake: boolean(),
|
|
1514
|
-
restricted: boolean(),
|
|
1515
|
-
deleted: boolean(),
|
|
1516
|
-
support: boolean()
|
|
1517
|
-
})),
|
|
1518
|
-
seen: optional(text),
|
|
1519
|
-
contact: optional(boolean()),
|
|
1520
|
-
mutual_contact: optional(boolean()),
|
|
1521
|
-
common_chats_count: optional(nullable(count)),
|
|
1522
|
-
registered: optional(nullable(strictObject({
|
|
1523
|
-
at: text,
|
|
1524
|
-
source: picklist(["telegram", "max", "estimate"]),
|
|
1525
|
-
precision: picklist(["day", "month"])
|
|
1526
|
-
}))),
|
|
1527
|
-
has_photo: optional(boolean()),
|
|
1528
|
-
chats: array(strictObject({
|
|
1529
|
-
id,
|
|
1530
|
-
title: nullable(text),
|
|
1531
|
-
kind: chat.entries.kind,
|
|
1532
|
-
their_messages: count,
|
|
1533
|
-
first_at: nullable(time),
|
|
1534
|
-
last_at: nullable(time),
|
|
1535
|
-
complete: boolean()
|
|
1536
|
-
})),
|
|
1537
|
-
aliases: array(strictObject({
|
|
1538
|
-
name: optional(text),
|
|
1539
|
-
username: optional(text),
|
|
1540
|
-
link: optional(text),
|
|
1541
|
-
first_seen_at: time,
|
|
1542
|
-
last_seen_at: time,
|
|
1543
|
-
source: picklist(["profile", "messages"])
|
|
1544
|
-
}))
|
|
1545
|
-
});
|
|
1546
|
-
|
|
1547
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
1557
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
1548
1558
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
1549
1559
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
1550
1560
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
1551
1561
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
1552
1562
|
|
|
1553
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1563
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
1554
1564
|
var conversationDetails = union([
|
|
1555
1565
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
1556
1566
|
message
|
|
@@ -1640,7 +1650,7 @@ var conversationHit = strictObject({
|
|
|
1640
1650
|
stale: boolean()
|
|
1641
1651
|
});
|
|
1642
1652
|
|
|
1643
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1653
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
1644
1654
|
var counters = strictObject({
|
|
1645
1655
|
cutoff: time,
|
|
1646
1656
|
max_age_ms: milliseconds,
|
|
@@ -1670,7 +1680,7 @@ var counterRefresh = strictObject({
|
|
|
1670
1680
|
complete: optional(boolean())
|
|
1671
1681
|
});
|
|
1672
1682
|
|
|
1673
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1683
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
1674
1684
|
var document = strictObject({
|
|
1675
1685
|
ref: reference,
|
|
1676
1686
|
id,
|
|
@@ -1685,7 +1695,7 @@ var document = strictObject({
|
|
|
1685
1695
|
owners: optional(array(text))
|
|
1686
1696
|
});
|
|
1687
1697
|
|
|
1688
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1698
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
1689
1699
|
var documentLink = strictObject({
|
|
1690
1700
|
ref: reference,
|
|
1691
1701
|
url: text,
|
|
@@ -1696,7 +1706,7 @@ var documentLink = strictObject({
|
|
|
1696
1706
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
1697
1707
|
});
|
|
1698
1708
|
|
|
1699
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1709
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
1700
1710
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
1701
1711
|
var contribution = strictObject({
|
|
1702
1712
|
message: evidenceMessage,
|
|
@@ -1726,7 +1736,7 @@ var retentionStay = strictObject({
|
|
|
1726
1736
|
});
|
|
1727
1737
|
var evidence = union([contribution, retentionStay]);
|
|
1728
1738
|
|
|
1729
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1739
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
1730
1740
|
var fact = strictObject({
|
|
1731
1741
|
ref: reference,
|
|
1732
1742
|
id,
|
|
@@ -1749,7 +1759,7 @@ var fact = strictObject({
|
|
|
1749
1759
|
updated_at: time
|
|
1750
1760
|
});
|
|
1751
1761
|
|
|
1752
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1762
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
1753
1763
|
var hit = strictObject({
|
|
1754
1764
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting"]),
|
|
1755
1765
|
ref: reference,
|
|
@@ -1763,6 +1773,8 @@ var hit = strictObject({
|
|
|
1763
1773
|
timestamp: nullable(time),
|
|
1764
1774
|
excerpt: text,
|
|
1765
1775
|
sender_name: optional(nullable(text)),
|
|
1776
|
+
/** A message's or a mail's: whether the owner wrote it. */
|
|
1777
|
+
sender_is_me: optional(boolean()),
|
|
1766
1778
|
/** The writer's `person:` reference, where the store has one. */
|
|
1767
1779
|
sender_ref: optional(nullable(reference)),
|
|
1768
1780
|
found_by: optional(array(picklist(["title", "words", "meaning"]))),
|
|
@@ -1776,7 +1788,7 @@ var hit = strictObject({
|
|
|
1776
1788
|
untrusted
|
|
1777
1789
|
});
|
|
1778
1790
|
|
|
1779
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1791
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
1780
1792
|
var identity = strictObject({
|
|
1781
1793
|
ref: reference,
|
|
1782
1794
|
provider: text,
|
|
@@ -1789,7 +1801,7 @@ var identity = strictObject({
|
|
|
1789
1801
|
person: optional(nullable(reference))
|
|
1790
1802
|
});
|
|
1791
1803
|
|
|
1792
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1804
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
1793
1805
|
var imageEmbedding = strictObject({
|
|
1794
1806
|
model: text,
|
|
1795
1807
|
embedded: count,
|
|
@@ -1798,7 +1810,7 @@ var imageEmbedding = strictObject({
|
|
|
1798
1810
|
more: boolean()
|
|
1799
1811
|
});
|
|
1800
1812
|
|
|
1801
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1813
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
1802
1814
|
var joinRequest = strictObject({
|
|
1803
1815
|
person_id: id,
|
|
1804
1816
|
name: nullable(text),
|
|
@@ -1809,7 +1821,7 @@ var joinRequest = strictObject({
|
|
|
1809
1821
|
about: optional(text)
|
|
1810
1822
|
});
|
|
1811
1823
|
|
|
1812
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1824
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
1813
1825
|
var pollVote = strictObject({
|
|
1814
1826
|
person_id: id,
|
|
1815
1827
|
name: nullable(text),
|
|
@@ -1819,7 +1831,7 @@ var pollVote = strictObject({
|
|
|
1819
1831
|
voted_at: time
|
|
1820
1832
|
});
|
|
1821
1833
|
|
|
1822
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1834
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
1823
1835
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
1824
1836
|
var observation = strictObject({
|
|
1825
1837
|
value: pipe(number(), minValue(0)),
|
|
@@ -1860,7 +1872,7 @@ var serveSummary = strictObject({
|
|
|
1860
1872
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
1861
1873
|
});
|
|
1862
1874
|
|
|
1863
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1875
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
1864
1876
|
var mediaArchive = strictObject({
|
|
1865
1877
|
directory: text,
|
|
1866
1878
|
chats: count,
|
|
@@ -1892,7 +1904,7 @@ var mediaArchiveTimer = union([
|
|
|
1892
1904
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
1893
1905
|
]);
|
|
1894
1906
|
|
|
1895
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1907
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
1896
1908
|
var preparationId = pipe(string(), minLength(1));
|
|
1897
1909
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
1898
1910
|
var preparationTime = nullable(isoTime);
|
|
@@ -1984,7 +1996,7 @@ var preparationMeeting = strictObject({
|
|
|
1984
1996
|
updated_at: isoTime
|
|
1985
1997
|
});
|
|
1986
1998
|
|
|
1987
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1999
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
1988
2000
|
var meetingEvidence = preparationEvidence;
|
|
1989
2001
|
var meetingPersonContext = strictObject({
|
|
1990
2002
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -2006,7 +2018,7 @@ var meetingPersonContext = strictObject({
|
|
|
2006
2018
|
})
|
|
2007
2019
|
});
|
|
2008
2020
|
|
|
2009
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2021
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
2010
2022
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
2011
2023
|
var base = { id, project: reference, evidence: array(evidence2) };
|
|
2012
2024
|
var finding = variant("kind", [
|
|
@@ -2044,7 +2056,7 @@ var meetingFindings = strictObject({
|
|
|
2044
2056
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome) }))
|
|
2045
2057
|
});
|
|
2046
2058
|
|
|
2047
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2059
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
2048
2060
|
var communicationCoverage = strictObject({
|
|
2049
2061
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
2050
2062
|
query: string(),
|
|
@@ -2089,7 +2101,7 @@ var preparationCommunications = strictObject({
|
|
|
2089
2101
|
}))
|
|
2090
2102
|
});
|
|
2091
2103
|
|
|
2092
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2104
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
2093
2105
|
var meetingPreparation = strictObject({
|
|
2094
2106
|
communications: optional(preparationCommunications),
|
|
2095
2107
|
schema_version: literal(1),
|
|
@@ -2202,7 +2214,7 @@ var meetingPreparation = strictObject({
|
|
|
2202
2214
|
})
|
|
2203
2215
|
});
|
|
2204
2216
|
|
|
2205
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2217
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
2206
2218
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
2207
2219
|
var id3 = pipe(string(), minLength(1));
|
|
2208
2220
|
var text3 = string();
|
|
@@ -2266,7 +2278,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
2266
2278
|
})
|
|
2267
2279
|
});
|
|
2268
2280
|
|
|
2269
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2281
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
2270
2282
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
2271
2283
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
2272
2284
|
var meetingSeriesInventory = strictObject({
|
|
@@ -2296,7 +2308,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
2296
2308
|
})
|
|
2297
2309
|
});
|
|
2298
2310
|
|
|
2299
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2311
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
2300
2312
|
var text4 = string();
|
|
2301
2313
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
2302
2314
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -2313,7 +2325,7 @@ var meetingTaskProposal = strictObject({
|
|
|
2313
2325
|
persistence: literal("proposal-only")
|
|
2314
2326
|
});
|
|
2315
2327
|
|
|
2316
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2328
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
2317
2329
|
var memory = strictObject({
|
|
2318
2330
|
ref: reference,
|
|
2319
2331
|
id,
|
|
@@ -2332,7 +2344,7 @@ var memory = strictObject({
|
|
|
2332
2344
|
updated_at: time
|
|
2333
2345
|
});
|
|
2334
2346
|
|
|
2335
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2347
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
2336
2348
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
2337
2349
|
var status = picklist(["found", "linked", "dismissed"]);
|
|
2338
2350
|
var mention = strictObject({
|
|
@@ -2375,13 +2387,13 @@ var mentionRebuild = strictObject({
|
|
|
2375
2387
|
mentions: count
|
|
2376
2388
|
});
|
|
2377
2389
|
|
|
2378
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2390
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
2379
2391
|
var operated3 = { operation_id: id, chat_id: id };
|
|
2380
2392
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
2381
2393
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
2382
2394
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
2383
2395
|
|
|
2384
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2396
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
2385
2397
|
var messageTranscript = strictObject({
|
|
2386
2398
|
message_id: id,
|
|
2387
2399
|
text,
|
|
@@ -2439,7 +2451,7 @@ var evidencePacket = strictObject({
|
|
|
2439
2451
|
}))
|
|
2440
2452
|
});
|
|
2441
2453
|
|
|
2442
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2454
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
2443
2455
|
var messageThread = strictObject({
|
|
2444
2456
|
ref: reference,
|
|
2445
2457
|
chat: id,
|
|
@@ -2456,7 +2468,7 @@ var messageThread = strictObject({
|
|
|
2456
2468
|
});
|
|
2457
2469
|
var messageContext = union([message, messageThread]);
|
|
2458
2470
|
|
|
2459
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2471
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
2460
2472
|
var messageCounts = strictObject({
|
|
2461
2473
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
2462
2474
|
total: count,
|
|
@@ -2469,7 +2481,7 @@ var messageCounts = strictObject({
|
|
|
2469
2481
|
}))
|
|
2470
2482
|
});
|
|
2471
2483
|
|
|
2472
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2484
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
2473
2485
|
var messageLink = strictObject({
|
|
2474
2486
|
ref: reference,
|
|
2475
2487
|
url: nullable(text),
|
|
@@ -2478,7 +2490,7 @@ var messageLink = strictObject({
|
|
|
2478
2490
|
reason: nullable(picklist(["unsupported_chat", "unsupported_provider", "offline"]))
|
|
2479
2491
|
});
|
|
2480
2492
|
|
|
2481
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2493
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
2482
2494
|
var messageWrite = strictObject({
|
|
2483
2495
|
operation_id: id,
|
|
2484
2496
|
message,
|
|
@@ -2493,7 +2505,7 @@ var draftWrite = strictObject({
|
|
|
2493
2505
|
});
|
|
2494
2506
|
var messageSend = union([messageWrite, draftWrite]);
|
|
2495
2507
|
|
|
2496
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2508
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
2497
2509
|
var model = strictObject({
|
|
2498
2510
|
id,
|
|
2499
2511
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -2510,7 +2522,7 @@ var model = strictObject({
|
|
|
2510
2522
|
path: text
|
|
2511
2523
|
});
|
|
2512
2524
|
|
|
2513
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2525
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
2514
2526
|
var source = picklist(["environment", "keyring", "file"]);
|
|
2515
2527
|
var modelKey = strictObject({
|
|
2516
2528
|
provider: text,
|
|
@@ -2520,7 +2532,7 @@ var modelKey = strictObject({
|
|
|
2520
2532
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
2521
2533
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
2522
2534
|
|
|
2523
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2535
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
2524
2536
|
var versus = strictObject({ current: number(), previous: number() });
|
|
2525
2537
|
var person = { person_ref: reference, name: nullable(text) };
|
|
2526
2538
|
var graph = strictObject({
|
|
@@ -2554,14 +2566,14 @@ var officialStats = strictObject({
|
|
|
2554
2566
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
2555
2567
|
});
|
|
2556
2568
|
|
|
2557
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2569
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
2558
2570
|
var person2 = strictObject({
|
|
2559
2571
|
ref: reference,
|
|
2560
2572
|
name: nullable(text),
|
|
2561
2573
|
identities: optional(array(identity))
|
|
2562
2574
|
});
|
|
2563
2575
|
|
|
2564
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2576
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
2565
2577
|
var poll = strictObject({
|
|
2566
2578
|
chat_id: id,
|
|
2567
2579
|
message_id: id,
|
|
@@ -2577,11 +2589,11 @@ var poll = strictObject({
|
|
|
2577
2589
|
});
|
|
2578
2590
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
2579
2591
|
|
|
2580
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2592
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
2581
2593
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
2582
2594
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
2583
2595
|
|
|
2584
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2596
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
2585
2597
|
var figures = record(string(), number());
|
|
2586
2598
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
2587
2599
|
var rankingRow = strictObject({
|
|
@@ -2628,7 +2640,15 @@ var ranking = strictObject({
|
|
|
2628
2640
|
rows: array(rankingRow)
|
|
2629
2641
|
});
|
|
2630
2642
|
|
|
2631
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2643
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
2644
|
+
var reaction = strictObject({
|
|
2645
|
+
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
2646
|
+
/** The emoji, or `custom:<id>` for a custom one. */
|
|
2647
|
+
reaction: text,
|
|
2648
|
+
reacted_at: time
|
|
2649
|
+
});
|
|
2650
|
+
|
|
2651
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
2632
2652
|
var reactionChange = strictObject({
|
|
2633
2653
|
operation_id: id,
|
|
2634
2654
|
chat_id: id,
|
|
@@ -2636,7 +2656,7 @@ var reactionChange = strictObject({
|
|
|
2636
2656
|
reaction: nullable(text)
|
|
2637
2657
|
});
|
|
2638
2658
|
|
|
2639
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2659
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
2640
2660
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
2641
2661
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
2642
2662
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -2647,7 +2667,7 @@ var recipientChange = strictObject({
|
|
|
2647
2667
|
...partial(recipientOff).entries
|
|
2648
2668
|
});
|
|
2649
2669
|
|
|
2650
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2670
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
2651
2671
|
var events = array(record(string(), unknown()));
|
|
2652
2672
|
var recordedRun = strictObject({
|
|
2653
2673
|
run_id: id,
|
|
@@ -2719,7 +2739,7 @@ var runHit = strictObject({
|
|
|
2719
2739
|
});
|
|
2720
2740
|
var runLocation = strictObject({ path: text });
|
|
2721
2741
|
|
|
2722
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2742
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
2723
2743
|
var relationship = strictObject({
|
|
2724
2744
|
id,
|
|
2725
2745
|
from: reference,
|
|
@@ -2734,7 +2754,7 @@ var relationship = strictObject({
|
|
|
2734
2754
|
created_at: time
|
|
2735
2755
|
});
|
|
2736
2756
|
|
|
2737
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2757
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
2738
2758
|
var retentionCohort = strictObject({
|
|
2739
2759
|
/** The first day of the joining day or week. */
|
|
2740
2760
|
cohort: text,
|
|
@@ -2782,7 +2802,7 @@ var retention = strictObject({
|
|
|
2782
2802
|
rows: array(retentionCohort)
|
|
2783
2803
|
});
|
|
2784
2804
|
|
|
2785
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2805
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
2786
2806
|
var savedSearch = strictObject({
|
|
2787
2807
|
id,
|
|
2788
2808
|
/** `null` for a run in the history. */
|
|
@@ -2799,7 +2819,7 @@ var savedSearch = strictObject({
|
|
|
2799
2819
|
});
|
|
2800
2820
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
2801
2821
|
|
|
2802
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2822
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
2803
2823
|
var sendAttempt = strictObject({
|
|
2804
2824
|
at: time,
|
|
2805
2825
|
profile: text,
|
|
@@ -2827,7 +2847,7 @@ var sendAttempt = strictObject({
|
|
|
2827
2847
|
error_code: optional(text)
|
|
2828
2848
|
});
|
|
2829
2849
|
|
|
2830
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2850
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
2831
2851
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
2832
2852
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
2833
2853
|
var infoSchema = strictObject({
|
|
@@ -3035,7 +3055,7 @@ var storeRepair = union([
|
|
|
3035
3055
|
]);
|
|
3036
3056
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
3037
3057
|
|
|
3038
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3058
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
3039
3059
|
var tagTarget = variant("type", [
|
|
3040
3060
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
3041
3061
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -3066,7 +3086,7 @@ var automaticTags = strictObject({
|
|
|
3066
3086
|
dry_run: boolean()
|
|
3067
3087
|
});
|
|
3068
3088
|
|
|
3069
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3089
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
3070
3090
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
3071
3091
|
var taskPair = strictObject({
|
|
3072
3092
|
task: nullable(side),
|
|
@@ -3089,7 +3109,7 @@ var taskPair = strictObject({
|
|
|
3089
3109
|
created_at: time
|
|
3090
3110
|
});
|
|
3091
3111
|
|
|
3092
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3112
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
3093
3113
|
var nullableTime = nullable(time);
|
|
3094
3114
|
var link = strictObject({
|
|
3095
3115
|
id,
|
|
@@ -3213,7 +3233,7 @@ var taskScan = strictObject({
|
|
|
3213
3233
|
tasks: array(strictObject({ source: text, kind: picklist(TASK_KINDS), category: nullable(text) }))
|
|
3214
3234
|
});
|
|
3215
3235
|
|
|
3216
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3236
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
3217
3237
|
var topic = strictObject({
|
|
3218
3238
|
id,
|
|
3219
3239
|
title: text,
|
|
@@ -3227,7 +3247,7 @@ var topic = strictObject({
|
|
|
3227
3247
|
untrusted
|
|
3228
3248
|
});
|
|
3229
3249
|
|
|
3230
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3250
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
3231
3251
|
var ENTITIES = {
|
|
3232
3252
|
sync_progress: progress,
|
|
3233
3253
|
...MEETING_RESULT_ENTITIES,
|
|
@@ -3241,6 +3261,7 @@ var ENTITIES = {
|
|
|
3241
3261
|
"chat_title",
|
|
3242
3262
|
"timestamp",
|
|
3243
3263
|
"sender_name",
|
|
3264
|
+
"sender_is_me",
|
|
3244
3265
|
"excerpt",
|
|
3245
3266
|
"matched_in",
|
|
3246
3267
|
"score",
|
|
@@ -3249,6 +3270,7 @@ var ENTITIES = {
|
|
|
3249
3270
|
"found_in",
|
|
3250
3271
|
"discovery",
|
|
3251
3272
|
"context",
|
|
3273
|
+
"follow_ups",
|
|
3252
3274
|
"email"
|
|
3253
3275
|
]).entries,
|
|
3254
3276
|
untrusted
|
|
@@ -3259,6 +3281,7 @@ var ENTITIES = {
|
|
|
3259
3281
|
"chat_title",
|
|
3260
3282
|
"timestamp",
|
|
3261
3283
|
"sender_name",
|
|
3284
|
+
"sender_is_me",
|
|
3262
3285
|
"outgoing",
|
|
3263
3286
|
"text",
|
|
3264
3287
|
"transcript",
|
|
@@ -3292,7 +3315,6 @@ var ENTITIES = {
|
|
|
3292
3315
|
contact,
|
|
3293
3316
|
contact_note: contactNote,
|
|
3294
3317
|
contact_lookup: contactLookup,
|
|
3295
|
-
contact_profile: contactProfile,
|
|
3296
3318
|
contact_sync: contactSync,
|
|
3297
3319
|
contact_update: contactUpdate,
|
|
3298
3320
|
contact_state_change: contactStateChange,
|
|
@@ -3465,6 +3487,7 @@ var ENTITIES = {
|
|
|
3465
3487
|
poll,
|
|
3466
3488
|
poll_change: pollChange,
|
|
3467
3489
|
poll_vote: pollVote,
|
|
3490
|
+
reaction,
|
|
3468
3491
|
reaction_change: reactionChange,
|
|
3469
3492
|
topic,
|
|
3470
3493
|
folder,
|
|
@@ -3532,6 +3555,7 @@ export {
|
|
|
3532
3555
|
meetingProjectCandidates,
|
|
3533
3556
|
meetingSeriesInventory,
|
|
3534
3557
|
model,
|
|
3558
|
+
reaction,
|
|
3535
3559
|
recipient,
|
|
3536
3560
|
recordedRun,
|
|
3537
3561
|
savedSearch,
|