@wirecat/tg-cli 0.124.0 → 0.125.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 (116) hide show
  1. package/contracts/wirecat.json +7 -1
  2. package/dist/bin/tg.js +2 -2
  3. package/dist/bundle/{adapter-GEIZVMWU.js → adapter-H2LTOLOA.js} +52 -53
  4. package/dist/bundle/{all-profiles-EY4GJFWN.js → all-profiles-75HGEFL7.js} +10 -10
  5. package/dist/bundle/{anthropic-RIANJ7WM.js → anthropic-N54MKE4C.js} +5 -5
  6. package/dist/bundle/{app-server-LW7WBFIF.js → app-server-3N5INKKI.js} +45 -45
  7. package/dist/bundle/{bot-api-FHIQ66OM.js → bot-api-V65KTEAH.js} +53 -54
  8. package/dist/bundle/{bot-history-O34YZEFH.js → bot-history-TT2EAHEE.js} +18 -18
  9. package/dist/bundle/{bun-MJWD4VGV.js → bun-LN4J7PA7.js} +2 -2
  10. package/dist/bundle/{bun-sqlite-LCHVO3OB.js → bun-sqlite-6PDBFBUI.js} +6 -6
  11. package/dist/bundle/{chunk-N5UM63JW.js → chunk-37SZHAEA.js} +55 -55
  12. package/dist/bundle/{chunk-A5RWKKBZ.js → chunk-3GILMKQ2.js} +3 -3
  13. package/dist/bundle/{chunk-XDHGM2Z7.js → chunk-4KIOWSDL.js} +3 -3
  14. package/dist/bundle/{chunk-ZL5YG2WK.js → chunk-4TCBRKWQ.js} +7 -7
  15. package/dist/bundle/{chunk-CDSSKK5J.js → chunk-6HLB73UN.js} +3 -3
  16. package/dist/bundle/{chunk-OH3IZ6GW.js → chunk-6Y6SSZ34.js} +100 -91
  17. package/dist/bundle/{chunk-3VVZFBE2.js → chunk-77Z3OGAT.js} +3 -3
  18. package/dist/bundle/{chunk-E6VSARSU.js → chunk-7KCBPAQS.js} +2 -2
  19. package/dist/bundle/{chunk-F3GHTPAO.js → chunk-7OBSIDBJ.js} +4 -4
  20. package/dist/bundle/{chunk-OVDB5CQM.js → chunk-AI2J3WJT.js} +1 -1
  21. package/dist/bundle/{chunk-HSRO77SW.js → chunk-AMPHPP4P.js} +15 -15
  22. package/dist/bundle/{chunk-SGBH3D5D.js → chunk-B252D7V4.js} +3 -3
  23. package/dist/bundle/{chunk-2YLIVDWJ.js → chunk-BLNMM3AX.js} +2 -2
  24. package/dist/bundle/{chunk-GUL6QLNI.js → chunk-CNEJQQMD.js} +17 -17
  25. package/dist/bundle/{chunk-QFV36CAH.js → chunk-DI3RJ3MJ.js} +4 -4
  26. package/dist/bundle/{chunk-DFSLHF46.js → chunk-DNCOELTM.js} +1 -1
  27. package/dist/bundle/{chunk-54JPEGQA.js → chunk-DYOZ7CUV.js} +2 -2
  28. package/dist/bundle/{chunk-E66JBGZZ.js → chunk-E4HDE5DN.js} +2 -2
  29. package/dist/bundle/{chunk-5EL6E6PW.js → chunk-EIGV2JKX.js} +1 -1
  30. package/dist/bundle/{chunk-RHJHOOUL.js → chunk-FHPEUAHQ.js} +181 -155
  31. package/dist/bundle/{chunk-PJGOQSE5.js → chunk-FIVFP53N.js} +1 -1
  32. package/dist/bundle/{chunk-ISGXVFA4.js → chunk-FSP74THJ.js} +4 -4
  33. package/dist/bundle/{chunk-UP3J3YXH.js → chunk-FUYCAROL.js} +6 -6
  34. package/dist/bundle/{chunk-VGUWIHXD.js → chunk-GRDVBJCR.js} +1 -1
  35. package/dist/bundle/{chunk-NL4COYPY.js → chunk-GUPMDMFM.js} +7 -7
  36. package/dist/bundle/{chunk-KVJSCJGZ.js → chunk-HHG5FR5H.js} +2 -2
  37. package/dist/bundle/{chunk-PP4ZBLS4.js → chunk-IN3NAFUN.js} +9 -9
  38. package/dist/bundle/{chunk-NQXVZ5WT.js → chunk-INZAZMUF.js} +6 -6
  39. package/dist/bundle/{chunk-OK4M4MWI.js → chunk-IX3GUNGV.js} +4 -4
  40. package/dist/bundle/{chunk-RBV4M2TC.js → chunk-JB4BO5XZ.js} +1 -1
  41. package/dist/bundle/{chunk-42R4YO4L.js → chunk-JC6HMPL7.js} +1076 -877
  42. package/dist/bundle/{chunk-3PLMMFP6.js → chunk-JCNKGZQG.js} +17 -17
  43. package/dist/bundle/{chunk-PI4XXMPG.js → chunk-JKF7LZBU.js} +6 -6
  44. package/dist/bundle/{chunk-XSGUG5WG.js → chunk-LD42OGKK.js} +4 -4
  45. package/dist/bundle/{chunk-VMWJGUVV.js → chunk-LU2CHHPC.js} +4 -4
  46. package/dist/bundle/{chunk-OIF4B526.js → chunk-M4OP5ASJ.js} +1 -1
  47. package/dist/bundle/{chunk-2GFGZDWS.js → chunk-MK4IKICN.js} +2 -2
  48. package/dist/bundle/{chunk-4CIVGT4P.js → chunk-NM5GBJME.js} +19 -19
  49. package/dist/bundle/{chunk-IVFUSI7G.js → chunk-NTHALPDT.js} +2 -2
  50. package/dist/bundle/{chunk-M4W4Y5YR.js → chunk-OG2ONSH6.js} +53 -32
  51. package/dist/bundle/{chunk-2NG4JPP7.js → chunk-PCC7GWOS.js} +4 -4
  52. package/dist/bundle/{chunk-UII3D3HR.js → chunk-QVK7NF3A.js} +30 -30
  53. package/dist/bundle/{chunk-QGCVQRHV.js → chunk-QYT6HDCL.js} +1 -1
  54. package/dist/bundle/{chunk-BV3HZYOX.js → chunk-RX5GU7GQ.js} +359 -326
  55. package/dist/bundle/{chunk-LKMZ53GC.js → chunk-RZ7KBWDQ.js} +2 -2
  56. package/dist/bundle/{chunk-7AWJZ6NJ.js → chunk-S4SOS27T.js} +8 -8
  57. package/dist/bundle/{chunk-W4LMTNN2.js → chunk-SGHF75RQ.js} +2 -2
  58. package/dist/bundle/{chunk-WSLIXJET.js → chunk-TAFH5K5D.js} +346 -268
  59. package/dist/bundle/{chunk-QK4T3VN7.js → chunk-TVQBOIWC.js} +1 -1
  60. package/dist/bundle/{chunk-4EGB7GSW.js → chunk-UG66U2T7.js} +18 -19
  61. package/dist/bundle/{chunk-I4JUKRW7.js → chunk-URFBZNLU.js} +2 -2
  62. package/dist/bundle/{chunk-VAKSXD4F.js → chunk-UTNK2PFE.js} +13 -13
  63. package/dist/bundle/{chunk-PZ6H65D6.js → chunk-VG3EQJYV.js} +34 -5
  64. package/dist/bundle/{chunk-ZNICTHSC.js → chunk-VHD4V64E.js} +1 -1
  65. package/dist/bundle/{chunk-ZTMV5M3D.js → chunk-VUBSGQ2O.js} +26 -24
  66. package/dist/bundle/{chunk-HEV23NIB.js → chunk-VZDAVZYX.js} +6 -6
  67. package/dist/bundle/{chunk-IK6XKMLL.js → chunk-WH4T44L3.js} +1 -1
  68. package/dist/bundle/{chunk-YQFO7WXQ.js → chunk-X6436BYW.js} +2 -2
  69. package/dist/bundle/{chunk-UR62DZ7Q.js → chunk-XS5C5TQ7.js} +8 -8
  70. package/dist/bundle/{chunk-WKOVQ4OU.js → chunk-XTNOBJRP.js} +12 -12
  71. package/dist/bundle/{chunk-ASEBKZFY.js → chunk-YRZXOQOB.js} +2 -2
  72. package/dist/bundle/{chunk-QWAMX6CN.js → chunk-ZX5OSZHH.js} +12 -12
  73. package/dist/bundle/command-contract-JP6SCP7U.js +34 -0
  74. package/dist/bundle/{command-server-entry-K52OEKIO.js → command-server-entry-BLSFT3T6.js} +24 -24
  75. package/dist/bundle/{decode-OAE25LEJ.js → decode-NNLEQU7B.js} +5 -5
  76. package/dist/bundle/{dispatch-6GVTXIZ2.js → dispatch-PRAIGIFS.js} +8 -8
  77. package/dist/bundle/{echarts-EO4ZGKMN.js → echarts-XAZHGDOM.js} +2 -2
  78. package/dist/bundle/{embed-TB2AS4AT.js → embed-Q7ZCVSCO.js} +6 -6
  79. package/dist/bundle/{embedder-YKC42G6L.js → embedder-MVS3PVWQ.js} +9 -9
  80. package/dist/bundle/{entry-AB6FU7BN.js → entry-XN3ZZAOK.js} +9 -9
  81. package/dist/bundle/{failure-CY7ACT6V.js → failure-7Y34AUJT.js} +2 -2
  82. package/dist/bundle/{first-run-CMQZHDI5.js → first-run-G4EFTONI.js} +11 -11
  83. package/dist/bundle/first-screen-RIDJEPC3.js +32 -0
  84. package/dist/bundle/{instructions-RM3IB6ID.js → instructions-QDHYYZBU.js} +1 -1
  85. package/dist/bundle/{mcp-M5YCSWJJ.js → mcp-TDKGDB4V.js} +2 -2
  86. package/dist/bundle/{node-D2PM62TA.js → node-3Y7OVY2U.js} +2 -2
  87. package/dist/bundle/{node-sqlite-UK5DE525.js → node-sqlite-R2SBROJM.js} +7 -7
  88. package/dist/bundle/{oauth-SKRG67A2.js → oauth-WSPWMWTV.js} +7 -7
  89. package/dist/bundle/{open-XP3SY62D.js → open-VFLF4HRQ.js} +5 -5
  90. package/dist/bundle/{openai-Q3U46UPA.js → openai-DFCKZZDV.js} +21 -20
  91. package/dist/bundle/{process-YJ4LHMJB.js → process-VZKFAGNP.js} +1 -1
  92. package/dist/bundle/{program-EEPEFKTR.js → program-2LB3CUZX.js} +62 -60
  93. package/dist/bundle/{prompt-WYTODP4U.js → prompt-RVLA2PEY.js} +5 -5
  94. package/dist/bundle/{proxy-transport-HJMQ5QFT.js → proxy-transport-DP7SIMIC.js} +5 -5
  95. package/dist/bundle/{recognize-K2S5QQU2.js → recognize-LEKNA3G5.js} +4 -4
  96. package/dist/bundle/{remote-7RSAJ3JC.js → remote-WG5V2I2G.js} +9 -9
  97. package/dist/bundle/{rerank-RJX77BKD.js → rerank-ONAEQVJ6.js} +7 -7
  98. package/dist/bundle/{serve-3E7NN3VW.js → serve-BL2X6FZG.js} +9 -9
  99. package/dist/bundle/{server-O3KU56A4.js → server-3LSC4BMK.js} +36 -36
  100. package/dist/bundle/server-7EYEEGJT.js +62 -0
  101. package/dist/bundle/{sqlite-runtime-RCS5WSG5.js → sqlite-runtime-RQXPRH6C.js} +6 -6
  102. package/dist/bundle/{state-PLWSPSAG.js → state-O7LRA526.js} +6 -6
  103. package/dist/bundle/{store-3FYLH53Z.js → store-7C4UAND2.js} +15 -15
  104. package/dist/bundle/{store-DWMKCXYL.js → store-HMJUPK45.js} +13 -13
  105. package/dist/bundle/store-maintenance-command-I7PSA3SZ.js +52 -0
  106. package/dist/bundle/tg.js +13 -13
  107. package/dist/version.d.ts +1 -1
  108. package/dist/version.js +1 -1
  109. package/package.json +3 -3
  110. package/skills/tg-cli/SKILL.md +6 -2
  111. package/dist/bundle/chunk-VIIIC5LU.js +0 -32
  112. package/dist/bundle/command-contract-UKOL455D.js +0 -34
  113. package/dist/bundle/first-screen-XZ73W3VE.js +0 -32
  114. package/dist/bundle/server-ITHYDPWQ.js +0 -62
  115. package/dist/bundle/store-maintenance-command-3UEKINRB.js +0 -52
  116. /package/dist/bundle/{chunk-HVJJWJYQ.js → chunk-XWBPP2HX.js} +0 -0
