@wirecat/tg-cli 0.100.0 → 0.101.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.
Files changed (107) hide show
  1. package/README.md +3 -3
  2. package/dist/bin/tg.js +1 -1
  3. package/dist/bundle/{adapter-2LVPMFKF.js → adapter-A3VD4Y6Z.js} +24 -24
  4. package/dist/bundle/{all-profiles-BLTK2AAB.js → all-profiles-UPVNHXB2.js} +16 -7
  5. package/dist/bundle/{anthropic-RJE4XEOO.js → anthropic-IRKNWPIB.js} +5 -5
  6. package/dist/bundle/{bot-api-4XM3NVWG.js → bot-api-UNTQG2M5.js} +48 -48
  7. package/dist/bundle/{bot-history-WVM5GEQN.js → bot-history-V4RTY5K7.js} +15 -15
  8. package/dist/bundle/{bun-UZXO2LRQ.js → bun-2JZPG2NL.js} +2 -2
  9. package/dist/bundle/{bun-sqlite-GJLGSQIT.js → bun-sqlite-TZHKM225.js} +4 -4
  10. package/dist/bundle/{chunk-V4JSVH4M.js → chunk-22PQUX72.js} +2 -2
  11. package/dist/bundle/{chunk-MQNFEVAH.js → chunk-2DGOFLDA.js} +2 -2
  12. package/dist/bundle/{chunk-2IM4M7Q2.js → chunk-2XBSVRT2.js} +1 -1
  13. package/dist/bundle/{chunk-HKT5EOT5.js → chunk-4ZS73HTJ.js} +1 -1
  14. package/dist/bundle/{chunk-SMJTL5U7.js → chunk-54R2GDQ3.js} +6 -4
  15. package/dist/bundle/{chunk-2MXQ2EUN.js → chunk-5GKXETRP.js} +21 -20
  16. package/dist/bundle/{chunk-GTURDJJD.js → chunk-5KU4UQBM.js} +1 -1
  17. package/dist/bundle/{chunk-JFJVS5JC.js → chunk-5TPT2S2Z.js} +2 -2
  18. package/dist/bundle/{chunk-SYPL4PHV.js → chunk-64DK7S4F.js} +1 -1
  19. package/dist/bundle/{chunk-BAIZAZ6Q.js → chunk-6IPY2QRG.js} +2 -2
  20. package/dist/bundle/{chunk-I6WZJVRT.js → chunk-7CBUCTB6.js} +55 -36
  21. package/dist/bundle/{chunk-LI7TXFLS.js → chunk-A5JSTZZZ.js} +3 -3
  22. package/dist/bundle/{chunk-OW3COBN5.js → chunk-ACGTFLEB.js} +9 -9
  23. package/dist/bundle/{chunk-Q26JMPBP.js → chunk-BX6HH4F6.js} +11 -11
  24. package/dist/bundle/{chunk-CV5ASHTW.js → chunk-BXQS5RCE.js} +45 -45
  25. package/dist/bundle/{chunk-MUEXF4ME.js → chunk-CJ6IYCYP.js} +12 -11
  26. package/dist/bundle/{chunk-GYEOQS2D.js → chunk-DG62L57H.js} +17 -17
  27. package/dist/bundle/{chunk-4U7QOFDA.js → chunk-DYNSP6FW.js} +445 -236
  28. package/dist/bundle/{chunk-HXTTDIL7.js → chunk-F7TDFWXY.js} +3 -3
  29. package/dist/bundle/{chunk-P26LWFNZ.js → chunk-G2US6LJB.js} +1 -1
  30. package/dist/bundle/{chunk-KE6L2UEG.js → chunk-G3ZRY436.js} +70 -61
  31. package/dist/bundle/{chunk-QY3YOOTP.js → chunk-G77QOTXE.js} +2 -2
  32. package/dist/bundle/{chunk-6YLT4YVJ.js → chunk-H6OXALTJ.js} +2 -2
  33. package/dist/bundle/{chunk-WKOY3POD.js → chunk-LPB2MDUW.js} +7 -7
  34. package/dist/bundle/{chunk-66E5QDLH.js → chunk-MLLJ74LM.js} +1 -1
  35. package/dist/bundle/{chunk-6VEOR6GD.js → chunk-N5UFBWDM.js} +6 -6
  36. package/dist/bundle/{chunk-THVNP6S6.js → chunk-NC5WS7OP.js} +2 -2
  37. package/dist/bundle/{chunk-YG7PNCSW.js → chunk-NKJJJAIJ.js} +10 -3
  38. package/dist/bundle/{chunk-DVOUKGFK.js → chunk-NMGO6LW6.js} +8 -8
  39. package/dist/bundle/{chunk-QU2FJMFB.js → chunk-ODSVNH3H.js} +798 -492
  40. package/dist/bundle/{chunk-WE3LBRMB.js → chunk-OEJ5DMCX.js} +7 -7
  41. package/dist/bundle/{chunk-3N6LXAPE.js → chunk-OILBDLWL.js} +10 -10
  42. package/dist/bundle/{chunk-U7LXA4SO.js → chunk-OPBTNQ35.js} +11 -11
  43. package/dist/bundle/{chunk-OOOV3JBZ.js → chunk-PUBS2F5J.js} +953 -677
  44. package/dist/bundle/{chunk-H3X5LS6U.js → chunk-PYTOIDSM.js} +4 -4
  45. package/dist/bundle/{chunk-RER6DAHP.js → chunk-QOWSVDPZ.js} +157 -145
  46. package/dist/bundle/{chunk-2XUGPE5W.js → chunk-QYVVRQTN.js} +3 -3
  47. package/dist/bundle/{chunk-RDQMV6EU.js → chunk-RF54YDBB.js} +4 -4
  48. package/dist/bundle/{chunk-3QDPV34J.js → chunk-RVCS7Q3A.js} +51 -47
  49. package/dist/bundle/{chunk-4YCLWWZ3.js → chunk-S2JSZWEC.js} +11 -11
  50. package/dist/bundle/{chunk-SGJYU3SB.js → chunk-S7ZNLLY5.js} +3 -3
  51. package/dist/bundle/{chunk-JSKT5UZX.js → chunk-TGREFJVA.js} +8 -8
  52. package/dist/bundle/{chunk-4VBDVZNE.js → chunk-U46UNBMT.js} +15 -15
  53. package/dist/bundle/{chunk-BL36RR34.js → chunk-UN6CKIBN.js} +4 -4
  54. package/dist/bundle/chunk-VA5YEJS3.js +161 -0
  55. package/dist/bundle/{chunk-DN4QUTWU.js → chunk-VCGL2ETF.js} +1 -1
  56. package/dist/bundle/{chunk-UMLPXNJI.js → chunk-VRSN7VLO.js} +1 -1
  57. package/dist/bundle/{chunk-ATZ44Z77.js → chunk-VYDTI254.js} +108 -29
  58. package/dist/bundle/{chunk-UD4DOZCN.js → chunk-W2336E7Y.js} +6 -6
  59. package/dist/bundle/{chunk-3S5CL55R.js → chunk-XCKD54TN.js} +6 -6
  60. package/dist/bundle/{chunk-A7OBVRJV.js → chunk-ZEOCU24Z.js} +3 -3
  61. package/dist/bundle/{chunk-BZANDKWT.js → chunk-ZJVZXJOG.js} +2 -2
  62. package/dist/bundle/{chunk-ASDZHG5I.js → chunk-ZV24I2UJ.js} +2 -2
  63. package/dist/bundle/command-contract-TKDI7E56.js +31 -0
  64. package/dist/bundle/{echarts-YHSYUWLY.js → echarts-QZ6PR3VC.js} +2 -2
  65. package/dist/bundle/{embed-3HGI2XIW.js → embed-UBXCXSRD.js} +4 -4
  66. package/dist/bundle/{embedder-2CJMZETJ.js → embedder-B4ZTKC23.js} +7 -7
  67. package/dist/bundle/{entry-UVE53OV3.js → entry-BTUTHO5M.js} +5 -5
  68. package/dist/bundle/{first-run-6GYC2QS3.js → first-run-UC4HRIFV.js} +9 -9
  69. package/dist/bundle/first-screen-SMCX6YKY.js +29 -0
  70. package/dist/bundle/{identity-HEV5E57G.js → identity-QSDEGDH7.js} +3 -3
  71. package/dist/bundle/{instructions-5UVAXSQV.js → instructions-BBGLZKO3.js} +1 -1
  72. package/dist/bundle/{mcp-NWXBVNUA.js → mcp-4Y37G2UY.js} +2 -2
  73. package/dist/bundle/{node-YHYEGYVE.js → node-LZZX22VR.js} +2 -2
  74. package/dist/bundle/{node-sqlite-CQ33A3R2.js → node-sqlite-BPGT6T5U.js} +4 -4
  75. package/dist/bundle/{oauth-OB3JFAD7.js → oauth-XNE2KPKJ.js} +6 -6
  76. package/dist/bundle/{open-JHGZIXU2.js → open-SXGYZLB5.js} +3 -3
  77. package/dist/bundle/{process-PSKS3N5B.js → process-GPUXC4PG.js} +1 -1
  78. package/dist/bundle/{program-RPYVPNRX.js → program-NEXEAL7T.js} +51 -51
  79. package/dist/bundle/{prompt-7BXUMJGG.js → prompt-SORGLEYI.js} +4 -4
  80. package/dist/bundle/{proxy-transport-3EEMW2HW.js → proxy-transport-G4MA6BGU.js} +4 -4
  81. package/dist/bundle/{recognize-YMZPL47R.js → recognize-UJBXORVD.js} +5 -5
  82. package/dist/bundle/{remote-LQ3Q22NG.js → remote-W72AR7KH.js} +5 -5
  83. package/dist/bundle/{rerank-SM7IYVXJ.js → rerank-3Y2VZM3J.js} +5 -5
  84. package/dist/bundle/{serve-GHUEP5H5.js → serve-VDZIVOPR.js} +23 -8
  85. package/dist/bundle/{server-K2BQPPHN.js → server-BERXP4GW.js} +52 -52
  86. package/dist/bundle/{server-A45HVXQY.js → server-ZFHN4GUF.js} +34 -34
  87. package/dist/bundle/{state-WIOL52GZ.js → state-DGR4EE3E.js} +9 -5
  88. package/dist/bundle/{store-XE5AKUJZ.js → store-MRCFSCZD.js} +10 -10
  89. package/dist/bundle/store-maintenance-command-DCMZDMYS.js +46 -0
  90. package/dist/bundle/tg.js +4 -4
  91. package/dist/commands/context.d.ts.map +1 -1
  92. package/dist/commands/context.js +2 -0
  93. package/dist/commands/context.js.map +1 -1
  94. package/dist/program.js +1 -1
  95. package/dist/program.js.map +1 -1
  96. package/dist/telegram/errors.js +1 -1
  97. package/dist/telegram/errors.js.map +1 -1
  98. package/dist/version.d.ts +1 -1
  99. package/dist/version.js +1 -1
  100. package/install/windows.ps1 +1 -1
  101. package/package.json +3 -3
  102. package/skills/tg-cli/SKILL.md +4 -4
  103. package/dist/bundle/chunk-Z2FHEIXN.js +0 -63
  104. package/dist/bundle/command-contract-AIVKJYIR.js +0 -31
  105. package/dist/bundle/first-screen-HRRLVLOG.js +0 -29
  106. package/dist/bundle/store-maintenance-command-YS5E7VUN.js +0 -46
  107. /package/dist/bundle/{chunk-3MVHRZWR.js → chunk-2SJOUK6J.js} +0 -0
