@wirecat/tg-cli 0.126.0 → 0.127.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/dist/bin/tg.js +2 -2
  2. package/dist/bundle/{adapter-BXU3AVB7.js → adapter-EZFS2UR6.js} +43 -43
  3. package/dist/bundle/{all-profiles-G5A6IROO.js → all-profiles-TNIUBQK6.js} +6 -6
  4. package/dist/bundle/{anthropic-SINVEVEM.js → anthropic-NGIS5LTL.js} +2 -2
  5. package/dist/bundle/{app-server-IHIQXPJF.js → app-server-RPU76G7D.js} +38 -38
  6. package/dist/bundle/{bot-api-LGAVVYRM.js → bot-api-QJ6U6BLG.js} +44 -44
  7. package/dist/bundle/{bot-history-5C35FGCD.js → bot-history-THULK2C6.js} +12 -12
  8. package/dist/bundle/{bun-2GK3YOP3.js → bun-QLSLLP27.js} +2 -2
  9. package/dist/bundle/{bun-sqlite-7DGADK3E.js → bun-sqlite-SH5245ZY.js} +3 -3
  10. package/dist/bundle/{chunk-4GR5YYGA.js → chunk-2R6ZSE3O.js} +2 -2
  11. package/dist/bundle/{chunk-F34EE5Y2.js → chunk-3CV5TBBR.js} +2 -2
  12. package/dist/bundle/{chunk-MP47TE77.js → chunk-3I3TGKVG.js} +3 -3
  13. package/dist/bundle/{chunk-JQ2RKLPU.js → chunk-3WI53AA4.js} +76 -76
  14. package/dist/bundle/{chunk-AYEQMXRE.js → chunk-45URY64S.js} +1 -1
  15. package/dist/bundle/{chunk-Y5DGB7GP.js → chunk-4CQ3PV3V.js} +7 -7
  16. package/dist/bundle/{chunk-N2JSMP4N.js → chunk-4FFKCC7Y.js} +12 -12
  17. package/dist/bundle/{chunk-G4RCT5RH.js → chunk-4MKRKW6V.js} +12 -12
  18. package/dist/bundle/{chunk-GI2ZUNOH.js → chunk-5AOFOJQA.js} +4 -4
  19. package/dist/bundle/{chunk-QOINWAQD.js → chunk-5FDYMMEQ.js} +2 -2
  20. package/dist/bundle/{chunk-P2GNIWGG.js → chunk-5KZKVKWU.js} +6 -6
  21. package/dist/bundle/{chunk-QMEPKUG3.js → chunk-5SN6KFPC.js} +50 -50
  22. package/dist/bundle/{chunk-QYLYMOXN.js → chunk-7GE6KMLB.js} +11 -11
  23. package/dist/bundle/{chunk-PJ6FZXUR.js → chunk-APSMQIA4.js} +2 -2
  24. package/dist/bundle/{chunk-HPFB4Y7P.js → chunk-BNM6KNUQ.js} +1 -1
  25. package/dist/bundle/{chunk-63DSHUNP.js → chunk-BWHVHPAQ.js} +5 -5
  26. package/dist/bundle/{chunk-XGBXRDJP.js → chunk-CXWAKV2O.js} +5 -5
  27. package/dist/bundle/{chunk-FYOHGIQP.js → chunk-DNNYE6PS.js} +13 -13
  28. package/dist/bundle/{chunk-QGLB4D7J.js → chunk-EGNQSWPH.js} +1 -1
  29. package/dist/bundle/{chunk-CK7DSGIK.js → chunk-ERUB3KU3.js} +322 -11
  30. package/dist/bundle/{chunk-OXB5P37M.js → chunk-FD44T7HC.js} +1 -1
  31. package/dist/bundle/{chunk-2LN6OJUB.js → chunk-FSDLSEZA.js} +1 -1
  32. package/dist/bundle/{chunk-SL4S5GFR.js → chunk-GHVRCLJI.js} +1 -1
  33. package/dist/bundle/{chunk-KSLZEXRF.js → chunk-H7GAFD4N.js} +1 -1
  34. package/dist/bundle/{chunk-JAKP5RWM.js → chunk-HPM47WO3.js} +1537 -923
  35. package/dist/bundle/{chunk-L5PYWQDA.js → chunk-IWJ5OLU6.js} +2 -2
  36. package/dist/bundle/{chunk-ACLUVZ4I.js → chunk-J6FHZXNS.js} +28 -28
  37. package/dist/bundle/{chunk-7UACPXDC.js → chunk-JF7D2Y4K.js} +941 -749
  38. package/dist/bundle/{chunk-W35POPPX.js → chunk-JFQZ6BWI.js} +16 -16
  39. package/dist/bundle/{chunk-K4DXGJK4.js → chunk-JWEKUAVZ.js} +10 -10
  40. package/dist/bundle/{chunk-AKUBJHE5.js → chunk-K4VO7S6Q.js} +1 -1
  41. package/dist/bundle/{chunk-GIY56MIB.js → chunk-LOG65WHO.js} +1 -1
  42. package/dist/bundle/{chunk-AA2NZAUT.js → chunk-MTU3UP5U.js} +1 -1
  43. package/dist/bundle/{chunk-G4VVBR6U.js → chunk-NBN5OYXH.js} +3 -3
  44. package/dist/bundle/{chunk-MA2XHO4O.js → chunk-P5NJECXX.js} +379 -294
  45. package/dist/bundle/{chunk-QCLMP635.js → chunk-QPVCFSVU.js} +5 -5
  46. package/dist/bundle/{chunk-GOGGRLS6.js → chunk-R52ZZZKZ.js} +13 -9
  47. package/dist/bundle/{chunk-RFDPU4NO.js → chunk-S3XUJPPL.js} +4 -4
  48. package/dist/bundle/{chunk-Y4724JRR.js → chunk-SN52ZGFN.js} +2 -2
  49. package/dist/bundle/{chunk-2F2UMQMB.js → chunk-TGKTIDYS.js} +153 -396
  50. package/dist/bundle/{chunk-AZ7DSHQO.js → chunk-UIQMBOXU.js} +1 -1
  51. package/dist/bundle/{chunk-UIFQEXVP.js → chunk-UW34Z7J3.js} +1 -1
  52. package/dist/bundle/{chunk-ZXCQF6XV.js → chunk-UY2TRFYN.js} +10 -10
  53. package/dist/bundle/{chunk-5GINYFD4.js → chunk-VMV5CMLH.js} +1 -1
  54. package/dist/bundle/{chunk-J2BUWK5U.js → chunk-X4ECHJNG.js} +2 -2
  55. package/dist/bundle/{chunk-5NLAGTWU.js → chunk-XUAVZ6YX.js} +7 -7
  56. package/dist/bundle/{chunk-W725T2V7.js → chunk-Y62I2T36.js} +1 -1
  57. package/dist/bundle/{chunk-NJ3FSKSU.js → chunk-Y65BQJOY.js} +2 -2
  58. package/dist/bundle/{chunk-W75SKUY4.js → chunk-Y7UA7HGL.js} +2 -2
  59. package/dist/bundle/{chunk-7FL2N6DM.js → chunk-YIPOWJPN.js} +1 -1
  60. package/dist/bundle/{chunk-DGGAYHLN.js → chunk-YZGIQY2R.js} +21 -21
  61. package/dist/bundle/{chunk-BSKYPHLB.js → chunk-ZIPUVOGT.js} +1 -1
  62. package/dist/bundle/{chunk-SXVB2CVR.js → chunk-ZSS3BH6Z.js} +2 -2
  63. package/dist/bundle/{command-contract-ZEYY3ZXK.js → command-contract-DY6Y4TES.js} +13 -13
  64. package/dist/bundle/{command-server-entry-UWY6PQIV.js → command-server-entry-UG2CLYXI.js} +20 -20
  65. package/dist/bundle/{decode-QGMFQ6XX.js → decode-3NEUZJ2N.js} +2 -2
  66. package/dist/bundle/{echarts-GHU3GEWV.js → echarts-CN6ZVAJZ.js} +2 -2
  67. package/dist/bundle/{embed-6DMEWQDO.js → embed-M4EHIKA5.js} +3 -3
  68. package/dist/bundle/{embedder-W2L7YZPW.js → embedder-K2XL2UB4.js} +6 -6
  69. package/dist/bundle/{entry-LPEXVFQC.js → entry-6M55YL2H.js} +6 -6
  70. package/dist/bundle/{first-run-3UJ6SJF5.js → first-run-TLJILIOF.js} +5 -5
  71. package/dist/bundle/{first-screen-VCSY5QH5.js → first-screen-WME7ILW2.js} +14 -14
  72. package/dist/bundle/{instructions-RUVAH2IS.js → instructions-QLC2AXAB.js} +1 -1
  73. package/dist/bundle/{node-RYSNHVBX.js → node-BAA3T4CH.js} +2 -2
  74. package/dist/bundle/{node-sqlite-J6ZL4LUY.js → node-sqlite-FNYVHQCO.js} +4 -4
  75. package/dist/bundle/{oauth-B2QNZNSC.js → oauth-32T5KL5E.js} +4 -4
  76. package/dist/bundle/{open-OMUP5P6V.js → open-4VQ6FUEI.js} +2 -2
  77. package/dist/bundle/{openai-BT4BP4VQ.js → openai-HDOKCN3Z.js} +12 -12
  78. package/dist/bundle/{process-HG3QDD54.js → process-GOUBIWKC.js} +1 -1
  79. package/dist/bundle/{program-P2VATMKJ.js → program-QFXJL2R5.js} +46 -46
  80. package/dist/bundle/{prompt-BTIHH3Z4.js → prompt-YYODWYFO.js} +2 -2
  81. package/dist/bundle/{recognize-CTSJXPIG.js → recognize-7ZULX5HL.js} +1 -1
  82. package/dist/bundle/{remote-2FIGCMKL.js → remote-TUG7M5Y5.js} +6 -6
  83. package/dist/bundle/{rerank-TI5SLEF4.js → rerank-D2EZWG66.js} +4 -4
  84. package/dist/bundle/{serve-IO3IM5C7.js → serve-MP3GA2XX.js} +6 -6
  85. package/dist/bundle/{server-WEPFFTYA.js → server-D277L3H3.js} +29 -29
  86. package/dist/bundle/server-GEP7QXGI.js +62 -0
  87. package/dist/bundle/{sqlite-runtime-CTEYXX7L.js → sqlite-runtime-XHZXEOLY.js} +3 -3
  88. package/dist/bundle/{state-GFHVDGHM.js → state-YI3W6HGO.js} +3 -3
  89. package/dist/bundle/{store-RCK6HT4F.js → store-C4RFPYPK.js} +9 -9
  90. package/dist/bundle/{store-Y5XC4LEM.js → store-CIZPJFWE.js} +15 -11
  91. package/dist/bundle/store-maintenance-command-JNDYWFD2.js +52 -0
  92. package/dist/bundle/tg.js +3 -3
  93. package/dist/version.d.ts +1 -1
  94. package/dist/version.js +1 -1
  95. package/package.json +2 -2
  96. package/dist/bundle/server-RIGXUTKZ.js +0 -62
  97. package/dist/bundle/store-maintenance-command-XH6VMCDU.js +0 -52