@@ -9,29 +9,29 @@ import {
9
9
  providerErrorKey,
10
10
  renderEvent,
11
11
  runContextOf
12
- } from "./chunk-ZL5YG2WK.js";
12
+ } from "./chunk-4TCBRKWQ.js";
13
13
  import {
14
14
  permissionCeiling
15
- } from "./chunk-SGBH3D5D.js";
15
+ } from "./chunk-B252D7V4.js";
16
16
  import {
17
17
  ancestorValue,
18
18
  envName,
19
19
  readOnlyLockOf,
20
20
  readOnlyRefusal
21
- } from "./chunk-54JPEGQA.js";
21
+ } from "./chunk-DYOZ7CUV.js";
22
22
  import {
23
23
  carries
24
- } from "./chunk-QK4T3VN7.js";
24
+ } from "./chunk-TVQBOIWC.js";
25
25
  import {
26
26
  endpoint
27
- } from "./chunk-VIIIC5LU.js";
27
+ } from "./chunk-VG3EQJYV.js";
28
28
  import {
29
29
  note
30
- } from "./chunk-A5RWKKBZ.js";
30
+ } from "./chunk-3GILMKQ2.js";
31
31
  import {
32
32
  filesPresent,
33
33
  sharedModelsDirectory
34
- } from "./chunk-2NG4JPP7.js";
34
+ } from "./chunk-PCC7GWOS.js";
35
35
  import {
36
36
  BUSINESS_KINDS,
37
37
  CATEGORIES,
@@ -109,19 +109,19 @@ import {
109
109
  typedCommand,
110
110
  untrusted,
111
111
  useAsProcessRun
112
- } from "./chunk-OH3IZ6GW.js";
112
+ } from "./chunk-6Y6SSZ34.js";
113
113
  import {
114
114
  isCliFailure,
115
115
  storeDamaged
116
- } from "./chunk-3VVZFBE2.js";
116
+ } from "./chunk-77Z3OGAT.js";
117
117
  import {
118
118
  readSharedSection,
119
119
  sharedConfigPath,
120
120
  writeSharedSection
121
- } from "./chunk-UP3J3YXH.js";
121
+ } from "./chunk-FUYCAROL.js";
122
122
  import {
123
123
  storePath
124
- } from "./chunk-IVFUSI7G.js";
124
+ } from "./chunk-NTHALPDT.js";
125
125
  import {
126
126
  configFilePath,
127
127
  createRecordLog,
@@ -133,7 +133,7 @@ import {
133
133
  resolvePaths,
134
134
  saveConfigFile,
135
135
  writeSecurely
136
- } from "./chunk-4CIVGT4P.js";
136
+ } from "./chunk-NM5GBJME.js";
137
137
  import {
138
138
  COMPACT_FLAG,
139
139
  MAX_NEXT_STEPS,
@@ -187,18 +187,18 @@ import {
187
187
  url,
188
188
  variant,
189
189
  writes
190
- } from "./chunk-UR62DZ7Q.js";
190
+ } from "./chunk-XS5C5TQ7.js";
191
191
  import {
192
192
  CliError,
193
193
  isCliError,
194
194
  singleLine,
195
195
  visibleControls
196
- } from "./chunk-E6VSARSU.js";
196
+ } from "./chunk-7KCBPAQS.js";
197
197
  import {
198
198
  __name
199
199
  } from "./chunk-ZVVMGPBJ.js";
