@wirecat/notion-cli 0.6.0 → 0.8.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 (259) hide show
  1. package/CHANGELOG.md +70 -0
  2. package/README.md +20 -3
  3. package/contracts/wirecat.json +238 -2
  4. package/dist/bin/notion.js +2 -2
  5. package/dist/bundle/agent-FDS2ENXJ.js +42 -0
  6. package/dist/bundle/{all-profiles-AELHUTFU.js → all-profiles-MIGUJ6UM.js} +11 -11
  7. package/dist/bundle/{anthropic-3CCYAGO3.js → anthropic-ZTYBZ7PI.js} +5 -5
  8. package/dist/bundle/{app-server-DJ6P4NY4.js → app-server-MGXJZOJ2.js} +72 -72
  9. package/dist/bundle/{bun-2FLR4IV4.js → bun-NS5YLOQT.js} +2 -2
  10. package/dist/bundle/{bun-sqlite-QB6CU6TH.js → bun-sqlite-EKMD3TXK.js} +6 -6
  11. package/dist/bundle/{chunk-GUIQJUJV.js → chunk-2BPQNFA5.js} +6 -6
  12. package/dist/bundle/{chunk-RD7BKTWV.js → chunk-2Q5ATPA6.js} +4 -4
  13. package/dist/bundle/{chunk-DHVVXQEL.js → chunk-2T76TPDD.js} +3 -3
  14. package/dist/bundle/{chunk-CFQQTDSA.js → chunk-2TVHFJKV.js} +1 -1
  15. package/dist/bundle/{chunk-IURYZSG3.js → chunk-2XWVZDOM.js} +12 -12
  16. package/dist/bundle/{chunk-OEQNP56V.js → chunk-43PCMVTZ.js} +1 -1
  17. package/dist/bundle/{chunk-WGZH2M64.js → chunk-53UXHJEO.js} +16 -3
  18. package/dist/bundle/{chunk-KB35BVTG.js → chunk-5KL3PQWI.js} +2 -2
  19. package/dist/bundle/{chunk-A42T4YX7.js → chunk-5QCPDJLB.js} +2 -2
  20. package/dist/bundle/{chunk-PHKED7AG.js → chunk-64KVWK5N.js} +5 -5
  21. package/dist/bundle/{chunk-QGGRFRMP.js → chunk-66M7VFIM.js} +38 -38
  22. package/dist/bundle/{chunk-EHW45LLT.js → chunk-6BOEXO72.js} +3 -3
  23. package/dist/bundle/{chunk-QEJFBORC.js → chunk-6P7HUUR5.js} +3 -3
  24. package/dist/bundle/{chunk-P27NDZQR.js → chunk-77727OQH.js} +214 -158
  25. package/dist/bundle/{chunk-BEV5LO4D.js → chunk-7KNBZOLH.js} +13 -13
  26. package/dist/bundle/{chunk-FMMYBVCH.js → chunk-7YPZPJTB.js} +1 -1
  27. package/dist/bundle/{chunk-CHPWBQUK.js → chunk-A5PL2GYK.js} +1 -1
  28. package/dist/bundle/{chunk-2Z7UOXFC.js → chunk-AG34MPVN.js} +1 -1
  29. package/dist/bundle/{chunk-STTO2MSY.js → chunk-BCO37YUH.js} +327 -6
  30. package/dist/bundle/{chunk-CL3YNUCC.js → chunk-COF6KS7A.js} +6 -6
  31. package/dist/bundle/{chunk-YDDI4QIT.js → chunk-CWTTCFDX.js} +1182 -669
  32. package/dist/bundle/{chunk-T37TAXVL.js → chunk-D2IVASIC.js} +2 -2
  33. package/dist/bundle/{chunk-5OJLUUOJ.js → chunk-D3G375NT.js} +6 -6
  34. package/dist/bundle/{chunk-3MYN2RMG.js → chunk-DGZNVYKK.js} +8 -8
  35. package/dist/bundle/{chunk-LC6WE6JS.js → chunk-DLEAVO2T.js} +14 -7
  36. package/dist/bundle/{chunk-KGAUINBO.js → chunk-DW6YAEMZ.js} +10 -10
  37. package/dist/bundle/{chunk-WB2KSQIP.js → chunk-E4FNVLTR.js} +39 -6
  38. package/dist/bundle/{chunk-AV2ZJ4WX.js → chunk-E5EYJU5R.js} +1 -1
  39. package/dist/bundle/{chunk-3LMW7U7F.js → chunk-E5XATHAF.js} +21 -8
  40. package/dist/bundle/{chunk-3UX4VJWD.js → chunk-EXHTGQR2.js} +3 -4
  41. package/dist/bundle/{chunk-JFSVAOA7.js → chunk-EZAVBR47.js} +2 -2
  42. package/dist/bundle/{chunk-HOVHE3A3.js → chunk-F7DHR4OO.js} +7 -7
  43. package/dist/bundle/{chunk-HM6AMYHR.js → chunk-FGWQHNKK.js} +2 -2
  44. package/dist/bundle/{chunk-DGMTSDKB.js → chunk-FSWLPNJT.js} +5 -5
  45. package/dist/bundle/{chunk-F5ZAN7OC.js → chunk-GFI3UUIU.js} +1 -1
  46. package/dist/bundle/{chunk-4RFR4J2O.js → chunk-GGNVBN2S.js} +2 -2
  47. package/dist/bundle/{chunk-UOC52GCB.js → chunk-GPFE4SS7.js} +4 -4
  48. package/dist/bundle/{chunk-ESZHGC4Q.js → chunk-H76WEF2L.js} +6 -6
  49. package/dist/bundle/{chunk-LECMHK2F.js → chunk-HPS2YGSZ.js} +1 -1
  50. package/dist/bundle/{chunk-LQVDFD65.js → chunk-HZ5LRWKH.js} +2 -2
  51. package/dist/bundle/{chunk-SEAGUFBX.js → chunk-I5OAVMOI.js} +12 -12
  52. package/dist/bundle/{chunk-TFT4FVRU.js → chunk-I62MWK5L.js} +14 -2
  53. package/dist/bundle/{chunk-WAGADES3.js → chunk-IBFCD6TR.js} +17 -17
  54. package/dist/bundle/{chunk-7L2XOKDZ.js → chunk-IL3UYHCR.js} +8 -8
  55. package/dist/bundle/{chunk-T6XIBULH.js → chunk-J4CXJJJU.js} +132 -32
  56. package/dist/bundle/{chunk-RXU5T5NM.js → chunk-JRZEXLRQ.js} +13 -12
  57. package/dist/bundle/{chunk-IJVTN5L3.js → chunk-KDPV6YBX.js} +2 -2
  58. package/dist/bundle/{chunk-BAXNAOOL.js → chunk-KHEISFJO.js} +3 -3
  59. package/dist/bundle/{chunk-GPRJXJC7.js → chunk-KI6OOW6D.js} +22 -1
  60. package/dist/bundle/{chunk-HVXOA4FO.js → chunk-KPBUJQKT.js} +1 -1
  61. package/dist/bundle/{chunk-FRB2L7OE.js → chunk-LEO5GWPD.js} +3 -3
  62. package/dist/bundle/{chunk-BQBC2WIG.js → chunk-LKUWH6KU.js} +1 -1
  63. package/dist/bundle/{chunk-AE4VW4NB.js → chunk-LYJDZILD.js} +3 -3
  64. package/dist/bundle/{chunk-NSR43UEW.js → chunk-M27SMKNH.js} +5 -5
  65. package/dist/bundle/{chunk-K5IC4FZN.js → chunk-MA6U4XH2.js} +1 -1
  66. package/dist/bundle/{chunk-2XUV7HNE.js → chunk-MC3LAGIW.js} +2 -2
  67. package/dist/bundle/{chunk-YUDVRFXN.js → chunk-MGC2BAD2.js} +1 -1
  68. package/dist/bundle/{chunk-KNCPBX5P.js → chunk-MLXDGBH4.js} +19 -19
  69. package/dist/bundle/{chunk-WAU5LSHP.js → chunk-NQA2STEE.js} +113 -13
  70. package/dist/bundle/{chunk-6EJCI47L.js → chunk-NSBTYJRP.js} +4 -4
  71. package/dist/bundle/{chunk-5XPHFV7H.js → chunk-NSQN4F7H.js} +8 -8
  72. package/dist/bundle/{chunk-YXYZAWWW.js → chunk-NVXMWAEV.js} +6 -6
  73. package/dist/bundle/{chunk-EZMG5QXB.js → chunk-OZAP4FEG.js} +8 -8
  74. package/dist/bundle/{chunk-2CMLY2X3.js → chunk-OZZ5PTHG.js} +5 -5
  75. package/dist/bundle/{chunk-6YOMPW7Y.js → chunk-P4ADIGTL.js} +8 -8
  76. package/dist/bundle/{chunk-DIU2QJJF.js → chunk-PVTW7ZOY.js} +23 -23
  77. package/dist/bundle/{chunk-4VXXOJ2F.js → chunk-Q5PNS2K2.js} +3 -3
  78. package/dist/bundle/{chunk-ERN53B3Z.js → chunk-QQP54EEZ.js} +29 -178
  79. package/dist/bundle/{chunk-XYQVVW4R.js → chunk-RM4DO2WZ.js} +1 -1
  80. package/dist/bundle/{chunk-GCAJW4SR.js → chunk-S3SLDYTU.js} +1 -1
  81. package/dist/bundle/{chunk-JVESLS7B.js → chunk-S5NFSVNK.js} +63 -63
  82. package/dist/bundle/{chunk-Q7EIL6VU.js → chunk-UE7ST7JC.js} +30 -30
  83. package/dist/bundle/{chunk-SAPP2LEH.js → chunk-ULTKZLJV.js} +7 -7
  84. package/dist/bundle/{chunk-G4ZU73SD.js → chunk-VJ5EF4C7.js} +76 -61
  85. package/dist/bundle/{chunk-7JVKQ6NM.js → chunk-WBVZVP4T.js} +4 -4
  86. package/dist/bundle/{chunk-AZLDR36U.js → chunk-WDL3QYN2.js} +3 -3
  87. package/dist/bundle/{chunk-FV4WTZCU.js → chunk-WPNY2J2X.js} +16 -16
  88. package/dist/bundle/{chunk-YYQ5GKAI.js → chunk-XRA2V4MM.js} +1886 -860
  89. package/dist/bundle/{chunk-VH7526NL.js → chunk-Y6KPZOOD.js} +3 -3
  90. package/dist/bundle/{chunk-ZDYEOE7L.js → chunk-YAYVXHMO.js} +48 -48
  91. package/dist/bundle/{chunk-W2VQDIU5.js → chunk-YG2FFC2R.js} +9 -9
  92. package/dist/bundle/{chunk-HHEWTLAT.js → chunk-YOZHKJEN.js} +2 -2
  93. package/dist/bundle/{chunk-KZJQPJK5.js → chunk-ZKD3TL3O.js} +4 -4
  94. package/dist/bundle/command-contract-ZGBZCKZP.js +41 -0
  95. package/dist/bundle/{command-server-entry-VUR6WL77.js → command-server-entry-ZXB7VUIG.js} +29 -29
  96. package/dist/bundle/{decode-I64PF2RM.js → decode-BGLAM2YP.js} +5 -5
  97. package/dist/bundle/{dispatch-JQBAZWCL.js → dispatch-A3WIRXBM.js} +8 -8
  98. package/dist/bundle/{echarts-YRRVLEX3.js → echarts-ISH62J4E.js} +2 -2
  99. package/dist/bundle/{embed-BLXLKMK2.js → embed-POZWSFKL.js} +6 -6
  100. package/dist/bundle/{embedder-JYGF6R7I.js → embedder-7DIUHQOQ.js} +9 -9
  101. package/dist/bundle/{failure-I6AAF5R5.js → failure-BBT3B4UY.js} +2 -2
  102. package/dist/bundle/{first-run-YLDOZGY6.js → first-run-SLMRAWYB.js} +12 -12
  103. package/dist/bundle/first-screen-CCLGBTQ2.js +41 -0
  104. package/dist/bundle/{instructions-AG7SRWTR.js → instructions-G5ZGHVFB.js} +1 -1
  105. package/dist/bundle/{mcp-YGOAUNC3.js → mcp-MQ2L5IIM.js} +2 -2
  106. package/dist/bundle/meeting-combined-P56K6BUT.js +25 -0
  107. package/dist/bundle/meeting-model-UY4ABXAZ.js +27 -0
  108. package/dist/bundle/{meeting-semantic-3DZPHM7L.js → meeting-semantic-VPMFO4FB.js} +6 -6
  109. package/dist/bundle/{node-GJQYN4FT.js → node-NLJINXVQ.js} +2 -2
  110. package/dist/bundle/{node-sqlite-7VXIRQPH.js → node-sqlite-LPV27ECD.js} +7 -7
  111. package/dist/bundle/notes-search-TKP34WJZ.js +64 -0
  112. package/dist/bundle/notion.js +13 -13
  113. package/dist/bundle/{oauth-N67CH2TK.js → oauth-SC4HSJ7X.js} +7 -7
  114. package/dist/bundle/{open-JGXVHIKO.js → open-K2JIOWCG.js} +5 -5
  115. package/dist/bundle/{openai-PFQJTF4H.js → openai-MCKQLBZM.js} +18 -18
  116. package/dist/bundle/{process-MEKCZMX3.js → process-LPVAYRO7.js} +1 -1
  117. package/dist/bundle/{program-DUJYLJH5.js → program-QXA6YXUO.js} +11870 -8637
  118. package/dist/bundle/{prompt-FW44QDHD.js → prompt-XWESMSOG.js} +5 -5
  119. package/dist/bundle/{recognize-62TDQ6A7.js → recognize-TDE6PPXV.js} +4 -4
  120. package/dist/bundle/{remote-7ONFD7GG.js → remote-OAGPQQVE.js} +11 -11
  121. package/dist/bundle/{rerank-YOHQQJS4.js → rerank-375AKI4E.js} +7 -7
  122. package/dist/bundle/{schemas-IIGJ7DOP.js → schemas-ZE62D6CG.js} +1 -1
  123. package/dist/bundle/{serve-ZCXGT5RB.js → serve-YWCHKQEP.js} +9 -9
  124. package/dist/bundle/{server-RQ74M637.js → server-C4SH5PRK.js} +64 -64
  125. package/dist/bundle/server-SYGVF5BJ.js +90 -0
  126. package/dist/bundle/{services-FWBRZ57M.js → services-5Z2P4D2K.js} +51 -51
  127. package/dist/bundle/{sqlite-runtime-ZZBNGV5L.js → sqlite-runtime-KLELNUHI.js} +6 -6
  128. package/dist/bundle/{state-GDDFO62Y.js → state-OWEBLXCG.js} +6 -6
  129. package/dist/bundle/{store-D2LRIWEI.js → store-F63SKKV7.js} +27 -23
  130. package/dist/bundle/{store-KQCLR57N.js → store-IVJXGAX7.js} +21 -21
  131. package/dist/bundle/store-maintenance-command-YBMOO7XH.js +77 -0
  132. package/dist/bundle/surface-G3ITURGS.js +76 -0
  133. package/dist/commands/api.d.ts.map +1 -1
  134. package/dist/commands/api.js +3 -25
  135. package/dist/commands/api.js.map +1 -1
  136. package/dist/commands/comments.d.ts +1 -1
  137. package/dist/commands/comments.d.ts.map +1 -1
  138. package/dist/commands/comments.js +33 -2
  139. package/dist/commands/comments.js.map +1 -1
  140. package/dist/commands/databases.d.ts.map +1 -1
  141. package/dist/commands/databases.js +3 -2
  142. package/dist/commands/databases.js.map +1 -1
  143. package/dist/commands/documents.d.ts +13 -2
  144. package/dist/commands/documents.d.ts.map +1 -1
  145. package/dist/commands/documents.js +291 -23
  146. package/dist/commands/documents.js.map +1 -1
  147. package/dist/commands/library.d.ts.map +1 -1
  148. package/dist/commands/library.js +20 -10
  149. package/dist/commands/library.js.map +1 -1
  150. package/dist/commands/meetings.d.ts +7 -0
  151. package/dist/commands/meetings.d.ts.map +1 -0
  152. package/dist/commands/meetings.js +136 -0
  153. package/dist/commands/meetings.js.map +1 -0
  154. package/dist/commands/rows.d.ts +4 -0
  155. package/dist/commands/rows.d.ts.map +1 -0
  156. package/dist/commands/rows.js +51 -0
  157. package/dist/commands/rows.js.map +1 -0
  158. package/dist/commands/writing.d.ts +2 -1
  159. package/dist/commands/writing.d.ts.map +1 -1
  160. package/dist/commands/writing.js +2 -2
  161. package/dist/commands/writing.js.map +1 -1
  162. package/dist/config.d.ts.map +1 -1
  163. package/dist/config.js +12 -2
  164. package/dist/config.js.map +1 -1
  165. package/dist/context.d.ts +13 -3
  166. package/dist/context.d.ts.map +1 -1
  167. package/dist/context.js +22 -7
  168. package/dist/context.js.map +1 -1
  169. package/dist/generated/wirecat-config.d.ts +13 -0
  170. package/dist/generated/wirecat-config.d.ts.map +1 -0
  171. package/dist/generated/wirecat-config.js +90 -0
  172. package/dist/generated/wirecat-config.js.map +1 -0
  173. package/dist/knowledge.d.ts +18 -1
  174. package/dist/knowledge.d.ts.map +1 -1
  175. package/dist/library.d.ts +4 -5
  176. package/dist/library.d.ts.map +1 -1
  177. package/dist/library.js +11 -14
  178. package/dist/library.js.map +1 -1
  179. package/dist/notion/client.d.ts +2 -6
  180. package/dist/notion/client.d.ts.map +1 -1
  181. package/dist/notion/client.js +7 -8
  182. package/dist/notion/client.js.map +1 -1
  183. package/dist/notion/errors.d.ts +5 -0
  184. package/dist/notion/errors.d.ts.map +1 -1
  185. package/dist/notion/errors.js +40 -1
  186. package/dist/notion/errors.js.map +1 -1
  187. package/dist/notion/meeting-notes.d.ts +10 -0
  188. package/dist/notion/meeting-notes.d.ts.map +1 -0
  189. package/dist/notion/meeting-notes.js +196 -0
  190. package/dist/notion/meeting-notes.js.map +1 -0
  191. package/dist/notion/notion.d.ts +46 -0
  192. package/dist/notion/notion.d.ts.map +1 -1
  193. package/dist/notion/notion.js +105 -14
  194. package/dist/notion/notion.js.map +1 -1
  195. package/dist/notion/page-target.d.ts +30 -0
  196. package/dist/notion/page-target.d.ts.map +1 -0
  197. package/dist/notion/page-target.js +73 -0
  198. package/dist/notion/page-target.js.map +1 -0
  199. package/dist/notion/port.d.ts +10 -0
  200. package/dist/notion/port.d.ts.map +1 -1
  201. package/dist/notion/port.js +21 -0
  202. package/dist/notion/port.js.map +1 -1
  203. package/dist/notion/properties.d.ts +55 -0
  204. package/dist/notion/properties.d.ts.map +1 -0
  205. package/dist/notion/properties.js +280 -0
  206. package/dist/notion/properties.js.map +1 -0
  207. package/dist/notion/reads.d.ts +19 -1
  208. package/dist/notion/reads.d.ts.map +1 -1
  209. package/dist/notion/reads.js +2 -1
  210. package/dist/notion/reads.js.map +1 -1
  211. package/dist/notion/rows.d.ts +14 -0
  212. package/dist/notion/rows.d.ts.map +1 -0
  213. package/dist/notion/rows.js +119 -0
  214. package/dist/notion/rows.js.map +1 -0
  215. package/dist/notion/writes.d.ts +99 -0
  216. package/dist/notion/writes.d.ts.map +1 -1
  217. package/dist/notion/writes.js +278 -67
  218. package/dist/notion/writes.js.map +1 -1
  219. package/dist/program.d.ts.map +1 -1
  220. package/dist/program.js +7 -1
  221. package/dist/program.js.map +1 -1
  222. package/dist/sync/comments.d.ts +12 -0
  223. package/dist/sync/comments.d.ts.map +1 -0
  224. package/dist/sync/comments.js +47 -0
  225. package/dist/sync/comments.js.map +1 -0
  226. package/dist/sync/files.d.ts +10 -4
  227. package/dist/sync/files.d.ts.map +1 -1
  228. package/dist/sync/files.js.map +1 -1
  229. package/dist/sync/from-config.d.ts +13 -0
  230. package/dist/sync/from-config.d.ts.map +1 -0
  231. package/dist/sync/from-config.js +33 -0
  232. package/dist/sync/from-config.js.map +1 -0
  233. package/dist/sync/source.d.ts +2 -1
  234. package/dist/sync/source.d.ts.map +1 -1
  235. package/dist/sync/source.js +25 -29
  236. package/dist/sync/source.js.map +1 -1
  237. package/dist/sync/users.d.ts +1 -11
  238. package/dist/sync/users.d.ts.map +1 -1
  239. package/dist/sync/users.js +0 -33
  240. package/dist/sync/users.js.map +1 -1
  241. package/dist/version.d.ts +1 -1
  242. package/dist/version.js +1 -1
  243. package/package.json +7 -7
  244. package/skills/notion-cli/SKILL.md +29 -3
  245. package/dist/bundle/agent-ILG6AH7S.js +0 -42
  246. package/dist/bundle/command-contract-L2FASWD6.js +0 -41
  247. package/dist/bundle/first-screen-GZH3LMLZ.js +0 -41
  248. package/dist/bundle/meeting-combined-OFQSGKBG.js +0 -25
  249. package/dist/bundle/meeting-model-K6NSX3O5.js +0 -27
  250. package/dist/bundle/notes-search-ACDOPTNH.js +0 -64
  251. package/dist/bundle/server-XMZF57WM.js +0 -90
  252. package/dist/bundle/store-maintenance-command-CK2MU5M6.js +0 -77
  253. package/dist/bundle/surface-K4TPIQW7.js +0 -76
  254. package/dist/bundle/{hast-util-from-html-X2DCPS3T.js → hast-util-from-html-237ZT4C7.js} +3 -3
  255. package/dist/bundle/{hast-util-to-mdast-3CSMIWK2.js → hast-util-to-mdast-H5COQ6HJ.js} +6 -6
  256. package/dist/bundle/{mdast-util-gfm-JO7PHUIB.js → mdast-util-gfm-M3K5BNY2.js} +16 -16
  257. package/dist/bundle/{mdast-util-to-hast-AYJV7KAE.js → mdast-util-to-hast-TSB5MAAV.js} +1 -1
  258. package/dist/bundle/{mdast-util-to-markdown-DOXGHRI7.js → mdast-util-to-markdown-SG6455IT.js} +10 -10
  259. package/dist/bundle/{micromark-extension-gfm-PQ7DWZM7.js → micromark-extension-gfm-7SUOOQ3A.js} +3 -3
