@wirecat/notion-cli 0.1.0 → 0.2.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 (195) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/README.md +10 -4
  3. package/contracts/wirecat.json +650 -1
  4. package/dist/bin/notion.js +2 -2
  5. package/dist/bundle/{all-profiles-OETMCOLN.js → all-profiles-JGYLQZ5C.js} +9 -9
  6. package/dist/bundle/{anthropic-5Y3O2TYM.js → anthropic-S2VSMIKQ.js} +5 -5
  7. package/dist/bundle/{app-server-IVWBIVHC.js → app-server-SASYDBCA.js} +55 -46
  8. package/dist/bundle/{bun-EO636SAD.js → bun-LU5LP3JI.js} +2 -2
  9. package/dist/bundle/{bun-sqlite-C2T7QJ2M.js → bun-sqlite-JBSINB4O.js} +6 -6
  10. package/dist/bundle/{chunk-DIM5YWBU.js → chunk-22QQUKWA.js} +1 -1
  11. package/dist/bundle/{chunk-B4B65XIO.js → chunk-2F4QQ7WB.js} +3 -3
  12. package/dist/bundle/{chunk-2YR3RYT4.js → chunk-2F6VO5HA.js} +3 -3
  13. package/dist/bundle/chunk-2LWO3PDX.js +726 -0
  14. package/dist/bundle/{chunk-RSIS7BR7.js → chunk-3AL7QUS3.js} +20 -20
  15. package/dist/bundle/{chunk-RDZ7SVBZ.js → chunk-3Z4YTSRY.js} +3 -3
  16. package/dist/bundle/{chunk-QBC23NHD.js → chunk-4HWJOU7N.js} +1 -1
  17. package/dist/bundle/{chunk-WM7663C2.js → chunk-4IPURN72.js} +8 -8
  18. package/dist/bundle/{chunk-CLG2ISQH.js → chunk-4ZTVJHWU.js} +4 -4
  19. package/dist/bundle/{chunk-IQWEJEB5.js → chunk-5IYKVRH2.js} +26157 -21070
  20. package/dist/bundle/{chunk-7FII4DCE.js → chunk-5NFK5EM2.js} +7 -7
  21. package/dist/bundle/{chunk-K5TWMQSY.js → chunk-5QIQEUOG.js} +8 -8
  22. package/dist/bundle/{chunk-F6MLJ3V5.js → chunk-5RDNBG7D.js} +2 -2
  23. package/dist/bundle/{chunk-ST2UC7FS.js → chunk-5RSC54NA.js} +30 -26
  24. package/dist/bundle/{chunk-7N5QB6NL.js → chunk-6EVKHZKN.js} +5 -3
  25. package/dist/bundle/{chunk-EU5WCOMQ.js → chunk-6RA3EABS.js} +45 -34
  26. package/dist/bundle/{chunk-JKIN5TOU.js → chunk-AOCUKEAX.js} +4 -4
  27. package/dist/bundle/{chunk-OWJDC4CB.js → chunk-B26TQZKZ.js} +12 -12
  28. package/dist/bundle/{chunk-WK3OSDNV.js → chunk-B7ON6KPT.js} +7 -7
  29. package/dist/bundle/{chunk-RLSFOR2D.js → chunk-BNPTZ5ZB.js} +4 -4
  30. package/dist/bundle/{chunk-WVZFXI36.js → chunk-D7QSEEYW.js} +4 -4
  31. package/dist/bundle/{chunk-JK44XO2S.js → chunk-DH5PRHT4.js} +56 -56
  32. package/dist/bundle/chunk-EUIVXFLJ.js +259 -0
  33. package/dist/bundle/{chunk-64D5VUZ4.js → chunk-FPY6EJ7B.js} +67 -63
  34. package/dist/bundle/{chunk-EGTBL3MJ.js → chunk-FT3LN3HP.js} +1 -1
  35. package/dist/bundle/{chunk-NLDYZBTC.js → chunk-FWVBPRL4.js} +1129 -2555
  36. package/dist/bundle/{chunk-UWIA2G6Q.js → chunk-FXEJY4OL.js} +329 -528
  37. package/dist/bundle/{chunk-R6ZM45NF.js → chunk-G3EZFRSS.js} +88 -30
  38. package/dist/bundle/{chunk-B2XKEEFX.js → chunk-GZOUFX3C.js} +4 -4
  39. package/dist/bundle/{chunk-WWMB4UHF.js → chunk-HL52XXZX.js} +1 -1
  40. package/dist/bundle/{chunk-4GC5DBHW.js → chunk-KCLOUUYF.js} +3 -3
  41. package/dist/bundle/chunk-KFVDL2QS.js +146 -0
  42. package/dist/bundle/{chunk-35K5T6WV.js → chunk-KGERXYTV.js} +1 -1
  43. package/dist/bundle/{chunk-BWICUW7W.js → chunk-KM6WHPHI.js} +2 -2
  44. package/dist/bundle/{chunk-AE2KQ37N.js → chunk-LAYPFBOM.js} +6 -6
  45. package/dist/bundle/chunk-LLG2POQ7.js +170 -0
  46. package/dist/bundle/{chunk-B2WFKFYL.js → chunk-M3KB25D3.js} +20 -116
  47. package/dist/bundle/{chunk-RAZKIHGH.js → chunk-M7S2NDWB.js} +3 -3
  48. package/dist/bundle/chunk-MGUEZYFA.js +5546 -0
  49. package/dist/bundle/chunk-MY742GAD.js +1977 -0
  50. package/dist/bundle/chunk-MZU2YFBZ.js +823 -0
  51. package/dist/bundle/{chunk-AQZO3ITW.js → chunk-NOQ7B5N7.js} +2 -2
  52. package/dist/bundle/{chunk-QC3KOJT4.js → chunk-NQWV4WQO.js} +6 -6
  53. package/dist/bundle/{chunk-FF4DDBCB.js → chunk-ODBZNSZ6.js} +6 -6
  54. package/dist/bundle/{chunk-TR7R5DL4.js → chunk-OTV53F34.js} +9 -9
  55. package/dist/bundle/{chunk-KHOVVPLC.js → chunk-P7CUM5IB.js} +1 -1
  56. package/dist/bundle/{chunk-CWVAYQXI.js → chunk-RV64YUQX.js} +8 -8
  57. package/dist/bundle/{chunk-TSCIIXN3.js → chunk-SHJQ6JKG.js} +2 -2
  58. package/dist/bundle/{chunk-24FAYAML.js → chunk-SWAOWNKW.js} +3 -3
  59. package/dist/bundle/chunk-SZOVLP44.js +29 -0
  60. package/dist/bundle/chunk-TPX2M45D.js +385 -0
  61. package/dist/bundle/{chunk-UWW24JQF.js → chunk-TSDBSIFM.js} +3 -3
  62. package/dist/bundle/{chunk-YA4LSSDZ.js → chunk-VBHETQVV.js} +1435 -1788
  63. package/dist/bundle/{chunk-HRTIRRXR.js → chunk-VCIALTEM.js} +33 -6
  64. package/dist/bundle/{chunk-ESZT4WW3.js → chunk-WCSOH4JS.js} +3 -3
  65. package/dist/bundle/{chunk-HWRKURQH.js → chunk-WF4D56CA.js} +2 -2
  66. package/dist/bundle/chunk-WJHZMR2W.js +335 -0
  67. package/dist/bundle/chunk-X4TIMMKJ.js +16 -0
  68. package/dist/bundle/{chunk-XL2HXHP3.js → chunk-XF26XKTS.js} +2 -2
  69. package/dist/bundle/chunk-XFLCVHSQ.js +50 -0
  70. package/dist/bundle/{chunk-47R43UVJ.js → chunk-YMYUBZWT.js} +19 -19
  71. package/dist/bundle/{chunk-3D3PFXBP.js → chunk-YNTLT3Z3.js} +10 -15
  72. package/dist/bundle/{chunk-GA3URWIF.js → chunk-YVI5SQPY.js} +1 -1
  73. package/dist/bundle/{chunk-XC5CKHX2.js → chunk-Z56QFOBR.js} +1 -1
  74. package/dist/bundle/{chunk-EPAZ7DJB.js → chunk-ZKAEZXUP.js} +42 -38
  75. package/dist/bundle/{chunk-66PL7P4C.js → chunk-ZZ32DXTH.js} +1 -1
  76. package/dist/bundle/command-contract-JS5V27NX.js +38 -0
  77. package/dist/bundle/{command-server-entry-A66DJ3MH.js → command-server-entry-UFSG7KRO.js} +26 -23
  78. package/dist/bundle/decode-7LLWTSPT.js +297 -0
  79. package/dist/bundle/{dispatch-FEKU5UXC.js → dispatch-2GY6JIJH.js} +8 -8
  80. package/dist/bundle/{dist-YFKABFFF.js → dist-ILNOLGYN.js} +1 -1
  81. package/dist/bundle/{echarts-XD2JSWU4.js → echarts-BXX4OQWC.js} +2 -2
  82. package/dist/bundle/{embed-F3HYGAF7.js → embed-JXFNBTKH.js} +6 -6
  83. package/dist/bundle/{embedder-GSEDDUH7.js → embedder-57YZ44KO.js} +9 -9
  84. package/dist/bundle/{failure-HDJLR2YJ.js → failure-MYT4HPE3.js} +2 -2
  85. package/dist/bundle/{first-run-TXNTIUSP.js → first-run-3PF7T74J.js} +12 -11
  86. package/dist/bundle/first-screen-7BEROEQR.js +36 -0
  87. package/dist/bundle/{instructions-NZGJ4FW5.js → instructions-2VECIDXF.js} +1 -1
  88. package/dist/bundle/{mcp-VFIOZDVY.js → mcp-O6ACR2DX.js} +2 -2
  89. package/dist/bundle/mdast-util-from-markdown-R66F4HZA.js +1958 -0
  90. package/dist/bundle/mdast-util-gfm-LN2ELINH.js +2699 -0
  91. package/dist/bundle/meeting-combined-PPUQ3KBR.js +24 -0
  92. package/dist/bundle/meeting-model-ZNMYKMCD.js +26 -0
  93. package/dist/bundle/meeting-semantic-ETN3A4BJ.js +22 -0
  94. package/dist/bundle/micromark-extension-gfm-5X7YT43T.js +1838 -0
  95. package/dist/bundle/{node-RPKPDYQS.js → node-MPEQSFI3.js} +2 -2
  96. package/dist/bundle/{node-sqlite-KH2UUYVO.js → node-sqlite-WA32MYSJ.js} +7 -7
  97. package/dist/bundle/notion.js +13 -13
  98. package/dist/bundle/{oauth-NKAI7TQD.js → oauth-IAFZG3IR.js} +7 -7
  99. package/dist/bundle/{open-WSAEAA2V.js → open-M3JQUC5G.js} +5 -5
  100. package/dist/bundle/{openai-JPVDGHG5.js → openai-HXUEHUSD.js} +30 -28
  101. package/dist/bundle/{process-5ZFVKOQX.js → process-F6TKXWWA.js} +1 -1
  102. package/dist/bundle/{program-M3D56D6T.js → program-Y7JAB6TG.js} +5289 -924
  103. package/dist/bundle/{prompt-FROYQ5LV.js → prompt-IMUQLZD2.js} +5 -5
  104. package/dist/bundle/{recognize-NYCHQMCX.js → recognize-2MZAYHAA.js} +4 -4
  105. package/dist/bundle/{remote-4OERF3Z4.js → remote-OV4LB6VR.js} +10 -10
  106. package/dist/bundle/{rerank-TEGXFUWY.js → rerank-ZIULUS34.js} +7 -7
  107. package/dist/bundle/{schemas-MZNNOEYN.js → schemas-DIVZS6TU.js} +1 -1
  108. package/dist/bundle/{serve-HLYYBAXY.js → serve-YU7QBP6L.js} +9 -9
  109. package/dist/bundle/server-FKQET4ZO.js +71 -0
  110. package/dist/bundle/{server-D5OYNEUW.js → server-LGMNONSB.js} +47 -38
  111. package/dist/bundle/services-5WY4DCPJ.js +581 -0
  112. package/dist/bundle/{sqlite-runtime-H2S5RR2F.js → sqlite-runtime-5MXZDETH.js} +6 -6
  113. package/dist/bundle/{state-OPOXCDZL.js → state-LWMZH2KI.js} +6 -6
  114. package/dist/bundle/{store-NHMXEJPD.js → store-EPZYV4VW.js} +17 -13
  115. package/dist/bundle/{store-Y3KRLCJ7.js → store-QE6FEIZD.js} +25 -20
  116. package/dist/bundle/store-maintenance-command-ZUUUFCHL.js +62 -0
  117. package/dist/commands/documents.d.ts +2 -1
  118. package/dist/commands/documents.d.ts.map +1 -1
  119. package/dist/commands/documents.js +2 -2
  120. package/dist/commands/documents.js.map +1 -1
  121. package/dist/commands/library.d.ts +10 -0
  122. package/dist/commands/library.d.ts.map +1 -0
  123. package/dist/commands/library.js +468 -0
  124. package/dist/commands/library.js.map +1 -0
  125. package/dist/commands/session.d.ts.map +1 -1
  126. package/dist/commands/session.js +4 -3
  127. package/dist/commands/session.js.map +1 -1
  128. package/dist/context.d.ts +5 -0
  129. package/dist/context.d.ts.map +1 -1
  130. package/dist/context.js +12 -3
  131. package/dist/context.js.map +1 -1
  132. package/dist/identity.d.ts.map +1 -1
  133. package/dist/identity.js +1 -0
  134. package/dist/identity.js.map +1 -1
  135. package/dist/knowledge.d.ts +27 -0
  136. package/dist/knowledge.d.ts.map +1 -0
  137. package/dist/knowledge.js +87 -0
  138. package/dist/knowledge.js.map +1 -0
  139. package/dist/library.d.ts +44 -0
  140. package/dist/library.d.ts.map +1 -0
  141. package/dist/library.js +149 -0
  142. package/dist/library.js.map +1 -0
  143. package/dist/notion/client.d.ts +4 -1
  144. package/dist/notion/client.d.ts.map +1 -1
  145. package/dist/notion/client.js +5 -2
  146. package/dist/notion/client.js.map +1 -1
  147. package/dist/notion/errors.d.ts.map +1 -1
  148. package/dist/notion/errors.js +26 -1
  149. package/dist/notion/errors.js.map +1 -1
  150. package/dist/notion/reads.d.ts +4 -0
  151. package/dist/notion/reads.d.ts.map +1 -1
  152. package/dist/program.js +2 -2
  153. package/dist/program.js.map +1 -1
  154. package/dist/sync/cursor.d.ts +81 -0
  155. package/dist/sync/cursor.d.ts.map +1 -1
  156. package/dist/sync/cursor.js +63 -2
  157. package/dist/sync/cursor.js.map +1 -1
  158. package/dist/sync/files.d.ts +77 -0
  159. package/dist/sync/files.d.ts.map +1 -0
  160. package/dist/sync/files.js +12 -0
  161. package/dist/sync/files.js.map +1 -0
  162. package/dist/sync/markdown.d.ts +4 -1
  163. package/dist/sync/markdown.d.ts.map +1 -1
  164. package/dist/sync/markdown.js +8 -6
  165. package/dist/sync/markdown.js.map +1 -1
  166. package/dist/sync/source.d.ts +6 -59
  167. package/dist/sync/source.d.ts.map +1 -1
  168. package/dist/sync/source.js +616 -255
  169. package/dist/sync/source.js.map +1 -1
  170. package/dist/version.d.ts +1 -1
  171. package/dist/version.js +1 -1
  172. package/package.json +3 -3
  173. package/skills/notion-cli/SKILL.md +12 -1
  174. package/dist/bundle/command-contract-6G5DC2FN.js +0 -35
  175. package/dist/bundle/decode-7XOFRAAT.js +0 -163
  176. package/dist/bundle/first-screen-JZPJND7J.js +0 -33
  177. package/dist/bundle/server-LWZGVMNW.js +0 -62
  178. package/dist/bundle/store-maintenance-command-D4W7WSLQ.js +0 -53
  179. package/dist/commands/comments.d.ts +0 -3
  180. package/dist/commands/comments.d.ts.map +0 -1
  181. package/dist/commands/comments.js +0 -114
  182. package/dist/commands/comments.js.map +0 -1
  183. package/dist/sample/comments.d.ts +0 -61
  184. package/dist/sample/comments.d.ts.map +0 -1
  185. package/dist/sample/comments.js +0 -39
  186. package/dist/sample/comments.js.map +0 -1
  187. package/dist/sample/records.d.ts +0 -16
  188. package/dist/sample/records.d.ts.map +0 -1
  189. package/dist/sample/records.js +0 -22
  190. package/dist/sample/records.js.map +0 -1
  191. package/dist/sample/transport.d.ts +0 -42
  192. package/dist/sample/transport.d.ts.map +0 -1
  193. package/dist/sample/transport.js +0 -153
  194. package/dist/sample/transport.js.map +0 -1
  195. /package/dist/bundle/{chunk-ZI3YTXSF.js → chunk-VKE77B3F.js} +0 -0