@@ -10,10 +10,10 @@ import {
10
10
  storeTable,
11
11
  tagging,
12
12
  task
13
- } from "./chunk-3QDPV34J.js";
13
+ } from "./chunk-RVCS7Q3A.js";
14
14
  import {
15
15
  childTrace
16
- } from "./chunk-U7LXA4SO.js";
16
+ } from "./chunk-OPBTNQ35.js";
17
17
  import {
18
18
  author,
19
19
  count,
@@ -24,17 +24,20 @@ import {
24
24
  providerMetadata,
25
25
  reminder,
26
26
  text,
27
- time
28
- } from "./chunk-SMJTL5U7.js";
27
+ time,
28
+ untrusted
29
+ } from "./chunk-54R2GDQ3.js";
29
30
  import {
30
31
  envName
31
- } from "./chunk-ASDZHG5I.js";
32
+ } from "./chunk-ZV24I2UJ.js";
32
33
  import {
33
34
  carries
34
- } from "./chunk-UMLPXNJI.js";
35
+ } from "./chunk-VRSN7VLO.js";
35
36
  import {
36
37
  FACT_STATUSES,
37
38
  FACT_TYPES,
39
+ LINK_KINDS,
40
+ LINK_SOURCES,
38
41
  MEETING_RESULT_ENTITIES,
39
42
  MEMORY_KINDS,
40
43
  MEMORY_SCOPES,
@@ -59,11 +62,11 @@ import {
59
62
  meetingStats,
60
63
  meetingSummary,
61
64
  meetingTranscript
62
- } from "./chunk-KE6L2UEG.js";
65
+ } from "./chunk-G3ZRY436.js";
63
66
  import {
64
67
  resolvePaths,
65
68
  writeSecurely
66
- } from "./chunk-GYEOQS2D.js";
69
+ } from "./chunk-DG62L57H.js";
67
70
  import {
68
71
  CliError,
69
72
  array,
@@ -97,12 +100,12 @@ import {
97
100
  unknown,
98
101
  unwrap,
99
102
  variant
100
- } from "./chunk-WE3LBRMB.js";
103
+ } from "./chunk-OEJ5DMCX.js";
101
104
  import {
102
105
  __name
103
106
  } from "./chunk-AFV74GK3.js";
