@wirecat/tg-cli 0.101.0 → 0.102.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/dist/bin/tg.js +1 -1
  2. package/dist/bot/transport.d.ts.map +1 -1
  3. package/dist/bot/transport.js +14 -17
  4. package/dist/bot/transport.js.map +1 -1
  5. package/dist/bundle/{adapter-A3VD4Y6Z.js → adapter-M2HRSFFL.js} +90 -28
  6. package/dist/bundle/{all-profiles-UPVNHXB2.js → all-profiles-GOD2QNTK.js} +29 -8
  7. package/dist/bundle/{anthropic-IRKNWPIB.js → anthropic-LKU7RWMA.js} +3 -3
  8. package/dist/bundle/{bot-api-UNTQG2M5.js → bot-api-X3MPFVPL.js} +42 -46
  9. package/dist/bundle/{bot-history-V4RTY5K7.js → bot-history-OUMVVG22.js} +10 -10
  10. package/dist/bundle/{bun-2JZPG2NL.js → bun-LIZ6MKFS.js} +2 -2
  11. package/dist/bundle/{bun-sqlite-TZHKM225.js → bun-sqlite-2IFQYQ44.js} +2 -2
  12. package/dist/bundle/{chunk-VA5YEJS3.js → chunk-264DAFJV.js} +4 -4
  13. package/dist/bundle/{chunk-ZV24I2UJ.js → chunk-2SUTCDGO.js} +1 -1
  14. package/dist/bundle/{chunk-BX6HH4F6.js → chunk-334UBWOB.js} +10 -10
  15. package/dist/bundle/{chunk-2DGOFLDA.js → chunk-4PDEQL6T.js} +1 -1
  16. package/dist/bundle/chunk-4QB4WDLT.js +922 -0
  17. package/dist/bundle/{chunk-MLLJ74LM.js → chunk-5D6OJREA.js} +1 -1
  18. package/dist/bundle/{chunk-RF54YDBB.js → chunk-5DFGJPT6.js} +4 -4
  19. package/dist/bundle/{chunk-TGREFJVA.js → chunk-5VSR5ENL.js} +7 -7
  20. package/dist/bundle/{chunk-VCGL2ETF.js → chunk-AUOXTGTU.js} +1 -1
  21. package/dist/bundle/{chunk-X4Y2ROJI.js → chunk-BBC546ZA.js} +91 -2
  22. package/dist/bundle/{chunk-QOWSVDPZ.js → chunk-BQYTIYGB.js} +106 -95
  23. package/dist/bundle/{chunk-XCKD54TN.js → chunk-CLWYQNSC.js} +5 -5
  24. package/dist/bundle/{chunk-7CBUCTB6.js → chunk-CRZPQQHE.js} +27 -33
  25. package/dist/bundle/chunk-DE7LFMY2.js +440 -0
  26. package/dist/bundle/{chunk-ODSVNH3H.js → chunk-ENE5CSVY.js} +2373 -1266
  27. package/dist/bundle/{chunk-G2US6LJB.js → chunk-ERQDBK5I.js} +1 -1
  28. package/dist/bundle/{chunk-W2336E7Y.js → chunk-F2TG3BA2.js} +4 -4
  29. package/dist/bundle/{chunk-DYNSP6FW.js → chunk-FBWOQMPE.js} +1442 -769
  30. package/dist/bundle/{chunk-5TPT2S2Z.js → chunk-FOUE7XLK.js} +1 -1
  31. package/dist/bundle/{chunk-RVCS7Q3A.js → chunk-GSKFAE3I.js} +1287 -512
  32. package/dist/bundle/{chunk-6IPY2QRG.js → chunk-HLAZ65AW.js} +1 -1
  33. package/dist/bundle/{chunk-A5JSTZZZ.js → chunk-JFSVXMN6.js} +2 -2
  34. package/dist/bundle/{chunk-N5UFBWDM.js → chunk-M5UH5CF3.js} +5 -7
  35. package/dist/bundle/{chunk-F7TDFWXY.js → chunk-MGG7JSNO.js} +2 -2
  36. package/dist/bundle/{chunk-H6OXALTJ.js → chunk-OCWARAFE.js} +1 -1
  37. package/dist/bundle/{chunk-S7ZNLLY5.js → chunk-OHBHHBYL.js} +2 -2
  38. package/dist/bundle/{chunk-5GKXETRP.js → chunk-PSH7K6TL.js} +610 -51
  39. package/dist/bundle/{chunk-VYDTI254.js → chunk-Q2NYEX4A.js} +53 -34
  40. package/dist/bundle/{chunk-G3ZRY436.js → chunk-QEPZUFPL.js} +46 -46
  41. package/dist/bundle/{chunk-BXQS5RCE.js → chunk-QL7CQ6VZ.js} +253 -78
  42. package/dist/bundle/{chunk-NC5WS7OP.js → chunk-SRU3OF4R.js} +1 -1
  43. package/dist/bundle/{chunk-PUBS2F5J.js → chunk-TV5DGHBT.js} +242 -242
  44. package/dist/bundle/{chunk-ZEOCU24Z.js → chunk-TXBUDJ3P.js} +1 -1
  45. package/dist/bundle/{chunk-ACGTFLEB.js → chunk-U4RRZUNP.js} +8 -8
  46. package/dist/bundle/{chunk-LPB2MDUW.js → chunk-UK3GAN7Q.js} +6 -6
  47. package/dist/bundle/{chunk-UN6CKIBN.js → chunk-UR6ASUSG.js} +8 -5
  48. package/dist/bundle/{chunk-U46UNBMT.js → chunk-V52SBQYF.js} +236 -13
  49. package/dist/bundle/{chunk-S2JSZWEC.js → chunk-VUJ34PEQ.js} +9 -9
  50. package/dist/bundle/{chunk-QYVVRQTN.js → chunk-W5EB4JLV.js} +2 -2
  51. package/dist/bundle/{chunk-3KHKYYCR.js → chunk-WMOEOVWZ.js} +1 -0
  52. package/dist/bundle/{chunk-VRSN7VLO.js → chunk-WVEHUKCZ.js} +1 -1
  53. package/dist/bundle/{chunk-64DK7S4F.js → chunk-XXTJUZMB.js} +1 -1
  54. package/dist/bundle/{chunk-54R2GDQ3.js → chunk-Y4XSWI22.js} +3 -3
  55. package/dist/bundle/{chunk-4ZS73HTJ.js → chunk-YHB57PFN.js} +1 -1
  56. package/dist/bundle/{chunk-G77QOTXE.js → chunk-ZRNRQFTF.js} +1 -1
  57. package/dist/bundle/{command-contract-TKDI7E56.js → command-contract-A6VZN3ZR.js} +11 -11
  58. package/dist/bundle/{echarts-QZ6PR3VC.js → echarts-27W2CIBD.js} +2 -2
  59. package/dist/bundle/{embed-UBXCXSRD.js → embed-FGJ273X2.js} +2 -2
  60. package/dist/bundle/{embedder-B4ZTKC23.js → embedder-7ELL3CQ3.js} +5 -5
  61. package/dist/bundle/{entry-BTUTHO5M.js → entry-SEE5YWIX.js} +3 -3
  62. package/dist/bundle/{first-run-UC4HRIFV.js → first-run-BD7FEC3W.js} +5 -5
  63. package/dist/bundle/{first-screen-SMCX6YKY.js → first-screen-ASZV6LSA.js} +12 -12
  64. package/dist/bundle/{identity-QSDEGDH7.js → identity-QR4F42T6.js} +1 -1
  65. package/dist/bundle/{instructions-BBGLZKO3.js → instructions-L74K64PV.js} +1 -1
  66. package/dist/bundle/{node-LZZX22VR.js → node-RSL3HANO.js} +2 -2
  67. package/dist/bundle/{node-sqlite-BPGT6T5U.js → node-sqlite-7R3PYQGJ.js} +2 -2
  68. package/dist/bundle/{oauth-XNE2KPKJ.js → oauth-4ESGXF6U.js} +5 -5
  69. package/dist/bundle/{open-SXGYZLB5.js → open-DFYEUGTA.js} +1 -1
  70. package/dist/bundle/{process-GPUXC4PG.js → process-RMV3AKLB.js} +1 -1
  71. package/dist/bundle/{program-NEXEAL7T.js → program-PIUYQHBF.js} +54 -59
  72. package/dist/bundle/{prompt-SORGLEYI.js → prompt-H7GYQQLL.js} +2 -2
  73. package/dist/bundle/{recognize-UJBXORVD.js → recognize-3GMOLZF4.js} +3 -3
  74. package/dist/bundle/{remote-W72AR7KH.js → remote-IRWTCI2B.js} +3 -3
  75. package/dist/bundle/{rerank-3Y2VZM3J.js → rerank-W3OSXXBN.js} +3 -3
  76. package/dist/bundle/{serve-VDZIVOPR.js → serve-ZCPO44NO.js} +7 -7
  77. package/dist/bundle/{server-ZFHN4GUF.js → server-FXU4QFRB.js} +35 -32
  78. package/dist/bundle/{server-BERXP4GW.js → server-YWL4HDOP.js} +68 -59
  79. package/dist/bundle/{state-DGR4EE3E.js → state-MJPTDIB5.js} +3 -3
  80. package/dist/bundle/{store-MRCFSCZD.js → store-6VNQG56O.js} +7 -7
  81. package/dist/bundle/store-maintenance-command-62TQTMER.js +43 -0
  82. package/dist/bundle/tg.js +2 -2
  83. package/dist/telegram/sending.d.ts.map +1 -1
  84. package/dist/telegram/sending.js +52 -3
  85. package/dist/telegram/sending.js.map +1 -1
  86. package/dist/version.d.ts +1 -1
  87. package/dist/version.js +1 -1
  88. package/package.json +2 -2
  89. package/dist/bundle/chunk-22PQUX72.js +0 -190
  90. package/dist/bundle/chunk-CJ6IYCYP.js +0 -583
  91. package/dist/bundle/chunk-NKJJJAIJ.js +0 -237
  92. package/dist/bundle/chunk-NMGO6LW6.js +0 -1950
  93. package/dist/bundle/chunk-OILBDLWL.js +0 -724
  94. package/dist/bundle/chunk-OPBTNQ35.js +0 -1007
  95. package/dist/bundle/store-maintenance-command-DCMZDMYS.js +0 -46