@@ -3,46 +3,48 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  answerOf,
5
5
  messengerContext
6
- } from "./chunk-B2WFKFYL.js";
6
+ } from "./chunk-M3KB25D3.js";
7
+ import {
8
+ chatEventAnswer,
9
+ memberAnswer,
10
+ pollVoteAnswer,
11
+ serveRelay
12
+ } from "./chunk-2LWO3PDX.js";
13
+ import {
14
+ readSecret
15
+ } from "./chunk-KCLOUUYF.js";
16
+ import {
17
+ stringWidth,
18
+ wrapAnsi
19
+ } from "./chunk-EH6ZEJGT.js";
7
20
  import {
8
21
  FETCHING,
9
22
  RULES_VERSION,
10
23
  applyTaskRulesOnArrival,
11
24
  capability,
12
- chatEventAnswer,
13
25
  embeddingKeys,
14
26
  endpointKeyName,
15
- memberAnswer,
16
27
  modelGateway,
17
28
  newSendId,
18
29
  onlineDeps,
19
30
  openRequestTask,
20
31
  patiently,
21
- pollVoteAnswer,
22
32
  queryTerms,
23
33
  refuseLockedOutput,
24
34
  senderIsMe,
25
- serveRelay,
26
35
  servicesFor,
27
36
  syncsOneChat,
28
37
  typedQuery,
29
38
  withQuery,
30
39
  withTimeLimit
31
- } from "./chunk-IQWEJEB5.js";
40
+ } from "./chunk-5IYKVRH2.js";
32
41
  import {
33
42
  holdLock,
34
43
  lockPath,
35
44
  releaseLock,
36
45
  servingProfiles,
37
46
  takeLock
38
- } from "./chunk-B4B65XIO.js";
39
- import {
40
- readSecret
41
- } from "./chunk-4GC5DBHW.js";
42
- import {
43
- stringWidth,
44
- wrapAnsi
45
- } from "./chunk-EH6ZEJGT.js";
47
+ } from "./chunk-2F4QQ7WB.js";
46
48
  import {
47
49
  Command,
48
50
  LOCAL_READ,
@@ -70,10 +72,10 @@ import {
70
72
  snakeKeys,
71
73
  storeTable,
72
74
  withoutProviderRefs
73
- } from "./chunk-UWIA2G6Q.js";
75
+ } from "./chunk-FXEJY4OL.js";
74
76
  import {
75
77
  holdersOf
76
- } from "./chunk-XC5CKHX2.js";
78
+ } from "./chunk-Z56QFOBR.js";
77
79
  import {
78
80
  QUICK_HEALTH_CHECKS,
79
81
  fts5Tables,
@@ -81,7 +83,7 @@ import {
81
83
  lossUnknown,
82
84
  storeDamageReport,
83
85
  storeHealth
84
- } from "./chunk-47R43UVJ.js";
86
+ } from "./chunk-YMYUBZWT.js";
85
87
  import {
86
88
  CORPORA,
87
89
  MIGRATIONS,
@@ -116,42 +118,44 @@ import {
116
118
  storeClients,
117
119
  storeContents,
118
120
  vectorIndexCounts
119
- } from "./chunk-YA4LSSDZ.js";
121
+ } from "./chunk-VBHETQVV.js";
120
122
  import {
121
123
  currentRun,
122
124
  formatLocator,
123
125
  parseLocator,
124
- queryFieldsOf,
125
126
  readDamageMark,
126
127
  readHealthMark,
127
128
  readJournalMark,
128
129
  recordDeepCheck
129
- } from "./chunk-NLDYZBTC.js";
130
+ } from "./chunk-MY742GAD.js";
130
131
  import {
131
132
  failureKey,
132
133
  isStoreDamage
133
- } from "./chunk-7N5QB6NL.js";
134
+ } from "./chunk-6EVKHZKN.js";
135
+ import {
136
+ queryFieldsOf
137
+ } from "./chunk-FWVBPRL4.js";
134
138
  import {
135
139
  modelAddressAllowed,
136
140
  onThisComputer
137
- } from "./chunk-2YR3RYT4.js";
141
+ } from "./chunk-2F6VO5HA.js";
138
142
  import {
139
143
  readSharedSection,
140
144
  sharedConfigPath,
141
145
  writeSharedSection
142
- } from "./chunk-WK3OSDNV.js";
146
+ } from "./chunk-B7ON6KPT.js";
143
147
  import {
144
148
  storePath
145
- } from "./chunk-HWRKURQH.js";
149
+ } from "./chunk-WF4D56CA.js";
146
150
  import {
147
151
  openCache
148
- } from "./chunk-AE2KQ37N.js";
152
+ } from "./chunk-LAYPFBOM.js";
149
153
  import {
150
154
  Credentials,
151
155
  isMovedRun,
152
156
  resolvePaths,
153
157
  writeSecurely
154
- } from "./chunk-RSIS7BR7.js";
158
+ } from "./chunk-3AL7QUS3.js";
155
159
  import {
156
160
  array,
157
161
  boolean,
@@ -178,7 +182,7 @@ import {
178
182
  CliError,
179
183
  singleLine,
180
184
  visibleControls
181
- } from "./chunk-F6MLJ3V5.js";
185
+ } from "./chunk-5RDNBG7D.js";
182
186
  import {
183
187
  __commonJS,
184
188
  __name,
@@ -5518,11 +5522,11 @@ var require_liquid_node = __commonJS({
5518
5522
  }
5519
5523
  });
