@wirecat/drive-cli 0.69.0 → 0.70.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 (217) hide show
  1. package/contracts/wirecat.json +14 -13
  2. package/dist/age.d.ts +0 -36
  3. package/dist/age.d.ts.map +1 -1
  4. package/dist/age.js +0 -22
  5. package/dist/age.js.map +1 -1
  6. package/dist/bin/drive.js +2 -2
  7. package/dist/bundle/{all-profiles-B4A737YW.js → all-profiles-FW3GK3QO.js} +13 -13
  8. package/dist/bundle/{anthropic-RZGPDESM.js → anthropic-QVKJT3II.js} +8 -8
  9. package/dist/bundle/{app-server-OWEW7DY5.js → app-server-QU73RD5R.js} +66 -58
  10. package/dist/bundle/{bun-V5QLYBZU.js → bun-5XCD5CBB.js} +2 -2
  11. package/dist/bundle/{bun-sqlite-KHLHXXGH.js → bun-sqlite-TIGSVNSV.js} +9 -9
  12. package/dist/bundle/{chunk-GK6KXBL6.js → chunk-2SBC4DVV.js} +4 -4
  13. package/dist/bundle/{chunk-E7URRFBB.js → chunk-3AHBZP33.js} +10 -15
  14. package/dist/bundle/{chunk-V4FMN5A6.js → chunk-3CHW7JGR.js} +17 -17
  15. package/dist/bundle/chunk-3TCMANIM.js +387 -0
  16. package/dist/bundle/{chunk-6EL5AVXX.js → chunk-3UWRAIWA.js} +4 -4
  17. package/dist/bundle/{chunk-2DS2TDGW.js → chunk-3UZ4OH22.js} +18 -18
  18. package/dist/bundle/{chunk-WQOGHND4.js → chunk-4WK26MPY.js} +1 -1
  19. package/dist/bundle/{chunk-AD7VI3XU.js → chunk-54BQWRJL.js} +7 -7
  20. package/dist/bundle/{chunk-EA2OB75T.js → chunk-54NDYVZA.js} +1 -1
  21. package/dist/bundle/{chunk-4YECZ6CN.js → chunk-5JTB4URG.js} +12 -12
  22. package/dist/bundle/{chunk-M4OP5ASJ.js → chunk-66PL7P4C.js} +1 -1
  23. package/dist/bundle/{chunk-BVVXYZSU.js → chunk-6BMTW5A6.js} +9 -9
  24. package/dist/bundle/{chunk-6D44YQ5X.js → chunk-6DPOWBKA.js} +6 -6
  25. package/dist/bundle/{chunk-AMQGKMLZ.js → chunk-7C5KENNU.js} +3 -3
  26. package/dist/bundle/chunk-7DJNURKV.js +823 -0
  27. package/dist/bundle/{chunk-5TK2YQCO.js → chunk-7IBENBCK.js} +2 -2
  28. package/dist/bundle/chunk-7QSRODXM.js +259 -0
  29. package/dist/bundle/{chunk-HCZYJMBP.js → chunk-ABZ2NYDT.js} +1 -1
  30. package/dist/bundle/{chunk-RLGQMMYE.js → chunk-AV5UKJZM.js} +35 -13
  31. package/dist/bundle/{chunk-533XOW74.js → chunk-BBFXQPKD.js} +3 -3
  32. package/dist/bundle/{chunk-ZUG67442.js → chunk-BBRMDMIR.js} +3 -3
  33. package/dist/bundle/{chunk-LRCSDAYK.js → chunk-BD2K2ONK.js} +4 -4
  34. package/dist/bundle/{chunk-CAQ5GW3A.js → chunk-BFKFKDPC.js} +1 -1
  35. package/dist/bundle/{chunk-OOIAJRKQ.js → chunk-BXPC5TFG.js} +2 -2
  36. package/dist/bundle/chunk-DHX27E5M.js +31 -0
  37. package/dist/bundle/{chunk-L342KHIZ.js → chunk-DR57KDAY.js} +6 -6
  38. package/dist/bundle/{chunk-XUHQ7DVT.js → chunk-DVI72ZQG.js} +1 -1
  39. package/dist/bundle/{chunk-N4ACIIQB.js → chunk-DVVUJ254.js} +2 -2
  40. package/dist/bundle/{chunk-MHXZ62CU.js → chunk-EDO5LZVF.js} +1 -1
  41. package/dist/bundle/{chunk-LUZRVBQR.js → chunk-EG62WVR2.js} +6 -6
  42. package/dist/bundle/{chunk-WNMPIRRF.js → chunk-F5KJWRF5.js} +3 -3
  43. package/dist/bundle/{chunk-U3RXH6RY.js → chunk-FADAOLGB.js} +4 -4
  44. package/dist/bundle/{chunk-4ZFO2CVH.js → chunk-FCSHWUMW.js} +5 -5
  45. package/dist/bundle/{chunk-GHFBT2ZM.js → chunk-FN3RXBO7.js} +6 -6
  46. package/dist/bundle/{chunk-GTDCP5OG.js → chunk-FONIFRYI.js} +4 -4
  47. package/dist/bundle/{chunk-IQ2QU2X6.js → chunk-FVTKFIQH.js} +981 -589
  48. package/dist/bundle/{chunk-F5UUJU6R.js → chunk-FYPW7NMH.js} +4 -4
  49. package/dist/bundle/{chunk-FIVFP53N.js → chunk-GA3URWIF.js} +1 -1
  50. package/dist/bundle/{chunk-HEBZCKMU.js → chunk-GAHIHE4K.js} +1778 -2232
  51. package/dist/bundle/{chunk-4J5GJJ2I.js → chunk-GJZSVSV3.js} +2 -2
  52. package/dist/bundle/{chunk-VUPWDCYV.js → chunk-GK3BJMGK.js} +1 -1
  53. package/dist/bundle/{chunk-6XNTELM5.js → chunk-GPDPEHYX.js} +1 -1
  54. package/dist/bundle/{chunk-CU6RATZH.js → chunk-GV5DGHSA.js} +4 -4
  55. package/dist/bundle/{chunk-JRFKCYMW.js → chunk-HHAZ6DCY.js} +23 -6
  56. package/dist/bundle/{chunk-OUM4ZO53.js → chunk-HK225DAG.js} +1 -1
  57. package/dist/bundle/{chunk-5SJZDEIO.js → chunk-HRATXUFH.js} +20 -20
  58. package/dist/bundle/{chunk-TZ75K6R7.js → chunk-HWUPU6WX.js} +8 -8
  59. package/dist/bundle/{chunk-3RLRJHAI.js → chunk-HYXXMSVD.js} +7688 -8301
  60. package/dist/bundle/{chunk-EL2E3ABX.js → chunk-I7YSHUPW.js} +13 -13
  61. package/dist/bundle/{chunk-EWUQIUTB.js → chunk-IFTX7AQU.js} +5 -5
  62. package/dist/bundle/{chunk-BBJVV4E2.js → chunk-IGNIUDI3.js} +61 -38
  63. package/dist/bundle/{chunk-7JKECODO.js → chunk-ILAQIBEO.js} +1 -11
  64. package/dist/bundle/{chunk-SY2HLH5R.js → chunk-KSJAFMU5.js} +57 -23
  65. package/dist/bundle/{chunk-PB6NWKH3.js → chunk-LINBDWJK.js} +2 -2
  66. package/dist/bundle/{chunk-CZ4UEXCE.js → chunk-LMJBQFW6.js} +6 -6
  67. package/dist/bundle/{chunk-IJCUAKR5.js → chunk-ML3R2UHV.js} +4 -4
  68. package/dist/bundle/{chunk-2Q4CB4EI.js → chunk-MXNQZAJQ.js} +2 -2
  69. package/dist/bundle/{chunk-WOUIHZRI.js → chunk-NP7LJATI.js} +15 -67
  70. package/dist/bundle/chunk-OY7TNUEC.js +16 -0
  71. package/dist/bundle/{chunk-2VFAXC6O.js → chunk-P77FL6RY.js} +18 -18
  72. package/dist/bundle/{chunk-I55XYREN.js → chunk-P7PLKNPX.js} +993 -2512
  73. package/dist/bundle/{chunk-3URYKAJP.js → chunk-PAPY6Q6H.js} +1 -1
  74. package/dist/bundle/{chunk-5B5NOAIA.js → chunk-PN4JYURZ.js} +45 -45
  75. package/dist/bundle/{chunk-ZBYKCVSV.js → chunk-PR7XD2DI.js} +2 -2
  76. package/dist/bundle/{chunk-UPCEHSIZ.js → chunk-Q5C6YKAY.js} +21 -16
  77. package/dist/bundle/{chunk-SEJBS7SI.js → chunk-QBAOIMVB.js} +1 -1
  78. package/dist/bundle/{chunk-KUQDBWPU.js → chunk-RCTOWLCD.js} +31 -32
  79. package/dist/bundle/{chunk-22SH77TG.js → chunk-REM5WHHQ.js} +64 -64
  80. package/dist/bundle/{chunk-Y2QVNVHK.js → chunk-RHSBXOQM.js} +1 -1
  81. package/dist/bundle/{chunk-3YKAFLXY.js → chunk-RLNZ7NX5.js} +2 -2
  82. package/dist/bundle/chunk-RQNRYF6D.js +170 -0
  83. package/dist/bundle/{chunk-PV3AWPHR.js → chunk-SONPLYV7.js} +5 -5
  84. package/dist/bundle/{chunk-RWQ7T4Y5.js → chunk-T5D4OGDC.js} +2 -2
  85. package/dist/bundle/{chunk-25FT44S3.js → chunk-TGS5VPJD.js} +282 -525
  86. package/dist/bundle/chunk-TNKQDS5A.js +335 -0
  87. package/dist/bundle/{chunk-NVDR72GP.js → chunk-VVN6GHAZ.js} +60 -81
  88. package/dist/bundle/{chunk-CDSB7WVG.js → chunk-WJK6KTCS.js} +8 -8
  89. package/dist/bundle/{chunk-T6X6EZ5N.js → chunk-WWE5GO6G.js} +3 -3
  90. package/dist/bundle/{chunk-SYUXKV2E.js → chunk-XOL346TJ.js} +2 -2
  91. package/dist/bundle/{chunk-T4FMXDDV.js → chunk-XZBA6FVH.js} +3 -3
  92. package/dist/bundle/chunk-YCL3SK4T.js +1978 -0
  93. package/dist/bundle/{chunk-XVH3WZSZ.js → chunk-YRUR3E3E.js} +53 -53
  94. package/dist/bundle/{chunk-QJGFQRTL.js → chunk-YZPE72GE.js} +12 -12
  95. package/dist/bundle/{chunk-O6PD7RZY.js → chunk-ZCXWV4XO.js} +4 -4
  96. package/dist/bundle/{chunk-376ZGVUZ.js → chunk-ZHZYGY5R.js} +4 -4
  97. package/dist/bundle/{cli-BS4L3HAP.js → cli-K4D4DIGQ.js} +88 -69
  98. package/dist/bundle/command-contract-V3F452QI.js +43 -0
  99. package/dist/bundle/{command-server-entry-CJ2CV7ZV.js → command-server-entry-WREK3QBB.js} +33 -30
  100. package/dist/bundle/decode-SEETPKBH.js +299 -0
  101. package/dist/bundle/{dispatch-WBEOHZDV.js → dispatch-SQCEURVK.js} +9 -9
  102. package/dist/bundle/drive.js +11 -11
  103. package/dist/bundle/{echarts-QIXLXS3G.js → echarts-WZ5RKFCX.js} +2 -2
  104. package/dist/bundle/{embed-YNZW5X6M.js → embed-B2UCRZZR.js} +9 -9
  105. package/dist/bundle/{embedder-LRC2PKTS.js → embedder-4R6Z7G7L.js} +12 -12
  106. package/dist/bundle/entry-ORZYRJ5N.js +25 -0
  107. package/dist/bundle/{failure-X6PSLVSO.js → failure-CYNXH3RQ.js} +4 -4
  108. package/dist/bundle/first-run-KAKA6KBY.js +31 -0
  109. package/dist/bundle/first-screen-R645UHRH.js +41 -0
  110. package/dist/bundle/google-BSO3YB7N.js +45 -0
  111. package/dist/bundle/{google-api-7JDZDCWE.js → google-api-SAND2F7L.js} +70 -62
  112. package/dist/bundle/grants-PLNFYARD.js +118 -0
  113. package/dist/bundle/{identity-E43WKN5F.js → identity-JVVGS4U6.js} +6 -6
  114. package/dist/bundle/{instructions-MD2RZT5Z.js → instructions-JSMTSB22.js} +1 -1
  115. package/dist/bundle/{login-RBDJPQAG.js → login-6WG3YBDU.js} +78 -70
  116. package/dist/bundle/{mcp-TDKGDB4V.js → mcp-VFIOZDVY.js} +2 -2
  117. package/dist/bundle/meeting-combined-SUKMFK3F.js +27 -0
  118. package/dist/bundle/meeting-model-S4YGKIFI.js +29 -0
  119. package/dist/bundle/meeting-semantic-5U7JQCFF.js +25 -0
  120. package/dist/bundle/{node-IEVT2FSJ.js → node-VJMVHOWD.js} +2 -2
  121. package/dist/bundle/{node-sqlite-IENH4TRX.js → node-sqlite-DCNT3HVE.js} +10 -10
  122. package/dist/bundle/oauth-KCMNQ3ZP.js +22 -0
  123. package/dist/bundle/{open-TZ5H7NYM.js → open-NFOEHVW7.js} +8 -8
  124. package/dist/bundle/{openai-XF2KB7W2.js → openai-D47WY7EC.js} +32 -30
  125. package/dist/bundle/{process-6Q23D3TO.js → process-Q2FRU5VA.js} +1 -1
  126. package/dist/bundle/{program-D5XWOHV5.js → program-T2AJJQEM.js} +1332 -1331
  127. package/dist/bundle/{prompt-KUC5D4GX.js → prompt-YJSDABXN.js} +8 -8
  128. package/dist/bundle/{reasons-KSYP5VDJ.js → reasons-WEHPCSJX.js} +5 -5
  129. package/dist/bundle/{recognize-DPFW7HO3.js → recognize-6OBEIEB3.js} +7 -7
  130. package/dist/bundle/{remote-MODTSUNH.js → remote-3SL2QJ7T.js} +13 -13
  131. package/dist/bundle/{rerank-JK7SERLE.js → rerank-L6F5SLIB.js} +10 -10
  132. package/dist/bundle/{serve-BV2WHZLW.js → serve-GYSWIWH4.js} +12 -12
  133. package/dist/bundle/server-BI46BSRE.js +80 -0
  134. package/dist/bundle/{server-N3WPEU7Z.js → server-GWWP3RIT.js} +54 -46
  135. package/dist/bundle/{services-SV6CFUCS.js → services-BDQBRXT5.js} +79 -54
  136. package/dist/bundle/{sqlite-runtime-RZ5PLZVQ.js → sqlite-runtime-ZSZGAUYB.js} +9 -9
  137. package/dist/bundle/{start-C6EXYXAL.js → start-BJ275RUK.js} +7 -7
  138. package/dist/bundle/{state-RAZIREVG.js → state-HLNGFI2T.js} +9 -9
  139. package/dist/bundle/{store-2DLGLYS6.js → store-I43KZNJW.js} +31 -26
  140. package/dist/bundle/{store-DQKJKX2G.js → store-OSRTGYGI.js} +23 -19
  141. package/dist/bundle/store-maintenance-command-FO7LEVSL.js +72 -0
  142. package/dist/bundle/tokens-DB7O7QNB.js +118 -0
  143. package/dist/catalog.d.ts +0 -28
  144. package/dist/catalog.d.ts.map +1 -1
  145. package/dist/catalog.js +0 -82
  146. package/dist/catalog.js.map +1 -1
  147. package/dist/commands/catalog.d.ts +3 -8
  148. package/dist/commands/catalog.d.ts.map +1 -1
  149. package/dist/commands/catalog.js +36 -109
  150. package/dist/commands/catalog.js.map +1 -1
  151. package/dist/commands/context.d.ts +3 -0
  152. package/dist/commands/context.d.ts.map +1 -1
  153. package/dist/commands/context.js +20 -0
  154. package/dist/commands/context.js.map +1 -1
  155. package/dist/commands/documents.d.ts.map +1 -1
  156. package/dist/commands/documents.js +30 -72
  157. package/dist/commands/documents.js.map +1 -1
  158. package/dist/commands/folders.d.ts +1 -1
  159. package/dist/commands/folders.d.ts.map +1 -1
  160. package/dist/commands/folders.js +45 -48
  161. package/dist/commands/folders.js.map +1 -1
  162. package/dist/commands/knowledge.d.ts +4 -21
  163. package/dist/commands/knowledge.d.ts.map +1 -1
  164. package/dist/commands/knowledge.js +3 -241
  165. package/dist/commands/knowledge.js.map +1 -1
  166. package/dist/commands/mirrors.d.ts +2 -2
  167. package/dist/commands/mirrors.d.ts.map +1 -1
  168. package/dist/commands/mirrors.js +46 -202
  169. package/dist/commands/mirrors.js.map +1 -1
  170. package/dist/commands/search.d.ts +1 -3
  171. package/dist/commands/search.d.ts.map +1 -1
  172. package/dist/commands/search.js +20 -42
  173. package/dist/commands/search.js.map +1 -1
  174. package/dist/commands/sync.d.ts.map +1 -1
  175. package/dist/commands/sync.js +36 -53
  176. package/dist/commands/sync.js.map +1 -1
  177. package/dist/contract-overrides.d.ts +0 -2
  178. package/dist/contract-overrides.d.ts.map +1 -1
  179. package/dist/contract-overrides.js +0 -317
  180. package/dist/contract-overrides.js.map +1 -1
  181. package/dist/knowledge.d.ts +1 -1
  182. package/dist/knowledge.d.ts.map +1 -1
  183. package/dist/knowledge.js +4 -3
  184. package/dist/knowledge.js.map +1 -1
  185. package/dist/list-queries.d.ts +0 -31
  186. package/dist/list-queries.d.ts.map +1 -1
  187. package/dist/list-queries.js +0 -36
  188. package/dist/list-queries.js.map +1 -1
  189. package/dist/program.d.ts.map +1 -1
  190. package/dist/program.js +2 -3
  191. package/dist/program.js.map +1 -1
  192. package/dist/provider-json.d.ts.map +1 -1
  193. package/dist/provider-json.js +5 -5
  194. package/dist/provider-json.js.map +1 -1
  195. package/dist/reasons.d.ts.map +1 -1
  196. package/dist/reasons.js +0 -10
  197. package/dist/reasons.js.map +1 -1
  198. package/dist/version.d.ts +1 -1
  199. package/dist/version.js +1 -1
  200. package/package.json +3 -3
  201. package/dist/bundle/command-contract-HYURWSD6.js +0 -40
  202. package/dist/bundle/decode-E2NM5SSM.js +0 -165
  203. package/dist/bundle/entry-2IMSWRJU.js +0 -25
  204. package/dist/bundle/first-run-7CPHQDM5.js +0 -30
  205. package/dist/bundle/first-screen-OKZ7GMFR.js +0 -38
  206. package/dist/bundle/google-WDKDBDD4.js +0 -45
  207. package/dist/bundle/grants-AU25GWKF.js +0 -110
  208. package/dist/bundle/oauth-3JGSN47Z.js +0 -22
  209. package/dist/bundle/server-6YDI4Y36.js +0 -72
  210. package/dist/bundle/store-maintenance-command-UJ5F5L4H.js +0 -64
  211. package/dist/bundle/tokens-LY3WML55.js +0 -110
  212. package/dist/knowledge-query.d.ts +0 -77
  213. package/dist/knowledge-query.d.ts.map +0 -1
  214. package/dist/knowledge-query.js +0 -104
  215. package/dist/knowledge-query.js.map +0 -1
  216. package/dist/bundle/{chunk-XWBPP2HX.js → chunk-ZI3YTXSF.js} +0 -0
  217. package/dist/bundle/{mdast-util-from-markdown-CE73EWJ2.js → mdast-util-from-markdown-FXEPSNER.js} +3 -3
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  modelSettingsShape,
5
5
  resolveModelSettings