104
107
 
105
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/member.js
108
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/member.js
106
109
  var member = strictObject({
107
110
  id,
108
111
  name: nullable(text),
@@ -125,7 +128,7 @@ var member = strictObject({
125
128
  check: optional(record(string(), unknown()))
126
129
  });
127
130
 
128
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/chat.js
131
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/chat.js
129
132
  var setting = optional(nullable(boolean()));
130
133
  var chat = strictObject({
131
134
  ref: reference,
@@ -166,7 +169,7 @@ var chat = strictObject({
166
169
  members: optional(array(member))
167
170
  });
168
171
 
169
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/list-results.js
172
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/list-results.js
170
173
  var botProfile = strictObject({
171
174
  name: text,
172
175
  token: text,
@@ -233,7 +236,7 @@ var stickerInventory = strictObject({
233
236
  url: optional(nullable(text))
234
237
  });
235
238
 
236
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
239
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
237
240
  var actionableError = objectWithRest({
238
241
  code: text,
239
242
  message: text,
@@ -250,7 +253,7 @@ var batchResult = strictObject({
250
253
  max_error_percent: count
251
254
  });
252
255
 
253
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
256
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
254
257
  var conversationBuild = strictObject({
255
258
  chat: id,
256
259
  messages: count,
@@ -275,13 +278,13 @@ var catchUpPreparation = strictObject({
275
278
  prepared: optional(conversationPreparation)
276
279
  });
277
280
 
278
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
281
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
279
282
  import { spawn } from "node:child_process";
280
283
  import { randomBytes } from "node:crypto";
281
284
  import { closeSync, existsSync, mkdirSync, openSync, readdirSync, readFileSync, realpathSync, rmSync } from "node:fs";
282
285
  import { dirname, join } from "node:path";
283
286
 
284
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
287
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
285
288
  var progressOf = /* @__PURE__ */ __name((input) => {
286
289
  const total = input.total ?? null;
287
290
  const updated = input.updatedAt ?? null;
@@ -297,7 +300,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
297
300
  };
298
301
  }, "progressOf");
299
302
 
300
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
303
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
301
304
  var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
302
305
  var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
303
306
  const out = openSync(log, "a", 384);
@@ -452,7 +455,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
452
455
  return { job: id6, pid, chat: input.chat, log };
453
456
  }, "startArchiveJob");
454
457
 
455
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/job.js
458
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/job.js
456
459
  var problem = strictObject({ code: text, message: text });
457
460
  var job = strictObject({
458
461
  id,
@@ -475,7 +478,7 @@ var job = strictObject({
475
478
  error: optional(problem)
476
479
  });
477
480
 
478
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/message.js
481
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/message.js
479
482
  var quoted = strictObject({
480
483
  id,
481
484
  sender_id: nullable(id),
@@ -570,7 +573,7 @@ var message = strictObject({
570
573
  provider_metadata: providerMetadata
571
574
  });
572
575
 
573
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
576
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
574
577
  var extractionItem = strictObject({
575
578
  ref: reference,
576
579
  attachment: count,
@@ -603,7 +606,7 @@ var extractionReport = strictObject({
603
606
  cursor: optional(text)
604
607
  });
605
608
 
606
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
609
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
607
610
  var savedMessageFile = strictObject({
608
611
  kind: text,
609
612
  path: text,
@@ -682,7 +685,7 @@ var messageSyncAll = strictObject({
682
685
  var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
683
686
  var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
684
687
 
685
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/store-records.js
688
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/store-records.js
686
689
  var range = strictObject({ from: number(), to: number() });
687
690
  var storeChatStatus = strictObject({
688
691
  chat_id: id,
@@ -773,7 +776,7 @@ var storeJobRetry = union([
773
776
  ]);
774
777
  var storeJobClear = strictObject({ cleared: array(id) });
775
778
 
776
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/account.js
779
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/account.js
777
780
  var account = strictObject({
778
781
  provider: text,
779
782
  id,
@@ -783,7 +786,7 @@ var account = strictObject({
783
786
  scope: optional(picklist(["personal", "work"]))
784
787
  });
785
788
 
786
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/account-session.js
789
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/account-session.js
787
790
  var accountSession = strictObject({
788
791
  current: boolean(),
789
792
  client: nullable(text),
@@ -793,7 +796,7 @@ var accountSession = strictObject({
793
796
  created_at: optional(nullable(time))
794
797
  });
795
798
 
796
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/account-change.js
799
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/account-change.js
797
800
  var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
798
801
  var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
799
802
  var audience = picklist(["everyone", "contacts", "nobody"]);
@@ -811,15 +814,17 @@ var accountPrivacy = strictObject({
811
814
  });
812
815
  var accountPrivacyChange = strictObject({ operation_id: id, privacy: accountPrivacy });
813
816
 
814
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
817
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
815
818
  var accountProfile = strictObject({
816
819
  profile: id,
817
820
  current: boolean(),
818
821
  account: nullable(id),
819
- name: nullable(text)
822
+ name: nullable(text),
823
+ /** False for a profile with no session on this computer; absent when the messenger does not say. */
824
+ signed_in: optional(boolean())
820
825
  });
821
826
 
822
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
827
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
823
828
  var milliseconds = pipe(number(), minValue(0));
824
829
  var counterReading = strictObject({
825
830
  counter: picklist(["views", "reactions", "comments"]),
@@ -831,7 +836,7 @@ var counterReading = strictObject({
831
836
  });
832
837
  var selection = record(string(), unknown());
833
838
 
834
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
839
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
835
840
  var adminRow = strictObject({
836
841
  ref: reference,
837
842
  /** What `stats * evidence` takes: a person id, a stay or a message locator. */
@@ -884,11 +889,11 @@ var adminReport = strictObject({
884
889
  rows: array(adminRow)
885
890
  });
886
891
 
887
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
892
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
888
893
  var analysisConsent = strictObject({ chat: id, provider: text, at: time });
889
894
  var analysisConsentRevocation = strictObject({ revoked: boolean() });
890
895
 
891
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
896
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
892
897
  var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
893
898
  var attachmentBytes = strictObject({
894
899
  ref: reference,
@@ -916,7 +921,7 @@ var attachmentTextChange = strictObject({
916
921
  replaced: nullable(picklist(["extracted", "agent"]))
917
922
  });
918
923
 
919
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/chart.js
924
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/chart.js
920
925
  var chart = strictObject({
921
926
  version: literal(1),
922
927
  kind: picklist(["bar", "line", "grouped-bar"]),
@@ -931,7 +936,7 @@ var chart = strictObject({
931
936
  file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
932
937
  });
933
938
 
934
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/folder.js
939
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/folder.js
935
940
  var named = strictObject({
936
941
  id,
937
942
  title: nullable(text),
@@ -954,7 +959,7 @@ var folder = strictObject({
954
959
  excluded_chats: optional(array(named))
955
960
  });
956
961
 
957
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
962
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
958
963
  var inviteLink = strictObject({
959
964
  link: text,
960
965
  /** Who joins by it asks first, and an admin lets them in. */
@@ -970,7 +975,7 @@ var inviteLink = strictObject({
970
975
  joined_count: optional(count)
971
976
  });
972
977
 
973
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
978
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
974
979
  var operated = { operation_id: id, chat_id: id };
975
980
  var group = strictObject({
976
981
  ...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
@@ -1050,7 +1055,7 @@ var chatFolderOrder = strictObject({
1050
1055
  folders: array(strictObject({ id, title: text }))
1051
1056
  });
1052
1057
 
1053
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
1058
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
1054
1059
  var operated2 = { operation_id: id, chat_id: id };
1055
1060
  var chatRemoval = strictObject(operated2);
1056
1061
  var chatMuting = strictObject({
@@ -1061,7 +1066,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
1061
1066
  var chatPin = strictObject({ ...operated2, pinned: boolean() });
1062
1067
  var chatUnread = strictObject({ ...operated2, unread: literal(true) });
1063
1068
 
1064
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
1069
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
1065
1070
  var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
1066
1071
  var chatEvent = strictObject({
1067
1072
  chat_id: id,
@@ -1078,7 +1083,7 @@ var chatEvent = strictObject({
1078
1083
  before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
1079
1084
  });
1080
1085
 
1081
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
1086
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
1082
1087
  var chatMetadata = strictObject({
1083
1088
  chat_id: id,
1084
1089
  title: nullable(text),
@@ -1093,7 +1098,7 @@ var chatMetadataRefresh = strictObject({
1093
1098
  has_more: boolean()
1094
1099
  });
1095
1100
 
1096
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
1101
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
1097
1102
  var action = picklist(["report", "delete", "remove"]);
1098
1103
  var level = picklist(["deny", "readonly", "ask", "allow"]);
1099
1104
  var chatRules = strictObject({
@@ -1130,7 +1135,7 @@ var chatModeration = strictObject({
1130
1135
  }))
1131
1136
  });
1132
1137
 
1133
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
1138
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
1134
1139
  var optionalCount = optional(count);
1135
1140
  var minutes = nullable(number());
1136
1141
  var chatStats = strictObject({
@@ -1192,7 +1197,7 @@ var taskStats = strictObject({
1192
1197
  }))
1193
1198
  });
1194
1199
 
1195
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
1200
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
1196
1201
  var memberCount = strictObject({
1197
1202
  day: pipe(text, isoDate()),
1198
1203
  participants: nullable(count),
@@ -1215,7 +1220,7 @@ var chatTracking = strictObject({
1215
1220
  tracked: boolean()
1216
1221
  });
1217
1222
 
1218
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/contact.js
1223
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/contact.js
1219
1224
  var contact = strictObject({
1220
1225
  ref: reference,
1221
1226
  id,
@@ -1236,7 +1241,7 @@ var contact = strictObject({
1236
1241
  notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
1237
1242
  });
1238
1243
 
1239
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
1244
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
1240
1245
  var linkedIdentity = strictObject({
1241
1246
  provider: text,
1242
1247
  id,
@@ -1277,7 +1282,7 @@ var contactCheck = strictObject({
1277
1282
  checked_at: time
1278
1283
  });
1279
1284
 
1280
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
1285
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
1281
1286
  var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
1282
1287
  var contextMessage = strictObject({
1283
1288
  locator: reference,
@@ -1300,6 +1305,15 @@ var sharedChat = strictObject({
1300
1305
  kind: chat.entries.kind,
1301
1306
  last_message_at: nullable(time)
1302
1307
  });
1308
+ var contextEvent = strictObject({
1309
+ ref: reference,
1310
+ title: nullable(text),
1311
+ starts_at: nullable(time),
1312
+ ends_at: nullable(time),
1313
+ all_day: boolean(),
1314
+ location: nullable(text),
1315
+ status: nullable(text)
1316
+ });
1303
1317
  var context = strictObject({
1304
1318
  person: contextPerson,
1305
1319
  shared: array(sharedChat),
@@ -1310,6 +1324,8 @@ var context = strictObject({
1310
1324
  }),
1311
1325
  recent: strictObject({ direct: array(contextMessage), groups: array(contextMessage) }),
1312
1326
  mentions: array(contextMessage),
1327
+ /** Calendar events they are invited to, one occurrence per series. */
1328
+ events: optional(strictObject({ upcoming: array(contextEvent), recent: array(contextEvent) })),
1313
1329
  limits: strictObject({ messages: count, bytes: count }),
1314
1330
  complete: boolean(),
1315
1331
  not_read: array(strictObject({
@@ -1464,7 +1480,7 @@ var contactPreparation = strictObject({
1464
1480
  })
1465
1481
  });
1466
1482
 
1467
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
1483
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
1468
1484
  var contactNote = strictObject({
1469
1485
  id,
1470
1486
  /** The contact, as a `contact:` reference. */
@@ -1476,7 +1492,7 @@ var contactNote = strictObject({
1476
1492
  updated_at: time
1477
1493
  });
1478
1494
 
1479
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
1495
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
1480
1496
  var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
1481
1497
  var contactSync = strictObject({ added: count, changed: count, known: count });
1482
1498
  var contactProfile = strictObject({
@@ -1525,13 +1541,13 @@ var contactProfile = strictObject({
1525
1541
  }))
1526
1542
  });
1527
1543
 
1528
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
1544
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
1529
1545
  var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
1530
1546
  var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
1531
1547
  var contactStateChange = strictObject({ operation_id: id, person_id: id });
1532
1548
  var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
1533
1549
 
1534
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
1550
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
1535
1551
  var conversationDetails = union([
1536
1552
  strictObject({ ...conversation.entries, messages: array(message) }),
1537
1553
  message
@@ -1621,7 +1637,7 @@ var conversationHit = strictObject({
1621
1637
  stale: boolean()
1622
1638
  });
1623
1639
 
1624
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/counters.js
1640
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/counters.js
1625
1641
  var counters = strictObject({
1626
1642
  cutoff: time,
1627
1643
  max_age_ms: milliseconds,
@@ -1651,7 +1667,7 @@ var counterRefresh = strictObject({
1651
1667
  complete: optional(boolean())
1652
1668
  });
1653
1669
 
1654
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/document.js
1670
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/document.js
1655
1671
  var document = strictObject({
1656
1672
  ref: reference,
1657
1673
  id,
@@ -1666,7 +1682,7 @@ var document = strictObject({
1666
1682
  owners: optional(array(text))
1667
1683
  });
1668
1684
 
1669
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/document-link.js
1685
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/document-link.js
1670
1686
  var documentLink = strictObject({
1671
1687
  ref: reference,
1672
1688
  url: text,
@@ -1677,7 +1693,7 @@ var documentLink = strictObject({
1677
1693
  sender: strictObject({ id: nullable(id), name: nullable(text) })
1678
1694
  });
1679
1695
 
1680
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/evidence.js
1696
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/evidence.js
1681
1697
  var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
1682
1698
  var contribution = strictObject({
1683
1699
  message: evidenceMessage,
@@ -1707,7 +1723,7 @@ var retentionStay = strictObject({
1707
1723
  });
1708
1724
  var evidence = union([contribution, retentionStay]);
1709
1725
 
1710
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/fact.js
1726
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/fact.js
1711
1727
  var fact = strictObject({
1712
1728
  ref: reference,
1713
1729
  id,
@@ -1730,15 +1746,15 @@ var fact = strictObject({
1730
1746
  updated_at: time
1731
1747
  });
1732
1748
 
1733
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/hit.js
1749
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/hit.js
1734
1750
  var hit = strictObject({
1735
- kind: picklist(["message", "mail", "note", "document", "meeting"]),
1751
+ kind: picklist(["message", "mail", "note", "document", "event", "meeting"]),
1736
1752
  ref: reference,
1737
1753
  provider: text,
1738
1754
  url: optional(text),
1739
1755
  /** The account it was found in; a note's folder id, or `internal` for a note written in memo. */
1740
1756
  account: text,
1741
- /** The chat, the mail thread's subject, the note's or the meeting's title. */
1757
+ /** The chat, the mail thread's subject, the note's, the event's or the meeting's title. */
1742
1758
  title: nullable(text),
1743
1759
  /** Null for a meeting whose start is unknown. */
1744
1760
  timestamp: nullable(time),
@@ -1752,10 +1768,12 @@ var hit = strictObject({
1752
1768
  /** A meeting passage's place: its transcript, chat or summary. */
1753
1769
  scope: optional(picklist(["transcript", "chat", "summary"])),
1754
1770
  /** A meeting passage's stored line, so two passages of one meeting stay apart; `search meetings` gives the same. */
1755
- id: optional(pipe(string(), minLength(1)))
1771
+ id: optional(pipe(string(), minLength(1))),
1772
+ /** Absent on a note hit: the owner wrote it. */
1773
+ untrusted
1756
1774
  });
1757
1775
 
1758
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/identity.js
1776
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/identity.js
1759
1777
  var identity = strictObject({
1760
1778
  ref: reference,
1761
1779
  provider: text,
@@ -1768,7 +1786,7 @@ var identity = strictObject({
1768
1786
  person: optional(nullable(reference))
1769
1787
  });
1770
1788
 
1771
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
1789
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
1772
1790
  var imageEmbedding = strictObject({
1773
1791
  model: text,
1774
1792
  embedded: count,
@@ -1777,7 +1795,7 @@ var imageEmbedding = strictObject({
1777
1795
  more: boolean()
1778
1796
  });
1779
1797
 
1780
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/join-request.js
1798
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/join-request.js
1781
1799
  var joinRequest = strictObject({
1782
1800
  person_id: id,
1783
1801
  name: nullable(text),
@@ -1788,7 +1806,7 @@ var joinRequest = strictObject({
1788
1806
  about: optional(text)
1789
1807
  });
1790
1808
 
1791
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
1809
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
1792
1810
  var pollVote = strictObject({
1793
1811
  person_id: id,
1794
1812
  name: nullable(text),
@@ -1798,7 +1816,7 @@ var pollVote = strictObject({
1798
1816
  voted_at: time
1799
1817
  });
1800
1818
 
1801
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/listener.js
1819
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/listener.js
1802
1820
  var reactions = unwrap(unwrap(message.entries.reactions));
1803
1821
  var observation = strictObject({
1804
1822
  value: pipe(number(), minValue(0)),
@@ -1839,7 +1857,7 @@ var serveSummary = strictObject({
1839
1857
  tasks: optional(strictObject({ added: count, closed: count, review: count }))
1840
1858
  });
1841
1859
 
1842
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
1860
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
1843
1861
  var mediaArchive = strictObject({
1844
1862
  directory: text,
1845
1863
  chats: count,
@@ -1871,7 +1889,7 @@ var mediaArchiveTimer = union([
1871
1889
  strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
1872
1890
  ]);
1873
1891
 
1874
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
1892
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
1875
1893
  var preparationId = pipe(string(), minLength(1));
1876
1894
  var preparationCount = pipe(number(), integer(), minValue(0));
1877
1895
  var preparationTime = nullable(isoTime);
@@ -1963,7 +1981,7 @@ var preparationMeeting = strictObject({
1963
1981
  updated_at: isoTime
1964
1982
  });
1965
1983
 
1966
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
1984
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
1967
1985
  var meetingEvidence = preparationEvidence;
1968
1986
  var meetingPersonContext = strictObject({
1969
1987
  person: strictObject({ uid: string(), name: nullable(string()) }),
@@ -1985,7 +2003,7 @@ var meetingPersonContext = strictObject({
1985
2003
  })
1986
2004
  });
1987
2005
 
1988
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
2006
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
1989
2007
  var evidence2 = strictObject({ reference, fingerprint: text });
1990
2008
  var base = { id, project: reference, evidence: array(evidence2) };
1991
2009
  var finding = variant("kind", [
@@ -2023,7 +2041,7 @@ var meetingFindings = strictObject({
2023
2041
  receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome) }))
2024
2042
  });
2025
2043
 
2026
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
2044
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
2027
2045
  var communicationCoverage = strictObject({
2028
2046
  read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
2029
2047
  query: string(),
@@ -2068,7 +2086,7 @@ var preparationCommunications = strictObject({
2068
2086
  }))
2069
2087
  });
2070
2088
 
2071
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
2089
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
2072
2090
  var meetingPreparation = strictObject({
2073
2091
  communications: optional(preparationCommunications),
2074
2092
  schema_version: literal(1),
@@ -2181,7 +2199,7 @@ var meetingPreparation = strictObject({
2181
2199
  })
2182
2200
  });
2183
2201
 
2184
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
2202
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
2185
2203
  var count3 = pipe(number(), integer(), minValue(0));
2186
2204
  var id3 = pipe(string(), minLength(1));
2187
2205
  var text3 = string();
@@ -2245,7 +2263,7 @@ var meetingProjectCandidates = strictObject({
2245
2263
  })
2246
2264
  });
2247
2265
 
2248
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
2266
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
2249
2267
  var count4 = pipe(number(), integer(), minValue(0));
2250
2268
  var id4 = pipe(string(), minLength(1), maxLength(1e3));
2251
2269
  var meetingSeriesInventory = strictObject({
@@ -2275,7 +2293,7 @@ var meetingSeriesInventory = strictObject({
2275
2293
  })
2276
2294
  });
2277
2295
 
2278
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
2296
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
2279
2297
  var text4 = string();
2280
2298
  var id5 = pipe(number(), integer(), minValue(1));
2281
2299
  var revision = picklist(["current", "superseded"]);
@@ -2292,7 +2310,7 @@ var meetingTaskProposal = strictObject({
2292
2310
  persistence: literal("proposal-only")
2293
2311
  });
2294
2312
 
2295
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/memory.js
2313
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/memory.js
2296
2314
  var memory = strictObject({
2297
2315
  ref: reference,
2298
2316
  id,
@@ -2311,7 +2329,7 @@ var memory = strictObject({
2311
2329
  updated_at: time
2312
2330
  });
2313
2331
 
2314
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/mention.js
2332
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/mention.js
2315
2333
  var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
2316
2334
  var status = picklist(["found", "linked", "dismissed"]);
2317
2335
  var mention = strictObject({
@@ -2354,13 +2372,13 @@ var mentionRebuild = strictObject({
2354
2372
  mentions: count
2355
2373
  });
2356
2374
 
2357
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/message-change.js
2375
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/message-change.js
2358
2376
  var operated3 = { operation_id: id, chat_id: id };
2359
2377
  var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
2360
2378
  var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
2361
2379
  var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
2362
2380
 
2363
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/message-read.js
2381
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/message-read.js
2364
2382
  var messageTranscript = strictObject({
2365
2383
  message_id: id,
2366
2384
  text,
@@ -2418,7 +2436,7 @@ var evidencePacket = strictObject({
2418
2436
  }))
2419
2437
  });
2420
2438
 
2421
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/message-context.js
2439
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/message-context.js
2422
2440
  var messageThread = strictObject({
2423
2441
  ref: reference,
2424
2442
  chat: id,
@@ -2435,7 +2453,7 @@ var messageThread = strictObject({
2435
2453
  });
2436
2454
  var messageContext = union([message, messageThread]);
2437
2455
 
2438
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
2456
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
2439
2457
  var messageCounts = strictObject({
2440
2458
  by: picklist(["chat", "sender", "day", "hour"]),
2441
2459
  total: count,
@@ -2448,7 +2466,7 @@ var messageCounts = strictObject({
2448
2466
  }))
2449
2467
  });
2450
2468
 
2451
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/message-link.js
2469
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/message-link.js
2452
2470
  var messageLink = strictObject({
2453
2471
  ref: reference,
2454
2472
  url: nullable(text),
@@ -2457,7 +2475,7 @@ var messageLink = strictObject({
2457
2475
  reason: nullable(picklist(["unsupported_chat", "unsupported_provider", "offline"]))
2458
2476
  });
2459
2477
 
2460
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/message-write.js
2478
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/message-write.js
2461
2479
  var messageWrite = strictObject({
2462
2480
  operation_id: id,
2463
2481
  message,
@@ -2472,7 +2490,7 @@ var draftWrite = strictObject({
2472
2490
  });
2473
2491
  var messageSend = union([messageWrite, draftWrite]);
2474
2492
 
2475
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/model.js
2493
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/model.js
2476
2494
  var model = strictObject({
2477
2495
  id,
2478
2496
  kind: picklist(["audio", "text", "image", "reranker"]),
@@ -2489,7 +2507,7 @@ var model = strictObject({
2489
2507
  path: text
2490
2508
  });
2491
2509
 
2492
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/model-key.js
2510
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/model-key.js
2493
2511
  var source = picklist(["environment", "keyring", "file"]);
2494
2512
  var modelKey = strictObject({
2495
2513
  provider: text,
@@ -2499,7 +2517,7 @@ var modelKey = strictObject({
2499
2517
  var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
2500
2518
  var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
2501
2519
 
2502
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
2520
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
2503
2521
  var versus = strictObject({ current: number(), previous: number() });
2504
2522
  var person = { person_ref: reference, name: nullable(text) };
2505
2523
  var graph = strictObject({
@@ -2533,14 +2551,14 @@ var officialStats = strictObject({
2533
2551
  graphs: record(string(), union([graph, strictObject({ error: text })]))
2534
2552
  });
2535
2553
 
2536
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/person.js
2554
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/person.js
2537
2555
  var person2 = strictObject({
2538
2556
  ref: reference,
2539
2557
  name: nullable(text),
2540
2558
  identities: optional(array(identity))
2541
2559
  });
2542
2560
 
2543
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/poll.js
2561
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/poll.js
2544
2562
  var poll = strictObject({
2545
2563
  chat_id: id,
2546
2564
  message_id: id,
@@ -2556,11 +2574,11 @@ var poll = strictObject({
2556
2574
  });
2557
2575
  var pollChange = strictObject({ operation_id: id, poll });
2558
2576
 
2559
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
2577
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
2560
2578
  var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
2561
2579
  var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
2562
2580
 
2563
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/ranking.js
2581
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/ranking.js
2564
2582
  var figures = record(string(), number());
2565
2583
  var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
2566
2584
  var rankingRow = strictObject({
@@ -2607,7 +2625,7 @@ var ranking = strictObject({
2607
2625
  rows: array(rankingRow)
2608
2626
  });
2609
2627
 
2610
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
2628
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
2611
2629
  var reactionChange = strictObject({
2612
2630
  operation_id: id,
2613
2631
  chat_id: id,
@@ -2615,7 +2633,7 @@ var reactionChange = strictObject({
2615
2633
  reaction: nullable(text)
2616
2634
  });
2617
2635
 
2618
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/recipient.js
2636
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/recipient.js
2619
2637
  var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
2620
2638
  var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
2621
2639
  var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
@@ -2626,7 +2644,7 @@ var recipientChange = strictObject({
2626
2644
  ...partial(recipientOff).entries
2627
2645
  });
2628
2646
 
2629
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
2647
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
2630
2648
  var events = array(record(string(), unknown()));
2631
2649
  var recordedRun = strictObject({
2632
2650
  run_id: id,
@@ -2685,7 +2703,7 @@ var runHit = strictObject({
2685
2703
  });
2686
2704
  var runLocation = strictObject({ path: text });
2687
2705
 
2688
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/relationship.js
2706
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/relationship.js
2689
2707
  var relationship = strictObject({
2690
2708
  id,
2691
2709
  from: reference,
@@ -2700,7 +2718,7 @@ var relationship = strictObject({
2700
2718
  created_at: time
2701
2719
  });
2702
2720
 
2703
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/retention.js
2721
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/retention.js
2704
2722
  var retentionCohort = strictObject({
2705
2723
  /** The first day of the joining day or week. */
2706
2724
  cohort: text,
@@ -2748,7 +2766,7 @@ var retention = strictObject({
2748
2766
  rows: array(retentionCohort)
2749
2767
  });
2750
2768
 
2751
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
2769
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
2752
2770
  var savedSearch = strictObject({
2753
2771
  id,
2754
2772
  /** `null` for a run in the history. */
@@ -2765,7 +2783,7 @@ var savedSearch = strictObject({
2765
2783
  });
2766
2784
  var searchHistoryClear = strictObject({ cleared: count });
2767
2785
 
2768
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
2786
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
2769
2787
  var sendAttempt = strictObject({
2770
2788
  at: time,
2771
2789
  profile: text,
@@ -2793,7 +2811,7 @@ var sendAttempt = strictObject({
2793
2811
  error_code: optional(text)
2794
2812
  });
2795
2813
 
2796
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
2814
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
2797
2815
  var absent = strictObject({ path: text, exists: literal(false) });
2798
2816
  var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
2799
2817
  var infoSchema = strictObject({
@@ -3001,7 +3019,7 @@ var storeRepair = union([
3001
3019
  ]);
3002
3020
  var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
3003
3021
 
3004
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
3022
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
3005
3023
  var tagTarget = variant("type", [
3006
3024
  strictObject({ type: literal("chat"), chat_id: id }),
3007
3025
  strictObject({ type: literal("contact"), person_id: id }),
@@ -3032,7 +3050,7 @@ var automaticTags = strictObject({
3032
3050
  dry_run: boolean()
3033
3051
  });
3034
3052
 
3035
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
3053
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
3036
3054
  var side = strictObject({ ref: reference, key: text, title: text, status: text });
3037
3055
  var taskPair = strictObject({
3038
3056
  task: nullable(side),
@@ -3055,28 +3073,15 @@ var taskPair = strictObject({
3055
3073
  created_at: time
3056
3074
  });
3057
3075
 
3058
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/task-results.js
3076
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/task-results.js
3059
3077
  var nullableTime = nullable(time);
3060
3078
  var link = strictObject({
3061
3079
  id,
3062
3080
  from: reference,
3063
3081
  to: nullable(reference),
3064
- kind: picklist([
3065
- "links-to",
3066
- "blocked-by",
3067
- "follow-up-of",
3068
- "about",
3069
- "member-of",
3070
- "labelled",
3071
- "answered-by",
3072
- "evidence",
3073
- "created-from",
3074
- "duplicate-of",
3075
- "related-to",
3076
- "assigned-to"
3077
- ]),
3082
+ kind: picklist(LINK_KINDS),
3078
3083
  anchor: nullable(text),
3079
- origin: picklist(["file", "owner", "suggested", "message"]),
3084
+ origin: picklist(LINK_SOURCES),
3080
3085
  target_text: nullable(text),
3081
3086
  role: nullable(text),
3082
3087
  evidence: nullable(text),
@@ -3192,7 +3197,7 @@ var taskScan = strictObject({
3192
3197
  tasks: array(strictObject({ source: text, kind: picklist(TASK_KINDS), category: nullable(text) }))
3193
3198
  });
3194
3199
 
3195
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/topic.js
3200
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/topic.js
3196
3201
  var topic = strictObject({
3197
3202
  id,
3198
3203
  title: text,
@@ -3202,10 +3207,11 @@ var topic = strictObject({
3202
3207
  hidden: optional(boolean()),
3203
3208
  unread_count: nullable(count),
3204
3209
  last_message_at: nullable(time),
3205
- created_at: nullable(time)
3210
+ created_at: nullable(time),
3211
+ untrusted
3206
3212
  });
3207
3213
 
3208
- // node_modules/.pnpm/@wirecat+cli-core@0.452.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.63.0_commander@15._e609b9d6c8060966368a91e843fe8bd2/node_modules/@wirecat/cli-core/dist/entities/index.js
3214
+ // node_modules/.pnpm/@wirecat+cli-core@0.466.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._f7e4048410ccbe1e801fd184c043d197/node_modules/@wirecat/cli-core/dist/entities/index.js
3209
3215
  var ENTITIES = {
3210
3216
  sync_progress: progress,
3211
3217
  ...MEETING_RESULT_ENTITIES,
@@ -3213,21 +3219,24 @@ var ENTITIES = {
3213
3219
  message_context: messageContext,
3214
3220
  message_download: messageDownload,
3215
3221
  message_sync: messageSync,
3216
- "message.hit": pick(message, [
3217
- "ref",
3218
- "chat_title",
3219
- "timestamp",
3220
- "sender_name",
3221
- "excerpt",
3222
- "matched_in",
3223
- "score",
3224
- "match",
3225
- "corrections",
3226
- "found_in",
3227
- "discovery",
3228
- "context",
3229
- "email"
3230
- ]),
3222
+ "message.hit": strictObject({
3223
+ ...pick(message, [
3224
+ "ref",
3225
+ "chat_title",
3226
+ "timestamp",
3227
+ "sender_name",
3228
+ "excerpt",
3229
+ "matched_in",
3230
+ "score",
3231
+ "match",
3232
+ "corrections",
3233
+ "found_in",
3234
+ "discovery",
3235
+ "context",
3236
+ "email"
3237
+ ]).entries,
3238
+ untrusted
3239
+ }),
3231
3240
  "message.summary": pick(message, [
3232
3241
  "ref",
3233
3242
  "chat_id",
@@ -3294,21 +3303,24 @@ var ENTITIES = {
3294
3303
  call_record: callRecord,
3295
3304
  sticker_inventory: stickerInventory,
3296
3305
  note,
3297
- "note.hit": pick(note, [
3298
- "kind",
3299
- "provider",
3300
- "account",
3301
- "url",
3302
- "ref",
3303
- "source",
3304
- "folder_id",
3305
- "path",
3306
- "title",
3307
- "updated_at",
3308
- "excerpt",
3309
- "found_by",
3310
- "links"
3311
- ]),
3306
+ "note.hit": strictObject({
3307
+ ...pick(note, [
3308
+ "kind",
3309
+ "provider",
3310
+ "account",
3311
+ "url",
3312
+ "ref",
3313
+ "source",
3314
+ "folder_id",
3315
+ "path",
3316
+ "title",
3317
+ "updated_at",
3318
+ "excerpt",
3319
+ "found_by",
3320
+ "links"
3321
+ ]).entries,
3322
+ untrusted
3323
+ }),
3312
3324
  hit,
3313
3325
  document,
3314
3326
  document_link: documentLink,