5520
5524
 
5521
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_8be6aa3a41727a76ce87cf0d5a7bd659/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
5525
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
5522
5526
  import { chmodSync, constants, copyFileSync, existsSync as existsSync10, mkdirSync, realpathSync as realpathSync3, renameSync as renameSync3, rmSync as rmSync3, statfsSync as statfsSync2, statSync as statSync4, writeFileSync as writeFileSync2 } from "node:fs";
5523
5527
  import { dirname as dirname3, resolve } from "node:path";
5524
5528
 
5525
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_8be6aa3a41727a76ce87cf0d5a7bd659/node_modules/@wirecat/cli-core/dist/sealed.js
5529
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/sealed.js
5526
5530
  import { createCipheriv, createDecipheriv, createHash, randomBytes, scrypt, timingSafeEqual } from "node:crypto";
5527
5531
  import { closeSync, createReadStream, createWriteStream, existsSync, openSync, readSync, renameSync, rmSync, statSync } from "node:fs";
5528
5532
  import { Transform } from "node:stream";
@@ -5629,7 +5633,7 @@ var unsealFile = /* @__PURE__ */ __name(async (from, to, password) => {
5629
5633
  renameSync(pending, to);
5630
5634
  }, "unsealFile");
5631
5635
 
5632
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_8be6aa3a41727a76ce87cf0d5a7bd659/node_modules/@wirecat/cli-core/dist/store/compatibility.js
5636
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/store/compatibility.js
5633
5637
  var SPEAKS = MIGRATIONS.at(-1)?.version ?? 0;