6
- } from "./chunk-F5UUJU6R.js";
6
+ } from "./chunk-FYPW7NMH.js";
7
7
  import {
8
8
  currentCaller,
9
9
  endpointTemplate,
@@ -13,29 +13,33 @@ import {
13
13
  providerErrorKey,
14
14
  renderEvent,
15
15
  runContextOf
16
- } from "./chunk-AD7VI3XU.js";
17
- import {
18
- permissionCeiling
19
- } from "./chunk-CU6RATZH.js";
16
+ } from "./chunk-54BQWRJL.js";
20
17
  import {
21
18
  ancestorValue,
22
19
  envName,
23
20
  readOnlyLockOf,
24
21
  readOnlyRefusal
25
- } from "./chunk-ZBYKCVSV.js";
22
+ } from "./chunk-PR7XD2DI.js";
26
23
  import {
27
24
  carries
28
- } from "./chunk-WQOGHND4.js";
25
+ } from "./chunk-4WK26MPY.js";
26
+ import {
27
+ DEFAULT_RERANK_MODEL,
28
+ RERANK_MODELS
29
+ } from "./chunk-TNKQDS5A.js";
30
+ import {
31
+ permissionCeiling
32
+ } from "./chunk-GV5DGHSA.js";
29
33
  import {
30
34
  endpoint
31
- } from "./chunk-L342KHIZ.js";
35
+ } from "./chunk-DR57KDAY.js";
32
36
  import {
33
37
  note
34
- } from "./chunk-533XOW74.js";
38
+ } from "./chunk-BBFXQPKD.js";
35
39
  import {
36
40
  filesPresent,
37
41
  sharedModelsDirectory
38
- } from "./chunk-GTDCP5OG.js";
42
+ } from "./chunk-FONIFRYI.js";
39
43
  import {
40
44
  BUSINESS_KINDS,
41
45
  CATEGORIES,
@@ -44,7 +48,6 @@ import {
44
48
  DEAL_ROLES,
45
49
  DEAL_STATUSES,
46
50
  FACT_STATUSES,
47
- FACT_TYPES,
48
51
  FINANCE_REVIEWS,
49
52
  INVOICE_DIRECTIONS,
50
53
  INVOICE_STATUSES,
@@ -53,7 +56,6 @@ import {
53
56
  LINK_KINDS,
54
57
  LINK_SOURCES,
55
58
  LOG_ATTRIBUTES,
56
- MEETING_RESULT_ENTITIES,
57
59
  MEMORY_KINDS,
58
60
  MEMORY_SCOPES,
59
61
  MEMORY_STATUSES,
@@ -64,7 +66,6 @@ import {
64
66
  RELATION_KINDS,
65
67
  RUNS_SIZE_LIMIT_MB,
66
68
  STANDINGS,
67
- TAG_TYPES,
68
69
  TASK_KINDS,
69
70
  TASK_ORIGINS,
70
71
  TASK_STATES,
@@ -76,26 +77,12 @@ import {
76
77
  count,
77
78
  currentRun,
78
79
  enclosingTraceId,
79
- event,
80
80
  evidenceSource,
81
81
  id,
82
82
  inRun,
83
83
  isGroupName,
84
84
  logAttributes,
85
85
  markStoreDamaged,
86
- meeting,
87
- meetingCounts,
88
- meetingDetails,
89
- meetingHit,
90
- meetingLink,
91
- meetingParticipants,
92
- meetingPassage,
93
- meetingProjectEvidence,
94
- meetingReview,
95
- meetingSpeaker,
96
- meetingStats,
97
- meetingSummary,
98
- meetingTranscript,
99
86
  newRunId,
100
87
  organization,
101
88
  project,
@@ -111,25 +98,50 @@ import {
111
98
  typedCommand,
112
99
  untrusted,
113
100
  useAsProcessRun
114
- } from "./chunk-I55XYREN.js";
115
- import {
116
- FIELD_TYPES,
117
- QUERY_BACKENDS,
118
- describeQuery
119
- } from "./chunk-UPCEHSIZ.js";
101
+ } from "./chunk-YCL3SK4T.js";
120
102
  import {
121
103
  isCliFailure,
122
104
  storeDamaged
123
- } from "./chunk-3YKAFLXY.js";
105
+ } from "./chunk-RLNZ7NX5.js";
106
+ import {
107
+ TAG_TYPES
108
+ } from "./chunk-DHX27E5M.js";
109
+ import {
110
+ FACT_TYPES,
111
+ MEETING_RESULT_ENTITIES,
112
+ callStats,
113
+ event,
114
+ meeting,
115
+ meetingCounts,
116
+ meetingDetails,
117
+ meetingHit,
118
+ meetingLink,
119
+ meetingParticipants,
120
+ meetingPassage,
121
+ meetingProjectEvidence,
122
+ meetingReview,
123
+ meetingSpeaker,
124
+ meetingStats,
125
+ meetingSummary,
126
+ meetingTagChange,
127
+ meetingTagging,
128
+ meetingTranscript,
129
+ readsZone
130
+ } from "./chunk-P7PLKNPX.js";
131
+ import {
132
+ FIELD_TYPES,
133
+ QUERY_BACKENDS,
134
+ describeQuery,
135
+ parseLucene,
136
+ timezoneOf
137
+ } from "./chunk-Q5C6YKAY.js";
124
138
  import {
125
- readSharedSection,
126
139
  repairConfigText,
127
- sharedConfigPath,
128
- writeSharedSection
129
- } from "./chunk-CDSB7WVG.js";
140
+ sharedConfigPath
141
+ } from "./chunk-WJK6KTCS.js";
130
142
  import {
131
143
  storePath
132
- } from "./chunk-RWQ7T4Y5.js";
144
+ } from "./chunk-T5D4OGDC.js";
133
145
  import {
134
146
  configFilePath,
135
147
  createRecordLog,
@@ -140,19 +152,19 @@ import {
140
152
  resolvePaths,
141
153
  saveConfigFile,
142
154
  writeSecurely
143
- } from "./chunk-5SJZDEIO.js";
155
+ } from "./chunk-HRATXUFH.js";
144
156
  import {
145
157
  EXIT_CODES,
146
158
  GENERIC_FAILURE,
147
159
  exitCodeOfAnswer
148
- } from "./chunk-PV3AWPHR.js";
160
+ } from "./chunk-SONPLYV7.js";
149
161
  import {
150
162
  singleLine,
151
163
  visibleControls
152
- } from "./chunk-HCZYJMBP.js";
164
+ } from "./chunk-ABZ2NYDT.js";
153
165
  import {
154
166
  defineLogEvents
155
- } from "./chunk-5TK2YQCO.js";
167
+ } from "./chunk-7IBENBCK.js";
156
168
  import {
157
169
  COMPACT_FLAG,
158
170
  MAX_NEXT_STEPS,
@@ -162,7 +174,6 @@ import {
162
174
  check,
163
175
  defineSteps,
164
176
  effectsSchema,
165
- getDotPath,
166
177
  integer,
167
178
  isoDate,
168
179
  isoTime,
@@ -194,7 +205,6 @@ import {
194
205
  regex,
195
206
  safeInteger,
196
207
  safeParse,
197
- startsWith,
198
208
  stepOf,
199
209
  strictObject,
200
210
  string,
@@ -202,19 +212,18 @@ import {
202
212
  union,
203
213
  unknown,
204
214
  unwrap,
205
- url,
206
215
  variant,
207
216
  writes
208
- } from "./chunk-JRFKCYMW.js";
217
+ } from "./chunk-HHAZ6DCY.js";
209
218
  import {
210
219
  CliError,
211
220
  isCliError
212
- } from "./chunk-EA2OB75T.js";
221
+ } from "./chunk-54NDYVZA.js";
213
222
  import {
214
223
  __name
215
224
  } from "./chunk-ZVVMGPBJ.js";
216
225
 
217
- // 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
226
+ // node_modules/.pnpm/@wirecat+cli-base@0.101.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
218
227
  var labels = /* @__PURE__ */ new WeakMap();
219
228
  var annotate = /* @__PURE__ */ __name((command, meta) => {
220
229
  labels.set(command, { ...labels.get(command), ...meta });
@@ -3715,7 +3724,7 @@ __name(useColor, "useColor");
3715
3724
  // node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
3716
3725
  var program = new Command();
3717
3726
 
3718
- // 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
3727
+ // node_modules/.pnpm/@wirecat+cli-base@0.101.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
3719
3728
  import { isDeepStrictEqual } from "node:util";
3720
3729
  var protectedCommands = /* @__PURE__ */ new WeakMap();
3721
3730
  var hasSharedContract = /* @__PURE__ */ __name((command) => protectedCommands.has(command), "hasSharedContract");
@@ -3917,7 +3926,7 @@ var customizeSharedCommand = /* @__PURE__ */ __name((reference2, reason, build,
3917
3926
  return command;
3918
3927
  }, "customizeSharedCommand");
3919
3928
 
3920
- // 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
3929
+ // node_modules/.pnpm/@wirecat+cli-base@0.101.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
3921
3930
  var argumentInfoSchema = object({
3922
3931
  name: string(),
3923
3932
  required: boolean(),
@@ -4000,7 +4009,7 @@ var commandsDocument = /* @__PURE__ */ __name((root, about) => ({
4000
4009
  exit_codes: { ok: 0, internal_error: GENERIC_FAILURE, ...EXIT_CODES }
4001
4010
  }), "commandsDocument");
4002
4011
 
4003
- // 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
4012
+ // node_modules/.pnpm/@wirecat+cli-base@0.101.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
4004
4013
  var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
4005
4014
  let command = root;
4006
4015
  const path2 = [];
@@ -4018,7 +4027,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
4018
4027
  }
4019
4028
  }, "refuseJoinedPath");
4020
4029
 
4021
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/sends/permissions.js
4030
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/sends/permissions.js
4022
4031
  var LEVELS = ["deny", "readonly", "ask", "allow"];
4023
4032
  var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
4024
4033
  var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
@@ -4444,7 +4453,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
4444
4453
  }
4445
4454
  }, "assertRetentionEvidenceRead");