@@ -3,10 +3,10 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  isCliFailure,
5
5
  isStoreDamage
6
- } from "./chunk-PJ6FZXUR.js";
6
+ } from "./chunk-APSMQIA4.js";
7
7
  import {
8
8
  refuseOwnerStoreInTests
9
- } from "./chunk-W725T2V7.js";
9
+ } from "./chunk-Y62I2T36.js";
10
10
  import {
11
11
  createRecordLog,
12
12
  resolvePaths,
@@ -57,17 +57,17 @@ import {
57
57
  __name
58
58
  } from "./chunk-ZVVMGPBJ.js";
59
59
 
60
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/runs/scope.js
60
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/runs/scope.js
61
61
  import { AsyncLocalStorage } from "node:async_hooks";
62
62
  import { randomBytes } from "node:crypto";
63
63
 
64
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/runs/run.js
64
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/runs/run.js
65
65
  import { randomUUID } from "node:crypto";
66
66
  import { appendFileSync, mkdirSync, readdirSync, readFileSync, rmSync, statSync, writeFileSync } from "node:fs";
67
67
  import { userInfo } from "node:os";
68
68
  import { join, sep } from "node:path";
69
69
 
70
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
70
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
71
71
  var snake = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
72
72
  var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
73
73
  var renamed = /* @__PURE__ */ __name((record2, name) => Object.fromEntries(Object.entries(record2).map(([key, value]) => [name(key), value])), "renamed");
@@ -80,7 +80,7 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
80
80
  error: /* @__PURE__ */ __name((event2, message) => logger.error(logAttributes(event2), message), "error")
81
81
  }), "snakeLogger");
82
82
 
