@wirecat/tg-cli 0.124.0 → 0.126.0

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