5634
5638
  var fileSchemaOf = /* @__PURE__ */ __name((database) => {
5635
5639
  const tracked = database.prepare("SELECT 1 FROM sqlite_master WHERE name = 'schema_migrations'").get();
@@ -5653,7 +5657,7 @@ var compatibilityOf = /* @__PURE__ */ __name((file2, migrations = MIGRATIONS) =>
5653
5657
  };
5654
5658
  }, "compatibilityOf");
5655
5659
 
5656
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_8be6aa3a41727a76ce87cf0d5a7bd659/node_modules/@wirecat/cli-core/dist/store/repair.js
5660
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/store/repair.js
5657
5661
  import { createHash as createHash2 } from "node:crypto";
5658
5662
  var COPY_MARK = "__repair_";
5659
5663
  var COPY_NAME = /__repair_[0-9a-f]{8}(_\d+)?$/;
@@ -5907,19 +5911,19 @@ var deleteCopy = /* @__PURE__ */ __name((database, name) => {
5907
5911
  return found;
5908
5912
  }, "deleteCopy");
5909
5913
 
5910
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_8be6aa3a41727a76ce87cf0d5a7bd659/node_modules/@wirecat/cli-core/dist/cli/store-info.js
5914
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/store-info.js
5911
5915
  import { existsSync as existsSync4, statSync as statSync3 } from "node:fs";
