@wirecat/tg-cli 0.125.0 → 0.127.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/dist/bin/tg.js +2 -2
  2. package/dist/bundle/{adapter-H2LTOLOA.js → adapter-EZFS2UR6.js} +43 -43
  3. package/dist/bundle/{all-profiles-75HGEFL7.js → all-profiles-TNIUBQK6.js} +6 -6
  4. package/dist/bundle/{anthropic-N54MKE4C.js → anthropic-NGIS5LTL.js} +2 -2
  5. package/dist/bundle/{app-server-3N5INKKI.js → app-server-RPU76G7D.js} +42 -38
  6. package/dist/bundle/{bot-api-V65KTEAH.js → bot-api-QJ6U6BLG.js} +44 -44
  7. package/dist/bundle/{bot-history-TT2EAHEE.js → bot-history-THULK2C6.js} +12 -12
  8. package/dist/bundle/{bun-LN4J7PA7.js → bun-QLSLLP27.js} +2 -2
  9. package/dist/bundle/{bun-sqlite-6PDBFBUI.js → bun-sqlite-SH5245ZY.js} +3 -3
  10. package/dist/bundle/{chunk-RZ7KBWDQ.js → chunk-2R6ZSE3O.js} +2 -2
  11. package/dist/bundle/{chunk-E4HDE5DN.js → chunk-3CV5TBBR.js} +2 -2
  12. package/dist/bundle/{chunk-PCC7GWOS.js → chunk-3I3TGKVG.js} +3 -3
  13. package/dist/bundle/{chunk-6Y6SSZ34.js → chunk-3WI53AA4.js} +129 -83
  14. package/dist/bundle/{chunk-DYOZ7CUV.js → chunk-45URY64S.js} +1 -1
  15. package/dist/bundle/{chunk-S4SOS27T.js → chunk-4CQ3PV3V.js} +7 -7
  16. package/dist/bundle/{chunk-OG2ONSH6.js → chunk-4FFKCC7Y.js} +16 -16
  17. package/dist/bundle/{chunk-UTNK2PFE.js → chunk-4MKRKW6V.js} +12 -12
  18. package/dist/bundle/{chunk-FSP74THJ.js → chunk-5AOFOJQA.js} +4 -4
  19. package/dist/bundle/{chunk-7OBSIDBJ.js → chunk-5FDYMMEQ.js} +2 -2
  20. package/dist/bundle/{chunk-4TCBRKWQ.js → chunk-5KZKVKWU.js} +6 -6
  21. package/dist/bundle/{chunk-37SZHAEA.js → chunk-5SN6KFPC.js} +51 -50
  22. package/dist/bundle/{chunk-CNEJQQMD.js → chunk-7GE6KMLB.js} +11 -11
  23. package/dist/bundle/{chunk-77Z3OGAT.js → chunk-APSMQIA4.js} +2 -2
  24. package/dist/bundle/{chunk-BLNMM3AX.js → chunk-BNM6KNUQ.js} +1 -1
  25. package/dist/bundle/{chunk-GUPMDMFM.js → chunk-BWHVHPAQ.js} +5 -5
  26. package/dist/bundle/{chunk-VZDAVZYX.js → chunk-CXWAKV2O.js} +5 -5
  27. package/dist/bundle/{chunk-AMPHPP4P.js → chunk-DNNYE6PS.js} +13 -13
  28. package/dist/bundle/{chunk-X6436BYW.js → chunk-EGNQSWPH.js} +1 -1
  29. package/dist/bundle/{chunk-FUYCAROL.js → chunk-ERUB3KU3.js} +322 -11
  30. package/dist/bundle/{chunk-TVQBOIWC.js → chunk-FD44T7HC.js} +1 -1
  31. package/dist/bundle/{chunk-SGHF75RQ.js → chunk-FSDLSEZA.js} +1 -1
  32. package/dist/bundle/{chunk-WH4T44L3.js → chunk-GHVRCLJI.js} +1 -1
  33. package/dist/bundle/{chunk-JB4BO5XZ.js → chunk-H7GAFD4N.js} +1 -1
  34. package/dist/bundle/{chunk-JC6HMPL7.js → chunk-HPM47WO3.js} +4686 -3968
  35. package/dist/bundle/{chunk-3GILMKQ2.js → chunk-IWJ5OLU6.js} +2 -2
  36. package/dist/bundle/{chunk-QVK7NF3A.js → chunk-J6FHZXNS.js} +32 -28
  37. package/dist/bundle/{chunk-RX5GU7GQ.js → chunk-JF7D2Y4K.js} +1129 -879
  38. package/dist/bundle/{chunk-JCNKGZQG.js → chunk-JFQZ6BWI.js} +16 -16
  39. package/dist/bundle/{chunk-ZX5OSZHH.js → chunk-JWEKUAVZ.js} +10 -10
  40. package/dist/bundle/{chunk-QYT6HDCL.js → chunk-K4VO7S6Q.js} +1 -1
  41. package/dist/bundle/{chunk-DNCOELTM.js → chunk-LOG65WHO.js} +1 -1
  42. package/dist/bundle/{chunk-GRDVBJCR.js → chunk-MTU3UP5U.js} +1 -1
  43. package/dist/bundle/{chunk-DI3RJ3MJ.js → chunk-NBN5OYXH.js} +3 -3
  44. package/dist/bundle/{chunk-TAFH5K5D.js → chunk-P5NJECXX.js} +411 -295
  45. package/dist/bundle/{chunk-JKF7LZBU.js → chunk-QPVCFSVU.js} +5 -5
  46. package/dist/bundle/{chunk-UG66U2T7.js → chunk-R52ZZZKZ.js} +23 -13
  47. package/dist/bundle/{chunk-INZAZMUF.js → chunk-S3XUJPPL.js} +9 -4
  48. package/dist/bundle/{chunk-6HLB73UN.js → chunk-SN52ZGFN.js} +2 -2
  49. package/dist/bundle/{chunk-FHPEUAHQ.js → chunk-TGKTIDYS.js} +168 -399
  50. package/dist/bundle/{chunk-VG3EQJYV.js → chunk-UIQMBOXU.js} +31 -2
  51. package/dist/bundle/{chunk-EIGV2JKX.js → chunk-UW34Z7J3.js} +1 -1
  52. package/dist/bundle/{chunk-XTNOBJRP.js → chunk-UY2TRFYN.js} +10 -10
  53. package/dist/bundle/{chunk-VHD4V64E.js → chunk-VMV5CMLH.js} +1 -1
  54. package/dist/bundle/{chunk-MK4IKICN.js → chunk-X4ECHJNG.js} +2 -2
  55. package/dist/bundle/{chunk-IN3NAFUN.js → chunk-XUAVZ6YX.js} +7 -7
  56. package/dist/bundle/{chunk-NTHALPDT.js → chunk-Y62I2T36.js} +2 -1
  57. package/dist/bundle/{chunk-B252D7V4.js → chunk-Y65BQJOY.js} +4 -6
  58. package/dist/bundle/{chunk-4KIOWSDL.js → chunk-Y7UA7HGL.js} +2 -2
  59. package/dist/bundle/{chunk-HHG5FR5H.js → chunk-YIPOWJPN.js} +1 -1
  60. package/dist/bundle/{chunk-VUBSGQ2O.js → chunk-YZGIQY2R.js} +24 -22
  61. package/dist/bundle/{chunk-AI2J3WJT.js → chunk-ZIPUVOGT.js} +1 -1
  62. package/dist/bundle/{chunk-LU2CHHPC.js → chunk-ZSS3BH6Z.js} +2 -2
  63. package/dist/bundle/{command-contract-JP6SCP7U.js → command-contract-DY6Y4TES.js} +13 -13
  64. package/dist/bundle/{command-server-entry-BLSFT3T6.js → command-server-entry-UG2CLYXI.js} +20 -20
  65. package/dist/bundle/{decode-NNLEQU7B.js → decode-3NEUZJ2N.js} +2 -2
  66. package/dist/bundle/{echarts-XAZHGDOM.js → echarts-CN6ZVAJZ.js} +2 -2
  67. package/dist/bundle/{embed-Q7ZCVSCO.js → embed-M4EHIKA5.js} +3 -3
  68. package/dist/bundle/{embedder-MVS3PVWQ.js → embedder-K2XL2UB4.js} +6 -6
  69. package/dist/bundle/{entry-XN3ZZAOK.js → entry-6M55YL2H.js} +6 -6
  70. package/dist/bundle/{first-run-G4EFTONI.js → first-run-TLJILIOF.js} +5 -5
  71. package/dist/bundle/{first-screen-RIDJEPC3.js → first-screen-WME7ILW2.js} +14 -14
  72. package/dist/bundle/{instructions-QDHYYZBU.js → instructions-QLC2AXAB.js} +1 -1
  73. package/dist/bundle/{node-3Y7OVY2U.js → node-BAA3T4CH.js} +2 -2
  74. package/dist/bundle/{node-sqlite-R2SBROJM.js → node-sqlite-FNYVHQCO.js} +4 -4
  75. package/dist/bundle/{oauth-WSPWMWTV.js → oauth-32T5KL5E.js} +4 -4
  76. package/dist/bundle/{open-VFLF4HRQ.js → open-4VQ6FUEI.js} +2 -2
  77. package/dist/bundle/{openai-DFCKZZDV.js → openai-HDOKCN3Z.js} +12 -12
  78. package/dist/bundle/{process-VZKFAGNP.js → process-GOUBIWKC.js} +1 -1
  79. package/dist/bundle/{program-2LB3CUZX.js → program-QFXJL2R5.js} +46 -46
  80. package/dist/bundle/{prompt-RVLA2PEY.js → prompt-YYODWYFO.js} +2 -2
  81. package/dist/bundle/{recognize-LEKNA3G5.js → recognize-7ZULX5HL.js} +1 -1
  82. package/dist/bundle/{remote-WG5V2I2G.js → remote-TUG7M5Y5.js} +6 -6
  83. package/dist/bundle/{rerank-ONAEQVJ6.js → rerank-D2EZWG66.js} +4 -4
  84. package/dist/bundle/{serve-BL2X6FZG.js → serve-MP3GA2XX.js} +6 -6
  85. package/dist/bundle/{server-3LSC4BMK.js → server-D277L3H3.js} +31 -29
  86. package/dist/bundle/server-GEP7QXGI.js +62 -0
  87. package/dist/bundle/{sqlite-runtime-RQXPRH6C.js → sqlite-runtime-XHZXEOLY.js} +3 -3
  88. package/dist/bundle/{state-O7LRA526.js → state-YI3W6HGO.js} +3 -3
  89. package/dist/bundle/{store-HMJUPK45.js → store-C4RFPYPK.js} +9 -9
  90. package/dist/bundle/{store-7C4UAND2.js → store-CIZPJFWE.js} +15 -11
  91. package/dist/bundle/store-maintenance-command-JNDYWFD2.js +52 -0
  92. package/dist/bundle/tg.js +3 -3
  93. package/dist/version.d.ts +1 -1
  94. package/dist/version.js +1 -1
  95. package/package.json +2 -2
  96. package/dist/bundle/server-7EYEEGJT.js +0 -62
  97. package/dist/bundle/store-maintenance-command-I7PSA3SZ.js +0 -52
