@wirecat/mail-cli 0.1.1 → 0.3.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 +51 -0
- package/README.md +4 -3
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/{all-profiles-TKMBELRZ.js → all-profiles-52LCOKSL.js} +5 -5
- package/dist/bundle/{anthropic-7LMUAEIZ.js → anthropic-HPW7PLTT.js} +3 -3
- package/dist/bundle/{app-server-JGMIJDD4.js → app-server-Y7XSPVHJ.js} +39 -39
- package/dist/bundle/{bun-XRO6XJHQ.js → bun-B7YXDIMT.js} +2 -2
- package/dist/bundle/{bun-sqlite-Z54LEHVM.js → bun-sqlite-TTTKY7H2.js} +2 -2
- package/dist/bundle/{chunk-52F5DWS5.js → chunk-37MSU5O6.js} +1 -1
- package/dist/bundle/{chunk-5NYMNSSO.js → chunk-3RDTVH3H.js} +3 -3
- package/dist/bundle/{chunk-4E7BN3TC.js → chunk-4PXWXI2U.js} +2 -2
- package/dist/bundle/{chunk-GN62YOT5.js → chunk-4UOEUEZZ.js} +4 -4
- package/dist/bundle/{chunk-TQFCPUIM.js → chunk-5LY3OS7U.js} +1 -1
- package/dist/bundle/{chunk-QLEUNU6G.js → chunk-5SSFYIFF.js} +4 -4
- package/dist/bundle/{chunk-IK5TH3O7.js → chunk-732GKOLO.js} +10 -10
- package/dist/bundle/{chunk-UH4DDRHA.js → chunk-C2THROZU.js} +42 -42
- package/dist/bundle/{chunk-OTUOZ33L.js → chunk-C6E3VFUX.js} +2 -2
- package/dist/bundle/{chunk-YPQQ5J4X.js → chunk-DKKCQMDM.js} +16 -16
- package/dist/bundle/{chunk-6MAZWSC3.js → chunk-FGNTGLWA.js} +3 -3
- package/dist/bundle/{chunk-GQQJOH7A.js → chunk-FUXSKWWJ.js} +58 -46
- package/dist/bundle/{chunk-3KEVLSNN.js → chunk-FX77WAQL.js} +46 -8
- package/dist/bundle/{chunk-VEIZZRQ5.js → chunk-GX2M3AOO.js} +12 -3
- package/dist/bundle/{chunk-CEW6KIFA.js → chunk-H2JVXO5V.js} +32 -22
- package/dist/bundle/{chunk-ZANYM66S.js → chunk-HS25KDT3.js} +1 -1
- package/dist/bundle/{chunk-KM7Q67Z3.js → chunk-I2ARI6FI.js} +1 -1
- package/dist/bundle/{chunk-TWPDVUBR.js → chunk-IXHLMSHV.js} +2 -2
- package/dist/bundle/{chunk-BTQX2ZSZ.js → chunk-JDOOPGKW.js} +2 -2
- package/dist/bundle/{chunk-GK4M2SUP.js → chunk-JHNLU42I.js} +1 -1
- package/dist/bundle/{chunk-KHTO2Q6E.js → chunk-JXYFIUVX.js} +4 -4
- package/dist/bundle/{chunk-F6D6PJ34.js → chunk-K6SIGXRS.js} +5 -5
- package/dist/bundle/{chunk-QQB7WT7R.js → chunk-KALDYMKJ.js} +3 -3
- package/dist/bundle/{chunk-NK7EB63L.js → chunk-KXVZ373I.js} +960 -496
- package/dist/bundle/{chunk-GAH7N7HO.js → chunk-LCA5KC34.js} +44 -44
- package/dist/bundle/{chunk-TVREDYX4.js → chunk-LJDOPCPW.js} +100 -91
- package/dist/bundle/{chunk-3KOA73LS.js → chunk-MHNEMDH3.js} +14 -14
- package/dist/bundle/{chunk-MS53RALV.js → chunk-MXUUQXMA.js} +5 -5
- package/dist/bundle/{chunk-YO4CUH5E.js → chunk-N5WIUNOT.js} +1 -1
- package/dist/bundle/{chunk-EOEDICIE.js → chunk-O2F54PUO.js} +1 -1
- package/dist/bundle/{chunk-2LLNPNMB.js → chunk-O3DRPTWF.js} +1 -1
- package/dist/bundle/{chunk-FZ5FXIG6.js → chunk-PL6UPJIL.js} +1 -1
- package/dist/bundle/{chunk-75CWWETH.js → chunk-PYIJCWCH.js} +11 -11
- package/dist/bundle/{chunk-GWDCKUBI.js → chunk-QTWIZKUI.js} +30 -29
- package/dist/bundle/{chunk-7SXGLT6T.js → chunk-RMYYKBFW.js} +9 -8
- package/dist/bundle/{chunk-JVMVLITS.js → chunk-RORC2FW7.js} +4 -2
- package/dist/bundle/{chunk-K4FVKPDQ.js → chunk-RVIMMCHF.js} +9 -9
- package/dist/bundle/{chunk-T6464KYA.js → chunk-RZCFEASJ.js} +205 -204
- package/dist/bundle/{chunk-Z34ICZA3.js → chunk-SRMJ6LLC.js} +5 -5
- package/dist/bundle/{chunk-TWTATDM7.js → chunk-TL7PE6JU.js} +6 -6
- package/dist/bundle/{chunk-4FEMINO2.js → chunk-TLZWUADZ.js} +5 -5
- package/dist/bundle/{chunk-3E3WA2L6.js → chunk-TNQOKGJS.js} +21 -21
- package/dist/bundle/{chunk-MNOIRJEO.js → chunk-V7NZTJKU.js} +7 -7
- package/dist/bundle/{chunk-TE5U5OAM.js → chunk-VTJDEWMB.js} +2 -2
- package/dist/bundle/{chunk-J6MSJLIW.js → chunk-X7TFD5SX.js} +1 -1
- package/dist/bundle/{chunk-FDCGTODC.js → chunk-XD3TL4BK.js} +1 -1
- package/dist/bundle/{chunk-WLFLBWNH.js → chunk-XQVGIW4R.js} +2 -2
- package/dist/bundle/{chunk-JBBZCTTF.js → chunk-Y2HGQK7A.js} +1 -1
- package/dist/bundle/{chunk-WXAXYJJ7.js → chunk-YVIX7FHL.js} +5 -5
- package/dist/bundle/{chunk-CH6RXYAX.js → chunk-ZIJJNH47.js} +1 -1
- package/dist/bundle/{command-contract-WU434ZUL.js → command-contract-3HA7CZEQ.js} +13 -13
- package/dist/bundle/{decode-YB3ZDTES.js → decode-VLI3MAXE.js} +2 -2
- package/dist/bundle/{dist-A6GKSKFC.js → dist-C7LAAMNF.js} +14 -14
- package/dist/bundle/{echarts-YNGCOYHW.js → echarts-POTU3SHN.js} +2 -2
- package/dist/bundle/{embed-LWNHIRBQ.js → embed-J2DEEEUF.js} +3 -3
- package/dist/bundle/{embedder-2LYD3U37.js → embedder-5N56V7YJ.js} +6 -6
- package/dist/bundle/{first-run-N3HJKGU7.js → first-run-XILZE4PI.js} +5 -5
- package/dist/bundle/{first-screen-4U2DMV3G.js → first-screen-43VLEDWZ.js} +14 -14
- package/dist/bundle/{instructions-GJHHFV64.js → instructions-B7AUZXPL.js} +1 -1
- package/dist/bundle/mail.js +2 -2
- package/dist/bundle/{node-GFOH6FKP.js → node-SZAO6HTA.js} +2 -2
- package/dist/bundle/{node-sqlite-NBXQXBIU.js → node-sqlite-O34FFLRV.js} +2 -2
- package/dist/bundle/{oauth-56EFO5AQ.js → oauth-YYTLIPJT.js} +4 -4
- package/dist/bundle/{open-2V7QZQJP.js → open-SWJGI6H4.js} +1 -1
- package/dist/bundle/{openai-V3SVACVL.js → openai-GYXWCQOV.js} +10 -10
- package/dist/bundle/{process-XVDX4SPD.js → process-GLVWCUMK.js} +1 -1
- package/dist/bundle/{program-JTJB26P3.js → program-HW73TGIF.js} +1725 -1467
- package/dist/bundle/{prompt-YKWAI222.js → prompt-OZLHHGCD.js} +2 -2
- package/dist/bundle/{recognize-PAR66KVM.js → recognize-RDQSGHC5.js} +1 -1
- package/dist/bundle/{remote-CE43TKXC.js → remote-BKU5P3GK.js} +4 -4
- package/dist/bundle/{rerank-M7S7P2TW.js → rerank-EQIXYHKB.js} +4 -4
- package/dist/bundle/{serve-ENPMIV6J.js → serve-S6K5HKWG.js} +6 -6
- package/dist/bundle/{server-MBEZLVKZ.js → server-4VRVHPQC.js} +31 -31
- package/dist/bundle/server-WK6DRJX2.js +63 -0
- package/dist/bundle/{sqlite-runtime-HVGDHBJJ.js → sqlite-runtime-OOE455YM.js} +2 -2
- package/dist/bundle/{state-QZSOSKBD.js → state-OLPOJ2TY.js} +3 -3
- package/dist/bundle/{store-2BUX6LVX.js → store-6AVCPLH4.js} +9 -9
- package/dist/bundle/{store-UJ7SNKXI.js → store-WFV26CWY.js} +30 -12
- package/dist/bundle/store-maintenance-command-S6235I3W.js +52 -0
- package/dist/commands/account.d.ts.map +1 -1
- package/dist/commands/account.js +6 -5
- package/dist/commands/account.js.map +1 -1
- package/dist/commands/context.d.ts +19 -8
- package/dist/commands/context.d.ts.map +1 -1
- package/dist/commands/context.js +14 -10
- package/dist/commands/context.js.map +1 -1
- package/dist/commands/folders.js +4 -4
- package/dist/commands/folders.js.map +1 -1
- package/dist/commands/login.d.ts +2 -2
- package/dist/commands/login.d.ts.map +1 -1
- package/dist/commands/login.js +3 -5
- package/dist/commands/login.js.map +1 -1
- package/dist/commands/mailbox.d.ts +2 -1
- package/dist/commands/mailbox.d.ts.map +1 -1
- package/dist/commands/mailbox.js.map +1 -1
- package/dist/commands/session-start.d.ts +3 -0
- package/dist/commands/session-start.d.ts.map +1 -0
- package/dist/commands/session-start.js +117 -0
- package/dist/commands/session-start.js.map +1 -0
- package/dist/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +9 -117
- package/dist/commands/session.js.map +1 -1
- package/dist/commands/status.d.ts.map +1 -1
- package/dist/commands/status.js +8 -20
- package/dist/commands/status.js.map +1 -1
- package/dist/commands/sync.d.ts.map +1 -1
- package/dist/commands/sync.js +49 -26
- package/dist/commands/sync.js.map +1 -1
- package/dist/config.d.ts +2 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +4 -0
- package/dist/config.js.map +1 -1
- package/dist/discovery.d.ts +4 -15
- package/dist/discovery.d.ts.map +1 -1
- package/dist/discovery.js +19 -92
- package/dist/discovery.js.map +1 -1
- package/dist/mail/backend.d.ts +36 -0
- package/dist/mail/backend.d.ts.map +1 -0
- package/dist/mail/backend.js +2 -0
- package/dist/mail/backend.js.map +1 -0
- package/dist/mail/imap/account.d.ts +5 -0
- package/dist/mail/imap/account.d.ts.map +1 -0
- package/dist/mail/imap/account.js +41 -0
- package/dist/mail/imap/account.js.map +1 -0
- package/dist/mail/imap/connection.d.ts +62 -0
- package/dist/mail/imap/connection.d.ts.map +1 -0
- package/dist/mail/imap/connection.js +188 -0
- package/dist/mail/imap/connection.js.map +1 -0
- package/dist/mail/{imap-errors.d.ts → imap/errors.d.ts} +1 -1
- package/dist/mail/imap/errors.d.ts.map +1 -0
- package/dist/mail/{imap-errors.js → imap/errors.js} +1 -1
- package/dist/mail/imap/errors.js.map +1 -0
- package/dist/mail/imap/index.d.ts +7 -0
- package/dist/mail/imap/index.d.ts.map +1 -0
- package/dist/mail/imap/index.js +11 -0
- package/dist/mail/imap/index.js.map +1 -0
- package/dist/mail/{imap-messages.d.ts → imap/messages.d.ts} +9 -9
- package/dist/mail/imap/messages.d.ts.map +1 -0
- package/dist/mail/imap/messages.js +66 -0
- package/dist/mail/imap/messages.js.map +1 -0
- package/dist/mail/imap/read.d.ts +7 -0
- package/dist/mail/imap/read.d.ts.map +1 -0
- package/dist/mail/imap/read.js +164 -0
- package/dist/mail/imap/read.js.map +1 -0
- package/dist/mail/rethread.d.ts +15 -0
- package/dist/mail/rethread.d.ts.map +1 -0
- package/dist/mail/rethread.js +52 -0
- package/dist/mail/rethread.js.map +1 -0
- package/dist/profile.d.ts +2 -1
- package/dist/profile.d.ts.map +1 -1
- package/dist/profile.js +1 -0
- package/dist/profile.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +8 -1
- package/dist/program.js.map +1 -1
- package/dist/providers.d.ts +126 -26
- package/dist/providers.d.ts.map +1 -1
- package/dist/providers.js +141 -72
- package/dist/providers.js.map +1 -1
- package/dist/secret.d.ts +2 -1
- package/dist/secret.d.ts.map +1 -1
- package/dist/secret.js +1 -0
- package/dist/secret.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -2
- package/skills/mail-cli/SKILL.md +8 -0
- package/dist/bundle/server-JRTHUCVY.js +0 -63
- package/dist/bundle/store-maintenance-command-I7V5C44K.js +0 -52
- package/dist/mail/imap-errors.d.ts.map +0 -1
- package/dist/mail/imap-errors.js.map +0 -1
- package/dist/mail/imap-messages.d.ts.map +0 -1
- package/dist/mail/imap-messages.js +0 -66
- package/dist/mail/imap-messages.js.map +0 -1
- package/dist/mail/imap.d.ts +0 -67
- package/dist/mail/imap.d.ts.map +0 -1
- package/dist/mail/imap.js +0 -348
- package/dist/mail/imap.js.map +0 -1
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
storeTable,
|
|
13
13
|
tagging,
|
|
14
14
|
task
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-FUXSKWWJ.js";
|
|
16
16
|
import {
|
|
17
17
|
carries
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-I2ARI6FI.js";
|
|
19
19
|
import {
|
|
20
20
|
author,
|
|
21
21
|
count,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
text,
|
|
30
30
|
time,
|
|
31
31
|
untrusted
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-FGNTGLWA.js";
|
|
33
33
|
import {
|
|
34
34
|
FACT_STATUSES,
|
|
35
35
|
FACT_TYPES,
|
|
@@ -38,6 +38,7 @@ import {
|
|
|
38
38
|
MEMORY_KINDS,
|
|
39
39
|
MEMORY_SCOPES,
|
|
40
40
|
MEMORY_STATUSES,
|
|
41
|
+
PRIORITY_LABELS,
|
|
41
42
|
RELATION_KINDS,
|
|
42
43
|
TASK_KINDS,
|
|
43
44
|
TASK_ORIGINS,
|
|
@@ -45,7 +46,7 @@ import {
|
|
|
45
46
|
TASK_TYPES,
|
|
46
47
|
TASK_VERDICTS,
|
|
47
48
|
WORK_TASK_TYPES
|
|
48
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-FX77WAQL.js";
|
|
49
50
|
import {
|
|
50
51
|
MEETING_RESULT_ENTITIES,
|
|
51
52
|
event,
|
|
@@ -61,7 +62,7 @@ import {
|
|
|
61
62
|
meetingStats,
|
|
62
63
|
meetingSummary,
|
|
63
64
|
meetingTranscript
|
|
64
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-C2THROZU.js";
|
|
65
66
|
import {
|
|
66
67
|
resolvePaths,
|
|
67
68
|
writeSecurely
|
|
@@ -106,7 +107,7 @@ import {
|
|
|
106
107
|
__name
|
|
107
108
|
} from "./chunk-ZVVMGPBJ.js";
|
|
108
109
|
|
|
109
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
110
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
110
111
|
var member = strictObject({
|
|
111
112
|
id,
|
|
112
113
|
name: nullable(text),
|
|
@@ -129,7 +130,7 @@ var member = strictObject({
|
|
|
129
130
|
check: optional(record(string(), unknown()))
|
|
130
131
|
});
|
|
131
132
|
|
|
132
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
133
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
133
134
|
var setting = optional(nullable(boolean()));
|
|
134
135
|
var chat = strictObject({
|
|
135
136
|
ref: reference,
|
|
@@ -170,7 +171,7 @@ var chat = strictObject({
|
|
|
170
171
|
members: optional(array(member))
|
|
171
172
|
});
|
|
172
173
|
|
|
173
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
174
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
174
175
|
var botProfile = strictObject({
|
|
175
176
|
name: text,
|
|
176
177
|
token: text,
|
|
@@ -237,7 +238,7 @@ var stickerInventory = strictObject({
|
|
|
237
238
|
url: optional(nullable(text))
|
|
238
239
|
});
|
|
239
240
|
|
|
240
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
241
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
241
242
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
242
243
|
const total = input.total ?? null;
|
|
243
244
|
const updated = input.updatedAt ?? null;
|
|
@@ -253,7 +254,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
253
254
|
};
|
|
254
255
|
}, "progressOf");
|
|
255
256
|
|
|
256
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
257
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
257
258
|
var actionableError = objectWithRest({
|
|
258
259
|
code: text,
|
|
259
260
|
message: text,
|
|
@@ -270,7 +271,7 @@ var batchResult = strictObject({
|
|
|
270
271
|
max_error_percent: count
|
|
271
272
|
});
|
|
272
273
|
|
|
273
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
274
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
274
275
|
var conversationBuild = strictObject({
|
|
275
276
|
chat: id,
|
|
276
277
|
messages: count,
|
|
@@ -295,7 +296,7 @@ var catchUpPreparation = strictObject({
|
|
|
295
296
|
prepared: optional(conversationPreparation)
|
|
296
297
|
});
|
|
297
298
|
|
|
298
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
299
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
299
300
|
import { spawn } from "node:child_process";
|
|
300
301
|
import { randomBytes } from "node:crypto";
|
|
301
302
|
import { closeSync, existsSync, mkdirSync, openSync, readdirSync, readFileSync, realpathSync, rmSync } from "node:fs";
|
|
@@ -454,7 +455,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
454
455
|
return { job: id6, pid, chat: input.chat, log };
|
|
455
456
|
}, "startArchiveJob");
|
|
456
457
|
|
|
457
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
458
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
458
459
|
var problem = strictObject({ code: text, message: text });
|
|
459
460
|
var job = strictObject({
|
|
460
461
|
id,
|
|
@@ -477,7 +478,7 @@ var job = strictObject({
|
|
|
477
478
|
error: optional(problem)
|
|
478
479
|
});
|
|
479
480
|
|
|
480
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
481
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
481
482
|
var quoted = strictObject({
|
|
482
483
|
id,
|
|
483
484
|
sender_id: nullable(id),
|
|
@@ -584,7 +585,7 @@ var message = strictObject({
|
|
|
584
585
|
provider_metadata: providerMetadata
|
|
585
586
|
});
|
|
586
587
|
|
|
587
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
588
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
588
589
|
var extractionItem = strictObject({
|
|
589
590
|
ref: reference,
|
|
590
591
|
attachment: count,
|
|
@@ -617,7 +618,7 @@ var extractionReport = strictObject({
|
|
|
617
618
|
cursor: optional(text)
|
|
618
619
|
});
|
|
619
620
|
|
|
620
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
621
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
621
622
|
var savedMessageFile = strictObject({
|
|
622
623
|
kind: text,
|
|
623
624
|
path: text,
|
|
@@ -696,7 +697,7 @@ var messageSyncAll = strictObject({
|
|
|
696
697
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
697
698
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
698
699
|
|
|
699
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
700
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
700
701
|
var range = strictObject({ from: number(), to: number() });
|
|
701
702
|
var storeChatStatus = strictObject({
|
|
702
703
|
chat_id: id,
|
|
@@ -787,7 +788,7 @@ var storeJobRetry = union([
|
|
|
787
788
|
]);
|
|
788
789
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
789
790
|
|
|
790
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
791
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
791
792
|
var account = strictObject({
|
|
792
793
|
provider: text,
|
|
793
794
|
id,
|
|
@@ -797,7 +798,7 @@ var account = strictObject({
|
|
|
797
798
|
scope: optional(picklist(["personal", "work"]))
|
|
798
799
|
});
|
|
799
800
|
|
|
800
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
801
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
801
802
|
var accountSession = strictObject({
|
|
802
803
|
current: boolean(),
|
|
803
804
|
client: nullable(text),
|
|
@@ -807,7 +808,7 @@ var accountSession = strictObject({
|
|
|
807
808
|
created_at: optional(nullable(time))
|
|
808
809
|
});
|
|
809
810
|
|
|
810
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
811
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
811
812
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
812
813
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
813
814
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -825,7 +826,7 @@ var accountPrivacy = strictObject({
|
|
|
825
826
|
});
|
|
826
827
|
var accountPrivacyChange = strictObject({ operation_id: id, privacy: accountPrivacy });
|
|
827
828
|
|
|
828
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
829
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
829
830
|
var accountProfile = strictObject({
|
|
830
831
|
profile: id,
|
|
831
832
|
current: boolean(),
|
|
@@ -835,7 +836,7 @@ var accountProfile = strictObject({
|
|
|
835
836
|
signed_in: optional(boolean())
|
|
836
837
|
});
|
|
837
838
|
|
|
838
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
839
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
839
840
|
var milliseconds = pipe(number(), minValue(0));
|
|
840
841
|
var counterReading = strictObject({
|
|
841
842
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -847,7 +848,7 @@ var counterReading = strictObject({
|
|
|
847
848
|
});
|
|
848
849
|
var selection = record(string(), unknown());
|
|
849
850
|
|
|
850
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
851
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
851
852
|
var adminRow = strictObject({
|
|
852
853
|
ref: reference,
|
|
853
854
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -900,11 +901,11 @@ var adminReport = strictObject({
|
|
|
900
901
|
rows: array(adminRow)
|
|
901
902
|
});
|
|
902
903
|
|
|
903
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
904
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
904
905
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
905
906
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
906
907
|
|
|
907
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
908
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
908
909
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
909
910
|
var attachmentBytes = strictObject({
|
|
910
911
|
ref: reference,
|
|
@@ -932,7 +933,7 @@ var attachmentTextChange = strictObject({
|
|
|
932
933
|
replaced: nullable(picklist(["extracted", "agent"]))
|
|
933
934
|
});
|
|
934
935
|
|
|
935
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
936
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
936
937
|
var chart = strictObject({
|
|
937
938
|
version: literal(1),
|
|
938
939
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -947,7 +948,7 @@ var chart = strictObject({
|
|
|
947
948
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
948
949
|
});
|
|
949
950
|
|
|
950
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
951
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
951
952
|
var named = strictObject({
|
|
952
953
|
id,
|
|
953
954
|
title: nullable(text),
|
|
@@ -970,7 +971,7 @@ var folder = strictObject({
|
|
|
970
971
|
excluded_chats: optional(array(named))
|
|
971
972
|
});
|
|
972
973
|
|
|
973
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
974
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
974
975
|
var inviteLink = strictObject({
|
|
975
976
|
link: text,
|
|
976
977
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -986,7 +987,7 @@ var inviteLink = strictObject({
|
|
|
986
987
|
joined_count: optional(count)
|
|
987
988
|
});
|
|
988
989
|
|
|
989
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
990
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
990
991
|
var operated = { operation_id: id, chat_id: id };
|
|
991
992
|
var group = strictObject({
|
|
992
993
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -1066,7 +1067,7 @@ var chatFolderOrder = strictObject({
|
|
|
1066
1067
|
folders: array(strictObject({ id, title: text }))
|
|
1067
1068
|
});
|
|
1068
1069
|
|
|
1069
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1070
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
1070
1071
|
var operated2 = { operation_id: id, chat_id: id };
|
|
1071
1072
|
var chatRemoval = strictObject(operated2);
|
|
1072
1073
|
var chatMuting = strictObject({
|
|
@@ -1077,7 +1078,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
1077
1078
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
1078
1079
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
1079
1080
|
|
|
1080
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1081
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
1081
1082
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
1082
1083
|
var chatEvent = strictObject({
|
|
1083
1084
|
chat_id: id,
|
|
@@ -1094,7 +1095,7 @@ var chatEvent = strictObject({
|
|
|
1094
1095
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
1095
1096
|
});
|
|
1096
1097
|
|
|
1097
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1098
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
1098
1099
|
var chatMetadata = strictObject({
|
|
1099
1100
|
chat_id: id,
|
|
1100
1101
|
title: nullable(text),
|
|
@@ -1109,7 +1110,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
1109
1110
|
has_more: boolean()
|
|
1110
1111
|
});
|
|
1111
1112
|
|
|
1112
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1113
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
1113
1114
|
var action = picklist(["report", "delete", "remove"]);
|
|
1114
1115
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
1115
1116
|
var chatRules = strictObject({
|
|
@@ -1146,7 +1147,7 @@ var chatModeration = strictObject({
|
|
|
1146
1147
|
}))
|
|
1147
1148
|
});
|
|
1148
1149
|
|
|
1149
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1150
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
1150
1151
|
var optionalCount = optional(count);
|
|
1151
1152
|
var minutes = nullable(number());
|
|
1152
1153
|
var chatStats = strictObject({
|
|
@@ -1208,7 +1209,7 @@ var taskStats = strictObject({
|
|
|
1208
1209
|
}))
|
|
1209
1210
|
});
|
|
1210
1211
|
|
|
1211
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1212
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
1212
1213
|
var memberCount = strictObject({
|
|
1213
1214
|
day: pipe(text, isoDate()),
|
|
1214
1215
|
participants: nullable(count),
|
|
@@ -1231,7 +1232,7 @@ var chatTracking = strictObject({
|
|
|
1231
1232
|
tracked: boolean()
|
|
1232
1233
|
});
|
|
1233
1234
|
|
|
1234
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1235
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
1235
1236
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
1236
1237
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
1237
1238
|
var profileFields = {
|
|
@@ -1269,7 +1270,7 @@ var profileFields = {
|
|
|
1269
1270
|
}))
|
|
1270
1271
|
};
|
|
1271
1272
|
|
|
1272
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1273
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
1273
1274
|
var contact = strictObject({
|
|
1274
1275
|
ref: reference,
|
|
1275
1276
|
id,
|
|
@@ -1300,7 +1301,7 @@ var contact = strictObject({
|
|
|
1300
1301
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
1301
1302
|
});
|
|
1302
1303
|
|
|
1303
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1304
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
1304
1305
|
var linkedIdentity = strictObject({
|
|
1305
1306
|
provider: text,
|
|
1306
1307
|
id,
|
|
@@ -1341,7 +1342,7 @@ var contactCheck = strictObject({
|
|
|
1341
1342
|
checked_at: time
|
|
1342
1343
|
});
|
|
1343
1344
|
|
|
1344
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1345
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
1345
1346
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
1346
1347
|
var contextMessage = strictObject({
|
|
1347
1348
|
locator: reference,
|
|
@@ -1539,7 +1540,7 @@ var contactPreparation = strictObject({
|
|
|
1539
1540
|
})
|
|
1540
1541
|
});
|
|
1541
1542
|
|
|
1542
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1543
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
1543
1544
|
var contactNote = strictObject({
|
|
1544
1545
|
id,
|
|
1545
1546
|
/** The contact, as a `contact:` reference. */
|
|
@@ -1551,13 +1552,13 @@ var contactNote = strictObject({
|
|
|
1551
1552
|
updated_at: time
|
|
1552
1553
|
});
|
|
1553
1554
|
|
|
1554
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1555
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
1555
1556
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
1556
1557
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
1557
1558
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
1558
1559
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
1559
1560
|
|
|
1560
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1561
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
1561
1562
|
var conversationDetails = union([
|
|
1562
1563
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
1563
1564
|
message
|
|
@@ -1647,7 +1648,7 @@ var conversationHit = strictObject({
|
|
|
1647
1648
|
stale: boolean()
|
|
1648
1649
|
});
|
|
1649
1650
|
|
|
1650
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1651
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
1651
1652
|
var counters = strictObject({
|
|
1652
1653
|
cutoff: time,
|
|
1653
1654
|
max_age_ms: milliseconds,
|
|
@@ -1677,7 +1678,7 @@ var counterRefresh = strictObject({
|
|
|
1677
1678
|
complete: optional(boolean())
|
|
1678
1679
|
});
|
|
1679
1680
|
|
|
1680
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1681
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
1681
1682
|
var document = strictObject({
|
|
1682
1683
|
ref: reference,
|
|
1683
1684
|
id,
|
|
@@ -1692,7 +1693,7 @@ var document = strictObject({
|
|
|
1692
1693
|
owners: optional(array(text))
|
|
1693
1694
|
});
|
|
1694
1695
|
|
|
1695
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1696
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
1696
1697
|
var documentLink = strictObject({
|
|
1697
1698
|
ref: reference,
|
|
1698
1699
|
url: text,
|
|
@@ -1703,7 +1704,7 @@ var documentLink = strictObject({
|
|
|
1703
1704
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
1704
1705
|
});
|
|
1705
1706
|
|
|
1706
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1707
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
1707
1708
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
1708
1709
|
var contribution = strictObject({
|
|
1709
1710
|
message: evidenceMessage,
|
|
@@ -1733,7 +1734,7 @@ var retentionStay = strictObject({
|
|
|
1733
1734
|
});
|
|
1734
1735
|
var evidence = union([contribution, retentionStay]);
|
|
1735
1736
|
|
|
1736
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1737
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
1737
1738
|
var fact = strictObject({
|
|
1738
1739
|
ref: reference,
|
|
1739
1740
|
id,
|
|
@@ -1741,6 +1742,8 @@ var fact = strictObject({
|
|
|
1741
1742
|
text,
|
|
1742
1743
|
status: picklist(FACT_STATUSES),
|
|
1743
1744
|
project: nullable(text),
|
|
1745
|
+
/** What the project is called. */
|
|
1746
|
+
project_name: optional(nullable(text)),
|
|
1744
1747
|
subject: nullable(reference),
|
|
1745
1748
|
/** What the subject is called; `null` for the owner and for a row with no name. */
|
|
1746
1749
|
subject_name: optional(nullable(text)),
|
|
@@ -1761,7 +1764,7 @@ var fact = strictObject({
|
|
|
1761
1764
|
updated_at: time
|
|
1762
1765
|
});
|
|
1763
1766
|
|
|
1764
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1767
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
1765
1768
|
var hit = strictObject({
|
|
1766
1769
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting"]),
|
|
1767
1770
|
ref: reference,
|
|
@@ -1790,7 +1793,7 @@ var hit = strictObject({
|
|
|
1790
1793
|
untrusted
|
|
1791
1794
|
});
|
|
1792
1795
|
|
|
1793
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1796
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
1794
1797
|
var identity = strictObject({
|
|
1795
1798
|
ref: reference,
|
|
1796
1799
|
provider: text,
|
|
@@ -1803,7 +1806,7 @@ var identity = strictObject({
|
|
|
1803
1806
|
person: optional(nullable(reference))
|
|
1804
1807
|
});
|
|
1805
1808
|
|
|
1806
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1809
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
1807
1810
|
var imageEmbedding = strictObject({
|
|
1808
1811
|
model: text,
|
|
1809
1812
|
embedded: count,
|
|
@@ -1812,7 +1815,7 @@ var imageEmbedding = strictObject({
|
|
|
1812
1815
|
more: boolean()
|
|
1813
1816
|
});
|
|
1814
1817
|
|
|
1815
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1818
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
1816
1819
|
var joinRequest = strictObject({
|
|
1817
1820
|
person_id: id,
|
|
1818
1821
|
name: nullable(text),
|
|
@@ -1823,7 +1826,7 @@ var joinRequest = strictObject({
|
|
|
1823
1826
|
about: optional(text)
|
|
1824
1827
|
});
|
|
1825
1828
|
|
|
1826
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1829
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
1827
1830
|
var pollVote = strictObject({
|
|
1828
1831
|
person_id: id,
|
|
1829
1832
|
name: nullable(text),
|
|
@@ -1833,7 +1836,7 @@ var pollVote = strictObject({
|
|
|
1833
1836
|
voted_at: time
|
|
1834
1837
|
});
|
|
1835
1838
|
|
|
1836
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1839
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
1837
1840
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
1838
1841
|
var observation = strictObject({
|
|
1839
1842
|
value: pipe(number(), minValue(0)),
|
|
@@ -1874,7 +1877,7 @@ var serveSummary = strictObject({
|
|
|
1874
1877
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
1875
1878
|
});
|
|
1876
1879
|
|
|
1877
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1880
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
1878
1881
|
var mediaArchive = strictObject({
|
|
1879
1882
|
directory: text,
|
|
1880
1883
|
chats: count,
|
|
@@ -1906,7 +1909,7 @@ var mediaArchiveTimer = union([
|
|
|
1906
1909
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
1907
1910
|
]);
|
|
1908
1911
|
|
|
1909
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1912
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
1910
1913
|
var preparationId = pipe(string(), minLength(1));
|
|
1911
1914
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
1912
1915
|
var preparationTime = nullable(isoTime);
|
|
@@ -1998,7 +2001,7 @@ var preparationMeeting = strictObject({
|
|
|
1998
2001
|
updated_at: isoTime
|
|
1999
2002
|
});
|
|
2000
2003
|
|
|
2001
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2004
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
2002
2005
|
var meetingEvidence = preparationEvidence;
|
|
2003
2006
|
var meetingPersonContext = strictObject({
|
|
2004
2007
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -2020,7 +2023,7 @@ var meetingPersonContext = strictObject({
|
|
|
2020
2023
|
})
|
|
2021
2024
|
});
|
|
2022
2025
|
|
|
2023
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2026
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
2024
2027
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
2025
2028
|
var base = { id, project: reference, evidence: array(evidence2) };
|
|
2026
2029
|
var finding = variant("kind", [
|
|
@@ -2058,7 +2061,7 @@ var meetingFindings = strictObject({
|
|
|
2058
2061
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome) }))
|
|
2059
2062
|
});
|
|
2060
2063
|
|
|
2061
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2064
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
2062
2065
|
var communicationCoverage = strictObject({
|
|
2063
2066
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
2064
2067
|
query: string(),
|
|
@@ -2103,7 +2106,7 @@ var preparationCommunications = strictObject({
|
|
|
2103
2106
|
}))
|
|
2104
2107
|
});
|
|
2105
2108
|
|
|
2106
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2109
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
2107
2110
|
var meetingPreparation = strictObject({
|
|
2108
2111
|
communications: optional(preparationCommunications),
|
|
2109
2112
|
schema_version: literal(1),
|
|
@@ -2216,7 +2219,7 @@ var meetingPreparation = strictObject({
|
|
|
2216
2219
|
})
|
|
2217
2220
|
});
|
|
2218
2221
|
|
|
2219
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2222
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
2220
2223
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
2221
2224
|
var id3 = pipe(string(), minLength(1));
|
|
2222
2225
|
var text3 = string();
|
|
@@ -2280,7 +2283,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
2280
2283
|
})
|
|
2281
2284
|
});
|
|
2282
2285
|
|
|
2283
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2286
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
2284
2287
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
2285
2288
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
2286
2289
|
var meetingSeriesInventory = strictObject({
|
|
@@ -2310,7 +2313,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
2310
2313
|
})
|
|
2311
2314
|
});
|
|
2312
2315
|
|
|
2313
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2316
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
2314
2317
|
var text4 = string();
|
|
2315
2318
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
2316
2319
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -2327,7 +2330,7 @@ var meetingTaskProposal = strictObject({
|
|
|
2327
2330
|
persistence: literal("proposal-only")
|
|
2328
2331
|
});
|
|
2329
2332
|
|
|
2330
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2333
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
2331
2334
|
var memory = strictObject({
|
|
2332
2335
|
ref: reference,
|
|
2333
2336
|
id,
|
|
@@ -2337,6 +2340,9 @@ var memory = strictObject({
|
|
|
2337
2340
|
/** What the subject is called; `null` for the owner and for a row with no name. */
|
|
2338
2341
|
subject_name: optional(nullable(text)),
|
|
2339
2342
|
subject_is_owner: optional(boolean()),
|
|
2343
|
+
/** The project it belongs to, and what that project is called. */
|
|
2344
|
+
project: optional(nullable(reference)),
|
|
2345
|
+
project_name: optional(nullable(text)),
|
|
2340
2346
|
author,
|
|
2341
2347
|
model: nullable(text),
|
|
2342
2348
|
confidence: nullable(number()),
|
|
@@ -2351,7 +2357,7 @@ var memory = strictObject({
|
|
|
2351
2357
|
updated_at: time
|
|
2352
2358
|
});
|
|
2353
2359
|
|
|
2354
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2360
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
2355
2361
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
2356
2362
|
var status = picklist(["found", "linked", "dismissed"]);
|
|
2357
2363
|
var mention = strictObject({
|
|
@@ -2394,13 +2400,13 @@ var mentionRebuild = strictObject({
|
|
|
2394
2400
|
mentions: count
|
|
2395
2401
|
});
|
|
2396
2402
|
|
|
2397
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2403
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
2398
2404
|
var operated3 = { operation_id: id, chat_id: id };
|
|
2399
2405
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
2400
2406
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
2401
2407
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
2402
2408
|
|
|
2403
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2409
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
2404
2410
|
var messageTranscript = strictObject({
|
|
2405
2411
|
message_id: id,
|
|
2406
2412
|
text,
|
|
@@ -2458,7 +2464,7 @@ var evidencePacket = strictObject({
|
|
|
2458
2464
|
}))
|
|
2459
2465
|
});
|
|
2460
2466
|
|
|
2461
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2467
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
2462
2468
|
var messageThread = strictObject({
|
|
2463
2469
|
ref: reference,
|
|
2464
2470
|
chat: id,
|
|
@@ -2475,7 +2481,7 @@ var messageThread = strictObject({
|
|
|
2475
2481
|
});
|
|
2476
2482
|
var messageContext = union([message, messageThread]);
|
|
2477
2483
|
|
|
2478
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2484
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
2479
2485
|
var messageCounts = strictObject({
|
|
2480
2486
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
2481
2487
|
total: count,
|
|
@@ -2488,7 +2494,7 @@ var messageCounts = strictObject({
|
|
|
2488
2494
|
}))
|
|
2489
2495
|
});
|
|
2490
2496
|
|
|
2491
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2497
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
2492
2498
|
var messageLink = strictObject({
|
|
2493
2499
|
ref: reference,
|
|
2494
2500
|
url: nullable(text),
|
|
@@ -2497,7 +2503,7 @@ var messageLink = strictObject({
|
|
|
2497
2503
|
reason: nullable(picklist(["unsupported_chat", "unsupported_provider", "offline"]))
|
|
2498
2504
|
});
|
|
2499
2505
|
|
|
2500
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2506
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
2501
2507
|
var messageWrite = strictObject({
|
|
2502
2508
|
operation_id: id,
|
|
2503
2509
|
message,
|
|
@@ -2512,7 +2518,7 @@ var draftWrite = strictObject({
|
|
|
2512
2518
|
});
|
|
2513
2519
|
var messageSend = union([messageWrite, draftWrite]);
|
|
2514
2520
|
|
|
2515
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2521
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
2516
2522
|
var model = strictObject({
|
|
2517
2523
|
id,
|
|
2518
2524
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -2529,7 +2535,7 @@ var model = strictObject({
|
|
|
2529
2535
|
path: text
|
|
2530
2536
|
});
|
|
2531
2537
|
|
|
2532
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2538
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
2533
2539
|
var source = picklist(["environment", "keyring", "file"]);
|
|
2534
2540
|
var modelKey = strictObject({
|
|
2535
2541
|
provider: text,
|
|
@@ -2539,7 +2545,7 @@ var modelKey = strictObject({
|
|
|
2539
2545
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
2540
2546
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
2541
2547
|
|
|
2542
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2548
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
2543
2549
|
var versus = strictObject({ current: number(), previous: number() });
|
|
2544
2550
|
var person = { person_ref: reference, name: nullable(text) };
|
|
2545
2551
|
var graph = strictObject({
|
|
@@ -2573,14 +2579,14 @@ var officialStats = strictObject({
|
|
|
2573
2579
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
2574
2580
|
});
|
|
2575
2581
|
|
|
2576
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2582
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
2577
2583
|
var person2 = strictObject({
|
|
2578
2584
|
ref: reference,
|
|
2579
2585
|
name: nullable(text),
|
|
2580
2586
|
identities: optional(array(identity))
|
|
2581
2587
|
});
|
|
2582
2588
|
|
|
2583
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2589
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
2584
2590
|
var poll = strictObject({
|
|
2585
2591
|
chat_id: id,
|
|
2586
2592
|
message_id: id,
|
|
@@ -2596,11 +2602,11 @@ var poll = strictObject({
|
|
|
2596
2602
|
});
|
|
2597
2603
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
2598
2604
|
|
|
2599
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2605
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
2600
2606
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
2601
2607
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
2602
2608
|
|
|
2603
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2609
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
2604
2610
|
var figures = record(string(), number());
|
|
2605
2611
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
2606
2612
|
var rankingRow = strictObject({
|
|
@@ -2647,7 +2653,7 @@ var ranking = strictObject({
|
|
|
2647
2653
|
rows: array(rankingRow)
|
|
2648
2654
|
});
|
|
2649
2655
|
|
|
2650
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2656
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
2651
2657
|
var reaction = strictObject({
|
|
2652
2658
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
2653
2659
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -2655,7 +2661,7 @@ var reaction = strictObject({
|
|
|
2655
2661
|
reacted_at: time
|
|
2656
2662
|
});
|
|
2657
2663
|
|
|
2658
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2664
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
2659
2665
|
var reactionChange = strictObject({
|
|
2660
2666
|
operation_id: id,
|
|
2661
2667
|
chat_id: id,
|
|
@@ -2663,7 +2669,7 @@ var reactionChange = strictObject({
|
|
|
2663
2669
|
reaction: nullable(text)
|
|
2664
2670
|
});
|
|
2665
2671
|
|
|
2666
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2672
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
2667
2673
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
2668
2674
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
2669
2675
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -2674,7 +2680,7 @@ var recipientChange = strictObject({
|
|
|
2674
2680
|
...partial(recipientOff).entries
|
|
2675
2681
|
});
|
|
2676
2682
|
|
|
2677
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2683
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
2678
2684
|
var events = array(record(string(), unknown()));
|
|
2679
2685
|
var recordedRun = strictObject({
|
|
2680
2686
|
run_id: id,
|
|
@@ -2746,7 +2752,7 @@ var runHit = strictObject({
|
|
|
2746
2752
|
});
|
|
2747
2753
|
var runLocation = strictObject({ path: text });
|
|
2748
2754
|
|
|
2749
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2755
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
2750
2756
|
var relationship = strictObject({
|
|
2751
2757
|
id,
|
|
2752
2758
|
from: reference,
|
|
@@ -2761,7 +2767,7 @@ var relationship = strictObject({
|
|
|
2761
2767
|
created_at: time
|
|
2762
2768
|
});
|
|
2763
2769
|
|
|
2764
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2770
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
2765
2771
|
var retentionCohort = strictObject({
|
|
2766
2772
|
/** The first day of the joining day or week. */
|
|
2767
2773
|
cohort: text,
|
|
@@ -2809,7 +2815,7 @@ var retention = strictObject({
|
|
|
2809
2815
|
rows: array(retentionCohort)
|
|
2810
2816
|
});
|
|
2811
2817
|
|
|
2812
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2818
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
2813
2819
|
var savedSearch = strictObject({
|
|
2814
2820
|
id,
|
|
2815
2821
|
/** `null` for a run in the history. */
|
|
@@ -2826,7 +2832,7 @@ var savedSearch = strictObject({
|
|
|
2826
2832
|
});
|
|
2827
2833
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
2828
2834
|
|
|
2829
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2835
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
2830
2836
|
var sendAttempt = strictObject({
|
|
2831
2837
|
at: time,
|
|
2832
2838
|
profile: text,
|
|
@@ -2854,7 +2860,7 @@ var sendAttempt = strictObject({
|
|
|
2854
2860
|
error_code: optional(text)
|
|
2855
2861
|
});
|
|
2856
2862
|
|
|
2857
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2863
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
2858
2864
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
2859
2865
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
2860
2866
|
var infoSchema = strictObject({
|
|
@@ -3062,7 +3068,7 @@ var storeRepair = union([
|
|
|
3062
3068
|
]);
|
|
3063
3069
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
3064
3070
|
|
|
3065
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3071
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
3066
3072
|
var tagTarget = variant("type", [
|
|
3067
3073
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
3068
3074
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -3093,7 +3099,7 @@ var automaticTags = strictObject({
|
|
|
3093
3099
|
dry_run: boolean()
|
|
3094
3100
|
});
|
|
3095
3101
|
|
|
3096
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3102
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
3097
3103
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
3098
3104
|
var taskPair = strictObject({
|
|
3099
3105
|
task: nullable(side),
|
|
@@ -3116,7 +3122,7 @@ var taskPair = strictObject({
|
|
|
3116
3122
|
created_at: time
|
|
3117
3123
|
});
|
|
3118
3124
|
|
|
3119
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3125
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
3120
3126
|
var nullableTime = nullable(time);
|
|
3121
3127
|
var link = strictObject({
|
|
3122
3128
|
id,
|
|
@@ -3142,6 +3148,9 @@ var taskCard = strictObject({
|
|
|
3142
3148
|
type: picklist(TASK_TYPES),
|
|
3143
3149
|
status: picklist(TASK_STATES),
|
|
3144
3150
|
priority: nullable(number()),
|
|
3151
|
+
priority_label: nullable(picklist(PRIORITY_LABELS)),
|
|
3152
|
+
agent: nullable(text),
|
|
3153
|
+
revision: number(),
|
|
3145
3154
|
parent: nullable(reference),
|
|
3146
3155
|
source: nullable(text),
|
|
3147
3156
|
due_at: nullableTime,
|
|
@@ -3240,7 +3249,7 @@ var taskScan = strictObject({
|
|
|
3240
3249
|
tasks: array(strictObject({ source: text, kind: picklist(TASK_KINDS), category: nullable(text) }))
|
|
3241
3250
|
});
|
|
3242
3251
|
|
|
3243
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3252
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
3244
3253
|
var topic = strictObject({
|
|
3245
3254
|
id,
|
|
3246
3255
|
title: text,
|
|
@@ -3254,7 +3263,7 @@ var topic = strictObject({
|
|
|
3254
3263
|
untrusted
|
|
3255
3264
|
});
|
|
3256
3265
|
|
|
3257
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3266
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
3258
3267
|
var ENTITIES = {
|
|
3259
3268
|
sync_progress: progress,
|
|
3260
3269
|
...MEETING_RESULT_ENTITIES,
|