4446
4455
 
4447
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
4456
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
4448
4457
  var WEIGHTS = {
4449
4458
  bot: 3,
4450
4459
  scam: 3,
@@ -4469,7 +4478,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
4469
4478
  var DIGITS = /\d{5,}/;
4470
4479
  var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
4471
4480
 
4472
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
4481
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
4473
4482
  var linkedIdentity = strictObject({
4474
4483
  provider: text,
4475
4484
  id,
@@ -4524,7 +4533,7 @@ var contactCheck = strictObject({
4524
4533
  checked_at: time
4525
4534
  });
4526
4535
 
4527
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/member.js
4536
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/member.js
4528
4537
  var member = strictObject({
4529
4538
  id,
4530
4539
  name: nullable(text),
@@ -4547,7 +4556,7 @@ var member = strictObject({
4547
4556
  check: optional(record(string(), unknown()))
4548
4557
  });
4549
4558
 
4550
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/chat.js
4559
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/chat.js
4551
4560
  var setting = optional(nullable(boolean()));
4552
4561
  var chat = strictObject({
4553
4562
  ref: reference,
@@ -4588,7 +4597,7 @@ var chat = strictObject({
4588
4597
  members: optional(array(member))
4589
4598
  });
4590
4599
 
4591
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/attachment.js
4600
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/attachment.js
4592
4601
  var attachment = strictObject({
4593
4602
  /** The message it came with, as a locator; absent inside that message. */
4594
4603
  message: optional(reference),
@@ -4633,7 +4642,7 @@ var hitFile = strictObject({
4633
4642
  local_path: optional(text)
4634
4643
  });
4635
4644
 
4636
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/message.js
4645
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/message.js
4637
4646
  var quoted = strictObject({
4638
4647
  id,
4639
4648
  sender_id: nullable(id),
@@ -4752,7 +4761,7 @@ var message = strictObject({
4752
4761
  provider_metadata: providerMetadata
4753
4762
  });
4754
4763
 
4755
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
4764
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
4756
4765
  var recordedMeeting = strictObject({
4757
4766
  ref: reference,
4758
4767
  meeting_id: count,
@@ -4765,7 +4774,7 @@ var recordedMeeting = strictObject({
4765
4774
  people: array(reference)
4766
4775
  });
4767
4776
 
4768
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
4777
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
4769
4778
  var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
4770
4779
  var contextMessage = strictObject({
4771
4780
  locator: reference,
@@ -4971,7 +4980,7 @@ var contactPreparation = strictObject({
4971
4980
  })
4972
4981
  });
4973
4982
 
4974
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/deal.js
4983
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/deal.js
4975
4984
  var nullableText = nullable(text);
4976
4985
  var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
4977
4986
  var outcome = picklist(["open", "won", "lost"]);
@@ -5082,7 +5091,7 @@ var stage = strictObject({
5082
5091
  untrusted
5083
5092
  });
5084
5093
 
5085
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/business-context.js
5094
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/business-context.js
5086
5095
  var nullableText2 = nullable(text);
5087
5096
  var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
5088
5097
  var standing = picklist(STANDINGS);
@@ -5256,7 +5265,7 @@ var dealBrief = strictObject({
5256
5265
  not_read: coverage2.entries.not_read
5257
5266
  });
5258
5267
 
5259
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/list-results.js
5268
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/list-results.js
5260
5269
  var botProfile = strictObject({
5261
5270
  name: text,
5262
5271
  token: text,
@@ -5380,7 +5389,7 @@ var stickerInventory = strictObject({
5380
5389
  url: optional(nullable(text))
5381
5390
  });
5382
5391
 
5383
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
5392
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
5384
5393
  var actionableError = objectWithRest({
5385
5394
  code: text,
5386
5395
  message: text,
@@ -5397,7 +5406,7 @@ var batchResult = strictObject({
5397
5406
  max_error_percent: count
5398
5407
  });
5399
5408
 
5400
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
5409
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
5401
5410
  var conversationBuild = strictObject({
5402
5411
  chat: id,
5403
5412
  messages: count,
@@ -5422,13 +5431,13 @@ var catchUpPreparation = strictObject({
5422
5431
  prepared: optional(conversationPreparation)
5423
5432
  });
5424
5433
 
5425
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
5434
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
5426
5435
  import { spawn } from "node:child_process";
5427
5436
  import { randomBytes } from "node:crypto";
5428
5437
  import { closeSync, existsSync, mkdirSync, openSync, readdirSync, readFileSync, realpathSync, rmSync } from "node:fs";
5429
5438
  import { dirname, join } from "node:path";
5430
5439
 
5431
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
5440
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
5432
5441
  var progressOf = /* @__PURE__ */ __name((input) => {
5433
5442
  const total = input.total ?? null;
5434
5443
  const updated = input.updatedAt ?? null;
@@ -5444,7 +5453,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
5444
5453
  };
5445
5454
  }, "progressOf");
5446
5455
 
5447
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/runs/record-log.js
5456
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/runs/record-log.js
5448
5457
  var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
5449
5458
  const run = currentRun();
5450
5459
  const trace = traceId ?? run.traceId;
@@ -5458,7 +5467,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
5458
5467
  }));
5459
5468
  }, "recordLogFor");
5460
5469
 
5461
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
5470
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
5462
5471
  var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
5463
5472
  var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
5464
5473
  const out = openSync(log, "a", 384);
@@ -5613,7 +5622,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
5613
5622
  return { job: id6, pid, chat: input.chat, log };
5614
5623
  }, "startArchiveJob");
5615
5624
 
5616
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/job.js
5625
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/job.js
5617
5626
  var problem = strictObject({ code: text, message: text });
5618
5627
  var job = strictObject({
5619
5628
  id,
@@ -5636,7 +5645,7 @@ var job = strictObject({
5636
5645
  error: optional(problem)
5637
5646
  });
5638
5647
 
5639
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
5648
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
5640
5649
  var extractionItem = strictObject({
5641
5650
  ref: reference,
5642
5651
  attachment: count,
@@ -5669,7 +5678,7 @@ var extractionReport = strictObject({
5669
5678
  cursor: optional(text)
5670
5679
  });
5671
5680
 
5672
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
5681
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
5673
5682
  var savedMessageFile = strictObject({
5674
5683
  kind: text,
5675
5684
  path: text,
@@ -5756,7 +5765,7 @@ var messageSyncAll = strictObject({
5756
5765
  var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
5757
5766
  var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
5758
5767
 
5759
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/store-records.js
5768
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/store-records.js
5760
5769
  var range = strictObject({ from: number(), to: number() });
5761
5770
  var storeChatStatus = strictObject({
5762
5771
  chat_id: id,
@@ -5854,7 +5863,7 @@ var storeJobRetry = union([
5854
5863
  ]);
5855
5864
  var storeJobClear = strictObject({ cleared: array(id) });
5856
5865
 
5857
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/account.js
5866
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/account.js
5858
5867
  var account = strictObject({
5859
5868
  provider: text,
5860
5869
  id,
@@ -5864,7 +5873,7 @@ var account = strictObject({
5864
5873
  scope: optional(picklist(["personal", "work"]))
5865
5874
  });
5866
5875
 
5867
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/account-session.js
5876
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/account-session.js
5868
5877
  var accountSession = strictObject({
5869
5878
  current: boolean(),
5870
5879
  client: nullable(text),
@@ -5874,7 +5883,7 @@ var accountSession = strictObject({
5874
5883
  created_at: optional(nullable(time))
5875
5884
  });
5876
5885
 
5877
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/account-change.js
5886
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/account-change.js
5878
5887
  var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
5879
5888
  var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
5880
5889
  var audience = picklist(["everyone", "contacts", "nobody"]);
@@ -5903,7 +5912,7 @@ var accountRemoval = strictObject({
5903
5912
  kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
5904
5913
  });
5905
5914
 
5906
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
5915
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
5907
5916
  var accountProfile = strictObject({
5908
5917
  profile: id,
5909
5918
  current: boolean(),
@@ -5915,7 +5924,7 @@ var accountProfile = strictObject({
5915
5924
  bot: optional(literal(true))
5916
5925
  });
5917
5926
 
5918
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
5927
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
5919
5928
  var milliseconds = pipe(number(), minValue(0));
5920
5929
  var counterReading = strictObject({
5921
5930
  counter: picklist(["views", "reactions", "comments"]),
@@ -5927,7 +5936,7 @@ var counterReading = strictObject({
5927
5936
  });
5928
5937
  var selection = record(string(), unknown());
5929
5938
 
5930
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
5939
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
5931
5940
  var adminRow = strictObject({
5932
5941
  ref: reference,
5933
5942
  /** What `stats * evidence` takes: a person id, a stay or a message locator. */
@@ -5980,7 +5989,7 @@ var adminReport = strictObject({
5980
5989
  rows: array(adminRow)
5981
5990
  });
5982
5991
 
5983
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/task.js
5992
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/task.js
5984
5993
  var closeSuggestion = strictObject({
5985
5994
  as: picklist(["done", "dismissed"]),
5986
5995
  /** The agent's name. */
@@ -6042,7 +6051,7 @@ var task = strictObject({
6042
6051
  updated_at: optional(time)
6043
6052
  });
6044
6053
 
6045
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/agenda.js
6054
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/agenda.js
6046
6055
  var agendaChat = strictObject({
6047
6056
  chat: reference,
6048
6057
  title: nullable(text),
@@ -6112,11 +6121,11 @@ var agenda = strictObject({
6112
6121
  unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
6113
6122
  });
6114
6123
 
6115
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
6124
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
6116
6125
  var analysisConsent = strictObject({ chat: id, provider: text, at: time });
6117
6126
  var analysisConsentRevocation = strictObject({ revoked: boolean() });
6118
6127
 
6119
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
6128
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
6120
6129
  var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
6121
6130
  var attachmentBytes = strictObject({
6122
6131
  ref: reference,
@@ -6147,7 +6156,7 @@ var attachmentTextChange = strictObject({
6147
6156
  text: optional(text)
6148
6157
  });
6149
6158
 
6150
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/chart.js
6159
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/chart.js
6151
6160
  var chart = strictObject({
6152
6161
  version: literal(1),
6153
6162
  kind: picklist(["bar", "line", "grouped-bar"]),
@@ -6162,7 +6171,7 @@ var chart = strictObject({
6162
6171
  file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
6163
6172
  });
6164
6173
 
6165
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/folder.js
6174
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/folder.js
6166
6175
  var named = strictObject({
6167
6176
  id,
6168
6177
  title: nullable(text),
@@ -6185,7 +6194,7 @@ var folder = strictObject({
6185
6194
  excluded_chats: optional(array(named))
6186
6195
  });
6187
6196
 
6188
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
6197
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
6189
6198
  var inviteLink = strictObject({
6190
6199
  link: text,
6191
6200
  /** Who joins by it asks first, and an admin lets them in. */
@@ -6201,7 +6210,7 @@ var inviteLink = strictObject({
6201
6210
  joined_count: optional(count)
6202
6211
  });
6203
6212
 
6204
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
6213
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
6205
6214
  var operated = { operation_id: id, chat_id: id };
6206
6215
  var group = strictObject({
6207
6216
  ...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
@@ -6281,7 +6290,7 @@ var chatFolderOrder = strictObject({
6281
6290
  folders: array(strictObject({ id, title: text }))
6282
6291
  });
6283
6292
 
6284
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
6293
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
6285
6294
  var operated2 = { operation_id: id, chat_id: id };
6286
6295
  var chatRemoval = strictObject(operated2);
6287
6296
  var chatMuting = strictObject({
@@ -6292,7 +6301,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
6292
6301
  var chatPin = strictObject({ ...operated2, pinned: boolean() });
6293
6302
  var chatUnread = strictObject({ ...operated2, unread: literal(true) });
6294
6303
 
6295
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
6304
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
6296
6305
  var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
6297
6306
  var chatEvent = strictObject({
6298
6307
  chat_id: id,
@@ -6309,7 +6318,7 @@ var chatEvent = strictObject({
6309
6318
  before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
6310
6319
  });
6311
6320
 
6312
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
6321
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
6313
6322
  var chatMetadata = strictObject({
6314
6323
  chat_id: id,
6315
6324
  title: nullable(text),
@@ -6324,7 +6333,7 @@ var chatMetadataRefresh = strictObject({
6324
6333
  has_more: boolean()
6325
6334
  });
6326
6335
 
6327
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
6336
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
6328
6337
  var action = picklist(["report", "delete", "remove"]);
6329
6338
  var level = picklist(["deny", "readonly", "ask", "allow"]);
6330
6339
  var chatRules = strictObject({
@@ -6361,7 +6370,17 @@ var chatModeration = strictObject({
6361
6370
  }))
6362
6371
  });
6363
6372
 
6364
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
6373
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/chat-sending.js
6374
+ var chatSending = strictObject({
6375
+ mode: picklist(["allowed", "ask", "denied"]),
6376
+ meaning: text,
6377
+ /** When the owner last set it; `null` while it is the default, ask. */
6378
+ since: nullable(time),
6379
+ /** `set` only: whether this run changed it. */
6380
+ changed: optional(boolean())
6381
+ });
6382
+
6383
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
6365
6384
  var optionalCount = optional(count);
6366
6385
  var minutes = nullable(number());
6367
6386
  var chatStats = strictObject({
@@ -6437,7 +6456,7 @@ var taskStats = strictObject({
6437
6456
  }))
6438
6457
  });
6439
6458
 
6440
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
6459
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
6441
6460
  var memberCount = strictObject({
6442
6461
  day: pipe(text, isoDate()),
6443
6462
  participants: nullable(count),
@@ -6460,7 +6479,7 @@ var chatTracking = strictObject({
6460
6479
  tracked: boolean()
6461
6480
  });
6462
6481
 
6463
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
6482
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
6464
6483
  var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
6465
6484
  var contactSync = strictObject({ added: count, changed: count, known: count });
6466
6485
  var profileFields = {
@@ -6498,7 +6517,7 @@ var profileFields = {
6498
6517
  }))
6499
6518
  };
6500
6519
 
6501
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/contact.js
6520
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/contact.js
6502
6521
  var contact = strictObject({
6503
6522
  ref: reference,
6504
6523
  id,
@@ -6529,7 +6548,7 @@ var contact = strictObject({
6529
6548
  notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
6530
6549
  });
6531
6550
 
6532
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
6551
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
6533
6552
  var contactNote = strictObject({
6534
6553
  id,
6535
6554
  /** The contact, as a `contact:` reference. */
@@ -6541,13 +6560,13 @@ var contactNote = strictObject({
6541
6560
  updated_at: time
6542
6561
  });
6543
6562
 
6544
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
6563
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
6545
6564
  var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
6546
6565
  var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
6547
6566
  var contactStateChange = strictObject({ operation_id: id, person_id: id });
6548
6567
  var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
6549
6568
 
6550
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/conversation.js
6569
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/conversation.js
6551
6570
  var conversation = strictObject({
6552
6571
  id,
6553
6572
  chat: reference,
@@ -6562,7 +6581,7 @@ var conversation = strictObject({
6562
6581
  rules_version: count
6563
6582
  });
6564
6583
 
6565
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
6584
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
6566
6585
  var conversationDetails = union([
6567
6586
  strictObject({ ...conversation.entries, messages: array(message) }),
6568
6587
  message
@@ -6652,7 +6671,7 @@ var conversationHit = strictObject({
6652
6671
  stale: boolean()
6653
6672
  });
6654
6673
 
6655
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/counters.js
6674
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/counters.js
6656
6675
  var counters = strictObject({
6657
6676
  cutoff: time,
6658
6677
  max_age_ms: milliseconds,
@@ -6682,7 +6701,7 @@ var counterRefresh = strictObject({
6682
6701
  complete: optional(boolean())
6683
6702
  });
6684
6703
 
6685
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/document.js
6704
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/document.js
6686
6705
  var document = strictObject({
6687
6706
  ref: reference,
6688
6707
  id,
@@ -6697,7 +6716,7 @@ var document = strictObject({
6697
6716
  owners: optional(array(text))
6698
6717
  });
6699
6718
 
6700
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/document-link.js
6719
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/document-link.js
6701
6720
  var documentLink = strictObject({
6702
6721
  ref: reference,
6703
6722
  url: text,
@@ -6708,7 +6727,7 @@ var documentLink = strictObject({
6708
6727
  sender: strictObject({ id: nullable(id), name: nullable(text) })
6709
6728
  });
6710
6729
 
6711
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/evidence.js
6730
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/evidence.js
6712
6731
  var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
6713
6732
  var contribution = strictObject({
6714
6733
  message: evidenceMessage,
@@ -6738,7 +6757,7 @@ var retentionStay = strictObject({
6738
6757
  });
6739
6758
  var evidence = union([contribution, retentionStay]);
6740
6759
 
6741
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/fact.js
6760
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/fact.js
6742
6761
  var fact = strictObject({
6743
6762
  ref: reference,
6744
6763
  id,
@@ -6769,7 +6788,7 @@ var fact = strictObject({
6769
6788
  updated_at: time
6770
6789
  });
6771
6790
 
6772
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/hit.js
6791
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/hit.js
6773
6792
  var hit = strictObject({
6774
6793
  kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead", ...BUSINESS_KINDS]),
6775
6794
  ref: reference,
@@ -6817,7 +6836,7 @@ var hit = strictObject({
6817
6836
  untrusted
6818
6837
  });
6819
6838
 
6820
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/identity.js
6839
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/identity.js
6821
6840
  var identity = strictObject({
6822
6841
  ref: reference,
6823
6842
  provider: text,
@@ -6833,7 +6852,7 @@ var identity = strictObject({
6833
6852
  person: optional(nullable(reference))
6834
6853
  });
6835
6854
 
6836
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
6855
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
6837
6856
  var imageEmbedding = strictObject({
6838
6857
  model: text,
6839
6858
  embedded: count,
@@ -6842,7 +6861,7 @@ var imageEmbedding = strictObject({
6842
6861
  more: boolean()
6843
6862
  });
6844
6863
 
6845
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/join-request.js
6864
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/join-request.js
6846
6865
  var joinRequest = strictObject({
6847
6866
  person_id: id,
6848
6867
  name: nullable(text),
@@ -6853,7 +6872,7 @@ var joinRequest = strictObject({
6853
6872
  about: optional(text)
6854
6873
  });
6855
6874
 
6856
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
6875
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
6857
6876
  var pollVote = strictObject({
6858
6877
  person_id: id,
6859
6878
  name: nullable(text),
@@ -6863,7 +6882,7 @@ var pollVote = strictObject({
6863
6882
  voted_at: time
6864
6883
  });
6865
6884
 
6866
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/listener.js
6885
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/listener.js
6867
6886
  var reactions = unwrap(unwrap(message.entries.reactions));
6868
6887
  var observation = strictObject({
6869
6888
  value: pipe(number(), minValue(0)),
@@ -6905,7 +6924,7 @@ var serveSummary = strictObject({
6905
6924
  tasks: optional(strictObject({ added: count, closed: count, review: count }))
6906
6925
  });
6907
6926
 
6908
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
6927
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
6909
6928
  var mailCounts = strictObject({
6910
6929
  by: picklist(["day", "week", "sender"]),
6911
6930
  received: count,
@@ -6920,7 +6939,7 @@ var mailCounts = strictObject({
6920
6939
  }))
6921
6940
  });
6922
6941
 
6923
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
6942
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
6924
6943
  var evidence2 = strictObject({ reference, fingerprint: text });
6925
6944
  var base = { id, evidence: array(evidence2) };
6926
6945
  var finding = variant("kind", [
@@ -7064,7 +7083,7 @@ var mailFindings = strictObject({
7064
7083
  receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
7065
7084
  });
7066
7085
 
7067
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
7086
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
7068
7087
  var mediaArchive = strictObject({
7069
7088
  directory: text,
7070
7089
  chats: count,
@@ -7096,7 +7115,7 @@ var mediaArchiveTimer = union([
7096
7115
  strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
7097
7116
  ]);
7098
7117
 
7099
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
7118
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
7100
7119
  var preparationId = pipe(string(), minLength(1));
7101
7120
  var preparationCount = pipe(number(), integer(), minValue(0));
7102
7121
  var preparationTime = nullable(isoTime);
@@ -7188,7 +7207,7 @@ var preparationMeeting = strictObject({
7188
7207
  updated_at: isoTime
7189
7208
  });
7190
7209
 
7191
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
7210
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
7192
7211
  var meetingEvidence = preparationEvidence;
7193
7212
  var meetingPersonContext = strictObject({
7194
7213
  person: strictObject({ uid: string(), name: nullable(string()) }),
@@ -7210,7 +7229,7 @@ var meetingPersonContext = strictObject({
7210
7229
  })
7211
7230
  });
7212
7231
 
7213
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
7232
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
7214
7233
  var evidence3 = strictObject({ reference, fingerprint: text });
7215
7234
  var base2 = { id, project: reference, evidence: array(evidence3) };
7216
7235
  var finding2 = variant("kind", [
@@ -7248,7 +7267,7 @@ var meetingFindings = strictObject({
7248
7267
  receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
7249
7268
  });
7250
7269
 
7251
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
7270
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
7252
7271
  var communicationCoverage = strictObject({
7253
7272
  read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
7254
7273
  query: string(),
@@ -7293,7 +7312,7 @@ var preparationCommunications = strictObject({
7293
7312
  }))
7294
7313
  });
7295
7314
 
7296
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
7315
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
7297
7316
  var meetingPreparation = strictObject({
7298
7317
  communications: optional(preparationCommunications),
7299
7318
  schema_version: literal(1),
@@ -7406,7 +7425,7 @@ var meetingPreparation = strictObject({
7406
7425
  })
7407
7426
  });
7408
7427
 
7409
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
7428
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
7410
7429
  var count3 = pipe(number(), integer(), minValue(0));
7411
7430
  var id3 = pipe(string(), minLength(1));
7412
7431
  var text3 = string();
@@ -7470,7 +7489,7 @@ var meetingProjectCandidates = strictObject({
7470
7489
  })
7471
7490
  });
7472
7491
 
7473
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
7492
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
7474
7493
  var count4 = pipe(number(), integer(), minValue(0));
7475
7494
  var id4 = pipe(string(), minLength(1), maxLength(1e3));
7476
7495
  var meetingSeriesInventory = strictObject({
@@ -7500,7 +7519,7 @@ var meetingSeriesInventory = strictObject({
7500
7519
  })
7501
7520
  });
7502
7521
 
7503
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
7522
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
7504
7523
  var text4 = string();
7505
7524
  var id5 = pipe(number(), integer(), minValue(1));
7506
7525
  var revision = picklist(["current", "superseded"]);
@@ -7517,7 +7536,7 @@ var meetingTaskProposal = strictObject({
7517
7536
  persistence: literal("proposal-only")
7518
7537
  });
7519
7538
 
7520
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/memory.js
7539
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/memory.js
7521
7540
  var memory = strictObject({
7522
7541
  ref: reference,
7523
7542
  id,
@@ -7545,7 +7564,7 @@ var memory = strictObject({
7545
7564
  updated_at: time
7546
7565
  });
7547
7566
 
7548
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/mention.js
7567
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/mention.js
7549
7568
  var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
7550
7569
  var status = picklist(["found", "linked", "proposed", "dismissed"]);
7551
7570
  var mention = strictObject({
@@ -7589,13 +7608,13 @@ var mentionRebuild = strictObject({
7589
7608
  mentions: count
7590
7609
  });
7591
7610
 
7592
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/message-change.js
7611
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/message-change.js
7593
7612
  var operated3 = { operation_id: id, chat_id: id };
7594
7613
  var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
7595
7614
  var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
7596
7615
  var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
7597
7616
 
7598
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/message-read.js
7617
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/message-read.js
7599
7618
  var messageTranscript = strictObject({
7600
7619
  message_id: id,
7601
7620
  text,
@@ -7653,7 +7672,7 @@ var evidencePacket = strictObject({
7653
7672
  }))
7654
7673
  });
7655
7674
 
7656
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/message-context.js
7675
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/message-context.js
7657
7676
  var messageThread = strictObject({
7658
7677
  ref: reference,
7659
7678
  chat: id,
@@ -7670,7 +7689,7 @@ var messageThread = strictObject({
7670
7689
  });
7671
7690
  var messageContext = union([message, messageThread]);
7672
7691
 
7673
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
7692
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
7674
7693
  var messageCounts = strictObject({
7675
7694
  by: picklist(["chat", "sender", "day", "hour"]),
7676
7695
  total: count,
@@ -7683,7 +7702,7 @@ var messageCounts = strictObject({
7683
7702
  }))
7684
7703
  });
7685
7704
 
7686
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/message-link.js
7705
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/message-link.js
7687
7706
  var messageLink = strictObject({
7688
7707
  ref: reference,
7689
7708
  url: nullable(text),
@@ -7700,7 +7719,7 @@ var messageLink = strictObject({
7700
7719
  })))
7701
7720
  });
7702
7721
 
7703
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/message-write.js
7722
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/message-write.js
7704
7723
  var messageWrite = strictObject({
7705
7724
  operation_id: id,
7706
7725
  message,
@@ -7715,7 +7734,7 @@ var draftWrite = strictObject({
7715
7734
  });
7716
7735
  var messageSend = union([messageWrite, draftWrite]);
7717
7736
 
7718
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/model.js
7737
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/model.js
7719
7738
  var model = strictObject({
7720
7739
  id,
7721
7740
  kind: picklist(["audio", "text", "image", "reranker"]),
@@ -7750,7 +7769,7 @@ var chosenModel = strictObject({
7750
7769
  estimate_seconds: nullable(count)
7751
7770
  });
7752
7771
 
7753
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/model-key.js
7772
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/model-key.js
7754
7773
  var source = picklist(["environment", "keyring", "file"]);
7755
7774
  var modelKey = strictObject({
7756
7775
  provider: text,
@@ -7760,7 +7779,7 @@ var modelKey = strictObject({
7760
7779
  var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
7761
7780
  var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
7762
7781
 
7763
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
7782
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
7764
7783
  var versus = strictObject({ current: number(), previous: number() });
7765
7784
  var person = { person_ref: reference, name: nullable(text) };
7766
7785
  var graph = strictObject({
@@ -7794,14 +7813,14 @@ var officialStats = strictObject({
7794
7813
  graphs: record(string(), union([graph, strictObject({ error: text })]))
7795
7814
  });
7796
7815
 
7797
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/person.js
7816
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/person.js
7798
7817
  var person2 = strictObject({
7799
7818
  ref: reference,
7800
7819
  name: nullable(text),
7801
7820
  identities: optional(array(identity))
7802
7821
  });
7803
7822
 
7804
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/poll.js
7823
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/poll.js
7805
7824
  var poll = strictObject({
7806
7825
  chat_id: id,
7807
7826
  message_id: id,
@@ -7817,11 +7836,11 @@ var poll = strictObject({
7817
7836
  });
7818
7837
  var pollChange = strictObject({ operation_id: id, poll });
7819
7838
 
7820
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
7839
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
7821
7840
  var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
7822
7841
  var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
7823
7842
 
7824
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/ranking.js
7843
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/ranking.js
7825
7844
  var figures = record(string(), number());
7826
7845
  var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
7827
7846
  var rankingRow = strictObject({
@@ -7868,7 +7887,7 @@ var ranking = strictObject({
7868
7887
  rows: array(rankingRow)
7869
7888
  });
7870
7889
 
7871
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/reaction.js
7890
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/reaction.js
7872
7891
  var reaction = strictObject({
7873
7892
  person: strictObject({ id, name: nullable(text), username: nullable(text) }),
7874
7893
  /** The emoji, or `custom:<id>` for a custom one. */
@@ -7876,7 +7895,7 @@ var reaction = strictObject({
7876
7895
  reacted_at: time
7877
7896
  });
7878
7897
 
7879
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
7898
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
7880
7899
  var reactionChange = strictObject({
7881
7900
  operation_id: id,
7882
7901
  chat_id: id,
@@ -7884,7 +7903,7 @@ var reactionChange = strictObject({
7884
7903
  reaction: nullable(text)
7885
7904
  });
7886
7905
 
7887
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/recipient.js
7906
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/recipient.js
7888
7907
  var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
7889
7908
  var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
7890
7909
  var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
@@ -7895,7 +7914,7 @@ var recipientChange = strictObject({
7895
7914
  ...partial(recipientOff).entries
7896
7915
  });
7897
7916
 
7898
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
7917
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
7899
7918
  var events = array(record(string(), unknown()));
7900
7919
  var recordedRun = strictObject({
7901
7920
  run_id: id,
@@ -7967,7 +7986,7 @@ var runHit = strictObject({
7967
7986
  });
7968
7987
  var runLocation = strictObject({ path: text });
7969
7988
 
7970
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/relationship.js
7989
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/relationship.js
7971
7990
  var relationship = strictObject({
7972
7991
  id,
7973
7992
  from: reference,
@@ -7994,7 +8013,7 @@ var relationship = strictObject({
7994
8013
  created_at: time
7995
8014
  });
7996
8015
 
7997
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
8016
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
7998
8017
  var milliseconds2 = nullable(pipe(number(), minValue(0)));
7999
8018
  var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
8000
8019
  var responseTimes = strictObject({
@@ -8011,7 +8030,7 @@ var waitingChats = strictObject({
8011
8030
  by_kind: strictObject({ private: count, group: count })
8012
8031
  });
8013
8032
 
8014
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/retention.js
8033
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/retention.js
8015
8034
  var retentionCohort = strictObject({
8016
8035
  /** The first day of the joining day or week. */
8017
8036
  cohort: text,
@@ -8059,7 +8078,7 @@ var retention = strictObject({
8059
8078
  rows: array(retentionCohort)
8060
8079
  });
8061
8080
 
8062
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
8081
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
8063
8082
  var savedSearch = strictObject({
8064
8083
  id,
8065
8084
  /** `null` for a run in the history. */
@@ -8076,7 +8095,7 @@ var savedSearch = strictObject({
8076
8095
  });
8077
8096
  var searchHistoryClear = strictObject({ cleared: count });
8078
8097
 
8079
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
8098
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
8080
8099
  var sendAttempt = strictObject({
8081
8100
  at: time,
8082
8101
  profile: text,
@@ -8104,7 +8123,7 @@ var sendAttempt = strictObject({
8104
8123
  error_code: optional(text)
8105
8124
  });
8106
8125
 
8107
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
8126
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
8108
8127
  var absent = strictObject({ path: text, exists: literal(false) });
8109
8128
  var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
8110
8129
  var infoSchema = strictObject({
@@ -8334,7 +8353,7 @@ var storeRepair = union([
8334
8353
  ]);
8335
8354
  var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
8336
8355
 
8337
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/store-table.js
8356
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/store-table.js
8338
8357
  var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
8339
8358
  var storeTable = strictObject({
8340
8359
  name: text,
@@ -8343,7 +8362,7 @@ var storeTable = strictObject({
8343
8362
  bytes: optional(nullable(count))
8344
8363
  });
8345
8364
 
8346
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
8365
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
8347
8366
  var tagTarget = variant("type", [
8348
8367
  strictObject({ type: literal("chat"), chat_id: id }),
8349
8368
  strictObject({ type: literal("contact"), person_id: id }),
@@ -8374,7 +8393,7 @@ var automaticTags = strictObject({
8374
8393
  dry_run: boolean()
8375
8394
  });
8376
8395
 
8377
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/tagging.js
8396
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/tagging.js
8378
8397
  var tagging = strictObject({
8379
8398
  tag: text,
8380
8399
  type: picklist(TAG_TYPES),
@@ -8387,7 +8406,7 @@ var tagging = strictObject({
8387
8406
  created_at: time
8388
8407
  });
8389
8408
 
8390
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
8409
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
8391
8410
  var side = strictObject({ ref: reference, key: text, title: text, status: text });
8392
8411
  var taskPair = strictObject({
8393
8412
  task: nullable(side),
@@ -8410,7 +8429,7 @@ var taskPair = strictObject({
8410
8429
  created_at: time
8411
8430
  });
8412
8431
 
8413
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/task-results.js
8432
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/task-results.js
8414
8433
  var nullableTime = nullable(time);
8415
8434
  var link = strictObject({
8416
8435
  id,
@@ -8584,7 +8603,7 @@ var taskReview = strictObject({
8584
8603
  untrusted
8585
8604
  });
8586
8605
 
8587
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/template.js
8606
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/template.js
8588
8607
  var template = strictObject({
8589
8608
  key: text,
8590
8609
  channel: picklist(["telegram", "email", "text"]),
@@ -8596,7 +8615,7 @@ var template = strictObject({
8596
8615
  updated_by: nullable(text)
8597
8616
  });
8598
8617
 
8599
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/topic.js
8618
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/topic.js
8600
8619
  var topic = strictObject({
8601
8620
  id,
8602
8621
  title: text,
@@ -8610,7 +8629,7 @@ var topic = strictObject({
8610
8629
  untrusted
8611
8630
  });
8612
8631
 
8613
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/index.js
8632
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/entities/index.js
8614
8633
  var ENTITIES = {
8615
8634
  sync_progress: progress,
8616
8635
  deal,
@@ -8785,6 +8804,9 @@ var ENTITIES = {
8785
8804
  meeting_link: meetingLink,
8786
8805
  meeting_stats: meetingStats,
8787
8806
  meeting_counts: meetingCounts,
8807
+ call_stats: callStats,
8808
+ meeting_tag_change: meetingTagChange,
8809
+ meeting_tagging: meetingTagging,
8788
8810
  meeting_speaker: meetingSpeaker,
8789
8811
  meeting_participants: meetingParticipants,
8790
8812
  meeting_passage: meetingPassage,
@@ -8861,6 +8883,7 @@ var ENTITIES = {
8861
8883
  chat_moderation: chatModeration,
8862
8884
  "model.chosen": chosenModel,
8863
8885
  model_key: modelKey,
8886
+ chat_sending: chatSending,
8864
8887
  "model_key.stored": storedModelKey,
8865
8888
  "model_key.removed": removedModelKey,
8866
8889
  chat_event: chatEvent,
@@ -8905,7 +8928,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
8905
8928
  return [name, definition];
8906
8929
  })), "entityDefinitions");
8907
8930
 
8908
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
8931
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
8909
8932
  var schemas = /* @__PURE__ */ new WeakMap();
8910
8933
  var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
8911
8934
  if (Object.hasOwn(ENTITIES, name))
@@ -8939,7 +8962,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
8939
8962
  return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
8940
8963
  }, "answerRow");
8941
8964
 
8942
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
8965
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
8943
8966
  var where = [{ field: "ref" }];
8944
8967
  var who2 = { field: ["who.owner", "who.name"], tag: "you" };
8945
8968
  var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
@@ -9031,7 +9054,7 @@ var STATUS_ROWS = {
9031
9054
  "status.failed": { columns: [{ field: "signal" }], text: ["why"] }
9032
9055
  };
9033
9056
 
9034
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/compact.js
9057
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/compact.js
9035
9058
  var TEXT_CHARS = 400;
9036
9059
  var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
9037
9060
  var messageRow = {
@@ -9399,7 +9422,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
9399
9422
  return lines.concat(footerOf(body)).join("\n");
9400
9423
  }, "compactText");
9401
9424
 
9402
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
9425
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
9403
9426
  var named2 = /* @__PURE__ */ __name((work) => {
9404
9427
  try {
9405
9428
  return work();
@@ -9426,7 +9449,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named2(() => {
9426
9449
  return projectFields(value, fields);
9427
9450
  }), "projectFields");
9428
9451
 
9429
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/runs/log-events.js
9452
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/runs/log-events.js
9430
9453
  var CORE_LOG_EVENTS = defineLogEvents([
9431
9454
  { id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
9432
9455
  { id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
@@ -9464,7 +9487,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
9464
9487
  progress: "sync.progress"
9465
9488
  };
9466
9489
 
9467
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/runs/recording.js
9490
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/runs/recording.js
9468
9491
  var recorded = /* @__PURE__ */ __name(async (options, body) => {
9469
9492
  const recording = startRecording(options);
9470
9493
  try {
@@ -9679,7 +9702,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
9679
9702
  return void 0;
9680
9703
  }, "partialOutcome");
9681
9704
 
9682
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
9705
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
9683
9706
  import { AsyncLocalStorage } from "node:async_hooks";
9684
9707
  var requests = new AsyncLocalStorage();
9685
9708
  var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
@@ -9694,7 +9717,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
9694
9717
  return direct;
9695
9718
  }, "exitCodeSet");
9696
9719
 
9697
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/sends/guarded.js
9720
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/sends/guarded.js
9698
9721
  import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
9699
9722
  var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
9700
9723
  messageId: message2.id,
@@ -9800,7 +9823,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
9800
9823
  }, "guardedWrite");
9801
9824
  var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
9802
9825
 
9803
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/deadline.js
9826
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/deadline.js
9804
9827
  var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
9805
9828
  if (ms2 === void 0)
9806
9829
  return body();
@@ -9826,7 +9849,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
9826
9849
  }
9827
9850
  }, "withDeadline");
9828
9851
 
9829
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/execution.js
9852
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/execution.js
9830
9853
  var DEFAULT_COMMAND_MS = 3e4;
9831
9854
  var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
9832
9855
  var DEFAULT_SYNC_MS = 15 * 6e4;
@@ -10009,7 +10032,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
10009
10032
  }
10010
10033
  }, "withAbort");
10011
10034
 
10012
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/profile.js
10035
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/profile.js
10013
10036
  var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
10014
10037
  var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
10015
10038
  var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
@@ -10035,12 +10058,12 @@ var takesProfile = /* @__PURE__ */ __name((command) => {
10035
10058
  return top !== void 0 && !PROFILE_FREE.has(top.name());
10036
10059
  }, "takesProfile");
10037
10060
  var commandWords = /* @__PURE__ */ __name((program2) => /* @__PURE__ */ new Set(["help", ...program2.commands.flatMap((command) => [command.name(), ...command.aliases()])]), "commandWords");
10038
- var liftProfile = /* @__PURE__ */ __name((argv, words2, valued = /* @__PURE__ */ new Set()) => {
10061
+ var liftProfile = /* @__PURE__ */ __name((argv, words, valued = /* @__PURE__ */ new Set()) => {
10039
10062
  let at2 = 0;
10040
10063
  while (argv[at2]?.startsWith("-") && argv[at2] !== "--")
10041
10064
  at2 += valued.has(argv[at2]) ? 2 : 1;
10042
10065
  const first2 = argv[at2];
10043
- if (first2 === void 0 || first2.startsWith("-") || words2.has(first2))
10066
+ if (first2 === void 0 || first2.startsWith("-") || words.has(first2))
10044
10067
  return { rest: argv };
10045
10068
  return { profile: first2, rest: [...argv.slice(0, at2), ...argv.slice(at2 + 1)] };
10046
10069
  }, "liftProfile");
@@ -10063,9 +10086,9 @@ var runGroup = /* @__PURE__ */ __name((app, env, word) => {
10063
10086
  return { name: lock, from: LOCK, locked: true };
10064
10087
  }, "runGroup");
10065
10088
  var valuedOptions = /* @__PURE__ */ __name((program2) => new Set(program2.options.filter((option) => option.required).flatMap((option) => [option.long, option.short].filter((flag2) => flag2 !== void 0))), "valuedOptions");
10066
- var refuseCommandName = /* @__PURE__ */ __name((profile, words2, command) => {
10067
- if (words2.has(profile)) {
10068
- throw new CliError("validation_error", `"${profile}" is a command, so \`${command} ${profile} \u2026\` would always mean the command and never this profile. Pick a name that is not one of: ` + [...words2].sort().join(", "));
10089
+ var refuseCommandName = /* @__PURE__ */ __name((profile, words, command) => {
10090
+ if (words.has(profile)) {
10091
+ throw new CliError("validation_error", `"${profile}" is a command, so \`${command} ${profile} \u2026\` would always mean the command and never this profile. Pick a name that is not one of: ` + [...words].sort().join(", "));
10069
10092
  }
10070
10093
  }, "refuseCommandName");
10071
10094
  var rootOf = /* @__PURE__ */ __name((command) => {
@@ -10096,13 +10119,13 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
10096
10119
  return void 0;
10097
10120
  }, "sampleCommand");
10098
10121
 
10099
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/analysis/settings.js
10122
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/analysis/settings.js
10100
10123
  var model2 = pipe(string(), trim(), minLength(1), maxLength(200));
10101
- var url2 = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
10124
+ var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
10102
10125
  var AI_FIELDS = {
10103
10126
  embeddingProvider: optional(picklist(["local", "openai"])),
10104
10127
  embeddingModel: optional(model2),
10105
- embeddingBaseUrl: optional(url2),
10128
+ embeddingBaseUrl: optional(url),
10106
10129
  embeddingDims: optional(pipe(number(), integer(), minValue(1), maxValue(65536))),
10107
10130
  models: optional(modelSettingsShape)
10108
10131
  };
@@ -10140,7 +10163,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
10140
10163
  };
10141
10164
  }, "resolveAISettings");
10142
10165
 
10143
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/domain/duration.js
10166
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/domain/duration.js
10144
10167
  var DURATION = /^(\d+)(ms|s|m|h|d)$/;
10145
10168
  var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
10146
10169
  var parseDuration = /* @__PURE__ */ __name((value, source2) => {
@@ -10154,296 +10177,19 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
10154
10177
  return ms2;
10155
10178
  }, "parseDuration");
10156
10179
 
10157
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/embeddings/models.js
10158
- import { existsSync as existsSync2 } from "node:fs";
10180
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
10181
+ import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync as readFileSync2 } from "node:fs";
10159
10182
  import { join as join2 } from "node:path";
10160
- var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
10161
- var e5 = huggingFace("Xenova/multilingual-e5-small", "761b726dd34fb83930e26aab4e9ac3899aa1fa78");
10162
- var e5Large = huggingFace("Xenova/multilingual-e5-large", "00fc3aeb3dbb95842de2ac1961d33c6319acf57b");
10163
- var gemma = huggingFace("onnx-community/embeddinggemma-300m-ONNX", "5090578d9565bb06545b4552f76e6bc2c93e4a66");
10164
- var TEXT_MODELS = [
10165
- {
10166
- id: "e5-small",
10167
- title: "multilingual-e5-small, 8-bit",
10168
- size: "small",
10169
- languages: "about 100 languages, Russian and English among them",
10170
- licence: "MIT",
10171
- dims: 384,
10172
- maxTokens: 512,
10173
- // 100k-message corpus, one 8-thread session on Ryzen AI 9 HX 470: 31–32 chunks/s.
10174
- chunksPerSecond: 31,
10175
- pooling: "mean",
10176
- prefix: { query: "query: ", passage: "passage: " },
10177
- onnx: "onnx/model_quantized.onnx",
10178
- files: [
10179
- {
10180
- name: "onnx/model_quantized.onnx",
10181
- url: e5("onnx/model_quantized.onnx"),
10182
- sha256: "f80102d3f2a1229f387d3c81909990d8945513e347b0eab049f7de3c6f98c193",
10183
- bytes: 118308185
10184
- },
10185
- {
10186
- name: "tokenizer.json",
10187
- url: e5("tokenizer.json"),
10188
- sha256: "0b44a9d7b51c3c62626640cda0e2c2f70fdacdc25bbbd68038369d14ebdf4c39",
10189
- bytes: 17082730
10190
- },
10191
- {
10192
- name: "tokenizer_config.json",
10193
- url: e5("tokenizer_config.json"),
10194
- sha256: "a1d6bc8734a6f635dc158508bef000f8e2e5a759c7d92f984b2c86e5ff53425b",
10195
- bytes: 443
10196
- }
10197
- ]
10198
- },
10199
- {
10200
- id: "embeddinggemma",
10201
- title: "EmbeddingGemma 300M, 4-bit",
10202
- size: "medium",
10203
- languages: "over 100 languages \u2014 the best of the two on chat, about seven times slower",
10204
- licence: "Gemma Terms of Use",
10205
- terms: "https://ai.google.dev/gemma/terms",
10206
- // Gemma Terms of Use §3.1: every copy carries this notice and the use restrictions of §3.2.
10207
- notice: "Gemma is provided under and subject to the Gemma Terms of Use found at ai.google.dev/gemma/terms. Its use is restricted by the Gemma Prohibited Use Policy: https://ai.google.dev/gemma/prohibited_use_policy",
10208
- dims: 768,
10209
- maxTokens: 2048,
10210
- // 2026-11-08, 1,200-character chunks, 8 threads on the Ryzen AI 9 HX 470: 8.3 chunks/s against e5-small's 52.7, so
10211
- // 5 on the scale e5-small's 31 sets. It was 2, which held a memo sync to 39 chunks.
10212
- chunksPerSecond: 5,
10213
- pooling: "sentence_embedding",
10214
- prefix: { query: "task: search result | query: ", passage: "title: none | text: " },
10215
- onnx: "onnx/model_q4.onnx",
10216
- externalData: "onnx/model_q4.onnx_data",
10217
- files: [
10218
- {
10219
- name: "onnx/model_q4.onnx",
10220
- url: gemma("onnx/model_q4.onnx"),
10221
- sha256: "ad1dfee81a70f7944b9b9d1cc6e48075b832881cf33fab2f2b248be78f3f0043",
10222
- bytes: 519322
10223
- },
10224
- {
10225
- name: "onnx/model_q4.onnx_data",
10226
- url: gemma("onnx/model_q4.onnx_data"),
10227
- sha256: "599962c3143b040de2dd05e5975be3e9091dd067cacc6a8f7186e3203bab9e02",
10228
- bytes: 196725760
10229
- },
10230
- {
10231
- name: "tokenizer.json",
10232
- url: gemma("tokenizer.json"),
10233
- sha256: "4dda02faaf32bc91031dc8c88457ac272b00c1016cc679757d1c441b248b9c47",
10234
- bytes: 20323312
10235
- },
10236
- {
10237
- name: "tokenizer_config.json",
10238
- url: gemma("tokenizer_config.json"),
10239
- sha256: "3ca953eea6c3c9fcda9cf3df22949ff18b216f7c74bd6459230f3f1013953f3a",
10240
- bytes: 1156830
10241
- }
10242
- ]
10243
- },
10244
- {
10245
- id: "e5-large",
10246
- title: "multilingual-e5-large, 8-bit",
10247
- size: "large",
10248
- languages: "about 100 languages, Russian and English among them \u2014 reads better than e5-small, several times slower",
10249
- licence: "MIT",
10250
- dims: 1024,
10251
- maxTokens: 512,
10252
- // 2026-11-07, one 8-thread session on the Ryzen AI 9 HX 470 while other benchmarks ran: 3.4 chunks/s.
10253
- chunksPerSecond: 4,
10254
- pooling: "mean",
10255
- prefix: { query: "query: ", passage: "passage: " },
10256
- onnx: "onnx/model_quantized.onnx",
10257
- files: [
10258
- {
10259
- name: "onnx/model_quantized.onnx",
10260
- url: e5Large("onnx/model_quantized.onnx"),
10261
- sha256: "0a8d65db9a36f810ba5da15249f13145fcdc7890e6656f1fd38cd8b7c4db1fca",
10262
- bytes: 561768762
10263
- },
10264
- {
10265
- name: "tokenizer.json",
10266
- url: e5Large("tokenizer.json"),
10267
- sha256: "62c24cdc13d4c9952d63718d6c9fa4c287974249e16b7ade6d5a85e7bbb75626",
10268
- bytes: 17082660
10269
- },
10270
- {
10271
- name: "tokenizer_config.json",
10272
- url: e5Large("tokenizer_config.json"),
10273
- sha256: "efb5c0d09722e5fe59a462cd2a9976ee216d55b037597d997cd3fe833216da15",
10274
- bytes: 418
10275
- }
10276
- ]
10277
- }
10278
- ];
10279
- var DEFAULT_TEXT_MODEL = "embeddinggemma";
10280
- var PREVIOUS_DEFAULT_TEXT_MODEL = "e5-small";
10281
- var SECTION = "text_models";
10282
- var slug = pipe(string(), regex(/^[a-z0-9][a-z0-9._-]{0,62}$/, "is not a model id: a-z, 0-9, . _ -"));
10283
- var words = pipe(string(), trim(), minLength(1), maxLength(300));
10284
- var fileName = pipe(string(), check((name) => /^[\w.-]+(\/[\w.-]+)*$/.test(name) && !name.split("/").some((part) => part === ".." || part === "."), "is not a file inside the model's folder"));
10285
- var modelFile = strictObject({
10286
- name: fileName,
10287
- url: pipe(string(), url(), startsWith("https://", "has to be an https address")),
10288
- sha256: pipe(string(), regex(/^[0-9a-f]{64}$/, "has to be a sha256 in hex")),
10289
- bytes: pipe(number(), integer(), minValue(1))
10290
- });
10291
- var CustomTextModelShape = pipe(strictObject({
10292
- id: slug,
10293
- title: words,
10294
- languages: words,
10295
- licence: words,
10296
- terms: optional(pipe(string(), url())),
10297
- dims: pipe(number(), integer(), minValue(1), maxValue(8192)),
10298
- maxTokens: pipe(number(), integer(), minValue(16), maxValue(32768)),
10299
- chunksPerSecond: optional(pipe(number(), minValue(0.01))),
10300
- pooling: picklist(["mean", "sentence_embedding"]),
10301
- prefix: strictObject({
10302
- query: pipe(string(), maxLength(200)),
10303
- passage: pipe(string(), maxLength(200))
10304
- }),
10305
- onnx: fileName,
10306
- externalData: optional(fileName),
10307
- files: pipe(array(modelFile), minLength(1), maxLength(16))
10308
- }), check((model3) => !TEXT_MODELS.some((one) => one.id === model3.id), "takes the id of a model this version ships; choose another"), check((model3) => {
10309
- const names = model3.files.map(({ name }) => name);
10310
- return [model3.onnx, model3.externalData, "tokenizer.json", "tokenizer_config.json"].every((name) => name === void 0 || names.includes(name));
10311
- }, "has to list its onnx file, its external data and tokenizer.json and tokenizer_config.json among files"));
10312
- var TextModelsSection = strictObject({
10313
- use: optional(slug),
10314
- custom: optional(array(CustomTextModelShape))
10315
- });
10316
- var textModelsFile = /* @__PURE__ */ __name((env = process.env) => sharedConfigPath(storePath(env), env), "textModelsFile");
10317
- var readTextModelsSection = /* @__PURE__ */ __name((env = process.env) => {
10318
- const path2 = textModelsFile(env);
10319
- const section2 = readSharedSection(path2, SECTION);
10320
- if (section2 === void 0)
10321
- return {};
10322
- const checked = safeParse(TextModelsSection, section2);
10323
- if (!checked.success) {
10324
- const issue = checked.issues[0];
10325
- const at2 = issue ? getDotPath(issue) : null;
10326
- throw new CliError("configuration_error", `${path2}: ${SECTION}${at2 ? `.${at2}` : ""} ${issue?.message ?? "is not valid"}`);
10327
- }
10328
- const ids = checked.output.custom?.map(({ id: id6 }) => id6) ?? [];
10329
- const twice = ids.find((id6, at2) => ids.indexOf(id6) !== at2);
10330
- if (twice)
10331
- throw new CliError("configuration_error", `${path2}: ${SECTION}.custom names ${twice} twice`);
10332
- return checked.output;
10333
- }, "readTextModelsSection");
10334
- var writeTextModelsSection = /* @__PURE__ */ __name((section2, env = process.env) => writeSharedSection(textModelsFile(env), SECTION, section2.use === void 0 && !section2.custom?.length ? void 0 : section2), "writeTextModelsSection");
10335
- var textModels = /* @__PURE__ */ __name((env = process.env) => [
10336
- ...TEXT_MODELS,
10337
- ...(readTextModelsSection(env).custom ?? []).map((model3) => ({ ...model3, custom: true }))
10338
- ], "textModels");
10339
- var textModel = /* @__PURE__ */ __name((id6, env = process.env) => {
10340
- const known = textModels(env);
10341
- const found = known.find((model3) => model3.id === id6);
10342
- if (!found) {
10343
- throw new CliError("validation_error", `no text model ${id6} \u2014 one of: ${known.map((model3) => model3.id).join(", ")}`);
10344
- }
10345
- return found;
10346
- }, "textModel");
10347
- var downloaded = /* @__PURE__ */ __name((id6, env) => {
10348
- const model3 = TEXT_MODELS.find((one) => one.id === id6);
10349
- const directory = sharedModelsDirectory("text", env);
10350
- return model3 !== void 0 && filesPresent(model3.files.map((file) => [file, join2(directory, model3.id, file.name)]));
10351
- }, "downloaded");
10352
- var chosenTextModel = /* @__PURE__ */ __name((env = process.env) => {
10353
- const use = readTextModelsSection(env).use;
10354
- if (use !== void 0)
10355
- return { id: use, from: "chosen" };
10356
- const kept = !downloaded(DEFAULT_TEXT_MODEL, env) && existsSync2(join2(sharedModelsDirectory("text", env), PREVIOUS_DEFAULT_TEXT_MODEL));
10357
- return { id: kept ? PREVIOUS_DEFAULT_TEXT_MODEL : DEFAULT_TEXT_MODEL, from: "default" };
10358
- }, "chosenTextModel");
10359
- var mmarco = huggingFace("cross-encoder/mmarco-mMiniLMv2-L12-H384-v1", "1427fd652930e4ba29e8149678df786c240d8825");
10360
- var bge = huggingFace("onnx-community/bge-reranker-v2-m3-ONNX", "6f5ff65298512715a1e669753bc754d2bc8f367b");
10361
- var RERANK_MODELS = [
10362
- {
10363
- id: "mmarco",
10364
- title: "mMARCO mMiniLMv2-L12 cross-encoder, 8-bit",
10365
- languages: "about 100 languages, Russian and English among them",
10366
- licence: "Apache-2.0",
10367
- maxTokens: 512,
10368
- // The x86 name is the quantizer's target; WebAssembly and native ONNX Runtime both run it on any processor.
10369
- onnx: "onnx/model_quint8_avx2.onnx",
10370
- files: [
10371
- {
10372
- name: "onnx/model_quint8_avx2.onnx",
10373
- url: mmarco("onnx/model_quint8_avx2.onnx"),
10374
- sha256: "6c2513767fb63d008a4377bef7a7a3555433d9436342bb53e35a3a72ffc52d4b",
10375
- bytes: 118620016
10376
- },
10377
- {
10378
- name: "tokenizer.json",
10379
- url: mmarco("tokenizer.json"),
10380
- sha256: "62c24cdc13d4c9952d63718d6c9fa4c287974249e16b7ade6d5a85e7bbb75626",
10381
- bytes: 17082660
10382
- },
10383
- {
10384
- name: "tokenizer_config.json",
10385
- url: mmarco("tokenizer_config.json"),
10386
- sha256: "e7fbfbfa6347b4e414c1cee50d142e2c2f9a895dad68b068ae83a8b564c3837e",
10387
- bytes: 435
10388
- }
10389
- ]
10390
- },
10391
- {
10392
- id: "bge-reranker-v2-m3",
10393
- title: "BGE reranker v2 m3, 8-bit",
10394
- languages: "over 100 languages \u2014 better than mmarco in the benchmark, about seven times slower",
10395
- licence: "Apache-2.0 (BAAI's; the ONNX export declares none)",
10396
- maxTokens: 512,
10397
- onnx: "onnx/model_quantized.onnx",
10398
- files: [
10399
- {
10400
- name: "onnx/model_quantized.onnx",
10401
- url: bge("onnx/model_quantized.onnx"),
10402
- sha256: "912fc1215c2dbff6499700534bd8d31253af01573861abbfc43afd1fab6cce5d",
10403
- bytes: 570727094
10404
- },
10405
- {
10406
- name: "tokenizer.json",
10407
- url: bge("tokenizer.json"),
10408
- sha256: "8bf8afbfd11306bd872018c53bfdf2e160a56f8edbcf49933324404791c148d3",
10409
- bytes: 17082900
10410
- },
10411
- {
10412
- name: "tokenizer_config.json",
10413
- url: bge("tokenizer_config.json"),
10414
- sha256: "b87c8703482b0300d3da30e201519aa641f6a450f5eb5bf1e624afbf70c74d80",
10415
- bytes: 1203
10416
- }
10417
- ]
10418
- }
10419
- ];
10420
- var DEFAULT_RERANK_MODEL = "mmarco";
10421
- var rerankModel = /* @__PURE__ */ __name((id6) => {
10422
- const found = RERANK_MODELS.find((model3) => model3.id === id6);
10423
- if (!found) {
10424
- throw new CliError("validation_error", `no reranker ${id6} \u2014 one of: ${RERANK_MODELS.map((model3) => model3.id).join(", ")}`);
10425
- }
10426
- return found;
10427
- }, "rerankModel");
10428
- var vectorModelKey = /* @__PURE__ */ __name((model3) => {
10429
- const weights = model3.custom ? model3.files.find(({ name }) => name === model3.onnx)?.sha256.slice(0, 12) : void 0;
10430
- return `local:${model3.id}${weights ? `@${weights}` : ""}:${model3.dims}`;
10431
- }, "vectorModelKey");
10432
- var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
10433
-
10434
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
10435
- import { existsSync as existsSync3, readdirSync as readdirSync2, readFileSync as readFileSync2 } from "node:fs";
10436
- import { join as join3 } from "node:path";
10437
- var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
10183
+ var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
10438
10184
  var botFiles = /* @__PURE__ */ __name((app, profile, env = process.env) => {
10439
10185
  const directory = botsDirectory(app, env);
10440
10186
  return {
10441
- registry: join3(directory, `${profile}.json`),
10442
- recipients: join3(directory, "recipients", `${profile}.json`),
10443
- journal: join3(directory, "sends", `${profile}.jsonl`),
10444
- updates: join3(directory, "updates", `${profile}.json`),
10445
- presses: join3(directory, "presses", `${profile}.json`),
10446
- checks: join3(directory, "checks", `${profile}.json`)
10187
+ registry: join2(directory, `${profile}.json`),
10188
+ recipients: join2(directory, "recipients", `${profile}.json`),
10189
+ journal: join2(directory, "sends", `${profile}.jsonl`),
10190
+ updates: join2(directory, "updates", `${profile}.json`),
10191
+ presses: join2(directory, "presses", `${profile}.json`),
10192
+ checks: join2(directory, "checks", `${profile}.json`)
10447
10193
  };
10448
10194
  }, "botFiles");
10449
10195
  var ChatRegistry = class {
@@ -10470,7 +10216,7 @@ var ChatRegistry = class {
10470
10216
  }
10471
10217
  /** Makes this bot known to `bot list` before it has seen any chat. */
10472
10218
  touch() {
10473
- if (!existsSync3(this.#path))
10219
+ if (!existsSync2(this.#path))
10474
10220
  writeSecurely(this.#path, `${JSON.stringify({ chats: [] }, null, 2)}
10475
10221
  `, 384);
10476
10222
  }
@@ -10499,7 +10245,7 @@ var ChatRegistry = class {
10499
10245
  this.#write({ ...this.#read(), chats: [...byId.values()] });
10500
10246
  }
10501
10247
  #read() {
10502
- if (!existsSync3(this.#path))
10248
+ if (!existsSync2(this.#path))
10503
10249
  return {};
10504
10250
  try {
10505
10251
  const parsed = JSON.parse(readFileSync2(this.#path, "utf8"));
@@ -10515,12 +10261,12 @@ var ChatRegistry = class {
10515
10261
  };
10516
10262
  var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
10517
10263
  const directory = botsDirectory(app, env);
10518
- if (!existsSync3(directory))
10264
+ if (!existsSync2(directory))
10519
10265
  return [];
10520
10266
  return readdirSync2(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
10521
10267
  }, "registryProfiles");
10522
10268
 
10523
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
10269
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
10524
10270
  import { readFileSync as readFileSync3 } from "node:fs";
10525
10271
  var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
10526
10272
  var SECTIONS = ["personal", "bot"];
@@ -10816,20 +10562,20 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
10816
10562
  return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
10817
10563
  }, "readConfigFile");
10818
10564
 
10819
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/default-config.js
10820
- import { existsSync as existsSync4, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync } from "node:fs";
10821
- import { dirname as dirname2, join as join4 } from "node:path";
10565
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/default-config.js
10566
+ import { existsSync as existsSync3, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync } from "node:fs";
10567
+ import { dirname as dirname2, join as join3 } from "node:path";
10822
10568
  var DEFAULT_CONFIG = {
10823
10569
  defaults: { limit: 20, keep_runs_for_days: 30, sends_per_hour: 30, update_check: true, skill_hint: true },
10824
10570
  profiles: {}
10825
10571
  };
10826
10572
  function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
10827
- if (existsSync4(path2))
10573
+ if (existsSync3(path2))
10828
10574
  return;
10829
10575
  const directory = dirname2(path2);
10830
10576
  mkdirSync2(directory, { recursive: true, mode: 448 });
10831
- const temporary = mkdtempSync(join4(directory, ".config-"));
10832
- const candidate = join4(temporary, "config.json");
10577
+ const temporary = mkdtempSync(join3(directory, ".config-"));
10578
+ const candidate = join3(temporary, "config.json");
10833
10579
  try {
10834
10580
  writeFileSync(candidate, `${JSON.stringify(config, null, 2)}
10835
10581
  `, { flag: "wx", mode: 384 });
@@ -10845,10 +10591,10 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
10845
10591
  }
10846
10592
  __name(ensureDefaultConfig, "ensureDefaultConfig");
10847
10593
 
10848
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
10849
- import { existsSync as existsSync5, readdirSync as readdirSync3, readFileSync as readFileSync4 } from "node:fs";
10850
- import { join as join5 } from "node:path";
10851
- var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join5(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
10594
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
10595
+ import { existsSync as existsSync4, readdirSync as readdirSync3, readFileSync as readFileSync4 } from "node:fs";
10596
+ import { join as join4 } from "node:path";
10597
+ var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join4(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
10852
10598
  var rememberAccount = /* @__PURE__ */ __name((app, profile, id6, env) => writeSecurely(accountFileFor(app, profile, env), `${JSON.stringify({ account: id6 })}
10853
10599
  `, 384), "rememberAccount");
10854
10600
  var recalledAccount = /* @__PURE__ */ __name((app, provider, profile, env) => {
@@ -10860,14 +10606,14 @@ var recalledAccount = /* @__PURE__ */ __name((app, provider, profile, env) => {
10860
10606
  }
10861
10607
  }, "recalledAccount");
10862
10608
  var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
10863
- const dir = join5(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts");
10864
- if (!existsSync5(dir))
10609
+ const dir = join4(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts");
10610
+ if (!existsSync4(dir))
10865
10611
  return [];
10866
10612
  return readdirSync3(dir).filter((name) => name.endsWith(".json")).map((name) => name.slice(0, -".json".length));
10867
10613
  }, "profilesWithAccounts");
10868
10614
  var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
10869
10615
 
10870
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
10616
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
10871
10617
  var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
10872
10618
  var parentOf = /* @__PURE__ */ __name((config, key) => {
10873
10619
  const path2 = key.split(".");
@@ -10900,10 +10646,10 @@ var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((settin
10900
10646
  };
10901
10647
  }), "settingRows");
10902
10648
 
10903
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/settings.js
10904
- import { existsSync as existsSync6 } from "node:fs";
10649
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/settings.js
10650
+ import { existsSync as existsSync5 } from "node:fs";
10905
10651
 
10906
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/services/history-limits.js
10652
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/services/history-limits.js
10907
10653
  var HISTORY_MAX_DAYS = 1095;
10908
10654
  var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
10909
10655
  var DAY_MS = 24 * 60 * 60 * 1e3;
@@ -10950,7 +10696,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
10950
10696
  return { batch: { ...batch, messages }, skipped };
10951
10697
  }, "limitBatch");
10952
10698
 
10953
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/settings.js
10699
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/settings.js
10954
10700
  var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
10955
10701
  var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
10956
10702
  var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
@@ -11103,8 +10849,8 @@ var NoProfileHere = class extends CliError {
11103
10849
  this.app = app;
11104
10850
  }
11105
10851
  /** `words`: the command that was typed, without its arguments, so the suggestion runs as written. */
11106
- withoutSetup(words2) {
11107
- const command = words2 ? `${this.app.command} personal ${words2}` : `${this.app.command} personal \u2026`;
10852
+ withoutSetup(words) {
10853
+ const command = words ? `${this.app.command} personal ${words}` : `${this.app.command} personal \u2026`;
11108
10854
  return new CliError("validation_error", `name a profile: there is none on this computer yet \u2014 any name works, such as \`${command}\` (or set ${envName(this.app, "PROFILE")})`, { profiles: [] });
11109
10855
  }
11110
10856
  };
@@ -11312,7 +11058,7 @@ var settingsFor = /* @__PURE__ */ __name((app, extension = {}) => {
11312
11058
  updateCheck: updateCheck.value,
11313
11059
  skillHint: skillHint.value,
11314
11060
  configPath,
11315
- configFound: existsSync6(configPath),
11061
+ configFound: existsSync5(configPath),
11316
11062
  configuredProfiles: namedProfiles(config),
11317
11063
  profilesHere: profilesOf(config, env),
11318
11064
  accountProfiles: accountsOf(config, env, bots),
@@ -11476,7 +11222,7 @@ var given = /* @__PURE__ */ __name((value) => {
11476
11222
  return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
11477
11223
  }, "given");
11478
11224
 
11479
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/background/budget.js
11225
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/background/budget.js
11480
11226
  var DEADLINE_MARGIN_MS = 5e3;
11481
11227
  var DEADLINE_MARGIN_SHARE = 0.15;
11482
11228
  var DEFAULT_REQUEST_MS = 2e3;
@@ -11519,7 +11265,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests: requests2, deadline, request
11519
11265
  };
11520
11266
  }, "runBudget");
11521
11267
 
11522
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/output-detail.js
11268
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/output-detail.js
11523
11269
  var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
11524
11270
  var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
11525
11271
  var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
@@ -11555,7 +11301,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
11555
11301
  return value;
11556
11302
  }, "atDetail");
11557
11303
 
11558
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/output.js
11304
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/output.js
11559
11305
  var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
11560
11306
  const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
11561
11307
  if (other)
@@ -11619,7 +11365,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
11619
11365
  }, "warn")
11620
11366
  }), "silence");
11621
11367
 
11622
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/context.js
11368
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/context.js
11623
11369
  var runBudgetOf = /* @__PURE__ */ __name((command, requests2) => {
11624
11370
  const { deadline, signal, app } = environmentOf(command);
11625
11371
  const now = deadline?.();
@@ -11659,11 +11405,17 @@ var detailOf = /* @__PURE__ */ __name(({ brief, full }) => {
11659
11405
  return brief ? { hitDetail: "brief" } : full ? { hitDetail: "full" } : {};
11660
11406
  }, "detailOf");
11661
11407
  var COMPACT_KEY = new Option(COMPACT_FLAG).attributeName();
11408
+ var outputFieldsOf = /* @__PURE__ */ __name((command) => {
11409
+ const fields = rootOf(command).getOptionValue("fields");
11410
+ return typeof fields === "string" ? { fields } : {};
11411
+ }, "outputFieldsOf");
11662
11412
  var compactOf = /* @__PURE__ */ __name((command) => command.optsWithGlobals()[COMPACT_KEY] === true, "compactOf");
11663
11413
  var outputFor = /* @__PURE__ */ __name((command) => {
11664
11414
  const { streams, tty, env, agent } = environmentOf(command);
11415
+ const { fields: _own, ...flags } = command.optsWithGlobals();
11665
11416
  return resolveOutput({
11666
- ...command.optsWithGlobals(),
11417
+ ...flags,
11418
+ ...outputFieldsOf(command),
11667
11419
  ...detailOf(command.optsWithGlobals()),
11668
11420
  compact: compactOf(command),
11669
11421
  ...agent ? { capture: agent.result } : {},
@@ -11681,7 +11433,7 @@ var baseContext = /* @__PURE__ */ __name((command, resolveSettings) => {
11681
11433
  env,
11682
11434
  compact: compactOf(command),
11683
11435
  ...detailOf(command.optsWithGlobals()),
11684
- ...command.optsWithGlobals().fields ? { fields: command.optsWithGlobals().fields } : {},
11436
+ ...outputFieldsOf(command),
11685
11437
  ...environment.agent ? { capture: environment.agent.result } : {},
11686
11438
  ...environment.streams ? { streams: environment.streams } : {},
11687
11439
  ...environment.tty === void 0 ? {} : { tty: environment.tty }
@@ -11753,13 +11505,13 @@ var inCommandRun = /* @__PURE__ */ __name((command, body) => {
11753
11505
  return baseContext(command, (flags, options) => resolveSettings(flags, { ...options, needsProfile: false })).run(body);
11754
11506
  }, "inCommandRun");
11755
11507
  var commandPath = /* @__PURE__ */ __name((command) => {
11756
- const words2 = [];
11508
+ const words = [];
11757
11509
  for (let current2 = command; current2?.parent; current2 = current2.parent)
11758
- words2.unshift(current2.name());
11759
- return words2.join(" ");
11510
+ words.unshift(current2.name());
11511
+ return words.join(" ");
11760
11512
  }, "commandPath");
11761
11513
 
11762
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/effects.js
11514
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/effects.js
11763
11515
  var REMOTE_READ = { remote: "read", local: "read" };
11764
11516
  var FETCH = { remote: "read", local: "write" };
11765
11517
  var REMOTE_WRITE = { remote: "write", local: "write" };
@@ -11874,10 +11626,10 @@ var refuseStoreChange = /* @__PURE__ */ __name((app, env) => {
11874
11626
  throw readOnlyRefusal(lock, storeChangeRefusal(app));
11875
11627
  }, "refuseStoreChange");
11876
11628
  var pathOf2 = /* @__PURE__ */ __name((command) => {
11877
- const words2 = [];
11629
+ const words = [];
11878
11630
  for (let at2 = command; at2.parent; at2 = at2.parent)
11879
- words2.unshift(at2.name());
11880
- return words2;
11631
+ words.unshift(at2.name());
11632
+ return words;
11881
11633
  }, "pathOf");
11882
11634
  var changesMessenger = /* @__PURE__ */ __name((command) => {
11883
11635
  const { path: path2, effects, lifetime, reaches } = "path" in command ? command : { path: pathOf2(command), ...metaOf(command) };
@@ -11911,8 +11663,8 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
11911
11663
  throw readOnlyRefusal(lock, what);
11912
11664
  }, "refuseUnderReadOnly");
11913
11665
 
11914
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/images/picture/models.js
11915
- import { join as join6 } from "node:path";
11666
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/images/picture/models.js
11667
+ import { join as join5 } from "node:path";
11916
11668
  var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
11917
11669
  var IMAGE_MODELS = [
11918
11670
  {
@@ -11962,10 +11714,10 @@ var imageModel = /* @__PURE__ */ __name((id6) => {
11962
11714
  return found;
11963
11715
  }, "imageModel");
11964
11716
  var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("image", env), "imageModelsDirectory");
11965
- var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
11717
+ var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join5(directory, model3.id, file.name)]), "placedImage");
11966
11718
  var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
11967
11719
 
11968
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/steps.js
11720
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/steps.js
11969
11721
  var STEPS2 = defineSteps([
11970
11722
  ...STEPS,
11971
11723
  {
@@ -12202,10 +11954,10 @@ var nextStep = /* @__PURE__ */ __name((id6, input) => {
12202
11954
  const args = Object.fromEntries(Object.entries(input.args ?? {}).filter(([, value]) => value !== void 0));
12203
11955
  return stepOf(definition, { ...input, args });
12204
11956
  }, "nextStep");
12205
- var lineOf = /* @__PURE__ */ __name((command, words2) => {
11957
+ var lineOf = /* @__PURE__ */ __name((command, words) => {
12206
11958
  const root = rootOf2(command);
12207
11959
  const profile = root.getOptionValue("profile");
12208
- return typedCommand(root.name(), words2, typeof profile === "string" && profile !== "" ? profile : void 0);
11960
+ return typedCommand(root.name(), words, typeof profile === "string" && profile !== "" ? profile : void 0);
12209
11961
  }, "lineOf");
12210
11962
  var rootOf2 = /* @__PURE__ */ __name((command) => {
12211
11963
  let root = command;
@@ -12255,7 +12007,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
12255
12007
  ].join(" ");
12256
12008
  }, "stepLine");
12257
12009
 
12258
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
12010
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
12259
12011
  var SOFT_OUTPUT_BYTES = 256 * 1024;
12260
12012
  var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
12261
12013
  var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
@@ -12281,10 +12033,10 @@ var declaresRow = /* @__PURE__ */ __name((command) => {
12281
12033
  return rowShapeOf(command, rows2 && entityRows(rows2)) !== GENERIC_ROW;
12282
12034
  }, "declaresRow");
12283
12035
  var pathOf3 = /* @__PURE__ */ __name((command) => {
12284
- const words2 = [];
12036
+ const words = [];
12285
12037
  for (let at2 = command; at2.parent; at2 = at2.parent)
12286
- words2.unshift(at2.name());
12287
- return words2.join(" ");
12038
+ words.unshift(at2.name());
12039
+ return words.join(" ");
12288
12040
  }, "pathOf");
12289
12041
  var step = /* @__PURE__ */ __name((command, id6, args, why) => ({
12290
12042
  kind: "command",
@@ -12313,7 +12065,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
12313
12065
  return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
12314
12066
  }, "largeAnswerSteps");
12315
12067
 
12316
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
12068
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
12317
12069
  var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
12318
12070
  var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
12319
12071
  var strip = /* @__PURE__ */ __name((value) => {
@@ -12327,7 +12079,7 @@ var strip = /* @__PURE__ */ __name((value) => {
12327
12079
  return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
12328
12080
  }, "strip");
12329
12081
 
12330
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
12082
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
12331
12083
  var OPEN = "\u27E6";
12332
12084
  var CLOSE = "\u27E7";
12333
12085
  var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
@@ -12411,7 +12163,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
12411
12163
  return result;
12412
12164
  }, "withFieldsMarked");
12413
12165
 
12414
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/envelope.js
12166
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/envelope.js
12415
12167
  var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
12416
12168
  var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
12417
12169
  var listOf = /* @__PURE__ */ __name((command, input) => {
@@ -12517,9 +12269,27 @@ var withLargeAnswerStep = /* @__PURE__ */ __name((command, body) => {
12517
12269
  }, "withLargeAnswerStep");
12518
12270
  var linesOf = /* @__PURE__ */ __name((body) => jsonlOf("items" in body ? body : { items: [body.item], page: { mode: "page", limit: 1, has_more: false }, meta: body.meta }), "linesOf");
12519
12271
  var jsonlRecords = /* @__PURE__ */ __name((body) => linesOf(sealed(body)).split("\n").map((line) => JSON.parse(line)), "jsonlRecords");
12272
+ var listZone = /* @__PURE__ */ __name((command) => {
12273
+ const registry = metaOf(command).query;
12274
+ const words = command.processedArgs.at(-1);
12275
+ const text5 = Array.isArray(words) ? words.join(" ") : typeof words === "string" ? words : "";
12276
+ const times = new Set(registry?.fields.filter(({ type }) => type === "time").map(({ name }) => name));
12277
+ if (times.size === 0 || text5.trim() === "")
12278
+ return void 0;
12279
+ try {
12280
+ if (!readsZone(parseLucene(text5, { defaultField: "none" }), times))
12281
+ return void 0;
12282
+ } catch {
12283
+ return void 0;
12284
+ }
12285
+ return timezoneOf(command.optsWithGlobals().timezone);
12286
+ }, "listZone");
12520
12287
  var renderAnswer = /* @__PURE__ */ __name((command, { renderer, format, streams, compact, full }, body, view) => {
12521
12288
  if (!isBody(body))
12522
12289
  refuse(body);
12290
+ const zone = "items" in body && body.meta?.timezone === void 0 ? listZone(command) : void 0;
12291
+ if (zone)
12292
+ body = { ...body, meta: { ...body.meta, timezone: zone } };
12523
12293
  const root = rootOf2(command);
12524
12294
  const runnableSteps = runnable(root, body.next);
12525
12295
  const next = environmentOf(command).agent ? runnableSteps : withLines(root, runnableSteps);
@@ -12730,20 +12500,6 @@ export {
12730
12500
  AI_SETTING_KEYS,
12731
12501
  resolveAISettings,
12732
12502
  parseDuration,
12733
- DEFAULT_TEXT_MODEL,
12734
- PREVIOUS_DEFAULT_TEXT_MODEL,
12735
- CustomTextModelShape,
12736
- textModelsFile,
12737
- readTextModelsSection,
12738
- writeTextModelsSection,
12739
- textModels,
12740
- textModel,
12741
- chosenTextModel,
12742
- RERANK_MODELS,
12743
- DEFAULT_RERANK_MODEL,
12744
- rerankModel,
12745
- vectorModelKey,
12746
- meaningFloor,
12747
12503
  historyWindow,
12748
12504
  limitBatch,
12749
12505
  botsDirectory,
@@ -12783,6 +12539,7 @@ export {
12783
12539
  environmentOf,
12784
12540
  withAgentLevels,
12785
12541
  secretInputOf,
12542
+ outputFieldsOf,
12786
12543
  outputFor,
12787
12544
  baseContext,
12788
12545
  inCommandRun,