@wirecat/mail-cli 0.5.0 → 0.7.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/CHANGELOG.md +149 -0
- package/README.md +48 -13
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/{all-profiles-GR5JXYEQ.js → all-profiles-SI67TKZM.js} +9 -9
- package/dist/bundle/{anthropic-REBXE65F.js → anthropic-DALMLC3Y.js} +6 -6
- package/dist/bundle/{app-server-QJ7ICQXZ.js → app-server-XOH327Z2.js} +46 -46
- package/dist/bundle/{bun-WAX4QHW5.js → bun-ORL67CJ6.js} +2 -2
- package/dist/bundle/{bun-sqlite-5S7TQ4SG.js → bun-sqlite-DGXFNFHI.js} +5 -5
- package/dist/bundle/{chunk-ZD3WUGR2.js → chunk-23IEVVL2.js} +4 -4
- package/dist/bundle/{chunk-B5WSIWY5.js → chunk-2M4K7HYR.js} +17 -17
- package/dist/bundle/{chunk-IWDOGGMY.js → chunk-35KD2CI2.js} +501 -301
- package/dist/bundle/{chunk-7A7BHABA.js → chunk-3GZK5GTU.js} +1 -1
- package/dist/bundle/{chunk-JJBQPA7D.js → chunk-3TYEJRMZ.js} +4 -4
- package/dist/bundle/{chunk-M6BDHZON.js → chunk-45KA5667.js} +26 -13
- package/dist/bundle/{chunk-LOA4X6JW.js → chunk-4NYWHINR.js} +6 -6
- package/dist/bundle/{dist-KJOAJ6NF.js → chunk-4ULY3GDL.js} +16 -116
- package/dist/bundle/{chunk-2FXVBCA3.js → chunk-5BSEGMNE.js} +4 -4
- package/dist/bundle/{chunk-HCMUGUAG.js → chunk-5JEYIHS6.js} +3 -3
- package/dist/bundle/{chunk-QXOSGGKS.js → chunk-6LK7KTWB.js} +1 -1
- package/dist/bundle/{chunk-ESNNQA7D.js → chunk-6RMMAUUW.js} +28 -28
- package/dist/bundle/{chunk-VXAZZGXE.js → chunk-6XNPXAJU.js} +33 -27
- package/dist/bundle/{chunk-5INWLYBD.js → chunk-73OJJGZE.js} +14 -3
- package/dist/bundle/{chunk-4XJ4AM3K.js → chunk-7K6KJWTO.js} +12 -12
- package/dist/bundle/{chunk-KIDF77MA.js → chunk-AP7V256W.js} +1 -1
- package/dist/bundle/{chunk-4BMNP2FT.js → chunk-BEMLGWY4.js} +1 -1
- package/dist/bundle/{chunk-BFJV4FWJ.js → chunk-BGUMGCUY.js} +2 -2
- package/dist/bundle/{chunk-5BVIWP3S.js → chunk-BM445GYF.js} +2 -2
- package/dist/bundle/{chunk-F3NYA4KN.js → chunk-CAKBG5FC.js} +6 -6
- package/dist/bundle/{chunk-EB3R2PV3.js → chunk-DKQWTQVY.js} +23 -23
- package/dist/bundle/{chunk-6TY3DGCC.js → chunk-DXGMPMFP.js} +4 -4
- package/dist/bundle/{chunk-LFRHIXCF.js → chunk-E3DRM6YP.js} +3 -3
- package/dist/bundle/{chunk-FSUNGHRI.js → chunk-EYT33MM3.js} +47 -46
- package/dist/bundle/{chunk-DXDQOZ2P.js → chunk-FPOGVDLS.js} +2 -2
- package/dist/bundle/{chunk-S677WGOQ.js → chunk-FTFNWGIR.js} +8 -8
- package/dist/bundle/{chunk-TI6VBZKJ.js → chunk-FUB3X25H.js} +4 -4
- package/dist/bundle/{chunk-7JCRQX56.js → chunk-GJUUTUK4.js} +8 -8
- package/dist/bundle/{chunk-BLS5YG77.js → chunk-HFJNEXU7.js} +2 -2
- package/dist/bundle/{chunk-YKPBC3NL.js → chunk-HV3EIYX4.js} +1 -1
- package/dist/bundle/{chunk-EL554DV2.js → chunk-IYZHM3ZN.js} +3 -3
- package/dist/bundle/{chunk-6EO7GVYJ.js → chunk-JFMUI4H6.js} +1 -1
- package/dist/bundle/{chunk-2YQNBIDQ.js → chunk-LZ5J3UXD.js} +4 -4
- package/dist/bundle/{chunk-WNCCYHRV.js → chunk-M2JCUVCJ.js} +116 -95
- package/dist/bundle/{chunk-7F3NDIYL.js → chunk-MCJ7LKYR.js} +6 -6
- package/dist/bundle/{chunk-VDAIJM5L.js → chunk-MHQKHWCJ.js} +88 -34
- package/dist/bundle/{chunk-SQ7KOBRA.js → chunk-MMXMVGA6.js} +10 -8
- package/dist/bundle/{chunk-AFCGOZR7.js → chunk-NNIXREJH.js} +7 -7
- package/dist/bundle/{chunk-LQ37ALDJ.js → chunk-NXJLC2WK.js} +8 -8
- package/dist/bundle/{chunk-6GE3EADU.js → chunk-OHTR4WFO.js} +2 -2
- package/dist/bundle/{chunk-PJCTWPJB.js → chunk-PDL4UREY.js} +8 -8
- package/dist/bundle/{chunk-J3QXTBD2.js → chunk-Q2C3VMSU.js} +20 -18
- package/dist/bundle/{chunk-SWJAG5IE.js → chunk-Q44AYEOB.js} +2 -2
- package/dist/bundle/{chunk-P7P5MNAU.js → chunk-QZBT6BOU.js} +1 -1
- package/dist/bundle/{chunk-IBYTYIYO.js → chunk-R5MML3FC.js} +61 -54
- package/dist/bundle/{chunk-CEAANMJ2.js → chunk-RQVWZBW3.js} +3 -3
- package/dist/bundle/{chunk-5CXAH4Y6.js → chunk-S4YUR4S3.js} +656 -572
- package/dist/bundle/{chunk-QX7RCLRS.js → chunk-SQLCCKEL.js} +1 -1
- package/dist/bundle/chunk-U6UJ3HRS.js +58 -0
- package/dist/bundle/{chunk-YRGBZZUW.js → chunk-V4TDG4KF.js} +14 -14
- package/dist/bundle/{chunk-5FK6RD4M.js → chunk-VBOMKZ4E.js} +73 -57
- package/dist/bundle/{chunk-MQUJEQTU.js → chunk-VKPWP3AK.js} +2 -2
- package/dist/bundle/{chunk-7XNPSIWD.js → chunk-VNJMO5F6.js} +2 -2
- package/dist/bundle/{chunk-MMDCL42A.js → chunk-VSHJWTX5.js} +12 -6
- package/dist/bundle/{chunk-2MRECWJZ.js → chunk-XQJWMBDY.js} +6 -6
- package/dist/bundle/{chunk-2U4IANVV.js → chunk-ZKCNMW7G.js} +2 -2
- package/dist/bundle/{chunk-LNS27BTB.js → chunk-ZKZABB4K.js} +3 -3
- package/dist/bundle/{chunk-WNI5BZFB.js → chunk-ZNGQ3NZ4.js} +9 -9
- package/dist/bundle/command-contract-CB5BII3S.js +34 -0
- package/dist/bundle/{decode-D7BDVIVB.js → decode-KOBURZIQ.js} +5 -5
- package/dist/bundle/{dispatch-EUKKT3PD.js → dispatch-GDAH4JHS.js} +8 -8
- package/dist/bundle/dist-T7HMT675.js +134 -0
- package/dist/bundle/{echarts-IVRX7XHP.js → echarts-LEWTQO6H.js} +2 -2
- package/dist/bundle/{embed-X527RBTG.js → embed-PUFE4BSQ.js} +6 -6
- package/dist/bundle/{embedder-F4PSJS6S.js → embedder-3G4BQQ6X.js} +9 -9
- package/dist/bundle/{failure-OAIC5VAP.js → failure-6COJAO7T.js} +2 -2
- package/dist/bundle/{first-run-M5CIX6NA.js → first-run-FLXOC53U.js} +11 -11
- package/dist/bundle/first-screen-VUZEDSQW.js +32 -0
- package/dist/bundle/{instructions-UX36BT5F.js → instructions-HGSXDCBT.js} +1 -1
- package/dist/bundle/mail.js +12 -11
- package/dist/bundle/{mcp-L7SRVDRN.js → mcp-GAPDLFWA.js} +2 -2
- package/dist/bundle/{node-OXT7WE2T.js → node-5Z7PS4F5.js} +2 -2
- package/dist/bundle/{node-sqlite-X2PSEHA4.js → node-sqlite-OAW7APIX.js} +5 -5
- package/dist/bundle/{oauth-MYK4BSYN.js → oauth-ZFZWPAJN.js} +7 -7
- package/dist/bundle/{open-GONIP2DH.js → open-ZQMBZVH4.js} +4 -4
- package/dist/bundle/{openai-YJFNUOQT.js → openai-XT2RIXAK.js} +14 -14
- package/dist/bundle/{process-7IEUUSRK.js → process-VVEQIHPE.js} +1 -1
- package/dist/bundle/{program-Q73TTG3E.js → program-RD3BBDNY.js} +21470 -7075
- package/dist/bundle/{prompt-SKQ72KN7.js → prompt-PU7GE4Z4.js} +5 -5
- package/dist/bundle/{recognize-GC7CU2DB.js → recognize-AG4A3KUK.js} +4 -4
- package/dist/bundle/{remote-UEXFZP2I.js → remote-D6TQ6T7F.js} +7 -7
- package/dist/bundle/{rerank-2U2NDEZP.js → rerank-GO24HJPF.js} +7 -7
- package/dist/bundle/{serve-OOGKFEWL.js → serve-WCHJAH6G.js} +9 -9
- package/dist/bundle/server-5KJJ3D6P.js +63 -0
- package/dist/bundle/{server-FZ3LFQTF.js → server-CAVNBG3P.js} +38 -38
- package/dist/bundle/{sqlite-runtime-GIQSW6LJ.js → sqlite-runtime-ANXC4AW2.js} +5 -5
- package/dist/bundle/{state-EMFXPQVZ.js → state-EGJ66A62.js} +6 -6
- package/dist/bundle/{store-BDU4UPNK.js → store-OON7FCMQ.js} +15 -15
- package/dist/bundle/{store-LDI62AUG.js → store-SBFA444C.js} +13 -13
- package/dist/bundle/store-maintenance-command-UEOJLYMJ.js +52 -0
- package/dist/commands/attachments.d.ts +3 -0
- package/dist/commands/attachments.d.ts.map +1 -0
- package/dist/commands/attachments.js +97 -0
- package/dist/commands/attachments.js.map +1 -0
- package/dist/commands/context.d.ts +21 -6
- package/dist/commands/context.d.ts.map +1 -1
- package/dist/commands/context.js +58 -7
- package/dist/commands/context.js.map +1 -1
- package/dist/commands/drafts-send.d.ts +7 -0
- package/dist/commands/drafts-send.d.ts.map +1 -0
- package/dist/commands/drafts-send.js +58 -0
- package/dist/commands/drafts-send.js.map +1 -0
- package/dist/commands/drafts.d.ts +3 -0
- package/dist/commands/drafts.d.ts.map +1 -0
- package/dist/commands/drafts.js +243 -0
- package/dist/commands/drafts.js.map +1 -0
- package/dist/commands/export.d.ts +3 -0
- package/dist/commands/export.d.ts.map +1 -0
- package/dist/commands/export.js +278 -0
- package/dist/commands/export.js.map +1 -0
- package/dist/commands/folders.d.ts.map +1 -1
- package/dist/commands/folders.js +120 -2
- package/dist/commands/folders.js.map +1 -1
- package/dist/commands/messages.d.ts +25 -0
- package/dist/commands/messages.d.ts.map +1 -0
- package/dist/commands/messages.js +506 -0
- package/dist/commands/messages.js.map +1 -0
- package/dist/commands/read.d.ts +4 -1
- package/dist/commands/read.d.ts.map +1 -1
- package/dist/commands/read.js +14 -3
- package/dist/commands/read.js.map +1 -1
- package/dist/commands/rules.d.ts +3 -0
- package/dist/commands/rules.d.ts.map +1 -0
- package/dist/commands/rules.js +292 -0
- package/dist/commands/rules.js.map +1 -0
- package/dist/commands/send.d.ts +39 -0
- package/dist/commands/send.d.ts.map +1 -0
- package/dist/commands/send.js +309 -0
- package/dist/commands/send.js.map +1 -0
- package/dist/commands/server-search.d.ts +8 -0
- package/dist/commands/server-search.d.ts.map +1 -0
- package/dist/commands/server-search.js +38 -0
- package/dist/commands/server-search.js.map +1 -0
- package/dist/commands/session-start.d.ts.map +1 -1
- package/dist/commands/session-start.js +107 -10
- package/dist/commands/session-start.js.map +1 -1
- package/dist/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +72 -9
- package/dist/commands/session.js.map +1 -1
- package/dist/commands/stats.d.ts +3 -0
- package/dist/commands/stats.d.ts.map +1 -0
- package/dist/commands/stats.js +89 -0
- package/dist/commands/stats.js.map +1 -0
- package/dist/commands/status.js +2 -2
- package/dist/commands/status.js.map +1 -1
- package/dist/commands/sync.d.ts +6 -0
- package/dist/commands/sync.d.ts.map +1 -1
- package/dist/commands/sync.js +28 -20
- package/dist/commands/sync.js.map +1 -1
- package/dist/commands/tags.d.ts +3 -0
- package/dist/commands/tags.d.ts.map +1 -0
- package/dist/commands/tags.js +144 -0
- package/dist/commands/tags.js.map +1 -0
- package/dist/config.d.ts +15 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +52 -1
- package/dist/config.js.map +1 -1
- package/dist/export/format.d.ts +19 -0
- package/dist/export/format.d.ts.map +1 -0
- package/dist/export/format.js +40 -0
- package/dist/export/format.js.map +1 -0
- package/dist/export/journal.d.ts +32 -0
- package/dist/export/journal.d.ts.map +1 -0
- package/dist/export/journal.js +84 -0
- package/dist/export/journal.js.map +1 -0
- package/dist/export/write.d.ts +14 -0
- package/dist/export/write.d.ts.map +1 -0
- package/dist/export/write.js +42 -0
- package/dist/export/write.js.map +1 -0
- package/dist/identity.d.ts.map +1 -1
- package/dist/identity.js +3 -0
- package/dist/identity.js.map +1 -1
- package/dist/mail/backend.d.ts +104 -2
- package/dist/mail/backend.d.ts.map +1 -1
- package/dist/mail/backend.js +4 -1
- package/dist/mail/backend.js.map +1 -1
- package/dist/mail/changes.d.ts +91 -0
- package/dist/mail/changes.d.ts.map +1 -0
- package/dist/mail/changes.js +198 -0
- package/dist/mail/changes.js.map +1 -0
- package/dist/mail/cleanup.d.ts +41 -0
- package/dist/mail/cleanup.d.ts.map +1 -0
- package/dist/mail/cleanup.js +119 -0
- package/dist/mail/cleanup.js.map +1 -0
- package/dist/mail/compose.d.ts +73 -0
- package/dist/mail/compose.d.ts.map +1 -0
- package/dist/mail/compose.js +110 -0
- package/dist/mail/compose.js.map +1 -0
- package/dist/mail/doctor.d.ts +67 -0
- package/dist/mail/doctor.d.ts.map +1 -0
- package/dist/mail/doctor.js +115 -0
- package/dist/mail/doctor.js.map +1 -0
- package/dist/mail/drafts.d.ts +54 -0
- package/dist/mail/drafts.d.ts.map +1 -0
- package/dist/mail/drafts.js +104 -0
- package/dist/mail/drafts.js.map +1 -0
- package/dist/mail/imap/connection.d.ts +13 -3
- package/dist/mail/imap/connection.d.ts.map +1 -1
- package/dist/mail/imap/connection.js +87 -18
- package/dist/mail/imap/connection.js.map +1 -1
- package/dist/mail/imap/index.d.ts +3 -3
- package/dist/mail/imap/index.d.ts.map +1 -1
- package/dist/mail/imap/index.js +14 -4
- package/dist/mail/imap/index.js.map +1 -1
- package/dist/mail/imap/messages.d.ts +5 -6
- package/dist/mail/imap/messages.d.ts.map +1 -1
- package/dist/mail/imap/messages.js +14 -28
- package/dist/mail/imap/messages.js.map +1 -1
- package/dist/mail/imap/read.d.ts.map +1 -1
- package/dist/mail/imap/read.js +27 -13
- package/dist/mail/imap/read.js.map +1 -1
- package/dist/mail/imap/search.d.ts +14 -0
- package/dist/mail/imap/search.d.ts.map +1 -0
- package/dist/mail/imap/search.js +55 -0
- package/dist/mail/imap/search.js.map +1 -0
- package/dist/mail/imap/write.d.ts +5 -0
- package/dist/mail/imap/write.d.ts.map +1 -0
- package/dist/mail/imap/write.js +93 -0
- package/dist/mail/imap/write.js.map +1 -0
- package/dist/mail/organise.d.ts +116 -0
- package/dist/mail/organise.d.ts.map +1 -0
- package/dist/mail/organise.js +531 -0
- package/dist/mail/organise.js.map +1 -0
- package/dist/mail/rethread.d.ts +1 -2
- package/dist/mail/rethread.d.ts.map +1 -1
- package/dist/mail/rethread.js +8 -3
- package/dist/mail/rethread.js.map +1 -1
- package/dist/mail/rules/apply.d.ts +40 -0
- package/dist/mail/rules/apply.d.ts.map +1 -0
- package/dist/mail/rules/apply.js +114 -0
- package/dist/mail/rules/apply.js.map +1 -0
- package/dist/mail/rules/file.d.ts +9 -0
- package/dist/mail/rules/file.d.ts.map +1 -0
- package/dist/mail/rules/file.js +51 -0
- package/dist/mail/rules/file.js.map +1 -0
- package/dist/mail/rules/filters.d.ts +11 -0
- package/dist/mail/rules/filters.d.ts.map +1 -0
- package/dist/mail/rules/filters.js +150 -0
- package/dist/mail/rules/filters.js.map +1 -0
- package/dist/mail/rules/folders.d.ts +11 -0
- package/dist/mail/rules/folders.d.ts.map +1 -0
- package/dist/mail/rules/folders.js +17 -0
- package/dist/mail/rules/folders.js.map +1 -0
- package/dist/mail/rules/query.d.ts +15 -0
- package/dist/mail/rules/query.d.ts.map +1 -0
- package/dist/mail/rules/query.js +103 -0
- package/dist/mail/rules/query.js.map +1 -0
- package/dist/mail/rules/store.d.ts +9 -0
- package/dist/mail/rules/store.d.ts.map +1 -0
- package/dist/mail/rules/store.js +17 -0
- package/dist/mail/rules/store.js.map +1 -0
- package/dist/mail/save.d.ts +9 -0
- package/dist/mail/save.d.ts.map +1 -0
- package/dist/mail/save.js +50 -0
- package/dist/mail/save.js.map +1 -0
- package/dist/mail/send.d.ts +67 -0
- package/dist/mail/send.d.ts.map +1 -0
- package/dist/mail/send.js +173 -0
- package/dist/mail/send.js.map +1 -0
- package/dist/mail/smtp.d.ts +4 -0
- package/dist/mail/smtp.d.ts.map +1 -0
- package/dist/mail/smtp.js +133 -0
- package/dist/mail/smtp.js.map +1 -0
- package/dist/oauth.d.ts +74 -0
- package/dist/oauth.d.ts.map +1 -0
- package/dist/oauth.js +230 -0
- package/dist/oauth.js.map +1 -0
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +26 -4
- package/dist/program.js.map +1 -1
- package/dist/providers.d.ts +96 -9
- package/dist/providers.d.ts.map +1 -1
- package/dist/providers.js +69 -16
- package/dist/providers.js.map +1 -1
- package/dist/reasons.d.ts +9 -0
- package/dist/reasons.d.ts.map +1 -0
- package/dist/reasons.js +27 -0
- package/dist/reasons.js.map +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +7 -5
- package/skills/mail-cli/SKILL.md +30 -3
- package/dist/bundle/chunk-YD5WV757.js +0 -27
- package/dist/bundle/command-contract-GPUED3GT.js +0 -34
- package/dist/bundle/first-screen-M7MT776O.js +0 -32
- package/dist/bundle/server-4JMHDHZ7.js +0 -63
- package/dist/bundle/store-maintenance-command-OFRPORN2.js +0 -52
- /package/dist/bundle/{chunk-NPGVOZVK.js → chunk-WJWLHLQ7.js} +0 -0
|
@@ -8,14 +8,15 @@ import {
|
|
|
8
8
|
closeSuggestion,
|
|
9
9
|
conversation,
|
|
10
10
|
envName,
|
|
11
|
+
hitFile,
|
|
11
12
|
recordLogFor,
|
|
12
13
|
storeTable,
|
|
13
14
|
tagging,
|
|
14
15
|
task
|
|
15
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-R5MML3FC.js";
|
|
16
17
|
import {
|
|
17
18
|
carries
|
|
18
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-6LK7KTWB.js";
|
|
19
20
|
import {
|
|
20
21
|
author,
|
|
21
22
|
count,
|
|
@@ -29,7 +30,7 @@ import {
|
|
|
29
30
|
text,
|
|
30
31
|
time,
|
|
31
32
|
untrusted
|
|
32
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-5BSEGMNE.js";
|
|
33
34
|
import {
|
|
34
35
|
FACT_STATUSES,
|
|
35
36
|
FACT_TYPES,
|
|
@@ -46,7 +47,7 @@ import {
|
|
|
46
47
|
TASK_TYPES,
|
|
47
48
|
TASK_VERDICTS,
|
|
48
49
|
WORK_TASK_TYPES
|
|
49
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-MMXMVGA6.js";
|
|
50
51
|
import {
|
|
51
52
|
MEETING_RESULT_ENTITIES,
|
|
52
53
|
event,
|
|
@@ -62,11 +63,11 @@ import {
|
|
|
62
63
|
meetingStats,
|
|
63
64
|
meetingSummary,
|
|
64
65
|
meetingTranscript
|
|
65
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-VBOMKZ4E.js";
|
|
66
67
|
import {
|
|
67
68
|
resolvePaths,
|
|
68
69
|
writeSecurely
|
|
69
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-Q2C3VMSU.js";
|
|
70
71
|
import {
|
|
71
72
|
array,
|
|
72
73
|
boolean,
|
|
@@ -99,15 +100,15 @@ import {
|
|
|
99
100
|
unknown,
|
|
100
101
|
unwrap,
|
|
101
102
|
variant
|
|
102
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-NXJLC2WK.js";
|
|
103
104
|
import {
|
|
104
105
|
CliError
|
|
105
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-BM445GYF.js";
|
|
106
107
|
import {
|
|
107
108
|
__name
|
|
108
109
|
} from "./chunk-ZVVMGPBJ.js";
|
|
109
110
|
|
|
110
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
111
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
111
112
|
var member = strictObject({
|
|
112
113
|
id,
|
|
113
114
|
name: nullable(text),
|
|
@@ -130,7 +131,7 @@ var member = strictObject({
|
|
|
130
131
|
check: optional(record(string(), unknown()))
|
|
131
132
|
});
|
|
132
133
|
|
|
133
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
134
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
134
135
|
var setting = optional(nullable(boolean()));
|
|
135
136
|
var chat = strictObject({
|
|
136
137
|
ref: reference,
|
|
@@ -171,7 +172,7 @@ var chat = strictObject({
|
|
|
171
172
|
members: optional(array(member))
|
|
172
173
|
});
|
|
173
174
|
|
|
174
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
175
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
175
176
|
var botProfile = strictObject({
|
|
176
177
|
name: text,
|
|
177
178
|
token: text,
|
|
@@ -196,6 +197,7 @@ var botAdmin = strictObject({
|
|
|
196
197
|
title: nullable(text)
|
|
197
198
|
});
|
|
198
199
|
var botMenuEntry = strictObject({ name: text, description: nullable(text) });
|
|
200
|
+
var topicIcon = strictObject({ emoji: text });
|
|
199
201
|
var botWebhook = strictObject({ url: text, types: optional(array(text)) });
|
|
200
202
|
var scheduledJob = strictObject({
|
|
201
203
|
name: text,
|
|
@@ -238,7 +240,7 @@ var stickerInventory = strictObject({
|
|
|
238
240
|
url: optional(nullable(text))
|
|
239
241
|
});
|
|
240
242
|
|
|
241
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
243
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
242
244
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
243
245
|
const total = input.total ?? null;
|
|
244
246
|
const updated = input.updatedAt ?? null;
|
|
@@ -254,7 +256,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
254
256
|
};
|
|
255
257
|
}, "progressOf");
|
|
256
258
|
|
|
257
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
259
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
258
260
|
var actionableError = objectWithRest({
|
|
259
261
|
code: text,
|
|
260
262
|
message: text,
|
|
@@ -271,7 +273,7 @@ var batchResult = strictObject({
|
|
|
271
273
|
max_error_percent: count
|
|
272
274
|
});
|
|
273
275
|
|
|
274
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
276
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
275
277
|
var conversationBuild = strictObject({
|
|
276
278
|
chat: id,
|
|
277
279
|
messages: count,
|
|
@@ -296,7 +298,7 @@ var catchUpPreparation = strictObject({
|
|
|
296
298
|
prepared: optional(conversationPreparation)
|
|
297
299
|
});
|
|
298
300
|
|
|
299
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
301
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
300
302
|
import { spawn } from "node:child_process";
|
|
301
303
|
import { randomBytes } from "node:crypto";
|
|
302
304
|
import { closeSync, existsSync, mkdirSync, openSync, readdirSync, readFileSync, realpathSync, rmSync } from "node:fs";
|
|
@@ -455,7 +457,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
455
457
|
return { job: id6, pid, chat: input.chat, log };
|
|
456
458
|
}, "startArchiveJob");
|
|
457
459
|
|
|
458
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
460
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
459
461
|
var problem = strictObject({ code: text, message: text });
|
|
460
462
|
var job = strictObject({
|
|
461
463
|
id,
|
|
@@ -478,7 +480,7 @@ var job = strictObject({
|
|
|
478
480
|
error: optional(problem)
|
|
479
481
|
});
|
|
480
482
|
|
|
481
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
483
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
482
484
|
var quoted = strictObject({
|
|
483
485
|
id,
|
|
484
486
|
sender_id: nullable(id),
|
|
@@ -585,7 +587,7 @@ var message = strictObject({
|
|
|
585
587
|
provider_metadata: providerMetadata
|
|
586
588
|
});
|
|
587
589
|
|
|
588
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
590
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
589
591
|
var extractionItem = strictObject({
|
|
590
592
|
ref: reference,
|
|
591
593
|
attachment: count,
|
|
@@ -618,7 +620,7 @@ var extractionReport = strictObject({
|
|
|
618
620
|
cursor: optional(text)
|
|
619
621
|
});
|
|
620
622
|
|
|
621
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
623
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
622
624
|
var savedMessageFile = strictObject({
|
|
623
625
|
kind: text,
|
|
624
626
|
path: text,
|
|
@@ -697,7 +699,7 @@ var messageSyncAll = strictObject({
|
|
|
697
699
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
698
700
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
699
701
|
|
|
700
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
702
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
701
703
|
var range = strictObject({ from: number(), to: number() });
|
|
702
704
|
var storeChatStatus = strictObject({
|
|
703
705
|
chat_id: id,
|
|
@@ -788,7 +790,7 @@ var storeJobRetry = union([
|
|
|
788
790
|
]);
|
|
789
791
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
790
792
|
|
|
791
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
793
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
792
794
|
var account = strictObject({
|
|
793
795
|
provider: text,
|
|
794
796
|
id,
|
|
@@ -798,7 +800,7 @@ var account = strictObject({
|
|
|
798
800
|
scope: optional(picklist(["personal", "work"]))
|
|
799
801
|
});
|
|
800
802
|
|
|
801
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
803
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
802
804
|
var accountSession = strictObject({
|
|
803
805
|
current: boolean(),
|
|
804
806
|
client: nullable(text),
|
|
@@ -808,7 +810,7 @@ var accountSession = strictObject({
|
|
|
808
810
|
created_at: optional(nullable(time))
|
|
809
811
|
});
|
|
810
812
|
|
|
811
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
813
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
812
814
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
813
815
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
814
816
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -826,7 +828,7 @@ var accountPrivacy = strictObject({
|
|
|
826
828
|
});
|
|
827
829
|
var accountPrivacyChange = strictObject({ operation_id: id, privacy: accountPrivacy });
|
|
828
830
|
|
|
829
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
831
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
830
832
|
var accountProfile = strictObject({
|
|
831
833
|
profile: id,
|
|
832
834
|
current: boolean(),
|
|
@@ -836,7 +838,7 @@ var accountProfile = strictObject({
|
|
|
836
838
|
signed_in: optional(boolean())
|
|
837
839
|
});
|
|
838
840
|
|
|
839
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
841
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
840
842
|
var milliseconds = pipe(number(), minValue(0));
|
|
841
843
|
var counterReading = strictObject({
|
|
842
844
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -848,7 +850,7 @@ var counterReading = strictObject({
|
|
|
848
850
|
});
|
|
849
851
|
var selection = record(string(), unknown());
|
|
850
852
|
|
|
851
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
853
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
852
854
|
var adminRow = strictObject({
|
|
853
855
|
ref: reference,
|
|
854
856
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -901,11 +903,11 @@ var adminReport = strictObject({
|
|
|
901
903
|
rows: array(adminRow)
|
|
902
904
|
});
|
|
903
905
|
|
|
904
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
906
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
905
907
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
906
908
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
907
909
|
|
|
908
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
910
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
909
911
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
910
912
|
var attachmentBytes = strictObject({
|
|
911
913
|
ref: reference,
|
|
@@ -933,7 +935,7 @@ var attachmentTextChange = strictObject({
|
|
|
933
935
|
replaced: nullable(picklist(["extracted", "agent"]))
|
|
934
936
|
});
|
|
935
937
|
|
|
936
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
938
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
937
939
|
var chart = strictObject({
|
|
938
940
|
version: literal(1),
|
|
939
941
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -948,7 +950,7 @@ var chart = strictObject({
|
|
|
948
950
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
949
951
|
});
|
|
950
952
|
|
|
951
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
953
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
952
954
|
var named = strictObject({
|
|
953
955
|
id,
|
|
954
956
|
title: nullable(text),
|
|
@@ -971,7 +973,7 @@ var folder = strictObject({
|
|
|
971
973
|
excluded_chats: optional(array(named))
|
|
972
974
|
});
|
|
973
975
|
|
|
974
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
976
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
975
977
|
var inviteLink = strictObject({
|
|
976
978
|
link: text,
|
|
977
979
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -987,7 +989,7 @@ var inviteLink = strictObject({
|
|
|
987
989
|
joined_count: optional(count)
|
|
988
990
|
});
|
|
989
991
|
|
|
990
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
992
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
991
993
|
var operated = { operation_id: id, chat_id: id };
|
|
992
994
|
var group = strictObject({
|
|
993
995
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -1067,7 +1069,7 @@ var chatFolderOrder = strictObject({
|
|
|
1067
1069
|
folders: array(strictObject({ id, title: text }))
|
|
1068
1070
|
});
|
|
1069
1071
|
|
|
1070
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1072
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
1071
1073
|
var operated2 = { operation_id: id, chat_id: id };
|
|
1072
1074
|
var chatRemoval = strictObject(operated2);
|
|
1073
1075
|
var chatMuting = strictObject({
|
|
@@ -1078,7 +1080,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
1078
1080
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
1079
1081
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
1080
1082
|
|
|
1081
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1083
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
1082
1084
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
1083
1085
|
var chatEvent = strictObject({
|
|
1084
1086
|
chat_id: id,
|
|
@@ -1095,7 +1097,7 @@ var chatEvent = strictObject({
|
|
|
1095
1097
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
1096
1098
|
});
|
|
1097
1099
|
|
|
1098
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1100
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
1099
1101
|
var chatMetadata = strictObject({
|
|
1100
1102
|
chat_id: id,
|
|
1101
1103
|
title: nullable(text),
|
|
@@ -1110,7 +1112,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
1110
1112
|
has_more: boolean()
|
|
1111
1113
|
});
|
|
1112
1114
|
|
|
1113
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1115
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
1114
1116
|
var action = picklist(["report", "delete", "remove"]);
|
|
1115
1117
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
1116
1118
|
var chatRules = strictObject({
|
|
@@ -1147,7 +1149,7 @@ var chatModeration = strictObject({
|
|
|
1147
1149
|
}))
|
|
1148
1150
|
});
|
|
1149
1151
|
|
|
1150
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1152
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
1151
1153
|
var optionalCount = optional(count);
|
|
1152
1154
|
var minutes = nullable(number());
|
|
1153
1155
|
var chatStats = strictObject({
|
|
@@ -1209,7 +1211,7 @@ var taskStats = strictObject({
|
|
|
1209
1211
|
}))
|
|
1210
1212
|
});
|
|
1211
1213
|
|
|
1212
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1214
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
1213
1215
|
var memberCount = strictObject({
|
|
1214
1216
|
day: pipe(text, isoDate()),
|
|
1215
1217
|
participants: nullable(count),
|
|
@@ -1232,7 +1234,7 @@ var chatTracking = strictObject({
|
|
|
1232
1234
|
tracked: boolean()
|
|
1233
1235
|
});
|
|
1234
1236
|
|
|
1235
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1237
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
1236
1238
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
1237
1239
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
1238
1240
|
var profileFields = {
|
|
@@ -1270,7 +1272,7 @@ var profileFields = {
|
|
|
1270
1272
|
}))
|
|
1271
1273
|
};
|
|
1272
1274
|
|
|
1273
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1275
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
1274
1276
|
var contact = strictObject({
|
|
1275
1277
|
ref: reference,
|
|
1276
1278
|
id,
|
|
@@ -1301,7 +1303,7 @@ var contact = strictObject({
|
|
|
1301
1303
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
1302
1304
|
});
|
|
1303
1305
|
|
|
1304
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1306
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
1305
1307
|
var linkedIdentity = strictObject({
|
|
1306
1308
|
provider: text,
|
|
1307
1309
|
id,
|
|
@@ -1342,7 +1344,7 @@ var contactCheck = strictObject({
|
|
|
1342
1344
|
checked_at: time
|
|
1343
1345
|
});
|
|
1344
1346
|
|
|
1345
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1347
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
1346
1348
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
1347
1349
|
var contextMessage = strictObject({
|
|
1348
1350
|
locator: reference,
|
|
@@ -1540,7 +1542,7 @@ var contactPreparation = strictObject({
|
|
|
1540
1542
|
})
|
|
1541
1543
|
});
|
|
1542
1544
|
|
|
1543
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1545
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
1544
1546
|
var contactNote = strictObject({
|
|
1545
1547
|
id,
|
|
1546
1548
|
/** The contact, as a `contact:` reference. */
|
|
@@ -1552,13 +1554,13 @@ var contactNote = strictObject({
|
|
|
1552
1554
|
updated_at: time
|
|
1553
1555
|
});
|
|
1554
1556
|
|
|
1555
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1557
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
1556
1558
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
1557
1559
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
1558
1560
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
1559
1561
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
1560
1562
|
|
|
1561
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1563
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
1562
1564
|
var conversationDetails = union([
|
|
1563
1565
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
1564
1566
|
message
|
|
@@ -1648,7 +1650,7 @@ var conversationHit = strictObject({
|
|
|
1648
1650
|
stale: boolean()
|
|
1649
1651
|
});
|
|
1650
1652
|
|
|
1651
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1653
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
1652
1654
|
var counters = strictObject({
|
|
1653
1655
|
cutoff: time,
|
|
1654
1656
|
max_age_ms: milliseconds,
|
|
@@ -1678,7 +1680,7 @@ var counterRefresh = strictObject({
|
|
|
1678
1680
|
complete: optional(boolean())
|
|
1679
1681
|
});
|
|
1680
1682
|
|
|
1681
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1683
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
1682
1684
|
var document = strictObject({
|
|
1683
1685
|
ref: reference,
|
|
1684
1686
|
id,
|
|
@@ -1693,7 +1695,7 @@ var document = strictObject({
|
|
|
1693
1695
|
owners: optional(array(text))
|
|
1694
1696
|
});
|
|
1695
1697
|
|
|
1696
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1698
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
1697
1699
|
var documentLink = strictObject({
|
|
1698
1700
|
ref: reference,
|
|
1699
1701
|
url: text,
|
|
@@ -1704,7 +1706,7 @@ var documentLink = strictObject({
|
|
|
1704
1706
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
1705
1707
|
});
|
|
1706
1708
|
|
|
1707
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1709
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
1708
1710
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
1709
1711
|
var contribution = strictObject({
|
|
1710
1712
|
message: evidenceMessage,
|
|
@@ -1734,7 +1736,7 @@ var retentionStay = strictObject({
|
|
|
1734
1736
|
});
|
|
1735
1737
|
var evidence = union([contribution, retentionStay]);
|
|
1736
1738
|
|
|
1737
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1739
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
1738
1740
|
var fact = strictObject({
|
|
1739
1741
|
ref: reference,
|
|
1740
1742
|
id,
|
|
@@ -1764,7 +1766,7 @@ var fact = strictObject({
|
|
|
1764
1766
|
updated_at: time
|
|
1765
1767
|
});
|
|
1766
1768
|
|
|
1767
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1769
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
1768
1770
|
var hit = strictObject({
|
|
1769
1771
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting"]),
|
|
1770
1772
|
ref: reference,
|
|
@@ -1787,13 +1789,17 @@ var hit = strictObject({
|
|
|
1787
1789
|
offset_ms: optional(nullable(count)),
|
|
1788
1790
|
/** A meeting passage's place: its transcript, chat or summary. */
|
|
1789
1791
|
scope: optional(picklist(["transcript", "chat", "summary"])),
|
|
1792
|
+
/** A meeting transcript hit's cue, which `meetings passage` opens with the lines around it. */
|
|
1793
|
+
cue_ref: optional(reference),
|
|
1790
1794
|
/** A meeting passage's stored line, so two passages of one meeting stay apart; `search meetings` gives the same. */
|
|
1791
1795
|
id: optional(pipe(string(), minLength(1))),
|
|
1796
|
+
/** A message's files; absent when it has none. */
|
|
1797
|
+
attachments: optional(array(hitFile)),
|
|
1792
1798
|
/** Absent on a note hit: the owner wrote it. */
|
|
1793
1799
|
untrusted
|
|
1794
1800
|
});
|
|
1795
1801
|
|
|
1796
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1802
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
1797
1803
|
var identity = strictObject({
|
|
1798
1804
|
ref: reference,
|
|
1799
1805
|
provider: text,
|
|
@@ -1806,7 +1812,7 @@ var identity = strictObject({
|
|
|
1806
1812
|
person: optional(nullable(reference))
|
|
1807
1813
|
});
|
|
1808
1814
|
|
|
1809
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1815
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
1810
1816
|
var imageEmbedding = strictObject({
|
|
1811
1817
|
model: text,
|
|
1812
1818
|
embedded: count,
|
|
@@ -1815,7 +1821,7 @@ var imageEmbedding = strictObject({
|
|
|
1815
1821
|
more: boolean()
|
|
1816
1822
|
});
|
|
1817
1823
|
|
|
1818
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1824
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
1819
1825
|
var joinRequest = strictObject({
|
|
1820
1826
|
person_id: id,
|
|
1821
1827
|
name: nullable(text),
|
|
@@ -1826,7 +1832,7 @@ var joinRequest = strictObject({
|
|
|
1826
1832
|
about: optional(text)
|
|
1827
1833
|
});
|
|
1828
1834
|
|
|
1829
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1835
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
1830
1836
|
var pollVote = strictObject({
|
|
1831
1837
|
person_id: id,
|
|
1832
1838
|
name: nullable(text),
|
|
@@ -1836,7 +1842,7 @@ var pollVote = strictObject({
|
|
|
1836
1842
|
voted_at: time
|
|
1837
1843
|
});
|
|
1838
1844
|
|
|
1839
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1845
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
1840
1846
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
1841
1847
|
var observation = strictObject({
|
|
1842
1848
|
value: pipe(number(), minValue(0)),
|
|
@@ -1877,7 +1883,7 @@ var serveSummary = strictObject({
|
|
|
1877
1883
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
1878
1884
|
});
|
|
1879
1885
|
|
|
1880
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1886
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
1881
1887
|
var mediaArchive = strictObject({
|
|
1882
1888
|
directory: text,
|
|
1883
1889
|
chats: count,
|
|
@@ -1909,7 +1915,7 @@ var mediaArchiveTimer = union([
|
|
|
1909
1915
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
1910
1916
|
]);
|
|
1911
1917
|
|
|
1912
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1918
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
1913
1919
|
var preparationId = pipe(string(), minLength(1));
|
|
1914
1920
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
1915
1921
|
var preparationTime = nullable(isoTime);
|
|
@@ -2001,7 +2007,7 @@ var preparationMeeting = strictObject({
|
|
|
2001
2007
|
updated_at: isoTime
|
|
2002
2008
|
});
|
|
2003
2009
|
|
|
2004
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2010
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
2005
2011
|
var meetingEvidence = preparationEvidence;
|
|
2006
2012
|
var meetingPersonContext = strictObject({
|
|
2007
2013
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -2023,7 +2029,7 @@ var meetingPersonContext = strictObject({
|
|
|
2023
2029
|
})
|
|
2024
2030
|
});
|
|
2025
2031
|
|
|
2026
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2032
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
2027
2033
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
2028
2034
|
var base = { id, project: reference, evidence: array(evidence2) };
|
|
2029
2035
|
var finding = variant("kind", [
|
|
@@ -2061,7 +2067,7 @@ var meetingFindings = strictObject({
|
|
|
2061
2067
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome) }))
|
|
2062
2068
|
});
|
|
2063
2069
|
|
|
2064
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2070
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
2065
2071
|
var communicationCoverage = strictObject({
|
|
2066
2072
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
2067
2073
|
query: string(),
|
|
@@ -2106,7 +2112,7 @@ var preparationCommunications = strictObject({
|
|
|
2106
2112
|
}))
|
|
2107
2113
|
});
|
|
2108
2114
|
|
|
2109
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2115
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
2110
2116
|
var meetingPreparation = strictObject({
|
|
2111
2117
|
communications: optional(preparationCommunications),
|
|
2112
2118
|
schema_version: literal(1),
|
|
@@ -2219,7 +2225,7 @@ var meetingPreparation = strictObject({
|
|
|
2219
2225
|
})
|
|
2220
2226
|
});
|
|
2221
2227
|
|
|
2222
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2228
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
2223
2229
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
2224
2230
|
var id3 = pipe(string(), minLength(1));
|
|
2225
2231
|
var text3 = string();
|
|
@@ -2283,7 +2289,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
2283
2289
|
})
|
|
2284
2290
|
});
|
|
2285
2291
|
|
|
2286
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2292
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
2287
2293
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
2288
2294
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
2289
2295
|
var meetingSeriesInventory = strictObject({
|
|
@@ -2313,7 +2319,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
2313
2319
|
})
|
|
2314
2320
|
});
|
|
2315
2321
|
|
|
2316
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2322
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
2317
2323
|
var text4 = string();
|
|
2318
2324
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
2319
2325
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -2330,7 +2336,7 @@ var meetingTaskProposal = strictObject({
|
|
|
2330
2336
|
persistence: literal("proposal-only")
|
|
2331
2337
|
});
|
|
2332
2338
|
|
|
2333
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2339
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
2334
2340
|
var memory = strictObject({
|
|
2335
2341
|
ref: reference,
|
|
2336
2342
|
id,
|
|
@@ -2357,7 +2363,7 @@ var memory = strictObject({
|
|
|
2357
2363
|
updated_at: time
|
|
2358
2364
|
});
|
|
2359
2365
|
|
|
2360
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2366
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
2361
2367
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
2362
2368
|
var status = picklist(["found", "linked", "dismissed"]);
|
|
2363
2369
|
var mention = strictObject({
|
|
@@ -2400,13 +2406,13 @@ var mentionRebuild = strictObject({
|
|
|
2400
2406
|
mentions: count
|
|
2401
2407
|
});
|
|
2402
2408
|
|
|
2403
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2409
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
2404
2410
|
var operated3 = { operation_id: id, chat_id: id };
|
|
2405
2411
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
2406
2412
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
2407
2413
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
2408
2414
|
|
|
2409
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2415
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
2410
2416
|
var messageTranscript = strictObject({
|
|
2411
2417
|
message_id: id,
|
|
2412
2418
|
text,
|
|
@@ -2464,7 +2470,7 @@ var evidencePacket = strictObject({
|
|
|
2464
2470
|
}))
|
|
2465
2471
|
});
|
|
2466
2472
|
|
|
2467
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2473
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
2468
2474
|
var messageThread = strictObject({
|
|
2469
2475
|
ref: reference,
|
|
2470
2476
|
chat: id,
|
|
@@ -2481,7 +2487,7 @@ var messageThread = strictObject({
|
|
|
2481
2487
|
});
|
|
2482
2488
|
var messageContext = union([message, messageThread]);
|
|
2483
2489
|
|
|
2484
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2490
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
2485
2491
|
var messageCounts = strictObject({
|
|
2486
2492
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
2487
2493
|
total: count,
|
|
@@ -2494,16 +2500,24 @@ var messageCounts = strictObject({
|
|
|
2494
2500
|
}))
|
|
2495
2501
|
});
|
|
2496
2502
|
|
|
2497
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2503
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
2498
2504
|
var messageLink = strictObject({
|
|
2499
2505
|
ref: reference,
|
|
2500
2506
|
url: nullable(text),
|
|
2501
2507
|
access: picklist(["public", "restricted", "unknown", "unavailable"]),
|
|
2502
2508
|
/** Why there is no link. */
|
|
2503
|
-
reason: nullable(picklist(["unsupported_chat", "unsupported_provider", "offline"]))
|
|
2509
|
+
reason: nullable(picklist(["unsupported_chat", "unsupported_provider", "offline"])),
|
|
2510
|
+
/** The message's files, each with its own link where the messenger gives one; absent when it has none. */
|
|
2511
|
+
files: optional(array(strictObject({
|
|
2512
|
+
position: count,
|
|
2513
|
+
kind: text,
|
|
2514
|
+
name: optional(text),
|
|
2515
|
+
url: nullable(text),
|
|
2516
|
+
reason: nullable(picklist(["unsupported_provider"]))
|
|
2517
|
+
})))
|
|
2504
2518
|
});
|
|
2505
2519
|
|
|
2506
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2520
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
2507
2521
|
var messageWrite = strictObject({
|
|
2508
2522
|
operation_id: id,
|
|
2509
2523
|
message,
|
|
@@ -2518,7 +2532,7 @@ var draftWrite = strictObject({
|
|
|
2518
2532
|
});
|
|
2519
2533
|
var messageSend = union([messageWrite, draftWrite]);
|
|
2520
2534
|
|
|
2521
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2535
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
2522
2536
|
var model = strictObject({
|
|
2523
2537
|
id,
|
|
2524
2538
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -2535,7 +2549,7 @@ var model = strictObject({
|
|
|
2535
2549
|
path: text
|
|
2536
2550
|
});
|
|
2537
2551
|
|
|
2538
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2552
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
2539
2553
|
var source = picklist(["environment", "keyring", "file"]);
|
|
2540
2554
|
var modelKey = strictObject({
|
|
2541
2555
|
provider: text,
|
|
@@ -2545,7 +2559,7 @@ var modelKey = strictObject({
|
|
|
2545
2559
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
2546
2560
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
2547
2561
|
|
|
2548
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2562
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
2549
2563
|
var versus = strictObject({ current: number(), previous: number() });
|
|
2550
2564
|
var person = { person_ref: reference, name: nullable(text) };
|
|
2551
2565
|
var graph = strictObject({
|
|
@@ -2579,14 +2593,14 @@ var officialStats = strictObject({
|
|
|
2579
2593
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
2580
2594
|
});
|
|
2581
2595
|
|
|
2582
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2596
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
2583
2597
|
var person2 = strictObject({
|
|
2584
2598
|
ref: reference,
|
|
2585
2599
|
name: nullable(text),
|
|
2586
2600
|
identities: optional(array(identity))
|
|
2587
2601
|
});
|
|
2588
2602
|
|
|
2589
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2603
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
2590
2604
|
var poll = strictObject({
|
|
2591
2605
|
chat_id: id,
|
|
2592
2606
|
message_id: id,
|
|
@@ -2602,11 +2616,11 @@ var poll = strictObject({
|
|
|
2602
2616
|
});
|
|
2603
2617
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
2604
2618
|
|
|
2605
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2619
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
2606
2620
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
2607
2621
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
2608
2622
|
|
|
2609
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2623
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
2610
2624
|
var figures = record(string(), number());
|
|
2611
2625
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
2612
2626
|
var rankingRow = strictObject({
|
|
@@ -2653,7 +2667,7 @@ var ranking = strictObject({
|
|
|
2653
2667
|
rows: array(rankingRow)
|
|
2654
2668
|
});
|
|
2655
2669
|
|
|
2656
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2670
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
2657
2671
|
var reaction = strictObject({
|
|
2658
2672
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
2659
2673
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -2661,7 +2675,7 @@ var reaction = strictObject({
|
|
|
2661
2675
|
reacted_at: time
|
|
2662
2676
|
});
|
|
2663
2677
|
|
|
2664
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2678
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
2665
2679
|
var reactionChange = strictObject({
|
|
2666
2680
|
operation_id: id,
|
|
2667
2681
|
chat_id: id,
|
|
@@ -2669,7 +2683,7 @@ var reactionChange = strictObject({
|
|
|
2669
2683
|
reaction: nullable(text)
|
|
2670
2684
|
});
|
|
2671
2685
|
|
|
2672
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2686
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
2673
2687
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
2674
2688
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
2675
2689
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -2680,7 +2694,7 @@ var recipientChange = strictObject({
|
|
|
2680
2694
|
...partial(recipientOff).entries
|
|
2681
2695
|
});
|
|
2682
2696
|
|
|
2683
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2697
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
2684
2698
|
var events = array(record(string(), unknown()));
|
|
2685
2699
|
var recordedRun = strictObject({
|
|
2686
2700
|
run_id: id,
|
|
@@ -2752,7 +2766,7 @@ var runHit = strictObject({
|
|
|
2752
2766
|
});
|
|
2753
2767
|
var runLocation = strictObject({ path: text });
|
|
2754
2768
|
|
|
2755
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2769
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
2756
2770
|
var relationship = strictObject({
|
|
2757
2771
|
id,
|
|
2758
2772
|
from: reference,
|
|
@@ -2767,7 +2781,7 @@ var relationship = strictObject({
|
|
|
2767
2781
|
created_at: time
|
|
2768
2782
|
});
|
|
2769
2783
|
|
|
2770
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2784
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
2771
2785
|
var retentionCohort = strictObject({
|
|
2772
2786
|
/** The first day of the joining day or week. */
|
|
2773
2787
|
cohort: text,
|
|
@@ -2815,7 +2829,7 @@ var retention = strictObject({
|
|
|
2815
2829
|
rows: array(retentionCohort)
|
|
2816
2830
|
});
|
|
2817
2831
|
|
|
2818
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2832
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
2819
2833
|
var savedSearch = strictObject({
|
|
2820
2834
|
id,
|
|
2821
2835
|
/** `null` for a run in the history. */
|
|
@@ -2832,7 +2846,7 @@ var savedSearch = strictObject({
|
|
|
2832
2846
|
});
|
|
2833
2847
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
2834
2848
|
|
|
2835
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2849
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
2836
2850
|
var sendAttempt = strictObject({
|
|
2837
2851
|
at: time,
|
|
2838
2852
|
profile: text,
|
|
@@ -2860,7 +2874,7 @@ var sendAttempt = strictObject({
|
|
|
2860
2874
|
error_code: optional(text)
|
|
2861
2875
|
});
|
|
2862
2876
|
|
|
2863
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2877
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
2864
2878
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
2865
2879
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
2866
2880
|
var infoSchema = strictObject({
|
|
@@ -3068,7 +3082,7 @@ var storeRepair = union([
|
|
|
3068
3082
|
]);
|
|
3069
3083
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
3070
3084
|
|
|
3071
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3085
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
3072
3086
|
var tagTarget = variant("type", [
|
|
3073
3087
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
3074
3088
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -3099,7 +3113,7 @@ var automaticTags = strictObject({
|
|
|
3099
3113
|
dry_run: boolean()
|
|
3100
3114
|
});
|
|
3101
3115
|
|
|
3102
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3116
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
3103
3117
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
3104
3118
|
var taskPair = strictObject({
|
|
3105
3119
|
task: nullable(side),
|
|
@@ -3122,7 +3136,7 @@ var taskPair = strictObject({
|
|
|
3122
3136
|
created_at: time
|
|
3123
3137
|
});
|
|
3124
3138
|
|
|
3125
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3139
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
3126
3140
|
var nullableTime = nullable(time);
|
|
3127
3141
|
var link = strictObject({
|
|
3128
3142
|
id,
|
|
@@ -3143,6 +3157,9 @@ var taskCard = strictObject({
|
|
|
3143
3157
|
ref: reference,
|
|
3144
3158
|
key: text,
|
|
3145
3159
|
project: reference,
|
|
3160
|
+
project_key: text,
|
|
3161
|
+
project_name: text,
|
|
3162
|
+
created_by: nullable(strictObject({ type: picklist(["person", "bot"]), id, name: nullable(text), owner: boolean() })),
|
|
3146
3163
|
title: text,
|
|
3147
3164
|
description: nullable(text),
|
|
3148
3165
|
type: picklist(TASK_TYPES),
|
|
@@ -3249,7 +3266,7 @@ var taskScan = strictObject({
|
|
|
3249
3266
|
tasks: array(strictObject({ source: text, kind: picklist(TASK_KINDS), category: nullable(text) }))
|
|
3250
3267
|
});
|
|
3251
3268
|
|
|
3252
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3269
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
3253
3270
|
var topic = strictObject({
|
|
3254
3271
|
id,
|
|
3255
3272
|
title: text,
|
|
@@ -3263,7 +3280,7 @@ var topic = strictObject({
|
|
|
3263
3280
|
untrusted
|
|
3264
3281
|
});
|
|
3265
3282
|
|
|
3266
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3283
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
3267
3284
|
var ENTITIES = {
|
|
3268
3285
|
sync_progress: progress,
|
|
3269
3286
|
...MEETING_RESULT_ENTITIES,
|
|
@@ -3289,6 +3306,8 @@ var ENTITIES = {
|
|
|
3289
3306
|
"follow_ups",
|
|
3290
3307
|
"email"
|
|
3291
3308
|
]).entries,
|
|
3309
|
+
/** The files the message carries; absent when it has none. */
|
|
3310
|
+
attachments: optional(array(hitFile)),
|
|
3292
3311
|
untrusted
|
|
3293
3312
|
}),
|
|
3294
3313
|
"message.summary": pick(message, [
|
|
@@ -3352,6 +3371,7 @@ var ENTITIES = {
|
|
|
3352
3371
|
bot_seen_chat: botSeenChat,
|
|
3353
3372
|
bot_admin: botAdmin,
|
|
3354
3373
|
bot_menu_entry: botMenuEntry,
|
|
3374
|
+
topic_icon: topicIcon,
|
|
3355
3375
|
bot_webhook: botWebhook,
|
|
3356
3376
|
scheduled_job: scheduledJob,
|
|
3357
3377
|
call_record: callRecord,
|
|
@@ -3536,6 +3556,7 @@ export {
|
|
|
3536
3556
|
botSeenChat,
|
|
3537
3557
|
botAdmin,
|
|
3538
3558
|
botMenuEntry,
|
|
3559
|
+
topicIcon,
|
|
3539
3560
|
botWebhook,
|
|
3540
3561
|
scheduledJob,
|
|
3541
3562
|
callRecord,
|