@opencode-ai/core 0.0.0-dev-19107 → 0.0.0-dev-19108

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 (770) 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 +78 -78
  8. package/dist/chunks/{shell-hjrjbgez.js → app-01w7s3hf.js} +5 -5
  9. package/dist/chunks/{shell-z7rb1vge.js → app-0386mn27.js} +18 -18
  10. package/dist/chunks/{shell-72s3cfct.js → app-0a8a3e10.js} +38 -38
  11. package/dist/chunks/{shell-3h5s5ba4.js → app-0c185145.js} +56 -56
  12. package/dist/chunks/{shell-0e0xafbb.js → app-0e0xafbb.js} +2 -2
  13. package/dist/chunks/{shell-afp9cpv0.js → app-0e2t5d9f.js} +17 -17
  14. package/dist/chunks/{shell-9vcfn3x3.js → app-0nv9ws4s.js} +8 -8
  15. package/dist/chunks/{shell-0paq2nw3.js → app-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{shell-0s9ayhjt.js → app-0s9ayhjt.js} +1 -1
  17. package/dist/chunks/{shell-6k404gxp.js → app-11tw25g0.js} +4 -4
  18. package/dist/chunks/{shell-kv8syyjy.js → app-12wjp4s5.js} +11 -11
  19. package/dist/chunks/{shell-vtq1wfzg.js → app-13c30bt4.js} +4 -4
  20. package/dist/chunks/{shell-rqe0j03n.js → app-14rfkr3c.js} +22 -22
  21. package/dist/chunks/{shell-7gv5bdgm.js → app-15pj8rnv.js} +8 -8
  22. package/dist/chunks/app-18pkcr1z.js +4 -0
  23. package/dist/chunks/{shell-1ct4r87x.js → app-1ct4r87x.js} +1 -1
  24. package/dist/chunks/{shell-eqwbrmm3.js → app-1nfhvprz.js} +18 -18
  25. package/dist/chunks/{shell-21r38tys.js → app-21r38tys.js} +1 -1
  26. package/dist/chunks/{shell-xpa15rv0.js → app-23zmxrnh.js} +15 -15
  27. package/dist/chunks/{shell-2402vzrj.js → app-2402vzrj.js} +1 -1
  28. package/dist/chunks/{shell-28pcbh69.js → app-28pcbh69.js} +1 -1
  29. package/dist/chunks/{shell-29x78va6.js → app-29x78va6.js} +2 -2
  30. package/dist/chunks/{shell-2a5m3afh.js → app-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{shell-tpvyqr2s.js → app-2b9ezsen.js} +10 -10
  32. package/dist/chunks/{shell-2ht70gj7.js → app-2ht70gj7.js} +1 -1
  33. package/dist/chunks/{shell-2jqmte8w.js → app-2jqmte8w.js} +2 -2
  34. package/dist/chunks/{shell-6ym5me7r.js → app-2kykh1mj.js} +5 -5
  35. package/dist/chunks/{shell-mgnx1j9f.js → app-2w6vce98.js} +46 -46
  36. package/dist/chunks/{shell-36mzbjn4.js → app-36mzbjn4.js} +1 -1
  37. package/dist/chunks/{shell-fp066vz3.js → app-3c09ha2d.js} +16 -16
  38. package/dist/chunks/{shell-2vcth3xs.js → app-3dq3crbn.js} +24 -24
  39. package/dist/chunks/{shell-3fc6dm20.js → app-3fc6dm20.js} +1 -1
  40. package/dist/chunks/{shell-3hepkmqq.js → app-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{shell-zmjynawk.js → app-3jj6bjb6.js} +5 -5
  42. package/dist/chunks/{shell-3qzbfqsy.js → app-3qzbfqsy.js} +2 -2
  43. package/dist/chunks/{shell-3smtnn6g.js → app-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{shell-9f008s18.js → app-3tn3p1gv.js} +20 -20
  45. package/dist/chunks/{shell-3tvqynh2.js → app-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{shell-6mh2j33h.js → app-3zphh05q.js} +8 -8
  47. package/dist/chunks/{shell-vdpqp5cm.js → app-40x3qkyt.js} +41 -41
  48. package/dist/chunks/{shell-yav02wcy.js → app-42har1fs.js} +24 -24
  49. package/dist/chunks/{shell-xkzmkx0v.js → app-42xrgkkt.js} +9 -9
  50. package/dist/chunks/{shell-454k5vzh.js → app-454k5vzh.js} +1 -1
  51. package/dist/chunks/{shell-my67wh8n.js → app-4e715r4p.js} +5 -5
  52. package/dist/chunks/{shell-p3e4re21.js → app-4ehv4ads.js} +1 -1
  53. package/dist/chunks/{shell-sf6gbvg9.js → app-4gsaceeb.js} +18 -18
  54. package/dist/chunks/{shell-4r2nyarf.js → app-4r2nyarf.js} +1 -1
  55. package/dist/chunks/{shell-s52y7s20.js → app-4rf45629.js} +35 -35
  56. package/dist/chunks/{shell-jhk1bjct.js → app-4rtnt5ag.js} +32 -32
  57. package/dist/chunks/{shell-2dnwhkbg.js → app-4v6kmz2f.js} +33 -33
  58. package/dist/chunks/{shell-h2jjxfqc.js → app-50np2ea7.js} +20 -20
  59. package/dist/chunks/{shell-5daktx2q.js → app-5daktx2q.js} +1 -1
  60. package/dist/chunks/{shell-5fmxt4p5.js → app-5fmxt4p5.js} +1 -1
  61. package/dist/chunks/{shell-aa68tp4y.js → app-5h1jpmjk.js} +9 -9
  62. package/dist/chunks/{shell-nmh0bsy2.js → app-5j4ycm01.js} +11 -11
  63. package/dist/chunks/{shell-5jvc5tg2.js → app-5jvc5tg2.js} +1 -1
  64. package/dist/chunks/{shell-1bnjqxwj.js → app-5jw85c42.js} +13 -13
  65. package/dist/chunks/{shell-pfxg458r.js → app-5ms2rpmc.js} +2 -2
  66. package/dist/chunks/{shell-1j5kcfzp.js → app-5nfd4rj2.js} +32 -32
  67. package/dist/chunks/{shell-ayhxp9k6.js → app-5nznyf8e.js} +26 -26
  68. package/dist/chunks/{shell-pxcwkz2f.js → app-5p4h4sxt.js} +12 -12
  69. package/dist/chunks/{shell-1sfe7ky6.js → app-5pn8t89y.js} +5 -5
  70. package/dist/chunks/{shell-cqqf9w6n.js → app-5rwzhfv6.js} +12 -12
  71. package/dist/chunks/{shell-5sg4xzjf.js → app-5sg4xzjf.js} +1 -1
  72. package/dist/chunks/{shell-6ygcz7av.js → app-5t5wq6gn.js} +14 -14
  73. package/dist/chunks/{shell-y90mbezs.js → app-5vybsdg6.js} +27 -27
  74. package/dist/chunks/{shell-zfbr2h3w.js → app-5w21de0h.js} +20 -20
  75. package/dist/chunks/{shell-gdv0z722.js → app-632gbntz.js} +14 -14
  76. package/dist/chunks/{shell-d0g1dj0w.js → app-66d61ks5.js} +32 -32
  77. package/dist/chunks/{shell-g2qnqccr.js → app-67yrdjps.js} +7 -7
  78. package/dist/chunks/{shell-gh8ys4e0.js → app-6dbrvgej.js} +6 -6
  79. package/dist/chunks/{shell-rjre9n2g.js → app-6degs2s3.js} +7 -7
  80. package/dist/chunks/{shell-y384eh8z.js → app-6mj9m63p.js} +26 -26
  81. package/dist/chunks/{shell-cpfp6xqs.js → app-6sct3hx6.js} +10 -10
  82. package/dist/chunks/{shell-6tf8tr4v.js → app-6tf8tr4v.js} +2 -2
  83. package/dist/chunks/{shell-esapbxtc.js → app-6v0yyvxp.js} +27 -27
  84. package/dist/chunks/{shell-yjkt68fp.js → app-70rkddr7.js} +26 -26
  85. package/dist/chunks/{shell-711hfp6y.js → app-711hfp6y.js} +2 -2
  86. package/dist/chunks/{shell-j5jk7a00.js → app-7122j8gw.js} +3 -3
  87. package/dist/chunks/{shell-y6j92mjt.js → app-74kdhb1m.js} +1 -1
  88. package/dist/chunks/{shell-1q9v9ha2.js → app-7az1ph81.js} +9 -9
  89. package/dist/chunks/{shell-7bmhse3q.js → app-7bmhse3q.js} +1 -1
  90. package/dist/chunks/{shell-qgn6gcr1.js → app-7dqw4kz8.js} +5 -5
  91. package/dist/chunks/{shell-8n28b114.js → app-7m2rk6qq.js} +22 -22
  92. package/dist/chunks/{shell-8a5sy8gj.js → app-7n0q0bv1.js} +34 -34
  93. package/dist/chunks/{shell-x1xxr4z6.js → app-7ysq4950.js} +16 -16
  94. package/dist/chunks/{shell-4gg3r4gf.js → app-7yy9xc4n.js} +13 -13
  95. package/dist/chunks/{shell-20rf0y56.js → app-85gpctef.js} +7 -7
  96. package/dist/chunks/{shell-mv4q59re.js → app-85h46ndy.js} +27 -27
  97. package/dist/chunks/{shell-pbm77kt4.js → app-8dd2f8ys.js} +10 -10
  98. package/dist/chunks/{shell-7grmgsg7.js → app-8fhts7ts.js} +4 -4
  99. package/dist/chunks/{shell-7namgvh9.js → app-8mwg67v8.js} +24 -24
  100. package/dist/chunks/{shell-93a8yfjt.js → app-93a8yfjt.js} +2 -2
  101. package/dist/chunks/{shell-yx0a4n2t.js → app-93dwfvj9.js} +160 -160
  102. package/dist/chunks/{shell-a38h5jqv.js → app-96vkjpcp.js} +20 -20
  103. package/dist/chunks/{shell-a68y78dg.js → app-9g3rryp6.js} +4 -4
  104. package/dist/chunks/{shell-j016kj46.js → app-9rtpxp4d.js} +4 -4
  105. package/dist/chunks/{shell-pwya9n2y.js → app-9thvk43w.js} +3 -3
  106. package/dist/chunks/{shell-trc7nn16.js → app-a010fcpj.js} +26 -26
  107. package/dist/chunks/{shell-95pr9fpn.js → app-a914cbek.js} +11 -11
  108. package/dist/chunks/{shell-aaet6srn.js → app-aaet6srn.js} +2 -2
  109. package/dist/chunks/{shell-8debsjz4.js → app-ac15t784.js} +9 -9
  110. package/dist/chunks/{shell-sxaj9jh7.js → app-aj2m52tf.js} +10 -10
  111. package/dist/chunks/{shell-cppazjgb.js → app-aj61jzn0.js} +15 -15
  112. package/dist/chunks/{shell-b5xnx7k5.js → app-an4fhdz5.js} +33 -33
  113. package/dist/chunks/{shell-vwy6nk1q.js → app-anj2smy6.js} +24 -24
  114. package/dist/chunks/{shell-ycqmrtvj.js → app-b3restqe.js} +9 -9
  115. package/dist/chunks/{shell-b6gygkdw.js → app-b6gygkdw.js} +2 -2
  116. package/dist/chunks/{shell-b9wsbatv.js → app-b9wsbatv.js} +1 -1
  117. package/dist/chunks/{shell-cdxs8vt7.js → app-bbqat6f3.js} +25 -25
  118. package/dist/chunks/{shell-dzmbxvmy.js → app-bmvd9c9n.js} +15 -15
  119. package/dist/chunks/{shell-408ksyxd.js → app-c00ty097.js} +13 -13
  120. package/dist/chunks/{shell-31ygehh2.js → app-cfzweq70.js} +41 -41
  121. package/dist/chunks/{shell-n04tf95v.js → app-cg1s5r8d.js} +20 -20
  122. package/dist/chunks/{shell-df7dtqa0.js → app-cj2pz883.js} +34 -34
  123. package/dist/chunks/{shell-y75rfnyd.js → app-cjzd33bf.js} +5 -5
  124. package/dist/chunks/{shell-n8s6eqvs.js → app-cp8zqkwj.js} +9 -9
  125. package/dist/chunks/{shell-cdet0khb.js → app-d1hpdj9g.js} +17 -17
  126. package/dist/chunks/app-d4xdtrpt.js +22 -0
  127. package/dist/chunks/{shell-eh8mvrv6.js → app-d5cz6mdb.js} +18 -18
  128. package/dist/chunks/{shell-kyd4za44.js → app-dbtksfef.js} +4 -4
  129. package/dist/chunks/{shell-9gq6sz2t.js → app-dexfpahx.js} +4 -4
  130. package/dist/chunks/{shell-scvxbhcz.js → app-df0xh4qc.js} +16 -16
  131. package/dist/chunks/{shell-frqgkxmn.js → app-dggmzrqa.js} +9 -9
  132. package/dist/chunks/{shell-fy7q1eta.js → app-djq9m59r.js} +51 -51
  133. package/dist/chunks/{shell-z3xgatyd.js → app-djtdz80w.js} +4 -4
  134. package/dist/chunks/{shell-3e44t4bb.js → app-dk8wcj9d.js} +24 -24
  135. package/dist/chunks/{shell-69wmbgv2.js → app-dqj39p43.js} +8 -8
  136. package/dist/chunks/{shell-5z7dtar2.js → app-dxt7zfy2.js} +6 -6
  137. package/dist/chunks/{shell-e6r8zxve.js → app-dyr52z27.js} +4 -4
  138. package/dist/chunks/{shell-zzjwypeh.js → app-e1rfyyrx.js} +6 -6
  139. package/dist/chunks/{shell-p3a1egma.js → app-e8tqfn4h.js} +6 -6
  140. package/dist/chunks/{shell-e7gkvq10.js → app-e9s3ep91.js} +42 -42
  141. package/dist/chunks/{shell-qwx7jfem.js → app-ec9akqb8.js} +11 -11
  142. package/dist/chunks/{shell-jk2s1369.js → app-egy8hdjc.js} +6 -6
  143. package/dist/chunks/{shell-x6yvv8z4.js → app-ek9v5jv9.js} +32 -32
  144. package/dist/chunks/{shell-5e3azpn7.js → app-emw2ra1t.js} +20 -20
  145. package/dist/chunks/{shell-hs7e9eb3.js → app-en8yrvtc.js} +11 -11
  146. package/dist/chunks/{shell-n3tzsxk8.js → app-enykx8hh.js} +3 -3
  147. package/dist/chunks/{shell-k19k1yqd.js → app-ep50a41x.js} +24 -24
  148. package/dist/chunks/{shell-zfnpc7fv.js → app-eq19x63z.js} +1 -1
  149. package/dist/chunks/{shell-39ztw17m.js → app-ett0qq7e.js} +22 -22
  150. package/dist/chunks/{shell-5az6gfje.js → app-f7j6k7qz.js} +289 -289
  151. package/dist/chunks/{shell-90eb95eh.js → app-favyzkqq.js} +2 -2
  152. package/dist/chunks/{shell-cqhbx4g8.js → app-fbg8t03t.js} +26 -26
  153. package/dist/chunks/{shell-ct776dgc.js → app-fc38zh4y.js} +11 -11
  154. package/dist/chunks/{shell-m39a6r9n.js → app-fc3s98q3.js} +16 -16
  155. package/dist/chunks/{shell-xvcttetg.js → app-fnptnz5b.js} +10 -10
  156. package/dist/chunks/{shell-fvanntqq.js → app-fvanntqq.js} +1 -1
  157. package/dist/chunks/{shell-fxbjtjnd.js → app-fxbjtjnd.js} +1 -1
  158. package/dist/chunks/{shell-fxypknc8.js → app-fxypknc8.js} +1 -1
  159. package/dist/chunks/{shell-hrvm11jt.js → app-g2dy4bvs.js} +3 -3
  160. package/dist/chunks/{shell-d72308c8.js → app-g2gt0w0k.js} +2 -2
  161. package/dist/chunks/{shell-kz8th6jy.js → app-g77vssk4.js} +3 -3
  162. package/dist/chunks/{shell-mp9v96eg.js → app-g8me1vrx.js} +15 -15
  163. package/dist/chunks/{shell-1fgsnpje.js → app-gc2v68jb.js} +5 -5
  164. package/dist/chunks/{shell-gd4qta3r.js → app-gd4qta3r.js} +1 -1
  165. package/dist/chunks/{shell-g4b2g2ka.js → app-ghnyn06t.js} +11 -11
  166. package/dist/chunks/{shell-2vj4jxez.js → app-gn9vvy7m.js} +10 -10
  167. package/dist/chunks/{shell-5424cwtj.js → app-h07v7wa8.js} +12 -12
  168. package/dist/chunks/{shell-nsppqmbg.js → app-h38qfw5s.js} +20 -20
  169. package/dist/chunks/{shell-h6vf3j39.js → app-h6vf3j39.js} +1 -1
  170. package/dist/chunks/{shell-at1ds9nv.js → app-h7q657j6.js} +37 -37
  171. package/dist/chunks/{shell-e9rgf6pe.js → app-hb3r4mne.js} +46 -46
  172. package/dist/chunks/{shell-rsrdehm7.js → app-he7f0mkx.js} +36 -36
  173. package/dist/chunks/{shell-heyhwy2w.js → app-heyhwy2w.js} +1 -1
  174. package/dist/chunks/{shell-jdnwrjf1.js → app-hzxq4bdr.js} +3 -3
  175. package/dist/chunks/{shell-frv4a811.js → app-j0ppee8q.js} +5 -5
  176. package/dist/chunks/{shell-enwn0tzc.js → app-j2823k0a.js} +2 -2
  177. package/dist/chunks/{shell-q71mak0n.js → app-j34s8085.js} +9 -9
  178. package/dist/chunks/{shell-bdqrk2vk.js → app-j5208yae.js} +4 -4
  179. package/dist/chunks/{shell-1wgy2qkb.js → app-jb3fmdkt.js} +20 -20
  180. package/dist/chunks/{shell-xq4tznss.js → app-jeec4msp.js} +20 -20
  181. package/dist/chunks/{shell-eg42tpd5.js → app-jqbwqfhj.js} +27 -27
  182. package/dist/chunks/{shell-g37h3sja.js → app-jtw2mhh0.js} +41 -41
  183. package/dist/chunks/{shell-jwcy2c2z.js → app-jwcy2c2z.js} +1 -1
  184. package/dist/chunks/{shell-zdhy8zs2.js → app-jxsp05s8.js} +3 -3
  185. package/dist/chunks/{shell-ysjsy6za.js → app-jz63f3q8.js} +21 -21
  186. package/dist/chunks/{shell-vqy8gbs1.js → app-jz6g0r88.js} +4 -4
  187. package/dist/chunks/{shell-bk2c6ybg.js → app-k0nnxhjy.js} +40 -40
  188. package/dist/chunks/{shell-7drzq840.js → app-k1r2d1at.js} +4 -4
  189. package/dist/chunks/{shell-k4bwy1x5.js → app-k4bwy1x5.js} +1 -1
  190. package/dist/chunks/{shell-9mvaddhj.js → app-k8t0xqq8.js} +15 -15
  191. package/dist/chunks/{shell-kg06axw8.js → app-kg06axw8.js} +1 -1
  192. package/dist/chunks/{shell-kk3rr3qh.js → app-kk3rr3qh.js} +2 -2
  193. package/dist/chunks/{shell-kvsjn1dr.js → app-kvsjn1dr.js} +2 -2
  194. package/dist/chunks/{shell-sz7a9shn.js → app-kx408293.js} +9 -9
  195. package/dist/chunks/{shell-1jf928x4.js → app-kzr84srk.js} +18 -18
  196. package/dist/chunks/{shell-k2qp0rt7.js → app-m207hpws.js} +1 -1
  197. package/dist/chunks/{shell-ww8c32hp.js → app-m3fm0fm8.js} +5 -5
  198. package/dist/chunks/{shell-wf9a4qst.js → app-m8pdp7md.js} +12 -12
  199. package/dist/chunks/{shell-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
  200. package/dist/chunks/{shell-jc8a71f0.js → app-md85gwrm.js} +11 -11
  201. package/dist/chunks/{shell-j028xdjb.js → app-mhkvc446.js} +3 -3
  202. package/dist/chunks/{shell-20gpa56p.js → app-mhv349kx.js} +11 -11
  203. package/dist/chunks/app-mkqtfevc.js +18 -0
  204. package/dist/chunks/{shell-vetx83r0.js → app-mmqcn6cn.js} +8 -8
  205. package/dist/chunks/{shell-2t83wyrz.js → app-n29cgmzy.js} +31 -31
  206. package/dist/chunks/{shell-fnb87gt3.js → app-n391bmby.js} +8 -8
  207. package/dist/chunks/{shell-wsfy2223.js → app-n3jkd22a.js} +4 -4
  208. package/dist/chunks/{shell-vhvxtbfv.js → app-n87mmw2p.js} +20 -20
  209. package/dist/chunks/{shell-fdrv5wj1.js → app-n91x5rnx.js} +5 -5
  210. package/dist/chunks/{shell-bw9752qy.js → app-nhrx4yjw.js} +19 -19
  211. package/dist/chunks/{shell-sbnvhk9g.js → app-nj1fe1jb.js} +4 -4
  212. package/dist/chunks/{shell-0kkhs0tb.js → app-nm1hd347.js} +14 -14
  213. package/dist/chunks/{shell-156p63ka.js → app-nn3t8h8p.js} +14 -14
  214. package/dist/chunks/{shell-paj2ftem.js → app-nn8gjz4a.js} +15 -15
  215. package/dist/chunks/{shell-hk9ng4w9.js → app-nrz5c8c1.js} +9 -9
  216. package/dist/chunks/{shell-jcd025mq.js → app-nszsghhy.js} +21 -21
  217. package/dist/chunks/{shell-p325kmej.js → app-p325kmej.js} +2 -2
  218. package/dist/chunks/{shell-trx91xdz.js → app-p7ygs7f5.js} +20 -20
  219. package/dist/chunks/{shell-gvkmngex.js → app-p839zhc6.js} +5 -5
  220. package/dist/chunks/{shell-4c5k13je.js → app-pbxt2nhv.js} +1 -1
  221. package/dist/chunks/{shell-n6mjs8gv.js → app-ph8fh0n1.js} +7 -7
  222. package/dist/chunks/{shell-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
  223. package/dist/chunks/{shell-pknna89w.js → app-pknna89w.js} +1 -1
  224. package/dist/chunks/{shell-wgz7hchk.js → app-pkxfpd18.js} +6 -6
  225. package/dist/chunks/{shell-14s8ve6g.js → app-pq15x4g3.js} +1 -1
  226. package/dist/chunks/{shell-c6qfwypk.js → app-prc33r7y.js} +10 -10
  227. package/dist/chunks/{shell-abvdbqvv.js → app-pwxeq6k8.js} +3 -3
  228. package/dist/chunks/{shell-b9j1334g.js → app-pxh1w4gq.js} +10 -10
  229. package/dist/chunks/{shell-r2aqpy44.js → app-q00nexrm.js} +19 -19
  230. package/dist/chunks/{shell-ckfka8c9.js → app-q8x51wfp.js} +11 -11
  231. package/dist/chunks/{shell-pcx5yqze.js → app-qad2rhws.js} +63 -63
  232. package/dist/chunks/{shell-6pqc1wcj.js → app-qffh45tv.js} +15 -15
  233. package/dist/chunks/{shell-qsdy395h.js → app-qsdy395h.js} +1 -1
  234. package/dist/chunks/{shell-9qm9egsn.js → app-qvbcabdc.js} +2 -2
  235. package/dist/chunks/{shell-r8dhm0tv.js → app-r8dhm0tv.js} +1 -1
  236. package/dist/chunks/{shell-vncycja5.js → app-r98e92ep.js} +4 -4
  237. package/dist/chunks/{shell-fm2qvscf.js → app-ratrq7cm.js} +4 -4
  238. package/dist/chunks/{shell-tcrw0mk6.js → app-rehtxfbe.js} +1 -1
  239. package/dist/chunks/{shell-7paan8yh.js → app-rx10k930.js} +16 -16
  240. package/dist/chunks/{shell-6abnk40k.js → app-saak5ttd.js} +6 -6
  241. package/dist/chunks/{shell-sba4qhjf.js → app-sba4qhjf.js} +1 -1
  242. package/dist/chunks/{shell-c1sjkzjg.js → app-scr2tyqd.js} +13 -13
  243. package/dist/chunks/{shell-2bzqvgn8.js → app-sq5dxjr9.js} +85 -85
  244. package/dist/chunks/{shell-kvrh1aj8.js → app-t368439m.js} +10 -10
  245. package/dist/chunks/{shell-ye1hsen9.js → app-t40jpwh8.js} +8 -8
  246. package/dist/chunks/{shell-tazgh4e4.js → app-tazgh4e4.js} +1 -1
  247. package/dist/chunks/{shell-tcezcvh9.js → app-tcezcvh9.js} +1 -1
  248. package/dist/chunks/{shell-bphmvjfp.js → app-thfv75je.js} +5 -5
  249. package/dist/chunks/{shell-tjykrgmx.js → app-tjykrgmx.js} +1 -1
  250. package/dist/chunks/{shell-af4svgqg.js → app-tp6caa3d.js} +11 -11
  251. package/dist/chunks/{shell-vwvvp157.js → app-tppvcy65.js} +9 -9
  252. package/dist/chunks/{shell-0cm3syf1.js → app-twthcc5a.js} +12 -12
  253. package/dist/chunks/{shell-c5khapka.js → app-v4py6dym.js} +13 -13
  254. package/dist/chunks/{shell-p1gfy0ra.js → app-ve8mtpc7.js} +35 -35
  255. package/dist/chunks/{shell-g52wq5zw.js → app-vfmrq4xs.js} +4 -4
  256. package/dist/chunks/app-vra3567w.js +20 -0
  257. package/dist/chunks/{shell-v1sap15r.js → app-vwg59y3r.js} +9 -9
  258. package/dist/chunks/{shell-3xj9tye7.js → app-vxneg69e.js} +11 -11
  259. package/dist/chunks/{shell-2g7fb4sy.js → app-w1n2vv9p.js} +6 -6
  260. package/dist/chunks/{shell-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
  261. package/dist/chunks/{shell-wd87259q.js → app-wd87259q.js} +1 -1
  262. package/dist/chunks/{shell-95rn6zea.js → app-wdw6j3rs.js} +79 -79
  263. package/dist/chunks/{shell-3m3401bg.js → app-wgayrvb3.js} +32 -32
  264. package/dist/chunks/{shell-5bfzd4v8.js → app-wm2410he.js} +9 -9
  265. package/dist/chunks/{shell-kyx4rev9.js → app-wv3apwzp.js} +29 -29
  266. package/dist/chunks/{shell-x1ezjp6w.js → app-x1ezjp6w.js} +1 -1
  267. package/dist/chunks/{shell-d6q9r95s.js → app-xmt2104j.js} +6 -6
  268. package/dist/chunks/{shell-zkcybhg5.js → app-xnzvg5qh.js} +43 -43
  269. package/dist/chunks/{shell-eyg363nj.js → app-xx9fdkq9.js} +20 -20
  270. package/dist/chunks/{shell-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{shell-4m1vt040.js → app-y1rpdcqt.js} +26 -26
  272. package/dist/chunks/{shell-wrj6s030.js → app-y3rr0h4x.js} +30 -30
  273. package/dist/chunks/{shell-ajtjthsy.js → app-yg7sb877.js} +2 -2
  274. package/dist/chunks/{shell-z1k01bn4.js → app-z1k01bn4.js} +2 -2
  275. package/dist/chunks/{shell-4fcph0hq.js → app-z6keg9zw.js} +11 -11
  276. package/dist/chunks/{shell-8xx29per.js → app-zf7b75hh.js} +23 -23
  277. package/dist/chunks/{shell-hc4b3kyg.js → app-zfdtt056.js} +6 -6
  278. package/dist/chunks/{shell-6143np6g.js → app-ztbtsr59.js} +9 -9
  279. package/dist/chunks/{shell-sykc9y4a.js → app-zw4pk1bw.js} +5 -5
  280. package/dist/chunks/app-zx6w5c8x.js +243 -0
  281. package/dist/chunks/{shell-zxq2ej10.js → app-zxq2ej10.js} +1 -1
  282. package/dist/codemode/catalog.js +1 -1
  283. package/dist/codemode/instructions.js +7 -7
  284. package/dist/codemode/tool.js +2 -2
  285. package/dist/command.js +81 -81
  286. package/dist/config/discovery.js +77 -77
  287. package/dist/config/markdown.js +1 -1
  288. package/dist/config/normalize.js +19 -19
  289. package/dist/config/plugin/agent.js +116 -116
  290. package/dist/config/plugin/command.js +207 -207
  291. package/dist/config/plugin/compaction.js +153 -153
  292. package/dist/config/plugin/entry-observer.js +1 -1
  293. package/dist/config/plugin/formatter.js +116 -116
  294. package/dist/config/plugin/image.js +114 -114
  295. package/dist/config/plugin/instruction.js +85 -85
  296. package/dist/config/plugin/location-watcher.js +116 -116
  297. package/dist/config/plugin/mcp.js +125 -125
  298. package/dist/config/plugin/policy.js +113 -113
  299. package/dist/config/plugin/provider.js +112 -112
  300. package/dist/config/plugin/reference.js +116 -116
  301. package/dist/config/plugin/shell.js +117 -117
  302. package/dist/config/plugin/skill-file.js +96 -96
  303. package/dist/config/plugin/skill.js +134 -134
  304. package/dist/config/plugin/snapshot.js +114 -114
  305. package/dist/config/plugin/source.js +116 -116
  306. package/dist/config/plugin/tool-output.js +116 -116
  307. package/dist/config/plugin/websearch.js +114 -114
  308. package/dist/config/variable.js +3 -3
  309. package/dist/config/watch.js +1 -1
  310. package/dist/config.js +118 -118
  311. package/dist/credential/sql.js +2 -2
  312. package/dist/credential.js +80 -80
  313. package/dist/database/database.js +64 -64
  314. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  315. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  316. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  317. package/dist/database/drizzle/index.js +13 -13
  318. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  319. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  320. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  321. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  322. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  323. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  324. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  329. package/dist/database/drizzle.js +14 -14
  330. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  331. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  332. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  333. package/dist/database/migration/20260225215848_workspace.js +1 -1
  334. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  335. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  336. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  337. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  338. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  339. package/dist/database/migration/20260323234822_events.js +1 -1
  340. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  341. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  342. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  343. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  344. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  345. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  346. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  347. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  348. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  349. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  350. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  351. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  352. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  353. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  354. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  355. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  356. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  357. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  358. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  359. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  360. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  361. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  362. package/dist/database/migration/20260611035744_credential.js +1 -1
  363. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  364. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  365. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  366. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  367. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  368. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  369. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  370. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  371. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  372. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  373. package/dist/database/migration/20260812213948_worktree.js +1 -1
  374. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  375. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  376. package/dist/database/migration.gen.js +47 -47
  377. package/dist/database/migration.js +49 -49
  378. package/dist/database/path.js +2 -2
  379. package/dist/database/schema.gen.js +1 -1
  380. package/dist/database/schema.sql.js +1 -1
  381. package/dist/database/sqlite.bun.js +1 -1
  382. package/dist/database/sqlite.js +1 -1
  383. package/dist/database/sqlite.node.js +1 -1
  384. package/dist/database/sqlite.workerd.js +1 -1
  385. package/dist/database/v1-migration.bun.js +74 -74
  386. package/dist/database/v1-migration.js +1 -1
  387. package/dist/effect/app-node-builder.js +356 -356
  388. package/dist/effect/app-node-platform.js +2 -2
  389. package/dist/effect/keyed-mutex.js +1 -1
  390. package/dist/effect/websocket-constructor.js +1 -1
  391. package/dist/environment/driver.js +1 -1
  392. package/dist/environment/environment.js +88 -88
  393. package/dist/environment/exec-defaults.js +2 -2
  394. package/dist/environment/files.js +1 -1
  395. package/dist/environment/index.js +90 -90
  396. package/dist/environment/local.js +2 -2
  397. package/dist/environment/memory.js +2 -2
  398. package/dist/environment/unavailable.js +1 -1
  399. package/dist/event/sql.js +1 -1
  400. package/dist/event-logger.js +68 -68
  401. package/dist/file-mutation.js +89 -89
  402. package/dist/file-retention.js +1 -1
  403. package/dist/file.js +1 -1
  404. package/dist/filesystem/fff.bun.js +2 -2
  405. package/dist/filesystem/fff.js +1 -1
  406. package/dist/filesystem/fff.node.js +2 -2
  407. package/dist/filesystem/fff.workerd.js +2 -2
  408. package/dist/filesystem/ignore.js +1 -1
  409. package/dist/filesystem/location-watcher-policy.js +2 -2
  410. package/dist/filesystem/location-watcher.js +217 -217
  411. package/dist/filesystem/protected.js +1 -1
  412. package/dist/filesystem/search.js +93 -93
  413. package/dist/filesystem/watcher-binding.js +1 -1
  414. package/dist/filesystem/watcher.js +13 -13
  415. package/dist/filesystem.js +96 -96
  416. package/dist/form.js +82 -82
  417. package/dist/formatter/builtins.js +4 -4
  418. package/dist/formatter.js +82 -82
  419. package/dist/generate.js +90 -90
  420. package/dist/git.js +7 -7
  421. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  422. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  423. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  424. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  425. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  426. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  427. package/dist/github-copilot/copilot-provider.js +17 -17
  428. package/dist/github-copilot/models.js +3 -3
  429. package/dist/github-copilot/openai-compatible-error.js +1 -1
  430. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  431. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  432. package/dist/github-copilot/responses/openai-error.js +1 -1
  433. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  434. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  435. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  436. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  437. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  438. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  439. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  440. package/dist/id/id.js +1 -1
  441. package/dist/image/photon.js +2 -2
  442. package/dist/image.js +6 -6
  443. package/dist/instance/service.js +7 -7
  444. package/dist/instance.js +347 -347
  445. package/dist/instruction-discovery.js +77 -77
  446. package/dist/instructions/builtins.js +82 -82
  447. package/dist/instructions/index.js +1 -1
  448. package/dist/integration/connection.js +1 -1
  449. package/dist/integration.js +85 -85
  450. package/dist/job.js +75 -75
  451. package/dist/kv/sql.js +2 -2
  452. package/dist/kv.js +71 -71
  453. package/dist/location-activity.js +83 -83
  454. package/dist/location-mutation.js +81 -81
  455. package/dist/location-service-map.js +81 -81
  456. package/dist/location-services.js +344 -344
  457. package/dist/location.js +84 -84
  458. package/dist/mcp/client.js +86 -86
  459. package/dist/mcp/index.js +98 -98
  460. package/dist/mcp/instructions.js +118 -118
  461. package/dist/mcp/oauth.js +2 -2
  462. package/dist/mcp/stdio.js +85 -85
  463. package/dist/mime.js +1 -1
  464. package/dist/modal/models.js +3 -3
  465. package/dist/model-resolver.js +85 -85
  466. package/dist/model.js +6 -6
  467. package/dist/models-dev.js +86 -86
  468. package/dist/oauth/page.js +1 -1
  469. package/dist/permission/saved.js +78 -78
  470. package/dist/permission/sql.js +5 -5
  471. package/dist/permission.js +105 -105
  472. package/dist/persistent-pty/binary.bun.js +1 -1
  473. package/dist/persistent-pty/daemon.js +1 -1
  474. package/dist/persistent-pty/index.js +80 -80
  475. package/dist/persistent-pty/pty-binding.js +1 -1
  476. package/dist/persistent-pty.js +73 -73
  477. package/dist/plugin/agent.js +98 -98
  478. package/dist/plugin/command.js +95 -95
  479. package/dist/plugin/hooks.js +5 -5
  480. package/dist/plugin/host.js +210 -210
  481. package/dist/plugin/instance.js +5 -5
  482. package/dist/plugin/internal.js +316 -316
  483. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  484. package/dist/plugin/models-dev.js +75 -75
  485. package/dist/plugin/module.js +2 -2
  486. package/dist/plugin/plan.js +96 -96
  487. package/dist/plugin/promise.js +1 -1
  488. package/dist/plugin/provider/alibaba.js +2 -2
  489. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  490. package/dist/plugin/provider/anthropic.js +2 -2
  491. package/dist/plugin/provider/azure.js +117 -117
  492. package/dist/plugin/provider/cerebras.js +2 -2
  493. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  494. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  495. package/dist/plugin/provider/cohere.js +2 -2
  496. package/dist/plugin/provider/configured.js +113 -113
  497. package/dist/plugin/provider/dynamic.js +2 -2
  498. package/dist/plugin/provider/factory.js +1 -1
  499. package/dist/plugin/provider/gateway.js +2 -2
  500. package/dist/plugin/provider/github-copilot.js +79 -79
  501. package/dist/plugin/provider/gitlab.js +3 -3
  502. package/dist/plugin/provider/google-vertex.js +2 -2
  503. package/dist/plugin/provider/kilo.js +2 -2
  504. package/dist/plugin/provider/llmgateway.js +75 -75
  505. package/dist/plugin/provider/lmstudio.js +116 -116
  506. package/dist/plugin/provider/mistral.js +2 -2
  507. package/dist/plugin/provider/modal.js +78 -78
  508. package/dist/plugin/provider/nvidia.js +2 -2
  509. package/dist/plugin/provider/ollama.js +116 -116
  510. package/dist/plugin/provider/openai-compatible.js +1 -1
  511. package/dist/plugin/provider/openai.js +77 -77
  512. package/dist/plugin/provider/opencode.js +75 -75
  513. package/dist/plugin/provider/openrouter.js +3 -3
  514. package/dist/plugin/provider/perplexity.js +2 -2
  515. package/dist/plugin/provider/sap-ai-core.js +3 -3
  516. package/dist/plugin/provider/sdk-factory.js +1 -1
  517. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  518. package/dist/plugin/provider/venice.js +2 -2
  519. package/dist/plugin/provider/vercel.js +2 -2
  520. package/dist/plugin/provider/vllm.js +116 -116
  521. package/dist/plugin/provider/xai.js +76 -76
  522. package/dist/plugin/provider/zenmux.js +2 -2
  523. package/dist/plugin/provider.js +154 -154
  524. package/dist/plugin/sdk.js +72 -72
  525. package/dist/plugin/service.js +5 -5
  526. package/dist/plugin/skill.js +131 -131
  527. package/dist/plugin/source-directory.js +1 -1
  528. package/dist/plugin/supervisor.js +335 -335
  529. package/dist/plugin/system-prompt.js +1 -1
  530. package/dist/plugin/update.js +4 -4
  531. package/dist/plugin/variant.js +4 -4
  532. package/dist/plugin/vcs/git.js +82 -82
  533. package/dist/plugin/vcs/hg.js +82 -82
  534. package/dist/plugin/warming.js +111 -111
  535. package/dist/plugin/websearch/exa.js +7 -7
  536. package/dist/plugin/websearch/firecrawl.js +8 -8
  537. package/dist/plugin/websearch/index.js +8 -8
  538. package/dist/plugin/websearch/mcp.js +4 -4
  539. package/dist/plugin/websearch/parallel.js +8 -8
  540. package/dist/plugin/websearch/tavily.js +4 -4
  541. package/dist/plugin.js +219 -219
  542. package/dist/project/schema.js +8 -8
  543. package/dist/project/sql.js +4 -4
  544. package/dist/project.js +85 -85
  545. package/dist/provider.js +5 -5
  546. package/dist/pty/protocol.js +1 -1
  547. package/dist/pty/schema.js +3 -3
  548. package/dist/pty/ticket.js +1 -1
  549. package/dist/pty.js +94 -94
  550. package/dist/reference/instructions.js +84 -84
  551. package/dist/reference.js +86 -86
  552. package/dist/repository-cache.js +76 -76
  553. package/dist/repository.js +1 -1
  554. package/dist/ripgrep/binary.js +2 -2
  555. package/dist/ripgrep.js +91 -91
  556. package/dist/rpc.js +81 -81
  557. package/dist/schema.js +1 -1
  558. package/dist/session/command.js +72 -72
  559. package/dist/session/compaction.js +125 -125
  560. package/dist/session/context.js +145 -145
  561. package/dist/session/environment.js +5 -5
  562. package/dist/session/error.js +5 -5
  563. package/dist/session/event.js +1 -1
  564. package/dist/session/execution/restart.js +214 -214
  565. package/dist/session/execution.js +120 -120
  566. package/dist/session/generate.js +146 -146
  567. package/dist/session/history.js +12 -12
  568. package/dist/session/inbox.js +86 -86
  569. package/dist/session/info.js +3 -3
  570. package/dist/session/instruction-entry.js +77 -77
  571. package/dist/session/instruction-state.js +8 -8
  572. package/dist/session/instructions.js +91 -91
  573. package/dist/session/message-updater.js +2 -2
  574. package/dist/session/message.js +1 -1
  575. package/dist/session/model-request.js +112 -112
  576. package/dist/session/model-transport.js +7 -7
  577. package/dist/session/move.js +124 -124
  578. package/dist/session/projector.js +84 -84
  579. package/dist/session/prompt.js +99 -99
  580. package/dist/session/revert.js +85 -85
  581. package/dist/session/run-coordinator.js +3 -3
  582. package/dist/session/runner/index.js +3 -3
  583. package/dist/session/runner/llm.js +220 -220
  584. package/dist/session/runner/max-steps.js +1 -1
  585. package/dist/session/runner/model.js +81 -81
  586. package/dist/session/runner/publish-llm-event.js +3 -3
  587. package/dist/session/runner/retry.js +4 -4
  588. package/dist/session/runner/step.js +119 -119
  589. package/dist/session/runner/to-llm-message.js +1 -1
  590. package/dist/session/schema.js +5 -5
  591. package/dist/session/session.js +167 -167
  592. package/dist/session/shell.js +130 -130
  593. package/dist/session/skill.js +97 -97
  594. package/dist/session/sql.js +5 -5
  595. package/dist/session/stats.js +71 -71
  596. package/dist/session/store.js +82 -82
  597. package/dist/session/subagent-completion.js +1 -1
  598. package/dist/session/subagent-job.js +203 -203
  599. package/dist/session/system-prompt.js +1 -1
  600. package/dist/session/title.js +149 -149
  601. package/dist/session/to-session-error.js +105 -105
  602. package/dist/session/transfer.js +210 -210
  603. package/dist/session/usage.js +1 -1
  604. package/dist/session.js +211 -211
  605. package/dist/shell/parse.js +6 -6
  606. package/dist/shell/result.js +1 -1
  607. package/dist/shell/scan.js +1 -1
  608. package/dist/shell/select.js +7 -7
  609. package/dist/shell.js +130 -130
  610. package/dist/skill/discovery.js +6 -6
  611. package/dist/skill/instructions.js +101 -101
  612. package/dist/skill.js +106 -106
  613. package/dist/snapshot.js +86 -86
  614. package/dist/state.js +1 -1
  615. package/dist/tool/html-markdown.js +1 -1
  616. package/dist/tool/http-body.js +1 -1
  617. package/dist/tool/mcp.js +115 -115
  618. package/dist/tool/plugin/edit.js +114 -114
  619. package/dist/tool/plugin/file-diff.js +1 -1
  620. package/dist/tool/plugin/glob.js +119 -119
  621. package/dist/tool/plugin/grep.js +119 -119
  622. package/dist/tool/plugin/opencode.js +3 -3
  623. package/dist/tool/plugin/patch.js +116 -116
  624. package/dist/tool/plugin/question.js +97 -97
  625. package/dist/tool/plugin/read.js +120 -120
  626. package/dist/tool/plugin/shell.js +210 -210
  627. package/dist/tool/plugin/skill.js +105 -105
  628. package/dist/tool/plugin/subagent.js +212 -212
  629. package/dist/tool/plugin/webfetch.js +104 -104
  630. package/dist/tool/plugin/websearch.js +108 -108
  631. package/dist/tool/plugin/write.js +116 -116
  632. package/dist/tool/read-filesystem.js +96 -96
  633. package/dist/tool/runtime.js +1 -1
  634. package/dist/tool-output.js +8 -8
  635. package/dist/tool.js +13 -13
  636. package/dist/util/error.js +1 -1
  637. package/dist/util/iife.js +1 -1
  638. package/dist/util/lazy.js +1 -1
  639. package/dist/util/slug.js +1 -1
  640. package/dist/util/token.js +1 -1
  641. package/dist/util/which.js +1 -1
  642. package/dist/util/wildcard.js +1 -1
  643. package/dist/v1/config/agent.js +7 -7
  644. package/dist/v1/config/attachment.js +4 -4
  645. package/dist/v1/config/command.js +3 -3
  646. package/dist/v1/config/config.js +14 -14
  647. package/dist/v1/config/error.js +2 -2
  648. package/dist/v1/config/formatter.js +3 -3
  649. package/dist/v1/config/layout.js +1 -1
  650. package/dist/v1/config/lsp.js +1 -1
  651. package/dist/v1/config/mcp.js +4 -4
  652. package/dist/v1/config/migrate.js +4 -4
  653. package/dist/v1/config/permission.js +3 -3
  654. package/dist/v1/config/plugin.js +3 -3
  655. package/dist/v1/config/provider-options.js +1 -1
  656. package/dist/v1/config/provider.js +4 -4
  657. package/dist/v1/config/server.js +2 -2
  658. package/dist/v1/config/skills.js +3 -3
  659. package/dist/v1/permission.js +1 -1
  660. package/dist/vcs/patch.js +1 -1
  661. package/dist/vcs.js +85 -85
  662. package/dist/websearch.js +80 -80
  663. package/dist/wellknown/plugin.js +74 -74
  664. package/dist/wellknown.js +77 -77
  665. package/dist/workspace/driver.js +5 -5
  666. package/dist/workspace/sql.js +1 -1
  667. package/dist/workspace.js +78 -78
  668. package/dist/worktree/directory.js +2 -2
  669. package/dist/worktree/git.js +7 -7
  670. package/dist/worktree/sql.js +5 -5
  671. package/dist/worktree.js +92 -92
  672. package/package.json +7 -7
  673. package/dist/chunks/shell-7zk4hah4.js +0 -4
  674. package/dist/chunks/shell-d1bm3mqt.js +0 -20
  675. package/dist/chunks/shell-jqh9b0xq.js +0 -18
  676. package/dist/chunks/shell-vzdd7ej8.js +0 -243
  677. package/dist/chunks/shell-yv6aypar.js +0 -22
  678. /package/dist/chunks/{shell-0fabt78z.js → app-0fabt78z.js} +0 -0
  679. /package/dist/chunks/{shell-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
  680. /package/dist/chunks/{shell-0zkw76rk.js → app-0zkw76rk.js} +0 -0
  681. /package/dist/chunks/{shell-17cy0kzp.js → app-17cy0kzp.js} +0 -0
  682. /package/dist/chunks/{shell-1cnp2v09.js → app-1cnp2v09.js} +0 -0
  683. /package/dist/chunks/{shell-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
  684. /package/dist/chunks/{shell-2710q6r3.js → app-2710q6r3.js} +0 -0
  685. /package/dist/chunks/{shell-2axfhc9x.js → app-2axfhc9x.js} +0 -0
  686. /package/dist/chunks/{shell-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
  687. /package/dist/chunks/{shell-359p4xyc.js → app-359p4xyc.js} +0 -0
  688. /package/dist/chunks/{shell-3asan66x.js → app-3asan66x.js} +0 -0
  689. /package/dist/chunks/{shell-3t738kvx.js → app-3t738kvx.js} +0 -0
  690. /package/dist/chunks/{shell-3v8g72cx.js → app-3v8g72cx.js} +0 -0
  691. /package/dist/chunks/{shell-3wcehsnq.js → app-3wcehsnq.js} +0 -0
  692. /package/dist/chunks/{shell-41nvscxy.js → app-41nvscxy.js} +0 -0
  693. /package/dist/chunks/{shell-43n2bw4t.js → app-43n2bw4t.js} +0 -0
  694. /package/dist/chunks/{shell-4knz6hnm.js → app-4knz6hnm.js} +0 -0
  695. /package/dist/chunks/{shell-4y7fprxs.js → app-4y7fprxs.js} +0 -0
  696. /package/dist/chunks/{shell-53557ph1.js → app-53557ph1.js} +0 -0
  697. /package/dist/chunks/{shell-550bvhaj.js → app-550bvhaj.js} +0 -0
  698. /package/dist/chunks/{shell-5qd3pb7m.js → app-5qd3pb7m.js} +0 -0
  699. /package/dist/chunks/{shell-6prwharc.js → app-6prwharc.js} +0 -0
  700. /package/dist/chunks/{shell-7akdwqpd.js → app-7akdwqpd.js} +0 -0
  701. /package/dist/chunks/{shell-7m9af43g.js → app-7m9af43g.js} +0 -0
  702. /package/dist/chunks/{shell-822emrt2.js → app-822emrt2.js} +0 -0
  703. /package/dist/chunks/{shell-88xbtdfr.js → app-88xbtdfr.js} +0 -0
  704. /package/dist/chunks/{shell-8n3pysct.js → app-8n3pysct.js} +0 -0
  705. /package/dist/chunks/{shell-982e01ww.js → app-982e01ww.js} +0 -0
  706. /package/dist/chunks/{shell-9a4afbnw.js → app-9a4afbnw.js} +0 -0
  707. /package/dist/chunks/{shell-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
  708. /package/dist/chunks/{shell-a1tpkmh4.js → app-a1tpkmh4.js} +0 -0
  709. /package/dist/chunks/{shell-af5trqkr.js → app-af5trqkr.js} +0 -0
  710. /package/dist/chunks/{shell-afrmfg78.js → app-afrmfg78.js} +0 -0
  711. /package/dist/chunks/{shell-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
  712. /package/dist/chunks/{shell-atq7p7m5.js → app-atq7p7m5.js} +0 -0
  713. /package/dist/chunks/{shell-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
  714. /package/dist/chunks/{shell-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
  715. /package/dist/chunks/{shell-cf4snx6d.js → app-cf4snx6d.js} +0 -0
  716. /package/dist/chunks/{shell-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
  717. /package/dist/chunks/{shell-d9fn303g.js → app-d9fn303g.js} +0 -0
  718. /package/dist/chunks/{shell-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
  719. /package/dist/chunks/{shell-dajrwvna.js → app-dajrwvna.js} +0 -0
  720. /package/dist/chunks/{shell-dap0rakb.js → app-dap0rakb.js} +0 -0
  721. /package/dist/chunks/{shell-df08tz66.js → app-df08tz66.js} +0 -0
  722. /package/dist/chunks/{shell-dy18nga0.js → app-dy18nga0.js} +0 -0
  723. /package/dist/chunks/{shell-e5kj55wp.js → app-e5kj55wp.js} +0 -0
  724. /package/dist/chunks/{shell-e73j6tqm.js → app-e73j6tqm.js} +0 -0
  725. /package/dist/chunks/{shell-eh3zwz77.js → app-eh3zwz77.js} +0 -0
  726. /package/dist/chunks/{shell-emrn6kk6.js → app-emrn6kk6.js} +0 -0
  727. /package/dist/chunks/{shell-f0mxakyp.js → app-f0mxakyp.js} +0 -0
  728. /package/dist/chunks/{shell-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
  729. /package/dist/chunks/{shell-faypxj3z.js → app-faypxj3z.js} +0 -0
  730. /package/dist/chunks/{shell-fd410y7t.js → app-fd410y7t.js} +0 -0
  731. /package/dist/chunks/{shell-fxgpk5d8.js → app-fxgpk5d8.js} +0 -0
  732. /package/dist/chunks/{shell-g4wezp1m.js → app-g4wezp1m.js} +0 -0
  733. /package/dist/chunks/{shell-g86h250q.js → app-g86h250q.js} +0 -0
  734. /package/dist/chunks/{shell-gebd4c9n.js → app-gebd4c9n.js} +0 -0
  735. /package/dist/chunks/{shell-hk9envan.js → app-hk9envan.js} +0 -0
  736. /package/dist/chunks/{shell-j2ntwpah.js → app-j2ntwpah.js} +0 -0
  737. /package/dist/chunks/{shell-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
  738. /package/dist/chunks/{shell-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
  739. /package/dist/chunks/{shell-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
  740. /package/dist/chunks/{shell-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
  741. /package/dist/chunks/{shell-mntxs535.js → app-mntxs535.js} +0 -0
  742. /package/dist/chunks/{shell-mp448xyj.js → app-mp448xyj.js} +0 -0
  743. /package/dist/chunks/{shell-msx8hqn2.js → app-msx8hqn2.js} +0 -0
  744. /package/dist/chunks/{shell-n05xt0ee.js → app-n05xt0ee.js} +0 -0
  745. /package/dist/chunks/{shell-n3j8tn72.js → app-n3j8tn72.js} +0 -0
  746. /package/dist/chunks/{shell-njntx4h6.js → app-njntx4h6.js} +0 -0
  747. /package/dist/chunks/{shell-p8qxwesx.js → app-p8qxwesx.js} +0 -0
  748. /package/dist/chunks/{shell-q3sfg36h.js → app-q3sfg36h.js} +0 -0
  749. /package/dist/chunks/{shell-q74kybfr.js → app-q74kybfr.js} +0 -0
  750. /package/dist/chunks/{shell-qaymkmh1.js → app-qaymkmh1.js} +0 -0
  751. /package/dist/chunks/{shell-qb87gjwd.js → app-qb87gjwd.js} +0 -0
  752. /package/dist/chunks/{shell-qfa1cgps.js → app-qfa1cgps.js} +0 -0
  753. /package/dist/chunks/{shell-qrg20bc0.js → app-qrg20bc0.js} +0 -0
  754. /package/dist/chunks/{shell-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
  755. /package/dist/chunks/{shell-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
  756. /package/dist/chunks/{shell-se0s1eqw.js → app-se0s1eqw.js} +0 -0
  757. /package/dist/chunks/{shell-sk3qaz4a.js → app-sk3qaz4a.js} +0 -0
  758. /package/dist/chunks/{shell-ssg3fenm.js → app-ssg3fenm.js} +0 -0
  759. /package/dist/chunks/{shell-twg0f83k.js → app-twg0f83k.js} +0 -0
  760. /package/dist/chunks/{shell-w803qqfp.js → app-w803qqfp.js} +0 -0
  761. /package/dist/chunks/{shell-wer8tq1h.js → app-wer8tq1h.js} +0 -0
  762. /package/dist/chunks/{shell-wtztk69x.js → app-wtztk69x.js} +0 -0
  763. /package/dist/chunks/{shell-x0ckcb58.js → app-x0ckcb58.js} +0 -0
  764. /package/dist/chunks/{shell-x1b8g1yb.js → app-x1b8g1yb.js} +0 -0
  765. /package/dist/chunks/{shell-x61499pn.js → app-x61499pn.js} +0 -0
  766. /package/dist/chunks/{shell-y44na4kk.js → app-y44na4kk.js} +0 -0
  767. /package/dist/chunks/{shell-y8cydn3q.js → app-y8cydn3q.js} +0 -0
  768. /package/dist/chunks/{shell-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
  769. /package/dist/chunks/{shell-z9919s4g.js → app-z9919s4g.js} +0 -0
  770. /package/dist/chunks/{shell-zbjnn3ac.js → app-zbjnn3ac.js} +0 -0
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service79,
3
3
  node83
4
- } from "./shell-e6r8zxve.js";
4
+ } from "./app-dyr52z27.js";
5
5
  import {
6
- Event19,
7
- Service77,
8
- node81
9
- } from "./shell-y90mbezs.js";
6
+ Event17,
7
+ Service67,
8
+ node69
9
+ } from "./app-5vybsdg6.js";
10
10
  import {
11
- Service64,
12
- node66
13
- } from "./shell-1wgy2qkb.js";
11
+ Service65,
12
+ node67
13
+ } from "./app-jb3fmdkt.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./shell-p8qxwesx.js";
16
+ } from "./app-p8qxwesx.js";
17
17
  import {
18
- Service71,
19
- node74
20
- } from "./shell-afp9cpv0.js";
18
+ Service76,
19
+ node80
20
+ } from "./app-0e2t5d9f.js";
21
21
  import {
22
22
  substitute2
23
- } from "./shell-kvsjn1dr.js";
23
+ } from "./app-kvsjn1dr.js";
24
24
  import {
25
25
  normalize2
26
- } from "./shell-rqe0j03n.js";
26
+ } from "./app-14rfkr3c.js";
27
27
  import {
28
28
  names4,
29
29
  discover3
30
- } from "./shell-1fgsnpje.js";
30
+ } from "./app-gc2v68jb.js";
31
31
  import {
32
32
  plan2
33
- } from "./shell-0s9ayhjt.js";
33
+ } from "./app-0s9ayhjt.js";
34
34
  import {
35
- Service69,
36
- Event15,
37
- node72
38
- } from "./shell-eqwbrmm3.js";
35
+ Service66,
36
+ Event16,
37
+ node68
38
+ } from "./app-1nfhvprz.js";
39
39
  import {
40
40
  __export
41
- } from "./shell-9rqn6x4v.js";
41
+ } from "./app-9rqn6x4v.js";
42
42
 
43
43
  // src/config.ts
44
44
  var exports_config = {};
45
45
  __export(exports_config, {
46
46
  Config: () => exports_config,
47
- Options: () => Options6,
48
- Service: () => Service63,
47
+ Options: () => Options7,
48
+ Service: () => Service64,
49
49
  Test: () => Test2,
50
- configured: () => configured6,
50
+ configured: () => configured7,
51
51
  latest: () => latest2,
52
- layer: () => layer21,
53
- node: () => node65,
52
+ layer: () => layer23,
53
+ node: () => node66,
54
54
  testLayer: () => testLayer2
55
55
  });
56
56
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
@@ -71,14 +71,14 @@ import { Global } from "@opencode-ai/util/global";
71
71
  function latest2(entries, key) {
72
72
  return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
73
73
  }
74
- var Options6 = Schema.Struct({
74
+ var Options7 = Schema.Struct({
75
75
  project: Schema.optional(Schema.Boolean),
76
76
  global: Schema.optional(Schema.Boolean),
77
77
  file: Schema.optional(Schema.String),
78
78
  content: Schema.optional(Schema.String)
79
79
  });
80
80
 
81
- class Service63 extends Context.Service()("@opencode/Config") {
81
+ class Service64 extends Context.Service()("@opencode/Config") {
82
82
  }
83
83
 
84
84
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -92,15 +92,15 @@ var testLayer2 = (initial = []) => Layer.effectContext(Effect.gen(function* () {
92
92
  setEntries: (next) => Ref.set(entries, next),
93
93
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
94
94
  });
95
- return Context.empty().pipe(Context.add(Service63, service), Context.add(Test2, service));
95
+ return Context.empty().pipe(Context.add(Service64, service), Context.add(Test2, service));
96
96
  }));
97
- var layer21 = (options) => Layer.effect(Service63, Effect.gen(function* () {
97
+ var layer23 = (options) => Layer.effect(Service64, Effect.gen(function* () {
98
98
  const fs = yield* FSUtil.Service;
99
- const location = yield* Service71;
100
- const watcher = yield* Service64;
99
+ const location = yield* Service76;
100
+ const watcher = yield* Service65;
101
101
  const bus = yield* Service79;
102
- const credentials = yield* Service77;
103
- const wellknown = yield* Service69;
102
+ const credentials = yield* Service67;
103
+ const wellknown = yield* Service66;
104
104
  const reloadLock = Semaphore.makeUnsafe(1);
105
105
  const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
106
106
  const decodeInfo = Schema.decodeUnknownOption(Info, decodeOptions);
@@ -223,8 +223,8 @@ var layer21 = (options) => Layer.effect(Service63, Effect.gen(function* () {
223
223
  }, (effect) => reloadLock.withPermit(effect));
224
224
  const pendingReloads = yield* PubSub.subscribe(reloads);
225
225
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
226
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
227
- yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
226
+ yield* bus.subscribe(Event17.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
227
+ yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
228
228
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
229
229
  if (!wellknown.snapshot().length)
230
230
  return Effect.void;
@@ -235,20 +235,20 @@ var layer21 = (options) => Layer.effect(Service63, Effect.gen(function* () {
235
235
  }).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to refresh wellknown config", { cause })));
236
236
  })), Effect.forever, Effect.forkScoped({ startImmediately: true }));
237
237
  yield* reloadLock.withPermit(reconcile(initial));
238
- return Service63.of({
238
+ return Service64.of({
239
239
  entries: Effect.fnUntraced(function* () {
240
240
  return configs;
241
241
  }),
242
242
  changes: () => Stream.fromPubSub(updates)
243
243
  });
244
244
  }));
245
- function configured6(options) {
245
+ function configured7(options) {
246
246
  return makeLocationNode({
247
- service: Service63,
248
- layer: layer21(options),
249
- deps: [node66, node83, FSUtil.node, Global.node, node74, node81, node72]
247
+ service: Service64,
248
+ layer: layer23(options),
249
+ deps: [node67, node83, FSUtil.node, Global.node, node80, node69, node68]
250
250
  });
251
251
  }
252
- var node65 = configured6();
252
+ var node66 = configured7();
253
253
 
254
- export { latest2, Options6, Service63, Test2, testLayer2, layer21, configured6, node65, exports_config };
254
+ export { latest2, Options7, Service64, Test2, testLayer2, layer23, configured7, node66, exports_config };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service79,
3
3
  node83
4
- } from "./shell-e6r8zxve.js";
4
+ } from "./app-dyr52z27.js";
5
5
  import {
6
6
  optional2,
7
7
  statics2
8
- } from "./shell-p8qxwesx.js";
8
+ } from "./app-p8qxwesx.js";
9
9
  import {
10
- Ref2,
11
- Service71,
12
- node74
13
- } from "./shell-afp9cpv0.js";
10
+ Ref4,
11
+ Service76,
12
+ node80
13
+ } from "./app-0e2t5d9f.js";
14
14
  import {
15
15
  __export
16
- } from "./shell-9rqn6x4v.js";
16
+ } from "./app-9rqn6x4v.js";
17
17
 
18
18
  // src/rpc.ts
19
19
  var exports_rpc = {};
20
20
  __export(exports_rpc, {
21
21
  Rpc: () => exports_rpc,
22
- Service: () => Service20,
22
+ Service: () => Service52,
23
23
  define: () => define2,
24
- node: () => node23
24
+ node: () => node54
25
25
  });
26
26
  import { define as define2 } from "@opencode-ai/schema/rpc";
27
27
  import { Event } from "@opencode-ai/schema/event";
28
28
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
29
29
  import { Context, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
30
- class Service20 extends Context.Service()("@opencode/Rpc") {
30
+ class Service52 extends Context.Service()("@opencode/Rpc") {
31
31
  }
32
32
 
33
33
  class DeclaredError extends Error {
@@ -39,10 +39,10 @@ class DeclaredError extends Error {
39
39
  this.data = data;
40
40
  }
41
41
  }
42
- var layer = Layer.effect(Service20, Effect.gen(function* () {
42
+ var layer = Layer.effect(Service52, Effect.gen(function* () {
43
43
  const bus = yield* Service79;
44
- const location = yield* Service71;
45
- const ref = Ref2.make({ directory: location.directory, workspaceID: location.workspaceID });
44
+ const location = yield* Service76;
45
+ const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
46
46
  const callContext = {
47
47
  error: (type, message, data) => new DeclaredError(type, message, data)
48
48
  };
@@ -81,7 +81,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
81
81
  const event = registered.event;
82
82
  const data = yield* encode(event.schema, args[1]);
83
83
  return yield* bus.publish(registered.definition, data, {
84
- location: Ref2.make({ directory: ref.directory, workspaceID: ref.workspaceID })
84
+ location: Ref4.make({ directory: ref.directory, workspaceID: ref.workspaceID })
85
85
  }).pipe(Effect.asVoid);
86
86
  })
87
87
  }
@@ -115,19 +115,19 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
115
115
  const registered = events.get(name);
116
116
  if (!registered)
117
117
  return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
118
- return bus.subscribe(registered.definition).pipe(Stream.provideService(Service71, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
118
+ return bus.subscribe(registered.definition).pipe(Stream.provideService(Service76, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
119
119
  }
120
120
  }
121
121
  };
122
122
  };
123
- return Service20.of({ register, call, client });
123
+ return Service52.of({ register, call, client });
124
124
  }));
125
- var node23 = makeLocationNode({ service: Service20, layer, deps: [node83, node74] });
125
+ var node54 = makeLocationNode({ service: Service52, layer, deps: [node83, node80] });
126
126
  var fields = {
127
127
  id: Event.ID,
128
128
  created: Schema.Finite,
129
129
  metadata: optional2(Schema.Record(Schema.String, Schema.Unknown)),
130
- location: optional2(Ref2)
130
+ location: optional2(Ref4)
131
131
  };
132
132
  var EventData = Schema.Record(Schema.String, Schema.Unknown);
133
133
  var jsonSchemas = new WeakMap;
@@ -203,8 +203,8 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
203
203
  ...payload,
204
204
  type: eventType(definition, name),
205
205
  data,
206
- location: Ref2.make({ directory: ref.directory, workspaceID: ref.workspaceID })
206
+ location: Ref4.make({ directory: ref.directory, workspaceID: ref.workspaceID })
207
207
  };
208
208
  });
209
209
 
210
- export { Service20, node23, exports_rpc, define2 };
210
+ export { Service52, node54, exports_rpc, define2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./shell-9rqn6x4v.js";
3
+ } from "./app-9rqn6x4v.js";
4
4
 
5
5
  // src/util/wildcard.ts
6
6
  var exports_wildcard = {};
@@ -1,35 +1,35 @@
1
1
  import {
2
- ID9,
3
- Service47
4
- } from "./shell-k19k1yqd.js";
2
+ ID15,
3
+ Service72
4
+ } from "./app-ep50a41x.js";
5
5
  import {
6
- Service71
7
- } from "./shell-afp9cpv0.js";
6
+ Service76
7
+ } from "./app-0e2t5d9f.js";
8
8
  import {
9
- Service63
10
- } from "./shell-zkcybhg5.js";
9
+ Service64
10
+ } from "./app-xnzvg5qh.js";
11
11
  import {
12
12
  Service70,
13
13
  args2
14
- } from "./shell-fnb87gt3.js";
14
+ } from "./app-n391bmby.js";
15
15
  import {
16
- Service21
17
- } from "./shell-2bzqvgn8.js";
16
+ Service18
17
+ } from "./app-sq5dxjr9.js";
18
18
  import {
19
- make7
20
- } from "./shell-3xj9tye7.js";
19
+ make8
20
+ } from "./app-vxneg69e.js";
21
21
  import {
22
22
  parseOption2
23
- } from "./shell-5daktx2q.js";
23
+ } from "./app-5daktx2q.js";
24
24
  import {
25
25
  __export
26
- } from "./shell-9rqn6x4v.js";
26
+ } from "./app-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/command.ts
29
- var exports_command = {};
30
- __export(exports_command, {
31
- ConfigCommandPlugin: () => exports_command,
32
- Plugin: () => Plugin5
29
+ var exports_command2 = {};
30
+ __export(exports_command2, {
31
+ ConfigCommandPlugin: () => exports_command2,
32
+ Plugin: () => Plugin31
33
33
  });
34
34
  import { define } from "@opencode-ai/plugin/effect/plugin";
35
35
  import { ConfigCommand } from "@opencode-ai/schema/config/command";
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
41
41
  import { ChildProcess } from "effect/unstable/process";
42
42
  import { FSUtil } from "@opencode-ai/util/fs-util";
43
43
  var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
44
- var Plugin5 = define({
44
+ var Plugin31 = define({
45
45
  id: "opencode.config.command",
46
46
  effect: Effect.fn(function* (ctx) {
47
- const config = yield* Service63;
47
+ const config = yield* Service64;
48
48
  const fs = yield* FSUtil.Service;
49
49
  const loadEntry = Effect.fnUntraced(function* (entry) {
50
50
  if (entry.type === "document")
@@ -54,12 +54,12 @@ var Plugin5 = define({
54
54
  const commands = yield* loadDirectory(fs, entry.path);
55
55
  return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
56
56
  });
57
- const location = yield* Service71;
57
+ const location = yield* Service76;
58
58
  const processes = yield* AppProcess.Service;
59
59
  const shell = yield* Service70;
60
- const sessions = yield* Service21;
61
- const agents = yield* Service47;
62
- const subagents = yield* make7;
60
+ const sessions = yield* Service18;
61
+ const agents = yield* Service72;
62
+ const subagents = yield* make8;
63
63
  const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
64
64
  return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
65
65
  });
@@ -80,7 +80,7 @@ var Plugin5 = define({
80
80
  name,
81
81
  description: command.description,
82
82
  execute: (input) => Effect.gen(function* () {
83
- const agent = command.agent === undefined ? undefined : ID9.make(command.agent);
83
+ const agent = command.agent === undefined ? undefined : ID15.make(command.agent);
84
84
  const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
85
85
  const model = command.model === undefined ? commandAgent?.model : {
86
86
  id: Model.ID.make(command.model.model),
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
204
204
  var quoteTrimRegex = /^["']|["']$/g;
205
205
  var shellRegex = /!`([^`]+)`/g;
206
206
 
207
- export { Plugin5, exports_command };
207
+ export { Plugin31, exports_command2 };
@@ -1,53 +1,53 @@
1
1
  import {
2
2
  Service79,
3
3
  node83
4
- } from "./shell-e6r8zxve.js";
4
+ } from "./app-dyr52z27.js";
5
5
  import {
6
- Service73,
7
- node76
8
- } from "./shell-xvcttetg.js";
6
+ Service78,
7
+ node82
8
+ } from "./app-fnptnz5b.js";
9
9
  import {
10
- Service71,
11
- node74
12
- } from "./shell-afp9cpv0.js";
10
+ Service76,
11
+ node80
12
+ } from "./app-0e2t5d9f.js";
13
13
  import {
14
14
  awaitActivation2
15
- } from "./shell-jqh9b0xq.js";
15
+ } from "./app-mkqtfevc.js";
16
16
  import {
17
- Service64,
18
- node66
19
- } from "./shell-1wgy2qkb.js";
17
+ Service65,
18
+ node67
19
+ } from "./app-jb3fmdkt.js";
20
20
  import {
21
- node21
22
- } from "./shell-8n28b114.js";
21
+ node19
22
+ } from "./app-7m2rk6qq.js";
23
23
  import {
24
24
  Service12,
25
25
  node14
26
- } from "./shell-p325kmej.js";
26
+ } from "./app-p325kmej.js";
27
27
  import {
28
28
  __export
29
- } from "./shell-9rqn6x4v.js";
29
+ } from "./app-9rqn6x4v.js";
30
30
 
31
31
  // src/filesystem/location-watcher.ts
32
- var exports_location_watcher2 = {};
33
- __export(exports_location_watcher2, {
34
- LocationWatcher: () => exports_location_watcher2,
35
- Service: () => Service11,
36
- node: () => node13
32
+ var exports_location_watcher = {};
33
+ __export(exports_location_watcher, {
34
+ LocationWatcher: () => exports_location_watcher,
35
+ Service: () => Service2,
36
+ node: () => node2
37
37
  });
38
38
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
39
39
  import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
40
40
  import { FileSystem } from "@opencode-ai/schema/filesystem";
41
41
  import path from "path";
42
42
  import { FSUtil } from "@opencode-ai/util/fs-util";
43
- class Service11 extends Context.Service()("@opencode/LocationWatcher") {
43
+ class Service2 extends Context.Service()("@opencode/LocationWatcher") {
44
44
  }
45
- var layer = Layer.effect(Service11, Effect.gen(function* () {
46
- const location = yield* Service71;
47
- const watcher = yield* Service64;
45
+ var layer = Layer.effect(Service2, Effect.gen(function* () {
46
+ const location = yield* Service76;
47
+ const watcher = yield* Service65;
48
48
  const bus = yield* Service79;
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service73;
50
+ const git = yield* Service78;
51
51
  const policy = yield* Service12;
52
52
  const publish = (update) => bus.publish(FileSystem.Event.Changed, {
53
53
  file: update.path,
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
100
100
  yield* awaitActivation2;
101
101
  yield* reconcile();
102
102
  }).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
103
- return Service11.of({});
103
+ return Service2.of({});
104
104
  }));
105
- var node13 = makeLocationNode({
106
- service: Service11,
105
+ var node2 = makeLocationNode({
106
+ service: Service2,
107
107
  layer,
108
- deps: [node66, FSUtil.node, node74, node76, node83, node21, node14]
108
+ deps: [node67, FSUtil.node, node80, node82, node83, node19, node14]
109
109
  });
110
110
 
111
- export { Service11, node13, exports_location_watcher2 };
111
+ export { Service2, node2, exports_location_watcher };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  absoluteColumn2
3
- } from "./shell-r8dhm0tv.js";
3
+ } from "./app-r8dhm0tv.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./shell-9qm9egsn.js";
6
+ } from "./app-qvbcabdc.js";
7
7
 
8
8
  // src/worktree/sql.ts
9
9
  import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./shell-2a5m3afh.js";
5
+ } from "./app-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./shell-9rqn6x4v.js";
8
+ } from "./app-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/exec-defaults.ts
11
11
  var exports_exec_defaults = {};
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service63
3
- } from "./shell-zkcybhg5.js";
2
+ Service64
3
+ } from "./app-xnzvg5qh.js";
4
4
  import {
5
- Service51
6
- } from "./shell-v1sap15r.js";
5
+ Service53
6
+ } from "./app-vwg59y3r.js";
7
7
  import {
8
8
  observe2
9
- } from "./shell-qsdy395h.js";
9
+ } from "./app-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./shell-9rqn6x4v.js";
12
+ } from "./app-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/image.ts
15
15
  var exports_image = {};
16
16
  __export(exports_image, {
17
17
  ConfigImagePlugin: () => exports_image,
18
- Plugin: () => Plugin7
18
+ Plugin: () => Plugin38
19
19
  });
20
20
  import { define } from "@opencode-ai/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin7 = define({
22
+ var Plugin38 = define({
23
23
  id: "opencode.config.image",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service63;
26
- const image = yield* Service51;
25
+ const config = yield* Service64;
26
+ const image = yield* Service53;
27
27
  const loaded = yield* observe2(config, ctx.event, image.reload());
28
28
  yield* image.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -43,4 +43,4 @@ var Plugin7 = define({
43
43
  })
44
44
  });
45
45
 
46
- export { Plugin7, exports_image };
46
+ export { Plugin38, exports_image };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service79,
3
3
  node83
4
- } from "./shell-e6r8zxve.js";
4
+ } from "./app-dyr52z27.js";
5
5
  import {
6
- Service30,
7
- node32
8
- } from "./shell-mgnx1j9f.js";
6
+ Service35,
7
+ node37
8
+ } from "./app-2w6vce98.js";
9
9
  import {
10
- Service41,
11
- node43
12
- } from "./shell-fy7q1eta.js";
10
+ Service46,
11
+ node48
12
+ } from "./app-djq9m59r.js";
13
13
  import {
14
- Service50,
15
- node52
16
- } from "./shell-7namgvh9.js";
14
+ Service36,
15
+ node38
16
+ } from "./app-8mwg67v8.js";
17
17
  import {
18
18
  __export
19
- } from "./shell-9rqn6x4v.js";
19
+ } from "./app-9rqn6x4v.js";
20
20
 
21
21
  // src/tool/mcp.ts
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service28,
25
+ Service: () => Service24,
26
26
  layer: () => layer11,
27
27
  name: () => name13,
28
28
  namespace: () => namespace2,
29
- node: () => node30
29
+ node: () => node27
30
30
  });
31
31
  import { ToolFailure } from "@opencode-ai/ai";
32
32
  import { McpEvent } from "@opencode-ai/schema/mcp-event";
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
36
  var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service28 extends Context.Service()("@opencode/McpTool") {
38
+ class Service24 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer11 = Layer.effect(Service28, Effect.gen(function* () {
41
- const mcp = yield* Service30;
42
- const tools = yield* Service50;
40
+ var layer11 = Layer.effect(Service24, Effect.gen(function* () {
41
+ const mcp = yield* Service35;
42
+ const tools = yield* Service36;
43
43
  const bus = yield* Service79;
44
- const permission = yield* Service41;
44
+ const permission = yield* Service46;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
47
47
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -112,12 +112,12 @@ var layer11 = Layer.effect(Service28, Effect.gen(function* () {
112
112
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
113
113
  const updates = yield* PubSub.subscribe(changes);
114
114
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
115
- return Service28.of({ flush: Effect.asVoid(Fiber.await(initial)) });
115
+ return Service24.of({ flush: Effect.asVoid(Fiber.await(initial)) });
116
116
  }));
117
- var node30 = makeLocationNode({
118
- service: Service28,
117
+ var node27 = makeLocationNode({
118
+ service: Service24,
119
119
  layer: layer11,
120
- deps: [node52, node32, node83, node43]
120
+ deps: [node38, node37, node83, node48]
121
121
  });
122
122
 
123
- export { namespace2, name13, Service28, layer11, node30, exports_mcp3 };
123
+ export { namespace2, name13, Service24, layer11, node27, exports_mcp3 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./shell-9rqn6x4v.js";
3
+ } from "./app-9rqn6x4v.js";
4
4
 
5
5
  // src/provider.ts
6
6
  var exports_provider3 = {};
7
7
  __export(exports_provider3, {
8
8
  AISDK_PREFIX: () => AISDK_PREFIX2,
9
- ID: () => ID15,
10
- Info: () => Info29,
9
+ ID: () => ID14,
10
+ Info: () => Info27,
11
11
  LoadError: () => LoadError3,
12
12
  Provider: () => exports_provider3,
13
13
  Request: () => Request3,
@@ -23,7 +23,7 @@ import { Effect, Schema } from "effect";
23
23
  import { Provider } from "@opencode-ai/schema/provider";
24
24
  import { isRecord } from "@opencode-ai/ai/utils/record";
25
25
  import { importModule, resolveModule } from "@opencode-ai/util/runtime-import";
26
- var ID15 = Provider.ID;
26
+ var ID14 = Provider.ID;
27
27
  var AISDK_PREFIX2 = "aisdk:";
28
28
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
29
29
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -137,7 +137,7 @@ function mergeHeaders2(base, overlay) {
137
137
  }
138
138
  var Request3 = Provider.Request;
139
139
  var Settings2 = Provider.Settings;
140
- var Info29 = Provider.Info;
140
+ var Info27 = Provider.Info;
141
141
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
142
142
  const module = yield* Effect.tryPromise({
143
143
  try: () => {
@@ -159,4 +159,4 @@ var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, en
159
159
  return module;
160
160
  });
161
161
 
162
- export { ID15, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info29, exports_provider3 };
162
+ export { ID14, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info27, exports_provider3 };