83
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
83
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
84
84
  var diagnostic = {
85
85
  event: true,
86
86
  operation: true,
@@ -154,7 +154,7 @@ var LOG_ATTRIBUTES = [
154
154
  ...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
155
155
  ].sort();
156
156
 
157
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/runs/run.js
157
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/runs/run.js
158
158
  var KEEP_RUNS_FOR_DAYS = 30;
159
159
  var KEEP_SUCCESSFUL_RUNS_FOR_DAYS = 7;
160
160
  var KEEP_STORE_RUNS_FOR_DAYS = 3;
@@ -521,7 +521,7 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
521
521
  };
522
522
  }, "metadataOf");
523
523
 
524
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/runs/scope.js
524
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/runs/scope.js
525
525
  var scopes = new AsyncLocalStorage();
526
526
  var processScope;
527
527
  var ownProcesses = new AsyncLocalStorage();
@@ -572,7 +572,7 @@ var attempts = new AsyncLocalStorage();
572
572
  var withAttempt = /* @__PURE__ */ __name((attempt, work) => attempts.run(attempt, work), "withAttempt");
573
573
  var currentAttempt = /* @__PURE__ */ __name(() => attempts.getStore(), "currentAttempt");
574
574
 
575
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/meetings/payment.js
575
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/payment.js
576
576
  var FACT_TYPES = ["fact", "statement", "question", "decision", "promise"];
577
577
  var PAYMENT_DIRECTIONS = ["to_us", "from_us"];
578
578
  var PAYMENT_STATES = ["expected", "paid", "cancelled"];
@@ -1481,7 +1481,7 @@ var QUERY_REASONS = defineReasons([
1481
1481
  details: [...SPAN, ...details]
1482
1482
  })));
1483
1483
 
1484
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/meetings/reference.js
1484
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/reference.js
1485
1485
  var invalid2 = /* @__PURE__ */ __name(() => new CliError("validation_error", "expected meeting:<accountId>/<meetingId>[/<transcriptId>[/<cuePosition>]] with safe integer IDs"), "invalid");
1486
1486
  var integer2 = /* @__PURE__ */ __name((value, minimum = 1) => {
1487
1487
  if (!Number.isSafeInteger(value) || value < minimum)
@@ -1518,7 +1518,7 @@ var parseMeetingReference = /* @__PURE__ */ __name((text6) => {
1518
1518
  }, "parseMeetingReference");
1519
1519
  var canonicalMeetingReference = /* @__PURE__ */ __name((text6) => formatMeetingReference(parseMeetingReference(text6)), "canonicalMeetingReference");
1520
1520
 
1521
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/meetings/item.js
1521
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/item.js
1522
1522
  var text = string();
1523
1523
  var count = pipe(number(), integer(), minValue(0));
1524
1524
  var MEETING_ISSUES = ["time_without_zone"];
@@ -1583,11 +1583,11 @@ var MEETING_QUERY = {
1583
1583
  })
1584
1584
  };
1585
1585
 
1586
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/meetings/store.js
1586
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/store.js
1587
1587
  var MEETING_DOCUMENT_ROLES = ["transcript", "recording", "notes"];
1588
1588
  var READ_BUDGET_EXCEEDED = "Meeting search exceeds its stored text byte budget";
1589
1589
 
1590
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/meetings/answers.js
1590
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/answers.js
1591
1591
  var text2 = string();
1592
1592
  var count2 = pipe(number(), integer(), minValue(0));
1593
1593
  var iso2 = /* @__PURE__ */ __name((ms) => ms === null ? null : new Date(ms).toISOString(), "iso");
@@ -1841,7 +1841,7 @@ var meetingHitsList = /* @__PURE__ */ __name((found, limit, command = "search me
1841
1841
  };
1842
1842
  }, "meetingHitsList");
1843
1843
 
1844
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/meetings/join-key.js
1844
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/join-key.js
1845
1845
  var joinKeyOf = /* @__PURE__ */ __name((url) => {
1846
1846
  const parsed = urlOf(url);
1847
1847
  if (!parsed)
@@ -1875,7 +1875,7 @@ var urlOf = /* @__PURE__ */ __name((url) => {
1875
1875
  }
1876
1876
  }, "urlOf");
1877
1877
 
1878
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/meetings/calendar-text.js
1878
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/calendar-text.js
1879
1879
  var ENTITIES = { amp: "&", lt: "<", gt: ">", quot: '"', "#39": "'", apos: "'", nbsp: " " };
1880
1880
  var SECRET_LINE = /(?<![\p{L}\p{N}])(pass ?codes?|passwords?|pwd|pins?|access ?codes?|meeting ?codes?|kennwort|пароль|пин-?код|код доступа)(?![\p{L}\p{N}])|pwd=/iu;
1881
1881
  var htmlToText = /* @__PURE__ */ __name((html) => html.replace(/<\s*br\s*\/?>/giu, "\n").replace(/<\/\s*(p|div|li|tr|h[1-6])\s*>/giu, "\n").replace(/<a\s[^>]*href\s*=\s*"([^"]*)"[^>]*>/giu, " $1 ").replace(/<[^>]+>/gu, "").replace(/&(amp|lt|gt|quot|#39|apos|nbsp);/gu, (_, name) => ENTITIES[name] ?? ""), "htmlToText");
@@ -1912,7 +1912,7 @@ var entryMetadata = /* @__PURE__ */ __name((metadata) => {
1912
1912
  return kept;
1913
1913
  }, "entryMetadata");
1914
1914
 
1915
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/meetings/cue-fingerprint.js
1915
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/cue-fingerprint.js
1916
1916
  import { createHash } from "node:crypto";
1917
1917
  var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256").update(JSON.stringify({
1918
1918
  reference: cue2.reference,
@@ -1926,7 +1926,7 @@ var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256"
1926
1926
  text: cue2.text
1927
1927
  })).digest("hex"), "meetingCueFingerprint");
1928
1928
 
