@wirecat/tg-cli 0.125.0 → 0.127.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 (97) hide show
  1. package/dist/bin/tg.js +2 -2
  2. package/dist/bundle/{adapter-H2LTOLOA.js → adapter-EZFS2UR6.js} +43 -43
  3. package/dist/bundle/{all-profiles-75HGEFL7.js → all-profiles-TNIUBQK6.js} +6 -6
  4. package/dist/bundle/{anthropic-N54MKE4C.js → anthropic-NGIS5LTL.js} +2 -2
  5. package/dist/bundle/{app-server-3N5INKKI.js → app-server-RPU76G7D.js} +42 -38
  6. package/dist/bundle/{bot-api-V65KTEAH.js → bot-api-QJ6U6BLG.js} +44 -44
  7. package/dist/bundle/{bot-history-TT2EAHEE.js → bot-history-THULK2C6.js} +12 -12
  8. package/dist/bundle/{bun-LN4J7PA7.js → bun-QLSLLP27.js} +2 -2
  9. package/dist/bundle/{bun-sqlite-6PDBFBUI.js → bun-sqlite-SH5245ZY.js} +3 -3
  10. package/dist/bundle/{chunk-RZ7KBWDQ.js → chunk-2R6ZSE3O.js} +2 -2
  11. package/dist/bundle/{chunk-E4HDE5DN.js → chunk-3CV5TBBR.js} +2 -2
  12. package/dist/bundle/{chunk-PCC7GWOS.js → chunk-3I3TGKVG.js} +3 -3
  13. package/dist/bundle/{chunk-6Y6SSZ34.js → chunk-3WI53AA4.js} +129 -83
  14. package/dist/bundle/{chunk-DYOZ7CUV.js → chunk-45URY64S.js} +1 -1
  15. package/dist/bundle/{chunk-S4SOS27T.js → chunk-4CQ3PV3V.js} +7 -7
  16. package/dist/bundle/{chunk-OG2ONSH6.js → chunk-4FFKCC7Y.js} +16 -16
  17. package/dist/bundle/{chunk-UTNK2PFE.js → chunk-4MKRKW6V.js} +12 -12
  18. package/dist/bundle/{chunk-FSP74THJ.js → chunk-5AOFOJQA.js} +4 -4
  19. package/dist/bundle/{chunk-7OBSIDBJ.js → chunk-5FDYMMEQ.js} +2 -2
  20. package/dist/bundle/{chunk-4TCBRKWQ.js → chunk-5KZKVKWU.js} +6 -6
  21. package/dist/bundle/{chunk-37SZHAEA.js → chunk-5SN6KFPC.js} +51 -50
  22. package/dist/bundle/{chunk-CNEJQQMD.js → chunk-7GE6KMLB.js} +11 -11
  23. package/dist/bundle/{chunk-77Z3OGAT.js → chunk-APSMQIA4.js} +2 -2
  24. package/dist/bundle/{chunk-BLNMM3AX.js → chunk-BNM6KNUQ.js} +1 -1
  25. package/dist/bundle/{chunk-GUPMDMFM.js → chunk-BWHVHPAQ.js} +5 -5
  26. package/dist/bundle/{chunk-VZDAVZYX.js → chunk-CXWAKV2O.js} +5 -5
  27. package/dist/bundle/{chunk-AMPHPP4P.js → chunk-DNNYE6PS.js} +13 -13
  28. package/dist/bundle/{chunk-X6436BYW.js → chunk-EGNQSWPH.js} +1 -1
  29. package/dist/bundle/{chunk-FUYCAROL.js → chunk-ERUB3KU3.js} +322 -11
  30. package/dist/bundle/{chunk-TVQBOIWC.js → chunk-FD44T7HC.js} +1 -1
  31. package/dist/bundle/{chunk-SGHF75RQ.js → chunk-FSDLSEZA.js} +1 -1
  32. package/dist/bundle/{chunk-WH4T44L3.js → chunk-GHVRCLJI.js} +1 -1
  33. package/dist/bundle/{chunk-JB4BO5XZ.js → chunk-H7GAFD4N.js} +1 -1
  34. package/dist/bundle/{chunk-JC6HMPL7.js → chunk-HPM47WO3.js} +4686 -3968
  35. package/dist/bundle/{chunk-3GILMKQ2.js → chunk-IWJ5OLU6.js} +2 -2
  36. package/dist/bundle/{chunk-QVK7NF3A.js → chunk-J6FHZXNS.js} +32 -28
  37. package/dist/bundle/{chunk-RX5GU7GQ.js → chunk-JF7D2Y4K.js} +1129 -879
  38. package/dist/bundle/{chunk-JCNKGZQG.js → chunk-JFQZ6BWI.js} +16 -16
  39. package/dist/bundle/{chunk-ZX5OSZHH.js → chunk-JWEKUAVZ.js} +10 -10
  40. package/dist/bundle/{chunk-QYT6HDCL.js → chunk-K4VO7S6Q.js} +1 -1
  41. package/dist/bundle/{chunk-DNCOELTM.js → chunk-LOG65WHO.js} +1 -1
  42. package/dist/bundle/{chunk-GRDVBJCR.js → chunk-MTU3UP5U.js} +1 -1
  43. package/dist/bundle/{chunk-DI3RJ3MJ.js → chunk-NBN5OYXH.js} +3 -3
  44. package/dist/bundle/{chunk-TAFH5K5D.js → chunk-P5NJECXX.js} +411 -295
  45. package/dist/bundle/{chunk-JKF7LZBU.js → chunk-QPVCFSVU.js} +5 -5
  46. package/dist/bundle/{chunk-UG66U2T7.js → chunk-R52ZZZKZ.js} +23 -13
  47. package/dist/bundle/{chunk-INZAZMUF.js → chunk-S3XUJPPL.js} +9 -4
  48. package/dist/bundle/{chunk-6HLB73UN.js → chunk-SN52ZGFN.js} +2 -2
  49. package/dist/bundle/{chunk-FHPEUAHQ.js → chunk-TGKTIDYS.js} +168 -399
  50. package/dist/bundle/{chunk-VG3EQJYV.js → chunk-UIQMBOXU.js} +31 -2
  51. package/dist/bundle/{chunk-EIGV2JKX.js → chunk-UW34Z7J3.js} +1 -1
  52. package/dist/bundle/{chunk-XTNOBJRP.js → chunk-UY2TRFYN.js} +10 -10
  53. package/dist/bundle/{chunk-VHD4V64E.js → chunk-VMV5CMLH.js} +1 -1
  54. package/dist/bundle/{chunk-MK4IKICN.js → chunk-X4ECHJNG.js} +2 -2
  55. package/dist/bundle/{chunk-IN3NAFUN.js → chunk-XUAVZ6YX.js} +7 -7
  56. package/dist/bundle/{chunk-NTHALPDT.js → chunk-Y62I2T36.js} +2 -1
  57. package/dist/bundle/{chunk-B252D7V4.js → chunk-Y65BQJOY.js} +4 -6
  58. package/dist/bundle/{chunk-4KIOWSDL.js → chunk-Y7UA7HGL.js} +2 -2
  59. package/dist/bundle/{chunk-HHG5FR5H.js → chunk-YIPOWJPN.js} +1 -1
  60. package/dist/bundle/{chunk-VUBSGQ2O.js → chunk-YZGIQY2R.js} +24 -22
  61. package/dist/bundle/{chunk-AI2J3WJT.js → chunk-ZIPUVOGT.js} +1 -1
  62. package/dist/bundle/{chunk-LU2CHHPC.js → chunk-ZSS3BH6Z.js} +2 -2
  63. package/dist/bundle/{command-contract-JP6SCP7U.js → command-contract-DY6Y4TES.js} +13 -13
  64. package/dist/bundle/{command-server-entry-BLSFT3T6.js → command-server-entry-UG2CLYXI.js} +20 -20
  65. package/dist/bundle/{decode-NNLEQU7B.js → decode-3NEUZJ2N.js} +2 -2
  66. package/dist/bundle/{echarts-XAZHGDOM.js → echarts-CN6ZVAJZ.js} +2 -2
  67. package/dist/bundle/{embed-Q7ZCVSCO.js → embed-M4EHIKA5.js} +3 -3
  68. package/dist/bundle/{embedder-MVS3PVWQ.js → embedder-K2XL2UB4.js} +6 -6
  69. package/dist/bundle/{entry-XN3ZZAOK.js → entry-6M55YL2H.js} +6 -6
  70. package/dist/bundle/{first-run-G4EFTONI.js → first-run-TLJILIOF.js} +5 -5
  71. package/dist/bundle/{first-screen-RIDJEPC3.js → first-screen-WME7ILW2.js} +14 -14
  72. package/dist/bundle/{instructions-QDHYYZBU.js → instructions-QLC2AXAB.js} +1 -1
  73. package/dist/bundle/{node-3Y7OVY2U.js → node-BAA3T4CH.js} +2 -2
  74. package/dist/bundle/{node-sqlite-R2SBROJM.js → node-sqlite-FNYVHQCO.js} +4 -4
  75. package/dist/bundle/{oauth-WSPWMWTV.js → oauth-32T5KL5E.js} +4 -4
  76. package/dist/bundle/{open-VFLF4HRQ.js → open-4VQ6FUEI.js} +2 -2
  77. package/dist/bundle/{openai-DFCKZZDV.js → openai-HDOKCN3Z.js} +12 -12
  78. package/dist/bundle/{process-VZKFAGNP.js → process-GOUBIWKC.js} +1 -1
  79. package/dist/bundle/{program-2LB3CUZX.js → program-QFXJL2R5.js} +46 -46
  80. package/dist/bundle/{prompt-RVLA2PEY.js → prompt-YYODWYFO.js} +2 -2
  81. package/dist/bundle/{recognize-LEKNA3G5.js → recognize-7ZULX5HL.js} +1 -1
  82. package/dist/bundle/{remote-WG5V2I2G.js → remote-TUG7M5Y5.js} +6 -6
  83. package/dist/bundle/{rerank-ONAEQVJ6.js → rerank-D2EZWG66.js} +4 -4
  84. package/dist/bundle/{serve-BL2X6FZG.js → serve-MP3GA2XX.js} +6 -6
  85. package/dist/bundle/{server-3LSC4BMK.js → server-D277L3H3.js} +31 -29
  86. package/dist/bundle/server-GEP7QXGI.js +62 -0
  87. package/dist/bundle/{sqlite-runtime-RQXPRH6C.js → sqlite-runtime-XHZXEOLY.js} +3 -3
  88. package/dist/bundle/{state-O7LRA526.js → state-YI3W6HGO.js} +3 -3
  89. package/dist/bundle/{store-HMJUPK45.js → store-C4RFPYPK.js} +9 -9
  90. package/dist/bundle/{store-7C4UAND2.js → store-CIZPJFWE.js} +15 -11
  91. package/dist/bundle/store-maintenance-command-JNDYWFD2.js +52 -0
  92. package/dist/bundle/tg.js +3 -3
  93. package/dist/version.d.ts +1 -1
  94. package/dist/version.js +1 -1
  95. package/package.json +2 -2
  96. package/dist/bundle/server-7EYEEGJT.js +0 -62
  97. package/dist/bundle/store-maintenance-command-I7PSA3SZ.js +0 -52
@@ -8,7 +8,7 @@ import {
8
8
  sameOrdinaryFile,
9
9
  syncDirectory,
10
10
  writeFileAtomic
11
- } from "./chunk-UTNK2PFE.js";
11
+ } from "./chunk-4MKRKW6V.js";
12
12
  import {
13
13
  isNewer,
14
14
  updateCommand
@@ -17,7 +17,7 @@ import {
17
17
  localOnly,
18
18
  refuseOffComputer,
19
19
  remoteKey
20
- } from "./chunk-IN3NAFUN.js";
20
+ } from "./chunk-XUAVZ6YX.js";
21
21
  import {
22
22
  Unzip,
23
23
  UnzipInflate,
@@ -28,7 +28,7 @@ import {
28
28
  placedText,
29
29
  runEmbedders,
30
30
  textModelsDirectory
31
- } from "./chunk-JKF7LZBU.js";
31
+ } from "./chunk-QPVCFSVU.js";
32
32
  import {
33
33
  AGENDA_COLUMNS,
34
34
  BUSINESS_FIND_MAX,
@@ -108,13 +108,13 @@ import {
108
108
  validateAst,
109
109
  validateFields,
110
110
  withoutField
111
- } from "./chunk-JC6HMPL7.js";
111
+ } from "./chunk-HPM47WO3.js";
112
112
  import {
113
113
  DEFAULT_STEMMERS,
114
114
  createStemmer,
115
115
  fold,
116
116
  normalize
117
- } from "./chunk-S4SOS27T.js";
117
+ } from "./chunk-4CQ3PV3V.js";
118
118
  import {
119
119
  EmptyAnswer,
120
120
  MAX_MODEL_IMAGE_BYTES,
@@ -123,7 +123,7 @@ import {
123
123
  range,
124
124
  systemFor,
125
125
  validateImages
126
- } from "./chunk-LU2CHHPC.js";
126
+ } from "./chunk-ZSS3BH6Z.js";
127
127
  import {
128
128
  CEILING_KEY,
129
129
  Command,
@@ -172,25 +172,25 @@ import {
172
172
  textModels,
173
173
  vectorModelKey,
174
174
  writeTextModelsSection
175
- } from "./chunk-FHPEUAHQ.js";
175
+ } from "./chunk-TGKTIDYS.js";
176
176
  import {
177
177
  MESSENGER_CHANGE_REFUSAL,
178
178
  ancestorValue,
179
179
  envName,
180
180
  readOnlyLockOf,
181
181
  readOnlyRefusal
182
- } from "./chunk-DYOZ7CUV.js";
182
+ } from "./chunk-45URY64S.js";
183
183
  import {
184
184
  PLAIN_HTTP_REFUSED,
185
185
  endpoint,
186
186
  endpointFetch,
187
187
  modelAddressAllowed,
188
188
  onThisComputer
189
- } from "./chunk-VG3EQJYV.js";
189
+ } from "./chunk-UIQMBOXU.js";
190
190
  import {
191
191
  installFiles,
192
192
  megabytes
193
- } from "./chunk-PCC7GWOS.js";
193
+ } from "./chunk-3I3TGKVG.js";
194
194
  import {
195
195
  EVENT_QUERY,
196
196
  INTERNAL_NOTES,
@@ -212,6 +212,7 @@ import {
212
212
  dayBoundary,
213
213
  defineQuery,
214
214
  entriesOfList,
215
+ event,
215
216
  eventItem,
216
217
  exportMeeting,
217
218
  fieldsHelp,
@@ -272,22 +273,22 @@ import {
272
273
  walkQuery,
273
274
  withAttempt,
274
275
  zonedMoment
275
- } from "./chunk-6Y6SSZ34.js";
276
+ } from "./chunk-3WI53AA4.js";
276
277
  import {
277
278
  isCliFailure,
278
279
  sqliteCode
279
- } from "./chunk-77Z3OGAT.js";
280
+ } from "./chunk-APSMQIA4.js";
280
281
  import {
281
282
  DEFAULT_TASK_CATEGORIES,
282
283
  FALLBACK_CATEGORY,
283
284
  readSharedSection,
284
285
  sharedConfigPath,
285
286
  writeSharedSection
286
- } from "./chunk-FUYCAROL.js";
287
+ } from "./chunk-ERUB3KU3.js";
287
288
  import {
288
289
  storePath,
289
290
  wirecatDirectory
290
- } from "./chunk-NTHALPDT.js";
291
+ } from "./chunk-Y62I2T36.js";
291
292
  import {
292
293
  Credentials,
293
294
  logRecordOf,
@@ -16950,7 +16951,7 @@ var require_lib3 = __commonJS({
16950
16951
  }
16951
16952
  });
16952
16953
 
16953
- // 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/conversations/link.js
16954
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/conversations/link.js
16954
16955
  var RULES_VERSION = 5;
16955
16956
  var LOOK_BACK = 50;
16956
16957
  var SAME_SENDER_WITHIN = 10;
@@ -17040,10 +17041,10 @@ var latest = /* @__PURE__ */ __name((window3, matches) => {
17040
17041
  var sameThread = /* @__PURE__ */ __name((a, b) => a.threadId === b.threadId, "sameThread");
17041
17042
  var link = /* @__PURE__ */ __name((message, parentId, source, kind, confidence, method) => ({ messageId: message.id, parentId, source, kind, confidence, method }), "link");
17042
17043
 
17043
- // 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/ports/traits.js
17044
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/ports/traits.js
17044
17045
  var syncsOneChat = /* @__PURE__ */ __name((messenger) => messenger.history !== "store" || messenger.historyOnDemand === true, "syncsOneChat");
17045
17046
 
17046
- // 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/upload.js
17047
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/sends/upload.js
17047
17048
  import { openAsBlob, realpathSync } from "node:fs";
17048
17049
  import { open, stat } from "node:fs/promises";
17049
17050
  import { basename, dirname, extname, isAbsolute, relative, resolve, sep } from "node:path";
@@ -17276,15 +17277,15 @@ var readStickerFile = /* @__PURE__ */ __name(async (path, maxBytes, read) => {
17276
17277
  return { name, source };
17277
17278
  }, "readStickerFile");
17278
17279
 
17279
- // 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/send-id.js
17280
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/sends/send-id.js
17280
17281
  import { randomBytes } from "node:crypto";
17281
17282
  var newSendId = /* @__PURE__ */ __name(() => randomBytes(8).readBigInt64BE().toString(), "newSendId");
17282
17283
  var newOperationId = newSendId;
17283
17284
 
17284
- // 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/guard.js
17285
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/sends/guard.js
17285
17286
  import { randomUUID } from "node:crypto";
17286
17287
 
17287
- // 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/flood.js
17288
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/sends/flood.js
17288
17289
  import { mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
17289
17290
  import { dirname as dirname2, join } from "node:path";
17290
17291
  var MOST_DEADLINES = 50;
@@ -17368,11 +17369,11 @@ var FloodMemory = class {
17368
17369
  }
17369
17370
  };
17370
17371
 
17371
- // 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/journal.js
17372
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/sends/journal.js
17372
17373
  import { appendFileSync, mkdirSync as mkdirSync3, readFileSync as readFileSync2 } from "node:fs";
17373
17374
  import { dirname as dirname4, join as join2 } from "node:path";
17374
17375
 
17375
- // 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/file-lock.js
17376
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/sends/file-lock.js
17376
17377
  import { closeSync, mkdirSync as mkdirSync2, openSync, statSync, unlinkSync } from "node:fs";
17377
17378
  import { dirname as dirname3 } from "node:path";
17378
17379
  var LOCK_WAIT_MS = 5e3;
@@ -17439,7 +17440,7 @@ var lockTime = /* @__PURE__ */ __name((lock) => {
17439
17440
  }
17440
17441
  }, "lockTime");
17441
17442
 
17442
- // 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/journal.js
17443
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/sends/journal.js
17443
17444
  var sendsPathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "sends", `${profile}.jsonl`), "sendsPathFor");
17444
17445
  var SendJournal = class {
17445
17446
  static {
@@ -17516,7 +17517,7 @@ var withSendId = /* @__PURE__ */ __name((entry) => {
17516
17517
  return cid === void 0 || rest.sendId !== void 0 ? rest : { ...rest, sendId: String(cid) };
17517
17518
  }, "withSendId");
17518
17519
 
17519
- // 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/recipients.js
17520
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/sends/recipients.js
17520
17521
  import { existsSync, readFileSync as readFileSync3, rmSync } from "node:fs";
17521
17522
  import { join as join3 } from "node:path";
17522
17523
  var recipientsPathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "profiles", `${profile}.recipients.json`), "recipientsPathFor");