@@ -3,52 +3,52 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  PER_RUN,
5
5
  envelope
6
- } from "./chunk-QGGRFRMP.js";
6
+ } from "./chunk-66M7VFIM.js";
7
7
  import {
8
8
  mcpUrlOf
9
- } from "./chunk-Q7EIL6VU.js";
10
- import "./chunk-LECMHK2F.js";
9
+ } from "./chunk-UE7ST7JC.js";
10
+ import "./chunk-HPS2YGSZ.js";
11
11
  import {
12
12
  skillResources
13
- } from "./chunk-CL3YNUCC.js";
13
+ } from "./chunk-COF6KS7A.js";
14
14
  import {
15
15
  appInstructions
16
- } from "./chunk-GCAJW4SR.js";
16
+ } from "./chunk-S3SLDYTU.js";
17
17
  import {
18
18
  answered,
19
19
  failed,
20
20
  registerCommands
21
- } from "./chunk-FV4WTZCU.js";
21
+ } from "./chunk-WPNY2J2X.js";
22
22
  import {
23
23
  agentJson
24
- } from "./chunk-WAU5LSHP.js";
24
+ } from "./chunk-NQA2STEE.js";
25
25
  import {
26
26
  StdioServerTransport,
27
27
  answeredWire,
28
28
  serveStdio
29
- } from "./chunk-OEQNP56V.js";
30
- import "./chunk-ERN53B3Z.js";
31
- import "./chunk-7L2XOKDZ.js";
32
- import "./chunk-TFT4FVRU.js";
33
- import "./chunk-IJVTN5L3.js";
34
- import "./chunk-6EJCI47L.js";
29
+ } from "./chunk-43PCMVTZ.js";
30
+ import "./chunk-QQP54EEZ.js";
31
+ import "./chunk-IL3UYHCR.js";
32
+ import "./chunk-I62MWK5L.js";
33
+ import "./chunk-KDPV6YBX.js";
34
+ import "./chunk-NSBTYJRP.js";
35
35
  import {
36
36
  runCommandForAgent,
37
37
  toolsFromCommands
38
- } from "./chunk-T6XIBULH.js";
39
- import "./chunk-AE4VW4NB.js";
40
- import "./chunk-JFSVAOA7.js";
41
- import "./chunk-GUIQJUJV.js";
38
+ } from "./chunk-J4CXJJJU.js";
39
+ import "./chunk-LYJDZILD.js";
40
+ import "./chunk-EZAVBR47.js";
41
+ import "./chunk-2BPQNFA5.js";
42
42
  import {
43
43
  McpServer
44
44
  } from "./chunk-PL5P7UKW.js";