5912
5916
 
5913
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_8be6aa3a41727a76ce87cf0d5a7bd659/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
5917
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
5914
5918
  import { existsSync as existsSync3 } from "node:fs";
5915
5919
 
5916
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_8be6aa3a41727a76ce87cf0d5a7bd659/node_modules/@wirecat/cli-core/dist/store/recover.js
5920
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/store/recover.js
5917
5921
  import { execFileSync, spawn } from "node:child_process";
5918
5922
  import { existsSync as existsSync2, readFileSync, realpathSync, renameSync as renameSync2, rmSync as rmSync2, statfsSync, statSync as statSync2, writeFileSync } from "node:fs";
5919
5923
  import { basename, dirname, join } from "node:path";
5920
5924
  import { Transform as Transform2 } from "node:stream";
5921
5925
 
5922
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_8be6aa3a41727a76ce87cf0d5a7bd659/node_modules/@wirecat/cli-core/dist/store/refill.js
5926
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/store/refill.js
5923
5927
  var REFILL_MARGIN_MS = 864e5;
5924
5928
  var TIME_KEYS = 1e12;
5925
5929
  var integerId = `external_id GLOB '[0-9]*' AND NOT external_id GLOB '*[^0-9]*'`;
@@ -5999,7 +6003,7 @@ var forgetMail = /* @__PURE__ */ __name((database, cutoff, now) => {
5999
6003
  return [...folders].map(([account, count3]) => ({ account, folders: count3 }));
6000
6004
  }, "forgetMail");
6001
6005
 
6002
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_8be6aa3a41727a76ce87cf0d5a7bd659/node_modules/@wirecat/cli-core/dist/store/recover.js
6006
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/store/recover.js
6003
6007
  var SQLITE3_MINIMUM = [3, 43, 0];
6004
6008
  var STORE_PARTS = ["", "-wal", "-shm"];
6005
6009
  var RECOVER_LOCK = ".recover-lock";