@@ -9,29 +9,29 @@ import {
9
9
  providerErrorKey,
10
10
  renderEvent,
11
11
  runContextOf
12
- } from "./chunk-4TCBRKWQ.js";
12
+ } from "./chunk-5KZKVKWU.js";
13
13
  import {
14
14
  permissionCeiling
15
- } from "./chunk-B252D7V4.js";
15
+ } from "./chunk-Y65BQJOY.js";
16
16
  import {
17
17
  ancestorValue,
18
18
  envName,
19
19
  readOnlyLockOf,
20
20
  readOnlyRefusal
21
- } from "./chunk-DYOZ7CUV.js";
21
+ } from "./chunk-45URY64S.js";
22
22
  import {
23
23
  carries
24
- } from "./chunk-TVQBOIWC.js";
24
+ } from "./chunk-FD44T7HC.js";
25
25
  import {
26
26
  endpoint
27
- } from "./chunk-VG3EQJYV.js";
27
+ } from "./chunk-UIQMBOXU.js";
28
28
  import {
29
29
  note
30
- } from "./chunk-3GILMKQ2.js";
30
+ } from "./chunk-IWJ5OLU6.js";
31
31
  import {
32
32
  filesPresent,
33
33
  sharedModelsDirectory
34
- } from "./chunk-PCC7GWOS.js";
34
+ } from "./chunk-3I3TGKVG.js";
35
35
  import {
36
36
  BUSINESS_KINDS,
37
37
  CATEGORIES,
@@ -109,19 +109,20 @@ import {
109
109
  typedCommand,
110
110
  untrusted,
111
111
  useAsProcessRun
112
- } from "./chunk-6Y6SSZ34.js";
112
+ } from "./chunk-3WI53AA4.js";
113
113
  import {
114
114
  isCliFailure,
115
115
  storeDamaged
116
- } from "./chunk-77Z3OGAT.js";
116
+ } from "./chunk-APSMQIA4.js";
117
117
  import {
118
118
  readSharedSection,
119
+ repairConfigText,
119
120
  sharedConfigPath,
120
121
  writeSharedSection
121
- } from "./chunk-FUYCAROL.js";
122
+ } from "./chunk-ERUB3KU3.js";
122
123
  import {
123
124
  storePath
124
- } from "./chunk-NTHALPDT.js";
125
+ } from "./chunk-Y62I2T36.js";
125
126
  import {
126
127
  configFilePath,
127
128
  createRecordLog,
@@ -3993,20 +3994,21 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
3993
3994
  }
3994
3995
  }, "refuseJoinedPath");
3995
3996
 
3996
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/sends/permissions.js
3997
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/sends/permissions.js
3997
3998
  var LEVELS = ["deny", "readonly", "ask", "allow"];
3998
3999
  var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
3999
4000
  var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
4000
4001
  var DEFAULT_PERMISSIONS = {
4001
- "messages.delete": "ask",
4002
+ // Owner, 2026-11-14: deleting a message does not ask; a profile that wants the question sets `ask`.
4003
+ "messages.delete": "allow",
4002
4004
  "account.sessions.end": "ask",
4003
- "bot.messages.delete": "ask",
4005
+ "bot.messages.delete": "allow",
4004
4006
  "topics.enable": "ask",
4005
4007
  "topics.delete": "ask",
4006
4008
  "chats.delete": "ask",
4007
4009
  "chats.clear": "ask",
4008
- // NEED-568: a rule writes to people with nobody typing a command; it waits for the owner's own allow.
4009
- "replies.send": "deny",
4010
+ // Owner, 2026-11-14 (replaces NEED-568): a rule the owner enabled may send; `deny` stops every automatic reply.
4011
+ "replies.send": "allow",
4010
4012
  // NEED-1662: an agent that changes settings, schedules or recipients could lift its own limits; the owner opts in.
4011
4013
  "mcp.authority": "deny",
4012
4014
  // NEED-1663: writes no level stopped before, so MCP could not offer them; over MCP `ask` goes ahead.
@@ -4397,7 +4399,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
4397
4399
  }
4398
4400
  }, "assertRetentionEvidenceRead");
4399
4401
 
