@wirecat/notion-cli 0.7.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 (243) hide show
  1. package/CHANGELOG.md +58 -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-CKOACXTW.js → all-profiles-MIGUJ6UM.js} +11 -11
  7. package/dist/bundle/{anthropic-DWBBVTU3.js → anthropic-ZTYBZ7PI.js} +5 -5
  8. package/dist/bundle/{app-server-BHFYNCDE.js → app-server-MGXJZOJ2.js} +72 -72
  9. package/dist/bundle/{bun-ICK2XT7J.js → bun-NS5YLOQT.js} +2 -2
  10. package/dist/bundle/{bun-sqlite-LU5V5Y4A.js → bun-sqlite-EKMD3TXK.js} +6 -6
  11. package/dist/bundle/{chunk-UYEDQGMI.js → chunk-2BPQNFA5.js} +6 -6
  12. package/dist/bundle/{chunk-5NFIUY2P.js → chunk-2Q5ATPA6.js} +4 -4
  13. package/dist/bundle/{chunk-NCCRLAAI.js → chunk-2T76TPDD.js} +3 -3
  14. package/dist/bundle/{chunk-OCGNOJYD.js → chunk-2TVHFJKV.js} +1 -1
  15. package/dist/bundle/{chunk-ITWINZ6R.js → chunk-2XWVZDOM.js} +12 -12
  16. package/dist/bundle/{chunk-IEY7KS6Q.js → chunk-43PCMVTZ.js} +1 -1
  17. package/dist/bundle/{chunk-KWBLDSRV.js → chunk-53UXHJEO.js} +3 -3
  18. package/dist/bundle/{chunk-EMIJVLOA.js → chunk-5KL3PQWI.js} +2 -2
  19. package/dist/bundle/{chunk-SRVTGI3M.js → chunk-5QCPDJLB.js} +2 -2
  20. package/dist/bundle/{chunk-MB4HXDBT.js → chunk-64KVWK5N.js} +5 -5
  21. package/dist/bundle/{chunk-ITW26OBI.js → chunk-66M7VFIM.js} +38 -38
  22. package/dist/bundle/{chunk-QK52ARAU.js → chunk-6BOEXO72.js} +3 -3
  23. package/dist/bundle/{chunk-ZMKAI3F3.js → chunk-6P7HUUR5.js} +3 -3
  24. package/dist/bundle/{chunk-LBRTLZHI.js → chunk-77727OQH.js} +197 -155
  25. package/dist/bundle/{chunk-BXXHUO7Y.js → chunk-7KNBZOLH.js} +13 -13
  26. package/dist/bundle/{chunk-EUF5JNPG.js → chunk-7YPZPJTB.js} +1 -1
  27. package/dist/bundle/{chunk-TWY543BS.js → chunk-A5PL2GYK.js} +1 -1
  28. package/dist/bundle/{chunk-6MQSBWWF.js → chunk-AG34MPVN.js} +1 -1
  29. package/dist/bundle/{chunk-46JBCXLI.js → chunk-BCO37YUH.js} +327 -6
  30. package/dist/bundle/{chunk-7COTHS6G.js → chunk-COF6KS7A.js} +6 -6
  31. package/dist/bundle/{chunk-VXKD533R.js → chunk-CWTTCFDX.js} +995 -610
  32. package/dist/bundle/{chunk-3T3OAYL4.js → chunk-D2IVASIC.js} +2 -2
  33. package/dist/bundle/{chunk-PDVXG3T3.js → chunk-D3G375NT.js} +6 -6
  34. package/dist/bundle/{chunk-3ZSUVFR7.js → chunk-DGZNVYKK.js} +8 -8
  35. package/dist/bundle/{chunk-FHYV4VWY.js → chunk-DLEAVO2T.js} +7 -7
  36. package/dist/bundle/{chunk-UQVUXG7H.js → chunk-DW6YAEMZ.js} +10 -10
  37. package/dist/bundle/{chunk-LEPPRULN.js → chunk-E4FNVLTR.js} +23 -4
  38. package/dist/bundle/{chunk-VRBEYOJL.js → chunk-E5EYJU5R.js} +1 -1
  39. package/dist/bundle/{chunk-A3RJ6FD5.js → chunk-E5XATHAF.js} +8 -8
  40. package/dist/bundle/{chunk-63SW4UXG.js → chunk-EXHTGQR2.js} +1 -1
  41. package/dist/bundle/{chunk-FO3XY2Y2.js → chunk-EZAVBR47.js} +2 -2
  42. package/dist/bundle/{chunk-NV7NNL5T.js → chunk-F7DHR4OO.js} +7 -7
  43. package/dist/bundle/{chunk-4FHKSSXQ.js → chunk-FGWQHNKK.js} +2 -2
  44. package/dist/bundle/{chunk-B6DJQBZI.js → chunk-FSWLPNJT.js} +5 -5
  45. package/dist/bundle/{chunk-364ET7LV.js → chunk-GFI3UUIU.js} +1 -1
  46. package/dist/bundle/{chunk-2OZVCNU5.js → chunk-GGNVBN2S.js} +2 -2
  47. package/dist/bundle/{chunk-X737FHZP.js → chunk-GPFE4SS7.js} +4 -4
  48. package/dist/bundle/{chunk-OW5HW3TD.js → chunk-H76WEF2L.js} +6 -6
  49. package/dist/bundle/{chunk-RNVYNPXT.js → chunk-HPS2YGSZ.js} +1 -1
  50. package/dist/bundle/{chunk-S5P7THM5.js → chunk-HZ5LRWKH.js} +2 -2
  51. package/dist/bundle/{chunk-ZGUUP2T3.js → chunk-I5OAVMOI.js} +12 -12
  52. package/dist/bundle/{chunk-OALFRUMI.js → chunk-I62MWK5L.js} +14 -2
  53. package/dist/bundle/{chunk-3AKMIKND.js → chunk-IBFCD6TR.js} +17 -17
  54. package/dist/bundle/{chunk-HJDQTM3T.js → chunk-IL3UYHCR.js} +8 -8
  55. package/dist/bundle/{chunk-HSVKU4OJ.js → chunk-J4CXJJJU.js} +116 -30
  56. package/dist/bundle/{chunk-R4JV3VLU.js → chunk-JRZEXLRQ.js} +13 -12
  57. package/dist/bundle/{chunk-ALAPDLCP.js → chunk-KDPV6YBX.js} +2 -2
  58. package/dist/bundle/{chunk-BFCRGLOF.js → chunk-KHEISFJO.js} +3 -3
  59. package/dist/bundle/{chunk-FNESLLZS.js → chunk-KI6OOW6D.js} +8 -1
  60. package/dist/bundle/{chunk-3DGHBXH2.js → chunk-KPBUJQKT.js} +1 -1
  61. package/dist/bundle/{chunk-OP2BH55P.js → chunk-LEO5GWPD.js} +3 -3
  62. package/dist/bundle/{chunk-N3NJPHZB.js → chunk-LKUWH6KU.js} +1 -1
  63. package/dist/bundle/{chunk-JPGN473W.js → chunk-LYJDZILD.js} +3 -3
  64. package/dist/bundle/{chunk-JVRBW5LH.js → chunk-M27SMKNH.js} +5 -5
  65. package/dist/bundle/{chunk-YSF5JBRA.js → chunk-MA6U4XH2.js} +1 -1
  66. package/dist/bundle/{chunk-64IK7JFO.js → chunk-MC3LAGIW.js} +2 -2
  67. package/dist/bundle/{chunk-J3DZVB67.js → chunk-MGC2BAD2.js} +1 -1
  68. package/dist/bundle/{chunk-S35UJBFZ.js → chunk-MLXDGBH4.js} +19 -19
  69. package/dist/bundle/{chunk-IYZWHCZJ.js → chunk-NQA2STEE.js} +35 -14
  70. package/dist/bundle/{chunk-2RNJ2JP3.js → chunk-NSBTYJRP.js} +4 -4
  71. package/dist/bundle/{chunk-REOBWSGV.js → chunk-NSQN4F7H.js} +8 -8
  72. package/dist/bundle/{chunk-WUNEJRLJ.js → chunk-NVXMWAEV.js} +6 -6
  73. package/dist/bundle/{chunk-UO4O6WQ4.js → chunk-OZAP4FEG.js} +8 -8
  74. package/dist/bundle/{chunk-OFMCU3BH.js → chunk-OZZ5PTHG.js} +5 -5
  75. package/dist/bundle/{chunk-BQ6CXCLP.js → chunk-P4ADIGTL.js} +8 -8
  76. package/dist/bundle/{chunk-KBY42GKW.js → chunk-PVTW7ZOY.js} +23 -23
  77. package/dist/bundle/{chunk-PSMRUOII.js → chunk-Q5PNS2K2.js} +3 -3
  78. package/dist/bundle/{chunk-LVAFTQ45.js → chunk-QQP54EEZ.js} +29 -178
  79. package/dist/bundle/{chunk-3YXYA6HB.js → chunk-RM4DO2WZ.js} +1 -1
  80. package/dist/bundle/{chunk-JEZJFQQW.js → chunk-S3SLDYTU.js} +1 -1
  81. package/dist/bundle/{chunk-RXGX2CZX.js → chunk-S5NFSVNK.js} +63 -63
  82. package/dist/bundle/{chunk-EWXMIKZN.js → chunk-UE7ST7JC.js} +30 -30
  83. package/dist/bundle/{chunk-6UZ5D2WP.js → chunk-ULTKZLJV.js} +7 -7
  84. package/dist/bundle/{chunk-WJFQMOVM.js → chunk-VJ5EF4C7.js} +61 -61
  85. package/dist/bundle/{chunk-OS4WPXPZ.js → chunk-WBVZVP4T.js} +4 -4
  86. package/dist/bundle/{chunk-QMNEDK7Z.js → chunk-WDL3QYN2.js} +3 -3
  87. package/dist/bundle/{chunk-HOO53OYK.js → chunk-WPNY2J2X.js} +16 -16
  88. package/dist/bundle/{chunk-BFHPT67P.js → chunk-XRA2V4MM.js} +1556 -620
  89. package/dist/bundle/{chunk-3KOJNZH3.js → chunk-Y6KPZOOD.js} +3 -3
  90. package/dist/bundle/{chunk-ADCAWRRX.js → chunk-YAYVXHMO.js} +48 -48
  91. package/dist/bundle/{chunk-DCSPCOPB.js → chunk-YG2FFC2R.js} +9 -9
  92. package/dist/bundle/{chunk-X5LUHN62.js → chunk-YOZHKJEN.js} +2 -2
  93. package/dist/bundle/{chunk-VYZ2J7DT.js → chunk-ZKD3TL3O.js} +4 -4
  94. package/dist/bundle/command-contract-ZGBZCKZP.js +41 -0
  95. package/dist/bundle/{command-server-entry-F3B2KSPO.js → command-server-entry-ZXB7VUIG.js} +29 -29
  96. package/dist/bundle/{decode-FDHFF7GC.js → decode-BGLAM2YP.js} +5 -5
  97. package/dist/bundle/{dispatch-IXKG5Z5Y.js → dispatch-A3WIRXBM.js} +8 -8
  98. package/dist/bundle/{echarts-PGJPVPA4.js → echarts-ISH62J4E.js} +2 -2
  99. package/dist/bundle/{embed-U6X7CNNK.js → embed-POZWSFKL.js} +6 -6
  100. package/dist/bundle/{embedder-3ROL6ROQ.js → embedder-7DIUHQOQ.js} +9 -9
  101. package/dist/bundle/{failure-IYMRXM2X.js → failure-BBT3B4UY.js} +2 -2
  102. package/dist/bundle/{first-run-PNVNHGR7.js → first-run-SLMRAWYB.js} +12 -12
  103. package/dist/bundle/first-screen-CCLGBTQ2.js +41 -0
  104. package/dist/bundle/{instructions-MJQWRI2D.js → instructions-G5ZGHVFB.js} +1 -1
  105. package/dist/bundle/{mcp-JNHOSK4L.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-7WPLMBNT.js → meeting-semantic-VPMFO4FB.js} +6 -6
  109. package/dist/bundle/{node-3UXNV3CD.js → node-NLJINXVQ.js} +2 -2
  110. package/dist/bundle/{node-sqlite-ULWDWM3I.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-LNUZMA72.js → oauth-SC4HSJ7X.js} +7 -7
  114. package/dist/bundle/{open-HGHC35M4.js → open-K2JIOWCG.js} +5 -5
  115. package/dist/bundle/{openai-ISSP57MV.js → openai-MCKQLBZM.js} +18 -18
  116. package/dist/bundle/{process-PB2WCOR2.js → process-LPVAYRO7.js} +1 -1
  117. package/dist/bundle/{program-GASBJRMG.js → program-QXA6YXUO.js} +11176 -8685
  118. package/dist/bundle/{prompt-3VGQVX2B.js → prompt-XWESMSOG.js} +5 -5
  119. package/dist/bundle/{recognize-7Q2P3NME.js → recognize-TDE6PPXV.js} +4 -4
  120. package/dist/bundle/{remote-BBAWKVIT.js → remote-OAGPQQVE.js} +11 -11
  121. package/dist/bundle/{rerank-H4PUS4HV.js → rerank-375AKI4E.js} +7 -7
  122. package/dist/bundle/{schemas-TTVUADHT.js → schemas-ZE62D6CG.js} +1 -1
  123. package/dist/bundle/{serve-FZNSKY7R.js → serve-YWCHKQEP.js} +9 -9
  124. package/dist/bundle/{server-BRRNDW6L.js → server-C4SH5PRK.js} +64 -64
  125. package/dist/bundle/server-SYGVF5BJ.js +90 -0
  126. package/dist/bundle/{services-PEU557KZ.js → services-5Z2P4D2K.js} +51 -51
  127. package/dist/bundle/{sqlite-runtime-4IZJ4YUM.js → sqlite-runtime-KLELNUHI.js} +6 -6
  128. package/dist/bundle/{state-MX3JVT5Q.js → state-OWEBLXCG.js} +6 -6
  129. package/dist/bundle/{store-JUT34REM.js → store-F63SKKV7.js} +27 -23
  130. package/dist/bundle/{store-PP4BPADZ.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/comments.d.ts +1 -1
  134. package/dist/commands/comments.d.ts.map +1 -1
  135. package/dist/commands/comments.js +33 -2
  136. package/dist/commands/comments.js.map +1 -1
  137. package/dist/commands/databases.d.ts.map +1 -1
  138. package/dist/commands/databases.js +3 -2
  139. package/dist/commands/databases.js.map +1 -1
  140. package/dist/commands/documents.d.ts +13 -2
  141. package/dist/commands/documents.d.ts.map +1 -1
  142. package/dist/commands/documents.js +291 -23
  143. package/dist/commands/documents.js.map +1 -1
  144. package/dist/commands/library.d.ts.map +1 -1
  145. package/dist/commands/library.js +12 -4
  146. package/dist/commands/library.js.map +1 -1
  147. package/dist/commands/meetings.d.ts +7 -0
  148. package/dist/commands/meetings.d.ts.map +1 -0
  149. package/dist/commands/meetings.js +136 -0
  150. package/dist/commands/meetings.js.map +1 -0
  151. package/dist/commands/rows.d.ts +4 -0
  152. package/dist/commands/rows.d.ts.map +1 -0
  153. package/dist/commands/rows.js +51 -0
  154. package/dist/commands/rows.js.map +1 -0
  155. package/dist/commands/writing.d.ts +2 -1
  156. package/dist/commands/writing.d.ts.map +1 -1
  157. package/dist/commands/writing.js +2 -2
  158. package/dist/commands/writing.js.map +1 -1
  159. package/dist/config.d.ts.map +1 -1
  160. package/dist/config.js +12 -2
  161. package/dist/config.js.map +1 -1
  162. package/dist/context.d.ts +2 -0
  163. package/dist/context.d.ts.map +1 -1
  164. package/dist/context.js +2 -0
  165. package/dist/context.js.map +1 -1
  166. package/dist/generated/wirecat-config.d.ts.map +1 -1
  167. package/dist/generated/wirecat-config.js +8 -0
  168. package/dist/generated/wirecat-config.js.map +1 -1
  169. package/dist/knowledge.d.ts +18 -1
  170. package/dist/knowledge.d.ts.map +1 -1
  171. package/dist/library.d.ts +4 -0
  172. package/dist/library.d.ts.map +1 -1
  173. package/dist/library.js +11 -1
  174. package/dist/library.js.map +1 -1
  175. package/dist/notion/errors.d.ts.map +1 -1
  176. package/dist/notion/errors.js +19 -0
  177. package/dist/notion/errors.js.map +1 -1
  178. package/dist/notion/meeting-notes.d.ts +10 -0
  179. package/dist/notion/meeting-notes.d.ts.map +1 -0
  180. package/dist/notion/meeting-notes.js +196 -0
  181. package/dist/notion/meeting-notes.js.map +1 -0
  182. package/dist/notion/notion.d.ts +46 -0
  183. package/dist/notion/notion.d.ts.map +1 -1
  184. package/dist/notion/notion.js +105 -14
  185. package/dist/notion/notion.js.map +1 -1
  186. package/dist/notion/page-target.d.ts +30 -0
  187. package/dist/notion/page-target.d.ts.map +1 -0
  188. package/dist/notion/page-target.js +73 -0
  189. package/dist/notion/page-target.js.map +1 -0
  190. package/dist/notion/port.d.ts.map +1 -1
  191. package/dist/notion/port.js +2 -0
  192. package/dist/notion/port.js.map +1 -1
  193. package/dist/notion/properties.d.ts +55 -0
  194. package/dist/notion/properties.d.ts.map +1 -0
  195. package/dist/notion/properties.js +280 -0
  196. package/dist/notion/properties.js.map +1 -0
  197. package/dist/notion/reads.d.ts +19 -1
  198. package/dist/notion/reads.d.ts.map +1 -1
  199. package/dist/notion/reads.js +2 -1
  200. package/dist/notion/reads.js.map +1 -1
  201. package/dist/notion/rows.d.ts +14 -0
  202. package/dist/notion/rows.d.ts.map +1 -0
  203. package/dist/notion/rows.js +119 -0
  204. package/dist/notion/rows.js.map +1 -0
  205. package/dist/notion/writes.d.ts +99 -0
  206. package/dist/notion/writes.d.ts.map +1 -1
  207. package/dist/notion/writes.js +278 -67
  208. package/dist/notion/writes.js.map +1 -1
  209. package/dist/program.d.ts.map +1 -1
  210. package/dist/program.js +7 -1
  211. package/dist/program.js.map +1 -1
  212. package/dist/sync/comments.d.ts +12 -0
  213. package/dist/sync/comments.d.ts.map +1 -0
  214. package/dist/sync/comments.js +47 -0
  215. package/dist/sync/comments.js.map +1 -0
  216. package/dist/sync/files.d.ts +7 -1
  217. package/dist/sync/files.d.ts.map +1 -1
  218. package/dist/sync/files.js.map +1 -1
  219. package/dist/sync/from-config.d.ts.map +1 -1
  220. package/dist/sync/from-config.js +5 -4
  221. package/dist/sync/from-config.js.map +1 -1
  222. package/dist/sync/source.d.ts.map +1 -1
  223. package/dist/sync/source.js +21 -9
  224. package/dist/sync/source.js.map +1 -1
  225. package/dist/version.d.ts +1 -1
  226. package/dist/version.js +1 -1
  227. package/package.json +3 -3
  228. package/skills/notion-cli/SKILL.md +29 -3
  229. package/dist/bundle/agent-AILW4JPO.js +0 -42
  230. package/dist/bundle/command-contract-C2CF4QAH.js +0 -41
  231. package/dist/bundle/first-screen-DEDD64YH.js +0 -41
  232. package/dist/bundle/meeting-combined-HEC25QPY.js +0 -25
  233. package/dist/bundle/meeting-model-R7QPDNZZ.js +0 -27
  234. package/dist/bundle/notes-search-7PE3E3C7.js +0 -64
  235. package/dist/bundle/server-CQJ4LKAZ.js +0 -90
  236. package/dist/bundle/store-maintenance-command-GRFTJBSB.js +0 -77
  237. package/dist/bundle/surface-FPWES3NY.js +0 -76
  238. package/dist/bundle/{hast-util-from-html-X2DCPS3T.js → hast-util-from-html-237ZT4C7.js} +3 -3
  239. package/dist/bundle/{hast-util-to-mdast-3CSMIWK2.js → hast-util-to-mdast-H5COQ6HJ.js} +6 -6
  240. package/dist/bundle/{mdast-util-gfm-JO7PHUIB.js → mdast-util-gfm-M3K5BNY2.js} +16 -16
  241. package/dist/bundle/{mdast-util-to-hast-AYJV7KAE.js → mdast-util-to-hast-TSB5MAAV.js} +1 -1
  242. package/dist/bundle/{mdast-util-to-markdown-DOXGHRI7.js → mdast-util-to-markdown-SG6455IT.js} +10 -10
  243. package/dist/bundle/{micromark-extension-gfm-PQ7DWZM7.js → micromark-extension-gfm-7SUOOQ3A.js} +3 -3
@@ -12,16 +12,16 @@ import {
12
12
  refuseWriteBeforeConnecting,
13
13
  registerPrompts,
14
14
  syncsFirst
15
- } from "./chunk-EWXMIKZN.js";
15
+ } from "./chunk-UE7ST7JC.js";
16
16
  import {
17
17
  stdinFieldOf
18
- } from "./chunk-RNVYNPXT.js";
18
+ } from "./chunk-HPS2YGSZ.js";
19
19
  import {
20
20
  skillResources
21
- } from "./chunk-7COTHS6G.js";
21
+ } from "./chunk-COF6KS7A.js";
22
22
  import {
23
23
  instructions
24
- } from "./chunk-JEZJFQQW.js";
24
+ } from "./chunk-S3SLDYTU.js";
25
25
  import {
26
26
  BinaryResource,
27
27
  Picture,
@@ -40,35 +40,35 @@ import {
40
40
  tierOf,
41
41
  tool,
42
42
  toolKey
43
- } from "./chunk-HOO53OYK.js";
43
+ } from "./chunk-WPNY2J2X.js";
44
44
  import {
45
45
  agentJson
46
- } from "./chunk-IYZWHCZJ.js";
46
+ } from "./chunk-NQA2STEE.js";
47
47
  import {
48
48
  StdioServerTransport,
49
49
  answeredWire,
50
50
  serveStdio
51
- } from "./chunk-IEY7KS6Q.js";
51
+ } from "./chunk-43PCMVTZ.js";
52
52
  import {
53
53
  connectedFor
54
- } from "./chunk-LVAFTQ45.js";
54
+ } from "./chunk-QQP54EEZ.js";
55
55
  import {
56
56
  wholeList
57
- } from "./chunk-HJDQTM3T.js";
57
+ } from "./chunk-IL3UYHCR.js";
58
58
  import {
59
59
  lackedNeed
60
- } from "./chunk-OALFRUMI.js";
60
+ } from "./chunk-I62MWK5L.js";
61
61
  import {
62
62
  findCommand
63
- } from "./chunk-2RNJ2JP3.js";
63
+ } from "./chunk-NSBTYJRP.js";
64
64
  import {
65
65
  runCommandForAgent,
66
66
  toolsFromCommands
67
- } from "./chunk-HSVKU4OJ.js";
67
+ } from "./chunk-J4CXJJJU.js";
68
68
  import {
69
69
  callerOf,
70
70
  callingAgent
71
- } from "./chunk-FO3XY2Y2.js";
71
+ } from "./chunk-EZAVBR47.js";
72
72
  import {
73
73
  McpServer,
74
74
  ResourceTemplate
@@ -77,10 +77,10 @@ import {
77
77
  guardFor,
78
78
  imageSize,
79
79
  servicesFor
80
- } from "./chunk-BFHPT67P.js";
80
+ } from "./chunk-XRA2V4MM.js";
81
81
  import {
82
82
  dateWindow
83
- } from "./chunk-R4JV3VLU.js";
83
+ } from "./chunk-JRZEXLRQ.js";
84
84
  import {
85
85
  DEFAULT_OUTPUT_BYTES,
86
86
  changesAuthorityAt,
@@ -97,42 +97,42 @@ import {
97
97
  rootOf2 as rootOf,
98
98
  sealed,
99
99
  snakeKeys
100
- } from "./chunk-LBRTLZHI.js";
100
+ } from "./chunk-77727OQH.js";
101
101
  import {
102
102
  withCaller
103
- } from "./chunk-BQ6CXCLP.js";
103
+ } from "./chunk-P4ADIGTL.js";
104
104
  import {
105
105
  storedDeps
106
- } from "./chunk-ADCAWRRX.js";
106
+ } from "./chunk-YAYVXHMO.js";
107
107
  import {
108
108
  capability
109
- } from "./chunk-EMIJVLOA.js";
109
+ } from "./chunk-5KL3PQWI.js";
110
110
  import {
111
111
  readOnlyLockOf
112
- } from "./chunk-3ZSUVFR7.js";
112
+ } from "./chunk-DGZNVYKK.js";
113
113
  import {
114
114
  mcpHttpMarker
115
- } from "./chunk-X737FHZP.js";
115
+ } from "./chunk-GPFE4SS7.js";
116
116
  import {
117
117
  openStore,
118
118
  pdfPreviewLimits
119
- } from "./chunk-VXKD533R.js";
119
+ } from "./chunk-CWTTCFDX.js";
120
120
  import {
121
121
  typedCommand
122
- } from "./chunk-BXXHUO7Y.js";
122
+ } from "./chunk-7KNBZOLH.js";
123
123
  import {
124
124
  isCliFailure
125
- } from "./chunk-S5P7THM5.js";
125
+ } from "./chunk-HZ5LRWKH.js";
126
126
  import {
127
127
  timezoneOf
128
- } from "./chunk-RXGX2CZX.js";
128
+ } from "./chunk-S5NFSVNK.js";
129
129
  import {
130
130
  warmEmbedders
131
- } from "./chunk-46JBCXLI.js";
131
+ } from "./chunk-BCO37YUH.js";
132
132
  import {
133
133
  errorObjectOf,
134
134
  mcpErrorResult
135
- } from "./chunk-A3RJ6FD5.js";
135
+ } from "./chunk-E5XATHAF.js";
136
136
  import {
137
137
  description,
138
138
  integer,
@@ -151,15 +151,15 @@ import {
151
151
  import {
152
152
  CliError,
153
153
  visibleControls
154
- } from "./chunk-4FHKSSXQ.js";
154
+ } from "./chunk-FGWQHNKK.js";
155
155
  import {
156
156
  __name
157
157
  } from "./chunk-ZVVMGPBJ.js";
158
158
 
159
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/mcp/server.js
159
+ // 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/server.js
160
160
  import { randomUUID } from "node:crypto";
161
161
 
162
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
162
+ // 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/agent-log.js
163
163
  var agentLog = /* @__PURE__ */ __name((open) => {
164
164
  let held;
165
165
  return {
@@ -178,7 +178,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
178
178
  };
179
179
  }, "agentLog");
180
180
 
181
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/mcp/resources.js
181
+ // 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/resources.js
182
182
  var LISTED = 100;
183
183
  var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
184
184
  server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
@@ -216,7 +216,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
216
216
  });