45
- import "./chunk-YYQ5GKAI.js";
46
- import "./chunk-IURYZSG3.js";
47
- import "./chunk-CHPWBQUK.js";
48
- import "./chunk-GPRJXJC7.js";
49
- import "./chunk-4VXXOJ2F.js";
50
- import "./chunk-CFQQTDSA.js";
51
- import "./chunk-RXU5T5NM.js";
45
+ import "./chunk-XRA2V4MM.js";
46
+ import "./chunk-A5PL2GYK.js";
47
+ import "./chunk-2XWVZDOM.js";
48
+ import "./chunk-KI6OOW6D.js";
49
+ import "./chunk-Q5PNS2K2.js";
50
+ import "./chunk-2TVHFJKV.js";
51
+ import "./chunk-JRZEXLRQ.js";
52
52
  import {
53
53
  DEFAULT_OUTPUT_BYTES,
54
54
  changesAuthorityAt,
@@ -58,68 +58,68 @@ import {
58
58
  judgedTargets,
59
59
  readsOverMcpAt,
60
60
  rootOf2 as rootOf
61
- } from "./chunk-P27NDZQR.js";
62
- import "./chunk-6YOMPW7Y.js";
63
- import "./chunk-QEJFBORC.js";
64
- import "./chunk-ZDYEOE7L.js";
65
- import "./chunk-K5IC4FZN.js";
66
- import "./chunk-KB35BVTG.js";
61
+ } from "./chunk-77727OQH.js";
62
+ import "./chunk-P4ADIGTL.js";
63
+ import "./chunk-6P7HUUR5.js";
64
+ import "./chunk-YAYVXHMO.js";
65
+ import "./chunk-MA6U4XH2.js";
66
+ import "./chunk-5KL3PQWI.js";
67
67
  import {
68
68
  readOnlyLockOf
69
- } from "./chunk-3MYN2RMG.js";
70
- import "./chunk-BAXNAOOL.js";
71
- import "./chunk-5OJLUUOJ.js";
72
- import "./chunk-W2VQDIU5.js";
73
- import "./chunk-PHKED7AG.js";
74
- import "./chunk-DGMTSDKB.js";
75
- import "./chunk-AZLDR36U.js";
69
+ } from "./chunk-DGZNVYKK.js";
70
+ import "./chunk-KHEISFJO.js";
71
+ import "./chunk-D3G375NT.js";
72
+ import "./chunk-YG2FFC2R.js";
73
+ import "./chunk-64KVWK5N.js";
74
+ import "./chunk-FSWLPNJT.js";
75
+ import "./chunk-WDL3QYN2.js";
76
76
  import {
77
77
  mcpHttpMarker
78
- } from "./chunk-UOC52GCB.js";
79
- import "./chunk-WGZH2M64.js";
80
- import "./chunk-YUDVRFXN.js";
81
- import "./chunk-WAGADES3.js";
82
- import "./chunk-DHVVXQEL.js";
83
- import "./chunk-YDDI4QIT.js";
84
- import "./chunk-VH7526NL.js";
85
- import "./chunk-DIU2QJJF.js";
86
- import "./chunk-BQBC2WIG.js";
87
- import "./chunk-KGAUINBO.js";
88
- import "./chunk-5XPHFV7H.js";
89
- import "./chunk-BEV5LO4D.js";
90
- import "./chunk-LQVDFD65.js";
91
- import "./chunk-LC6WE6JS.js";
92
- import "./chunk-2Z7UOXFC.js";
93
- import "./chunk-T37TAXVL.js";
94
- import "./chunk-JVESLS7B.js";
95
- import "./chunk-NSR43UEW.js";
96
- import "./chunk-2CMLY2X3.js";
97
- import "./chunk-FRB2L7OE.js";
98
- import "./chunk-HOVHE3A3.js";
99
- import "./chunk-STTO2MSY.js";
100
- import "./chunk-RD7BKTWV.js";
101
- import "./chunk-HVXOA4FO.js";
102
- import "./chunk-AV2ZJ4WX.js";
103
- import "./chunk-ESZHGC4Q.js";
78
+ } from "./chunk-GPFE4SS7.js";
79
+ import "./chunk-53UXHJEO.js";
80
+ import "./chunk-MGC2BAD2.js";
81
+ import "./chunk-IBFCD6TR.js";
82
+ import "./chunk-2T76TPDD.js";
83
+ import "./chunk-CWTTCFDX.js";
84
+ import "./chunk-Y6KPZOOD.js";
85
+ import "./chunk-PVTW7ZOY.js";
86
+ import "./chunk-LKUWH6KU.js";
87
+ import "./chunk-DW6YAEMZ.js";
88
+ import "./chunk-NSQN4F7H.js";
89
+ import "./chunk-7KNBZOLH.js";
90
+ import "./chunk-HZ5LRWKH.js";
91
+ import "./chunk-DLEAVO2T.js";
92
+ import "./chunk-AG34MPVN.js";
93
+ import "./chunk-D2IVASIC.js";
94
+ import "./chunk-S5NFSVNK.js";
95
+ import "./chunk-M27SMKNH.js";
96
+ import "./chunk-OZZ5PTHG.js";
97
+ import "./chunk-LEO5GWPD.js";
98
+ import "./chunk-F7DHR4OO.js";
99
+ import "./chunk-BCO37YUH.js";
100
+ import "./chunk-2Q5ATPA6.js";
101
+ import "./chunk-KPBUJQKT.js";
102
+ import "./chunk-E5EYJU5R.js";
103
+ import "./chunk-H76WEF2L.js";
104
104
  import "./chunk-D72URWJE.js";
