@wirecat/tg-cli 0.100.0 → 0.102.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/bin/tg.js +1 -1
- package/dist/bot/transport.d.ts.map +1 -1
- package/dist/bot/transport.js +14 -17
- package/dist/bot/transport.js.map +1 -1
- package/dist/bundle/{adapter-2LVPMFKF.js → adapter-M2HRSFFL.js} +95 -33
- package/dist/bundle/{all-profiles-BLTK2AAB.js → all-profiles-GOD2QNTK.js} +42 -12
- package/dist/bundle/{anthropic-RJE4XEOO.js → anthropic-LKU7RWMA.js} +5 -5
- package/dist/bundle/{bot-api-4XM3NVWG.js → bot-api-X3MPFVPL.js} +49 -53
- package/dist/bundle/{bot-history-WVM5GEQN.js → bot-history-OUMVVG22.js} +15 -15
- package/dist/bundle/{bun-UZXO2LRQ.js → bun-LIZ6MKFS.js} +2 -2
- package/dist/bundle/{bun-sqlite-GJLGSQIT.js → bun-sqlite-2IFQYQ44.js} +4 -4
- package/dist/bundle/chunk-264DAFJV.js +161 -0
- package/dist/bundle/{chunk-ASDZHG5I.js → chunk-2SUTCDGO.js} +2 -2
- package/dist/bundle/{chunk-2IM4M7Q2.js → chunk-2XBSVRT2.js} +1 -1
- package/dist/bundle/{chunk-Q26JMPBP.js → chunk-334UBWOB.js} +11 -11
- package/dist/bundle/{chunk-MQNFEVAH.js → chunk-4PDEQL6T.js} +2 -2
- package/dist/bundle/chunk-4QB4WDLT.js +922 -0
- package/dist/bundle/{chunk-66E5QDLH.js → chunk-5D6OJREA.js} +1 -1
- package/dist/bundle/{chunk-RDQMV6EU.js → chunk-5DFGJPT6.js} +4 -4
- package/dist/bundle/{chunk-GTURDJJD.js → chunk-5KU4UQBM.js} +1 -1
- package/dist/bundle/{chunk-JSKT5UZX.js → chunk-5VSR5ENL.js} +8 -8
- package/dist/bundle/{chunk-DN4QUTWU.js → chunk-AUOXTGTU.js} +1 -1
- package/dist/bundle/{chunk-X4Y2ROJI.js → chunk-BBC546ZA.js} +91 -2
- package/dist/bundle/{chunk-RER6DAHP.js → chunk-BQYTIYGB.js} +171 -148
- package/dist/bundle/{chunk-3S5CL55R.js → chunk-CLWYQNSC.js} +6 -6
- package/dist/bundle/{chunk-I6WZJVRT.js → chunk-CRZPQQHE.js} +59 -46
- package/dist/bundle/chunk-DE7LFMY2.js +440 -0
- package/dist/bundle/{chunk-GYEOQS2D.js → chunk-DG62L57H.js} +17 -17
- package/dist/bundle/{chunk-QU2FJMFB.js → chunk-ENE5CSVY.js} +2903 -1490
- package/dist/bundle/{chunk-P26LWFNZ.js → chunk-ERQDBK5I.js} +1 -1
- package/dist/bundle/{chunk-UD4DOZCN.js → chunk-F2TG3BA2.js} +6 -6
- package/dist/bundle/{chunk-4U7QOFDA.js → chunk-FBWOQMPE.js} +1698 -816
- package/dist/bundle/{chunk-JFJVS5JC.js → chunk-FOUE7XLK.js} +2 -2
- package/dist/bundle/{chunk-3QDPV34J.js → chunk-GSKFAE3I.js} +1297 -518
- package/dist/bundle/{chunk-BAIZAZ6Q.js → chunk-HLAZ65AW.js} +2 -2
- package/dist/bundle/{chunk-LI7TXFLS.js → chunk-JFSVXMN6.js} +3 -3
- package/dist/bundle/{chunk-6VEOR6GD.js → chunk-M5UH5CF3.js} +6 -8
- package/dist/bundle/{chunk-HXTTDIL7.js → chunk-MGG7JSNO.js} +3 -3
- package/dist/bundle/{chunk-6YLT4YVJ.js → chunk-OCWARAFE.js} +2 -2
- package/dist/bundle/{chunk-WE3LBRMB.js → chunk-OEJ5DMCX.js} +7 -7
- package/dist/bundle/{chunk-SGJYU3SB.js → chunk-OHBHHBYL.js} +3 -3
- package/dist/bundle/{chunk-2MXQ2EUN.js → chunk-PSH7K6TL.js} +617 -57
- package/dist/bundle/{chunk-H3X5LS6U.js → chunk-PYTOIDSM.js} +4 -4
- package/dist/bundle/{chunk-ATZ44Z77.js → chunk-Q2NYEX4A.js} +150 -52
- package/dist/bundle/{chunk-KE6L2UEG.js → chunk-QEPZUFPL.js} +70 -61
- package/dist/bundle/{chunk-CV5ASHTW.js → chunk-QL7CQ6VZ.js} +255 -80
- package/dist/bundle/{chunk-THVNP6S6.js → chunk-SRU3OF4R.js} +2 -2
- package/dist/bundle/{chunk-OOOV3JBZ.js → chunk-TV5DGHBT.js} +953 -677
- package/dist/bundle/{chunk-A7OBVRJV.js → chunk-TXBUDJ3P.js} +3 -3
- package/dist/bundle/{chunk-OW3COBN5.js → chunk-U4RRZUNP.js} +9 -9
- package/dist/bundle/{chunk-WKOY3POD.js → chunk-UK3GAN7Q.js} +7 -7
- package/dist/bundle/{chunk-BL36RR34.js → chunk-UR6ASUSG.js} +10 -7
- package/dist/bundle/{chunk-4VBDVZNE.js → chunk-V52SBQYF.js} +242 -19
- package/dist/bundle/{chunk-4YCLWWZ3.js → chunk-VUJ34PEQ.js} +11 -11
- package/dist/bundle/{chunk-2XUGPE5W.js → chunk-W5EB4JLV.js} +3 -3
- package/dist/bundle/{chunk-3KHKYYCR.js → chunk-WMOEOVWZ.js} +1 -0
- package/dist/bundle/{chunk-UMLPXNJI.js → chunk-WVEHUKCZ.js} +1 -1
- package/dist/bundle/{chunk-SYPL4PHV.js → chunk-XXTJUZMB.js} +1 -1
- package/dist/bundle/{chunk-SMJTL5U7.js → chunk-Y4XSWI22.js} +6 -4
- package/dist/bundle/{chunk-HKT5EOT5.js → chunk-YHB57PFN.js} +1 -1
- package/dist/bundle/{chunk-BZANDKWT.js → chunk-ZJVZXJOG.js} +2 -2
- package/dist/bundle/{chunk-QY3YOOTP.js → chunk-ZRNRQFTF.js} +2 -2
- package/dist/bundle/command-contract-A6VZN3ZR.js +31 -0
- package/dist/bundle/{echarts-YHSYUWLY.js → echarts-27W2CIBD.js} +2 -2
- package/dist/bundle/{embed-3HGI2XIW.js → embed-FGJ273X2.js} +4 -4
- package/dist/bundle/{embedder-2CJMZETJ.js → embedder-7ELL3CQ3.js} +7 -7
- package/dist/bundle/{entry-UVE53OV3.js → entry-SEE5YWIX.js} +5 -5
- package/dist/bundle/{first-run-6GYC2QS3.js → first-run-BD7FEC3W.js} +9 -9
- package/dist/bundle/first-screen-ASZV6LSA.js +29 -0
- package/dist/bundle/{identity-HEV5E57G.js → identity-QR4F42T6.js} +3 -3
- package/dist/bundle/{instructions-5UVAXSQV.js → instructions-L74K64PV.js} +1 -1
- package/dist/bundle/{mcp-NWXBVNUA.js → mcp-4Y37G2UY.js} +2 -2
- package/dist/bundle/{node-YHYEGYVE.js → node-RSL3HANO.js} +2 -2
- package/dist/bundle/{node-sqlite-CQ33A3R2.js → node-sqlite-7R3PYQGJ.js} +4 -4
- package/dist/bundle/{oauth-OB3JFAD7.js → oauth-4ESGXF6U.js} +7 -7
- package/dist/bundle/{open-JHGZIXU2.js → open-DFYEUGTA.js} +3 -3
- package/dist/bundle/{process-PSKS3N5B.js → process-RMV3AKLB.js} +1 -1
- package/dist/bundle/{program-RPYVPNRX.js → program-PIUYQHBF.js} +62 -67
- package/dist/bundle/{prompt-7BXUMJGG.js → prompt-H7GYQQLL.js} +4 -4
- package/dist/bundle/{proxy-transport-3EEMW2HW.js → proxy-transport-G4MA6BGU.js} +4 -4
- package/dist/bundle/{recognize-YMZPL47R.js → recognize-3GMOLZF4.js} +5 -5
- package/dist/bundle/{remote-LQ3Q22NG.js → remote-IRWTCI2B.js} +5 -5
- package/dist/bundle/{rerank-SM7IYVXJ.js → rerank-W3OSXXBN.js} +5 -5
- package/dist/bundle/{serve-GHUEP5H5.js → serve-ZCPO44NO.js} +24 -9
- package/dist/bundle/{server-A45HVXQY.js → server-FXU4QFRB.js} +42 -39
- package/dist/bundle/{server-K2BQPPHN.js → server-YWL4HDOP.js} +77 -68
- package/dist/bundle/{state-WIOL52GZ.js → state-MJPTDIB5.js} +9 -5
- package/dist/bundle/{store-XE5AKUJZ.js → store-6VNQG56O.js} +10 -10
- package/dist/bundle/store-maintenance-command-62TQTMER.js +43 -0
- package/dist/bundle/tg.js +4 -4
- package/dist/commands/context.d.ts.map +1 -1
- package/dist/commands/context.js +2 -0
- package/dist/commands/context.js.map +1 -1
- package/dist/program.js +1 -1
- package/dist/program.js.map +1 -1
- package/dist/telegram/errors.js +1 -1
- package/dist/telegram/errors.js.map +1 -1
- package/dist/telegram/sending.d.ts.map +1 -1
- package/dist/telegram/sending.js +52 -3
- package/dist/telegram/sending.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/install/windows.ps1 +1 -1
- package/package.json +3 -3
- package/skills/tg-cli/SKILL.md +4 -4
- package/dist/bundle/chunk-3N6LXAPE.js +0 -724
- package/dist/bundle/chunk-DVOUKGFK.js +0 -1950
- package/dist/bundle/chunk-MUEXF4ME.js +0 -582
- package/dist/bundle/chunk-U7LXA4SO.js +0 -1007
- package/dist/bundle/chunk-V4JSVH4M.js +0 -190
- package/dist/bundle/chunk-YG7PNCSW.js +0 -230
- package/dist/bundle/chunk-Z2FHEIXN.js +0 -63
- package/dist/bundle/command-contract-AIVKJYIR.js +0 -31
- package/dist/bundle/first-screen-HRRLVLOG.js +0 -29
- package/dist/bundle/store-maintenance-command-YS5E7VUN.js +0 -46
- /package/dist/bundle/{chunk-3MVHRZWR.js → chunk-2SJOUK6J.js} +0 -0
|
@@ -4,16 +4,14 @@ import {
|
|
|
4
4
|
WEIGHTS,
|
|
5
5
|
agenda,
|
|
6
6
|
attachment,
|
|
7
|
+
childTrace,
|
|
7
8
|
closeSuggestion,
|
|
8
9
|
conversation,
|
|
9
10
|
recordLogFor,
|
|
10
11
|
storeTable,
|
|
11
12
|
tagging,
|
|
12
13
|
task
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import {
|
|
15
|
-
childTrace
|
|
16
|
-
} from "./chunk-U7LXA4SO.js";
|
|
14
|
+
} from "./chunk-GSKFAE3I.js";
|
|
17
15
|
import {
|
|
18
16
|
author,
|
|
19
17
|
count,
|
|
@@ -24,17 +22,20 @@ import {
|
|
|
24
22
|
providerMetadata,
|
|
25
23
|
reminder,
|
|
26
24
|
text,
|
|
27
|
-
time
|
|
28
|
-
|
|
25
|
+
time,
|
|
26
|
+
untrusted
|
|
27
|
+
} from "./chunk-Y4XSWI22.js";
|
|
29
28
|
import {
|
|
30
29
|
envName
|
|
31
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-2SUTCDGO.js";
|
|
32
31
|
import {
|
|
33
32
|
carries
|
|
34
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-WVEHUKCZ.js";
|
|
35
34
|
import {
|
|
36
35
|
FACT_STATUSES,
|
|
37
36
|
FACT_TYPES,
|
|
37
|
+
LINK_KINDS,
|
|
38
|
+
LINK_SOURCES,
|
|
38
39
|
MEETING_RESULT_ENTITIES,
|
|
39
40
|
MEMORY_KINDS,
|
|
40
41
|
MEMORY_SCOPES,
|
|
@@ -59,11 +60,11 @@ import {
|
|
|
59
60
|
meetingStats,
|
|
60
61
|
meetingSummary,
|
|
61
62
|
meetingTranscript
|
|
62
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-QEPZUFPL.js";
|
|
63
64
|
import {
|
|
64
65
|
resolvePaths,
|
|
65
66
|
writeSecurely
|
|
66
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-DG62L57H.js";
|
|
67
68
|
import {
|
|
68
69
|
CliError,
|
|
69
70
|
array,
|
|
@@ -97,12 +98,12 @@ import {
|
|
|
97
98
|
unknown,
|
|
98
99
|
unwrap,
|
|
99
100
|
variant
|
|
100
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-OEJ5DMCX.js";
|
|
101
102
|
import {
|
|
102
103
|
__name
|
|
103
104
|
} from "./chunk-AFV74GK3.js";
|
|
104
105
|
|
|
105
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
106
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
106
107
|
var member = strictObject({
|
|
107
108
|
id,
|
|
108
109
|
name: nullable(text),
|
|
@@ -125,7 +126,7 @@ var member = strictObject({
|
|
|
125
126
|
check: optional(record(string(), unknown()))
|
|
126
127
|
});
|
|
127
128
|
|
|
128
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
129
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
129
130
|
var setting = optional(nullable(boolean()));
|
|
130
131
|
var chat = strictObject({
|
|
131
132
|
ref: reference,
|
|
@@ -166,7 +167,7 @@ var chat = strictObject({
|
|
|
166
167
|
members: optional(array(member))
|
|
167
168
|
});
|
|
168
169
|
|
|
169
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
170
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
170
171
|
var botProfile = strictObject({
|
|
171
172
|
name: text,
|
|
172
173
|
token: text,
|
|
@@ -233,7 +234,7 @@ var stickerInventory = strictObject({
|
|
|
233
234
|
url: optional(nullable(text))
|
|
234
235
|
});
|
|
235
236
|
|
|
236
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
237
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
237
238
|
var actionableError = objectWithRest({
|
|
238
239
|
code: text,
|
|
239
240
|
message: text,
|
|
@@ -250,7 +251,7 @@ var batchResult = strictObject({
|
|
|
250
251
|
max_error_percent: count
|
|
251
252
|
});
|
|
252
253
|
|
|
253
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
254
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
254
255
|
var conversationBuild = strictObject({
|
|
255
256
|
chat: id,
|
|
256
257
|
messages: count,
|
|
@@ -275,13 +276,13 @@ var catchUpPreparation = strictObject({
|
|
|
275
276
|
prepared: optional(conversationPreparation)
|
|
276
277
|
});
|
|
277
278
|
|
|
278
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
279
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
279
280
|
import { spawn } from "node:child_process";
|
|
280
281
|
import { randomBytes } from "node:crypto";
|
|
281
282
|
import { closeSync, existsSync, mkdirSync, openSync, readdirSync, readFileSync, realpathSync, rmSync } from "node:fs";
|
|
282
283
|
import { dirname, join } from "node:path";
|
|
283
284
|
|
|
284
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
285
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
285
286
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
286
287
|
const total = input.total ?? null;
|
|
287
288
|
const updated = input.updatedAt ?? null;
|
|
@@ -297,7 +298,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
297
298
|
};
|
|
298
299
|
}, "progressOf");
|
|
299
300
|
|
|
300
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
301
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
301
302
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
302
303
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
303
304
|
const out = openSync(log, "a", 384);
|
|
@@ -452,7 +453,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
452
453
|
return { job: id6, pid, chat: input.chat, log };
|
|
453
454
|
}, "startArchiveJob");
|
|
454
455
|
|
|
455
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
456
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
456
457
|
var problem = strictObject({ code: text, message: text });
|
|
457
458
|
var job = strictObject({
|
|
458
459
|
id,
|
|
@@ -475,7 +476,7 @@ var job = strictObject({
|
|
|
475
476
|
error: optional(problem)
|
|
476
477
|
});
|
|
477
478
|
|
|
478
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
479
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
479
480
|
var quoted = strictObject({
|
|
480
481
|
id,
|
|
481
482
|
sender_id: nullable(id),
|
|
@@ -570,7 +571,7 @@ var message = strictObject({
|
|
|
570
571
|
provider_metadata: providerMetadata
|
|
571
572
|
});
|
|
572
573
|
|
|
573
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
574
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
574
575
|
var extractionItem = strictObject({
|
|
575
576
|
ref: reference,
|
|
576
577
|
attachment: count,
|
|
@@ -603,7 +604,7 @@ var extractionReport = strictObject({
|
|
|
603
604
|
cursor: optional(text)
|
|
604
605
|
});
|
|
605
606
|
|
|
606
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
607
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
607
608
|
var savedMessageFile = strictObject({
|
|
608
609
|
kind: text,
|
|
609
610
|
path: text,
|
|
@@ -682,7 +683,7 @@ var messageSyncAll = strictObject({
|
|
|
682
683
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
683
684
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
684
685
|
|
|
685
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
686
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
686
687
|
var range = strictObject({ from: number(), to: number() });
|
|
687
688
|
var storeChatStatus = strictObject({
|
|
688
689
|
chat_id: id,
|
|
@@ -773,7 +774,7 @@ var storeJobRetry = union([
|
|
|
773
774
|
]);
|
|
774
775
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
775
776
|
|
|
776
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
777
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
777
778
|
var account = strictObject({
|
|
778
779
|
provider: text,
|
|
779
780
|
id,
|
|
@@ -783,7 +784,7 @@ var account = strictObject({
|
|
|
783
784
|
scope: optional(picklist(["personal", "work"]))
|
|
784
785
|
});
|
|
785
786
|
|
|
786
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
787
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
787
788
|
var accountSession = strictObject({
|
|
788
789
|
current: boolean(),
|
|
789
790
|
client: nullable(text),
|
|
@@ -793,7 +794,7 @@ var accountSession = strictObject({
|
|
|
793
794
|
created_at: optional(nullable(time))
|
|
794
795
|
});
|
|
795
796
|
|
|
796
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
797
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
797
798
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
798
799
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
799
800
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -811,15 +812,17 @@ var accountPrivacy = strictObject({
|
|
|
811
812
|
});
|
|
812
813
|
var accountPrivacyChange = strictObject({ operation_id: id, privacy: accountPrivacy });
|
|
813
814
|
|
|
814
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
815
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
815
816
|
var accountProfile = strictObject({
|
|
816
817
|
profile: id,
|
|
817
818
|
current: boolean(),
|
|
818
819
|
account: nullable(id),
|
|
819
|
-
name: nullable(text)
|
|
820
|
+
name: nullable(text),
|
|
821
|
+
/** False for a profile with no session on this computer; absent when the messenger does not say. */
|
|
822
|
+
signed_in: optional(boolean())
|
|
820
823
|
});
|
|
821
824
|
|
|
822
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
825
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
823
826
|
var milliseconds = pipe(number(), minValue(0));
|
|
824
827
|
var counterReading = strictObject({
|
|
825
828
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -831,7 +834,7 @@ var counterReading = strictObject({
|
|
|
831
834
|
});
|
|
832
835
|
var selection = record(string(), unknown());
|
|
833
836
|
|
|
834
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
837
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
835
838
|
var adminRow = strictObject({
|
|
836
839
|
ref: reference,
|
|
837
840
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -884,11 +887,11 @@ var adminReport = strictObject({
|
|
|
884
887
|
rows: array(adminRow)
|
|
885
888
|
});
|
|
886
889
|
|
|
887
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
890
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
888
891
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
889
892
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
890
893
|
|
|
891
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
894
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
892
895
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
893
896
|
var attachmentBytes = strictObject({
|
|
894
897
|
ref: reference,
|
|
@@ -916,7 +919,7 @@ var attachmentTextChange = strictObject({
|
|
|
916
919
|
replaced: nullable(picklist(["extracted", "agent"]))
|
|
917
920
|
});
|
|
918
921
|
|
|
919
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
922
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
920
923
|
var chart = strictObject({
|
|
921
924
|
version: literal(1),
|
|
922
925
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -931,7 +934,7 @@ var chart = strictObject({
|
|
|
931
934
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
932
935
|
});
|
|
933
936
|
|
|
934
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
937
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
935
938
|
var named = strictObject({
|
|
936
939
|
id,
|
|
937
940
|
title: nullable(text),
|
|
@@ -954,7 +957,7 @@ var folder = strictObject({
|
|
|
954
957
|
excluded_chats: optional(array(named))
|
|
955
958
|
});
|
|
956
959
|
|
|
957
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
960
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
958
961
|
var inviteLink = strictObject({
|
|
959
962
|
link: text,
|
|
960
963
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -970,7 +973,7 @@ var inviteLink = strictObject({
|
|
|
970
973
|
joined_count: optional(count)
|
|
971
974
|
});
|
|
972
975
|
|
|
973
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
976
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
974
977
|
var operated = { operation_id: id, chat_id: id };
|
|
975
978
|
var group = strictObject({
|
|
976
979
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -1050,7 +1053,7 @@ var chatFolderOrder = strictObject({
|
|
|
1050
1053
|
folders: array(strictObject({ id, title: text }))
|
|
1051
1054
|
});
|
|
1052
1055
|
|
|
1053
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1056
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
1054
1057
|
var operated2 = { operation_id: id, chat_id: id };
|
|
1055
1058
|
var chatRemoval = strictObject(operated2);
|
|
1056
1059
|
var chatMuting = strictObject({
|
|
@@ -1061,7 +1064,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
1061
1064
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
1062
1065
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
1063
1066
|
|
|
1064
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1067
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
1065
1068
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
1066
1069
|
var chatEvent = strictObject({
|
|
1067
1070
|
chat_id: id,
|
|
@@ -1078,7 +1081,7 @@ var chatEvent = strictObject({
|
|
|
1078
1081
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
1079
1082
|
});
|
|
1080
1083
|
|
|
1081
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1084
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
1082
1085
|
var chatMetadata = strictObject({
|
|
1083
1086
|
chat_id: id,
|
|
1084
1087
|
title: nullable(text),
|
|
@@ -1093,7 +1096,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
1093
1096
|
has_more: boolean()
|
|
1094
1097
|
});
|
|
1095
1098
|
|
|
1096
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1099
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
1097
1100
|
var action = picklist(["report", "delete", "remove"]);
|
|
1098
1101
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
1099
1102
|
var chatRules = strictObject({
|
|
@@ -1130,7 +1133,7 @@ var chatModeration = strictObject({
|
|
|
1130
1133
|
}))
|
|
1131
1134
|
});
|
|
1132
1135
|
|
|
1133
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1136
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
1134
1137
|
var optionalCount = optional(count);
|
|
1135
1138
|
var minutes = nullable(number());
|
|
1136
1139
|
var chatStats = strictObject({
|
|
@@ -1192,7 +1195,7 @@ var taskStats = strictObject({
|
|
|
1192
1195
|
}))
|
|
1193
1196
|
});
|
|
1194
1197
|
|
|
1195
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1198
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
1196
1199
|
var memberCount = strictObject({
|
|
1197
1200
|
day: pipe(text, isoDate()),
|
|
1198
1201
|
participants: nullable(count),
|
|
@@ -1215,7 +1218,7 @@ var chatTracking = strictObject({
|
|
|
1215
1218
|
tracked: boolean()
|
|
1216
1219
|
});
|
|
1217
1220
|
|
|
1218
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1221
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
1219
1222
|
var contact = strictObject({
|
|
1220
1223
|
ref: reference,
|
|
1221
1224
|
id,
|
|
@@ -1236,7 +1239,7 @@ var contact = strictObject({
|
|
|
1236
1239
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
1237
1240
|
});
|
|
1238
1241
|
|
|
1239
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1242
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
1240
1243
|
var linkedIdentity = strictObject({
|
|
1241
1244
|
provider: text,
|
|
1242
1245
|
id,
|
|
@@ -1277,7 +1280,7 @@ var contactCheck = strictObject({
|
|
|
1277
1280
|
checked_at: time
|
|
1278
1281
|
});
|
|
1279
1282
|
|
|
1280
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1283
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
1281
1284
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
1282
1285
|
var contextMessage = strictObject({
|
|
1283
1286
|
locator: reference,
|
|
@@ -1300,6 +1303,15 @@ var sharedChat = strictObject({
|
|
|
1300
1303
|
kind: chat.entries.kind,
|
|
1301
1304
|
last_message_at: nullable(time)
|
|
1302
1305
|
});
|
|
1306
|
+
var contextEvent = strictObject({
|
|
1307
|
+
ref: reference,
|
|
1308
|
+
title: nullable(text),
|
|
1309
|
+
starts_at: nullable(time),
|
|
1310
|
+
ends_at: nullable(time),
|
|
1311
|
+
all_day: boolean(),
|
|
1312
|
+
location: nullable(text),
|
|
1313
|
+
status: nullable(text)
|
|
1314
|
+
});
|
|
1303
1315
|
var context = strictObject({
|
|
1304
1316
|
person: contextPerson,
|
|
1305
1317
|
shared: array(sharedChat),
|
|
@@ -1310,6 +1322,8 @@ var context = strictObject({
|
|
|
1310
1322
|
}),
|
|
1311
1323
|
recent: strictObject({ direct: array(contextMessage), groups: array(contextMessage) }),
|
|
1312
1324
|
mentions: array(contextMessage),
|
|
1325
|
+
/** Calendar events they are invited to, one occurrence per series. */
|
|
1326
|
+
events: optional(strictObject({ upcoming: array(contextEvent), recent: array(contextEvent) })),
|
|
1313
1327
|
limits: strictObject({ messages: count, bytes: count }),
|
|
1314
1328
|
complete: boolean(),
|
|
1315
1329
|
not_read: array(strictObject({
|
|
@@ -1464,7 +1478,7 @@ var contactPreparation = strictObject({
|
|
|
1464
1478
|
})
|
|
1465
1479
|
});
|
|
1466
1480
|
|
|
1467
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1481
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
1468
1482
|
var contactNote = strictObject({
|
|
1469
1483
|
id,
|
|
1470
1484
|
/** The contact, as a `contact:` reference. */
|
|
@@ -1476,7 +1490,7 @@ var contactNote = strictObject({
|
|
|
1476
1490
|
updated_at: time
|
|
1477
1491
|
});
|
|
1478
1492
|
|
|
1479
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1493
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
1480
1494
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
1481
1495
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
1482
1496
|
var contactProfile = strictObject({
|
|
@@ -1525,13 +1539,13 @@ var contactProfile = strictObject({
|
|
|
1525
1539
|
}))
|
|
1526
1540
|
});
|
|
1527
1541
|
|
|
1528
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1542
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
1529
1543
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
1530
1544
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
1531
1545
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
1532
1546
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
1533
1547
|
|
|
1534
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1548
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
1535
1549
|
var conversationDetails = union([
|
|
1536
1550
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
1537
1551
|
message
|
|
@@ -1621,7 +1635,7 @@ var conversationHit = strictObject({
|
|
|
1621
1635
|
stale: boolean()
|
|
1622
1636
|
});
|
|
1623
1637
|
|
|
1624
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1638
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
1625
1639
|
var counters = strictObject({
|
|
1626
1640
|
cutoff: time,
|
|
1627
1641
|
max_age_ms: milliseconds,
|
|
@@ -1651,7 +1665,7 @@ var counterRefresh = strictObject({
|
|
|
1651
1665
|
complete: optional(boolean())
|
|
1652
1666
|
});
|
|
1653
1667
|
|
|
1654
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1668
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
1655
1669
|
var document = strictObject({
|
|
1656
1670
|
ref: reference,
|
|
1657
1671
|
id,
|
|
@@ -1666,7 +1680,7 @@ var document = strictObject({
|
|
|
1666
1680
|
owners: optional(array(text))
|
|
1667
1681
|
});
|
|
1668
1682
|
|
|
1669
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1683
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
1670
1684
|
var documentLink = strictObject({
|
|
1671
1685
|
ref: reference,
|
|
1672
1686
|
url: text,
|
|
@@ -1677,7 +1691,7 @@ var documentLink = strictObject({
|
|
|
1677
1691
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
1678
1692
|
});
|
|
1679
1693
|
|
|
1680
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1694
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
1681
1695
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
1682
1696
|
var contribution = strictObject({
|
|
1683
1697
|
message: evidenceMessage,
|
|
@@ -1707,7 +1721,7 @@ var retentionStay = strictObject({
|
|
|
1707
1721
|
});
|
|
1708
1722
|
var evidence = union([contribution, retentionStay]);
|
|
1709
1723
|
|
|
1710
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1724
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
1711
1725
|
var fact = strictObject({
|
|
1712
1726
|
ref: reference,
|
|
1713
1727
|
id,
|
|
@@ -1730,15 +1744,15 @@ var fact = strictObject({
|
|
|
1730
1744
|
updated_at: time
|
|
1731
1745
|
});
|
|
1732
1746
|
|
|
1733
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1747
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
1734
1748
|
var hit = strictObject({
|
|
1735
|
-
kind: picklist(["message", "mail", "note", "document", "meeting"]),
|
|
1749
|
+
kind: picklist(["message", "mail", "note", "document", "event", "meeting"]),
|
|
1736
1750
|
ref: reference,
|
|
1737
1751
|
provider: text,
|
|
1738
1752
|
url: optional(text),
|
|
1739
1753
|
/** The account it was found in; a note's folder id, or `internal` for a note written in memo. */
|
|
1740
1754
|
account: text,
|
|
1741
|
-
/** The chat, the mail thread's subject, the note's or the meeting's title. */
|
|
1755
|
+
/** The chat, the mail thread's subject, the note's, the event's or the meeting's title. */
|
|
1742
1756
|
title: nullable(text),
|
|
1743
1757
|
/** Null for a meeting whose start is unknown. */
|
|
1744
1758
|
timestamp: nullable(time),
|
|
@@ -1752,10 +1766,12 @@ var hit = strictObject({
|
|
|
1752
1766
|
/** A meeting passage's place: its transcript, chat or summary. */
|
|
1753
1767
|
scope: optional(picklist(["transcript", "chat", "summary"])),
|
|
1754
1768
|
/** A meeting passage's stored line, so two passages of one meeting stay apart; `search meetings` gives the same. */
|
|
1755
|
-
id: optional(pipe(string(), minLength(1)))
|
|
1769
|
+
id: optional(pipe(string(), minLength(1))),
|
|
1770
|
+
/** Absent on a note hit: the owner wrote it. */
|
|
1771
|
+
untrusted
|
|
1756
1772
|
});
|
|
1757
1773
|
|
|
1758
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1774
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
1759
1775
|
var identity = strictObject({
|
|
1760
1776
|
ref: reference,
|
|
1761
1777
|
provider: text,
|
|
@@ -1768,7 +1784,7 @@ var identity = strictObject({
|
|
|
1768
1784
|
person: optional(nullable(reference))
|
|
1769
1785
|
});
|
|
1770
1786
|
|
|
1771
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1787
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
1772
1788
|
var imageEmbedding = strictObject({
|
|
1773
1789
|
model: text,
|
|
1774
1790
|
embedded: count,
|
|
@@ -1777,7 +1793,7 @@ var imageEmbedding = strictObject({
|
|
|
1777
1793
|
more: boolean()
|
|
1778
1794
|
});
|
|
1779
1795
|
|
|
1780
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1796
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
1781
1797
|
var joinRequest = strictObject({
|
|
1782
1798
|
person_id: id,
|
|
1783
1799
|
name: nullable(text),
|
|
@@ -1788,7 +1804,7 @@ var joinRequest = strictObject({
|
|
|
1788
1804
|
about: optional(text)
|
|
1789
1805
|
});
|
|
1790
1806
|
|
|
1791
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1807
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
1792
1808
|
var pollVote = strictObject({
|
|
1793
1809
|
person_id: id,
|
|
1794
1810
|
name: nullable(text),
|
|
@@ -1798,7 +1814,7 @@ var pollVote = strictObject({
|
|
|
1798
1814
|
voted_at: time
|
|
1799
1815
|
});
|
|
1800
1816
|
|
|
1801
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1817
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
1802
1818
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
1803
1819
|
var observation = strictObject({
|
|
1804
1820
|
value: pipe(number(), minValue(0)),
|
|
@@ -1839,7 +1855,7 @@ var serveSummary = strictObject({
|
|
|
1839
1855
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
1840
1856
|
});
|
|
1841
1857
|
|
|
1842
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1858
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
1843
1859
|
var mediaArchive = strictObject({
|
|
1844
1860
|
directory: text,
|
|
1845
1861
|
chats: count,
|
|
@@ -1871,7 +1887,7 @@ var mediaArchiveTimer = union([
|
|
|
1871
1887
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
1872
1888
|
]);
|
|
1873
1889
|
|
|
1874
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1890
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
1875
1891
|
var preparationId = pipe(string(), minLength(1));
|
|
1876
1892
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
1877
1893
|
var preparationTime = nullable(isoTime);
|
|
@@ -1963,7 +1979,7 @@ var preparationMeeting = strictObject({
|
|
|
1963
1979
|
updated_at: isoTime
|
|
1964
1980
|
});
|
|
1965
1981
|
|
|
1966
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1982
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
1967
1983
|
var meetingEvidence = preparationEvidence;
|
|
1968
1984
|
var meetingPersonContext = strictObject({
|
|
1969
1985
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -1985,7 +2001,7 @@ var meetingPersonContext = strictObject({
|
|
|
1985
2001
|
})
|
|
1986
2002
|
});
|
|
1987
2003
|
|
|
1988
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2004
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
1989
2005
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
1990
2006
|
var base = { id, project: reference, evidence: array(evidence2) };
|
|
1991
2007
|
var finding = variant("kind", [
|
|
@@ -2023,7 +2039,7 @@ var meetingFindings = strictObject({
|
|
|
2023
2039
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome) }))
|
|
2024
2040
|
});
|
|
2025
2041
|
|
|
2026
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2042
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
2027
2043
|
var communicationCoverage = strictObject({
|
|
2028
2044
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
2029
2045
|
query: string(),
|
|
@@ -2068,7 +2084,7 @@ var preparationCommunications = strictObject({
|
|
|
2068
2084
|
}))
|
|
2069
2085
|
});
|
|
2070
2086
|
|
|
2071
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2087
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
2072
2088
|
var meetingPreparation = strictObject({
|
|
2073
2089
|
communications: optional(preparationCommunications),
|
|
2074
2090
|
schema_version: literal(1),
|
|
@@ -2181,7 +2197,7 @@ var meetingPreparation = strictObject({
|
|
|
2181
2197
|
})
|
|
2182
2198
|
});
|
|
2183
2199
|
|
|
2184
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2200
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
2185
2201
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
2186
2202
|
var id3 = pipe(string(), minLength(1));
|
|
2187
2203
|
var text3 = string();
|
|
@@ -2245,7 +2261,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
2245
2261
|
})
|
|
2246
2262
|
});
|
|
2247
2263
|
|
|
2248
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2264
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
2249
2265
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
2250
2266
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
2251
2267
|
var meetingSeriesInventory = strictObject({
|
|
@@ -2275,7 +2291,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
2275
2291
|
})
|
|
2276
2292
|
});
|
|
2277
2293
|
|
|
2278
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2294
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
2279
2295
|
var text4 = string();
|
|
2280
2296
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
2281
2297
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -2292,7 +2308,7 @@ var meetingTaskProposal = strictObject({
|
|
|
2292
2308
|
persistence: literal("proposal-only")
|
|
2293
2309
|
});
|
|
2294
2310
|
|
|
2295
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2311
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
2296
2312
|
var memory = strictObject({
|
|
2297
2313
|
ref: reference,
|
|
2298
2314
|
id,
|
|
@@ -2311,7 +2327,7 @@ var memory = strictObject({
|
|
|
2311
2327
|
updated_at: time
|
|
2312
2328
|
});
|
|
2313
2329
|
|
|
2314
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2330
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
2315
2331
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
2316
2332
|
var status = picklist(["found", "linked", "dismissed"]);
|
|
2317
2333
|
var mention = strictObject({
|
|
@@ -2354,13 +2370,13 @@ var mentionRebuild = strictObject({
|
|
|
2354
2370
|
mentions: count
|
|
2355
2371
|
});
|
|
2356
2372
|
|
|
2357
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2373
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
2358
2374
|
var operated3 = { operation_id: id, chat_id: id };
|
|
2359
2375
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
2360
2376
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
2361
2377
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
2362
2378
|
|
|
2363
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2379
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
2364
2380
|
var messageTranscript = strictObject({
|
|
2365
2381
|
message_id: id,
|
|
2366
2382
|
text,
|
|
@@ -2418,7 +2434,7 @@ var evidencePacket = strictObject({
|
|
|
2418
2434
|
}))
|
|
2419
2435
|
});
|
|
2420
2436
|
|
|
2421
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2437
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
2422
2438
|
var messageThread = strictObject({
|
|
2423
2439
|
ref: reference,
|
|
2424
2440
|
chat: id,
|
|
@@ -2435,7 +2451,7 @@ var messageThread = strictObject({
|
|
|
2435
2451
|
});
|
|
2436
2452
|
var messageContext = union([message, messageThread]);
|
|
2437
2453
|
|
|
2438
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2454
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
2439
2455
|
var messageCounts = strictObject({
|
|
2440
2456
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
2441
2457
|
total: count,
|
|
@@ -2448,7 +2464,7 @@ var messageCounts = strictObject({
|
|
|
2448
2464
|
}))
|
|
2449
2465
|
});
|
|
2450
2466
|
|
|
2451
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2467
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
2452
2468
|
var messageLink = strictObject({
|
|
2453
2469
|
ref: reference,
|
|
2454
2470
|
url: nullable(text),
|
|
@@ -2457,7 +2473,7 @@ var messageLink = strictObject({
|
|
|
2457
2473
|
reason: nullable(picklist(["unsupported_chat", "unsupported_provider", "offline"]))
|
|
2458
2474
|
});
|
|
2459
2475
|
|
|
2460
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2476
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
2461
2477
|
var messageWrite = strictObject({
|
|
2462
2478
|
operation_id: id,
|
|
2463
2479
|
message,
|
|
@@ -2472,7 +2488,7 @@ var draftWrite = strictObject({
|
|
|
2472
2488
|
});
|
|
2473
2489
|
var messageSend = union([messageWrite, draftWrite]);
|
|
2474
2490
|
|
|
2475
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2491
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
2476
2492
|
var model = strictObject({
|
|
2477
2493
|
id,
|
|
2478
2494
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -2489,7 +2505,7 @@ var model = strictObject({
|
|
|
2489
2505
|
path: text
|
|
2490
2506
|
});
|
|
2491
2507
|
|
|
2492
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2508
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
2493
2509
|
var source = picklist(["environment", "keyring", "file"]);
|
|
2494
2510
|
var modelKey = strictObject({
|
|
2495
2511
|
provider: text,
|
|
@@ -2499,7 +2515,7 @@ var modelKey = strictObject({
|
|
|
2499
2515
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
2500
2516
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
2501
2517
|
|
|
2502
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2518
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
2503
2519
|
var versus = strictObject({ current: number(), previous: number() });
|
|
2504
2520
|
var person = { person_ref: reference, name: nullable(text) };
|
|
2505
2521
|
var graph = strictObject({
|
|
@@ -2533,14 +2549,14 @@ var officialStats = strictObject({
|
|
|
2533
2549
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
2534
2550
|
});
|
|
2535
2551
|
|
|
2536
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2552
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
2537
2553
|
var person2 = strictObject({
|
|
2538
2554
|
ref: reference,
|
|
2539
2555
|
name: nullable(text),
|
|
2540
2556
|
identities: optional(array(identity))
|
|
2541
2557
|
});
|
|
2542
2558
|
|
|
2543
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2559
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
2544
2560
|
var poll = strictObject({
|
|
2545
2561
|
chat_id: id,
|
|
2546
2562
|
message_id: id,
|
|
@@ -2556,11 +2572,11 @@ var poll = strictObject({
|
|
|
2556
2572
|
});
|
|
2557
2573
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
2558
2574
|
|
|
2559
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2575
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
2560
2576
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
2561
2577
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
2562
2578
|
|
|
2563
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2579
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
2564
2580
|
var figures = record(string(), number());
|
|
2565
2581
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
2566
2582
|
var rankingRow = strictObject({
|
|
@@ -2607,7 +2623,7 @@ var ranking = strictObject({
|
|
|
2607
2623
|
rows: array(rankingRow)
|
|
2608
2624
|
});
|
|
2609
2625
|
|
|
2610
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2626
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
2611
2627
|
var reactionChange = strictObject({
|
|
2612
2628
|
operation_id: id,
|
|
2613
2629
|
chat_id: id,
|
|
@@ -2615,7 +2631,7 @@ var reactionChange = strictObject({
|
|
|
2615
2631
|
reaction: nullable(text)
|
|
2616
2632
|
});
|
|
2617
2633
|
|
|
2618
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2634
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
2619
2635
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
2620
2636
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
2621
2637
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -2626,7 +2642,7 @@ var recipientChange = strictObject({
|
|
|
2626
2642
|
...partial(recipientOff).entries
|
|
2627
2643
|
});
|
|
2628
2644
|
|
|
2629
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2645
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
2630
2646
|
var events = array(record(string(), unknown()));
|
|
2631
2647
|
var recordedRun = strictObject({
|
|
2632
2648
|
run_id: id,
|
|
@@ -2655,7 +2671,20 @@ var recordedRun = strictObject({
|
|
|
2655
2671
|
cli_command: optional(text),
|
|
2656
2672
|
argv: optional(array(text)),
|
|
2657
2673
|
unknown_command: optional(text),
|
|
2658
|
-
agent: optional(strictObject({
|
|
2674
|
+
agent: optional(strictObject({
|
|
2675
|
+
kind: text,
|
|
2676
|
+
session_id: nullable(text),
|
|
2677
|
+
from_chat: optional(literal(true)),
|
|
2678
|
+
client: optional(strictObject({ name: text, version: optional(text), id: optional(text) }))
|
|
2679
|
+
})),
|
|
2680
|
+
via: optional(picklist(["cli", "mcp-stdio", "mcp-http", "desktop"])),
|
|
2681
|
+
mcp: optional(strictObject({
|
|
2682
|
+
tool: text,
|
|
2683
|
+
request_id: optional(text),
|
|
2684
|
+
connection_id: optional(text),
|
|
2685
|
+
proxied: optional(literal(true))
|
|
2686
|
+
})),
|
|
2687
|
+
events_dropped: optional(count),
|
|
2659
2688
|
error: optional(strictObject({
|
|
2660
2689
|
class: text,
|
|
2661
2690
|
code: optional(text),
|
|
@@ -2685,7 +2714,7 @@ var runHit = strictObject({
|
|
|
2685
2714
|
});
|
|
2686
2715
|
var runLocation = strictObject({ path: text });
|
|
2687
2716
|
|
|
2688
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2717
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
2689
2718
|
var relationship = strictObject({
|
|
2690
2719
|
id,
|
|
2691
2720
|
from: reference,
|
|
@@ -2700,7 +2729,7 @@ var relationship = strictObject({
|
|
|
2700
2729
|
created_at: time
|
|
2701
2730
|
});
|
|
2702
2731
|
|
|
2703
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2732
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
2704
2733
|
var retentionCohort = strictObject({
|
|
2705
2734
|
/** The first day of the joining day or week. */
|
|
2706
2735
|
cohort: text,
|
|
@@ -2748,7 +2777,7 @@ var retention = strictObject({
|
|
|
2748
2777
|
rows: array(retentionCohort)
|
|
2749
2778
|
});
|
|
2750
2779
|
|
|
2751
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2780
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
2752
2781
|
var savedSearch = strictObject({
|
|
2753
2782
|
id,
|
|
2754
2783
|
/** `null` for a run in the history. */
|
|
@@ -2765,7 +2794,7 @@ var savedSearch = strictObject({
|
|
|
2765
2794
|
});
|
|
2766
2795
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
2767
2796
|
|
|
2768
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2797
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
2769
2798
|
var sendAttempt = strictObject({
|
|
2770
2799
|
at: time,
|
|
2771
2800
|
profile: text,
|
|
@@ -2793,7 +2822,7 @@ var sendAttempt = strictObject({
|
|
|
2793
2822
|
error_code: optional(text)
|
|
2794
2823
|
});
|
|
2795
2824
|
|
|
2796
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2825
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
2797
2826
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
2798
2827
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
2799
2828
|
var infoSchema = strictObject({
|
|
@@ -3001,7 +3030,7 @@ var storeRepair = union([
|
|
|
3001
3030
|
]);
|
|
3002
3031
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
3003
3032
|
|
|
3004
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3033
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
3005
3034
|
var tagTarget = variant("type", [
|
|
3006
3035
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
3007
3036
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -3032,7 +3061,7 @@ var automaticTags = strictObject({
|
|
|
3032
3061
|
dry_run: boolean()
|
|
3033
3062
|
});
|
|
3034
3063
|
|
|
3035
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3064
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
3036
3065
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
3037
3066
|
var taskPair = strictObject({
|
|
3038
3067
|
task: nullable(side),
|
|
@@ -3055,28 +3084,15 @@ var taskPair = strictObject({
|
|
|
3055
3084
|
created_at: time
|
|
3056
3085
|
});
|
|
3057
3086
|
|
|
3058
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3087
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
3059
3088
|
var nullableTime = nullable(time);
|
|
3060
3089
|
var link = strictObject({
|
|
3061
3090
|
id,
|
|
3062
3091
|
from: reference,
|
|
3063
3092
|
to: nullable(reference),
|
|
3064
|
-
kind: picklist(
|
|
3065
|
-
"links-to",
|
|
3066
|
-
"blocked-by",
|
|
3067
|
-
"follow-up-of",
|
|
3068
|
-
"about",
|
|
3069
|
-
"member-of",
|
|
3070
|
-
"labelled",
|
|
3071
|
-
"answered-by",
|
|
3072
|
-
"evidence",
|
|
3073
|
-
"created-from",
|
|
3074
|
-
"duplicate-of",
|
|
3075
|
-
"related-to",
|
|
3076
|
-
"assigned-to"
|
|
3077
|
-
]),
|
|
3093
|
+
kind: picklist(LINK_KINDS),
|
|
3078
3094
|
anchor: nullable(text),
|
|
3079
|
-
origin: picklist(
|
|
3095
|
+
origin: picklist(LINK_SOURCES),
|
|
3080
3096
|
target_text: nullable(text),
|
|
3081
3097
|
role: nullable(text),
|
|
3082
3098
|
evidence: nullable(text),
|
|
@@ -3192,7 +3208,7 @@ var taskScan = strictObject({
|
|
|
3192
3208
|
tasks: array(strictObject({ source: text, kind: picklist(TASK_KINDS), category: nullable(text) }))
|
|
3193
3209
|
});
|
|
3194
3210
|
|
|
3195
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3211
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
3196
3212
|
var topic = strictObject({
|
|
3197
3213
|
id,
|
|
3198
3214
|
title: text,
|
|
@@ -3202,10 +3218,11 @@ var topic = strictObject({
|
|
|
3202
3218
|
hidden: optional(boolean()),
|
|
3203
3219
|
unread_count: nullable(count),
|
|
3204
3220
|
last_message_at: nullable(time),
|
|
3205
|
-
created_at: nullable(time)
|
|
3221
|
+
created_at: nullable(time),
|
|
3222
|
+
untrusted
|
|
3206
3223
|
});
|
|
3207
3224
|
|
|
3208
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3225
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
3209
3226
|
var ENTITIES = {
|
|
3210
3227
|
sync_progress: progress,
|
|
3211
3228
|
...MEETING_RESULT_ENTITIES,
|
|
@@ -3213,21 +3230,24 @@ var ENTITIES = {
|
|
|
3213
3230
|
message_context: messageContext,
|
|
3214
3231
|
message_download: messageDownload,
|
|
3215
3232
|
message_sync: messageSync,
|
|
3216
|
-
"message.hit":
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3229
|
-
|
|
3230
|
-
|
|
3233
|
+
"message.hit": strictObject({
|
|
3234
|
+
...pick(message, [
|
|
3235
|
+
"ref",
|
|
3236
|
+
"chat_title",
|
|
3237
|
+
"timestamp",
|
|
3238
|
+
"sender_name",
|
|
3239
|
+
"excerpt",
|
|
3240
|
+
"matched_in",
|
|
3241
|
+
"score",
|
|
3242
|
+
"match",
|
|
3243
|
+
"corrections",
|
|
3244
|
+
"found_in",
|
|
3245
|
+
"discovery",
|
|
3246
|
+
"context",
|
|
3247
|
+
"email"
|
|
3248
|
+
]).entries,
|
|
3249
|
+
untrusted
|
|
3250
|
+
}),
|
|
3231
3251
|
"message.summary": pick(message, [
|
|
3232
3252
|
"ref",
|
|
3233
3253
|
"chat_id",
|
|
@@ -3294,21 +3314,24 @@ var ENTITIES = {
|
|
|
3294
3314
|
call_record: callRecord,
|
|
3295
3315
|
sticker_inventory: stickerInventory,
|
|
3296
3316
|
note,
|
|
3297
|
-
"note.hit":
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3317
|
+
"note.hit": strictObject({
|
|
3318
|
+
...pick(note, [
|
|
3319
|
+
"kind",
|
|
3320
|
+
"provider",
|
|
3321
|
+
"account",
|
|
3322
|
+
"url",
|
|
3323
|
+
"ref",
|
|
3324
|
+
"source",
|
|
3325
|
+
"folder_id",
|
|
3326
|
+
"path",
|
|
3327
|
+
"title",
|
|
3328
|
+
"updated_at",
|
|
3329
|
+
"excerpt",
|
|
3330
|
+
"found_by",
|
|
3331
|
+
"links"
|
|
3332
|
+
]).entries,
|
|
3333
|
+
untrusted
|
|
3334
|
+
}),
|
|
3312
3335
|
hit,
|
|
3313
3336
|
document,
|
|
3314
3337
|
document_link: documentLink,
|