@wirecat/cli-template 0.17.0 → 0.18.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 (92) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/bin/release +10 -3
  3. package/dist/bin/clidev.js +2 -2
  4. package/dist/bundle/{all-profiles-CCT2XPJL.js → all-profiles-I2I5Y47S.js} +7 -7
  5. package/dist/bundle/{anthropic-QLLP7EE4.js → anthropic-6KWLOH3O.js} +4 -4
  6. package/dist/bundle/{app-server-ELI5TGL7.js → app-server-WDHIM77I.js} +42 -39
  7. package/dist/bundle/{bun-C7JS2V7G.js → bun-NQS22GBW.js} +2 -2
  8. package/dist/bundle/{bun-sqlite-OM72TCYT.js → bun-sqlite-ZHYZDAFU.js} +3 -3
  9. package/dist/bundle/{chunk-6VCFDEHT.js → chunk-43KXTQB6.js} +1 -1
  10. package/dist/bundle/{chunk-RGKXMVOZ.js → chunk-4DHYD37E.js} +3 -3
  11. package/dist/bundle/{chunk-2Y5NBD7U.js → chunk-64DNKCG6.js} +4 -4
  12. package/dist/bundle/{chunk-XKL5FRH3.js → chunk-6HV2ZUJ7.js} +3 -3
  13. package/dist/bundle/{chunk-ASO23RNM.js → chunk-6K7LOCZA.js} +76 -24
  14. package/dist/bundle/{chunk-LN53L2V5.js → chunk-ALOTPATU.js} +11 -11
  15. package/dist/bundle/{chunk-EQDVQN4E.js → chunk-AQGUIORH.js} +224 -223
  16. package/dist/bundle/{chunk-QLBS6OC2.js → chunk-CAX65NS4.js} +400 -295
  17. package/dist/bundle/{chunk-RUHNHEAF.js → chunk-CZB5RLXN.js} +3 -3
  18. package/dist/bundle/{chunk-SQOXYNKF.js → chunk-E5O6R3NL.js} +1 -1
  19. package/dist/bundle/{chunk-GG5PXNMH.js → chunk-EMPBFRAG.js} +28 -25
  20. package/dist/bundle/{chunk-FF3AGTHY.js → chunk-ERHKHYWL.js} +6 -6
  21. package/dist/bundle/{chunk-S465TCR3.js → chunk-F2KGCZQP.js} +8 -8
  22. package/dist/bundle/{chunk-QJS4WWYK.js → chunk-FGQC6DQK.js} +63 -63
  23. package/dist/bundle/{chunk-AUVPTFUS.js → chunk-FPC4ESDC.js} +1 -1
  24. package/dist/bundle/{chunk-BXZRTMXA.js → chunk-G7JA7YXK.js} +5 -5
  25. package/dist/bundle/{chunk-BOCIYBBO.js → chunk-GBXTIWAE.js} +20 -20
  26. package/dist/bundle/{chunk-O6PBO4BU.js → chunk-HMP5CI4F.js} +4 -2
  27. package/dist/bundle/{chunk-R5IY4O25.js → chunk-I5HN34YA.js} +4 -4
  28. package/dist/bundle/{chunk-WRLOK7XC.js → chunk-IKFNRGSZ.js} +3 -3
  29. package/dist/bundle/{chunk-KRXN3FV3.js → chunk-IKGARE4J.js} +1 -1
  30. package/dist/bundle/{chunk-YIH3PYWJ.js → chunk-JECGG4TM.js} +1 -1
  31. package/dist/bundle/{chunk-MLSN3UP4.js → chunk-KMYKWHFH.js} +26 -26
  32. package/dist/bundle/{chunk-WKUJCPSP.js → chunk-KSABL7M2.js} +43 -43
  33. package/dist/bundle/{chunk-GUCMIUNB.js → chunk-KWQSDU3D.js} +2 -2
  34. package/dist/bundle/{chunk-6PHTRAZA.js → chunk-L4U3V7OU.js} +1 -1
  35. package/dist/bundle/{chunk-UW4PJZVJ.js → chunk-MJSZEF7M.js} +167 -156
  36. package/dist/bundle/{chunk-R5CPFSPI.js → chunk-MVWHCXYA.js} +7 -7
  37. package/dist/bundle/{chunk-XS56LIQ7.js → chunk-NVALUKZU.js} +4 -4
  38. package/dist/bundle/{chunk-AKUMR7PE.js → chunk-Q5J3LKRL.js} +2 -2
  39. package/dist/bundle/{chunk-33JGD2CR.js → chunk-QHXHJ3BK.js} +3 -3
  40. package/dist/bundle/{chunk-7OQF5ZMN.js → chunk-RKZJ7ZKU.js} +1 -1
  41. package/dist/bundle/{chunk-3VVIEZRY.js → chunk-RQPDYAHW.js} +2 -2
  42. package/dist/bundle/{chunk-HVAEHUSZ.js → chunk-RSCHWXF5.js} +2 -2
  43. package/dist/bundle/{chunk-WQBBSVZM.js → chunk-RYBCV3CX.js} +2 -2
  44. package/dist/bundle/{chunk-RT46AWIH.js → chunk-T6ZLWN7E.js} +1 -1
  45. package/dist/bundle/{chunk-QVPTZDRA.js → chunk-T7657XL5.js} +2 -2
  46. package/dist/bundle/{chunk-DVLM23HB.js → chunk-TH6AVNNH.js} +2 -2
  47. package/dist/bundle/{chunk-X44ZT64I.js → chunk-TMFSNTR2.js} +3 -3
  48. package/dist/bundle/{chunk-J2RUBXCI.js → chunk-UESBF7HN.js} +6 -6
  49. package/dist/bundle/{chunk-ZRNBKTPP.js → chunk-UGPJDNVX.js} +26 -26
  50. package/dist/bundle/{chunk-LFLN6PVS.js → chunk-UXLB5I2B.js} +4 -4
  51. package/dist/bundle/{chunk-ITPFCKCL.js → chunk-VDV3WS4O.js} +13 -13
  52. package/dist/bundle/{chunk-URPKIONS.js → chunk-VDXS7GR7.js} +8 -8
  53. package/dist/bundle/{chunk-E4KQOKQ5.js → chunk-YLN6DBJV.js} +1 -1
  54. package/dist/bundle/{chunk-SQKP6V4S.js → chunk-YMGJJG3W.js} +17 -13
  55. package/dist/bundle/clidev.js +3 -3
  56. package/dist/bundle/{command-contract-RV5ZOEAT.js → command-contract-JGOS34WS.js} +11 -11
  57. package/dist/bundle/{decode-V7HNHZBC.js → decode-HHZMCEZF.js} +3 -3
  58. package/dist/bundle/{echarts-Y42YP2OL.js → echarts-LYV2DLKU.js} +2 -2
  59. package/dist/bundle/{embed-JSQZL7JF.js → embed-BPN3SCZ7.js} +4 -4
  60. package/dist/bundle/{embedder-7BHRCXWL.js → embedder-NZAL7DVD.js} +7 -7
  61. package/dist/bundle/{first-run-BJ36KGST.js → first-run-OKN7MVLP.js} +8 -8
  62. package/dist/bundle/first-screen-6XGF2AKF.js +26 -0
  63. package/dist/bundle/{instructions-UWERND54.js → instructions-N2HYCEWN.js} +1 -1
  64. package/dist/bundle/{mcp-P4FSBSRS.js → mcp-OGWFYUDR.js} +2 -2
  65. package/dist/bundle/{node-PZDNPKN7.js → node-MIHFH7T4.js} +2 -2
  66. package/dist/bundle/{node-sqlite-4F5NLRNT.js → node-sqlite-FF2SFXPZ.js} +4 -4
  67. package/dist/bundle/{oauth-VDXNA3DK.js → oauth-72XUHG3K.js} +5 -5
  68. package/dist/bundle/{open-EUJRQQNS.js → open-HL6SSRKY.js} +3 -3
  69. package/dist/bundle/{openai-EIBV2K72.js → openai-DSWDZHQA.js} +12 -12
  70. package/dist/bundle/{process-XD5ZIFIL.js → process-5EQF2SZN.js} +1 -1
  71. package/dist/bundle/{program-TJTVMIOX.js → program-QPXFRATG.js} +386 -290
  72. package/dist/bundle/{prompt-LYUZNHDK.js → prompt-VVRJDKQK.js} +3 -3
  73. package/dist/bundle/{recognize-LQMHLOD5.js → recognize-T6RIVTQL.js} +2 -2
  74. package/dist/bundle/{remote-34HUWSZI.js → remote-7Z3C3FOG.js} +5 -5
  75. package/dist/bundle/{rerank-ONBASQ5Z.js → rerank-RUFDP7NP.js} +5 -5
  76. package/dist/bundle/{serve-UJ7FDYAM.js → serve-YZQDRGZW.js} +7 -7
  77. package/dist/bundle/server-NDSKEME6.js +52 -0
  78. package/dist/bundle/{server-GNT76BXM.js → server-WSFS656N.js} +28 -28
  79. package/dist/bundle/{state-IW5OO6IZ.js → state-GOQ4J5RS.js} +4 -4
  80. package/dist/bundle/{store-55UB27H2.js → store-KRGXTPKQ.js} +10 -10
  81. package/dist/bundle/store-maintenance-command-FNNZ5YCX.js +42 -0
  82. package/dist/version.d.ts +1 -1
  83. package/dist/version.js +1 -1
  84. package/docs/dev/skills/release/SKILL.md +3 -2
  85. package/kit/dist/new.js +2 -2
  86. package/package.json +4 -4
  87. package/pnpm-workspace.yaml +2 -0
  88. package/src/run-scope.test.ts +31 -0
  89. package/src/version.ts +1 -1
  90. package/dist/bundle/first-screen-5YHQVNY4.js +0 -26
  91. package/dist/bundle/server-J4YIXKMI.js +0 -52
  92. package/dist/bundle/store-maintenance-command-BLDKUZ3L.js +0 -42
@@ -8,17 +8,17 @@ import {
8
8
  sameOrdinaryFile,
9
9
  syncDirectory,
10
10
  writeFileAtomic
11
- } from "./chunk-ITPFCKCL.js";
11
+ } from "./chunk-VDV3WS4O.js";
12
12
  import {
13
13
  isNewer,
14
14
  updateCommand
15
- } from "./chunk-R5IY4O25.js";
15
+ } from "./chunk-I5HN34YA.js";
16
16
  import {
17
17
  remoteKey
18
- } from "./chunk-X44ZT64I.js";
18
+ } from "./chunk-TMFSNTR2.js";
19
19
  import {
20
20
  MAX_MODEL_IMAGE_BYTES
21
- } from "./chunk-WQBBSVZM.js";
21
+ } from "./chunk-RYBCV3CX.js";
22
22
  import {
23
23
  Command,
24
24
  DEFAULT_IMAGE_MODEL,
@@ -59,10 +59,10 @@ import {
59
59
  typedCommand,
60
60
  vectorModelKey,
61
61
  withAttempt
62
- } from "./chunk-UW4PJZVJ.js";
62
+ } from "./chunk-MJSZEF7M.js";
63
63
  import {
64
64
  isCliFailure
65
- } from "./chunk-S465TCR3.js";
65
+ } from "./chunk-F2KGCZQP.js";
66
66
  import {
67
67
  AGENDA_COLUMNS,
68
68
  CHAT_COLUMNS,
@@ -145,13 +145,13 @@ import {
145
145
  validateAst,
146
146
  validateFields,
147
147
  withoutField
148
- } from "./chunk-QLBS6OC2.js";
148
+ } from "./chunk-CAX65NS4.js";
149
149
  import {
150
150
  DEFAULT_STEMMERS,
151
151
  createStemmer,
152
152
  fold,
153
153
  normalize
154
- } from "./chunk-URPKIONS.js";
154
+ } from "./chunk-VDXS7GR7.js";
155
155
  import {
156
156
  EVENT_QUERY,
157
157
  MEETING_PROJECT_EVIDENCE_QUERY,
@@ -196,11 +196,11 @@ import {
196
196
  validateQuery,
197
197
  walkQuery,
198
198
  zonedMoment
199
- } from "./chunk-QJS4WWYK.js";
199
+ } from "./chunk-FGQC6DQK.js";
200
200
  import {
201
201
  DEFAULT_TASK_CATEGORIES,
202
202
  FALLBACK_CATEGORY
203
- } from "./chunk-BXZRTMXA.js";
203
+ } from "./chunk-G7JA7YXK.js";
204
204
  import {
205
205
  Unzip,
206
206
  UnzipInflate,
@@ -211,15 +211,15 @@ import {
211
211
  placedText,
212
212
  runEmbedders,
213
213
  textModelsDirectory
214
- } from "./chunk-J2RUBXCI.js";
214
+ } from "./chunk-UESBF7HN.js";
215
215
  import {
216
216
  installFiles,
217
217
  megabytes
218
- } from "./chunk-LFLN6PVS.js";
218
+ } from "./chunk-UXLB5I2B.js";
219
219
  import {
220
220
  storePath,
221
221
  wirecatDirectory
222
- } from "./chunk-AKUMR7PE.js";
222
+ } from "./chunk-Q5J3LKRL.js";
223
223
  import {
224
224
  CliError,
225
225
  array,
@@ -248,7 +248,7 @@ import {
248
248
  unknown,
249
249
  visibleControls,
250
250
  writeSecurely
251
- } from "./chunk-MLSN3UP4.js";
251
+ } from "./chunk-KMYKWHFH.js";
252
252
  import {
253
253
  importFrom,
254
254
  resolveFrom
@@ -16868,10 +16868,10 @@ var require_lib3 = __commonJS({
16868
16868
  }
16869
16869
  });
16870
16870
 
16871
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/ports/traits.js
16871
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/ports/traits.js
16872
16872
  var syncsOneChat = /* @__PURE__ */ __name((messenger) => messenger.history !== "store" || messenger.historyOnDemand === true, "syncsOneChat");
16873
16873
 
16874
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/conversations/link.js
16874
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/conversations/link.js
16875
16875
  var RULES_VERSION = 5;
16876
16876
  var LOOK_BACK = 50;
16877
16877
  var SAME_SENDER_WITHIN = 10;
