@wirecat/drive-cli 0.55.0 → 0.56.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/bin/drive.js +2 -2
- package/dist/bundle/{all-profiles-I5KJKZPF.js → all-profiles-7LSZ3CC3.js} +9 -9
- package/dist/bundle/{anthropic-DPM7BRKX.js → anthropic-3QRM4QXB.js} +5 -5
- package/dist/bundle/{app-server-FTGLOZ2K.js → app-server-WWNMUHID.js} +48 -48
- package/dist/bundle/{bun-XRO6XJHQ.js → bun-NIIYUR5F.js} +2 -2
- package/dist/bundle/{bun-sqlite-7JJX6OUT.js → bun-sqlite-GSLSN3OT.js} +4 -4
- package/dist/bundle/{chunk-NPMVPKBD.js → chunk-2QLLKDE5.js} +48 -47
- package/dist/bundle/{chunk-P4ABC6C4.js → chunk-2ULJW5BA.js} +2 -2
- package/dist/bundle/{chunk-AR2HRFQO.js → chunk-373WJIHE.js} +2 -2
- package/dist/bundle/{chunk-K2DMCTTF.js → chunk-3BXSLNWW.js} +129 -97
- package/dist/bundle/{chunk-BO7ZKZCH.js → chunk-4F2VRJZE.js} +121 -46
- package/dist/bundle/{chunk-CP6M5P4X.js → chunk-4MJA4MLV.js} +3 -3
- package/dist/bundle/{chunk-NDUYK676.js → chunk-4UQLL6RJ.js} +10 -9
- package/dist/bundle/{chunk-NFOUG7ES.js → chunk-566W4Q6L.js} +2 -2
- package/dist/bundle/chunk-5E67RIXD.js +247 -0
- package/dist/bundle/{chunk-E7RDXCV2.js → chunk-5KNIVHP6.js} +5 -5
- package/dist/bundle/{chunk-VXZULAWV.js → chunk-64E6QXXQ.js} +14 -13
- package/dist/bundle/{chunk-FNDQFFLP.js → chunk-6CFSDU56.js} +11 -11
- package/dist/bundle/{chunk-ORRQDSDH.js → chunk-6ZA4NR5H.js} +3 -3
- package/dist/bundle/{chunk-PFTIYWOK.js → chunk-7SNS443B.js} +4 -4
- package/dist/bundle/{chunk-JPFF6MNK.js → chunk-AHBUTDS7.js} +8 -8
- package/dist/bundle/{chunk-TIEEVT2Z.js → chunk-AKPFH3KC.js} +1 -1
- package/dist/bundle/{chunk-FDCGTODC.js → chunk-AL7MY7MW.js} +1 -1
- package/dist/bundle/{chunk-RMQGFLT2.js → chunk-B3TPS7BW.js} +6 -6
- package/dist/bundle/{chunk-2DZMGPUC.js → chunk-B64EY2SC.js} +123 -34
- package/dist/bundle/{chunk-2OGANEKA.js → chunk-CD736BG3.js} +2 -2
- package/dist/bundle/{chunk-C4QKY33N.js → chunk-CGCQNYB3.js} +2 -2
- package/dist/bundle/{chunk-D6SRTPCV.js → chunk-DJ75AG3K.js} +2 -2
- package/dist/bundle/{chunk-2KARCTUU.js → chunk-EE7R457T.js} +949 -581
- package/dist/bundle/{chunk-TQFCPUIM.js → chunk-EFEI724Z.js} +1 -1
- package/dist/bundle/{chunk-JBBZCTTF.js → chunk-EFX6FIDM.js} +1 -1
- package/dist/bundle/{chunk-DNJ43DT5.js → chunk-ELIYJXIY.js} +2 -2
- package/dist/bundle/{chunk-NPKFXGYG.js → chunk-EN7OZ5JH.js} +41 -23
- package/dist/bundle/{chunk-IXXVCKWL.js → chunk-G34Y5RAC.js} +26 -26
- package/dist/bundle/{chunk-TBD362SJ.js → chunk-GIQFBXQN.js} +11 -7
- package/dist/bundle/{chunk-KWKRTYRL.js → chunk-GKHUHRSL.js} +4 -4
- package/dist/bundle/{chunk-VGTDXEYD.js → chunk-HNUSPNUQ.js} +26 -13
- package/dist/bundle/{chunk-XTNEYXAQ.js → chunk-IJ2S53WJ.js} +5 -5
- package/dist/bundle/{chunk-FUKJQZED.js → chunk-ISK4K7UE.js} +1 -1
- package/dist/bundle/{chunk-YP5FDMTG.js → chunk-J2HGHSLX.js} +2 -2
- package/dist/bundle/{chunk-ULPS2OAL.js → chunk-JIGMCW4C.js} +4 -4
- package/dist/bundle/{chunk-ALMQEGYO.js → chunk-JLKNUFL2.js} +2 -2
- package/dist/bundle/{chunk-UDWMRZL6.js → chunk-JUKVJ7M2.js} +21 -21
- package/dist/bundle/{chunk-LAVWTS4P.js → chunk-KHNDZNQA.js} +5333 -5108
- package/dist/bundle/{chunk-GB5YM5HK.js → chunk-KM4Y55ZE.js} +5 -5
- package/dist/bundle/{chunk-4XRLPQ3N.js → chunk-L4BBK7UX.js} +2 -2
- package/dist/bundle/{chunk-EOEDICIE.js → chunk-LSSIVBQI.js} +1 -1
- package/dist/bundle/{chunk-6OJMA4ZT.js → chunk-NL2KXCFT.js} +389 -255
- package/dist/bundle/{chunk-2LLNPNMB.js → chunk-OOR6PEHV.js} +1 -1
- package/dist/bundle/{chunk-UIPT6IAU.js → chunk-OYNSFQ7K.js} +1 -1
- package/dist/bundle/{chunk-67A2YFAT.js → chunk-OZJMZSFB.js} +4 -4
- package/dist/bundle/{chunk-GC4JNVYF.js → chunk-Q3TMNETS.js} +98 -37
- package/dist/bundle/{chunk-5DEEBWDI.js → chunk-QAT6UXZZ.js} +38 -37
- package/dist/bundle/{chunk-VY3TYRCK.js → chunk-R5GJZPRF.js} +114 -59
- package/dist/bundle/{chunk-4I7EBJJV.js → chunk-RAEKC6TV.js} +6 -6
- package/dist/bundle/{chunk-HNR2BJJU.js → chunk-RB674T6L.js} +75 -17
- package/dist/bundle/{chunk-NCCL4QWR.js → chunk-SRNXTXJN.js} +3 -3
- package/dist/bundle/{chunk-TD4RAOMZ.js → chunk-TKVSJV5P.js} +3 -3
- package/dist/bundle/{chunk-W6DMCGMK.js → chunk-TR5656OS.js} +47 -22
- package/dist/bundle/{chunk-VY2AUZMJ.js → chunk-TZHCS5MG.js} +2 -2
- package/dist/bundle/{chunk-KM7Q67Z3.js → chunk-U2RSVKR5.js} +1 -1
- package/dist/bundle/{chunk-IDK5QUBJ.js → chunk-UKMFPBAO.js} +4 -4
- package/dist/bundle/{chunk-GIRVMZD3.js → chunk-VTJF2L5E.js} +16 -16
- package/dist/bundle/{chunk-AQNY57J2.js → chunk-W5FOPSJZ.js} +7 -7
- package/dist/bundle/{chunk-FKHWVVMV.js → chunk-W6FYYQ2J.js} +3 -3
- package/dist/bundle/{chunk-VVMCGF5X.js → chunk-WAVJWGUC.js} +1811 -883
- package/dist/bundle/{chunk-FDM3JMQZ.js → chunk-WBYCUBYM.js} +89 -36
- package/dist/bundle/{chunk-TIVC4DB5.js → chunk-WJOKTIOJ.js} +2 -2
- package/dist/bundle/{chunk-7MVKSPEG.js → chunk-WJPVGXKA.js} +6 -6
- package/dist/bundle/{chunk-N4VNUOOD.js → chunk-XGNADVIA.js} +18 -18
- package/dist/bundle/{chunk-J6XLM4QW.js → chunk-XJVK7ETL.js} +28 -10
- package/dist/bundle/{chunk-3K4H2DTA.js → chunk-YZ6SYLDC.js} +12 -3
- package/dist/bundle/command-contract-XIACCAZL.js +35 -0
- package/dist/bundle/{decode-3LX3BLZM.js → decode-5MHMPYKE.js} +4 -4
- package/dist/bundle/drive.js +6 -6
- package/dist/bundle/{echarts-YNGCOYHW.js → echarts-CLB22SZS.js} +2 -2
- package/dist/bundle/{embed-FICTRZJL.js → embed-TF66ODAR.js} +5 -5
- package/dist/bundle/{embedder-DSMRCRSH.js → embedder-EDWOIAC2.js} +8 -8
- package/dist/bundle/{entry-4ZX3BNXK.js → entry-CWYCQ53A.js} +8 -6
- package/dist/bundle/{first-run-GRBQ3SQ5.js → first-run-YIH7EHJI.js} +9 -9
- package/dist/bundle/first-screen-THH3XD5Y.js +33 -0
- package/dist/bundle/{google-QV2B2KZA.js → google-A4F2WFO4.js} +9 -9
- package/dist/bundle/{google-api-EVO7F3WB.js → google-api-ZXGQOJUI.js} +51 -51
- package/dist/bundle/grants-B3HZRRAQ.js +98 -0
- package/dist/bundle/{identity-TKAX75OT.js → identity-6DGQA6DX.js} +4 -4
- package/dist/bundle/{instructions-GJHHFV64.js → instructions-BXZZNAMS.js} +1 -1
- package/dist/bundle/{login-R2YEAKEM.js → login-OUOGSTPH.js} +57 -57
- package/dist/bundle/{mcp-EMNFFY4N.js → mcp-VVMPUDSL.js} +2 -2
- package/dist/bundle/{node-GFOH6FKP.js → node-R6ZNQ3NT.js} +2 -2
- package/dist/bundle/{node-sqlite-NZIBED3C.js → node-sqlite-AFQTE4XZ.js} +4 -4
- package/dist/bundle/{oauth-WUHT2JII.js → oauth-46XBJBML.js} +6 -6
- package/dist/bundle/{open-INBNHORD.js → open-WJCRBIP7.js} +3 -3
- package/dist/bundle/{openai-BMREUGJP.js → openai-3TIBDWZA.js} +13 -13
- package/dist/bundle/{process-XVDX4SPD.js → process-P36JP33R.js} +1 -1
- package/dist/bundle/{program-DUWFQOSL.js → program-7FRXMZNK.js} +85 -77
- package/dist/bundle/{prompt-S7GHCPGR.js → prompt-FFGBIT4A.js} +4 -4
- package/dist/bundle/{reasons-T24V3AYS.js → reasons-VHCVYH54.js} +3 -3
- package/dist/bundle/{recognize-T3DABMW5.js → recognize-4EAKIMON.js} +3 -3
- package/dist/bundle/{remote-ASYGFT6E.js → remote-HX3JP4EH.js} +6 -6
- package/dist/bundle/{rerank-BQ5U252K.js → rerank-BW3A4PUU.js} +6 -6
- package/dist/bundle/{serve-JMLNKCUZ.js → serve-YYOOLIBS.js} +8 -8
- package/dist/bundle/{server-5E6RC7GZ.js → server-G6XTEEFI.js} +38 -38
- package/dist/bundle/server-YKYEUIJT.js +63 -0
- package/dist/bundle/{services-NFB3XSON.js → services-OAPILZOW.js} +45 -25
- package/dist/bundle/{sqlite-runtime-TAMYMQFR.js → sqlite-runtime-GTXDK4PE.js} +4 -4
- package/dist/bundle/{state-DS4G3ZXV.js → state-XG335LGZ.js} +5 -5
- package/dist/bundle/{store-MLMKYJLC.js → store-7KOXJNQP.js} +14 -12
- package/dist/bundle/{store-HAS2LRFE.js → store-N53SJOPS.js} +33 -15
- package/dist/bundle/store-maintenance-command-W3TI52X2.js +52 -0
- package/dist/bundle/tokens-CG3A5KS4.js +96 -0
- package/dist/commands/knowledge.d.ts.map +1 -1
- package/dist/commands/knowledge.js +10 -2
- package/dist/commands/knowledge.js.map +1 -1
- package/dist/config.d.ts +6 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +4 -12
- package/dist/config.js.map +1 -1
- package/dist/profile-lock.js +2 -2
- package/dist/profile-lock.js.map +1 -1
- package/dist/reasons.js +1 -1
- package/dist/reasons.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/chunk-3NAVOBGH.js +0 -331
- package/dist/bundle/command-contract-VXLGE6NV.js +0 -35
- package/dist/bundle/first-screen-JK3MZVCU.js +0 -33
- package/dist/bundle/grants-B642KK5M.js +0 -98
- package/dist/bundle/server-QI4C3CQT.js +0 -63
- package/dist/bundle/store-maintenance-command-LI3JR22B.js +0 -52
- package/dist/bundle/tokens-UMSAYGOH.js +0 -96
- /package/dist/bundle/{chunk-NPGVOZVK.js → chunk-HPXYN7F3.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-4F2VRJZE.js";
|
|
7
7
|
import {
|
|
8
8
|
carries
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-U2RSVKR5.js";
|
|
10
10
|
import {
|
|
11
11
|
WEIGHTS,
|
|
12
12
|
agenda,
|
|
@@ -14,9 +14,10 @@ import {
|
|
|
14
14
|
childTrace,
|
|
15
15
|
closeSuggestion,
|
|
16
16
|
conversation,
|
|
17
|
+
hitFile,
|
|
17
18
|
tagging,
|
|
18
19
|
task
|
|
19
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-TR5656OS.js";
|
|
20
21
|
import {
|
|
21
22
|
author,
|
|
22
23
|
count,
|
|
@@ -30,10 +31,10 @@ import {
|
|
|
30
31
|
text,
|
|
31
32
|
time,
|
|
32
33
|
untrusted
|
|
33
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-7SNS443B.js";
|
|
34
35
|
import {
|
|
35
36
|
envName
|
|
36
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-JLKNUFL2.js";
|
|
37
38
|
import {
|
|
38
39
|
FACT_STATUSES,
|
|
39
40
|
FACT_TYPES,
|
|
@@ -43,6 +44,7 @@ import {
|
|
|
43
44
|
MEMORY_KINDS,
|
|
44
45
|
MEMORY_SCOPES,
|
|
45
46
|
MEMORY_STATUSES,
|
|
47
|
+
PRIORITY_LABELS,
|
|
46
48
|
RELATION_KINDS,
|
|
47
49
|
TASK_KINDS,
|
|
48
50
|
TASK_ORIGINS,
|
|
@@ -63,11 +65,11 @@ import {
|
|
|
63
65
|
meetingStats,
|
|
64
66
|
meetingSummary,
|
|
65
67
|
meetingTranscript
|
|
66
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-R5GJZPRF.js";
|
|
67
69
|
import {
|
|
68
70
|
resolvePaths,
|
|
69
71
|
writeSecurely
|
|
70
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-XGNADVIA.js";
|
|
71
73
|
import {
|
|
72
74
|
CliError,
|
|
73
75
|
array,
|
|
@@ -101,12 +103,12 @@ import {
|
|
|
101
103
|
unknown,
|
|
102
104
|
unwrap,
|
|
103
105
|
variant
|
|
104
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-GIQFBXQN.js";
|
|
105
107
|
import {
|
|
106
108
|
__name
|
|
107
109
|
} from "./chunk-ZVVMGPBJ.js";
|
|
108
110
|
|
|
109
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
111
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
110
112
|
var member = strictObject({
|
|
111
113
|
id,
|
|
112
114
|
name: nullable(text),
|
|
@@ -129,7 +131,7 @@ var member = strictObject({
|
|
|
129
131
|
check: optional(record(string(), unknown()))
|
|
130
132
|
});
|
|
131
133
|
|
|
132
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
134
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
133
135
|
var setting = optional(nullable(boolean()));
|
|
134
136
|
var chat = strictObject({
|
|
135
137
|
ref: reference,
|
|
@@ -170,7 +172,7 @@ var chat = strictObject({
|
|
|
170
172
|
members: optional(array(member))
|
|
171
173
|
});
|
|
172
174
|
|
|
173
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
175
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
174
176
|
var botProfile = strictObject({
|
|
175
177
|
name: text,
|
|
176
178
|
token: text,
|
|
@@ -195,6 +197,7 @@ var botAdmin = strictObject({
|
|
|
195
197
|
title: nullable(text)
|
|
196
198
|
});
|
|
197
199
|
var botMenuEntry = strictObject({ name: text, description: nullable(text) });
|
|
200
|
+
var topicIcon = strictObject({ emoji: text });
|
|
198
201
|
var botWebhook = strictObject({ url: text, types: optional(array(text)) });
|
|
199
202
|
var scheduledJob = strictObject({
|
|
200
203
|
name: text,
|
|
@@ -237,7 +240,7 @@ var stickerInventory = strictObject({
|
|
|
237
240
|
url: optional(nullable(text))
|
|
238
241
|
});
|
|
239
242
|
|
|
240
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
243
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
241
244
|
var actionableError = objectWithRest({
|
|
242
245
|
code: text,
|
|
243
246
|
message: text,
|
|
@@ -254,7 +257,7 @@ var batchResult = strictObject({
|
|
|
254
257
|
max_error_percent: count
|
|
255
258
|
});
|
|
256
259
|
|
|
257
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
260
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
258
261
|
var conversationBuild = strictObject({
|
|
259
262
|
chat: id,
|
|
260
263
|
messages: count,
|
|
@@ -279,13 +282,13 @@ var catchUpPreparation = strictObject({
|
|
|
279
282
|
prepared: optional(conversationPreparation)
|
|
280
283
|
});
|
|
281
284
|
|
|
282
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
285
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
283
286
|
import { spawn } from "node:child_process";
|
|
284
287
|
import { randomBytes } from "node:crypto";
|
|
285
288
|
import { closeSync, existsSync, mkdirSync, openSync, readdirSync, readFileSync, realpathSync, rmSync } from "node:fs";
|
|
286
289
|
import { dirname, join } from "node:path";
|
|
287
290
|
|
|
288
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
291
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
289
292
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
290
293
|
const total = input.total ?? null;
|
|
291
294
|
const updated = input.updatedAt ?? null;
|
|
@@ -301,7 +304,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
301
304
|
};
|
|
302
305
|
}, "progressOf");
|
|
303
306
|
|
|
304
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
307
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
305
308
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
306
309
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
307
310
|
const out = openSync(log, "a", 384);
|
|
@@ -456,7 +459,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
456
459
|
return { job: id6, pid, chat: input.chat, log };
|
|
457
460
|
}, "startArchiveJob");
|
|
458
461
|
|
|
459
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
462
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
460
463
|
var problem = strictObject({ code: text, message: text });
|
|
461
464
|
var job = strictObject({
|
|
462
465
|
id,
|
|
@@ -479,7 +482,7 @@ var job = strictObject({
|
|
|
479
482
|
error: optional(problem)
|
|
480
483
|
});
|
|
481
484
|
|
|
482
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
485
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
483
486
|
var quoted = strictObject({
|
|
484
487
|
id,
|
|
485
488
|
sender_id: nullable(id),
|
|
@@ -586,7 +589,7 @@ var message = strictObject({
|
|
|
586
589
|
provider_metadata: providerMetadata
|
|
587
590
|
});
|
|
588
591
|
|
|
589
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
592
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
590
593
|
var extractionItem = strictObject({
|
|
591
594
|
ref: reference,
|
|
592
595
|
attachment: count,
|
|
@@ -619,7 +622,7 @@ var extractionReport = strictObject({
|
|
|
619
622
|
cursor: optional(text)
|
|
620
623
|
});
|
|
621
624
|
|
|
622
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
625
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
623
626
|
var savedMessageFile = strictObject({
|
|
624
627
|
kind: text,
|
|
625
628
|
path: text,
|
|
@@ -675,7 +678,9 @@ var messageSyncChat = strictObject({
|
|
|
675
678
|
reached_since: optional(literal(true)),
|
|
676
679
|
reached_last: optional(literal(true)),
|
|
677
680
|
stopped: optional(literal(true)),
|
|
678
|
-
tasks
|
|
681
|
+
tasks,
|
|
682
|
+
/** `--full-history`: the chat's pushed history is now kept in full; `false` when the store does not know the chat. */
|
|
683
|
+
history_included: optional(boolean())
|
|
679
684
|
});
|
|
680
685
|
var messageSyncAll = strictObject({
|
|
681
686
|
batch: optional(batchResult),
|
|
@@ -698,7 +703,7 @@ var messageSyncAll = strictObject({
|
|
|
698
703
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
699
704
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
700
705
|
|
|
701
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
706
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
702
707
|
var range = strictObject({ from: number(), to: number() });
|
|
703
708
|
var storeChatStatus = strictObject({
|
|
704
709
|
chat_id: id,
|
|
@@ -789,7 +794,7 @@ var storeJobRetry = union([
|
|
|
789
794
|
]);
|
|
790
795
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
791
796
|
|
|
792
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
797
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
793
798
|
var account = strictObject({
|
|
794
799
|
provider: text,
|
|
795
800
|
id,
|
|
@@ -799,7 +804,7 @@ var account = strictObject({
|
|
|
799
804
|
scope: optional(picklist(["personal", "work"]))
|
|
800
805
|
});
|
|
801
806
|
|
|
802
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
807
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
803
808
|
var accountSession = strictObject({
|
|
804
809
|
current: boolean(),
|
|
805
810
|
client: nullable(text),
|
|
@@ -809,7 +814,7 @@ var accountSession = strictObject({
|
|
|
809
814
|
created_at: optional(nullable(time))
|
|
810
815
|
});
|
|
811
816
|
|
|
812
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
817
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
813
818
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
814
819
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
815
820
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -827,7 +832,7 @@ var accountPrivacy = strictObject({
|
|
|
827
832
|
});
|
|
828
833
|
var accountPrivacyChange = strictObject({ operation_id: id, privacy: accountPrivacy });
|
|
829
834
|
|
|
830
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
835
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
831
836
|
var accountProfile = strictObject({
|
|
832
837
|
profile: id,
|
|
833
838
|
current: boolean(),
|
|
@@ -837,7 +842,7 @@ var accountProfile = strictObject({
|
|
|
837
842
|
signed_in: optional(boolean())
|
|
838
843
|
});
|
|
839
844
|
|
|
840
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
845
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
841
846
|
var milliseconds = pipe(number(), minValue(0));
|
|
842
847
|
var counterReading = strictObject({
|
|
843
848
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -849,7 +854,7 @@ var counterReading = strictObject({
|
|
|
849
854
|
});
|
|
850
855
|
var selection = record(string(), unknown());
|
|
851
856
|
|
|
852
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
857
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
853
858
|
var adminRow = strictObject({
|
|
854
859
|
ref: reference,
|
|
855
860
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -902,11 +907,11 @@ var adminReport = strictObject({
|
|
|
902
907
|
rows: array(adminRow)
|
|
903
908
|
});
|
|
904
909
|
|
|
905
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
910
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
906
911
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
907
912
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
908
913
|
|
|
909
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
914
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
910
915
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
911
916
|
var attachmentBytes = strictObject({
|
|
912
917
|
ref: reference,
|
|
@@ -934,7 +939,7 @@ var attachmentTextChange = strictObject({
|
|
|
934
939
|
replaced: nullable(picklist(["extracted", "agent"]))
|
|
935
940
|
});
|
|
936
941
|
|
|
937
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
942
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
938
943
|
var chart = strictObject({
|
|
939
944
|
version: literal(1),
|
|
940
945
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -949,7 +954,7 @@ var chart = strictObject({
|
|
|
949
954
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
950
955
|
});
|
|
951
956
|
|
|
952
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
957
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
953
958
|
var named = strictObject({
|
|
954
959
|
id,
|
|
955
960
|
title: nullable(text),
|
|
@@ -972,7 +977,7 @@ var folder = strictObject({
|
|
|
972
977
|
excluded_chats: optional(array(named))
|
|
973
978
|
});
|
|
974
979
|
|
|
975
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
980
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
976
981
|
var inviteLink = strictObject({
|
|
977
982
|
link: text,
|
|
978
983
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -988,7 +993,7 @@ var inviteLink = strictObject({
|
|
|
988
993
|
joined_count: optional(count)
|
|
989
994
|
});
|
|
990
995
|
|
|
991
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
996
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
992
997
|
var operated = { operation_id: id, chat_id: id };
|
|
993
998
|
var group = strictObject({
|
|
994
999
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -1068,7 +1073,7 @@ var chatFolderOrder = strictObject({
|
|
|
1068
1073
|
folders: array(strictObject({ id, title: text }))
|
|
1069
1074
|
});
|
|
1070
1075
|
|
|
1071
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1076
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
1072
1077
|
var operated2 = { operation_id: id, chat_id: id };
|
|
1073
1078
|
var chatRemoval = strictObject(operated2);
|
|
1074
1079
|
var chatMuting = strictObject({
|
|
@@ -1079,7 +1084,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
1079
1084
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
1080
1085
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
1081
1086
|
|
|
1082
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1087
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
1083
1088
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
1084
1089
|
var chatEvent = strictObject({
|
|
1085
1090
|
chat_id: id,
|
|
@@ -1096,7 +1101,7 @@ var chatEvent = strictObject({
|
|
|
1096
1101
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
1097
1102
|
});
|
|
1098
1103
|
|
|
1099
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1104
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
1100
1105
|
var chatMetadata = strictObject({
|
|
1101
1106
|
chat_id: id,
|
|
1102
1107
|
title: nullable(text),
|
|
@@ -1111,7 +1116,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
1111
1116
|
has_more: boolean()
|
|
1112
1117
|
});
|
|
1113
1118
|
|
|
1114
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1119
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
1115
1120
|
var action = picklist(["report", "delete", "remove"]);
|
|
1116
1121
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
1117
1122
|
var chatRules = strictObject({
|
|
@@ -1148,7 +1153,7 @@ var chatModeration = strictObject({
|
|
|
1148
1153
|
}))
|
|
1149
1154
|
});
|
|
1150
1155
|
|
|
1151
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1156
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
1152
1157
|
var optionalCount = optional(count);
|
|
1153
1158
|
var minutes = nullable(number());
|
|
1154
1159
|
var chatStats = strictObject({
|
|
@@ -1210,7 +1215,7 @@ var taskStats = strictObject({
|
|
|
1210
1215
|
}))
|
|
1211
1216
|
});
|
|
1212
1217
|
|
|
1213
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1218
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
1214
1219
|
var memberCount = strictObject({
|
|
1215
1220
|
day: pipe(text, isoDate()),
|
|
1216
1221
|
participants: nullable(count),
|
|
@@ -1233,7 +1238,7 @@ var chatTracking = strictObject({
|
|
|
1233
1238
|
tracked: boolean()
|
|
1234
1239
|
});
|
|
1235
1240
|
|
|
1236
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1241
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
1237
1242
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
1238
1243
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
1239
1244
|
var profileFields = {
|
|
@@ -1271,7 +1276,7 @@ var profileFields = {
|
|
|
1271
1276
|
}))
|
|
1272
1277
|
};
|
|
1273
1278
|
|
|
1274
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1279
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
1275
1280
|
var contact = strictObject({
|
|
1276
1281
|
ref: reference,
|
|
1277
1282
|
id,
|
|
@@ -1302,7 +1307,7 @@ var contact = strictObject({
|
|
|
1302
1307
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
1303
1308
|
});
|
|
1304
1309
|
|
|
1305
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1310
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
1306
1311
|
var linkedIdentity = strictObject({
|
|
1307
1312
|
provider: text,
|
|
1308
1313
|
id,
|
|
@@ -1343,7 +1348,7 @@ var contactCheck = strictObject({
|
|
|
1343
1348
|
checked_at: time
|
|
1344
1349
|
});
|
|
1345
1350
|
|
|
1346
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1351
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
1347
1352
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
1348
1353
|
var contextMessage = strictObject({
|
|
1349
1354
|
locator: reference,
|
|
@@ -1541,7 +1546,7 @@ var contactPreparation = strictObject({
|
|
|
1541
1546
|
})
|
|
1542
1547
|
});
|
|
1543
1548
|
|
|
1544
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1549
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
1545
1550
|
var contactNote = strictObject({
|
|
1546
1551
|
id,
|
|
1547
1552
|
/** The contact, as a `contact:` reference. */
|
|
@@ -1553,13 +1558,13 @@ var contactNote = strictObject({
|
|
|
1553
1558
|
updated_at: time
|
|
1554
1559
|
});
|
|
1555
1560
|
|
|
1556
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1561
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
1557
1562
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
1558
1563
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
1559
1564
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
1560
1565
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
1561
1566
|
|
|
1562
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1567
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
1563
1568
|
var conversationDetails = union([
|
|
1564
1569
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
1565
1570
|
message
|
|
@@ -1649,7 +1654,7 @@ var conversationHit = strictObject({
|
|
|
1649
1654
|
stale: boolean()
|
|
1650
1655
|
});
|
|
1651
1656
|
|
|
1652
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1657
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
1653
1658
|
var counters = strictObject({
|
|
1654
1659
|
cutoff: time,
|
|
1655
1660
|
max_age_ms: milliseconds,
|
|
@@ -1679,7 +1684,7 @@ var counterRefresh = strictObject({
|
|
|
1679
1684
|
complete: optional(boolean())
|
|
1680
1685
|
});
|
|
1681
1686
|
|
|
1682
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1687
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
1683
1688
|
var document = strictObject({
|
|
1684
1689
|
ref: reference,
|
|
1685
1690
|
id,
|
|
@@ -1694,7 +1699,7 @@ var document = strictObject({
|
|
|
1694
1699
|
owners: optional(array(text))
|
|
1695
1700
|
});
|
|
1696
1701
|
|
|
1697
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1702
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
1698
1703
|
var documentLink = strictObject({
|
|
1699
1704
|
ref: reference,
|
|
1700
1705
|
url: text,
|
|
@@ -1705,7 +1710,7 @@ var documentLink = strictObject({
|
|
|
1705
1710
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
1706
1711
|
});
|
|
1707
1712
|
|
|
1708
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1713
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
1709
1714
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
1710
1715
|
var contribution = strictObject({
|
|
1711
1716
|
message: evidenceMessage,
|
|
@@ -1735,7 +1740,7 @@ var retentionStay = strictObject({
|
|
|
1735
1740
|
});
|
|
1736
1741
|
var evidence = union([contribution, retentionStay]);
|
|
1737
1742
|
|
|
1738
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1743
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
1739
1744
|
var fact = strictObject({
|
|
1740
1745
|
ref: reference,
|
|
1741
1746
|
id,
|
|
@@ -1743,6 +1748,8 @@ var fact = strictObject({
|
|
|
1743
1748
|
text,
|
|
1744
1749
|
status: picklist(FACT_STATUSES),
|
|
1745
1750
|
project: nullable(text),
|
|
1751
|
+
/** What the project is called. */
|
|
1752
|
+
project_name: optional(nullable(text)),
|
|
1746
1753
|
subject: nullable(reference),
|
|
1747
1754
|
/** What the subject is called; `null` for the owner and for a row with no name. */
|
|
1748
1755
|
subject_name: optional(nullable(text)),
|
|
@@ -1763,7 +1770,7 @@ var fact = strictObject({
|
|
|
1763
1770
|
updated_at: time
|
|
1764
1771
|
});
|
|
1765
1772
|
|
|
1766
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1773
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
1767
1774
|
var hit = strictObject({
|
|
1768
1775
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting"]),
|
|
1769
1776
|
ref: reference,
|
|
@@ -1786,13 +1793,17 @@ var hit = strictObject({
|
|
|
1786
1793
|
offset_ms: optional(nullable(count)),
|
|
1787
1794
|
/** A meeting passage's place: its transcript, chat or summary. */
|
|
1788
1795
|
scope: optional(picklist(["transcript", "chat", "summary"])),
|
|
1796
|
+
/** A meeting transcript hit's cue, which `meetings passage` opens with the lines around it. */
|
|
1797
|
+
cue_ref: optional(reference),
|
|
1789
1798
|
/** A meeting passage's stored line, so two passages of one meeting stay apart; `search meetings` gives the same. */
|
|
1790
1799
|
id: optional(pipe(string(), minLength(1))),
|
|
1800
|
+
/** A message's files; absent when it has none. */
|
|
1801
|
+
attachments: optional(array(hitFile)),
|
|
1791
1802
|
/** Absent on a note hit: the owner wrote it. */
|
|
1792
1803
|
untrusted
|
|
1793
1804
|
});
|
|
1794
1805
|
|
|
1795
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1806
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
1796
1807
|
var identity = strictObject({
|
|
1797
1808
|
ref: reference,
|
|
1798
1809
|
provider: text,
|
|
@@ -1805,7 +1816,7 @@ var identity = strictObject({
|
|
|
1805
1816
|
person: optional(nullable(reference))
|
|
1806
1817
|
});
|
|
1807
1818
|
|
|
1808
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1819
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
1809
1820
|
var imageEmbedding = strictObject({
|
|
1810
1821
|
model: text,
|
|
1811
1822
|
embedded: count,
|
|
@@ -1814,7 +1825,7 @@ var imageEmbedding = strictObject({
|
|
|
1814
1825
|
more: boolean()
|
|
1815
1826
|
});
|
|
1816
1827
|
|
|
1817
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1828
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
1818
1829
|
var joinRequest = strictObject({
|
|
1819
1830
|
person_id: id,
|
|
1820
1831
|
name: nullable(text),
|
|
@@ -1825,7 +1836,7 @@ var joinRequest = strictObject({
|
|
|
1825
1836
|
about: optional(text)
|
|
1826
1837
|
});
|
|
1827
1838
|
|
|
1828
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1839
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
1829
1840
|
var pollVote = strictObject({
|
|
1830
1841
|
person_id: id,
|
|
1831
1842
|
name: nullable(text),
|
|
@@ -1835,7 +1846,7 @@ var pollVote = strictObject({
|
|
|
1835
1846
|
voted_at: time
|
|
1836
1847
|
});
|
|
1837
1848
|
|
|
1838
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1849
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
1839
1850
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
1840
1851
|
var observation = strictObject({
|
|
1841
1852
|
value: pipe(number(), minValue(0)),
|
|
@@ -1876,7 +1887,7 @@ var serveSummary = strictObject({
|
|
|
1876
1887
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
1877
1888
|
});
|
|
1878
1889
|
|
|
1879
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1890
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
1880
1891
|
var mediaArchive = strictObject({
|
|
1881
1892
|
directory: text,
|
|
1882
1893
|
chats: count,
|
|
@@ -1908,7 +1919,7 @@ var mediaArchiveTimer = union([
|
|
|
1908
1919
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
1909
1920
|
]);
|
|
1910
1921
|
|
|
1911
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1922
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
1912
1923
|
var preparationId = pipe(string(), minLength(1));
|
|
1913
1924
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
1914
1925
|
var preparationTime = nullable(isoTime);
|
|
@@ -2000,7 +2011,7 @@ var preparationMeeting = strictObject({
|
|
|
2000
2011
|
updated_at: isoTime
|
|
2001
2012
|
});
|
|
2002
2013
|
|
|
2003
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2014
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
2004
2015
|
var meetingEvidence = preparationEvidence;
|
|
2005
2016
|
var meetingPersonContext = strictObject({
|
|
2006
2017
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -2022,7 +2033,7 @@ var meetingPersonContext = strictObject({
|
|
|
2022
2033
|
})
|
|
2023
2034
|
});
|
|
2024
2035
|
|
|
2025
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2036
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
2026
2037
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
2027
2038
|
var base = { id, project: reference, evidence: array(evidence2) };
|
|
2028
2039
|
var finding = variant("kind", [
|
|
@@ -2060,7 +2071,7 @@ var meetingFindings = strictObject({
|
|
|
2060
2071
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome) }))
|
|
2061
2072
|
});
|
|
2062
2073
|
|
|
2063
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2074
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
2064
2075
|
var communicationCoverage = strictObject({
|
|
2065
2076
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
2066
2077
|
query: string(),
|
|
@@ -2105,7 +2116,7 @@ var preparationCommunications = strictObject({
|
|
|
2105
2116
|
}))
|
|
2106
2117
|
});
|
|
2107
2118
|
|
|
2108
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2119
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
2109
2120
|
var meetingPreparation = strictObject({
|
|
2110
2121
|
communications: optional(preparationCommunications),
|
|
2111
2122
|
schema_version: literal(1),
|
|
@@ -2218,7 +2229,7 @@ var meetingPreparation = strictObject({
|
|
|
2218
2229
|
})
|
|
2219
2230
|
});
|
|
2220
2231
|
|
|
2221
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2232
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
2222
2233
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
2223
2234
|
var id3 = pipe(string(), minLength(1));
|
|
2224
2235
|
var text3 = string();
|
|
@@ -2282,7 +2293,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
2282
2293
|
})
|
|
2283
2294
|
});
|
|
2284
2295
|
|
|
2285
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2296
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
2286
2297
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
2287
2298
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
2288
2299
|
var meetingSeriesInventory = strictObject({
|
|
@@ -2312,7 +2323,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
2312
2323
|
})
|
|
2313
2324
|
});
|
|
2314
2325
|
|
|
2315
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2326
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
2316
2327
|
var text4 = string();
|
|
2317
2328
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
2318
2329
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -2329,7 +2340,7 @@ var meetingTaskProposal = strictObject({
|
|
|
2329
2340
|
persistence: literal("proposal-only")
|
|
2330
2341
|
});
|
|
2331
2342
|
|
|
2332
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2343
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
2333
2344
|
var memory = strictObject({
|
|
2334
2345
|
ref: reference,
|
|
2335
2346
|
id,
|
|
@@ -2339,6 +2350,9 @@ var memory = strictObject({
|
|
|
2339
2350
|
/** What the subject is called; `null` for the owner and for a row with no name. */
|
|
2340
2351
|
subject_name: optional(nullable(text)),
|
|
2341
2352
|
subject_is_owner: optional(boolean()),
|
|
2353
|
+
/** The project it belongs to, and what that project is called. */
|
|
2354
|
+
project: optional(nullable(reference)),
|
|
2355
|
+
project_name: optional(nullable(text)),
|
|
2342
2356
|
author,
|
|
2343
2357
|
model: nullable(text),
|
|
2344
2358
|
confidence: nullable(number()),
|
|
@@ -2353,7 +2367,7 @@ var memory = strictObject({
|
|
|
2353
2367
|
updated_at: time
|
|
2354
2368
|
});
|
|
2355
2369
|
|
|
2356
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2370
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
2357
2371
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
2358
2372
|
var status = picklist(["found", "linked", "dismissed"]);
|
|
2359
2373
|
var mention = strictObject({
|
|
@@ -2396,13 +2410,13 @@ var mentionRebuild = strictObject({
|
|
|
2396
2410
|
mentions: count
|
|
2397
2411
|
});
|
|
2398
2412
|
|
|
2399
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2413
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
2400
2414
|
var operated3 = { operation_id: id, chat_id: id };
|
|
2401
2415
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
2402
2416
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
2403
2417
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
2404
2418
|
|
|
2405
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2419
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
2406
2420
|
var messageTranscript = strictObject({
|
|
2407
2421
|
message_id: id,
|
|
2408
2422
|
text,
|
|
@@ -2460,7 +2474,7 @@ var evidencePacket = strictObject({
|
|
|
2460
2474
|
}))
|
|
2461
2475
|
});
|
|
2462
2476
|
|
|
2463
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2477
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
2464
2478
|
var messageThread = strictObject({
|
|
2465
2479
|
ref: reference,
|
|
2466
2480
|
chat: id,
|
|
@@ -2477,7 +2491,7 @@ var messageThread = strictObject({
|
|
|
2477
2491
|
});
|
|
2478
2492
|
var messageContext = union([message, messageThread]);
|
|
2479
2493
|
|
|
2480
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2494
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
2481
2495
|
var messageCounts = strictObject({
|
|
2482
2496
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
2483
2497
|
total: count,
|
|
@@ -2490,16 +2504,24 @@ var messageCounts = strictObject({
|
|
|
2490
2504
|
}))
|
|
2491
2505
|
});
|
|
2492
2506
|
|
|
2493
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2507
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
2494
2508
|
var messageLink = strictObject({
|
|
2495
2509
|
ref: reference,
|
|
2496
2510
|
url: nullable(text),
|
|
2497
2511
|
access: picklist(["public", "restricted", "unknown", "unavailable"]),
|
|
2498
2512
|
/** Why there is no link. */
|
|
2499
|
-
reason: nullable(picklist(["unsupported_chat", "unsupported_provider", "offline"]))
|
|
2513
|
+
reason: nullable(picklist(["unsupported_chat", "unsupported_provider", "offline"])),
|
|
2514
|
+
/** The message's files, each with its own link where the messenger gives one; absent when it has none. */
|
|
2515
|
+
files: optional(array(strictObject({
|
|
2516
|
+
position: count,
|
|
2517
|
+
kind: text,
|
|
2518
|
+
name: optional(text),
|
|
2519
|
+
url: nullable(text),
|
|
2520
|
+
reason: nullable(picklist(["unsupported_provider"]))
|
|
2521
|
+
})))
|
|
2500
2522
|
});
|
|
2501
2523
|
|
|
2502
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2524
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
2503
2525
|
var messageWrite = strictObject({
|
|
2504
2526
|
operation_id: id,
|
|
2505
2527
|
message,
|
|
@@ -2514,7 +2536,7 @@ var draftWrite = strictObject({
|
|
|
2514
2536
|
});
|
|
2515
2537
|
var messageSend = union([messageWrite, draftWrite]);
|
|
2516
2538
|
|
|
2517
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2539
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
2518
2540
|
var model = strictObject({
|
|
2519
2541
|
id,
|
|
2520
2542
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -2531,7 +2553,7 @@ var model = strictObject({
|
|
|
2531
2553
|
path: text
|
|
2532
2554
|
});
|
|
2533
2555
|
|
|
2534
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2556
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
2535
2557
|
var source = picklist(["environment", "keyring", "file"]);
|
|
2536
2558
|
var modelKey = strictObject({
|
|
2537
2559
|
provider: text,
|
|
@@ -2541,7 +2563,7 @@ var modelKey = strictObject({
|
|
|
2541
2563
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
2542
2564
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
2543
2565
|
|
|
2544
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2566
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
2545
2567
|
var versus = strictObject({ current: number(), previous: number() });
|
|
2546
2568
|
var person = { person_ref: reference, name: nullable(text) };
|
|
2547
2569
|
var graph = strictObject({
|
|
@@ -2575,14 +2597,14 @@ var officialStats = strictObject({
|
|
|
2575
2597
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
2576
2598
|
});
|
|
2577
2599
|
|
|
2578
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2600
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
2579
2601
|
var person2 = strictObject({
|
|
2580
2602
|
ref: reference,
|
|
2581
2603
|
name: nullable(text),
|
|
2582
2604
|
identities: optional(array(identity))
|
|
2583
2605
|
});
|
|
2584
2606
|
|
|
2585
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2607
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
2586
2608
|
var poll = strictObject({
|
|
2587
2609
|
chat_id: id,
|
|
2588
2610
|
message_id: id,
|
|
@@ -2598,11 +2620,11 @@ var poll = strictObject({
|
|
|
2598
2620
|
});
|
|
2599
2621
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
2600
2622
|
|
|
2601
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2623
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
2602
2624
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
2603
2625
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
2604
2626
|
|
|
2605
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2627
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
2606
2628
|
var figures = record(string(), number());
|
|
2607
2629
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
2608
2630
|
var rankingRow = strictObject({
|
|
@@ -2649,7 +2671,7 @@ var ranking = strictObject({
|
|
|
2649
2671
|
rows: array(rankingRow)
|
|
2650
2672
|
});
|
|
2651
2673
|
|
|
2652
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2674
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
2653
2675
|
var reaction = strictObject({
|
|
2654
2676
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
2655
2677
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -2657,7 +2679,7 @@ var reaction = strictObject({
|
|
|
2657
2679
|
reacted_at: time
|
|
2658
2680
|
});
|
|
2659
2681
|
|
|
2660
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2682
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
2661
2683
|
var reactionChange = strictObject({
|
|
2662
2684
|
operation_id: id,
|
|
2663
2685
|
chat_id: id,
|
|
@@ -2665,7 +2687,7 @@ var reactionChange = strictObject({
|
|
|
2665
2687
|
reaction: nullable(text)
|
|
2666
2688
|
});
|
|
2667
2689
|
|
|
2668
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2690
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
2669
2691
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
2670
2692
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
2671
2693
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -2676,7 +2698,7 @@ var recipientChange = strictObject({
|
|
|
2676
2698
|
...partial(recipientOff).entries
|
|
2677
2699
|
});
|
|
2678
2700
|
|
|
2679
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2701
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
2680
2702
|
var events = array(record(string(), unknown()));
|
|
2681
2703
|
var recordedRun = strictObject({
|
|
2682
2704
|
run_id: id,
|
|
@@ -2748,7 +2770,7 @@ var runHit = strictObject({
|
|
|
2748
2770
|
});
|
|
2749
2771
|
var runLocation = strictObject({ path: text });
|
|
2750
2772
|
|
|
2751
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2773
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
2752
2774
|
var relationship = strictObject({
|
|
2753
2775
|
id,
|
|
2754
2776
|
from: reference,
|
|
@@ -2763,7 +2785,7 @@ var relationship = strictObject({
|
|
|
2763
2785
|
created_at: time
|
|
2764
2786
|
});
|
|
2765
2787
|
|
|
2766
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2788
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
2767
2789
|
var retentionCohort = strictObject({
|
|
2768
2790
|
/** The first day of the joining day or week. */
|
|
2769
2791
|
cohort: text,
|
|
@@ -2811,7 +2833,7 @@ var retention = strictObject({
|
|
|
2811
2833
|
rows: array(retentionCohort)
|
|
2812
2834
|
});
|
|
2813
2835
|
|
|
2814
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2836
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
2815
2837
|
var savedSearch = strictObject({
|
|
2816
2838
|
id,
|
|
2817
2839
|
/** `null` for a run in the history. */
|
|
@@ -2828,7 +2850,7 @@ var savedSearch = strictObject({
|
|
|
2828
2850
|
});
|
|
2829
2851
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
2830
2852
|
|
|
2831
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2853
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
2832
2854
|
var sendAttempt = strictObject({
|
|
2833
2855
|
at: time,
|
|
2834
2856
|
profile: text,
|
|
@@ -2856,7 +2878,7 @@ var sendAttempt = strictObject({
|
|
|
2856
2878
|
error_code: optional(text)
|
|
2857
2879
|
});
|
|
2858
2880
|
|
|
2859
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2881
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
2860
2882
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
2861
2883
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
2862
2884
|
var infoSchema = strictObject({
|
|
@@ -3064,7 +3086,7 @@ var storeRepair = union([
|
|
|
3064
3086
|
]);
|
|
3065
3087
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
3066
3088
|
|
|
3067
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3089
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
3068
3090
|
var tagTarget = variant("type", [
|
|
3069
3091
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
3070
3092
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -3095,7 +3117,7 @@ var automaticTags = strictObject({
|
|
|
3095
3117
|
dry_run: boolean()
|
|
3096
3118
|
});
|
|
3097
3119
|
|
|
3098
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3120
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
3099
3121
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
3100
3122
|
var taskPair = strictObject({
|
|
3101
3123
|
task: nullable(side),
|
|
@@ -3118,7 +3140,7 @@ var taskPair = strictObject({
|
|
|
3118
3140
|
created_at: time
|
|
3119
3141
|
});
|
|
3120
3142
|
|
|
3121
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3143
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
3122
3144
|
var nullableTime = nullable(time);
|
|
3123
3145
|
var link = strictObject({
|
|
3124
3146
|
id,
|
|
@@ -3139,11 +3161,17 @@ var taskCard = strictObject({
|
|
|
3139
3161
|
ref: reference,
|
|
3140
3162
|
key: text,
|
|
3141
3163
|
project: reference,
|
|
3164
|
+
project_key: text,
|
|
3165
|
+
project_name: text,
|
|
3166
|
+
created_by: nullable(strictObject({ type: picklist(["person", "bot"]), id, name: nullable(text), owner: boolean() })),
|
|
3142
3167
|
title: text,
|
|
3143
3168
|
description: nullable(text),
|
|
3144
3169
|
type: picklist(TASK_TYPES),
|
|
3145
3170
|
status: picklist(TASK_STATES),
|
|
3146
3171
|
priority: nullable(number()),
|
|
3172
|
+
priority_label: nullable(picklist(PRIORITY_LABELS)),
|
|
3173
|
+
agent: nullable(text),
|
|
3174
|
+
revision: number(),
|
|
3147
3175
|
parent: nullable(reference),
|
|
3148
3176
|
source: nullable(text),
|
|
3149
3177
|
due_at: nullableTime,
|
|
@@ -3242,7 +3270,7 @@ var taskScan = strictObject({
|
|
|
3242
3270
|
tasks: array(strictObject({ source: text, kind: picklist(TASK_KINDS), category: nullable(text) }))
|
|
3243
3271
|
});
|
|
3244
3272
|
|
|
3245
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3273
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
3246
3274
|
var topic = strictObject({
|
|
3247
3275
|
id,
|
|
3248
3276
|
title: text,
|
|
@@ -3256,7 +3284,7 @@ var topic = strictObject({
|
|
|
3256
3284
|
untrusted
|
|
3257
3285
|
});
|
|
3258
3286
|
|
|
3259
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3287
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
3260
3288
|
var ENTITIES = {
|
|
3261
3289
|
sync_progress: progress,
|
|
3262
3290
|
...MEETING_RESULT_ENTITIES,
|
|
@@ -3282,6 +3310,8 @@ var ENTITIES = {
|
|
|
3282
3310
|
"follow_ups",
|
|
3283
3311
|
"email"
|
|
3284
3312
|
]).entries,
|
|
3313
|
+
/** The files the message carries; absent when it has none. */
|
|
3314
|
+
attachments: optional(array(hitFile)),
|
|
3285
3315
|
untrusted
|
|
3286
3316
|
}),
|
|
3287
3317
|
"message.summary": pick(message, [
|
|
@@ -3345,6 +3375,7 @@ var ENTITIES = {
|
|
|
3345
3375
|
bot_seen_chat: botSeenChat,
|
|
3346
3376
|
bot_admin: botAdmin,
|
|
3347
3377
|
bot_menu_entry: botMenuEntry,
|
|
3378
|
+
topic_icon: topicIcon,
|
|
3348
3379
|
bot_webhook: botWebhook,
|
|
3349
3380
|
scheduled_job: scheduledJob,
|
|
3350
3381
|
call_record: callRecord,
|
|
@@ -3555,6 +3586,7 @@ export {
|
|
|
3555
3586
|
botSeenChat,
|
|
3556
3587
|
botAdmin,
|
|
3557
3588
|
botMenuEntry,
|
|
3589
|
+
topicIcon,
|
|
3558
3590
|
botWebhook,
|
|
3559
3591
|
scheduledJob,
|
|
3560
3592
|
callRecord,
|