@opencode-ai/core 0.0.0-dev-19145 → 0.0.0-dev-19147

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 (774) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{file-mutation-zset28aw.js → bus-03pcvst5.js} +79 -79
  9. package/dist/chunks/{file-mutation-shfaz11f.js → bus-03vfzkzq.js} +4 -4
  10. package/dist/chunks/{file-mutation-4b1sg654.js → bus-07zcvmjy.js} +13 -13
  11. package/dist/chunks/{file-mutation-4j4x9s5w.js → bus-09zpxraa.js} +24 -24
  12. package/dist/chunks/{file-mutation-99vgbsyy.js → bus-0b89de78.js} +5 -5
  13. package/dist/chunks/{file-mutation-0e0xafbb.js → bus-0e0xafbb.js} +2 -2
  14. package/dist/chunks/{file-mutation-t0h3w515.js → bus-0h456tg2.js} +11 -11
  15. package/dist/chunks/{file-mutation-0paq2nw3.js → bus-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{file-mutation-k8feg6vv.js → bus-0rag4e4f.js} +4 -4
  17. package/dist/chunks/{file-mutation-ev7pq6rs.js → bus-0rh3kdcc.js} +5 -5
  18. package/dist/chunks/{file-mutation-0s9ayhjt.js → bus-0s9ayhjt.js} +1 -1
  19. package/dist/chunks/{file-mutation-3tv1tpm6.js → bus-0xt1haj6.js} +29 -29
  20. package/dist/chunks/{file-mutation-js2ntk6a.js → bus-17yxvw7z.js} +13 -13
  21. package/dist/chunks/{file-mutation-81x7eskd.js → bus-1b65ws7n.js} +9 -9
  22. package/dist/chunks/{file-mutation-1ct4r87x.js → bus-1ct4r87x.js} +1 -1
  23. package/dist/chunks/{file-mutation-b8ae5phz.js → bus-1fgw4mms.js} +10 -10
  24. package/dist/chunks/{file-mutation-tbhfrc53.js → bus-1msc25r1.js} +16 -16
  25. package/dist/chunks/{file-mutation-qrpj1s4j.js → bus-20mqg84x.js} +26 -26
  26. package/dist/chunks/{file-mutation-21r38tys.js → bus-21r38tys.js} +1 -1
  27. package/dist/chunks/{file-mutation-2402vzrj.js → bus-2402vzrj.js} +1 -1
  28. package/dist/chunks/{file-mutation-0egemd82.js → bus-259mvakt.js} +9 -9
  29. package/dist/chunks/{file-mutation-k7g5btme.js → bus-265py6yv.js} +165 -165
  30. package/dist/chunks/{file-mutation-9xpfpwey.js → bus-284cjhsv.js} +5 -5
  31. package/dist/chunks/{file-mutation-29x78va6.js → bus-29x78va6.js} +2 -2
  32. package/dist/chunks/{file-mutation-rae26gbb.js → bus-2a1acymz.js} +8 -8
  33. package/dist/chunks/{file-mutation-2a5m3afh.js → bus-2a5m3afh.js} +1 -1
  34. package/dist/chunks/{file-mutation-kxnt8qcg.js → bus-2ady357n.js} +5 -5
  35. package/dist/chunks/{file-mutation-k0wt6c02.js → bus-2b6cd4q1.js} +15 -15
  36. package/dist/chunks/{file-mutation-2sk5e31d.js → bus-2cqzd7yz.js} +27 -27
  37. package/dist/chunks/{file-mutation-xz6pmd8f.js → bus-2frbs4n5.js} +15 -15
  38. package/dist/chunks/{file-mutation-9zg8we79.js → bus-2h28fvw8.js} +20 -20
  39. package/dist/chunks/{file-mutation-2ht70gj7.js → bus-2ht70gj7.js} +1 -1
  40. package/dist/chunks/{file-mutation-2jqmte8w.js → bus-2jqmte8w.js} +2 -2
  41. package/dist/chunks/{file-mutation-8xta96ty.js → bus-2yvtpd40.js} +6 -6
  42. package/dist/chunks/{file-mutation-2t77ycv7.js → bus-3a0173zm.js} +21 -21
  43. package/dist/chunks/{file-mutation-jc9sh6gt.js → bus-3c7wsmqc.js} +20 -20
  44. package/dist/chunks/{file-mutation-qhmvtman.js → bus-3epwwbr6.js} +4 -4
  45. package/dist/chunks/{file-mutation-3fc6dm20.js → bus-3fc6dm20.js} +1 -1
  46. package/dist/chunks/{file-mutation-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{file-mutation-3qzbfqsy.js → bus-3qzbfqsy.js} +2 -2
  48. package/dist/chunks/{file-mutation-3smtnn6g.js → bus-3smtnn6g.js} +1 -1
  49. package/dist/chunks/{file-mutation-3tvqynh2.js → bus-3tvqynh2.js} +1 -1
  50. package/dist/chunks/{file-mutation-vjwmbaty.js → bus-4070pg8x.js} +12 -12
  51. package/dist/chunks/{file-mutation-qbyj8qxd.js → bus-42my878b.js} +1 -1
  52. package/dist/chunks/{file-mutation-2ed8104q.js → bus-4375bpmc.js} +46 -46
  53. package/dist/chunks/{file-mutation-zc50sfb7.js → bus-43a3yqcx.js} +8 -8
  54. package/dist/chunks/{file-mutation-y3f9wfx6.js → bus-44xps6y5.js} +19 -19
  55. package/dist/chunks/{file-mutation-454k5vzh.js → bus-454k5vzh.js} +1 -1
  56. package/dist/chunks/{file-mutation-mpsa3nes.js → bus-4dgqkt2g.js} +12 -12
  57. package/dist/chunks/{file-mutation-4r2nyarf.js → bus-4r2nyarf.js} +1 -1
  58. package/dist/chunks/{file-mutation-kx4bd44t.js → bus-4z9k8dmg.js} +6 -6
  59. package/dist/chunks/{file-mutation-raxt0ax7.js → bus-52a4zrsn.js} +9 -9
  60. package/dist/chunks/{file-mutation-n79tw2ag.js → bus-52zbkqaa.js} +10 -10
  61. package/dist/chunks/{file-mutation-j67hz4sr.js → bus-5bhqk8rd.js} +28 -28
  62. package/dist/chunks/{file-mutation-5daktx2q.js → bus-5daktx2q.js} +1 -1
  63. package/dist/chunks/{file-mutation-t2ddn6kb.js → bus-5f9czyyy.js} +36 -36
  64. package/dist/chunks/{file-mutation-5fmxt4p5.js → bus-5fmxt4p5.js} +1 -1
  65. package/dist/chunks/{file-mutation-2kq45tcm.js → bus-5jra4smz.js} +12 -12
  66. package/dist/chunks/{file-mutation-5jvc5tg2.js → bus-5jvc5tg2.js} +1 -1
  67. package/dist/chunks/{file-mutation-y07pc62d.js → bus-5jwc40bw.js} +11 -11
  68. package/dist/chunks/{file-mutation-ez5b8bq3.js → bus-5sg4xzjf.js} +7 -7
  69. package/dist/chunks/{file-mutation-sjnqgbe6.js → bus-5ws6ykpz.js} +11 -11
  70. package/dist/chunks/{file-mutation-ttq12bnp.js → bus-5zf78s6r.js} +17 -17
  71. package/dist/chunks/{file-mutation-sxhwk0c0.js → bus-61qb9z8b.js} +4 -4
  72. package/dist/chunks/{file-mutation-fz1pdqz4.js → bus-637qq8n2.js} +9 -9
  73. package/dist/chunks/{file-mutation-wwr3ap19.js → bus-68mhmgnx.js} +21 -21
  74. package/dist/chunks/{file-mutation-xspyb9m3.js → bus-6926ty5t.js} +8 -8
  75. package/dist/chunks/{file-mutation-cpy6gm2a.js → bus-6anwy9fs.js} +5 -5
  76. package/dist/chunks/{file-mutation-5dh6cndq.js → bus-6b7g3hjv.js} +16 -16
  77. package/dist/chunks/{file-mutation-v28ws7kz.js → bus-6bngq4h8.js} +13 -13
  78. package/dist/chunks/{file-mutation-mtcjf44p.js → bus-6e958v7x.js} +4 -4
  79. package/dist/chunks/{file-mutation-4wbn6k17.js → bus-6nd3jhcq.js} +9 -9
  80. package/dist/chunks/{file-mutation-5c2dffx6.js → bus-6s6g893m.js} +31 -31
  81. package/dist/chunks/{file-mutation-3x6030n9.js → bus-711hfp6y.js} +2 -2
  82. package/dist/chunks/{file-mutation-72nftnjy.js → bus-72nftnjy.js} +2 -2
  83. package/dist/chunks/{file-mutation-tdpndm1c.js → bus-762r0j46.js} +5 -5
  84. package/dist/chunks/{file-mutation-7ng7exzm.js → bus-79xc10f4.js} +1 -1
  85. package/dist/chunks/{file-mutation-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
  86. package/dist/chunks/{file-mutation-jzvq323k.js → bus-7d0gqbxc.js} +50 -50
  87. package/dist/chunks/{file-mutation-7dqw4kz8.js → bus-7dqw4kz8.js} +1 -1
  88. package/dist/chunks/bus-7fj5dwt0.js +18 -0
  89. package/dist/chunks/{file-mutation-q732cfnv.js → bus-7jrdpkxe.js} +15 -15
  90. package/dist/chunks/{file-mutation-fmf5kng9.js → bus-7npscw6y.js} +26 -26
  91. package/dist/chunks/{file-mutation-crdp7enc.js → bus-7qwqjxd9.js} +25 -25
  92. package/dist/chunks/{file-mutation-986p65m9.js → bus-7tfg2zmn.js} +5 -5
  93. package/dist/chunks/{file-mutation-sm2vbrgr.js → bus-7xhvt7yp.js} +8 -8
  94. package/dist/chunks/{file-mutation-j8swj2w1.js → bus-7z3nt2ce.js} +11 -11
  95. package/dist/chunks/{file-mutation-y724s5yt.js → bus-8gq481r1.js} +4 -4
  96. package/dist/chunks/{file-mutation-1ypdbbt4.js → bus-8q7h2c8p.js} +43 -43
  97. package/dist/chunks/{file-mutation-9pk3p303.js → bus-8qyy1b3c.js} +8 -8
  98. package/dist/chunks/{file-mutation-3ty3h0mk.js → bus-8r8pj8zm.js} +6 -6
  99. package/dist/chunks/{file-mutation-c47pbdfk.js → bus-8vv3f8em.js} +32 -32
  100. package/dist/chunks/{file-mutation-gb73cz2w.js → bus-8xt7sm9n.js} +21 -21
  101. package/dist/chunks/{file-mutation-txaenkad.js → bus-91cyfgge.js} +24 -24
  102. package/dist/chunks/{file-mutation-hhpzk61m.js → bus-93a8yfjt.js} +2 -2
  103. package/dist/chunks/{file-mutation-ntfpb4pt.js → bus-9b06darc.js} +11 -11
  104. package/dist/chunks/{file-mutation-k0g96r8n.js → bus-9bfj2s2r.js} +4 -4
  105. package/dist/chunks/{file-mutation-4y9q5fy2.js → bus-9k25nmjt.js} +8 -8
  106. package/dist/chunks/{file-mutation-7cnkxtbd.js → bus-9nmeg6hb.js} +9 -9
  107. package/dist/chunks/{file-mutation-qvbcabdc.js → bus-9qm9egsn.js} +2 -2
  108. package/dist/chunks/{file-mutation-r062cge9.js → bus-9wht8j3f.js} +39 -39
  109. package/dist/chunks/{file-mutation-pv0a80ht.js → bus-a3pkwgfm.js} +28 -28
  110. package/dist/chunks/{file-mutation-babn4frh.js → bus-a43mdqrv.js} +9 -9
  111. package/dist/chunks/{file-mutation-aaet6srn.js → bus-aaet6srn.js} +2 -2
  112. package/dist/chunks/{file-mutation-shp7mea9.js → bus-ajnaheqp.js} +7 -7
  113. package/dist/chunks/{file-mutation-yg7sb877.js → bus-ajtjthsy.js} +2 -2
  114. package/dist/chunks/{file-mutation-a2ew8a62.js → bus-at5d07az.js} +4 -4
  115. package/dist/chunks/{file-mutation-z48dvxa8.js → bus-axm2fcy6.js} +1 -1
  116. package/dist/chunks/{file-mutation-v8gy3pjr.js → bus-b0z70ywn.js} +1 -1
  117. package/dist/chunks/{file-mutation-rx48f0w5.js → bus-b2txezd7.js} +39 -39
  118. package/dist/chunks/{file-mutation-tnxkc6a0.js → bus-b4vs7y8k.js} +34 -34
  119. package/dist/chunks/{file-mutation-b6gygkdw.js → bus-b6gygkdw.js} +2 -2
  120. package/dist/chunks/{file-mutation-b9wsbatv.js → bus-b9wsbatv.js} +1 -1
  121. package/dist/chunks/{file-mutation-9rye7j78.js → bus-bb34vnzf.js} +3 -3
  122. package/dist/chunks/{file-mutation-dnys7mv6.js → bus-bdamf7mc.js} +3 -3
  123. package/dist/chunks/{file-mutation-dfe8djrf.js → bus-bf0ztrs3.js} +4 -4
  124. package/dist/chunks/{file-mutation-dyqxbeha.js → bus-bpn6w613.js} +11 -11
  125. package/dist/chunks/{file-mutation-bgt6msk1.js → bus-bqarnab4.js} +2 -2
  126. package/dist/chunks/{file-mutation-nx7brarr.js → bus-bwpeshzr.js} +4 -4
  127. package/dist/chunks/{file-mutation-4kda9sbw.js → bus-c1j5nedx.js} +7 -7
  128. package/dist/chunks/{file-mutation-76smfv87.js → bus-c5vv46vd.js} +7 -7
  129. package/dist/chunks/{file-mutation-1kvgva6x.js → bus-cdxszh4j.js} +24 -24
  130. package/dist/chunks/{file-mutation-cdra1vae.js → bus-cq7yjxs1.js} +11 -11
  131. package/dist/chunks/{file-mutation-cq7p734r.js → bus-cvy9v8nj.js} +23 -23
  132. package/dist/chunks/{file-mutation-9vjz8vaq.js → bus-d24yjw8z.js} +16 -16
  133. package/dist/chunks/{file-mutation-326th3fr.js → bus-d6w6mh1h.js} +11 -11
  134. package/dist/chunks/{file-mutation-g2gt0w0k.js → bus-d72308c8.js} +2 -2
  135. package/dist/chunks/{file-mutation-n29tzj9t.js → bus-d9hh4vk8.js} +20 -20
  136. package/dist/chunks/{file-mutation-ftvhvnyg.js → bus-dc9zs5sz.js} +87 -87
  137. package/dist/chunks/{file-mutation-3ks4yd53.js → bus-dcng8tk8.js} +9 -9
  138. package/dist/chunks/{file-mutation-dkvwewr4.js → bus-dkcyx3p2.js} +18 -18
  139. package/dist/chunks/bus-e6s7x5n1.js +460 -0
  140. package/dist/chunks/{file-mutation-pv1dbmgw.js → bus-e80n2ttq.js} +11 -11
  141. package/dist/chunks/{file-mutation-f12kng77.js → bus-etgsznzg.js} +5 -5
  142. package/dist/chunks/{file-mutation-06zhcttw.js → bus-ewvsw10p.js} +10 -10
  143. package/dist/chunks/{file-mutation-z7e42eas.js → bus-f1195tme.js} +20 -20
  144. package/dist/chunks/{file-mutation-cv89hz1h.js → bus-f3zf6xc6.js} +32 -32
  145. package/dist/chunks/{file-mutation-pjvn5h54.js → bus-f4g7wt00.js} +12 -12
  146. package/dist/chunks/{file-mutation-q1v8m6jv.js → bus-fay0kx6k.js} +11 -11
  147. package/dist/chunks/{file-mutation-f9x6rp1j.js → bus-fhvjqr7f.js} +1 -1
  148. package/dist/chunks/{file-mutation-fxbjtjnd.js → bus-fxbjtjnd.js} +1 -1
  149. package/dist/chunks/{file-mutation-fxypknc8.js → bus-fxypknc8.js} +1 -1
  150. package/dist/chunks/{file-mutation-4d0qyyca.js → bus-g0mjj0rj.js} +29 -29
  151. package/dist/chunks/{file-mutation-64z8z5x5.js → bus-g19vc6v7.js} +6 -6
  152. package/dist/chunks/{file-mutation-f36g7wv5.js → bus-g75w3dx0.js} +16 -16
  153. package/dist/chunks/{file-mutation-gd4qta3r.js → bus-gd4qta3r.js} +1 -1
  154. package/dist/chunks/{file-mutation-9ghjyck9.js → bus-gghn6ddw.js} +19 -19
  155. package/dist/chunks/{file-mutation-bby8cgbn.js → bus-h4v2a5qn.js} +5 -5
  156. package/dist/chunks/{file-mutation-6kza5psa.js → bus-h5pkretn.js} +26 -26
  157. package/dist/chunks/{file-mutation-h6vf3j39.js → bus-h6vf3j39.js} +1 -1
  158. package/dist/chunks/{file-mutation-g20rb2e2.js → bus-h71tptf3.js} +15 -15
  159. package/dist/chunks/{file-mutation-r3xt2kax.js → bus-h94by419.js} +14 -14
  160. package/dist/chunks/{file-mutation-17yyz20s.js → bus-h983e39c.js} +21 -21
  161. package/dist/chunks/{file-mutation-heyhwy2w.js → bus-heyhwy2w.js} +1 -1
  162. package/dist/chunks/{file-mutation-hfr11a94.js → bus-hfr11a94.js} +2 -2
  163. package/dist/chunks/{file-mutation-g2dy4bvs.js → bus-hrvm11jt.js} +3 -3
  164. package/dist/chunks/{file-mutation-txtxjcd6.js → bus-hrxre78j.js} +15 -15
  165. package/dist/chunks/{file-mutation-z7zpek7w.js → bus-hs6cevvz.js} +11 -11
  166. package/dist/chunks/{file-mutation-enamxrz2.js → bus-htsdw4aq.js} +2 -2
  167. package/dist/chunks/{file-mutation-hx63qw1f.js → bus-j8e2hagy.js} +44 -44
  168. package/dist/chunks/{file-mutation-d2peqda8.js → bus-j8vtfwgc.js} +25 -25
  169. package/dist/chunks/{file-mutation-a975ej57.js → bus-j8yzmn16.js} +25 -25
  170. package/dist/chunks/{file-mutation-gq2dhm0f.js → bus-jayphp49.js} +6 -6
  171. package/dist/chunks/{file-mutation-hnyf01b0.js → bus-je9hks3h.js} +5 -5
  172. package/dist/chunks/{file-mutation-w9q489q5.js → bus-jg6xgb04.js} +18 -18
  173. package/dist/chunks/{file-mutation-ykv0c0be.js → bus-jmprf74n.js} +36 -36
  174. package/dist/chunks/{file-mutation-s4z7bqeh.js → bus-jn4cksvw.js} +60 -60
  175. package/dist/chunks/{file-mutation-7nxyxket.js → bus-jp5dra8g.js} +1 -1
  176. package/dist/chunks/{file-mutation-mcx7a78c.js → bus-jp5mwzrf.js} +18 -18
  177. package/dist/chunks/{file-mutation-yhtqjkzd.js → bus-jpg38yrs.js} +6 -6
  178. package/dist/chunks/{file-mutation-zwj404z1.js → bus-jtrm4nst.js} +32 -32
  179. package/dist/chunks/{file-mutation-jwcy2c2z.js → bus-jwcy2c2z.js} +1 -1
  180. package/dist/chunks/{file-mutation-txs58e9j.js → bus-jy6mxw71.js} +33 -33
  181. package/dist/chunks/{file-mutation-5xeyd98q.js → bus-jzrg40z5.js} +13 -13
  182. package/dist/chunks/{file-mutation-k4bwy1x5.js → bus-k4bwy1x5.js} +1 -1
  183. package/dist/chunks/{file-mutation-dsstwbg7.js → bus-k4cpqqjy.js} +8 -8
  184. package/dist/chunks/{file-mutation-yp0nmk3h.js → bus-k4kachtf.js} +20 -20
  185. package/dist/chunks/{file-mutation-kg06axw8.js → bus-kg06axw8.js} +1 -1
  186. package/dist/chunks/{file-mutation-c2sa0bfw.js → bus-kr6c5hfe.js} +11 -11
  187. package/dist/chunks/{file-mutation-kvsjn1dr.js → bus-kvsjn1dr.js} +2 -2
  188. package/dist/chunks/{file-mutation-e6v427vd.js → bus-m7nqr3y1.js} +2 -2
  189. package/dist/chunks/{file-mutation-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
  190. package/dist/chunks/bus-mf5kcrna.js +4 -0
  191. package/dist/chunks/{file-mutation-mvfsc1pv.js → bus-mhkvc446.js} +3 -3
  192. package/dist/chunks/bus-mp49ea6v.js +22 -0
  193. package/dist/chunks/{file-mutation-sr4h8txr.js → bus-mstaf5wp.js} +4 -4
  194. package/dist/chunks/{file-mutation-7w3s9kd0.js → bus-n8c291r7.js} +6 -6
  195. package/dist/chunks/{file-mutation-ptrtafvx.js → bus-ne88a073.js} +11 -11
  196. package/dist/chunks/{file-mutation-73dc4en3.js → bus-nq27d7ck.js} +9 -9
  197. package/dist/chunks/{file-mutation-pez43mez.js → bus-nqq6exsp.js} +9 -9
  198. package/dist/chunks/{file-mutation-5aa0x91g.js → bus-nxbee6yf.js} +30 -30
  199. package/dist/chunks/{file-mutation-xkc72jxy.js → bus-p4vv2etq.js} +10 -10
  200. package/dist/chunks/{file-mutation-pjvnvgmy.js → bus-pjvnvgmy.js} +1 -1
  201. package/dist/chunks/{file-mutation-pknna89w.js → bus-pknna89w.js} +1 -1
  202. package/dist/chunks/{file-mutation-45b1kca6.js → bus-pnybsy69.js} +25 -25
  203. package/dist/chunks/{file-mutation-6nd37hr3.js → bus-pqrjcscw.js} +17 -17
  204. package/dist/chunks/{file-mutation-zez4nnyf.js → bus-pwp32wtj.js} +10 -10
  205. package/dist/chunks/{file-mutation-ba9wjnjy.js → bus-q2tms32v.js} +8 -8
  206. package/dist/chunks/{file-mutation-2s6dtgtx.js → bus-qhr29g4e.js} +35 -35
  207. package/dist/chunks/{file-mutation-01vtss9b.js → bus-qmth3j02.js} +7 -7
  208. package/dist/chunks/{file-mutation-9g2qkkxg.js → bus-qmw0r92f.js} +27 -27
  209. package/dist/chunks/{file-mutation-3gvz0573.js → bus-qr77fm55.js} +10 -10
  210. package/dist/chunks/{file-mutation-qsdy395h.js → bus-qsdy395h.js} +1 -1
  211. package/dist/chunks/{file-mutation-kkxc5154.js → bus-r0msr716.js} +4 -4
  212. package/dist/chunks/{file-mutation-mfv0zw27.js → bus-r5w2ssxe.js} +9 -9
  213. package/dist/chunks/{file-mutation-6dqhqmxd.js → bus-r64qmg5x.js} +10 -10
  214. package/dist/chunks/{file-mutation-r8dhm0tv.js → bus-r8dhm0tv.js} +1 -1
  215. package/dist/chunks/{file-mutation-tmd7jntm.js → bus-rbrvrbf2.js} +26 -26
  216. package/dist/chunks/{file-mutation-119my715.js → bus-rcjsbsfn.js} +17 -17
  217. package/dist/chunks/{file-mutation-22xjknbc.js → bus-reajtcty.js} +18 -18
  218. package/dist/chunks/{file-mutation-91x3tn6q.js → bus-rjg60sz9.js} +15 -15
  219. package/dist/chunks/{file-mutation-kx181zyf.js → bus-rq5svkab.js} +47 -47
  220. package/dist/chunks/{file-mutation-etamtscj.js → bus-rrzd4gct.js} +5 -5
  221. package/dist/chunks/{file-mutation-apjnhj61.js → bus-rv49c601.js} +3 -3
  222. package/dist/chunks/{file-mutation-h6hfrtqv.js → bus-rw9zkh5y.js} +15 -15
  223. package/dist/chunks/{file-mutation-cq35m6me.js → bus-rxbdfnq0.js} +3 -3
  224. package/dist/chunks/{file-mutation-6h02bg3y.js → bus-s357kp59.js} +17 -17
  225. package/dist/chunks/{file-mutation-pcsdq11k.js → bus-s7xce10k.js} +18 -18
  226. package/dist/chunks/{file-mutation-sba4qhjf.js → bus-sba4qhjf.js} +1 -1
  227. package/dist/chunks/{file-mutation-sbnvhk9g.js → bus-sbnvhk9g.js} +1 -1
  228. package/dist/chunks/{file-mutation-bbngg50h.js → bus-sdsms561.js} +18 -18
  229. package/dist/chunks/{file-mutation-0tqc2v94.js → bus-sdvg309b.js} +3 -3
  230. package/dist/chunks/{file-mutation-45a3e49b.js → bus-se8jsmsp.js} +6 -6
  231. package/dist/chunks/{file-mutation-g75qfjc9.js → bus-sgr2ma5w.js} +44 -44
  232. package/dist/chunks/{file-mutation-mfzandgw.js → bus-shktkm8e.js} +22 -22
  233. package/dist/chunks/{file-mutation-pd4v9smd.js → bus-sktsn1jv.js} +13 -13
  234. package/dist/chunks/{file-mutation-ww2ebcpy.js → bus-sms7kmhw.js} +7 -7
  235. package/dist/chunks/{file-mutation-k9tare26.js → bus-sqmwq5mx.js} +22 -22
  236. package/dist/chunks/{file-mutation-13fpjj1h.js → bus-sqsf8ez3.js} +20 -20
  237. package/dist/chunks/{file-mutation-z3s9j4q6.js → bus-t00v3gkt.js} +12 -12
  238. package/dist/chunks/{file-mutation-zzjwypeh.js → bus-t1zpr9sn.js} +6 -6
  239. package/dist/chunks/{file-mutation-tazgh4e4.js → bus-tazgh4e4.js} +1 -1
  240. package/dist/chunks/{file-mutation-tcezcvh9.js → bus-tcezcvh9.js} +1 -1
  241. package/dist/chunks/{file-mutation-tjykrgmx.js → bus-tjykrgmx.js} +1 -1
  242. package/dist/chunks/{file-mutation-hpbtcqba.js → bus-tppvcy65.js} +9 -9
  243. package/dist/chunks/{file-mutation-0vyk9fdn.js → bus-ty85120y.js} +39 -39
  244. package/dist/chunks/{file-mutation-xdff1234.js → bus-v124ymdv.js} +54 -54
  245. package/dist/chunks/{file-mutation-2c009s0k.js → bus-vcxn1vs0.js} +26 -26
  246. package/dist/chunks/{file-mutation-vaqgp3x5.js → bus-vg7z0tv3.js} +10 -10
  247. package/dist/chunks/{file-mutation-7rzac2j8.js → bus-vja40awy.js} +15 -15
  248. package/dist/chunks/{file-mutation-9295dqc9.js → bus-vkpagyjs.js} +11 -11
  249. package/dist/chunks/{file-mutation-mv29cp6n.js → bus-vnxss00g.js} +23 -23
  250. package/dist/chunks/{file-mutation-7ry09vv5.js → bus-vwwkt776.js} +3 -3
  251. package/dist/chunks/{file-mutation-6abnk40k.js → bus-w3jym6ha.js} +6 -6
  252. package/dist/chunks/{file-mutation-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{file-mutation-7bh11fvr.js → bus-w9qr98xp.js} +24 -24
  254. package/dist/chunks/{file-mutation-wd87259q.js → bus-wd87259q.js} +1 -1
  255. package/dist/chunks/bus-wehvdrgf.js +247 -0
  256. package/dist/chunks/{file-mutation-ts6w764v.js → bus-x0vtmq93.js} +8 -8
  257. package/dist/chunks/{file-mutation-x1ezjp6w.js → bus-x1ezjp6w.js} +1 -1
  258. package/dist/chunks/{file-mutation-n9bnhgwz.js → bus-x727j1wn.js} +17 -17
  259. package/dist/chunks/{file-mutation-dek5y14m.js → bus-x9bn8htz.js} +4 -4
  260. package/dist/chunks/{file-mutation-440fe95r.js → bus-xas2870y.js} +25 -25
  261. package/dist/chunks/{file-mutation-qzgw1bvz.js → bus-xp39whtd.js} +19 -19
  262. package/dist/chunks/{file-mutation-eesgpqrv.js → bus-xraeeqg3.js} +16 -16
  263. package/dist/chunks/{file-mutation-52exjygq.js → bus-xrevt9hr.js} +20 -20
  264. package/dist/chunks/{file-mutation-9stdvdcq.js → bus-xv5rxm99.js} +18 -18
  265. package/dist/chunks/{file-mutation-xw0r27ex.js → bus-xw0r27ex.js} +1 -1
  266. package/dist/chunks/{file-mutation-gvqp5mcx.js → bus-xy4ye41c.js} +12 -12
  267. package/dist/chunks/{file-mutation-y1fvbwt7.js → bus-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{file-mutation-hgeb4s25.js → bus-y1ybvaj4.js} +3 -3
  269. package/dist/chunks/{file-mutation-bxnxw8jj.js → bus-y4nzzd5t.js} +5 -5
  270. package/dist/chunks/{file-mutation-xqne8rgr.js → bus-y58vhj7k.js} +6 -6
  271. package/dist/chunks/{file-mutation-av1j229j.js → bus-y9j759kk.js} +4 -4
  272. package/dist/chunks/{file-mutation-m7xx730c.js → bus-ybm7km80.js} +13 -13
  273. package/dist/chunks/{file-mutation-yfbd16n1.js → bus-yfbd16n1.js} +2 -2
  274. package/dist/chunks/{file-mutation-dkyd48ce.js → bus-yn1kx32j.js} +22 -22
  275. package/dist/chunks/{file-mutation-fmhb14bc.js → bus-ypg1z1k5.js} +9 -9
  276. package/dist/chunks/{file-mutation-fmthvvtq.js → bus-yqj4c6v0.js} +35 -35
  277. package/dist/chunks/{file-mutation-kh3skkyd.js → bus-yzmxwpmp.js} +11 -11
  278. package/dist/chunks/{file-mutation-z1k01bn4.js → bus-z1k01bn4.js} +2 -2
  279. package/dist/chunks/{file-mutation-vep9yay1.js → bus-z3xgatyd.js} +4 -4
  280. package/dist/chunks/{file-mutation-m7a9j46m.js → bus-z9av7sw1.js} +28 -28
  281. package/dist/chunks/{file-mutation-4nf6feq9.js → bus-za343mrp.js} +7 -7
  282. package/dist/chunks/{file-mutation-zxq2ej10.js → bus-zxq2ej10.js} +1 -1
  283. package/dist/chunks/{file-mutation-5es8c9fg.js → bus-zyhgr980.js} +4 -4
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +5 -5
  286. package/dist/codemode/tool.js +2 -2
  287. package/dist/command.js +81 -81
  288. package/dist/config/discovery.js +77 -77
  289. package/dist/config/markdown.js +1 -1
  290. package/dist/config/normalize.js +19 -19
  291. package/dist/config/plugin/agent.js +114 -114
  292. package/dist/config/plugin/command.js +205 -205
  293. package/dist/config/plugin/compaction.js +153 -153
  294. package/dist/config/plugin/entry-observer.js +1 -1
  295. package/dist/config/plugin/formatter.js +116 -116
  296. package/dist/config/plugin/image.js +114 -114
  297. package/dist/config/plugin/instruction.js +85 -85
  298. package/dist/config/plugin/location-watcher.js +114 -114
  299. package/dist/config/plugin/mcp.js +123 -123
  300. package/dist/config/plugin/policy.js +113 -113
  301. package/dist/config/plugin/provider.js +112 -112
  302. package/dist/config/plugin/reference.js +116 -116
  303. package/dist/config/plugin/shell.js +115 -115
  304. package/dist/config/plugin/skill-file.js +96 -96
  305. package/dist/config/plugin/skill.js +132 -132
  306. package/dist/config/plugin/snapshot.js +114 -114
  307. package/dist/config/plugin/source.js +110 -110
  308. package/dist/config/plugin/tool-output.js +116 -116
  309. package/dist/config/plugin/websearch.js +112 -112
  310. package/dist/config/plugin/worktree.js +117 -117
  311. package/dist/config/variable.js +3 -3
  312. package/dist/config/watch.js +1 -1
  313. package/dist/config.js +116 -116
  314. package/dist/credential/sql.js +2 -2
  315. package/dist/credential.js +78 -78
  316. package/dist/database/database.js +68 -68
  317. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  318. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  319. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  320. package/dist/database/drizzle/index.js +13 -13
  321. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  322. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  324. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  325. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  326. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  332. package/dist/database/drizzle.js +14 -14
  333. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  334. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  335. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  336. package/dist/database/migration/20260225215848_workspace.js +1 -1
  337. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  338. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  339. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  340. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  341. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  342. package/dist/database/migration/20260323234822_events.js +1 -1
  343. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  344. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  345. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  346. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  347. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  348. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  349. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  350. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  351. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  352. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  353. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  354. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  355. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  356. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  357. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  358. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  359. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  360. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  361. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  362. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  363. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  364. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  365. package/dist/database/migration/20260611035744_credential.js +1 -1
  366. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  367. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  368. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  369. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  370. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  371. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  372. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  373. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  374. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  375. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  376. package/dist/database/migration/20260812213948_worktree.js +1 -1
  377. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  378. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  379. package/dist/database/migration.gen.js +47 -47
  380. package/dist/database/migration.js +49 -49
  381. package/dist/database/path.js +2 -2
  382. package/dist/database/schema.gen.js +1 -1
  383. package/dist/database/schema.sql.js +1 -1
  384. package/dist/database/sqlite.bun.js +1 -1
  385. package/dist/database/sqlite.js +1 -1
  386. package/dist/database/sqlite.node.js +1 -1
  387. package/dist/database/sqlite.workerd.js +1 -1
  388. package/dist/database/v1-migration.bun.js +77 -77
  389. package/dist/database/v1-migration.js +1 -1
  390. package/dist/effect/app-node-builder.js +358 -358
  391. package/dist/effect/app-node-platform.js +2 -2
  392. package/dist/effect/keyed-mutex.js +1 -1
  393. package/dist/effect/websocket-constructor.js +1 -1
  394. package/dist/environment/driver.js +1 -1
  395. package/dist/environment/environment.js +88 -88
  396. package/dist/environment/exec-defaults.js +2 -2
  397. package/dist/environment/files.js +1 -1
  398. package/dist/environment/index.js +90 -90
  399. package/dist/environment/local.js +2 -2
  400. package/dist/environment/memory.js +2 -2
  401. package/dist/environment/unavailable.js +1 -1
  402. package/dist/event/sql.js +1 -1
  403. package/dist/event-logger.js +68 -68
  404. package/dist/file-mutation.js +89 -89
  405. package/dist/file-retention.js +1 -1
  406. package/dist/file.js +1 -1
  407. package/dist/filesystem/fff.bun.js +2 -2
  408. package/dist/filesystem/fff.js +1 -1
  409. package/dist/filesystem/fff.node.js +2 -2
  410. package/dist/filesystem/fff.workerd.js +2 -2
  411. package/dist/filesystem/ignore.js +1 -1
  412. package/dist/filesystem/location-watcher-policy.js +6 -6
  413. package/dist/filesystem/location-watcher.js +216 -216
  414. package/dist/filesystem/protected.js +1 -1
  415. package/dist/filesystem/search.js +99 -99
  416. package/dist/filesystem/watcher-binding.js +1 -1
  417. package/dist/filesystem/watcher.js +13 -13
  418. package/dist/filesystem.js +96 -96
  419. package/dist/form.js +84 -84
  420. package/dist/formatter/builtins.js +4 -4
  421. package/dist/formatter.js +82 -82
  422. package/dist/generate.js +90 -90
  423. package/dist/git.js +7 -7
  424. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  425. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  426. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  427. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  428. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  429. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  430. package/dist/github-copilot/copilot-provider.js +17 -17
  431. package/dist/github-copilot/models.js +3 -3
  432. package/dist/github-copilot/openai-compatible-error.js +1 -1
  433. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  434. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  435. package/dist/github-copilot/responses/openai-error.js +1 -1
  436. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  437. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  438. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  439. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  440. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  441. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  442. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  443. package/dist/id/id.js +1 -1
  444. package/dist/image/photon.js +2 -2
  445. package/dist/image.js +6 -6
  446. package/dist/instance/service.js +5 -5
  447. package/dist/instance.js +349 -349
  448. package/dist/instruction-discovery.js +77 -77
  449. package/dist/instructions/builtins.js +82 -82
  450. package/dist/instructions/index.js +3 -3
  451. package/dist/integration/connection.js +1 -1
  452. package/dist/integration.js +85 -85
  453. package/dist/job.js +75 -75
  454. package/dist/kv/sql.js +2 -2
  455. package/dist/kv.js +71 -71
  456. package/dist/location-activity.js +83 -83
  457. package/dist/location-mutation.js +81 -81
  458. package/dist/location-service-map.js +81 -81
  459. package/dist/location-services.js +346 -346
  460. package/dist/location.js +84 -84
  461. package/dist/mcp/client.js +86 -86
  462. package/dist/mcp/index.js +100 -100
  463. package/dist/mcp/instructions.js +118 -118
  464. package/dist/mcp/oauth.js +2 -2
  465. package/dist/mcp/stdio.js +85 -85
  466. package/dist/mime.js +1 -1
  467. package/dist/modal/models.js +3 -3
  468. package/dist/model-resolver.js +85 -85
  469. package/dist/model.js +8 -8
  470. package/dist/models-dev.js +86 -86
  471. package/dist/oauth/page.js +1 -1
  472. package/dist/permission/saved.js +78 -78
  473. package/dist/permission/sql.js +5 -5
  474. package/dist/permission.js +107 -107
  475. package/dist/persistent-pty/binary.bun.js +1 -1
  476. package/dist/persistent-pty/daemon.js +1 -1
  477. package/dist/persistent-pty/index.js +84 -84
  478. package/dist/persistent-pty/pty-binding.js +1 -1
  479. package/dist/persistent-pty.js +73 -73
  480. package/dist/plugin/agent.js +96 -96
  481. package/dist/plugin/command.js +93 -93
  482. package/dist/plugin/hooks.js +5 -5
  483. package/dist/plugin/host.js +211 -211
  484. package/dist/plugin/instance.js +5 -5
  485. package/dist/plugin/internal.js +320 -320
  486. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  487. package/dist/plugin/models-dev.js +75 -75
  488. package/dist/plugin/module.js +2 -2
  489. package/dist/plugin/plan.js +96 -96
  490. package/dist/plugin/promise.js +1 -1
  491. package/dist/plugin/provider/alibaba.js +2 -2
  492. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  493. package/dist/plugin/provider/anthropic.js +4 -4
  494. package/dist/plugin/provider/azure.js +117 -117
  495. package/dist/plugin/provider/cerebras.js +2 -2
  496. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  497. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  498. package/dist/plugin/provider/cohere.js +2 -2
  499. package/dist/plugin/provider/configured.js +113 -113
  500. package/dist/plugin/provider/dynamic.js +2 -2
  501. package/dist/plugin/provider/factory.js +1 -1
  502. package/dist/plugin/provider/gateway.js +2 -2
  503. package/dist/plugin/provider/github-copilot.js +79 -79
  504. package/dist/plugin/provider/gitlab.js +3 -3
  505. package/dist/plugin/provider/google-vertex.js +2 -2
  506. package/dist/plugin/provider/kilo.js +2 -2
  507. package/dist/plugin/provider/llmgateway.js +75 -75
  508. package/dist/plugin/provider/lmstudio.js +116 -116
  509. package/dist/plugin/provider/mistral.js +2 -2
  510. package/dist/plugin/provider/modal.js +78 -78
  511. package/dist/plugin/provider/nvidia.js +2 -2
  512. package/dist/plugin/provider/ollama.js +114 -114
  513. package/dist/plugin/provider/openai-compatible.js +1 -1
  514. package/dist/plugin/provider/openai.js +79 -79
  515. package/dist/plugin/provider/opencode.js +75 -75
  516. package/dist/plugin/provider/openrouter.js +3 -3
  517. package/dist/plugin/provider/perplexity.js +2 -2
  518. package/dist/plugin/provider/sap-ai-core.js +3 -3
  519. package/dist/plugin/provider/sdk-factory.js +1 -1
  520. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  521. package/dist/plugin/provider/venice.js +2 -2
  522. package/dist/plugin/provider/vercel.js +2 -2
  523. package/dist/plugin/provider/vllm.js +116 -116
  524. package/dist/plugin/provider/xai.js +76 -76
  525. package/dist/plugin/provider/zenmux.js +2 -2
  526. package/dist/plugin/provider.js +154 -154
  527. package/dist/plugin/sdk.js +74 -74
  528. package/dist/plugin/service.js +3 -3
  529. package/dist/plugin/skill.js +131 -131
  530. package/dist/plugin/source-directory.js +1 -1
  531. package/dist/plugin/supervisor.js +335 -335
  532. package/dist/plugin/system-prompt.js +5 -5
  533. package/dist/plugin/update.js +2 -2
  534. package/dist/plugin/variant.js +4 -4
  535. package/dist/plugin/vcs/git.js +82 -82
  536. package/dist/plugin/vcs/hg.js +82 -82
  537. package/dist/plugin/warming.js +111 -111
  538. package/dist/plugin/websearch/exa.js +7 -7
  539. package/dist/plugin/websearch/firecrawl.js +8 -8
  540. package/dist/plugin/websearch/index.js +8 -8
  541. package/dist/plugin/websearch/mcp.js +4 -4
  542. package/dist/plugin/websearch/parallel.js +8 -8
  543. package/dist/plugin/websearch/tavily.js +6 -6
  544. package/dist/plugin.js +222 -222
  545. package/dist/project/schema.js +8 -8
  546. package/dist/project/sql.js +4 -4
  547. package/dist/project.js +85 -85
  548. package/dist/provider.js +5 -5
  549. package/dist/pty/protocol.js +1 -1
  550. package/dist/pty/schema.js +3 -3
  551. package/dist/pty/ticket.js +1 -1
  552. package/dist/pty.js +94 -94
  553. package/dist/reference/instructions.js +84 -84
  554. package/dist/reference.js +86 -86
  555. package/dist/repository-cache.js +76 -76
  556. package/dist/repository.js +1 -1
  557. package/dist/ripgrep/binary.js +2 -2
  558. package/dist/ripgrep.js +91 -91
  559. package/dist/rpc.js +81 -81
  560. package/dist/schema.js +1 -1
  561. package/dist/session/command.js +72 -72
  562. package/dist/session/compaction.js +127 -127
  563. package/dist/session/context.js +145 -145
  564. package/dist/session/environment.js +5 -5
  565. package/dist/session/error.js +5 -5
  566. package/dist/session/event.js +1 -1
  567. package/dist/session/execution/restart.js +211 -211
  568. package/dist/session/execution.js +114 -114
  569. package/dist/session/generate.js +146 -146
  570. package/dist/session/history.js +12 -12
  571. package/dist/session/inbox.js +78 -78
  572. package/dist/session/info.js +3 -3
  573. package/dist/session/instruction-entry.js +77 -77
  574. package/dist/session/instruction-state.js +8 -8
  575. package/dist/session/instructions.js +91 -91
  576. package/dist/session/message-updater.js +2 -2
  577. package/dist/session/message.js +1 -1
  578. package/dist/session/model-request.js +112 -112
  579. package/dist/session/model-transport.js +9 -9
  580. package/dist/session/move.js +124 -124
  581. package/dist/session/projector.js +84 -84
  582. package/dist/session/prompt.js +99 -99
  583. package/dist/session/revert.js +85 -85
  584. package/dist/session/run-coordinator.js +3 -3
  585. package/dist/session/runner/index.js +1 -1
  586. package/dist/session/runner/llm.js +223 -223
  587. package/dist/session/runner/max-steps.js +1 -1
  588. package/dist/session/runner/model.js +85 -85
  589. package/dist/session/runner/publish-llm-event.js +3 -3
  590. package/dist/session/runner/retry.js +4 -4
  591. package/dist/session/runner/step.js +117 -117
  592. package/dist/session/runner/to-llm-message.js +1 -1
  593. package/dist/session/schema.js +5 -5
  594. package/dist/session/session.js +165 -165
  595. package/dist/session/shell.js +130 -130
  596. package/dist/session/skill.js +97 -97
  597. package/dist/session/sql.js +5 -5
  598. package/dist/session/stats.js +73 -73
  599. package/dist/session/store.js +82 -82
  600. package/dist/session/subagent-completion.js +1 -1
  601. package/dist/session/subagent-job.js +203 -203
  602. package/dist/session/system-prompt.js +3 -3
  603. package/dist/session/title.js +145 -145
  604. package/dist/session/to-session-error.js +105 -105
  605. package/dist/session/transfer.js +213 -213
  606. package/dist/session/usage.js +1 -1
  607. package/dist/session.js +209 -209
  608. package/dist/shell/parse.js +6 -6
  609. package/dist/shell/result.js +1 -1
  610. package/dist/shell/scan.js +1 -1
  611. package/dist/shell/select.js +9 -9
  612. package/dist/shell.js +132 -132
  613. package/dist/skill/discovery.js +6 -6
  614. package/dist/skill/instructions.js +101 -101
  615. package/dist/skill.js +98 -98
  616. package/dist/snapshot.js +84 -84
  617. package/dist/state.js +1 -1
  618. package/dist/tool/html-markdown.js +1 -1
  619. package/dist/tool/http-body.js +1 -1
  620. package/dist/tool/mcp.js +117 -117
  621. package/dist/tool/plugin/edit.js +114 -114
  622. package/dist/tool/plugin/file-diff.js +1 -1
  623. package/dist/tool/plugin/glob.js +119 -119
  624. package/dist/tool/plugin/grep.js +119 -119
  625. package/dist/tool/plugin/opencode.js +3 -3
  626. package/dist/tool/plugin/patch.js +116 -116
  627. package/dist/tool/plugin/question.js +97 -97
  628. package/dist/tool/plugin/read.js +118 -118
  629. package/dist/tool/plugin/shell.js +208 -208
  630. package/dist/tool/plugin/skill.js +107 -107
  631. package/dist/tool/plugin/subagent.js +208 -208
  632. package/dist/tool/plugin/webfetch.js +106 -106
  633. package/dist/tool/plugin/websearch.js +106 -106
  634. package/dist/tool/plugin/write.js +116 -116
  635. package/dist/tool/read-filesystem.js +96 -96
  636. package/dist/tool/runtime.js +1 -1
  637. package/dist/tool-output.js +8 -8
  638. package/dist/tool.js +13 -13
  639. package/dist/util/error.js +1 -1
  640. package/dist/util/iife.js +1 -1
  641. package/dist/util/lazy.js +1 -1
  642. package/dist/util/slug.js +1 -1
  643. package/dist/util/token.js +1 -1
  644. package/dist/util/which.js +1 -1
  645. package/dist/util/wildcard.js +1 -1
  646. package/dist/v1/config/agent.js +7 -7
  647. package/dist/v1/config/attachment.js +4 -4
  648. package/dist/v1/config/command.js +3 -3
  649. package/dist/v1/config/config.js +16 -16
  650. package/dist/v1/config/error.js +2 -2
  651. package/dist/v1/config/formatter.js +5 -5
  652. package/dist/v1/config/layout.js +1 -1
  653. package/dist/v1/config/lsp.js +3 -3
  654. package/dist/v1/config/mcp.js +4 -4
  655. package/dist/v1/config/migrate.js +4 -4
  656. package/dist/v1/config/permission.js +1 -1
  657. package/dist/v1/config/plugin.js +1 -1
  658. package/dist/v1/config/provider-options.js +1 -1
  659. package/dist/v1/config/provider.js +4 -4
  660. package/dist/v1/config/server.js +2 -2
  661. package/dist/v1/config/skills.js +3 -3
  662. package/dist/v1/permission.js +1 -1
  663. package/dist/vcs/patch.js +1 -1
  664. package/dist/vcs.js +85 -85
  665. package/dist/websearch.js +82 -82
  666. package/dist/wellknown/plugin.js +72 -72
  667. package/dist/wellknown.js +77 -77
  668. package/dist/workspace/driver.js +5 -5
  669. package/dist/workspace/sql.js +1 -1
  670. package/dist/workspace.js +76 -76
  671. package/dist/worktree/directory.js +2 -2
  672. package/dist/worktree/git.js +5 -5
  673. package/dist/worktree/refresh.js +338 -338
  674. package/dist/worktree/sql.js +5 -5
  675. package/dist/worktree.js +85 -85
  676. package/package.json +7 -7
  677. package/dist/chunks/file-mutation-7zk4hah4.js +0 -4
  678. package/dist/chunks/file-mutation-chcw50cn.js +0 -460
  679. package/dist/chunks/file-mutation-dxj72tfx.js +0 -18
  680. package/dist/chunks/file-mutation-kahasfee.js +0 -247
  681. package/dist/chunks/file-mutation-wsejc6g3.js +0 -22
  682. /package/dist/chunks/{file-mutation-0fabt78z.js → bus-0fabt78z.js} +0 -0
  683. /package/dist/chunks/{file-mutation-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
  684. /package/dist/chunks/{file-mutation-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
  685. /package/dist/chunks/{file-mutation-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
  686. /package/dist/chunks/{file-mutation-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
  687. /package/dist/chunks/{file-mutation-1kg9ymc8.js → bus-1kg9ymc8.js} +0 -0
  688. /package/dist/chunks/{file-mutation-2710q6r3.js → bus-2710q6r3.js} +0 -0
  689. /package/dist/chunks/{file-mutation-2axfhc9x.js → bus-2axfhc9x.js} +0 -0
  690. /package/dist/chunks/{file-mutation-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
  691. /package/dist/chunks/{file-mutation-359p4xyc.js → bus-359p4xyc.js} +0 -0
  692. /package/dist/chunks/{file-mutation-3asan66x.js → bus-3asan66x.js} +0 -0
  693. /package/dist/chunks/{file-mutation-3t738kvx.js → bus-3t738kvx.js} +0 -0
  694. /package/dist/chunks/{file-mutation-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
  695. /package/dist/chunks/{file-mutation-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
  696. /package/dist/chunks/{file-mutation-41nvscxy.js → bus-41nvscxy.js} +0 -0
  697. /package/dist/chunks/{file-mutation-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
  698. /package/dist/chunks/{file-mutation-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
  699. /package/dist/chunks/{file-mutation-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
  700. /package/dist/chunks/{file-mutation-53557ph1.js → bus-53557ph1.js} +0 -0
  701. /package/dist/chunks/{file-mutation-550bvhaj.js → bus-550bvhaj.js} +0 -0
  702. /package/dist/chunks/{file-mutation-5qd3pb7m.js → bus-5qd3pb7m.js} +0 -0
  703. /package/dist/chunks/{file-mutation-6prwharc.js → bus-6prwharc.js} +0 -0
  704. /package/dist/chunks/{file-mutation-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
  705. /package/dist/chunks/{file-mutation-7m9af43g.js → bus-7m9af43g.js} +0 -0
  706. /package/dist/chunks/{file-mutation-822emrt2.js → bus-822emrt2.js} +0 -0
  707. /package/dist/chunks/{file-mutation-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
  708. /package/dist/chunks/{file-mutation-8n3pysct.js → bus-8n3pysct.js} +0 -0
  709. /package/dist/chunks/{file-mutation-982e01ww.js → bus-982e01ww.js} +0 -0
  710. /package/dist/chunks/{file-mutation-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
  711. /package/dist/chunks/{file-mutation-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
  712. /package/dist/chunks/{file-mutation-a1tpkmh4.js → bus-a1tpkmh4.js} +0 -0
  713. /package/dist/chunks/{file-mutation-af5trqkr.js → bus-af5trqkr.js} +0 -0
  714. /package/dist/chunks/{file-mutation-afrmfg78.js → bus-afrmfg78.js} +0 -0
  715. /package/dist/chunks/{file-mutation-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
  716. /package/dist/chunks/{file-mutation-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
  717. /package/dist/chunks/{file-mutation-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
  718. /package/dist/chunks/{file-mutation-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
  719. /package/dist/chunks/{file-mutation-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
  720. /package/dist/chunks/{file-mutation-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
  721. /package/dist/chunks/{file-mutation-d9fn303g.js → bus-d9fn303g.js} +0 -0
  722. /package/dist/chunks/{file-mutation-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
  723. /package/dist/chunks/{file-mutation-dajrwvna.js → bus-dajrwvna.js} +0 -0
  724. /package/dist/chunks/{file-mutation-dap0rakb.js → bus-dap0rakb.js} +0 -0
  725. /package/dist/chunks/{file-mutation-df08tz66.js → bus-df08tz66.js} +0 -0
  726. /package/dist/chunks/{file-mutation-dy18nga0.js → bus-dy18nga0.js} +0 -0
  727. /package/dist/chunks/{file-mutation-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
  728. /package/dist/chunks/{file-mutation-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
  729. /package/dist/chunks/{file-mutation-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
  730. /package/dist/chunks/{file-mutation-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
  731. /package/dist/chunks/{file-mutation-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
  732. /package/dist/chunks/{file-mutation-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
  733. /package/dist/chunks/{file-mutation-faypxj3z.js → bus-faypxj3z.js} +0 -0
  734. /package/dist/chunks/{file-mutation-fd410y7t.js → bus-fd410y7t.js} +0 -0
  735. /package/dist/chunks/{file-mutation-fxgpk5d8.js → bus-fxgpk5d8.js} +0 -0
  736. /package/dist/chunks/{file-mutation-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
  737. /package/dist/chunks/{file-mutation-g86h250q.js → bus-g86h250q.js} +0 -0
  738. /package/dist/chunks/{file-mutation-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
  739. /package/dist/chunks/{file-mutation-hk9envan.js → bus-hk9envan.js} +0 -0
  740. /package/dist/chunks/{file-mutation-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
  741. /package/dist/chunks/{file-mutation-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
  742. /package/dist/chunks/{file-mutation-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
  743. /package/dist/chunks/{file-mutation-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
  744. /package/dist/chunks/{file-mutation-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
  745. /package/dist/chunks/{file-mutation-mntxs535.js → bus-mntxs535.js} +0 -0
  746. /package/dist/chunks/{file-mutation-mp448xyj.js → bus-mp448xyj.js} +0 -0
  747. /package/dist/chunks/{file-mutation-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
  748. /package/dist/chunks/{file-mutation-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
  749. /package/dist/chunks/{file-mutation-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
  750. /package/dist/chunks/{file-mutation-njntx4h6.js → bus-njntx4h6.js} +0 -0
  751. /package/dist/chunks/{file-mutation-p8qxwesx.js → bus-p8qxwesx.js} +0 -0
  752. /package/dist/chunks/{file-mutation-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
  753. /package/dist/chunks/{file-mutation-q74kybfr.js → bus-q74kybfr.js} +0 -0
  754. /package/dist/chunks/{file-mutation-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
  755. /package/dist/chunks/{file-mutation-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
  756. /package/dist/chunks/{file-mutation-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
  757. /package/dist/chunks/{file-mutation-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
  758. /package/dist/chunks/{file-mutation-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
  759. /package/dist/chunks/{file-mutation-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
  760. /package/dist/chunks/{file-mutation-se0s1eqw.js → bus-se0s1eqw.js} +0 -0
  761. /package/dist/chunks/{file-mutation-sk3qaz4a.js → bus-sk3qaz4a.js} +0 -0
  762. /package/dist/chunks/{file-mutation-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
  763. /package/dist/chunks/{file-mutation-twg0f83k.js → bus-twg0f83k.js} +0 -0
  764. /package/dist/chunks/{file-mutation-w803qqfp.js → bus-w803qqfp.js} +0 -0
  765. /package/dist/chunks/{file-mutation-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
  766. /package/dist/chunks/{file-mutation-wtztk69x.js → bus-wtztk69x.js} +0 -0
  767. /package/dist/chunks/{file-mutation-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
  768. /package/dist/chunks/{file-mutation-x1b8g1yb.js → bus-x1b8g1yb.js} +0 -0
  769. /package/dist/chunks/{file-mutation-x61499pn.js → bus-x61499pn.js} +0 -0
  770. /package/dist/chunks/{file-mutation-y44na4kk.js → bus-y44na4kk.js} +0 -0
  771. /package/dist/chunks/{file-mutation-y8cydn3q.js → bus-y8cydn3q.js} +0 -0
  772. /package/dist/chunks/{file-mutation-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
  773. /package/dist/chunks/{file-mutation-z9919s4g.js → bus-z9919s4g.js} +0 -0
  774. /package/dist/chunks/{file-mutation-zbjnn3ac.js → bus-zbjnn3ac.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-mutation-9rqn6x4v.js";
3
+ } from "./bus-9rqn6x4v.js";
4
4
 
5
5
  // src/config/plugin/entry-observer.ts
6
6
  var exports_entry_observer = {};
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./file-mutation-9rqn6x4v.js";
3
+ } from "./bus-9rqn6x4v.js";
4
4
 
5
5
  // src/tool/plugin/opencode.ts
6
6
  var exports_opencode = {};
7
7
  __export(exports_opencode, {
8
8
  MoveInput: () => MoveInput2,
9
9
  OpenCodeTools: () => exports_opencode,
10
- Plugin: () => Plugin26
10
+ Plugin: () => Plugin43
11
11
  });
12
12
  import { SystemPart, ToolFailure } from "@opencode-ai/ai";
13
13
  import { AbsolutePath } from "@opencode-ai/schema/schema";
@@ -20,7 +20,7 @@ var MoveInput2 = Schema.Struct({
20
20
  })
21
21
  });
22
22
  var MoveOutput = Schema.Struct({ sessionID: Session.ID, directory: AbsolutePath });
23
- var Plugin26 = {
23
+ var Plugin43 = {
24
24
  id: "opencode.tools",
25
25
  effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
26
26
  yield* ctx.session.hook("context", (event) => Effect.sync(() => {
@@ -51,4 +51,4 @@ var Plugin26 = {
51
51
  })
52
52
  };
53
53
 
54
- export { MoveInput2, Plugin26, exports_opencode };
54
+ export { MoveInput2, Plugin43, exports_opencode };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-mutation-p8qxwesx.js";
3
+ } from "./bus-p8qxwesx.js";
4
4
  import {
5
5
  __export
6
- } from "./file-mutation-9rqn6x4v.js";
6
+ } from "./bus-9rqn6x4v.js";
7
7
 
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
10
10
  __export(exports_discovery, {
11
- Service: () => Service12,
11
+ Service: () => Service8,
12
12
  SkillDiscovery: () => exports_discovery,
13
- node: () => node15
13
+ node: () => node11
14
14
  });
15
15
  import path from "path";
16
16
  import { Context, Effect, Layer, Schedule, Schema } from "effect";
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
48
48
  }) {
49
49
  }
50
50
 
51
- class Service12 extends Context.Service()("@opencode/SkillDiscovery") {
51
+ class Service8 extends Context.Service()("@opencode/SkillDiscovery") {
52
52
  }
53
- var layer = Layer.effect(Service12, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service8, Effect.gen(function* () {
54
54
  const fs = yield* FSUtil.Service;
55
55
  const global = yield* Global.Service;
56
56
  const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
63
63
  return true;
64
64
  return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
65
65
  });
66
- return Service12.of({
66
+ return Service8.of({
67
67
  pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
68
68
  const base = url.endsWith("/") ? url : `${url}/`;
69
69
  const source = new URL(base);
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
150
150
  })
151
151
  });
152
152
  }));
153
- var node15 = makeGlobalNode({ service: Service12, layer, deps: [httpClient, FSUtil.node, Global.node] });
153
+ var node11 = makeGlobalNode({ service: Service8, layer, deps: [httpClient, FSUtil.node, Global.node] });
154
154
 
155
- export { Service12, node15, exports_discovery };
155
+ export { Service8, node11, exports_discovery };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./file-mutation-p8qxwesx.js";
4
+ } from "./bus-p8qxwesx.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./file-mutation-jwcy2c2z.js";
7
+ } from "./bus-jwcy2c2z.js";
8
8
  import {
9
9
  __export
10
- } from "./file-mutation-9rqn6x4v.js";
10
+ } from "./bus-9rqn6x4v.js";
11
11
 
12
12
  // src/git.ts
13
13
  var exports_git3 = {};
@@ -15,11 +15,11 @@ __export(exports_git3, {
15
15
  Git: () => exports_git3,
16
16
  OperationError: () => OperationError3,
17
17
  Repository: () => Repository2,
18
- Service: () => Service69,
18
+ Service: () => Service79,
19
19
  TreeID: () => TreeID2,
20
20
  Worktree: () => Worktree2,
21
21
  WorktreeError: () => WorktreeError2,
22
- node: () => node74
22
+ node: () => node84
23
23
  });
24
24
  import path from "path";
25
25
  import { Context, Effect, Layer, Schema } from "effect";
@@ -85,9 +85,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
85
85
  }) {
86
86
  }
87
87
 
88
- class Service69 extends Context.Service()("@opencode/Git") {
88
+ class Service79 extends Context.Service()("@opencode/Git") {
89
89
  }
90
- var layer = Layer.effect(Service69, Effect.gen(function* () {
90
+ var layer = Layer.effect(Service79, Effect.gen(function* () {
91
91
  const fs = yield* FSUtil.Service;
92
92
  const proc = yield* AppProcess.Service;
93
93
  const locks = makeUnsafe2();
@@ -409,7 +409,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
409
409
  kind: index === 0 ? "main" : "linked"
410
410
  }));
411
411
  });
412
- return Service69.of({
412
+ return Service79.of({
413
413
  repo: { discover, clone, create },
414
414
  remote: { get: remote },
415
415
  history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
@@ -425,7 +425,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
425
425
  }
426
426
  });
427
427
  }));
428
- var node74 = makeGlobalNode({ service: Service69, layer, deps: [FSUtil.node, AppProcess.node] });
428
+ var node84 = makeGlobalNode({ service: Service79, layer, deps: [FSUtil.node, AppProcess.node] });
429
429
  function run(cwd, proc, args) {
430
430
  return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
431
431
  }
@@ -450,4 +450,4 @@ function resolvePath(cwd, value) {
450
450
  return path.resolve(cwd, normalized);
451
451
  }
452
452
 
453
- export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service69, node74, exports_git3 };
453
+ export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service79, node84, exports_git3 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-mutation-p8qxwesx.js";
3
+ } from "./bus-p8qxwesx.js";
4
4
 
5
5
  // src/database/path.ts
6
6
  import nodePath from "path";
@@ -1,45 +1,45 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./file-mutation-cdra1vae.js";
2
+ Service80,
3
+ node85
4
+ } from "./bus-cq7yjxs1.js";
5
5
  import {
6
6
  Service78,
7
7
  node83
8
- } from "./file-mutation-dsstwbg7.js";
8
+ } from "./bus-k4cpqqjy.js";
9
+ import {
10
+ Service43,
11
+ node46
12
+ } from "./bus-7jrdpkxe.js";
9
13
  import {
10
14
  Service39,
11
15
  node42
12
- } from "./file-mutation-q732cfnv.js";
13
- import {
14
- Service33,
15
- node36
16
- } from "./file-mutation-yhtqjkzd.js";
16
+ } from "./bus-jpg38yrs.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./file-mutation-mntxs535.js";
19
+ } from "./bus-mntxs535.js";
20
20
  import {
21
- make15
22
- } from "./file-mutation-vep9yay1.js";
21
+ make13
22
+ } from "./bus-z3xgatyd.js";
23
23
  import {
24
24
  DrainResult2,
25
25
  Service28
26
- } from "./file-mutation-xw0r27ex.js";
26
+ } from "./bus-xw0r27ex.js";
27
27
  import {
28
28
  UserInterruptedError2
29
- } from "./file-mutation-45a3e49b.js";
29
+ } from "./bus-se8jsmsp.js";
30
30
  import {
31
- Service46,
32
- node49
33
- } from "./file-mutation-xz6pmd8f.js";
31
+ Service60,
32
+ node64
33
+ } from "./bus-2frbs4n5.js";
34
34
  import {
35
35
  toSessionError2
36
- } from "./file-mutation-dek5y14m.js";
36
+ } from "./bus-x9bn8htz.js";
37
37
  import {
38
38
  nextPromotable2
39
- } from "./file-mutation-9vjz8vaq.js";
39
+ } from "./bus-d24yjw8z.js";
40
40
  import {
41
41
  __export
42
- } from "./file-mutation-9rqn6x4v.js";
42
+ } from "./bus-9rqn6x4v.js";
43
43
 
44
44
  // src/session/execution.ts
45
45
  var exports_execution = {};
@@ -66,11 +66,11 @@ function terminal2(exit, reason) {
66
66
  return { type: "failed", error: toSessionError2(failure) };
67
67
  }
68
68
  var layer12 = Layer.effect(Service27, Effect.gen(function* () {
69
- const store = yield* Service46;
70
- const instances = yield* Service33;
69
+ const store = yield* Service60;
70
+ const instances = yield* Service39;
71
71
  const bus = yield* Service78;
72
- const jobs = yield* Service39;
73
- const db = (yield* Service79).db;
72
+ const jobs = yield* Service43;
73
+ const db = (yield* Service80).db;
74
74
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
75
75
  const claimOnCommit = (sessionID) => ({
76
76
  commit: () => store.claim(sessionID)
@@ -88,7 +88,7 @@ var layer12 = Layer.effect(Service27, Effect.gen(function* () {
88
88
  Moved: (result) => drain(sessionID, false, result.continuation, promotable)
89
89
  });
90
90
  });
91
- const coordinator = yield* make15({
91
+ const coordinator = yield* make13({
92
92
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
93
93
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
94
94
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -131,7 +131,7 @@ var layer12 = Layer.effect(Service27, Effect.gen(function* () {
131
131
  var node32 = makeGlobalNode({
132
132
  service: Service27,
133
133
  layer: layer12,
134
- deps: [node49, node36, node83, node84, node42]
134
+ deps: [node64, node42, node83, node85, node46]
135
135
  });
136
136
  var noopLayer2 = Layer.succeed(Service27, Service27.of({
137
137
  active: Effect.succeed(new Set),
@@ -1,40 +1,40 @@
1
1
  import {
2
- Service79
3
- } from "./file-mutation-cdra1vae.js";
2
+ Service80
3
+ } from "./bus-cq7yjxs1.js";
4
4
  import {
5
- Service33
6
- } from "./file-mutation-yhtqjkzd.js";
5
+ Service39
6
+ } from "./bus-jpg38yrs.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./file-mutation-dxj72tfx.js";
9
+ } from "./bus-7fj5dwt0.js";
10
10
  import {
11
11
  preview2
12
- } from "./file-mutation-shp7mea9.js";
12
+ } from "./bus-ajnaheqp.js";
13
13
  import {
14
14
  baseTranscript2
15
- } from "./file-mutation-5c2dffx6.js";
15
+ } from "./bus-6s6g893m.js";
16
16
  import {
17
- Service22
18
- } from "./file-mutation-ftvhvnyg.js";
17
+ Service30
18
+ } from "./bus-dc9zs5sz.js";
19
19
  import {
20
20
  __export
21
- } from "./file-mutation-9rqn6x4v.js";
21
+ } from "./bus-9rqn6x4v.js";
22
22
 
23
23
  // src/session/generate.ts
24
- var exports_generate = {};
25
- __export(exports_generate, {
26
- SessionGenerate: () => exports_generate,
24
+ var exports_generate2 = {};
25
+ __export(exports_generate2, {
26
+ SessionGenerate: () => exports_generate2,
27
27
  generate: () => generate3
28
28
  });
29
29
  import { LLMClient, Message } from "@opencode-ai/ai";
30
30
  import { Effect } from "effect";
31
31
  var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
32
- const instances = yield* Service33;
33
- const database = yield* Service79;
32
+ const instances = yield* Service39;
33
+ const database = yield* Service80;
34
34
  const llm = yield* LLMClient.Service;
35
35
  return yield* Effect.gen(function* () {
36
36
  yield* awaitActivation2;
37
- const context = yield* Service22;
37
+ const context = yield* Service30;
38
38
  const selection = yield* context.select(input.session.id);
39
39
  const model = yield* context.resolveModel(selection.session);
40
40
  const history = yield* preview2(database.db, selection.session.id, selection.instructions);
@@ -68,4 +68,4 @@ var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
68
68
  }).pipe(instances.provide(input.session));
69
69
  });
70
70
 
71
- export { generate3, exports_generate };
71
+ export { generate3, exports_generate2 };
@@ -2,26 +2,26 @@ import {
2
2
  Key3,
3
3
  removed2,
4
4
  empty3,
5
- make18,
5
+ make19,
6
6
  diffByKey2
7
- } from "./file-mutation-mtcjf44p.js";
7
+ } from "./bus-6e958v7x.js";
8
8
  import {
9
9
  ID4,
10
10
  Name2,
11
11
  available2,
12
- Service38,
13
- node41
14
- } from "./file-mutation-vjwmbaty.js";
12
+ Service44,
13
+ node47
14
+ } from "./bus-4070pg8x.js";
15
15
  import {
16
16
  __export
17
- } from "./file-mutation-9rqn6x4v.js";
17
+ } from "./bus-9rqn6x4v.js";
18
18
 
19
19
  // src/skill/instructions.ts
20
- var exports_instructions5 = {};
21
- __export(exports_instructions5, {
22
- Service: () => Service37,
23
- SkillInstructions: () => exports_instructions5,
24
- node: () => node40
20
+ var exports_instructions4 = {};
21
+ __export(exports_instructions4, {
22
+ Service: () => Service32,
23
+ SkillInstructions: () => exports_instructions4,
24
+ node: () => node36
25
25
  });
26
26
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
27
27
  import { Context, Effect, Layer, Schema } from "effect";
@@ -60,17 +60,17 @@ var update = (previous, current) => {
60
60
  `);
61
61
  };
62
62
 
63
- class Service37 extends Context.Service()("@opencode/SkillInstructions") {
63
+ class Service32 extends Context.Service()("@opencode/SkillInstructions") {
64
64
  }
65
- var layer = Layer.effect(Service37, Effect.gen(function* () {
66
- const skills = yield* Service38;
67
- return Service37.of({
65
+ var layer = Layer.effect(Service32, Effect.gen(function* () {
66
+ const skills = yield* Service44;
67
+ return Service32.of({
68
68
  load: Effect.fn("SkillInstructions.load")(function* (selection) {
69
69
  const agent = selection.info;
70
70
  if (!agent)
71
71
  return empty3;
72
72
  const available = available2(yield* skills.list(), agent).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
73
- return make18({
73
+ return make19({
74
74
  key: Key3.make("core/skill-guidance"),
75
75
  codec: Schema.toCodecJson(Schema.Array(Summary)),
76
76
  read: Effect.succeed(available.length === 0 ? removed2 : available),
@@ -83,6 +83,6 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
83
83
  })
84
84
  });
85
85
  }));
86
- var node40 = makeLocationNode({ service: Service37, layer, deps: [node41] });
86
+ var node36 = makeLocationNode({ service: Service32, layer, deps: [node47] });
87
87
 
88
- export { Service37, node40, exports_instructions5 };
88
+ export { Service32, node36, exports_instructions4 };
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service57,
3
- node60
4
- } from "./file-mutation-9zg8we79.js";
5
- import {
6
- Service67,
2
+ Service68,
7
3
  node72
8
- } from "./file-mutation-6h02bg3y.js";
4
+ } from "./bus-2h28fvw8.js";
9
5
  import {
10
- Service56,
11
- node59
12
- } from "./file-mutation-0vyk9fdn.js";
6
+ Service76,
7
+ node81
8
+ } from "./bus-s357kp59.js";
9
+ import {
10
+ Service67,
11
+ node71
12
+ } from "./bus-ty85120y.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./file-mutation-zxq2ej10.js";
16
+ } from "./bus-zxq2ej10.js";
17
17
  import {
18
18
  __export
19
- } from "./file-mutation-9rqn6x4v.js";
19
+ } from "./bus-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/source.ts
22
22
  var exports_source = {};
@@ -36,10 +36,10 @@ import { fileURLToPath, pathToFileURL } from "url";
36
36
  class Service4 extends Context.Service()("@opencode/ConfigPluginSource") {
37
37
  }
38
38
  var layer5 = Layer.effect(Service4, Effect.gen(function* () {
39
- const config = yield* Service56;
40
- const watcher = yield* Service57;
39
+ const config = yield* Service67;
40
+ const watcher = yield* Service68;
41
41
  const fs = yield* FSUtil.Service;
42
- const location = yield* Service67;
42
+ const location = yield* Service76;
43
43
  const configuredChanges = yield* PubSub.unbounded();
44
44
  const watched = new Set;
45
45
  const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
@@ -73,7 +73,7 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
73
73
  var node7 = makeLocationNode({
74
74
  service: Service4,
75
75
  layer: layer5,
76
- deps: [node59, FSUtil.node, node60, node72]
76
+ deps: [node71, FSUtil.node, node72, node81]
77
77
  });
78
78
  var empty2 = makeLocationNode({
79
79
  service: Service4,
@@ -1,57 +1,57 @@
1
1
  import {
2
2
  Service78,
3
3
  node83
4
- } from "./file-mutation-dsstwbg7.js";
4
+ } from "./bus-k4cpqqjy.js";
5
5
  import {
6
- Service67,
7
- node72
8
- } from "./file-mutation-6h02bg3y.js";
6
+ Service76,
7
+ node81
8
+ } from "./bus-s357kp59.js";
9
9
  import {
10
- Service64,
11
- node67
12
- } from "./file-mutation-7bh11fvr.js";
10
+ Service70,
11
+ node74
12
+ } from "./bus-w9qr98xp.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./file-mutation-gd4qta3r.js";
15
+ } from "./bus-gd4qta3r.js";
16
16
  import {
17
- Service60,
17
+ Service73,
18
18
  args2,
19
- node63
20
- } from "./file-mutation-4b1sg654.js";
19
+ node78
20
+ } from "./bus-07zcvmjy.js";
21
21
  import {
22
- Service61,
23
- node64
24
- } from "./file-mutation-9pk3p303.js";
22
+ Service75,
23
+ node80
24
+ } from "./bus-8qyy1b3c.js";
25
25
  import {
26
- Service55,
27
- node58
28
- } from "./file-mutation-xspyb9m3.js";
26
+ Service65,
27
+ node69
28
+ } from "./bus-6926ty5t.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./file-mutation-cq35m6me.js";
31
+ } from "./bus-rxbdfnq0.js";
32
32
  import {
33
33
  latest2,
34
- Service56,
35
- node59
36
- } from "./file-mutation-0vyk9fdn.js";
34
+ Service67,
35
+ node71
36
+ } from "./bus-ty85120y.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./file-mutation-mpsa3nes.js";
40
+ } from "./bus-4dgqkt2g.js";
41
41
  import {
42
42
  __export
43
- } from "./file-mutation-9rqn6x4v.js";
43
+ } from "./bus-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError8,
49
+ NotFoundError: () => NotFoundError9,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service54,
51
+ Service: () => Service64,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node57
54
+ node: () => node68
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode-ai/util/process";
62
62
  import { makeGlobalNode, makeLocationNode } from "@opencode-ai/util/effect/app-node";
63
63
  import { FSUtil } from "@opencode-ai/util/fs-util";
64
64
  import { Global } from "@opencode-ai/util/global";
65
- class NotFoundError8 extends Schema.TaggedError()("Shell.NotFoundError", {
65
+ class NotFoundError9 extends Schema.TaggedError()("Shell.NotFoundError", {
66
66
  id: Shell.ID
67
67
  }) {
68
68
  }
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
70
70
  var RETENTION2 = Duration.days(7);
71
71
  var DIRECTORY2 = "shell";
72
72
 
73
- class Service54 extends Context.Service()("@opencode/Shell") {
73
+ class Service64 extends Context.Service()("@opencode/Shell") {
74
74
  }
75
75
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
76
76
  const fs = yield* FSUtil.Service;
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
86
86
  layer: cleanupLayer,
87
87
  deps: [FSUtil.node, Global.node]
88
88
  });
89
- var layer = () => Layer.effect(Service54, Effect.gen(function* () {
89
+ var layer = () => Layer.effect(Service64, Effect.gen(function* () {
90
90
  const bus = yield* Service78;
91
- const location = yield* Service67;
91
+ const location = yield* Service76;
92
92
  const global = yield* Global.Service;
93
- const shell = yield* Service60;
94
- const environment = yield* Service64;
95
- const hooks = yield* Service61;
96
- const environments = yield* Service55;
97
- const config = yield* Service56;
93
+ const shell = yield* Service73;
94
+ const environment = yield* Service70;
95
+ const hooks = yield* Service75;
96
+ const environments = yield* Service65;
97
+ const config = yield* Service67;
98
98
  const context = yield* Effect.context();
99
99
  const runFork = Effect.runForkWith(context);
100
100
  const commands = new Map;
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service54, Effect.gen(function* () {
115
115
  const require2 = Effect.fnUntraced(function* (id) {
116
116
  const command = commands.get(id);
117
117
  if (!command)
118
- return yield* new NotFoundError8({ id });
118
+ return yield* new NotFoundError9({ id });
119
119
  return command;
120
120
  });
121
121
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service54, Effect.gen(function* () {
128
128
  commands.delete(id);
129
129
  if (command.timeoutFiber)
130
130
  yield* Fiber.interrupt(command.timeoutFiber);
131
- yield* Deferred.fail(command.done, new NotFoundError8({ id }));
131
+ yield* Deferred.fail(command.done, new NotFoundError9({ id }));
132
132
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
133
133
  yield* bus.publish(Shell.Event.Deleted, { id });
134
134
  });
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service54, Effect.gen(function* () {
314
314
  const command = yield* Deferred.await(ready);
315
315
  return command.info;
316
316
  });
317
- return Service54.of({ create, list, get, wait, result, timeout, output, remove });
317
+ return Service64.of({ create, list, get, wait, result, timeout, output, remove });
318
318
  }));
319
- var node57 = makeLocationNode({
320
- service: Service54,
319
+ var node68 = makeLocationNode({
320
+ service: Service64,
321
321
  layer: layer(),
322
322
  deps: [
323
323
  node83,
324
- node72,
324
+ node81,
325
325
  Global.node,
326
- node63,
327
- node67,
328
- node64,
329
- node58,
330
- node59,
326
+ node78,
327
+ node74,
328
+ node80,
329
+ node69,
330
+ node71,
331
331
  cleanupNode
332
332
  ]
333
333
  });
334
334
 
335
- export { NotFoundError8, RETENTION2, DIRECTORY2, Service54, cleanup2, node57, exports_shell4 };
335
+ export { NotFoundError9, RETENTION2, DIRECTORY2, Service64, cleanup2, node68, exports_shell4 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./file-mutation-64z8z5x5.js";
4
+ } from "./bus-g19vc6v7.js";
5
5
  import {
6
6
  __export
7
- } from "./file-mutation-9rqn6x4v.js";
7
+ } from "./bus-9rqn6x4v.js";
8
8
 
9
9
  // src/plugin/variant.ts
10
10
  var exports_variant = {};
11
11
  __export(exports_variant, {
12
- Plugin: () => Plugin42,
12
+ Plugin: () => Plugin31,
13
13
  VariantPlugin: () => exports_variant,
14
14
  generate: () => generate2
15
15
  });
16
16
  import { Effect } from "effect";
17
17
  import { define } from "@opencode-ai/plugin/effect/plugin";
18
18
  import { Model } from "@opencode-ai/schema/model";
19
- var Plugin42 = define({
19
+ var Plugin31 = define({
20
20
  id: "opencode.variant",
21
21
  effect: Effect.fn(function* (ctx) {
22
22
  yield* ctx.catalog.transform((catalog) => {
@@ -52,4 +52,4 @@ function generate2(model, provider) {
52
52
  }));
53
53
  }
54
54
 
55
- export { Plugin42, generate2, exports_variant };
55
+ export { Plugin31, generate2, exports_variant };