@@ -16961,7 +16961,7 @@ var latest = /* @__PURE__ */ __name((window3, matches) => {
16961
16961
  var sameThread = /* @__PURE__ */ __name((a, b) => a.threadId === b.threadId, "sameThread");
16962
16962
  var link = /* @__PURE__ */ __name((message, parentId, source, kind, confidence, method) => ({ messageId: message.id, parentId, source, kind, confidence, method }), "link");
16963
16963
 
16964
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/cli/messenger/lacks.js
16964
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/cli/messenger/lacks.js
16965
16965
  var COMMAND_NEEDS = {
16966
16966
  "account update": ["updateProfile", "change the profile"],
16967
16967
  "account sessions list": ["sessions", "list the account's sessions"],
@@ -17011,7 +17011,7 @@ var hideNever = /* @__PURE__ */ __name((messenger, group) => {
17011
17011
  return group;
17012
17012
  }, "hideNever");
17013
17013
 
17014
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/members-audit.js
17014
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/members-audit.js
17015
17015
  var AUDIT_PAGE = 200;
17016
17016
  var AUDIT_BUDGET = 10;
17017
17017
  var AUDIT_PAUSE_MS = 1e3;
@@ -17091,7 +17091,7 @@ var burstJoins = /* @__PURE__ */ __name((members) => {
17091
17091
  return found;
17092
17092
  }, "burstJoins");
17093
17093
 
17094
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/meetings/cli/query-options.js
17094
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/meetings/cli/query-options.js
17095
17095
  var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
17096
17096
  command.allowUnknownOption();
17097
17097
  const parse = command.parseOptions.bind(command);
@@ -17111,7 +17111,7 @@ var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
17111
17111
  return command;
17112
17112
  }, "queryWordsAfterOptions");
17113
17113
 
17114
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/meetings/cli/passage.js
17114
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/meetings/cli/passage.js
17115
17115
  var count = /* @__PURE__ */ __name((value) => {
17116
17116
  if (!/^(0|[1-9]\d*)$/.test(value) || !Number.isSafeInteger(Number(value)))
17117
17117
  throw new CliError("validation_error", "expected a nonnegative safe integer");
@@ -17153,7 +17153,7 @@ var addMeetingPassageCommandDefinition = /* @__PURE__ */ __name((program, deps)
17153
17153
  var createMeetingPassageCommand = sharedCommand(createMeetingPassageCommandDefinition);
17154
17154
  var addMeetingPassageCommand = sharedCommand(addMeetingPassageCommandDefinition);
17155
17155
 
17156
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/meetings/cli/project-evidence.js
17156
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/meetings/cli/project-evidence.js
17157
17157
  var integer2 = /* @__PURE__ */ __name((value) => {
17158
17158
  if (!/^[1-9]\d*$/.test(value) || !Number.isSafeInteger(Number(value)))
17159
17159
  throw new CliError("validation_error", "expected a positive safe integer");
@@ -17176,7 +17176,7 @@ ${fieldsHelp(MEETING_PROJECT_EVIDENCE_QUERY)}`).option("--limit <n>", "hits in o
17176
17176
  }, "addMeetingProjectEvidenceCommandDefinition");
17177
17177
  var addMeetingProjectEvidenceCommand = sharedCommand(addMeetingProjectEvidenceCommandDefinition);
17178
17178
 
17179
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/meetings/cli/search.js
17179
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/meetings/cli/search.js
17180
17180
  var ZONED = /(?:Z|[+-]\d{2}:?\d{2})$/i;
17181
17181
  var moment = /* @__PURE__ */ __name((flag, end, readIn) => (value) => {
17182
17182
  const zone = timezoneOf();
@@ -17262,7 +17262,7 @@ var addMeetingSearchCommandDefinition = /* @__PURE__ */ __name((program, deps) =
17262
17262
  var createMeetingSearchCommand = sharedCommand(createMeetingSearchCommandDefinition);
17263
17263
  var addMeetingSearchCommand = sharedCommand(addMeetingSearchCommandDefinition);
17264
17264
 
17265
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/meetings/cli/index.js
17265
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/meetings/cli/index.js
17266
17266
  var integer4 = /* @__PURE__ */ __name((text2) => {
17267
17267
  if (!/^[1-9]\d*$/.test(text2) || !Number.isSafeInteger(Number(text2)))
17268
17268
  throw new InvalidArgumentError("expected a positive integer");
@@ -17341,14 +17341,15 @@ ${fieldsHelp(MEETING_QUERY, MEETING_QUERY_GUIDE)}`);
17341
17341
  offline: false,
17342
17342
  output: { entity: "meeting_ingestion" }
17343
17343
  }).description("bring the stored meetings up to date from the connected account")).option("--since-time <time>", "fetch meetings starting at or after this ISO 8601 date or time", date).option("--lookback-days <days>", "revisit recent occurrences for late transcripts (0\u201331)", lookbackDays, 0).action(async (opts, command) => {
17344
- if (!deps.source)
17344
+ const source = deps.source;
17345
+ if (!source)
17345
17346
  throw new MeetingError("configuration_error", "meeting source is unavailable");
17346
- print(await pull(deps.source, deps.store, {
17347
+ await deps.inRun(command, async () => print(await pull(source, deps.store, {
17347
17348
  accountId: deps.accountId,
17348
17349
  since: opts.sinceTime === void 0 ? void 0 : new Date(opts.sinceTime).toISOString(),
17349
17350
  now: deps.now?.(),
17350
17351
  lookbackMs: opts.lookbackDays * 864e5
17351
- }), command);
17352
+ }), command));
17352
17353
  });
17353
17354
  const importCommand = annotate(group.command("import"), {
17354
17355
  effects: LOCAL_WRITE,
@@ -17394,7 +17395,7 @@ ${fieldsHelp(EVENT_QUERY, MEETING_QUERY_GUIDE)}`);
17394
17395
  }, "addMeetingCommandsDefinition");
17395
17396
  var addMeetingCommands = sharedCommand(addMeetingCommandsDefinition);
17396
17397
 
17397
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/cli/list-query.js
17398
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/cli/list-query.js
17398
17399
  var LIST_QUERY_GUIDE = "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md";
17399
17400
  var QUERY_ARGUMENT = "field:value terms that narrow the list \u2014 the fields are below";
17400
17401
  var withQuery = /* @__PURE__ */ __name((command, registry) => {
@@ -17533,7 +17534,7 @@ var termField = /* @__PURE__ */ __name((name, type, example, more = {}) => nativ
17533
17534
  var queryHelp = /* @__PURE__ */ __name((registry) => `
17534
17535
  ${fieldsHelp(registry, LIST_QUERY_GUIDE)}`, "queryHelp");
17535
17536
 
17536
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/cli/paging.js
17537
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/cli/paging.js
17537
17538
  var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
17538
17539
  if (!/^\d+$/.test(value.trim()) || Number(value) < 1)
17539
17540
  throw new CliError("validation_error", `${flag} takes a whole number from 1 upwards, not "${value}"`);
@@ -17542,7 +17543,7 @@ var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
17542
17543
  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");
17543
17544
  var window = /* @__PURE__ */ __name(({ limit, page, all }) => all ? { offset: 0 } : { limit, offset: (page - 1) * limit }, "window");
17544
17545
 
17545
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/cli/messenger/chat-answers.js
17546
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/cli/messenger/chat-answers.js
17546
17547
  var defined = /* @__PURE__ */ __name((record2) => Object.fromEntries(Object.entries(record2).filter(([, value]) => value !== void 0)), "defined");
17547
17548
  var chatRef = /* @__PURE__ */ __name((account, chat) => formatReference({ type: "chat", provider: account.provider, account: account.account, chat }), "chatRef");
17548
17549
  var settingsOf = /* @__PURE__ */ __name((settings) => defined({
@@ -17804,7 +17805,7 @@ var sessionAnswer = /* @__PURE__ */ __name(({ current, client, device, location,
17804
17805
  ...createdAt === void 0 ? {} : { created_at: createdAt }
17805
17806
  }), "sessionAnswer");
17806
17807
 
17807
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/deps.js
17808
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/deps.js
17808
17809
  var accountStore = /* @__PURE__ */ __name(async (deps) => (await deps.store()).forAccount(await deps.account()), "accountStore");
17809
17810
  var crossAccount = /* @__PURE__ */ __name((deps, _reason) => deps.store(), "crossAccount");
17810
17811
  var NO_LOCAL_STORE = "this answer comes from the messenger, not from the local store";
@@ -17868,7 +17869,7 @@ var storedDeps = /* @__PURE__ */ __name((messenger, store, account, guard) => ({
17868
17869
  }), "storedDeps");
17869
17870
  var storeModeDeps = /* @__PURE__ */ __name((messenger, store, account, guard) => ({ ...storedDeps(messenger, store, account, guard), offline: false, reads: "store" }), "storeModeDeps");
17870
17871
 
17871
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/ports/messenger.js
17872
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/ports/messenger.js
17872
17873
  var throughWrapper = /* @__PURE__ */ __name((inner, handled, wrap = (_, call) => call) => new Proxy(handled, {
17873
17874
  get: /* @__PURE__ */ __name((own, key) => {
17874
17875
  if (key in own)
@@ -17885,12 +17886,12 @@ var capability = /* @__PURE__ */ __name((adapter, method, what) => {
17885
17886
  return found.bind(adapter);
17886
17887
  }, "capability");
17887
17888
 
17888
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/sends/send-id.js
17889
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/sends/send-id.js
17889
17890
  import { randomBytes } from "node:crypto";
17890
17891
  var newSendId = /* @__PURE__ */ __name(() => randomBytes(8).readBigInt64BE().toString(), "newSendId");
17891
17892
  var newOperationId = newSendId;
17892
17893
 
17893
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/questions.js
17894
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/questions.js
17894
17895
  var LINKS = /https?:\/\/\S+/g;
17895
17896
  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");
17896
17897
  var questions = /* @__PURE__ */ __name((messages, { answerers: answerers2, asker = "others" }) => {
@@ -17920,7 +17921,7 @@ var questions = /* @__PURE__ */ __name((messages, { answerers: answerers2, asker
17920
17921
  });
17921
17922
  }, "questions");
17922
17923
 
17923
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/task-categories.js
17924
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/task-categories.js
17924
17925
  var names = /* @__PURE__ */ __name((categories) => categories.map(({ name }) => name).join(", "), "names");
17925
17926
  var taskCategoryOf = /* @__PURE__ */ __name((categories = DEFAULT_TASK_CATEGORIES, flag = "--category") => (typed) => {
17926
17927
  const name = typed.trim().toLowerCase();
@@ -17977,7 +17978,7 @@ var categorize = /* @__PURE__ */ __name((text2, categories = DEFAULT_TASK_CATEGO
17977
17978
  return best.name;
17978
17979
  }, "categorize");
17979
17980
 
17980
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/task-rules.js
17981
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/task-rules.js
17981
17982
  var taskAccount = /* @__PURE__ */ __name(({ provider, account }) => `${provider}:${account}`, "taskAccount");
17982
17983
  var RULES_IN = {
17983
17984
  dialog: "all",
@@ -18183,7 +18184,7 @@ var applyTaskRulesToChats = /* @__PURE__ */ __name(async (store, account, chatId
18183
18184
  return passes;
18184
18185
  }, "applyTaskRulesToChats");
18185
18186
 
18186
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/moment.js
18187
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/moment.js
18187
18188
  var AGO = /^(\d+)(m|h|d)$/;
18188
18189
  var AGO_MS = { m: 6e4, h: 36e5, d: 864e5 };
18189
18190
  var DATE = /^\d{4}-\d{2}-\d{2}/;
@@ -18223,7 +18224,7 @@ var dateWindow = /* @__PURE__ */ __name(({ sinceTime, untilTime, zone, now = Dat
18223
18224
  };
18224
18225
  }, "dateWindow");
18225
18226
 
18226
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/patience.js
18227
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/patience.js
18227
18228
  import { setTimeout as sleep } from "node:timers/promises";
18228
18229
  var LONGEST_WAIT_MS = 5 * 60 * 1e3;
18229
18230
  var patiently = /* @__PURE__ */ __name(async (request, note2, stop) => {
@@ -18246,10 +18247,10 @@ var patiently = /* @__PURE__ */ __name(async (request, note2, stop) => {
18246
18247
  }
18247
18248
  }, "patiently");
18248
18249
 
18249
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/archive.js
18250
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/archive.js
18250
18251
  import { setTimeout as sleep2 } from "node:timers/promises";
18251
18252
 
18252
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/backfill-estimate.js
18253
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/backfill-estimate.js
18253
18254
  var REQUEST_MS = 400;
18254
18255
  var estimateBackfill = /* @__PURE__ */ __name(({ ranges, held, newest, page, maxPages, pauseMs }) => {
18255
18256
  const lowest = ranges[0];
@@ -18272,13 +18273,13 @@ var estimateBackfill = /* @__PURE__ */ __name(({ ranges, held, newest, page, max
18272
18273
  };
18273
18274
  }, "estimateBackfill");
18274
18275
 
18275
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/domain/recovery.js
18276
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/domain/recovery.js
18276
18277
  var withRecovery = /* @__PURE__ */ __name((error) => ({
18277
18278
  ...error,
18278
18279
  retryable: typeof error.retryable === "boolean" ? error.retryable : error.code === "rate_limited" || error.status === 429
18279
18280
  }), "withRecovery");
18280
18281
 
18281
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/batch.js
18282
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/batch.js
18282
18283
  var actionable = /* @__PURE__ */ __name((error) => {
18283
18284
  if (isCliFailure(error))
18284
18285
  return withRecovery({ code: error.code, message: error.message, ...error.details });
@@ -18361,7 +18362,7 @@ var mergeBatches = /* @__PURE__ */ __name((a, b) => {
18361
18362
  };
18362
18363
  }, "mergeBatches");
18363
18364
 
18364
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/domain/ref-arguments.js
18365
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/domain/ref-arguments.js
18365
18366
  var TAKES = {
18366
18367
  chat: "a chat: chat:<provider>/<account>/<chat>, its id or its title",
18367
18368
  message: "a message: msg:<provider>/<account>/<chat>/<message>, or a chat and the message's id"
@@ -18421,7 +18422,7 @@ var ensureAccount = /* @__PURE__ */ __name(async (reference, scope, profilesOn)
18421
18422
  throw wrongAccount(reference, scope, profiles);
18422
18423
  }, "ensureAccount");
18423
18424
 
18424
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/resolve.js
18425
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/resolve.js
18425
18426
  var isId = /* @__PURE__ */ __name((reference) => /^-?\d+$/.test(reference.trim()), "isId");
18426
18427
  var foldName = /* @__PURE__ */ __name((name) => name.normalize("NFC").replace(/[\uFE0E\uFE0F\u200D]/g, "").toLowerCase(), "foldName");
18427
18428
  var pickChat = /* @__PURE__ */ __name((reference, chats) => {
@@ -18466,7 +18467,7 @@ ${lines3}`, { candidates });
18466
18467
  }, "ambiguous");
18467
18468
  var isPresent = /* @__PURE__ */ __name((value) => value !== null && value !== void 0, "isPresent");
18468
18469
 
18469
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/message-resolution.js
18470
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/message-resolution.js
18470
18471
  var readChatId = /* @__PURE__ */ __name(async (deps, reference, store, account) => {
18471
18472
  if (deps.reads !== "store")
18472
18473
  return keptChatId(deps.messenger, reference, store, account);
@@ -18625,7 +18626,7 @@ var senderAmong = /* @__PURE__ */ __name(async (store, accounts, reference) => {
18625
18626
  }
18626
18627
  }, "senderAmong");
18627
18628
 
18628
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/images/context/index.js
18629
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/images/context/index.js
18629
18630
  var CONTEXT_MESSAGES = 3;
18630
18631
  var CONTEXT_MINUTES = 10;
18631
18632
  var MAX_CHARS = 1200;
@@ -18649,12 +18650,12 @@ var context = {
18649
18650
  }, "describe")
18650
18651
  };
18651
18652
 
18652
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/images/registry.js
18653
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/images/registry.js
18653
18654
  var BUILT_INS = [context];
18654
18655
  var providers = [...BUILT_INS];
