@opencode/core 0.0.0-dev-19530 → 0.0.0-dev-19532

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 (782) 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 +74 -74
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{model-vshq87yh.js → bus-02592khq.js} +31 -31
  9. package/dist/chunks/{model-w5me5d90.js → bus-0dyq8gyf.js} +11 -11
  10. package/dist/chunks/{model-35agz59w.js → bus-0gaj4617.js} +6 -6
  11. package/dist/chunks/bus-0mesazry.js +4 -0
  12. package/dist/chunks/{model-0paq2nw3.js → bus-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{model-0q0f95c6.js → bus-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{model-vncycja5.js → bus-0v53mg2y.js} +4 -4
  15. package/dist/chunks/{model-3rqkssp8.js → bus-0w62qmxp.js} +6 -6
  16. package/dist/chunks/{model-6rbveq4m.js → bus-0x70yrfe.js} +4 -4
  17. package/dist/chunks/{model-5kqd1r0d.js → bus-0yb3zt6n.js} +91 -91
  18. package/dist/chunks/{model-zc27a7bm.js → bus-0yrw6g29.js} +4 -4
  19. package/dist/chunks/{model-677w9byw.js → bus-16t47m27.js} +10 -10
  20. package/dist/chunks/{model-dn3t1y0q.js → bus-16z1avxm.js} +40 -40
  21. package/dist/chunks/{model-v5dkyp31.js → bus-19vf66h0.js} +4 -4
  22. package/dist/chunks/{model-257a402r.js → bus-1a6961cr.js} +13 -13
  23. package/dist/chunks/{model-pwqcks32.js → bus-1b33eeqb.js} +5 -5
  24. package/dist/chunks/{model-htza7hdd.js → bus-1cq7yd6n.js} +24 -24
  25. package/dist/chunks/{model-1dazxqgg.js → bus-1dazxqgg.js} +2 -2
  26. package/dist/chunks/{model-c5nvra9m.js → bus-1n1xdze8.js} +4 -4
  27. package/dist/chunks/{model-21r38tys.js → bus-21r38tys.js} +1 -1
  28. package/dist/chunks/{model-s8bz6z4k.js → bus-2a4f6v5q.js} +8 -8
  29. package/dist/chunks/{model-2a5m3afh.js → bus-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{model-25gn6xf8.js → bus-2dwd4qsj.js} +11 -11
  31. package/dist/chunks/{model-6bsje7ws.js → bus-2f04pwep.js} +3 -3
  32. package/dist/chunks/{model-3d6q6ejm.js → bus-2js4x8sp.js} +29 -29
  33. package/dist/chunks/{model-aqjqj2ff.js → bus-2rrdrtgw.js} +6 -6
  34. package/dist/chunks/{model-2xrspd6r.js → bus-2t1a0z9j.js} +22 -22
  35. package/dist/chunks/{model-qa2mkktq.js → bus-2wt45vda.js} +41 -41
  36. package/dist/chunks/{model-ps77swb3.js → bus-2x6b16q7.js} +3 -3
  37. package/dist/chunks/{model-q13p9eja.js → bus-3fqa324q.js} +17 -17
  38. package/dist/chunks/{model-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{model-dgdas7td.js → bus-3ry95nek.js} +16 -16
  40. package/dist/chunks/{model-3smtnn6g.js → bus-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{model-exatzf7p.js → bus-3sv5gq6k.js} +18 -18
  42. package/dist/chunks/{model-3tvqynh2.js → bus-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{model-p87gvwbv.js → bus-3v2k7spa.js} +18 -18
  44. package/dist/chunks/{model-mb2y4s57.js → bus-3zskh2xb.js} +16 -16
  45. package/dist/chunks/{model-5hac0djz.js → bus-44zpxywp.js} +293 -293
  46. package/dist/chunks/{model-a04ypazz.js → bus-46zct9q2.js} +37 -37
  47. package/dist/chunks/{model-nhy5jxhy.js → bus-47gsdddb.js} +5 -5
  48. package/dist/chunks/{model-20355881.js → bus-4bw04cwj.js} +9 -9
  49. package/dist/chunks/{model-n4m2mkxj.js → bus-4pc0t7v2.js} +12 -12
  50. package/dist/chunks/{model-znz7rtxh.js → bus-4psfaqfh.js} +11 -11
  51. package/dist/chunks/{model-a9759q1q.js → bus-4pxgevm9.js} +6 -6
  52. package/dist/chunks/{model-97mdmb9a.js → bus-4qw8y0pn.js} +17 -17
  53. package/dist/chunks/{model-gkt6z8r9.js → bus-4x21xr9m.js} +20 -20
  54. package/dist/chunks/{model-4y66k410.js → bus-4y66k410.js} +2 -2
  55. package/dist/chunks/{model-9n8nxpxn.js → bus-4zja7gva.js} +18 -18
  56. package/dist/chunks/{model-5q82gfck.js → bus-50qts2yg.js} +11 -11
  57. package/dist/chunks/{model-7pkhtfns.js → bus-53qwdxjh.js} +12 -12
  58. package/dist/chunks/{model-qfpa574x.js → bus-54sc4q3z.js} +16 -16
  59. package/dist/chunks/{model-219neeqh.js → bus-55a4dvpq.js} +5 -5
  60. package/dist/chunks/{model-33w4ejhs.js → bus-56gdpj1q.js} +6 -6
  61. package/dist/chunks/{model-5daktx2q.js → bus-5daktx2q.js} +1 -1
  62. package/dist/chunks/{model-qrq421eh.js → bus-5eadk2y6.js} +25 -25
  63. package/dist/chunks/{model-3hdw1vhc.js → bus-5f78vy6n.js} +49 -49
  64. package/dist/chunks/{model-7m5f9412.js → bus-5hk4b2g6.js} +8 -8
  65. package/dist/chunks/{model-a6kqfaee.js → bus-5j8ch41c.js} +9 -9
  66. package/dist/chunks/bus-5ndkbceg.js +247 -0
  67. package/dist/chunks/{model-5t3nmthw.js → bus-5t3nmthw.js} +2 -2
  68. package/dist/chunks/{model-tsfgabrd.js → bus-60j88ajr.js} +40 -40
  69. package/dist/chunks/{model-669tq793.js → bus-669tq793.js} +1 -1
  70. package/dist/chunks/{model-7y4pbgtc.js → bus-66vyzje4.js} +15 -15
  71. package/dist/chunks/{model-cq9pat89.js → bus-6gf7pn9e.js} +28 -28
  72. package/dist/chunks/{model-6pnccst9.js → bus-6gq5qk75.js} +23 -23
  73. package/dist/chunks/{model-6h73sxmp.js → bus-6h73sxmp.js} +1 -1
  74. package/dist/chunks/{model-cztasbnk.js → bus-6m4cf926.js} +12 -12
  75. package/dist/chunks/{model-6msgmcgs.js → bus-6msgmcgs.js} +1 -1
  76. package/dist/chunks/{model-0cebr7hk.js → bus-6n09301d.js} +2 -2
  77. package/dist/chunks/{model-z9pwsk94.js → bus-6rsp9rtj.js} +13 -13
  78. package/dist/chunks/{model-5tgjep30.js → bus-71mnszxh.js} +6 -6
  79. package/dist/chunks/{model-71q4at8m.js → bus-71q4at8m.js} +1 -1
  80. package/dist/chunks/{model-r8x9m1qg.js → bus-74hkwjyc.js} +31 -31
  81. package/dist/chunks/{model-px2sqpay.js → bus-75ke43vn.js} +23 -23
  82. package/dist/chunks/{model-dwgpa5q5.js → bus-770xh70b.js} +28 -28
  83. package/dist/chunks/{model-6psebnbx.js → bus-7938r61h.js} +29 -29
  84. package/dist/chunks/{model-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
  85. package/dist/chunks/{model-ymca8mtq.js → bus-7dfrp1b5.js} +15 -15
  86. package/dist/chunks/{model-2k8khapm.js → bus-7dqw4kz8.js} +5 -5
  87. package/dist/chunks/{model-phc8pspp.js → bus-7p797550.js} +6 -6
  88. package/dist/chunks/{model-y5mrfvw4.js → bus-81swgkk7.js} +9 -9
  89. package/dist/chunks/{model-wgwrm75m.js → bus-85maddxk.js} +173 -173
  90. package/dist/chunks/{model-r0gpwmmm.js → bus-87mhqf8f.js} +7 -7
  91. package/dist/chunks/{model-8d7r5vzw.js → bus-8d7r5vzw.js} +1 -1
  92. package/dist/chunks/{model-a0mw1hja.js → bus-8ffq6xab.js} +15 -15
  93. package/dist/chunks/{model-8p4f9s12.js → bus-8p4f9s12.js} +2 -2
  94. package/dist/chunks/{model-y7gk6gsz.js → bus-8z7d5nc1.js} +10 -10
  95. package/dist/chunks/{model-ev82ehxs.js → bus-90ettt65.js} +24 -24
  96. package/dist/chunks/{model-ayv404k4.js → bus-9xhs6jd2.js} +4 -4
  97. package/dist/chunks/{model-whsrbek6.js → bus-a0eq18d3.js} +11 -11
  98. package/dist/chunks/{model-a1bz86dw.js → bus-a1bz86dw.js} +3 -3
  99. package/dist/chunks/{model-dq8fe4ed.js → bus-a8mmyy8c.js} +11 -11
  100. package/dist/chunks/{model-265kqrgy.js → bus-a8nah55w.js} +1 -1
  101. package/dist/chunks/{model-aaet6srn.js → bus-aaet6srn.js} +2 -2
  102. package/dist/chunks/{model-mtc9q228.js → bus-ae15aq84.js} +24 -24
  103. package/dist/chunks/{model-5b2dqtre.js → bus-afjqk4pm.js} +7 -7
  104. package/dist/chunks/{model-9q9jdv8e.js → bus-afycertr.js} +27 -27
  105. package/dist/chunks/{model-wavq5vqb.js → bus-akw77m90.js} +1 -1
  106. package/dist/chunks/{model-5rgh8ask.js → bus-amvyxnqq.js} +28 -28
  107. package/dist/chunks/{model-1gbs1kbt.js → bus-b2a4y3ge.js} +9 -9
  108. package/dist/chunks/{model-vfqqz6ex.js → bus-b2xqb8rz.js} +9 -9
  109. package/dist/chunks/{model-cw6d4prj.js → bus-b39wx4cr.js} +22 -22
  110. package/dist/chunks/{model-b6gygkdw.js → bus-b6gygkdw.js} +2 -2
  111. package/dist/chunks/{model-a5r6p83p.js → bus-ba48bprk.js} +19 -19
  112. package/dist/chunks/{model-mkhznv56.js → bus-bbdswm9c.js} +9 -9
  113. package/dist/chunks/{model-0sfsr3zt.js → bus-bc62zhsy.js} +27 -27
  114. package/dist/chunks/{model-bajakh74.js → bus-bha4atvq.js} +4 -4
  115. package/dist/chunks/{model-zm3pd5tb.js → bus-bmn5hybw.js} +29 -29
  116. package/dist/chunks/{model-03y65m91.js → bus-bphns1nr.js} +4 -4
  117. package/dist/chunks/{model-zdrvw4c2.js → bus-bspv2gr0.js} +27 -27
  118. package/dist/chunks/{model-vf5jgz4g.js → bus-c16gk4qh.js} +41 -41
  119. package/dist/chunks/{model-j181hgc5.js → bus-c5yfc3wf.js} +10 -10
  120. package/dist/chunks/{model-sh0rasge.js → bus-c6g8q0m5.js} +47 -47
  121. package/dist/chunks/{model-3w0fmcng.js → bus-c78bbtc9.js} +5 -5
  122. package/dist/chunks/{model-g3vfgj64.js → bus-c7sjv0xt.js} +21 -21
  123. package/dist/chunks/{model-cfpkc3c9.js → bus-cfpkc3c9.js} +2 -2
  124. package/dist/chunks/{model-h56egzzg.js → bus-cze4a9ee.js} +4 -4
  125. package/dist/chunks/{model-yt0fqk68.js → bus-d2aac7k2.js} +5 -5
  126. package/dist/chunks/{model-dnc4tg6k.js → bus-dc76j9wz.js} +7 -7
  127. package/dist/chunks/{model-bya8prfn.js → bus-dd6zat4h.js} +5 -5
  128. package/dist/chunks/{model-8n9190v4.js → bus-dfyxxgza.js} +9 -9
  129. package/dist/chunks/{model-v4hmzr0r.js → bus-dgj0dq1g.js} +8 -8
  130. package/dist/chunks/{model-sp8m6a9q.js → bus-dhbqv74m.js} +9 -9
  131. package/dist/chunks/{model-c462van6.js → bus-e30q84vv.js} +31 -31
  132. package/dist/chunks/{model-31jd4e8t.js → bus-e47b9zhk.js} +1 -1
  133. package/dist/chunks/{model-t550f9t1.js → bus-eaj1djv9.js} +8 -8
  134. package/dist/chunks/{model-s0esgemt.js → bus-ec8389mk.js} +4 -4
  135. package/dist/chunks/{model-0snep097.js → bus-ed1pg64g.js} +21 -21
  136. package/dist/chunks/{model-qwrxphsy.js → bus-ehs9b5vx.js} +17 -17
  137. package/dist/chunks/{model-6895yszx.js → bus-eqk8yf10.js} +11 -11
  138. package/dist/chunks/{model-etq0c3wd.js → bus-etq0c3wd.js} +1 -1
  139. package/dist/chunks/{model-e5yeyj5b.js → bus-ev45yzk9.js} +11 -11
  140. package/dist/chunks/{model-f828m53h.js → bus-f828m53h.js} +2 -2
  141. package/dist/chunks/{model-xkc587sw.js → bus-fe2agyxh.js} +17 -17
  142. package/dist/chunks/{model-0pb75hch.js → bus-ferfphdt.js} +5 -5
  143. package/dist/chunks/{model-6csep4d6.js → bus-ff8d0h66.js} +16 -16
  144. package/dist/chunks/{model-bz2p45ry.js → bus-fg7sn5ej.js} +25 -25
  145. package/dist/chunks/{model-t0x5rdq8.js → bus-fjmrr6sh.js} +9 -9
  146. package/dist/chunks/{model-vg018stg.js → bus-fjz9v5g8.js} +47 -47
  147. package/dist/chunks/{model-vze96k0n.js → bus-frwpyczr.js} +4 -4
  148. package/dist/chunks/{model-91y7rpnn.js → bus-fw1930ms.js} +6 -6
  149. package/dist/chunks/{model-fxbjtjnd.js → bus-fxbjtjnd.js} +1 -1
  150. package/dist/chunks/{model-vtjb7z8s.js → bus-fxc2xvv4.js} +23 -23
  151. package/dist/chunks/{model-0m04t0a0.js → bus-g5vg9enj.js} +16 -16
  152. package/dist/chunks/{model-35wynegs.js → bus-g8471784.js} +2 -2
  153. package/dist/chunks/{model-9d3a58tj.js → bus-garm4sqs.js} +11 -11
  154. package/dist/chunks/{model-gd4qta3r.js → bus-gd4qta3r.js} +1 -1
  155. package/dist/chunks/{model-3fc6dm20.js → bus-gdvy8fx6.js} +4 -4
  156. package/dist/chunks/{model-4mddsdbt.js → bus-ghr3zqya.js} +19 -19
  157. package/dist/chunks/{model-8e5vt1qx.js → bus-gm1wa5n1.js} +26 -26
  158. package/dist/chunks/{model-p2h53nt6.js → bus-gqc6jj57.js} +22 -22
  159. package/dist/chunks/{model-jx3c22rf.js → bus-grgpe7m7.js} +11 -11
  160. package/dist/chunks/{model-6jnybvqn.js → bus-gsx0ryk4.js} +9 -9
  161. package/dist/chunks/{model-3hf7z3yq.js → bus-gsy9mqvk.js} +11 -11
  162. package/dist/chunks/{model-gv6a8nnw.js → bus-gv6a8nnw.js} +2 -2
  163. package/dist/chunks/{model-n7hjcbvg.js → bus-gzqektst.js} +11 -11
  164. package/dist/chunks/{model-h03wrkyp.js → bus-h03wrkyp.js} +2 -2
  165. package/dist/chunks/{model-h6vf3j39.js → bus-h6vf3j39.js} +1 -1
  166. package/dist/chunks/{model-6vq97qmv.js → bus-h9rm1rrn.js} +5 -5
  167. package/dist/chunks/{model-ajegdr06.js → bus-har61g9j.js} +22 -22
  168. package/dist/chunks/{model-5akxe5k1.js → bus-hv3bygr5.js} +5 -5
  169. package/dist/chunks/{model-wmf56hzh.js → bus-hvhbpv3p.js} +9 -9
  170. package/dist/chunks/{model-p52t23z3.js → bus-hvt2jj5z.js} +45 -45
  171. package/dist/chunks/{model-3ad4bd0a.js → bus-j4zenrww.js} +7 -7
  172. package/dist/chunks/{model-19yq3b24.js → bus-j5208yae.js} +5 -5
  173. package/dist/chunks/{model-j56e64zr.js → bus-j56e64zr.js} +1 -1
  174. package/dist/chunks/{model-wb1tzt4d.js → bus-j8jb4n4n.js} +19 -19
  175. package/dist/chunks/{model-y7j7ndb6.js → bus-jcfegcn3.js} +47 -47
  176. package/dist/chunks/{model-xtd5dz6n.js → bus-jh64gntc.js} +92 -92
  177. package/dist/chunks/{model-1kcksn9e.js → bus-k10ha5xs.js} +26 -26
  178. package/dist/chunks/{model-qj8eh1ht.js → bus-k2h4r4s0.js} +4 -4
  179. package/dist/chunks/{model-pqwf4bge.js → bus-kdc4anf3.js} +2 -2
  180. package/dist/chunks/{model-kg06axw8.js → bus-kg06axw8.js} +1 -1
  181. package/dist/chunks/{model-c179hq9v.js → bus-kh807a12.js} +39 -39
  182. package/dist/chunks/{model-m7bfq9wr.js → bus-ktnrc8bc.js} +7 -7
  183. package/dist/chunks/{model-5nyvja88.js → bus-kyqhkjqh.js} +24 -24
  184. package/dist/chunks/{model-jerxsvsx.js → bus-m23kbvcb.js} +29 -29
  185. package/dist/chunks/{model-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{model-yhq7b4d8.js → bus-mbj0x7wk.js} +9 -9
  187. package/dist/chunks/{model-ncxt770z.js → bus-mbstch5d.js} +8 -8
  188. package/dist/chunks/{model-1crpa11v.js → bus-mcw92z4j.js} +28 -28
  189. package/dist/chunks/{model-pdy42dnd.js → bus-mfgbhmnr.js} +19 -19
  190. package/dist/chunks/{model-mdy2tqts.js → bus-mkyh9633.js} +41 -41
  191. package/dist/chunks/{model-mhkvc446.js → bus-mvfsc1pv.js} +3 -3
  192. package/dist/chunks/{model-bgtgk6cp.js → bus-n2acnnxb.js} +9 -9
  193. package/dist/chunks/{model-bya8x26g.js → bus-nbq1559h.js} +8 -8
  194. package/dist/chunks/{model-npevzfsy.js → bus-nfffd1z4.js} +13 -13
  195. package/dist/chunks/{model-bvha1vq7.js → bus-ngbhtf3x.js} +10 -10
  196. package/dist/chunks/{model-cebcabsx.js → bus-ngdk1p9a.js} +60 -60
  197. package/dist/chunks/{model-0artwwxx.js → bus-nm03esje.js} +3 -3
  198. package/dist/chunks/{model-nn17eg7m.js → bus-p2ty0fa7.js} +23 -23
  199. package/dist/chunks/{model-xzzk44db.js → bus-p7f9b7q8.js} +15 -15
  200. package/dist/chunks/{model-pjvnvgmy.js → bus-pjvnvgmy.js} +1 -1
  201. package/dist/chunks/{model-pknna89w.js → bus-pknna89w.js} +1 -1
  202. package/dist/chunks/{model-nv5vn7qx.js → bus-prbnmmzj.js} +8 -8
  203. package/dist/chunks/{model-91xeb72v.js → bus-pwzb9yye.js} +8 -8
  204. package/dist/chunks/{model-rr6fm4cb.js → bus-q4aknyan.js} +32 -32
  205. package/dist/chunks/{model-cvtmmhw6.js → bus-q4eww03h.js} +1 -1
  206. package/dist/chunks/{model-gg3hj2sp.js → bus-q73cp8nf.js} +22 -22
  207. package/dist/chunks/{model-99em0p16.js → bus-qaed280k.js} +6 -6
  208. package/dist/chunks/bus-qc068m1q.js +18 -0
  209. package/dist/chunks/{model-wbq0a8cf.js → bus-qc5cjrxt.js} +35 -35
  210. package/dist/chunks/{model-hxevvepb.js → bus-qmmrj5pn.js} +53 -53
  211. package/dist/chunks/{model-f24vq1c7.js → bus-qmtm97bc.js} +25 -25
  212. package/dist/chunks/{model-wwcafvtr.js → bus-qn7x8t5j.js} +17 -17
  213. package/dist/chunks/{model-ttzta52k.js → bus-qqxmp7cj.js} +34 -34
  214. package/dist/chunks/{model-qsdy395h.js → bus-qsdy395h.js} +1 -1
  215. package/dist/chunks/{model-e6hmchc5.js → bus-qte5z7bc.js} +5 -5
  216. package/dist/chunks/{model-0s3pzcqz.js → bus-r5bt13a0.js} +8 -8
  217. package/dist/chunks/{model-r9mregkx.js → bus-r9mregkx.js} +2 -2
  218. package/dist/chunks/{model-45fdndrg.js → bus-renqy12v.js} +8 -8
  219. package/dist/chunks/{model-b3t12aqp.js → bus-rfnzy394.js} +1 -1
  220. package/dist/chunks/{model-v6a8s5gf.js → bus-rpkwvkgg.js} +30 -30
  221. package/dist/chunks/{model-2fwd9rb4.js → bus-rqkqq2v2.js} +13 -13
  222. package/dist/chunks/{model-se0t50fj.js → bus-s0ax2cbm.js} +17 -17
  223. package/dist/chunks/{model-e758m3vy.js → bus-s1qt972z.js} +12 -12
  224. package/dist/chunks/{model-y2bvvrzc.js → bus-s2m31r1z.js} +15 -15
  225. package/dist/chunks/{model-qbngxwj5.js → bus-s2pmvhcg.js} +22 -22
  226. package/dist/chunks/{model-ff0svapt.js → bus-s8610hey.js} +2 -2
  227. package/dist/chunks/{model-1v6ba5ez.js → bus-sm5bw9bb.js} +16 -16
  228. package/dist/chunks/{model-czs7xmcn.js → bus-sq23zfnk.js} +17 -17
  229. package/dist/chunks/{model-brp8zeym.js → bus-sqevgg1x.js} +6 -6
  230. package/dist/chunks/{model-1cd9yk0n.js → bus-ssafw484.js} +20 -20
  231. package/dist/chunks/{model-w6tw9skw.js → bus-stzsmyz8.js} +11 -11
  232. package/dist/chunks/{model-tazgh4e4.js → bus-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{model-p6sp61vg.js → bus-tbj6yr3j.js} +36 -36
  234. package/dist/chunks/{model-89znhe33.js → bus-tcezcvh9.js} +4 -4
  235. package/dist/chunks/{model-tdstcens.js → bus-tdstcens.js} +1 -1
  236. package/dist/chunks/{model-wycsdkc3.js → bus-tfmvqhpz.js} +11 -11
  237. package/dist/chunks/{model-mz6ae2yf.js → bus-tk7tn7wd.js} +1 -1
  238. package/dist/chunks/{model-nncchp3m.js → bus-tmw71etn.js} +5 -5
  239. package/dist/chunks/{model-bvg29jbq.js → bus-tseh9362.js} +18 -18
  240. package/dist/chunks/{model-tvtrv512.js → bus-tvtrv512.js} +1 -1
  241. package/dist/chunks/{model-e4f6pw00.js → bus-tx4v77ns.js} +28 -28
  242. package/dist/chunks/{model-33n3bzdy.js → bus-txh28jzs.js} +8 -8
  243. package/dist/chunks/{model-0d16ff4w.js → bus-vbxjpcd9.js} +30 -30
  244. package/dist/chunks/{model-hq8zt1th.js → bus-ve6nm2s5.js} +6 -6
  245. package/dist/chunks/{model-veqvce7d.js → bus-veqvce7d.js} +1 -1
  246. package/dist/chunks/{model-r0ztwh7r.js → bus-vet0v4q3.js} +65 -65
  247. package/dist/chunks/{model-f1zva5d5.js → bus-vgjt9c5s.js} +5 -5
  248. package/dist/chunks/{model-sxwk9xb8.js → bus-vhdkxkb7.js} +18 -18
  249. package/dist/chunks/{model-70d2s7af.js → bus-vt6mrpr2.js} +1 -1
  250. package/dist/chunks/{model-yeqyw0z5.js → bus-vyjzrkx0.js} +9 -9
  251. package/dist/chunks/{model-vzcthcp8.js → bus-vzcthcp8.js} +1 -1
  252. package/dist/chunks/{model-5c0f1prt.js → bus-w1k39n5e.js} +4 -4
  253. package/dist/chunks/{model-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{model-wd87259q.js → bus-wd87259q.js} +1 -1
  255. package/dist/chunks/{model-y7gn77t5.js → bus-wk58jv74.js} +6 -6
  256. package/dist/chunks/bus-wn48djn2.js +26 -0
  257. package/dist/chunks/{model-fvkgc8rm.js → bus-wp3ra78r.js} +13 -13
  258. package/dist/chunks/{model-jv3cv6p3.js → bus-wxhnm4vs.js} +10 -10
  259. package/dist/chunks/{model-c0pa16pn.js → bus-x0w3rp20.js} +6 -6
  260. package/dist/chunks/{model-x1ezjp6w.js → bus-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{model-t8na6qa3.js → bus-x2km63an.js} +15 -15
  262. package/dist/chunks/{model-9s353mxg.js → bus-x7r4jqvp.js} +16 -16
  263. package/dist/chunks/{model-mwr2btvq.js → bus-xhmq8qgk.js} +9 -9
  264. package/dist/chunks/{model-atjxpbab.js → bus-xjtkmra5.js} +23 -23
  265. package/dist/chunks/{model-hjejd8rj.js → bus-xp20kysk.js} +13 -13
  266. package/dist/chunks/{model-0247gmrw.js → bus-xpdpdhyj.js} +20 -20
  267. package/dist/chunks/{model-v7bpw0rx.js → bus-xqh9be0f.js} +16 -16
  268. package/dist/chunks/{model-y1fvbwt7.js → bus-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{model-jj5vypy3.js → bus-y2s7ffcz.js} +34 -34
  270. package/dist/chunks/{model-hyhy14jr.js → bus-y2wkm4mc.js} +23 -23
  271. package/dist/chunks/{model-q44n8009.js → bus-y5pt965d.js} +17 -17
  272. package/dist/chunks/{model-jwcy2c2z.js → bus-y71avatq.js} +4 -4
  273. package/dist/chunks/{model-1f3wjap0.js → bus-y9cz4bz0.js} +23 -23
  274. package/dist/chunks/{model-v0pkrfgq.js → bus-ynjvsx98.js} +11 -11
  275. package/dist/chunks/{model-yp2x3t23.js → bus-yp2x3t23.js} +1 -1
  276. package/dist/chunks/{model-yrhqyw5v.js → bus-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{model-yrznvahk.js → bus-yrznvahk.js} +2 -2
  278. package/dist/chunks/{model-z0bkrqjs.js → bus-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{model-z63w68vq.js → bus-z63w68vq.js} +2 -2
  280. package/dist/chunks/{model-6kny798m.js → bus-za524gb0.js} +30 -30
  281. package/dist/chunks/{model-zav06jzw.js → bus-zcrspsvn.js} +4 -4
  282. package/dist/chunks/{model-zeh9ct20.js → bus-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{model-n649fndv.js → bus-zpp4pmky.js} +8 -8
  284. package/dist/chunks/{model-sgfa6f2r.js → bus-zq1wyda0.js} +6 -6
  285. package/dist/chunks/{model-zr2ceqn5.js → bus-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{model-bv88jg6f.js → bus-ztz1pyy1.js} +32 -32
  287. package/dist/chunks/{model-zxq2ej10.js → bus-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +3 -3
  289. package/dist/codemode/instructions.js +9 -9
  290. package/dist/codemode/tool.js +2 -2
  291. package/dist/command.js +82 -82
  292. package/dist/config/discovery.js +80 -80
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +19 -19
  295. package/dist/config/plugin/agent.js +118 -118
  296. package/dist/config/plugin/command.js +210 -210
  297. package/dist/config/plugin/compaction.js +156 -156
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +118 -118
  300. package/dist/config/plugin/image.js +116 -116
  301. package/dist/config/plugin/instruction.js +86 -86
  302. package/dist/config/plugin/location-watcher.js +116 -116
  303. package/dist/config/plugin/mcp.js +127 -127
  304. package/dist/config/plugin/policy.js +115 -115
  305. package/dist/config/plugin/provider.js +114 -114
  306. package/dist/config/plugin/reference.js +118 -118
  307. package/dist/config/plugin/shell.js +117 -117
  308. package/dist/config/plugin/skill-file.js +98 -98
  309. package/dist/config/plugin/skill.js +137 -137
  310. package/dist/config/plugin/snapshot.js +116 -116
  311. package/dist/config/plugin/source.js +118 -118
  312. package/dist/config/plugin/tool-output.js +118 -118
  313. package/dist/config/plugin/websearch.js +114 -114
  314. package/dist/config/plugin/worktree.js +119 -119
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +120 -120
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +82 -82
  320. package/dist/database/database.js +71 -71
  321. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +15 -15
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +16 -16
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration.gen.js +48 -48
  385. package/dist/database/migration.js +50 -50
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +75 -75
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +362 -362
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +87 -87
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +89 -89
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +73 -73
  409. package/dist/file-access.js +100 -100
  410. package/dist/file-mutation.js +90 -90
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +221 -221
  420. package/dist/filesystem/protected.js +3 -3
  421. package/dist/filesystem/search.js +100 -100
  422. package/dist/filesystem/watcher-binding.js +1 -1
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +103 -103
  425. package/dist/form.js +79 -79
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +83 -83
  428. package/dist/generate.js +94 -94
  429. package/dist/git.js +5 -5
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +3 -3
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +353 -353
  454. package/dist/instruction-discovery.js +84 -84
  455. package/dist/instructions/builtins.js +83 -83
  456. package/dist/instructions/index.js +5 -5
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +85 -85
  459. package/dist/job.js +78 -78
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +72 -72
  462. package/dist/location-activity.js +132 -132
  463. package/dist/location-mutation.js +100 -100
  464. package/dist/location-service-map.js +82 -82
  465. package/dist/location-services.js +350 -350
  466. package/dist/location.js +85 -85
  467. package/dist/mcp/client.js +87 -87
  468. package/dist/mcp/index.js +106 -106
  469. package/dist/mcp/instructions.js +123 -123
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +86 -86
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +3 -3
  474. package/dist/model-resolver.js +87 -87
  475. package/dist/model.js +8 -8
  476. package/dist/models-dev.js +87 -87
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +79 -79
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +107 -107
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +81 -81
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +74 -74
  486. package/dist/plugin/agent.js +100 -100
  487. package/dist/plugin/command.js +97 -97
  488. package/dist/plugin/hooks.js +3 -3
  489. package/dist/plugin/host.js +214 -214
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +324 -324
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +76 -76
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +4 -4
  496. package/dist/plugin/plan.js +98 -98
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/azure.js +119 -119
  501. package/dist/plugin/provider/cerebras.js +2 -2
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +115 -115
  506. package/dist/plugin/provider/digitalocean.js +80 -80
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +81 -81
  511. package/dist/plugin/provider/gitlab.js +3 -3
  512. package/dist/plugin/provider/google-vertex.js +2 -2
  513. package/dist/plugin/provider/kilo.js +2 -2
  514. package/dist/plugin/provider/llmgateway.js +77 -77
  515. package/dist/plugin/provider/lmstudio.js +118 -118
  516. package/dist/plugin/provider/modal.js +80 -80
  517. package/dist/plugin/provider/nvidia.js +2 -2
  518. package/dist/plugin/provider/ollama.js +118 -118
  519. package/dist/plugin/provider/openai-compatible.js +1 -1
  520. package/dist/plugin/provider/openai.js +81 -81
  521. package/dist/plugin/provider/opencode.js +80 -80
  522. package/dist/plugin/provider/openrouter.js +3 -3
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/poe.js +77 -77
  525. package/dist/plugin/provider/sap-ai-core.js +3 -3
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +118 -118
  528. package/dist/plugin/provider/venice.js +2 -2
  529. package/dist/plugin/provider/vercel.js +2 -2
  530. package/dist/plugin/provider/vllm.js +118 -118
  531. package/dist/plugin/provider/xai.js +78 -78
  532. package/dist/plugin/provider/zenmux.js +2 -2
  533. package/dist/plugin/provider.js +157 -157
  534. package/dist/plugin/sdk.js +75 -75
  535. package/dist/plugin/service.js +3 -3
  536. package/dist/plugin/skill.js +134 -134
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +339 -339
  539. package/dist/plugin/update.js +6 -6
  540. package/dist/plugin/variant.js +4 -4
  541. package/dist/plugin/vcs/git.js +83 -83
  542. package/dist/plugin/vcs/hg.js +83 -83
  543. package/dist/plugin/warming.js +113 -113
  544. package/dist/plugin/websearch/exa.js +7 -7
  545. package/dist/plugin/websearch/firecrawl.js +8 -8
  546. package/dist/plugin/websearch/index.js +9 -9
  547. package/dist/plugin/websearch/mcp.js +4 -4
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +4 -4
  550. package/dist/plugin/websearch/tinyfish.js +8 -8
  551. package/dist/plugin.js +225 -225
  552. package/dist/project/schema.js +8 -8
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +84 -84
  555. package/dist/provider.js +7 -7
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/schema.js +3 -3
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +95 -95
  560. package/dist/reference/instructions.js +85 -85
  561. package/dist/reference.js +87 -87
  562. package/dist/repository-cache.js +77 -77
  563. package/dist/repository.js +1 -1
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +94 -94
  566. package/dist/rpc.js +82 -82
  567. package/dist/schema.js +1 -1
  568. package/dist/session/command.js +73 -73
  569. package/dist/session/compaction.js +124 -124
  570. package/dist/session/context.js +148 -148
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +5 -5
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +220 -220
  575. package/dist/session/execution.js +125 -125
  576. package/dist/session/generate.js +149 -149
  577. package/dist/session/history.js +13 -13
  578. package/dist/session/inbox.js +87 -87
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +78 -78
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +93 -93
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +114 -114
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +127 -127
  588. package/dist/session/projector.js +85 -85
  589. package/dist/session/prompt.js +101 -101
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +86 -86
  592. package/dist/session/run-coordinator.js +1 -1
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +226 -226
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +87 -87
  597. package/dist/session/runner/publish-llm-event.js +3 -3
  598. package/dist/session/runner/retry.js +111 -111
  599. package/dist/session/runner/step.js +120 -120
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +170 -170
  603. package/dist/session/shell.js +132 -132
  604. package/dist/session/skill.js +99 -99
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +72 -72
  607. package/dist/session/store.js +86 -86
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +206 -206
  610. package/dist/session/system-prompt.js +3 -3
  611. package/dist/session/title.js +150 -150
  612. package/dist/session/to-session-error.js +108 -108
  613. package/dist/session/transfer.js +217 -217
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +214 -214
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +13 -13
  620. package/dist/shell.js +134 -134
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +103 -103
  623. package/dist/skill.js +108 -108
  624. package/dist/snapshot.js +89 -89
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +120 -120
  629. package/dist/tool/plugin/edit.js +116 -116
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +119 -119
  632. package/dist/tool/plugin/grep.js +113 -113
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +118 -118
  635. package/dist/tool/plugin/question.js +99 -99
  636. package/dist/tool/plugin/read.js +122 -122
  637. package/dist/tool/plugin/shell.js +205 -205
  638. package/dist/tool/plugin/skill.js +105 -105
  639. package/dist/tool/plugin/subagent.js +215 -215
  640. package/dist/tool/plugin/webfetch.js +104 -104
  641. package/dist/tool/plugin/websearch.js +108 -108
  642. package/dist/tool/plugin/write.js +116 -116
  643. package/dist/tool/read-filesystem.js +93 -93
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +8 -8
  646. package/dist/tool.js +13 -13
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/iife.js +1 -1
  650. package/dist/util/lazy.js +1 -1
  651. package/dist/util/slug.js +1 -1
  652. package/dist/util/token.js +1 -1
  653. package/dist/util/which.js +1 -1
  654. package/dist/util/wildcard.js +1 -1
  655. package/dist/v1/config/agent.js +5 -5
  656. package/dist/v1/config/attachment.js +4 -4
  657. package/dist/v1/config/command.js +3 -3
  658. package/dist/v1/config/config.js +16 -16
  659. package/dist/v1/config/error.js +2 -2
  660. package/dist/v1/config/formatter.js +3 -3
  661. package/dist/v1/config/layout.js +1 -1
  662. package/dist/v1/config/lsp.js +5 -5
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +4 -4
  665. package/dist/v1/config/permission.js +3 -3
  666. package/dist/v1/config/plugin.js +3 -3
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/v1/config/server.js +2 -2
  670. package/dist/v1/config/skills.js +3 -3
  671. package/dist/v1/permission.js +1 -1
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +86 -86
  674. package/dist/websearch.js +81 -81
  675. package/dist/wellknown/plugin.js +75 -75
  676. package/dist/wellknown.js +78 -78
  677. package/dist/workspace/driver.js +5 -5
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +77 -77
  680. package/dist/worktree/directory.js +2 -2
  681. package/dist/worktree/git.js +7 -7
  682. package/dist/worktree/refresh.js +340 -340
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree.js +92 -92
  685. package/package.json +8 -8
  686. package/dist/chunks/model-gbadjzag.js +0 -4
  687. package/dist/chunks/model-nnzt82h0.js +0 -26
  688. package/dist/chunks/model-phz3h32g.js +0 -18
  689. package/dist/chunks/model-qj7q8b1b.js +0 -247
  690. /package/dist/chunks/{model-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
  691. /package/dist/chunks/{model-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
  692. /package/dist/chunks/{model-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
  693. /package/dist/chunks/{model-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
  694. /package/dist/chunks/{model-1kg9ymc8.js → bus-1kg9ymc8.js} +0 -0
  695. /package/dist/chunks/{model-2710q6r3.js → bus-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{model-2axfhc9x.js → bus-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{model-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{model-359p4xyc.js → bus-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{model-3asan66x.js → bus-3asan66x.js} +0 -0
  700. /package/dist/chunks/{model-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{model-3w5fmr99.js → bus-3w5fmr99.js} +0 -0
  702. /package/dist/chunks/{model-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{model-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{model-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{model-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{model-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{model-53557ph1.js → bus-53557ph1.js} +0 -0
  708. /package/dist/chunks/{model-550bvhaj.js → bus-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{model-6prwharc.js → bus-6prwharc.js} +0 -0
  710. /package/dist/chunks/{model-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
  711. /package/dist/chunks/{model-7m9af43g.js → bus-7m9af43g.js} +0 -0
  712. /package/dist/chunks/{model-822emrt2.js → bus-822emrt2.js} +0 -0
  713. /package/dist/chunks/{model-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
  714. /package/dist/chunks/{model-8n3pysct.js → bus-8n3pysct.js} +0 -0
  715. /package/dist/chunks/{model-922hggd3.js → bus-922hggd3.js} +0 -0
  716. /package/dist/chunks/{model-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
  717. /package/dist/chunks/{model-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
  718. /package/dist/chunks/{model-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
  719. /package/dist/chunks/{model-af5trqkr.js → bus-af5trqkr.js} +0 -0
  720. /package/dist/chunks/{model-afrmfg78.js → bus-afrmfg78.js} +0 -0
  721. /package/dist/chunks/{model-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
  722. /package/dist/chunks/{model-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
  723. /package/dist/chunks/{model-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
  724. /package/dist/chunks/{model-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
  725. /package/dist/chunks/{model-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
  726. /package/dist/chunks/{model-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
  727. /package/dist/chunks/{model-d9fn303g.js → bus-d9fn303g.js} +0 -0
  728. /package/dist/chunks/{model-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
  729. /package/dist/chunks/{model-dajrwvna.js → bus-dajrwvna.js} +0 -0
  730. /package/dist/chunks/{model-dap0rakb.js → bus-dap0rakb.js} +0 -0
  731. /package/dist/chunks/{model-df08tz66.js → bus-df08tz66.js} +0 -0
  732. /package/dist/chunks/{model-dy18nga0.js → bus-dy18nga0.js} +0 -0
  733. /package/dist/chunks/{model-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
  734. /package/dist/chunks/{model-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
  735. /package/dist/chunks/{model-ec1grn59.js → bus-ec1grn59.js} +0 -0
  736. /package/dist/chunks/{model-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
  737. /package/dist/chunks/{model-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
  738. /package/dist/chunks/{model-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
  739. /package/dist/chunks/{model-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
  740. /package/dist/chunks/{model-faypxj3z.js → bus-faypxj3z.js} +0 -0
  741. /package/dist/chunks/{model-fd410y7t.js → bus-fd410y7t.js} +0 -0
  742. /package/dist/chunks/{model-fxgpk5d8.js → bus-fxgpk5d8.js} +0 -0
  743. /package/dist/chunks/{model-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{model-g86h250q.js → bus-g86h250q.js} +0 -0
  745. /package/dist/chunks/{model-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{model-gftt206x.js → bus-gftt206x.js} +0 -0
  747. /package/dist/chunks/{model-hjbc5kem.js → bus-hjbc5kem.js} +0 -0
  748. /package/dist/chunks/{model-hk9envan.js → bus-hk9envan.js} +0 -0
  749. /package/dist/chunks/{model-hrnqkpcd.js → bus-hrnqkpcd.js} +0 -0
  750. /package/dist/chunks/{model-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
  751. /package/dist/chunks/{model-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
  752. /package/dist/chunks/{model-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{model-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{model-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
  755. /package/dist/chunks/{model-mp448xyj.js → bus-mp448xyj.js} +0 -0
  756. /package/dist/chunks/{model-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
  757. /package/dist/chunks/{model-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
  758. /package/dist/chunks/{model-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
  759. /package/dist/chunks/{model-njntx4h6.js → bus-njntx4h6.js} +0 -0
  760. /package/dist/chunks/{model-paphc93g.js → bus-paphc93g.js} +0 -0
  761. /package/dist/chunks/{model-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
  762. /package/dist/chunks/{model-q74kybfr.js → bus-q74kybfr.js} +0 -0
  763. /package/dist/chunks/{model-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
  764. /package/dist/chunks/{model-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
  765. /package/dist/chunks/{model-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
  766. /package/dist/chunks/{model-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
  767. /package/dist/chunks/{model-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
  768. /package/dist/chunks/{model-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{model-sk3qaz4a.js → bus-sk3qaz4a.js} +0 -0
  770. /package/dist/chunks/{model-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
  771. /package/dist/chunks/{model-twg0f83k.js → bus-twg0f83k.js} +0 -0
  772. /package/dist/chunks/{model-w803qqfp.js → bus-w803qqfp.js} +0 -0
  773. /package/dist/chunks/{model-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
  774. /package/dist/chunks/{model-wtztk69x.js → bus-wtztk69x.js} +0 -0
  775. /package/dist/chunks/{model-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
  776. /package/dist/chunks/{model-x61499pn.js → bus-x61499pn.js} +0 -0
  777. /package/dist/chunks/{model-y44na4kk.js → bus-y44na4kk.js} +0 -0
  778. /package/dist/chunks/{model-y8cydn3q.js → bus-y8cydn3q.js} +0 -0
  779. /package/dist/chunks/{model-y8f7s663.js → bus-y8f7s663.js} +0 -0
  780. /package/dist/chunks/{model-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
  781. /package/dist/chunks/{model-ym463w8f.js → bus-ym463w8f.js} +0 -0
  782. /package/dist/chunks/{model-z9919s4g.js → bus-z9919s4g.js} +0 -0
@@ -3,34 +3,34 @@ import {
3
3
  WrongKind2,
4
4
  Failed2,
5
5
  typeFollowing2
6
- } from "./model-2a5m3afh.js";
6
+ } from "./bus-2a5m3afh.js";
7
7
  import {
8
8
  execDefaults2
9
- } from "./model-1dazxqgg.js";
9
+ } from "./bus-1dazxqgg.js";
10
10
  import {
11
11
  makeLocalDriver2
12
- } from "./model-b6gygkdw.js";
12
+ } from "./bus-b6gygkdw.js";
13
13
  import {
14
14
  makeMemoryDriver2
15
- } from "./model-aaet6srn.js";
15
+ } from "./bus-aaet6srn.js";
16
16
  import {
17
- Service69,
18
- node73
19
- } from "./model-qwrxphsy.js";
17
+ Service76,
18
+ node81
19
+ } from "./bus-ehs9b5vx.js";
20
20
  import {
21
21
  Service68,
22
- node71
23
- } from "./model-ajegdr06.js";
22
+ node72
23
+ } from "./bus-har61g9j.js";
24
24
  import {
25
25
  __export
26
- } from "./model-9rqn6x4v.js";
26
+ } from "./bus-9rqn6x4v.js";
27
27
 
28
28
  // src/environment/environment.ts
29
29
  var exports_environment2 = {};
30
30
  __export(exports_environment2, {
31
31
  EnvironmentService: () => exports_environment2,
32
32
  Service: () => Service67,
33
- node: () => node70
33
+ node: () => node71
34
34
  });
35
35
  import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -49,7 +49,7 @@ __export(exports_environment3, {
49
49
  makeFiles: () => makeFiles2,
50
50
  makeLocalDriver: () => makeLocalDriver2,
51
51
  makeMemoryDriver: () => makeMemoryDriver2,
52
- node: () => node70,
52
+ node: () => node71,
53
53
  typeFollowing: () => typeFollowing2
54
54
  });
55
55
  var makeFiles2 = (driver) => ({
@@ -62,15 +62,15 @@ class Service67 extends Context.Service()("@opencode/Environment") {
62
62
  }
63
63
  var layer = Layer.effect(Service67, Effect.gen(function* () {
64
64
  const spawner = yield* ChildProcessSpawner;
65
- const location = yield* Service69;
65
+ const location = yield* Service76;
66
66
  const workspace = yield* Service68;
67
67
  const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
68
68
  return Service67.of({ files: makeFiles2(driver), spawner: driver.spawner });
69
69
  }));
70
- var node70 = makeLocationNode({
70
+ var node71 = makeLocationNode({
71
71
  service: Service67,
72
72
  layer,
73
- deps: [CrossSpawnSpawner.node, node73, node71]
73
+ deps: [CrossSpawnSpawner.node, node81, node72]
74
74
  });
75
75
 
76
- export { Service67, node70, exports_environment2, makeFiles2, exports_environment3 };
76
+ export { Service67, node71, exports_environment2, makeFiles2, exports_environment3 };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service73,
3
- node77
4
- } from "./model-v7bpw0rx.js";
2
+ Service79,
3
+ node84
4
+ } from "./bus-xqh9be0f.js";
5
5
  import {
6
6
  create3
7
- } from "./model-kg06axw8.js";
7
+ } from "./bus-kg06axw8.js";
8
8
  import {
9
9
  __export
10
- } from "./model-9rqn6x4v.js";
10
+ } from "./bus-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
13
  var exports_command4 = {};
14
14
  __export(exports_command4, {
15
15
  Command: () => exports_command4,
16
- Event: () => Event7,
16
+ Event: () => Event13,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info8,
19
- NotFoundError: () => NotFoundError4,
20
- Service: () => Service35,
21
- layer: () => layer15,
22
- node: () => node39
18
+ Info: () => Info11,
19
+ NotFoundError: () => NotFoundError7,
20
+ Service: () => Service54,
21
+ layer: () => layer23,
22
+ node: () => node58
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 Event7 } from "@opencode/schema/command";
28
- var Info8 = Command.Info;
27
+ import { Event as Event13 } from "@opencode/schema/command";
28
+ var Info11 = Command.Info;
29
29
 
30
- class NotFoundError4 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError7 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 Service35 extends Context.Service()("@opencode/Command") {
42
+ class Service54 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer15 = Layer.effect(Service35, Effect.gen(function* () {
45
- const bus = yield* Service73;
44
+ var layer23 = Layer.effect(Service54, Effect.gen(function* () {
45
+ const bus = yield* Service79;
46
46
  const state = create3({
47
47
  name: "command",
48
48
  initial: () => new Map,
@@ -51,11 +51,11 @@ var layer15 = Layer.effect(Service35, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info8.make({
54
+ const info = (definition) => Info11.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service35.of({
58
+ return Service54.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 layer15 = Layer.effect(Service35, 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 NotFoundError4({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError7({ 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 node39 = makeLocationNode({
75
- service: Service35,
76
- layer: layer15,
77
- deps: [node77]
74
+ var node58 = makeLocationNode({
75
+ service: Service54,
76
+ layer: layer23,
77
+ deps: [node84]
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 { Info8, NotFoundError4, ExecutionError2, Service35, layer15, node39, exports_command4, Event7 };
89
+ export { Info11, NotFoundError7, ExecutionError2, Service54, layer23, node58, exports_command4, Event13 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  create3
3
- } from "./model-kg06axw8.js";
3
+ } from "./bus-kg06axw8.js";
4
4
  import {
5
5
  __export
6
- } from "./model-9rqn6x4v.js";
6
+ } from "./bus-9rqn6x4v.js";
7
7
 
8
8
  // src/filesystem/location-watcher-policy.ts
9
9
  var exports_location_watcher_policy = {};
10
10
  __export(exports_location_watcher_policy, {
11
11
  LocationWatcherPolicy: () => exports_location_watcher_policy,
12
- Service: () => Service12,
13
- node: () => node15
12
+ Service: () => Service7,
13
+ node: () => node10
14
14
  });
15
15
  import { makeLocationNode } from "@opencode/util/effect/app-node";
16
16
  import { Context, Effect, Layer, Scope } from "effect";
17
- class Service12 extends Context.Service()("@opencode/LocationWatcherPolicy") {
17
+ class Service7 extends Context.Service()("@opencode/LocationWatcherPolicy") {
18
18
  }
19
- var layer = Layer.effect(Service12, Effect.gen(function* () {
19
+ var layer = Layer.effect(Service7, Effect.gen(function* () {
20
20
  const listeners = new Set;
21
21
  const state = create3({
22
22
  name: "location-watcher-policy",
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
41
41
  yield* Scope.addFinalizer(scope, dispose);
42
42
  return { dispose };
43
43
  });
44
- return Service12.of({
44
+ return Service7.of({
45
45
  transform: state.transform,
46
46
  reload: state.reload,
47
47
  current,
48
48
  observe
49
49
  });
50
50
  }));
51
- var node15 = makeLocationNode({ service: Service12, layer, deps: [] });
51
+ var node10 = makeLocationNode({ service: Service7, layer, deps: [] });
52
52
 
53
- export { Service12, node15, exports_location_watcher_policy };
53
+ export { Service7, node10, exports_location_watcher_policy };
@@ -1,57 +1,57 @@
1
1
  import {
2
- Service73,
3
- node77
4
- } from "./model-v7bpw0rx.js";
2
+ Service79,
3
+ node84
4
+ } from "./bus-xqh9be0f.js";
5
5
  import {
6
- Service69,
7
- node73
8
- } from "./model-qwrxphsy.js";
6
+ Service76,
7
+ node81
8
+ } from "./bus-ehs9b5vx.js";
9
9
  import {
10
10
  Service67,
11
- node70
12
- } from "./model-6csep4d6.js";
11
+ node71
12
+ } from "./bus-ff8d0h66.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./model-gd4qta3r.js";
15
+ } from "./bus-gd4qta3r.js";
16
16
  import {
17
- Service39,
17
+ Service62,
18
18
  args2,
19
- node43
20
- } from "./model-9n8nxpxn.js";
19
+ node66
20
+ } from "./bus-4zja7gva.js";
21
21
  import {
22
- Service76,
22
+ Service75,
23
23
  node80
24
- } from "./model-dnc4tg6k.js";
24
+ } from "./bus-dc76j9wz.js";
25
25
  import {
26
- Service38,
27
- node42
28
- } from "./model-7m5f9412.js";
26
+ Service60,
27
+ node64
28
+ } from "./bus-5hk4b2g6.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./model-6bsje7ws.js";
31
+ } from "./bus-2f04pwep.js";
32
32
  import {
33
33
  latest2,
34
- Service42,
35
- node46
36
- } from "./model-sh0rasge.js";
34
+ Service63,
35
+ node67
36
+ } from "./bus-c6g8q0m5.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./model-n4m2mkxj.js";
40
+ } from "./bus-4pc0t7v2.js";
41
41
  import {
42
42
  __export
43
- } from "./model-9rqn6x4v.js";
43
+ } from "./bus-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError6,
49
+ NotFoundError: () => NotFoundError8,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service37,
51
+ Service: () => Service59,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node41
54
+ node: () => node63
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
62
62
  import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
63
63
  import { FSUtil } from "@opencode/util/fs-util";
64
64
  import { Global } from "@opencode/util/global";
65
- class NotFoundError6 extends Schema.TaggedError()("Shell.NotFoundError", {
65
+ class NotFoundError8 extends Schema.TaggedError()("Shell.NotFoundError", {
66
66
  id: Shell.ID
67
67
  }) {
68
68
  }
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
70
70
  var RETENTION2 = Duration.days(7);
71
71
  var DIRECTORY2 = "shell";
72
72
 
73
- class Service37 extends Context.Service()("@opencode/Shell") {
73
+ class Service59 extends Context.Service()("@opencode/Shell") {
74
74
  }
75
75
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
76
76
  const fs = yield* FSUtil.Service;
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
86
86
  layer: cleanupLayer,
87
87
  deps: [FSUtil.node, Global.node]
88
88
  });
89
- var layer = () => Layer.effect(Service37, Effect.gen(function* () {
90
- const bus = yield* Service73;
91
- const location = yield* Service69;
89
+ var layer = () => Layer.effect(Service59, Effect.gen(function* () {
90
+ const bus = yield* Service79;
91
+ const location = yield* Service76;
92
92
  const global = yield* Global.Service;
93
- const shell = yield* Service39;
93
+ const shell = yield* Service62;
94
94
  const environment = yield* Service67;
95
- const hooks = yield* Service76;
96
- const environments = yield* Service38;
97
- const config = yield* Service42;
95
+ const hooks = yield* Service75;
96
+ const environments = yield* Service60;
97
+ const config = yield* Service63;
98
98
  const context = yield* Effect.context();
99
99
  const runFork = Effect.runForkWith(context);
100
100
  const commands = new Map;
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service37, Effect.gen(function* () {
115
115
  const require2 = Effect.fnUntraced(function* (id) {
116
116
  const command = commands.get(id);
117
117
  if (!command)
118
- return yield* new NotFoundError6({ id });
118
+ return yield* new NotFoundError8({ id });
119
119
  return command;
120
120
  });
121
121
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service37, Effect.gen(function* () {
128
128
  commands.delete(id);
129
129
  if (command.timeoutFiber)
130
130
  yield* Fiber.interrupt(command.timeoutFiber);
131
- yield* Deferred.fail(command.done, new NotFoundError6({ id }));
131
+ yield* Deferred.fail(command.done, new NotFoundError8({ id }));
132
132
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
133
133
  yield* bus.publish(Shell.Event.Deleted, { id });
134
134
  });
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service37, Effect.gen(function* () {
314
314
  const command = yield* Deferred.await(ready);
315
315
  return command.info;
316
316
  });
317
- return Service37.of({ create, list, get, wait, result, timeout, output, remove });
317
+ return Service59.of({ create, list, get, wait, result, timeout, output, remove });
318
318
  }));
319
- var node41 = makeLocationNode({
320
- service: Service37,
319
+ var node63 = makeLocationNode({
320
+ service: Service59,
321
321
  layer: layer(),
322
322
  deps: [
323
- node77,
324
- node73,
323
+ node84,
324
+ node81,
325
325
  Global.node,
326
- node43,
327
- node70,
326
+ node66,
327
+ node71,
328
328
  node80,
329
- node42,
330
- node46,
329
+ node64,
330
+ node67,
331
331
  cleanupNode
332
332
  ]
333
333
  });
334
334
 
335
- export { NotFoundError6, RETENTION2, DIRECTORY2, Service37, cleanup2, node41, exports_shell4 };
335
+ export { NotFoundError8, RETENTION2, DIRECTORY2, Service59, cleanup2, node63, exports_shell4 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./model-9rqn6x4v.js";
3
+ } from "./bus-9rqn6x4v.js";
4
4
 
5
5
  // src/tool/plugin/opencode.ts
6
6
  var exports_opencode = {};
7
7
  __export(exports_opencode, {
8
8
  MoveInput: () => MoveInput2,
9
9
  OpenCodeTools: () => exports_opencode,
10
- Plugin: () => Plugin2,
10
+ Plugin: () => Plugin3,
11
11
  RenameInput: () => RenameInput2
12
12
  });
13
13
  import { SystemPart, ToolFailure } from "@opencode/ai";
@@ -26,7 +26,7 @@ var MoveInput2 = Schema.Struct({
26
26
  })
27
27
  });
28
28
  var MoveOutput = Schema.Struct({ sessionID: Session.ID, directory: AbsolutePath });
29
- var Plugin2 = {
29
+ var Plugin3 = {
30
30
  id: "opencode.tools",
31
31
  effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
32
32
  yield* ctx.session.hook("context", (event) => Effect.sync(() => {
@@ -74,4 +74,4 @@ var Plugin2 = {
74
74
  })
75
75
  };
76
76
 
77
- export { RenameInput2, MoveInput2, Plugin2, exports_opencode };
77
+ export { RenameInput2, MoveInput2, Plugin3, exports_opencode };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  useragent2
3
- } from "./model-3hf7z3yq.js";
3
+ } from "./bus-gsy9mqvk.js";
4
4
  import {
5
- ID18
6
- } from "./model-33n3bzdy.js";
5
+ ID12
6
+ } from "./bus-txh28jzs.js";
7
7
  import {
8
8
  iife2
9
- } from "./model-1kg9ymc8.js";
9
+ } from "./bus-1kg9ymc8.js";
10
10
  import {
11
11
  configuredSettings2
12
- } from "./model-5b2dqtre.js";
12
+ } from "./bus-afjqk4pm.js";
13
13
 
14
14
  // src/plugin/provider/cloudflare-ai-gateway.ts
15
15
  import os from "os";
16
16
  import { Effect, Option, Schema } from "effect";
17
17
  import { define } from "@opencode/plugin/effect/plugin";
18
18
  import { Form } from "@opencode/schema/form";
19
- var providerID = ID18.make("cloudflare-ai-gateway");
19
+ var providerID = ID12.make("cloudflare-ai-gateway");
20
20
  var CloudflareAIGatewayPlugin2 = define({
21
21
  id: "opencode.provider.cloudflare.ai.gateway",
22
22
  effect: Effect.fn(function* (ctx) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-9rqn6x4v.js";
3
+ } from "./bus-9rqn6x4v.js";
4
4
 
5
5
  // src/shell/result.ts
6
6
  var exports_result = {};
@@ -4,43 +4,43 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./model-3w5fmr99.js";
7
+ } from "./bus-3w5fmr99.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./model-r9mregkx.js";
11
+ } from "./bus-r9mregkx.js";
12
12
  import {
13
13
  create3
14
- } from "./model-kg06axw8.js";
14
+ } from "./bus-kg06axw8.js";
15
15
  import {
16
- Service75,
17
- node79
18
- } from "./model-yeqyw0z5.js";
16
+ Service58,
17
+ node62
18
+ } from "./bus-vyjzrkx0.js";
19
19
  import {
20
- Service76,
20
+ Service75,
21
21
  node80
22
- } from "./model-dnc4tg6k.js";
22
+ } from "./bus-dc76j9wz.js";
23
23
  import {
24
24
  match2
25
- } from "./model-y1fvbwt7.js";
25
+ } from "./bus-y1fvbwt7.js";
26
26
  import {
27
27
  __export
28
- } from "./model-9rqn6x4v.js";
28
+ } from "./bus-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
32
32
  __export(exports_tool, {
33
33
  CallID: () => CallID2,
34
34
  Content: () => Content3,
35
- Error: () => Error5,
35
+ Error: () => Error3,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service74,
38
+ Service: () => Service39,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node78
41
+ node: () => node43
42
42
  });
43
- import { CallID as CallID2, Content as Content3, Error as Error5, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
43
+ import { CallID as CallID2, Content as Content3, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
44
44
  import { ToolDefinition } from "@opencode/ai";
45
45
  import { Tool } from "@opencode/schema/tool";
46
46
  import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service74 extends Context.Service()("@opencode/Tool") {
54
+ class Service39 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service74, Effect.gen(function* () {
57
- const hooks = yield* Service76;
58
- const image = yield* Service75;
56
+ var layer = Layer.effect(Service39, Effect.gen(function* () {
57
+ const hooks = yield* Service75;
58
+ const image = yield* Service58;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
180
180
  error: error.message
181
181
  }), { discard: true })
182
182
  });
183
- return Service74.of({
183
+ return Service39.of({
184
184
  transform: state.transform,
185
185
  reload: state.reload,
186
186
  snapshot: Effect.fn("Tool.snapshot")((permissions) => Effect.sync(() => {
@@ -264,10 +264,10 @@ function namespaceError(name) {
264
264
  return;
265
265
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
266
266
  }
267
- var node78 = makeLocationNode({
268
- service: Service74,
267
+ var node43 = makeLocationNode({
268
+ service: Service39,
269
269
  layer,
270
- deps: [node80, node79]
270
+ deps: [node80, node62]
271
271
  });
272
272
 
273
- export { RegistrationError2, Service74, node78, exports_tool, CallID2, Content3, Error5, FileContent3, TextContent2 };
273
+ export { RegistrationError2, Service39, node43, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service75
3
- } from "./model-yeqyw0z5.js";
2
+ Service58
3
+ } from "./bus-vyjzrkx0.js";
4
4
  import {
5
- Service50
6
- } from "./model-hq8zt1th.js";
5
+ Service43
6
+ } from "./bus-ve6nm2s5.js";
7
7
  import {
8
8
  detect2
9
- } from "./model-3smtnn6g.js";
9
+ } from "./bus-3smtnn6g.js";
10
10
  import {
11
11
  awaitActivation2
12
- } from "./model-phz3h32g.js";
12
+ } from "./bus-qc068m1q.js";
13
13
  import {
14
- Service76
15
- } from "./model-dnc4tg6k.js";
14
+ Service75
15
+ } from "./bus-dc76j9wz.js";
16
16
  import {
17
17
  AttachmentError2,
18
18
  SkillNotFoundError2
19
- } from "./model-phc8pspp.js";
19
+ } from "./bus-7p797550.js";
20
20
  import {
21
21
  prepare3,
22
- Service34
23
- } from "./model-5rgh8ask.js";
22
+ Service51
23
+ } from "./bus-amvyxnqq.js";
24
24
  import {
25
25
  __export
26
- } from "./model-9rqn6x4v.js";
26
+ } from "./bus-9rqn6x4v.js";
27
27
 
28
28
  // src/session/prompt.ts
29
29
  var exports_prompt = {};
@@ -39,10 +39,10 @@ import path from "path";
39
39
  import { fileURLToPath } from "url";
40
40
  var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
41
41
  const fs = yield* FSUtil.Service;
42
- const instances = yield* Service50;
42
+ const instances = yield* Service43;
43
43
  return yield* Effect.gen(function* () {
44
44
  yield* awaitActivation2;
45
- const hooks = yield* Service76;
45
+ const hooks = yield* Service75;
46
46
  const event = yield* hooks.trigger("session", "prompt", {
47
47
  sessionID: request.session.id,
48
48
  messageID: request.messageID,
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
61
61
  const selected = yield* Effect.gen(function* () {
62
62
  if (!requested?.length)
63
63
  return;
64
- const skillService = yield* Service34;
64
+ const skillService = yield* Service51;
65
65
  const prepared = new Map;
66
66
  return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
67
67
  const name = prepared.get(attachment.id);
@@ -125,7 +125,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
125
125
  var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
126
126
  if (!mime.startsWith("image/"))
127
127
  return { data: Base64.make(data), mime };
128
- const image = yield* Service75;
128
+ const image = yield* Service58;
129
129
  const label = input.name ?? (input.uri.startsWith("data:") ? "inline attachment" : input.uri);
130
130
  const content = { uri: label, content: data, encoding: "base64", mime };
131
131
  const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./model-33n3bzdy.js";
4
+ } from "./bus-txh28jzs.js";
5
5
  import {
6
6
  __export
7
- } from "./model-9rqn6x4v.js";
7
+ } from "./bus-9rqn6x4v.js";
8
8
 
9
9
  // src/aisdk-native.ts
10
10
  var exports_aisdk_native = {};