217
217
  }, "registerResources");
218
218
 
219
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/mcp/session.js
219
+ // 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/session.js
220
220
  var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
221
221
  var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
222
222
  var MessengerSession = class {
@@ -291,7 +291,7 @@ var MessengerSession = class {
291
291
  }
292
292
  };
293
293
 
294
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
294
+ // 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/tools/attachments.js
295
295
  var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
296
296
  const _command = messenger.app.command;
297
297
  return {
@@ -345,7 +345,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
345
345
  };
346
346
  }, "attachmentsTools");
347
347
 
348
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
348
+ // 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/tools/messages-photo.js
349
349
  var PHOTO_LIMIT = 512 * 1024;
350
350
  var IMAGE_TYPES = [
351
351
  ["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
@@ -401,7 +401,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
401
401
  return new Uint8Array(Buffer.concat(chunks));
402
402
  }, "readUpTo");
403
403
 
404
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
404
+ // 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/tools/stats.js
405
405
  var statsTools = /* @__PURE__ */ __name((messenger) => ({
406
406
  stats_charts: tool({
407
407
  title: "A chart from a chat's statistics",
@@ -438,14 +438,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
438
438
  })
439
439
  }), "statsTools");
440
440
 
441
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/mcp/tools.js
441
+ // 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/tools.js
442
442
  var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