@@ -6527,7 +6531,7 @@ var recoverLocked = /* @__PURE__ */ __name(async ({ path, command, version, sqli
6527
6531
  }
6528
6532
  }, "recoverLocked");
6529
6533
 
6530
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_8be6aa3a41727a76ce87cf0d5a7bd659/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
6534
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
6531
6535
  var COUNTED = [
6532
6536
  "accounts",
6533
6537
  "chats",
@@ -6683,7 +6687,7 @@ var storeRecoverCommand = /* @__PURE__ */ __name(({ command, version }) => {
6683
6687
  return recover;
6684
6688
  }, "storeRecoverCommand");
6685
6689
 
6686
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_8be6aa3a41727a76ce87cf0d5a7bd659/node_modules/@wirecat/cli-core/dist/cli/store-info.js
6690
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/store-info.js
6687
6691
  var pendingIfKnown = /* @__PURE__ */ __name((database) => database.prepare("SELECT 1 FROM pragma_table_info('messages') WHERE name = 'normalized_text'").get() ? pendingNormalization(database) : null, "pendingIfKnown");
6688
6692
  var bytesOf = /* @__PURE__ */ __name((path) => existsSync4(path) ? statSync3(path).size : 0, "bytesOf");
6689
6693
  var messageOf = /* @__PURE__ */ __name((error) => error instanceof Error ? error.message : String(error), "messageOf");
@@ -6729,7 +6733,7 @@ var storeInfoCommand = /* @__PURE__ */ __name(() => annotate(new Command("info")
6729
6733
  renderAnswer(this, outputFor(this), itemOf(answer));
6730
6734
  }), "storeInfoCommand");
6731
6735
 