200
200
 
201
- // node_modules/.pnpm/@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/registry.js
201
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/registry.js
202
202
  var labels = /* @__PURE__ */ new WeakMap();
203
203
  var annotate = /* @__PURE__ */ __name((command, meta) => {
204
204
  labels.set(command, { ...labels.get(command), ...meta });
@@ -3699,7 +3699,7 @@ __name(useColor, "useColor");
3699
3699
  // node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
3700
3700
  var program = new Command();
3701
3701
 
3702
- // node_modules/.pnpm/@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/contracts.js
3702
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/contracts.js
3703
3703
  import { isDeepStrictEqual } from "node:util";
3704
3704
  var protectedCommands = /* @__PURE__ */ new WeakMap();
3705
3705
  var hasSharedContract = /* @__PURE__ */ __name((command) => protectedCommands.has(command), "hasSharedContract");
@@ -3901,7 +3901,7 @@ var customizeSharedCommand = /* @__PURE__ */ __name((reference2, reason, build,
3901
3901
  return command;
3902
3902
  }, "customizeSharedCommand");
3903
3903
 
3904
- // node_modules/.pnpm/@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/document.js
3904
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/document.js
3905
3905
  var argumentInfoSchema = object({
3906
3906
  name: string(),
3907
3907
  required: boolean(),
@@ -3975,7 +3975,7 @@ var commandsDocumentSchema = strictObject({
3975
3975
  exit_codes: record(string(), pipe(number(), integer()))
3976
3976
  });
3977
3977
 
3978
- // node_modules/.pnpm/@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/index.js
3978
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/index.js
3979
3979
  var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
3980
3980
  let command = root;
3981
3981
  const path2 = [];
@@ -3993,7 +3993,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
3993
3993
  }
3994
3994
  }, "refuseJoinedPath");
3995
3995
 
3996
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/sends/permissions.js
3996
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/sends/permissions.js
3997
3997
  var LEVELS = ["deny", "readonly", "ask", "allow"];
3998
3998
  var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
3999
3999
  var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
@@ -4397,7 +4397,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
4397
4397
  }
4398
4398
  }, "assertRetentionEvidenceRead");
4399
4399
 