@@ -17628,7 +17629,7 @@ var RecipientList = class {
17628
17629
  }
17629
17630
  };
17630
17631
 
17631
- // 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/guard.js
17632
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/sends/guard.js
17632
17633
  var HOUR_MS = 60 * 60 * 1e3;
17633
17634
  var READS = /* @__PURE__ */ new Set([
17634
17635
  "attachments.extract",
@@ -17823,7 +17824,7 @@ var guardFor = /* @__PURE__ */ __name((app, settings, warn, env = process.env, a
17823
17824
  }), "guardFor");
17824
17825
  var journalFailure = /* @__PURE__ */ __name((error) => error?.code ?? (error instanceof Error ? error.name : "error"), "journalFailure");
17825
17826
 
17826
- // 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/lacks.js
17827
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/cli/messenger/lacks.js
17827
17828
  var COMMAND_NEEDS = {
17828
17829
  "account update": ["updateProfile", "change the profile"],
17829
17830
  "account sessions list": ["sessions", "list the account's sessions"],
@@ -17873,7 +17874,7 @@ var hideNever = /* @__PURE__ */ __name((messenger, group) => {
17873
17874
  return group;
17874
17875
  }, "hideNever");
17875
17876
 
17876
- // 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/members-audit.js
17877
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/members-audit.js
17877
17878
  var AUDIT_PAGE = 200;
17878
17879
  var AUDIT_BUDGET = 10;
17879
17880
  var AUDIT_PAUSE_MS = 1e3;
@@ -17953,7 +17954,7 @@ var burstJoins = /* @__PURE__ */ __name((members) => {
17953
17954
  return found;
17954
17955
  }, "burstJoins");
17955
17956
 
17956
- // 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/meetings/cli/query-options.js
17957
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/cli/query-options.js
17957
17958
  var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
17958
17959
  command.allowUnknownOption();
17959
17960
  const parse2 = command.parseOptions.bind(command);
@@ -17973,7 +17974,7 @@ var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
17973
17974
  return command;
17974
17975
  }, "queryWordsAfterOptions");
17975
17976
 