18655
18656
  var registeredImageProviders = /* @__PURE__ */ __name(() => providers, "registeredImageProviders");
18656
18657
 
18657
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/conversations.js
18658
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/conversations.js
18658
18659
  var READ_PAGE = 5e3;
18659
18660
  var CHAIN = 50;
18660
18661
  var CONVERSATION_QUERY = {
@@ -18806,7 +18807,7 @@ var sized = /* @__PURE__ */ __name((size2) => {
18806
18807
  return size2;
18807
18808
  }, "sized");
18808
18809
 
18809
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/embeddings-maintenance.js
18810
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/embeddings-maintenance.js
18810
18811
  var REFRESH_BOUNDS = { maxChats: 20, maxChunks: 2e3 };
18811
18812
  var MESSAGE_PAGE = 5e3;
18812
18813
  var PER_SESSION = 8;
@@ -18825,7 +18826,7 @@ var embeddingTarget = /* @__PURE__ */ __name((deps, choice = DEFAULT_TEXT_MODEL)
18825
18826
  price: remote.price,
18826
18827
  installed: true,
18827
18828
  perBatch: PER_REQUEST * concurrency,
18828
- open: /* @__PURE__ */ __name(async () => (await import("./remote-34HUWSZI.js")).openRemote(remote, apiKey, { concurrency }), "open")
18829
+ open: /* @__PURE__ */ __name(async () => (await import("./remote-7Z3C3FOG.js")).openRemote(remote, apiKey, { concurrency }), "open")
18829
18830
  };
18830
18831
  }
18831
18832
  const model = textModel(choice);