105
- import "./chunk-HHEWTLAT.js";
106
- import "./chunk-YXYZAWWW.js";
107
- import "./chunk-FMMYBVCH.js";
108
- import "./chunk-KNCPBX5P.js";
105
+ import "./chunk-YOZHKJEN.js";
106
+ import "./chunk-NVXMWAEV.js";
107
+ import "./chunk-7YPZPJTB.js";
108
+ import "./chunk-MLXDGBH4.js";
109
109
  import {
110
110
  mcpErrorResult
111
- } from "./chunk-3LMW7U7F.js";
111
+ } from "./chunk-E5XATHAF.js";
112
112
  import "./chunk-S4UUN6LD.js";
113
113
  import "./chunk-Y5E2WNWB.js";
114
114
  import {
115
115
  CliError
116
- } from "./chunk-HM6AMYHR.js";
117
- import "./chunk-F5ZAN7OC.js";
116
+ } from "./chunk-FGWQHNKK.js";
117
+ import "./chunk-GFI3UUIU.js";
118
118
  import {
119
119
  __name
120
120
  } from "./chunk-ZVVMGPBJ.js";
121
121
 
122
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
122
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
123
123
  var EXCLUDED = [["mcp"]];
124
124
  var aliasesOf = /* @__PURE__ */ __name((root, path) => {
125
125
  let at = root;
@@ -235,7 +235,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
235
235
  var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
236
236
  const { app } = options;
237
237
  const { build } = createAppServer(command, context, options);
238
- const { serveOverHttp } = await import("./serve-ZCXGT5RB.js");
238
+ const { serveOverHttp } = await import("./serve-YWCHKQEP.js");
239
239
  const listening = await serveOverHttp(build, {
240
240
  ...http,
241
241
  appName: app.command,
@@ -18,12 +18,12 @@ import {
18
18
  jitCompatCheck,
19
19
  refineSqliteCodecs,
20
20
  sql
21
- } from "./chunk-F5ZAN7OC.js";
21
+ } from "./chunk-GFI3UUIU.js";
22
22
  import {
23
23
  __name
24
24
  } from "./chunk-ZVVMGPBJ.js";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/bun.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/bun.js
27
27
  import { Database } from "bun:sqlite";
28
28
  var bunSQLiteCodecs = refineSqliteCodecs({
29
29
  "integer:boolean": { normalize: booleanFromInteger },
@@ -3,22 +3,22 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  loadVectorExtension,
5
5
  vectorExtension
6
- } from "./chunk-2XUV7HNE.js";
6
+ } from "./chunk-MC3LAGIW.js";
7
7
  import {
8
8
  refuseOwnerStoreInTests
9
- } from "./chunk-HHEWTLAT.js";
10
- import "./chunk-KNCPBX5P.js";
11
- import "./chunk-3LMW7U7F.js";
9
+ } from "./chunk-YOZHKJEN.js";
10
+ import "./chunk-MLXDGBH4.js";
11
+ import "./chunk-E5XATHAF.js";
12
12
  import "./chunk-S4UUN6LD.js";
13
13
  import {
14
14
  importFrom
15
15
  } from "./chunk-Y5E2WNWB.js";
16
- import "./chunk-HM6AMYHR.js";
16
+ import "./chunk-FGWQHNKK.js";
17
17
  import {
18
18
  __name
19
19
  } from "./chunk-ZVVMGPBJ.js";
20
20
 
21
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
21
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
22
22
  var customised = false;
23
23
  var ownLibrary = /* @__PURE__ */ __name(async () => {
24
24
  try {
@@ -2,13 +2,13 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  environmentOf
5
- } from "./chunk-P27NDZQR.js";
5
+ } from "./chunk-77727OQH.js";
6
6
  import {
7
7
  throughWrapper
8
- } from "./chunk-KB35BVTG.js";
8
+ } from "./chunk-5KL3PQWI.js";
9
9
  import {
10
10
  readOnlyLockOf
11
- } from "./chunk-3MYN2RMG.js";
11
+ } from "./chunk-DGZNVYKK.js";
12
12
  import {
13
13
  array,
14
14
  boolean,
@@ -21,12 +21,12 @@ import {
21
21
  } from "./chunk-S4UUN6LD.js";
22
22
  import {
23
23
  CliError
24
- } from "./chunk-HM6AMYHR.js";
24
+ } from "./chunk-FGWQHNKK.js";
25
25
  import {
26
26
  __name
27
27
  } from "./chunk-ZVVMGPBJ.js";
28
28
 
29
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/background/relay.js
29
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/background/relay.js
30
30
  import { createHash } from "node:crypto";
31
31
  import { chmodSync, lstatSync, mkdirSync, rmSync } from "node:fs";
32
32
  import { createConnection, createServer } from "node:net";
@@ -247,7 +247,7 @@ var relayCommand = /* @__PURE__ */ __name((path, request, options) => new Promis
247
247
  }, () => finish({ error: stopped() }));
