@wirecat/drive-cli 0.46.0 → 0.49.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 +1 -1
- package/dist/age.d.ts +73 -0
- package/dist/age.d.ts.map +1 -0
- package/dist/age.js +44 -0
- package/dist/age.js.map +1 -0
- package/dist/bin/drive.js +2 -2
- package/dist/bundle/{all-profiles-O7CNQ7FO.js → all-profiles-WK2XXGPU.js} +5 -5
- package/dist/bundle/{anthropic-6T67J2CE.js → anthropic-R354D7GT.js} +3 -3
- package/dist/bundle/{app-server-BVBZT3UY.js → app-server-3YHJ757G.js} +46 -46
- package/dist/bundle/{bun-O6RL6LRQ.js → bun-JVDJVDHL.js} +2 -2
- package/dist/bundle/{bun-sqlite-54W7JUY3.js → bun-sqlite-KZCZWSRZ.js} +2 -2
- package/dist/bundle/{chunk-LOTQ2HMT.js → chunk-22LTNYO2.js} +3 -3
- package/dist/bundle/{chunk-5MGIL5LW.js → chunk-254VYUWN.js} +18 -15
- package/dist/bundle/{chunk-NLEB26GA.js → chunk-2BADVV4A.js} +2 -2
- package/dist/bundle/{chunk-XEBFFKXO.js → chunk-2CKGGIWF.js} +1 -1
- package/dist/bundle/{chunk-D67JGWSC.js → chunk-2ZFR67KY.js} +6 -3
- package/dist/bundle/{chunk-K74PQVQZ.js → chunk-3UHJC6HH.js} +6 -6
- package/dist/bundle/{chunk-44FV5JAS.js → chunk-45TPBTR3.js} +18 -18
- package/dist/bundle/{chunk-NP3XLLN3.js → chunk-463NMG57.js} +2 -2
- package/dist/bundle/{chunk-AOOD3RMK.js → chunk-467AQO7E.js} +5 -5
- package/dist/bundle/{chunk-FEULDMWM.js → chunk-46X7Z4FD.js} +1903 -1526
- package/dist/bundle/{chunk-IKNU5A5Y.js → chunk-4ORK4UAY.js} +2 -2
- package/dist/bundle/{chunk-GOR3Z2FR.js → chunk-5ISHP4TK.js} +1 -1
- package/dist/bundle/{chunk-R2A3K7ZF.js → chunk-5KR7BKDV.js} +4 -4
- package/dist/bundle/{chunk-GWPKIRNQ.js → chunk-624B6G64.js} +3 -3
- package/dist/bundle/{chunk-TRMIV3OA.js → chunk-65AW2AEQ.js} +1 -1
- package/dist/bundle/{chunk-BQUPOB5H.js → chunk-6Z3W7LTD.js} +7 -7
- package/dist/bundle/{chunk-XF5MFUEB.js → chunk-75VCGSNB.js} +10 -10
- package/dist/bundle/{chunk-K7FRUB33.js → chunk-7BA3HL7N.js} +32 -32
- package/dist/bundle/{chunk-NDNTLUPS.js → chunk-7WEISHFA.js} +1 -1
- package/dist/bundle/{chunk-GNFHZZ55.js → chunk-ABVFH76X.js} +4 -4
- package/dist/bundle/{chunk-BEXHAGXH.js → chunk-AN7HENGZ.js} +156 -144
- package/dist/bundle/{chunk-CFZWPIVC.js → chunk-BQV3WYXW.js} +26 -18
- package/dist/bundle/{chunk-SWMMR3FR.js → chunk-CB5NGX6E.js} +1 -1
- package/dist/bundle/{chunk-DL7D6Y3B.js → chunk-CCLDCM7J.js} +3320 -3282
- package/dist/bundle/{chunk-BHE7ZY2N.js → chunk-DKJGYYCP.js} +71 -43
- package/dist/bundle/{chunk-ZBM4GEV2.js → chunk-E2Y6GJZX.js} +3 -3
- package/dist/bundle/{chunk-CVIKKIGE.js → chunk-EF2RCQ3L.js} +1 -1
- package/dist/bundle/{chunk-DORXXBFC.js → chunk-EOZPMJJP.js} +5 -5
- package/dist/bundle/{chunk-GQW4GRYR.js → chunk-FB7I5JWC.js} +4 -4
- package/dist/bundle/{chunk-PDBBBUY7.js → chunk-FUJZ5S2Q.js} +8 -8
- package/dist/bundle/{chunk-OWXTPXIQ.js → chunk-FZQSGLHU.js} +10 -10
- package/dist/bundle/{chunk-4NGLRHWO.js → chunk-HBYE4EP2.js} +1 -1
- package/dist/bundle/{chunk-NB2N6L3R.js → chunk-HD3TFIT4.js} +5 -5
- package/dist/bundle/{chunk-HEPIOCHN.js → chunk-HF2T7E67.js} +55 -48
- package/dist/bundle/{chunk-NW7IMGRR.js → chunk-HIAO4MPA.js} +1 -1
- package/dist/bundle/{chunk-4DW6QGEV.js → chunk-HQ2PGEOK.js} +9 -9
- package/dist/bundle/{chunk-PH74B2VZ.js → chunk-HVM5LS5Z.js} +2 -2
- package/dist/bundle/{chunk-CKR3DVUK.js → chunk-IEAZAPC3.js} +20 -17
- package/dist/bundle/{chunk-GHOWRW7E.js → chunk-IRDGH7DV.js} +8 -1
- package/dist/bundle/{chunk-XAZQTJXR.js → chunk-IRNX4CO5.js} +16 -16
- package/dist/bundle/{chunk-LHIL46I3.js → chunk-ITZI7T2X.js} +1 -1
- package/dist/bundle/{chunk-NM26XAS2.js → chunk-JMOX454R.js} +1 -1
- package/dist/bundle/{chunk-AUS6TKP5.js → chunk-JMRHDZMV.js} +30 -30
- package/dist/bundle/{chunk-VHQNVG3J.js → chunk-JZ3SUK2M.js} +2 -2
- package/dist/bundle/{chunk-RJ633GFA.js → chunk-KK3BA4IS.js} +1 -1
- package/dist/bundle/{chunk-WUFCYDKB.js → chunk-KKZYZ32J.js} +1 -1
- package/dist/bundle/{chunk-VYBOYBLX.js → chunk-KYJYOZYG.js} +5 -5
- package/dist/bundle/{chunk-JVTVAZ5X.js → chunk-L5RZI2M5.js} +56 -17
- package/dist/bundle/{chunk-ZKXDI45R.js → chunk-LF7ACSTK.js} +1 -1
- package/dist/bundle/{chunk-LZ5OTVWH.js → chunk-MC77UZVA.js} +3 -3
- package/dist/bundle/{chunk-QWSRPXCJ.js → chunk-MP2UCK3Z.js} +4 -4
- package/dist/bundle/{chunk-LJARCTGL.js → chunk-NFU3OBCC.js} +3 -3
- package/dist/bundle/{chunk-3HRDEJJW.js → chunk-NVHB2MHX.js} +4 -4
- package/dist/bundle/{chunk-VCYFEWPD.js → chunk-NXFEZQDL.js} +25 -25
- package/dist/bundle/{chunk-G3FAOS52.js → chunk-P4NOTS3U.js} +2 -2
- package/dist/bundle/{chunk-5MYFPQDA.js → chunk-P4OU3OVF.js} +12 -12
- package/dist/bundle/{chunk-RCS2SCX5.js → chunk-P7INAZIT.js} +4 -4
- package/dist/bundle/{chunk-3Z7WSD2A.js → chunk-PPXNEHYX.js} +7 -7
- package/dist/bundle/{chunk-SMHQA5J6.js → chunk-QEM3MOSB.js} +14 -7
- package/dist/bundle/{chunk-KADPV4YA.js → chunk-R235IRSJ.js} +1 -1
- package/dist/bundle/{chunk-QTJUH3LS.js → chunk-RAAI3JLI.js} +1 -1
- package/dist/bundle/{chunk-KJMBV574.js → chunk-SSD2V4HR.js} +356 -304
- package/dist/bundle/{chunk-5TC3NCAF.js → chunk-U77RLMOK.js} +1 -1
- package/dist/bundle/{chunk-AIXLOMH4.js → chunk-W5EUHV3J.js} +1 -1
- package/dist/bundle/{chunk-IAW5A7OR.js → chunk-W5IDHD6C.js} +30 -26
- package/dist/bundle/{chunk-DXKVEOSS.js → chunk-XLJV3ZOH.js} +1 -1
- package/dist/bundle/{recognize-IFXOJHEA.js → chunk-XVXXWNAA.js} +6 -6
- package/dist/bundle/{chunk-IGMRWQP3.js → chunk-Y2AUB4TJ.js} +29 -25
- package/dist/bundle/{chunk-QW36EOAM.js → chunk-YOF5BC4G.js} +2 -2
- package/dist/bundle/{chunk-PJ7IQVOM.js → chunk-YYMHFXHK.js} +1 -1
- package/dist/bundle/{chunk-DDYR6DYL.js → chunk-ZK7Y5K63.js} +1 -1
- package/dist/bundle/command-contract-AEA45IX7.js +38 -0
- package/dist/bundle/decode-BE3VDYTJ.js +159 -0
- package/dist/bundle/drive.js +4 -4
- package/dist/bundle/{echarts-LD3AI55P.js → echarts-4OQHS575.js} +2 -2
- package/dist/bundle/{embed-FJKIIM43.js → embed-QR76SJDI.js} +3 -3
- package/dist/bundle/{embedder-NNQ5ZC25.js → embedder-EMIDKBYV.js} +6 -6
- package/dist/bundle/{entry-ZYSNPDSD.js → entry-FE4REJDO.js} +4 -4
- package/dist/bundle/{failure-M5HSCCJJ.js → failure-GYOTW6NN.js} +11 -11
- package/dist/bundle/{first-run-KA2UPZAU.js → first-run-ALPI62PX.js} +5 -5
- package/dist/bundle/first-screen-JLS57PIT.js +36 -0
- package/dist/bundle/{google-ZYDFTHLN.js → google-NV75VSCD.js} +4 -4
- package/dist/bundle/google-api-6623OUF2.js +82 -0
- package/dist/bundle/{identity-R5OKB5O5.js → identity-NZ7SP6OL.js} +2 -2
- package/dist/bundle/{instructions-RZMSW3OC.js → instructions-3QZBKKPF.js} +1 -1
- package/dist/bundle/{login-JU6NKW5P.js → login-KNBM6XUX.js} +54 -54
- package/dist/bundle/mcp-4NPK6BM3.js +95 -0
- package/dist/bundle/{mcp-Z362OMZG.js → mcp-XY2FGGUM.js} +68 -68
- package/dist/bundle/{node-ZRLYQL7J.js → node-R2BLYUSB.js} +2 -2
- package/dist/bundle/node-sqlite-PMRVP442.js +62 -0
- package/dist/bundle/{oauth-NAIBKERJ.js → oauth-NM2AKRRT.js} +4 -4
- package/dist/bundle/{open-3P5EPXPV.js → open-XZH5ZNDA.js} +1 -1
- package/dist/bundle/{process-LL77573L.js → process-IX5YWGDP.js} +1 -1
- package/dist/bundle/{program-PA2J6OFM.js → program-MDWQHGBY.js} +166 -96
- package/dist/bundle/{prompt-3TX2SWOY.js → prompt-5K6XGWSK.js} +2 -2
- package/dist/bundle/recognize-U7GDD6T2.js +22 -0
- package/dist/bundle/{remote-663M42Y5.js → remote-ZWXOGNQX.js} +4 -4
- package/dist/bundle/{rerank-OT2F2DBV.js → rerank-YRQBCS63.js} +4 -4
- package/dist/bundle/{serve-PDNNI6O6.js → serve-6PQ7K5RK.js} +6 -6
- package/dist/bundle/server-O7SS6NAY.js +56 -0
- package/dist/bundle/server-WT57TF6S.js +69 -0
- package/dist/bundle/{services-5MCTECBU.js → services-QBIQX236.js} +22 -22
- package/dist/bundle/{sqlite-runtime-BF3KDM7W.js → sqlite-runtime-7Q5UD2VR.js} +2 -2
- package/dist/bundle/{state-SZX65E74.js → state-U72TC26L.js} +3 -3
- package/dist/bundle/{store-TCWNLA3V.js → store-B4RAJ63G.js} +10 -10
- package/dist/bundle/{store-UKPGGAPW.js → store-FYABCSIH.js} +12 -12
- package/dist/bundle/store-maintenance-command-DAF5NI3T.js +57 -0
- package/dist/bundle/tokens-DISQJKDM.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 +21 -9
- package/dist/commands/documents.js.map +1 -1
- package/dist/commands/mcp.d.ts.map +1 -1
- package/dist/commands/mcp.js +8 -4
- package/dist/commands/mcp.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/program.d.ts.map +1 -1
- package/dist/program.js +4 -1
- package/dist/program.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/command-contract-MXCBV3GJ.js +0 -38
- 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-Q2Z3VCM4.js → chunk-YLBNPI7H.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-JMRHDZMV.js";
|
|
7
7
|
import {
|
|
8
8
|
carries
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-W5EUHV3J.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-BQV3WYXW.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-E2Y6GJZX.js";
|
|
33
33
|
import {
|
|
34
34
|
envName
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-KK3BA4IS.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-HD3TFIT4.js";
|
|
52
52
|
import {
|
|
53
53
|
MEETING_RESULT_ENTITIES,
|
|
54
54
|
event,
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
meetingStats,
|
|
65
65
|
meetingSummary,
|
|
66
66
|
meetingTranscript
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-DKJGYYCP.js";
|
|
68
68
|
import {
|
|
69
69
|
resolvePaths,
|
|
70
70
|
writeSecurely
|
|
@@ -107,7 +107,7 @@ 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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
484
484
|
var quoted = strictObject({
|
|
485
485
|
id,
|
|
486
486
|
sender_id: nullable(id),
|
|
@@ -576,7 +576,7 @@ var message = strictObject({
|
|
|
576
576
|
provider_metadata: providerMetadata
|
|
577
577
|
});
|
|
578
578
|
|
|
579
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
579
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
580
580
|
var extractionItem = strictObject({
|
|
581
581
|
ref: reference,
|
|
582
582
|
attachment: count,
|
|
@@ -609,7 +609,7 @@ var extractionReport = strictObject({
|
|
|
609
609
|
cursor: optional(text)
|
|
610
610
|
});
|
|
611
611
|
|
|
612
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
612
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
613
613
|
var savedMessageFile = strictObject({
|
|
614
614
|
kind: text,
|
|
615
615
|
path: text,
|
|
@@ -688,7 +688,7 @@ var messageSyncAll = strictObject({
|
|
|
688
688
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
689
689
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
690
690
|
|
|
691
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
691
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
692
692
|
var range = strictObject({ from: number(), to: number() });
|
|
693
693
|
var storeChatStatus = strictObject({
|
|
694
694
|
chat_id: id,
|
|
@@ -779,7 +779,7 @@ var storeJobRetry = union([
|
|
|
779
779
|
]);
|
|
780
780
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
781
781
|
|
|
782
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
782
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
783
783
|
var account = strictObject({
|
|
784
784
|
provider: text,
|
|
785
785
|
id,
|
|
@@ -789,7 +789,7 @@ var account = strictObject({
|
|
|
789
789
|
scope: optional(picklist(["personal", "work"]))
|
|
790
790
|
});
|
|
791
791
|
|
|
792
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
792
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
793
793
|
var accountSession = strictObject({
|
|
794
794
|
current: boolean(),
|
|
795
795
|
client: nullable(text),
|
|
@@ -799,7 +799,7 @@ var accountSession = strictObject({
|
|
|
799
799
|
created_at: optional(nullable(time))
|
|
800
800
|
});
|
|
801
801
|
|
|
802
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
802
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
803
803
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
804
804
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
805
805
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -817,7 +817,7 @@ var accountPrivacy = strictObject({
|
|
|
817
817
|
});
|
|
818
818
|
var accountPrivacyChange = strictObject({ operation_id: id, privacy: accountPrivacy });
|
|
819
819
|
|
|
820
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
820
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
821
821
|
var accountProfile = strictObject({
|
|
822
822
|
profile: id,
|
|
823
823
|
current: boolean(),
|
|
@@ -827,7 +827,7 @@ var accountProfile = strictObject({
|
|
|
827
827
|
signed_in: optional(boolean())
|
|
828
828
|
});
|
|
829
829
|
|
|
830
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
830
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
831
831
|
var milliseconds = pipe(number(), minValue(0));
|
|
832
832
|
var counterReading = strictObject({
|
|
833
833
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -839,7 +839,7 @@ var counterReading = strictObject({
|
|
|
839
839
|
});
|
|
840
840
|
var selection = record(string(), unknown());
|
|
841
841
|
|
|
842
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
842
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
843
843
|
var adminRow = strictObject({
|
|
844
844
|
ref: reference,
|
|
845
845
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -892,11 +892,11 @@ var adminReport = strictObject({
|
|
|
892
892
|
rows: array(adminRow)
|
|
893
893
|
});
|
|
894
894
|
|
|
895
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
895
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
896
896
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
897
897
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
898
898
|
|
|
899
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
899
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
900
900
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
901
901
|
var attachmentBytes = strictObject({
|
|
902
902
|
ref: reference,
|
|
@@ -924,7 +924,7 @@ var attachmentTextChange = strictObject({
|
|
|
924
924
|
replaced: nullable(picklist(["extracted", "agent"]))
|
|
925
925
|
});
|
|
926
926
|
|
|
927
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
927
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
928
928
|
var chart = strictObject({
|
|
929
929
|
version: literal(1),
|
|
930
930
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -939,7 +939,7 @@ var chart = strictObject({
|
|
|
939
939
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
940
940
|
});
|
|
941
941
|
|
|
942
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
942
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
943
943
|
var named = strictObject({
|
|
944
944
|
id,
|
|
945
945
|
title: nullable(text),
|
|
@@ -962,7 +962,7 @@ var folder = strictObject({
|
|
|
962
962
|
excluded_chats: optional(array(named))
|
|
963
963
|
});
|
|
964
964
|
|
|
965
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
965
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
966
966
|
var inviteLink = strictObject({
|
|
967
967
|
link: text,
|
|
968
968
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -978,7 +978,7 @@ var inviteLink = strictObject({
|
|
|
978
978
|
joined_count: optional(count)
|
|
979
979
|
});
|
|
980
980
|
|
|
981
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
981
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
982
982
|
var operated = { operation_id: id, chat_id: id };
|
|
983
983
|
var group = strictObject({
|
|
984
984
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -1058,7 +1058,7 @@ var chatFolderOrder = strictObject({
|
|
|
1058
1058
|
folders: array(strictObject({ id, title: text }))
|
|
1059
1059
|
});
|
|
1060
1060
|
|
|
1061
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1061
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
1062
1062
|
var operated2 = { operation_id: id, chat_id: id };
|
|
1063
1063
|
var chatRemoval = strictObject(operated2);
|
|
1064
1064
|
var chatMuting = strictObject({
|
|
@@ -1069,7 +1069,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
1069
1069
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
1070
1070
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
1071
1071
|
|
|
1072
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1072
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
1073
1073
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
1074
1074
|
var chatEvent = strictObject({
|
|
1075
1075
|
chat_id: id,
|
|
@@ -1086,7 +1086,7 @@ var chatEvent = strictObject({
|
|
|
1086
1086
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
1087
1087
|
});
|
|
1088
1088
|
|
|
1089
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1089
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
1090
1090
|
var chatMetadata = strictObject({
|
|
1091
1091
|
chat_id: id,
|
|
1092
1092
|
title: nullable(text),
|
|
@@ -1101,7 +1101,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
1101
1101
|
has_more: boolean()
|
|
1102
1102
|
});
|
|
1103
1103
|
|
|
1104
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1104
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
1105
1105
|
var action = picklist(["report", "delete", "remove"]);
|
|
1106
1106
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
1107
1107
|
var chatRules = strictObject({
|
|
@@ -1138,7 +1138,7 @@ var chatModeration = strictObject({
|
|
|
1138
1138
|
}))
|
|
1139
1139
|
});
|
|
1140
1140
|
|
|
1141
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1141
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
1142
1142
|
var optionalCount = optional(count);
|
|
1143
1143
|
var minutes = nullable(number());
|
|
1144
1144
|
var chatStats = strictObject({
|
|
@@ -1200,7 +1200,7 @@ var taskStats = strictObject({
|
|
|
1200
1200
|
}))
|
|
1201
1201
|
});
|
|
1202
1202
|
|
|
1203
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1203
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
1204
1204
|
var memberCount = strictObject({
|
|
1205
1205
|
day: pipe(text, isoDate()),
|
|
1206
1206
|
participants: nullable(count),
|
|
@@ -1223,7 +1223,45 @@ var chatTracking = strictObject({
|
|
|
1223
1223
|
tracked: boolean()
|
|
1224
1224
|
});
|
|
1225
1225
|
|
|
1226
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1226
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
1227
|
+
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
1228
|
+
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
1229
|
+
var profileFields = {
|
|
1230
|
+
usernames: array(text),
|
|
1231
|
+
birthday: optional(nullable(text)),
|
|
1232
|
+
phone: optional(nullable(text)),
|
|
1233
|
+
flags: partial(strictObject({
|
|
1234
|
+
bot: boolean(),
|
|
1235
|
+
verified: boolean(),
|
|
1236
|
+
premium: boolean(),
|
|
1237
|
+
scam: boolean(),
|
|
1238
|
+
fake: boolean(),
|
|
1239
|
+
restricted: boolean(),
|
|
1240
|
+
deleted: boolean(),
|
|
1241
|
+
support: boolean()
|
|
1242
|
+
})),
|
|
1243
|
+
seen: optional(text),
|
|
1244
|
+
contact: optional(boolean()),
|
|
1245
|
+
mutual_contact: optional(boolean()),
|
|
1246
|
+
common_chats_count: optional(nullable(count)),
|
|
1247
|
+
registered: optional(nullable(strictObject({
|
|
1248
|
+
at: text,
|
|
1249
|
+
source: picklist(["telegram", "max", "estimate"]),
|
|
1250
|
+
precision: picklist(["day", "month"])
|
|
1251
|
+
}))),
|
|
1252
|
+
has_photo: optional(boolean()),
|
|
1253
|
+
/** Earlier names and usernames, oldest first; the current ones are not repeated. */
|
|
1254
|
+
aliases: array(strictObject({
|
|
1255
|
+
name: optional(text),
|
|
1256
|
+
username: optional(text),
|
|
1257
|
+
link: optional(text),
|
|
1258
|
+
first_seen_at: time,
|
|
1259
|
+
last_seen_at: time,
|
|
1260
|
+
source: picklist(["profile", "messages"])
|
|
1261
|
+
}))
|
|
1262
|
+
};
|
|
1263
|
+
|
|
1264
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
1227
1265
|
var contact = strictObject({
|
|
1228
1266
|
ref: reference,
|
|
1229
1267
|
id,
|
|
@@ -1238,13 +1276,23 @@ var contact = strictObject({
|
|
|
1238
1276
|
/** For a source that knows it, such as a Zoom contact. */
|
|
1239
1277
|
email: optional(nullable(text)),
|
|
1240
1278
|
phones: optional(array(strictObject({ number: text, label: nullable(text) }))),
|
|
1241
|
-
/** `contacts show`: the chats shared with them. */
|
|
1242
|
-
chats: optional(array(
|
|
1279
|
+
/** `contacts show`: the chats shared with them, and what the store holds of their messages in each. */
|
|
1280
|
+
chats: optional(array(strictObject({
|
|
1281
|
+
...pick(chat, ["ref", "id", "title", "kind", "last_message_at"]).entries,
|
|
1282
|
+
/** Their messages stored; a floor unless `complete`. */
|
|
1283
|
+
their_messages: optional(count),
|
|
1284
|
+
first_at: optional(nullable(time)),
|
|
1285
|
+
last_at: optional(nullable(time)),
|
|
1286
|
+
/** The store holds the whole chat, so the count is the real one. */
|
|
1287
|
+
complete: optional(boolean())
|
|
1288
|
+
}))),
|
|
1289
|
+
/** `contacts show`: what the messenger says about them, or with `--offline` what the store saw of them. */
|
|
1290
|
+
...partial(strictObject(profileFields)).entries,
|
|
1243
1291
|
/** `contacts show --with-notes`: the owner's private notes about them. */
|
|
1244
1292
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
1245
1293
|
});
|
|
1246
1294
|
|
|
1247
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1295
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
1248
1296
|
var linkedIdentity = strictObject({
|
|
1249
1297
|
provider: text,
|
|
1250
1298
|
id,
|
|
@@ -1285,7 +1333,7 @@ var contactCheck = strictObject({
|
|
|
1285
1333
|
checked_at: time
|
|
1286
1334
|
});
|
|
1287
1335
|
|
|
1288
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1336
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
1289
1337
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
1290
1338
|
var contextMessage = strictObject({
|
|
1291
1339
|
locator: reference,
|
|
@@ -1483,7 +1531,7 @@ var contactPreparation = strictObject({
|
|
|
1483
1531
|
})
|
|
1484
1532
|
});
|
|
1485
1533
|
|
|
1486
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1534
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
1487
1535
|
var contactNote = strictObject({
|
|
1488
1536
|
id,
|
|
1489
1537
|
/** The contact, as a `contact:` reference. */
|
|
@@ -1495,62 +1543,13 @@ var contactNote = strictObject({
|
|
|
1495
1543
|
updated_at: time
|
|
1496
1544
|
});
|
|
1497
1545
|
|
|
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
|
|
1546
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
1548
1547
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
1549
1548
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
1550
1549
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
1551
1550
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
1552
1551
|
|
|
1553
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1552
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
1554
1553
|
var conversationDetails = union([
|
|
1555
1554
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
1556
1555
|
message
|
|
@@ -1640,7 +1639,7 @@ var conversationHit = strictObject({
|
|
|
1640
1639
|
stale: boolean()
|
|
1641
1640
|
});
|
|
1642
1641
|
|
|
1643
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1642
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
1644
1643
|
var counters = strictObject({
|
|
1645
1644
|
cutoff: time,
|
|
1646
1645
|
max_age_ms: milliseconds,
|
|
@@ -1670,7 +1669,7 @@ var counterRefresh = strictObject({
|
|
|
1670
1669
|
complete: optional(boolean())
|
|
1671
1670
|
});
|
|
1672
1671
|
|
|
1673
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1672
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
1674
1673
|
var document = strictObject({
|
|
1675
1674
|
ref: reference,
|
|
1676
1675
|
id,
|
|
@@ -1685,7 +1684,7 @@ var document = strictObject({
|
|
|
1685
1684
|
owners: optional(array(text))
|
|
1686
1685
|
});
|
|
1687
1686
|
|
|
1688
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1687
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
1689
1688
|
var documentLink = strictObject({
|
|
1690
1689
|
ref: reference,
|
|
1691
1690
|
url: text,
|
|
@@ -1696,7 +1695,7 @@ var documentLink = strictObject({
|
|
|
1696
1695
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
1697
1696
|
});
|
|
1698
1697
|
|
|
1699
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1698
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
1700
1699
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
1701
1700
|
var contribution = strictObject({
|
|
1702
1701
|
message: evidenceMessage,
|
|
@@ -1726,7 +1725,7 @@ var retentionStay = strictObject({
|
|
|
1726
1725
|
});
|
|
1727
1726
|
var evidence = union([contribution, retentionStay]);
|
|
1728
1727
|
|
|
1729
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1728
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
1730
1729
|
var fact = strictObject({
|
|
1731
1730
|
ref: reference,
|
|
1732
1731
|
id,
|
|
@@ -1749,7 +1748,7 @@ var fact = strictObject({
|
|
|
1749
1748
|
updated_at: time
|
|
1750
1749
|
});
|
|
1751
1750
|
|
|
1752
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1751
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
1753
1752
|
var hit = strictObject({
|
|
1754
1753
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting"]),
|
|
1755
1754
|
ref: reference,
|
|
@@ -1763,6 +1762,8 @@ var hit = strictObject({
|
|
|
1763
1762
|
timestamp: nullable(time),
|
|
1764
1763
|
excerpt: text,
|
|
1765
1764
|
sender_name: optional(nullable(text)),
|
|
1765
|
+
/** A message's or a mail's: whether the owner wrote it. */
|
|
1766
|
+
sender_is_me: optional(boolean()),
|
|
1766
1767
|
/** The writer's `person:` reference, where the store has one. */
|
|
1767
1768
|
sender_ref: optional(nullable(reference)),
|
|
1768
1769
|
found_by: optional(array(picklist(["title", "words", "meaning"]))),
|
|
@@ -1776,7 +1777,7 @@ var hit = strictObject({
|
|
|
1776
1777
|
untrusted
|
|
1777
1778
|
});
|
|
1778
1779
|
|
|
1779
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1780
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
1780
1781
|
var identity = strictObject({
|
|
1781
1782
|
ref: reference,
|
|
1782
1783
|
provider: text,
|
|
@@ -1789,7 +1790,7 @@ var identity = strictObject({
|
|
|
1789
1790
|
person: optional(nullable(reference))
|
|
1790
1791
|
});
|
|
1791
1792
|
|
|
1792
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1793
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
1793
1794
|
var imageEmbedding = strictObject({
|
|
1794
1795
|
model: text,
|
|
1795
1796
|
embedded: count,
|
|
@@ -1798,7 +1799,7 @@ var imageEmbedding = strictObject({
|
|
|
1798
1799
|
more: boolean()
|
|
1799
1800
|
});
|
|
1800
1801
|
|
|
1801
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1802
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
1802
1803
|
var joinRequest = strictObject({
|
|
1803
1804
|
person_id: id,
|
|
1804
1805
|
name: nullable(text),
|
|
@@ -1809,7 +1810,7 @@ var joinRequest = strictObject({
|
|
|
1809
1810
|
about: optional(text)
|
|
1810
1811
|
});
|
|
1811
1812
|
|
|
1812
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1813
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
1813
1814
|
var pollVote = strictObject({
|
|
1814
1815
|
person_id: id,
|
|
1815
1816
|
name: nullable(text),
|
|
@@ -1819,7 +1820,7 @@ var pollVote = strictObject({
|
|
|
1819
1820
|
voted_at: time
|
|
1820
1821
|
});
|
|
1821
1822
|
|
|
1822
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1823
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
1823
1824
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
1824
1825
|
var observation = strictObject({
|
|
1825
1826
|
value: pipe(number(), minValue(0)),
|
|
@@ -1860,7 +1861,7 @@ var serveSummary = strictObject({
|
|
|
1860
1861
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
1861
1862
|
});
|
|
1862
1863
|
|
|
1863
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1864
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
1864
1865
|
var mediaArchive = strictObject({
|
|
1865
1866
|
directory: text,
|
|
1866
1867
|
chats: count,
|
|
@@ -1892,7 +1893,7 @@ var mediaArchiveTimer = union([
|
|
|
1892
1893
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
1893
1894
|
]);
|
|
1894
1895
|
|
|
1895
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1896
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
1896
1897
|
var preparationId = pipe(string(), minLength(1));
|
|
1897
1898
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
1898
1899
|
var preparationTime = nullable(isoTime);
|
|
@@ -1984,7 +1985,7 @@ var preparationMeeting = strictObject({
|
|
|
1984
1985
|
updated_at: isoTime
|
|
1985
1986
|
});
|
|
1986
1987
|
|
|
1987
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1988
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
1988
1989
|
var meetingEvidence = preparationEvidence;
|
|
1989
1990
|
var meetingPersonContext = strictObject({
|
|
1990
1991
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -2006,7 +2007,7 @@ var meetingPersonContext = strictObject({
|
|
|
2006
2007
|
})
|
|
2007
2008
|
});
|
|
2008
2009
|
|
|
2009
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2010
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
2010
2011
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
2011
2012
|
var base = { id, project: reference, evidence: array(evidence2) };
|
|
2012
2013
|
var finding = variant("kind", [
|
|
@@ -2044,7 +2045,7 @@ var meetingFindings = strictObject({
|
|
|
2044
2045
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome) }))
|
|
2045
2046
|
});
|
|
2046
2047
|
|
|
2047
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2048
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
2048
2049
|
var communicationCoverage = strictObject({
|
|
2049
2050
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
2050
2051
|
query: string(),
|
|
@@ -2089,7 +2090,7 @@ var preparationCommunications = strictObject({
|
|
|
2089
2090
|
}))
|
|
2090
2091
|
});
|
|
2091
2092
|
|
|
2092
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2093
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
2093
2094
|
var meetingPreparation = strictObject({
|
|
2094
2095
|
communications: optional(preparationCommunications),
|
|
2095
2096
|
schema_version: literal(1),
|
|
@@ -2202,7 +2203,7 @@ var meetingPreparation = strictObject({
|
|
|
2202
2203
|
})
|
|
2203
2204
|
});
|
|
2204
2205
|
|
|
2205
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2206
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
2206
2207
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
2207
2208
|
var id3 = pipe(string(), minLength(1));
|
|
2208
2209
|
var text3 = string();
|
|
@@ -2266,7 +2267,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
2266
2267
|
})
|
|
2267
2268
|
});
|
|
2268
2269
|
|
|
2269
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2270
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
2270
2271
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
2271
2272
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
2272
2273
|
var meetingSeriesInventory = strictObject({
|
|
@@ -2296,7 +2297,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
2296
2297
|
})
|
|
2297
2298
|
});
|
|
2298
2299
|
|
|
2299
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2300
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
2300
2301
|
var text4 = string();
|
|
2301
2302
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
2302
2303
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -2313,7 +2314,7 @@ var meetingTaskProposal = strictObject({
|
|
|
2313
2314
|
persistence: literal("proposal-only")
|
|
2314
2315
|
});
|
|
2315
2316
|
|
|
2316
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2317
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
2317
2318
|
var memory = strictObject({
|
|
2318
2319
|
ref: reference,
|
|
2319
2320
|
id,
|
|
@@ -2332,7 +2333,7 @@ var memory = strictObject({
|
|
|
2332
2333
|
updated_at: time
|
|
2333
2334
|
});
|
|
2334
2335
|
|
|
2335
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2336
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
2336
2337
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
2337
2338
|
var status = picklist(["found", "linked", "dismissed"]);
|
|
2338
2339
|
var mention = strictObject({
|
|
@@ -2375,13 +2376,13 @@ var mentionRebuild = strictObject({
|
|
|
2375
2376
|
mentions: count
|
|
2376
2377
|
});
|
|
2377
2378
|
|
|
2378
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2379
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
2379
2380
|
var operated3 = { operation_id: id, chat_id: id };
|
|
2380
2381
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
2381
2382
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
2382
2383
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
2383
2384
|
|
|
2384
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2385
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
2385
2386
|
var messageTranscript = strictObject({
|
|
2386
2387
|
message_id: id,
|
|
2387
2388
|
text,
|
|
@@ -2439,7 +2440,7 @@ var evidencePacket = strictObject({
|
|
|
2439
2440
|
}))
|
|
2440
2441
|
});
|
|
2441
2442
|
|
|
2442
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2443
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
2443
2444
|
var messageThread = strictObject({
|
|
2444
2445
|
ref: reference,
|
|
2445
2446
|
chat: id,
|
|
@@ -2456,7 +2457,7 @@ var messageThread = strictObject({
|
|
|
2456
2457
|
});
|
|
2457
2458
|
var messageContext = union([message, messageThread]);
|
|
2458
2459
|
|
|
2459
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2460
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
2460
2461
|
var messageCounts = strictObject({
|
|
2461
2462
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
2462
2463
|
total: count,
|
|
@@ -2469,7 +2470,7 @@ var messageCounts = strictObject({
|
|
|
2469
2470
|
}))
|
|
2470
2471
|
});
|
|
2471
2472
|
|
|
2472
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2473
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
2473
2474
|
var messageLink = strictObject({
|
|
2474
2475
|
ref: reference,
|
|
2475
2476
|
url: nullable(text),
|
|
@@ -2478,7 +2479,7 @@ var messageLink = strictObject({
|
|
|
2478
2479
|
reason: nullable(picklist(["unsupported_chat", "unsupported_provider", "offline"]))
|
|
2479
2480
|
});
|
|
2480
2481
|
|
|
2481
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2482
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
2482
2483
|
var messageWrite = strictObject({
|
|
2483
2484
|
operation_id: id,
|
|
2484
2485
|
message,
|
|
@@ -2493,7 +2494,7 @@ var draftWrite = strictObject({
|
|
|
2493
2494
|
});
|
|
2494
2495
|
var messageSend = union([messageWrite, draftWrite]);
|
|
2495
2496
|
|
|
2496
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2497
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
2497
2498
|
var model = strictObject({
|
|
2498
2499
|
id,
|
|
2499
2500
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -2510,7 +2511,7 @@ var model = strictObject({
|
|
|
2510
2511
|
path: text
|
|
2511
2512
|
});
|
|
2512
2513
|
|
|
2513
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2514
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
2514
2515
|
var source = picklist(["environment", "keyring", "file"]);
|
|
2515
2516
|
var modelKey = strictObject({
|
|
2516
2517
|
provider: text,
|
|
@@ -2520,7 +2521,7 @@ var modelKey = strictObject({
|
|
|
2520
2521
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
2521
2522
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
2522
2523
|
|
|
2523
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2524
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
2524
2525
|
var versus = strictObject({ current: number(), previous: number() });
|
|
2525
2526
|
var person = { person_ref: reference, name: nullable(text) };
|
|
2526
2527
|
var graph = strictObject({
|
|
@@ -2554,14 +2555,14 @@ var officialStats = strictObject({
|
|
|
2554
2555
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
2555
2556
|
});
|
|
2556
2557
|
|
|
2557
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2558
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
2558
2559
|
var person2 = strictObject({
|
|
2559
2560
|
ref: reference,
|
|
2560
2561
|
name: nullable(text),
|
|
2561
2562
|
identities: optional(array(identity))
|
|
2562
2563
|
});
|
|
2563
2564
|
|
|
2564
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2565
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
2565
2566
|
var poll = strictObject({
|
|
2566
2567
|
chat_id: id,
|
|
2567
2568
|
message_id: id,
|
|
@@ -2577,11 +2578,11 @@ var poll = strictObject({
|
|
|
2577
2578
|
});
|
|
2578
2579
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
2579
2580
|
|
|
2580
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2581
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
2581
2582
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
2582
2583
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
2583
2584
|
|
|
2584
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2585
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
2585
2586
|
var figures = record(string(), number());
|
|
2586
2587
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
2587
2588
|
var rankingRow = strictObject({
|
|
@@ -2628,7 +2629,15 @@ var ranking = strictObject({
|
|
|
2628
2629
|
rows: array(rankingRow)
|
|
2629
2630
|
});
|
|
2630
2631
|
|
|
2631
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2632
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
2633
|
+
var reaction = strictObject({
|
|
2634
|
+
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
2635
|
+
/** The emoji, or `custom:<id>` for a custom one. */
|
|
2636
|
+
reaction: text,
|
|
2637
|
+
reacted_at: time
|
|
2638
|
+
});
|
|
2639
|
+
|
|
2640
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
2632
2641
|
var reactionChange = strictObject({
|
|
2633
2642
|
operation_id: id,
|
|
2634
2643
|
chat_id: id,
|
|
@@ -2636,7 +2645,7 @@ var reactionChange = strictObject({
|
|
|
2636
2645
|
reaction: nullable(text)
|
|
2637
2646
|
});
|
|
2638
2647
|
|
|
2639
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2648
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
2640
2649
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
2641
2650
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
2642
2651
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -2647,7 +2656,7 @@ var recipientChange = strictObject({
|
|
|
2647
2656
|
...partial(recipientOff).entries
|
|
2648
2657
|
});
|
|
2649
2658
|
|
|
2650
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2659
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
2651
2660
|
var events = array(record(string(), unknown()));
|
|
2652
2661
|
var recordedRun = strictObject({
|
|
2653
2662
|
run_id: id,
|
|
@@ -2719,7 +2728,7 @@ var runHit = strictObject({
|
|
|
2719
2728
|
});
|
|
2720
2729
|
var runLocation = strictObject({ path: text });
|
|
2721
2730
|
|
|
2722
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2731
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
2723
2732
|
var relationship = strictObject({
|
|
2724
2733
|
id,
|
|
2725
2734
|
from: reference,
|
|
@@ -2734,7 +2743,7 @@ var relationship = strictObject({
|
|
|
2734
2743
|
created_at: time
|
|
2735
2744
|
});
|
|
2736
2745
|
|
|
2737
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2746
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
2738
2747
|
var retentionCohort = strictObject({
|
|
2739
2748
|
/** The first day of the joining day or week. */
|
|
2740
2749
|
cohort: text,
|
|
@@ -2782,7 +2791,7 @@ var retention = strictObject({
|
|
|
2782
2791
|
rows: array(retentionCohort)
|
|
2783
2792
|
});
|
|
2784
2793
|
|
|
2785
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2794
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
2786
2795
|
var savedSearch = strictObject({
|
|
2787
2796
|
id,
|
|
2788
2797
|
/** `null` for a run in the history. */
|
|
@@ -2799,7 +2808,7 @@ var savedSearch = strictObject({
|
|
|
2799
2808
|
});
|
|
2800
2809
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
2801
2810
|
|
|
2802
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2811
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
2803
2812
|
var sendAttempt = strictObject({
|
|
2804
2813
|
at: time,
|
|
2805
2814
|
profile: text,
|
|
@@ -2827,7 +2836,7 @@ var sendAttempt = strictObject({
|
|
|
2827
2836
|
error_code: optional(text)
|
|
2828
2837
|
});
|
|
2829
2838
|
|
|
2830
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2839
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
2831
2840
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
2832
2841
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
2833
2842
|
var infoSchema = strictObject({
|
|
@@ -3035,7 +3044,7 @@ var storeRepair = union([
|
|
|
3035
3044
|
]);
|
|
3036
3045
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
3037
3046
|
|
|
3038
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3047
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
3039
3048
|
var tagTarget = variant("type", [
|
|
3040
3049
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
3041
3050
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -3066,7 +3075,7 @@ var automaticTags = strictObject({
|
|
|
3066
3075
|
dry_run: boolean()
|
|
3067
3076
|
});
|
|
3068
3077
|
|
|
3069
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3078
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
3070
3079
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
3071
3080
|
var taskPair = strictObject({
|
|
3072
3081
|
task: nullable(side),
|
|
@@ -3089,7 +3098,7 @@ var taskPair = strictObject({
|
|
|
3089
3098
|
created_at: time
|
|
3090
3099
|
});
|
|
3091
3100
|
|
|
3092
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3101
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
3093
3102
|
var nullableTime = nullable(time);
|
|
3094
3103
|
var link = strictObject({
|
|
3095
3104
|
id,
|
|
@@ -3213,7 +3222,7 @@ var taskScan = strictObject({
|
|
|
3213
3222
|
tasks: array(strictObject({ source: text, kind: picklist(TASK_KINDS), category: nullable(text) }))
|
|
3214
3223
|
});
|
|
3215
3224
|
|
|
3216
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3225
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
3217
3226
|
var topic = strictObject({
|
|
3218
3227
|
id,
|
|
3219
3228
|
title: text,
|
|
@@ -3227,7 +3236,7 @@ var topic = strictObject({
|
|
|
3227
3236
|
untrusted
|
|
3228
3237
|
});
|
|
3229
3238
|
|
|
3230
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3239
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
3231
3240
|
var ENTITIES = {
|
|
3232
3241
|
sync_progress: progress,
|
|
3233
3242
|
...MEETING_RESULT_ENTITIES,
|
|
@@ -3241,6 +3250,7 @@ var ENTITIES = {
|
|
|
3241
3250
|
"chat_title",
|
|
3242
3251
|
"timestamp",
|
|
3243
3252
|
"sender_name",
|
|
3253
|
+
"sender_is_me",
|
|
3244
3254
|
"excerpt",
|
|
3245
3255
|
"matched_in",
|
|
3246
3256
|
"score",
|
|
@@ -3259,6 +3269,7 @@ var ENTITIES = {
|
|
|
3259
3269
|
"chat_title",
|
|
3260
3270
|
"timestamp",
|
|
3261
3271
|
"sender_name",
|
|
3272
|
+
"sender_is_me",
|
|
3262
3273
|
"outgoing",
|
|
3263
3274
|
"text",
|
|
3264
3275
|
"transcript",
|
|
@@ -3292,7 +3303,6 @@ var ENTITIES = {
|
|
|
3292
3303
|
contact,
|
|
3293
3304
|
contact_note: contactNote,
|
|
3294
3305
|
contact_lookup: contactLookup,
|
|
3295
|
-
contact_profile: contactProfile,
|
|
3296
3306
|
contact_sync: contactSync,
|
|
3297
3307
|
contact_update: contactUpdate,
|
|
3298
3308
|
contact_state_change: contactStateChange,
|
|
@@ -3465,6 +3475,7 @@ var ENTITIES = {
|
|
|
3465
3475
|
poll,
|
|
3466
3476
|
poll_change: pollChange,
|
|
3467
3477
|
poll_vote: pollVote,
|
|
3478
|
+
reaction,
|
|
3468
3479
|
reaction_change: reactionChange,
|
|
3469
3480
|
topic,
|
|
3470
3481
|
folder,
|
|
@@ -3532,6 +3543,7 @@ export {
|
|
|
3532
3543
|
meetingProjectCandidates,
|
|
3533
3544
|
meetingSeriesInventory,
|
|
3534
3545
|
model,
|
|
3546
|
+
reaction,
|
|
3535
3547
|
recipient,
|
|
3536
3548
|
recordedRun,
|
|
3537
3549
|
savedSearch,
|