@@ -18842,7 +18843,7 @@ var embeddingTarget = /* @__PURE__ */ __name((deps, choice = DEFAULT_TEXT_MODEL)
18842
18843
  if (!isTextModelInstalled(model, directory2))
18843
18844
  throw notDownloaded(model.id);
18844
18845
  if (apart) {
18845
- const { openProcess } = await import("./process-XD5ZIFIL.js");
18846
+ const { openProcess } = await import("./process-5EQF2SZN.js");
18846
18847
  return openProcess(model, directory2, { threads: threads ?? defaultThreads() });
18847
18848
  }
18848
18849
  return openEmbedder(model, directory2, { threads: threads ?? defaultThreads() });
@@ -19131,7 +19132,7 @@ var shaped = /* @__PURE__ */ __name(({ chatId, builtAt, algorithmVersion, pendin
19131
19132
  return { ...one, state };
19132
19133
  }, "shaped");
19133
19134
 
19134
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/search-catchup.js
19135
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/search-catchup.js
19135
19136
  var CATCH_UP_BOUNDS = { maxChunks: 500, maxMessages: 1e4, timeMs: 3e4 };
19136
19137
  var validateCatchUpBounds = /* @__PURE__ */ __name((options) => {
19137
19138
  for (const [key, value, maximum] of [
@@ -19184,7 +19185,7 @@ var catchUpSearch = /* @__PURE__ */ __name(async (deps, chat, options, signal, c
19184
19185
  }
19185
19186
  }, "catchUpSearch");
19186
19187
 
19187
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/archive.js
19188
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/archive.js
19188
19189
  var pushed = /* @__PURE__ */ __name((deps, what) => {
19189
19190
  if (deps.reads === "store") {
19190
19191
  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`);
@@ -19550,7 +19551,7 @@ var timeOfKey = /* @__PURE__ */ __name(async (store, account, chatId, key, byTim
19550
19551
  return message?.timestamp ?? fallback;
19551
19552
  }, "timeOfKey");
19552
19553
 
19553
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/botcheck/check.js
19554
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/botcheck/check.js
19554
19555
  var DAY_MS = 864e5;
19555
19556
  var NEW_DAYS = 30;
19556
19557
  var SAME_TEXT_MIN = 20;
@@ -19627,7 +19628,7 @@ var scorePerson = /* @__PURE__ */ __name(({ subject, provider, activity, photos,
19627
19628
  };
19628
19629
  }, "scorePerson");
19629
19630
 
19630
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/http/time-limit.js
19631
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/http/time-limit.js
19631
19632
  var timeLimit = /* @__PURE__ */ __name((ms) => {
19632
19633
  const controller = new AbortController();
19633
19634
  const timer = setTimeout(() => controller.abort(new DOMException("The operation timed out.", "TimeoutError")), ms);
@@ -19643,7 +19644,7 @@ var withTimeLimit = /* @__PURE__ */ __name(async (ms, run) => {
19643
19644
  }
19644
19645
  }, "withTimeLimit");
19645
19646
 
19646
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/botcheck/registries.js
19647
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/botcheck/registries.js
19647
19648
  var REGISTRIES = {
19648
19649
  cas: { title: "Combot Anti-Spam (CAS)", docs: "https://cas.chat/api" },
19649
19650
  lols: { title: "lols.bot", docs: "https://api.lols.bot/lols-bot.json" }
@@ -19730,7 +19731,7 @@ var notCovered = /* @__PURE__ */ __name((messenger, now = /* @__PURE__ */ new Da
19730
19731
  detail: `lists Telegram accounts only, not ${messenger} ones`
19731
19732
  })), "notCovered");
19732
19733
 
19733
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/botcheck/service.js
19734
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/botcheck/service.js
19734
19735
  var ACTIVITY_MESSAGES = 1e3;
19735
19736
  var botCheckService = /* @__PURE__ */ __name((deps) => {
19736
19737
  const subjectOf = /* @__PURE__ */ __name(async (reference) => {
@@ -19818,7 +19819,7 @@ var botCheckService = /* @__PURE__ */ __name((deps) => {
19818
19819
  };
19819
19820
  }, "botCheckService");
19820
19821
 
19821
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/domain/thread.js
19822
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/domain/thread.js
19822
19823
  var threadIdOf = /* @__PURE__ */ __name((value) => {
19823
19824
  if (value === void 0)
19824
19825
  return void 0;
@@ -19828,7 +19829,7 @@ var threadIdOf = /* @__PURE__ */ __name((value) => {
19828
19829
  return id2;
19829
19830
  }, "threadIdOf");
19830
19831
 
19831
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/chat-stats.js
19832
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/chat-stats.js
19832
19833
  var TOP_POSTS = 5;
19833
19834
  var JOINS = /* @__PURE__ */ new Set(["join", "add"]);
19834
19835
  var LEAVES = /* @__PURE__ */ new Set(["leave", "remove"]);
@@ -19945,7 +19946,7 @@ var median = /* @__PURE__ */ __name((values) => {
19945
19946
  return Math.round(sorted.length % 2 === 0 ? ((sorted[middle - 1] ?? upper) + upper) / 2 : upper);
19946
19947
  }, "median");
19947
19948
 
19948
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/member-history.js
19949
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/member-history.js
19949
19950
  var memberEvents = /* @__PURE__ */ __name((stays, revisions, since = 0) => {
19950
19951
  const events = [];
19951
19952
  for (const stay of stays) {
@@ -19977,7 +19978,7 @@ var memberEvents = /* @__PURE__ */ __name((stays, revisions, since = 0) => {
19977
19978
  return events.filter(({ at }) => Date.parse(at) >= since).sort((a, b) => Date.parse(a.at) - Date.parse(b.at) || a.id.localeCompare(b.id));
19978
19979
  }, "memberEvents");
19979
19980
 
19980
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/chats.js
19981
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/chats.js
19981
19982
  var EVENTS_DAYS = 7;
19982
19983
  var TRACKED_DAYS = 30;
19983
19984
  var STATS_PAGE = 1e3;
@@ -20272,7 +20273,7 @@ var storedMembers = /* @__PURE__ */ __name(async (store, chatId) => {
20272
20273
  return members.length === 0 ? null : members;
20273
20274
  }, "storedMembers");
20274
20275
 
20275
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/inbox.js
20276
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/inbox.js
20276
20277
  var INBOX_CHATS = 20;
20277
20278
  var REVIEW_DAYS = 3;
20278
20279
  var UNANSWERED_HOURS = 24;
@@ -20480,7 +20481,7 @@ var inboxService = /* @__PURE__ */ __name((deps) => {
20480
20481
  };
20481
20482
  }, "inboxService");
20482
20483
 
20483
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/person-context.js
20484
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/person-context.js
20484
20485
  var CONTEXT_MESSAGES2 = 10;
20485
20486
  var CONTEXT_BYTES = 64 * 1024;
20486
20487
  var toContext = /* @__PURE__ */ __name((key, message, chatTitle2) => ({
@@ -20741,10 +20742,10 @@ var personMessages = /* @__PURE__ */ __name(async (store, asked, reference, { ch
20741
20742
  };
20742
20743
  }, "personMessages");
20743
20744
 
20744
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/meeting-evidence.js
20745
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/meeting-evidence.js
20745
20746
  import { createHash } from "node:crypto";
20746
20747
 
20747
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/meeting-reference.js
20748
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/meeting-reference.js
20748
20749
  var missing2 = /* @__PURE__ */ __name(() => new CliError("not_found", "the meeting evidence is unavailable for this account"), "missing");
20749
20750
  var authorizedMeetingMetadata = /* @__PURE__ */ __name(async (store, accountId, reference, options = {}) => {
20750
20751
  const parsed = parseMeetingReference(reference);
@@ -20762,7 +20763,7 @@ var authorizedMeetingMetadata = /* @__PURE__ */ __name(async (store, accountId,
20762
20763
  return { parsed, meeting };
20763
20764
  }, "authorizedMeetingMetadata");
20764
20765
 
20765
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/meeting-evidence.js
20766
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/meeting-evidence.js
20766
20767
  var hash = /* @__PURE__ */ __name((value) => createHash("sha256").update(JSON.stringify(value)).digest("hex"), "hash");
20767
20768
  var checkMeetingCancelled = /* @__PURE__ */ __name((signal) => {
20768
20769
  if (signal?.aborted)
@@ -20961,7 +20962,7 @@ var readMeetingEvidence = /* @__PURE__ */ __name(async (store, accountId, refere
20961
20962
  return { ...packet, fingerprint: hash(packet) };
20962
20963
  }, "readMeetingEvidence");
20963
20964
 
20964
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/person-meeting-context.js
20965
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/person-meeting-context.js
20965
20966
  var personMeetingContext = /* @__PURE__ */ __name(async (store, personReference, options) => {
20966
20967
  const { meetings = 10, cues = 5, bytes: bytes2 = 64 * 1024, scanLimit = 1e3, since, signal } = options;
20967
20968
  const requestedAccounts = options.accountIds;
@@ -21060,7 +21061,7 @@ var personMeetingContext = /* @__PURE__ */ __name(async (store, personReference,
21060
21061
  };
21061
21062
  }, "personMeetingContext");
21062
21063
 
21063
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/person-preparation.js
21064
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/person-preparation.js
21064
21065
  var PREPARE_BYTES = 96 * 1024;
21065
21066
  var MEETINGS = 5;
21066
21067
  var CUES = 3;
@@ -21177,7 +21178,7 @@ var meetingsOf = /* @__PURE__ */ __name(async (store, uid, stored, since, left)
21177
21178
  }
21178
21179
  }, "meetingsOf");
21179
21180
 
21180
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/person-profile.js
21181
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/person-profile.js
21181
21182
  var personProfile = /* @__PURE__ */ __name(async (deps, person, known2) => {
21182
21183
  const online = deps.offline ? void 0 : await deps.connection();
21183
21184
  const held = await storeIfOpen(deps);
@@ -21247,7 +21248,7 @@ var quiet = /* @__PURE__ */ __name((facts) => facts.chats.map(({ id: id2, title,
21247
21248
  complete: false
21248
21249
  })), "quiet");
21249
21250
 
21250
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/person-timeline.js
21251
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/person-timeline.js
21251
21252
  var TIMELINE_ITEMS = 50;
21252
21253
  var TIMELINE_MAX = 500;
21253
21254
  var SCOPES = ["personal", "work"];
@@ -21302,7 +21303,7 @@ var personTimeline = /* @__PURE__ */ __name(async (store, asked, reference, { sc
21302
21303
  };
21303
21304
  }, "personTimeline");
21304
21305
 
21305
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/people.js
21306
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/people.js
21306
21307
  var peopleService = /* @__PURE__ */ __name((deps) => {
21307
21308
  const localCard = /* @__PURE__ */ __name(async (card, includeNotes = false) => {
21308
21309
  const held = await storeIfOpen(deps);
@@ -21529,10 +21530,10 @@ var withoutPhone = /* @__PURE__ */ __name((answer) => {
21529
21530
  return rest;
21530
21531
  }, "withoutPhone");
21531
21532
 
21532
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/snapshot.js
21533
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/snapshot.js
21533
21534
  var MAX_BYTES = 16 * 1024 * 1024;
21534
21535
 
21535
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/task-stats.js
21536
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/task-stats.js
21536
21537
  var TASK_STATS_BY = ["chat", "meeting", "project"];
21537
21538
  var PERIOD_FIELD = "created";
21538
21539
  var refuseNestedPeriod = /* @__PURE__ */ __name((node, top = true) => {
@@ -21635,7 +21636,7 @@ var meetingNames = /* @__PURE__ */ __name(async (store, groups) => {
21635
21636
  }));
21636
21637
  }, "meetingNames");
21637
21638
 
21638
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/task-tag-filters.js
21639
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/task-tag-filters.js
21639
21640
  var taskTagFilters = /* @__PURE__ */ __name(async (store, query) => {
21640
21641
  const tags = /* @__PURE__ */ new Map();
21641
21642
  for (const node of query ? walkQuery(query.root) : [])
@@ -21644,7 +21645,7 @@ var taskTagFilters = /* @__PURE__ */ __name(async (store, query) => {
21644
21645
  return tags;
21645
21646
  }, "taskTagFilters");
21646
21647
 
21647
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/tasks.js
21648
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/tasks.js
21648
21649
  var TASK_QUERY = {
21649
21650
  entity: "task",
21650
21651
  backend: "sql",
@@ -22136,7 +22137,7 @@ var taskView = /* @__PURE__ */ __name(async (store, account, task2) => {
22136
22137
  };
22137
22138
  }, "taskView");
22138
22139
 
22139
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/mail/owed.js
22140
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/mail/owed.js
22140
22141
  var mailTurn = /* @__PURE__ */ __name((newest) => {
22141
22142
  if (newest === null)
22142
22143
  return null;
@@ -22145,7 +22146,7 @@ var mailTurn = /* @__PURE__ */ __name((newest) => {
22145
22146
  return newest.addressed ? "owed" : null;
22146
22147
  }, "mailTurn");
22147
22148
 
22148
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/agenda-mail.js
22149
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/agenda-mail.js
22149
22150
  var absent = /* @__PURE__ */ __name((error) => {
22150
22151
  if (error instanceof CliError && error.code === "not_found")
22151
22152
  return void 0;
@@ -22203,7 +22204,7 @@ var mailActivity = /* @__PURE__ */ __name(async (store, account, since, chats) =
22203
22204
  };
22204
22205
  }, "mailActivity");
22205
22206
 
22206
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/chat-coverage.js
22207
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/chat-coverage.js
22207
22208
  var chatCoverage = /* @__PURE__ */ __name(async (store, account, chatIds) => {
22208
22209
  const ids = [...new Set(chatIds)];
22209
22210
  if (ids.length === 0)
@@ -22229,7 +22230,7 @@ var chatCoverage = /* @__PURE__ */ __name(async (store, account, chatIds) => {
22229
22230
  }));
22230
22231
  }, "chatCoverage");
22231
22232
 
22232
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/agenda.js
22233
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/agenda.js
22233
22234
  var DAY = 864e5;
22234
22235
  var AGENDA_DEFAULTS = { unanswered: DAY, waiting: 7 * DAY };
22235
22236
  var CLAIMS = ["none", "mine", "others", "any"];
@@ -22476,7 +22477,7 @@ var agendaItem = /* @__PURE__ */ __name((shown) => {
22476
22477
  };
22477
22478
  }, "agendaItem");
22478
22479
 
22479
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/context/evidence-response.js
22480
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/context/evidence-response.js
22480
22481
  var contextSourceKey = /* @__PURE__ */ __name((source) => JSON.stringify([source.kind, source.accountId, source.provider, source.account]), "contextSourceKey");
22481
22482
  var validateContextEvidencePage = /* @__PURE__ */ __name((page, request) => {
22482
22483
  const fail2 = /* @__PURE__ */ __name(() => {
@@ -22540,7 +22541,7 @@ var validateContextEvidencePage = /* @__PURE__ */ __name((page, request) => {
22540
22541
  }
22541
22542
  }, "validateContextEvidencePage");
22542
22543
 
22543
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/context/read-budget.js
22544
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/context/read-budget.js
22544
22545
  var contextReadBudget = /* @__PURE__ */ __name((limits = {}) => {
22545
22546
  if (!limits || typeof limits !== "object" || Array.isArray(limits))
22546
22547
  throw new CliError("validation_error", "limits needs a context read allowance");
@@ -22593,7 +22594,7 @@ var contextReadBudget = /* @__PURE__ */ __name((limits = {}) => {
22593
22594
  };
22594
22595
  }, "contextReadBudget");
22595
22596
 
22596
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/context-evidence.js
22597
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/context-evidence.js
22597
22598
  var createContextEvidenceReader = /* @__PURE__ */ __name((port, allowed, limits) => {
22598
22599
  if (!port || typeof port.read !== "function")
22599
22600
  throw new CliError("configuration_error", "context evidence reader is unavailable");
@@ -22637,7 +22638,7 @@ var createContextEvidenceReader = /* @__PURE__ */ __name((port, allowed, limits)
22637
22638
  };
22638
22639
  }, "createContextEvidenceReader");
22639
22640
 
22640
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/excerpt.js
22641
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/excerpt.js
22641
22642
  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");
22642
22643
  var excerpt = /* @__PURE__ */ __name((text2, query, size2 = 240, options = {}) => {
22643
22644
  const flat = text2.replace(/\s+/g, " ").trim();
@@ -22653,7 +22654,7 @@ var excerpt = /* @__PURE__ */ __name((text2, query, size2 = 240, options = {}) =
22653
22654
  }, "excerpt");
22654
22655
  var withExcerpt = /* @__PURE__ */ __name(({ matchedText, ...hit }, query) => ({ ...hit, excerpt: excerpt(matchedText ?? hit.text, query) }), "withExcerpt");
22655
22656
 
22656
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/project-purposes.js
22657
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/project-purposes.js
22657
22658
  var BUILT_IN_PURPOSES = ["work", "sales", "support", "other"];
22658
22659
  var DEFAULT_PURPOSES = ["work"];
22659
22660
  var LINK_PURPOSE = "work";
@@ -22683,7 +22684,7 @@ var purposeList = /* @__PURE__ */ __name((value, previous = []) => [
22683
22684
  ...value.split(",").map((one) => one.trim()).filter(Boolean)
22684
22685
  ], "purposeList");
22685
22686
 
22686
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/project-gathering-around.js
22687
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/project-gathering-around.js
22687
22688
  var storedMessageNeighbours = /* @__PURE__ */ __name((messages) => ({
22688
22689
  async around(ref, window3) {
22689
22690
  const at = parseLocator(ref);
@@ -22778,7 +22779,7 @@ var storedNeighbours = /* @__PURE__ */ __name((store) => {
22778
22779
  };
22779
22780
  }, "storedNeighbours");
22780
22781
 
22781
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/project-gathering-request.js
22782
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/project-gathering-request.js
22782
22783
  import { createHash as createHash2 } from "node:crypto";
22783
22784
  var DAY2 = 864e5;
22784
22785
  var MAX_TIME = 864e13;
@@ -23094,7 +23095,7 @@ var decodeCheckpoint = /* @__PURE__ */ __name((text2, plan) => {
23094
23095
  return value;
23095
23096
  }, "decodeCheckpoint");
23096
23097
 
23097
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/project-gathering.js
23098
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/project-gathering.js
23098
23099
  var terminal = /* @__PURE__ */ new Set(["done", "unavailable", "failed"]);
23099
23100
  var PAGE2 = 20;
23100
23101
  var PEOPLE = 20;
@@ -23498,7 +23499,7 @@ var peopleOf = /* @__PURE__ */ __name((items, senderOf) => {
23498
23499
  return [...byKey.values()].sort((a, b) => b.items - a.items || a.name.localeCompare(b.name));
23499
23500
  }, "peopleOf");
23500
23501
 
23501
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/meeting-project-candidate-matching.js
23502
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/meeting-project-candidate-matching.js
23502
23503
  var normalizedText = /* @__PURE__ */ __name((text2) => text2.normalize("NFKC").toLowerCase().replace(/\s+/gu, " "), "normalizedText");
23503
23504
  var termsOf = /* @__PURE__ */ __name((entry) => [
23504
23505
  { name: entry.name, kind: "canonical" },
@@ -23542,7 +23543,7 @@ var matchVocabularyTerms = /* @__PURE__ */ __name((catalog, texts) => {
23542
23543
  return result.sort((a, b) => Number(a.entry.id) - Number(b.entry.id));
23543
23544
  }, "matchVocabularyTerms");
23544
23545
 
23545
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/project-gathering-mentions.js
23546
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/project-gathering-mentions.js
23546
23547
  var KINDS = ["project", "tag", "topic"];
23547
23548
  var findEvidenceMentions = /* @__PURE__ */ __name(async (vocabulary, gathering, options = {}) => {
23548
23549
  if (typeof vocabulary?.vocabulary !== "function")
@@ -23597,7 +23598,7 @@ var findEvidenceMentions = /* @__PURE__ */ __name(async (vocabulary, gathering,
23597
23598
  };
23598
23599
  }, "findEvidenceMentions");
23599
23600
 
23600
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/stored-project-gathering.js
23601
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/stored-project-gathering.js
23601
23602
  var storedChatCount = /* @__PURE__ */ __name((store) => async (account, chatId, { since, until }) => {
23602
23603
  const window3 = { since: new Date(since).toISOString(), until: new Date(until - 1).toISOString() };
23603
23604
  const [messages, newest, oldest] = await Promise.all([
@@ -23903,18 +23904,18 @@ var purposeHintOf = /* @__PURE__ */ __name((linked, rows, of) => {
23903
23904
  return { chat: top.ref, relationship: link4.relationship, items, of };
23904
23905
  }, "purposeHintOf");
23905
23906
 
23906
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/media-archive.js
23907
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/media-archive.js
23907
23908
  import { setTimeout as sleep3 } from "node:timers/promises";
23908
23909
 
23909
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/media-archive-files.js
23910
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/media-archive-files.js
23910
23911
  import { lstat } from "node:fs/promises";
23911
23912
 
23912
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/persistence/native/recording-partial-store.js
23913
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/persistence/native/recording-partial-store.js
23913
23914
  import { createHash as createHash4, randomUUID as randomUUID2 } from "node:crypto";
23914
23915
  import { open as open2, rename as rename2, unlink as unlink2 } from "node:fs/promises";
23915
23916
  import { join as join2 } from "node:path";
23916
23917
 
23917
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/persistence/native/recording-partial-metadata.js
23918
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/persistence/native/recording-partial-metadata.js
23918
23919
  import { createHash as createHash3 } from "node:crypto";
23919
23920
  var metadataLimit = 16384;
23920
23921
  var partialIdentity = /* @__PURE__ */ __name((locator) => JSON.stringify([locator.provider, locator.account, locator.occurrenceId, locator.assetId]), "partialIdentity");
@@ -23974,7 +23975,7 @@ var readPartialMetadata = /* @__PURE__ */ __name(async (path, locator, maxBytes,
23974
23975
  }
23975
23976
  }, "readPartialMetadata");
23976
23977
 
23977
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/persistence/native/recording-partial-writer.js
23978
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/persistence/native/recording-partial-writer.js
23978
23979
  import { randomUUID } from "node:crypto";
23979
23980
  import { open, rename, unlink } from "node:fs/promises";
23980
23981
  import { join } from "node:path";
@@ -24066,7 +24067,7 @@ var partialWriter = /* @__PURE__ */ __name(async (input) => {
24066
24067
  };
24067
24068
  }, "partialWriter");
24068
24069
 
24069
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/persistence/native/recording-partial-store.js
24070
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/persistence/native/recording-partial-store.js
24070
24071
  var NativeRecordingPartialStore = class {
24071
24072
  static {
24072
24073
  __name(this, "NativeRecordingPartialStore");
@@ -24173,12 +24174,12 @@ var NativeRecordingPartialStore = class {
24173
24174
  }
24174
24175
  };
24175
24176
 
24176
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/persistence/native/recording-publication.js
24177
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/persistence/native/recording-publication.js
24177
24178
  import { createHash as createHash5 } from "node:crypto";
24178
24179
  import { link as link2 } from "node:fs/promises";
24179
24180
  import { basename, dirname, join as join4, resolve } from "node:path";
24180
24181
 
24181
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/persistence/native/recording-publication-files.js
24182
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/persistence/native/recording-publication-files.js
24182
24183
  import { unlink as unlink3 } from "node:fs/promises";
24183
24184
  var verifiedPublicationFile = /* @__PURE__ */ __name(async (path, expected2, signal, writable = false) => {
24184
24185
  signal?.throwIfAborted();
@@ -24213,7 +24214,7 @@ var commitPublication = /* @__PURE__ */ __name(async (root, partialPath, finalPa
24213
24214
  signal?.throwIfAborted();
24214
24215
  }, "commitPublication");
24215
24216
 
24216
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/persistence/native/recording-publication-journal.js
24217
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/persistence/native/recording-publication-journal.js
24217
24218
  import { randomUUID as randomUUID3 } from "node:crypto";
24218
24219
  import { open as open3, rename as rename3, unlink as unlink4 } from "node:fs/promises";
24219
24220
  import { join as join3 } from "node:path";
@@ -24286,7 +24287,7 @@ var writePublicationJournal = /* @__PURE__ */ __name(async (root, path, prefix,
24286
24287
  }
24287
24288
  }, "writePublicationJournal");
24288
24289
 
24289
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/persistence/native/recording-publication.js
24290
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/persistence/native/recording-publication.js
24290
24291
  var NativeRecordingPublication = class {
24291
24292
  static {
24292
24293
  __name(this, "NativeRecordingPublication");
@@ -24359,7 +24360,7 @@ var NativeRecordingPublication = class {
24359
24360
  }
24360
24361
  };
24361
24362
 
24362
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/media-archive-manifest.js
24363
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/media-archive-manifest.js
24363
24364
  import { createHash as createHash6 } from "node:crypto";
24364
24365
  import { readdir } from "node:fs/promises";
24365
24366
  import { isAbsolute, join as join5, resolve as resolve2 } from "node:path";
@@ -24446,7 +24447,7 @@ var commitMediaEntry = /* @__PURE__ */ __name((root, one, beforePublish) => writ
24446
24447
  beforePublish
24447
24448
  }), "commitMediaEntry");
24448
24449
 
24449
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/media-archive-files.js
24450
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/media-archive-files.js
24450
24451
  var validator = '"media-completed-v1"';
24451
24452
  var maximumFileBytes = 64 * 1024 * 1024 * 1024;
24452
24453
  var archiveMediaFile = /* @__PURE__ */ __name(async (root, identity, kind, file2, beforeWrite, signal, metadata = {}) => {
@@ -24547,7 +24548,7 @@ var archiveMediaFile = /* @__PURE__ */ __name(async (root, identity, kind, file2
24547
24548
  return entry;
24548
24549
  }, "archiveMediaFile");
24549
24550
 
24550
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/media-archive-locks.js
24551
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/media-archive-locks.js
24551
24552
  import { mkdir, realpath } from "node:fs/promises";
24552
24553
  import { join as join6, resolve as resolve3 } from "node:path";
24553
24554
  var archiveLocations = /* @__PURE__ */ __name(async (initial, signal) => {
@@ -24614,7 +24615,7 @@ var withMediaArchiveLocks = /* @__PURE__ */ __name(async (directory2, signal, ru
24614
24615
  throw new CliError("validation_error", "archive locations changed during locking; run the command again");
24615
24616
  }, "withMediaArchiveLocks");
24616
24617
 
24617
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/media-archive.js
24618
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/media-archive.js
24618
24619
  var validateMediaSince = /* @__PURE__ */ __name((value, flag = "--since-time") => {
24619
24620
  if (value === void 0)
24620
24621
  return void 0;
@@ -24767,7 +24768,7 @@ var archiveMedia = /* @__PURE__ */ __name(async (ports, options) => {
24767
24768
  }, { create: true });
24768
24769
  }, "archiveMedia");
24769
24770
 
24770
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/media-archive-move.js
24771
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/media-archive-move.js
24771
24772
  import { realpath as realpath2, unlink as unlink5 } from "node:fs/promises";
24772
24773
  import { basename as basename2, dirname as dirname2, join as join7, resolve as resolve4 } from "node:path";
24773
24774
  var canonicalDestination = /* @__PURE__ */ __name(async (directory2) => {
@@ -24920,7 +24921,7 @@ var moveMediaArchive = /* @__PURE__ */ __name(async (options) => {
24920
24921
  }, { additional: [target2], createAdditional: !options.dryRun });
24921
24922
  }, "moveMediaArchive");
24922
24923
 
24923
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/model-downloads.js
24924
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/model-downloads.js
24924
24925
  var bytesOf = /* @__PURE__ */ __name((model) => model.files.reduce((sum2, file2) => sum2 + file2.bytes, 0), "bytesOf");
24925
24926
  var nativeRuntime = /* @__PURE__ */ __name(async ({ env, progress = /* @__PURE__ */ __name(() => {
24926
24927
  }, "progress") }) => {
@@ -24943,7 +24944,7 @@ var downloadTextModel = /* @__PURE__ */ __name(async (id2, { env, progress = /*
24943
24944
  }
24944
24945
  await nativeRuntime({ env, progress });
24945
24946
  progress(`${model.id}: loading it once to check it works`);
24946
- const { openEmbedder: openEmbedder2 } = await import("./embed-JSQZL7JF.js");
24947
+ const { openEmbedder: openEmbedder2 } = await import("./embed-BPN3SCZ7.js");
24947
24948
  const embedder = await openEmbedder2(model, directory2);
24948
24949
  try {
24949
24950
  const [vector] = await embedder.embed(["check"], "query");
@@ -24964,7 +24965,7 @@ var downloadRerankModel = /* @__PURE__ */ __name(async (id2, { env, progress = /
24964
24965
  }
24965
24966
  await nativeRuntime({ env, progress });
24966
24967
  progress(`${model.id}: loading it once to check it works`);
24967
- const { openReranker } = await import("./rerank-ONBASQ5Z.js");
24968
+ const { openReranker } = await import("./rerank-RUFDP7NP.js");
24968
24969
  const reranker = await openReranker(model, directory2);
24969
24970
  try {
24970
24971
  await reranker.score("check", ["check"]);
@@ -24982,7 +24983,7 @@ var downloadImageModel = /* @__PURE__ */ __name(async (id2, { env, progress = /*
24982
24983
  await installFiles(placedImage(model, directory2), { progress });
24983
24984
  }
24984
24985
  progress(`${model.id}: loading it once to check it works`);
24985
- const { openPictureEmbedder } = await import("./embedder-7BHRCXWL.js");
24986
+ const { openPictureEmbedder } = await import("./embedder-NZAL7DVD.js");
24986
24987
  const embedder = await openPictureEmbedder(model, directory2);
24987
24988
  try {
24988
24989
  const vector = await embedder.embedQuery("check");
@@ -24994,7 +24995,7 @@ var downloadImageModel = /* @__PURE__ */ __name(async (id2, { env, progress = /*
24994
24995
  return { model, directory: directory2 };
24995
24996
  }, "downloadImageModel");
24996
24997
 
24997
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/domain/money-words.js
24998
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/domain/money-words.js
24998
24999
  var MONEY_REQUEST = "money-request";
24999
25000
  var MONEY_DONE = "money-done";
25000
25001
  var PROMISE = "promise";
@@ -25028,10 +25029,10 @@ var MONEY_WORDS = [
25028
25029
  }
25029
25030
  ];
25030
25031
 
25031
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/money-words.js
25032
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/money-words.js
25032
25033
  var moneyClassesOf = /* @__PURE__ */ __name((text2) => listsHit(text2, MONEY_WORDS), "moneyClassesOf");
25033
25034
 
25034
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/domain/status-words.js
25035
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/domain/status-words.js
25035
25036
  var words = /* @__PURE__ */ __name((forms) => new RegExp(`(?<![\\p{L}\\p{N}])(?:${forms.join("|")})(?![\\p{L}\\p{N}])`, "iu"), "words");
25036
25037
  var MONEY_DONE_FORMS = words([
25037
25038
  "\u043E\u043F\u043B\u0430\u0442\u0438\u043B[\u0430\u0438]?",
@@ -25071,7 +25072,7 @@ var PROMISE_FORMS = words([
25071
25072
  "estar\xE1 listo"
25072
25073
  ]);
25073
25074
 
25074
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/project-status/items.js
25075
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/project-status/items.js
25075
25076
  var EXCERPT_CHARS = 80;
25076
25077
  var excerpt2 = /* @__PURE__ */ __name((text2) => {
25077
25078
  const flat = text2.replace(/\s+/g, " ").trim();
@@ -25093,7 +25094,7 @@ var whoOf = /* @__PURE__ */ __name((message) => ({
25093
25094
  var fromOwner = /* @__PURE__ */ __name((message) => message.outgoing === true, "fromOwner");
25094
25095
  var day = /* @__PURE__ */ __name((at) => new Date(at).toISOString().slice(0, 10), "day");
25095
25096
 
25096
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/project-status/signals/amounts.js
25097
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/project-status/signals/amounts.js
25097
25098
  var MONEY = DEFAULT_TASK_CATEGORIES.filter((category) => category.name === "money");
25098
25099
  var verbOf = /* @__PURE__ */ __name((text2) => {
25099
25100
  if (MONEY_DONE_FORMS.test(text2))
@@ -25174,7 +25175,7 @@ var amounts = {
25174
25175
  attention: /* @__PURE__ */ __name((items) => items.flatMap((item2) => item2.chat !== null && item2.data.state === "asked" ? [{ chat: item2.chat, weight: 2, why: "money asked" }] : []), "attention")
25175
25176
  };
25176
25177
 
25177
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/project-status/signals/children.js
25178
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/project-status/signals/children.js
25178
25179
  var children = {
25179
25180
  id: "children",
25180
25181
  version: 1,
@@ -25203,7 +25204,7 @@ var children = {
25203
25204
  }, "read")
25204
25205
  };
25205
25206
 
25206
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/project-status/signals/coverage.js
25207
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/project-status/signals/coverage.js
25207
25208
  var coverage = {
25208
25209
  id: "coverage",
25209
25210
  version: 1,
@@ -25232,7 +25233,7 @@ var coverage = {
25232
25233
  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")
25233
25234
  };
25234
25235
 
25235
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/project-status/signals/payments.js
25236
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/project-status/signals/payments.js
25236
25237
  var holding = /* @__PURE__ */ __name((row) => row.review !== "rejected", "holding");
25237
25238
  var item = /* @__PURE__ */ __name((row, at, data) => ({
25238
25239
  signal: "payments",
@@ -25282,7 +25283,7 @@ var payments = {
25282
25283
  }, "read")
25283
25284
  };
25284
25285
 
25285
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/project-status/signals/promises.js
25286
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/project-status/signals/promises.js
25286
25287
  var PATTERNS_PER_CHAT = 3;
25287
25288
  var DAY3 = 864e5;
25288
25289
  var KINDS2 = /* @__PURE__ */ new Set(["promise", "request"]);
@@ -25371,7 +25372,7 @@ var promises = {
25371
25372
  }, "read")
25372
25373
  };
25373
25374
 
25374
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/project-status/signals/questions.js
25375
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/project-status/signals/questions.js
25375
25376
  var PER_SIDE = 5;
25376
25377
  var WEEK = 7 * 864e5;
25377
25378
  var NOBODY = /* @__PURE__ */ new Set();
@@ -25402,7 +25403,7 @@ var questions2 = {
25402
25403
  }, "attention")
25403
25404
  };
25404
25405
 
25405
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/project-status/signals/reply-next.js
25406
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/project-status/signals/reply-next.js
25406
25407
  var targetOf = /* @__PURE__ */ __name((message, chat, owners) => {
25407
25408
  const byId2 = /* @__PURE__ */ __name((id2) => chat.messages.find((one) => one.id === id2), "byId");
25408
25409
  const quoted = message.replyTo ?? (message.replyToId === void 0 ? void 0 : byId2(message.replyToId));
@@ -25470,7 +25471,7 @@ var replyNext = {
25470
25471
  attention: /* @__PURE__ */ __name((items) => items.flatMap((item2) => item2.chat !== null && item2.data.next === "owner" ? [{ chat: item2.chat, weight: 2, why: "your move" }] : []), "attention")
25471
25472
  };
25472
25473
 
25473
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/project-status/signals/topics.js
25474
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/project-status/signals/topics.js
25474
25475
  var escaped = /* @__PURE__ */ __name((text2) => text2.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), "escaped");
25475
25476
  var wholeWord = /* @__PURE__ */ __name((word) => new RegExp(`(?<![\\p{L}\\p{N}])${escaped(word)}(?![\\p{L}\\p{N}])`, "u"), "wholeWord");
25476
25477
  var matcherOf = /* @__PURE__ */ __name((query) => {
@@ -25516,7 +25517,7 @@ var topics = {
25516
25517
  }, "read")
25517
25518
  };
25518
25519
 
25519
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/project-status/signals/index.js
25520
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/project-status/signals/index.js
25520
25521
  var STATUS_SIGNALS = [
25521
25522
  replyNext,
25522
25523
  questions2,
@@ -25528,7 +25529,7 @@ var STATUS_SIGNALS = [
25528
25529
  children
25529
25530
  ];
25530
25531
 
25531
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/project-status/index.js
25532
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/project-status/index.js
25532
25533
  var DAY4 = 864e5;
25533
25534
  var STATUS_WINDOW = 300;
25534
25535
  var STATUS_CHATS = 16;
@@ -25717,7 +25718,7 @@ var projectStatus = /* @__PURE__ */ __name(async (store, input) => {
25717
25718
  };
25718
25719
  }, "projectStatus");
25719
25720
 
25720
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/account.js
25721
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/account.js
25721
25722
  var accountService = /* @__PURE__ */ __name((deps) => {
25722
25723
  const online = /* @__PURE__ */ __name(async (command) => {
25723
25724
  if (deps.offline)
@@ -25789,7 +25790,7 @@ var accountService = /* @__PURE__ */ __name((deps) => {
25789
25790
  };
25790
25791
  }, "accountService");
25791
25792
 
25792
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/domain/send-time.js
25793
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/domain/send-time.js
25793
25794
  var MINUTE = 6e4;
25794
25795
  var YEAR = 365 * 24 * 60 * MINUTE;
25795
25796
  var DELAY = /^(\d+)(m|h|d)$/;
@@ -25808,7 +25809,7 @@ var sendTime = /* @__PURE__ */ __name((value, now = Date.now(), flag = "--at-tim
25808
25809
  return new Date(at - at % MINUTE).toISOString();
25809
25810
  }, "sendTime");
25810
25811
 
25811
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/admin.js
25812
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/admin.js
25812
25813
  var recordMembership = /* @__PURE__ */ __name(async (deps, operationId, done2, change, fix, write2) => {
25813
25814
  try {
25814
25815
  const held = await accountStoreIfOpen(deps);
@@ -26055,7 +26056,7 @@ var linkLimits = /* @__PURE__ */ __name(({ approval, expires, maxUses }) => {
26055
26056
  return expires === void 0 ? void 0 : sendTime(expires, Date.now(), "--expire-time");
26056
26057
  }, "linkLimits");
26057
26058
 
26058
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/mail-search.js
26059
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/mail-search.js
26059
26060
  var THREADS_PAGE = 500;
26060
26061
  var threadsOf = /* @__PURE__ */ __name(async (store, key) => {
26061
26062
  const account = await store.accounts.storedAccount(key).catch(() => void 0);
@@ -26134,7 +26135,7 @@ var readMail = /* @__PURE__ */ __name(async (store, locator, { before: before2 =
26134
26135
  return thread.slice(Math.max(0, at - before2), at + after + 1).map((hit) => hit.id === message ? { ...hit, anchor: true } : hit);
26135
26136
  }, "readMail");
26136
26137
 
26137
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/search-kind.js
26138
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/search-kind.js
26138
26139
  var NO_MAIL = "no_mail";
26139
26140
  var MAIL = "email";
26140
26141
  var listContextOf = /* @__PURE__ */ __name(async (store, account, app, stored) => {
@@ -26181,7 +26182,7 @@ var accountsOfKind = /* @__PURE__ */ __name((kind, chosen, held, explicit, comma
26181
26182
  return chosenMail.map(({ provider, account }) => ({ provider, account }));
26182
26183
  }, "accountsOfKind");
26183
26184
 
26184
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/messages-search.js
26185
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/messages-search.js
26185
26186
  var MAIL_FIELDS = /* @__PURE__ */ new Set(["to", "cc", "bcc", "subject", "mailbox", "label", "is"]);
26186
26187
  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");
26187
26188
  var prepareLucene = /* @__PURE__ */ __name(async (store, account, request, messenger) => {
@@ -26529,7 +26530,7 @@ var statsLucene = /* @__PURE__ */ __name(async (store, account, request, messeng
26529
26530
  };
26530
26531
  }, "statsLucene");
26531
26532
 
26532
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/rankings-selection.js
26533
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/rankings-selection.js
26533
26534
  var RANKING_SELECTION_BYTES = 64 * 1024;
26534
26535
  var object = /* @__PURE__ */ __name((value) => value !== null && typeof value === "object" && !Array.isArray(value) ? value : void 0, "object");
26535
26536
  function invalid(message = "ranking selection is invalid \u2014 obtain a new drilldown from stats top") {
@@ -26698,7 +26699,7 @@ var readRankingSelection = /* @__PURE__ */ __name(async (store, input) => {
26698
26699
  };
26699
26700
  }, "readRankingSelection");
26700
26701
 
26701
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/search-record.js
26702
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/search-record.js
26702
26703
  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");
26703
26704
  var searchRecordOf = /* @__PURE__ */ __name((command, params) => ({
26704
26705
  command,
@@ -26708,7 +26709,7 @@ var searchRecordOf = /* @__PURE__ */ __name((command, params) => ({
26708
26709
  fieldsVersion: FIELD_VERSION
26709
26710
  }), "searchRecordOf");
26710
26711
 
26711
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/admin-statistics.js
26712
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/admin-statistics.js
26712
26713
  function invalid2(message) {
26713
26714
  throw new CliError("validation_error", message);
26714
26715
  }
@@ -27002,7 +27003,7 @@ var adminStatisticsService = /* @__PURE__ */ __name((deps) => ({
27002
27003
  }, "evidence")
27003
27004
  }), "adminStatisticsService");
27004
27005
 
27005
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/archive-gaps.js
27006
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/archive-gaps.js
27006
27007
  import { createHash as createHash7, randomUUID as randomUUID4 } from "node:crypto";
27007
27008
  var GAP_BOUNDS = { maxGaps: 5, limit: 500, timeMs: 3e4 };
27008
27009
  var validateRepair = /* @__PURE__ */ __name((messenger, options) => {
@@ -27139,16 +27140,16 @@ var gapsService = /* @__PURE__ */ __name((deps) => {
27139
27140
  return { plan, repair };
27140
27141
  }, "gapsService");
27141
27142
 
27142
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/attachments.js
27143
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/attachments.js
27143
27144
  import { createHash as createHash9 } from "node:crypto";
27144
27145
  import { constants as constants2, mkdirSync as mkdirSync2 } from "node:fs";
27145
27146
  import { lstat as lstat4, open as open6, readFile, stat as stat2 } from "node:fs/promises";
27146
27147
 
27147
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/attachments/directory.js
27148
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/attachments/directory.js
27148
27149
  import { lstat as lstat2, readdir as readdir2, realpath as realpath3 } from "node:fs/promises";
27149
27150
  import { basename as basename4, join as join8, relative as relative2, sep as sep2 } from "node:path";
27150
27151
 
27151
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/sends/upload.js
27152
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/sends/upload.js
27152
27153
  import { openAsBlob, realpathSync } from "node:fs";
27153
27154
  import { open as open4, stat } from "node:fs/promises";
27154
27155
  import { basename as basename3, dirname as dirname3, extname, isAbsolute as isAbsolute2, relative, resolve as resolve5, sep } from "node:path";
@@ -27350,7 +27351,7 @@ var readStickerFile = /* @__PURE__ */ __name(async (path, maxBytes, read2) => {
27350
27351
  return { name, source };
27351
27352
  }, "readStickerFile");
27352
27353
 
27353
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/attachments/directory.js
27354
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/attachments/directory.js
27354
27355
  var MAX_FILES = 1e4;
27355
27356
  var directoryPaths = /* @__PURE__ */ __name(async (store, chat, directory2, app, env) => {
27356
27357
  if (refusedPlace(directory2, app, env))
@@ -27419,15 +27420,15 @@ var directoryPaths = /* @__PURE__ */ __name(async (store, chat, directory2, app,
27419
27420
  return choices;
27420
27421
  }, "directoryPaths");
27421
27422
 
27422
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/attachments/documents.js
27423
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/attachments/documents.js
27423
27424
  import { posix } from "node:path";
27424
27425
 
27425
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/attachments/container.js
27426
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/attachments/container.js
27426
27427
  import { setImmediate as tick } from "node:timers/promises";
27427
27428
  import { crc32 } from "node:zlib";
27428
27429
  var import_xmldom = __toESM(require_lib(), 1);
27429
27430
 
27430
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/attachments/encoding.js
27431
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/attachments/encoding.js
27431
27432
  var import_chardet = __toESM(require_lib2(), 1);
27432
27433
  var import_iconv_lite = __toESM(require_lib3(), 1);
27433
27434
  var SAMPLE = 65536;
@@ -27529,7 +27530,7 @@ var decodeXml = /* @__PURE__ */ __name((bytes2) => {
27529
27530
  return result.text;
27530
27531
  }, "decodeXml");
27531
27532
 
27532
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/attachments/container.js
27533
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/attachments/container.js
27533
27534
  var MAX_PART = 10 * 1024 * 1024;
27534
27535
  var MAX_ENTRIES = 1e3;
27535
27536
  var decoder = new TextDecoder("utf-8", { fatal: true });
@@ -27744,7 +27745,7 @@ var elements = /* @__PURE__ */ __name((node, name, namespace) => {
27744
27745
  return found;
27745
27746
  }, "elements");
27746
27747
 
27747
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/attachments/sheets.js
27748
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/attachments/sheets.js
27748
27749
  var columnName = /* @__PURE__ */ __name((column) => {
27749
27750
  let name = "";
27750
27751
  for (let rest = column; rest > 0; rest = Math.floor((rest - 1) / 26))
@@ -27799,7 +27800,7 @@ var sheetText = /* @__PURE__ */ __name((sheets2, maxChars = MAX_TEXT_CHARS) => {
27799
27800
  return { text: parts.join("").trim(), truncated: false };
27800
27801
  }, "sheetText");
27801
27802
 
27802
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/attachments/documents.js
27803
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/attachments/documents.js
27803
27804
  var OFFICE = "urn:oasis:names:tc:opendocument:xmlns:office:1.0";
27804
27805
  var TEXT = "urn:oasis:names:tc:opendocument:xmlns:text:1.0";
27805
27806
  var TABLE = "urn:oasis:names:tc:opendocument:xmlns:table:1.0";
@@ -28199,10 +28200,10 @@ var readDocument = /* @__PURE__ */ __name(async (bytes2, kind, signal) => {
28199
28200
  }
28200
28201
  }, "readDocument");
28201
28202
 
28202
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/attachments/extract.js
28203
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/attachments/extract.js
28203
28204
  import { extname as extname3 } from "node:path";
28204
28205
 
28205
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/readers/engine.js
28206
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/readers/engine.js
28206
28207
  import { readFileSync } from "node:fs";
28207
28208
  import { dirname as dirname4, extname as extname2, join as join9 } from "node:path";
28208
28209
  import { fileURLToPath } from "node:url";
@@ -28263,7 +28264,7 @@ var derived = /* @__PURE__ */ __name((bytes2, extractor, read2) => {
28263
28264
  }
28264
28265
  }, "derived");
28265
28266
 
28266
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/readers/image/index.js
28267
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/readers/image/index.js
28267
28268
  var IMAGES = /* @__PURE__ */ new Set([".jpg", ".jpeg", ".png", ".webp", ".gif", ".heic", ".tif", ".tiff", ".bmp"]);
28268
28269
  var image2 = {
28269
28270
  id: "image",
@@ -28272,7 +28273,7 @@ var image2 = {
28272
28273
  read: /* @__PURE__ */ __name(async () => ({ status: "needs-agent" }), "read")
28273
28274
  };
28274
28275
 
28275
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/readers/doc/index.js
28276
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/readers/doc/index.js
28276
28277
  var OLE = "\xD0\xCF\xE0\xA1\xB1\xE1";
28277
28278
  var doc = {
28278
28279
  id: "doc",
@@ -28284,7 +28285,7 @@ var doc = {
28284
28285
  }), "read")
28285
28286
  };
28286
28287
 
28287
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/readers/docx/index.js
28288
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/readers/docx/index.js
28288
28289
  var DOCX = "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
28289
28290
  var docx = {
28290
28291
  id: "docx",
@@ -28297,7 +28298,7 @@ var docx = {
28297
28298
  }), "read")
28298
28299
  };
28299
28300
 
28300
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/attachments/markup.js
28301
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/attachments/markup.js
28301
28302
  var import_iconv_lite2 = __toESM(require_lib3(), 1);
28302
28303
  var RTF_SKIPPED = /* @__PURE__ */ new Set([
28303
28304
  "fonttbl",
@@ -28473,7 +28474,7 @@ var htmlText = /* @__PURE__ */ __name((source) => {
28473
28474
  }, "htmlText");
28474
28475
  var safeChar = /* @__PURE__ */ __name((code, fallback) => code > 0 && code <= 1114111 ? String.fromCodePoint(code) : fallback, "safeChar");
28475
28476
 
28476
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/readers/html/page.js
28477
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/readers/html/page.js
28477
28478
  var clean = /* @__PURE__ */ __name((value) => typeof value === "string" ? value.replace(/\s+/g, " ").trim() : "", "clean");
28478
28479
  var namesIn = /* @__PURE__ */ __name((value) => [value].flat().map((entry) => typeof entry === "string" ? clean(entry) : clean(entry?.name)).filter(Boolean).join(", "), "namesIn");
28479
28480
  var jsonLdNodes = /* @__PURE__ */ __name((document) => {
@@ -28529,7 +28530,7 @@ var markdownSections = /* @__PURE__ */ __name((text2) => {
28529
28530
  return found.map((section, index) => ({ ...section, end: found[index + 1]?.start ?? text2.length }));
28530
28531
  }, "markdownSections");
28531
28532
 
28532
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/readers/html/index.js
28533
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/readers/html/index.js
28533
28534
  var HTML = /* @__PURE__ */ new Set([".html", ".htm", ".xhtml"]);
28534
28535
  var first = /* @__PURE__ */ __name((...values) => values.find((value) => typeof value === "string" && value !== ""), "first");
28535
28536
  var loaded = /* @__PURE__ */ __name(async (load, name) => {
@@ -28600,7 +28601,7 @@ var html = {
28600
28601
  }, "read")
28601
28602
  };
28602
28603
 
28603
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/readers/office/index.js
28604
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/readers/office/index.js
28604
28605
  var office = {
28605
28606
  id: "office",
28606
28607
  version: documentExtractor("odt"),
@@ -28611,7 +28612,7 @@ var office = {
28611
28612
  }, "read")
28612
28613
  };
28613
28614
 
28614
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/readers/pdf/index.js
28615
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/readers/pdf/index.js
28615
28616
  var pdf = {
28616
28617
  id: "pdf",
28617
28618
  version: "unpdf",
@@ -28678,7 +28679,7 @@ var pdf = {
28678
28679
  }), "read")
28679
28680
  };
28680
28681
 
28681
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/readers/plain/index.js
28682
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/readers/plain/index.js
28682
28683
  var PLAIN = /* @__PURE__ */ new Set([".txt", ".md", ".markdown", ".csv", ".tsv", ".json", ".log"]);
28683
28684
  var isPlain = /* @__PURE__ */ __name((hint) => PLAIN.has(extensionOf(hint)) || hint.mime?.startsWith("text/") || hint.mime === "application/json", "isPlain");
28684
28685
  var readPlain = /* @__PURE__ */ __name((bytes2) => {
@@ -28698,7 +28699,7 @@ var plain = {
28698
28699
  read: /* @__PURE__ */ __name(async (bytes2) => readPlain(bytes2), "read")
28699
28700
  };
28700
28701
 
28701
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/readers/rtf/index.js
28702
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/readers/rtf/index.js
28702
28703
  var rtf = {
28703
28704
  id: "rtf",
28704
28705
  version: "v1",
@@ -28706,10 +28707,10 @@ var rtf = {
28706
28707
  read: /* @__PURE__ */ __name(async (bytes2) => derived(bytes2, "rtf:v1", rtfText), "read")
28707
28708
  };
28708
28709
 
28709
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/readers/sheets/index.js
28710
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/readers/sheets/index.js
28710
28711
  import { basename as basename5 } from "node:path";
28711
28712
 
28712
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/attachments/csv-spans.js
28713
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/attachments/csv-spans.js
28713
28714
  var delimitedSpans = /* @__PURE__ */ __name((text2, delimiter, maxCells = 1e4) => {
28714
28715
  const cells = [];
28715
28716
  let row = 1, column = 1, start = 0, quoted = false, truncated = false;
@@ -28747,7 +28748,7 @@ var delimitedSpans = /* @__PURE__ */ __name((text2, delimiter, maxCells = 1e4) =
28747
28748
  return { cells, truncated };
28748
28749
  }, "delimitedSpans");
28749
28750
 
28750
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/readers/sheets/index.js
28751
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/readers/sheets/index.js
28751
28752
  var DELIMITED = {
28752
28753
  ".csv": ",",
28753
28754
  ".tsv": " ",
@@ -28786,7 +28787,7 @@ var sheets = {
28786
28787
  }, "read")
28787
28788
  };
28788
28789
 
28789
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/readers/registry.js
28790
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/readers/registry.js
28790
28791
  var BUILT_INS2 = [office, pdf, docx, doc, rtf, html, sheets, plain, image2];
28791
28792
  var HEAD_BYTES = 1024;
28792
28793
  var readers = [...BUILT_INS2];
@@ -28796,7 +28797,7 @@ var readWithRegistry = /* @__PURE__ */ __name(async (bytes2, hint, context2) =>
28796
28797
  return reader ? reader.read(bytes2, hint, context2) : { status: "unsupported" };
28797
28798
  }, "readWithRegistry");
28798
28799
 
28799
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/attachments/extract.js
28800
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/attachments/extract.js
28800
28801
  var importEngine = /* @__PURE__ */ __name((name) => importFrom(new URL("attachments/extract.js", import.meta.resolve("@wirecat/cli-core")).href, name), "importEngine");
28801
28802
  var extensionOf2 = /* @__PURE__ */ __name(({ name, path }) => extname3(name ?? path).toLowerCase(), "extensionOf");
28802
28803
  var extractText = /* @__PURE__ */ __name(async (bytes2, hint, load, signal, env = process.env) => {
@@ -29875,7 +29876,7 @@ function imageSize(input) {
29875
29876
  }
29876
29877
  __name(imageSize, "imageSize");
29877
29878
 
29878
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/attachments/ocr.js
29879
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/attachments/ocr.js
29879
29880
  var MAX_PAGES = 20;
29880
29881
  var MAX_PIXELS = 2e7;
29881
29882
  var cancelled2 = /* @__PURE__ */ __name((signal) => {
@@ -30026,7 +30027,7 @@ var ocrPdf = /* @__PURE__ */ __name(async (bytes2, pipeline2, load, signal) => {
30026
30027
  }
30027
30028
  }, "ocrPdf");
30028
30029
 
30029
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/attachments/pdf-preview.js
30030
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/attachments/pdf-preview.js
30030
30031
  var pdfPreview = /* @__PURE__ */ __name(async (bytes2, page, signal, load = importEngine, env = process.env) => {
30031
30032
  const limits = pdfPreviewLimits(env);
30032
30033
  const cancelled4 = /* @__PURE__ */ __name(() => {
@@ -30103,7 +30104,7 @@ var pdfPreview = /* @__PURE__ */ __name(async (bytes2, page, signal, load = impo
30103
30104
  }
30104
30105
  }, "pdfPreview");
30105
30106
 
30106
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/attachments/transfer.js
30107
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/attachments/transfer.js
30107
30108
  import { createHash as createHash8 } from "node:crypto";
30108
30109
  import { constants } from "node:fs";
30109
30110
  import { lstat as lstat3, open as open5 } from "node:fs/promises";
@@ -30211,7 +30212,7 @@ var transferMime = /* @__PURE__ */ __name((head, hint, name = null) => {
30211
30212
  return hint !== null && /^[a-z0-9.+-]+\/[a-z0-9.+-]+$/i.test(hint) ? hint : "application/octet-stream";
30212
30213
  }, "transferMime");
30213
30214
 
30214
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/file-download.js
30215
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/file-download.js
30215
30216
  import { createWriteStream, mkdirSync } from "node:fs";
30216
30217
  import { link as link3, rm } from "node:fs/promises";
30217
30218
  import { join as join10, resolve as resolve6 } from "node:path";
@@ -30325,7 +30326,7 @@ var save = /* @__PURE__ */ __name(async (file2, directory2, fallbackName, { uniq
30325
30326
  }
30326
30327
  }, "save");
30327
30328
 
30328
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/attachments.js
30329
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/attachments.js
30329
30330
  var ATTACHMENT_QUERY = {
30330
30331
  entity: "attachment",
30331
30332
  backend: "sql",
@@ -30748,7 +30749,7 @@ var attachmentsService = /* @__PURE__ */ __name((deps) => ({
30748
30749
  }, "setText")
30749
30750
  }), "attachmentsService");
30750
30751
 
30751
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/chat-documents.js
30752
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/chat-documents.js
30752
30753
  var chatDocumentsService = /* @__PURE__ */ __name((deps) => ({
30753
30754
  list: /* @__PURE__ */ __name(async (chat, { limit, offset, ref }) => {
30754
30755
  const store = await accountStore(deps);
@@ -30778,7 +30779,7 @@ var chatDocumentsService = /* @__PURE__ */ __name((deps) => ({
30778
30779
  }, "list")
30779
30780
  }), "chatDocumentsService");
30780
30781
 
30781
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/retention.js
30782
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/retention.js
30782
30783
  var observationDuration = /* @__PURE__ */ __name((text2, flag) => {
30783
30784
  const match = /^(\d+(?:\.\d+)?)([smhdw])$/.exec(text2);
30784
30785
  const units2 = { s: 1e3, m: 6e4, h: 36e5, d: 864e5, w: 6048e5 };
@@ -30865,7 +30866,7 @@ var isRetentionSelection = /* @__PURE__ */ __name((selection) => {
30865
30866
  }
30866
30867
  }, "isRetentionSelection");
30867
30868
 
30868
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/counters.js
30869
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/counters.js
30869
30870
  var counterFields = /* @__PURE__ */ __name((text2 = "views,reactions,comments") => {
30870
30871
  const fields = text2.split(",").map((one) => one.trim());
30871
30872
  if (!fields.length || fields.some((one) => !COUNTER_FIELDS.includes(one)) || new Set(fields).size !== fields.length)
@@ -31072,7 +31073,7 @@ var countersService = /* @__PURE__ */ __name((deps) => {
31072
31073
  };
31073
31074
  }, "countersService");
31074
31075
 
31075
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/search-refresh.js
31076
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/search-refresh.js
31076
31077
  var SYNC_KEY = "messages.sync-first";
31077
31078
  var SYNC_BOUNDS = { maxChats: 5, timeMs: 3e4, maxMessages: 500 };
31078
31079
  var keyOf2 = /* @__PURE__ */ __name((chat) => JSON.stringify([chat.account.provider, chat.account.account, chat.chatId]), "keyOf");
@@ -31204,7 +31205,7 @@ var withRefresh = /* @__PURE__ */ __name((found, refreshed) => ({
31204
31205
  ...!refreshed || refreshed.complete ? {} : { coverage: { ...found.coverage, state: "stale" } }
31205
31206
  }), "withRefresh");
31206
31207
 
31207
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/embeddings-search.js
31208
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/embeddings-search.js
31208
31209
  var CANDIDATES = 50;
31209
31210
  var WORD_HITS = 200;
31210
31211
  var RRF_K = 60;
@@ -31479,13 +31480,13 @@ var meanOf = /* @__PURE__ */ __name((vectors) => {
31479
31480
  return mean2.map((value) => value / length);
31480
31481
  }, "meanOf");
31481
31482
 
31482
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/embeddings.js
31483
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/embeddings.js
31483
31484
  var embeddingsService = /* @__PURE__ */ __name((deps) => ({
31484
31485
  ...embeddingsMaintenance(deps),
31485
31486
  ...embeddingsSearch(deps)
31486
31487
  }), "embeddingsService");
31487
31488
 
31488
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/folders.js
31489
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/folders.js
31489
31490
  var foldersService = /* @__PURE__ */ __name((deps) => {
31490
31491
  const online = /* @__PURE__ */ __name(async (command) => {
31491
31492
  if (deps.offline)
@@ -31626,7 +31627,7 @@ var foldersService = /* @__PURE__ */ __name((deps) => {
31626
31627
  };
31627
31628
  }, "foldersService");
31628
31629
 
31629
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/mentions.js
31630
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/mentions.js
31630
31631
  var REVIEW_COUNT = 500;
31631
31632
  var mentionsService = /* @__PURE__ */ __name((deps) => {
31632
31633
  const located = /* @__PURE__ */ __name(async () => {
@@ -31705,7 +31706,7 @@ var mentionsService = /* @__PURE__ */ __name((deps) => {
31705
31706
  };
31706
31707
  }, "mentionsService");
31707
31708
 
31708
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/domain/formatting.js
31709
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/domain/formatting.js
31709
31710
  var invalid3 = /* @__PURE__ */ __name(() => new CliError("validation_error", "the messenger formatter returned invalid text spans"), "invalid");
31710
31711
  var validateFormattedText = /* @__PURE__ */ __name((formatted2) => {
31711
31712
  const { text: text2, spans } = formatted2;
@@ -31765,7 +31766,7 @@ var visibleFormattedText = /* @__PURE__ */ __name((formatted2) => {
31765
31766
  };
31766
31767
  }, "visibleFormattedText");
31767
31768
 
31768
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/domain/message-link.js
31769
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/domain/message-link.js
31769
31770
  var fileLinks = /* @__PURE__ */ __name((attachments) => hitFiles(attachments).map(({ position, kind, name }) => ({
31770
31771
  position,
31771
31772
  kind,
@@ -31814,7 +31815,7 @@ var validatePermalink = /* @__PURE__ */ __name((link4) => {
31814
31815
  return { url: link4.url, access: link4.access, reason: link4.reason };
31815
31816
  }, "validatePermalink");
31816
31817
 
31817
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/domain/pin-duration.js
31818
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/domain/pin-duration.js
31818
31819
  var spokenSeconds = /* @__PURE__ */ __name((seconds) => {
31819
31820
  if (seconds % 86400 === 0 && seconds > 86400)
31820
31821
  return `${seconds / 86400}d`;
@@ -31846,7 +31847,7 @@ var pinDurationOf = /* @__PURE__ */ __name((value, allowed, flag = "--expire-tim
31846
31847
  return seconds;
31847
31848
  }, "pinDurationOf");
31848
31849
 
31849
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/sends/send-as.js
31850
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/sends/send-as.js
31850
31851
  var sendAsCheck = /* @__PURE__ */ __name((connection, sendAs) => {
31851
31852
  if (sendAs === void 0) {
31852
31853
  const saved = connection.savedSender?.bind(connection);
@@ -31871,7 +31872,7 @@ var typedSendAs = /* @__PURE__ */ __name((typed) => {
31871
31872
  return sendAs;
31872
31873
  }, "typedSendAs");
31873
31874
 
31874
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/search/total.js
31875
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/search/total.js
31875
31876
  var TOTAL_CAP = 1e4;
31876
31877
  var totalOf = /* @__PURE__ */ __name((count4, shown, hasMore, exact = true) => {
31877
31878
  const least = shown + (hasMore ? 1 : 0);
@@ -31882,7 +31883,7 @@ var totalOf = /* @__PURE__ */ __name((count4, shown, hasMore, exact = true) => {
31882
31883
  return { value: count4, relation: exact ? "eq" : "gte" };
31883
31884
  }, "totalOf");
31884
31885
 
31885
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/search/lucene/meaning-parts.js
31886
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/search/lucene/meaning-parts.js
31886
31887
  var WORD_FIELDS = /* @__PURE__ */ new Set(["text", "exact"]);
31887
31888
  var fieldsOfQuery = /* @__PURE__ */ __name((root, everything) => {
31888
31889
  let narrows = false;
@@ -31911,7 +31912,7 @@ var meaningWords = /* @__PURE__ */ __name((root) => {
31911
31912
  return wanted(root).join(" ").trim();
31912
31913
  }, "meaningWords");
31913
31914
 
31914
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/search/question-plan.js
31915
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/search/question-plan.js
31915
31916
  var words2 = /* @__PURE__ */ __name((text2) => normalize(text2).match(/[\p{L}\p{N}]+/gu) ?? [], "words");
31916
31917
  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"));
31917
31918
  var questionWord = /\b(?:what|which|how|who|where|when|can|could|should)\b|(?:^|\s)(?:сколько|какой|какая|какие|какое|кто|кому|кем|где|когда|как|что|можно|может|могут|ли)(?:\s|$)/iu;
@@ -32043,7 +32044,7 @@ var questionLookup = /* @__PURE__ */ __name((text2) => {
32043
32044
  return terms.length ? anyOfTerms(terms, plan.scope) : void 0;
32044
32045
  }, "questionLookup");
32045
32046
 
32046
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/messages-combined.js
32047
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/messages-combined.js
32047
32048
  var COMBINED_DEFAULTS = { candidateDepth: 300, rrfK: 60, rerank: "all", chatCap: 0 };
32048
32049
  var tokensOf = /* @__PURE__ */ __name((text2) => normalize(text2).match(/[\p{L}\p{N}\p{Co}\p{M}]+/gu) ?? [], "tokensOf");
32049
32050
  var searchCombined = /* @__PURE__ */ __name(async (store, account, request, messenger = {}, options = COMBINED_DEFAULTS) => {
@@ -32236,7 +32237,7 @@ var signals = /* @__PURE__ */ __name((hit, terms, corrections, execution, mode,
32236
32237
  return mode === "coverage" ? coverage2 * 4 : mode === "proximity" ? proximity : mode === "phrase" ? phrase : coverage2 * 4 + proximity + phrase;
32237
32238
  }, "signals");
32238
32239
 
32239
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/messages-discovery.js
32240
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/messages-discovery.js
32240
32241
  var MEANING_DEPTH = 100;
32241
32242
  var RRF_K2 = 60;
32242
32243
  var RERANK_DEPTH = 50;
@@ -32561,7 +32562,7 @@ var mixedWithReranker = /* @__PURE__ */ __name((head, scores) => {
32561
32562
  })).sort((a, b) => b.mixed - a.mixed).map(({ hit }) => hit);
32562
32563
  }, "mixedWithReranker");
32563
32564
 
32564
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/thread-context.js
32565
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/thread-context.js
32565
32566
  var THREAD_BOUNDS = { maxHops: 8, maxMessages: 50, maxBytes: 65536, withinMs: 864e5 };
32566
32567
  var bytes = /* @__PURE__ */ __name((items, links) => Buffer.byteLength(JSON.stringify({ items, links }), "utf8"), "bytes");
32567
32568
  var threadBounds = /* @__PURE__ */ __name((options = {}) => {
@@ -32760,7 +32761,7 @@ var readThreadContext = /* @__PURE__ */ __name(async (store, account, chat, mess
32760
32761
  return result;
32761
32762
  }, "readThreadContext");
32762
32763
 
32763
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/messages-archive-search.js
32764
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/messages-archive-search.js
32764
32765
  var SEARCH_FILL_MS = 200;
32765
32766
  var statsStore = /* @__PURE__ */ __name(async (store, account, request, messenger = {}) => {
32766
32767
  const stop = Date.now() + SEARCH_FILL_MS;
@@ -32827,12 +32828,12 @@ var accountOf2 = /* @__PURE__ */ __name((hit) => {
32827
32828
  }, "accountOf");
32828
32829
  var keyOf3 = /* @__PURE__ */ __name(({ provider, account }) => `${provider}/${account}`, "keyOf");
32829
32830
 
32830
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/pictures.js
32831
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/pictures.js
32831
32832
  import { createHash as createHash10 } from "node:crypto";
32832
32833
  import { readFile as readFile2, stat as stat3 } from "node:fs/promises";
32833
32834
  import { setTimeout as sleep4 } from "node:timers/promises";
32834
32835
 
32835
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/domain/models.js
32836
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/domain/models.js
32836
32837
  var GROUP_SETTINGS = [
32837
32838
  "allCanPin",
32838
32839
  "onlyAdminsAdd",
@@ -32846,7 +32847,7 @@ var ADMIN_RIGHTS = ["read", "members", "admins", "info", "pin", "link", "post",
32846
32847
  var senderIsMe = /* @__PURE__ */ __name((message, account) => message.outgoing === true || message.senderId !== null && String(message.senderId) === account, "senderIsMe");
32847
32848
  var MEDIA_KINDS = ["photo", "video", "file", "audio", "link"];
32848
32849
 
32849
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/pictures.js
32850
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/pictures.js
32850
32851
  var PICTURE_MAX_BYTES = 25 * 1024 * 1024;
32851
32852
  var PICTURE_FLOOR = 0.25;
32852
32853
  var PAGE4 = 50;
@@ -32863,7 +32864,7 @@ var picturesService = /* @__PURE__ */ __name((deps) => {
32863
32864
  const directory2 = imageModelsDirectory(deps.env);
32864
32865
  if (!isImageModelInstalled(model2, directory2))
32865
32866
  throw new CliError("not_found", missingModel(model2.id), { reason: "model.not-downloaded", model: model2.id });
32866
- const { openPictureEmbedder } = await import("./embedder-7BHRCXWL.js");
32867
+ const { openPictureEmbedder } = await import("./embedder-NZAL7DVD.js");
32867
32868
  return openPictureEmbedder(model2, directory2);
32868
32869
  }, "open");
32869
32870
  const embedder = /* @__PURE__ */ __name(() => {
@@ -33060,7 +33061,7 @@ var withPictures = /* @__PURE__ */ __name((messages, pictures) => ({
33060
33061
  }, "search")
33061
33062
  }), "withPictures");
33062
33063
 
33063
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/messages-meaning.js
33064
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/messages-meaning.js
33064
33065
  var meaningLane = /* @__PURE__ */ __name((deps) => async (question, accounts, shared, within) => {
33065
33066
  const target2 = embeddingTarget(deps, DEFAULT_TEXT_MODEL);
33066
33067
  const skipped = /* @__PURE__ */ __name((reason, step) => ({
@@ -33128,7 +33129,7 @@ var meaningLane = /* @__PURE__ */ __name((deps) => async (question, accounts, sh
33128
33129
  }
33129
33130
  }, "meaningLane");
33130
33131
 
33131
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/messages-rerank.js
33132
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/messages-rerank.js
33132
33133
  var rerankLane = /* @__PURE__ */ __name((deps) => {
33133
33134
  const choice = deps.reranker ?? DEFAULT_RERANK_MODEL;
33134
33135
  if (choice === "off")
@@ -33140,9 +33141,9 @@ var rerankLane = /* @__PURE__ */ __name((deps) => {
33140
33141
  return { skipped: { reason: `${model.id} is not downloaded`, step: "models.download", model: model.id } };
33141
33142
  try {
33142
33143
  const warm = deps.embedders;
33143
- const reranker = warm ? await warm.reranker(`rerank:${model.id}`, async () => (await import("./process-XD5ZIFIL.js")).openRerankerProcess(model, directory2, {
33144
+ const reranker = warm ? await warm.reranker(`rerank:${model.id}`, async () => (await import("./process-5EQF2SZN.js")).openRerankerProcess(model, directory2, {
33144
33145
  threads: defaultThreads()
33145
- })) : await (await import("./rerank-ONBASQ5Z.js")).openReranker(model, directory2);
33146
+ })) : await (await import("./rerank-RUFDP7NP.js")).openReranker(model, directory2);
33146
33147
  return {
33147
33148
  model: model.id,
33148
33149
  score: /* @__PURE__ */ __name((question, passages) => reranker.score(plainWords(question), passages), "score"),
@@ -33162,17 +33163,17 @@ var rerankLane = /* @__PURE__ */ __name((deps) => {
33162
33163
  };
33163
33164
  }, "rerankLane");
33164
33165
 
33165
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/document-pictures.js
33166
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/document-pictures.js
33166
33167
  var openPictureEmbedderFor = /* @__PURE__ */ __name(async ({ env, command } = {}) => {
33167
33168
  const model = imageModel(DEFAULT_IMAGE_MODEL);
33168
33169
  const directory2 = imageModelsDirectory(env);
33169
33170
  if (!isImageModelInstalled(model, directory2))
33170
33171
  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 });
33171
- const { openPictureEmbedder } = await import("./embedder-7BHRCXWL.js");
33172
+ const { openPictureEmbedder } = await import("./embedder-NZAL7DVD.js");
33172
33173
  return openPictureEmbedder(model, directory2);
33173
33174
  }, "openPictureEmbedderFor");
33174
33175
 
33175
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/document-source.js
33176
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/document-source.js
33176
33177
  var documentSource = /* @__PURE__ */ __name((note2, accounts, profiles, file2) => {
33177
33178
  const metadata = note2.frontMatter;
33178
33179
  const account = accounts.find(({ id: id2 }) => String(id2) === note2.folderId);
@@ -33187,7 +33188,7 @@ var documentSource = /* @__PURE__ */ __name((note2, accounts, profiles, file2) =
33187
33188
  };
33188
33189
  }, "documentSource");
33189
33190
 
33190
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/notes-title-tier.js
33191
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/notes-title-tier.js
33191
33192
  var plainQueryWords = /* @__PURE__ */ __name((query) => {
33192
33193
  let root;
33193
33194
  try {
@@ -33214,7 +33215,7 @@ var titleTiers = /* @__PURE__ */ __name((hits, words3) => {
33214
33215
  return [...hits].sort((a, b) => rank(a) - rank(b));
33215
33216
  }, "titleTiers");
33216
33217
 
33217
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/notes-search.js
33218
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/notes-search.js
33218
33219
  var storeQuery = /* @__PURE__ */ __name(async (store, text2, { exact, timezone } = {}) => resolvedQuery(store, parsedQuery(text2, exact), timezone), "storeQuery");
33219
33220
  var parsedQuery = /* @__PURE__ */ __name((text2, exact) => validateFields(parseLucene(text2, { ...SEARCH_QUERY, defaultField: exact ? "exact" : "text" })).root, "parsedQuery");
33220
33221
  var resolvedQuery = /* @__PURE__ */ __name(async (store, root, timezone) => {
@@ -33631,7 +33632,7 @@ var searchNotesOf = /* @__PURE__ */ __name(async (store, account, text2, { accou
33631
33632
  };
33632
33633
  }, "searchNotesOf");
33633
33634
 
33634
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/events-search.js
33635
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/events-search.js
33635
33636
  var MAX_EVENTS_OFFSET = 1e3;
33636
33637
  var iso3 = /* @__PURE__ */ __name((at) => at === null ? null : new Date(at).toISOString(), "iso");
33637
33638
  var accountIdsOf = /* @__PURE__ */ __name(async (store, accounts) => {
@@ -33748,7 +33749,7 @@ var searchEvents = /* @__PURE__ */ __name(async (store, query, { limit = 20, off
33748
33749
  };
33749
33750
  }, "searchEvents");
33750
33751
 
33751
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/search-all.js
33752
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/search-all.js
33752
33753
  var RESOURCES_SEARCHED = ["messages", "mail", "notes", "events", "crm"];
33753
33754
  var skippable = /* @__PURE__ */ __name((error) => error instanceof CliError && (error.code === "validation_error" || error.code === "not_found"), "skippable");
33754
33755
  var filtersBeside = /* @__PURE__ */ __name((text2) => {
@@ -34009,7 +34010,7 @@ var oneList = /* @__PURE__ */ __name((lists, cosines) => {
34009
34010
  return [...place.values()].sort((a, b) => a.rank - b.rank || cosine(b.item.ref) - cosine(a.item.ref)).map(({ item: item2 }) => item2);
34010
34011
  }, "oneList");
34011
34012
 
34012
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/search-all-meetings.js
34013
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/search-all-meetings.js
34013
34014
  var RESOURCES_SEARCHED_WITH_MEETINGS = [...RESOURCES_SEARCHED, "meetings"];
34014
34015
  var whole2 = /* @__PURE__ */ __name((value, minimum, maximum, label) => {
34015
34016
  if (!Number.isSafeInteger(value) || value < minimum || value > maximum)
@@ -34263,7 +34264,7 @@ var searchAllOfSource = /* @__PURE__ */ __name(async (store, account, source, re
34263
34264
  return { ...found, skipped: [...skipped, ...empty2, ...unnamed, ...found.skipped] };
34264
34265
  }, "searchAllOfSource");
34265
34266
 
34266
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/server-search.js
34267
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/server-search.js
34267
34268
  var SERVER_SEARCH_KEY = "messages.server-search";
34268
34269
  var SERVER_BOUNDS = { timeMs: 5e3, perCall: 100, maxCalls: 3, textBytes: 262144 };
34269
34270
  var DEFAULT_BACKEND = "both";
@@ -34452,7 +34453,7 @@ var searchServer = /* @__PURE__ */ __name(async (deps, request) => {
34452
34453
  return { report, sources };
34453
34454
  }, "searchServer");
34454
34455
 
34455
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/messages.js
34456
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/messages.js
34456
34457
  var DELETE_AT_ONCE = 10;
34457
34458
  var filesOf = /* @__PURE__ */ __name(({ attachments }) => {
34458
34459
  const files = fileLinks(attachments);
@@ -34893,7 +34894,7 @@ var checkMediaOptions = /* @__PURE__ */ __name((messenger, asked, attachments) =
34893
34894
  throw new CliError("validation_error", `${MEDIA_FLAGS[first2]} needs a --photo or --file`);
34894
34895
  }, "checkMediaOptions");
34895
34896
 
34896
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/domain/channel-tags.js
34897
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/domain/channel-tags.js
34897
34898
  var CHANNEL_TAG_RULES_VERSION = "keywords-v1";
34898
34899
  var RULES = {
34899
34900
  ai: [/\b(ai|gpt|llm|machine learning|artificial intelligence)\b/iu, /нейросет|искусственн/iu],
@@ -34908,7 +34909,7 @@ var classifyChannel = /* @__PURE__ */ __name((metadata) => Object.entries(RULES)
34908
34909
  return fields.length ? [{ tag, score: fields.length / 3, fields }] : [];
34909
34910
  }), "classifyChannel");
34910
34911
 
34911
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/metadata.js
34912
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/metadata.js
34912
34913
  var metadataService = /* @__PURE__ */ __name((deps) => {
34913
34914
  const held = /* @__PURE__ */ __name(async (reference, { includeLeft = false } = {}) => {
34914
34915
  const store = await deps.store();
@@ -34994,7 +34995,7 @@ var metadataService = /* @__PURE__ */ __name((deps) => {
34994
34995
  };
34995
34996
  }, "metadataService");
34996
34997
 
34997
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/moderation/check.js
34998
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/moderation/check.js
34998
34999
  var INVITE = /max\.ru\/join\/|(t|telegram)\.me\/(\+|joinchat\/)|tg:\/\/join/i;
34999
35000
  var LINK2 = /https?:\/\/\S+/i;
35000
35001
  var STRENGTH = { report: 0, delete: 1, remove: 2 };
@@ -35182,7 +35183,7 @@ var nextPoint = /* @__PURE__ */ __name((rows, found) => {
35182
35183
  }, "nextPoint");
35183
35184
  var someUndone = /* @__PURE__ */ __name((rows) => rows.some(undone), "someUndone");
35184
35185
 
35185
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/moderation/rules.js
35186
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/moderation/rules.js
35186
35187
  import { existsSync, readFileSync as readFileSync2 } from "node:fs";
35187
35188
  import { join as join11 } from "node:path";
35188
35189
  var RULE_ACTIONS = ["report", "delete", "remove"];
@@ -35325,7 +35326,7 @@ var assign = /* @__PURE__ */ __name((rules, key, value) => {
35325
35326
  return { ...rules, [head]: { ...rules[head], [tail]: value } };
35326
35327
  }, "assign");
35327
35328
 
35328
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/moderation/run.js
35329
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/moderation/run.js
35329
35330
  var FIRST_LOOK_MS = 24 * 36e5;
35330
35331
  var moderateWith = /* @__PURE__ */ __name(async (run) => {
35331
35332
  const { chatId, title, rules, point, since, dryRun } = run;
@@ -35362,7 +35363,7 @@ var moderateWith = /* @__PURE__ */ __name(async (run) => {
35362
35363
  return { chatId, rows, notes };
35363
35364
  }, "moderateWith");
35364
35365
 
35365
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/moderation.js
35366
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/moderation.js
35366
35367
  var moderationService = /* @__PURE__ */ __name((deps) => {
35367
35368
  const file2 = /* @__PURE__ */ __name(() => new ModerationRules(moderationPathFor(deps.messenger.app, deps.profile ?? "default", deps.env ?? process.env)), "file");
35368
35369
  const group = /* @__PURE__ */ __name(async (chat) => {
@@ -35440,7 +35441,7 @@ var moderatorOf = /* @__PURE__ */ __name((adapter, deps) => ({
35440
35441
  }, "removePerson")
35441
35442
  }), "moderatorOf");
35442
35443
 
35443
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/private-people.js
35444
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/private-people.js
35444
35445
  var noteItem = /* @__PURE__ */ __name((provider, note2) => ({
35445
35446
  id: note2.id,
35446
35447
  contact: formatReference({ type: "contact", provider, id: note2.personId }),
@@ -35484,7 +35485,7 @@ var privatePeopleService = /* @__PURE__ */ __name((deps) => {
35484
35485
  };
35485
35486
  }, "privatePeopleService");
35486
35487
 
35487
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/rankings.js
35488
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/rankings.js
35488
35489
  var empty = /* @__PURE__ */ __name(() => ({
35489
35490
  total: 0,
35490
35491
  population: 0,
@@ -35740,7 +35741,7 @@ var rankingsService = /* @__PURE__ */ __name((deps) => ({
35740
35741
  }, "evidence")
35741
35742
  }), "rankingsService");
35742
35743
 
35743
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/reply-stats.js
35744
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/reply-stats.js
35744
35745
  var FIELDS = ["date", "chat", "kind"];
35745
35746
  var WAITING_TAIL = 100;
35746
35747
  var plainOnly = /* @__PURE__ */ __name((text2, command) => {
@@ -35867,7 +35868,7 @@ var replyStatsService = /* @__PURE__ */ __name((deps) => {
35867
35868
  };
35868
35869
  }, "replyStatsService");
35869
35870
 
35870
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/searches.js
35871
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/searches.js
35871
35872
  var savedSearchItem = /* @__PURE__ */ __name((one) => ({
35872
35873
  id: one.id,
35873
35874
  name: one.name,
@@ -35996,7 +35997,7 @@ var searchesService = /* @__PURE__ */ __name((deps) => {
35996
35997
  };
35997
35998
  }, "searchesService");
35998
35999
 
35999
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/tags.js
36000
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/tags.js
36000
36001
  var TAGGING_QUERY = {
36001
36002
  entity: "tagging",
36002
36003
  backend: "sql",
@@ -36080,7 +36081,7 @@ var tagsService = /* @__PURE__ */ __name((deps) => {
36080
36081
  };
36081
36082
  }, "tagsService");
36082
36083
 
36083
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/topics.js
36084
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/topics.js
36084
36085
  var actionOf = /* @__PURE__ */ __name(({ title, closed, pinned, hidden, icon }) => {
36085
36086
  const set = [closed, pinned, hidden].filter((one) => one !== void 0).length;
36086
36087
  if (title !== void 0 || icon !== void 0 || set !== 1)
@@ -36279,7 +36280,7 @@ var topicsService = /* @__PURE__ */ __name((deps) => {
36279
36280
  };
36280
36281
  }, "topicsService");
36281
36282
 
36282
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/evidence.js
36283
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/evidence.js
36283
36284
  import { createHash as createHash11, randomUUID as randomUUID5 } from "node:crypto";
36284
36285
  var hash2 = /* @__PURE__ */ __name((value) => createHash11("sha256").update(JSON.stringify(value)).digest("hex"), "hash");
36285
36286
  var positive = /* @__PURE__ */ __name((value, name, minimum = 1) => {
@@ -36353,7 +36354,7 @@ var prepareEvidencePacket = /* @__PURE__ */ __name(({ kind, source, page, limits
36353
36354
  return { ...content, id: randomUUID5(), fingerprint: hash2(content) };
36354
36355
  }, "prepareEvidencePacket");
36355
36356
 
36356
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/evidence-read.js
36357
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/evidence-read.js
36357
36358
  var readEvidencePacket = /* @__PURE__ */ __name(async (store, account, { chat, limit, before: before2 }, messenger = {}) => {
36358
36359
  if (!Number.isSafeInteger(limit) || limit < 1 || limit > 100)
36359
36360
  throw new CliError("validation_error", "evidence message limit must be an integer from 1 to 100");
@@ -36373,7 +36374,7 @@ var readEvidencePacket = /* @__PURE__ */ __name(async (store, account, { chat, l
36373
36374
  return { ...packet, nextBeforeId: older && last ? last.id : null };
36374
36375
  }, "readEvidencePacket");
36375
36376
 
36376
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/meeting-project-discovery.js
36377
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/meeting-project-discovery.js
36377
36378
  var scopeKeys = [
36378
36379
  "accountId",
36379
36380
  "meetingId",
@@ -36395,7 +36396,7 @@ var optionKeys = /* @__PURE__ */ new Set([
36395
36396
  "maxVocabularyReadBytes"
36396
36397
  ]);
36397
36398
 
36398
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/context/communication-selection.js
36399
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/context/communication-selection.js
36399
36400
  var communicationFields = {
36400
36401
  sources: pipe(array(strictObject({
36401
36402
  id: pipe(string(), regex(/^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$/)),
@@ -36427,7 +36428,7 @@ var communicationRequest = /* @__PURE__ */ __name((value, preparationAfter) => {
36427
36428
  return { ...input, after, before: before2 };
36428
36429
  }, "communicationRequest");
36429
36430
 
36430
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/meeting-preparation-validation.js
36431
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/meeting-preparation-validation.js
36431
36432
  var MEETING_PREPARATION_LIMITS = {
36432
36433
  meetings: { min: 1, max: 20, default: 5 },
36433
36434
  cues: { min: 1, max: 100, default: 10 },
@@ -36500,7 +36501,7 @@ var validateMeetingPreparationRequest = /* @__PURE__ */ __name((externalId, orig
36500
36501
  };
36501
36502
  }, "validateMeetingPreparationRequest");
36502
36503
 
36503
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/meeting-communications-selection.js
36504
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/meeting-communications-selection.js
36504
36505
  var validatePreparationCommunications = /* @__PURE__ */ __name((section, request, after) => {
36505
36506
  const fail2 = /* @__PURE__ */ __name(() => {
36506
36507
  throw new CliError("invalid_response", "Preparation communications returned another selection or invalid evidence");
@@ -36548,7 +36549,7 @@ var validatePreparationCommunications = /* @__PURE__ */ __name((section, request
36548
36549
  }
36549
36550
  }, "validatePreparationCommunications");
36550
36551
 
36551
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/package-upgrade.js
36552
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/package-upgrade.js
36552
36553
  var upgradePackage = /* @__PURE__ */ __name(async ({ current, command, packageName, check: check2 }, ports) => {
36553
36554
  const installer = ports.installer();
36554
36555
  const argv = updateCommand(installer, packageName);
@@ -36613,7 +36614,7 @@ var dayAfter = /* @__PURE__ */ __name((published) => {
36613
36614
  return Number.isNaN(time) ? null : new Date(time + 24 * 60 * 60 * 1e3).toISOString();
36614
36615
  }, "dayAfter");
36615
36616
 
36616
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/services/index.js
36617
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/services/index.js
36617
36618
  var servicesFor = /* @__PURE__ */ __name((deps) => {
36618
36619
  const pictures = picturesService(deps);
36619
36620
  const base = {
@@ -36650,7 +36651,7 @@ var servicesFor = /* @__PURE__ */ __name((deps) => {
36650
36651
  return deps.messenger.services ? { ...base, ...deps.messenger.services(base, deps) } : base;
36651
36652
  }, "servicesFor");
36652
36653
 
36653
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/background/relay.js
36654
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/background/relay.js
36654
36655
  import { createHash as createHash12 } from "node:crypto";
36655
36656
  import { chmodSync, lstatSync, mkdirSync as mkdirSync3, rmSync } from "node:fs";
36656
36657
  import { createConnection, createServer } from "node:net";
@@ -36871,7 +36872,7 @@ var relayCommand = /* @__PURE__ */ __name((path, request, options) => new Promis
36871
36872
  }, () => finish({ error: stopped() }));
36872
36873
  }), "relayCommand");
36873
36874
 
36874
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-relay.js
36875
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-relay.js
36875
36876
  var lentConnection = /* @__PURE__ */ __name((connection, watchers) => throughWrapper(connection, {
36876
36877
  close: /* @__PURE__ */ __name(async () => {
36877
36878
  }, "close"),