@opencode/core 0.0.0-dev-19294 → 0.0.0-dev-19297

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 (780) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{persistent-pty-82zcy4t3.js → instance-01jwtfx3.js} +7 -7
  9. package/dist/chunks/{persistent-pty-t7n9q6bq.js → instance-06x8he3q.js} +4 -4
  10. package/dist/chunks/{persistent-pty-0hpxrkyb.js → instance-0hpxrkyb.js} +2 -2
  11. package/dist/chunks/{persistent-pty-ma15yhyh.js → instance-0nde5ztd.js} +5 -5
  12. package/dist/chunks/{persistent-pty-0paq2nw3.js → instance-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{persistent-pty-0q0f95c6.js → instance-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{persistent-pty-ht8yq9j7.js → instance-0yzq9n39.js} +22 -22
  15. package/dist/chunks/{persistent-pty-egg00cm7.js → instance-19wnhc9k.js} +18 -18
  16. package/dist/chunks/{persistent-pty-z9ftmr1k.js → instance-1cmm49yn.js} +9 -9
  17. package/dist/chunks/{persistent-pty-1dazxqgg.js → instance-1dazxqgg.js} +2 -2
  18. package/dist/chunks/instance-1ebq5kva.js +247 -0
  19. package/dist/chunks/{persistent-pty-2qcb76fz.js → instance-1ppyepr8.js} +1 -1
  20. package/dist/chunks/{persistent-pty-t3xw15sj.js → instance-1qm24qff.js} +11 -11
  21. package/dist/chunks/{persistent-pty-cpy6gm2a.js → instance-1s3p39g4.js} +4 -4
  22. package/dist/chunks/{persistent-pty-33w4ejhs.js → instance-1ygqh575.js} +6 -6
  23. package/dist/chunks/{persistent-pty-21r38tys.js → instance-21r38tys.js} +1 -1
  24. package/dist/chunks/{persistent-pty-2me1kph6.js → instance-21r551s5.js} +41 -41
  25. package/dist/chunks/{persistent-pty-2a5m3afh.js → instance-2a5m3afh.js} +1 -1
  26. package/dist/chunks/{persistent-pty-gb05bdzk.js → instance-2byb8yr3.js} +11 -11
  27. package/dist/chunks/{persistent-pty-y59nms7p.js → instance-2drqq9fc.js} +35 -35
  28. package/dist/chunks/{persistent-pty-s0esgemt.js → instance-2evyaa68.js} +4 -4
  29. package/dist/chunks/{persistent-pty-ee2tbgw5.js → instance-2h50kq9x.js} +32 -32
  30. package/dist/chunks/{persistent-pty-sytjjnsv.js → instance-2n7srhfk.js} +18 -18
  31. package/dist/chunks/{persistent-pty-8gmzme5z.js → instance-2qzxxsah.js} +12 -12
  32. package/dist/chunks/{persistent-pty-9gr8y5ys.js → instance-2tfmgkzg.js} +4 -4
  33. package/dist/chunks/{persistent-pty-2qa1y7tr.js → instance-2zk7q63q.js} +25 -25
  34. package/dist/chunks/{persistent-pty-eqw6cy2w.js → instance-339dmwxv.js} +20 -20
  35. package/dist/chunks/{persistent-pty-pk6r85zh.js → instance-39r4aecv.js} +26 -26
  36. package/dist/chunks/{persistent-pty-4c8bw516.js → instance-3cwb9jzf.js} +8 -8
  37. package/dist/chunks/{persistent-pty-3fc6dm20.js → instance-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{persistent-pty-3hepkmqq.js → instance-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{persistent-pty-rxv86vcs.js → instance-3jyh38wp.js} +54 -54
  40. package/dist/chunks/{persistent-pty-rv1159bt.js → instance-3mvvax0j.js} +32 -32
  41. package/dist/chunks/{persistent-pty-8ygrg08v.js → instance-3q5yw5wc.js} +22 -22
  42. package/dist/chunks/{persistent-pty-3smtnn6g.js → instance-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{persistent-pty-h82fng87.js → instance-3tbwzafx.js} +12 -12
  44. package/dist/chunks/{persistent-pty-3tvqynh2.js → instance-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{persistent-pty-zr7f6xwe.js → instance-3v460zrs.js} +6 -6
  46. package/dist/chunks/{persistent-pty-a8qvq7xc.js → instance-3x919xvf.js} +38 -38
  47. package/dist/chunks/{persistent-pty-etks993p.js → instance-3xb7t3ea.js} +8 -8
  48. package/dist/chunks/{persistent-pty-1yrs7djp.js → instance-3y8se8h9.js} +9 -9
  49. package/dist/chunks/{persistent-pty-mjkd0a6p.js → instance-3zjyvmkv.js} +43 -43
  50. package/dist/chunks/{persistent-pty-mnza640n.js → instance-466rerzc.js} +23 -23
  51. package/dist/chunks/{persistent-pty-es9s4w7e.js → instance-4ha0j3vr.js} +8 -8
  52. package/dist/chunks/{persistent-pty-nbjdr6xc.js → instance-4hrc3tyr.js} +14 -14
  53. package/dist/chunks/{persistent-pty-727hyhtj.js → instance-4zhk1eez.js} +23 -23
  54. package/dist/chunks/{persistent-pty-31nw0jmk.js → instance-502pc4xn.js} +15 -15
  55. package/dist/chunks/{persistent-pty-qj8eh1ht.js → instance-50mzsvk4.js} +4 -4
  56. package/dist/chunks/{persistent-pty-a1bz86dw.js → instance-5c4hm403.js} +3 -3
  57. package/dist/chunks/{persistent-pty-5daktx2q.js → instance-5daktx2q.js} +1 -1
  58. package/dist/chunks/{persistent-pty-bgz3db1b.js → instance-5faha6gd.js} +24 -24
  59. package/dist/chunks/{persistent-pty-35qwg6vj.js → instance-5fve6znn.js} +23 -23
  60. package/dist/chunks/{persistent-pty-yxt3f3md.js → instance-5mrtvbn9.js} +17 -17
  61. package/dist/chunks/{persistent-pty-393vybvf.js → instance-5pkw1d5z.js} +13 -13
  62. package/dist/chunks/{persistent-pty-5t3nmthw.js → instance-5t3nmthw.js} +2 -2
  63. package/dist/chunks/{persistent-pty-xrdkskw0.js → instance-5xh15ypd.js} +24 -24
  64. package/dist/chunks/{persistent-pty-7b15y959.js → instance-5xtgfte3.js} +8 -8
  65. package/dist/chunks/{persistent-pty-bbf85as9.js → instance-5zy6em5b.js} +11 -11
  66. package/dist/chunks/{persistent-pty-2k8khapm.js → instance-607tc6va.js} +5 -5
  67. package/dist/chunks/{persistent-pty-669tq793.js → instance-669tq793.js} +1 -1
  68. package/dist/chunks/{persistent-pty-r17k24qa.js → instance-6arz13z6.js} +10 -10
  69. package/dist/chunks/{persistent-pty-2402vzrj.js → instance-6h73sxmp.js} +5 -5
  70. package/dist/chunks/{persistent-pty-h7ygw6q4.js → instance-6jnybvqn.js} +9 -9
  71. package/dist/chunks/{persistent-pty-6msgmcgs.js → instance-6msgmcgs.js} +1 -1
  72. package/dist/chunks/{persistent-pty-bscb95cy.js → instance-6zz0jjar.js} +4 -4
  73. package/dist/chunks/{persistent-pty-gqxm86at.js → instance-70313qx6.js} +8 -8
  74. package/dist/chunks/{persistent-pty-9k2v62xn.js → instance-710w2ech.js} +1 -1
  75. package/dist/chunks/{persistent-pty-71q4at8m.js → instance-71q4at8m.js} +1 -1
  76. package/dist/chunks/{persistent-pty-tysjjvy9.js → instance-73k9p0pd.js} +3 -3
  77. package/dist/chunks/{persistent-pty-73tb2d7t.js → instance-73tb2d7t.js} +1 -1
  78. package/dist/chunks/{persistent-pty-7knmeq7j.js → instance-75jwe5md.js} +12 -12
  79. package/dist/chunks/{persistent-pty-tn0aqsam.js → instance-78v47nsk.js} +5 -5
  80. package/dist/chunks/{persistent-pty-hghsks1n.js → instance-79f5wznj.js} +29 -29
  81. package/dist/chunks/{persistent-pty-7bmhse3q.js → instance-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{persistent-pty-22zc0h6z.js → instance-7f9wmjs1.js} +26 -26
  83. package/dist/chunks/{persistent-pty-wp1zmha7.js → instance-7fpn5dqa.js} +13 -13
  84. package/dist/chunks/{persistent-pty-jkp0d30b.js → instance-81rrwt6s.js} +6 -6
  85. package/dist/chunks/{persistent-pty-81swgkk7.js → instance-81swgkk7.js} +2 -2
  86. package/dist/chunks/{persistent-pty-nhvy51yq.js → instance-87rsn3wc.js} +6 -6
  87. package/dist/chunks/{persistent-pty-z1hva277.js → instance-888xqp9w.js} +15 -15
  88. package/dist/chunks/{persistent-pty-519xp98s.js → instance-88cv5s5z.js} +4 -4
  89. package/dist/chunks/{persistent-pty-8d7r5vzw.js → instance-8d7r5vzw.js} +1 -1
  90. package/dist/chunks/{persistent-pty-9dgj6nfy.js → instance-8nz0kf2a.js} +39 -39
  91. package/dist/chunks/{persistent-pty-vabb23s0.js → instance-8qk9tw02.js} +1 -1
  92. package/dist/chunks/{persistent-pty-hrtnrbtk.js → instance-9b4ng3vd.js} +6 -6
  93. package/dist/chunks/instance-9bjv8jc0.js +462 -0
  94. package/dist/chunks/{persistent-pty-p7t0e5yz.js → instance-9jdkkkxy.js} +28 -28
  95. package/dist/chunks/{persistent-pty-84tssp1s.js → instance-9qn3qky1.js} +8 -8
  96. package/dist/chunks/{persistent-pty-hphp9nwx.js → instance-9tgwmq03.js} +26 -26
  97. package/dist/chunks/{persistent-pty-atcvebh1.js → instance-9v1jw1ne.js} +30 -30
  98. package/dist/chunks/{persistent-pty-0f9afca0.js → instance-a1a50ys5.js} +5 -5
  99. package/dist/chunks/{persistent-pty-z7exr65g.js → instance-a1ny26p1.js} +17 -17
  100. package/dist/chunks/{persistent-pty-daq6r9eg.js → instance-a2jy5wt1.js} +11 -11
  101. package/dist/chunks/{persistent-pty-g5w4gfvg.js → instance-a4gb111k.js} +25 -25
  102. package/dist/chunks/{persistent-pty-pq4st5kv.js → instance-a4r18kjz.js} +2 -2
  103. package/dist/chunks/{persistent-pty-rs226bz6.js → instance-a9ab9jmj.js} +5 -5
  104. package/dist/chunks/{persistent-pty-8sjbh9hv.js → instance-a9hk7e9v.js} +18 -18
  105. package/dist/chunks/{persistent-pty-emjm2bea.js → instance-a9m3pnym.js} +13 -13
  106. package/dist/chunks/{persistent-pty-aaet6srn.js → instance-aaet6srn.js} +2 -2
  107. package/dist/chunks/{persistent-pty-725dzfhf.js → instance-acf5grrn.js} +24 -24
  108. package/dist/chunks/{persistent-pty-k1v94gwx.js → instance-ackzb6j1.js} +24 -24
  109. package/dist/chunks/{persistent-pty-w3jexmf5.js → instance-ajcnkc0y.js} +51 -51
  110. package/dist/chunks/{persistent-pty-8j7660kb.js → instance-apx2a7ca.js} +18 -18
  111. package/dist/chunks/{persistent-pty-dxsf3nxk.js → instance-b3jc0806.js} +9 -9
  112. package/dist/chunks/{persistent-pty-b6gygkdw.js → instance-b6gygkdw.js} +2 -2
  113. package/dist/chunks/{persistent-pty-9r9xaaca.js → instance-b8vn8jv0.js} +17 -17
  114. package/dist/chunks/{persistent-pty-trn6fzsq.js → instance-b912gh5h.js} +4 -4
  115. package/dist/chunks/{persistent-pty-gg09y051.js → instance-bg72d9np.js} +10 -10
  116. package/dist/chunks/{persistent-pty-1g8atdmp.js → instance-bgj5tqem.js} +12 -12
  117. package/dist/chunks/{persistent-pty-z807qtb6.js → instance-bm9xv2dk.js} +21 -21
  118. package/dist/chunks/{persistent-pty-j67mtk5t.js → instance-bn9nv5jw.js} +15 -15
  119. package/dist/chunks/{persistent-pty-bbrn9wt5.js → instance-c12pp0g5.js} +11 -11
  120. package/dist/chunks/{persistent-pty-th9j4zfv.js → instance-c77dj74a.js} +69 -69
  121. package/dist/chunks/{persistent-pty-p3n7r4sc.js → instance-cdr5gg57.js} +7 -7
  122. package/dist/chunks/{persistent-pty-3jaapndc.js → instance-cxsnvna4.js} +21 -21
  123. package/dist/chunks/{persistent-pty-xhqkdcr0.js → instance-d9sn21bc.js} +2 -2
  124. package/dist/chunks/{persistent-pty-8p4f9s12.js → instance-dj2t23y0.js} +2 -2
  125. package/dist/chunks/{persistent-pty-y71avatq.js → instance-dpkg50ah.js} +4 -4
  126. package/dist/chunks/{persistent-pty-0axathjs.js → instance-dreymjps.js} +27 -27
  127. package/dist/chunks/{persistent-pty-fyjrpq2n.js → instance-dxkzy7ga.js} +8 -8
  128. package/dist/chunks/{persistent-pty-02nrjc1r.js → instance-eaj1djv9.js} +4 -4
  129. package/dist/chunks/{persistent-pty-g2ym30wz.js → instance-eazjk0wr.js} +18 -18
  130. package/dist/chunks/{persistent-pty-6a88n1h6.js → instance-ent7r1aa.js} +18 -18
  131. package/dist/chunks/{persistent-pty-etq0c3wd.js → instance-etq0c3wd.js} +1 -1
  132. package/dist/chunks/{persistent-pty-fthsm4kn.js → instance-ewc21egd.js} +7 -7
  133. package/dist/chunks/{persistent-pty-1acjjqhc.js → instance-f2n192rq.js} +4 -4
  134. package/dist/chunks/{persistent-pty-5q7zd1pw.js → instance-f7yvr5pd.js} +2 -2
  135. package/dist/chunks/{persistent-pty-fq1h1v14.js → instance-fa0cr6zp.js} +3 -3
  136. package/dist/chunks/{persistent-pty-2483rb3n.js → instance-fc24de9c.js} +164 -164
  137. package/dist/chunks/{persistent-pty-rcfc93g0.js → instance-fd220aqp.js} +11 -11
  138. package/dist/chunks/{persistent-pty-esdnemd6.js → instance-ffx4mq6v.js} +1 -1
  139. package/dist/chunks/{persistent-pty-nh85wpnm.js → instance-ffz0ekd9.js} +6 -6
  140. package/dist/chunks/{persistent-pty-2pwhnswx.js → instance-fv32247r.js} +23 -23
  141. package/dist/chunks/{persistent-pty-cvjh1vra.js → instance-fw2j09t7.js} +89 -89
  142. package/dist/chunks/{persistent-pty-fxbjtjnd.js → instance-fxbjtjnd.js} +1 -1
  143. package/dist/chunks/{persistent-pty-1r470mcr.js → instance-fxh7ah4m.js} +22 -22
  144. package/dist/chunks/{persistent-pty-0x4wqcvz.js → instance-g33ss047.js} +9 -9
  145. package/dist/chunks/{persistent-pty-r2dp1cmd.js → instance-g37n6v01.js} +32 -32
  146. package/dist/chunks/{persistent-pty-y8p3zjbc.js → instance-g8atgw3j.js} +6 -6
  147. package/dist/chunks/{persistent-pty-3b234dxf.js → instance-gb01a068.js} +13 -13
  148. package/dist/chunks/{persistent-pty-gd4qta3r.js → instance-gd4qta3r.js} +1 -1
  149. package/dist/chunks/{persistent-pty-7s3mtrfk.js → instance-ggv90arp.js} +11 -11
  150. package/dist/chunks/{persistent-pty-q1a91n7k.js → instance-gj9xpvv3.js} +2 -6
  151. package/dist/chunks/{persistent-pty-50fwx2e7.js → instance-gnqt40jz.js} +3 -3
  152. package/dist/chunks/{persistent-pty-g9hjdpe6.js → instance-gptnw8m2.js} +13 -13
  153. package/dist/chunks/{persistent-pty-gv6a8nnw.js → instance-gv6a8nnw.js} +2 -2
  154. package/dist/chunks/{persistent-pty-h03wrkyp.js → instance-h03wrkyp.js} +2 -2
  155. package/dist/chunks/{persistent-pty-j18gb1wk.js → instance-h558gzas.js} +17 -17
  156. package/dist/chunks/{persistent-pty-h6vf3j39.js → instance-h6vf3j39.js} +1 -1
  157. package/dist/chunks/{persistent-pty-gkngn95s.js → instance-ha9q7byt.js} +33 -33
  158. package/dist/chunks/{persistent-pty-1aypx7k6.js → instance-haphqn3v.js} +34 -34
  159. package/dist/chunks/{persistent-pty-5p42pk8x.js → instance-hc3xjh4c.js} +4 -4
  160. package/dist/chunks/{persistent-pty-f828m53h.js → instance-hdnk95c8.js} +2 -2
  161. package/dist/chunks/{persistent-pty-1wh7yt6v.js → instance-hm92n5p0.js} +29 -29
  162. package/dist/chunks/{persistent-pty-fnw3hf31.js → instance-hq8nvw5t.js} +5 -5
  163. package/dist/chunks/{persistent-pty-cjckq4v9.js → instance-hs9pnjsv.js} +7 -7
  164. package/dist/chunks/{persistent-pty-bv075x5w.js → instance-hx6242bd.js} +17 -17
  165. package/dist/chunks/{persistent-pty-j56e64zr.js → instance-j56e64zr.js} +1 -1
  166. package/dist/chunks/{persistent-pty-6bsje7ws.js → instance-j7wq2tw5.js} +3 -3
  167. package/dist/chunks/{persistent-pty-xr3qwqh4.js → instance-jdaqcb1t.js} +16 -16
  168. package/dist/chunks/{persistent-pty-qg9drey5.js → instance-jft9hn7j.js} +26 -26
  169. package/dist/chunks/{persistent-pty-ddx3tg71.js → instance-jj63jgrn.js} +8 -8
  170. package/dist/chunks/{persistent-pty-zxperdw5.js → instance-jvzt705t.js} +88 -88
  171. package/dist/chunks/{persistent-pty-4hbnwbp2.js → instance-k11evj39.js} +14 -14
  172. package/dist/chunks/{persistent-pty-8sfc32fj.js → instance-k3ekk4hs.js} +18 -18
  173. package/dist/chunks/{persistent-pty-qzqps7kt.js → instance-k4hsf3h8.js} +10 -10
  174. package/dist/chunks/{persistent-pty-2y9nvaw7.js → instance-k5mm8gs0.js} +13 -13
  175. package/dist/chunks/{persistent-pty-1tjg7tvh.js → instance-k79tzb9n.js} +5 -5
  176. package/dist/chunks/{persistent-pty-72p4sft2.js → instance-ka44map4.js} +5 -5
  177. package/dist/chunks/{persistent-pty-fp77m0kv.js → instance-ket659ap.js} +18 -18
  178. package/dist/chunks/{persistent-pty-kg06axw8.js → instance-kg06axw8.js} +1 -1
  179. package/dist/chunks/{persistent-pty-vbqtc4fz.js → instance-m02sgzmt.js} +16 -16
  180. package/dist/chunks/{persistent-pty-cfpkc3c9.js → instance-m0jqrx5p.js} +2 -2
  181. package/dist/chunks/{persistent-pty-nnjk6rmq.js → instance-m0rktphg.js} +35 -35
  182. package/dist/chunks/{persistent-pty-mv1w94an.js → instance-m5sw0a5d.js} +33 -33
  183. package/dist/chunks/{persistent-pty-pvm63170.js → instance-m94k6fn1.js} +8 -8
  184. package/dist/chunks/{persistent-pty-qx5x1pzp.js → instance-m953gznc.js} +15 -15
  185. package/dist/chunks/{persistent-pty-zhbcekg2.js → instance-m96a6c4x.js} +11 -11
  186. package/dist/chunks/{persistent-pty-m9w0rfyh.js → instance-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{persistent-pty-ed4261w0.js → instance-mhxmkf1w.js} +28 -28
  188. package/dist/chunks/{persistent-pty-mkcjrzeh.js → instance-mkcjrzeh.js} +1 -1
  189. package/dist/chunks/{persistent-pty-zyrrefe2.js → instance-ms3w2pjb.js} +37 -37
  190. package/dist/chunks/{persistent-pty-8y1r50ts.js → instance-msjt41yg.js} +10 -10
  191. package/dist/chunks/{persistent-pty-wed3qxc6.js → instance-n7aqgnhz.js} +5 -5
  192. package/dist/chunks/{persistent-pty-k0gdq8ga.js → instance-nbzsj80d.js} +8 -8
  193. package/dist/chunks/{persistent-pty-hjt4xg1x.js → instance-nhy5jxhy.js} +4 -4
  194. package/dist/chunks/{persistent-pty-3dtz0ed4.js → instance-np6kt6y4.js} +6 -6
  195. package/dist/chunks/{persistent-pty-djvjdepx.js → instance-nqv7mfvf.js} +9 -9
  196. package/dist/chunks/{persistent-pty-d190jgse.js → instance-nry41skx.js} +46 -46
  197. package/dist/chunks/{persistent-pty-nzq16788.js → instance-nt8a5yma.js} +39 -39
  198. package/dist/chunks/instance-nw45wjz5.js +22 -0
  199. package/dist/chunks/{persistent-pty-ewy23wfq.js → instance-nz1f1dnx.js} +59 -59
  200. package/dist/chunks/{persistent-pty-v0wtswx9.js → instance-nz6xy3pw.js} +23 -23
  201. package/dist/chunks/{persistent-pty-ws5qfxv9.js → instance-nzwzy72p.js} +9 -9
  202. package/dist/chunks/{persistent-pty-mrw4weg4.js → instance-p0cja4mf.js} +5 -5
  203. package/dist/chunks/{persistent-pty-he62rfth.js → instance-p4hmnksp.js} +19 -19
  204. package/dist/chunks/{persistent-pty-y9g26qgq.js → instance-p4jrza1n.js} +26 -26
  205. package/dist/chunks/{persistent-pty-h44053qn.js → instance-p8phdtyp.js} +30 -30
  206. package/dist/chunks/{persistent-pty-rsdf2nvv.js → instance-paegk39x.js} +4 -4
  207. package/dist/chunks/{persistent-pty-dz79qsv0.js → instance-pav6qp9g.js} +9 -9
  208. package/dist/chunks/{persistent-pty-cay3r0qb.js → instance-pck3w1ab.js} +4 -4
  209. package/dist/chunks/{persistent-pty-pjvnvgmy.js → instance-pjvnvgmy.js} +1 -1
  210. package/dist/chunks/{persistent-pty-pknna89w.js → instance-pknna89w.js} +1 -1
  211. package/dist/chunks/{persistent-pty-774549wc.js → instance-pqemdkaf.js} +17 -17
  212. package/dist/chunks/{persistent-pty-q0xt3gns.js → instance-q0rt5j2q.js} +24 -24
  213. package/dist/chunks/{persistent-pty-j78cby75.js → instance-q4vdg68a.js} +41 -41
  214. package/dist/chunks/{persistent-pty-5aqfxp9a.js → instance-q5b78q1j.js} +4 -4
  215. package/dist/chunks/{persistent-pty-ydvjgqzz.js → instance-qbc8hfnq.js} +25 -25
  216. package/dist/chunks/{persistent-pty-4kr8d4zw.js → instance-qc4gj2y6.js} +6 -6
  217. package/dist/chunks/{persistent-pty-4gq97fz6.js → instance-qd5n9004.js} +4 -4
  218. package/dist/chunks/{persistent-pty-c2bnm6k2.js → instance-qjm52h53.js} +5 -5
  219. package/dist/chunks/{persistent-pty-wgmz4se6.js → instance-qnrj3j72.js} +12 -12
  220. package/dist/chunks/{persistent-pty-mtfbgphn.js → instance-qp4vfw5t.js} +36 -36
  221. package/dist/chunks/{persistent-pty-qyvn9zey.js → instance-qrah3a09.js} +15 -15
  222. package/dist/chunks/{persistent-pty-qsdy395h.js → instance-qsdy395h.js} +1 -1
  223. package/dist/chunks/{persistent-pty-pa16je5z.js → instance-regnx5sz.js} +11 -11
  224. package/dist/chunks/{persistent-pty-j3s48atd.js → instance-rfntstnm.js} +24 -24
  225. package/dist/chunks/{persistent-pty-b1er1a8h.js → instance-rpechfdf.js} +11 -11
  226. package/dist/chunks/{persistent-pty-k0sa6emq.js → instance-rt8c47yx.js} +27 -27
  227. package/dist/chunks/{persistent-pty-h2gyv3sg.js → instance-s7xtjryh.js} +1 -1
  228. package/dist/chunks/{persistent-pty-gwzd8001.js → instance-s9wa000y.js} +22 -22
  229. package/dist/chunks/{persistent-pty-c12qfpxz.js → instance-sa5pv7yh.js} +13 -13
  230. package/dist/chunks/{persistent-pty-f2serpxf.js → instance-sa8ndcy2.js} +14 -14
  231. package/dist/chunks/{persistent-pty-0v53mg2y.js → instance-sx1n432n.js} +4 -4
  232. package/dist/chunks/{persistent-pty-tn6kcrep.js → instance-sz8zp43t.js} +32 -32
  233. package/dist/chunks/{persistent-pty-qbhwnd5t.js → instance-t0j15s1g.js} +8 -8
  234. package/dist/chunks/{persistent-pty-hrvd6t1f.js → instance-t0x5rdq8.js} +9 -9
  235. package/dist/chunks/{persistent-pty-554te78s.js → instance-t36j701w.js} +9 -9
  236. package/dist/chunks/{persistent-pty-tkmwgdpd.js → instance-t6vsspdg.js} +4 -4
  237. package/dist/chunks/{persistent-pty-vypqtakx.js → instance-t9e6e84n.js} +1 -1
  238. package/dist/chunks/{persistent-pty-tazgh4e4.js → instance-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{persistent-pty-tcezcvh9.js → instance-tcezcvh9.js} +1 -1
  240. package/dist/chunks/{persistent-pty-tdstcens.js → instance-tdstcens.js} +1 -1
  241. package/dist/chunks/{persistent-pty-zhakcjh9.js → instance-tfe3dyhg.js} +8 -8
  242. package/dist/chunks/{persistent-pty-jefma2gq.js → instance-tfwap27p.js} +10 -10
  243. package/dist/chunks/{persistent-pty-k1557tdf.js → instance-tpsh7nep.js} +12 -12
  244. package/dist/chunks/{persistent-pty-0e5n0sf2.js → instance-tqhvqgv9.js} +24 -24
  245. package/dist/chunks/{persistent-pty-tvtrv512.js → instance-tvtrv512.js} +1 -1
  246. package/dist/chunks/{persistent-pty-v1qx6y19.js → instance-v58rse4y.js} +8 -8
  247. package/dist/chunks/{persistent-pty-0myxtnrb.js → instance-v5fwnavd.js} +23 -23
  248. package/dist/chunks/{persistent-pty-ny46n6vj.js → instance-v7gjmewq.js} +10 -10
  249. package/dist/chunks/{persistent-pty-28wyaaxp.js → instance-vaq1jbx7.js} +16 -16
  250. package/dist/chunks/{persistent-pty-8kay7r51.js → instance-vbqgtwgy.js} +13 -13
  251. package/dist/chunks/{persistent-pty-veqvce7d.js → instance-veqvce7d.js} +1 -1
  252. package/dist/chunks/instance-vnkjks7b.js +18 -0
  253. package/dist/chunks/{persistent-pty-ndf63s1d.js → instance-vssdy4ge.js} +6 -6
  254. package/dist/chunks/{persistent-pty-www25bj0.js → instance-vt2qmknb.js} +11 -11
  255. package/dist/chunks/{persistent-pty-ac5bwv76.js → instance-vx66cmhf.js} +16 -16
  256. package/dist/chunks/{persistent-pty-vzcthcp8.js → instance-vzcthcp8.js} +1 -1
  257. package/dist/chunks/{persistent-pty-145661wq.js → instance-w1cas0vc.js} +28 -28
  258. package/dist/chunks/{persistent-pty-w3wsvvr9.js → instance-w3wsvvr9.js} +1 -1
  259. package/dist/chunks/{persistent-pty-wx9wy1qm.js → instance-w79zsp0s.js} +1 -1
  260. package/dist/chunks/{persistent-pty-24z3mw7y.js → instance-w97m1n76.js} +50 -50
  261. package/dist/chunks/{persistent-pty-wd87259q.js → instance-wd87259q.js} +1 -1
  262. package/dist/chunks/{persistent-pty-8d6twjaw.js → instance-wf2tgg0c.js} +28 -28
  263. package/dist/chunks/{persistent-pty-wwxgka64.js → instance-x0e6qwje.js} +5 -5
  264. package/dist/chunks/{persistent-pty-x1ezjp6w.js → instance-x1ezjp6w.js} +1 -1
  265. package/dist/chunks/{persistent-pty-x43y2vfs.js → instance-x43y2vfs.js} +2 -2
  266. package/dist/chunks/{persistent-pty-nswt8hzj.js → instance-x4wfhds3.js} +15 -15
  267. package/dist/chunks/{persistent-pty-e3xaa0tb.js → instance-xanrfe6t.js} +28 -28
  268. package/dist/chunks/{persistent-pty-pxks3tta.js → instance-xetf4kax.js} +6 -6
  269. package/dist/chunks/{persistent-pty-qhmak1gv.js → instance-xxhgza55.js} +31 -31
  270. package/dist/chunks/{persistent-pty-y1fvbwt7.js → instance-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{persistent-pty-fg8ch49h.js → instance-ygezbb2m.js} +8 -8
  272. package/dist/chunks/{persistent-pty-jv01nqvq.js → instance-yjptyezs.js} +5 -5
  273. package/dist/chunks/{persistent-pty-yrhqyw5v.js → instance-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{persistent-pty-yrznvahk.js → instance-yrznvahk.js} +2 -2
  275. package/dist/chunks/{persistent-pty-z0bkrqjs.js → instance-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{persistent-pty-q6zxxt9y.js → instance-z22pjn7v.js} +4 -4
  277. package/dist/chunks/{persistent-pty-80bgm7g6.js → instance-z24mx39z.js} +43 -43
  278. package/dist/chunks/{persistent-pty-x9y61efs.js → instance-z31m6bz4.js} +24 -24
  279. package/dist/chunks/{persistent-pty-z63w68vq.js → instance-z63w68vq.js} +2 -2
  280. package/dist/chunks/{persistent-pty-s8bz6z4k.js → instance-ze5v0a14.js} +8 -8
  281. package/dist/chunks/{persistent-pty-zeh9ct20.js → instance-zeh9ct20.js} +2 -2
  282. package/dist/chunks/{persistent-pty-05d6g4k8.js → instance-zhn4z0e0.js} +4 -4
  283. package/dist/chunks/{persistent-pty-mwm2dbc1.js → instance-zqvhk09s.js} +9 -9
  284. package/dist/chunks/{persistent-pty-zr2ceqn5.js → instance-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{persistent-pty-3trbxeqx.js → instance-zxgnc9zk.js} +1 -1
  286. package/dist/chunks/{persistent-pty-zxq2ej10.js → instance-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +3 -3
  289. package/dist/codemode/tool.js +2 -2
  290. package/dist/command.js +81 -81
  291. package/dist/config/discovery.js +77 -77
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +19 -19
  294. package/dist/config/plugin/agent.js +115 -115
  295. package/dist/config/plugin/command.js +207 -207
  296. package/dist/config/plugin/compaction.js +155 -155
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +117 -117
  299. package/dist/config/plugin/image.js +115 -115
  300. package/dist/config/plugin/instruction.js +85 -85
  301. package/dist/config/plugin/location-watcher.js +115 -115
  302. package/dist/config/plugin/mcp.js +124 -124
  303. package/dist/config/plugin/policy.js +114 -114
  304. package/dist/config/plugin/provider.js +113 -113
  305. package/dist/config/plugin/reference.js +117 -117
  306. package/dist/config/plugin/shell.js +116 -116
  307. package/dist/config/plugin/skill-file.js +97 -97
  308. package/dist/config/plugin/skill.js +134 -134
  309. package/dist/config/plugin/snapshot.js +115 -115
  310. package/dist/config/plugin/source.js +117 -117
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +113 -113
  313. package/dist/config/plugin/worktree.js +116 -116
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +119 -119
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +77 -77
  319. package/dist/database/database.js +68 -68
  320. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +16 -16
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration.gen.js +47 -47
  383. package/dist/database/migration.js +49 -49
  384. package/dist/database/path.js +2 -2
  385. package/dist/database/schema.gen.js +1 -1
  386. package/dist/database/schema.sql.js +1 -1
  387. package/dist/database/sqlite.bun.js +1 -1
  388. package/dist/database/sqlite.js +1 -1
  389. package/dist/database/sqlite.node.js +1 -1
  390. package/dist/database/sqlite.workerd.js +1 -1
  391. package/dist/database/v1-migration.bun.js +77 -77
  392. package/dist/database/v1-migration.js +1 -1
  393. package/dist/effect/app-node-builder.js +361 -361
  394. package/dist/effect/app-node-platform.js +2 -2
  395. package/dist/effect/keyed-mutex.js +3 -3
  396. package/dist/effect/websocket-constructor.js +1 -1
  397. package/dist/environment/driver.js +1 -1
  398. package/dist/environment/environment.js +88 -88
  399. package/dist/environment/exec-defaults.js +2 -2
  400. package/dist/environment/files.js +1 -1
  401. package/dist/environment/index.js +90 -90
  402. package/dist/environment/local.js +2 -2
  403. package/dist/environment/memory.js +2 -2
  404. package/dist/environment/unavailable.js +1 -1
  405. package/dist/event/sql.js +1 -1
  406. package/dist/event-logger.js +72 -72
  407. package/dist/file-access.js +99 -99
  408. package/dist/file-mutation.js +89 -89
  409. package/dist/file-retention.js +1 -1
  410. package/dist/file.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/ignore.js +1 -1
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +220 -220
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +93 -93
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +15 -15
  422. package/dist/filesystem.js +96 -96
  423. package/dist/form.js +80 -80
  424. package/dist/formatter/builtins.js +2 -2
  425. package/dist/formatter.js +82 -82
  426. package/dist/generate.js +89 -89
  427. package/dist/git.js +7 -7
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +3 -3
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/id/id.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +352 -352
  452. package/dist/instruction-discovery.js +83 -83
  453. package/dist/instructions/builtins.js +82 -82
  454. package/dist/instructions/index.js +3 -3
  455. package/dist/integration/connection.js +1 -1
  456. package/dist/integration.js +84 -84
  457. package/dist/job.js +77 -77
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +71 -71
  460. package/dist/location-activity.js +131 -131
  461. package/dist/location-mutation.js +99 -99
  462. package/dist/location-service-map.js +81 -81
  463. package/dist/location-services.js +349 -349
  464. package/dist/location.js +80 -80
  465. package/dist/mcp/client.js +86 -86
  466. package/dist/mcp/index.js +103 -103
  467. package/dist/mcp/instructions.js +120 -120
  468. package/dist/mcp/oauth.js +3 -3
  469. package/dist/mcp/stdio.js +85 -85
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +3 -3
  472. package/dist/model-resolver.js +86 -86
  473. package/dist/model.js +8 -8
  474. package/dist/models-dev.js +86 -86
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +78 -78
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +106 -106
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +84 -84
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +73 -73
  484. package/dist/plugin/agent.js +97 -97
  485. package/dist/plugin/command.js +94 -94
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +213 -213
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +323 -323
  490. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  491. package/dist/plugin/models-dev.js +75 -75
  492. package/dist/plugin/module.js +7 -7
  493. package/dist/plugin/optimize.js +2 -2
  494. package/dist/plugin/plan.js +97 -97
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/alibaba.js +2 -2
  497. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  498. package/dist/plugin/provider/anthropic.js +2 -2
  499. package/dist/plugin/provider/azure.js +118 -118
  500. package/dist/plugin/provider/cerebras.js +2 -2
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +114 -114
  505. package/dist/plugin/provider/digitalocean.js +79 -79
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/gateway.js +2 -2
  509. package/dist/plugin/provider/github-copilot.js +80 -80
  510. package/dist/plugin/provider/gitlab.js +3 -3
  511. package/dist/plugin/provider/google-vertex.js +2 -2
  512. package/dist/plugin/provider/kilo.js +2 -2
  513. package/dist/plugin/provider/llmgateway.js +76 -76
  514. package/dist/plugin/provider/lmstudio.js +117 -117
  515. package/dist/plugin/provider/mistral.js +2 -2
  516. package/dist/plugin/provider/modal.js +79 -79
  517. package/dist/plugin/provider/nvidia.js +2 -2
  518. package/dist/plugin/provider/ollama.js +117 -117
  519. package/dist/plugin/provider/openai-compatible.js +1 -1
  520. package/dist/plugin/provider/openai.js +78 -78
  521. package/dist/plugin/provider/opencode.js +76 -76
  522. package/dist/plugin/provider/openrouter.js +3 -3
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/sap-ai-core.js +3 -3
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  527. package/dist/plugin/provider/venice.js +2 -2
  528. package/dist/plugin/provider/vercel.js +2 -2
  529. package/dist/plugin/provider/vllm.js +117 -117
  530. package/dist/plugin/provider/xai.js +77 -77
  531. package/dist/plugin/provider/zenmux.js +2 -2
  532. package/dist/plugin/provider.js +156 -156
  533. package/dist/plugin/sdk.js +74 -74
  534. package/dist/plugin/service.js +3 -3
  535. package/dist/plugin/skill.js +133 -133
  536. package/dist/plugin/source-directory.js +1 -1
  537. package/dist/plugin/supervisor.js +342 -342
  538. package/dist/plugin/update.js +4 -4
  539. package/dist/plugin/variant.js +4 -4
  540. package/dist/plugin/vcs/git.js +82 -82
  541. package/dist/plugin/vcs/hg.js +82 -82
  542. package/dist/plugin/warming.js +112 -112
  543. package/dist/plugin/websearch/exa.js +7 -7
  544. package/dist/plugin/websearch/firecrawl.js +8 -8
  545. package/dist/plugin/websearch/index.js +8 -8
  546. package/dist/plugin/websearch/mcp.js +4 -4
  547. package/dist/plugin/websearch/parallel.js +6 -6
  548. package/dist/plugin/websearch/tavily.js +6 -6
  549. package/dist/plugin.js +220 -220
  550. package/dist/project/schema.js +2 -2
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +81 -81
  553. package/dist/provider.js +7 -7
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/schema.js +1 -1
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +88 -88
  558. package/dist/reference/instructions.js +82 -82
  559. package/dist/reference.js +84 -84
  560. package/dist/repository-cache.js +76 -76
  561. package/dist/repository.js +3 -3
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +93 -93
  564. package/dist/rpc.js +81 -81
  565. package/dist/schema.js +1 -1
  566. package/dist/session/command.js +72 -72
  567. package/dist/session/compaction.js +129 -129
  568. package/dist/session/context.js +147 -147
  569. package/dist/session/environment.js +5 -5
  570. package/dist/session/error.js +5 -5
  571. package/dist/session/event.js +1 -1
  572. package/dist/session/execution/restart.js +219 -219
  573. package/dist/session/execution.js +122 -122
  574. package/dist/session/generate.js +146 -146
  575. package/dist/session/history.js +13 -13
  576. package/dist/session/inbox.js +82 -82
  577. package/dist/session/info.js +3 -3
  578. package/dist/session/instruction-entry.js +77 -77
  579. package/dist/session/instruction-state.js +8 -8
  580. package/dist/session/instructions.js +92 -92
  581. package/dist/session/message-updater.js +2 -2
  582. package/dist/session/message.js +1 -1
  583. package/dist/session/model-request.js +113 -113
  584. package/dist/session/model-transport.js +9 -9
  585. package/dist/session/move.js +126 -126
  586. package/dist/session/projector.js +84 -84
  587. package/dist/session/prompt.js +100 -100
  588. package/dist/session/provider-context.js +3 -3
  589. package/dist/session/revert.js +85 -85
  590. package/dist/session/run-coordinator.js +3 -3
  591. package/dist/session/runner/index.js +3 -3
  592. package/dist/session/runner/llm.js +225 -225
  593. package/dist/session/runner/max-steps.js +1 -1
  594. package/dist/session/runner/model.js +86 -86
  595. package/dist/session/runner/publish-llm-event.js +3 -3
  596. package/dist/session/runner/retry.js +108 -108
  597. package/dist/session/runner/step.js +121 -121
  598. package/dist/session/runner/to-llm-message.js +2 -2
  599. package/dist/session/schema.js +5 -5
  600. package/dist/session/session.js +169 -169
  601. package/dist/session/shell.js +131 -131
  602. package/dist/session/skill.js +98 -98
  603. package/dist/session/sql.js +5 -5
  604. package/dist/session/stats.js +73 -73
  605. package/dist/session/store.js +83 -83
  606. package/dist/session/subagent-completion.js +1 -1
  607. package/dist/session/subagent-job.js +203 -203
  608. package/dist/session/system-prompt.js +3 -3
  609. package/dist/session/title.js +151 -151
  610. package/dist/session/to-session-error.js +107 -107
  611. package/dist/session/transfer.js +217 -217
  612. package/dist/session/usage.js +1 -1
  613. package/dist/session.js +211 -211
  614. package/dist/shell/parse.js +6 -6
  615. package/dist/shell/result.js +1 -1
  616. package/dist/shell/scan.js +1 -1
  617. package/dist/shell/select.js +9 -9
  618. package/dist/shell.js +133 -133
  619. package/dist/skill/discovery.js +6 -6
  620. package/dist/skill/instructions.js +100 -100
  621. package/dist/skill.js +105 -105
  622. package/dist/snapshot.js +88 -88
  623. package/dist/state.js +1 -1
  624. package/dist/tool/html-markdown.js +1 -1
  625. package/dist/tool/http-body.js +1 -1
  626. package/dist/tool/mcp.js +119 -119
  627. package/dist/tool/plugin/edit.js +109 -109
  628. package/dist/tool/plugin/file-diff.js +1 -1
  629. package/dist/tool/plugin/glob.js +120 -120
  630. package/dist/tool/plugin/grep.js +118 -118
  631. package/dist/tool/plugin/opencode.js +3 -3
  632. package/dist/tool/plugin/patch.js +117 -117
  633. package/dist/tool/plugin/question.js +98 -98
  634. package/dist/tool/plugin/read.js +121 -121
  635. package/dist/tool/plugin/shell.js +206 -206
  636. package/dist/tool/plugin/skill.js +106 -106
  637. package/dist/tool/plugin/subagent.js +214 -214
  638. package/dist/tool/plugin/webfetch.js +107 -107
  639. package/dist/tool/plugin/websearch.js +107 -107
  640. package/dist/tool/plugin/write.js +117 -117
  641. package/dist/tool/read-filesystem.js +94 -94
  642. package/dist/tool/runtime.js +1 -1
  643. package/dist/tool-output.js +8 -8
  644. package/dist/tool.js +13 -13
  645. package/dist/util/error-summary.js +1 -1
  646. package/dist/util/error.js +1 -1
  647. package/dist/util/iife.js +1 -1
  648. package/dist/util/lazy.js +1 -1
  649. package/dist/util/slug.js +1 -1
  650. package/dist/util/token.js +1 -1
  651. package/dist/util/which.js +1 -1
  652. package/dist/util/wildcard.js +1 -1
  653. package/dist/v1/config/agent.js +5 -5
  654. package/dist/v1/config/attachment.js +4 -4
  655. package/dist/v1/config/command.js +3 -3
  656. package/dist/v1/config/config.js +16 -16
  657. package/dist/v1/config/error.js +2 -2
  658. package/dist/v1/config/formatter.js +3 -3
  659. package/dist/v1/config/layout.js +1 -1
  660. package/dist/v1/config/lsp.js +3 -3
  661. package/dist/v1/config/mcp.js +4 -4
  662. package/dist/v1/config/migrate.js +4 -4
  663. package/dist/v1/config/permission.js +3 -3
  664. package/dist/v1/config/plugin.js +3 -3
  665. package/dist/v1/config/provider-options.js +1 -1
  666. package/dist/v1/config/provider.js +4 -4
  667. package/dist/v1/config/server.js +2 -2
  668. package/dist/v1/config/skills.js +3 -3
  669. package/dist/v1/permission.js +1 -1
  670. package/dist/vcs/patch.js +1 -1
  671. package/dist/vcs.js +85 -85
  672. package/dist/websearch.js +82 -82
  673. package/dist/wellknown/plugin.js +74 -74
  674. package/dist/wellknown.js +77 -77
  675. package/dist/workspace/driver.js +5 -5
  676. package/dist/workspace/sql.js +1 -1
  677. package/dist/workspace.js +78 -78
  678. package/dist/worktree/directory.js +2 -2
  679. package/dist/worktree/git.js +7 -7
  680. package/dist/worktree/refresh.js +339 -339
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree.js +89 -89
  683. package/package.json +8 -8
  684. package/dist/chunks/persistent-pty-dxj72tfx.js +0 -18
  685. package/dist/chunks/persistent-pty-gbs4gtrg.js +0 -22
  686. package/dist/chunks/persistent-pty-kfvq4etd.js +0 -247
  687. package/dist/chunks/persistent-pty-y7yp40hx.js +0 -462
  688. /package/dist/chunks/{persistent-pty-0mesazry.js → instance-0mesazry.js} +0 -0
  689. /package/dist/chunks/{persistent-pty-0qkdqm5v.js → instance-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{persistent-pty-0zkw76rk.js → instance-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{persistent-pty-17cy0kzp.js → instance-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{persistent-pty-1cnp2v09.js → instance-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{persistent-pty-1kg9ymc8.js → instance-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{persistent-pty-2710q6r3.js → instance-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{persistent-pty-2axfhc9x.js → instance-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{persistent-pty-2c3vjs8z.js → instance-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{persistent-pty-359p4xyc.js → instance-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{persistent-pty-3asan66x.js → instance-3asan66x.js} +0 -0
  699. /package/dist/chunks/{persistent-pty-3v8g72cx.js → instance-3v8g72cx.js} +0 -0
  700. /package/dist/chunks/{persistent-pty-3w5fmr99.js → instance-3w5fmr99.js} +0 -0
  701. /package/dist/chunks/{persistent-pty-3wcehsnq.js → instance-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{persistent-pty-43n2bw4t.js → instance-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{persistent-pty-4knz6hnm.js → instance-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{persistent-pty-4y7fprxs.js → instance-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{persistent-pty-53557ph1.js → instance-53557ph1.js} +0 -0
  706. /package/dist/chunks/{persistent-pty-550bvhaj.js → instance-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{persistent-pty-6prwharc.js → instance-6prwharc.js} +0 -0
  708. /package/dist/chunks/{persistent-pty-7akdwqpd.js → instance-7akdwqpd.js} +0 -0
  709. /package/dist/chunks/{persistent-pty-7m9af43g.js → instance-7m9af43g.js} +0 -0
  710. /package/dist/chunks/{persistent-pty-822emrt2.js → instance-822emrt2.js} +0 -0
  711. /package/dist/chunks/{persistent-pty-88xbtdfr.js → instance-88xbtdfr.js} +0 -0
  712. /package/dist/chunks/{persistent-pty-8n3pysct.js → instance-8n3pysct.js} +0 -0
  713. /package/dist/chunks/{persistent-pty-922hggd3.js → instance-922hggd3.js} +0 -0
  714. /package/dist/chunks/{persistent-pty-9a4afbnw.js → instance-9a4afbnw.js} +0 -0
  715. /package/dist/chunks/{persistent-pty-9rqn6x4v.js → instance-9rqn6x4v.js} +0 -0
  716. /package/dist/chunks/{persistent-pty-a1tpkmh4.js → instance-a1tpkmh4.js} +0 -0
  717. /package/dist/chunks/{persistent-pty-a6k6eb26.js → instance-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{persistent-pty-af5trqkr.js → instance-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{persistent-pty-afrmfg78.js → instance-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{persistent-pty-aqzs7mqg.js → instance-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{persistent-pty-atq7p7m5.js → instance-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{persistent-pty-bkyjaxrp.js → instance-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{persistent-pty-bmr6ed5q.js → instance-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{persistent-pty-cf4snx6d.js → instance-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{persistent-pty-cvy3z8tj.js → instance-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{persistent-pty-d9fn303g.js → instance-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{persistent-pty-d9jj8t3e.js → instance-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{persistent-pty-dajrwvna.js → instance-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{persistent-pty-dap0rakb.js → instance-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{persistent-pty-df08tz66.js → instance-df08tz66.js} +0 -0
  731. /package/dist/chunks/{persistent-pty-dy18nga0.js → instance-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{persistent-pty-e5kj55wp.js → instance-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{persistent-pty-e73j6tqm.js → instance-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{persistent-pty-ec1grn59.js → instance-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{persistent-pty-eh3zwz77.js → instance-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{persistent-pty-emrn6kk6.js → instance-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{persistent-pty-f0mxakyp.js → instance-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{persistent-pty-f6n9ztr4.js → instance-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{persistent-pty-faypxj3z.js → instance-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{persistent-pty-fd410y7t.js → instance-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{persistent-pty-fxgpk5d8.js → instance-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{persistent-pty-g4wezp1m.js → instance-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{persistent-pty-g86h250q.js → instance-g86h250q.js} +0 -0
  744. /package/dist/chunks/{persistent-pty-gebd4c9n.js → instance-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{persistent-pty-gftt206x.js → instance-gftt206x.js} +0 -0
  746. /package/dist/chunks/{persistent-pty-hjbc5kem.js → instance-hjbc5kem.js} +0 -0
  747. /package/dist/chunks/{persistent-pty-hk9envan.js → instance-hk9envan.js} +0 -0
  748. /package/dist/chunks/{persistent-pty-hrnqkpcd.js → instance-hrnqkpcd.js} +0 -0
  749. /package/dist/chunks/{persistent-pty-j2ntwpah.js → instance-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{persistent-pty-j5zkgpj8.js → instance-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{persistent-pty-jr7sbwjy.js → instance-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{persistent-pty-jwfs4k6c.js → instance-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{persistent-pty-jzg6c2d5.js → instance-jzg6c2d5.js} +0 -0
  754. /package/dist/chunks/{persistent-pty-mp448xyj.js → instance-mp448xyj.js} +0 -0
  755. /package/dist/chunks/{persistent-pty-msx8hqn2.js → instance-msx8hqn2.js} +0 -0
  756. /package/dist/chunks/{persistent-pty-n05xt0ee.js → instance-n05xt0ee.js} +0 -0
  757. /package/dist/chunks/{persistent-pty-n3j8tn72.js → instance-n3j8tn72.js} +0 -0
  758. /package/dist/chunks/{persistent-pty-njntx4h6.js → instance-njntx4h6.js} +0 -0
  759. /package/dist/chunks/{persistent-pty-paphc93g.js → instance-paphc93g.js} +0 -0
  760. /package/dist/chunks/{persistent-pty-q3sfg36h.js → instance-q3sfg36h.js} +0 -0
  761. /package/dist/chunks/{persistent-pty-q74kybfr.js → instance-q74kybfr.js} +0 -0
  762. /package/dist/chunks/{persistent-pty-qaymkmh1.js → instance-qaymkmh1.js} +0 -0
  763. /package/dist/chunks/{persistent-pty-qb87gjwd.js → instance-qb87gjwd.js} +0 -0
  764. /package/dist/chunks/{persistent-pty-qfa1cgps.js → instance-qfa1cgps.js} +0 -0
  765. /package/dist/chunks/{persistent-pty-qrg20bc0.js → instance-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{persistent-pty-rcb2kzg1.js → instance-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{persistent-pty-sdp7kfr6.js → instance-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{persistent-pty-sk3qaz4a.js → instance-sk3qaz4a.js} +0 -0
  769. /package/dist/chunks/{persistent-pty-ssg3fenm.js → instance-ssg3fenm.js} +0 -0
  770. /package/dist/chunks/{persistent-pty-twg0f83k.js → instance-twg0f83k.js} +0 -0
  771. /package/dist/chunks/{persistent-pty-w803qqfp.js → instance-w803qqfp.js} +0 -0
  772. /package/dist/chunks/{persistent-pty-wer8tq1h.js → instance-wer8tq1h.js} +0 -0
  773. /package/dist/chunks/{persistent-pty-wtztk69x.js → instance-wtztk69x.js} +0 -0
  774. /package/dist/chunks/{persistent-pty-x0ckcb58.js → instance-x0ckcb58.js} +0 -0
  775. /package/dist/chunks/{persistent-pty-x61499pn.js → instance-x61499pn.js} +0 -0
  776. /package/dist/chunks/{persistent-pty-y44na4kk.js → instance-y44na4kk.js} +0 -0
  777. /package/dist/chunks/{persistent-pty-y8cydn3q.js → instance-y8cydn3q.js} +0 -0
  778. /package/dist/chunks/{persistent-pty-ygaqb7jw.js → instance-ygaqb7jw.js} +0 -0
  779. /package/dist/chunks/{persistent-pty-ym463w8f.js → instance-ym463w8f.js} +0 -0
  780. /package/dist/chunks/{persistent-pty-z9919s4g.js → instance-z9919s4g.js} +0 -0
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./persistent-pty-28wyaaxp.js";
2
+ Service78,
3
+ node83
4
+ } from "./instance-vaq1jbx7.js";
5
5
  import {
6
6
  create3
7
- } from "./persistent-pty-kg06axw8.js";
7
+ } from "./instance-kg06axw8.js";
8
8
  import {
9
9
  __export
10
- } from "./persistent-pty-9rqn6x4v.js";
10
+ } from "./instance-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
13
  var exports_command5 = {};
14
14
  __export(exports_command5, {
15
15
  Command: () => exports_command5,
16
- Event: () => Event16,
16
+ Event: () => Event6,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info23,
19
- NotFoundError: () => NotFoundError7,
20
- Service: () => Service61,
21
- layer: () => layer25,
22
- node: () => node65
18
+ Info: () => Info16,
19
+ NotFoundError: () => NotFoundError5,
20
+ Service: () => Service43,
21
+ layer: () => layer19,
22
+ node: () => node46
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event16 } from "@opencode/schema/command";
28
- var Info23 = Command.Info;
27
+ import { Event as Event6 } from "@opencode/schema/command";
28
+ var Info16 = Command.Info;
29
29
 
30
- class NotFoundError7 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service61 extends Context.Service()("@opencode/Command") {
42
+ class Service43 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer25 = Layer.effect(Service61, Effect.gen(function* () {
45
- const bus = yield* Service79;
44
+ var layer19 = Layer.effect(Service43, Effect.gen(function* () {
45
+ const bus = yield* Service78;
46
46
  const state = create3({
47
47
  name: "command",
48
48
  initial: () => new Map,
@@ -51,11 +51,11 @@ var layer25 = Layer.effect(Service61, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info23.make({
54
+ const info = (definition) => Info16.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service61.of({
58
+ return Service43.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -66,15 +66,15 @@ var layer25 = Layer.effect(Service61, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError7({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError5({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node65 = makeLocationNode({
75
- service: Service61,
76
- layer: layer25,
77
- deps: [node84]
74
+ var node46 = makeLocationNode({
75
+ service: Service43,
76
+ layer: layer19,
77
+ deps: [node83]
78
78
  });
79
79
  function errorMessage(error) {
80
80
  if (error instanceof Error)
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info23, NotFoundError7, ExecutionError2, Service61, layer25, node65, exports_command5, Event16 };
89
+ export { Info16, NotFoundError5, ExecutionError2, Service43, layer19, node46, exports_command5, Event6 };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  convertToOpenAICompatibleChatMessages2
3
- } from "./persistent-pty-fxgpk5d8.js";
3
+ } from "./instance-fxgpk5d8.js";
4
4
  import {
5
5
  getResponseMetadata2
6
- } from "./persistent-pty-g4wezp1m.js";
6
+ } from "./instance-g4wezp1m.js";
7
7
  import {
8
8
  mapOpenAICompatibleFinishReason2
9
- } from "./persistent-pty-x61499pn.js";
9
+ } from "./instance-x61499pn.js";
10
10
  import {
11
11
  openaiCompatibleProviderOptions2
12
- } from "./persistent-pty-af5trqkr.js";
12
+ } from "./instance-af5trqkr.js";
13
13
  import {
14
14
  defaultOpenAICompatibleErrorStructure2
15
- } from "./persistent-pty-afrmfg78.js";
15
+ } from "./instance-afrmfg78.js";
16
16
  import {
17
17
  prepareTools2
18
- } from "./persistent-pty-x0ckcb58.js";
18
+ } from "./instance-x0ckcb58.js";
19
19
 
20
20
  // src/github-copilot/chat/openai-compatible-chat-language-model.ts
21
21
  import {
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  ps2
3
- } from "./persistent-pty-emjm2bea.js";
3
+ } from "./instance-a9m3pnym.js";
4
4
  import {
5
5
  lazy2
6
- } from "./persistent-pty-88xbtdfr.js";
6
+ } from "./instance-88xbtdfr.js";
7
7
  import {
8
8
  match2
9
- } from "./persistent-pty-y1fvbwt7.js";
9
+ } from "./instance-y1fvbwt7.js";
10
10
  import {
11
11
  __export
12
- } from "./persistent-pty-9rqn6x4v.js";
12
+ } from "./instance-9rqn6x4v.js";
13
13
 
14
14
  // src/shell/parse.ts
15
15
  var exports_parse = {};
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./persistent-pty-84tssp1s.js";
4
+ } from "./instance-9qn3qky1.js";
5
5
  import {
6
6
  __export
7
- } from "./persistent-pty-9rqn6x4v.js";
7
+ } from "./instance-9rqn6x4v.js";
8
8
 
9
9
  // src/plugin/variant.ts
10
10
  var exports_variant = {};
11
11
  __export(exports_variant, {
12
- Plugin: () => Plugin25,
12
+ Plugin: () => Plugin13,
13
13
  VariantPlugin: () => exports_variant,
14
14
  generate: () => generate2
15
15
  });
16
16
  import { Effect } from "effect";
17
17
  import { define } from "@opencode/plugin/effect/plugin";
18
18
  import { Model } from "@opencode/schema/model";
19
- var Plugin25 = define({
19
+ var Plugin13 = 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 { Plugin25, generate2, exports_variant };
55
+ export { Plugin13, generate2, exports_variant };
@@ -1,9 +1,9 @@
1
1
  import {
2
- ID16
3
- } from "./persistent-pty-84tssp1s.js";
2
+ ID12
3
+ } from "./instance-9qn3qky1.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./instance-9rqn6x4v.js";
7
7
 
8
8
  // src/model.ts
9
9
  var exports_model2 = {};
@@ -12,17 +12,17 @@ __export(exports_model2, {
12
12
  Compatibility: () => Compatibility2,
13
13
  Cost: () => Cost2,
14
14
  Family: () => Family2,
15
- ID: () => ID14,
16
- Info: () => Info28,
15
+ ID: () => ID11,
16
+ Info: () => Info25,
17
17
  Model: () => exports_model2,
18
18
  ReasoningField: () => ReasoningField2,
19
19
  Ref: () => Ref3,
20
20
  VariantID: () => VariantID2,
21
21
  compatibility: () => compatibility2,
22
- parse: () => parse5
22
+ parse: () => parse4
23
23
  });
24
24
  import { Model } from "@opencode/schema/model";
25
- var ID14 = Model.ID;
25
+ var ID11 = Model.ID;
26
26
  var VariantID2 = Model.VariantID;
27
27
  var Family2 = Model.Family;
28
28
  var ReasoningField2 = Model.ReasoningField;
@@ -30,7 +30,7 @@ var Compatibility2 = Model.Compatibility;
30
30
  var Capabilities2 = Model.Capabilities;
31
31
  var Cost2 = Model.Cost;
32
32
  var Ref3 = Model.Ref;
33
- var Info28 = Model.Info;
33
+ var Info25 = Model.Info;
34
34
  function compatibility2(input) {
35
35
  if (typeof input === "string")
36
36
  return { reasoningField: input };
@@ -38,12 +38,12 @@ function compatibility2(input) {
38
38
  return;
39
39
  return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
40
40
  }
41
- function parse5(input) {
41
+ function parse4(input) {
42
42
  const index = input.indexOf("/");
43
43
  return {
44
- providerID: ID16.make(index === -1 ? input : input.slice(0, index)),
45
- modelID: ID14.make(index === -1 ? "" : input.slice(index + 1))
44
+ providerID: ID12.make(index === -1 ? input : input.slice(0, index)),
45
+ modelID: ID11.make(index === -1 ? "" : input.slice(index + 1))
46
46
  };
47
47
  }
48
48
 
49
- export { ID14, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref3, Info28, compatibility2, parse5, exports_model2 };
49
+ export { ID11, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref3, Info25, compatibility2, parse4, exports_model2 };
@@ -2,45 +2,45 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./persistent-pty-2a5m3afh.js";
5
+ } from "./instance-2a5m3afh.js";
6
6
  import {
7
- Service76
8
- } from "./persistent-pty-4hbnwbp2.js";
7
+ Service74
8
+ } from "./instance-k11evj39.js";
9
9
  import {
10
- Service73
11
- } from "./persistent-pty-k1v94gwx.js";
10
+ Service62
11
+ } from "./instance-ackzb6j1.js";
12
12
  import {
13
- Service13
14
- } from "./persistent-pty-qx5x1pzp.js";
13
+ Service16
14
+ } from "./instance-m953gznc.js";
15
15
  import {
16
- Service26,
16
+ Service13,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./persistent-pty-wp1zmha7.js";
19
+ } from "./instance-7fpn5dqa.js";
20
20
  import {
21
- Service64
22
- } from "./persistent-pty-rxv86vcs.js";
21
+ Service69
22
+ } from "./instance-3jyh38wp.js";
23
23
  import {
24
- Service23,
24
+ Service55,
25
25
  resolvePath2
26
- } from "./persistent-pty-fp77m0kv.js";
26
+ } from "./instance-ket659ap.js";
27
27
  import {
28
28
  fileDiff2
29
- } from "./persistent-pty-6prwharc.js";
29
+ } from "./instance-6prwharc.js";
30
30
  import {
31
31
  __export
32
- } from "./persistent-pty-9rqn6x4v.js";
32
+ } from "./instance-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/patch.ts
35
35
  var exports_patch = {};
36
36
  __export(exports_patch, {
37
37
  Applied: () => Applied2,
38
- Input: () => Input7,
39
- Output: () => Output5,
38
+ Input: () => Input5,
39
+ Output: () => Output3,
40
40
  PatchTool: () => exports_patch,
41
- Plugin: () => Plugin7,
42
- name: () => name7,
43
- toModelContent: () => toModelContent3
41
+ Plugin: () => Plugin18,
42
+ name: () => name5,
43
+ toModelContent: () => toModelContent4
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai";
46
46
  import { FileDiff } from "@opencode/schema/file-diff";
@@ -85,8 +85,8 @@ It is important to remember:
85
85
  `;
86
86
 
87
87
  // src/tool/plugin/patch.ts
88
- var name7 = "patch";
89
- var Input7 = Schema.Struct({
88
+ var name5 = "patch";
89
+ var Input5 = Schema.Struct({
90
90
  patchText: Schema.String.annotate({
91
91
  description: "The full patch text describing add, update, and delete operations"
92
92
  })
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
96
96
  resource: Schema.String,
97
97
  target: Schema.String
98
98
  });
99
- var Output5 = Schema.Struct({
99
+ var Output3 = Schema.Struct({
100
100
  applied: Schema.Array(Applied2),
101
101
  files: Schema.Array(FileDiff.Info)
102
102
  });
103
- var toModelContent3 = (output) => [
103
+ var toModelContent4 = (output) => [
104
104
  "Success. Updated the following files:",
105
105
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
106
106
  ].join(`
107
107
  `);
108
- var Plugin7 = {
108
+ var Plugin18 = {
109
109
  id: "opencode.tool.patch",
110
110
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
111
- const environment = yield* Service73;
112
- const access = yield* Service23;
113
- const fileMutation = yield* Service26;
114
- const formatter = yield* Service13;
115
- const location = yield* Service76;
116
- const permission = yield* Service64;
111
+ const environment = yield* Service62;
112
+ const access = yield* Service55;
113
+ const fileMutation = yield* Service13;
114
+ const formatter = yield* Service16;
115
+ const location = yield* Service74;
116
+ const permission = yield* Service69;
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name7,
118
+ name: name5,
119
119
  options: { codemode: false, permission: "edit" },
120
120
  description: patch_default,
121
- input: Input7,
122
- output: Output5,
121
+ input: Input5,
122
+ output: Output3,
123
123
  execute: (input, context) => {
124
124
  const applied = [];
125
125
  const parsed = Patch.parse(input.patchText);
@@ -266,7 +266,7 @@ var Plugin7 = {
266
266
  return { applied, files };
267
267
  }).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
268
268
  output,
269
- content: toModelContent3(output),
269
+ content: toModelContent4(output),
270
270
  metadata: { files: output.files }
271
271
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
272
272
  }
@@ -323,4 +323,4 @@ function trimDiff(diff) {
323
323
  `);
324
324
  }
325
325
 
326
- export { name7, Input7, Applied2, Output5, toModelContent3, Plugin7, exports_patch };
326
+ export { name5, Input5, Applied2, Output3, toModelContent4, Plugin18, exports_patch };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service40,
3
- node44
4
- } from "./persistent-pty-hghsks1n.js";
2
+ Service44,
3
+ node47
4
+ } from "./instance-79f5wznj.js";
5
5
  import {
6
6
  Key4,
7
7
  removed2,
8
- make20,
8
+ make21,
9
9
  diffByKey2
10
- } from "./persistent-pty-02nrjc1r.js";
10
+ } from "./instance-eaj1djv9.js";
11
11
  import {
12
12
  __export
13
- } from "./persistent-pty-9rqn6x4v.js";
13
+ } from "./instance-9rqn6x4v.js";
14
14
 
15
15
  // src/reference/instructions.ts
16
16
  var exports_instructions3 = {};
17
17
  __export(exports_instructions3, {
18
18
  ReferenceInstructions: () => exports_instructions3,
19
- Service: () => Service35,
20
- node: () => node39
19
+ Service: () => Service25,
20
+ node: () => node28
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -57,18 +57,18 @@ var update = (previous, current) => {
57
57
  `);
58
58
  };
59
59
 
60
- class Service35 extends Context.Service()("@opencode/ReferenceInstructions") {
60
+ class Service25 extends Context.Service()("@opencode/ReferenceInstructions") {
61
61
  }
62
- var layer = Layer.effect(Service35, Effect.gen(function* () {
63
- const references = yield* Service40;
64
- return Service35.of({
62
+ var layer = Layer.effect(Service25, Effect.gen(function* () {
63
+ const references = yield* Service44;
64
+ return Service25.of({
65
65
  load: Effect.fn("ReferenceInstructions.load")(function* () {
66
66
  const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
67
67
  name: reference.name,
68
68
  path: reference.path,
69
69
  description: reference.description
70
70
  })).toSorted((a, b) => a.name.localeCompare(b.name));
71
- return make20({
71
+ return make21({
72
72
  key: Key4.make("core/reference-guidance"),
73
73
  codec: Schema.toCodecJson(Schema.Array(Summary)),
74
74
  read: Effect.succeed(available.length === 0 ? removed2 : available),
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node39 = makeLocationNode({ service: Service35, layer, deps: [node44] });
84
+ var node28 = makeLocationNode({ service: Service25, layer, deps: [node47] });
85
85
 
86
- export { Service35, node39, exports_instructions3 };
86
+ export { Service25, node28, exports_instructions3 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./instance-9rqn6x4v.js";
4
4
 
5
5
  // src/config/plugin/entry-observer.ts
6
6
  var exports_entry_observer = {};
@@ -1,21 +1,21 @@
1
1
  import {
2
- ID16,
2
+ ID12,
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  mergeOverlay2
6
- } from "./persistent-pty-84tssp1s.js";
6
+ } from "./instance-9qn3qky1.js";
7
7
  import {
8
8
  __export
9
- } from "./persistent-pty-9rqn6x4v.js";
9
+ } from "./instance-9rqn6x4v.js";
10
10
 
11
11
  // src/aisdk.ts
12
12
  var exports_aisdk = {};
13
13
  __export(exports_aisdk, {
14
14
  AISDK: () => exports_aisdk,
15
15
  InitError: () => InitError2,
16
- Service: () => Service55,
16
+ Service: () => Service46,
17
17
  locationLayer: () => locationLayer2,
18
- node: () => node58
18
+ node: () => node49
19
19
  });
20
20
  import { makeLocationNode } from "@opencode/util/effect/app-node";
21
21
  import { APICallError } from "@ai-sdk/provider";
@@ -128,7 +128,7 @@ function prepareOptions(model, pkg) {
128
128
  }
129
129
 
130
130
  class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
131
- providerID: ID16,
131
+ providerID: ID12,
132
132
  cause: Schema.Defect()
133
133
  }) {
134
134
  }
@@ -136,9 +136,9 @@ function initError(providerID) {
136
136
  return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
137
137
  }
138
138
 
139
- class Service55 extends Context.Service()("@opencode/AISDK") {
139
+ class Service46 extends Context.Service()("@opencode/AISDK") {
140
140
  }
141
- var locationLayer2 = Layer.effect(Service55, Effect.gen(function* () {
141
+ var locationLayer2 = Layer.effect(Service46, Effect.gen(function* () {
142
142
  let sdkHooks = [];
143
143
  let languageHooks = [];
144
144
  const languages = new Map;
@@ -176,7 +176,7 @@ var locationLayer2 = Layer.effect(Service55, Effect.gen(function* () {
176
176
  }
177
177
  return event;
178
178
  });
179
- const service = Service55.of({
179
+ const service = Service46.of({
180
180
  hook: {
181
181
  sdk: register(() => sdkHooks, (next) => sdkHooks = next),
182
182
  language: register(() => languageHooks, (next) => languageHooks = next)
@@ -809,6 +809,6 @@ function providerErrorMessage(error) {
809
809
  const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
810
810
  return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
811
811
  }
812
- var node58 = makeLocationNode({ service: Service55, layer: locationLayer2, deps: [] });
812
+ var node49 = makeLocationNode({ service: Service46, layer: locationLayer2, deps: [] });
813
813
 
814
- export { InitError2, Service55, locationLayer2, node58, exports_aisdk };
814
+ export { InitError2, Service46, locationLayer2, node49, exports_aisdk };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./persistent-pty-922hggd3.js";
3
+ } from "./instance-922hggd3.js";
4
4
  import {
5
5
  Action2
6
- } from "./persistent-pty-qj8eh1ht.js";
6
+ } from "./instance-50mzsvk4.js";
7
7
  import {
8
- Info14
9
- } from "./persistent-pty-k0gdq8ga.js";
8
+ Info13
9
+ } from "./instance-nbzsj80d.js";
10
10
  import {
11
- Info17
12
- } from "./persistent-pty-tn0aqsam.js";
11
+ Info6
12
+ } from "./instance-78v47nsk.js";
13
13
  import {
14
- Info12
15
- } from "./persistent-pty-tkmwgdpd.js";
14
+ Info9
15
+ } from "./instance-t6vsspdg.js";
16
16
  import {
17
- Info13
18
- } from "./persistent-pty-0f9afca0.js";
17
+ Info8
18
+ } from "./instance-a1a50ys5.js";
19
19
  import {
20
20
  Spec2
21
- } from "./persistent-pty-2k8khapm.js";
21
+ } from "./instance-607tc6va.js";
22
22
  import {
23
- Info18
24
- } from "./persistent-pty-jv01nqvq.js";
23
+ Info11
24
+ } from "./instance-yjptyezs.js";
25
25
  import {
26
- Info10
27
- } from "./persistent-pty-80bgm7g6.js";
26
+ Info5
27
+ } from "./instance-z24mx39z.js";
28
28
  import {
29
29
  migrate2,
30
30
  normalizeAction2,
@@ -33,10 +33,10 @@ import {
33
33
  migrateMcp2,
34
34
  migrateProvider2,
35
35
  providerID2
36
- } from "./persistent-pty-5aqfxp9a.js";
36
+ } from "./instance-q5b78q1j.js";
37
37
  import {
38
38
  __export
39
- } from "./persistent-pty-9rqn6x4v.js";
39
+ } from "./instance-9rqn6x4v.js";
40
40
 
41
41
  // src/config/normalize.ts
42
42
  var exports_normalize = {};
@@ -84,10 +84,10 @@ function normalize2(input) {
84
84
  const encoded = {};
85
85
  unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
86
86
  const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
87
- const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info10.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
87
+ const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info5.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
88
88
  const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
89
89
  const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
90
- const legacyMedia = own(input, "attachment") ? decodeValue(Info17, input.attachment, ["attachment"], diagnostics) : undefined;
90
+ const legacyMedia = own(input, "attachment") ? decodeValue(Info6, input.attachment, ["attachment"], diagnostics) : undefined;
91
91
  if (legacyMedia !== undefined) {
92
92
  const migrated = migrate2({ attachment: legacyMedia }).media;
93
93
  if (migrated !== undefined)
@@ -104,7 +104,7 @@ function normalize2(input) {
104
104
  const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
105
105
  const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
106
106
  mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
107
- const legacyCommands = decodeMap(input.command, Info12, ["command"], diagnostics, decodeValue);
107
+ const legacyCommands = decodeMap(input.command, Info9, ["command"], diagnostics, decodeValue);
108
108
  diagnoseSelectionMap(input.command, ["command"], diagnostics);
109
109
  const migratedCommands = mapValues(legacyCommands, (value) => {
110
110
  const migrated = commands2({ value })?.value;
@@ -112,7 +112,7 @@ function normalize2(input) {
112
112
  });
113
113
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
114
114
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
115
- const legacyAgents = mapValues(decodeMap(input.agent, Info14, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
115
+ const legacyAgents = mapValues(decodeMap(input.agent, Info13, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
116
116
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
117
117
  const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
118
118
  if (legacySmallModel && !migratedSmallModel)
@@ -126,7 +126,7 @@ function normalize2(input) {
126
126
  model: migratedSmallModel,
127
127
  ...legacyAgents.title
128
128
  };
129
- const modeAgents = mapValues(decodeMap(input.mode, Info14, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
129
+ const modeAgents = mapValues(decodeMap(input.mode, Info13, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
130
130
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
131
131
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
132
132
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
225
225
  normalizeMcpTimeout(value, timeout, path, diagnostics);
226
226
  return;
227
227
  }
228
- const server = decodeValue(Info13, value, path, diagnostics);
228
+ const server = decodeValue(Info8, value, path, diagnostics);
229
229
  if (server !== undefined)
230
230
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
231
231
  });
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
421
421
  diagnoseProviderUnsupported(raw, path, diagnostics);
422
422
  if (invalidProviderOverlays(raw, path, diagnostics))
423
423
  return [];
424
- const provider = decodeValue(Info18, raw, path, diagnostics);
424
+ const provider = decodeValue(Info11, raw, path, diagnostics);
425
425
  if (provider === undefined)
426
426
  return [];
427
427
  const destination = providerID2(name);