@wirecat/cli-template 0.10.0 → 0.12.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/.github/workflows/ci.yml +17 -0
- package/.github/workflows/release.yml +62 -0
- package/CHANGELOG.md +46 -0
- package/CLAUDE.md +1 -3
- package/contracts/help.snap +2 -0
- package/dist/bin/clidev.js +2 -2
- package/dist/bundle/{all-profiles-XHC7BG3P.js → all-profiles-MJ6XSFOO.js} +4 -4
- package/dist/bundle/{anthropic-N6B3ZZHQ.js → anthropic-W5UKBZUB.js} +3 -3
- package/dist/bundle/app-server-EZ46JAHB.js +217 -0
- package/dist/bundle/{bun-HUJLS7KP.js → bun-HB6O2TTT.js} +2 -2
- package/dist/bundle/{bun-sqlite-OWFO2TVR.js → bun-sqlite-KBXOW2ES.js} +2 -2
- package/dist/bundle/{chunk-B4EED2RF.js → chunk-2B5U4Z5H.js} +5 -5
- package/dist/bundle/{chunk-ABP7FDMJ.js → chunk-35KYY65W.js} +2 -2
- package/dist/bundle/{chunk-MZVV2JZT.js → chunk-4LURWBVV.js} +17 -9
- package/dist/bundle/{chunk-QGNNMPUB.js → chunk-7IXL4UFK.js} +7 -7
- package/dist/bundle/{chunk-NE3NSB5O.js → chunk-AK257OMS.js} +55 -43
- package/dist/bundle/{chunk-IJ3IA7EK.js → chunk-CXQXVKUY.js} +1 -1
- package/dist/bundle/{chunk-7RB76E2L.js → chunk-EGRB55FF.js} +4 -4
- package/dist/bundle/{chunk-DMCN22H6.js → chunk-ERGB4NJA.js} +20 -2
- package/dist/bundle/{chunk-TJLGI3N6.js → chunk-ERKR3VJ5.js} +79 -28
- package/dist/bundle/{chunk-2CFBHYFA.js → chunk-FDBINRWA.js} +4 -4
- package/dist/bundle/{chunk-FIHDGZIB.js → chunk-FZZIU4B7.js} +2416 -2254
- package/dist/bundle/{chunk-BDSDQCV4.js → chunk-HDY5X3WQ.js} +4 -4
- package/dist/bundle/{chunk-XFXBXQBS.js → chunk-IBBN7Z3A.js} +2 -2
- package/dist/bundle/{chunk-4QRLPOJ7.js → chunk-IDWW4TU2.js} +1 -1
- package/dist/bundle/{chunk-OPPMGPFW.js → chunk-IGHEW777.js} +4 -4
- package/dist/bundle/{chunk-437W3Z2M.js → chunk-IN3FVRPK.js} +1 -1
- package/dist/bundle/{chunk-FWVKHD2L.js → chunk-JAOGZMKQ.js} +1 -1
- package/dist/bundle/{chunk-O3PBQVAB.js → chunk-JHO2LL2J.js} +18 -6
- package/dist/bundle/{chunk-MNSD5BX2.js → chunk-JRK73FOW.js} +1 -1
- package/dist/bundle/{chunk-O5LMDQTO.js → chunk-KJTNT4SW.js} +1 -1
- package/dist/bundle/{chunk-B4LM2B6F.js → chunk-L5WWMP5M.js} +24 -20
- package/dist/bundle/{chunk-NTLPDH76.js → chunk-MJRSEUKG.js} +9 -7
- package/dist/bundle/{chunk-AP7QKYBG.js → chunk-MUSYGFCY.js} +165 -140
- package/dist/bundle/{server-L5GNG7KC.js → chunk-N2Z3MCOF.js} +31 -45
- package/dist/bundle/{chunk-JTTW5ZKF.js → chunk-NOVLCHDV.js} +1 -1
- package/dist/bundle/{chunk-54AJONOM.js → chunk-O3UXNU3S.js} +2 -2
- package/dist/bundle/{chunk-75LVQQEK.js → chunk-OV6PHTAY.js} +2034 -1590
- package/dist/bundle/{chunk-W2IDKBNB.js → chunk-PBN4RBHS.js} +7 -7
- package/dist/bundle/{chunk-2TBVT4SZ.js → chunk-PDGXMKJS.js} +1 -1
- package/dist/bundle/{recognize-TTED4SE3.js → chunk-PJOVK7PG.js} +6 -5
- package/dist/bundle/{chunk-LY7GS2YI.js → chunk-QBP7OMN5.js} +1 -1
- package/dist/bundle/{chunk-VMTM46FH.js → chunk-QJ6XW4DM.js} +75 -51
- package/dist/bundle/{chunk-OPJ24VGH.js → chunk-QKWRL4OD.js} +5 -5
- package/dist/bundle/{chunk-MTGLJCAZ.js → chunk-QQUFZLFP.js} +1 -1
- package/dist/bundle/{chunk-6CBWO7OF.js → chunk-RUKDZEID.js} +2 -2
- package/dist/bundle/{chunk-TARN7CHN.js → chunk-SVDF6NJF.js} +10 -10
- package/dist/bundle/{chunk-FXS3X76A.js → chunk-TAYOKLGF.js} +4 -4
- package/dist/bundle/{chunk-ASMH7JWZ.js → chunk-TGB5F7NC.js} +2 -2
- package/dist/bundle/{chunk-222FANS2.js → chunk-V3ZTQ24B.js} +4 -4
- package/dist/bundle/{chunk-LSEF4QC3.js → chunk-VLNKTMV7.js} +75 -47
- package/dist/bundle/{chunk-7RXBN7HP.js → chunk-VYSUKHKL.js} +1 -1
- package/dist/bundle/{chunk-JEBSORH7.js → chunk-YJNUDHJD.js} +25 -14
- package/dist/bundle/{chunk-S57AMKLX.js → chunk-Z7MSIRSQ.js} +1 -1
- package/dist/bundle/{chunk-2KQZ24GI.js → chunk-ZLY6GUAS.js} +2 -2
- package/dist/bundle/clidev.js +2 -2
- package/dist/bundle/{command-contract-PEM3S634.js → command-contract-75VJ36U4.js} +10 -10
- package/dist/bundle/decode-AMXUVKNY.js +158 -0
- package/dist/bundle/{echarts-2QGL2JP5.js → echarts-GJDMQ2AQ.js} +2 -2
- package/dist/bundle/{embed-HHAAGHA6.js → embed-L4CRZ2XQ.js} +3 -3
- package/dist/bundle/{embedder-W2OGVVYH.js → embedder-IBGV4M2K.js} +6 -6
- package/dist/bundle/{first-run-WCJUDUBU.js → first-run-VTKC2IBV.js} +5 -5
- package/dist/bundle/{first-screen-U4DFUKUC.js → first-screen-X5IJKBSU.js} +11 -11
- package/dist/bundle/{instructions-OTZHT6NV.js → instructions-YJECS4KN.js} +3 -1
- package/dist/bundle/mcp-RDZGYPSY.js +78 -0
- package/dist/bundle/{mcp-VVF6J7SQ.js → mcp-TEMCENVV.js} +33 -33
- package/dist/bundle/{node-SYD4GX5O.js → node-NQG4EVZR.js} +2 -2
- package/dist/bundle/node-sqlite-BR7F3BLB.js +61 -0
- package/dist/bundle/{oauth-42M34GQ5.js → oauth-J7UAWNIK.js} +4 -4
- package/dist/bundle/{open-SWXRCDLN.js → open-BR47R5UE.js} +1 -1
- package/dist/bundle/{process-KAFGXZ7Q.js → process-66I7RDPJ.js} +1 -1
- package/dist/bundle/{program-EHR4G7VN.js → program-RNGI562F.js} +913 -601
- package/dist/bundle/{prompt-ZQTMHRGX.js → prompt-NE5JJ7UP.js} +2 -2
- package/dist/bundle/recognize-GC3YFVIA.js +21 -0
- package/dist/bundle/{remote-C37XJ4BP.js → remote-QELOMKQM.js} +4 -4
- package/dist/bundle/{rerank-APFZAMQL.js → rerank-BH6TZ2SP.js} +4 -4
- package/dist/bundle/{serve-DDPIHDVZ.js → serve-WWLRNDT2.js} +6 -6
- package/dist/bundle/server-DE6NLNUF.js +52 -0
- package/dist/bundle/server-ZPSQKOAH.js +39 -0
- package/dist/bundle/{state-WWPPHERF.js → state-2BEGXAMO.js} +3 -3
- package/dist/bundle/{store-H6UIA4PK.js → store-AH6WZMCF.js} +7 -7
- package/dist/bundle/store-maintenance-command-PBXX3IEV.js +40 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/docs/configuration.md +3 -1
- package/docs/dev/TESTING.md +2 -0
- package/docs/dev/skills/release/SKILL.md +9 -5
- package/docs/dev/test-matrix.md +1 -1
- package/kit/dist/new.js +3 -0
- package/package.json +4 -2
- package/scripts/audit.sh +11 -1
- package/scripts/smoke-bundle.ts +2 -1
- package/scripts/smoke.ts +18 -0
- package/scripts/test-matrix-untested.ts +1 -1
- package/server.json +38 -0
- package/src/version.ts +1 -1
- package/template.json +1 -0
- package/dist/bundle/mcp-Y7VCIZ2J.js +0 -78
- package/dist/bundle/node-sqlite-X2DGRFOZ.js +0 -45
- package/dist/bundle/server-LKVYA2AE.js +0 -39
- package/dist/bundle/store-maintenance-command-EYBT64A2.js +0 -40
- /package/dist/bundle/{chunk-QVJLOUQB.js → chunk-GOO67PDU.js} +0 -0
|
@@ -23,10 +23,10 @@ import {
|
|
|
23
23
|
text,
|
|
24
24
|
time,
|
|
25
25
|
untrusted
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-QJ6XW4DM.js";
|
|
27
27
|
import {
|
|
28
28
|
carries
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-VYSUKHKL.js";
|
|
30
30
|
import {
|
|
31
31
|
FACT_STATUSES,
|
|
32
32
|
FACT_TYPES,
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
meetingStats,
|
|
57
57
|
meetingSummary,
|
|
58
58
|
meetingTranscript
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-VLNKTMV7.js";
|
|
60
60
|
import {
|
|
61
61
|
CliError,
|
|
62
62
|
array,
|
|
@@ -97,7 +97,7 @@ import {
|
|
|
97
97
|
__name
|
|
98
98
|
} from "./chunk-ZVVMGPBJ.js";
|
|
99
99
|
|
|
100
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
100
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
101
101
|
var member = strictObject({
|
|
102
102
|
id,
|
|
103
103
|
name: nullable(text),
|
|
@@ -120,7 +120,7 @@ var member = strictObject({
|
|
|
120
120
|
check: optional(record(string(), unknown()))
|
|
121
121
|
});
|
|
122
122
|
|
|
123
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
123
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
124
124
|
var setting = optional(nullable(boolean()));
|
|
125
125
|
var chat = strictObject({
|
|
126
126
|
ref: reference,
|
|
@@ -161,7 +161,7 @@ var chat = strictObject({
|
|
|
161
161
|
members: optional(array(member))
|
|
162
162
|
});
|
|
163
163
|
|
|
164
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
164
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
165
165
|
var botProfile = strictObject({
|
|
166
166
|
name: text,
|
|
167
167
|
token: text,
|
|
@@ -228,7 +228,7 @@ var stickerInventory = strictObject({
|
|
|
228
228
|
url: optional(nullable(text))
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
231
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
232
232
|
var actionableError = objectWithRest({
|
|
233
233
|
code: text,
|
|
234
234
|
message: text,
|
|
@@ -245,7 +245,7 @@ var batchResult = strictObject({
|
|
|
245
245
|
max_error_percent: count
|
|
246
246
|
});
|
|
247
247
|
|
|
248
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
248
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
249
249
|
var conversationBuild = strictObject({
|
|
250
250
|
chat: id,
|
|
251
251
|
messages: count,
|
|
@@ -270,13 +270,13 @@ var catchUpPreparation = strictObject({
|
|
|
270
270
|
prepared: optional(conversationPreparation)
|
|
271
271
|
});
|
|
272
272
|
|
|
273
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
273
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
274
274
|
import { spawn } from "node:child_process";
|
|
275
275
|
import { randomBytes } from "node:crypto";
|
|
276
276
|
import { closeSync, existsSync, mkdirSync, openSync, readdirSync, readFileSync, realpathSync, rmSync } from "node:fs";
|
|
277
277
|
import { dirname, join } from "node:path";
|
|
278
278
|
|
|
279
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
279
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
280
280
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
281
281
|
const total = input.total ?? null;
|
|
282
282
|
const updated = input.updatedAt ?? null;
|
|
@@ -292,7 +292,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
292
292
|
};
|
|
293
293
|
}, "progressOf");
|
|
294
294
|
|
|
295
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
295
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
296
296
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
297
297
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
298
298
|
const out = openSync(log, "a", 384);
|
|
@@ -447,7 +447,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
447
447
|
return { job: id6, pid, chat: input.chat, log };
|
|
448
448
|
}, "startArchiveJob");
|
|
449
449
|
|
|
450
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
450
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
451
451
|
var problem = strictObject({ code: text, message: text });
|
|
452
452
|
var job = strictObject({
|
|
453
453
|
id,
|
|
@@ -470,7 +470,7 @@ var job = strictObject({
|
|
|
470
470
|
error: optional(problem)
|
|
471
471
|
});
|
|
472
472
|
|
|
473
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
473
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
474
474
|
var quoted = strictObject({
|
|
475
475
|
id,
|
|
476
476
|
sender_id: nullable(id),
|
|
@@ -493,6 +493,7 @@ var message = strictObject({
|
|
|
493
493
|
sender_name: nullable(text),
|
|
494
494
|
sender_username: optional(text),
|
|
495
495
|
sender_is_chat: optional(boolean()),
|
|
496
|
+
sender_is_me: boolean(),
|
|
496
497
|
mentions: optional(array(id)),
|
|
497
498
|
/** When it was sent. */
|
|
498
499
|
timestamp: time,
|
|
@@ -528,6 +529,17 @@ var message = strictObject({
|
|
|
528
529
|
})),
|
|
529
530
|
/** The messages around a search hit, or its thread, oldest first; the hit itself is among them. */
|
|
530
531
|
context: optional(array(strictObject({ ref: reference, timestamp: time, sender_name: nullable(text), text }))),
|
|
532
|
+
/**
|
|
533
|
+
* A discovery hit's later messages, from any chat the search reads, that share a rare word with it, latest first:
|
|
534
|
+
* one may change or cancel what the hit says.
|
|
535
|
+
*/
|
|
536
|
+
follow_ups: optional(array(strictObject({
|
|
537
|
+
ref: reference,
|
|
538
|
+
chat_title: nullable(text),
|
|
539
|
+
timestamp: time,
|
|
540
|
+
sender_name: nullable(text),
|
|
541
|
+
text
|
|
542
|
+
}))),
|
|
531
543
|
outgoing: nullable(boolean()),
|
|
532
544
|
attachments: array(attachment),
|
|
533
545
|
reply_to: nullable(quoted),
|
|
@@ -565,7 +577,7 @@ var message = strictObject({
|
|
|
565
577
|
provider_metadata: providerMetadata
|
|
566
578
|
});
|
|
567
579
|
|
|
568
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
580
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
569
581
|
var extractionItem = strictObject({
|
|
570
582
|
ref: reference,
|
|
571
583
|
attachment: count,
|
|
@@ -598,7 +610,7 @@ var extractionReport = strictObject({
|
|
|
598
610
|
cursor: optional(text)
|
|
599
611
|
});
|
|
600
612
|
|
|
601
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
613
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
602
614
|
var savedMessageFile = strictObject({
|
|
603
615
|
kind: text,
|
|
604
616
|
path: text,
|
|
@@ -677,7 +689,7 @@ var messageSyncAll = strictObject({
|
|
|
677
689
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
678
690
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
679
691
|
|
|
680
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
692
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
681
693
|
var range = strictObject({ from: number(), to: number() });
|
|
682
694
|
var storeChatStatus = strictObject({
|
|
683
695
|
chat_id: id,
|
|
@@ -768,7 +780,7 @@ var storeJobRetry = union([
|
|
|
768
780
|
]);
|
|
769
781
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
770
782
|
|
|
771
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
783
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
772
784
|
var account = strictObject({
|
|
773
785
|
provider: text,
|
|
774
786
|
id,
|
|
@@ -778,7 +790,7 @@ var account = strictObject({
|
|
|
778
790
|
scope: optional(picklist(["personal", "work"]))
|
|
779
791
|
});
|
|
780
792
|
|
|
781
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
793
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
782
794
|
var accountSession = strictObject({
|
|
783
795
|
current: boolean(),
|
|
784
796
|
client: nullable(text),
|
|
@@ -788,7 +800,7 @@ var accountSession = strictObject({
|
|
|
788
800
|
created_at: optional(nullable(time))
|
|
789
801
|
});
|
|
790
802
|
|
|
791
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
803
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
792
804
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
793
805
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
794
806
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -806,7 +818,7 @@ var accountPrivacy = strictObject({
|
|
|
806
818
|
});
|
|
807
819
|
var accountPrivacyChange = strictObject({ operation_id: id, privacy: accountPrivacy });
|
|
808
820
|
|
|
809
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
821
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
810
822
|
var accountProfile = strictObject({
|
|
811
823
|
profile: id,
|
|
812
824
|
current: boolean(),
|
|
@@ -816,7 +828,7 @@ var accountProfile = strictObject({
|
|
|
816
828
|
signed_in: optional(boolean())
|
|
817
829
|
});
|
|
818
830
|
|
|
819
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
831
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
820
832
|
var milliseconds = pipe(number(), minValue(0));
|
|
821
833
|
var counterReading = strictObject({
|
|
822
834
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -828,7 +840,7 @@ var counterReading = strictObject({
|
|
|
828
840
|
});
|
|
829
841
|
var selection = record(string(), unknown());
|
|
830
842
|
|
|
831
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
843
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
832
844
|
var adminRow = strictObject({
|
|
833
845
|
ref: reference,
|
|
834
846
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -881,11 +893,11 @@ var adminReport = strictObject({
|
|
|
881
893
|
rows: array(adminRow)
|
|
882
894
|
});
|
|
883
895
|
|
|
884
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
896
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
885
897
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
886
898
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
887
899
|
|
|
888
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
900
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
889
901
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
890
902
|
var attachmentBytes = strictObject({
|
|
891
903
|
ref: reference,
|
|
@@ -913,7 +925,7 @@ var attachmentTextChange = strictObject({
|
|
|
913
925
|
replaced: nullable(picklist(["extracted", "agent"]))
|
|
914
926
|
});
|
|
915
927
|
|
|
916
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
928
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
917
929
|
var chart = strictObject({
|
|
918
930
|
version: literal(1),
|
|
919
931
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -928,7 +940,7 @@ var chart = strictObject({
|
|
|
928
940
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
929
941
|
});
|
|
930
942
|
|
|
931
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
943
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
932
944
|
var named = strictObject({
|
|
933
945
|
id,
|
|
934
946
|
title: nullable(text),
|
|
@@ -951,7 +963,7 @@ var folder = strictObject({
|
|
|
951
963
|
excluded_chats: optional(array(named))
|
|
952
964
|
});
|
|
953
965
|
|
|
954
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
966
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
955
967
|
var inviteLink = strictObject({
|
|
956
968
|
link: text,
|
|
957
969
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -967,7 +979,7 @@ var inviteLink = strictObject({
|
|
|
967
979
|
joined_count: optional(count)
|
|
968
980
|
});
|
|
969
981
|
|
|
970
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
982
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
971
983
|
var operated = { operation_id: id, chat_id: id };
|
|
972
984
|
var group = strictObject({
|
|
973
985
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -1047,7 +1059,7 @@ var chatFolderOrder = strictObject({
|
|
|
1047
1059
|
folders: array(strictObject({ id, title: text }))
|
|
1048
1060
|
});
|
|
1049
1061
|
|
|
1050
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1062
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
1051
1063
|
var operated2 = { operation_id: id, chat_id: id };
|
|
1052
1064
|
var chatRemoval = strictObject(operated2);
|
|
1053
1065
|
var chatMuting = strictObject({
|
|
@@ -1058,7 +1070,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
1058
1070
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
1059
1071
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
1060
1072
|
|
|
1061
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1073
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
1062
1074
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
1063
1075
|
var chatEvent = strictObject({
|
|
1064
1076
|
chat_id: id,
|
|
@@ -1075,7 +1087,7 @@ var chatEvent = strictObject({
|
|
|
1075
1087
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
1076
1088
|
});
|
|
1077
1089
|
|
|
1078
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1090
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
1079
1091
|
var chatMetadata = strictObject({
|
|
1080
1092
|
chat_id: id,
|
|
1081
1093
|
title: nullable(text),
|
|
@@ -1090,7 +1102,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
1090
1102
|
has_more: boolean()
|
|
1091
1103
|
});
|
|
1092
1104
|
|
|
1093
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1105
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
1094
1106
|
var action = picklist(["report", "delete", "remove"]);
|
|
1095
1107
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
1096
1108
|
var chatRules = strictObject({
|
|
@@ -1127,7 +1139,7 @@ var chatModeration = strictObject({
|
|
|
1127
1139
|
}))
|
|
1128
1140
|
});
|
|
1129
1141
|
|
|
1130
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1142
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
1131
1143
|
var optionalCount = optional(count);
|
|
1132
1144
|
var minutes = nullable(number());
|
|
1133
1145
|
var chatStats = strictObject({
|
|
@@ -1189,7 +1201,7 @@ var taskStats = strictObject({
|
|
|
1189
1201
|
}))
|
|
1190
1202
|
});
|
|
1191
1203
|
|
|
1192
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1204
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
1193
1205
|
var memberCount = strictObject({
|
|
1194
1206
|
day: pipe(text, isoDate()),
|
|
1195
1207
|
participants: nullable(count),
|
|
@@ -1212,7 +1224,45 @@ var chatTracking = strictObject({
|
|
|
1212
1224
|
tracked: boolean()
|
|
1213
1225
|
});
|
|
1214
1226
|
|
|
1215
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1227
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
1228
|
+
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
1229
|
+
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
1230
|
+
var profileFields = {
|
|
1231
|
+
usernames: array(text),
|
|
1232
|
+
birthday: optional(nullable(text)),
|
|
1233
|
+
phone: optional(nullable(text)),
|
|
1234
|
+
flags: partial(strictObject({
|
|
1235
|
+
bot: boolean(),
|
|
1236
|
+
verified: boolean(),
|
|
1237
|
+
premium: boolean(),
|
|
1238
|
+
scam: boolean(),
|
|
1239
|
+
fake: boolean(),
|
|
1240
|
+
restricted: boolean(),
|
|
1241
|
+
deleted: boolean(),
|
|
1242
|
+
support: boolean()
|
|
1243
|
+
})),
|
|
1244
|
+
seen: optional(text),
|
|
1245
|
+
contact: optional(boolean()),
|
|
1246
|
+
mutual_contact: optional(boolean()),
|
|
1247
|
+
common_chats_count: optional(nullable(count)),
|
|
1248
|
+
registered: optional(nullable(strictObject({
|
|
1249
|
+
at: text,
|
|
1250
|
+
source: picklist(["telegram", "max", "estimate"]),
|
|
1251
|
+
precision: picklist(["day", "month"])
|
|
1252
|
+
}))),
|
|
1253
|
+
has_photo: optional(boolean()),
|
|
1254
|
+
/** Earlier names and usernames, oldest first; the current ones are not repeated. */
|
|
1255
|
+
aliases: array(strictObject({
|
|
1256
|
+
name: optional(text),
|
|
1257
|
+
username: optional(text),
|
|
1258
|
+
link: optional(text),
|
|
1259
|
+
first_seen_at: time,
|
|
1260
|
+
last_seen_at: time,
|
|
1261
|
+
source: picklist(["profile", "messages"])
|
|
1262
|
+
}))
|
|
1263
|
+
};
|
|
1264
|
+
|
|
1265
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
1216
1266
|
var contact = strictObject({
|
|
1217
1267
|
ref: reference,
|
|
1218
1268
|
id,
|
|
@@ -1227,13 +1277,23 @@ var contact = strictObject({
|
|
|
1227
1277
|
/** For a source that knows it, such as a Zoom contact. */
|
|
1228
1278
|
email: optional(nullable(text)),
|
|
1229
1279
|
phones: optional(array(strictObject({ number: text, label: nullable(text) }))),
|
|
1230
|
-
/** `contacts show`: the chats shared with them. */
|
|
1231
|
-
chats: optional(array(
|
|
1280
|
+
/** `contacts show`: the chats shared with them, and what the store holds of their messages in each. */
|
|
1281
|
+
chats: optional(array(strictObject({
|
|
1282
|
+
...pick(chat, ["ref", "id", "title", "kind", "last_message_at"]).entries,
|
|
1283
|
+
/** Their messages stored; a floor unless `complete`. */
|
|
1284
|
+
their_messages: optional(count),
|
|
1285
|
+
first_at: optional(nullable(time)),
|
|
1286
|
+
last_at: optional(nullable(time)),
|
|
1287
|
+
/** The store holds the whole chat, so the count is the real one. */
|
|
1288
|
+
complete: optional(boolean())
|
|
1289
|
+
}))),
|
|
1290
|
+
/** `contacts show`: what the messenger says about them, or with `--offline` what the store saw of them. */
|
|
1291
|
+
...partial(strictObject(profileFields)).entries,
|
|
1232
1292
|
/** `contacts show --with-notes`: the owner's private notes about them. */
|
|
1233
1293
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
1234
1294
|
});
|
|
1235
1295
|
|
|
1236
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1296
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
1237
1297
|
var linkedIdentity = strictObject({
|
|
1238
1298
|
provider: text,
|
|
1239
1299
|
id,
|
|
@@ -1274,7 +1334,7 @@ var contactCheck = strictObject({
|
|
|
1274
1334
|
checked_at: time
|
|
1275
1335
|
});
|
|
1276
1336
|
|
|
1277
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1337
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
1278
1338
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
1279
1339
|
var contextMessage = strictObject({
|
|
1280
1340
|
locator: reference,
|
|
@@ -1472,7 +1532,7 @@ var contactPreparation = strictObject({
|
|
|
1472
1532
|
})
|
|
1473
1533
|
});
|
|
1474
1534
|
|
|
1475
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1535
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
1476
1536
|
var contactNote = strictObject({
|
|
1477
1537
|
id,
|
|
1478
1538
|
/** The contact, as a `contact:` reference. */
|
|
@@ -1484,62 +1544,13 @@ var contactNote = strictObject({
|
|
|
1484
1544
|
updated_at: time
|
|
1485
1545
|
});
|
|
1486
1546
|
|
|
1487
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1488
|
-
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
1489
|
-
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
1490
|
-
var contactProfile = strictObject({
|
|
1491
|
-
id,
|
|
1492
|
-
name: nullable(text),
|
|
1493
|
-
usernames: array(text),
|
|
1494
|
-
bio: nullable(text),
|
|
1495
|
-
birthday: optional(nullable(text)),
|
|
1496
|
-
phone: optional(nullable(text)),
|
|
1497
|
-
flags: partial(strictObject({
|
|
1498
|
-
bot: boolean(),
|
|
1499
|
-
verified: boolean(),
|
|
1500
|
-
premium: boolean(),
|
|
1501
|
-
scam: boolean(),
|
|
1502
|
-
fake: boolean(),
|
|
1503
|
-
restricted: boolean(),
|
|
1504
|
-
deleted: boolean(),
|
|
1505
|
-
support: boolean()
|
|
1506
|
-
})),
|
|
1507
|
-
seen: optional(text),
|
|
1508
|
-
contact: optional(boolean()),
|
|
1509
|
-
mutual_contact: optional(boolean()),
|
|
1510
|
-
common_chats_count: optional(nullable(count)),
|
|
1511
|
-
registered: optional(nullable(strictObject({
|
|
1512
|
-
at: text,
|
|
1513
|
-
source: picklist(["telegram", "max", "estimate"]),
|
|
1514
|
-
precision: picklist(["day", "month"])
|
|
1515
|
-
}))),
|
|
1516
|
-
has_photo: optional(boolean()),
|
|
1517
|
-
chats: array(strictObject({
|
|
1518
|
-
id,
|
|
1519
|
-
title: nullable(text),
|
|
1520
|
-
kind: chat.entries.kind,
|
|
1521
|
-
their_messages: count,
|
|
1522
|
-
first_at: nullable(time),
|
|
1523
|
-
last_at: nullable(time),
|
|
1524
|
-
complete: boolean()
|
|
1525
|
-
})),
|
|
1526
|
-
aliases: array(strictObject({
|
|
1527
|
-
name: optional(text),
|
|
1528
|
-
username: optional(text),
|
|
1529
|
-
link: optional(text),
|
|
1530
|
-
first_seen_at: time,
|
|
1531
|
-
last_seen_at: time,
|
|
1532
|
-
source: picklist(["profile", "messages"])
|
|
1533
|
-
}))
|
|
1534
|
-
});
|
|
1535
|
-
|
|
1536
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_9d12b0091b773232c527328da5835651/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
1547
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
1537
1548
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
1538
1549
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
1539
1550
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
1540
1551
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
1541
1552
|
|
|
1542
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1553
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
1543
1554
|
var conversationDetails = union([
|
|
1544
1555
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
1545
1556
|
message
|
|
@@ -1629,7 +1640,7 @@ var conversationHit = strictObject({
|
|
|
1629
1640
|
stale: boolean()
|
|
1630
1641
|
});
|
|
1631
1642
|
|
|
1632
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1643
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
1633
1644
|
var counters = strictObject({
|
|
1634
1645
|
cutoff: time,
|
|
1635
1646
|
max_age_ms: milliseconds,
|
|
@@ -1659,7 +1670,7 @@ var counterRefresh = strictObject({
|
|
|
1659
1670
|
complete: optional(boolean())
|
|
1660
1671
|
});
|
|
1661
1672
|
|
|
1662
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1673
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
1663
1674
|
var document = strictObject({
|
|
1664
1675
|
ref: reference,
|
|
1665
1676
|
id,
|
|
@@ -1674,7 +1685,7 @@ var document = strictObject({
|
|
|
1674
1685
|
owners: optional(array(text))
|
|
1675
1686
|
});
|
|
1676
1687
|
|
|
1677
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1688
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
1678
1689
|
var documentLink = strictObject({
|
|
1679
1690
|
ref: reference,
|
|
1680
1691
|
url: text,
|
|
@@ -1685,7 +1696,7 @@ var documentLink = strictObject({
|
|
|
1685
1696
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
1686
1697
|
});
|
|
1687
1698
|
|
|
1688
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1699
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
1689
1700
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
1690
1701
|
var contribution = strictObject({
|
|
1691
1702
|
message: evidenceMessage,
|
|
@@ -1715,7 +1726,7 @@ var retentionStay = strictObject({
|
|
|
1715
1726
|
});
|
|
1716
1727
|
var evidence = union([contribution, retentionStay]);
|
|
1717
1728
|
|
|
1718
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1729
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
1719
1730
|
var fact = strictObject({
|
|
1720
1731
|
ref: reference,
|
|
1721
1732
|
id,
|
|
@@ -1738,7 +1749,7 @@ var fact = strictObject({
|
|
|
1738
1749
|
updated_at: time
|
|
1739
1750
|
});
|
|
1740
1751
|
|
|
1741
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1752
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
1742
1753
|
var hit = strictObject({
|
|
1743
1754
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting"]),
|
|
1744
1755
|
ref: reference,
|
|
@@ -1752,6 +1763,8 @@ var hit = strictObject({
|
|
|
1752
1763
|
timestamp: nullable(time),
|
|
1753
1764
|
excerpt: text,
|
|
1754
1765
|
sender_name: optional(nullable(text)),
|
|
1766
|
+
/** A message's or a mail's: whether the owner wrote it. */
|
|
1767
|
+
sender_is_me: optional(boolean()),
|
|
1755
1768
|
/** The writer's `person:` reference, where the store has one. */
|
|
1756
1769
|
sender_ref: optional(nullable(reference)),
|
|
1757
1770
|
found_by: optional(array(picklist(["title", "words", "meaning"]))),
|
|
@@ -1765,7 +1778,7 @@ var hit = strictObject({
|
|
|
1765
1778
|
untrusted
|
|
1766
1779
|
});
|
|
1767
1780
|
|
|
1768
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1781
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
1769
1782
|
var identity = strictObject({
|
|
1770
1783
|
ref: reference,
|
|
1771
1784
|
provider: text,
|
|
@@ -1778,7 +1791,7 @@ var identity = strictObject({
|
|
|
1778
1791
|
person: optional(nullable(reference))
|
|
1779
1792
|
});
|
|
1780
1793
|
|
|
1781
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1794
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
1782
1795
|
var imageEmbedding = strictObject({
|
|
1783
1796
|
model: text,
|
|
1784
1797
|
embedded: count,
|
|
@@ -1787,7 +1800,7 @@ var imageEmbedding = strictObject({
|
|
|
1787
1800
|
more: boolean()
|
|
1788
1801
|
});
|
|
1789
1802
|
|
|
1790
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1803
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
1791
1804
|
var joinRequest = strictObject({
|
|
1792
1805
|
person_id: id,
|
|
1793
1806
|
name: nullable(text),
|
|
@@ -1798,7 +1811,7 @@ var joinRequest = strictObject({
|
|
|
1798
1811
|
about: optional(text)
|
|
1799
1812
|
});
|
|
1800
1813
|
|
|
1801
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1814
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
1802
1815
|
var pollVote = strictObject({
|
|
1803
1816
|
person_id: id,
|
|
1804
1817
|
name: nullable(text),
|
|
@@ -1808,7 +1821,7 @@ var pollVote = strictObject({
|
|
|
1808
1821
|
voted_at: time
|
|
1809
1822
|
});
|
|
1810
1823
|
|
|
1811
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1824
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
1812
1825
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
1813
1826
|
var observation = strictObject({
|
|
1814
1827
|
value: pipe(number(), minValue(0)),
|
|
@@ -1849,7 +1862,7 @@ var serveSummary = strictObject({
|
|
|
1849
1862
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
1850
1863
|
});
|
|
1851
1864
|
|
|
1852
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1865
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
1853
1866
|
var mediaArchive = strictObject({
|
|
1854
1867
|
directory: text,
|
|
1855
1868
|
chats: count,
|
|
@@ -1881,7 +1894,7 @@ var mediaArchiveTimer = union([
|
|
|
1881
1894
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
1882
1895
|
]);
|
|
1883
1896
|
|
|
1884
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1897
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
1885
1898
|
var preparationId = pipe(string(), minLength(1));
|
|
1886
1899
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
1887
1900
|
var preparationTime = nullable(isoTime);
|
|
@@ -1973,7 +1986,7 @@ var preparationMeeting = strictObject({
|
|
|
1973
1986
|
updated_at: isoTime
|
|
1974
1987
|
});
|
|
1975
1988
|
|
|
1976
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1989
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
1977
1990
|
var meetingEvidence = preparationEvidence;
|
|
1978
1991
|
var meetingPersonContext = strictObject({
|
|
1979
1992
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -1995,7 +2008,7 @@ var meetingPersonContext = strictObject({
|
|
|
1995
2008
|
})
|
|
1996
2009
|
});
|
|
1997
2010
|
|
|
1998
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2011
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
1999
2012
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
2000
2013
|
var base = { id, project: reference, evidence: array(evidence2) };
|
|
2001
2014
|
var finding = variant("kind", [
|
|
@@ -2033,7 +2046,7 @@ var meetingFindings = strictObject({
|
|
|
2033
2046
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome) }))
|
|
2034
2047
|
});
|
|
2035
2048
|
|
|
2036
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2049
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
2037
2050
|
var communicationCoverage = strictObject({
|
|
2038
2051
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
2039
2052
|
query: string(),
|
|
@@ -2078,7 +2091,7 @@ var preparationCommunications = strictObject({
|
|
|
2078
2091
|
}))
|
|
2079
2092
|
});
|
|
2080
2093
|
|
|
2081
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2094
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
2082
2095
|
var meetingPreparation = strictObject({
|
|
2083
2096
|
communications: optional(preparationCommunications),
|
|
2084
2097
|
schema_version: literal(1),
|
|
@@ -2191,7 +2204,7 @@ var meetingPreparation = strictObject({
|
|
|
2191
2204
|
})
|
|
2192
2205
|
});
|
|
2193
2206
|
|
|
2194
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2207
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
2195
2208
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
2196
2209
|
var id3 = pipe(string(), minLength(1));
|
|
2197
2210
|
var text3 = string();
|
|
@@ -2255,7 +2268,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
2255
2268
|
})
|
|
2256
2269
|
});
|
|
2257
2270
|
|
|
2258
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2271
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
2259
2272
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
2260
2273
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
2261
2274
|
var meetingSeriesInventory = strictObject({
|
|
@@ -2285,7 +2298,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
2285
2298
|
})
|
|
2286
2299
|
});
|
|
2287
2300
|
|
|
2288
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2301
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
2289
2302
|
var text4 = string();
|
|
2290
2303
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
2291
2304
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -2302,7 +2315,7 @@ var meetingTaskProposal = strictObject({
|
|
|
2302
2315
|
persistence: literal("proposal-only")
|
|
2303
2316
|
});
|
|
2304
2317
|
|
|
2305
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2318
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
2306
2319
|
var memory = strictObject({
|
|
2307
2320
|
ref: reference,
|
|
2308
2321
|
id,
|
|
@@ -2321,7 +2334,7 @@ var memory = strictObject({
|
|
|
2321
2334
|
updated_at: time
|
|
2322
2335
|
});
|
|
2323
2336
|
|
|
2324
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2337
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
2325
2338
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
2326
2339
|
var status = picklist(["found", "linked", "dismissed"]);
|
|
2327
2340
|
var mention = strictObject({
|
|
@@ -2364,13 +2377,13 @@ var mentionRebuild = strictObject({
|
|
|
2364
2377
|
mentions: count
|
|
2365
2378
|
});
|
|
2366
2379
|
|
|
2367
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2380
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
2368
2381
|
var operated3 = { operation_id: id, chat_id: id };
|
|
2369
2382
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
2370
2383
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
2371
2384
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
2372
2385
|
|
|
2373
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2386
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
2374
2387
|
var messageTranscript = strictObject({
|
|
2375
2388
|
message_id: id,
|
|
2376
2389
|
text,
|
|
@@ -2428,7 +2441,7 @@ var evidencePacket = strictObject({
|
|
|
2428
2441
|
}))
|
|
2429
2442
|
});
|
|
2430
2443
|
|
|
2431
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2444
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
2432
2445
|
var messageThread = strictObject({
|
|
2433
2446
|
ref: reference,
|
|
2434
2447
|
chat: id,
|
|
@@ -2445,7 +2458,7 @@ var messageThread = strictObject({
|
|
|
2445
2458
|
});
|
|
2446
2459
|
var messageContext = union([message, messageThread]);
|
|
2447
2460
|
|
|
2448
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2461
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
2449
2462
|
var messageCounts = strictObject({
|
|
2450
2463
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
2451
2464
|
total: count,
|
|
@@ -2458,7 +2471,7 @@ var messageCounts = strictObject({
|
|
|
2458
2471
|
}))
|
|
2459
2472
|
});
|
|
2460
2473
|
|
|
2461
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2474
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
2462
2475
|
var messageLink = strictObject({
|
|
2463
2476
|
ref: reference,
|
|
2464
2477
|
url: nullable(text),
|
|
@@ -2467,7 +2480,7 @@ var messageLink = strictObject({
|
|
|
2467
2480
|
reason: nullable(picklist(["unsupported_chat", "unsupported_provider", "offline"]))
|
|
2468
2481
|
});
|
|
2469
2482
|
|
|
2470
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2483
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
2471
2484
|
var messageWrite = strictObject({
|
|
2472
2485
|
operation_id: id,
|
|
2473
2486
|
message,
|
|
@@ -2482,7 +2495,7 @@ var draftWrite = strictObject({
|
|
|
2482
2495
|
});
|
|
2483
2496
|
var messageSend = union([messageWrite, draftWrite]);
|
|
2484
2497
|
|
|
2485
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2498
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
2486
2499
|
var model = strictObject({
|
|
2487
2500
|
id,
|
|
2488
2501
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -2499,7 +2512,7 @@ var model = strictObject({
|
|
|
2499
2512
|
path: text
|
|
2500
2513
|
});
|
|
2501
2514
|
|
|
2502
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2515
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
2503
2516
|
var source = picklist(["environment", "keyring", "file"]);
|
|
2504
2517
|
var modelKey = strictObject({
|
|
2505
2518
|
provider: text,
|
|
@@ -2509,7 +2522,7 @@ var modelKey = strictObject({
|
|
|
2509
2522
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
2510
2523
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
2511
2524
|
|
|
2512
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2525
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
2513
2526
|
var versus = strictObject({ current: number(), previous: number() });
|
|
2514
2527
|
var person = { person_ref: reference, name: nullable(text) };
|
|
2515
2528
|
var graph = strictObject({
|
|
@@ -2543,14 +2556,14 @@ var officialStats = strictObject({
|
|
|
2543
2556
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
2544
2557
|
});
|
|
2545
2558
|
|
|
2546
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2559
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
2547
2560
|
var person2 = strictObject({
|
|
2548
2561
|
ref: reference,
|
|
2549
2562
|
name: nullable(text),
|
|
2550
2563
|
identities: optional(array(identity))
|
|
2551
2564
|
});
|
|
2552
2565
|
|
|
2553
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2566
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
2554
2567
|
var poll = strictObject({
|
|
2555
2568
|
chat_id: id,
|
|
2556
2569
|
message_id: id,
|
|
@@ -2566,11 +2579,11 @@ var poll = strictObject({
|
|
|
2566
2579
|
});
|
|
2567
2580
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
2568
2581
|
|
|
2569
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2582
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
2570
2583
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
2571
2584
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
2572
2585
|
|
|
2573
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2586
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
2574
2587
|
var figures = record(string(), number());
|
|
2575
2588
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
2576
2589
|
var rankingRow = strictObject({
|
|
@@ -2617,7 +2630,15 @@ var ranking = strictObject({
|
|
|
2617
2630
|
rows: array(rankingRow)
|
|
2618
2631
|
});
|
|
2619
2632
|
|
|
2620
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2633
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
2634
|
+
var reaction = strictObject({
|
|
2635
|
+
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
2636
|
+
/** The emoji, or `custom:<id>` for a custom one. */
|
|
2637
|
+
reaction: text,
|
|
2638
|
+
reacted_at: time
|
|
2639
|
+
});
|
|
2640
|
+
|
|
2641
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
2621
2642
|
var reactionChange = strictObject({
|
|
2622
2643
|
operation_id: id,
|
|
2623
2644
|
chat_id: id,
|
|
@@ -2625,7 +2646,7 @@ var reactionChange = strictObject({
|
|
|
2625
2646
|
reaction: nullable(text)
|
|
2626
2647
|
});
|
|
2627
2648
|
|
|
2628
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2649
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
2629
2650
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
2630
2651
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
2631
2652
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -2636,7 +2657,7 @@ var recipientChange = strictObject({
|
|
|
2636
2657
|
...partial(recipientOff).entries
|
|
2637
2658
|
});
|
|
2638
2659
|
|
|
2639
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2660
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
2640
2661
|
var events = array(record(string(), unknown()));
|
|
2641
2662
|
var recordedRun = strictObject({
|
|
2642
2663
|
run_id: id,
|
|
@@ -2708,7 +2729,7 @@ var runHit = strictObject({
|
|
|
2708
2729
|
});
|
|
2709
2730
|
var runLocation = strictObject({ path: text });
|
|
2710
2731
|
|
|
2711
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2732
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
2712
2733
|
var relationship = strictObject({
|
|
2713
2734
|
id,
|
|
2714
2735
|
from: reference,
|
|
@@ -2723,7 +2744,7 @@ var relationship = strictObject({
|
|
|
2723
2744
|
created_at: time
|
|
2724
2745
|
});
|
|
2725
2746
|
|
|
2726
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2747
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
2727
2748
|
var retentionCohort = strictObject({
|
|
2728
2749
|
/** The first day of the joining day or week. */
|
|
2729
2750
|
cohort: text,
|
|
@@ -2771,7 +2792,7 @@ var retention = strictObject({
|
|
|
2771
2792
|
rows: array(retentionCohort)
|
|
2772
2793
|
});
|
|
2773
2794
|
|
|
2774
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2795
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
2775
2796
|
var savedSearch = strictObject({
|
|
2776
2797
|
id,
|
|
2777
2798
|
/** `null` for a run in the history. */
|
|
@@ -2788,7 +2809,7 @@ var savedSearch = strictObject({
|
|
|
2788
2809
|
});
|
|
2789
2810
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
2790
2811
|
|
|
2791
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2812
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
2792
2813
|
var sendAttempt = strictObject({
|
|
2793
2814
|
at: time,
|
|
2794
2815
|
profile: text,
|
|
@@ -2816,7 +2837,7 @@ var sendAttempt = strictObject({
|
|
|
2816
2837
|
error_code: optional(text)
|
|
2817
2838
|
});
|
|
2818
2839
|
|
|
2819
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2840
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
2820
2841
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
2821
2842
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
2822
2843
|
var infoSchema = strictObject({
|
|
@@ -3024,7 +3045,7 @@ var storeRepair = union([
|
|
|
3024
3045
|
]);
|
|
3025
3046
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
3026
3047
|
|
|
3027
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3048
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
3028
3049
|
var tagTarget = variant("type", [
|
|
3029
3050
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
3030
3051
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -3055,7 +3076,7 @@ var automaticTags = strictObject({
|
|
|
3055
3076
|
dry_run: boolean()
|
|
3056
3077
|
});
|
|
3057
3078
|
|
|
3058
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3079
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
3059
3080
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
3060
3081
|
var taskPair = strictObject({
|
|
3061
3082
|
task: nullable(side),
|
|
@@ -3078,7 +3099,7 @@ var taskPair = strictObject({
|
|
|
3078
3099
|
created_at: time
|
|
3079
3100
|
});
|
|
3080
3101
|
|
|
3081
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3102
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
3082
3103
|
var nullableTime = nullable(time);
|
|
3083
3104
|
var link = strictObject({
|
|
3084
3105
|
id,
|
|
@@ -3202,7 +3223,7 @@ var taskScan = strictObject({
|
|
|
3202
3223
|
tasks: array(strictObject({ source: text, kind: picklist(TASK_KINDS), category: nullable(text) }))
|
|
3203
3224
|
});
|
|
3204
3225
|
|
|
3205
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3226
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
3206
3227
|
var topic = strictObject({
|
|
3207
3228
|
id,
|
|
3208
3229
|
title: text,
|
|
@@ -3216,7 +3237,7 @@ var topic = strictObject({
|
|
|
3216
3237
|
untrusted
|
|
3217
3238
|
});
|
|
3218
3239
|
|
|
3219
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3240
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.495.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_24cca5e5c8b0984f2f26e7d1ba6b6d47/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
3220
3241
|
var ENTITIES = {
|
|
3221
3242
|
sync_progress: progress,
|
|
3222
3243
|
...MEETING_RESULT_ENTITIES,
|
|
@@ -3230,6 +3251,7 @@ var ENTITIES = {
|
|
|
3230
3251
|
"chat_title",
|
|
3231
3252
|
"timestamp",
|
|
3232
3253
|
"sender_name",
|
|
3254
|
+
"sender_is_me",
|
|
3233
3255
|
"excerpt",
|
|
3234
3256
|
"matched_in",
|
|
3235
3257
|
"score",
|
|
@@ -3238,6 +3260,7 @@ var ENTITIES = {
|
|
|
3238
3260
|
"found_in",
|
|
3239
3261
|
"discovery",
|
|
3240
3262
|
"context",
|
|
3263
|
+
"follow_ups",
|
|
3241
3264
|
"email"
|
|
3242
3265
|
]).entries,
|
|
3243
3266
|
untrusted
|
|
@@ -3248,6 +3271,7 @@ var ENTITIES = {
|
|
|
3248
3271
|
"chat_title",
|
|
3249
3272
|
"timestamp",
|
|
3250
3273
|
"sender_name",
|
|
3274
|
+
"sender_is_me",
|
|
3251
3275
|
"outgoing",
|
|
3252
3276
|
"text",
|
|
3253
3277
|
"transcript",
|
|
@@ -3281,7 +3305,6 @@ var ENTITIES = {
|
|
|
3281
3305
|
contact,
|
|
3282
3306
|
contact_note: contactNote,
|
|
3283
3307
|
contact_lookup: contactLookup,
|
|
3284
|
-
contact_profile: contactProfile,
|
|
3285
3308
|
contact_sync: contactSync,
|
|
3286
3309
|
contact_update: contactUpdate,
|
|
3287
3310
|
contact_state_change: contactStateChange,
|
|
@@ -3454,6 +3477,7 @@ var ENTITIES = {
|
|
|
3454
3477
|
poll,
|
|
3455
3478
|
poll_change: pollChange,
|
|
3456
3479
|
poll_vote: pollVote,
|
|
3480
|
+
reaction,
|
|
3457
3481
|
reaction_change: reactionChange,
|
|
3458
3482
|
topic,
|
|
3459
3483
|
folder,
|
|
@@ -3521,6 +3545,7 @@ export {
|
|
|
3521
3545
|
meetingProjectCandidates,
|
|
3522
3546
|
meetingSeriesInventory,
|
|
3523
3547
|
model,
|
|
3548
|
+
reaction,
|
|
3524
3549
|
recipient,
|
|
3525
3550
|
recordedRun,
|
|
3526
3551
|
savedSearch,
|