248
248
  }), "relayCommand");
249
249
 
250
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-relay.js
250
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-relay.js
251
251
  var lentConnection = /* @__PURE__ */ __name((connection, watchers) => throughWrapper(connection, {
252
252
  close: /* @__PURE__ */ __name(async () => {
253
253
  }, "close"),
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  wirecatDirectory
5
- } from "./chunk-HHEWTLAT.js";
5
+ } from "./chunk-YOZHKJEN.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-HM6AMYHR.js";
8
+ } from "./chunk-FGWQHNKK.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/speech/models.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/speech/models.js
14
14
  var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/csukuangfj/${repository}/resolve/${commit}/${name}`, "huggingFace");
15
15
  var gigaam = huggingFace("sherpa-onnx-nemo-transducer-punct-giga-am-v3-russian-2025-12-16", "a6039be7cee829a9044a69ac0ebaf1c191217c97");
16
16
  var gigaamCtc = huggingFace("sherpa-onnx-nemo-ctc-punct-giga-am-v3-russian-2025-12-16", "4fb5407ff028a69fec516cdf4c10fac9ddea7c16");
@@ -137,7 +137,7 @@ var speechModel = /* @__PURE__ */ __name((id) => {
137
137
  return model;
138
138
  }, "speechModel");
139
139
 
140
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/speech/install.js
140
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/speech/install.js
141
141
  import { createHash, randomUUID } from "node:crypto";
142
142
  import { createReadStream, createWriteStream, mkdirSync, statSync } from "node:fs";
143
143
  import { rename, rm } from "node:fs/promises";
@@ -5,10 +5,10 @@ import {
5
5
  id,
6
6
  text,
7
7
  time
8
- } from "./chunk-DIU2QJJF.js";
8
+ } from "./chunk-PVTW7ZOY.js";
9
9
  import {
10
10
  reference
11
- } from "./chunk-3LMW7U7F.js";
11
+ } from "./chunk-E5XATHAF.js";
12
12
  import {
13
13
  array,
14
14
  nullable,
@@ -20,7 +20,7 @@ import {
20
20
  unknown
21
21
  } from "./chunk-S4UUN6LD.js";
22
22
 
23
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/note.js
23
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/note.js
24
24
  var link = {
25
25
  target_text: nullable(text),
26
26
  kind: text,
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/executable.js
7
+ // node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/executable.js
8
8
  import { existsSync } from "node:fs";
9
9
  import { win32 } from "node:path";
10
10
  var variable = /* @__PURE__ */ __name((env, name) => Object.entries(env).find(([key]) => key.toUpperCase() === name)?.[1], "variable");
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError
5
- } from "./chunk-HM6AMYHR.js";
5
+ } from "./chunk-FGWQHNKK.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/files/atomic-write.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/files/atomic-write.js
11
11
  import { randomUUID } from "node:crypto";
12
12
  import { constants } from "node:fs";
13
13
  import { link, open, realpath, rename, unlink } from "node:fs/promises";
@@ -45,7 +45,7 @@ var writeFileAtomic = /* @__PURE__ */ __name(async (path, content, { mode = 384,
45
45
  }
46
46
  }, "writeFileAtomic");
47
47
 
48
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/files/ordinary-file.js
48
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/files/ordinary-file.js
49
49
  import { constants as constants2 } from "node:fs";
50
50
  import { lstat, open as open2 } from "node:fs/promises";
51
51
  var deviceOf = /* @__PURE__ */ __name((dev) => process.platform === "win32" ? BigInt.asUintN(32, dev) : dev, "deviceOf");
@@ -111,21 +111,21 @@ var syncDirectory = /* @__PURE__ */ __name(async (path) => {
111
111
  }
112
112
  }, "syncDirectory");
113
113
 
114
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/files/lock.js
114
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/files/lock.js
115
115
  import { mkdir as mkdir2 } from "node:fs/promises";
116
116
  import { basename as basename2, dirname as dirname2 } from "node:path";
117
117
 
118
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
118
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
119
119
  import { randomUUID as randomUUID2 } from "node:crypto";
120
120
  import { lstat as lstat3, mkdir, open as open3, realpath as realpath3, rmdir as rmdir2, unlink as unlink4 } from "node:fs/promises";
121
121
  import { hostname as hostname2 } from "node:os";
122
122
  import { join as join3 } from "node:path";
123
123
 
124
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
124
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
125
125
  import { lstat as lstat2, readdir, realpath as realpath2, unlink as unlink2 } from "node:fs/promises";
126
126
  import { join as join2 } from "node:path";
127
127
 
128
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/files/native-lease-owner.js
128
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/files/native-lease-owner.js
129
129
  import { hostname } from "node:os";
130
130
  var missingLeaseFile = /* @__PURE__ */ __name((error) => typeof error === "object" && error !== null && "code" in error && error.code === "ENOENT", "missingLeaseFile");
131
131
  var readLeaseOwner = /* @__PURE__ */ __name(async (path, name, signal) => {
@@ -170,7 +170,7 @@ var leaseOwnerStatus = /* @__PURE__ */ __name((owner) => {
170
170
  }
171
171
  }, "leaseOwnerStatus");
172
172
 
173
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
173
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
174
174
  var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
175
175
  const inspect = /* @__PURE__ */ __name(async (destination, options = {}) => {
176
176
  options.signal?.throwIfAborted();
@@ -229,7 +229,7 @@ var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
229
229
  return { inspect, recover };
230
230
  }, "leaseInspection");
231
231
 
232
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/files/native-lease-release.js
232
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/files/native-lease-release.js
233
233
  import { rmdir, unlink as unlink3 } from "node:fs/promises";
234
234
  var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identity) => {
235
235
  let releasing;
@@ -254,7 +254,7 @@ var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identi
254
254
  };
255
255
  }, "ownedNativeLease");
256
256
 
257
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
257
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
258
258
  var validName = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length > 0 && value !== "." && value !== ".." && !/[\\/\0:]/.test(value), "validName");
259
259
  var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
260
260
  const { markerDirectory, legacyMarker } = layout;
@@ -325,7 +325,7 @@ var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
325
325
  };
326
326
  }, "nativeWriterLeaseStore");
327
327
 
328
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/files/lock.js
328
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/files/lock.js
329
329
  var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
330
330
  const folder = dirname2(path);
331
331
  await mkdir2(folder, { recursive: true, mode: 448 });
@@ -340,7 +340,7 @@ var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
340
340
  });
341
341
  }, "acquireLock");
342
342
 
343
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/files/bounded-utf8.js
343
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/files/bounded-utf8.js
344
344
  var readBoundedUtf8File = /* @__PURE__ */ __name(async (path, { maxBytes }) => {
345
345
  if (!Number.isSafeInteger(maxBytes) || maxBytes < 1 || maxBytes > 16 * 1024 * 1024)
346
346
  throw new CliError("validation_error", "file maxBytes takes 1\u201316777216 bytes");
@@ -535,7 +535,7 @@ function toError(value) {
535
535
  }
536
536
  __name(toError, "toError");
537
537
 
538
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/mcp/stdio-wire.js
538
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/mcp/stdio-wire.js
539
539
  import { PassThrough, Writable } from "node:stream";
540
540
  var lineReader = /* @__PURE__ */ __name((onMessage) => {
541
541
  let rest = "";
@@ -2,16 +2,16 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  alive
5
- } from "./chunk-YUDVRFXN.js";
5
+ } from "./chunk-MGC2BAD2.js";
6
6
  import {
7
7
  resolvePaths,
8
8
  writeSecurely
9
- } from "./chunk-KNCPBX5P.js";
9
+ } from "./chunk-MLXDGBH4.js";
10
10
  import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
13
13
 
14
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/background/lock.js
14
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/background/lock.js
15
15
  import { existsSync, linkSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
16
16
  import { dirname, join } from "node:path";
17
17
  var lockPath = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "serve", `${profile}.lock`), "lockPath");
@@ -53,6 +53,17 @@ var releaseLock = /* @__PURE__ */ __name((path, pid = process.pid) => {
53
53
  if (readLock(path)?.pid === pid)
54
54
  rmSync(path, { force: true });
55
55
  }, "releaseLock");
56
+ var currentPath = /* @__PURE__ */ __name((lock) => lock.replace(/\.lock$/, ".current"), "currentPath");
57
+ var markCurrent = /* @__PURE__ */ __name((lock, at = /* @__PURE__ */ new Date()) => writeSecurely(currentPath(lock), `${JSON.stringify({ at: at.toISOString() })}
58
+ `, 384), "markCurrent");
59
+ var readCurrent = /* @__PURE__ */ __name((lock) => {
60
+ try {
61
+ const { at } = JSON.parse(readFileSync(currentPath(lock), "utf8"));
62
+ return typeof at === "string" ? at : void 0;
63
+ } catch {
64
+ return void 0;
65
+ }
66
+ }, "readCurrent");
56
67
  var servingProfiles = /* @__PURE__ */ __name((app, env) => {
57
68
  const dir = dirname(lockPath(app, "default", env));
58
69
  if (!existsSync(dir))
@@ -69,5 +80,7 @@ export {
69
80
  holdLock,
70
81
  takeLock,
71
82
  releaseLock,
83
+ markCurrent,
84
+ readCurrent,
72
85
  servingProfiles
73
86
  };
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError
5
- } from "./chunk-HM6AMYHR.js";
5
+ } from "./chunk-FGWQHNKK.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/ports/messenger.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/ports/messenger.js
11
11
  var throughWrapper = /* @__PURE__ */ __name((inner, handled, wrap = (_, call) => call) => new Proxy(handled, {
12
12
  get: /* @__PURE__ */ __name((own, key) => {
13
13
  if (key in own)
@@ -8,12 +8,12 @@ import {
8
8
  ACCESS_SECONDS,
9
9
  REFRESH_SECONDS,
10
10
  readStored
11
- } from "./chunk-UOC52GCB.js";
11
+ } from "./chunk-GPFE4SS7.js";
12
12
  import {
13
13
  __name
14
14
  } from "./chunk-ZVVMGPBJ.js";
15
15
 
16
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/mcp/http/oauth.js
16
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/mcp/http/oauth.js
17
17
  import { createHash, randomBytes, randomInt, timingSafeEqual } from "node:crypto";
18
18
  import { chmodSync, mkdirSync, renameSync, rmSync, writeFileSync } from "node:fs";
19
19
  import { dirname } from "node:path";
@@ -2,23 +2,23 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  MESSAGE_PARSING
5
- } from "./chunk-LC6WE6JS.js";
5
+ } from "./chunk-DLEAVO2T.js";
6
6
  import {
7
7
  normalize
8
- } from "./chunk-2Z7UOXFC.js";
8
+ } from "./chunk-AG34MPVN.js";
9
9
  import {
10
10
  implicitTextTerms,
11
11
  parseLucene,
12
12
  walkQuery
13
- } from "./chunk-JVESLS7B.js";
13
+ } from "./chunk-S5NFSVNK.js";
14
14
  import {
15
15
  CliError
16
- } from "./chunk-HM6AMYHR.js";
16
+ } from "./chunk-FGWQHNKK.js";
17
17
  import {
18
18
  __name
19
19
  } from "./chunk-ZVVMGPBJ.js";
20
20
 
21
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/search/question-plan.js
21
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/search/question-plan.js
22
22
  var words = /* @__PURE__ */ __name((text) => normalize(text).match(/[\p{L}\p{N}]+/gu) ?? [], "words");
23
23
  var joinedHyphens = /* @__PURE__ */ __name((text) => (normalize(text).match(new RegExp("(?<![:\\p{L}\\p{N}-])\\p{L}[\\p{L}\\p{N}]*(?:-\\p{L}[\\p{L}\\p{N}]*)+", "gu")) ?? []).map((word) => word.replaceAll("-", "")), "joinedHyphens");
24
24
  var scaffolding = new Set(words("what which how many much who where when is are was were do does did can could should we the a an for of to under from in on at has have \u0441\u043A\u043E\u043B\u044C\u043A\u043E \u043A\u0430\u043A\u043E\u0439 \u043A\u0430\u043A\u0430\u044F \u043A\u0430\u043A\u0438\u0435 \u043A\u0430\u043A\u043E\u0435 \u043A\u0442\u043E \u043A\u043E\u043C\u0443 \u043A\u0435\u043C \u0433\u0434\u0435 \u043A\u043E\u0433\u0434\u0430 \u043A\u0430\u043A \u0447\u0442\u043E \u0432\u043E \u043F\u043E \u043D\u0430 \u0432 \u043A \u0441 \u0443 \u0447\u0435\u0440\u0435\u0437 \u043B\u0438 \u0434\u043E\u043B\u0436\u0435\u043D \u0434\u043E\u043B\u0436\u043D\u0430 \u043D\u0443\u0436\u043D\u043E \u0438\u0434\u0451\u0442 \u0438\u0434\u0435\u0442 \u043C\u043E\u0436\u043D\u043E \u043C\u043E\u0436\u0435\u0442 \u043C\u043E\u0433\u0443\u0442"));