443
443
  ...messagesPhotoTools(messenger),
444
444
  ...attachmentsTools(messenger),
445
445
  ...statsTools(messenger)
446
446
  }).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
447
447
 
448
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/mcp/server.js
448
+ // 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/server.js
449
449
  var PER_RUN = /* @__PURE__ */ new Set([
450
450
  "streams",
451
451
  "stdin",
@@ -761,7 +761,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
761
761
  }, "serveOverStdio");
762
762
  var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
763
763
  const { session, embedders, build, log } = createServer(command, context, messenger, options);
764
- const { serveOverHttp } = await import("./serve-FZNSKY7R.js");
764
+ const { serveOverHttp } = await import("./serve-YWCHKQEP.js");
765
765
  const appName = messenger.app.command;
766
766
  const appEnvPrefix = messenger.app.envPrefix;
767
767
  const listening = await serveOverHttp(build, {
@@ -4,15 +4,15 @@ import {
4
4
  MAX_SECRET_INPUT,
5
5
  bufferedInput,
6
6
  inputPolicy
7
- } from "./chunk-ALAPDLCP.js";
7
+ } from "./chunk-KDPV6YBX.js";
8
8
  import {
9
9
  CliError
10
- } from "./chunk-4FHKSSXQ.js";
10
+ } from "./chunk-FGWQHNKK.js";
11
11
  import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
15
+ // 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/terminal/prompt.js
16
16
  import { createInterface } from "node:readline";
17
17
  import { Writable } from "node:stream";
18
18
  var EMPTY_TRIES = 3;
@@ -3,15 +3,15 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  readSharedSection,
5
5
  writeSharedSection
6
- } from "./chunk-NV7NNL5T.js";
6
+ } from "./chunk-F7DHR4OO.js";
7
7
  import {
8
8
  CliError
9
- } from "./chunk-4FHKSSXQ.js";
9
+ } from "./chunk-FGWQHNKK.js";
10
10
  import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
13
13
 
14
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/setup-answers.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/cli/setup-answers.js
15
15
  var PERMISSION_ANSWERS = ["readonly", "allow"];
16
16
  var QUESTIONS = ["languages", "tools", "permissions"];
17
17
  var SECTION = "setup";