17976
- // 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/meetings/cli/passage.js
17977
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/cli/passage.js
17977
17978
  var count = /* @__PURE__ */ __name((value) => {
17978
17979
  if (!/^(0|[1-9]\d*)$/.test(value) || !Number.isSafeInteger(Number(value)))
17979
17980
  throw new CliError("validation_error", "expected a nonnegative safe integer");
@@ -18015,7 +18016,7 @@ var addMeetingPassageCommandDefinition = /* @__PURE__ */ __name((program, deps)
18015
18016
  var createMeetingPassageCommand = sharedCommand(createMeetingPassageCommandDefinition);
18016
18017
  var addMeetingPassageCommand = sharedCommand(addMeetingPassageCommandDefinition);
18017
18018
 
18018
- // 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/meetings/cli/project-evidence.js
18019
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/cli/project-evidence.js
18019
18020
  var integer2 = /* @__PURE__ */ __name((value) => {
18020
18021
  if (!/^[1-9]\d*$/.test(value) || !Number.isSafeInteger(Number(value)))
18021
18022
  throw new CliError("validation_error", "expected a positive safe integer");
@@ -18038,7 +18039,7 @@ ${fieldsHelp(MEETING_PROJECT_EVIDENCE_QUERY)}`).option("--limit <n>", "hits in o
18038
18039
  }, "addMeetingProjectEvidenceCommandDefinition");
18039
18040
  var addMeetingProjectEvidenceCommand = sharedCommand(addMeetingProjectEvidenceCommandDefinition);
18040
18041
 
18041
- // 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/meetings/cli/search.js
18042
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/cli/search.js
18042
18043
  var ZONED = /(?:Z|[+-]\d{2}:?\d{2})$/i;
18043
18044
  var moment = /* @__PURE__ */ __name((flag, end, readIn) => (value) => {
18044
18045
  const zone = timezoneOf();
@@ -18124,7 +18125,7 @@ var addMeetingSearchCommandDefinition = /* @__PURE__ */ __name((program, deps) =
18124
18125
  var createMeetingSearchCommand = sharedCommand(createMeetingSearchCommandDefinition);
18125
18126
  var addMeetingSearchCommand = sharedCommand(addMeetingSearchCommandDefinition);
18126
18127
 
18127
- // 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/meetings/cli/index.js
18128
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/cli/index.js
18128
18129
  var integer4 = /* @__PURE__ */ __name((text2) => {
18129
18130
  if (!/^[1-9]\d*$/.test(text2) || !Number.isSafeInteger(Number(text2)))
18130
18131
  throw new InvalidArgumentError("expected a positive integer");
@@ -18273,7 +18274,7 @@ ${fieldsHelp(EVENT_QUERY, MEETING_QUERY_GUIDE)}`);
18273
18274
  }, "addMeetingCommandsDefinition");
18274
18275
  var addMeetingCommands = sharedCommand(addMeetingCommandsDefinition);
18275
18276
 
18276
- // 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/list-query.js
18277
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/cli/list-query.js
18277
18278
  var LIST_QUERY_GUIDE = "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md";
18278
18279
  var QUERY_ARGUMENT = "field:value terms that narrow the list \u2014 the fields are below";
18279
18280
  var withQuery = /* @__PURE__ */ __name((command, registry) => {
@@ -18407,7 +18408,7 @@ var termField = /* @__PURE__ */ __name((name, type, example, more = {}) => nativ
18407
18408
  var queryHelp = /* @__PURE__ */ __name((registry) => `
18408
18409
  ${fieldsHelp(registry, LIST_QUERY_GUIDE)}`, "queryHelp");
18409
18410
 
18410
- // 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/paging.js
18411
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/cli/paging.js
18411
18412
  var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
18412
18413
  if (!/^\d+$/.test(value.trim()) || Number(value) < 1)
18413
18414
  throw new CliError("validation_error", `${flag} takes a whole number from 1 upwards, not "${value}"`);
@@ -18416,7 +18417,7 @@ var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
18416
18417
  var withPaging = /* @__PURE__ */ __name((command) => command.option("--limit <n>", "how many to show", positiveCount("--limit")).option("--page <n>", "which page, starting at 1", positiveCount("--page")).option("--all", "every row, no paging"), "withPaging");
18417
18418
  var window = /* @__PURE__ */ __name(({ limit, page, all }) => all ? { offset: 0 } : { limit, offset: (page - 1) * limit }, "window");
18418
18419
 
18419
- // 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/chat-answers.js
18420
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/cli/messenger/chat-answers.js
18420
18421
  var defined = /* @__PURE__ */ __name((record2) => Object.fromEntries(Object.entries(record2).filter(([, value]) => value !== void 0)), "defined");
18421
18422
  var chatRef = /* @__PURE__ */ __name((account, chat) => formatReference({ type: "chat", provider: account.provider, account: account.account, chat }), "chatRef");
18422
18423
  var settingsOf = /* @__PURE__ */ __name((settings) => defined({
@@ -18532,23 +18533,23 @@ var contactShown = /* @__PURE__ */ __name((account, card, profile) => {
18532
18533
  chats: shared
18533
18534
  };
18534
18535
  }, "contactShown");
18535
- var chatEventAnswer = /* @__PURE__ */ __name((chatId, event) => defined({
18536
+ var chatEventAnswer = /* @__PURE__ */ __name((chatId, event2) => defined({
18536
18537
  chat_id: chatId,
18537
- time: event.timestamp,
18538
- type: event.event,
18539
- message_id: event.messageId,
18540
- by: event.by,
18541
- people: event.people,
18542
- title: event.title
18538
+ time: event2.timestamp,
18539
+ type: event2.event,
18540
+ message_id: event2.messageId,
18541
+ by: event2.by,
18542
+ people: event2.people,
18543
+ title: event2.title
18543
18544
  }), "chatEventAnswer");
18544
18545
  var HISTORY_TYPES = { joined: "join", left: "leave", changed: "profile" };
18545
- var memberEventAnswer = /* @__PURE__ */ __name((chatId, event) => defined({
18546
+ var memberEventAnswer = /* @__PURE__ */ __name((chatId, event2) => defined({
18546
18547
  chat_id: chatId,
18547
- time: event.at,
18548
- type: HISTORY_TYPES[event.event],
18549
- by: event.invitedBy === void 0 ? void 0 : { id: event.invitedBy, name: null },
18550
- people: [{ id: event.id, name: event.name, username: event.username }],
18551
- before: event.before ? { name: event.before.name, username: event.before.username } : void 0
18548
+ time: event2.at,
18549
+ type: HISTORY_TYPES[event2.event],
18550
+ by: event2.invitedBy === void 0 ? void 0 : { id: event2.invitedBy, name: null },
18551
+ people: [{ id: event2.id, name: event2.name, username: event2.username }],
18552
+ before: event2.before ? { name: event2.before.name, username: event2.before.username } : void 0
18552
18553
  }), "memberEventAnswer");
18553
18554
  var inviteLinkAnswer = /* @__PURE__ */ __name((link4) => defined({
18554
18555
  link: link4.link,
@@ -18678,7 +18679,7 @@ var sessionAnswer = /* @__PURE__ */ __name(({ current, client, device, location,
18678
18679
  ...createdAt === void 0 ? {} : { created_at: createdAt }
18679
18680
  }), "sessionAnswer");
18680
18681
 
18681
- // 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/ports/messenger.js
18682
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/ports/messenger.js
18682
18683
  var throughWrapper = /* @__PURE__ */ __name((inner, handled, wrap = (_, call) => call) => new Proxy(handled, {
18683
18684
  get: /* @__PURE__ */ __name((own, key) => {
18684
18685
  if (key in own)
@@ -18695,7 +18696,7 @@ var capability = /* @__PURE__ */ __name((adapter, method, what) => {
18695
18696
  return found.bind(adapter);
18696
18697
  }, "capability");
18697
18698
 
18698
- // 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/deps.js
18699
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/deps.js
18699
18700
  var accountStore = /* @__PURE__ */ __name(async (deps) => (await deps.store()).forAccount(await deps.account()), "accountStore");
18700
18701
  var crossAccount = /* @__PURE__ */ __name((deps, _reason) => deps.store(), "crossAccount");
18701
18702
  var NO_LOCAL_STORE = "this answer comes from the messenger, not from the local store";
@@ -18757,7 +18758,7 @@ var storedDeps = /* @__PURE__ */ __name((messenger, store, account, guard) => ({
18757
18758
  }), "storedDeps");
18758
18759
  var storeModeDeps = /* @__PURE__ */ __name((messenger, store, account, guard) => ({ ...storedDeps(messenger, store, account, guard), offline: false, reads: "store" }), "storeModeDeps");
18759
18760
 
18760
- // 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/patience.js
18761
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/patience.js
18761
18762
  import { setTimeout as sleep } from "node:timers/promises";
18762
18763
  var LONGEST_WAIT_MS = 5 * 60 * 1e3;
18763
18764
  var patiently = /* @__PURE__ */ __name(async (request, note, stop) => {
@@ -18780,10 +18781,10 @@ var patiently = /* @__PURE__ */ __name(async (request, note, stop) => {
18780
18781
  }
18781
18782
  }, "patiently");
18782
18783
 
18783
- // 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/archive.js
18784
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/archive.js
18784
18785
  import { setTimeout as sleep2 } from "node:timers/promises";
18785
18786
 
18786
- // 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-estimate.js
18787
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/backfill-estimate.js
18787
18788
  var REQUEST_MS = 400;
18788
18789
  var estimateBackfill = /* @__PURE__ */ __name(({ ranges, held, newest, page, maxPages, pauseMs }) => {
18789
18790
  const lowest = ranges[0];
@@ -18806,13 +18807,13 @@ var estimateBackfill = /* @__PURE__ */ __name(({ ranges, held, newest, page, max
18806
18807
  };
18807
18808
  }, "estimateBackfill");
18808
18809
 
18809
- // 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/recovery.js
18810
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/domain/recovery.js
18810
18811
  var withRecovery = /* @__PURE__ */ __name((error) => ({
18811
18812
  ...error,
18812
18813
  retryable: typeof error.retryable === "boolean" ? error.retryable : error.code === "rate_limited" || error.status === 429
18813
18814
  }), "withRecovery");
18814
18815
 
18815
- // 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/batch.js
18816
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/batch.js
18816
18817
  var actionable = /* @__PURE__ */ __name((error) => {
18817
18818
  if (isCliFailure(error))
18818
18819
  return withRecovery({ code: error.code, message: error.message, ...error.details });
@@ -18895,7 +18896,7 @@ var mergeBatches = /* @__PURE__ */ __name((a, b) => {
18895
18896
  };
18896
18897
  }, "mergeBatches");
18897
18898
 
18898
- // 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/search/groups.js
18899
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/search/groups.js
18899
18900
  var ALL = "all";
18900
18901
  var OWNER_NOTES = { provider: "notes", account: INTERNAL_NOTES };
18901
18902
  var NOT_GROUP_NAMES = /* @__PURE__ */ new Set([ALL, "bots"]);
@@ -18967,7 +18968,7 @@ var groupEntries = /* @__PURE__ */ __name((saved) => ({
18967
18968
  [ALL]: [ALL]
18968
18969
  }), "groupEntries");
18969
18970
 
18970
- // 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/search-kind.js
18971
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/search-kind.js
18971
18972
  var NO_MAIL = "no_mail";
18972
18973
  var MAIL = "email";
18973
18974
  var groupLockOf = /* @__PURE__ */ __name((app, env) => {
@@ -19041,7 +19042,7 @@ var accountsOfKind = /* @__PURE__ */ __name((kind, chosen, held, explicit, comma
19041
19042
  return chosenMail.map(({ provider, account }) => ({ provider, account }));
19042
19043
  }, "accountsOfKind");
19043
19044
 
19044
- // 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/message-resolution.js
19045
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/message-resolution.js
19045
19046
  var readChatId = /* @__PURE__ */ __name(async (deps, reference, store, account) => {
19046
19047
  if (deps.reads !== "store")
19047
19048
  return keptChatId(deps.messenger, reference, store, account);
@@ -19240,7 +19241,7 @@ var chatsMatchingIn = /* @__PURE__ */ __name(async (store, accounts, pattern) =>
19240
19241
  }, "chatsMatchingIn");
19241
19242
  var isText = /* @__PURE__ */ __name((value) => typeof value === "string" && value !== "", "isText");
19242
19243
 
19243
- // 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/context/index.js
19244
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/images/context/index.js
19244
19245
  var CONTEXT_MESSAGES = 3;
19245
19246
  var CONTEXT_MINUTES = 10;
19246
19247
  var MAX_CHARS = 1200;
@@ -19264,12 +19265,12 @@ var context = {
19264
19265
  }, "describe")
19265
19266
  };
19266
19267
 
19267
- // 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/registry.js
19268
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/images/registry.js
19268
19269
  var BUILT_INS = [context];
19269
19270
  var providers = [...BUILT_INS];
19270
19271
  var registeredImageProviders = /* @__PURE__ */ __name(() => providers, "registeredImageProviders");
19271
19272
 
19272
- // 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/conversations.js
19273
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/conversations.js
19273
19274
  var READ_PAGE = 5e3;
19274
19275
  var CHAIN = 50;
19275
19276
  var CONVERSATION_QUERY = {
@@ -19421,7 +19422,7 @@ var sized = /* @__PURE__ */ __name((size2) => {
19421
19422
  return size2;
19422
19423
  }, "sized");
19423
19424
 
19424
- // 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/embeddings-maintenance.js
19425
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/embeddings-maintenance.js
19425
19426
  var REFRESH_BOUNDS = { maxChats: 20, maxChunks: 2e3 };
19426
19427
  var MESSAGE_PAGE = 5e3;
19427
19428
  var PER_SESSION = 8;
@@ -19440,7 +19441,7 @@ var embeddingTarget = /* @__PURE__ */ __name((deps, choice = chosenTextModel(dep
19440
19441
  price: remote.price,
19441
19442
  installed: true,
19442
19443
  perBatch: PER_REQUEST * concurrency,
19443
- open: /* @__PURE__ */ __name(async () => (await import("./remote-WG5V2I2G.js")).openRemote(remote, apiKey, {
19444
+ open: /* @__PURE__ */ __name(async () => (await import("./remote-TUG7M5Y5.js")).openRemote(remote, apiKey, {
19444
19445
  concurrency,
19445
19446
  env: deps.env ?? process.env
19446
19447
  }), "open")
@@ -19460,7 +19461,7 @@ var embeddingTarget = /* @__PURE__ */ __name((deps, choice = chosenTextModel(dep
19460
19461
  if (!isTextModelInstalled(model, directory2))
19461
19462
  throw notDownloaded(model.id);
19462
19463
  if (apart) {
19463
- const { openProcess } = await import("./process-VZKFAGNP.js");
19464
+ const { openProcess } = await import("./process-GOUBIWKC.js");
19464
19465
  return openProcess(model, directory2, { threads: threads ?? defaultThreads() });
19465
19466
  }
19466
19467
  return openEmbedder(model, directory2, { threads: threads ?? defaultThreads() });
@@ -19749,7 +19750,7 @@ var shaped = /* @__PURE__ */ __name(({ chatId, builtAt, algorithmVersion, pendin
19749
19750
  return { ...one, state };
19750
19751
  }, "shaped");
19751
19752
 
19752
- // 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/search-catchup.js
19753
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/search-catchup.js
19753
19754
  var CATCH_UP_BOUNDS = { maxChunks: 500, maxMessages: 1e4, timeMs: 3e4 };
19754
19755
  var validateCatchUpBounds = /* @__PURE__ */ __name((options2) => {
19755
19756
  for (const [key, value, maximum] of [
@@ -19802,7 +19803,7 @@ var catchUpSearch = /* @__PURE__ */ __name(async (deps, chat, options2, signal,
19802
19803
  }
19803
19804
  }, "catchUpSearch");
19804
19805
 
19805
- // 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/archive.js
19806
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/archive.js
19806
19807
  var pushed = /* @__PURE__ */ __name((deps, what) => {
19807
19808
  if (deps.reads === "store") {
19808
19809
  throw new CliError("validation_error", `${what} asks for older history, and this messenger pushes its history instead \u2014 keep \`${typedCommand(deps.messenger.app.command, "serve")}\` running`);
@@ -20183,7 +20184,7 @@ var timeOfKey = /* @__PURE__ */ __name(async (store, account, chatId, key, byTim
20183
20184
  return message?.timestamp ?? fallback;
20184
20185
  }, "timeOfKey");
20185
20186
 
20186
- // 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/questions.js
20187
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/questions.js
20187
20188
  var LINKS = /https?:\/\/\S+/g;
20188
20189
  var unanswered = /* @__PURE__ */ __name((messages, { answerers: answerers2, before: before2 }) => questions(messages, { answerers: answerers2 }).filter(({ question, answer }) => answer === void 0 && Date.parse(question.timestamp) < before2).map(({ question }) => question), "unanswered");
20189
20190
  var questions = /* @__PURE__ */ __name((messages, { answerers: answerers2, asker = "others" }) => {
@@ -20213,7 +20214,7 @@ var questions = /* @__PURE__ */ __name((messages, { answerers: answerers2, asker
20213
20214
  });
20214
20215
  }, "questions");
20215
20216
 
20216
- // 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/task-categories.js
20217
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/task-categories.js
20217
20218
  var names = /* @__PURE__ */ __name((categories) => categories.map(({ name }) => name).join(", "), "names");
20218
20219
  var taskCategoryOf = /* @__PURE__ */ __name((categories = DEFAULT_TASK_CATEGORIES, flag = "--category") => (typed) => {
20219
20220
  const name = typed.trim().toLowerCase();
@@ -20270,7 +20271,7 @@ var categorize = /* @__PURE__ */ __name((text2, categories = DEFAULT_TASK_CATEGO
20270
20271
  return best.name;
20271
20272
  }, "categorize");
20272
20273
 
20273
- // 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/task-rules.js
20274
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/task-rules.js
20274
20275
  var taskAccount = /* @__PURE__ */ __name(({ provider, account }) => `${provider}:${account}`, "taskAccount");
20275
20276
  var RULES_IN = {
20276
20277
  dialog: "all",
@@ -20476,11 +20477,11 @@ var applyTaskRulesToChats = /* @__PURE__ */ __name(async (store, account, chatId
20476
20477
  return passes;
20477
20478
  }, "applyTaskRulesToChats");
20478
20479
 
20479
- // 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/vcard.js
20480
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/domain/vcard.js
20480
20481
  var AS_WORD = new RegExp(`^${WORD_BODY}$`);
20481
20482
  var encoder = new TextEncoder();
20482
20483
 
20483
- // 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/moment.js
20484
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/moment.js
20484
20485
  var AGO = /^(\d+)(m|h|d)$/;
20485
20486
  var AGO_MS = { m: 6e4, h: 36e5, d: 864e5 };
20486
20487
  var DATE = /^\d{4}-\d{2}-\d{2}/;
@@ -20520,7 +20521,7 @@ var dateWindow = /* @__PURE__ */ __name(({ sinceTime, untilTime, zone, now = Dat
20520
20521
  };
20521
20522
  }, "dateWindow");
20522
20523
 
20523
- // 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/check.js
20524
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/botcheck/check.js
20524
20525
  var DAY_MS = 864e5;
20525
20526
  var NEW_DAYS = 30;
20526
20527
  var SAME_TEXT_MIN = 20;
@@ -20597,7 +20598,7 @@ var scorePerson = /* @__PURE__ */ __name(({ subject, provider, activity, photos,
20597
20598
  };
20598
20599
  }, "scorePerson");
20599
20600
 
20600
- // 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/http/time-limit.js
20601
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/http/time-limit.js
20601
20602
  var timeLimit = /* @__PURE__ */ __name((ms) => {
20602
20603
  const controller = new AbortController();
20603
20604
  const timer = setTimeout(() => controller.abort(new DOMException("The operation timed out.", "TimeoutError")), ms);
@@ -20613,7 +20614,7 @@ var withTimeLimit = /* @__PURE__ */ __name(async (ms, run2) => {
20613
20614
  }
20614
20615
  }, "withTimeLimit");
20615
20616
 
20616
- // 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/registries.js
20617
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/botcheck/registries.js
20617
20618
  var REGISTRIES = {
20618
20619
  cas: { title: "Combot Anti-Spam (CAS)", docs: "https://cas.chat/api" },
20619
20620
  lols: { title: "lols.bot", docs: "https://api.lols.bot/lols-bot.json" }
@@ -20700,7 +20701,7 @@ var notCovered = /* @__PURE__ */ __name((messenger, now = /* @__PURE__ */ new Da
20700
20701
  detail: `lists Telegram accounts only, not ${messenger} ones`
20701
20702
  })), "notCovered");
20702
20703
 
20703
- // 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/service.js
20704
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/botcheck/service.js
20704
20705
  var ACTIVITY_MESSAGES = 1e3;
20705
20706
  var botCheckService = /* @__PURE__ */ __name((deps) => {
20706
20707
  const subjectOf = /* @__PURE__ */ __name(async (reference) => {
@@ -20788,7 +20789,7 @@ var botCheckService = /* @__PURE__ */ __name((deps) => {
20788
20789
  };
20789
20790
  }, "botCheckService");
20790
20791
 
20791
- // 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/thread.js
20792
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/domain/thread.js
20792
20793
  var threadIdOf = /* @__PURE__ */ __name((value) => {
20793
20794
  if (value === void 0)
20794
20795
  return void 0;
@@ -20798,7 +20799,7 @@ var threadIdOf = /* @__PURE__ */ __name((value) => {
20798
20799
  return id2;
20799
20800
  }, "threadIdOf");
20800
20801
 
20801
- // 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/chat-stats.js
20802
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/chat-stats.js
20802
20803
  var TOP_POSTS = 5;
20803
20804
  var JOINS = /* @__PURE__ */ new Set(["join", "add"]);
20804
20805
  var LEAVES = /* @__PURE__ */ new Set(["leave", "remove"]);
@@ -20858,7 +20859,7 @@ var topPosts = /* @__PURE__ */ __name((messages) => messages.map((one) => {
20858
20859
  }).filter((one) => one.reactions > 0 || (one.views ?? 0) > 0).sort((a, b) => b.reactions - a.reactions || (b.views ?? 0) - (a.views ?? 0)).slice(0, TOP_POSTS), "topPosts");
20859
20860
  var membersOf2 = /* @__PURE__ */ __name(({ events, more }, messages, since) => {
20860
20861
  const inPeriod = events.filter(({ timestamp }) => Date.parse(timestamp) >= since);
20861
- const people = /* @__PURE__ */ __name((names2) => inPeriod.filter(({ event }) => names2.has(event)).flatMap(({ timestamp, people: people2 }) => people2.map(({ id: id2 }) => ({ id: id2, at: Date.parse(timestamp) }))), "people");
20862
+ const people = /* @__PURE__ */ __name((names2) => inPeriod.filter(({ event: event2 }) => names2.has(event2)).flatMap(({ timestamp, people: people2 }) => people2.map(({ id: id2 }) => ({ id: id2, at: Date.parse(timestamp) }))), "people");
20862
20863
  const joined = people(JOINS);
20863
20864
  const left = people(LEAVES);
20864
20865
  const firstWords = joined.flatMap(({ id: id2, at }) => {
@@ -20892,10 +20893,10 @@ var seriesOf = /* @__PURE__ */ __name((messages, events, by, timezone) => {
20892
20893
  }, "row");
20893
20894
  for (const one of messages)
20894
20895
  row(keyOf7(one.timestamp)).messages.push(one);
20895
- for (const { timestamp, event, people } of events?.events ?? []) {
20896
- if (JOINS.has(event))
20896
+ for (const { timestamp, event: event2, people } of events?.events ?? []) {
20897
+ if (JOINS.has(event2))
20897
20898
  row(keyOf7(timestamp)).joined += people.length;
20898
- if (LEAVES.has(event))
20899
+ if (LEAVES.has(event2))
20899
20900
  row(keyOf7(timestamp)).left += people.length;
20900
20901
  }
20901
20902
  return [...rows.entries()].sort(([a], [b]) => a.localeCompare(b)).map(([key, found]) => ({
@@ -20915,7 +20916,7 @@ var median = /* @__PURE__ */ __name((values) => {
20915
20916
  return Math.round(sorted.length % 2 === 0 ? ((sorted[middle - 1] ?? upper) + upper) / 2 : upper);
20916
20917
  }, "median");
20917
20918
 
20918
- // 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/member-history.js
20919
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/member-history.js
20919
20920
  var memberEvents = /* @__PURE__ */ __name((stays, revisions, since = 0) => {
20920
20921
  const events = [];
20921
20922
  for (const stay of stays) {
@@ -20947,7 +20948,7 @@ var memberEvents = /* @__PURE__ */ __name((stays, revisions, since = 0) => {
20947
20948
  return events.filter(({ at }) => Date.parse(at) >= since).sort((a, b) => Date.parse(a.at) - Date.parse(b.at) || a.id.localeCompare(b.id));
20948
20949
  }, "memberEvents");
20949
20950
 
20950
- // 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/chats.js
20951
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/chats.js
20951
20952
  var EVENTS_DAYS = 7;
20952
20953
  var TRACKED_DAYS = 30;
20953
20954
  var STATS_PAGE = 1e3;
@@ -21242,7 +21243,7 @@ var storedMembers = /* @__PURE__ */ __name(async (store, chatId) => {
21242
21243
  return members.length === 0 ? null : members;
21243
21244
  }, "storedMembers");
21244
21245
 
21245
- // 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/inbox.js
21246
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/inbox.js
21246
21247
  var INBOX_CHATS = 20;
21247
21248
  var REVIEW_DAYS = 3;
21248
21249
  var UNANSWERED_HOURS = 24;
@@ -21450,7 +21451,7 @@ var inboxService = /* @__PURE__ */ __name((deps) => {
21450
21451
  };
21451
21452
  }, "inboxService");
21452
21453
 
21453
- // 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/formatting.js
21454
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/domain/formatting.js
21454
21455
  var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "the messenger formatter returned invalid text spans"), "invalid");
21455
21456
  var validateFormattedText = /* @__PURE__ */ __name((formatted2) => {
21456
21457
  const { text: text2, spans } = formatted2;
@@ -21510,7 +21511,7 @@ var visibleFormattedText = /* @__PURE__ */ __name((formatted2) => {
21510
21511
  };
21511
21512
  }, "visibleFormattedText");
21512
21513
 
21513
- // 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/moderation/check.js
21514
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/moderation/check.js
21514
21515
  var INVITE = /max\.ru\/join\/|(t|telegram)\.me\/(\+|joinchat\/)|tg:\/\/join/i;
21515
21516
  var LINK2 = /https?:\/\/\S+/i;
21516
21517
  var STRENGTH = { report: 0, delete: 1, remove: 2 };
@@ -21667,7 +21668,7 @@ var gather = /* @__PURE__ */ __name(async (adapter, chatId, since) => {
21667
21668
  }
21668
21669
  const scanned = adapter.chatEvents ? (await adapter.chatEvents(chatId, { since })).events : [];
21669
21670
  const until = messages.at(-1)?.timestamp ?? null;
21670
- const events = more && until !== null ? scanned.filter((event) => Date.parse(event.timestamp) <= Date.parse(until)) : scanned;
21671
+ const events = more && until !== null ? scanned.filter((event2) => Date.parse(event2.timestamp) <= Date.parse(until)) : scanned;
21671
21672
  if (!adapter.chatEvents)
21672
21673
  notes.push("this messenger does not say who joined, so only messages are judged");
21673
21674
  const joinedIds = new Set(events.filter((one) => one.event === "join" || one.event === "add").flatMap((one) => one.people.length > 0 ? one.people.map((person) => person.id) : one.by.id ? [one.by.id] : []));
@@ -21698,7 +21699,7 @@ var nextPoint = /* @__PURE__ */ __name((rows, found) => {
21698
21699
  }, "nextPoint");
21699
21700
  var someUndone = /* @__PURE__ */ __name((rows) => rows.some(undone), "someUndone");
21700
21701
 
21701
- // 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/moderation/rules.js
21702
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/moderation/rules.js
21702
21703
  import { existsSync as existsSync2, readFileSync as readFileSync4 } from "node:fs";
21703
21704
  import { join as join4 } from "node:path";
21704
21705
  var RULE_ACTIONS = ["report", "delete", "remove"];
@@ -21841,7 +21842,7 @@ var assign = /* @__PURE__ */ __name((rules, key, value) => {
21841
21842
  return { ...rules, [head]: { ...rules[head], [tail]: value } };
21842
21843
  }, "assign");
21843
21844
 
21844
- // 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/person-meetings.js
21845
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/person-meetings.js
21845
21846
  var SCAN = 1e3;
21846
21847
  var personMeetings = /* @__PURE__ */ __name(async (store, people, accounts, { limit = 10, since, until } = {}) => {
21847
21848
  const byId2 = new Map(accounts.map((one) => [one.id, one]));
@@ -21893,7 +21894,7 @@ var personMeetings = /* @__PURE__ */ __name(async (store, people, accounts, { li
21893
21894
  return { items, total: newest.length, hasMore: cut || newest.length > limit };
21894
21895
  }, "personMeetings");
21895
21896
 
21896
- // 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/person-context.js
21897
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/person-context.js
21897
21898
  var CONTEXT_MESSAGES2 = 10;
21898
21899
  var CONTEXT_BYTES = 64 * 1024;
21899
21900
  var toContext = /* @__PURE__ */ __name((key, message, chatTitle2) => ({
@@ -21936,14 +21937,14 @@ var mailWith = /* @__PURE__ */ __name(async (store, key, address, limit, since)
21936
21937
  }, "mailWith");
21937
21938
  var newestFirst = /* @__PURE__ */ __name((a, b) => Date.parse(b.timestamp) - Date.parse(a.timestamp), "newestFirst");
21938
21939
  var iso = /* @__PURE__ */ __name((at) => at === null ? null : new Date(at).toISOString(), "iso");
21939
- var contextEvent = /* @__PURE__ */ __name((event) => ({
21940
- ref: `event:${event.id}`,
21941
- title: event.title,
21942
- startsAt: iso(event.startsAt),
21943
- endsAt: iso(event.endsAt),
21944
- allDay: event.allDay === true,
21945
- location: event.location,
21946
- status: event.status ?? null
21940
+ var contextEvent = /* @__PURE__ */ __name((event2) => ({
21941
+ ref: `event:${event2.id}`,
21942
+ title: event2.title,
21943
+ startsAt: iso(event2.startsAt),
21944
+ endsAt: iso(event2.endsAt),
21945
+ allDay: event2.allDay === true,
21946
+ location: event2.location,
21947
+ status: event2.status ?? null
21947
21948
  }), "contextEvent");
21948
21949
  var EVENT_PAGE = 100;
21949
21950
  var EVENT_ROWS = 1e3;
@@ -21952,17 +21953,17 @@ var eventsOnce = /* @__PURE__ */ __name(async (store, filter, limit) => {
21952
21953
  const series = /* @__PURE__ */ new Set();
21953
21954
  for (let offset = 0; offset < EVENT_ROWS; offset += EVENT_PAGE) {
21954
21955
  const page = await store.calendar.events({ ...filter, limit: EVENT_PAGE, offset });
21955
- for (const event of page) {
21956
- if (event.status === "cancelled")
21956
+ for (const event2 of page) {
21957
+ if (event2.status === "cancelled")
21957
21958
  continue;
21958
- if (event.eventSeriesId !== null) {
21959
- if (series.has(event.eventSeriesId))
21959
+ if (event2.eventSeriesId !== null) {
21960
+ if (series.has(event2.eventSeriesId))
21960
21961
  continue;
21961
- series.add(event.eventSeriesId);
21962
+ series.add(event2.eventSeriesId);
21962
21963
  }
21963
21964
  if (items.length === limit)
21964
21965
  return { items, cut: true };
21965
- items.push(event);
21966
+ items.push(event2);
21966
21967
  }
21967
21968
  if (page.length < EVENT_PAGE)
21968
21969
  return { items, cut: false };
@@ -22199,10 +22200,10 @@ var personMessages = /* @__PURE__ */ __name(async (store, asked, reference, { ch
22199
22200
  };
22200
22201
  }, "personMessages");
22201
22202
 
22202
- // 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/meeting-evidence.js
22203
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/meeting-evidence.js
22203
22204
  import { createHash } from "node:crypto";
22204
22205
 
22205
- // 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/meeting-reference.js
22206
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/meeting-reference.js
22206
22207
  var missing2 = /* @__PURE__ */ __name(() => new CliError("not_found", "the meeting evidence is unavailable for this account"), "missing");
22207
22208
  var authorizedMeetingMetadata = /* @__PURE__ */ __name(async (store, accountId, reference, options2 = {}) => {
22208
22209
  const parsed = parseMeetingReference(reference);
@@ -22220,7 +22221,7 @@ var authorizedMeetingMetadata = /* @__PURE__ */ __name(async (store, accountId,
22220
22221
  return { parsed, meeting };
22221
22222
  }, "authorizedMeetingMetadata");
22222
22223
 
22223
- // 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/meeting-evidence.js
22224
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/meeting-evidence.js
22224
22225
  var hash = /* @__PURE__ */ __name((value) => createHash("sha256").update(JSON.stringify(value)).digest("hex"), "hash");
22225
22226
  var checkMeetingCancelled = /* @__PURE__ */ __name((signal) => {
22226
22227
  if (signal?.aborted)
@@ -22419,7 +22420,7 @@ var readMeetingEvidence = /* @__PURE__ */ __name(async (store, accountId, refere
22419
22420
  return { ...packet, fingerprint: hash(packet) };
22420
22421
  }, "readMeetingEvidence");
22421
22422
 
22422
- // 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/person-meeting-context.js
22423
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/person-meeting-context.js
22423
22424
  var personMeetingContext = /* @__PURE__ */ __name(async (store, personReference, options2) => {
22424
22425
  const { meetings = 10, cues = 5, bytes: bytes2 = 64 * 1024, scanLimit = 1e3, since, signal } = options2;
22425
22426
  const requestedAccounts = options2.accountIds;
@@ -22518,7 +22519,7 @@ var personMeetingContext = /* @__PURE__ */ __name(async (store, personReference,
22518
22519
  };
22519
22520
  }, "personMeetingContext");
22520
22521
 
22521
- // 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/person-preparation.js
22522
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/person-preparation.js
22522
22523
  var PREPARE_BYTES = 96 * 1024;
22523
22524
  var MEETINGS = 5;
22524
22525
  var CUES = 3;
@@ -22641,7 +22642,7 @@ var meetingsOf = /* @__PURE__ */ __name(async (store, uid, stored, since, left)
22641
22642
  }
22642
22643
  }, "meetingsOf");
22643
22644
 
22644
- // 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/person-profile.js
22645
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/person-profile.js
22645
22646
  var personProfile = /* @__PURE__ */ __name(async (deps, person, known2) => {
22646
22647
  const online = deps.offline ? void 0 : await deps.connection();
22647
22648
  const held = await storeIfOpen(deps);
@@ -22711,7 +22712,7 @@ var quiet = /* @__PURE__ */ __name((facts) => facts.chats.map(({ id: id2, title,
22711
22712
  complete: false
22712
22713
  })), "quiet");
22713
22714
 
22714
- // 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/person-timeline.js
22715
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/person-timeline.js
22715
22716
  var TIMELINE_ITEMS = 50;
22716
22717
  var TIMELINE_MAX = 500;
22717
22718
  var SCOPES = ["personal", "work"];
@@ -22773,7 +22774,7 @@ var personTimeline = /* @__PURE__ */ __name(async (store, asked, reference, { sc
22773
22774
  };
22774
22775
  }, "personTimeline");
22775
22776
 
22776
- // 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/chat-coverage.js
22777
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/chat-coverage.js
22777
22778
  var chatCoverage = /* @__PURE__ */ __name(async (store, account, chatIds) => {
22778
22779
  const ids = [...new Set(chatIds)];
22779
22780
  if (ids.length === 0)
@@ -22799,7 +22800,7 @@ var chatCoverage = /* @__PURE__ */ __name(async (store, account, chatIds) => {
22799
22800
  }));
22800
22801
  }, "chatCoverage");
22801
22802
 
22802
- // 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/context/evidence-response.js
22803
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/context/evidence-response.js
22803
22804
  var contextSourceKey = /* @__PURE__ */ __name((source) => JSON.stringify([source.kind, source.accountId, source.provider, source.account]), "contextSourceKey");
22804
22805
  var validateContextEvidencePage = /* @__PURE__ */ __name((page, request) => {
22805
22806
  const fail2 = /* @__PURE__ */ __name(() => {
@@ -22863,7 +22864,7 @@ var validateContextEvidencePage = /* @__PURE__ */ __name((page, request) => {
22863
22864
  }
22864
22865
  }, "validateContextEvidencePage");
22865
22866
 
22866
- // 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/context/read-budget.js
22867
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/context/read-budget.js
22867
22868
  var contextReadBudget = /* @__PURE__ */ __name((limits = {}) => {
22868
22869
  if (!limits || typeof limits !== "object" || Array.isArray(limits))
22869
22870
  throw new CliError("validation_error", "limits needs a context read allowance");
@@ -22916,7 +22917,7 @@ var contextReadBudget = /* @__PURE__ */ __name((limits = {}) => {
22916
22917
  };
22917
22918
  }, "contextReadBudget");
22918
22919
 
22919
- // 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/context-evidence.js
22920
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/context-evidence.js
22920
22921
  var createContextEvidenceReader = /* @__PURE__ */ __name((port, allowed, limits) => {
22921
22922
  if (!port || typeof port.read !== "function")
22922
22923
  throw new CliError("configuration_error", "context evidence reader is unavailable");
@@ -22960,7 +22961,7 @@ var createContextEvidenceReader = /* @__PURE__ */ __name((port, allowed, limits)
22960
22961
  };
22961
22962
  }, "createContextEvidenceReader");
22962
22963
 
22963
- // 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/excerpt.js
22964
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/excerpt.js
22964
22965
  var queryWords = /* @__PURE__ */ __name((query) => query.toLowerCase().split(/\s+/).map((word) => word.replace(/^[\p{L}_]+:/u, "").replace(/~\d+$/u, "").replace(/^[^\p{L}\p{N}]+|[^\p{L}\p{N}]+$/gu, "")).filter((word) => word.length > 2 && !["and", "or", "not"].includes(word)), "queryWords");
22965
22966
  var excerpt = /* @__PURE__ */ __name((text2, query, size2 = 240, options2 = {}) => {
22966
22967
  const flat = text2.replace(/\s+/g, " ").trim();
@@ -22976,7 +22977,7 @@ var excerpt = /* @__PURE__ */ __name((text2, query, size2 = 240, options2 = {})
22976
22977
  }, "excerpt");
22977
22978
  var withExcerpt = /* @__PURE__ */ __name(({ matchedText, ...hit }, query) => ({ ...hit, excerpt: excerpt(matchedText ?? hit.text, query) }), "withExcerpt");
22978
22979
 
22979
- // 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/project-gathering-around.js
22980
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/project-gathering-around.js
22980
22981
  var storedMessageNeighbours = /* @__PURE__ */ __name((messages) => ({
22981
22982
  async around(ref, window3) {
22982
22983
  const at = parseLocator(ref);
@@ -23071,7 +23072,7 @@ var storedNeighbours = /* @__PURE__ */ __name((store) => {
23071
23072
  };
23072
23073
  }, "storedNeighbours");
23073
23074
 
23074
- // 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/project-gathering-request.js
23075
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/project-gathering-request.js
23075
23076
  import { createHash as createHash2 } from "node:crypto";
23076
23077
  var DAY = 864e5;
23077
23078
  var MAX_TIME = 864e13;
@@ -23387,7 +23388,7 @@ var decodeCheckpoint = /* @__PURE__ */ __name((text2, plan) => {
23387
23388
  return value;
23388
23389
  }, "decodeCheckpoint");
23389
23390
 
23390
- // 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/project-gathering.js
23391
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/project-gathering.js
23391
23392
  var terminal = /* @__PURE__ */ new Set(["done", "unavailable", "failed"]);
23392
23393
  var PAGE3 = 20;
23393
23394
  var PEOPLE = 20;
@@ -23791,7 +23792,7 @@ var peopleOf = /* @__PURE__ */ __name((items, senderOf) => {
23791
23792
  return [...byKey.values()].sort((a, b) => b.items - a.items || a.name.localeCompare(b.name));
23792
23793
  }, "peopleOf");
23793
23794
 
23794
- // 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/meeting-project-candidate-matching.js
23795
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/meeting-project-candidate-matching.js
23795
23796
  var normalizedText = /* @__PURE__ */ __name((text2) => text2.normalize("NFKC").toLowerCase().replace(/\s+/gu, " "), "normalizedText");
23796
23797
  var termsOf = /* @__PURE__ */ __name((entry) => [
23797
23798
  { name: entry.name, kind: "canonical" },
@@ -23835,7 +23836,7 @@ var matchVocabularyTerms = /* @__PURE__ */ __name((catalog, texts) => {
23835
23836
  return result.sort((a, b) => Number(a.entry.id) - Number(b.entry.id));
23836
23837
  }, "matchVocabularyTerms");
23837
23838
 
23838
- // 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/project-gathering-mentions.js
23839
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/project-gathering-mentions.js
23839
23840
  var KINDS = ["project", "tag", "topic"];
23840
23841
  var findEvidenceMentions = /* @__PURE__ */ __name(async (vocabulary, gathering, options2 = {}) => {
23841
23842
  if (typeof vocabulary?.vocabulary !== "function")
@@ -23890,7 +23891,7 @@ var findEvidenceMentions = /* @__PURE__ */ __name(async (vocabulary, gathering,
23890
23891
  };
23891
23892
  }, "findEvidenceMentions");
23892
23893
 
23893
- // 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/project-purposes.js
23894
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/project-purposes.js
23894
23895
  var BUILT_IN_PURPOSES = ["work", "sales", "support", "other"];
23895
23896
  var DEFAULT_PURPOSES = ["work"];
23896
23897
  var LINK_PURPOSE = "work";
@@ -23920,7 +23921,7 @@ var purposeList = /* @__PURE__ */ __name((value, previous = []) => [
23920
23921
  ...value.split(",").map((one) => one.trim()).filter(Boolean)
23921
23922
  ], "purposeList");
23922
23923
 
23923
- // 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/stored-project-gathering.js
23924
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/stored-project-gathering.js
23924
23925
  var storedChatCount = /* @__PURE__ */ __name((store) => async (account, chatId, { since, until }) => {
23925
23926
  const window3 = { since: new Date(since).toISOString(), until: new Date(until - 1).toISOString() };
23926
23927
  const [messages, newest, oldest] = await Promise.all([
@@ -24231,7 +24232,7 @@ var purposeHintOf = /* @__PURE__ */ __name((linked, rows, of) => {
24231
24232
  return { chat: top.ref, relationship: link4.relationship, items, of };
24232
24233
  }, "purposeHintOf");
24233
24234
 
24234
- // 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/people.js
24235
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/people.js
24235
24236
  var peopleService = /* @__PURE__ */ __name((deps) => {
24236
24237
  const localCard = /* @__PURE__ */ __name(async (card, includeNotes = false) => {
24237
24238
  const held = await storeIfOpen(deps);
@@ -24496,7 +24497,7 @@ var withoutPhone = /* @__PURE__ */ __name((answer) => {
24496
24497
  return rest;
24497
24498
  }, "withoutPhone");
24498
24499
 
24499
- // 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/task-stats.js
24500
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/task-stats.js
24500
24501
  var TASK_STATS_BY = ["chat", "meeting", "project"];
24501
24502
  var PERIOD_FIELD = "created";
24502
24503
  var refuseNestedPeriod = /* @__PURE__ */ __name((node, top = true) => {
@@ -24627,7 +24628,7 @@ var meetingNames = /* @__PURE__ */ __name(async (store, groups) => {
24627
24628
  }));
24628
24629
  }, "meetingNames");
24629
24630
 
24630
- // 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/task-tag-filters.js
24631
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/task-tag-filters.js
24631
24632
  var taskTagFilters = /* @__PURE__ */ __name(async (store, query) => {
24632
24633
  const tags = /* @__PURE__ */ new Map();
24633
24634
  for (const node of query ? walkQuery(query.root) : [])
@@ -24636,7 +24637,7 @@ var taskTagFilters = /* @__PURE__ */ __name(async (store, query) => {
24636
24637
  return tags;
24637
24638
  }, "taskTagFilters");
24638
24639
 
24639
- // 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/tasks.js
24640
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/tasks.js
24640
24641
  var TASK_QUERY = {
24641
24642
  entity: "task",
24642
24643
  backend: "sql",
@@ -25136,7 +25137,7 @@ var taskView = /* @__PURE__ */ __name(async (store, account, task2) => {
25136
25137
  };
25137
25138
  }, "taskView");
25138
25139
 
25139
- // 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/mail/owed.js
25140
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/mail/owed.js
25140
25141
  var mailTurn = /* @__PURE__ */ __name((newest) => {
25141
25142
  if (newest === null)
25142
25143
  return null;
@@ -25145,7 +25146,7 @@ var mailTurn = /* @__PURE__ */ __name((newest) => {
25145
25146
  return newest.addressed ? "owed" : null;
25146
25147
  }, "mailTurn");
25147
25148
 
25148
- // 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/agenda-mail.js
25149
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/agenda-mail.js
25149
25150
  var absent = /* @__PURE__ */ __name((error) => {
25150
25151
  if (error instanceof CliError && error.code === "not_found")
25151
25152
  return void 0;
@@ -25203,7 +25204,7 @@ var mailActivity = /* @__PURE__ */ __name(async (store, account, since, chats) =
25203
25204
  };
25204
25205
  }, "mailActivity");
25205
25206
 
25206
- // 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/agenda.js
25207
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/agenda.js
25207
25208
  var DAY2 = 864e5;
25208
25209
  var AGENDA_DEFAULTS = { unanswered: DAY2, waiting: 7 * DAY2 };
25209
25210
  var CLAIMS = ["none", "mine", "others", "any"];
@@ -25457,18 +25458,18 @@ var agendaItem = /* @__PURE__ */ __name((shown) => {
25457
25458
  };
25458
25459
  }, "agendaItem");
25459
25460
 
25460
- // 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/media-archive.js
25461
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/media-archive.js
25461
25462
  import { setTimeout as sleep3 } from "node:timers/promises";
25462
25463
 
25463
- // 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/media-archive-files.js
25464
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/media-archive-files.js
25464
25465
  import { lstat } from "node:fs/promises";
25465
25466
 
25466
- // 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/persistence/native/recording-partial-store.js
25467
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/persistence/native/recording-partial-store.js
25467
25468
  import { createHash as createHash4, randomUUID as randomUUID3 } from "node:crypto";
25468
25469
  import { open as open3, rename as rename2, unlink as unlink2 } from "node:fs/promises";
25469
25470
  import { join as join6 } from "node:path";
25470
25471
 
25471
- // 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/persistence/native/recording-partial-metadata.js
25472
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/persistence/native/recording-partial-metadata.js
25472
25473
  import { createHash as createHash3 } from "node:crypto";
25473
25474
  var metadataLimit = 16384;
25474
25475
  var partialIdentity = /* @__PURE__ */ __name((locator) => JSON.stringify([locator.provider, locator.account, locator.occurrenceId, locator.assetId]), "partialIdentity");
@@ -25528,7 +25529,7 @@ var readPartialMetadata = /* @__PURE__ */ __name(async (path, locator, maxBytes,
25528
25529
  }
25529
25530
  }, "readPartialMetadata");
25530
25531
 
25531
- // 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/persistence/native/recording-partial-writer.js
25532
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/persistence/native/recording-partial-writer.js
25532
25533
  import { randomUUID as randomUUID2 } from "node:crypto";
25533
25534
  import { open as open2, rename, unlink } from "node:fs/promises";
25534
25535
  import { join as join5 } from "node:path";
@@ -25620,7 +25621,7 @@ var partialWriter = /* @__PURE__ */ __name(async (input) => {
25620
25621
  };
25621
25622
  }, "partialWriter");
25622
25623
 
25623
- // 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/persistence/native/recording-partial-store.js
25624
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/persistence/native/recording-partial-store.js
25624
25625
  var NativeRecordingPartialStore = class {
25625
25626
  static {
25626
25627
  __name(this, "NativeRecordingPartialStore");
@@ -25727,12 +25728,12 @@ var NativeRecordingPartialStore = class {
25727
25728
  }
25728
25729
  };
25729
25730
 
25730
- // 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/persistence/native/recording-publication.js
25731
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/persistence/native/recording-publication.js
25731
25732
  import { createHash as createHash5 } from "node:crypto";
25732
25733
  import { link as link2 } from "node:fs/promises";
25733
25734
  import { basename as basename2, dirname as dirname5, join as join8, resolve as resolve2 } from "node:path";
25734
25735
 
25735
- // 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/persistence/native/recording-publication-files.js
25736
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/persistence/native/recording-publication-files.js
25736
25737
  import { unlink as unlink3 } from "node:fs/promises";
25737
25738
  var verifiedPublicationFile = /* @__PURE__ */ __name(async (path, expected2, signal, writable = false) => {
25738
25739
  signal?.throwIfAborted();
@@ -25767,7 +25768,7 @@ var commitPublication = /* @__PURE__ */ __name(async (root, partialPath, finalPa
25767
25768
  signal?.throwIfAborted();
25768
25769
  }, "commitPublication");
25769
25770
 
25770
- // 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/persistence/native/recording-publication-journal.js
25771
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/persistence/native/recording-publication-journal.js
25771
25772
  import { randomUUID as randomUUID4 } from "node:crypto";
25772
25773
  import { open as open4, rename as rename3, unlink as unlink4 } from "node:fs/promises";
25773
25774
  import { join as join7 } from "node:path";
@@ -25840,7 +25841,7 @@ var writePublicationJournal = /* @__PURE__ */ __name(async (root, path, prefix,
25840
25841
  }
25841
25842
  }, "writePublicationJournal");
25842
25843
 
25843
- // 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/persistence/native/recording-publication.js
25844
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/persistence/native/recording-publication.js
25844
25845
  var NativeRecordingPublication = class {
25845
25846
  static {
25846
25847
  __name(this, "NativeRecordingPublication");
@@ -25913,7 +25914,7 @@ var NativeRecordingPublication = class {
25913
25914
  }
25914
25915
  };
25915
25916
 
25916
- // 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/media-archive-manifest.js
25917
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/media-archive-manifest.js
25917
25918
  import { createHash as createHash6 } from "node:crypto";
25918
25919
  import { readdir } from "node:fs/promises";
25919
25920
  import { isAbsolute as isAbsolute2, join as join9, resolve as resolve3 } from "node:path";
@@ -26000,7 +26001,7 @@ var commitMediaEntry = /* @__PURE__ */ __name((root, one, beforePublish) => writ
26000
26001
  beforePublish
26001
26002
  }), "commitMediaEntry");
26002
26003
 
26003
- // 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/media-archive-files.js
26004
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/media-archive-files.js
26004
26005
  var validator = '"media-completed-v1"';
26005
26006
  var maximumFileBytes = 64 * 1024 * 1024 * 1024;
26006
26007
  var archiveMediaFile = /* @__PURE__ */ __name(async (root, identity, kind, file2, beforeWrite, signal, metadata = {}) => {
@@ -26101,7 +26102,7 @@ var archiveMediaFile = /* @__PURE__ */ __name(async (root, identity, kind, file2
26101
26102
  return entry;
26102
26103
  }, "archiveMediaFile");
26103
26104
 
26104
- // 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/media-archive-locks.js
26105
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/media-archive-locks.js
26105
26106
  import { mkdir, realpath } from "node:fs/promises";
26106
26107
  import { join as join10, resolve as resolve4 } from "node:path";
26107
26108
  var archiveLocations = /* @__PURE__ */ __name(async (initial, signal) => {
@@ -26168,7 +26169,7 @@ var withMediaArchiveLocks = /* @__PURE__ */ __name(async (directory2, signal, ru
26168
26169
  throw new CliError("validation_error", "archive locations changed during locking; run the command again");
26169
26170
  }, "withMediaArchiveLocks");
26170
26171
 
26171
- // 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/media-archive.js
26172
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/media-archive.js
26172
26173
  var validateMediaSince = /* @__PURE__ */ __name((value, flag = "--since-time") => {
26173
26174
  if (value === void 0)
26174
26175
  return void 0;
@@ -26321,7 +26322,7 @@ var archiveMedia = /* @__PURE__ */ __name(async (ports, options2) => {
26321
26322
  }, { create: true });
26322
26323
  }, "archiveMedia");
26323
26324
 
26324
- // 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/media-archive-move.js
26325
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/media-archive-move.js
26325
26326
  import { realpath as realpath2, unlink as unlink5 } from "node:fs/promises";
26326
26327
  import { basename as basename3, dirname as dirname6, join as join11, resolve as resolve5 } from "node:path";
26327
26328
  var canonicalDestination = /* @__PURE__ */ __name(async (directory2) => {
@@ -26474,7 +26475,7 @@ var moveMediaArchive = /* @__PURE__ */ __name(async (options2) => {
26474
26475
  }, { additional: [target2], createAdditional: !options2.dryRun });
26475
26476
  }, "moveMediaArchive");
26476
26477
 
26477
- // 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/model-downloads.js
26478
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/model-downloads.js
26478
26479
  import { writeFileSync as writeFileSync2 } from "node:fs";
26479
26480
  import { join as join12 } from "node:path";
26480
26481
  var bytesOf = /* @__PURE__ */ __name((model) => model.files.reduce((sum2, file2) => sum2 + file2.bytes, 0), "bytesOf");
@@ -26499,7 +26500,7 @@ var downloadTextModel = /* @__PURE__ */ __name(async (id2, { env, progress = /*
26499
26500
  `);
26500
26501
  await nativeRuntime({ env, progress });
26501
26502
  progress(`${model.id}: loading it once to check it works`);
26502
- const { openEmbedder: openEmbedder2 } = await import("./embed-Q7ZCVSCO.js");
26503
+ const { openEmbedder: openEmbedder2 } = await import("./embed-M4EHIKA5.js");
26503
26504
  const embedder = await openEmbedder2(model, directory2);
26504
26505
  try {
26505
26506
  const [vector] = await embedder.embed(["check"], "query");
@@ -26520,7 +26521,7 @@ var downloadRerankModel = /* @__PURE__ */ __name(async (id2, { env, progress = /
26520
26521
  }
26521
26522
  await nativeRuntime({ env, progress });
26522
26523
  progress(`${model.id}: loading it once to check it works`);
26523
- const { openReranker } = await import("./rerank-ONAEQVJ6.js");
26524
+ const { openReranker } = await import("./rerank-D2EZWG66.js");
26524
26525
  const reranker = await openReranker(model, directory2);
26525
26526
  try {
26526
26527
  await reranker.score("check", ["check"]);
@@ -26538,7 +26539,7 @@ var downloadImageModel = /* @__PURE__ */ __name(async (id2, { env, progress = /*
26538
26539
  await installFiles(placedImage(model, directory2), { progress, ...bytes2 ? { bytes: bytes2 } : {} });
26539
26540
  }
26540
26541
  progress(`${model.id}: loading it once to check it works`);
26541
- const { openPictureEmbedder } = await import("./embedder-MVS3PVWQ.js");
26542
+ const { openPictureEmbedder } = await import("./embedder-K2XL2UB4.js");
26542
26543
  const embedder = await openPictureEmbedder(model, directory2);
26543
26544
  try {
26544
26545
  const vector = await embedder.embedQuery("check");
@@ -26550,7 +26551,7 @@ var downloadImageModel = /* @__PURE__ */ __name(async (id2, { env, progress = /*
26550
26551
  return { model, directory: directory2 };
26551
26552
  }, "downloadImageModel");
26552
26553
 
26553
- // 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/money-words.js
26554
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/domain/money-words.js
26554
26555
  var MONEY_REQUEST = "money-request";
26555
26556
  var MONEY_DONE = "money-done";
26556
26557
  var PROMISE = "promise";
@@ -26584,10 +26585,10 @@ var MONEY_WORDS = [
26584
26585
  }
26585
26586
  ];
26586
26587
 
26587
- // 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/money-words.js
26588
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/money-words.js
26588
26589
  var moneyClassesOf = /* @__PURE__ */ __name((text2) => listsHit(text2, MONEY_WORDS), "moneyClassesOf");
26589
26590
 
26590
- // 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/status-words.js
26591
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/domain/status-words.js
26591
26592
  var words = /* @__PURE__ */ __name((forms) => new RegExp(`(?<![\\p{L}\\p{N}])(?:${forms.join("|")})(?![\\p{L}\\p{N}])`, "iu"), "words");
26592
26593
  var MONEY_DONE_FORMS = words([
26593
26594
  "\u043E\u043F\u043B\u0430\u0442\u0438\u043B[\u0430\u0438]?",
@@ -26627,7 +26628,7 @@ var PROMISE_FORMS = words([
26627
26628
  "estar\xE1 listo"
26628
26629
  ]);
26629
26630
 
26630
- // 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/project-status/items.js
26631
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/project-status/items.js
26631
26632
  var EXCERPT_CHARS = 80;
26632
26633
  var excerpt2 = /* @__PURE__ */ __name((text2) => {
26633
26634
  const flat = text2.replace(/\s+/g, " ").trim();
@@ -26649,7 +26650,7 @@ var whoOf = /* @__PURE__ */ __name((message) => ({
26649
26650
  var fromOwner = /* @__PURE__ */ __name((message) => message.outgoing === true, "fromOwner");
26650
26651
  var day = /* @__PURE__ */ __name((at) => new Date(at).toISOString().slice(0, 10), "day");
26651
26652
 
26652
- // 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/project-status/signals/amounts.js
26653
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/project-status/signals/amounts.js
26653
26654
  var MONEY = DEFAULT_TASK_CATEGORIES.filter((category) => category.name === "money");
26654
26655
  var verbOf = /* @__PURE__ */ __name((text2) => {
26655
26656
  if (MONEY_DONE_FORMS.test(text2))
@@ -26730,7 +26731,7 @@ var amounts = {
26730
26731
  attention: /* @__PURE__ */ __name((items) => items.flatMap((item2) => item2.chat !== null && item2.data.state === "asked" ? [{ chat: item2.chat, weight: 2, why: "money asked" }] : []), "attention")
26731
26732
  };
26732
26733
 
26733
- // 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/project-status/signals/children.js
26734
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/project-status/signals/children.js
26734
26735
  var children = {
26735
26736
  id: "children",
26736
26737
  version: 1,
@@ -26759,7 +26760,7 @@ var children = {
26759
26760
  }, "read")
26760
26761
  };
26761
26762
 
26762
- // 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/project-status/signals/coverage.js
26763
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/project-status/signals/coverage.js
26763
26764
  var coverage = {
26764
26765
  id: "coverage",
26765
26766
  version: 1,
@@ -26788,7 +26789,7 @@ var coverage = {
26788
26789
  attention: /* @__PURE__ */ __name((items) => items.flatMap((item2) => item2.chat !== null && item2.data.state !== "complete" && item2.data.beforeHeld ? [{ chat: item2.chat, weight: 3, why: "held in part" }] : []), "attention")
26789
26790
  };
26790
26791
 
26791
- // 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/project-status/signals/payments.js
26792
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/project-status/signals/payments.js
26792
26793
  var holding2 = /* @__PURE__ */ __name((row) => row.review !== "rejected", "holding");
26793
26794
  var item = /* @__PURE__ */ __name((row, at, data) => ({
26794
26795
  signal: "payments",
@@ -26838,7 +26839,7 @@ var payments = {
26838
26839
  }, "read")
26839
26840
  };
26840
26841
 
26841
- // 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/project-status/signals/promises.js
26842
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/project-status/signals/promises.js
26842
26843
  var PATTERNS_PER_CHAT = 3;
26843
26844
  var DAY3 = 864e5;
26844
26845
  var KINDS2 = /* @__PURE__ */ new Set(["promise", "request"]);
@@ -26927,7 +26928,7 @@ var promises = {
26927
26928
  }, "read")
26928
26929
  };
26929
26930
 
26930
- // 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/project-status/signals/questions.js
26931
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/project-status/signals/questions.js
26931
26932
  var PER_SIDE = 5;
26932
26933
  var WEEK = 7 * 864e5;
26933
26934
  var NOBODY = /* @__PURE__ */ new Set();
@@ -26958,7 +26959,7 @@ var questions2 = {
26958
26959
  }, "attention")
26959
26960
  };
26960
26961
 
26961
- // 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/project-status/signals/reply-next.js
26962
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/project-status/signals/reply-next.js
26962
26963
  var targetOf = /* @__PURE__ */ __name((message, chat, owners) => {
26963
26964
  const byId2 = /* @__PURE__ */ __name((id2) => chat.messages.find((one) => one.id === id2), "byId");
26964
26965
  const quoted = message.replyTo ?? (message.replyToId === void 0 ? void 0 : byId2(message.replyToId));
@@ -27026,7 +27027,7 @@ var replyNext = {
27026
27027
  attention: /* @__PURE__ */ __name((items) => items.flatMap((item2) => item2.chat !== null && item2.data.next === "owner" ? [{ chat: item2.chat, weight: 2, why: "your move" }] : []), "attention")
27027
27028
  };
27028
27029
 
27029
- // 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/project-status/signals/topics.js
27030
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/project-status/signals/topics.js
27030
27031
  var escaped = /* @__PURE__ */ __name((text2) => text2.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), "escaped");
27031
27032
  var wholeWord = /* @__PURE__ */ __name((word) => new RegExp(`(?<![\\p{L}\\p{N}])${escaped(word)}(?![\\p{L}\\p{N}])`, "u"), "wholeWord");
27032
27033
  var matcherOf = /* @__PURE__ */ __name((query) => {
@@ -27072,7 +27073,7 @@ var topics = {
27072
27073
  }, "read")
27073
27074
  };
27074
27075
 
27075
- // 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/project-status/signals/index.js
27076
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/project-status/signals/index.js
27076
27077
  var STATUS_SIGNALS = [
27077
27078
  replyNext,
27078
27079
  questions2,
@@ -27084,7 +27085,7 @@ var STATUS_SIGNALS = [
27084
27085
  children
27085
27086
  ];
27086
27087
 
27087
- // 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/project-status/index.js
27088
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/project-status/index.js
27088
27089
  var DAY4 = 864e5;
27089
27090
  var STATUS_WINDOW = 300;
27090
27091
  var STATUS_CHATS = 16;
@@ -27273,7 +27274,7 @@ var projectStatus = /* @__PURE__ */ __name(async (store, input) => {
27273
27274
  };
27274
27275
  }, "projectStatus");
27275
27276
 
27276
- // 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/account.js
27277
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/account.js
27277
27278
  var accountService = /* @__PURE__ */ __name((deps) => {
27278
27279
  const online = /* @__PURE__ */ __name(async (command) => {
27279
27280
  if (deps.offline)
@@ -27345,7 +27346,7 @@ var accountService = /* @__PURE__ */ __name((deps) => {
27345
27346
  };
27346
27347
  }, "accountService");
27347
27348
 
27348
- // 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/send-time.js
27349
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/domain/send-time.js
27349
27350
  var MINUTE = 6e4;
27350
27351
  var YEAR = 365 * 24 * 60 * MINUTE;
27351
27352
  var DELAY = /^(\d+)(m|h|d)$/;
@@ -27364,7 +27365,7 @@ var sendTime = /* @__PURE__ */ __name((value, now = Date.now(), flag = "--at-tim
27364
27365
  return new Date(at - at % MINUTE).toISOString();
27365
27366
  }, "sendTime");
27366
27367
 
27367
- // 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/admin.js
27368
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/admin.js
27368
27369
  var recordMembership = /* @__PURE__ */ __name(async (deps, operationId, done2, change, fix, write) => {
27369
27370
  try {
27370
27371
  const held = await accountStoreIfOpen(deps);
@@ -27611,7 +27612,7 @@ var linkLimits = /* @__PURE__ */ __name(({ approval, expires, maxUses }) => {
27611
27612
  return expires === void 0 ? void 0 : sendTime(expires, Date.now(), "--expire-time");
27612
27613
  }, "linkLimits");
27613
27614
 
27614
- // 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/mail-search.js
27615
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/mail-search.js
27615
27616
  var THREADS_PAGE = 500;
27616
27617
  var threadsOf = /* @__PURE__ */ __name(async (store, key) => {
27617
27618
  const account = await store.accounts.storedAccount(key).catch(() => void 0);
@@ -27690,7 +27691,7 @@ var readMail = /* @__PURE__ */ __name(async (store, locator, { before: before2 =
27690
27691
  return thread.slice(Math.max(0, at - before2), at + after + 1).map((hit) => hit.id === message ? { ...hit, anchor: true } : hit);
27691
27692
  }, "readMail");
27692
27693
 
27693
- // 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/messages-search.js
27694
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/messages-search.js
27694
27695
  var PERSON_FIELDS = /* @__PURE__ */ new Set(["from", "to", "cc", "bcc"]);
27695
27696
  var MAIL_FIELDS = /* @__PURE__ */ new Set(["to", "cc", "bcc", "subject", "mailbox", "label", "is", "list"]);
27696
27697
  var positiveSources = /* @__PURE__ */ __name((node) => node.kind === "predicate" ? node.field === "in" ? [node.value.toLowerCase()] : [] : node.clauses.filter(({ occur }) => occur !== "must_not").flatMap(({ node: node2 }) => positiveSources(node2)), "positiveSources");
@@ -28059,7 +28060,7 @@ var statsLucene = /* @__PURE__ */ __name(async (store, account, request, messeng
28059
28060
  };
28060
28061
  }, "statsLucene");
28061
28062
 
28062
- // 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/rankings-selection.js
28063
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/rankings-selection.js
28063
28064
  var RANKING_SELECTION_BYTES = 64 * 1024;
28064
28065
  var object2 = /* @__PURE__ */ __name((value) => value !== null && typeof value === "object" && !Array.isArray(value) ? value : void 0, "object");
28065
28066
  function invalid3(message = "ranking selection is invalid \u2014 obtain a new drilldown from stats top") {
@@ -28228,7 +28229,7 @@ var readRankingSelection = /* @__PURE__ */ __name(async (store, input) => {
28228
28229
  };
28229
28230
  }, "readRankingSelection");
28230
28231
 
28231
- // 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/search-record.js
28232
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/search-record.js
28232
28233
  var canonical = /* @__PURE__ */ __name((value, nested = false) => Array.isArray(value) ? value.map((one) => canonical(one, true)) : value !== null && typeof value === "object" ? Object.fromEntries(Object.entries(value).filter(([, one]) => one !== void 0 && (nested || one !== false)).sort(([a], [b]) => a < b ? -1 : a > b ? 1 : 0).map(([key, one]) => [key, canonical(one, true)])) : value, "canonical");
28233
28234
  var searchRecordOf = /* @__PURE__ */ __name((command, params) => ({
28234
28235
  command,
@@ -28238,7 +28239,7 @@ var searchRecordOf = /* @__PURE__ */ __name((command, params) => ({
28238
28239
  fieldsVersion: FIELD_VERSION
28239
28240
  }), "searchRecordOf");
28240
28241
 
28241
- // 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/admin-statistics.js
28242
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/admin-statistics.js
28242
28243
  function invalid4(message) {
28243
28244
  throw new CliError("validation_error", message);
28244
28245
  }
@@ -28532,7 +28533,7 @@ var adminStatisticsService = /* @__PURE__ */ __name((deps) => ({
28532
28533
  }, "evidence")
28533
28534
  }), "adminStatisticsService");
28534
28535
 
28535
- // 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/archive-gaps.js
28536
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/archive-gaps.js
28536
28537
  import { createHash as createHash7, randomUUID as randomUUID5 } from "node:crypto";
28537
28538
  var GAP_BOUNDS = { maxGaps: 5, limit: 500, timeMs: 3e4 };
28538
28539
  var validateRepair = /* @__PURE__ */ __name((messenger, options2) => {
@@ -28669,12 +28670,12 @@ var gapsService = /* @__PURE__ */ __name((deps) => {
28669
28670
  return { plan, repair };
28670
28671
  }, "gapsService");
28671
28672
 
28672
- // 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/attachments.js
28673
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/attachments.js
28673
28674
  import { createHash as createHash10 } from "node:crypto";
28674
28675
  import { constants as constants2, mkdirSync as mkdirSync5 } from "node:fs";
28675
28676
  import { lstat as lstat5, open as open6, readFile as readFile2, stat as stat2 } from "node:fs/promises";
28676
28677
 
28677
- // 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/attachments/directory.js
28678
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/attachments/directory.js
28678
28679
  import { lstat as lstat2, readdir as readdir2, realpath as realpath3 } from "node:fs/promises";
28679
28680
  import { basename as basename4, join as join13, relative as relative2, sep as sep2 } from "node:path";
28680
28681
  var MAX_FILES = 1e4;
@@ -28745,15 +28746,15 @@ var directoryPaths = /* @__PURE__ */ __name(async (store, chat, directory2, app,
28745
28746
  return choices;
28746
28747
  }, "directoryPaths");
28747
28748
 
28748
- // 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/attachments/documents.js
28749
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/attachments/documents.js
28749
28750
  import { posix } from "node:path";
28750
28751
 
28751
- // 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/attachments/container.js
28752
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/attachments/container.js
28752
28753
  import { setImmediate as tick } from "node:timers/promises";
28753
28754
  import { crc32 } from "node:zlib";
28754
28755
  var import_xmldom = __toESM(require_lib(), 1);
28755
28756
 
28756
- // 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/attachments/encoding.js
28757
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/attachments/encoding.js
28757
28758
  var import_chardet = __toESM(require_lib2(), 1);
28758
28759
  var import_iconv_lite = __toESM(require_lib3(), 1);
28759
28760
  var SAMPLE = 65536;
@@ -28855,7 +28856,7 @@ var decodeXml = /* @__PURE__ */ __name((bytes2) => {
28855
28856
  return result.text;
28856
28857
  }, "decodeXml");
28857
28858
 
28858
- // 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/attachments/container.js
28859
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/attachments/container.js
28859
28860
  var MAX_PART = 10 * 1024 * 1024;
28860
28861
  var MAX_ENTRIES = 1e3;
28861
28862
  var decoder = new TextDecoder("utf-8", { fatal: true });
@@ -29070,7 +29071,7 @@ var elements = /* @__PURE__ */ __name((node, name, namespace) => {
29070
29071
  return found;
29071
29072
  }, "elements");
29072
29073
 
29073
- // 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/attachments/sheets.js
29074
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/attachments/sheets.js
29074
29075
  var columnName = /* @__PURE__ */ __name((column) => {
29075
29076
  let name = "";
29076
29077
  for (let rest = column; rest > 0; rest = Math.floor((rest - 1) / 26))
@@ -29125,7 +29126,7 @@ var sheetText = /* @__PURE__ */ __name((sheets2, maxChars = MAX_TEXT_CHARS) => {
29125
29126
  return { text: parts.join("").trim(), truncated: false };
29126
29127
  }, "sheetText");
29127
29128
 
29128
- // 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/attachments/documents.js
29129
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/attachments/documents.js
29129
29130
  var OFFICE = "urn:oasis:names:tc:opendocument:xmlns:office:1.0";
29130
29131
  var TEXT = "urn:oasis:names:tc:opendocument:xmlns:text:1.0";
29131
29132
  var TABLE = "urn:oasis:names:tc:opendocument:xmlns:table:1.0";
@@ -29525,10 +29526,10 @@ var readDocument = /* @__PURE__ */ __name(async (bytes2, kind, signal) => {
29525
29526
  }
29526
29527
  }, "readDocument");
29527
29528
 
29528
- // 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/attachments/extract.js
29529
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/attachments/extract.js
29529
29530
  import { extname as extname3 } from "node:path";
29530
29531
 
29531
- // 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/readers/engine.js
29532
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/readers/engine.js
29532
29533
  import { readFileSync as readFileSync5 } from "node:fs";
29533
29534
  import { dirname as dirname7, extname as extname2, join as join14 } from "node:path";
29534
29535
  import { fileURLToPath } from "node:url";
@@ -29589,7 +29590,7 @@ var derived = /* @__PURE__ */ __name((bytes2, extractor, read) => {
29589
29590
  }
29590
29591
  }, "derived");
29591
29592
 
29592
- // 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/readers/image/index.js
29593
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/readers/image/index.js
29593
29594
  var IMAGES = /* @__PURE__ */ new Set([".jpg", ".jpeg", ".png", ".webp", ".gif", ".heic", ".tif", ".tiff", ".bmp"]);
29594
29595
  var image2 = {
29595
29596
  id: "image",
@@ -29598,7 +29599,7 @@ var image2 = {
29598
29599
  read: /* @__PURE__ */ __name(async () => ({ status: "needs-agent" }), "read")
29599
29600
  };
29600
29601
 
29601
- // 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/readers/doc/index.js
29602
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/readers/doc/index.js
29602
29603
  var OLE = "\xD0\xCF\xE0\xA1\xB1\xE1";
29603
29604
  var doc = {
29604
29605
  id: "doc",
@@ -29610,7 +29611,7 @@ var doc = {
29610
29611
  }), "read")
29611
29612
  };
29612
29613
 
29613
- // 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/readers/docx/index.js
29614
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/readers/docx/index.js
29614
29615
  var DOCX = "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
29615
29616
  var docx = {
29616
29617
  id: "docx",
@@ -29623,7 +29624,7 @@ var docx = {
29623
29624
  }), "read")
29624
29625
  };
29625
29626
 
29626
- // 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/attachments/markup.js
29627
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/attachments/markup.js
29627
29628
  var import_iconv_lite2 = __toESM(require_lib3(), 1);
29628
29629
  var RTF_SKIPPED = /* @__PURE__ */ new Set([
29629
29630
  "fonttbl",
@@ -29799,7 +29800,7 @@ var htmlText = /* @__PURE__ */ __name((source) => {
29799
29800
  }, "htmlText");
29800
29801
  var safeChar = /* @__PURE__ */ __name((code, fallback) => code > 0 && code <= 1114111 ? String.fromCodePoint(code) : fallback, "safeChar");
29801
29802
 
29802
- // 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/readers/html/page.js
29803
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/readers/html/page.js
29803
29804
  var clean = /* @__PURE__ */ __name((value) => typeof value === "string" ? value.replace(/\s+/g, " ").trim() : "", "clean");
29804
29805
  var namesIn = /* @__PURE__ */ __name((value) => [value].flat().map((entry) => typeof entry === "string" ? clean(entry) : clean(entry?.name)).filter(Boolean).join(", "), "namesIn");
29805
29806
  var jsonLdNodes = /* @__PURE__ */ __name((document) => {
@@ -29855,7 +29856,7 @@ var markdownSections = /* @__PURE__ */ __name((text2) => {
29855
29856
  return found.map((section, index) => ({ ...section, end: found[index + 1]?.start ?? text2.length }));
29856
29857
  }, "markdownSections");
29857
29858
 
29858
- // 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/readers/html/index.js
29859
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/readers/html/index.js
29859
29860
  var HTML = /* @__PURE__ */ new Set([".html", ".htm", ".xhtml"]);
29860
29861
  var first = /* @__PURE__ */ __name((...values) => values.find((value) => typeof value === "string" && value !== ""), "first");
29861
29862
  var loaded = /* @__PURE__ */ __name(async (load, name) => {
@@ -29926,7 +29927,7 @@ var html = {
29926
29927
  }, "read")
29927
29928
  };
29928
29929
 
29929
- // 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/readers/office/index.js
29930
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/readers/office/index.js
29930
29931
  var office = {
29931
29932
  id: "office",
29932
29933
  version: documentExtractor("odt"),
@@ -29937,7 +29938,7 @@ var office = {
29937
29938
  }, "read")
29938
29939
  };
29939
29940
 
29940
- // 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/readers/pdf/index.js
29941
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/readers/pdf/index.js
29941
29942
  var pdf = {
29942
29943
  id: "pdf",
29943
29944
  version: "unpdf",
@@ -30004,7 +30005,7 @@ var pdf = {
30004
30005
  }), "read")
30005
30006
  };
30006
30007
 
30007
- // 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/readers/plain/index.js
30008
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/readers/plain/index.js
30008
30009
  var PLAIN = /* @__PURE__ */ new Set([".txt", ".md", ".markdown", ".csv", ".tsv", ".json", ".log"]);
30009
30010
  var isPlain = /* @__PURE__ */ __name((hint) => PLAIN.has(extensionOf(hint)) || hint.mime?.startsWith("text/") || hint.mime === "application/json", "isPlain");
30010
30011
  var readPlain = /* @__PURE__ */ __name((bytes2) => {
@@ -30024,7 +30025,7 @@ var plain = {
30024
30025
  read: /* @__PURE__ */ __name(async (bytes2) => readPlain(bytes2), "read")
30025
30026
  };
30026
30027
 
30027
- // 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/readers/rtf/index.js
30028
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/readers/rtf/index.js
30028
30029
  var rtf = {
30029
30030
  id: "rtf",
30030
30031
  version: "v1",
@@ -30032,10 +30033,10 @@ var rtf = {
30032
30033
  read: /* @__PURE__ */ __name(async (bytes2) => derived(bytes2, "rtf:v1", rtfText), "read")
30033
30034
  };
30034
30035
 
30035
- // 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/readers/sheets/index.js
30036
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/readers/sheets/index.js
30036
30037
  import { basename as basename5 } from "node:path";
30037
30038
 
30038
- // 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/attachments/csv-spans.js
30039
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/attachments/csv-spans.js
30039
30040
  var delimitedSpans = /* @__PURE__ */ __name((text2, delimiter, maxCells = 1e4) => {
30040
30041
  const cells = [];
30041
30042
  let row = 1, column = 1, start = 0, quoted = false, truncated = false;
@@ -30073,7 +30074,7 @@ var delimitedSpans = /* @__PURE__ */ __name((text2, delimiter, maxCells = 1e4) =
30073
30074
  return { cells, truncated };
30074
30075
  }, "delimitedSpans");
30075
30076
 
30076
- // 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/readers/sheets/index.js
30077
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/readers/sheets/index.js
30077
30078
  var DELIMITED = {
30078
30079
  ".csv": ",",
30079
30080
  ".tsv": " ",
@@ -30112,7 +30113,7 @@ var sheets = {
30112
30113
  }, "read")
30113
30114
  };
30114
30115
 
30115
- // 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/readers/registry.js
30116
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/readers/registry.js
30116
30117
  var BUILT_INS2 = [office, pdf, docx, doc, rtf, html, sheets, plain, image2];
30117
30118
  var HEAD_BYTES = 1024;
30118
30119
  var readers = [...BUILT_INS2];
@@ -30122,7 +30123,7 @@ var readWithRegistry = /* @__PURE__ */ __name(async (bytes2, hint, context2) =>
30122
30123
  return reader ? reader.read(bytes2, hint, context2) : { status: "unsupported" };
30123
30124
  }, "readWithRegistry");
30124
30125
 
30125
- // 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/attachments/extract.js
30126
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/attachments/extract.js
30126
30127
  var importEngine = /* @__PURE__ */ __name((name) => importFrom(new URL("attachments/extract.js", import.meta.resolve("@wirecat/cli-core")).href, name), "importEngine");
30127
30128
  var extensionOf2 = /* @__PURE__ */ __name(({ name, path }) => extname3(name ?? path).toLowerCase(), "extensionOf");
30128
30129
  var extractText = /* @__PURE__ */ __name(async (bytes2, hint, load, signal, env = process.env) => {
@@ -31201,7 +31202,7 @@ function imageSize(input) {
31201
31202
  }
31202
31203
  __name(imageSize, "imageSize");
31203
31204
 
31204
- // 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/attachments/ocr.js
31205
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/attachments/ocr.js
31205
31206
  var MAX_PAGES = 20;
31206
31207
  var MAX_PIXELS = 2e7;
31207
31208
  var cancelled2 = /* @__PURE__ */ __name((signal) => {
@@ -31361,7 +31362,7 @@ var ocrPdf = /* @__PURE__ */ __name(async (bytes2, pipeline2, load, signal) => {
31361
31362
  }
31362
31363
  }, "ocrPdf");
31363
31364
 
31364
- // 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/attachments/pdf-preview.js
31365
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/attachments/pdf-preview.js
31365
31366
  var pdfPreview = /* @__PURE__ */ __name(async (bytes2, page, signal, load = importEngine, env = process.env) => {
31366
31367
  const limits = pdfPreviewLimits(env);
31367
31368
  const cancelled3 = /* @__PURE__ */ __name(() => {
@@ -31438,7 +31439,7 @@ var pdfPreview = /* @__PURE__ */ __name(async (bytes2, page, signal, load = impo
31438
31439
  }
31439
31440
  }, "pdfPreview");
31440
31441
 
31441
- // 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/attachments/picture-reading.js
31442
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/attachments/picture-reading.js
31442
31443
  import { spawn } from "node:child_process";
31443
31444
  import { mkdtempSync, readFileSync as readFileSync6, rmSync as rmSync2, writeFileSync as writeFileSync3 } from "node:fs";
31444
31445
  import { tmpdir } from "node:os";
@@ -31601,7 +31602,7 @@ Read the attached picture.`,
31601
31602
  }
31602
31603
  }, "readPictureWithAgent");
31603
31604
 
31604
- // 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/attachments/transfer.js
31605
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/attachments/transfer.js
31605
31606
  import { createHash as createHash8 } from "node:crypto";
31606
31607
  import { constants } from "node:fs";
31607
31608
  import { lstat as lstat3, open as open5 } from "node:fs/promises";
@@ -31709,7 +31710,7 @@ var transferMime = /* @__PURE__ */ __name((head, hint, name = null) => {
31709
31710
  return hint !== null && /^[a-z0-9.+-]+\/[a-z0-9.+-]+$/i.test(hint) ? hint : "application/octet-stream";
31710
31711
  }, "transferMime");
31711
31712
 
31712
- // 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/file-download.js
31713
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/file-download.js
31713
31714
  import { createWriteStream, mkdirSync as mkdirSync4 } from "node:fs";
31714
31715
  import { link as link3, rm } from "node:fs/promises";
31715
31716
  import { join as join16, resolve as resolve6 } from "node:path";
@@ -31823,12 +31824,12 @@ var save = /* @__PURE__ */ __name(async (file2, directory2, fallbackName, { uniq
31823
31824
  }
31824
31825
  }, "save");
31825
31826
 
31826
- // 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/pictures.js
31827
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/pictures.js
31827
31828
  import { createHash as createHash9 } from "node:crypto";
31828
31829
  import { lstat as lstat4, readFile } from "node:fs/promises";
31829
31830
  import { setTimeout as sleep4 } from "node:timers/promises";
31830
31831
 
31831
- // 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/models.js
31832
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/domain/models.js
31832
31833
  var GROUP_SETTINGS = [
31833
31834
  "allCanPin",
31834
31835
  "onlyAdminsAdd",
@@ -31842,7 +31843,7 @@ var ADMIN_RIGHTS = ["read", "members", "admins", "info", "pin", "link", "post",
31842
31843
  var senderIsMe = /* @__PURE__ */ __name((message, account) => message.outgoing === true || message.senderId !== null && String(message.senderId) === account, "senderIsMe");
31843
31844
  var MEDIA_KINDS = ["photo", "video", "file", "audio", "link"];
31844
31845
 
31845
- // 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/pictures.js
31846
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/pictures.js
31846
31847
  var PICTURE_MAX_BYTES = 25 * 1024 * 1024;
31847
31848
  var PICTURE_FLOOR = 0.25;
31848
31849
  var PAGE4 = 50;
@@ -31883,7 +31884,7 @@ var picturesService = /* @__PURE__ */ __name((deps) => {
31883
31884
  const directory2 = imageModelsDirectory(deps.env);
31884
31885
  if (!isImageModelInstalled(model2, directory2))
31885
31886
  throw new CliError("not_found", missingModel(model2.id), { reason: "model.not-downloaded", model: model2.id });
31886
- const { openPictureEmbedder } = await import("./embedder-MVS3PVWQ.js");
31887
+ const { openPictureEmbedder } = await import("./embedder-K2XL2UB4.js");
31887
31888
  return openPictureEmbedder(model2, directory2);
31888
31889
  }, "open");
31889
31890
  const embedder = /* @__PURE__ */ __name(() => {
@@ -32057,7 +32058,7 @@ var withPictures = /* @__PURE__ */ __name((messages, pictures) => ({
32057
32058
  }, "search")
32058
32059
  }), "withPictures");
32059
32060
 
32060
- // 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/attachments.js
32061
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/attachments.js
32061
32062
  var ATTACHMENT_QUERY = {
32062
32063
  entity: "attachment",
32063
32064
  backend: "sql",
@@ -32528,7 +32529,7 @@ var attachmentsService = /* @__PURE__ */ __name((deps) => ({
32528
32529
  }, "readPicture")
32529
32530
  }), "attachmentsService");
32530
32531
 
32531
- // 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/chat-documents.js
32532
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/chat-documents.js
32532
32533
  var chatDocumentsService = /* @__PURE__ */ __name((deps) => ({
32533
32534
  list: /* @__PURE__ */ __name(async (chat, { limit, offset, ref }) => {
32534
32535
  const store = await accountStore(deps);
@@ -32558,7 +32559,7 @@ var chatDocumentsService = /* @__PURE__ */ __name((deps) => ({
32558
32559
  }, "list")
32559
32560
  }), "chatDocumentsService");
32560
32561
 
32561
- // 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/retention.js
32562
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/retention.js
32562
32563
  var observationDuration = /* @__PURE__ */ __name((text2, flag) => {
32563
32564
  const match = /^(\d+(?:\.\d+)?)([smhdw])$/.exec(text2);
32564
32565
  const units2 = { s: 1e3, m: 6e4, h: 36e5, d: 864e5, w: 6048e5 };
@@ -32645,7 +32646,7 @@ var isRetentionSelection = /* @__PURE__ */ __name((selection) => {
32645
32646
  }
32646
32647
  }, "isRetentionSelection");
32647
32648
 
32648
- // 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/counters.js
32649
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/counters.js
32649
32650
  var counterFields = /* @__PURE__ */ __name((text2 = "views,reactions,comments") => {
32650
32651
  const fields = text2.split(",").map((one) => one.trim());
32651
32652
  if (!fields.length || fields.some((one) => !COUNTER_FIELDS.includes(one)) || new Set(fields).size !== fields.length)
@@ -32852,7 +32853,7 @@ var countersService = /* @__PURE__ */ __name((deps) => {
32852
32853
  };
32853
32854
  }, "countersService");
32854
32855
 
32855
- // 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/search-refresh.js
32856
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/search-refresh.js
32856
32857
  var SYNC_KEY = "messages.sync-first";
32857
32858
  var SYNC_BOUNDS = { maxChats: 5, timeMs: 3e4, maxMessages: 500 };
32858
32859
  var keyOf3 = /* @__PURE__ */ __name((chat) => JSON.stringify([chat.account.provider, chat.account.account, chat.chatId]), "keyOf");
@@ -32984,7 +32985,7 @@ var withRefresh = /* @__PURE__ */ __name((found, refreshed) => ({
32984
32985
  ...!refreshed || refreshed.complete ? {} : { coverage: { ...found.coverage, state: "stale" } }
32985
32986
  }), "withRefresh");
32986
32987
 
32987
- // 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/embeddings-search.js
32988
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/embeddings-search.js
32988
32989
  var CANDIDATES = 50;
32989
32990
  var WORD_HITS = 200;
32990
32991
  var RRF_K = 60;
@@ -33259,13 +33260,13 @@ var meanOf = /* @__PURE__ */ __name((vectors) => {
33259
33260
  return mean2.map((value) => value / length);
33260
33261
  }, "meanOf");
33261
33262
 
33262
- // 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/embeddings.js
33263
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/embeddings.js
33263
33264
  var embeddingsService = /* @__PURE__ */ __name((deps) => ({
33264
33265
  ...embeddingsMaintenance(deps),
33265
33266
  ...embeddingsSearch(deps)
33266
33267
  }), "embeddingsService");
33267
33268
 
33268
- // 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/folders.js
33269
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/folders.js
33269
33270
  var foldersService = /* @__PURE__ */ __name((deps) => {
33270
33271
  const online = /* @__PURE__ */ __name(async (command) => {
33271
33272
  if (deps.offline)
@@ -33406,7 +33407,7 @@ var foldersService = /* @__PURE__ */ __name((deps) => {
33406
33407
  };
33407
33408
  }, "foldersService");
33408
33409
 
33409
- // 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/mentions.js
33410
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/mentions.js
33410
33411
  var REVIEW_COUNT = 500;
33411
33412
  var mentionsService = /* @__PURE__ */ __name((deps) => {
33412
33413
  const located = /* @__PURE__ */ __name(async () => {
@@ -33485,7 +33486,7 @@ var mentionsService = /* @__PURE__ */ __name((deps) => {
33485
33486
  };
33486
33487
  }, "mentionsService");
33487
33488
 
33488
- // 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/message-link.js
33489
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/domain/message-link.js
33489
33490
  var fileLinks = /* @__PURE__ */ __name((attachments) => hitFiles(attachments).map(({ position, kind, name }) => ({
33490
33491
  position,
33491
33492
  kind,
@@ -33534,7 +33535,7 @@ var validatePermalink = /* @__PURE__ */ __name((link4) => {
33534
33535
  return { url: link4.url, access: link4.access, reason: link4.reason };
33535
33536
  }, "validatePermalink");
33536
33537
 
33537
- // 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/pin-duration.js
33538
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/domain/pin-duration.js
33538
33539
  var spokenSeconds = /* @__PURE__ */ __name((seconds) => {
33539
33540
  if (seconds % 86400 === 0 && seconds > 86400)
33540
33541
  return `${seconds / 86400}d`;
@@ -33566,7 +33567,7 @@ var pinDurationOf = /* @__PURE__ */ __name((value, allowed, flag = "--expire-tim
33566
33567
  return seconds;
33567
33568
  }, "pinDurationOf");
33568
33569
 
33569
- // 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/send-as.js
33570
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/sends/send-as.js
33570
33571
  var sendAsCheck = /* @__PURE__ */ __name((connection, sendAs) => {
33571
33572
  if (sendAs === void 0) {
33572
33573
  const saved = connection.savedSender?.bind(connection);
@@ -33591,7 +33592,7 @@ var typedSendAs = /* @__PURE__ */ __name((typed) => {
33591
33592
  return sendAs;
33592
33593
  }, "typedSendAs");
33593
33594
 
33594
- // 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/search/total.js
33595
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/search/total.js
33595
33596
  var TOTAL_CAP = 1e4;
33596
33597
  var totalOf = /* @__PURE__ */ __name((count4, shown, hasMore, exact = true) => {
33597
33598
  const least = shown + (hasMore ? 1 : 0);
@@ -33602,7 +33603,7 @@ var totalOf = /* @__PURE__ */ __name((count4, shown, hasMore, exact = true) => {
33602
33603
  return { value: count4, relation: exact ? "eq" : "gte" };
33603
33604
  }, "totalOf");
33604
33605
 
33605
- // 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/search/lucene/meaning-parts.js
33606
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/search/lucene/meaning-parts.js
33606
33607
  var WORD_FIELDS = /* @__PURE__ */ new Set(["text", "exact"]);
33607
33608
  var fieldsOfQuery = /* @__PURE__ */ __name((root, everything) => {
33608
33609
  let narrows = false;
@@ -33631,7 +33632,7 @@ var meaningWords = /* @__PURE__ */ __name((root) => {
33631
33632
  return wanted(root).join(" ").trim();
33632
33633
  }, "meaningWords");
33633
33634
 
33634
- // 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/search/question-plan.js
33635
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/search/question-plan.js
33635
33636
  var words2 = /* @__PURE__ */ __name((text2) => normalize(text2).match(/[\p{L}\p{N}]+/gu) ?? [], "words");
33636
33637
  var scaffolding = new Set(words2("what which how many much who where when is are was were do does did can could should we the a an for of to under from in on at has have \u0441\u043A\u043E\u043B\u044C\u043A\u043E \u043A\u0430\u043A\u043E\u0439 \u043A\u0430\u043A\u0430\u044F \u043A\u0430\u043A\u0438\u0435 \u043A\u0430\u043A\u043E\u0435 \u043A\u0442\u043E \u043A\u043E\u043C\u0443 \u043A\u0435\u043C \u0433\u0434\u0435 \u043A\u043E\u0433\u0434\u0430 \u043A\u0430\u043A \u0447\u0442\u043E \u0432\u043E \u043F\u043E \u043D\u0430 \u0432 \u043A \u0441 \u0443 \u0447\u0435\u0440\u0435\u0437 \u043B\u0438 \u0434\u043E\u043B\u0436\u0435\u043D \u0434\u043E\u043B\u0436\u043D\u0430 \u043D\u0443\u0436\u043D\u043E \u0438\u0434\u0451\u0442 \u0438\u0434\u0435\u0442 \u043C\u043E\u0436\u043D\u043E \u043C\u043E\u0436\u0435\u0442 \u043C\u043E\u0433\u0443\u0442"));
33637
33638
  var questionWord = /\b(?:what|which|how|who|where|when|can|could|should)\b|(?:^|\s)(?:сколько|какой|какая|какие|какое|кто|кому|кем|где|когда|как|что|можно|может|могут|ли)(?:\s|$)/iu;
@@ -33764,7 +33765,7 @@ var questionLookup = /* @__PURE__ */ __name((text2) => {
33764
33765
  return terms.length ? anyOfTerms(terms, plan.scope) : void 0;
33765
33766
  }, "questionLookup");
33766
33767
 
33767
- // 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/messages-combined.js
33768
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/messages-combined.js
33768
33769
  var COMBINED_DEFAULTS = { candidateDepth: 300, rrfK: 60, rerank: "all", chatCap: 0 };
33769
33770
  var tokensOf = /* @__PURE__ */ __name((text2) => normalize(text2).match(/[\p{L}\p{N}\p{Co}\p{M}]+/gu) ?? [], "tokensOf");
33770
33771
  var searchCombined = /* @__PURE__ */ __name(async (store, account, request, messenger = {}, options2 = COMBINED_DEFAULTS) => {
@@ -33940,11 +33941,11 @@ var signals = /* @__PURE__ */ __name((hit, terms, corrections, execution, mode,
33940
33941
  const events = positions.flatMap((matches, term) => matches.map(({ index }) => ({ index, term }))).sort((a, b) => a.index - b.index);
33941
33942
  const held = /* @__PURE__ */ new Map();
33942
33943
  let left = 0, span = Infinity;
33943
- for (const [right, event] of events.entries()) {
33944
- held.set(event.term, (held.get(event.term) ?? 0) + 1);
33944
+ for (const [right, event2] of events.entries()) {
33945
+ held.set(event2.term, (held.get(event2.term) ?? 0) + 1);
33945
33946
  while (held.size === terms.length && left <= right) {
33946
33947
  const first2 = events[left];
33947
- span = Math.min(span, event.index - first2.index + 1);
33948
+ span = Math.min(span, event2.index - first2.index + 1);
33948
33949
  const count4 = (held.get(first2.term) ?? 1) - 1;
33949
33950
  if (count4)
33950
33951
  held.set(first2.term, count4);
@@ -33958,7 +33959,7 @@ var signals = /* @__PURE__ */ __name((hit, terms, corrections, execution, mode,
33958
33959
  return mode === "coverage" ? coverage2 * 4 : mode === "proximity" ? proximity : mode === "phrase" ? phrase2 : coverage2 * 4 + proximity + phrase2;
33959
33960
  }, "signals");
33960
33961
 
33961
- // 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/messages-discovery.js
33962
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/messages-discovery.js
33962
33963
  var MEANING_DEPTH = 100;
33963
33964
  var RRF_K2 = 60;
33964
33965
  var RERANK_DEPTH = 50;
@@ -34284,7 +34285,7 @@ var mixedWithReranker = /* @__PURE__ */ __name((head, scores) => {
34284
34285
  })).sort((a, b) => b.mixed - a.mixed).map(({ hit }) => hit);
34285
34286
  }, "mixedWithReranker");
34286
34287
 
34287
- // 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/thread-context.js
34288
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/thread-context.js
34288
34289
  var THREAD_BOUNDS = { maxHops: 8, maxMessages: 50, maxBytes: 65536, withinMs: 864e5 };
34289
34290
  var bytes = /* @__PURE__ */ __name((items, links) => Buffer.byteLength(JSON.stringify({ items, links }), "utf8"), "bytes");
34290
34291
  var threadBounds = /* @__PURE__ */ __name((options2 = {}) => {
@@ -34483,7 +34484,7 @@ var readThreadContext = /* @__PURE__ */ __name(async (store, account, chat, mess
34483
34484
  return result;
34484
34485
  }, "readThreadContext");
34485
34486
 
34486
- // 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/messages-archive-search.js
34487
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/messages-archive-search.js
34487
34488
  var SEARCH_FILL_MS = 200;
34488
34489
  var statsStore = /* @__PURE__ */ __name(async (store, account, request, messenger = {}) => {
34489
34490
  const stop = Date.now() + SEARCH_FILL_MS;
@@ -34552,7 +34553,7 @@ var accountOf2 = /* @__PURE__ */ __name((hit) => {
34552
34553
  }, "accountOf");
34553
34554
  var keyOf4 = /* @__PURE__ */ __name(({ provider, account }) => `${provider}/${account}`, "keyOf");
34554
34555
 
34555
- // 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/meaning-model.js
34556
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/meaning-model.js
34556
34557
  var meaningModel = /* @__PURE__ */ __name(async (store, env = process.env) => {
34557
34558
  const chosen = chosenTextModel(env);
34558
34559
  if (chosen.from === "chosen" || chosen.id !== DEFAULT_TEXT_MODEL)
@@ -34567,7 +34568,7 @@ var meaningModel = /* @__PURE__ */ __name(async (store, env = process.env) => {
34567
34568
  return (counts.get(before2) ?? 0) > (counts.get(now) ?? 0) ? previous.id : current.id;
34568
34569
  }, "meaningModel");
34569
34570
 
34570
- // 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/messages-meaning.js
34571
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/messages-meaning.js
34571
34572
  var meaningText = /* @__PURE__ */ __name((question) => {
34572
34573
  try {
34573
34574
  const text2 = questionLookup(question) === void 0 ? question : questionText(question);
@@ -34646,7 +34647,7 @@ var meaningLane = /* @__PURE__ */ __name((deps) => async (question, accounts, sh
34646
34647
  }
34647
34648
  }, "meaningLane");
34648
34649
 
34649
- // 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/messages-rerank.js
34650
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/messages-rerank.js
34650
34651
  var rerankLane = /* @__PURE__ */ __name((deps) => {
34651
34652
  const choice = deps.reranker ?? DEFAULT_RERANK_MODEL;
34652
34653
  if (choice === "off")
@@ -34658,9 +34659,9 @@ var rerankLane = /* @__PURE__ */ __name((deps) => {
34658
34659
  return { skipped: { reason: `${model.id} is not downloaded`, step: "models.download", model: model.id } };
34659
34660
  try {
34660
34661
  const warm = deps.embedders;
34661
- const reranker = warm ? await warm.reranker(`rerank:${model.id}`, async () => (await import("./process-VZKFAGNP.js")).openRerankerProcess(model, directory2, {
34662
+ const reranker = warm ? await warm.reranker(`rerank:${model.id}`, async () => (await import("./process-GOUBIWKC.js")).openRerankerProcess(model, directory2, {
34662
34663
  threads: defaultThreads()
34663
- })) : await (await import("./rerank-ONAEQVJ6.js")).openReranker(model, directory2);
34664
+ })) : await (await import("./rerank-D2EZWG66.js")).openReranker(model, directory2);
34664
34665
  return {
34665
34666
  model: model.id,
34666
34667
  score: /* @__PURE__ */ __name((question, passages) => reranker.score(plainWords(question), passages), "score"),
@@ -34680,7 +34681,7 @@ var rerankLane = /* @__PURE__ */ __name((deps) => {
34680
34681
  };
34681
34682
  }, "rerankLane");
34682
34683
 
34683
- // 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/search/question-period.js
34684
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/search/question-period.js
34684
34685
  var DAY5 = 864e5;
34685
34686
  var SPAN = { start: 0, end: 0 };
34686
34687
  var phrase = /* @__PURE__ */ __name((source) => new RegExp(`(?<![\\p{L}\\p{N}])(?:${source})(?![\\p{L}\\p{N}])`, "giu"), "phrase");
@@ -34805,17 +34806,17 @@ var questionPeriod = /* @__PURE__ */ __name((text2, now, zone) => {
34805
34806
  };
34806
34807
  }, "questionPeriod");
34807
34808
 
34808
- // 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/document-pictures.js
34809
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/document-pictures.js
34809
34810
  var openPictureEmbedderFor = /* @__PURE__ */ __name(async ({ env, command } = {}) => {
34810
34811
  const model = imageModel(DEFAULT_IMAGE_MODEL);
34811
34812
  const directory2 = imageModelsDirectory(env);
34812
34813
  if (!isImageModelInstalled(model, directory2))
34813
34814
  throw new CliError("not_found", `the picture model is not downloaded \u2014 ${command === void 0 ? "install it with a WireCat CLI that has `images models download` (tg, max or wa); they share the model folder" : `\`${command} images models download ${model.id}\` fetches it`}`, { reason: "model.not-downloaded", model: model.id });
34814
- const { openPictureEmbedder } = await import("./embedder-MVS3PVWQ.js");
34815
+ const { openPictureEmbedder } = await import("./embedder-K2XL2UB4.js");
34815
34816
  return openPictureEmbedder(model, directory2);
34816
34817
  }, "openPictureEmbedderFor");
34817
34818
 
34818
- // 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/document-source.js
34819
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/document-source.js
34819
34820
  var documentSource = /* @__PURE__ */ __name((note, accounts, profiles, file2) => {
34820
34821
  const metadata = note.frontMatter;
34821
34822
  const account = accounts.find(({ id: id2 }) => String(id2) === note.folderId);
@@ -34837,7 +34838,7 @@ var documentSource = /* @__PURE__ */ __name((note, accounts, profiles, file2) =>
34837
34838
  };
34838
34839
  }, "documentSource");
34839
34840
 
34840
- // 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/keys.js
34841
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/embeddings/keys.js
34841
34842
  var endpointKeyName = /* @__PURE__ */ __name((baseUrl) => {
34842
34843
  const host = new URL(baseUrl).host;
34843
34844
  return ["openai", "anthropic"].includes(host) ? `endpoint:${host}` : host;
@@ -34870,7 +34871,7 @@ var embeddingKeys = /* @__PURE__ */ __name((app, env = process.env, keyring) =>
34870
34871
  };
34871
34872
  }, "embeddingKeys");
34872
34873
 
34873
- // 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/openai.js
34874
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/models/openai.js
34874
34875
  var options = strictObject({
34875
34876
  temperature: range(0, 2),
34876
34877
  top_p: range(0, 1),
@@ -34937,7 +34938,7 @@ var openai = {
34937
34938
  }), "complete")
34938
34939
  };
34939
34940
 
34940
- // 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/index.js
34941
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/models/index.js
34941
34942
  var modelGateway = /* @__PURE__ */ __name((deps) => ({
34942
34943
  complete: /* @__PURE__ */ __name(async (request) => {
34943
34944
  if (deps.signal?.aborted)
@@ -34952,7 +34953,7 @@ var modelGateway = /* @__PURE__ */ __name((deps) => ({
34952
34953
  if (!adapter && target2.provider === "openai")
34953
34954
  adapter = openai;
34954
34955
  if (!adapter && target2.provider === "anthropic")
34955
- adapter = (await import("./anthropic-N54MKE4C.js")).anthropic;
34956
+ adapter = (await import("./anthropic-NGIS5LTL.js")).anthropic;
34956
34957
  if (!adapter)
34957
34958
  throw new CliError("validation_error", `no model adapter for ${target2.provider}`);
34958
34959
  if (request.images !== void 0 && adapter.images !== true)
@@ -35012,7 +35013,7 @@ var modelGateway = /* @__PURE__ */ __name((deps) => ({
35012
35013
  }, "complete")
35013
35014
  }), "modelGateway");
35014
35015
 
35015
- // 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/enrichment-setting.js
35016
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/enrichment-setting.js
35016
35017
  var SECTION2 = "enrichment";
35017
35018
  var ENRICHMENT_PROVIDERS = ["openai", "anthropic"];
35018
35019
  var DEFAULT_BASE_URLS = {
@@ -35087,7 +35088,7 @@ var costOf = /* @__PURE__ */ __name((usage, setting) => {
35087
35088
  return price ? Math.round((usage.input * price.input + usage.output * price.output) * 1e6) / 1e6 : null;
35088
35089
  }, "costOf");
35089
35090
 
35090
- // 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/enrichment.js
35091
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/enrichment.js
35091
35092
  var ENRICH_PER_RUN = 600;
35092
35093
  var MAX_LINE = 400;
35093
35094
  var line2 = pipe(unknown(), transform((value) => typeof value === "string" ? value.replace(/\s+/g, " ").trim().slice(0, MAX_LINE) : ""));
@@ -35163,7 +35164,7 @@ var enrichmentState = /* @__PURE__ */ __name(async (store, env, estimateFor, key
35163
35164
  };
35164
35165
  }, "enrichmentState");
35165
35166
 
35166
- // 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/notes-title-tier.js
35167
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/notes-title-tier.js
35167
35168
  var plainQueryWords = /* @__PURE__ */ __name((query) => {
35168
35169
  let root;
35169
35170
  try {
@@ -35190,7 +35191,7 @@ var titleTiers = /* @__PURE__ */ __name((hits, words3) => {
35190
35191
  return [...hits].sort((a, b) => rank(a) - rank(b));
35191
35192
  }, "titleTiers");
35192
35193
 
35193
- // 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/notes-search.js
35194
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/notes-search.js
35194
35195
  var storeQuery = /* @__PURE__ */ __name(async (store, text2, { exact, timezone } = {}) => resolvedQuery(store, parsedQuery(text2, exact), timezone), "storeQuery");
35195
35196
  var parsedQuery = /* @__PURE__ */ __name((text2, exact) => validateFields(parseLucene(text2, { ...SEARCH_QUERY, defaultField: exact ? "exact" : "text" })).root, "parsedQuery");
35196
35197
  var resolvedQuery = /* @__PURE__ */ __name(async (store, root, timezone) => {
@@ -35619,7 +35620,7 @@ var searchNotesOf = /* @__PURE__ */ __name(async (store, account, text2, { accou
35619
35620
  };
35620
35621
  }, "searchNotesOf");
35621
35622
 
35622
- // 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/events-search.js
35623
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/events-search.js
35623
35624
  var MAX_EVENTS_OFFSET = 1e3;
35624
35625
  var iso3 = /* @__PURE__ */ __name((at) => at === null ? null : new Date(at).toISOString(), "iso");
35625
35626
  var accountIdsOf = /* @__PURE__ */ __name(async (store, accounts) => {
@@ -35652,7 +35653,7 @@ var nearestEvents = /* @__PURE__ */ __name(async (store, words3, { limit, accoun
35652
35653
  const floor = meaningFloor(key);
35653
35654
  return (await store.calendar.nearest(key, vector, { limit, ...accountIds ? { accountIds } : {} })).filter(({ score }) => score > floor);
35654
35655
  }, "nearestEvents");
35655
- var keyOf5 = /* @__PURE__ */ __name(({ event }) => event.eventSeriesId === null ? `e${event.id}` : `s${event.eventSeriesId}`, "keyOf");
35656
+ var keyOf5 = /* @__PURE__ */ __name(({ event: event2 }) => event2.eventSeriesId === null ? `e${event2.id}` : `s${event2.eventSeriesId}`, "keyOf");
35656
35657
  var searchEvents = /* @__PURE__ */ __name(async (store, query, { limit = 20, offset = 0, accounts, exact, discover, newest, timezone, signal, candidates, env, command, embedders } = {}) => {
35657
35658
  if (!query.trim())
35658
35659
  throw new CliError("validation_error", "say what to find in the events");
@@ -35737,7 +35738,7 @@ var searchEvents = /* @__PURE__ */ __name(async (store, query, { limit = 20, off
35737
35738
  };
35738
35739
  }, "searchEvents");
35739
35740
 
35740
- // 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/search-all-business.js
35741
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/search-all-business.js
35741
35742
  var OWN_BUSINESS = { provider: "business", account: INTERNAL_NOTES };
35742
35743
  var BUSINESS_WORDS_ONLY = "invoices, payments, orders, contracts, subscriptions, products and wallets are found by the words of their numbers and names only";
35743
35744
  var placeOf = /* @__PURE__ */ __name(({ source, imported }) => source ?? (imported === void 0 ? OWN_BUSINESS : { provider: imported, account: "" }), "placeOf");
@@ -35767,7 +35768,7 @@ var searchBusiness = /* @__PURE__ */ __name(async (store, { words: words3, anyWo
35767
35768
  };
35768
35769
  }, "searchBusiness");
35769
35770
 
35770
- // 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/meeting-hit-search.js
35771
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/meeting-hit-search.js
35771
35772
  var resolveMeetingSelection = /* @__PURE__ */ __name(async (store, request) => {
35772
35773
  const { project, tag, topic, ...input } = request;
35773
35774
  input.signal?.throwIfAborted();
@@ -35805,7 +35806,7 @@ var resolveMeetingSelection = /* @__PURE__ */ __name(async (store, request) => {
35805
35806
  return { input, selection };
35806
35807
  }, "resolveMeetingSelection");
35807
35808
 
35808
- // 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/search-all-meetings.js
35809
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/search-all-meetings.js
35809
35810
  var MOST_HITS_PER_MEETING = 3;
35810
35811
  var PAGE_ROWS = 200;
35811
35812
  var MOST_PAGES = 25;
@@ -36033,7 +36034,7 @@ var titleItem = /* @__PURE__ */ __name((account, meeting, query) => ({
36033
36034
  foundBy: ["title"]
36034
36035
  }), "titleItem");
36035
36036
 
36036
- // 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/search-harder.js
36037
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/search-harder.js
36037
36038
  var SECTION3 = "search_harder";
36038
36039
  var HARDER_MODELS = {
36039
36040
  anthropic: "claude-haiku-5-5",
@@ -36279,7 +36280,7 @@ var reorderHarder = /* @__PURE__ */ __name(async (question, hits, { laterPage, a
36279
36280
  };
36280
36281
  }, "reorderHarder");
36281
36282
 
36282
- // 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/search-all.js
36283
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/search-all.js
36283
36284
  var RESOURCES_SEARCHED = ["messages", "mail", "notes", "events", "crm", "business", "meetings"];
36284
36285
  var refusal = /* @__PURE__ */ __name((error, text2) => {
36285
36286
  const { reason, span } = error.details ?? {};
@@ -36358,6 +36359,7 @@ var searchAll = /* @__PURE__ */ __name(async (store, account, asked, messenger =
36358
36359
  const discover = !request.exact && questionLookup(request.text) !== void 0;
36359
36360
  const cosines = /* @__PURE__ */ new Map();
36360
36361
  let coverage2;
36362
+ const meetingAccountsRead = /* @__PURE__ */ new Set();
36361
36363
  let meetings;
36362
36364
  const messagesOf = /* @__PURE__ */ __name(async (kind) => {
36363
36365
  const given = scope?.[kind];
@@ -36577,6 +36579,8 @@ var searchAll = /* @__PURE__ */ __name(async (store, account, asked, messenger =
36577
36579
  continue;
36578
36580
  hasMore ||= found.hasMore;
36579
36581
  meetings = found.coverage;
36582
+ for (const { id: id2 } of found.read)
36583
+ meetingAccountsRead.add(id2);
36580
36584
  lists.push(found.items);
36581
36585
  for (const { provider, account: account2 } of found.read)
36582
36586
  accounts.push({ resource, provider, account: account2 });
@@ -36592,7 +36596,7 @@ var searchAll = /* @__PURE__ */ __name(async (store, account, asked, messenger =
36592
36596
  } finally {
36593
36597
  await embedders.close();
36594
36598
  }
36595
- let ordered = insidePeriodFirst(oneList(lists, cosines), period);
36599
+ let ordered = insidePeriodFirst(oneList(await withMeetingDocuments(store, lists, meetingAccountsRead), cosines), period);
36596
36600
  let harder;
36597
36601
  if (request.harder) {
36598
36602
  const asking = {
@@ -36633,6 +36637,34 @@ var searchAll = /* @__PURE__ */ __name(async (store, account, asked, messenger =
36633
36637
  ...harder === void 0 ? {} : { harder }
36634
36638
  };
36635
36639
  }, "searchAll");
36640
+ var withMeetingDocuments = /* @__PURE__ */ __name(async (store, lists, read) => {
36641
+ if (!read.size)
36642
+ return lists;
36643
+ const documentOf = /* @__PURE__ */ __name((item2) => item2.kind === "document" && /^document:\d+$/.test(item2.ref) ? Number(item2.ref.slice("document:".length)) : void 0, "documentOf");
36644
+ const documents = lists.flat().flatMap((item2) => documentOf(item2) ?? []);
36645
+ if (!documents.length)
36646
+ return lists;
36647
+ const owners = await store.meetings.documentMeetings(documents);
36648
+ if (!owners.size)
36649
+ return lists;
36650
+ const meetings = new Set(lists.flat().flatMap((item2) => item2.kind === "meeting" ? [item2.meetingId] : []));
36651
+ return lists.map((list3) => list3.flatMap((item2) => {
36652
+ const document = documentOf(item2);
36653
+ const owner = document === void 0 ? void 0 : owners.get(document);
36654
+ if (owner === void 0 || item2.kind === "meeting")
36655
+ return [item2];
36656
+ if (owner.role === "transcript" && meetings.has(owner.meetingId))
36657
+ return [];
36658
+ if (!read.has(owner.accountId))
36659
+ return [item2];
36660
+ return [
36661
+ {
36662
+ ...item2,
36663
+ meeting: formatMeetingReference({ type: "meeting", accountId: owner.accountId, meetingId: owner.meetingId })
36664
+ }
36665
+ ];
36666
+ }));
36667
+ }, "withMeetingDocuments");
36636
36668
  var hitKey = /* @__PURE__ */ __name((item2) => item2.kind === "meeting" ? `${item2.ref}\0${item2.scope}\0${item2.id}` : item2.ref, "hitKey");
36637
36669
  var oneList = /* @__PURE__ */ __name((lists, cosines) => {
36638
36670
  const place = /* @__PURE__ */ new Map();
@@ -36661,7 +36693,7 @@ var insidePeriodFirst = /* @__PURE__ */ __name((ordered, period) => {
36661
36693
  return ordered.map((item2, rank) => ({ item: item2, score: 1 - rank / PERIOD_DEPTH + (inside2(item2) ? PERIOD_BOOST : 0) })).sort((a, b) => b.score - a.score).map(({ item: item2 }) => item2);
36662
36694
  }, "insidePeriodFirst");
36663
36695
 
36664
- // 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/server-search.js
36696
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/server-search.js
36665
36697
  var SERVER_SEARCH_KEY = "messages.server-search";
36666
36698
  var SERVER_BOUNDS = { timeMs: 5e3, perCall: 100, maxCalls: 3, textBytes: 262144 };
36667
36699
  var DEFAULT_BACKEND = "both";
@@ -36850,7 +36882,7 @@ var searchServer = /* @__PURE__ */ __name(async (deps, request) => {
36850
36882
  return { report, sources };
36851
36883
  }, "searchServer");
36852
36884
 
36853
- // 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/messages.js
36885
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/messages.js
36854
36886
  var DELETE_AT_ONCE = 10;
36855
36887
  var filesOf = /* @__PURE__ */ __name(({ attachments }) => {
36856
36888
  const files = fileLinks(attachments);
@@ -37290,7 +37322,7 @@ var checkMediaOptions = /* @__PURE__ */ __name((messenger, asked, attachments) =
37290
37322
  throw new CliError("validation_error", `${MEDIA_FLAGS[first2]} needs a --photo or --file`);
37291
37323
  }, "checkMediaOptions");
37292
37324
 
37293
- // 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/channel-tags.js
37325
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/domain/channel-tags.js
37294
37326
  var CHANNEL_TAG_RULES_VERSION = "keywords-v1";
37295
37327
  var RULES2 = {
37296
37328
  ai: [/\b(ai|gpt|llm|machine learning|artificial intelligence)\b/iu, /нейросет|искусственн/iu],
@@ -37305,7 +37337,7 @@ var classifyChannel = /* @__PURE__ */ __name((metadata) => Object.entries(RULES2
37305
37337
  return fields.length ? [{ tag, score: fields.length / 3, fields }] : [];
37306
37338
  }), "classifyChannel");
37307
37339
 
37308
- // 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/metadata.js
37340
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/metadata.js
37309
37341
  var metadataService = /* @__PURE__ */ __name((deps) => {
37310
37342
  const held = /* @__PURE__ */ __name(async (reference, { includeLeft = false } = {}) => {
37311
37343
  const store = await deps.store();
@@ -37391,7 +37423,7 @@ var metadataService = /* @__PURE__ */ __name((deps) => {
37391
37423
  };
37392
37424
  }, "metadataService");
37393
37425
 
37394
- // 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/moderation/run.js
37426
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/moderation/run.js
37395
37427
  var FIRST_LOOK_MS = 24 * 36e5;
37396
37428
  var moderateWith = /* @__PURE__ */ __name(async (run2) => {
37397
37429
  const { chatId, title, rules, point, since, dryRun } = run2;
@@ -37428,7 +37460,7 @@ var moderateWith = /* @__PURE__ */ __name(async (run2) => {
37428
37460
  return { chatId, rows, notes };
37429
37461
  }, "moderateWith");
37430
37462
 
37431
- // 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/moderation.js
37463
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/moderation.js
37432
37464
  var moderationService = /* @__PURE__ */ __name((deps) => {
37433
37465
  const file2 = /* @__PURE__ */ __name(() => new ModerationRules(moderationPathFor(deps.messenger.app, deps.profile ?? "default", deps.env ?? process.env)), "file");
37434
37466
  const group = /* @__PURE__ */ __name(async (chat) => {
@@ -37506,7 +37538,7 @@ var moderatorOf = /* @__PURE__ */ __name((adapter, deps) => ({
37506
37538
  }, "removePerson")
37507
37539
  }), "moderatorOf");
37508
37540
 
37509
- // 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/private-people.js
37541
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/private-people.js
37510
37542
  var noteItem = /* @__PURE__ */ __name((provider, note) => ({
37511
37543
  id: note.id,
37512
37544
  contact: formatReference({ type: "contact", provider, id: note.personId }),
@@ -37550,7 +37582,7 @@ var privatePeopleService = /* @__PURE__ */ __name((deps) => {
37550
37582
  };
37551
37583
  }, "privatePeopleService");
37552
37584
 
37553
- // 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/rankings.js
37585
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/rankings.js
37554
37586
  var empty = /* @__PURE__ */ __name(() => ({
37555
37587
  total: 0,
37556
37588
  population: 0,
@@ -37806,7 +37838,7 @@ var rankingsService = /* @__PURE__ */ __name((deps) => ({
37806
37838
  }, "evidence")
37807
37839
  }), "rankingsService");
37808
37840
 
37809
- // 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/reply-stats.js
37841
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/reply-stats.js
37810
37842
  var FIELDS = ["date", "chat", "kind", "muted"];
37811
37843
  var WAITING_TAIL = 100;
37812
37844
  var plainOnly = /* @__PURE__ */ __name((text2, command) => {
@@ -37940,7 +37972,7 @@ var replyStatsService = /* @__PURE__ */ __name((deps) => {
37940
37972
  };
37941
37973
  }, "replyStatsService");
37942
37974
 
37943
- // 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/searches.js
37975
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/searches.js
37944
37976
  var savedSearchItem = /* @__PURE__ */ __name((one) => ({
37945
37977
  id: one.id,
37946
37978
  name: one.name,
@@ -38066,7 +38098,7 @@ var searchesService = /* @__PURE__ */ __name((deps) => {
38066
38098
  };
38067
38099
  }, "searchesService");
38068
38100
 
38069
- // 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/tags.js
38101
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/tags.js
38070
38102
  var TAGGING_QUERY = {
38071
38103
  entity: "tagging",
38072
38104
  backend: "sql",
@@ -38150,7 +38182,7 @@ var tagsService = /* @__PURE__ */ __name((deps) => {
38150
38182
  };
38151
38183
  }, "tagsService");
38152
38184
 
38153
- // 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/topics.js
38185
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/topics.js
38154
38186
  var actionOf = /* @__PURE__ */ __name(({ title, closed, pinned, hidden, icon }) => {
38155
38187
  const set = [closed, pinned, hidden].filter((one) => one !== void 0).length;
38156
38188
  if (title !== void 0 || icon !== void 0 || set !== 1)
@@ -38349,10 +38381,10 @@ var topicsService = /* @__PURE__ */ __name((deps) => {
38349
38381
  };
38350
38382
  }, "topicsService");
38351
38383
 
38352
- // 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/crm/sync.js
38384
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/crm/sync.js
38353
38385
  var CLOCK_MARGIN = 60 * 6e4;
38354
38386
 
38355
- // 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/crm/writer.js
38387
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/crm/writer.js
38356
38388
  var CRM_ASSIGN_OTHERS_KEY = "crm.assign-others";
38357
38389
  var CRM_WRITE_DEFAULTS = {
38358
38390
  "deals.delete": "ask",
@@ -38360,7 +38392,7 @@ var CRM_WRITE_DEFAULTS = {
38360
38392
  [CRM_ASSIGN_OTHERS_KEY]: "deny"
38361
38393
  };
38362
38394
 
38363
- // 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/evidence.js
38395
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/evidence.js
38364
38396
  import { createHash as createHash11, randomUUID as randomUUID6 } from "node:crypto";
38365
38397
  var hash2 = /* @__PURE__ */ __name((value) => createHash11("sha256").update(JSON.stringify(value)).digest("hex"), "hash");
38366
38398
  var positive2 = /* @__PURE__ */ __name((value, name, minimum = 1) => {
@@ -38434,7 +38466,7 @@ var prepareEvidencePacket = /* @__PURE__ */ __name(({ kind, source, page, limits
38434
38466
  return { ...content, id: randomUUID6(), fingerprint: hash2(content) };
38435
38467
  }, "prepareEvidencePacket");
38436
38468
 
38437
- // 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/evidence-read.js
38469
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/evidence-read.js
38438
38470
  var readEvidencePacket = /* @__PURE__ */ __name(async (store, account, { chat, limit, before: before2 }, messenger = {}) => {
38439
38471
  if (!Number.isSafeInteger(limit) || limit < 1 || limit > 100)
38440
38472
  throw new CliError("validation_error", "evidence message limit must be an integer from 1 to 100");
@@ -38454,7 +38486,7 @@ var readEvidencePacket = /* @__PURE__ */ __name(async (store, account, { chat, l
38454
38486
  return { ...packet, nextBeforeId: older && last ? last.id : null };
38455
38487
  }, "readEvidencePacket");
38456
38488
 
38457
- // 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/meeting-project-discovery.js
38489
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/meeting-project-discovery.js
38458
38490
  var scopeKeys = [
38459
38491
  "accountId",
38460
38492
  "meetingId",
@@ -38476,7 +38508,7 @@ var optionKeys = /* @__PURE__ */ new Set([
38476
38508
  "maxVocabularyReadBytes"
38477
38509
  ]);
38478
38510
 
38479
- // 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/text-model-choice.js
38511
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/text-model-choice.js
38480
38512
  import { createHash as createHash12 } from "node:crypto";
38481
38513
  import { existsSync as existsSync3 } from "node:fs";
38482
38514
  var useTextModel = /* @__PURE__ */ __name(async (id2, { env, command }) => {
@@ -38607,7 +38639,91 @@ var addCustomTextModel = /* @__PURE__ */ __name(async (id2, payload, { env, fetc
38607
38639
  return { ...checked2.output, custom: true };
38608
38640
  }, "addCustomTextModel");
38609
38641
 
38610
- // 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/context/communication-selection.js
38642
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/calendar/sync.js
38643
+ var DAY6 = 864e5;
38644
+ var SLOTS_EVERY = 7 * DAY6;
38645
+
38646
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/calendar/feeds.js
38647
+ var FEED_LIMITS = { maxBytes: 10 * 1024 * 1024, timeoutMs: 3e4, redirects: 5 };
38648
+
38649
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/calendar/reads.js
38650
+ var LIST = "events list";
38651
+ var EVENT_TYPES = [
38652
+ "default",
38653
+ "out-of-office",
38654
+ "focus",
38655
+ "working-location",
38656
+ "birthday",
38657
+ "from-mail",
38658
+ "call"
38659
+ ];
38660
+ var oneSided = /* @__PURE__ */ __name((field, example) => (node) => {
38661
+ if (node.operator !== "range" || node.upper !== "*")
38662
+ queryError("query.unsupported-operator", node.span, `${field} takes only an earliest moment, such as ${example}`, {
38663
+ command: LIST,
38664
+ guide: LIST_QUERY_GUIDE
38665
+ });
38666
+ }, "oneSided");
38667
+ var EVENTS_QUERY = {
38668
+ entity: "event",
38669
+ backend: "native",
38670
+ fields: queryFieldsOf(event, {
38671
+ native: ["id", "starts_at", "ends_at", "changed_at", "overlapping", "calendar", "person", "event_type"],
38672
+ negatable: ["event_type"],
38673
+ relations: {
38674
+ event_type: {
38675
+ type: "enum",
38676
+ values: EVENT_TYPES,
38677
+ example: "event_type:default",
38678
+ relation: "events with a copy of this kind; -event_type:<kind> leaves out events with one"
38679
+ },
38680
+ calendar: {
38681
+ type: "kw",
38682
+ example: "calendar:3",
38683
+ relation: "one calendar, by its id, the provider's id or its title"
38684
+ },
38685
+ person: {
38686
+ type: "kw",
38687
+ example: "person:ana@example.com",
38688
+ relation: "events one person attends: an address, or a person id from search"
38689
+ }
38690
+ },
38691
+ examples: {
38692
+ id: "id:42",
38693
+ starts_at: "starts_at:[2026-11-02 TO 2026-11-07}",
38694
+ ends_at: "ends_at>=2026-11-02",
38695
+ changed_at: "changed_at>=2026-10-01",
38696
+ overlapping: "overlapping:true"
38697
+ },
38698
+ validate: {
38699
+ ends_at: oneSided("ends_at", "ends_at>=2026-11-02; for the latest, write starts_at<2026-11-07"),
38700
+ changed_at: oneSided("changed_at", "changed_at>=2026-10-01")
38701
+ }
38702
+ }).map((field) => field.native ? {
38703
+ ...field,
38704
+ operators: field.type === "time" ? ["term", "range"] : field.type === "bool" ? ["term"] : ["term", "phrase"]
38705
+ } : field)
38706
+ };
38707
+
38708
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/calendar/writer.js
38709
+ var EVENTS_NOTIFY_KEY = "events.notify";
38710
+ var EVENTS_DELETE_SERIES_KEY = "events.delete.series";
38711
+ var EVENTS_REMIND_HOOK_KEY = "events.remind.hook";
38712
+ var CALENDAR_WRITE_DEFAULTS = {
38713
+ "events.create": "allow",
38714
+ // One import writes a whole file of events, and may change events the calendar already holds under their UIDs.
38715
+ "events.import": "ask",
38716
+ "events.update": "allow",
38717
+ "events.respond": "allow",
38718
+ "events.move": "allow",
38719
+ "events.delete": "ask",
38720
+ [EVENTS_DELETE_SERIES_KEY]: "deny",
38721
+ [EVENTS_NOTIFY_KEY]: "deny",
38722
+ // Not ask: `--yes` answers ask, and anything that can type a gcal command can add it.
38723
+ [EVENTS_REMIND_HOOK_KEY]: "deny"
38724
+ };
38725
+
38726
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/context/communication-selection.js
38611
38727
  var communicationFields = {
38612
38728
  sources: pipe(array(strictObject({
38613
38729
  id: pipe(string(), regex(/^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$/)),
@@ -38639,7 +38755,7 @@ var communicationRequest = /* @__PURE__ */ __name((value, preparationAfter) => {
38639
38755
  return { ...input, after, before: before2 };
38640
38756
  }, "communicationRequest");
38641
38757
 
38642
- // 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/meeting-preparation-validation.js
38758
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/meeting-preparation-validation.js
38643
38759
  var MEETING_PREPARATION_LIMITS = {
38644
38760
  meetings: { min: 1, max: 20, default: 5 },
38645
38761
  cues: { min: 1, max: 100, default: 10 },
@@ -38712,7 +38828,7 @@ var validateMeetingPreparationRequest = /* @__PURE__ */ __name((externalId, orig
38712
38828
  };
38713
38829
  }, "validateMeetingPreparationRequest");
38714
38830
 
38715
- // 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/meeting-communications-selection.js
38831
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/meeting-communications-selection.js
38716
38832
  var validatePreparationCommunications = /* @__PURE__ */ __name((section, request, after) => {
38717
38833
  const fail2 = /* @__PURE__ */ __name(() => {
38718
38834
  throw new CliError("invalid_response", "Preparation communications returned another selection or invalid evidence");
@@ -38760,7 +38876,7 @@ var validatePreparationCommunications = /* @__PURE__ */ __name((section, request
38760
38876
  }
38761
38877
  }, "validatePreparationCommunications");
38762
38878
 
38763
- // 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/package-upgrade.js
38879
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/package-upgrade.js
38764
38880
  var upgradePackage = /* @__PURE__ */ __name(async ({ current, command, packageName, check: check2 }, ports) => {
38765
38881
  const installer = ports.installer();
38766
38882
  const argv = updateCommand(installer, packageName);
@@ -38825,7 +38941,7 @@ var dayAfter = /* @__PURE__ */ __name((published) => {
38825
38941
  return Number.isNaN(time) ? null : new Date(time + 24 * 60 * 60 * 1e3).toISOString();
38826
38942
  }, "dayAfter");
38827
38943
 
38828
- // 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/index.js
38944
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/index.js
38829
38945
  var servicesFor = /* @__PURE__ */ __name((deps) => {
38830
38946
  const pictures = picturesService(deps);
38831
38947
  const base = {
@@ -38862,7 +38978,7 @@ var servicesFor = /* @__PURE__ */ __name((deps) => {
38862
38978
  return deps.messenger.services ? { ...base, ...deps.messenger.services(base, deps) } : base;
38863
38979
  }, "servicesFor");
38864
38980
 
38865
- // 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/relay.js
38981
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/background/relay.js
38866
38982
  import { createHash as createHash13 } from "node:crypto";
38867
38983
  import { chmodSync, lstatSync, mkdirSync as mkdirSync6, rmSync as rmSync3 } from "node:fs";
38868
38984
  import { createConnection, createServer } from "node:net";
@@ -39083,7 +39199,7 @@ var relayCommand = /* @__PURE__ */ __name((path, request, options2) => new Promi
39083
39199
  }, () => finish({ error: stopped() }));
39084
39200
  }), "relayCommand");
39085
39201
 
39086
- // 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/serve-relay.js
39202
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-relay.js
39087
39203
  var lentConnection = /* @__PURE__ */ __name((connection, watchers) => throughWrapper(connection, {
39088
39204
  close: /* @__PURE__ */ __name(async () => {
39089
39205
  }, "close"),
@@ -39097,9 +39213,9 @@ var lentConnection = /* @__PURE__ */ __name((connection, watchers) => throughWra
39097
39213
  let watcher;
39098
39214
  try {
39099
39215
  await new Promise((resolve7, reject) => {
39100
- watcher = /* @__PURE__ */ __name((event) => {
39216
+ watcher = /* @__PURE__ */ __name((event2) => {
39101
39217
  try {
39102
- onEvent(event);
39218
+ onEvent(event2);
39103
39219
  } catch (error) {
39104
39220
  reject(error);
39105
39221
  }
@@ -39135,9 +39251,9 @@ var serveRelay = /* @__PURE__ */ __name((command, messenger) => {
39135
39251
  return held;
39136
39252
  }, "connect")
39137
39253
  },
39138
- arrived: /* @__PURE__ */ __name((event) => {
39254
+ arrived: /* @__PURE__ */ __name((event2) => {
39139
39255
  for (const watcher of watchers)
39140
- watcher(event);
39256
+ watcher(event2);
39141
39257
  }, "arrived"),
39142
39258
  /** Listens beside the lock; the address goes into it, which is how a client finds it. */
39143
39259
  open: /* @__PURE__ */ __name(async (lockPath, profile) => {
@@ -39343,19 +39459,6 @@ export {
39343
39459
  readEvidencePacket,
39344
39460
  useTextModel,
39345
39461
  addCustomTextModel,
39346
- communicationFields,
39347
- MEETING_PREPARATION_LIMITS,
39348
- validateMeetingPreparationRequest,
39349
- validatePreparationCommunications,
39350
- upgradePackage,
39351
- servicesFor,
39352
- lackedNeed,
39353
- refuseLacking,
39354
- hideNever,
39355
- RELAY_PROTOCOL,
39356
- relayCommand,
39357
- lentConnection,
39358
- serveRelay,
39359
39462
  meetingPassageRequest,
39360
39463
  createMeetingPassageCommand,
39361
39464
  meetingHitSearchRequest,
@@ -39379,6 +39482,19 @@ export {
39379
39482
  nativeField,
39380
39483
  termField,
39381
39484
  queryHelp,
39485
+ communicationFields,
39486
+ MEETING_PREPARATION_LIMITS,
39487
+ validateMeetingPreparationRequest,
39488
+ validatePreparationCommunications,
39489
+ upgradePackage,
39490
+ servicesFor,
39491
+ lackedNeed,
39492
+ refuseLacking,
39493
+ hideNever,
39494
+ RELAY_PROTOCOL,
39495
+ relayCommand,
39496
+ lentConnection,
39497
+ serveRelay,
39382
39498
  positiveCount,
39383
39499
  withPaging,
39384
39500
  window,