4400
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/account.js
4400
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/account.js
4401
4401
  var account = strictObject({
4402
4402
  provider: text,
4403
4403
  id,
@@ -4407,7 +4407,7 @@ var account = strictObject({
4407
4407
  scope: optional(picklist(["personal", "work"]))
4408
4408
  });
4409
4409
 
4410
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/account-session.js
4410
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/account-session.js
4411
4411
  var accountSession = strictObject({
4412
4412
  current: boolean(),
4413
4413
  client: nullable(text),
@@ -4417,7 +4417,7 @@ var accountSession = strictObject({
4417
4417
  created_at: optional(nullable(time))
4418
4418
  });
4419
4419
 
4420
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/account-change.js
4420
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/account-change.js
4421
4421
  var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
4422
4422
  var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
4423
4423
  var audience = picklist(["everyone", "contacts", "nobody"]);
@@ -4446,7 +4446,7 @@ var accountRemoval = strictObject({
4446
4446
  kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
4447
4447
  });
4448
4448
 
4449
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
4449
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
4450
4450
  var accountProfile = strictObject({
4451
4451
  profile: id,
4452
4452
  current: boolean(),
@@ -4458,7 +4458,7 @@ var accountProfile = strictObject({
4458
4458
  bot: optional(literal(true))
4459
4459
  });
4460
4460
 
4461
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
4461
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
4462
4462
  var milliseconds = pipe(number(), minValue(0));
4463
4463
  var counterReading = strictObject({
4464
4464
  counter: picklist(["views", "reactions", "comments"]),
@@ -4470,7 +4470,7 @@ var counterReading = strictObject({
4470
4470
  });
4471
4471
  var selection = record(string(), unknown());
4472
4472
 
4473
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
4473
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
4474
4474
  var adminRow = strictObject({
4475
4475
  ref: reference,
4476
4476
  /** What `stats * evidence` takes: a person id, a stay or a message locator. */
@@ -4523,7 +4523,7 @@ var adminReport = strictObject({
4523
4523
  rows: array(adminRow)
4524
4524
  });
4525
4525
 
4526
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/task.js
4526
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/task.js
4527
4527
  var closeSuggestion = strictObject({
4528
4528
  as: picklist(["done", "dismissed"]),
4529
4529
  /** The agent's name. */
@@ -4585,7 +4585,7 @@ var task = strictObject({
4585
4585
  updated_at: optional(time)
4586
4586
  });
4587
4587
 
4588
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/agenda.js
4588
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/agenda.js
4589
4589
  var agendaChat = strictObject({
4590
4590
  chat: reference,
4591
4591
  title: nullable(text),
@@ -4655,11 +4655,11 @@ var agenda = strictObject({
4655
4655
  unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
4656
4656
  });
4657
4657
 
4658
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
4658
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
4659
4659
  var analysisConsent = strictObject({ chat: id, provider: text, at: time });
4660
4660
  var analysisConsentRevocation = strictObject({ revoked: boolean() });
4661
4661
 
4662
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/attachment.js
4662
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/attachment.js
4663
4663
  var attachment = strictObject({
4664
4664
  /** The message it came with, as a locator; absent inside that message. */
4665
4665
  message: optional(reference),
@@ -4704,7 +4704,7 @@ var hitFile = strictObject({
4704
4704
  local_path: optional(text)
4705
4705
  });
4706
4706
 
4707
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
4707
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
4708
4708
  var actionableError = objectWithRest({
4709
4709
  code: text,
4710
4710
  message: text,
@@ -4721,7 +4721,7 @@ var batchResult = strictObject({
4721
4721
  max_error_percent: count
4722
4722
  });
4723
4723
 
4724
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
4724
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
4725
4725
  var extractionItem = strictObject({
4726
4726
  ref: reference,
4727
4727
  attachment: count,
@@ -4754,7 +4754,7 @@ var extractionReport = strictObject({
4754
4754
  cursor: optional(text)
4755
4755
  });
4756
4756
 
4757
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
4757
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
4758
4758
  var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
4759
4759
  var attachmentBytes = strictObject({
4760
4760
  ref: reference,
@@ -4785,7 +4785,7 @@ var attachmentTextChange = strictObject({
4785
4785
  text: optional(text)
4786
4786
  });
4787
4787
 
4788
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
4788
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
4789
4789
  var WEIGHTS = {
4790
4790
  bot: 3,
4791
4791
  scam: 3,
@@ -4810,7 +4810,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
4810
4810
  var DIGITS = /\d{5,}/;
4811
4811
  var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
4812
4812
 
4813
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
4813
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
4814
4814
  var linkedIdentity = strictObject({
4815
4815
  provider: text,
4816
4816
  id,
@@ -4865,7 +4865,7 @@ var contactCheck = strictObject({
4865
4865
  checked_at: time
4866
4866
  });
4867
4867
 
4868
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/member.js
4868
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/member.js
4869
4869
  var member = strictObject({
4870
4870
  id,
4871
4871
  name: nullable(text),
@@ -4888,7 +4888,7 @@ var member = strictObject({
4888
4888
  check: optional(record(string(), unknown()))
4889
4889
  });
4890
4890
 
4891
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/chat.js
4891
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/chat.js
4892
4892
  var setting = optional(nullable(boolean()));
4893
4893
  var chat = strictObject({
4894
4894
  ref: reference,
@@ -4929,7 +4929,7 @@ var chat = strictObject({
4929
4929
  members: optional(array(member))
4930
4930
  });
4931
4931
 
4932
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/message.js
4932
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/message.js
4933
4933
  var quoted = strictObject({
4934
4934
  id,
4935
4935
  sender_id: nullable(id),
@@ -5048,7 +5048,20 @@ var message = strictObject({
5048
5048
  provider_metadata: providerMetadata
5049
5049
  });
5050
5050
 
5051
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
5051
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
5052
+ var recordedMeeting = strictObject({
5053
+ ref: reference,
5054
+ meeting_id: count,
5055
+ account: strictObject({ provider: text, account: text }),
5056
+ title: nullable(text),
5057
+ started_at: nullable(time),
5058
+ duration_ms: nullable(count),
5059
+ has_transcript: boolean(),
5060
+ event: nullable(reference),
5061
+ people: array(reference)
5062
+ });
5063
+
5064
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
5052
5065
  var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
5053
5066
  var contextMessage = strictObject({
5054
5067
  locator: reference,
@@ -5094,6 +5107,8 @@ var context = strictObject({
5094
5107
  mentions: array(contextMessage),
5095
5108
  /** Calendar events they are invited to, one occurrence per series. */
5096
5109
  events: optional(strictObject({ upcoming: array(contextEvent), recent: array(contextEvent) })),
5110
+ /** Recorded meetings and calls they took part in, newest first. */
5111
+ meetings: optional(array(recordedMeeting)),
5097
5112
  limits: strictObject({ messages: count, bytes: count }),
5098
5113
  complete: boolean(),
5099
5114
  not_read: array(strictObject({
@@ -5252,7 +5267,7 @@ var contactPreparation = strictObject({
5252
5267
  })
5253
5268
  });
5254
5269
 
5255
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/deal.js
5270
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/deal.js
5256
5271
  var nullableText = nullable(text);
5257
5272
  var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
5258
5273
  var outcome = picklist(["open", "won", "lost"]);
@@ -5323,6 +5338,8 @@ var deal = strictObject({
5323
5338
  updated_at: time,
5324
5339
  /** `show` of a CRM copy whose `activities` setting is on: its activities and tasks, open ones first. */
5325
5340
  activities: optional(array(activity)),
5341
+ /** `show` of a CRM copy: the newest recorded meetings and calls of its people, in its account's scope. */
5342
+ meetings: optional(array(recordedMeeting)),
5326
5343
  untrusted
5327
5344
  });
5328
5345
  var lead = deal;
@@ -5361,7 +5378,7 @@ var stage = strictObject({
5361
5378
  untrusted
5362
5379
  });
5363
5380
 
5364
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/business-context.js
5381
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/business-context.js
5365
5382
  var nullableText2 = nullable(text);
5366
5383
  var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
5367
5384
  var standing = picklist(STANDINGS);
@@ -5535,7 +5552,7 @@ var dealBrief = strictObject({
5535
5552
  not_read: coverage2.entries.not_read
5536
5553
  });
5537
5554
 
5538
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/chart.js
5555
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/chart.js
5539
5556
  var chart = strictObject({
5540
5557
  version: literal(1),
5541
5558
  kind: picklist(["bar", "line", "grouped-bar"]),
@@ -5550,7 +5567,7 @@ var chart = strictObject({
5550
5567
  file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
5551
5568
  });
5552
5569
 
5553
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/folder.js
5570
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/folder.js
5554
5571
  var named = strictObject({
5555
5572
  id,
5556
5573
  title: nullable(text),
@@ -5573,7 +5590,7 @@ var folder = strictObject({
5573
5590
  excluded_chats: optional(array(named))
5574
5591
  });
5575
5592
 
5576
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
5593
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
5577
5594
  var inviteLink = strictObject({
5578
5595
  link: text,
5579
5596
  /** Who joins by it asks first, and an admin lets them in. */
@@ -5589,7 +5606,7 @@ var inviteLink = strictObject({
5589
5606
  joined_count: optional(count)
5590
5607
  });
5591
5608
 
5592
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
5609
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
5593
5610
  var operated = { operation_id: id, chat_id: id };
5594
5611
  var group = strictObject({
5595
5612
  ...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
@@ -5669,7 +5686,7 @@ var chatFolderOrder = strictObject({
5669
5686
  folders: array(strictObject({ id, title: text }))
5670
5687
  });
5671
5688
 
5672
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
5689
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
5673
5690
  var operated2 = { operation_id: id, chat_id: id };
5674
5691
  var chatRemoval = strictObject(operated2);
5675
5692
  var chatMuting = strictObject({
@@ -5680,7 +5697,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
5680
5697
  var chatPin = strictObject({ ...operated2, pinned: boolean() });
5681
5698
  var chatUnread = strictObject({ ...operated2, unread: literal(true) });
5682
5699
 
5683
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
5700
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
5684
5701
  var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
5685
5702
  var chatEvent = strictObject({
5686
5703
  chat_id: id,
@@ -5697,7 +5714,7 @@ var chatEvent = strictObject({
5697
5714
  before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
5698
5715
  });
5699
5716
 
5700
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
5717
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
5701
5718
  var chatMetadata = strictObject({
5702
5719
  chat_id: id,
5703
5720
  title: nullable(text),
@@ -5712,7 +5729,7 @@ var chatMetadataRefresh = strictObject({
5712
5729
  has_more: boolean()
5713
5730
  });
5714
5731
 
5715
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
5732
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
5716
5733
  var action = picklist(["report", "delete", "remove"]);
5717
5734
  var level = picklist(["deny", "readonly", "ask", "allow"]);
5718
5735
  var chatRules = strictObject({
@@ -5749,7 +5766,7 @@ var chatModeration = strictObject({
5749
5766
  }))
5750
5767
  });
5751
5768
 
5752
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
5769
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
5753
5770
  var optionalCount = optional(count);
5754
5771
  var minutes = nullable(number());
5755
5772
  var chatStats = strictObject({
@@ -5825,7 +5842,7 @@ var taskStats = strictObject({
5825
5842
  }))
5826
5843
  });
5827
5844
 
5828
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
5845
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
5829
5846
  var memberCount = strictObject({
5830
5847
  day: pipe(text, isoDate()),
5831
5848
  participants: nullable(count),
@@ -5848,7 +5865,7 @@ var chatTracking = strictObject({
5848
5865
  tracked: boolean()
5849
5866
  });
5850
5867
 
5851
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
5868
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
5852
5869
  var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
5853
5870
  var contactSync = strictObject({ added: count, changed: count, known: count });
5854
5871
  var profileFields = {
@@ -5886,7 +5903,7 @@ var profileFields = {
5886
5903
  }))
5887
5904
  };
5888
5905
 
5889
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/contact.js
5906
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/contact.js
5890
5907
  var contact = strictObject({
5891
5908
  ref: reference,
5892
5909
  id,
@@ -5917,7 +5934,7 @@ var contact = strictObject({
5917
5934
  notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
5918
5935
  });
5919
5936
 
5920
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
5937
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
5921
5938
  var contactNote = strictObject({
5922
5939
  id,
5923
5940
  /** The contact, as a `contact:` reference. */
@@ -5929,13 +5946,13 @@ var contactNote = strictObject({
5929
5946
  updated_at: time
5930
5947
  });
5931
5948
 
5932
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
5949
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
5933
5950
  var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
5934
5951
  var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
5935
5952
  var contactStateChange = strictObject({ operation_id: id, person_id: id });
5936
5953
  var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
5937
5954
 
5938
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/conversation.js
5955
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/conversation.js
5939
5956
  var conversation = strictObject({
5940
5957
  id,
5941
5958
  chat: reference,
@@ -5950,7 +5967,7 @@ var conversation = strictObject({
5950
5967
  rules_version: count
5951
5968
  });
5952
5969
 
5953
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
5970
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
5954
5971
  var conversationBuild = strictObject({
5955
5972
  chat: id,
5956
5973
  messages: count,
@@ -5975,7 +5992,7 @@ var catchUpPreparation = strictObject({
5975
5992
  prepared: optional(conversationPreparation)
5976
5993
  });
5977
5994
 
5978
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
5995
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
5979
5996
  var conversationDetails = union([
5980
5997
  strictObject({ ...conversation.entries, messages: array(message) }),
5981
5998
  message
@@ -6065,7 +6082,7 @@ var conversationHit = strictObject({
6065
6082
  stale: boolean()
6066
6083
  });
6067
6084
 
6068
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/counters.js
6085
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/counters.js
6069
6086
  var counters = strictObject({
6070
6087
  cutoff: time,
6071
6088
  max_age_ms: milliseconds,
@@ -6095,7 +6112,7 @@ var counterRefresh = strictObject({
6095
6112
  complete: optional(boolean())
6096
6113
  });
6097
6114
 
6098
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/document.js
6115
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/document.js
6099
6116
  var document = strictObject({
6100
6117
  ref: reference,
6101
6118
  id,
@@ -6110,7 +6127,7 @@ var document = strictObject({
6110
6127
  owners: optional(array(text))
6111
6128
  });
6112
6129
 
6113
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/document-link.js
6130
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/document-link.js
6114
6131
  var documentLink = strictObject({
6115
6132
  ref: reference,
6116
6133
  url: text,
@@ -6121,7 +6138,7 @@ var documentLink = strictObject({
6121
6138
  sender: strictObject({ id: nullable(id), name: nullable(text) })
6122
6139
  });
6123
6140
 
6124
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/evidence.js
6141
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/evidence.js
6125
6142
  var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
6126
6143
  var contribution = strictObject({
6127
6144
  message: evidenceMessage,
@@ -6151,7 +6168,7 @@ var retentionStay = strictObject({
6151
6168
  });
6152
6169
  var evidence = union([contribution, retentionStay]);
6153
6170
 
6154
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/fact.js
6171
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/fact.js
6155
6172
  var fact = strictObject({
6156
6173
  ref: reference,
6157
6174
  id,
@@ -6182,7 +6199,7 @@ var fact = strictObject({
6182
6199
  updated_at: time
6183
6200
  });
6184
6201
 
6185
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/hit.js
6202
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/hit.js
6186
6203
  var hit = strictObject({
6187
6204
  kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead", ...BUSINESS_KINDS]),
6188
6205
  ref: reference,
@@ -6228,7 +6245,7 @@ var hit = strictObject({
6228
6245
  untrusted
6229
6246
  });
6230
6247
 
6231
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/identity.js
6248
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/identity.js
6232
6249
  var identity = strictObject({
6233
6250
  ref: reference,
6234
6251
  provider: text,
@@ -6244,7 +6261,7 @@ var identity = strictObject({
6244
6261
  person: optional(nullable(reference))
6245
6262
  });
6246
6263
 
6247
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
6264
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
6248
6265
  var imageEmbedding = strictObject({
6249
6266
  model: text,
6250
6267
  embedded: count,
@@ -6253,13 +6270,13 @@ var imageEmbedding = strictObject({
6253
6270
  more: boolean()
6254
6271
  });
6255
6272
 
6256
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
6273
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
6257
6274
  import { spawn } from "node:child_process";
6258
6275
  import { randomBytes } from "node:crypto";
6259
6276
  import { closeSync, existsSync, mkdirSync, openSync, readdirSync, readFileSync, realpathSync, rmSync } from "node:fs";
6260
6277
  import { dirname, join } from "node:path";
6261
6278
 
6262
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
6279
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
6263
6280
  var progressOf = /* @__PURE__ */ __name((input) => {
6264
6281
  const total = input.total ?? null;
6265
6282
  const updated = input.updatedAt ?? null;
@@ -6275,7 +6292,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
6275
6292
  };
6276
6293
  }, "progressOf");
6277
6294
 
6278
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/runs/record-log.js
6295
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/runs/record-log.js
6279
6296
  var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
6280
6297
  const run = currentRun();
6281
6298
  const trace = traceId ?? run.traceId;
@@ -6289,7 +6306,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
6289
6306
  }));
6290
6307
  }, "recordLogFor");
6291
6308
 
6292
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
6309
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
6293
6310
  var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
6294
6311
  var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
6295
6312
  const out = openSync(log, "a", 384);
@@ -6444,7 +6461,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
6444
6461
  return { job: id6, pid, chat: input.chat, log };
6445
6462
  }, "startArchiveJob");
6446
6463
 
6447
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/job.js
6464
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/job.js
6448
6465
  var problem = strictObject({ code: text, message: text });
6449
6466
  var job = strictObject({
6450
6467
  id,
@@ -6467,7 +6484,7 @@ var job = strictObject({
6467
6484
  error: optional(problem)
6468
6485
  });
6469
6486
 
6470
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/join-request.js
6487
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/join-request.js
6471
6488
  var joinRequest = strictObject({
6472
6489
  person_id: id,
6473
6490
  name: nullable(text),
@@ -6478,7 +6495,7 @@ var joinRequest = strictObject({
6478
6495
  about: optional(text)
6479
6496
  });
6480
6497
 
6481
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/list-results.js
6498
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/list-results.js
6482
6499
  var botProfile = strictObject({
6483
6500
  name: text,
6484
6501
  token: text,
@@ -6602,7 +6619,7 @@ var stickerInventory = strictObject({
6602
6619
  url: optional(nullable(text))
6603
6620
  });
6604
6621
 
6605
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
6622
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
6606
6623
  var pollVote = strictObject({
6607
6624
  person_id: id,
6608
6625
  name: nullable(text),
@@ -6612,7 +6629,7 @@ var pollVote = strictObject({
6612
6629
  voted_at: time
6613
6630
  });
6614
6631
 
6615
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/listener.js
6632
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/listener.js
6616
6633
  var reactions = unwrap(unwrap(message.entries.reactions));
6617
6634
  var observation = strictObject({
6618
6635
  value: pipe(number(), minValue(0)),
@@ -6654,7 +6671,7 @@ var serveSummary = strictObject({
6654
6671
  tasks: optional(strictObject({ added: count, closed: count, review: count }))
6655
6672
  });
6656
6673
 
6657
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
6674
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
6658
6675
  var mailCounts = strictObject({
6659
6676
  by: picklist(["day", "week", "sender"]),
6660
6677
  received: count,
@@ -6669,7 +6686,7 @@ var mailCounts = strictObject({
6669
6686
  }))
6670
6687
  });
6671
6688
 
6672
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
6689
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
6673
6690
  var evidence2 = strictObject({ reference, fingerprint: text });
6674
6691
  var base = { id, evidence: array(evidence2) };
6675
6692
  var finding = variant("kind", [
@@ -6813,7 +6830,7 @@ var mailFindings = strictObject({
6813
6830
  receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
6814
6831
  });
6815
6832
 
6816
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
6833
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
6817
6834
  var mediaArchive = strictObject({
6818
6835
  directory: text,
6819
6836
  chats: count,
@@ -6845,7 +6862,7 @@ var mediaArchiveTimer = union([
6845
6862
  strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
6846
6863
  ]);
6847
6864
 
6848
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
6865
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
6849
6866
  var preparationId = pipe(string(), minLength(1));
6850
6867
  var preparationCount = pipe(number(), integer(), minValue(0));
6851
6868
  var preparationTime = nullable(isoTime);
@@ -6937,7 +6954,7 @@ var preparationMeeting = strictObject({
6937
6954
  updated_at: isoTime
6938
6955
  });
6939
6956
 
6940
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
6957
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
6941
6958
  var meetingEvidence = preparationEvidence;
6942
6959
  var meetingPersonContext = strictObject({
6943
6960
  person: strictObject({ uid: string(), name: nullable(string()) }),
@@ -6959,7 +6976,7 @@ var meetingPersonContext = strictObject({
6959
6976
  })
6960
6977
  });
6961
6978
 
6962
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
6979
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
6963
6980
  var evidence3 = strictObject({ reference, fingerprint: text });
6964
6981
  var base2 = { id, project: reference, evidence: array(evidence3) };
6965
6982
  var finding2 = variant("kind", [
@@ -6997,7 +7014,7 @@ var meetingFindings = strictObject({
6997
7014
  receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
6998
7015
  });
6999
7016
 
7000
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
7017
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
7001
7018
  var communicationCoverage = strictObject({
7002
7019
  read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
7003
7020
  query: string(),
@@ -7042,7 +7059,7 @@ var preparationCommunications = strictObject({
7042
7059
  }))
7043
7060
  });
7044
7061
 
7045
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
7062
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
7046
7063
  var meetingPreparation = strictObject({
7047
7064
  communications: optional(preparationCommunications),
7048
7065
  schema_version: literal(1),
@@ -7155,7 +7172,7 @@ var meetingPreparation = strictObject({
7155
7172
  })
7156
7173
  });
7157
7174
 
7158
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
7175
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
7159
7176
  var count3 = pipe(number(), integer(), minValue(0));
7160
7177
  var id3 = pipe(string(), minLength(1));
7161
7178
  var text3 = string();
@@ -7219,7 +7236,7 @@ var meetingProjectCandidates = strictObject({
7219
7236
  })
7220
7237
  });
7221
7238
 
7222
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
7239
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
7223
7240
  var count4 = pipe(number(), integer(), minValue(0));
7224
7241
  var id4 = pipe(string(), minLength(1), maxLength(1e3));
7225
7242
  var meetingSeriesInventory = strictObject({
@@ -7249,7 +7266,7 @@ var meetingSeriesInventory = strictObject({
7249
7266
  })
7250
7267
  });
7251
7268
 
7252
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
7269
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
7253
7270
  var text4 = string();
7254
7271
  var id5 = pipe(number(), integer(), minValue(1));
7255
7272
  var revision = picklist(["current", "superseded"]);
@@ -7266,7 +7283,7 @@ var meetingTaskProposal = strictObject({
7266
7283
  persistence: literal("proposal-only")
7267
7284
  });
7268
7285
 
7269
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/memory.js
7286
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/memory.js
7270
7287
  var memory = strictObject({
7271
7288
  ref: reference,
7272
7289
  id,
@@ -7294,7 +7311,7 @@ var memory = strictObject({
7294
7311
  updated_at: time
7295
7312
  });
7296
7313
 
7297
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/mention.js
7314
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/mention.js
7298
7315
  var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
7299
7316
  var status = picklist(["found", "linked", "proposed", "dismissed"]);
7300
7317
  var mention = strictObject({
@@ -7338,13 +7355,13 @@ var mentionRebuild = strictObject({
7338
7355
  mentions: count
7339
7356
  });
7340
7357
 
7341
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/message-change.js
7358
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/message-change.js
7342
7359
  var operated3 = { operation_id: id, chat_id: id };
7343
7360
  var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
7344
7361
  var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
7345
7362
  var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
7346
7363
 
7347
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/message-read.js
7364
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/message-read.js
7348
7365
  var messageTranscript = strictObject({
7349
7366
  message_id: id,
7350
7367
  text,
@@ -7402,7 +7419,7 @@ var evidencePacket = strictObject({
7402
7419
  }))
7403
7420
  });
7404
7421
 
7405
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/message-context.js
7422
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/message-context.js
7406
7423
  var messageThread = strictObject({
7407
7424
  ref: reference,
7408
7425
  chat: id,
@@ -7419,7 +7436,7 @@ var messageThread = strictObject({
7419
7436
  });
7420
7437
  var messageContext = union([message, messageThread]);
7421
7438
 
7422
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
7439
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
7423
7440
  var messageCounts = strictObject({
7424
7441
  by: picklist(["chat", "sender", "day", "hour"]),
7425
7442
  total: count,
@@ -7432,7 +7449,7 @@ var messageCounts = strictObject({
7432
7449
  }))
7433
7450
  });
7434
7451
 
7435
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/message-link.js
7452
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/message-link.js
7436
7453
  var messageLink = strictObject({
7437
7454
  ref: reference,
7438
7455
  url: nullable(text),
@@ -7449,7 +7466,7 @@ var messageLink = strictObject({
7449
7466
  })))
7450
7467
  });
7451
7468
 
7452
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
7469
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
7453
7470
  var savedMessageFile = strictObject({
7454
7471
  kind: text,
7455
7472
  path: text,
@@ -7536,7 +7553,7 @@ var messageSyncAll = strictObject({
7536
7553
  var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
7537
7554
  var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
7538
7555
 
7539
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/message-write.js
7556
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/message-write.js
7540
7557
  var messageWrite = strictObject({
7541
7558
  operation_id: id,
7542
7559
  message,
@@ -7551,7 +7568,7 @@ var draftWrite = strictObject({
7551
7568
  });
7552
7569
  var messageSend = union([messageWrite, draftWrite]);
7553
7570
 
7554
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/model.js
7571
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/model.js
7555
7572
  var model = strictObject({
7556
7573
  id,
7557
7574
  kind: picklist(["audio", "text", "image", "reranker"]),
@@ -7586,7 +7603,7 @@ var chosenModel = strictObject({
7586
7603
  estimate_seconds: nullable(count)
7587
7604
  });
7588
7605
 
7589
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/model-key.js
7606
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/model-key.js
7590
7607
  var source = picklist(["environment", "keyring", "file"]);
7591
7608
  var modelKey = strictObject({
7592
7609
  provider: text,
@@ -7596,7 +7613,7 @@ var modelKey = strictObject({
7596
7613
  var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
7597
7614
  var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
7598
7615
 
7599
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
7616
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
7600
7617
  var versus = strictObject({ current: number(), previous: number() });
7601
7618
  var person = { person_ref: reference, name: nullable(text) };
7602
7619
  var graph = strictObject({
@@ -7630,14 +7647,14 @@ var officialStats = strictObject({
7630
7647
  graphs: record(string(), union([graph, strictObject({ error: text })]))
7631
7648
  });
7632
7649
 
7633
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/person.js
7650
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/person.js
7634
7651
  var person2 = strictObject({
7635
7652
  ref: reference,
7636
7653
  name: nullable(text),
7637
7654
  identities: optional(array(identity))
7638
7655
  });
7639
7656
 
7640
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/poll.js
7657
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/poll.js
7641
7658
  var poll = strictObject({
7642
7659
  chat_id: id,
7643
7660
  message_id: id,
@@ -7653,11 +7670,11 @@ var poll = strictObject({
7653
7670
  });
7654
7671
  var pollChange = strictObject({ operation_id: id, poll });
7655
7672
 
7656
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
7673
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
7657
7674
  var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
7658
7675
  var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
7659
7676
 
7660
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/ranking.js
7677
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/ranking.js
7661
7678
  var figures = record(string(), number());
7662
7679
  var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
7663
7680
  var rankingRow = strictObject({
@@ -7704,7 +7721,7 @@ var ranking = strictObject({
7704
7721
  rows: array(rankingRow)
7705
7722
  });
7706
7723
 
7707
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/reaction.js
7724
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/reaction.js
7708
7725
  var reaction = strictObject({
7709
7726
  person: strictObject({ id, name: nullable(text), username: nullable(text) }),
7710
7727
  /** The emoji, or `custom:<id>` for a custom one. */
@@ -7712,7 +7729,7 @@ var reaction = strictObject({
7712
7729
  reacted_at: time
7713
7730
  });
7714
7731
 
7715
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
7732
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
7716
7733
  var reactionChange = strictObject({
7717
7734
  operation_id: id,
7718
7735
  chat_id: id,
@@ -7720,7 +7737,7 @@ var reactionChange = strictObject({
7720
7737
  reaction: nullable(text)
7721
7738
  });
7722
7739
 
7723
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/recipient.js
7740
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/recipient.js
7724
7741
  var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
7725
7742
  var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
7726
7743
  var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
@@ -7731,7 +7748,7 @@ var recipientChange = strictObject({
7731
7748
  ...partial(recipientOff).entries
7732
7749
  });
7733
7750
 
7734
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
7751
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
7735
7752
  var events = array(record(string(), unknown()));
7736
7753
  var recordedRun = strictObject({
7737
7754
  run_id: id,
@@ -7803,7 +7820,7 @@ var runHit = strictObject({
7803
7820
  });
7804
7821
  var runLocation = strictObject({ path: text });
7805
7822
 
7806
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/relationship.js
7823
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/relationship.js
7807
7824
  var relationship = strictObject({
7808
7825
  id,
7809
7826
  from: reference,
@@ -7830,7 +7847,7 @@ var relationship = strictObject({
7830
7847
  created_at: time
7831
7848
  });
7832
7849
 
7833
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
7850
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
7834
7851
  var milliseconds2 = nullable(pipe(number(), minValue(0)));
7835
7852
  var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
7836
7853
  var responseTimes = strictObject({
@@ -7847,7 +7864,7 @@ var waitingChats = strictObject({
7847
7864
  by_kind: strictObject({ private: count, group: count })
7848
7865
  });
7849
7866
 
7850
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/retention.js
7867
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/retention.js
7851
7868
  var retentionCohort = strictObject({
7852
7869
  /** The first day of the joining day or week. */
7853
7870
  cohort: text,
@@ -7895,7 +7912,7 @@ var retention = strictObject({
7895
7912
  rows: array(retentionCohort)
7896
7913
  });
7897
7914
 
7898
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
7915
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
7899
7916
  var savedSearch = strictObject({
7900
7917
  id,
7901
7918
  /** `null` for a run in the history. */
@@ -7912,7 +7929,7 @@ var savedSearch = strictObject({
7912
7929
  });
7913
7930
  var searchHistoryClear = strictObject({ cleared: count });
7914
7931
 
7915
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
7932
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
7916
7933
  var sendAttempt = strictObject({
7917
7934
  at: time,
7918
7935
  profile: text,
@@ -7940,7 +7957,7 @@ var sendAttempt = strictObject({
7940
7957
  error_code: optional(text)
7941
7958
  });
7942
7959
 
7943
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
7960
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
7944
7961
  var absent = strictObject({ path: text, exists: literal(false) });
7945
7962
  var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
7946
7963
  var infoSchema = strictObject({
@@ -8170,7 +8187,7 @@ var storeRepair = union([
8170
8187
  ]);
8171
8188
  var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
8172
8189
 
8173
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/store-records.js
8190
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/store-records.js
8174
8191
  var range = strictObject({ from: number(), to: number() });
8175
8192
  var storeChatStatus = strictObject({
8176
8193
  chat_id: id,
@@ -8268,7 +8285,7 @@ var storeJobRetry = union([
8268
8285
  ]);
8269
8286
  var storeJobClear = strictObject({ cleared: array(id) });
8270
8287
 
8271
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/store-table.js
8288
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/store-table.js
8272
8289
  var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
8273
8290
  var storeTable = strictObject({
8274
8291
  name: text,
@@ -8277,7 +8294,7 @@ var storeTable = strictObject({
8277
8294
  bytes: optional(nullable(count))
8278
8295
  });
8279
8296
 
8280
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
8297
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
8281
8298
  var tagTarget = variant("type", [
8282
8299
  strictObject({ type: literal("chat"), chat_id: id }),
8283
8300
  strictObject({ type: literal("contact"), person_id: id }),
@@ -8308,7 +8325,7 @@ var automaticTags = strictObject({
8308
8325
  dry_run: boolean()
8309
8326
  });
8310
8327
 
8311
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/tagging.js
8328
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/tagging.js
8312
8329
  var tagging = strictObject({
8313
8330
  tag: text,
8314
8331
  type: picklist(TAG_TYPES),
@@ -8321,7 +8338,7 @@ var tagging = strictObject({
8321
8338
  created_at: time
8322
8339
  });
8323
8340
 
8324
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
8341
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
8325
8342
  var side = strictObject({ ref: reference, key: text, title: text, status: text });
8326
8343
  var taskPair = strictObject({
8327
8344
  task: nullable(side),
@@ -8344,7 +8361,7 @@ var taskPair = strictObject({
8344
8361
  created_at: time
8345
8362
  });
8346
8363
 
8347
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/task-results.js
8364
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/task-results.js
8348
8365
  var nullableTime = nullable(time);
8349
8366
  var link = strictObject({
8350
8367
  id,
@@ -8518,7 +8535,7 @@ var taskReview = strictObject({
8518
8535
  untrusted
8519
8536
  });
8520
8537
 
8521
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/template.js
8538
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/template.js
8522
8539
  var template = strictObject({
8523
8540
  key: text,
8524
8541
  channel: picklist(["telegram", "email", "text"]),
@@ -8530,7 +8547,7 @@ var template = strictObject({
8530
8547
  updated_by: nullable(text)
8531
8548
  });
8532
8549
 
8533
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/topic.js
8550
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/topic.js
8534
8551
  var topic = strictObject({
8535
8552
  id,
8536
8553
  title: text,
@@ -8544,7 +8561,7 @@ var topic = strictObject({
8544
8561
  untrusted
8545
8562
  });
8546
8563
 
8547
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/entities/index.js
8564
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/index.js
8548
8565
  var ENTITIES = {
8549
8566
  sync_progress: progress,
8550
8567
  deal,
@@ -8839,7 +8856,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
8839
8856
  return [name, definition];
8840
8857
  })), "entityDefinitions");
8841
8858
 
8842
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
8859
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
8843
8860
  var schemas = /* @__PURE__ */ new WeakMap();
8844
8861
  var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
8845
8862
  if (Object.hasOwn(ENTITIES, name))
@@ -8873,7 +8890,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
8873
8890
  return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
8874
8891
  }, "answerRow");
8875
8892
 
8876
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
8893
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
8877
8894
  import { AsyncLocalStorage } from "node:async_hooks";
8878
8895
  var requests = new AsyncLocalStorage();
8879
8896
  var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
@@ -8888,7 +8905,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
8888
8905
  return direct;
8889
8906
  }, "exitCodeSet");
8890
8907
 
8891
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/sends/guarded.js
8908
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/sends/guarded.js
8892
8909
  import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
8893
8910
  var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
8894
8911
  messageId: message2.id,
@@ -8994,7 +9011,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
8994
9011
  }, "guardedWrite");
8995
9012
  var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
8996
9013
 
8997
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
9014
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
8998
9015
  var named2 = /* @__PURE__ */ __name((work) => {
8999
9016
  try {
9000
9017
  return work();
@@ -9021,7 +9038,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named2(() => {
9021
9038
  return projectFields(value, fields);
9022
9039
  }), "projectFields");
9023
9040
 
9024
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/cli/execution.js
9041
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/execution.js
9025
9042
  var DEFAULT_COMMAND_MS = 3e4;
9026
9043
  var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
9027
9044
  var DEFAULT_SYNC_MS = 15 * 6e4;
@@ -9204,7 +9221,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
9204
9221
  }
9205
9222
  }, "withAbort");
9206
9223
 
9207
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
9224
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
9208
9225
  import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync as readFileSync2 } from "node:fs";
9209
9226
  import { join as join2 } from "node:path";
9210
9227
  var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
@@ -9293,7 +9310,7 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
9293
9310
  return readdirSync2(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
9294
9311
  }, "registryProfiles");
9295
9312
 
9296
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
9313
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
9297
9314
  import { existsSync as existsSync3, readdirSync as readdirSync3, readFileSync as readFileSync3 } from "node:fs";
9298
9315
  import { join as join3 } from "node:path";
9299
9316
  var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
@@ -9315,7 +9332,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
9315
9332
  }, "profilesWithAccounts");
9316
9333
  var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
9317
9334
 
9318
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/output-detail.js
9335
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/output-detail.js
9319
9336
  var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
9320
9337
  var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
9321
9338
  var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
@@ -9351,7 +9368,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
9351
9368
  return value;
9352
9369
  }, "atDetail");
9353
9370
 
9354
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/output.js
9371
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/output.js
9355
9372
  var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
9356
9373
  const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
9357
9374
  if (other)
@@ -9415,7 +9432,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
9415
9432
  }, "warn")
9416
9433
  }), "silence");
9417
9434
 
9418
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/runs/log-events.js
9435
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/runs/log-events.js
9419
9436
  var CORE_LOG_EVENTS = defineLogEvents([
9420
9437
  { id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
9421
9438
  { id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
@@ -9453,7 +9470,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
9453
9470
  progress: "sync.progress"
9454
9471
  };
9455
9472
 
9456
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/runs/recording.js
9473
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/runs/recording.js
9457
9474
  var recorded = /* @__PURE__ */ __name(async (options, body) => {
9458
9475
  const recording = startRecording(options);
9459
9476
  try {
@@ -9668,7 +9685,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
9668
9685
  return void 0;
9669
9686
  }, "partialOutcome");
9670
9687
 
9671
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/cli/deadline.js
9688
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/deadline.js
9672
9689
  var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
9673
9690
  if (ms2 === void 0)
9674
9691
  return body();
@@ -9694,7 +9711,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
9694
9711
  }
9695
9712
  }, "withDeadline");
9696
9713
 
9697
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/cli/profile.js
9714
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/profile.js
9698
9715
  var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
9699
9716
  var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
9700
9717
  var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
@@ -9763,10 +9780,10 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
9763
9780
  return void 0;
9764
9781
  }, "sampleCommand");
9765
9782
 
9766
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/cli/settings.js
9783
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/settings.js
9767
9784
  import { existsSync as existsSync6 } from "node:fs";
9768
9785
 
9769
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/models/settings.js
9786
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/models/settings.js
9770
9787
  var MODEL_FIELDS = ["provider", "model", "base_url"];
9771
9788
  var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
9772
9789
  provider: optional(picklist(["off", "openai", "anthropic"])),
@@ -9835,7 +9852,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
9835
9852
  };
9836
9853
  }, "modelTarget");
9837
9854
 
9838
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/analysis/settings.js
9855
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/analysis/settings.js
9839
9856
  var model2 = pipe(string(), trim(), minLength(1), maxLength(200));
9840
9857
  var url2 = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
9841
9858
  var AI_FIELDS = {
@@ -9879,7 +9896,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
9879
9896
  };
9880
9897
  }, "resolveAISettings");
9881
9898
 
9882
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/domain/duration.js
9899
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/domain/duration.js
9883
9900
  var DURATION = /^(\d+)(ms|s|m|h|d)$/;
9884
9901
  var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
9885
9902
  var parseDuration = /* @__PURE__ */ __name((value, source2) => {
@@ -9893,7 +9910,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
9893
9910
  return ms2;
9894
9911
  }, "parseDuration");
9895
9912
 
9896
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/embeddings/models.js
9913
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/embeddings/models.js
9897
9914
  import { existsSync as existsSync4 } from "node:fs";
9898
9915
  import { join as join4 } from "node:path";
9899
9916
  var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
@@ -10170,7 +10187,7 @@ var vectorModelKey = /* @__PURE__ */ __name((model3) => {
10170
10187
  }, "vectorModelKey");
10171
10188
  var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
10172
10189
 
10173
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/services/history-limits.js
10190
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/services/history-limits.js
10174
10191
  var HISTORY_MAX_DAYS = 1095;
10175
10192
  var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
10176
10193
  var DAY_MS = 24 * 60 * 60 * 1e3;
@@ -10217,10 +10234,10 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
10217
10234
  return { batch: { ...batch, messages }, skipped };
10218
10235
  }, "limitBatch");
10219
10236
 
10220
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
10237
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
10221
10238
  import { readFileSync as readFileSync4 } from "node:fs";
10222
10239
 
10223
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
10240
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
10224
10241
  var REPAIR_WORDS = {
10225
10242
  byte_order_mark: "an invisible byte-order mark at the start",
10226
10243
  comment: "a comment, which JSON does not allow",
@@ -10461,7 +10478,7 @@ ${parts.join(",\n")}
10461
10478
  ${indent}${close}`;
10462
10479
  }, "serialise");
10463
10480
 
10464
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
10481
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
10465
10482
  var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
10466
10483
  var SECTIONS = ["personal", "bot"];
10467
10484
  var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
@@ -10755,7 +10772,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
10755
10772
  return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
10756
10773
  }, "readConfigFile");
10757
10774
 
10758
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/cli/default-config.js
10775
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/default-config.js
10759
10776
  import { existsSync as existsSync5, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync } from "node:fs";
10760
10777
  import { dirname as dirname2, join as join5 } from "node:path";
10761
10778
  var DEFAULT_CONFIG = {
@@ -10784,7 +10801,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
10784
10801
  }
10785
10802
  __name(ensureDefaultConfig, "ensureDefaultConfig");
10786
10803
 
10787
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
10804
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
10788
10805
  var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
10789
10806
  var parentOf = /* @__PURE__ */ __name((config, key) => {
10790
10807
  const path2 = key.split(".");
@@ -10806,7 +10823,7 @@ var withSettingDefaults = /* @__PURE__ */ __name((raw, declared) => {
10806
10823
  return { config, added };
10807
10824
  }, "withSettingDefaults");
10808
10825
 
10809
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/cli/settings.js
10826
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/settings.js
10810
10827
  var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
10811
10828
  var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
10812
10829
  var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
@@ -11332,7 +11349,7 @@ var given = /* @__PURE__ */ __name((value) => {
11332
11349
  return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
11333
11350
  }, "given");
11334
11351
 
11335
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/cli/context.js
11352
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/context.js
11336
11353
  var setExitCode = /* @__PURE__ */ __name((command, code) => {
11337
11354
  const slot = environmentOf(command).exit;
11338
11355
  const request = commandServerRequest();
@@ -11462,7 +11479,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
11462
11479
  return words2.join(" ");
11463
11480
  }, "commandPath");
11464
11481
 
11465
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/cli/effects.js
11482
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/effects.js
11466
11483
  var REMOTE_READ = { remote: "read", local: "read" };
11467
11484
  var FETCH = { remote: "read", local: "write" };
11468
11485
  var REMOTE_WRITE = { remote: "write", local: "write" };
@@ -11595,7 +11612,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
11595
11612
  throw readOnlyRefusal(lock, what);
11596
11613
  }, "refuseUnderReadOnly");
11597
11614
 
11598
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/images/picture/models.js
11615
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/images/picture/models.js
11599
11616
  import { join as join6 } from "node:path";
11600
11617
  var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
11601
11618
  var IMAGE_MODELS = [
@@ -11649,7 +11666,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
11649
11666
  var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
11650
11667
  var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
11651
11668
 
11652
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/cli/steps.js
11669
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/steps.js
11653
11670
  var STEPS2 = defineSteps([
11654
11671
  ...STEPS,
11655
11672
  {
@@ -11664,6 +11681,15 @@ var STEPS2 = defineSteps([
11664
11681
  ],
11665
11682
  why: "the local copy is missing messages; syncing brings them in"
11666
11683
  },
11684
+ {
11685
+ id: "search.server",
11686
+ command: "search messages",
11687
+ args: [
11688
+ { name: "query", required: true },
11689
+ { name: "backend", required: true }
11690
+ ],
11691
+ why: "only the local copy was searched, and it does not hold every message; the messenger's own search reaches the rest"
11692
+ },
11667
11693
  {
11668
11694
  id: "messages.transcribe",
11669
11695
  command: "messages transcribe",
@@ -11930,7 +11956,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
11930
11956
  ].join(" ");
11931
11957
  }, "stepLine");
11932
11958
 
11933
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
11959
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
11934
11960
  var where = [{ field: "ref" }];
11935
11961
  var who2 = { field: ["who.owner", "who.name"], tag: "you" };
11936
11962
  var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
@@ -12022,7 +12048,7 @@ var STATUS_ROWS = {
12022
12048
  "status.failed": { columns: [{ field: "signal" }], text: ["why"] }
12023
12049
  };
12024
12050
 
12025
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/cli/compact.js
12051
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/compact.js
12026
12052
  var TEXT_CHARS = 400;
12027
12053
  var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
12028
12054
  var messageRow = {
@@ -12388,7 +12414,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
12388
12414
  return lines.concat(footerOf(body)).join("\n");
12389
12415
  }, "compactText");
12390
12416
 
12391
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
12417
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
12392
12418
  var SOFT_OUTPUT_BYTES = 256 * 1024;
12393
12419
  var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
12394
12420
  var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
@@ -12446,7 +12472,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
12446
12472
  return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
12447
12473
  }, "largeAnswerSteps");
12448
12474
 
12449
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
12475
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
12450
12476
  var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
12451
12477
  var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
12452
12478
  var strip = /* @__PURE__ */ __name((value) => {
@@ -12460,7 +12486,7 @@ var strip = /* @__PURE__ */ __name((value) => {
12460
12486
  return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
12461
12487
  }, "strip");
12462
12488
 
12463
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
12489
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
12464
12490
  var OPEN = "\u27E6";
12465
12491
  var CLOSE = "\u27E7";
12466
12492
  var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
@@ -12544,7 +12570,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
12544
12570
  return result;
12545
12571
  }, "withFieldsMarked");
12546
12572
 
12547
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/cli/envelope.js
12573
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/envelope.js
12548
12574
  var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
12549
12575
  var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
12550
12576
  var listOf = /* @__PURE__ */ __name((command, input) => {