@opencode/core 0.0.0-dev-19509 → 0.0.0-dev-19511

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 (781) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  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 +68 -68
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{worktree-39z097b6.js → project-03byqthe.js} +36 -36
  9. package/dist/chunks/{worktree-adm5ft2x.js → project-04hzg152.js} +18 -18
  10. package/dist/chunks/{worktree-thp4thqf.js → project-06brqfbk.js} +17 -17
  11. package/dist/chunks/{worktree-t7bs0stv.js → project-0gcj0wxd.js} +15 -15
  12. package/dist/chunks/{worktree-csebhh29.js → project-0jrfp098.js} +9 -9
  13. package/dist/chunks/{worktree-awhv1hxp.js → project-0jzgk3xk.js} +19 -19
  14. package/dist/chunks/{worktree-zvnk3gn3.js → project-0kgvfrm4.js} +17 -17
  15. package/dist/chunks/{worktree-2t72zxyz.js → project-0mgvehma.js} +3 -3
  16. package/dist/chunks/{worktree-sj94bf0y.js → project-0mqws7ma.js} +20 -20
  17. package/dist/chunks/{worktree-0paq2nw3.js → project-0paq2nw3.js} +1 -1
  18. package/dist/chunks/{worktree-0q0f95c6.js → project-0q0f95c6.js} +1 -1
  19. package/dist/chunks/{worktree-1smds1mj.js → project-128jwkd9.js} +11 -11
  20. package/dist/chunks/{worktree-bc078hx2.js → project-17f7730q.js} +18 -18
  21. package/dist/chunks/{worktree-8c13b1f6.js → project-180kq3wy.js} +15 -15
  22. package/dist/chunks/{worktree-1dazxqgg.js → project-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{worktree-1fzw0h16.js → project-1gsa2cck.js} +15 -15
  24. package/dist/chunks/{worktree-40be3fby.js → project-1nypc09g.js} +14 -14
  25. package/dist/chunks/{worktree-8x177ym8.js → project-1p3xnr7f.js} +17 -17
  26. package/dist/chunks/{worktree-za9cx4qh.js → project-1qg96azw.js} +5 -5
  27. package/dist/chunks/{worktree-xab957cg.js → project-1rhhxb2c.js} +24 -24
  28. package/dist/chunks/{worktree-ej5ddtfv.js → project-1tjc281v.js} +5 -5
  29. package/dist/chunks/{worktree-zsn9806r.js → project-1vtpe7zb.js} +4 -4
  30. package/dist/chunks/{worktree-w90x3s5c.js → project-1w0xs9z0.js} +11 -11
  31. package/dist/chunks/{worktree-73xy8fsw.js → project-1y3t80aq.js} +5 -5
  32. package/dist/chunks/{worktree-21r38tys.js → project-21r38tys.js} +1 -1
  33. package/dist/chunks/{worktree-2402vzrj.js → project-2402vzrj.js} +1 -1
  34. package/dist/chunks/{worktree-2a5m3afh.js → project-2a5m3afh.js} +1 -1
  35. package/dist/chunks/{worktree-ejdkdwzs.js → project-2bj8tynh.js} +4 -4
  36. package/dist/chunks/{worktree-8a649t19.js → project-2etzwqq0.js} +6 -6
  37. package/dist/chunks/{worktree-t0fxg8b9.js → project-2f0bjgcj.js} +5 -5
  38. package/dist/chunks/{worktree-2c9cavng.js → project-2qmj82d1.js} +46 -46
  39. package/dist/chunks/{worktree-baaqp4zd.js → project-2vs2nh1n.js} +4 -4
  40. package/dist/chunks/{worktree-w9najb13.js → project-2wgpvvmt.js} +11 -11
  41. package/dist/chunks/{worktree-6sfzc8j3.js → project-2xnqg3kz.js} +8 -8
  42. package/dist/chunks/{worktree-qhrw8p3b.js → project-30b4p980.js} +8 -8
  43. package/dist/chunks/{worktree-q2t36530.js → project-352w66m8.js} +9 -9
  44. package/dist/chunks/{worktree-jv2bdre8.js → project-3592630s.js} +6 -6
  45. package/dist/chunks/{worktree-m2manvsf.js → project-3c1tgrea.js} +6 -6
  46. package/dist/chunks/{worktree-g0rx3fxn.js → project-3dv0dhzr.js} +78 -78
  47. package/dist/chunks/{worktree-gdvy8fx6.js → project-3fc6dm20.js} +4 -4
  48. package/dist/chunks/{worktree-et0ngb76.js → project-3gtmxc06.js} +8 -8
  49. package/dist/chunks/{worktree-3hepkmqq.js → project-3hepkmqq.js} +1 -1
  50. package/dist/chunks/{worktree-vkz51m42.js → project-3hzqgt9w.js} +28 -28
  51. package/dist/chunks/{worktree-3smtnn6g.js → project-3smtnn6g.js} +1 -1
  52. package/dist/chunks/{worktree-3tvqynh2.js → project-3tvqynh2.js} +1 -1
  53. package/dist/chunks/{worktree-j7wq2tw5.js → project-3yjg5mh2.js} +3 -3
  54. package/dist/chunks/{worktree-ryha7zpe.js → project-3yme9dtt.js} +9 -9
  55. package/dist/chunks/{worktree-gda53zk6.js → project-3ymzj6fs.js} +12 -12
  56. package/dist/chunks/{worktree-4x24p3x4.js → project-40zzw5vx.js} +5 -5
  57. package/dist/chunks/{worktree-vjy2y45p.js → project-41v07cqx.js} +11 -11
  58. package/dist/chunks/{worktree-p2aekm07.js → project-485wz5ap.js} +85 -85
  59. package/dist/chunks/{worktree-77nksagb.js → project-49z946gs.js} +20 -20
  60. package/dist/chunks/{worktree-bxss1q04.js → project-4e10zhsk.js} +26 -26
  61. package/dist/chunks/{worktree-w76gpamr.js → project-4jct13es.js} +12 -12
  62. package/dist/chunks/{worktree-qwkytnft.js → project-4p1ga2js.js} +3 -3
  63. package/dist/chunks/{worktree-3cdjp2z1.js → project-4qw9jy8s.js} +6 -6
  64. package/dist/chunks/{worktree-4y66k410.js → project-4y66k410.js} +2 -2
  65. package/dist/chunks/{worktree-a1bz86dw.js → project-5c4hm403.js} +3 -3
  66. package/dist/chunks/{worktree-m3x11w40.js → project-5cbh0j70.js} +11 -11
  67. package/dist/chunks/{worktree-5daktx2q.js → project-5daktx2q.js} +1 -1
  68. package/dist/chunks/{worktree-wyy37vyq.js → project-5qb16e34.js} +52 -52
  69. package/dist/chunks/{worktree-5t3nmthw.js → project-5t3nmthw.js} +2 -2
  70. package/dist/chunks/{worktree-sqwpcrch.js → project-5v6xbca9.js} +157 -157
  71. package/dist/chunks/{worktree-97n9g1za.js → project-61pd2xsr.js} +34 -34
  72. package/dist/chunks/{worktree-wrjmdcd7.js → project-6597xj7n.js} +7 -7
  73. package/dist/chunks/{worktree-669tq793.js → project-669tq793.js} +1 -1
  74. package/dist/chunks/{worktree-tjqe909z.js → project-6f2gh7ng.js} +1 -1
  75. package/dist/chunks/project-6kdq0pjd.js +4 -0
  76. package/dist/chunks/{worktree-6msgmcgs.js → project-6msgmcgs.js} +1 -1
  77. package/dist/chunks/{worktree-6shvhte3.js → project-6vc8p3va.js} +1 -1
  78. package/dist/chunks/{worktree-71q4at8m.js → project-71q4at8m.js} +1 -1
  79. package/dist/chunks/{worktree-ka3v088s.js → project-74t57acv.js} +9 -9
  80. package/dist/chunks/{worktree-7bmhse3q.js → project-7bmhse3q.js} +1 -1
  81. package/dist/chunks/{worktree-ert0es5w.js → project-7h2z3prw.js} +39 -39
  82. package/dist/chunks/{worktree-shh6fz4q.js → project-7j92jdde.js} +4 -4
  83. package/dist/chunks/{worktree-w428zktn.js → project-7nypd6v8.js} +15 -15
  84. package/dist/chunks/{worktree-dvgdgw3v.js → project-7xjy9a2e.js} +3 -3
  85. package/dist/chunks/{worktree-81swgkk7.js → project-81swgkk7.js} +2 -2
  86. package/dist/chunks/{worktree-p7d99px1.js → project-82kwe8pc.js} +8 -8
  87. package/dist/chunks/{worktree-xn8fxkx5.js → project-8421cefc.js} +6 -6
  88. package/dist/chunks/{worktree-8d7r5vzw.js → project-8d7r5vzw.js} +1 -1
  89. package/dist/chunks/{worktree-j47svp76.js → project-8dnxqjce.js} +11 -11
  90. package/dist/chunks/{worktree-t6bwgaqm.js → project-8e2hps12.js} +32 -32
  91. package/dist/chunks/{worktree-cafdv0ym.js → project-8vyszhxq.js} +9 -9
  92. package/dist/chunks/{worktree-7xv0edjs.js → project-8w2hbp94.js} +5 -5
  93. package/dist/chunks/{worktree-pemhtd8f.js → project-8za6t4pe.js} +8 -8
  94. package/dist/chunks/{worktree-xx6cn220.js → project-936n54ck.js} +1 -1
  95. package/dist/chunks/{worktree-vvsqdwqz.js → project-9502mm2y.js} +32 -32
  96. package/dist/chunks/{worktree-3sz5ktbs.js → project-9bb2zzrg.js} +21 -21
  97. package/dist/chunks/{worktree-v600ka5t.js → project-9bf6jj70.js} +26 -26
  98. package/dist/chunks/{worktree-1dpnrefp.js → project-9gdc11pm.js} +26 -26
  99. package/dist/chunks/{worktree-78n98qb4.js → project-9jmfdv3c.js} +12 -12
  100. package/dist/chunks/{worktree-46947paf.js → project-9n42172b.js} +28 -28
  101. package/dist/chunks/{worktree-61sb7bcr.js → project-9qfkze9a.js} +11 -11
  102. package/dist/chunks/{worktree-dbyd747x.js → project-9wsm2w7d.js} +6 -6
  103. package/dist/chunks/{worktree-0ctm8j7h.js → project-9z0604wv.js} +43 -43
  104. package/dist/chunks/{worktree-gm9ea5b0.js → project-a7h8je70.js} +18 -18
  105. package/dist/chunks/{worktree-aaet6srn.js → project-aaet6srn.js} +2 -2
  106. package/dist/chunks/{worktree-nj09xgek.js → project-ag81pwzz.js} +10 -10
  107. package/dist/chunks/project-ajqyq5kb.js +22 -0
  108. package/dist/chunks/{worktree-v912edbj.js → project-at6fsfad.js} +15 -15
  109. package/dist/chunks/{worktree-eaj1djv9.js → project-athype10.js} +4 -4
  110. package/dist/chunks/{worktree-b6gygkdw.js → project-b6gygkdw.js} +2 -2
  111. package/dist/chunks/{worktree-f1mdy5hp.js → project-bvm1hg5c.js} +1 -1
  112. package/dist/chunks/{worktree-n5y107kn.js → project-by1fd37v.js} +12 -12
  113. package/dist/chunks/{worktree-gsa99s6r.js → project-by3d5382.js} +11 -11
  114. package/dist/chunks/{worktree-trkat1qx.js → project-c4ykr5r1.js} +45 -45
  115. package/dist/chunks/{worktree-9w4ppqge.js → project-c5c0bz0t.js} +5 -5
  116. package/dist/chunks/{worktree-cx7w19tq.js → project-c61qbbjh.js} +10 -10
  117. package/dist/chunks/{worktree-aq5rptpm.js → project-cdkak6c5.js} +20 -20
  118. package/dist/chunks/{worktree-zjf5xpx9.js → project-ce6x2zr0.js} +2 -2
  119. package/dist/chunks/{worktree-v30hr118.js → project-cg9cg68q.js} +9 -9
  120. package/dist/chunks/{worktree-6npnztgt.js → project-cgjzvrd1.js} +4 -4
  121. package/dist/chunks/{worktree-0tzb1dzm.js → project-cpa9365v.js} +20 -20
  122. package/dist/chunks/{worktree-vvgctfdq.js → project-crc3g98t.js} +12 -12
  123. package/dist/chunks/{worktree-zhvsjxqr.js → project-cx98cjrt.js} +4 -4
  124. package/dist/chunks/{worktree-th62sywm.js → project-czc1p6ep.js} +27 -27
  125. package/dist/chunks/{worktree-0940wtvk.js → project-d0acstaf.js} +46 -46
  126. package/dist/chunks/{worktree-fmskcfx8.js → project-d643ey3h.js} +15 -15
  127. package/dist/chunks/{worktree-69t96w4v.js → project-da239ya3.js} +26 -26
  128. package/dist/chunks/{worktree-6tpyx64t.js → project-dez563yv.js} +38 -38
  129. package/dist/chunks/{worktree-8p4f9s12.js → project-dj2t23y0.js} +2 -2
  130. package/dist/chunks/{worktree-2dtw8x15.js → project-dmw8ezrh.js} +3 -3
  131. package/dist/chunks/{worktree-y71avatq.js → project-dpkg50ah.js} +4 -4
  132. package/dist/chunks/{worktree-ebc7h8jh.js → project-e6jkap1f.js} +4 -4
  133. package/dist/chunks/{worktree-bjhqm2jc.js → project-e9ngbr94.js} +24 -24
  134. package/dist/chunks/{worktree-wvmhx4nb.js → project-eraanh1f.js} +4 -4
  135. package/dist/chunks/{worktree-etq0c3wd.js → project-etq0c3wd.js} +1 -1
  136. package/dist/chunks/{worktree-1acjjqhc.js → project-f2n192rq.js} +4 -4
  137. package/dist/chunks/{worktree-m33rf8wm.js → project-f79y50b7.js} +18 -18
  138. package/dist/chunks/{worktree-6zzmvhm0.js → project-fhvnb7q8.js} +24 -24
  139. package/dist/chunks/{worktree-0npjq9jf.js → project-fjhcf7g9.js} +2 -2
  140. package/dist/chunks/{worktree-t56rw2gy.js → project-fmsmdavp.js} +27 -27
  141. package/dist/chunks/{worktree-ha84e8c9.js → project-fn3pntxg.js} +21 -21
  142. package/dist/chunks/{worktree-m3zza4qd.js → project-fqj9nv8j.js} +8 -8
  143. package/dist/chunks/{worktree-fxbjtjnd.js → project-fxbjtjnd.js} +1 -1
  144. package/dist/chunks/{worktree-r1gh3j25.js → project-fys1mhb0.js} +10 -10
  145. package/dist/chunks/{worktree-8c3x6q07.js → project-g30z4c76.js} +9 -9
  146. package/dist/chunks/{worktree-59h2sd9w.js → project-g4e9nbcn.js} +13 -13
  147. package/dist/chunks/{worktree-aa3dep6r.js → project-g7xq9dq6.js} +13 -13
  148. package/dist/chunks/{worktree-gd4qta3r.js → project-gd4qta3r.js} +1 -1
  149. package/dist/chunks/{worktree-xx704vmn.js → project-getxn4jm.js} +20 -20
  150. package/dist/chunks/{worktree-bha4atvq.js → project-gf79vf69.js} +4 -4
  151. package/dist/chunks/{worktree-t0x5rdq8.js → project-gfqzzqy5.js} +9 -9
  152. package/dist/chunks/{worktree-73483k7j.js → project-gnh4rmrp.js} +11 -11
  153. package/dist/chunks/{worktree-pjjrh1z1.js → project-gsbm691j.js} +22 -22
  154. package/dist/chunks/{worktree-ewt4vtrb.js → project-gxg7s5ax.js} +23 -23
  155. package/dist/chunks/{worktree-g2ww2bbh.js → project-gzhexwst.js} +16 -16
  156. package/dist/chunks/{worktree-h03wrkyp.js → project-h03wrkyp.js} +2 -2
  157. package/dist/chunks/{worktree-b46p56xf.js → project-h0n6hk95.js} +7 -7
  158. package/dist/chunks/{worktree-39pb4tj2.js → project-h1fxz2n8.js} +25 -25
  159. package/dist/chunks/{worktree-h6vf3j39.js → project-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{worktree-v51fjskz.js → project-h943hffx.js} +12 -12
  161. package/dist/chunks/{worktree-zbjae951.js → project-h9jj2pmn.js} +27 -27
  162. package/dist/chunks/{worktree-3sdww6fp.js → project-havt8zv8.js} +29 -29
  163. package/dist/chunks/{worktree-f828m53h.js → project-hdnk95c8.js} +2 -2
  164. package/dist/chunks/{worktree-v9ht5xd0.js → project-hdz1sw8x.js} +11 -11
  165. package/dist/chunks/{worktree-6g16d2bh.js → project-hmz9dp0k.js} +5 -5
  166. package/dist/chunks/{worktree-gg7pg1rj.js → project-hnr5yq9h.js} +5 -5
  167. package/dist/chunks/{worktree-pyw57n7w.js → project-hs9cbhjh.js} +25 -25
  168. package/dist/chunks/project-ht5y0zrb.js +18 -0
  169. package/dist/chunks/{worktree-73tb2d7t.js → project-j028xdjb.js} +3 -3
  170. package/dist/chunks/{worktree-j56e64zr.js → project-j56e64zr.js} +1 -1
  171. package/dist/chunks/{worktree-myactzt4.js → project-j84bzan4.js} +35 -35
  172. package/dist/chunks/{worktree-csayd5d3.js → project-jcbnna01.js} +1 -1
  173. package/dist/chunks/{worktree-7gf7znvm.js → project-jmz50v4a.js} +4 -4
  174. package/dist/chunks/{worktree-6ygcjmn6.js → project-k0c7x7cv.js} +5 -5
  175. package/dist/chunks/{worktree-xwjytmam.js → project-k18waxcd.js} +35 -35
  176. package/dist/chunks/{worktree-wbf78t6w.js → project-k1v67f28.js} +23 -23
  177. package/dist/chunks/{worktree-qyth7dhn.js → project-k266rhdn.js} +17 -17
  178. package/dist/chunks/{worktree-1tjg7tvh.js → project-k79tzb9n.js} +5 -5
  179. package/dist/chunks/{worktree-xwd0g7hm.js → project-k8p4hbnm.js} +7 -7
  180. package/dist/chunks/{worktree-x3af3qht.js → project-kcyhewq8.js} +6 -6
  181. package/dist/chunks/{worktree-kg06axw8.js → project-kg06axw8.js} +1 -1
  182. package/dist/chunks/{worktree-asz5pcm8.js → project-kkaqcpw4.js} +13 -13
  183. package/dist/chunks/{worktree-cbbnw05y.js → project-ktxw75tm.js} +15 -15
  184. package/dist/chunks/{worktree-cfpkc3c9.js → project-m0jqrx5p.js} +2 -2
  185. package/dist/chunks/{worktree-xbrnhvx4.js → project-m1t0sds5.js} +17 -17
  186. package/dist/chunks/{worktree-x1w6f45z.js → project-m5gdw33a.js} +1 -1
  187. package/dist/chunks/{worktree-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{worktree-cavr175a.js → project-magykp64.js} +4 -4
  189. package/dist/chunks/{worktree-1ygqh575.js → project-mfqp6xfm.js} +6 -6
  190. package/dist/chunks/{worktree-xx24n8bp.js → project-mm16nfvn.js} +22 -22
  191. package/dist/chunks/project-mpaqfvem.js +247 -0
  192. package/dist/chunks/{worktree-9abatgz1.js → project-msgqzgez.js} +15 -15
  193. package/dist/chunks/{worktree-7x1jk2s0.js → project-mspfsrrg.js} +29 -29
  194. package/dist/chunks/{worktree-hbe7nj0x.js → project-mxz3erqp.js} +28 -28
  195. package/dist/chunks/{worktree-2j5ah8jf.js → project-n5qsk9dt.js} +15 -15
  196. package/dist/chunks/{worktree-b3psc49m.js → project-ndgqx56h.js} +6 -6
  197. package/dist/chunks/{worktree-nx9eezaw.js → project-nh3r2c9y.js} +6 -6
  198. package/dist/chunks/{worktree-e82z9tr0.js → project-nhy5jxhy.js} +7 -7
  199. package/dist/chunks/{worktree-wkgmxye7.js → project-nk6256zg.js} +4 -4
  200. package/dist/chunks/{worktree-mdbdsawz.js → project-nvqrzj9g.js} +9 -9
  201. package/dist/chunks/{worktree-p44d8wdy.js → project-p44d8wdy.js} +2 -2
  202. package/dist/chunks/{worktree-s4q1c2dk.js → project-p60kmaay.js} +65 -65
  203. package/dist/chunks/{worktree-pz1grgc9.js → project-p8095ktx.js} +10 -10
  204. package/dist/chunks/{worktree-x3et2xth.js → project-pa8pe2x7.js} +8 -8
  205. package/dist/chunks/{worktree-jn9etapn.js → project-pgr272tc.js} +20 -20
  206. package/dist/chunks/{worktree-pjvnvgmy.js → project-pjvnvgmy.js} +1 -1
  207. package/dist/chunks/{worktree-pknna89w.js → project-pknna89w.js} +1 -1
  208. package/dist/chunks/{worktree-5q02cxx3.js → project-pmr4s4kc.js} +4 -4
  209. package/dist/chunks/{worktree-b0pfq9rw.js → project-pncxwfjb.js} +17 -17
  210. package/dist/chunks/{worktree-qgn6gcr1.js → project-qgn6gcr1.js} +1 -1
  211. package/dist/chunks/{worktree-6xv9zrws.js → project-qqjjzdpg.js} +47 -47
  212. package/dist/chunks/{worktree-tta2m7dp.js → project-qqmxp0w7.js} +14 -14
  213. package/dist/chunks/{worktree-qsdy395h.js → project-qsdy395h.js} +1 -1
  214. package/dist/chunks/{worktree-339ss3x3.js → project-qvf77yps.js} +11 -11
  215. package/dist/chunks/{worktree-m8avnk43.js → project-r034a52s.js} +16 -16
  216. package/dist/chunks/{worktree-yr02nea7.js → project-r33ff4dw.js} +4 -4
  217. package/dist/chunks/{worktree-t1ej9bcf.js → project-r4a4h3h4.js} +14 -14
  218. package/dist/chunks/{worktree-r9mregkx.js → project-r9mregkx.js} +2 -2
  219. package/dist/chunks/{worktree-5y5thrnn.js → project-rhxfnfwf.js} +20 -20
  220. package/dist/chunks/{worktree-f3m2n1aw.js → project-rk0v45j3.js} +17 -17
  221. package/dist/chunks/{worktree-8grtj0b5.js → project-rm0vmy1k.js} +8 -8
  222. package/dist/chunks/{worktree-yefxppqx.js → project-rm2yqhr0.js} +13 -13
  223. package/dist/chunks/{worktree-86m78waa.js → project-rmtkxqwx.js} +7 -7
  224. package/dist/chunks/{worktree-zw0bbc6p.js → project-rrzxexy0.js} +46 -46
  225. package/dist/chunks/{worktree-w1k39n5e.js → project-rsdf2nvv.js} +4 -4
  226. package/dist/chunks/{worktree-cfk5fh02.js → project-rtdy2j7k.js} +13 -13
  227. package/dist/chunks/{worktree-hbymah4p.js → project-s36sm4ep.js} +35 -35
  228. package/dist/chunks/{worktree-r4emgha1.js → project-s6bhfz4z.js} +18 -18
  229. package/dist/chunks/{worktree-eb2th8mh.js → project-s8fqe7jm.js} +27 -27
  230. package/dist/chunks/{worktree-ba58znz1.js → project-sgjjsjgk.js} +20 -20
  231. package/dist/chunks/{worktree-xg9t41r3.js → project-svxygcjw.js} +2 -2
  232. package/dist/chunks/{worktree-v7t3chrs.js → project-syn9s4ck.js} +36 -36
  233. package/dist/chunks/{worktree-jdh6s7jq.js → project-t0d6gkvd.js} +8 -8
  234. package/dist/chunks/{worktree-edrmdtr5.js → project-t2fc4mz5.js} +5 -5
  235. package/dist/chunks/{worktree-tazgh4e4.js → project-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{worktree-ddyp6dwd.js → project-tb99n96z.js} +24 -24
  237. package/dist/chunks/{worktree-tcezcvh9.js → project-tcezcvh9.js} +1 -1
  238. package/dist/chunks/{worktree-tdstcens.js → project-tdstcens.js} +1 -1
  239. package/dist/chunks/{worktree-nbddwgy7.js → project-tfwap27p.js} +10 -10
  240. package/dist/chunks/{worktree-th5km1p3.js → project-th5km1p3.js} +2 -2
  241. package/dist/chunks/{worktree-84esvpjp.js → project-tk07mxne.js} +8 -8
  242. package/dist/chunks/{worktree-tvtrv512.js → project-tvtrv512.js} +1 -1
  243. package/dist/chunks/{worktree-wz5zt972.js → project-tyy2ek0j.js} +16 -16
  244. package/dist/chunks/{worktree-pvbb37c4.js → project-tz0jyenk.js} +10 -10
  245. package/dist/chunks/{worktree-4zktfs0e.js → project-v6paxmcr.js} +30 -30
  246. package/dist/chunks/{worktree-d807hzdp.js → project-v9kqwjfa.js} +32 -32
  247. package/dist/chunks/{worktree-veqvce7d.js → project-veqvce7d.js} +1 -1
  248. package/dist/chunks/{worktree-215v1k75.js → project-vjazvx2w.js} +22 -22
  249. package/dist/chunks/{worktree-y45pkspw.js → project-vnb6p14m.js} +13 -13
  250. package/dist/chunks/{worktree-5sdemcz3.js → project-vsrns1zn.js} +8 -8
  251. package/dist/chunks/{worktree-pt3jfr41.js → project-vyqn3nqs.js} +4 -4
  252. package/dist/chunks/{worktree-etbytr9f.js → project-vytej9g6.js} +18 -18
  253. package/dist/chunks/{worktree-vzcthcp8.js → project-vzcthcp8.js} +1 -1
  254. package/dist/chunks/{worktree-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{worktree-n0efajb2.js → project-wa8w638y.js} +12 -12
  256. package/dist/chunks/{worktree-wd87259q.js → project-wd87259q.js} +1 -1
  257. package/dist/chunks/{worktree-rfnzy394.js → project-wx9wy1qm.js} +1 -1
  258. package/dist/chunks/{worktree-x1ezjp6w.js → project-x1ezjp6w.js} +1 -1
  259. package/dist/chunks/{worktree-h7n6nt9k.js → project-x2q7kmg1.js} +6 -6
  260. package/dist/chunks/{worktree-mm6ytk77.js → project-x71d43dg.js} +8 -8
  261. package/dist/chunks/{worktree-7m5f9412.js → project-x8gz1y8e.js} +8 -8
  262. package/dist/chunks/{worktree-42424m2k.js → project-xbmcec40.js} +5 -5
  263. package/dist/chunks/{worktree-wc3yqjej.js → project-xmqchchm.js} +18 -18
  264. package/dist/chunks/{worktree-jnkjkfmr.js → project-xse6m6qk.js} +28 -28
  265. package/dist/chunks/{worktree-x0041dth.js → project-xttm4980.js} +24 -24
  266. package/dist/chunks/{worktree-6zfbav3y.js → project-xw98cjw1.js} +14 -14
  267. package/dist/chunks/{worktree-y1fvbwt7.js → project-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{worktree-z77pcmag.js → project-y80gd2k5.js} +24 -24
  269. package/dist/chunks/project-yfetrmg9.js +462 -0
  270. package/dist/chunks/{worktree-5cvc0nrh.js → project-yh49gxee.js} +4 -4
  271. package/dist/chunks/{worktree-mja71egn.js → project-yptvf0vj.js} +16 -16
  272. package/dist/chunks/{worktree-yrhqyw5v.js → project-yrhqyw5v.js} +1 -1
  273. package/dist/chunks/{worktree-yrznvahk.js → project-yrznvahk.js} +2 -2
  274. package/dist/chunks/{worktree-6jnybvqn.js → project-ywkfy99j.js} +9 -9
  275. package/dist/chunks/{worktree-61rrve2h.js → project-yyb6d1pw.js} +20 -20
  276. package/dist/chunks/{worktree-z0bkrqjs.js → project-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{worktree-xxmv8eye.js → project-z40tgwd8.js} +9 -9
  278. package/dist/chunks/{worktree-n4xj6hjn.js → project-z4h22pxa.js} +5 -5
  279. package/dist/chunks/{worktree-z63w68vq.js → project-z63w68vq.js} +2 -2
  280. package/dist/chunks/{worktree-gzswxrvt.js → project-z9p65wfg.js} +35 -35
  281. package/dist/chunks/{worktree-apxk5rve.js → project-zaah75v1.js} +32 -32
  282. package/dist/chunks/{worktree-zeh9ct20.js → project-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{worktree-721cw5cc.js → project-zh3kw9jz.js} +4 -4
  284. package/dist/chunks/{worktree-f59qb7z8.js → project-zp5ax0qn.js} +11 -11
  285. package/dist/chunks/{worktree-zr2ceqn5.js → project-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{worktree-zxq2ej10.js → project-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +3 -3
  288. package/dist/codemode/instructions.js +9 -9
  289. package/dist/codemode/tool.js +2 -2
  290. package/dist/command.js +84 -84
  291. package/dist/config/discovery.js +78 -78
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +19 -19
  294. package/dist/config/plugin/agent.js +118 -118
  295. package/dist/config/plugin/command.js +210 -210
  296. package/dist/config/plugin/compaction.js +156 -156
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +118 -118
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +86 -86
  301. package/dist/config/plugin/location-watcher.js +116 -116
  302. package/dist/config/plugin/mcp.js +127 -127
  303. package/dist/config/plugin/policy.js +115 -115
  304. package/dist/config/plugin/provider.js +114 -114
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +119 -119
  307. package/dist/config/plugin/skill-file.js +98 -98
  308. package/dist/config/plugin/skill.js +137 -137
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +118 -118
  311. package/dist/config/plugin/tool-output.js +118 -118
  312. package/dist/config/plugin/websearch.js +116 -116
  313. package/dist/config/plugin/worktree.js +119 -119
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +116 -116
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +82 -82
  319. package/dist/database/database.js +65 -65
  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/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration.gen.js +48 -48
  384. package/dist/database/migration.js +50 -50
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +75 -75
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +361 -361
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +3 -3
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +89 -89
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +91 -91
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +69 -69
  408. package/dist/file-access.js +100 -100
  409. package/dist/file-mutation.js +90 -90
  410. package/dist/file-retention.js +1 -1
  411. package/dist/file.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/ignore.js +1 -1
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +221 -221
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +94 -94
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +11 -11
  423. package/dist/filesystem.js +97 -97
  424. package/dist/form.js +81 -81
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +83 -83
  427. package/dist/generate.js +92 -92
  428. package/dist/git.js +7 -7
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +3 -3
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/id/id.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +352 -352
  453. package/dist/instruction-discovery.js +82 -82
  454. package/dist/instructions/builtins.js +83 -83
  455. package/dist/instructions/index.js +3 -3
  456. package/dist/integration/connection.js +1 -1
  457. package/dist/integration.js +87 -87
  458. package/dist/job.js +78 -78
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +72 -72
  461. package/dist/location-activity.js +129 -129
  462. package/dist/location-mutation.js +100 -100
  463. package/dist/location-service-map.js +82 -82
  464. package/dist/location-services.js +349 -349
  465. package/dist/location.js +81 -81
  466. package/dist/mcp/client.js +87 -87
  467. package/dist/mcp/index.js +98 -98
  468. package/dist/mcp/instructions.js +121 -121
  469. package/dist/mcp/oauth.js +3 -3
  470. package/dist/mcp/stdio.js +86 -86
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +3 -3
  473. package/dist/model-resolver.js +87 -87
  474. package/dist/model.js +8 -8
  475. package/dist/models-dev.js +83 -83
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +79 -79
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +105 -105
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +83 -83
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +74 -74
  485. package/dist/plugin/agent.js +100 -100
  486. package/dist/plugin/command.js +97 -97
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +214 -214
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +323 -323
  491. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  492. package/dist/plugin/models-dev.js +76 -76
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +2 -2
  495. package/dist/plugin/plan.js +98 -98
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/alibaba.js +2 -2
  498. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  499. package/dist/plugin/provider/azure.js +119 -119
  500. package/dist/plugin/provider/cerebras.js +2 -2
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +115 -115
  505. package/dist/plugin/provider/digitalocean.js +80 -80
  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 +81 -81
  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 +77 -77
  514. package/dist/plugin/provider/lmstudio.js +118 -118
  515. package/dist/plugin/provider/modal.js +80 -80
  516. package/dist/plugin/provider/nvidia.js +2 -2
  517. package/dist/plugin/provider/ollama.js +118 -118
  518. package/dist/plugin/provider/openai-compatible.js +1 -1
  519. package/dist/plugin/provider/openai.js +79 -79
  520. package/dist/plugin/provider/opencode.js +80 -80
  521. package/dist/plugin/provider/openrouter.js +3 -3
  522. package/dist/plugin/provider/perplexity.js +2 -2
  523. package/dist/plugin/provider/poe.js +77 -77
  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 +118 -118
  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 +118 -118
  530. package/dist/plugin/provider/xai.js +78 -78
  531. package/dist/plugin/provider/zenmux.js +2 -2
  532. package/dist/plugin/provider.js +157 -157
  533. package/dist/plugin/sdk.js +71 -71
  534. package/dist/plugin/service.js +3 -3
  535. package/dist/plugin/skill.js +134 -134
  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 +83 -83
  541. package/dist/plugin/vcs/hg.js +83 -83
  542. package/dist/plugin/warming.js +113 -113
  543. package/dist/plugin/websearch/exa.js +7 -7
  544. package/dist/plugin/websearch/firecrawl.js +6 -6
  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 +8 -8
  548. package/dist/plugin/websearch/tavily.js +6 -6
  549. package/dist/plugin.js +221 -221
  550. package/dist/project/schema.js +2 -2
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +80 -80
  553. package/dist/provider.js +7 -7
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/schema.js +3 -3
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +95 -95
  558. package/dist/reference/instructions.js +79 -79
  559. package/dist/reference.js +87 -87
  560. package/dist/repository-cache.js +77 -77
  561. package/dist/repository.js +1 -1
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +92 -92
  564. package/dist/rpc.js +82 -82
  565. package/dist/schema.js +1 -1
  566. package/dist/session/command.js +73 -73
  567. package/dist/session/compaction.js +128 -128
  568. package/dist/session/context.js +148 -148
  569. package/dist/session/environment.js +5 -5
  570. package/dist/session/error.js +3 -3
  571. package/dist/session/event.js +1 -1
  572. package/dist/session/execution/restart.js +217 -217
  573. package/dist/session/execution.js +125 -125
  574. package/dist/session/generate.js +147 -147
  575. package/dist/session/history.js +13 -13
  576. package/dist/session/inbox.js +87 -87
  577. package/dist/session/info.js +3 -3
  578. package/dist/session/instruction-entry.js +78 -78
  579. package/dist/session/instruction-state.js +8 -8
  580. package/dist/session/instructions.js +93 -93
  581. package/dist/session/message-updater.js +2 -2
  582. package/dist/session/message.js +1 -1
  583. package/dist/session/model-request.js +114 -114
  584. package/dist/session/model-transport.js +9 -9
  585. package/dist/session/move.js +127 -127
  586. package/dist/session/projector.js +85 -85
  587. package/dist/session/prompt.js +101 -101
  588. package/dist/session/provider-context.js +3 -3
  589. package/dist/session/revert.js +86 -86
  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 +226 -226
  593. package/dist/session/runner/max-steps.js +1 -1
  594. package/dist/session/runner/model.js +87 -87
  595. package/dist/session/runner/publish-llm-event.js +3 -3
  596. package/dist/session/runner/retry.js +111 -111
  597. package/dist/session/runner/step.js +122 -122
  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 +168 -168
  601. package/dist/session/shell.js +132 -132
  602. package/dist/session/skill.js +99 -99
  603. package/dist/session/sql.js +5 -5
  604. package/dist/session/stats.js +72 -72
  605. package/dist/session/store.js +84 -84
  606. package/dist/session/subagent-completion.js +1 -1
  607. package/dist/session/subagent-job.js +204 -204
  608. package/dist/session/system-prompt.js +5 -5
  609. package/dist/session/title.js +152 -152
  610. package/dist/session/to-session-error.js +108 -108
  611. package/dist/session/transfer.js +213 -213
  612. package/dist/session/usage.js +1 -1
  613. package/dist/session.js +210 -210
  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 +134 -134
  619. package/dist/skill/discovery.js +6 -6
  620. package/dist/skill/instructions.js +101 -101
  621. package/dist/skill.js +108 -108
  622. package/dist/snapshot.js +87 -87
  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 +118 -118
  627. package/dist/tool/plugin/edit.js +116 -116
  628. package/dist/tool/plugin/file-diff.js +1 -1
  629. package/dist/tool/plugin/glob.js +121 -121
  630. package/dist/tool/plugin/grep.js +121 -121
  631. package/dist/tool/plugin/opencode.js +3 -3
  632. package/dist/tool/plugin/patch.js +118 -118
  633. package/dist/tool/plugin/question.js +97 -97
  634. package/dist/tool/plugin/read.js +122 -122
  635. package/dist/tool/plugin/shell.js +213 -213
  636. package/dist/tool/plugin/skill.js +109 -109
  637. package/dist/tool/plugin/subagent.js +213 -213
  638. package/dist/tool/plugin/webfetch.js +106 -106
  639. package/dist/tool/plugin/websearch.js +110 -110
  640. package/dist/tool/plugin/write.js +118 -118
  641. package/dist/tool/read-filesystem.js +97 -97
  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 +3 -3
  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 +2 -2
  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 +1 -1
  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 +84 -84
  672. package/dist/websearch.js +79 -79
  673. package/dist/wellknown/plugin.js +75 -75
  674. package/dist/wellknown.js +78 -78
  675. package/dist/workspace/driver.js +7 -7
  676. package/dist/workspace/sql.js +1 -1
  677. package/dist/workspace.js +77 -77
  678. package/dist/worktree/directory.js +2 -2
  679. package/dist/worktree/git.js +7 -7
  680. package/dist/worktree/refresh.js +341 -341
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree.js +92 -92
  683. package/package.json +8 -8
  684. package/dist/chunks/worktree-dxj72tfx.js +0 -18
  685. package/dist/chunks/worktree-rcjnff0b.js +0 -462
  686. package/dist/chunks/worktree-xptez47m.js +0 -247
  687. package/dist/chunks/worktree-z926abd4.js +0 -4
  688. package/dist/chunks/worktree-zw6vqswj.js +0 -22
  689. /package/dist/chunks/{worktree-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{worktree-0zkw76rk.js → project-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{worktree-17cy0kzp.js → project-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{worktree-1cnp2v09.js → project-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{worktree-1kg9ymc8.js → project-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{worktree-2710q6r3.js → project-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{worktree-2axfhc9x.js → project-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{worktree-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{worktree-359p4xyc.js → project-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{worktree-3asan66x.js → project-3asan66x.js} +0 -0
  699. /package/dist/chunks/{worktree-3v8g72cx.js → project-3v8g72cx.js} +0 -0
  700. /package/dist/chunks/{worktree-3w5fmr99.js → project-3w5fmr99.js} +0 -0
  701. /package/dist/chunks/{worktree-3wcehsnq.js → project-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{worktree-43n2bw4t.js → project-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{worktree-4knz6hnm.js → project-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{worktree-4vcrnpx2.js → project-4vcrnpx2.js} +0 -0
  705. /package/dist/chunks/{worktree-4y7fprxs.js → project-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{worktree-53557ph1.js → project-53557ph1.js} +0 -0
  707. /package/dist/chunks/{worktree-550bvhaj.js → project-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{worktree-6prwharc.js → project-6prwharc.js} +0 -0
  709. /package/dist/chunks/{worktree-7akdwqpd.js → project-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{worktree-7m9af43g.js → project-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{worktree-822emrt2.js → project-822emrt2.js} +0 -0
  712. /package/dist/chunks/{worktree-88xbtdfr.js → project-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{worktree-8n3pysct.js → project-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{worktree-922hggd3.js → project-922hggd3.js} +0 -0
  715. /package/dist/chunks/{worktree-9a4afbnw.js → project-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{worktree-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{worktree-a6k6eb26.js → project-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{worktree-af5trqkr.js → project-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{worktree-afrmfg78.js → project-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{worktree-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{worktree-atq7p7m5.js → project-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{worktree-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{worktree-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{worktree-cf4snx6d.js → project-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{worktree-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{worktree-d9fn303g.js → project-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{worktree-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{worktree-dajrwvna.js → project-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{worktree-dap0rakb.js → project-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{worktree-df08tz66.js → project-df08tz66.js} +0 -0
  731. /package/dist/chunks/{worktree-dy18nga0.js → project-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{worktree-e5kj55wp.js → project-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{worktree-e73j6tqm.js → project-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{worktree-ec1grn59.js → project-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{worktree-eh3zwz77.js → project-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{worktree-emrn6kk6.js → project-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{worktree-f0mxakyp.js → project-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{worktree-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{worktree-faypxj3z.js → project-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{worktree-fd410y7t.js → project-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{worktree-fxgpk5d8.js → project-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{worktree-g4wezp1m.js → project-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{worktree-g86h250q.js → project-g86h250q.js} +0 -0
  744. /package/dist/chunks/{worktree-gebd4c9n.js → project-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{worktree-gftt206x.js → project-gftt206x.js} +0 -0
  746. /package/dist/chunks/{worktree-hjbc5kem.js → project-hjbc5kem.js} +0 -0
  747. /package/dist/chunks/{worktree-hk9envan.js → project-hk9envan.js} +0 -0
  748. /package/dist/chunks/{worktree-hrnqkpcd.js → project-hrnqkpcd.js} +0 -0
  749. /package/dist/chunks/{worktree-j2ntwpah.js → project-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{worktree-j5zkgpj8.js → project-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{worktree-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{worktree-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{worktree-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
  754. /package/dist/chunks/{worktree-mp448xyj.js → project-mp448xyj.js} +0 -0
  755. /package/dist/chunks/{worktree-msx8hqn2.js → project-msx8hqn2.js} +0 -0
  756. /package/dist/chunks/{worktree-n05xt0ee.js → project-n05xt0ee.js} +0 -0
  757. /package/dist/chunks/{worktree-n3j8tn72.js → project-n3j8tn72.js} +0 -0
  758. /package/dist/chunks/{worktree-njntx4h6.js → project-njntx4h6.js} +0 -0
  759. /package/dist/chunks/{worktree-paphc93g.js → project-paphc93g.js} +0 -0
  760. /package/dist/chunks/{worktree-q3sfg36h.js → project-q3sfg36h.js} +0 -0
  761. /package/dist/chunks/{worktree-q74kybfr.js → project-q74kybfr.js} +0 -0
  762. /package/dist/chunks/{worktree-qaymkmh1.js → project-qaymkmh1.js} +0 -0
  763. /package/dist/chunks/{worktree-qb87gjwd.js → project-qb87gjwd.js} +0 -0
  764. /package/dist/chunks/{worktree-qfa1cgps.js → project-qfa1cgps.js} +0 -0
  765. /package/dist/chunks/{worktree-qrg20bc0.js → project-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{worktree-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{worktree-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{worktree-sk3qaz4a.js → project-sk3qaz4a.js} +0 -0
  769. /package/dist/chunks/{worktree-ssg3fenm.js → project-ssg3fenm.js} +0 -0
  770. /package/dist/chunks/{worktree-twg0f83k.js → project-twg0f83k.js} +0 -0
  771. /package/dist/chunks/{worktree-w803qqfp.js → project-w803qqfp.js} +0 -0
  772. /package/dist/chunks/{worktree-wer8tq1h.js → project-wer8tq1h.js} +0 -0
  773. /package/dist/chunks/{worktree-wtztk69x.js → project-wtztk69x.js} +0 -0
  774. /package/dist/chunks/{worktree-x0ckcb58.js → project-x0ckcb58.js} +0 -0
  775. /package/dist/chunks/{worktree-x61499pn.js → project-x61499pn.js} +0 -0
  776. /package/dist/chunks/{worktree-y44na4kk.js → project-y44na4kk.js} +0 -0
  777. /package/dist/chunks/{worktree-y8cydn3q.js → project-y8cydn3q.js} +0 -0
  778. /package/dist/chunks/{worktree-y8f7s663.js → project-y8f7s663.js} +0 -0
  779. /package/dist/chunks/{worktree-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
  780. /package/dist/chunks/{worktree-ym463w8f.js → project-ym463w8f.js} +0 -0
  781. /package/dist/chunks/{worktree-z9919s4g.js → project-z9919s4g.js} +0 -0
@@ -1,47 +1,47 @@
1
1
  import {
2
- ID16,
3
- Service74
4
- } from "./worktree-ha84e8c9.js";
2
+ ID12,
3
+ Service68
4
+ } from "./project-fn3pntxg.js";
5
5
  import {
6
6
  latest2,
7
- Service40
8
- } from "./worktree-ert0es5w.js";
7
+ Service53
8
+ } from "./project-7h2z3prw.js";
9
9
  import {
10
10
  SessionSchema2
11
- } from "./worktree-j7wq2tw5.js";
11
+ } from "./project-3yjg5mh2.js";
12
12
  import {
13
- Service60
14
- } from "./worktree-b0pfq9rw.js";
13
+ Service49
14
+ } from "./project-pncxwfjb.js";
15
15
  import {
16
16
  evaluate2,
17
- Service71
18
- } from "./worktree-zw0bbc6p.js";
17
+ Service65
18
+ } from "./project-rrzxexy0.js";
19
19
  import {
20
- Service24
21
- } from "./worktree-g0rx3fxn.js";
20
+ Service26
21
+ } from "./project-3dv0dhzr.js";
22
22
  import {
23
23
  NO_TEXT2
24
- } from "./worktree-x1ezjp6w.js";
24
+ } from "./project-x1ezjp6w.js";
25
25
  import {
26
26
  make9
27
- } from "./worktree-pemhtd8f.js";
27
+ } from "./project-8za6t4pe.js";
28
28
  import {
29
29
  __export
30
- } from "./worktree-9rqn6x4v.js";
30
+ } from "./project-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/subagent.ts
33
33
  var exports_subagent = {};
34
34
  __export(exports_subagent, {
35
- Input: () => Input7,
35
+ Input: () => Input5,
36
36
  Output: () => Output4,
37
- Plugin: () => Plugin21,
37
+ Plugin: () => Plugin36,
38
38
  SubagentTool: () => exports_subagent,
39
- description: () => description4,
40
- name: () => name7
39
+ description: () => description3,
40
+ name: () => name5
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
- var name7 = "subagent";
44
+ var name5 = "subagent";
45
45
  var backgroundResult = (sessionID) => ({
46
46
  sessionID,
47
47
  status: "running",
@@ -52,7 +52,7 @@ var backgroundResult = (sessionID) => ({
52
52
  ].join(`
53
53
  `)
54
54
  });
55
- var Input7 = Schema.Struct({
55
+ var Input5 = Schema.Struct({
56
56
  agent: Schema.String.annotate({ description: "The type of specialized agent to use for this task" }),
57
57
  description: Schema.String.annotate({ description: "A short 3-5 word label for the task, displayed to the user" }),
58
58
  prompt: Schema.String.annotate({ description: "The task for the subagent to perform" }),
@@ -68,7 +68,7 @@ var Output4 = Schema.Struct({
68
68
  status: Schema.Literals(["completed", "running"]),
69
69
  output: Schema.String
70
70
  });
71
- var description4 = [
71
+ var description3 = [
72
72
  "Spawns an agent in a child session to work on the specified task.",
73
73
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
74
74
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -77,20 +77,20 @@ var description4 = [
77
77
  "Use background only for independent work that can run while you continue elsewhere."
78
78
  ].join(`
79
79
  `);
80
- var Plugin21 = {
80
+ var Plugin36 = {
81
81
  id: "opencode.tool.subagent",
82
82
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
83
- const sessions = yield* Service24;
84
- const jobs = yield* Service60;
85
- const agents = yield* Service74;
86
- const config = yield* Service40;
87
- const permission = yield* Service71;
83
+ const sessions = yield* Service26;
84
+ const jobs = yield* Service49;
85
+ const agents = yield* Service68;
86
+ const config = yield* Service53;
87
+ const permission = yield* Service65;
88
88
  const subagents = yield* make9;
89
89
  yield* ctx.tool.transform((editor) => editor.add({
90
- name: name7,
90
+ name: name5,
91
91
  options: { codemode: false },
92
- description: description4,
93
- input: Input7,
92
+ description: description3,
93
+ input: Input5,
94
94
  output: Output4,
95
95
  execute: (input, context) => Effect.gen(function* () {
96
96
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
@@ -111,7 +111,7 @@ var Plugin21 = {
111
111
  if (agent.mode === "primary")
112
112
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
113
113
  yield* permission.assert({
114
- action: name7,
114
+ action: name5,
115
115
  resources: [agent.id],
116
116
  save: [agent.id],
117
117
  sessionID: context.sessionID,
@@ -134,7 +134,7 @@ var Plugin21 = {
134
134
  const child = existing ?? (yield* sessions.create({
135
135
  parentID: context.sessionID,
136
136
  title: input.description,
137
- agent: ID16.make(input.agent),
137
+ agent: ID12.make(input.agent),
138
138
  model
139
139
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
140
140
  const background = input.background === true;
@@ -184,13 +184,13 @@ ${output.output}
184
184
  })))
185
185
  })).pipe(Effect.orDie);
186
186
  yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
187
- const tool = event.tools[name7];
187
+ const tool = event.tools[name5];
188
188
  if (!tool)
189
189
  return;
190
190
  const selected = yield* agents.resolve(event.agent);
191
191
  if (!selected)
192
192
  return;
193
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name7, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
193
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name5, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
194
194
  if (available.length === 0)
195
195
  return;
196
196
  tool.description = [
@@ -204,4 +204,4 @@ ${output.output}
204
204
  })
205
205
  };
206
206
 
207
- export { name7, Input7, Output4, description4, Plugin21, exports_subagent };
207
+ export { name5, Input5, Output4, description3, Plugin36, exports_subagent };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./worktree-922hggd3.js";
3
+ } from "./project-922hggd3.js";
4
4
  import {
5
5
  root2
6
- } from "./worktree-61rrve2h.js";
6
+ } from "./project-yyb6d1pw.js";
7
7
  import {
8
- Service75,
9
- node80
10
- } from "./worktree-6zfbav3y.js";
8
+ Service76,
9
+ node81
10
+ } from "./project-xw98cjw1.js";
11
11
  import {
12
- Service71,
13
- node76
14
- } from "./worktree-zw0bbc6p.js";
12
+ Service65,
13
+ node68
14
+ } from "./project-rrzxexy0.js";
15
15
  import {
16
16
  __export
17
- } from "./worktree-9rqn6x4v.js";
17
+ } from "./project-9rqn6x4v.js";
18
18
 
19
19
  // src/file-access.ts
20
20
  var exports_file_access = {};
@@ -22,9 +22,9 @@ __export(exports_file_access, {
22
22
  FileAccess: () => exports_file_access,
23
23
  Kind: () => Kind2,
24
24
  ResolveInput: () => ResolveInput2,
25
- Service: () => Service70,
25
+ Service: () => Service20,
26
26
  externalDirectoryPermission: () => externalDirectoryPermission2,
27
- node: () => node75,
27
+ node: () => node24,
28
28
  resolvePath: () => resolvePath2
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
43
43
  save: [input.save]
44
44
  });
45
45
 
46
- class Service70 extends Context.Service()("@opencode/FileAccess") {
46
+ class Service20 extends Context.Service()("@opencode/FileAccess") {
47
47
  }
48
48
  var resolvePath2 = (directory, input, home = Global.Path.home) => {
49
49
  const normalized = FSUtil.windowsPath(input);
@@ -55,10 +55,10 @@ var invocation = (context) => ({
55
55
  agent: context.agent,
56
56
  source: { type: "tool", messageID: context.messageID, id: context.id }
57
57
  });
58
- var layer = Layer.effect(Service70, Effect.gen(function* () {
58
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
59
59
  const fs = yield* FSUtil.Service;
60
- const location = yield* Service75;
61
- const permission = yield* Service71;
60
+ const location = yield* Service76;
61
+ const permission = yield* Service65;
62
62
  const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
63
63
  const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
64
64
  const worktree = path.resolve(location.project.directory);
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
107
107
  });
108
108
  return target;
109
109
  });
110
- return Service70.of({ resolve, authorizeExternal, authorizeRead });
110
+ return Service20.of({ resolve, authorizeExternal, authorizeRead });
111
111
  }));
112
- var node75 = makeLocationNode({ service: Service70, layer, deps: [FSUtil.node, node80, node76] });
112
+ var node24 = makeLocationNode({ service: Service20, layer, deps: [FSUtil.node, node81, node68] });
113
113
 
114
- export { Kind2, ResolveInput2, externalDirectoryPermission2, Service70, resolvePath2, node75, exports_file_access };
114
+ export { Kind2, ResolveInput2, externalDirectoryPermission2, Service20, resolvePath2, node24, exports_file_access };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  useragent2
3
- } from "./worktree-f59qb7z8.js";
3
+ } from "./project-zp5ax0qn.js";
4
4
  import {
5
5
  Service78
6
- } from "./worktree-7gf7znvm.js";
6
+ } from "./project-jmz50v4a.js";
7
7
  import {
8
8
  OAuth3,
9
- Event12,
10
- Service58
11
- } from "./worktree-jnkjkfmr.js";
9
+ Event14,
10
+ Service62
11
+ } from "./project-xse6m6qk.js";
12
12
  import {
13
- ID8,
13
+ ID6,
14
14
  MethodID2,
15
- Service57
16
- } from "./worktree-bxss1q04.js";
15
+ Service61
16
+ } from "./project-4e10zhsk.js";
17
17
  import {
18
18
  success2,
19
19
  error2
20
- } from "./worktree-pjvnvgmy.js";
20
+ } from "./project-pjvnvgmy.js";
21
21
  import {
22
- ID11
23
- } from "./worktree-mm6ytk77.js";
22
+ ID16
23
+ } from "./project-x71d43dg.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./worktree-b46p56xf.js";
26
+ } from "./project-h0n6hk95.js";
27
27
 
28
28
  // src/plugin/provider/snowflake-cortex.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
30
30
  import { Form } from "@opencode/schema/form";
31
31
  import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
32
32
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
33
- var providerID = ID11.make("snowflake-cortex");
34
- var integrationID = ID8.make(providerID);
33
+ var providerID = ID16.make("snowflake-cortex");
34
+ var integrationID = ID6.make(providerID);
35
35
  var methodID = MethodID2.make("browser");
36
36
  var clientID = "LOCAL_APPLICATION";
37
37
  var accountForm = Form.Fields.make([
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
53
53
  id: "opencode.provider.snowflake.cortex",
54
54
  effect: Effect.fn(function* (ctx) {
55
55
  const http = yield* HttpClient.HttpClient;
56
- const credentials = yield* Service58;
57
- const integrations = yield* Service57;
56
+ const credentials = yield* Service62;
57
+ const integrations = yield* Service61;
58
58
  const bus = yield* Service78;
59
59
  const configured = yield* configuredSettings2(providerID);
60
60
  const account = { value: "" };
@@ -178,7 +178,7 @@ var SnowflakeCortexPlugin2 = define({
178
178
  model.settings.baseURL = endpoint(model.settings.baseURL, account.value);
179
179
  }
180
180
  });
181
- yield* bus.subscribe(Event12.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
181
+ yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
182
182
  yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
183
183
  const token = envToken();
184
184
  if (token)
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./worktree-922hggd3.js";
3
+ } from "./project-922hggd3.js";
4
4
  import {
5
- Service75
6
- } from "./worktree-6zfbav3y.js";
5
+ Service76
6
+ } from "./project-xw98cjw1.js";
7
7
  import {
8
- Service40
9
- } from "./worktree-ert0es5w.js";
8
+ Service53
9
+ } from "./project-7h2z3prw.js";
10
10
  import {
11
- Service62
12
- } from "./worktree-gzswxrvt.js";
11
+ Service75
12
+ } from "./project-z9p65wfg.js";
13
13
  import {
14
14
  observe2
15
- } from "./worktree-qsdy395h.js";
15
+ } from "./project-qsdy395h.js";
16
16
  import {
17
17
  __export
18
- } from "./worktree-9rqn6x4v.js";
18
+ } from "./project-9rqn6x4v.js";
19
19
 
20
20
  // src/config/plugin/worktree.ts
21
21
  var exports_worktree = {};
22
22
  __export(exports_worktree, {
23
23
  ConfigWorktreePlugin: () => exports_worktree,
24
- Plugin: () => Plugin40
24
+ Plugin: () => Plugin17
25
25
  });
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { Effect } from "effect";
28
28
  import path from "path";
29
29
  import { Global } from "@opencode/util/global";
30
- var Plugin40 = define({
30
+ var Plugin17 = define({
31
31
  id: "opencode.config.worktree",
32
32
  effect: Effect.fn(function* (ctx) {
33
- const config = yield* Service40;
34
- const location = yield* Service75;
33
+ const config = yield* Service53;
34
+ const location = yield* Service76;
35
35
  const global = yield* Global.Service;
36
- const worktrees = yield* Service62;
36
+ const worktrees = yield* Service75;
37
37
  const loaded = yield* observe2(config, ctx.event, worktrees.reload());
38
38
  yield* worktrees.transform((editor) => {
39
39
  for (const entry of loaded.entries) {
@@ -48,4 +48,4 @@ var Plugin40 = define({
48
48
  })
49
49
  });
50
50
 
51
- export { Plugin40, exports_worktree };
51
+ export { Plugin17, exports_worktree };
@@ -1,34 +1,34 @@
1
1
  import {
2
- Service75
3
- } from "./worktree-6zfbav3y.js";
2
+ Service76
3
+ } from "./project-xw98cjw1.js";
4
4
  import {
5
5
  PATCH_CONTEXT_LINES2,
6
6
  MAX_PATCH_BYTES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2,
9
9
  chunksByFile2
10
- } from "./worktree-tazgh4e4.js";
10
+ } from "./project-tazgh4e4.js";
11
11
  import {
12
12
  DiffError2
13
- } from "./worktree-zvnk3gn3.js";
13
+ } from "./project-0kgvfrm4.js";
14
14
  import {
15
15
  __export
16
- } from "./worktree-9rqn6x4v.js";
16
+ } from "./project-9rqn6x4v.js";
17
17
 
18
18
  // src/plugin/vcs/git.ts
19
19
  var exports_git = {};
20
20
  __export(exports_git, {
21
- Plugin: () => Plugin2,
21
+ Plugin: () => Plugin24,
22
22
  VcsGitPlugin: () => exports_git
23
23
  });
24
24
  import { define } from "@opencode/plugin/effect/plugin";
25
25
  import { Effect } from "effect";
26
26
  import { ChildProcess } from "effect/unstable/process";
27
27
  import { AppProcess } from "@opencode/util/process";
28
- var Plugin2 = define({
28
+ var Plugin24 = define({
29
29
  id: "opencode.vcs.git",
30
30
  effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
31
- const location = yield* Service75;
31
+ const location = yield* Service76;
32
32
  if (location.vcs?.type !== "git")
33
33
  return;
34
34
  const processes = yield* AppProcess.Service;
@@ -467,4 +467,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
467
467
  return yield* diffAgainstRef(ctx, ref, options);
468
468
  });
469
469
 
470
- export { Plugin2, exports_git };
470
+ export { Plugin24, exports_git };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  Service78,
3
3
  node83
4
- } from "./worktree-7gf7znvm.js";
4
+ } from "./project-jmz50v4a.js";
5
5
  import {
6
- Service75,
7
- node80
8
- } from "./worktree-6zfbav3y.js";
6
+ Service76,
7
+ node81
8
+ } from "./project-xw98cjw1.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./worktree-ec1grn59.js";
11
+ } from "./project-ec1grn59.js";
12
12
  import {
13
- Service73,
14
- node78
15
- } from "./worktree-n0efajb2.js";
13
+ Service67,
14
+ node70
15
+ } from "./project-wa8w638y.js";
16
16
  import {
17
17
  __export
18
- } from "./worktree-9rqn6x4v.js";
18
+ } from "./project-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instructions.ts
21
21
  var exports_instructions = {};
22
22
  __export(exports_instructions, {
23
- Service: () => Service7,
23
+ Service: () => Service10,
24
24
  SessionInstructions: () => exports_instructions,
25
- node: () => node10
25
+ node: () => node12
26
26
  });
27
27
  import { relative } from "path";
28
28
  import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
32
32
  instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
33
33
  });
34
34
 
35
- class Service7 extends Context.Service()("@opencode/SessionInstructions") {
35
+ class Service10 extends Context.Service()("@opencode/SessionInstructions") {
36
36
  }
37
- var layer = Layer.effect(Service7, Effect.gen(function* () {
37
+ var layer = Layer.effect(Service10, Effect.gen(function* () {
38
38
  const bus = yield* Service78;
39
39
  const fs = yield* FSUtil.Service;
40
- const store = yield* Service73;
41
- const location = yield* Service75;
40
+ const store = yield* Service67;
41
+ const location = yield* Service76;
42
42
  const root = yield* fs.resolve(location.project.directory);
43
43
  const inFlight = yield* Ref.make(new Map);
44
44
  const load = Effect.fn("SessionInstructions.load")(function* (input) {
@@ -84,7 +84,7 @@ ${file.content}`).join(`
84
84
  return next;
85
85
  })));
86
86
  });
87
- return Service7.of({ load });
87
+ return Service10.of({ load });
88
88
  }));
89
89
  function previouslyInjected(store, sessionID) {
90
90
  return Effect.gen(function* () {
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
95
95
  function describePath(root, path) {
96
96
  return FSUtil.contains(root, path) ? relative(root, path) : path;
97
97
  }
98
- var node10 = makeLocationNode({
98
+ var node12 = makeLocationNode({
99
99
  name: "session-instructions",
100
100
  layer,
101
- deps: [node83, FSUtil.node, node80, node78]
101
+ deps: [node83, FSUtil.node, node81, node70]
102
102
  });
103
103
 
104
- export { Service7, node10, exports_instructions };
104
+ export { Service10, node12, exports_instructions };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  Service78,
3
3
  node83
4
- } from "./worktree-7gf7znvm.js";
4
+ } from "./project-jmz50v4a.js";
5
5
  import {
6
- Service75,
7
- node80
8
- } from "./worktree-6zfbav3y.js";
6
+ Service76,
7
+ node81
8
+ } from "./project-xw98cjw1.js";
9
9
  import {
10
10
  reconcile2,
11
11
  create3
12
- } from "./worktree-kg06axw8.js";
12
+ } from "./project-kg06axw8.js";
13
13
  import {
14
14
  PATCH_CONTEXT_LINES2,
15
15
  MAX_TOTAL_PATCH_BYTES2,
16
16
  emptyPatch2
17
- } from "./worktree-tazgh4e4.js";
17
+ } from "./project-tazgh4e4.js";
18
18
  import {
19
19
  __export
20
- } from "./worktree-9rqn6x4v.js";
20
+ } from "./project-9rqn6x4v.js";
21
21
 
22
22
  // src/vcs.ts
23
23
  var exports_vcs = {};
@@ -28,9 +28,9 @@ __export(exports_vcs, {
28
28
  FileStatus: () => FileStatus2,
29
29
  Info: () => Info3,
30
30
  Mode: () => Mode2,
31
- Service: () => Service20,
31
+ Service: () => Service19,
32
32
  Vcs: () => exports_vcs,
33
- node: () => node24
33
+ node: () => node23
34
34
  });
35
35
  import path from "path";
36
36
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
@@ -45,11 +45,11 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
45
45
  }) {
46
46
  }
47
47
 
48
- class Service20 extends Context.Service()("@opencode/Vcs") {
48
+ class Service19 extends Context.Service()("@opencode/Vcs") {
49
49
  }
50
- var layer = Layer.effect(Service20, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service19, Effect.gen(function* () {
51
51
  const fs = yield* FSUtil.Service;
52
- const location = yield* Service75;
52
+ const location = yield* Service76;
53
53
  const bus = yield* Service78;
54
54
  const root = yield* Effect.scope;
55
55
  const fork = yield* FiberSet.makeRuntime();
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
115
115
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
116
116
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
117
117
  }
118
- return Service20.of({
118
+ return Service19.of({
119
119
  transform: state.transform,
120
120
  reload: state.reload,
121
121
  info: Effect.fn("Vcs.info")(function* () {
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
161
161
  })
162
162
  });
163
163
  }));
164
- var node24 = makeLocationNode({
165
- service: Service20,
164
+ var node23 = makeLocationNode({
165
+ service: Service19,
166
166
  layer,
167
- deps: [FSUtil.node, node80, node83]
167
+ deps: [FSUtil.node, node81, node83]
168
168
  });
169
169
 
170
- export { Base2, BranchList2, FileStatus2, Info3, Mode2, DiffError2, Service20, node24, exports_vcs };
170
+ export { Base2, BranchList2, FileStatus2, Info3, Mode2, DiffError2, Service19, node23, exports_vcs };
@@ -1,7 +1,7 @@
1
1
  import {
2
- ID11,
2
+ ID16,
3
3
  packageName2
4
- } from "./worktree-mm6ytk77.js";
4
+ } from "./project-x71d43dg.js";
5
5
 
6
6
  // src/plugin/provider/amazon-bedrock.ts
7
7
  import { Effect } from "effect";
@@ -22,7 +22,7 @@ var AmazonBedrockPlugin2 = define({
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* ctx.integration.transform((editor) => {
24
24
  editor.method.update({
25
- integrationID: ID11.amazonBedrock,
25
+ integrationID: ID16.amazonBedrock,
26
26
  method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
27
27
  });
28
28
  });