1929
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/meetings/event-query.js
1929
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/event-query.js
1930
1930
  var EVENT_QUERY = defineQuery({
1931
1931
  entity: "event",
1932
1932
  backend: "sql",
@@ -1942,7 +1942,7 @@ var EVENT_QUERY = defineQuery({
1942
1942
  ]
1943
1943
  });
1944
1944
 
1945
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/meetings/event-store.js
1945
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/event-store.js
1946
1946
  var UNTIL = /(?:^|;)UNTIL=(\d{4})(\d{2})(\d{2})(?:T(\d{2})(\d{2})(\d{2})Z?)?(?:;|$)/iu;
1947
1947
  var seriesEnd = /* @__PURE__ */ __name((entry) => {
1948
1948
  if (entry.recurrenceEndsAt !== null)
@@ -1965,7 +1965,7 @@ var entryInWindow = /* @__PURE__ */ __name((entry, window) => {
1965
1965
  return Math.max(entry.endsAt ?? start, start + 1) > window.from;
1966
1966
  }, "entryInWindow");
1967
1967
 
1968
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/meetings/events.js
1968
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/events.js
1969
1969
  var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now(), { create = true } = {}) => {
1970
1970
  const current = await store.meeting(details.meeting.id);
1971
1971
  if (!current)
@@ -2010,7 +2010,7 @@ var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now(),
2010
2010
  return (await store.events()).find((e) => e.id === linked?.meeting.eventId) ?? null;
2011
2011
  }, "linkEvent");
2012
2012
 
2013
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/meetings/participant-search.js
2013
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/participant-search.js
2014
2014
  var normalizeMeetingParticipantQuery = /* @__PURE__ */ __name((text6) => text6.normalize("NFKC").toLowerCase(), "normalizeMeetingParticipantQuery");
2015
2015
  var validateMeetingParticipantQuery = /* @__PURE__ */ __name((query) => {
2016
2016
  if (typeof query !== "string" || !query.trim() || query.length > 500 || query.includes("\0"))
@@ -2034,7 +2034,7 @@ var validateMeetingParticipantSearch = /* @__PURE__ */ __name((query, input) =>
2034
2034
  };
2035
2035
  }, "validateMeetingParticipantSearch");
2036
2036
 
2037
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/meetings/reads.js
2037
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/reads.js
2038
2038
  var MeetingError = class extends CliError {
2039
2039
  static {
2040
2040
  __name(this, "MeetingError");
@@ -2166,7 +2166,7 @@ var meetingSummaryAnswer = /* @__PURE__ */ __name(async (store, id4, accountId)
2166
2166
  return wholeList(details.summaries.map((one) => meetingSummaryItem(details.meeting.accountId, one)));
2167
2167
  }, "meetingSummaryAnswer");
2168
2168
 
2169
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/meetings/export.js
2169
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/export.js
2170
2170
  var timestamp = /* @__PURE__ */ __name((milliseconds) => {
2171
2171
  if (!Number.isSafeInteger(milliseconds) || milliseconds < 0)
2172
2172
  throw new MeetingError("validation_error", "transcript times must be nonnegative integer milliseconds");
@@ -2262,10 +2262,10 @@ var exportMeeting = /* @__PURE__ */ __name(async (store, id4, options) => {
2262
2262
  };
2263
2263
  }, "exportMeeting");
2264
2264
 
2265
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
2265
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
2266
2266
  import { createHash as createHash2 } from "node:crypto";
2267
2267
 
2268
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/meetings/timestamp.js
2268
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/timestamp.js
2269
2269
  var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
2270
2270
  if (typeof value !== "string" || !/^\d{4}-\d{2}-\d{2}T.+(?:Z|[+-]\d{2}:\d{2})$/i.test(value) || !Number.isFinite(Date.parse(value)))
2271
2271
  throw new CliError("validation_error", `${name} must be an ISO timestamp with a timezone, such as 2026-11-09T09:00:00Z`);
@@ -2276,7 +2276,7 @@ var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
2276
2276
  return new Date(value).toISOString();
2277
2277
  }, "meetingTimestamp");
2278
2278
 
2279
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
2279
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
2280
2280
  var TASK_TYPES = ["bug", "feature", "chore"];
2281
2281
  var invalid3 = /* @__PURE__ */ __name((message) => {
2282
2282
  throw new CliError("validation_error", message);
@@ -2451,7 +2451,7 @@ var validateBatch = /* @__PURE__ */ __name((input, rules, most, one) => {
2451
2451
  var validateFindings = /* @__PURE__ */ __name((input, rules) => validateBatch(input, rules, 16, (finding, ids2) => validateFinding(finding, rules, ids2)), "validateFindings");
2452
2452
  var findingFingerprint = /* @__PURE__ */ __name(({ id: _id, ...finding }) => findingHash(finding), "findingFingerprint");
2453
2453
 
2454
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/meetings/findings.js
2454
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/findings.js
2455
2455
  var MEETING_FINDINGS_KIND = "meeting_findings";
2456
2456
  var cue = /* @__PURE__ */ __name((raw) => {
2457
2457
  const reference2 = canonicalMeetingReference(raw);
@@ -2462,7 +2462,7 @@ var cue = /* @__PURE__ */ __name((raw) => {
2462
2462
  var validateMeetingFindings = /* @__PURE__ */ __name((input) => validateFindings(input, { plural: "meeting findings", singular: "meeting finding", cited: "cue", reference: cue }), "validateMeetingFindings");
2463
2463
  var meetingFindingFingerprint = findingFingerprint;
2464
2464
 
2465
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/meetings/hit-query.js
2465
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/hit-query.js
2466
2466
  var context = {
2467
2467
  command: "search meetings",
2468
2468
  guide: "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md#\u0432\u0441\u0442\u0440\u0435\u0447\u0438"
@@ -2572,7 +2572,7 @@ var liftMeetingFields = /* @__PURE__ */ __name((query, request, now, timezone) =
2572
2572
  }, "liftMeetingFields");
2573
2573
  var parseMeetingQuery = /* @__PURE__ */ __name((query) => validateQuery(parseLucene(query, { defaultField: "text", proximity: true, ...context }), MEETING_HIT_QUERY, context), "parseMeetingQuery");
2574
2574
 
2575
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/meetings/language.js
2575
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/language.js
2576
2576
  var LATIN_WORDS = {
2577
2577
  en: ["the", "and", "is", "that", "you", "this", "what", "have", "with", "are"],
2578
2578
  es: ["el", "los", "las", "por", "pero", "para", "est\xE1", "muy", "tambi\xE9n", "hay"],
@@ -2621,7 +2621,7 @@ var transcriptLanguage = /* @__PURE__ */ __name((texts) => {
2621
2621
  return null;
2622
2622
  }, "transcriptLanguage");
2623
2623
 
2624
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/meetings/ingest.js
2624
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/ingest.js
2625
2625
  var contentHash = /* @__PURE__ */ __name(async (text6) => {
2626
2626
  const bytes = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(text6));
2627
2627
  return Array.from(new Uint8Array(bytes), (byte) => byte.toString(16).padStart(2, "0")).join("");
@@ -2658,7 +2658,7 @@ var timestamp2 = /* @__PURE__ */ __name((value) => {
2658
2658
  return time2;
2659
2659
  }, "timestamp");
2660
2660
 
2661
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/meetings/transcript-text.js
2661
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/transcript-text.js
2662
2662
  var TranscriptTextError = class extends Error {
2663
2663
  static {
2664
2664
  __name(this, "TranscriptTextError");
@@ -2713,7 +2713,7 @@ var parseTranscriptText = /* @__PURE__ */ __name((input) => {
2713
2713
  return { header, lines };
2714
2714
  }, "parseTranscriptText");
2715
2715
 
2716
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/meetings/vtt.js
2716
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/vtt.js
2717
2717
  var VttError = class extends Error {
2718
2718
  static {
2719
2719
  __name(this, "VttError");
@@ -2765,7 +2765,7 @@ var parseVtt = /* @__PURE__ */ __name((input) => {
2765
2765
  return cues;
2766
2766
  }, "parseVtt");
2767
2767
 
2768
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/meetings/import.js
2768
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/import.js
2769
2769
  var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now()) => {
2770
2770
  const report = { meetings: 0, participants: 0, transcriptRows: 0, summaries: 0, warnings: [] };
2771
2771
  for (const file of files) {
@@ -2798,10 +2798,10 @@ var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now())
2798
2798
  return report;
2799
2799
  }, "importFiles");
2800
2800
 
2801
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/meetings/links.js
2801
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/links.js
2802
2802
  var CHAT_MESSAGES_READ = 1e5;
2803
2803
 
2804
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/meetings/meeting-management.js
2804
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/meeting-management.js
2805
2805
  var nonempty = /* @__PURE__ */ __name((value, name) => {
2806
2806
  if (typeof value !== "string" || !value.trim())
2807
2807
  throw new CliError("validation_error", `${name} must be nonempty`);
@@ -2852,7 +2852,7 @@ var validateMeetingChange = /* @__PURE__ */ __name((change, create) => {
2852
2852
  return Object.freeze(result);
2853
2853
  }, "validateMeetingChange");
2854
2854
 
2855
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/meetings/passage.js
2855
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/passage.js
2856
2856
  var meetingHitContextLimits = /* @__PURE__ */ __name((options = {}) => {
2857
2857
  const { before = 3, after = 3, bytes = 65536, max_read_bytes = 4194304, expected_fingerprint } = options;
2858
2858
  if (![before, after].every((value) => Number.isSafeInteger(value) && value >= 0) || before + after > 999 || !Number.isSafeInteger(bytes) || bytes < 2 || bytes > 4194304 || !Number.isSafeInteger(max_read_bytes) || max_read_bytes < 1 || max_read_bytes > 67108864 || expected_fingerprint !== void 0 && (typeof expected_fingerprint !== "string" || !/^[a-f0-9]{64}$/.test(expected_fingerprint)))
@@ -2865,7 +2865,7 @@ var validateMeetingPassage = /* @__PURE__ */ __name((reference2, options) => {
2865
2865
  throw new CliError("validation_error", "choose a cue reference and json, text or markdown output");
2866
2866
  }, "validateMeetingPassage");
2867
2867
 
2868
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/meetings/preparation-context.js
2868
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/preparation-context.js
2869
2869
  var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
2870
2870
  if (!original || typeof original !== "object" || Array.isArray(original))
2871
2871
  throw new CliError("validation_error", "meeting preparation context is required");
@@ -2890,7 +2890,7 @@ var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
2890
2890
  return { ...input, limit, maxReadBytes };
2891
2891
  }, "validateMeetingPreparationContext");
2892
2892
 
2893
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-answer.js
2893
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-answer.js
2894
2894
  var count3 = pipe(number(), integer(), minValue(0));
2895
2895
  var id = pipe(string(), minLength(1));
2896
2896
  var meetingProjectEvidence = strictObject({
@@ -3011,7 +3011,7 @@ var meetingProjectEvidenceAnswer = /* @__PURE__ */ __name((page, prepared, comma
3011
3011
  };
3012
3012
  }, "meetingProjectEvidenceAnswer");
3013
3013
 
3014
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/meetings/search-validation.js
3014
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/search-validation.js
3015
3015
  var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
3016
3016
  const integer3 = /* @__PURE__ */ __name((value, low, high) => Number.isSafeInteger(value) && value >= low && value <= high, "integer");
3017
3017
  if (typeof query !== "string" || !query.trim() || query.includes("\0") || new TextEncoder().encode(query).byteLength > 65536 || !integer3(options.limit ?? 100, 1, 1e3) || !integer3(options.maxReadBytes ?? 4194304, 1, 67108864) || [
@@ -3031,7 +3031,7 @@ var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
3031
3031
  throw new CliError("validation_error", "choose one project selector and one tag or topic selector");
3032
3032
  }, "validateMeetingHitSearch");
3033
3033
 
3034
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-query.js
3034
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-query.js
3035
3035
  var ids = {
3036
3036
  meeting_id: "meetingId",
3037
3037
  identity_id: "participantIdentityId",
@@ -3122,7 +3122,7 @@ var prepareMeetingProjectEvidence = /* @__PURE__ */ __name((project2, request =
3122
3122
  return { project: project2.trim(), options, query: frozen.join(" AND ") };
3123
3123
  }, "prepareMeetingProjectEvidence");
3124
3124
 
3125
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/meetings/project-evidence.js
3125
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/project-evidence.js
3126
3126
  var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project2, request = {}, now = Date.now()) => {
3127
3127
  const prepared = prepareMeetingProjectEvidence(project2, request, now);
3128
3128
  const page = await read(prepared.project, prepared.options);
@@ -3130,7 +3130,7 @@ var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project2, r
3130
3130
  return meetingProjectEvidenceAnswer(page, prepared);
3131
3131
  }, "readMeetingProjectEvidence");
3132
3132
 
3133
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/meetings/pull.js
3133
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/pull.js
3134
3134
  var participantInput = /* @__PURE__ */ __name((p, provider, occurrenceId2, position, accountId) => {
3135
3135
  const { identityExternalId, phone, ...fields } = p;
3136
3136
  const externalId = identityExternalId ?? (p.email ? `email:${p.email.toLowerCase()}` : p.externalId) ?? `name:${p.displayName ?? "unknown"}@${accountId}/${occurrenceId2}:${position}`;
@@ -3314,7 +3314,7 @@ unlinked`, format)],
3314
3314
  return report;
3315
3315
  }, "pull");
3316
3316
 
3317
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/meetings/read-answers.js
3317
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/read-answers.js
3318
3318
  var text3 = string();
3319
3319
  var count4 = pipe(number(), integer(), minValue(0));
3320
3320
  var id2 = pipe(number(), integer(), minValue(1));
@@ -3509,10 +3509,10 @@ var eventItem = /* @__PURE__ */ __name((one) => ({
3509
3509
  updated_at: new Date(one.updatedAt).toISOString()
3510
3510
  }), "eventItem");
3511
3511
 
3512
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/meetings/recording-transfer.js
3512
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/recording-transfer.js
3513
3513
  var strongRecordingValidator = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length <= 1024 && /^"[\x21\x23-\x7e\x80-\xff]*"$/.test(value), "strongRecordingValidator");
3514
3514
 
3515
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/meetings/related-history.js
3515
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/related-history.js
3516
3516
  var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
3517
3517
  if (!original || typeof original !== "object" || Array.isArray(original))
3518
3518
  throw new CliError("validation_error", "related history request is required");
@@ -3542,7 +3542,7 @@ var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
3542
3542
  return { ...input, anchorIds: [...new Set(input.anchorIds)], limit, maxReadBytes };
3543
3543
  }, "validateMeetingRelatedHistory");
3544
3544
 
3545
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/meetings/result-items.js
3545
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/result-items.js
3546
3546
  var text4 = string();
3547
3547
  var identifier = pipe(text4, minLength(1));
3548
3548
  var nullableText = nullable(text4);
@@ -3676,14 +3676,14 @@ var MEETING_RESULT_ENTITIES = {
3676
3676
  meeting_repair: repair
3677
3677
  };
3678
3678
 
3679
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/meetings/review.js
3679
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/review.js
3680
3680
  var REVIEW_LIMIT = { default: 50, most: 200 };
3681
3681
 
3682
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/meetings/save-hints.js
3682
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/save-hints.js
3683
3683
  var SAVE_HELP = `Worth keeping \u2014 a decision, a promise, a preference? Record it with \`memo facts add\` or
3684
3684
  \`memo memories add\`, citing the msg: locator or meeting: reference as --evidence.`;
3685
3685
 
3686
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/meetings/series-history.js
3686
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/series-history.js
3687
3687
  var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
3688
3688
  input.signal?.throwIfAborted();
3689
3689
  if (!Number.isSafeInteger(input.accountId) || input.accountId <= 0)
@@ -3704,10 +3704,10 @@ var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
3704
3704
  return { ...input, limit, maxReadBytes };
3705
3705
  }, "validateMeetingSeriesHistory");
3706
3706
 
3707
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/meetings/upcoming-validation.js
3707
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/upcoming-validation.js
3708
3708
  var occurrenceId = /* @__PURE__ */ __name((value) => typeof value === "string" && value.trim().length > 0 && value.length <= 1e3 && !/[\0\r\n]/.test(value), "occurrenceId");
3709
3709
 
3710
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/meetings/series-inventory-validation.js
3710
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/series-inventory-validation.js
3711
3711
  function invalid4(field, response = false) {
3712
3712
  throw new CliError(response ? "invalid_response" : "validation_error", `invalid meeting inventory ${field}`);
3713
3713
  }
@@ -3736,7 +3736,7 @@ var validateMeetingSeriesInventoryCursor = /* @__PURE__ */ __name((value) => {
3736
3736
  cursorDetails(value);
3737
3737
  }, "validateMeetingSeriesInventoryCursor");
3738
3738
 
3739
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/meetings/stats.js
3739
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/meetings/stats.js
3740
3740
  var MEETING_COUNTS_GROUPINGS = ["day", "week", "series"];
3741
3741
  var zoneOf = /* @__PURE__ */ __name((timeZone) => {
3742
3742
  const zone = timeZone ?? "UTC";
@@ -3871,14 +3871,14 @@ var aggregateMeetingStats = /* @__PURE__ */ __name((rows, timeZone) => {
3871
3871
  };
3872
3872
  }, "aggregateMeetingStats");
3873
3873
 
3874
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/store/source-review.js
3874
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/store/source-review.js
3875
3875
  var SOURCE_REVIEW_KIND = "memory_source_review";
3876
3876
  var SOURCE_REVIEW_CAUSES = ["changed", "outdated", "deleted", "contradicted"];
3877
3877
  var ERASED_TEXT = "[source erased]";
3878
3878
  var severity = /* @__PURE__ */ __name((cause) => SOURCE_REVIEW_CAUSES.indexOf(cause), "severity");
3879
3879
  var graver = /* @__PURE__ */ __name((a, b) => severity(b) > severity(a) ? b : a, "graver");
3880
3880
 
3881
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/tasks/model.js
3881
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/tasks/model.js
3882
3882
  var TASK_KINDS = ["question", "request", "mention", "promise"];
3883
3883
  var TASK_STATES = ["open", "todo", "in_progress", "done", "dismissed"];
3884
3884
  var CLOSED_STATES = ["done", "dismissed"];
@@ -3893,7 +3893,7 @@ function closeTask(task, state, by, at, reason) {
3893
3893
  }
3894
3894
  __name(closeTask, "closeTask");
3895
3895
 
3896
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/tasks/priority.js
3896
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/tasks/priority.js
3897
3897
  var PRIORITY_LABELS = ["low", "medium", "high", "critical"];
3898
3898
  var MIDDLE = { low: 0.125, medium: 0.375, high: 0.625, critical: 0.875 };
3899
3899
  var LEGACY_PRIORITY_SCORES = [0.875, 0.625, 0.375, 0.1875, 0.0625];
@@ -3922,7 +3922,7 @@ var priorityOf = /* @__PURE__ */ __name((value) => {
3922
3922
  }, "priorityOf");
3923
3923
  var priorityOption = /* @__PURE__ */ __name((value) => priorityOf(value) ?? "none", "priorityOption");
3924
3924
 
3925
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/tasks/service.js
3925
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/tasks/service.js
3926
3926
  function createTaskService({ store, now = /* @__PURE__ */ __name(() => /* @__PURE__ */ new Date(), "now"), newId = /* @__PURE__ */ __name(() => crypto.randomUUID(), "newId") }) {
3927
3927
  async function find(id4) {
3928
3928
  const task = await store.get(id4);
@@ -3982,13 +3982,13 @@ function median(values) {
3982
3982
  }
3983
3983
  __name(median, "median");
3984
3984
 
3985
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/tasks/store.js
3985
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/tasks/store.js
3986
3986
  function matches2(task, filter) {
3987
3987
  return (filter.account === void 0 || task.account === filter.account) && (filter.state === void 0 || task.state === filter.state) && (filter.group === void 0 || task.group === filter.group) && (filter.kind === void 0 || task.kind === filter.kind) && (filter.createdBefore === void 0 || task.createdAt < filter.createdBefore);
3988
3988
  }
3989
3989
  __name(matches2, "matches");
3990
3990
 
3991
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/domain/knowledge.js
3991
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/domain/knowledge.js
3992
3992
  var FACT_STATUSES = ["proposed", "accepted", "superseded", "reversed", "rejected"];
3993
3993
  var MEMORY_KINDS = ["summary", "digest", "preference"];
3994
3994
  var MEMORY_STATUSES = ["proposed", "confirmed", "stale", "superseded"];
@@ -3996,7 +3996,7 @@ var MEMORY_SCOPES = ["personal", "work"];
3996
3996
  var WORK_TASK_TYPES = ["bug", "feature", "chore"];
3997
3997
  var TASK_TYPES2 = [...WORK_TASK_TYPES, ...TASK_KINDS];
3998
3998
 
3999
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/fields.js
3999
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/entities/fields.js
4000
4000
  var text5 = string();
4001
4001
  var id3 = pipe(string(), minLength(1));
4002
4002
  var time = isoTime;
@@ -4021,7 +4021,7 @@ var author = strictObject({
4021
4021
  name: nullable(text5)
4022
4022
  });
4023
4023
 
4024
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
4024
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
4025
4025
  var organization = strictObject({
4026
4026
  id: id3,
4027
4027
  ref: reference,
@@ -4051,7 +4051,7 @@ var reminder = strictObject({
4051
4051
  receipt: nullable(text5)
4052
4052
  });
4053
4053
 
4054
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/domain/money.js
4054
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/domain/money.js
4055
4055
  var CURRENCY_SCALES = {
4056
4056
  AED: 2,
4057
4057
  AMD: 2,
@@ -4145,7 +4145,7 @@ var quantityOf = /* @__PURE__ */ __name((text6) => {
4145
4145
  }, "quantityOf");
4146
4146
  var lineUnits = /* @__PURE__ */ __name((thousandths, unitPrice) => Number((thousandths * BigInt(unitPrice) + 500n) / 1000n), "lineUnits");
4147
4147
 
4148
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/domain/finance.js
4148
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/domain/finance.js
4149
4149
  var INVOICE_DIRECTIONS = ["receivable", "payable"];
4150
4150
  var INVOICE_STATUSES = ["draft", "issued", "partly_paid", "paid", "void"];
4151
4151
  var MONEY_DIRECTIONS = ["in", "out"];
@@ -4174,7 +4174,7 @@ var paymentLine = /* @__PURE__ */ __name((payment) => {
4174
4174
  var invoiceTitle = /* @__PURE__ */ __name((invoice) => `Invoice ${invoiceLine(invoice)}`, "invoiceTitle");
4175
4175
  var paymentEntryTitle = /* @__PURE__ */ __name((payment) => `Payment \xB7 ${paymentLine(payment)}`, "paymentEntryTitle");
4176
4176
 
4177
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/domain/business.js
4177
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/domain/business.js
4178
4178
  var CATALOG_KINDS = ["product", "service"];
4179
4179
  var BUSINESS_KINDS = ["invoice", "payment", "order", "contract", "subscription", "product", "wallet"];
4180
4180
  var CONTRACT_KINDS = ["sale", "purchase", "service", "lease", "employment", "nda", "license", "other"];
@@ -4202,7 +4202,7 @@ var subscriptionLine = /* @__PURE__ */ __name((subscription) => `${subscription.
4202
4202
  var walletLine = /* @__PURE__ */ __name((wallet) => `${wallet.name} \xB7 ${wallet.kind}, ${wallet.currency}${wallet.numberHint === null ? "" : `, \u2026${wallet.numberHint}`}` + notes(wallet.closed ? "closed" : null), "walletLine");
4203
4203
  var transactionLine = /* @__PURE__ */ __name((transaction) => `${moneyLabel(transaction.amount, transaction.currency)} ${transaction.direction}${transaction.label === null ? "" : ` \xB7 ${transaction.label}`}, ${dayMonth(transaction.date)}` + notes(transaction.status === "pending" ? "pending" : null, pending(transaction.review)), "transactionLine");
4204
4204
 
4205
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/store/marks.js
4205
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/store/marks.js
4206
4206
  import { readFileSync as readFileSync2, rmSync as rmSync2, statSync as statSync2, writeFileSync as writeFileSync2 } from "node:fs";
4207
4207
  var damageMarkPath = /* @__PURE__ */ __name((store) => `${store}.damaged.json`, "damageMarkPath");
4208
4208
  var healthMarkPath = /* @__PURE__ */ __name((store) => `${store}.health.json`, "healthMarkPath");
@@ -4323,7 +4323,7 @@ var recordDeepCheck = /* @__PURE__ */ __name((store, health, { cli, version, sch
4323
4323
  return { previous, cleared };
4324
4324
  }, "recordDeepCheck");
4325
4325
 
4326
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/domain/deals.js
4326
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/domain/deals.js
4327
4327
  var DEAL_KINDS = ["deal", "lead"];
4328
4328
  var DEAL_STATUSES = ["open", "won", "lost"];
4329
4329
  var STAGE_OUTCOMES = DEAL_STATUSES;
@@ -4333,7 +4333,7 @@ var dealLine = /* @__PURE__ */ __name((deal) => {
4333
4333
  return `${deal.title} \xB7 ${deal.stage}${money}${deal.status === "open" ? "" : ` (${deal.status})`}`;
4334
4334
  }, "dealLine");
4335
4335
 
4336
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/domain/orders.js
4336
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/domain/orders.js
4337
4337
  var ORDER_STATUSES = ["placed", "shipped", "delivered", "cancelled", "returned"];
4338
4338
  var ORDER_PURPOSES = ["personal", "business", "client", "other"];
4339
4339
  var orderLine = /* @__PURE__ */ __name((order) => {
@@ -4344,7 +4344,7 @@ var orderLine = /* @__PURE__ */ __name((order) => {
4344
4344
  }, "orderLine");
4345
4345
  var orderTitle = /* @__PURE__ */ __name((order) => `Order ${orderLine(order)}`, "orderTitle");
4346
4346
 
4347
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/domain/relations.js
4347
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/domain/relations.js
4348
4348
  var ORGANIZATION_ROLES = [
4349
4349
  "employee",
4350
4350
  "contractor",
@@ -4447,7 +4447,7 @@ var KEYED = "kind IN ('member-of', 'related-to', 'reports-to', 'customer-of', 'p
4447
4447
  var notOverriddenSql = /* @__PURE__ */ __name((alias) => `NOT EXISTS (SELECT 1 FROM links override WHERE ${KEYED} AND override.kind = ${alias}.kind AND override.from_type = ${alias}.from_type AND override.from_id = ${alias}.from_id AND override.to_type = ${alias}.to_type AND override.to_id = ${alias}.to_id AND json_extract(override.metadata, '$.overrides') = ${alias}.id)`, "notOverriddenSql");
4448
4448
  var usableLinkSql = /* @__PURE__ */ __name((alias, now) => `(${alias}.confirmed = 1 OR (${alias}.account_id IS NOT NULL AND ${alias}.deleted_at IS NULL))` + (now === void 0 ? "" : ` AND (${alias}.ends_at IS NULL OR ${alias}.ends_at > ${Math.trunc(now)})`), "usableLinkSql");
4449
4449
 
4450
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/domain/crm.js
4450
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/domain/crm.js
4451
4451
  var CRM_ACTIVITY_KINDS = ["call", "email", "meeting", "todo", "task", "comment", "other"];
4452
4452
  var isCrmUserId = /* @__PURE__ */ __name((id4) => /^\d{1,20}$/.test(id4), "isCrmUserId");
4453
4453
  var normalCrmUserId = /* @__PURE__ */ __name((id4) => {
@@ -4456,7 +4456,7 @@ var normalCrmUserId = /* @__PURE__ */ __name((id4) => {
4456
4456
  }, "normalCrmUserId");
4457
4457
  var isItemKind = /* @__PURE__ */ __name((kind2) => kind2 === "deal" || kind2 === "lead", "isItemKind");
4458
4458
 
4459
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/domain/tags.js
4459
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/domain/tags.js
4460
4460
  var TAG_TYPES = ["chat", "contact", "message", "task"];
4461
4461
  var TAG = /^[a-z0-9-]{1,32}$/;
4462
4462
  var tagOf = /* @__PURE__ */ __name((value) => {
@@ -4470,7 +4470,7 @@ var normalizeTag = /* @__PURE__ */ __name((value) => {
4470
4470
  return tag;
4471
4471
  }, "normalizeTag");
4472
4472
 
4473
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/store/sqlite/link-source.js
4473
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/store/sqlite/link-source.js
4474
4474
  var REPORTER_SQL = "(SELECT provider || ':' || external_id FROM accounts r WHERE r.id = links.account_id) AS reporter";
4475
4475
  var sourceOf = /* @__PURE__ */ __name((database, row, metadata) => {
4476
4476
  const reporter = row.account_id == null ? void 0 : "reporter" in row ? row.reporter : database.prepare("SELECT provider || ':' || external_id AS key FROM accounts WHERE id = ?").get(Number(row.account_id))?.key;
@@ -4480,7 +4480,7 @@ var sourceOf = /* @__PURE__ */ __name((database, row, metadata) => {
4480
4480
  };
4481
4481
  }, "sourceOf");
4482
4482
 
4483
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/store/sqlite/link-kinds.js
4483
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/store/sqlite/link-kinds.js
4484
4484
  var LINK_KINDS = [
4485
4485
  "links-to",
4486
4486
  "blocked-by",
@@ -4504,7 +4504,7 @@ var LINK_SOURCES = [...LINK_ORIGINS, "calendar", "meeting"];
4504
4504
  var linkKind = /* @__PURE__ */ __name((kind2) => `'${kind2}'`, "linkKind");
4505
4505
  var COUNTERPART_ROLE = "counterpart";
4506
4506
 
4507
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/domain/locator.js
4507
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/domain/locator.js
4508
4508
  var SCHEME = "msg:";
4509
4509
  var formatLocator = /* @__PURE__ */ __name(({ provider, account, chat, message }) => SCHEME + [provider, account, chat, message].map(encodeURIComponent).join("/"), "formatLocator");
4510
4510
  var isLocator = /* @__PURE__ */ __name((reference2) => reference2.trim().startsWith(SCHEME), "isLocator");
@@ -4518,7 +4518,7 @@ var parseLocator = /* @__PURE__ */ __name((reference2) => {
4518
4518
  return { provider, account, chat, message };
4519
4519
  }, "parseLocator");
4520
4520
 
4521
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/domain/references.js
4521
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/domain/references.js
4522
4522
  var SIMPLE_REFERENCES = [
4523
4523
  "note",
4524
4524
  "document",
@@ -4674,7 +4674,7 @@ var looksLikeReference = /* @__PURE__ */ __name((text6) => {
4674
4674
  return match !== null && byPrefix.has(match[1]);
4675
4675
  }, "looksLikeReference");
4676
4676
 
4677
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/domain/providers.js
4677
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/domain/providers.js
4678
4678
  var KINDS = ["messages", "mail", "notes", "documents", "meetings", "events", "crm"];
4679
4679
  var MESSENGER_OPENS = { chat: "messages list", message: "messages show", contact: "contacts show" };
4680
4680
  var PROVIDERS = [
@@ -4846,7 +4846,7 @@ var holdsKind = /* @__PURE__ */ __name((provider, kind2) => kindsIn(provider).in
4846
4846
  var holdsKindOf = /* @__PURE__ */ __name((provider, kind2) => kindIn(provider) === void 0 ? kind2 === "messages" : holdsKind(provider, kind2), "holdsKindOf");
4847
4847
  var kindOf2 = /* @__PURE__ */ __name((provider) => kindIn(provider) ?? "messages", "kindOf");
4848
4848
 
4849
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/search/query.js
4849
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/search/query.js
4850
4850
  var isBotProvider = /* @__PURE__ */ __name((provider) => provider.endsWith("-bot"), "isBotProvider");
4851
4851
  var inSource = /* @__PURE__ */ __name((source, provider) => source === "all" || source === "bots" && isBotProvider(provider) || source === "personal" && !isBotProvider(provider) || source === provider || providerNamed(source)?.name === provider || isKind(source) && holdsKindOf(provider, source), "inSource");
4852
4852
  var fail = /* @__PURE__ */ __name((message) => {
@@ -4869,7 +4869,7 @@ var sourceOf2 = /* @__PURE__ */ __name((name, value, providers2) => {
4869
4869
  return fail(`${name} takes ${[...sources, "messages", "mail"].join(", ")} \u2014 not "${value}"`);
4870
4870
  }, "sourceOf");
4871
4871
 
4872
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/search/account-list.js
4872
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/search/account-list.js
4873
4873
  var ACCOUNT_GROUPS = "accountGroups";
4874
4874
  var ACCOUNT_GROUPS_SETTING = "account_groups";
4875
4875
  var GROUP_NAME = /^[a-z0-9][a-z0-9_-]*$/i;
@@ -5079,7 +5079,7 @@ var fitting = /* @__PURE__ */ __name((entries, kinds, what, reasonOf = (kind2) =
5079
5079
  return { accounts: [...chosen.values()], skipped };
5080
5080
  }, "fitting");
5081
5081
 
5082
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/domain/categories.js
5082
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/domain/categories.js
5083
5083
  var CATEGORIES = ["client", "supplier", "partner", "employer"];
5084
5084
 
5085
5085
  export {