6732
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_8be6aa3a41727a76ce87cf0d5a7bd659/node_modules/@wirecat/cli-core/dist/cli/messenger/password.js
6736
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/messenger/password.js
6733
6737
  var ENCRYPT_OPTION = [
6734
6738
  "--encrypt",
6735
6739
  "compress and encrypt with a password, typed at a hidden prompt or piped on stdin; it is never kept \u2014 lose it and the file cannot be opened"
@@ -6748,7 +6752,7 @@ var passwordOf = /* @__PURE__ */ __name(async (command, { twice }) => {
6748
6752
  return password;
6749
6753
  }, "passwordOf");
6750
6754
 
6751
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_8be6aa3a41727a76ce87cf0d5a7bd659/node_modules/@wirecat/cli-core/dist/replies/rules.js
6755
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/replies/rules.js
6752
6756
  import { existsSync as existsSync5, readFileSync as readFileSync2 } from "node:fs";
6753
6757
  import { join as join2 } from "node:path";
6754
6758
  var REPLY_ACTIONS = ["reply", "task"];
@@ -6919,7 +6923,7 @@ var problem = /* @__PURE__ */ __name((issue) => {
6919
6923
  }, "problem");
6920
6924
  var broken = /* @__PURE__ */ __name((path, why) => new CliError("configuration_error", `the reply rules ${path} cannot be read (${why}) \u2014 fix the file`), "broken");
6921
6925
 
6922
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_8be6aa3a41727a76ce87cf0d5a7bd659/node_modules/@wirecat/cli-core/dist/replies/state.js
6926
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/replies/state.js
6923
6927
  import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
6924
6928
  import { join as join3 } from "node:path";
6925
6929
  var ANSWERED_KEPT = 1e3;
@@ -6972,7 +6976,7 @@ var recordReply = /* @__PURE__ */ __name((state, rule2, message, now) => {
6972
6976
  }, "recordReply");
6973
6977
  var broken2 = /* @__PURE__ */ __name((path, why) => new CliError("configuration_error", `the reply state ${path} cannot be read (${why}) \u2014 fix or move the file`), "broken");
6974
6978
 
6975
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_8be6aa3a41727a76ce87cf0d5a7bd659/node_modules/@wirecat/cli-core/dist/replies/decide.js
6979
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/replies/decide.js
6976
6980
  var skip = /* @__PURE__ */ __name((why) => ({ skip: why }), "skip");
6977
6981
  var decide = /* @__PURE__ */ __name((rule2, incoming, state, now) => {
6978
6982
  const { message, chat, owner, sender } = incoming;
@@ -7078,10 +7082,10 @@ var filled = /* @__PURE__ */ __name((template2, senderName) => {
7078
7082
  return template2.replaceAll("{firstName}", name.split(/\s+/)[0] ?? name).replaceAll("{name}", name);
7079
7083
  }, "filled");
7080
7084
 
7081
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_8be6aa3a41727a76ce87cf0d5a7bd659/node_modules/@wirecat/cli-core/dist/replies/template.js
7085
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/replies/template.js
7082
7086
  var import_liquidjs2 = __toESM(require_liquid_node(), 1);
7083
7087
 
7084
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_8be6aa3a41727a76ce87cf0d5a7bd659/node_modules/@wirecat/cli-core/dist/render/liquid.js
7088
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/render/liquid.js
7085
7089
  var import_liquidjs = __toESM(require_liquid_node(), 1);
7086
7090
  var safeLiquid = /* @__PURE__ */ __name((limits) => {
7087
7091
  const engine = new import_liquidjs.Liquid({
@@ -7108,7 +7112,7 @@ var safeLiquid = /* @__PURE__ */ __name((limits) => {
7108
7112
  return engine;
7109
7113
  }, "safeLiquid");
7110
7114
 
7111
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_8be6aa3a41727a76ce87cf0d5a7bd659/node_modules/@wirecat/cli-core/dist/replies/template.js
7115
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/replies/template.js
7112
7116
  var TEMPLATE_LIMITS = {
7113
7117
  parse: 32768,
7114
7118
  renders: 2e3,
@@ -7247,7 +7251,7 @@ var renderReplyTemplate = /* @__PURE__ */ __name(async (reply, input) => {
7247
7251
  }
7248
7252
  }, "renderReplyTemplate");
7249
7253
 
7250
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_8be6aa3a41727a76ce87cf0d5a7bd659/node_modules/@wirecat/cli-core/dist/replies/dry-run.js
7254
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/replies/dry-run.js
7251
7255
  var DRY_RUN_DAYS = 7;
7252
7256
  var PAGE = 500;
7253
7257
  var dryRun = /* @__PURE__ */ __name(async (store, account, rules, { since, until = Date.now(), only, audience, render }) => {
@@ -7361,7 +7365,7 @@ var storedSince = /* @__PURE__ */ __name(async (store, account, chat, since) =>
7361
7365
  }
7362
7366
  }, "storedSince");
7363
7367
 
7364
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_8be6aa3a41727a76ce87cf0d5a7bd659/node_modules/@wirecat/cli-core/dist/models/ai.js
7368
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/models/ai.js
7365
7369
  var AI_PROVIDERS = ["anthropic", "openai", "ollama"];
7366
7370
  var DEFAULT_BASE_URL = {
7367
7371
  anthropic: "https://api.anthropic.com",
@@ -7511,7 +7515,7 @@ var checkAi = /* @__PURE__ */ __name(async (deps) => {
7511
7515
  }
7512
7516
  }, "checkAi");
7513
7517
 
7514
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_8be6aa3a41727a76ce87cf0d5a7bd659/node_modules/@wirecat/cli-core/dist/models/purpose.js
7518
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/models/purpose.js
7515
7519
  var HOSTED = {
7516
7520
  openai: "https://api.openai.com/v1",
7517
7521
  anthropic: "https://api.anthropic.com"
@@ -7532,7 +7536,7 @@ var purposeModel = /* @__PURE__ */ __name((settings, purpose, deps) => {
7532
7536
  return shared ? { target: shared.target, key: /* @__PURE__ */ __name(() => shared.key, "key"), shared: shared.setting } : void 0;
7533
7537
  }, "purposeModel");
7534
7538
 
7535
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_8be6aa3a41727a76ce87cf0d5a7bd659/node_modules/@wirecat/cli-core/dist/replies/consents.js
7539
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/replies/consents.js
7536
7540
  import { existsSync as existsSync7, readFileSync as readFileSync4 } from "node:fs";
7537
7541
  import { join as join4 } from "node:path";
7538
7542
  var shape = strictObject({
@@ -7557,7 +7561,7 @@ var mayModelReply = /* @__PURE__ */ __name((path, provider, chat) => {
7557
7561
  return consent.provider === provider && !consent.deniedChats.includes(chat);
7558
7562
  }, "mayModelReply");
7559
7563
 
7560
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_8be6aa3a41727a76ce87cf0d5a7bd659/node_modules/@wirecat/cli-core/dist/replies/rendering.js
7564
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/replies/rendering.js
7561
7565
  var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, options = {
7562
7566
  ai: true
7563
7567
  }) => async (rule2, message, chat, now) => {
@@ -7605,7 +7609,7 @@ var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, o
7605
7609
  return result2;
7606
7610
  }, "replyRenderer");
7607
7611
 
7608
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_8be6aa3a41727a76ce87cf0d5a7bd659/node_modules/@wirecat/cli-core/dist/replies/serve.js
7612
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/replies/serve.js
7609
7613
  var NOT_ALLOWED = "replies.send is not allow";
7610
7614
  var NO_RULES = "no rules";
7611
7615
  var ONLY_TASK = "opened a task, sent nothing";
@@ -7698,7 +7702,7 @@ var replyTo = /* @__PURE__ */ __name(async (deps, message) => {
7698
7702
  return { skip: why };
7699
7703
  }, "replyTo");
7700
7704
 
7701
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_8be6aa3a41727a76ce87cf0d5a7bd659/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-catch-up.js
7705
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-catch-up.js
7702
7706
  var START_SYNC_DELAY_MS = 3e4;
7703
7707
  var START_SYNC_BUDGET_MS = 5 * 6e4;
7704
7708
  var START_SYNC_WINDOW_MS = 7 * 864e5;
@@ -7775,7 +7779,7 @@ var startSync = /* @__PURE__ */ __name(({ chats, newestHeld, fetch, note, warn,
7775
7779
  };
7776
7780
  }, "startSync");
7777
7781
 
7778
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_8be6aa3a41727a76ce87cf0d5a7bd659/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-members.js
7782
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-members.js
7779
7783
  var FIRST_FETCH_MS = 6e4;
7780
7784
  var DAY_MS = 864e5;
7781
7785
  var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch, warn, firstMs = FIRST_FETCH_MS, everyMs = DAY_MS }) => {
@@ -7829,7 +7833,7 @@ var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch, warn, firstMs =
7829
7833
  };
7830
7834
  }, "memberFetches");
7831
7835
 
7832
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_8be6aa3a41727a76ce87cf0d5a7bd659/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-notice.js
7836
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-notice.js
7833
7837
  var record2 = /* @__PURE__ */ __name((context, app, severity, attributes) => recordLogFor(context.streams.diagnostic, app, { command: currentRun().command || "serve" })[severity](attributes), "record");
7834
7838
  var noticeFor = /* @__PURE__ */ __name((context, app, severity = "warn") => ({ text, ...attributes }) => {
7835
7839
  if (context.format === "pretty") {
@@ -7862,7 +7866,7 @@ var recordDiagnostics = /* @__PURE__ */ __name((context, app) => {
7862
7866
  return context;
7863
7867
  }, "recordDiagnostics");
7864
7868
 
7865
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_8be6aa3a41727a76ce87cf0d5a7bd659/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-outdated.js
7869
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-outdated.js
7866
7870
  import { existsSync as existsSync8, readFileSync as readFileSync5, realpathSync as realpathSync2 } from "node:fs";
7867
7871
  import { dirname as dirname2, join as join5 } from "node:path";
7868
7872
  var OUTDATED_CHECK_MS = 6e4;
@@ -7948,7 +7952,7 @@ var watchOutdated = /* @__PURE__ */ __name(({ check: check2, onOutdated, everyMs
7948
7952
  };
7949
7953
  }, "watchOutdated");
7950
7954
 
7951
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_8be6aa3a41727a76ce87cf0d5a7bd659/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-stems.js
7955
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-stems.js
7952
7956
  var STEMS_EVERY_MS = 3e4;
7953
7957
  var STEMS_SLICE_MS = 2e3;
7954
7958
  var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY_MS, sliceMs = STEMS_SLICE_MS }) => {
@@ -7988,7 +7992,7 @@ var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY
7988
7992
  };
7989
7993
  }, "stemFills");
7990
7994
 
7991
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_8be6aa3a41727a76ce87cf0d5a7bd659/node_modules/@wirecat/cli-core/dist/render/messages.js
7995
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/render/messages.js
7992
7996
  import { styleText } from "node:util";
7993
7997
  var TIME_WIDTH = 8;
7994
7998
  var INDENT = " ".repeat(TIME_WIDTH + 2);
@@ -8164,7 +8168,7 @@ var editedAt = /* @__PURE__ */ __name((message, options) => {
8164
8168
  return day(edited) === day(message.timestamp) ? time : `${day(edited)} ${time}`;
8165
8169
  }, "editedAt");
8166
8170
 
8167
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_8be6aa3a41727a76ce87cf0d5a7bd659/node_modules/@wirecat/cli-core/dist/cli/messenger/message-items.js
8171
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/messenger/message-items.js
8168
8172
  var defined = /* @__PURE__ */ __name((value) => Object.fromEntries(Object.entries(value).filter(([, one]) => one !== void 0)), "defined");
8169
8173
  var attachmentItem = /* @__PURE__ */ __name((attachment) => defined({
8170
8174
  kind: attachment.kind,
@@ -8260,7 +8264,7 @@ var viewOf = /* @__PURE__ */ __name((context, messenger) => ({
8260
8264
  locale: messenger.app.locale
8261
8265
  }), "viewOf");
8262
8266
 
8263
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_8be6aa3a41727a76ce87cf0d5a7bd659/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-answers.js
8267
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-answers.js
8264
8268
  var observed = /* @__PURE__ */ __name((value) => ({
8265
8269
  value: value.value,
8266
8270
  observed_at: value.observedAt,
@@ -8327,7 +8331,7 @@ var watchEventItem = /* @__PURE__ */ __name((value, account) => {
8327
8331
  }
8328
8332
  }, "watchEventItem");
8329
8333
 
8330
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_8be6aa3a41727a76ce87cf0d5a7bd659/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-command.js
8334
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-command.js
8331
8335
  var watchCommand = /* @__PURE__ */ __name((messenger) => annotate(new Command("watch"), {
8332
8336
  output: { entity: "watch_item" },
8333
8337
  effects: REMOTE_READ,
@@ -8482,7 +8486,7 @@ var describe = /* @__PURE__ */ __name((event, render) => {
8482
8486
  }
8483
8487
  }, "describe");
8484
8488
 
8485
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_8be6aa3a41727a76ce87cf0d5a7bd659/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-command.js
8489
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-command.js
8486
8490
  var serveCommand = /* @__PURE__ */ __name((messenger) => {
8487
8491
  const command = annotate(new Command("serve"), {
8488
8492
  output: { entity: "serve_summary" },
@@ -8768,7 +8772,7 @@ var tasking = /* @__PURE__ */ __name((context, warn) => {
8768
8772
  };
8769
8773
  }, "tasking");
8770
8774
 
8771
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_8be6aa3a41727a76ce87cf0d5a7bd659/node_modules/@wirecat/cli-core/dist/cli/messenger/store-tables-command.js
8775
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/messenger/store-tables-command.js
8772
8776
  import { existsSync as existsSync9 } from "node:fs";
8773
8777
  var PATH = "store tables list";
8774
8778
  var STORE_TABLES_QUERY = {
@@ -8811,7 +8815,7 @@ var storeTablesCommand = /* @__PURE__ */ __name((owner) => {
8811
8815
  return tables;
8812
8816
  }, "storeTablesCommand");
8813
8817
 
8814
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_8be6aa3a41727a76ce87cf0d5a7bd659/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
8818
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
8815
8819
  var SEARCH_INDEXES = ["messages_fts", "chats_fts", "identities_fts"];
8816
8820
  var WORD_INDEX = "message_words";
8817
8821
  var schemaOf = /* @__PURE__ */ __name((database) => {
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_8be6aa3a41727a76ce87cf0d5a7bd659/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/shared-55XJMTPA.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/shared-5XR7K42U.js
8
8
  var entityKind = /* @__PURE__ */ Symbol.for("drizzle:entityKind");
9
9
  var kindsByConstructor = /* @__PURE__ */ new WeakMap();
10
10
  function collectKinds(ctor) {