4400
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/account.js
4402
+ // node_modules/.pnpm/@wirecat+cli-core@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/account.js
4401
4403
  var account = strictObject({
4402
4404
  provider: text,
4403
4405
  id,
@@ -4407,7 +4409,7 @@ var account = strictObject({
4407
4409
  scope: optional(picklist(["personal", "work"]))
4408
4410
  });
4409
4411
 
4410
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/account-session.js
4412
+ // node_modules/.pnpm/@wirecat+cli-core@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/account-session.js
4411
4413
  var accountSession = strictObject({
4412
4414
  current: boolean(),
4413
4415
  client: nullable(text),
@@ -4417,7 +4419,7 @@ var accountSession = strictObject({
4417
4419
  created_at: optional(nullable(time))
4418
4420
  });
4419
4421
 
4420
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/account-change.js
4422
+ // node_modules/.pnpm/@wirecat+cli-core@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/account-change.js
4421
4423
  var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
4422
4424
  var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
4423
4425
  var audience = picklist(["everyone", "contacts", "nobody"]);
@@ -4446,7 +4448,7 @@ var accountRemoval = strictObject({
4446
4448
  kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
4447
4449
  });
4448
4450
 
4449
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
4451
+ // node_modules/.pnpm/@wirecat+cli-core@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/account-profile.js
4450
4452
  var accountProfile = strictObject({
4451
4453
  profile: id,
4452
4454
  current: boolean(),
@@ -4458,7 +4460,7 @@ var accountProfile = strictObject({
4458
4460
  bot: optional(literal(true))
4459
4461
  });
4460
4462
 
4461
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
4463
+ // node_modules/.pnpm/@wirecat+cli-core@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/counter-reading.js
4462
4464
  var milliseconds = pipe(number(), minValue(0));
4463
4465
  var counterReading = strictObject({
4464
4466
  counter: picklist(["views", "reactions", "comments"]),
@@ -4470,7 +4472,7 @@ var counterReading = strictObject({
4470
4472
  });
4471
4473
  var selection = record(string(), unknown());
4472
4474
 
4473
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
4475
+ // node_modules/.pnpm/@wirecat+cli-core@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/admin-report.js
4474
4476
  var adminRow = strictObject({
4475
4477
  ref: reference,
4476
4478
  /** What `stats * evidence` takes: a person id, a stay or a message locator. */
@@ -4523,7 +4525,7 @@ var adminReport = strictObject({
4523
4525
  rows: array(adminRow)
4524
4526
  });
4525
4527
 
4526
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/task.js
4528
+ // node_modules/.pnpm/@wirecat+cli-core@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/task.js
4527
4529
  var closeSuggestion = strictObject({
4528
4530
  as: picklist(["done", "dismissed"]),
4529
4531
  /** The agent's name. */
@@ -4585,7 +4587,7 @@ var task = strictObject({
4585
4587
  updated_at: optional(time)
4586
4588
  });
4587
4589
 
4588
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/agenda.js
4590
+ // node_modules/.pnpm/@wirecat+cli-core@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/agenda.js
4589
4591
  var agendaChat = strictObject({
4590
4592
  chat: reference,
4591
4593
  title: nullable(text),
@@ -4655,11 +4657,11 @@ var agenda = strictObject({
4655
4657
  unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
4656
4658
  });
4657
4659
 
4658
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
4660
+ // node_modules/.pnpm/@wirecat+cli-core@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/analysis-consent.js
4659
4661
  var analysisConsent = strictObject({ chat: id, provider: text, at: time });
4660
4662
  var analysisConsentRevocation = strictObject({ revoked: boolean() });
4661
4663
 
4662
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/attachment.js
4664
+ // node_modules/.pnpm/@wirecat+cli-core@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/attachment.js
4663
4665
  var attachment = strictObject({
4664
4666
  /** The message it came with, as a locator; absent inside that message. */
4665
4667
  message: optional(reference),
@@ -4704,7 +4706,7 @@ var hitFile = strictObject({
4704
4706
  local_path: optional(text)
4705
4707
  });
4706
4708
 
4707
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
4709
+ // node_modules/.pnpm/@wirecat+cli-core@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/batch-result.js
4708
4710
  var actionableError = objectWithRest({
4709
4711
  code: text,
4710
4712
  message: text,
@@ -4721,7 +4723,7 @@ var batchResult = strictObject({
4721
4723
  max_error_percent: count
4722
4724
  });
4723
4725
 
4724
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
4726
+ // node_modules/.pnpm/@wirecat+cli-core@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/extraction-report.js
4725
4727
  var extractionItem = strictObject({
4726
4728
  ref: reference,
4727
4729
  attachment: count,
@@ -4754,7 +4756,7 @@ var extractionReport = strictObject({
4754
4756
  cursor: optional(text)
4755
4757
  });
4756
4758
 
4757
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
4759
+ // node_modules/.pnpm/@wirecat+cli-core@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/attachment-results.js
4758
4760
  var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
4759
4761
  var attachmentBytes = strictObject({
4760
4762
  ref: reference,
@@ -4785,7 +4787,7 @@ var attachmentTextChange = strictObject({
4785
4787
  text: optional(text)
4786
4788
  });
4787
4789
 
4788
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
4790
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
4789
4791
  var WEIGHTS = {
4790
4792
  bot: 3,
4791
4793
  scam: 3,
@@ -4810,7 +4812,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
4810
4812
  var DIGITS = /\d{5,}/;
4811
4813
  var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
4812
4814
 
4813
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
4815
+ // node_modules/.pnpm/@wirecat+cli-core@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/contact-activity.js
4814
4816
  var linkedIdentity = strictObject({
4815
4817
  provider: text,
4816
4818
  id,
@@ -4865,7 +4867,7 @@ var contactCheck = strictObject({
4865
4867
  checked_at: time
4866
4868
  });
4867
4869
 
4868
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/member.js
4870
+ // node_modules/.pnpm/@wirecat+cli-core@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/member.js
4869
4871
  var member = strictObject({
4870
4872
  id,
4871
4873
  name: nullable(text),
@@ -4888,7 +4890,7 @@ var member = strictObject({
4888
4890
  check: optional(record(string(), unknown()))
4889
4891
  });
4890
4892
 
4891
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/chat.js
4893
+ // node_modules/.pnpm/@wirecat+cli-core@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/chat.js
4892
4894
  var setting = optional(nullable(boolean()));
4893
4895
  var chat = strictObject({
4894
4896
  ref: reference,
@@ -4929,7 +4931,7 @@ var chat = strictObject({
4929
4931
  members: optional(array(member))
4930
4932
  });
4931
4933
 
4932
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/message.js
4934
+ // node_modules/.pnpm/@wirecat+cli-core@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/message.js
4933
4935
  var quoted = strictObject({
4934
4936
  id,
4935
4937
  sender_id: nullable(id),
@@ -5048,7 +5050,7 @@ var message = strictObject({
5048
5050
  provider_metadata: providerMetadata
5049
5051
  });
5050
5052
 
5051
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
5053
+ // node_modules/.pnpm/@wirecat+cli-core@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/recorded-meeting.js
5052
5054
  var recordedMeeting = strictObject({
5053
5055
  ref: reference,
5054
5056
  meeting_id: count,
@@ -5061,7 +5063,7 @@ var recordedMeeting = strictObject({
5061
5063
  people: array(reference)
5062
5064
  });
5063
5065
 
5064
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
5066
+ // node_modules/.pnpm/@wirecat+cli-core@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/contact-context.js
5065
5067
  var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
5066
5068
  var contextMessage = strictObject({
5067
5069
  locator: reference,
@@ -5267,7 +5269,7 @@ var contactPreparation = strictObject({
5267
5269
  })
5268
5270
  });
5269
5271
 
5270
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/deal.js
5272
+ // node_modules/.pnpm/@wirecat+cli-core@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/deal.js
5271
5273
  var nullableText = nullable(text);
5272
5274
  var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
5273
5275
  var outcome = picklist(["open", "won", "lost"]);
@@ -5378,7 +5380,7 @@ var stage = strictObject({
5378
5380
  untrusted
5379
5381
  });
5380
5382
 
5381
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/business-context.js
5383
+ // node_modules/.pnpm/@wirecat+cli-core@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/business-context.js
5382
5384
  var nullableText2 = nullable(text);
5383
5385
  var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
5384
5386
  var standing = picklist(STANDINGS);
@@ -5552,7 +5554,7 @@ var dealBrief = strictObject({
5552
5554
  not_read: coverage2.entries.not_read
5553
5555
  });
5554
5556
 
5555
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/chart.js
5557
+ // node_modules/.pnpm/@wirecat+cli-core@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/chart.js
5556
5558
  var chart = strictObject({
5557
5559
  version: literal(1),
5558
5560
  kind: picklist(["bar", "line", "grouped-bar"]),
@@ -5567,7 +5569,7 @@ var chart = strictObject({
5567
5569
  file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
5568
5570
  });
5569
5571
 
5570
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/folder.js
5572
+ // node_modules/.pnpm/@wirecat+cli-core@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/folder.js
5571
5573
  var named = strictObject({
5572
5574
  id,
5573
5575
  title: nullable(text),
@@ -5590,7 +5592,7 @@ var folder = strictObject({
5590
5592
  excluded_chats: optional(array(named))
5591
5593
  });
5592
5594
 
5593
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
5595
+ // node_modules/.pnpm/@wirecat+cli-core@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/invite-link.js
5594
5596
  var inviteLink = strictObject({
5595
5597
  link: text,
5596
5598
  /** Who joins by it asks first, and an admin lets them in. */
@@ -5606,7 +5608,7 @@ var inviteLink = strictObject({
5606
5608
  joined_count: optional(count)
5607
5609
  });
5608
5610
 
5609
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
5611
+ // node_modules/.pnpm/@wirecat+cli-core@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/chat-admin.js
5610
5612
  var operated = { operation_id: id, chat_id: id };
5611
5613
  var group = strictObject({
5612
5614
  ...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
@@ -5686,7 +5688,7 @@ var chatFolderOrder = strictObject({
5686
5688
  folders: array(strictObject({ id, title: text }))
5687
5689
  });
5688
5690
 
5689
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
5691
+ // node_modules/.pnpm/@wirecat+cli-core@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/chat-change.js
5690
5692
  var operated2 = { operation_id: id, chat_id: id };
5691
5693
  var chatRemoval = strictObject(operated2);
5692
5694
  var chatMuting = strictObject({
@@ -5697,7 +5699,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
5697
5699
  var chatPin = strictObject({ ...operated2, pinned: boolean() });
5698
5700
  var chatUnread = strictObject({ ...operated2, unread: literal(true) });
5699
5701
 
5700
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
5702
+ // node_modules/.pnpm/@wirecat+cli-core@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/chat-event.js
5701
5703
  var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
5702
5704
  var chatEvent = strictObject({
5703
5705
  chat_id: id,
@@ -5714,7 +5716,7 @@ var chatEvent = strictObject({
5714
5716
  before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
5715
5717
  });
5716
5718
 
5717
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
5719
+ // node_modules/.pnpm/@wirecat+cli-core@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/chat-metadata.js
5718
5720
  var chatMetadata = strictObject({
5719
5721
  chat_id: id,
5720
5722
  title: nullable(text),
@@ -5729,7 +5731,7 @@ var chatMetadataRefresh = strictObject({
5729
5731
  has_more: boolean()
5730
5732
  });
5731
5733
 
5732
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
5734
+ // node_modules/.pnpm/@wirecat+cli-core@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/chat-moderation.js
5733
5735
  var action = picklist(["report", "delete", "remove"]);
5734
5736
  var level = picklist(["deny", "readonly", "ask", "allow"]);
5735
5737
  var chatRules = strictObject({
@@ -5766,7 +5768,7 @@ var chatModeration = strictObject({
5766
5768
  }))
5767
5769
  });
5768
5770
 
5769
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
5771
+ // node_modules/.pnpm/@wirecat+cli-core@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/chat-stats.js
5770
5772
  var optionalCount = optional(count);
5771
5773
  var minutes = nullable(number());
5772
5774
  var chatStats = strictObject({
@@ -5842,7 +5844,7 @@ var taskStats = strictObject({
5842
5844
  }))
5843
5845
  });
5844
5846
 
5845
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
5847
+ // node_modules/.pnpm/@wirecat+cli-core@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/chat-tracking.js
5846
5848
  var memberCount = strictObject({
5847
5849
  day: pipe(text, isoDate()),
5848
5850
  participants: nullable(count),
@@ -5865,7 +5867,7 @@ var chatTracking = strictObject({
5865
5867
  tracked: boolean()
5866
5868
  });
5867
5869
 
5868
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
5870
+ // node_modules/.pnpm/@wirecat+cli-core@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/contact-read.js
5869
5871
  var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
5870
5872
  var contactSync = strictObject({ added: count, changed: count, known: count });
5871
5873
  var profileFields = {
@@ -5903,7 +5905,7 @@ var profileFields = {
5903
5905
  }))
5904
5906
  };
5905
5907
 
5906
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/contact.js
5908
+ // node_modules/.pnpm/@wirecat+cli-core@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/contact.js
5907
5909
  var contact = strictObject({
5908
5910
  ref: reference,
5909
5911
  id,
@@ -5934,7 +5936,7 @@ var contact = strictObject({
5934
5936
  notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
5935
5937
  });
5936
5938
 
5937
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
5939
+ // node_modules/.pnpm/@wirecat+cli-core@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/contact-note.js
5938
5940
  var contactNote = strictObject({
5939
5941
  id,
5940
5942
  /** The contact, as a `contact:` reference. */
@@ -5946,13 +5948,13 @@ var contactNote = strictObject({
5946
5948
  updated_at: time
5947
5949
  });
5948
5950
 
5949
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
5951
+ // node_modules/.pnpm/@wirecat+cli-core@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/contact-write.js
5950
5952
  var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
5951
5953
  var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
5952
5954
  var contactStateChange = strictObject({ operation_id: id, person_id: id });
5953
5955
  var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
5954
5956
 
5955
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/conversation.js
5957
+ // node_modules/.pnpm/@wirecat+cli-core@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/conversation.js
5956
5958
  var conversation = strictObject({
5957
5959
  id,
5958
5960
  chat: reference,
@@ -5967,7 +5969,7 @@ var conversation = strictObject({
5967
5969
  rules_version: count
5968
5970
  });
5969
5971
 
5970
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
5972
+ // node_modules/.pnpm/@wirecat+cli-core@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/conversation-preparation.js
5971
5973
  var conversationBuild = strictObject({
5972
5974
  chat: id,
5973
5975
  messages: count,
@@ -5992,7 +5994,7 @@ var catchUpPreparation = strictObject({
5992
5994
  prepared: optional(conversationPreparation)
5993
5995
  });
5994
5996
 
5995
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
5997
+ // node_modules/.pnpm/@wirecat+cli-core@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/conversation-results.js
5996
5998
  var conversationDetails = union([
5997
5999
  strictObject({ ...conversation.entries, messages: array(message) }),
5998
6000
  message
@@ -6082,7 +6084,7 @@ var conversationHit = strictObject({
6082
6084
  stale: boolean()
6083
6085
  });
6084
6086
 
6085
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/counters.js
6087
+ // node_modules/.pnpm/@wirecat+cli-core@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/counters.js
6086
6088
  var counters = strictObject({
6087
6089
  cutoff: time,
6088
6090
  max_age_ms: milliseconds,
@@ -6112,7 +6114,7 @@ var counterRefresh = strictObject({
6112
6114
  complete: optional(boolean())
6113
6115
  });
6114
6116
 
6115
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/document.js
6117
+ // node_modules/.pnpm/@wirecat+cli-core@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/document.js
6116
6118
  var document = strictObject({
6117
6119
  ref: reference,
6118
6120
  id,
@@ -6127,7 +6129,7 @@ var document = strictObject({
6127
6129
  owners: optional(array(text))
6128
6130
  });
6129
6131
 
6130
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/document-link.js
6132
+ // node_modules/.pnpm/@wirecat+cli-core@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/document-link.js
6131
6133
  var documentLink = strictObject({
6132
6134
  ref: reference,
6133
6135
  url: text,
@@ -6138,7 +6140,7 @@ var documentLink = strictObject({
6138
6140
  sender: strictObject({ id: nullable(id), name: nullable(text) })
6139
6141
  });
6140
6142
 
6141
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/evidence.js
6143
+ // node_modules/.pnpm/@wirecat+cli-core@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/evidence.js
6142
6144
  var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
6143
6145
  var contribution = strictObject({
6144
6146
  message: evidenceMessage,
@@ -6168,7 +6170,7 @@ var retentionStay = strictObject({
6168
6170
  });
6169
6171
  var evidence = union([contribution, retentionStay]);
6170
6172
 
6171
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/fact.js
6173
+ // node_modules/.pnpm/@wirecat+cli-core@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/fact.js
6172
6174
  var fact = strictObject({
6173
6175
  ref: reference,
6174
6176
  id,
@@ -6199,7 +6201,7 @@ var fact = strictObject({
6199
6201
  updated_at: time
6200
6202
  });
6201
6203
 
6202
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/hit.js
6204
+ // node_modules/.pnpm/@wirecat+cli-core@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/hit.js
6203
6205
  var hit = strictObject({
6204
6206
  kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead", ...BUSINESS_KINDS]),
6205
6207
  ref: reference,
@@ -6239,13 +6241,15 @@ var hit = strictObject({
6239
6241
  review: optional(picklist(["proposed", "confirmed"])),
6240
6242
  /** A business hit's record in the import that made it; absent for one the owner or an agent wrote. */
6241
6243
  source_record: optional(strictObject({ provider: text, account: text, external_id: text })),
6244
+ /** A document's: the meeting it is the transcript, recording or notes of. */
6245
+ meeting: optional(reference),
6242
6246
  /** A message's files; absent when it has none. */
6243
6247
  attachments: optional(array(hitFile)),
6244
6248
  /** Absent on a note hit: the owner wrote it. */
6245
6249
  untrusted
6246
6250
  });
6247
6251
 
6248
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/identity.js
6252
+ // node_modules/.pnpm/@wirecat+cli-core@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/identity.js
6249
6253
  var identity = strictObject({
6250
6254
  ref: reference,
6251
6255
  provider: text,
@@ -6261,7 +6265,7 @@ var identity = strictObject({
6261
6265
  person: optional(nullable(reference))
6262
6266
  });
6263
6267
 
6264
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
6268
+ // node_modules/.pnpm/@wirecat+cli-core@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/image-embedding.js
6265
6269
  var imageEmbedding = strictObject({
6266
6270
  model: text,
6267
6271
  embedded: count,
@@ -6270,13 +6274,13 @@ var imageEmbedding = strictObject({
6270
6274
  more: boolean()
6271
6275
  });
6272
6276
 
6273
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
6277
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
6274
6278
  import { spawn } from "node:child_process";
6275
6279
  import { randomBytes } from "node:crypto";
6276
6280
  import { closeSync, existsSync, mkdirSync, openSync, readdirSync, readFileSync, realpathSync, rmSync } from "node:fs";
6277
6281
  import { dirname, join } from "node:path";
6278
6282
 
6279
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
6283
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
6280
6284
  var progressOf = /* @__PURE__ */ __name((input) => {
6281
6285
  const total = input.total ?? null;
6282
6286
  const updated = input.updatedAt ?? null;
@@ -6292,7 +6296,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
6292
6296
  };
6293
6297
  }, "progressOf");
6294
6298
 
6295
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/runs/record-log.js
6299
+ // node_modules/.pnpm/@wirecat+cli-core@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/record-log.js
6296
6300
  var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
6297
6301
  const run = currentRun();
6298
6302
  const trace = traceId ?? run.traceId;
@@ -6306,7 +6310,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
6306
6310
  }));
6307
6311
  }, "recordLogFor");
6308
6312
 
6309
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
6313
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
6310
6314
  var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
6311
6315
  var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
6312
6316
  const out = openSync(log, "a", 384);
@@ -6461,7 +6465,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
6461
6465
  return { job: id6, pid, chat: input.chat, log };
6462
6466
  }, "startArchiveJob");
6463
6467
 
6464
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/job.js
6468
+ // node_modules/.pnpm/@wirecat+cli-core@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/job.js
6465
6469
  var problem = strictObject({ code: text, message: text });
6466
6470
  var job = strictObject({
6467
6471
  id,
@@ -6484,7 +6488,7 @@ var job = strictObject({
6484
6488
  error: optional(problem)
6485
6489
  });
6486
6490
 
6487
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/join-request.js
6491
+ // node_modules/.pnpm/@wirecat+cli-core@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/join-request.js
6488
6492
  var joinRequest = strictObject({
6489
6493
  person_id: id,
6490
6494
  name: nullable(text),
@@ -6495,7 +6499,7 @@ var joinRequest = strictObject({
6495
6499
  about: optional(text)
6496
6500
  });
6497
6501
 
6498
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/list-results.js
6502
+ // node_modules/.pnpm/@wirecat+cli-core@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/list-results.js
6499
6503
  var botProfile = strictObject({
6500
6504
  name: text,
6501
6505
  token: text,
@@ -6619,7 +6623,7 @@ var stickerInventory = strictObject({
6619
6623
  url: optional(nullable(text))
6620
6624
  });
6621
6625
 
6622
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
6626
+ // node_modules/.pnpm/@wirecat+cli-core@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/poll-vote.js
6623
6627
  var pollVote = strictObject({
6624
6628
  person_id: id,
6625
6629
  name: nullable(text),
@@ -6629,7 +6633,7 @@ var pollVote = strictObject({
6629
6633
  voted_at: time
6630
6634
  });
6631
6635
 
6632
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/listener.js
6636
+ // node_modules/.pnpm/@wirecat+cli-core@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/listener.js
6633
6637
  var reactions = unwrap(unwrap(message.entries.reactions));
6634
6638
  var observation = strictObject({
6635
6639
  value: pipe(number(), minValue(0)),
@@ -6671,7 +6675,7 @@ var serveSummary = strictObject({
6671
6675
  tasks: optional(strictObject({ added: count, closed: count, review: count }))
6672
6676
  });
6673
6677
 
6674
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
6678
+ // node_modules/.pnpm/@wirecat+cli-core@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/mail-counts.js
6675
6679
  var mailCounts = strictObject({
6676
6680
  by: picklist(["day", "week", "sender"]),
6677
6681
  received: count,
@@ -6686,7 +6690,7 @@ var mailCounts = strictObject({
6686
6690
  }))
6687
6691
  });
6688
6692
 
6689
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
6693
+ // node_modules/.pnpm/@wirecat+cli-core@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/mail-findings.js
6690
6694
  var evidence2 = strictObject({ reference, fingerprint: text });
6691
6695
  var base = { id, evidence: array(evidence2) };
6692
6696
  var finding = variant("kind", [
@@ -6830,7 +6834,7 @@ var mailFindings = strictObject({
6830
6834
  receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
6831
6835
  });
6832
6836
 
6833
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
6837
+ // node_modules/.pnpm/@wirecat+cli-core@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/media-archive.js
6834
6838
  var mediaArchive = strictObject({
6835
6839
  directory: text,
6836
6840
  chats: count,
@@ -6862,7 +6866,7 @@ var mediaArchiveTimer = union([
6862
6866
  strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
6863
6867
  ]);
6864
6868
 
6865
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
6869
+ // node_modules/.pnpm/@wirecat+cli-core@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/meeting-preparation-parts.js
6866
6870
  var preparationId = pipe(string(), minLength(1));
6867
6871
  var preparationCount = pipe(number(), integer(), minValue(0));
6868
6872
  var preparationTime = nullable(isoTime);
@@ -6954,7 +6958,7 @@ var preparationMeeting = strictObject({
6954
6958
  updated_at: isoTime
6955
6959
  });
6956
6960
 
6957
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
6961
+ // node_modules/.pnpm/@wirecat+cli-core@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/meeting-evidence.js
6958
6962
  var meetingEvidence = preparationEvidence;
6959
6963
  var meetingPersonContext = strictObject({
6960
6964
  person: strictObject({ uid: string(), name: nullable(string()) }),
@@ -6976,7 +6980,7 @@ var meetingPersonContext = strictObject({
6976
6980
  })
6977
6981
  });
6978
6982
 
6979
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
6983
+ // node_modules/.pnpm/@wirecat+cli-core@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/meeting-findings.js
6980
6984
  var evidence3 = strictObject({ reference, fingerprint: text });
6981
6985
  var base2 = { id, project: reference, evidence: array(evidence3) };
6982
6986
  var finding2 = variant("kind", [
@@ -7014,7 +7018,7 @@ var meetingFindings = strictObject({
7014
7018
  receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
7015
7019
  });
7016
7020
 
7017
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
7021
+ // node_modules/.pnpm/@wirecat+cli-core@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/meeting-communications.js
7018
7022
  var communicationCoverage = strictObject({
7019
7023
  read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
7020
7024
  query: string(),
@@ -7059,7 +7063,7 @@ var preparationCommunications = strictObject({
7059
7063
  }))
7060
7064
  });
7061
7065
 
7062
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
7066
+ // node_modules/.pnpm/@wirecat+cli-core@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/meeting-preparation.js
7063
7067
  var meetingPreparation = strictObject({
7064
7068
  communications: optional(preparationCommunications),
7065
7069
  schema_version: literal(1),
@@ -7172,7 +7176,7 @@ var meetingPreparation = strictObject({
7172
7176
  })
7173
7177
  });
7174
7178
 
7175
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
7179
+ // node_modules/.pnpm/@wirecat+cli-core@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/meeting-project-candidates.js
7176
7180
  var count3 = pipe(number(), integer(), minValue(0));
7177
7181
  var id3 = pipe(string(), minLength(1));
7178
7182
  var text3 = string();
@@ -7236,7 +7240,7 @@ var meetingProjectCandidates = strictObject({
7236
7240
  })
7237
7241
  });
7238
7242
 
7239
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
7243
+ // node_modules/.pnpm/@wirecat+cli-core@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/meeting-series-inventory.js
7240
7244
  var count4 = pipe(number(), integer(), minValue(0));
7241
7245
  var id4 = pipe(string(), minLength(1), maxLength(1e3));
7242
7246
  var meetingSeriesInventory = strictObject({
@@ -7266,7 +7270,7 @@ var meetingSeriesInventory = strictObject({
7266
7270
  })
7267
7271
  });
7268
7272
 
7269
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
7273
+ // node_modules/.pnpm/@wirecat+cli-core@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/meeting-task-proposal.js
7270
7274
  var text4 = string();
7271
7275
  var id5 = pipe(number(), integer(), minValue(1));
7272
7276
  var revision = picklist(["current", "superseded"]);
@@ -7283,7 +7287,7 @@ var meetingTaskProposal = strictObject({
7283
7287
  persistence: literal("proposal-only")
7284
7288
  });
7285
7289
 
7286
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/memory.js
7290
+ // node_modules/.pnpm/@wirecat+cli-core@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/memory.js
7287
7291
  var memory = strictObject({
7288
7292
  ref: reference,
7289
7293
  id,
@@ -7311,7 +7315,7 @@ var memory = strictObject({
7311
7315
  updated_at: time
7312
7316
  });
7313
7317
 
7314
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/mention.js
7318
+ // node_modules/.pnpm/@wirecat+cli-core@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/mention.js
7315
7319
  var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
7316
7320
  var status = picklist(["found", "linked", "proposed", "dismissed"]);
7317
7321
  var mention = strictObject({
@@ -7355,13 +7359,13 @@ var mentionRebuild = strictObject({
7355
7359
  mentions: count
7356
7360
  });
7357
7361
 
7358
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/message-change.js
7362
+ // node_modules/.pnpm/@wirecat+cli-core@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/message-change.js
7359
7363
  var operated3 = { operation_id: id, chat_id: id };
7360
7364
  var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
7361
7365
  var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
7362
7366
  var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
7363
7367
 
7364
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/message-read.js
7368
+ // node_modules/.pnpm/@wirecat+cli-core@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/message-read.js
7365
7369
  var messageTranscript = strictObject({
7366
7370
  message_id: id,
7367
7371
  text,
@@ -7419,7 +7423,7 @@ var evidencePacket = strictObject({
7419
7423
  }))
7420
7424
  });
7421
7425
 
7422
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/message-context.js
7426
+ // node_modules/.pnpm/@wirecat+cli-core@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/message-context.js
7423
7427
  var messageThread = strictObject({
7424
7428
  ref: reference,
7425
7429
  chat: id,
@@ -7436,7 +7440,7 @@ var messageThread = strictObject({
7436
7440
  });
7437
7441
  var messageContext = union([message, messageThread]);
7438
7442
 
7439
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
7443
+ // node_modules/.pnpm/@wirecat+cli-core@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/message-counts.js
7440
7444
  var messageCounts = strictObject({
7441
7445
  by: picklist(["chat", "sender", "day", "hour"]),
7442
7446
  total: count,
@@ -7449,7 +7453,7 @@ var messageCounts = strictObject({
7449
7453
  }))
7450
7454
  });
7451
7455
 
7452
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/message-link.js
7456
+ // node_modules/.pnpm/@wirecat+cli-core@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/message-link.js
7453
7457
  var messageLink = strictObject({
7454
7458
  ref: reference,
7455
7459
  url: nullable(text),
@@ -7466,7 +7470,7 @@ var messageLink = strictObject({
7466
7470
  })))
7467
7471
  });
7468
7472
 
7469
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
7473
+ // node_modules/.pnpm/@wirecat+cli-core@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/message-transfer.js
7470
7474
  var savedMessageFile = strictObject({
7471
7475
  kind: text,
7472
7476
  path: text,
@@ -7553,7 +7557,7 @@ var messageSyncAll = strictObject({
7553
7557
  var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
7554
7558
  var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
7555
7559
 
7556
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/message-write.js
7560
+ // node_modules/.pnpm/@wirecat+cli-core@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/message-write.js
7557
7561
  var messageWrite = strictObject({
7558
7562
  operation_id: id,
7559
7563
  message,
@@ -7568,7 +7572,7 @@ var draftWrite = strictObject({
7568
7572
  });
7569
7573
  var messageSend = union([messageWrite, draftWrite]);
7570
7574
 
7571
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/model.js
7575
+ // node_modules/.pnpm/@wirecat+cli-core@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/model.js
7572
7576
  var model = strictObject({
7573
7577
  id,
7574
7578
  kind: picklist(["audio", "text", "image", "reranker"]),
@@ -7603,7 +7607,7 @@ var chosenModel = strictObject({
7603
7607
  estimate_seconds: nullable(count)
7604
7608
  });
7605
7609
 
7606
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/model-key.js
7610
+ // node_modules/.pnpm/@wirecat+cli-core@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/model-key.js
7607
7611
  var source = picklist(["environment", "keyring", "file"]);
7608
7612
  var modelKey = strictObject({
7609
7613
  provider: text,
@@ -7613,7 +7617,7 @@ var modelKey = strictObject({
7613
7617
  var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
7614
7618
  var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
7615
7619
 
7616
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
7620
+ // node_modules/.pnpm/@wirecat+cli-core@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/official-stats.js
7617
7621
  var versus = strictObject({ current: number(), previous: number() });
7618
7622
  var person = { person_ref: reference, name: nullable(text) };
7619
7623
  var graph = strictObject({
@@ -7647,14 +7651,14 @@ var officialStats = strictObject({
7647
7651
  graphs: record(string(), union([graph, strictObject({ error: text })]))
7648
7652
  });
7649
7653
 
7650
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/person.js
7654
+ // node_modules/.pnpm/@wirecat+cli-core@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/person.js
7651
7655
  var person2 = strictObject({
7652
7656
  ref: reference,
7653
7657
  name: nullable(text),
7654
7658
  identities: optional(array(identity))
7655
7659
  });
7656
7660
 
7657
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/poll.js
7661
+ // node_modules/.pnpm/@wirecat+cli-core@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/poll.js
7658
7662
  var poll = strictObject({
7659
7663
  chat_id: id,
7660
7664
  message_id: id,
@@ -7670,11 +7674,11 @@ var poll = strictObject({
7670
7674
  });
7671
7675
  var pollChange = strictObject({ operation_id: id, poll });
7672
7676
 
7673
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
7677
+ // node_modules/.pnpm/@wirecat+cli-core@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/private-contact.js
7674
7678
  var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
7675
7679
  var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
7676
7680
 
7677
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/ranking.js
7681
+ // node_modules/.pnpm/@wirecat+cli-core@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/ranking.js
7678
7682
  var figures = record(string(), number());
7679
7683
  var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
7680
7684
  var rankingRow = strictObject({
@@ -7721,7 +7725,7 @@ var ranking = strictObject({
7721
7725
  rows: array(rankingRow)
7722
7726
  });
7723
7727
 
7724
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/reaction.js
7728
+ // node_modules/.pnpm/@wirecat+cli-core@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/reaction.js
7725
7729
  var reaction = strictObject({
7726
7730
  person: strictObject({ id, name: nullable(text), username: nullable(text) }),
7727
7731
  /** The emoji, or `custom:<id>` for a custom one. */
@@ -7729,7 +7733,7 @@ var reaction = strictObject({
7729
7733
  reacted_at: time
7730
7734
  });
7731
7735
 
7732
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
7736
+ // node_modules/.pnpm/@wirecat+cli-core@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/reaction-change.js
7733
7737
  var reactionChange = strictObject({
7734
7738
  operation_id: id,
7735
7739
  chat_id: id,
@@ -7737,7 +7741,7 @@ var reactionChange = strictObject({
7737
7741
  reaction: nullable(text)
7738
7742
  });
7739
7743
 
7740
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/recipient.js
7744
+ // node_modules/.pnpm/@wirecat+cli-core@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/recipient.js
7741
7745
  var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
7742
7746
  var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
7743
7747
  var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
@@ -7748,7 +7752,7 @@ var recipientChange = strictObject({
7748
7752
  ...partial(recipientOff).entries
7749
7753
  });
7750
7754
 
7751
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
7755
+ // node_modules/.pnpm/@wirecat+cli-core@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/recorded-run.js
7752
7756
  var events = array(record(string(), unknown()));
7753
7757
  var recordedRun = strictObject({
7754
7758
  run_id: id,
@@ -7820,7 +7824,7 @@ var runHit = strictObject({
7820
7824
  });
7821
7825
  var runLocation = strictObject({ path: text });
7822
7826
 
7823
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/relationship.js
7827
+ // node_modules/.pnpm/@wirecat+cli-core@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/relationship.js
7824
7828
  var relationship = strictObject({
7825
7829
  id,
7826
7830
  from: reference,
@@ -7847,7 +7851,7 @@ var relationship = strictObject({
7847
7851
  created_at: time
7848
7852
  });
7849
7853
 
7850
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
7854
+ // node_modules/.pnpm/@wirecat+cli-core@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/reply-stats.js
7851
7855
  var milliseconds2 = nullable(pipe(number(), minValue(0)));
7852
7856
  var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
7853
7857
  var responseTimes = strictObject({
@@ -7864,7 +7868,7 @@ var waitingChats = strictObject({
7864
7868
  by_kind: strictObject({ private: count, group: count })
7865
7869
  });
7866
7870
 
7867
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/retention.js
7871
+ // node_modules/.pnpm/@wirecat+cli-core@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/retention.js
7868
7872
  var retentionCohort = strictObject({
7869
7873
  /** The first day of the joining day or week. */
7870
7874
  cohort: text,
@@ -7912,7 +7916,7 @@ var retention = strictObject({
7912
7916
  rows: array(retentionCohort)
7913
7917
  });
7914
7918
 
7915
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
7919
+ // node_modules/.pnpm/@wirecat+cli-core@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/saved-search.js
7916
7920
  var savedSearch = strictObject({
7917
7921
  id,
7918
7922
  /** `null` for a run in the history. */
@@ -7929,7 +7933,7 @@ var savedSearch = strictObject({
7929
7933
  });
7930
7934
  var searchHistoryClear = strictObject({ cleared: count });
7931
7935
 
7932
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
7936
+ // node_modules/.pnpm/@wirecat+cli-core@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/send-attempt.js
7933
7937
  var sendAttempt = strictObject({
7934
7938
  at: time,
7935
7939
  profile: text,
@@ -7957,7 +7961,7 @@ var sendAttempt = strictObject({
7957
7961
  error_code: optional(text)
7958
7962
  });
7959
7963
 
7960
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
7964
+ // node_modules/.pnpm/@wirecat+cli-core@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/store-maintenance.js
7961
7965
  var absent = strictObject({ path: text, exists: literal(false) });
7962
7966
  var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
7963
7967
  var infoSchema = strictObject({
@@ -8187,7 +8191,7 @@ var storeRepair = union([
8187
8191
  ]);
8188
8192
  var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
8189
8193
 
8190
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/store-records.js
8194
+ // node_modules/.pnpm/@wirecat+cli-core@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/store-records.js
8191
8195
  var range = strictObject({ from: number(), to: number() });
8192
8196
  var storeChatStatus = strictObject({
8193
8197
  chat_id: id,
@@ -8285,7 +8289,7 @@ var storeJobRetry = union([
8285
8289
  ]);
8286
8290
  var storeJobClear = strictObject({ cleared: array(id) });
8287
8291
 
8288
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/store-table.js
8292
+ // node_modules/.pnpm/@wirecat+cli-core@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/store-table.js
8289
8293
  var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
8290
8294
  var storeTable = strictObject({
8291
8295
  name: text,
@@ -8294,7 +8298,7 @@ var storeTable = strictObject({
8294
8298
  bytes: optional(nullable(count))
8295
8299
  });
8296
8300
 
8297
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
8301
+ // node_modules/.pnpm/@wirecat+cli-core@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/tag-change.js
8298
8302
  var tagTarget = variant("type", [
8299
8303
  strictObject({ type: literal("chat"), chat_id: id }),
8300
8304
  strictObject({ type: literal("contact"), person_id: id }),
@@ -8325,7 +8329,7 @@ var automaticTags = strictObject({
8325
8329
  dry_run: boolean()
8326
8330
  });
8327
8331
 
8328
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/tagging.js
8332
+ // node_modules/.pnpm/@wirecat+cli-core@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/tagging.js
8329
8333
  var tagging = strictObject({
8330
8334
  tag: text,
8331
8335
  type: picklist(TAG_TYPES),
@@ -8338,7 +8342,7 @@ var tagging = strictObject({
8338
8342
  created_at: time
8339
8343
  });
8340
8344
 
8341
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
8345
+ // node_modules/.pnpm/@wirecat+cli-core@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/task-pair.js
8342
8346
  var side = strictObject({ ref: reference, key: text, title: text, status: text });
8343
8347
  var taskPair = strictObject({
8344
8348
  task: nullable(side),
@@ -8361,7 +8365,7 @@ var taskPair = strictObject({
8361
8365
  created_at: time
8362
8366
  });
8363
8367
 
8364
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/task-results.js
8368
+ // node_modules/.pnpm/@wirecat+cli-core@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/task-results.js
8365
8369
  var nullableTime = nullable(time);
8366
8370
  var link = strictObject({
8367
8371
  id,
@@ -8535,7 +8539,7 @@ var taskReview = strictObject({
8535
8539
  untrusted
8536
8540
  });
8537
8541
 
8538
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/template.js
8542
+ // node_modules/.pnpm/@wirecat+cli-core@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/template.js
8539
8543
  var template = strictObject({
8540
8544
  key: text,
8541
8545
  channel: picklist(["telegram", "email", "text"]),
@@ -8547,7 +8551,7 @@ var template = strictObject({
8547
8551
  updated_by: nullable(text)
8548
8552
  });
8549
8553
 
8550
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/topic.js
8554
+ // node_modules/.pnpm/@wirecat+cli-core@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/topic.js
8551
8555
  var topic = strictObject({
8552
8556
  id,
8553
8557
  title: text,
@@ -8561,7 +8565,7 @@ var topic = strictObject({
8561
8565
  untrusted
8562
8566
  });
8563
8567
 
8564
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/index.js
8568
+ // node_modules/.pnpm/@wirecat+cli-core@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/index.js
8565
8569
  var ENTITIES = {
8566
8570
  sync_progress: progress,
8567
8571
  deal,
@@ -8856,7 +8860,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
8856
8860
  return [name, definition];
8857
8861
  })), "entityDefinitions");
8858
8862
 
8859
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
8863
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
8860
8864
  var schemas = /* @__PURE__ */ new WeakMap();
8861
8865
  var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
8862
8866
  if (Object.hasOwn(ENTITIES, name))
@@ -8890,7 +8894,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
8890
8894
  return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
8891
8895
  }, "answerRow");
8892
8896
 
8893
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
8897
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
8894
8898
  import { AsyncLocalStorage } from "node:async_hooks";
8895
8899
  var requests = new AsyncLocalStorage();
8896
8900
  var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
@@ -8905,7 +8909,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
8905
8909
  return direct;
8906
8910
  }, "exitCodeSet");
8907
8911
 
8908
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/sends/guarded.js
8912
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/sends/guarded.js
8909
8913
  import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
8910
8914
  var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
8911
8915
  messageId: message2.id,
@@ -9011,7 +9015,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
9011
9015
  }, "guardedWrite");
9012
9016
  var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
9013
9017
 
9014
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
9018
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
9015
9019
  var named2 = /* @__PURE__ */ __name((work) => {
9016
9020
  try {
9017
9021
  return work();
@@ -9038,7 +9042,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named2(() => {
9038
9042
  return projectFields(value, fields);
9039
9043
  }), "projectFields");
9040
9044
 
9041
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/execution.js
9045
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/cli/execution.js
9042
9046
  var DEFAULT_COMMAND_MS = 3e4;
9043
9047
  var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
9044
9048
  var DEFAULT_SYNC_MS = 15 * 6e4;
@@ -9221,7 +9225,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
9221
9225
  }
9222
9226
  }, "withAbort");
9223
9227
 
9224
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
9228
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
9225
9229
  import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync as readFileSync2 } from "node:fs";
9226
9230
  import { join as join2 } from "node:path";
9227
9231
  var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
@@ -9310,7 +9314,7 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
9310
9314
  return readdirSync2(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
9311
9315
  }, "registryProfiles");
9312
9316
 
9313
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
9317
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
9314
9318
  import { existsSync as existsSync3, readdirSync as readdirSync3, readFileSync as readFileSync3 } from "node:fs";
9315
9319
  import { join as join3 } from "node:path";
9316
9320
  var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
@@ -9332,7 +9336,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
9332
9336
  }, "profilesWithAccounts");
9333
9337
  var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
9334
9338
 
9335
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/output-detail.js
9339
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/output-detail.js
9336
9340
  var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
9337
9341
  var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
9338
9342
  var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
@@ -9368,7 +9372,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
9368
9372
  return value;
9369
9373
  }, "atDetail");
9370
9374
 
9371
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/output.js
9375
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/output.js
9372
9376
  var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
9373
9377
  const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
9374
9378
  if (other)
@@ -9432,7 +9436,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
9432
9436
  }, "warn")
9433
9437
  }), "silence");
9434
9438
 
9435
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/runs/log-events.js
9439
+ // node_modules/.pnpm/@wirecat+cli-core@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-events.js
9436
9440
  var CORE_LOG_EVENTS = defineLogEvents([
9437
9441
  { id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
9438
9442
  { id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
@@ -9470,7 +9474,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
9470
9474
  progress: "sync.progress"
9471
9475
  };
9472
9476
 
9473
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/runs/recording.js
9477
+ // node_modules/.pnpm/@wirecat+cli-core@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/recording.js
9474
9478
  var recorded = /* @__PURE__ */ __name(async (options, body) => {
9475
9479
  const recording = startRecording(options);
9476
9480
  try {
@@ -9685,7 +9689,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
9685
9689
  return void 0;
9686
9690
  }, "partialOutcome");
9687
9691
 
9688
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/deadline.js
9692
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/cli/deadline.js
9689
9693
  var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
9690
9694
  if (ms2 === void 0)
9691
9695
  return body();
@@ -9711,7 +9715,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
9711
9715
  }
9712
9716
  }, "withDeadline");
9713
9717
 
9714
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/profile.js
9718
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/cli/profile.js
9715
9719
  var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
9716
9720
  var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
9717
9721
  var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
@@ -9780,10 +9784,10 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
9780
9784
  return void 0;
9781
9785
  }, "sampleCommand");
9782
9786
 
9783
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/settings.js
9787
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/cli/settings.js
9784
9788
  import { existsSync as existsSync6 } from "node:fs";
9785
9789
 
9786
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/models/settings.js
9790
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/models/settings.js
9787
9791
  var MODEL_FIELDS = ["provider", "model", "base_url"];
9788
9792
  var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
9789
9793
  provider: optional(picklist(["off", "openai", "anthropic"])),
@@ -9852,7 +9856,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
9852
9856
  };
9853
9857
  }, "modelTarget");
9854
9858
 
9855
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/analysis/settings.js
9859
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/analysis/settings.js
9856
9860
  var model2 = pipe(string(), trim(), minLength(1), maxLength(200));
9857
9861
  var url2 = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
9858
9862
  var AI_FIELDS = {
@@ -9896,7 +9900,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
9896
9900
  };
9897
9901
  }, "resolveAISettings");
9898
9902
 
9899
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/domain/duration.js
9903
+ // node_modules/.pnpm/@wirecat+cli-core@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/duration.js
9900
9904
  var DURATION = /^(\d+)(ms|s|m|h|d)$/;
9901
9905
  var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
9902
9906
  var parseDuration = /* @__PURE__ */ __name((value, source2) => {
@@ -9910,7 +9914,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
9910
9914
  return ms2;
9911
9915
  }, "parseDuration");
9912
9916
 
9913
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/embeddings/models.js
9917
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/embeddings/models.js
9914
9918
  import { existsSync as existsSync4 } from "node:fs";
9915
9919
  import { join as join4 } from "node:path";
9916
9920
  var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
@@ -10187,7 +10191,7 @@ var vectorModelKey = /* @__PURE__ */ __name((model3) => {
10187
10191
  }, "vectorModelKey");
10188
10192
  var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
10189
10193
 
10190
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/services/history-limits.js
10194
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/services/history-limits.js
10191
10195
  var HISTORY_MAX_DAYS = 1095;
10192
10196
  var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
10193
10197
  var DAY_MS = 24 * 60 * 60 * 1e3;
@@ -10234,251 +10238,8 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
10234
10238
  return { batch: { ...batch, messages }, skipped };
10235
10239
  }, "limitBatch");
10236
10240
 
10237
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
10241
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
10238
10242
  import { readFileSync as readFileSync4 } from "node:fs";
10239
-
10240
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
10241
- var REPAIR_WORDS = {
10242
- byte_order_mark: "an invisible byte-order mark at the start",
10243
- comment: "a comment, which JSON does not allow",
10244
- trailing_comma: "a comma before a closing bracket",
10245
- missing_comma: "a missing comma",
10246
- unquoted_key: "a key without double quotes",
10247
- single_quotes: "text in single quotes",
10248
- missing_closer: "the file stops before its closing brackets \u2014 whatever followed this line was already lost"
10249
- };
10250
- var GiveUp = class {
10251
- static {
10252
- __name(this, "GiveUp");
10253
- }
10254
- at;
10255
- why;
10256
- constructor(at2, why) {
10257
- this.at = at2;
10258
- this.why = why;
10259
- }
10260
- };
10261
- var NUMBER = /^-?(0|[1-9]\d*)(\.\d+)?([eE][+-]?\d+)?/;
10262
- var LITERAL = /^(true|false|null)/;
10263
- var KEY = /^[A-Za-z_$][\w$.-]*/;
10264
- var ENDS_VALUE = /^[\s,\]}/]?$/;
10265
- var repairConfigText = /* @__PURE__ */ __name((text5) => {
10266
- try {
10267
- JSON.parse(text5);
10268
- return { state: "valid" };
10269
- } catch {
10270
- }
10271
- const fixes = [];
10272
- const lineAt = /* @__PURE__ */ __name((offset) => text5.slice(0, offset).split("\n").length, "lineAt");
10273
- const fix = /* @__PURE__ */ __name((kind2, offset) => fixes.push({ kind: kind2, line: lineAt(offset) }), "fix");
10274
- const giveUp = /* @__PURE__ */ __name((why, offset = at2) => {
10275
- throw new GiveUp(offset, why);
10276
- }, "giveUp");
10277
- let at2 = 0;
10278
- let truncated = false;
10279
- let last = "open";
10280
- let lastEnd = 0;
10281
- const previous = /* @__PURE__ */ __name(() => last, "previous");
10282
- const skip = /* @__PURE__ */ __name(() => {
10283
- for (; ; ) {
10284
- while (/\s/.test(text5[at2] ?? ""))
10285
- at2++;
10286
- if (text5.startsWith("//", at2)) {
10287
- fix("comment", at2);
10288
- while (at2 < text5.length && text5[at2] !== "\n")
10289
- at2++;
10290
- } else if (text5.startsWith("/*", at2)) {
10291
- const end = text5.indexOf("*/", at2 + 2);
10292
- if (end < 0)
10293
- giveUp("a /* comment is never closed");
10294
- fix("comment", at2);
10295
- at2 = end + 2;
10296
- } else
10297
- return;
10298
- }
10299
- }, "skip");
10300
- const string2 = /* @__PURE__ */ __name(() => {
10301
- const quote = text5[at2];
10302
- const start = at2;
10303
- if (quote === "'")
10304
- fix("single_quotes", at2);
10305
- at2++;
10306
- let body = "";
10307
- for (; ; ) {
10308
- if (at2 >= text5.length)
10309
- giveUp("the file stops inside a quoted text", start);
10310
- const char = text5[at2];
10311
- if (char === quote)
10312
- break;
10313
- if (text5.charCodeAt(at2) < 32)
10314
- giveUp("a line break inside a quoted text");
10315
- if (char === "\\") {
10316
- const next = text5[at2 + 1] ?? "";
10317
- if (quote === "'" && next === "'")
10318
- body += "'";
10319
- else if (/^["\\/bfnrt]$/.test(next))
10320
- body += `\\${next}`;
10321
- else if (next === "u" && /^[0-9a-fA-F]{4}$/.test(text5.slice(at2 + 2, at2 + 6))) {
10322
- body += text5.slice(at2, at2 + 6);
10323
- at2 += 4;
10324
- } else
10325
- giveUp("an escape JSON has no meaning for");
10326
- at2 += 2;
10327
- continue;
10328
- }
10329
- body += char === '"' ? '\\"' : char;
10330
- at2++;
10331
- }
10332
- at2++;
10333
- return JSON.parse(`"${body}"`);
10334
- }, "string");
10335
- const key = /* @__PURE__ */ __name(() => {
10336
- const char = text5[at2] ?? "";
10337
- if (char === '"' || char === "'")
10338
- return string2();
10339
- const word = KEY.exec(text5.slice(at2))?.[0];
10340
- if (!word)
10341
- return giveUp("something other than a key where a key should be");
10342
- fix("unquoted_key", at2);
10343
- at2 += word.length;
10344
- return word;
10345
- }, "key");
10346
- const scalar = /* @__PURE__ */ __name(() => {
10347
- const char = text5[at2] ?? "";
10348
- if (char === '"' || char === "'")
10349
- return { json: JSON.stringify(string2()) };
10350
- const word = (NUMBER.exec(text5.slice(at2)) ?? LITERAL.exec(text5.slice(at2)))?.[0];
10351
- if (!word || !ENDS_VALUE.test(text5[at2 + word.length] ?? ""))
10352
- return giveUp("a value that is not JSON \u2014 text needs quotes, and only true, false and null go without");
10353
- if (at2 + word.length === text5.length && NUMBER.test(word))
10354
- giveUp("the file stops inside a number");
10355
- at2 += word.length;
10356
- return { json: word };
10357
- }, "scalar");
10358
- const members = /* @__PURE__ */ __name((close, one) => {
10359
- const out = [];
10360
- at2++;
10361
- last = "open";
10362
- let comma = -1;
10363
- for (; ; ) {
10364
- skip();
10365
- if (truncated)
10366
- return out;
10367
- if (at2 >= text5.length) {
10368
- if (previous() === "close")
10369
- giveUp("the file stops after a closing bracket, so which brackets are missing has two readings");
10370
- if (previous() === "comma")
10371
- fix("trailing_comma", comma);
10372
- fix("missing_closer", text5.length);
10373
- truncated = true;
10374
- return out;
10375
- }
10376
- const char = text5[at2];
10377
- if (char === close) {
10378
- if (previous() === "comma")
10379
- fix("trailing_comma", comma);
10380
- at2++;
10381
- last = "close";
10382
- return out;
10383
- }
10384
- if (char === "}" || char === "]")
10385
- giveUp(`a ${char} where ${close} should close`);
10386
- if (char === ",") {
10387
- if (previous() !== "value" && previous() !== "close")
10388
- giveUp("a comma with nothing before it");
10389
- comma = at2;
10390
- at2++;
10391
- last = "comma";
10392
- continue;
10393
- }
10394
- if (previous() === "value" || previous() === "close") {
10395
- if (lineAt(at2) === lineAt(lastEnd))
10396
- giveUp("two entries on one line with no comma between them");
10397
- fix("missing_comma", lastEnd);
10398
- }
10399
- out.push(one());
10400
- }
10401
- }, "members");
10402
- const value = /* @__PURE__ */ __name(() => {
10403
- const char = text5[at2] ?? "";
10404
- let node;
10405
- if (char === "{") {
10406
- const seen = /* @__PURE__ */ new Set();
10407
- node = {
10408
- object: members("}", () => {
10409
- const start = at2;
10410
- const name = key();
10411
- if (seen.has(name))
10412
- giveUp("a key appears twice in one object", start);
10413
- seen.add(name);
10414
- skip();
10415
- if (at2 >= text5.length)
10416
- giveUp("the file stops after a key, before its value");
10417
- if (text5[at2] !== ":")
10418
- giveUp("a key with no colon after it");
10419
- at2++;
10420
- skip();
10421
- if (at2 >= text5.length)
10422
- giveUp("the file stops after a key, before its value");
10423
- return [name, value()];
10424
- })
10425
- };
10426
- } else if (char === "[") {
10427
- node = {
10428
- array: members("]", () => {
10429
- return value();
10430
- })
10431
- };
10432
- } else
10433
- node = scalar();
10434
- if (!truncated) {
10435
- last = "json" in node ? "value" : "close";
10436
- lastEnd = at2;
10437
- }
10438
- return node;
10439
- }, "value");
10440
- try {
10441
- if (text5.includes("\0") || text5.includes(String.fromCharCode(65533)))
10442
- giveUp("the file is not text", 0);
10443
- if (text5.charCodeAt(0) === 65279) {
10444
- fix("byte_order_mark", 0);
10445
- at2 = 1;
10446
- }
10447
- skip();
10448
- if (text5[at2] !== "{")
10449
- giveUp(at2 >= text5.length ? "the file is empty" : "the file does not start with {");
10450
- const root = value();
10451
- skip();
10452
- if (at2 < text5.length)
10453
- giveUp("more text after the closing }");
10454
- const repaired = `${serialise(root, "")}
10455
- `;
10456
- JSON.parse(repaired);
10457
- return { state: "repaired", text: repaired, fixes };
10458
- } catch (error) {
10459
- if (!(error instanceof GiveUp))
10460
- throw error;
10461
- const before = text5.slice(0, error.at).split("\n");
10462
- return {
10463
- state: "refused",
10464
- line: before.length,
10465
- column: (before.at(-1)?.length ?? 0) + 1,
10466
- why: error.why
10467
- };
10468
- }
10469
- }, "repairConfigText");
10470
- var serialise = /* @__PURE__ */ __name((node, indent) => {
10471
- if ("json" in node)
10472
- return node.json;
10473
- const inner = `${indent} `;
10474
- const parts = "object" in node ? node.object.map(([name, item]) => `${inner}${JSON.stringify(name)}: ${serialise(item, inner)}`) : node.array.map((item) => `${inner}${serialise(item, inner)}`);
10475
- const [open, close] = "object" in node ? ["{", "}"] : ["[", "]"];
10476
- return parts.length === 0 ? `${open}${close}` : `${open}
10477
- ${parts.join(",\n")}
10478
- ${indent}${close}`;
10479
- }, "serialise");
10480
-
10481
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
10482
10243
  var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
10483
10244
  var SECTIONS = ["personal", "bot"];
10484
10245
  var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
@@ -10772,7 +10533,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
10772
10533
  return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
10773
10534
  }, "readConfigFile");
10774
10535
 
10775
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/default-config.js
10536
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/cli/default-config.js
10776
10537
  import { existsSync as existsSync5, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync } from "node:fs";
10777
10538
  import { dirname as dirname2, join as join5 } from "node:path";
10778
10539
  var DEFAULT_CONFIG = {
@@ -10801,7 +10562,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
10801
10562
  }
10802
10563
  __name(ensureDefaultConfig, "ensureDefaultConfig");
10803
10564
 
10804
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
10565
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
10805
10566
  var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
10806
10567
  var parentOf = /* @__PURE__ */ __name((config, key) => {
10807
10568
  const path2 = key.split(".");
@@ -10823,7 +10584,7 @@ var withSettingDefaults = /* @__PURE__ */ __name((raw, declared) => {
10823
10584
  return { config, added };
10824
10585
  }, "withSettingDefaults");
10825
10586
 
10826
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/settings.js
10587
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/cli/settings.js
10827
10588
  var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
10828
10589
  var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
10829
10590
  var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
@@ -11349,7 +11110,7 @@ var given = /* @__PURE__ */ __name((value) => {
11349
11110
  return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
11350
11111
  }, "given");
11351
11112
 
11352
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/context.js
11113
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/cli/context.js
11353
11114
  var setExitCode = /* @__PURE__ */ __name((command, code) => {
11354
11115
  const slot = environmentOf(command).exit;
11355
11116
  const request = commandServerRequest();
@@ -11479,7 +11240,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
11479
11240
  return words2.join(" ");
11480
11241
  }, "commandPath");
11481
11242
 
11482
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/effects.js
11243
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/cli/effects.js
11483
11244
  var REMOTE_READ = { remote: "read", local: "read" };
11484
11245
  var FETCH = { remote: "read", local: "write" };
11485
11246
  var REMOTE_WRITE = { remote: "write", local: "write" };
@@ -11541,6 +11302,12 @@ var fetchesOnly = /* @__PURE__ */ __name((command) => {
11541
11302
  const effects = metaOf(command).effects;
11542
11303
  return effects?.remote === "read" && effects.local === "write" && !STORE_WRITES.has(command) && !changesAuthority(command) && !OTHER_SERVICE.has(command) && !savesFiles(command);
11543
11304
  }, "fetchesOnly");
11305
+ var fetchesOnlyAt = /* @__PURE__ */ __name((root) => (path2) => {
11306
+ let at2 = root;
11307
+ for (const word of path2)
11308
+ at2 = at2?.commands.find((one) => one.name() === word);
11309
+ return at2 !== void 0 && fetchesOnly(at2);
11310
+ }, "fetchesOnlyAt");
11544
11311
  var FILE_OPTION = /* @__PURE__ */ new WeakMap();
11545
11312
  var writesFileOnlyWith = /* @__PURE__ */ __name((command, option) => {
11546
11313
  const flag2 = command.options.find((one) => one.attributeName() === option);
@@ -11612,7 +11379,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
11612
11379
  throw readOnlyRefusal(lock, what);
11613
11380
  }, "refuseUnderReadOnly");
11614
11381
 
11615
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/images/picture/models.js
11382
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/images/picture/models.js
11616
11383
  import { join as join6 } from "node:path";
11617
11384
  var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
11618
11385
  var IMAGE_MODELS = [
@@ -11666,7 +11433,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
11666
11433
  var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
11667
11434
  var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
11668
11435
 
11669
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/steps.js
11436
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/cli/steps.js
11670
11437
  var STEPS2 = defineSteps([
11671
11438
  ...STEPS,
11672
11439
  {
@@ -11956,7 +11723,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
11956
11723
  ].join(" ");
11957
11724
  }, "stepLine");
11958
11725
 
11959
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
11726
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
11960
11727
  var where = [{ field: "ref" }];
11961
11728
  var who2 = { field: ["who.owner", "who.name"], tag: "you" };
11962
11729
  var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
@@ -12048,7 +11815,7 @@ var STATUS_ROWS = {
12048
11815
  "status.failed": { columns: [{ field: "signal" }], text: ["why"] }
12049
11816
  };
12050
11817
 
12051
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/compact.js
11818
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/cli/compact.js
12052
11819
  var TEXT_CHARS = 400;
12053
11820
  var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
12054
11821
  var messageRow = {
@@ -12396,8 +12163,9 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
12396
12163
  } else if (isFields(body.item)) {
12397
12164
  const sections = shape.sections ?? {};
12398
12165
  const rest = Object.fromEntries(Object.entries(body.item).filter(([name]) => !Object.hasOwn(sections, name) && !shape.hidden?.includes(name)));
12399
- lines = blockOf(rest, chars, "", shape.whole).map(guarded);
12400
- let dates = [];
12166
+ const own = shape.oneLine ? rowsOfItems([rest], shape, clock, chars) : void 0;
12167
+ lines = own ? own.lines.filter((line) => line !== "") : blockOf(rest, chars, "", shape.whole).map(guarded);
12168
+ let dates = own?.dates ?? [];
12401
12169
  let drawn = [];
12402
12170
  for (const [name, entity] of Object.entries(sections)) {
12403
12171
  const list = body.item[name];
@@ -12408,13 +12176,14 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
12408
12176
  drawn = drawn.concat([`# ${[`${clean(name)}: ${list.length}`, ...header].join(" \xB7 ")}`], rows2);
12409
12177
  }
12410
12178
  const when = spanOf(dates, clock);
12411
- lines = lines.concat(when.length ? [`# ${when.join(" \xB7 ")}`] : [], drawn);
12179
+ const head = [...own?.header ?? [], ...when];
12180
+ lines = own ? (head.length ? [`# ${head.join(" \xB7 ")}`] : []).concat(lines, drawn) : lines.concat(when.length ? [`# ${when.join(" \xB7 ")}`] : [], drawn);
12412
12181
  } else if (present(body.item))
12413
12182
  lines = [guarded(cut(clean(String(body.item)), chars))];
12414
12183
  return lines.concat(footerOf(body)).join("\n");
12415
12184
  }, "compactText");
12416
12185
 
12417
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
12186
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
12418
12187
  var SOFT_OUTPUT_BYTES = 256 * 1024;
12419
12188
  var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
12420
12189
  var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
@@ -12472,7 +12241,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
12472
12241
  return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
12473
12242
  }, "largeAnswerSteps");
12474
12243
 
12475
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
12244
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
12476
12245
  var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
12477
12246
  var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
12478
12247
  var strip = /* @__PURE__ */ __name((value) => {
@@ -12486,7 +12255,7 @@ var strip = /* @__PURE__ */ __name((value) => {
12486
12255
  return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
12487
12256
  }, "strip");
12488
12257
 
12489
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
12258
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
12490
12259
  var OPEN = "\u27E6";
12491
12260
  var CLOSE = "\u27E7";
12492
12261
  var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
@@ -12570,7 +12339,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
12570
12339
  return result;
12571
12340
  }, "withFieldsMarked");
12572
12341
 
12573
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/envelope.js
12342
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/cli/envelope.js
12574
12343
  var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
12575
12344
  var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
12576
12345
  var listOf = /* @__PURE__ */ __name((command, input) => {
@@ -12880,8 +12649,6 @@ export {
12880
12649
  botFiles,
12881
12650
  ChatRegistry,
12882
12651
  registryProfiles,
12883
- REPAIR_WORDS,
12884
- repairConfigText,
12885
12652
  permissionIssues,
12886
12653
  withoutPath,
12887
12654
  publicIssue,
@@ -12925,6 +12692,8 @@ export {
12925
12692
  destroysNothing,
12926
12693
  admittedUnderLock,
12927
12694
  changesStore,
12695
+ fetchesOnly,
12696
+ fetchesOnlyAt,
12928
12697
  writesNewFileOnlyWith,
12929
12698
  fileOptionOf,
12930
12699
  readsOverMcpAt,