@@ -4,16 +4,14 @@ import {
4
4
  WEIGHTS,
5
5
  agenda,
6
6
  attachment,
7
+ childTrace,
7
8
  closeSuggestion,
8
9
  conversation,
9
10
  recordLogFor,
10
11
  storeTable,
11
12
  tagging,
12
13
  task
13
- } from "./chunk-RVCS7Q3A.js";
14
- import {
15
- childTrace
16
- } from "./chunk-OPBTNQ35.js";
14
+ } from "./chunk-GSKFAE3I.js";
17
15
  import {
18
16
  author,
19
17
  count,
@@ -26,13 +24,13 @@ import {
26
24
  text,
27
25
  time,
28
26
  untrusted
29
- } from "./chunk-54R2GDQ3.js";
27
+ } from "./chunk-Y4XSWI22.js";
30
28
  import {
31
29
  envName
32
- } from "./chunk-ZV24I2UJ.js";
30
+ } from "./chunk-2SUTCDGO.js";
33
31
  import {
34
32
  carries
35
- } from "./chunk-VRSN7VLO.js";
33
+ } from "./chunk-WVEHUKCZ.js";
36
34
  import {
37
35
  FACT_STATUSES,
38
36
  FACT_TYPES,
@@ -62,7 +60,7 @@ import {
62
60
  meetingStats,
63
61
  meetingSummary,
64
62
  meetingTranscript
65
- } from "./chunk-G3ZRY436.js";
63
+ } from "./chunk-QEPZUFPL.js";
66
64
  import {
67
65
  resolvePaths,
68
66
  writeSecurely
@@ -105,7 +103,7 @@ import {
105
103
  __name
106
104
  } from "./chunk-AFV74GK3.js";
107
105
 
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
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/member.js
109
107
  var member = strictObject({
110
108
  id,
111
109
  name: nullable(text),
@@ -128,7 +126,7 @@ var member = strictObject({
128
126
  check: optional(record(string(), unknown()))
129
127
  });
130
128
 
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
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/chat.js
132
130
  var setting = optional(nullable(boolean()));
133
131
  var chat = strictObject({
134
132
  ref: reference,
@@ -169,7 +167,7 @@ var chat = strictObject({
169
167
  members: optional(array(member))
170
168
  });
171
169
 
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
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/list-results.js
173
171
  var botProfile = strictObject({
174
172
  name: text,
175
173
  token: text,
@@ -236,7 +234,7 @@ var stickerInventory = strictObject({
236
234
  url: optional(nullable(text))
237
235
  });
238
236
 
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
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
240
238
  var actionableError = objectWithRest({
241
239
  code: text,
242
240
  message: text,
@@ -253,7 +251,7 @@ var batchResult = strictObject({
253
251
  max_error_percent: count
254
252
  });
255
253
 
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
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
257
255
  var conversationBuild = strictObject({
258
256
  chat: id,
259
257
  messages: count,
@@ -278,13 +276,13 @@ var catchUpPreparation = strictObject({
278
276
  prepared: optional(conversationPreparation)
279
277
  });
280
278
 
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
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
282
280
  import { spawn } from "node:child_process";
283
281
  import { randomBytes } from "node:crypto";
284
282
  import { closeSync, existsSync, mkdirSync, openSync, readdirSync, readFileSync, realpathSync, rmSync } from "node:fs";
285
283
  import { dirname, join } from "node:path";
286
284
 
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
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
288
286
  var progressOf = /* @__PURE__ */ __name((input) => {
289
287
  const total = input.total ?? null;
290
288
  const updated = input.updatedAt ?? null;
@@ -300,7 +298,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
300
298
  };
301
299
  }, "progressOf");
302
300
 
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
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
304
302
  var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
305
303
  var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
306
304
  const out = openSync(log, "a", 384);
@@ -455,7 +453,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
455
453
  return { job: id6, pid, chat: input.chat, log };
456
454
  }, "startArchiveJob");
457
455
 
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
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/job.js
459
457
  var problem = strictObject({ code: text, message: text });
460
458
  var job = strictObject({
461
459
  id,
@@ -478,7 +476,7 @@ var job = strictObject({
478
476
  error: optional(problem)
479
477
  });
480
478
 
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
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/message.js
482
480
  var quoted = strictObject({
483
481
  id,
484
482
  sender_id: nullable(id),
@@ -573,7 +571,7 @@ var message = strictObject({
573
571
  provider_metadata: providerMetadata
574
572
  });
575
573
 
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
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
577
575
  var extractionItem = strictObject({
578
576
  ref: reference,
579
577
  attachment: count,
@@ -606,7 +604,7 @@ var extractionReport = strictObject({
606
604
  cursor: optional(text)
607
605
  });
608
606
 
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
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
610
608
  var savedMessageFile = strictObject({
611
609
  kind: text,
612
610
  path: text,
@@ -685,7 +683,7 @@ var messageSyncAll = strictObject({
685
683
  var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
686
684
  var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
687
685
 
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
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/store-records.js
689
687
  var range = strictObject({ from: number(), to: number() });
690
688
  var storeChatStatus = strictObject({
691
689
  chat_id: id,
@@ -776,7 +774,7 @@ var storeJobRetry = union([
776
774
  ]);
777
775
  var storeJobClear = strictObject({ cleared: array(id) });
778
776
 
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
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/account.js
780
778
  var account = strictObject({
781
779
  provider: text,
782
780
  id,
@@ -786,7 +784,7 @@ var account = strictObject({
786
784
  scope: optional(picklist(["personal", "work"]))
787
785
  });
788
786
 
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
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/account-session.js
790
788
  var accountSession = strictObject({
791
789
  current: boolean(),
792
790
  client: nullable(text),
@@ -796,7 +794,7 @@ var accountSession = strictObject({
796
794
  created_at: optional(nullable(time))
797
795
  });
798
796
 
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
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/account-change.js
800
798
  var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
801
799
  var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
802
800
  var audience = picklist(["everyone", "contacts", "nobody"]);
@@ -814,7 +812,7 @@ var accountPrivacy = strictObject({
814
812
  });
815
813
  var accountPrivacyChange = strictObject({ operation_id: id, privacy: accountPrivacy });
816
814
 
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
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
818
816
  var accountProfile = strictObject({
819
817
  profile: id,
820
818
  current: boolean(),
@@ -824,7 +822,7 @@ var accountProfile = strictObject({
824
822
  signed_in: optional(boolean())
825
823
  });
826
824
 
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
825
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
828
826
  var milliseconds = pipe(number(), minValue(0));
829
827
  var counterReading = strictObject({
830
828
  counter: picklist(["views", "reactions", "comments"]),
@@ -836,7 +834,7 @@ var counterReading = strictObject({
836
834
  });
837
835
  var selection = record(string(), unknown());
838
836
 
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
837
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
840
838
  var adminRow = strictObject({
841
839
  ref: reference,
842
840
  /** What `stats * evidence` takes: a person id, a stay or a message locator. */
@@ -889,11 +887,11 @@ var adminReport = strictObject({
889
887
  rows: array(adminRow)
890
888
  });
891
889
 
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
890
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
893
891
  var analysisConsent = strictObject({ chat: id, provider: text, at: time });
894
892
  var analysisConsentRevocation = strictObject({ revoked: boolean() });
895
893
 
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
894
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
897
895
  var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
898
896
  var attachmentBytes = strictObject({
899
897
  ref: reference,
@@ -921,7 +919,7 @@ var attachmentTextChange = strictObject({
921
919
  replaced: nullable(picklist(["extracted", "agent"]))
922
920
  });
923
921
 
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
922
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/chart.js
925
923
  var chart = strictObject({
926
924
  version: literal(1),
927
925
  kind: picklist(["bar", "line", "grouped-bar"]),
@@ -936,7 +934,7 @@ var chart = strictObject({
936
934
  file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
937
935
  });
938
936
 
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
937
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/folder.js
940
938
  var named = strictObject({
941
939
  id,
942
940
  title: nullable(text),
@@ -959,7 +957,7 @@ var folder = strictObject({
959
957
  excluded_chats: optional(array(named))
960
958
  });
961
959
 
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
960
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
963
961
  var inviteLink = strictObject({
964
962
  link: text,
965
963
  /** Who joins by it asks first, and an admin lets them in. */
@@ -975,7 +973,7 @@ var inviteLink = strictObject({
975
973
  joined_count: optional(count)
976
974
  });
977
975
 
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
976
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
979
977
  var operated = { operation_id: id, chat_id: id };
980
978
  var group = strictObject({
981
979
  ...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
@@ -1055,7 +1053,7 @@ var chatFolderOrder = strictObject({
1055
1053
  folders: array(strictObject({ id, title: text }))
1056
1054
  });
1057
1055
 
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
1056
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
1059
1057
  var operated2 = { operation_id: id, chat_id: id };
1060
1058
  var chatRemoval = strictObject(operated2);
1061
1059
  var chatMuting = strictObject({
@@ -1066,7 +1064,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
1066
1064
  var chatPin = strictObject({ ...operated2, pinned: boolean() });
1067
1065
  var chatUnread = strictObject({ ...operated2, unread: literal(true) });
1068
1066
 
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
1067
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
1070
1068
  var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
1071
1069
  var chatEvent = strictObject({
1072
1070
  chat_id: id,
@@ -1083,7 +1081,7 @@ var chatEvent = strictObject({
1083
1081
  before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
1084
1082
  });
1085
1083
 
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
1084
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
1087
1085
  var chatMetadata = strictObject({
1088
1086
  chat_id: id,
1089
1087
  title: nullable(text),
@@ -1098,7 +1096,7 @@ var chatMetadataRefresh = strictObject({
1098
1096
  has_more: boolean()
1099
1097
  });
1100
1098
 
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
1099
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
1102
1100
  var action = picklist(["report", "delete", "remove"]);
1103
1101
  var level = picklist(["deny", "readonly", "ask", "allow"]);
1104
1102
  var chatRules = strictObject({
@@ -1135,7 +1133,7 @@ var chatModeration = strictObject({
1135
1133
  }))
1136
1134
  });
1137
1135
 
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
1136
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
1139
1137
  var optionalCount = optional(count);
1140
1138
  var minutes = nullable(number());
1141
1139
  var chatStats = strictObject({
@@ -1197,7 +1195,7 @@ var taskStats = strictObject({
1197
1195
  }))
1198
1196
  });
1199
1197
 
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
1198
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
1201
1199
  var memberCount = strictObject({
1202
1200
  day: pipe(text, isoDate()),
1203
1201
  participants: nullable(count),
@@ -1220,7 +1218,7 @@ var chatTracking = strictObject({
1220
1218
  tracked: boolean()
1221
1219
  });
1222
1220
 
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
1221
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/contact.js
1224
1222
  var contact = strictObject({
1225
1223
  ref: reference,
1226
1224
  id,
@@ -1241,7 +1239,7 @@ var contact = strictObject({
1241
1239
  notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
1242
1240
  });
1243
1241
 
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
1242
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
1245
1243
  var linkedIdentity = strictObject({
1246
1244
  provider: text,
1247
1245
  id,
@@ -1282,7 +1280,7 @@ var contactCheck = strictObject({
1282
1280
  checked_at: time
1283
1281
  });
1284
1282
 
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
1283
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
1286
1284
  var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
1287
1285
  var contextMessage = strictObject({
1288
1286
  locator: reference,
@@ -1480,7 +1478,7 @@ var contactPreparation = strictObject({
1480
1478
  })
1481
1479
  });
1482
1480
 
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
1481
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
1484
1482
  var contactNote = strictObject({
1485
1483
  id,
1486
1484
  /** The contact, as a `contact:` reference. */
@@ -1492,7 +1490,7 @@ var contactNote = strictObject({
1492
1490
  updated_at: time
1493
1491
  });
1494
1492
 
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
1493
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
1496
1494
  var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
1497
1495
  var contactSync = strictObject({ added: count, changed: count, known: count });
1498
1496
  var contactProfile = strictObject({
@@ -1541,13 +1539,13 @@ var contactProfile = strictObject({
1541
1539
  }))
1542
1540
  });
1543
1541
 
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
1542
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
1545
1543
  var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
1546
1544
  var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
1547
1545
  var contactStateChange = strictObject({ operation_id: id, person_id: id });
1548
1546
  var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
1549
1547
 
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
1548
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
1551
1549
  var conversationDetails = union([
1552
1550
  strictObject({ ...conversation.entries, messages: array(message) }),
1553
1551
  message
@@ -1637,7 +1635,7 @@ var conversationHit = strictObject({
1637
1635
  stale: boolean()
1638
1636
  });
1639
1637
 
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
1638
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/counters.js
1641
1639
  var counters = strictObject({
1642
1640
  cutoff: time,
1643
1641
  max_age_ms: milliseconds,
@@ -1667,7 +1665,7 @@ var counterRefresh = strictObject({
1667
1665
  complete: optional(boolean())
1668
1666
  });
1669
1667
 
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
1668
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/document.js
1671
1669
  var document = strictObject({
1672
1670
  ref: reference,
1673
1671
  id,
@@ -1682,7 +1680,7 @@ var document = strictObject({
1682
1680
  owners: optional(array(text))
1683
1681
  });
1684
1682
 
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
1683
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/document-link.js
1686
1684
  var documentLink = strictObject({
1687
1685
  ref: reference,
1688
1686
  url: text,
@@ -1693,7 +1691,7 @@ var documentLink = strictObject({
1693
1691
  sender: strictObject({ id: nullable(id), name: nullable(text) })
1694
1692
  });
1695
1693
 
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
1694
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/evidence.js
1697
1695
  var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
1698
1696
  var contribution = strictObject({
1699
1697
  message: evidenceMessage,
@@ -1723,7 +1721,7 @@ var retentionStay = strictObject({
1723
1721
  });
1724
1722
  var evidence = union([contribution, retentionStay]);
1725
1723
 
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
1724
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/fact.js
1727
1725
  var fact = strictObject({
1728
1726
  ref: reference,
1729
1727
  id,
@@ -1746,7 +1744,7 @@ var fact = strictObject({
1746
1744
  updated_at: time
1747
1745
  });
1748
1746
 
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
1747
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/hit.js
1750
1748
  var hit = strictObject({
1751
1749
  kind: picklist(["message", "mail", "note", "document", "event", "meeting"]),
1752
1750
  ref: reference,
@@ -1773,7 +1771,7 @@ var hit = strictObject({
1773
1771
  untrusted
1774
1772
  });
1775
1773
 
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
1774
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/identity.js
1777
1775
  var identity = strictObject({
1778
1776
  ref: reference,
1779
1777
  provider: text,
@@ -1786,7 +1784,7 @@ var identity = strictObject({
1786
1784
  person: optional(nullable(reference))
1787
1785
  });
1788
1786
 
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
1787
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
1790
1788
  var imageEmbedding = strictObject({
1791
1789
  model: text,
1792
1790
  embedded: count,
@@ -1795,7 +1793,7 @@ var imageEmbedding = strictObject({
1795
1793
  more: boolean()
1796
1794
  });
1797
1795
 
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
1796
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/join-request.js
1799
1797
  var joinRequest = strictObject({
1800
1798
  person_id: id,
1801
1799
  name: nullable(text),
@@ -1806,7 +1804,7 @@ var joinRequest = strictObject({
1806
1804
  about: optional(text)
1807
1805
  });
1808
1806
 
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
1807
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
1810
1808
  var pollVote = strictObject({
1811
1809
  person_id: id,
1812
1810
  name: nullable(text),
@@ -1816,7 +1814,7 @@ var pollVote = strictObject({
1816
1814
  voted_at: time
1817
1815
  });
1818
1816
 
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
1817
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/listener.js
1820
1818
  var reactions = unwrap(unwrap(message.entries.reactions));
1821
1819
  var observation = strictObject({
1822
1820
  value: pipe(number(), minValue(0)),
@@ -1857,7 +1855,7 @@ var serveSummary = strictObject({
1857
1855
  tasks: optional(strictObject({ added: count, closed: count, review: count }))
1858
1856
  });
1859
1857
 
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
1858
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
1861
1859
  var mediaArchive = strictObject({
1862
1860
  directory: text,
1863
1861
  chats: count,
@@ -1889,7 +1887,7 @@ var mediaArchiveTimer = union([
1889
1887
  strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
1890
1888
  ]);
1891
1889
 
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
1890
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
1893
1891
  var preparationId = pipe(string(), minLength(1));
1894
1892
  var preparationCount = pipe(number(), integer(), minValue(0));
1895
1893
  var preparationTime = nullable(isoTime);
@@ -1981,7 +1979,7 @@ var preparationMeeting = strictObject({
1981
1979
  updated_at: isoTime
1982
1980
  });
1983
1981
 
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
1982
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
1985
1983
  var meetingEvidence = preparationEvidence;
1986
1984
  var meetingPersonContext = strictObject({
1987
1985
  person: strictObject({ uid: string(), name: nullable(string()) }),
@@ -2003,7 +2001,7 @@ var meetingPersonContext = strictObject({
2003
2001
  })
2004
2002
  });
2005
2003
 
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
2004
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
2007
2005
  var evidence2 = strictObject({ reference, fingerprint: text });
2008
2006
  var base = { id, project: reference, evidence: array(evidence2) };
2009
2007
  var finding = variant("kind", [
@@ -2041,7 +2039,7 @@ var meetingFindings = strictObject({
2041
2039
  receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome) }))
2042
2040
  });
2043
2041
 
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
2042
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
2045
2043
  var communicationCoverage = strictObject({
2046
2044
  read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
2047
2045
  query: string(),
@@ -2086,7 +2084,7 @@ var preparationCommunications = strictObject({
2086
2084
  }))
2087
2085
  });
2088
2086
 
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
2087
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
2090
2088
  var meetingPreparation = strictObject({
2091
2089
  communications: optional(preparationCommunications),
2092
2090
  schema_version: literal(1),
@@ -2199,7 +2197,7 @@ var meetingPreparation = strictObject({
2199
2197
  })
2200
2198
  });
2201
2199
 
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
2200
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
2203
2201
  var count3 = pipe(number(), integer(), minValue(0));
2204
2202
  var id3 = pipe(string(), minLength(1));
2205
2203
  var text3 = string();
@@ -2263,7 +2261,7 @@ var meetingProjectCandidates = strictObject({
2263
2261
  })
2264
2262
  });
2265
2263
 
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
2264
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
2267
2265
  var count4 = pipe(number(), integer(), minValue(0));
2268
2266
  var id4 = pipe(string(), minLength(1), maxLength(1e3));
2269
2267
  var meetingSeriesInventory = strictObject({
@@ -2293,7 +2291,7 @@ var meetingSeriesInventory = strictObject({
2293
2291
  })
2294
2292
  });
2295
2293
 
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
2294
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
2297
2295
  var text4 = string();
2298
2296
  var id5 = pipe(number(), integer(), minValue(1));
2299
2297
  var revision = picklist(["current", "superseded"]);
@@ -2310,7 +2308,7 @@ var meetingTaskProposal = strictObject({
2310
2308
  persistence: literal("proposal-only")
2311
2309
  });
2312
2310
 
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
2311
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/memory.js
2314
2312
  var memory = strictObject({
2315
2313
  ref: reference,
2316
2314
  id,
@@ -2329,7 +2327,7 @@ var memory = strictObject({
2329
2327
  updated_at: time
2330
2328
  });
2331
2329
 
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
2330
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/mention.js
2333
2331
  var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
2334
2332
  var status = picklist(["found", "linked", "dismissed"]);
2335
2333
  var mention = strictObject({
@@ -2372,13 +2370,13 @@ var mentionRebuild = strictObject({
2372
2370
  mentions: count
2373
2371
  });
2374
2372
 
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
2373
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/message-change.js
2376
2374
  var operated3 = { operation_id: id, chat_id: id };
2377
2375
  var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
2378
2376
  var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
2379
2377
  var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
2380
2378
 
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
2379
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/message-read.js
2382
2380
  var messageTranscript = strictObject({
2383
2381
  message_id: id,
2384
2382
  text,
@@ -2436,7 +2434,7 @@ var evidencePacket = strictObject({
2436
2434
  }))
2437
2435
  });
2438
2436
 
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
2437
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/message-context.js
2440
2438
  var messageThread = strictObject({
2441
2439
  ref: reference,
2442
2440
  chat: id,
@@ -2453,7 +2451,7 @@ var messageThread = strictObject({
2453
2451
  });
2454
2452
  var messageContext = union([message, messageThread]);
2455
2453
 
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
2454
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
2457
2455
  var messageCounts = strictObject({
2458
2456
  by: picklist(["chat", "sender", "day", "hour"]),
2459
2457
  total: count,
@@ -2466,7 +2464,7 @@ var messageCounts = strictObject({
2466
2464
  }))
2467
2465
  });
2468
2466
 
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
2467
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/message-link.js
2470
2468
  var messageLink = strictObject({
2471
2469
  ref: reference,
2472
2470
  url: nullable(text),
@@ -2475,7 +2473,7 @@ var messageLink = strictObject({
2475
2473
  reason: nullable(picklist(["unsupported_chat", "unsupported_provider", "offline"]))
2476
2474
  });
2477
2475
 
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
2476
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/message-write.js
2479
2477
  var messageWrite = strictObject({
2480
2478
  operation_id: id,
2481
2479
  message,
@@ -2490,7 +2488,7 @@ var draftWrite = strictObject({
2490
2488
  });
2491
2489
  var messageSend = union([messageWrite, draftWrite]);
2492
2490
 
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
2491
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/model.js
2494
2492
  var model = strictObject({
2495
2493
  id,
2496
2494
  kind: picklist(["audio", "text", "image", "reranker"]),
@@ -2507,7 +2505,7 @@ var model = strictObject({
2507
2505
  path: text
2508
2506
  });
2509
2507
 
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
2508
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/model-key.js
2511
2509
  var source = picklist(["environment", "keyring", "file"]);
2512
2510
  var modelKey = strictObject({
2513
2511
  provider: text,
@@ -2517,7 +2515,7 @@ var modelKey = strictObject({
2517
2515
  var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
2518
2516
  var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
2519
2517
 
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
2518
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
2521
2519
  var versus = strictObject({ current: number(), previous: number() });
2522
2520
  var person = { person_ref: reference, name: nullable(text) };
2523
2521
  var graph = strictObject({
@@ -2551,14 +2549,14 @@ var officialStats = strictObject({
2551
2549
  graphs: record(string(), union([graph, strictObject({ error: text })]))
2552
2550
  });
2553
2551
 
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
2552
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/person.js
2555
2553
  var person2 = strictObject({
2556
2554
  ref: reference,
2557
2555
  name: nullable(text),
2558
2556
  identities: optional(array(identity))
2559
2557
  });
2560
2558
 
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
2559
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/poll.js
2562
2560
  var poll = strictObject({
2563
2561
  chat_id: id,
2564
2562
  message_id: id,
@@ -2574,11 +2572,11 @@ var poll = strictObject({
2574
2572
  });
2575
2573
  var pollChange = strictObject({ operation_id: id, poll });
2576
2574
 
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
2575
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
2578
2576
  var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
2579
2577
  var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
2580
2578
 
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
2579
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/ranking.js
2582
2580
  var figures = record(string(), number());
2583
2581
  var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
2584
2582
  var rankingRow = strictObject({
@@ -2625,7 +2623,7 @@ var ranking = strictObject({
2625
2623
  rows: array(rankingRow)
2626
2624
  });
2627
2625
 
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
2626
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
2629
2627
  var reactionChange = strictObject({
2630
2628
  operation_id: id,
2631
2629
  chat_id: id,
@@ -2633,7 +2631,7 @@ var reactionChange = strictObject({
2633
2631
  reaction: nullable(text)
2634
2632
  });
2635
2633
 
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
2634
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/recipient.js
2637
2635
  var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
2638
2636
  var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
2639
2637
  var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
@@ -2644,7 +2642,7 @@ var recipientChange = strictObject({
2644
2642
  ...partial(recipientOff).entries
2645
2643
  });
2646
2644
 
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
2645
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
2648
2646
  var events = array(record(string(), unknown()));
2649
2647
  var recordedRun = strictObject({
2650
2648
  run_id: id,
@@ -2673,7 +2671,20 @@ var recordedRun = strictObject({
2673
2671
  cli_command: optional(text),
2674
2672
  argv: optional(array(text)),
2675
2673
  unknown_command: optional(text),
2676
- agent: optional(strictObject({ kind: text, session_id: nullable(text), from_chat: optional(literal(true)) })),
2674
+ agent: optional(strictObject({
2675
+ kind: text,
2676
+ session_id: nullable(text),
2677
+ from_chat: optional(literal(true)),
2678
+ client: optional(strictObject({ name: text, version: optional(text), id: optional(text) }))
2679
+ })),
2680
+ via: optional(picklist(["cli", "mcp-stdio", "mcp-http", "desktop"])),
2681
+ mcp: optional(strictObject({
2682
+ tool: text,
2683
+ request_id: optional(text),
2684
+ connection_id: optional(text),
2685
+ proxied: optional(literal(true))
2686
+ })),
2687
+ events_dropped: optional(count),
2677
2688
  error: optional(strictObject({
2678
2689
  class: text,
2679
2690
  code: optional(text),
@@ -2703,7 +2714,7 @@ var runHit = strictObject({
2703
2714
  });
2704
2715
  var runLocation = strictObject({ path: text });
2705
2716
 
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
2717
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/relationship.js
2707
2718
  var relationship = strictObject({
2708
2719
  id,
2709
2720
  from: reference,
@@ -2718,7 +2729,7 @@ var relationship = strictObject({
2718
2729
  created_at: time
2719
2730
  });
2720
2731
 
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
2732
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/retention.js
2722
2733
  var retentionCohort = strictObject({
2723
2734
  /** The first day of the joining day or week. */
2724
2735
  cohort: text,
@@ -2766,7 +2777,7 @@ var retention = strictObject({
2766
2777
  rows: array(retentionCohort)
2767
2778
  });
2768
2779
 
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
2780
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
2770
2781
  var savedSearch = strictObject({
2771
2782
  id,
2772
2783
  /** `null` for a run in the history. */
@@ -2783,7 +2794,7 @@ var savedSearch = strictObject({
2783
2794
  });
2784
2795
  var searchHistoryClear = strictObject({ cleared: count });
2785
2796
 
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
2797
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
2787
2798
  var sendAttempt = strictObject({
2788
2799
  at: time,
2789
2800
  profile: text,
@@ -2811,7 +2822,7 @@ var sendAttempt = strictObject({
2811
2822
  error_code: optional(text)
2812
2823
  });
2813
2824
 
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
2825
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
2815
2826
  var absent = strictObject({ path: text, exists: literal(false) });
2816
2827
  var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
2817
2828
  var infoSchema = strictObject({
@@ -3019,7 +3030,7 @@ var storeRepair = union([
3019
3030
  ]);
3020
3031
  var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
3021
3032
 
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
3033
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
3023
3034
  var tagTarget = variant("type", [
3024
3035
  strictObject({ type: literal("chat"), chat_id: id }),
3025
3036
  strictObject({ type: literal("contact"), person_id: id }),
@@ -3050,7 +3061,7 @@ var automaticTags = strictObject({
3050
3061
  dry_run: boolean()
3051
3062
  });
3052
3063
 
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
3064
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
3054
3065
  var side = strictObject({ ref: reference, key: text, title: text, status: text });
3055
3066
  var taskPair = strictObject({
3056
3067
  task: nullable(side),
@@ -3073,7 +3084,7 @@ var taskPair = strictObject({
3073
3084
  created_at: time
3074
3085
  });
3075
3086
 
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
3087
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/task-results.js
3077
3088
  var nullableTime = nullable(time);
3078
3089
  var link = strictObject({
3079
3090
  id,
@@ -3197,7 +3208,7 @@ var taskScan = strictObject({
3197
3208
  tasks: array(strictObject({ source: text, kind: picklist(TASK_KINDS), category: nullable(text) }))
3198
3209
  });
3199
3210
 
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
3211
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/topic.js
3201
3212
  var topic = strictObject({
3202
3213
  id,
3203
3214
  title: text,
@@ -3211,7 +3222,7 @@ var topic = strictObject({
3211
3222
  untrusted
3212
3223
  });
3213
3224
 
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
3225
+ // node_modules/.pnpm/@wirecat+cli-core@0.467.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.64.0_commander@15._7a700db966f96e9df6d3178e7072efc2/node_modules/@wirecat/cli-core/dist/entities/index.js
3215
3226
  var ENTITIES = {
3216
3227
  sync_progress: progress,
3217
3228
  ...MEETING_RESULT_ENTITIES,