@opencode/core 0.0.0-dev-19868 → 0.0.0-dev-19870

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 (797) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{workspace-j58c5xyq.js → variant-0jq9fyba.js} +9 -9
  8. package/dist/chunks/{workspace-7dqw4kz8.js → variant-0jwsre1p.js} +5 -5
  9. package/dist/chunks/{workspace-p08vy892.js → variant-0n363b86.js} +18 -18
  10. package/dist/chunks/{workspace-0paq2nw3.js → variant-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{workspace-0q0f95c6.js → variant-0q0f95c6.js} +1 -1
  12. package/dist/chunks/variant-0x95mqex.js +252 -0
  13. package/dist/chunks/{workspace-mhkvc446.js → variant-1bbkgx8g.js} +3 -3
  14. package/dist/chunks/{workspace-1dazxqgg.js → variant-1dazxqgg.js} +2 -2
  15. package/dist/chunks/{workspace-wvnvj3ny.js → variant-1fp8qf5t.js} +16 -16
  16. package/dist/chunks/{workspace-dg3actxj.js → variant-1rndcnww.js} +14 -14
  17. package/dist/chunks/{workspace-mfqp6xfm.js → variant-1ygqh575.js} +6 -6
  18. package/dist/chunks/{workspace-21r38tys.js → variant-21r38tys.js} +1 -1
  19. package/dist/chunks/{workspace-k937qatw.js → variant-22hvkk3a.js} +16 -16
  20. package/dist/chunks/{workspace-1109kv5r.js → variant-2336b01z.js} +8 -8
  21. package/dist/chunks/{workspace-7yqjxrmz.js → variant-23pqda6t.js} +6 -6
  22. package/dist/chunks/{workspace-htw1ycyk.js → variant-27f6pddp.js} +15 -15
  23. package/dist/chunks/{workspace-2a5m3afh.js → variant-2a5m3afh.js} +1 -1
  24. package/dist/chunks/{workspace-q3bxgjqn.js → variant-2bq490qs.js} +4 -4
  25. package/dist/chunks/{workspace-8zgc7er9.js → variant-2p6dchyf.js} +24 -24
  26. package/dist/chunks/variant-2sy8xs0p.js +26 -0
  27. package/dist/chunks/{workspace-3tgcwym4.js → variant-2v626tz4.js} +24 -28
  28. package/dist/chunks/{workspace-76005v5f.js → variant-2wse4pe0.js} +16 -16
  29. package/dist/chunks/{workspace-aa9t59y1.js → variant-38xgq6ts.js} +3 -3
  30. package/dist/chunks/{workspace-qwjmgwmn.js → variant-3a83a0n4.js} +8 -8
  31. package/dist/chunks/{workspace-3fc6dm20.js → variant-3fc6dm20.js} +1 -1
  32. package/dist/chunks/{workspace-3hepkmqq.js → variant-3hepkmqq.js} +1 -1
  33. package/dist/chunks/{workspace-yz3kvdcx.js → variant-3kj23qd9.js} +35 -35
  34. package/dist/chunks/{workspace-kxmwd5yc.js → variant-3nxmjfv1.js} +7 -7
  35. package/dist/chunks/{workspace-vezzzda7.js → variant-3sg1857t.js} +3 -3
  36. package/dist/chunks/{workspace-9j1vvs8j.js → variant-3sh56xx4.js} +16 -16
  37. package/dist/chunks/{workspace-3smtnn6g.js → variant-3smtnn6g.js} +1 -1
  38. package/dist/chunks/{workspace-knb7evpn.js → variant-3tq5qxbk.js} +8 -8
  39. package/dist/chunks/{workspace-3tvqynh2.js → variant-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{workspace-0czfemej.js → variant-426fnjcx.js} +24 -24
  41. package/dist/chunks/{workspace-zgr14hn3.js → variant-4b9121e6.js} +47 -47
  42. package/dist/chunks/{workspace-k8cw4d8y.js → variant-4bwdz5w5.js} +19 -19
  43. package/dist/chunks/{workspace-h6r3nrb9.js → variant-4dgbcxzg.js} +4 -4
  44. package/dist/chunks/{workspace-azhhx3ms.js → variant-4x868fka.js} +22 -26
  45. package/dist/chunks/{workspace-d5ttdwt8.js → variant-52mty8jq.js} +17 -17
  46. package/dist/chunks/{workspace-drwq78ky.js → variant-57b9ws8p.js} +5 -5
  47. package/dist/chunks/{workspace-g7jvb7c9.js → variant-595ycqh3.js} +12 -12
  48. package/dist/chunks/{workspace-f9mw7c7h.js → variant-59skmtgb.js} +9 -9
  49. package/dist/chunks/{workspace-gvmqr5pk.js → variant-5c64zym4.js} +23 -23
  50. package/dist/chunks/{workspace-5daktx2q.js → variant-5daktx2q.js} +1 -1
  51. package/dist/chunks/{workspace-vv04kfpz.js → variant-5ekhjdzd.js} +52 -52
  52. package/dist/chunks/{workspace-640tze88.js → variant-5g8jbnaq.js} +36 -36
  53. package/dist/chunks/{workspace-nrrebj3s.js → variant-5hbhpyan.js} +5 -5
  54. package/dist/chunks/{workspace-2cgcygzs.js → variant-5mzeg4hj.js} +11 -11
  55. package/dist/chunks/{workspace-mcaqvdzr.js → variant-5n7wdh8h.js} +44 -44
  56. package/dist/chunks/{workspace-e3qxr5gk.js → variant-5qd3pb7m.js} +2 -2
  57. package/dist/chunks/{workspace-5t3nmthw.js → variant-5t3nmthw.js} +2 -2
  58. package/dist/chunks/{workspace-gwcgtenh.js → variant-5td0dyr7.js} +3 -3
  59. package/dist/chunks/{workspace-z0fspzj3.js → variant-63t418ew.js} +7 -7
  60. package/dist/chunks/{workspace-669tq793.js → variant-669tq793.js} +1 -1
  61. package/dist/chunks/{workspace-e5wkkm03.js → variant-66f6bbr7.js} +11 -11
  62. package/dist/chunks/{workspace-tvjwykrv.js → variant-699ehe3v.js} +20 -20
  63. package/dist/chunks/{workspace-y1qqcj8h.js → variant-69apea2v.js} +8 -8
  64. package/dist/chunks/{workspace-dhsfmmf6.js → variant-69f6zjgr.js} +24 -24
  65. package/dist/chunks/{workspace-2402vzrj.js → variant-6h73sxmp.js} +5 -5
  66. package/dist/chunks/{workspace-6msgmcgs.js → variant-6msgmcgs.js} +1 -1
  67. package/dist/chunks/{workspace-3j0xc7ma.js → variant-6mvzryz6.js} +6 -6
  68. package/dist/chunks/{workspace-0mapazwk.js → variant-6npfsxfv.js} +5 -5
  69. package/dist/chunks/{workspace-9sh3hrkk.js → variant-6qact9tb.js} +14 -14
  70. package/dist/chunks/{workspace-pytmt9db.js → variant-6wz2mwbh.js} +6 -6
  71. package/dist/chunks/{workspace-119stp71.js → variant-78rnjdtr.js} +23 -23
  72. package/dist/chunks/{workspace-9x5tcemn.js → variant-797prdqw.js} +33 -33
  73. package/dist/chunks/{workspace-f7bpj06z.js → variant-79dhzyk4.js} +37 -37
  74. package/dist/chunks/{workspace-c765mh8b.js → variant-79qaa2kf.js} +9 -9
  75. package/dist/chunks/{workspace-7bmhse3q.js → variant-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{workspace-gx7pnxmb.js → variant-7d77z8qn.js} +24 -24
  77. package/dist/chunks/{workspace-4tc7j1s6.js → variant-7dn399d2.js} +18 -18
  78. package/dist/chunks/{workspace-2w6fc0zt.js → variant-81swgkk7.js} +7 -7
  79. package/dist/chunks/{workspace-mxzszbxx.js → variant-85ka1n07.js} +4 -4
  80. package/dist/chunks/{workspace-tcezcvh9.js → variant-89znhe33.js} +4 -4
  81. package/dist/chunks/{workspace-8d7r5vzw.js → variant-8d7r5vzw.js} +1 -1
  82. package/dist/chunks/{workspace-8p4f9s12.js → variant-8p4f9s12.js} +2 -2
  83. package/dist/chunks/{workspace-cjwramev.js → variant-8qh6anns.js} +4 -4
  84. package/dist/chunks/{workspace-9h41vc4j.js → variant-8s8mxddj.js} +4 -4
  85. package/dist/chunks/{workspace-kms6q2ez.js → variant-95mg8qdk.js} +42 -42
  86. package/dist/chunks/{workspace-j42yeeyy.js → variant-984xje6x.js} +9 -9
  87. package/dist/chunks/{workspace-bw5fx9w3.js → variant-9eqcjrtc.js} +26 -26
  88. package/dist/chunks/{workspace-jejc27r1.js → variant-9hfpfwmp.js} +25 -25
  89. package/dist/chunks/{workspace-w8xr7nv8.js → variant-9pkkzrmj.js} +5 -5
  90. package/dist/chunks/{workspace-z6r9rkh1.js → variant-9x9g2km1.js} +15 -15
  91. package/dist/chunks/{workspace-a1bz86dw.js → variant-a1bz86dw.js} +3 -3
  92. package/dist/chunks/{workspace-xsqft5rp.js → variant-aa2dfqx3.js} +9 -9
  93. package/dist/chunks/{workspace-aaet6srn.js → variant-aaet6srn.js} +2 -2
  94. package/dist/chunks/{workspace-yr9g6ed9.js → variant-aes001kk.js} +11 -11
  95. package/dist/chunks/{workspace-b1y316pz.js → variant-ahkqwmsk.js} +17 -17
  96. package/dist/chunks/{workspace-0w8keya2.js → variant-akz62yx4.js} +26 -26
  97. package/dist/chunks/{workspace-phn0hpgm.js → variant-avssftjx.js} +24 -24
  98. package/dist/chunks/{workspace-9jwxq161.js → variant-b09hzw3k.js} +2 -2
  99. package/dist/chunks/{workspace-6dgtvp0d.js → variant-b28k5m4e.js} +6 -6
  100. package/dist/chunks/{workspace-b6gygkdw.js → variant-b6gygkdw.js} +2 -2
  101. package/dist/chunks/{workspace-ag4kexbf.js → variant-b80rxd7q.js} +13 -13
  102. package/dist/chunks/{workspace-1rmaqtrx.js → variant-baasw9zs.js} +4 -4
  103. package/dist/chunks/{workspace-cq37gk0t.js → variant-bajakh74.js} +4 -4
  104. package/dist/chunks/{workspace-xhrj4m9x.js → variant-bcnj3jcy.js} +4 -4
  105. package/dist/chunks/{workspace-hckqc91h.js → variant-brs92t9y.js} +1 -1
  106. package/dist/chunks/{workspace-vr6b7mr3.js → variant-bya9q4dt.js} +9 -9
  107. package/dist/chunks/{workspace-76prynaz.js → variant-c2fs7f6w.js} +22 -22
  108. package/dist/chunks/{workspace-2vkv0cnq.js → variant-c488s98d.js} +12 -12
  109. package/dist/chunks/{workspace-c9ynr917.js → variant-cd5s39xc.js} +34 -34
  110. package/dist/chunks/{workspace-cfpkc3c9.js → variant-cfpkc3c9.js} +2 -2
  111. package/dist/chunks/{workspace-mbx2ejk6.js → variant-ck31s172.js} +18 -18
  112. package/dist/chunks/{workspace-g99e2w2z.js → variant-cn5pa7p4.js} +5 -5
  113. package/dist/chunks/{workspace-x9s3fszq.js → variant-cpf2vz9x.js} +8 -8
  114. package/dist/chunks/{workspace-s1w4g419.js → variant-csbme2kj.js} +32 -32
  115. package/dist/chunks/{workspace-tzrxspzq.js → variant-d58cxt6j.js} +13 -13
  116. package/dist/chunks/{workspace-6n9fsvem.js → variant-d5d87h16.js} +35 -35
  117. package/dist/chunks/{workspace-hygh15yy.js → variant-d60c54a9.js} +11 -11
  118. package/dist/chunks/{workspace-z3pw5915.js → variant-dj9sq318.js} +5 -5
  119. package/dist/chunks/{workspace-hn5pff8k.js → variant-drds58r6.js} +32 -32
  120. package/dist/chunks/{workspace-djses6k1.js → variant-e5j09evz.js} +30 -30
  121. package/dist/chunks/{workspace-sp98yqng.js → variant-e6aynt16.js} +5 -5
  122. package/dist/chunks/{workspace-ef5x83kb.js → variant-ef5x83kb.js} +1 -1
  123. package/dist/chunks/{workspace-30v61e4e.js → variant-enghe46c.js} +9 -9
  124. package/dist/chunks/{workspace-j92jf1xs.js → variant-eq85q6rd.js} +44 -44
  125. package/dist/chunks/{workspace-erw5rpbs.js → variant-erw5rpbs.js} +2 -2
  126. package/dist/chunks/{workspace-emz89tv7.js → variant-erzb7j7f.js} +6 -6
  127. package/dist/chunks/{workspace-etq0c3wd.js → variant-etq0c3wd.js} +1 -1
  128. package/dist/chunks/{workspace-4znvn7gr.js → variant-ewxykczn.js} +17 -17
  129. package/dist/chunks/{workspace-f828m53h.js → variant-f828m53h.js} +2 -2
  130. package/dist/chunks/{workspace-84zcxbc9.js → variant-fhz5gfgy.js} +5 -5
  131. package/dist/chunks/{workspace-s88rm0rm.js → variant-fka5ga8d.js} +15 -15
  132. package/dist/chunks/{workspace-52v19zrt.js → variant-fknkhxqq.js} +11 -20
  133. package/dist/chunks/{workspace-fxbjtjnd.js → variant-fxbjtjnd.js} +1 -1
  134. package/dist/chunks/{workspace-vvq5e17p.js → variant-g18gr89e.js} +43 -43
  135. package/dist/chunks/{workspace-gd4qta3r.js → variant-gd4qta3r.js} +1 -1
  136. package/dist/chunks/{workspace-wactcfnt.js → variant-geb11jcd.js} +23 -23
  137. package/dist/chunks/{workspace-hcz3zddy.js → variant-gg7pg1rj.js} +5 -5
  138. package/dist/chunks/{workspace-qt8r77pr.js → variant-ghwq1jbs.js} +43 -43
  139. package/dist/chunks/{workspace-4t8knyq2.js → variant-gjt2phrg.js} +5 -5
  140. package/dist/chunks/{workspace-gjnmnqwt.js → variant-grt0tkrz.js} +11 -11
  141. package/dist/chunks/{workspace-j1ffvbkn.js → variant-gsgspxn5.js} +28 -28
  142. package/dist/chunks/{workspace-gv6a8nnw.js → variant-gv6a8nnw.js} +2 -2
  143. package/dist/chunks/{workspace-schm2sng.js → variant-gxbfjqcv.js} +8 -8
  144. package/dist/chunks/{workspace-yt0nqd71.js → variant-h1cw8hcp.js} +26 -26
  145. package/dist/chunks/{workspace-m1bgddgg.js → variant-h2bgjhkt.js} +20 -20
  146. package/dist/chunks/{workspace-zmxsg9ks.js → variant-h48hzw2b.js} +10 -10
  147. package/dist/chunks/{workspace-h6vf3j39.js → variant-h6vf3j39.js} +1 -1
  148. package/dist/chunks/{workspace-jwha2mbq.js → variant-h99nf0kn.js} +1 -1
  149. package/dist/chunks/{workspace-8aa7pp5r.js → variant-h9v43k74.js} +6 -6
  150. package/dist/chunks/{workspace-5tcart1v.js → variant-hcy87vkc.js} +11 -11
  151. package/dist/chunks/{workspace-9qe8ae4t.js → variant-hfz6vx2t.js} +23 -23
  152. package/dist/chunks/{workspace-vasgb4rq.js → variant-hgyz5sh6.js} +11 -11
  153. package/dist/chunks/{workspace-verpn3ap.js → variant-hhjr1295.js} +22 -22
  154. package/dist/chunks/{workspace-fh9v80gy.js → variant-hmmkxdzd.js} +37 -37
  155. package/dist/chunks/{workspace-rhs20sc7.js → variant-hs28tab5.js} +8 -8
  156. package/dist/chunks/{workspace-rg9v85ha.js → variant-hs7hr3sk.js} +5 -5
  157. package/dist/chunks/{workspace-mvtq8teh.js → variant-hsj07s21.js} +12 -12
  158. package/dist/chunks/{workspace-dg479f66.js → variant-htkg1ped.js} +52 -52
  159. package/dist/chunks/{workspace-n5xymp74.js → variant-hv4mpymf.js} +10 -10
  160. package/dist/chunks/variant-hxa7m5za.js +4 -0
  161. package/dist/chunks/{workspace-qyjqzc07.js → variant-hzb4nw6c.js} +5 -5
  162. package/dist/chunks/{workspace-5bzxswar.js → variant-j0kmkqfz.js} +11 -11
  163. package/dist/chunks/{workspace-hj5t9pdr.js → variant-j5029czd.js} +37 -37
  164. package/dist/chunks/{workspace-j56e64zr.js → variant-j56e64zr.js} +1 -1
  165. package/dist/chunks/{workspace-vs25hdcx.js → variant-j79n6wxr.js} +24 -24
  166. package/dist/chunks/{workspace-r98e92ep.js → variant-j83byb14.js} +4 -4
  167. package/dist/chunks/{workspace-bj35d2pw.js → variant-j88pc17k.js} +2 -2
  168. package/dist/chunks/{workspace-56ymmxn6.js → variant-jc42g46n.js} +15 -15
  169. package/dist/chunks/{workspace-r0xdmm2x.js → variant-jk0hetf2.js} +6 -6
  170. package/dist/chunks/{workspace-qamn654r.js → variant-jkz8cxnn.js} +22 -22
  171. package/dist/chunks/{workspace-8e8ps5tf.js → variant-jpg1q0jq.js} +301 -301
  172. package/dist/chunks/{workspace-a5a142dt.js → variant-jz1pp4jz.js} +16 -16
  173. package/dist/chunks/{workspace-k3c624dm.js → variant-k3c624dm.js} +3 -3
  174. package/dist/chunks/{workspace-cpjjta28.js → variant-k5m7dxb4.js} +31 -31
  175. package/dist/chunks/{workspace-nvesdtrj.js → variant-kefnbk3p.js} +9 -9
  176. package/dist/chunks/{workspace-b6tzn7vp.js → variant-kfmyqsf5.js} +6 -6
  177. package/dist/chunks/{workspace-k6d5y4dc.js → variant-kj4zctnd.js} +34 -34
  178. package/dist/chunks/{workspace-tcmcg8px.js → variant-kjk9sg2v.js} +18 -18
  179. package/dist/chunks/{workspace-feqpnje0.js → variant-kmg4jv2q.js} +12 -12
  180. package/dist/chunks/{workspace-9afpsfvx.js → variant-knws4kq8.js} +17 -17
  181. package/dist/chunks/{workspace-m3fdjcah.js → variant-m3fdjcah.js} +1 -1
  182. package/dist/chunks/{workspace-3h8gz3da.js → variant-m59xe4a8.js} +10 -10
  183. package/dist/chunks/{workspace-m9w0rfyh.js → variant-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{workspace-1qycez7y.js → variant-mbjhvwvw.js} +10 -10
  185. package/dist/chunks/{workspace-pzgjdz9t.js → variant-mhk04qte.js} +15 -15
  186. package/dist/chunks/{workspace-dn898nnx.js → variant-mmacmsvk.js} +14 -14
  187. package/dist/chunks/{workspace-n6yg2dx3.js → variant-mpgyntzp.js} +22 -22
  188. package/dist/chunks/{workspace-em3wvctz.js → variant-mrb3fjvr.js} +11 -11
  189. package/dist/chunks/{workspace-vqfzq50h.js → variant-mrvjcs5x.js} +6 -6
  190. package/dist/chunks/{workspace-csf2jhsg.js → variant-msq0jde0.js} +4 -4
  191. package/dist/chunks/{workspace-x91xbnrx.js → variant-mxra0cmd.js} +40 -40
  192. package/dist/chunks/{workspace-x38a7pd9.js → variant-mxw0tdhe.js} +10 -10
  193. package/dist/chunks/{workspace-v6gegsry.js → variant-n23fqgkg.js} +4 -4
  194. package/dist/chunks/{workspace-xnrjh0c9.js → variant-nm9hpb8x.js} +32 -32
  195. package/dist/chunks/{workspace-v4hc9963.js → variant-nmgvgfpr.js} +13 -13
  196. package/dist/chunks/{workspace-5wtwrezn.js → variant-nrdmrqsx.js} +21 -21
  197. package/dist/chunks/{workspace-96mnwtcy.js → variant-nrjct5b1.js} +5 -5
  198. package/dist/chunks/{workspace-k4gqzfjc.js → variant-nwqme974.js} +9 -9
  199. package/dist/chunks/{workspace-nxhqveyz.js → variant-nxhqveyz.js} +2 -2
  200. package/dist/chunks/{workspace-8hgfhrm0.js → variant-p26nknmg.js} +11 -11
  201. package/dist/chunks/{workspace-p28j5sbe.js → variant-p28j5sbe.js} +2 -2
  202. package/dist/chunks/{workspace-pa8pe2x7.js → variant-p37cw4rj.js} +8 -8
  203. package/dist/chunks/{workspace-rqbg1bcf.js → variant-p4qdj091.js} +25 -25
  204. package/dist/chunks/{workspace-2ph2e9fc.js → variant-p6keb3nc.js} +25 -25
  205. package/dist/chunks/{workspace-rghjtt8s.js → variant-p8mhfpfb.js} +9 -9
  206. package/dist/chunks/{workspace-9705fph6.js → variant-p9bjh04g.js} +4 -4
  207. package/dist/chunks/{workspace-amrr7ry4.js → variant-pe9k0hgm.js} +15 -15
  208. package/dist/chunks/variant-phz3h32g.js +18 -0
  209. package/dist/chunks/{workspace-pjvnvgmy.js → variant-pjvnvgmy.js} +1 -1
  210. package/dist/chunks/{workspace-h2211vcb.js → variant-pkgc53va.js} +24 -24
  211. package/dist/chunks/{workspace-pknna89w.js → variant-pknna89w.js} +1 -1
  212. package/dist/chunks/{workspace-tbvspnbj.js → variant-pm0pb3r2.js} +17 -17
  213. package/dist/chunks/{workspace-ts2x07a1.js → variant-pstg3rfm.js} +1 -1
  214. package/dist/chunks/{workspace-dev81jam.js → variant-q0t2e31h.js} +12 -12
  215. package/dist/chunks/{workspace-n6v7ce86.js → variant-qd8pq7fc.js} +3 -3
  216. package/dist/chunks/{workspace-9m2qs40w.js → variant-qnk3s0sd.js} +23 -23
  217. package/dist/chunks/{workspace-qsdy395h.js → variant-qsdy395h.js} +1 -1
  218. package/dist/chunks/{workspace-zrnz6j7v.js → variant-qxxgnsfr.js} +25 -25
  219. package/dist/chunks/{workspace-tf5sv5hw.js → variant-r558ape6.js} +23 -23
  220. package/dist/chunks/{workspace-rdw6cm16.js → variant-rdw6cm16.js} +1 -1
  221. package/dist/chunks/{workspace-fhs97t90.js → variant-rhafb4aa.js} +5 -5
  222. package/dist/chunks/{workspace-baka6n5b.js → variant-rhebeh0n.js} +21 -21
  223. package/dist/chunks/{workspace-fyrtbwax.js → variant-rj9ftj0p.js} +13 -13
  224. package/dist/chunks/{workspace-4wywd361.js → variant-rjhkz1w2.js} +20 -20
  225. package/dist/chunks/{workspace-j63bvea4.js → variant-rkyj0vr4.js} +24 -24
  226. package/dist/chunks/{workspace-fjq5ektr.js → variant-rvh4km1y.js} +15 -15
  227. package/dist/chunks/{workspace-3gaagh7n.js → variant-s2y5anze.js} +5 -5
  228. package/dist/chunks/{workspace-21mbbwne.js → variant-s305wbyz.js} +176 -176
  229. package/dist/chunks/{workspace-j0cv997d.js → variant-sg1qr0px.js} +12 -12
  230. package/dist/chunks/{workspace-adnwk2gk.js → variant-sg4rfxht.js} +16 -16
  231. package/dist/chunks/{workspace-52gr90nh.js → variant-sghfg077.js} +11 -11
  232. package/dist/chunks/{workspace-1qyabnfk.js → variant-sh98p1a6.js} +4 -4
  233. package/dist/chunks/{workspace-ydj4c9qd.js → variant-smbnzawa.js} +10 -10
  234. package/dist/chunks/{workspace-x5pkgzc5.js → variant-sqjsdc8q.js} +7 -7
  235. package/dist/chunks/{workspace-9b4mawvy.js → variant-szh1cwdh.js} +7 -7
  236. package/dist/chunks/{workspace-jcrz4hmc.js → variant-t1vey1sx.js} +3 -3
  237. package/dist/chunks/{workspace-t9v3wm2f.js → variant-t3mnpksc.js} +8 -8
  238. package/dist/chunks/{workspace-hn77gdma.js → variant-t44e5ekz.js} +8 -8
  239. package/dist/chunks/{workspace-rhjbct0v.js → variant-t550f9t1.js} +4 -4
  240. package/dist/chunks/{workspace-xb02k0wq.js → variant-t6vsspdg.js} +7 -7
  241. package/dist/chunks/{workspace-bq7nf7xv.js → variant-tabeb9mm.js} +65 -65
  242. package/dist/chunks/{workspace-tazgh4e4.js → variant-tazgh4e4.js} +1 -1
  243. package/dist/chunks/{workspace-tdstcens.js → variant-tdstcens.js} +1 -1
  244. package/dist/chunks/{workspace-51zkqdw5.js → variant-teqxcq05.js} +9 -9
  245. package/dist/chunks/{workspace-w9r9xghe.js → variant-tfn5j0a9.js} +13 -13
  246. package/dist/chunks/{workspace-aybvkqa5.js → variant-tgbn9x0e.js} +32 -32
  247. package/dist/chunks/{workspace-h90v2x9d.js → variant-tjedn1bk.js} +4 -4
  248. package/dist/chunks/{workspace-09y5xx2s.js → variant-tn764by2.js} +8 -8
  249. package/dist/chunks/{workspace-tvtrv512.js → variant-tvtrv512.js} +1 -1
  250. package/dist/chunks/{workspace-tb1f4dxy.js → variant-txhgrjp2.js} +17 -17
  251. package/dist/chunks/{workspace-gxhq3ync.js → variant-tz84jmpd.js} +13 -13
  252. package/dist/chunks/{workspace-gqef77pn.js → variant-v0qc0xfw.js} +23 -23
  253. package/dist/chunks/{workspace-9c4ssm1m.js → variant-vdkvxh6g.js} +28 -28
  254. package/dist/chunks/{workspace-veqvce7d.js → variant-veqvce7d.js} +1 -1
  255. package/dist/chunks/{workspace-3dn0bamk.js → variant-vtd3ynzc.js} +6 -6
  256. package/dist/chunks/{workspace-vzcthcp8.js → variant-vzcthcp8.js} +1 -1
  257. package/dist/chunks/{workspace-wtq3xfw6.js → variant-w1kyw1wm.js} +11 -11
  258. package/dist/chunks/{workspace-w3wsvvr9.js → variant-w3wsvvr9.js} +1 -1
  259. package/dist/chunks/{workspace-hk53zz53.js → variant-w666pgwc.js} +41 -41
  260. package/dist/chunks/{workspace-wd87259q.js → variant-wd87259q.js} +1 -1
  261. package/dist/chunks/{workspace-gzbkpp9m.js → variant-whmjp8hh.js} +9 -9
  262. package/dist/chunks/{workspace-mdrscssp.js → variant-wjjn3hja.js} +4 -4
  263. package/dist/chunks/{workspace-y85xckx8.js → variant-wnnqbafk.js} +15 -15
  264. package/dist/chunks/{workspace-snrwn5jy.js → variant-wsr5pxgw.js} +18 -18
  265. package/dist/chunks/{workspace-grprzeq7.js → variant-wv44f8tc.js} +25 -25
  266. package/dist/chunks/{workspace-186vekz9.js → variant-wzbs3mda.js} +10 -10
  267. package/dist/chunks/{workspace-x1ezjp6w.js → variant-x1ezjp6w.js} +1 -1
  268. package/dist/chunks/{workspace-srym6801.js → variant-x52p01ey.js} +17 -17
  269. package/dist/chunks/{workspace-ecjcczzd.js → variant-x76vnk27.js} +21 -21
  270. package/dist/chunks/{workspace-3xmpap9n.js → variant-x9x1wca8.js} +83 -82
  271. package/dist/chunks/{workspace-7mwh74bs.js → variant-xdjtnqtw.js} +46 -46
  272. package/dist/chunks/{workspace-5p22jxmx.js → variant-xq2nfj3p.js} +22 -22
  273. package/dist/chunks/{workspace-hn57h045.js → variant-xw0r27ex.js} +4 -4
  274. package/dist/chunks/{workspace-y1fvbwt7.js → variant-y1fvbwt7.js} +1 -1
  275. package/dist/chunks/{workspace-skyymkrr.js → variant-y6f0p4jw.js} +2 -2
  276. package/dist/chunks/{workspace-dpkg50ah.js → variant-y71avatq.js} +4 -4
  277. package/dist/chunks/{workspace-d0cqzhqk.js → variant-ye3jx5n8.js} +11 -11
  278. package/dist/chunks/{workspace-f2n192rq.js → variant-yp2x3t23.js} +4 -4
  279. package/dist/chunks/{workspace-yrhqyw5v.js → variant-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{workspace-s4enseaf.js → variant-yrznvahk.js} +2 -2
  281. package/dist/chunks/{workspace-sh5j93g6.js → variant-ytn5d3vs.js} +17 -17
  282. package/dist/chunks/{workspace-z0bkrqjs.js → variant-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{workspace-xbb7hcq8.js → variant-z4dwdpe4.js} +85 -85
  284. package/dist/chunks/{workspace-29x78va6.js → variant-z63w68vq.js} +6 -6
  285. package/dist/chunks/{workspace-wxcv19ds.js → variant-z8m6gbkd.js} +10 -10
  286. package/dist/chunks/{workspace-zeh9ct20.js → variant-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{workspace-3xdvkjpj.js → variant-zghmsxd1.js} +26 -26
  288. package/dist/chunks/{workspace-2y271c3v.js → variant-zmfbpthp.js} +15 -15
  289. package/dist/chunks/{workspace-zr2ceqn5.js → variant-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{workspace-zxq2ej10.js → variant-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +9 -9
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +80 -80
  296. package/dist/config/discovery.js +83 -83
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +105 -105
  299. package/dist/config/plugin/agent.js +124 -124
  300. package/dist/config/plugin/command.js +213 -213
  301. package/dist/config/plugin/compaction.js +161 -161
  302. package/dist/config/plugin/compatibility.js +140 -140
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +123 -123
  305. package/dist/config/plugin/image.js +122 -122
  306. package/dist/config/plugin/instruction.js +89 -89
  307. package/dist/config/plugin/location-watcher.js +122 -122
  308. package/dist/config/plugin/mcp.js +131 -131
  309. package/dist/config/plugin/policy.js +122 -122
  310. package/dist/config/plugin/provider.js +122 -122
  311. package/dist/config/plugin/reference.js +124 -124
  312. package/dist/config/plugin/shell.js +122 -122
  313. package/dist/config/plugin/skill-file.js +101 -101
  314. package/dist/config/plugin/skill.js +143 -143
  315. package/dist/config/plugin/snapshot.js +122 -122
  316. package/dist/config/plugin/source.js +123 -123
  317. package/dist/config/plugin/tool-output.js +124 -124
  318. package/dist/config/plugin/websearch.js +121 -121
  319. package/dist/config/plugin/worktree.js +124 -124
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +127 -127
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +80 -80
  325. package/dist/database/database.js +65 -65
  326. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +15 -15
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +16 -16
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration.gen.js +48 -48
  390. package/dist/database/migration.js +50 -50
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +75 -75
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +368 -368
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +3 -3
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +92 -92
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +94 -94
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +1 -1
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +69 -69
  414. package/dist/file-access.js +101 -101
  415. package/dist/file-mutation.js +93 -93
  416. package/dist/file-retention.js +1 -1
  417. package/dist/file.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/ignore.js +1 -1
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +220 -220
  425. package/dist/filesystem/protected.js +3 -3
  426. package/dist/filesystem/search.js +102 -102
  427. package/dist/filesystem/watcher-binding.js +3 -3
  428. package/dist/filesystem/watcher.js +15 -15
  429. package/dist/filesystem.js +107 -107
  430. package/dist/form.js +77 -77
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +88 -88
  433. package/dist/generate.js +100 -100
  434. package/dist/git.js +10 -10
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +98 -98
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/id/id.js +1 -1
  455. package/dist/image/photon.js +2 -2
  456. package/dist/image.js +6 -6
  457. package/dist/instance/service.js +5 -5
  458. package/dist/instance.js +359 -359
  459. package/dist/instruction-discovery.js +84 -84
  460. package/dist/instructions/builtins.js +86 -86
  461. package/dist/instructions/index.js +3 -3
  462. package/dist/integration/connection.js +3 -3
  463. package/dist/integration.js +83 -83
  464. package/dist/job.js +78 -78
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +72 -72
  467. package/dist/location-activity.js +129 -129
  468. package/dist/location-lifecycle.js +105 -105
  469. package/dist/location-mutation.js +101 -101
  470. package/dist/location-service-map.js +85 -85
  471. package/dist/location-services.js +356 -356
  472. package/dist/location.js +86 -86
  473. package/dist/mcp/client.js +90 -90
  474. package/dist/mcp/index.js +101 -101
  475. package/dist/mcp/instructions.js +127 -127
  476. package/dist/mcp/oauth.js +77 -77
  477. package/dist/mcp/stdio.js +89 -89
  478. package/dist/mime.js +1 -1
  479. package/dist/modal/models.js +98 -98
  480. package/dist/model-resolver.js +97 -97
  481. package/dist/model.js +99 -99
  482. package/dist/models-dev.js +106 -106
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +81 -81
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +112 -112
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +85 -85
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +74 -74
  492. package/dist/plugin/agent.js +103 -103
  493. package/dist/plugin/command.js +100 -100
  494. package/dist/plugin/compaction.js +132 -132
  495. package/dist/plugin/hooks.js +5 -5
  496. package/dist/plugin/host.js +217 -217
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +5 -5
  499. package/dist/plugin/internal.js +330 -330
  500. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  501. package/dist/plugin/models-dev.js +95 -95
  502. package/dist/plugin/module.js +7 -7
  503. package/dist/plugin/optimize.js +4 -4
  504. package/dist/plugin/plan.js +101 -101
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  507. package/dist/plugin/provider/azure.js +121 -121
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +118 -118
  513. package/dist/plugin/provider/digitalocean.js +92 -92
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/gateway.js +2 -2
  517. package/dist/plugin/provider/github-copilot.js +92 -92
  518. package/dist/plugin/provider/gitlab.js +90 -90
  519. package/dist/plugin/provider/google-vertex.js +89 -89
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +76 -76
  522. package/dist/plugin/provider/lmstudio.js +121 -121
  523. package/dist/plugin/provider/modal.js +91 -91
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +121 -121
  526. package/dist/plugin/provider/openai.js +93 -93
  527. package/dist/plugin/provider/opencode.js +92 -92
  528. package/dist/plugin/provider/openrouter.js +90 -90
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +77 -77
  531. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  532. package/dist/plugin/provider/sap-ai-core.js +90 -90
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  535. package/dist/plugin/provider/venice.js +2 -2
  536. package/dist/plugin/provider/vercel.js +89 -89
  537. package/dist/plugin/provider/vllm.js +121 -121
  538. package/dist/plugin/provider/xai.js +90 -90
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +158 -158
  541. package/dist/plugin/sdk.js +73 -73
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +140 -140
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +349 -349
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +85 -85
  549. package/dist/plugin/vcs/hg.js +85 -85
  550. package/dist/plugin/warming.js +120 -120
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +6 -6
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +4 -4
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +224 -224
  559. package/dist/project/schema.js +6 -6
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +87 -87
  562. package/dist/provider.js +96 -96
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/schema.js +3 -3
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +97 -97
  567. package/dist/reference/instructions.js +84 -84
  568. package/dist/reference.js +90 -90
  569. package/dist/repository-cache.js +80 -80
  570. package/dist/repository.js +3 -3
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +94 -94
  573. package/dist/rpc.js +85 -85
  574. package/dist/schema.js +1 -1
  575. package/dist/session/command.js +73 -73
  576. package/dist/session/compaction.js +131 -131
  577. package/dist/session/context.js +151 -151
  578. package/dist/session/diff.js +87 -87
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +7 -7
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +218 -218
  583. package/dist/session/execution.js +127 -127
  584. package/dist/session/generate.js +150 -150
  585. package/dist/session/history.js +15 -15
  586. package/dist/session/inbox.js +87 -87
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +78 -78
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +92 -92
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +116 -116
  594. package/dist/session/model-transport.js +7 -7
  595. package/dist/session/move.js +129 -129
  596. package/dist/session/projector.js +85 -85
  597. package/dist/session/prompt.js +104 -104
  598. package/dist/session/provider-context.js +3 -3
  599. package/dist/session/revert.js +89 -89
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +230 -230
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +97 -97
  605. package/dist/session/runner/publish-llm-event.js +3 -3
  606. package/dist/session/runner/retry.js +113 -113
  607. package/dist/session/runner/step.js +125 -125
  608. package/dist/session/runner/to-llm-message.js +2 -2
  609. package/dist/session/schema.js +3 -3
  610. package/dist/session/session.js +171 -171
  611. package/dist/session/shell.js +137 -137
  612. package/dist/session/skill.js +102 -102
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +72 -72
  615. package/dist/session/store.js +84 -84
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +207 -207
  618. package/dist/session/system-prompt.js +3 -3
  619. package/dist/session/title.js +155 -155
  620. package/dist/session/to-session-error.js +110 -110
  621. package/dist/session/transfer.js +214 -214
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +215 -215
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +11 -11
  628. package/dist/shell.js +139 -139
  629. package/dist/skill/discovery.js +4 -4
  630. package/dist/skill/instructions.js +106 -106
  631. package/dist/skill.js +111 -111
  632. package/dist/snapshot.js +90 -90
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +124 -124
  637. package/dist/tool/plugin/edit.js +119 -119
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +123 -123
  640. package/dist/tool/plugin/grep.js +121 -121
  641. package/dist/tool/plugin/opencode.js +3 -3
  642. package/dist/tool/plugin/patch.js +119 -119
  643. package/dist/tool/plugin/question.js +100 -100
  644. package/dist/tool/plugin/read.js +124 -124
  645. package/dist/tool/plugin/shell.js +214 -214
  646. package/dist/tool/plugin/skill.js +110 -110
  647. package/dist/tool/plugin/subagent.js +218 -218
  648. package/dist/tool/plugin/webfetch.js +105 -105
  649. package/dist/tool/plugin/websearch.js +111 -111
  650. package/dist/tool/plugin/write.js +121 -121
  651. package/dist/tool/read-filesystem.js +95 -95
  652. package/dist/tool/runtime.js +1 -1
  653. package/dist/tool-output.js +8 -8
  654. package/dist/tool.js +14 -14
  655. package/dist/types/mcp/instructions.d.ts +3 -2
  656. package/dist/types/skill/instructions.d.ts +3 -2
  657. package/dist/types/skill.d.ts +2 -2
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/error.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/iife.js +1 -1
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +7 -7
  668. package/dist/v1/config/attachment.js +4 -4
  669. package/dist/v1/config/command.js +5 -5
  670. package/dist/v1/config/config.js +16 -16
  671. package/dist/v1/config/error.js +4 -4
  672. package/dist/v1/config/formatter.js +7 -7
  673. package/dist/v1/config/layout.js +1 -1
  674. package/dist/v1/config/lsp.js +5 -5
  675. package/dist/v1/config/mcp.js +2 -2
  676. package/dist/v1/config/migrate.js +91 -91
  677. package/dist/v1/config/permission.js +7 -7
  678. package/dist/v1/config/plugin.js +3 -3
  679. package/dist/v1/config/provider-options.js +1 -1
  680. package/dist/v1/config/provider.js +4 -4
  681. package/dist/v1/config/server.js +2 -2
  682. package/dist/v1/config/skills.js +3 -3
  683. package/dist/v1/permission.js +1 -1
  684. package/dist/variant.js +92 -92
  685. package/dist/vcs/patch.js +1 -1
  686. package/dist/vcs.js +86 -86
  687. package/dist/websearch.js +81 -81
  688. package/dist/wellknown/plugin.js +73 -73
  689. package/dist/wellknown.js +78 -78
  690. package/dist/workspace/driver.js +3 -3
  691. package/dist/workspace/sql.js +1 -1
  692. package/dist/workspace.js +75 -75
  693. package/dist/worktree/directory.js +2 -2
  694. package/dist/worktree/git.js +10 -10
  695. package/dist/worktree/sql.js +5 -5
  696. package/dist/worktree/strategies.js +88 -88
  697. package/dist/worktree.js +97 -97
  698. package/package.json +8 -8
  699. package/dist/chunks/workspace-215ctjcd.js +0 -26
  700. package/dist/chunks/workspace-cdngtrdw.js +0 -252
  701. package/dist/chunks/workspace-pf31ssb9.js +0 -18
  702. package/dist/chunks/workspace-qapv375x.js +0 -4
  703. /package/dist/chunks/{workspace-0qkdqm5v.js → variant-0qkdqm5v.js} +0 -0
  704. /package/dist/chunks/{workspace-0zkw76rk.js → variant-0zkw76rk.js} +0 -0
  705. /package/dist/chunks/{workspace-17cy0kzp.js → variant-17cy0kzp.js} +0 -0
  706. /package/dist/chunks/{workspace-1cnp2v09.js → variant-1cnp2v09.js} +0 -0
  707. /package/dist/chunks/{workspace-1kg9ymc8.js → variant-1kg9ymc8.js} +0 -0
  708. /package/dist/chunks/{workspace-24dcb14g.js → variant-24dcb14g.js} +0 -0
  709. /package/dist/chunks/{workspace-2710q6r3.js → variant-2710q6r3.js} +0 -0
  710. /package/dist/chunks/{workspace-2axfhc9x.js → variant-2axfhc9x.js} +0 -0
  711. /package/dist/chunks/{workspace-2c3vjs8z.js → variant-2c3vjs8z.js} +0 -0
  712. /package/dist/chunks/{workspace-359p4xyc.js → variant-359p4xyc.js} +0 -0
  713. /package/dist/chunks/{workspace-3asan66x.js → variant-3asan66x.js} +0 -0
  714. /package/dist/chunks/{workspace-3v8g72cx.js → variant-3v8g72cx.js} +0 -0
  715. /package/dist/chunks/{workspace-3w5fmr99.js → variant-3w5fmr99.js} +0 -0
  716. /package/dist/chunks/{workspace-3wcehsnq.js → variant-3wcehsnq.js} +0 -0
  717. /package/dist/chunks/{workspace-43n2bw4t.js → variant-43n2bw4t.js} +0 -0
  718. /package/dist/chunks/{workspace-4knz6hnm.js → variant-4knz6hnm.js} +0 -0
  719. /package/dist/chunks/{workspace-4vcrnpx2.js → variant-4vcrnpx2.js} +0 -0
  720. /package/dist/chunks/{workspace-4y7fprxs.js → variant-4y7fprxs.js} +0 -0
  721. /package/dist/chunks/{workspace-53557ph1.js → variant-53557ph1.js} +0 -0
  722. /package/dist/chunks/{workspace-550bvhaj.js → variant-550bvhaj.js} +0 -0
  723. /package/dist/chunks/{workspace-6prwharc.js → variant-6prwharc.js} +0 -0
  724. /package/dist/chunks/{workspace-7akdwqpd.js → variant-7akdwqpd.js} +0 -0
  725. /package/dist/chunks/{workspace-7m9af43g.js → variant-7m9af43g.js} +0 -0
  726. /package/dist/chunks/{workspace-822emrt2.js → variant-822emrt2.js} +0 -0
  727. /package/dist/chunks/{workspace-88xbtdfr.js → variant-88xbtdfr.js} +0 -0
  728. /package/dist/chunks/{workspace-8n3pysct.js → variant-8n3pysct.js} +0 -0
  729. /package/dist/chunks/{workspace-922hggd3.js → variant-922hggd3.js} +0 -0
  730. /package/dist/chunks/{workspace-9a4afbnw.js → variant-9a4afbnw.js} +0 -0
  731. /package/dist/chunks/{workspace-9rqn6x4v.js → variant-9rqn6x4v.js} +0 -0
  732. /package/dist/chunks/{workspace-a6k6eb26.js → variant-a6k6eb26.js} +0 -0
  733. /package/dist/chunks/{workspace-af5trqkr.js → variant-af5trqkr.js} +0 -0
  734. /package/dist/chunks/{workspace-afrmfg78.js → variant-afrmfg78.js} +0 -0
  735. /package/dist/chunks/{workspace-aqzs7mqg.js → variant-aqzs7mqg.js} +0 -0
  736. /package/dist/chunks/{workspace-atq7p7m5.js → variant-atq7p7m5.js} +0 -0
  737. /package/dist/chunks/{workspace-bkyjaxrp.js → variant-bkyjaxrp.js} +0 -0
  738. /package/dist/chunks/{workspace-bmr6ed5q.js → variant-bmr6ed5q.js} +0 -0
  739. /package/dist/chunks/{workspace-cf4snx6d.js → variant-cf4snx6d.js} +0 -0
  740. /package/dist/chunks/{workspace-cvy3z8tj.js → variant-cvy3z8tj.js} +0 -0
  741. /package/dist/chunks/{workspace-d9fn303g.js → variant-d9fn303g.js} +0 -0
  742. /package/dist/chunks/{workspace-d9jj8t3e.js → variant-d9jj8t3e.js} +0 -0
  743. /package/dist/chunks/{workspace-dajrwvna.js → variant-dajrwvna.js} +0 -0
  744. /package/dist/chunks/{workspace-dap0rakb.js → variant-dap0rakb.js} +0 -0
  745. /package/dist/chunks/{workspace-df08tz66.js → variant-df08tz66.js} +0 -0
  746. /package/dist/chunks/{workspace-dy18nga0.js → variant-dy18nga0.js} +0 -0
  747. /package/dist/chunks/{workspace-e5kj55wp.js → variant-e5kj55wp.js} +0 -0
  748. /package/dist/chunks/{workspace-e73j6tqm.js → variant-e73j6tqm.js} +0 -0
  749. /package/dist/chunks/{workspace-ec1grn59.js → variant-ec1grn59.js} +0 -0
  750. /package/dist/chunks/{workspace-eh3zwz77.js → variant-eh3zwz77.js} +0 -0
  751. /package/dist/chunks/{workspace-emrn6kk6.js → variant-emrn6kk6.js} +0 -0
  752. /package/dist/chunks/{workspace-f0mxakyp.js → variant-f0mxakyp.js} +0 -0
  753. /package/dist/chunks/{workspace-f6n9ztr4.js → variant-f6n9ztr4.js} +0 -0
  754. /package/dist/chunks/{workspace-faypxj3z.js → variant-faypxj3z.js} +0 -0
  755. /package/dist/chunks/{workspace-fd410y7t.js → variant-fd410y7t.js} +0 -0
  756. /package/dist/chunks/{workspace-fxgpk5d8.js → variant-fxgpk5d8.js} +0 -0
  757. /package/dist/chunks/{workspace-g4wezp1m.js → variant-g4wezp1m.js} +0 -0
  758. /package/dist/chunks/{workspace-g86h250q.js → variant-g86h250q.js} +0 -0
  759. /package/dist/chunks/{workspace-gebd4c9n.js → variant-gebd4c9n.js} +0 -0
  760. /package/dist/chunks/{workspace-gftt206x.js → variant-gftt206x.js} +0 -0
  761. /package/dist/chunks/{workspace-hjbc5kem.js → variant-hjbc5kem.js} +0 -0
  762. /package/dist/chunks/{workspace-hk9envan.js → variant-hk9envan.js} +0 -0
  763. /package/dist/chunks/{workspace-j2ntwpah.js → variant-j2ntwpah.js} +0 -0
  764. /package/dist/chunks/{workspace-j5zkgpj8.js → variant-j5zkgpj8.js} +0 -0
  765. /package/dist/chunks/{workspace-jjkms2e6.js → variant-jjkms2e6.js} +0 -0
  766. /package/dist/chunks/{workspace-jr7sbwjy.js → variant-jr7sbwjy.js} +0 -0
  767. /package/dist/chunks/{workspace-jwfs4k6c.js → variant-jwfs4k6c.js} +0 -0
  768. /package/dist/chunks/{workspace-jzg6c2d5.js → variant-jzg6c2d5.js} +0 -0
  769. /package/dist/chunks/{workspace-mp448xyj.js → variant-mp448xyj.js} +0 -0
  770. /package/dist/chunks/{workspace-msx8hqn2.js → variant-msx8hqn2.js} +0 -0
  771. /package/dist/chunks/{workspace-n05xt0ee.js → variant-n05xt0ee.js} +0 -0
  772. /package/dist/chunks/{workspace-n3j8tn72.js → variant-n3j8tn72.js} +0 -0
  773. /package/dist/chunks/{workspace-njntx4h6.js → variant-njntx4h6.js} +0 -0
  774. /package/dist/chunks/{workspace-q3sfg36h.js → variant-q3sfg36h.js} +0 -0
  775. /package/dist/chunks/{workspace-q74kybfr.js → variant-q74kybfr.js} +0 -0
  776. /package/dist/chunks/{workspace-qaymkmh1.js → variant-qaymkmh1.js} +0 -0
  777. /package/dist/chunks/{workspace-qb87gjwd.js → variant-qb87gjwd.js} +0 -0
  778. /package/dist/chunks/{workspace-qfa1cgps.js → variant-qfa1cgps.js} +0 -0
  779. /package/dist/chunks/{workspace-qg3g05ea.js → variant-qg3g05ea.js} +0 -0
  780. /package/dist/chunks/{workspace-qrg20bc0.js → variant-qrg20bc0.js} +0 -0
  781. /package/dist/chunks/{workspace-rcb2kzg1.js → variant-rcb2kzg1.js} +0 -0
  782. /package/dist/chunks/{workspace-sdp7kfr6.js → variant-sdp7kfr6.js} +0 -0
  783. /package/dist/chunks/{workspace-sk3qaz4a.js → variant-sk3qaz4a.js} +0 -0
  784. /package/dist/chunks/{workspace-ssg3fenm.js → variant-ssg3fenm.js} +0 -0
  785. /package/dist/chunks/{workspace-twg0f83k.js → variant-twg0f83k.js} +0 -0
  786. /package/dist/chunks/{workspace-w803qqfp.js → variant-w803qqfp.js} +0 -0
  787. /package/dist/chunks/{workspace-wc3fc9cn.js → variant-wc3fc9cn.js} +0 -0
  788. /package/dist/chunks/{workspace-wer8tq1h.js → variant-wer8tq1h.js} +0 -0
  789. /package/dist/chunks/{workspace-wtztk69x.js → variant-wtztk69x.js} +0 -0
  790. /package/dist/chunks/{workspace-x0ckcb58.js → variant-x0ckcb58.js} +0 -0
  791. /package/dist/chunks/{workspace-x61499pn.js → variant-x61499pn.js} +0 -0
  792. /package/dist/chunks/{workspace-y44na4kk.js → variant-y44na4kk.js} +0 -0
  793. /package/dist/chunks/{workspace-y8cydn3q.js → variant-y8cydn3q.js} +0 -0
  794. /package/dist/chunks/{workspace-y8f7s663.js → variant-y8f7s663.js} +0 -0
  795. /package/dist/chunks/{workspace-ygaqb7jw.js → variant-ygaqb7jw.js} +0 -0
  796. /package/dist/chunks/{workspace-ym463w8f.js → variant-ym463w8f.js} +0 -0
  797. /package/dist/chunks/{workspace-z9919s4g.js → variant-z9919s4g.js} +0 -0
@@ -1,66 +1,66 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./workspace-mdrscssp.js";
4
+ } from "./variant-wjjn3hja.js";
5
5
  import {
6
- Service77,
7
- node81
8
- } from "./workspace-76005v5f.js";
6
+ Service76,
7
+ node80
8
+ } from "./variant-2wse4pe0.js";
9
9
  import {
10
- ID3
11
- } from "./workspace-qapv375x.js";
10
+ ID5
11
+ } from "./variant-hxa7m5za.js";
12
12
  import {
13
- Service65,
13
+ Service50,
14
14
  login2,
15
- node68
16
- } from "./workspace-9afpsfvx.js";
15
+ node52
16
+ } from "./variant-knws4kq8.js";
17
17
  import {
18
18
  lazy2
19
- } from "./workspace-88xbtdfr.js";
19
+ } from "./variant-88xbtdfr.js";
20
20
  import {
21
21
  __export
22
- } from "./workspace-9rqn6x4v.js";
22
+ } from "./variant-9rqn6x4v.js";
23
23
 
24
24
  // src/pty.ts
25
25
  var exports_pty = {};
26
26
  __export(exports_pty, {
27
- CreateInput: () => CreateInput2,
28
- Event: () => Event5,
27
+ CreateInput: () => CreateInput3,
28
+ Event: () => Event9,
29
29
  ExitedError: () => ExitedError2,
30
- Info: () => Info5,
31
- NotFoundError: () => NotFoundError4,
30
+ Info: () => Info18,
31
+ NotFoundError: () => NotFoundError7,
32
32
  Pty: () => exports_pty,
33
- Service: () => Service32,
33
+ Service: () => Service49,
34
34
  UpdateInput: () => UpdateInput2,
35
- node: () => node35
35
+ node: () => node51
36
36
  });
37
37
  import { makeLocationNode } from "@opencode/util/effect/app-node";
38
38
  import { Context, Effect, Layer, Schema } from "effect";
39
39
  import { Pty } from "@opencode/schema/pty";
40
- import { Event as Event5 } from "@opencode/schema/pty";
40
+ import { Event as Event9 } from "@opencode/schema/pty";
41
41
  var BUFFER_LIMIT = 1024 * 1024 * 2;
42
42
  var EXITED_LIMIT = 25;
43
43
  var pty = lazy2(() => import("#pty"));
44
- var Info5 = Pty.Info;
45
- var CreateInput2 = Pty.CreateInput;
44
+ var Info18 = Pty.Info;
45
+ var CreateInput3 = Pty.CreateInput;
46
46
  var UpdateInput2 = Pty.UpdateInput;
47
47
 
48
- class NotFoundError4 extends Schema.TaggedError()("Pty.NotFoundError", {
49
- ptyID: ID3
48
+ class NotFoundError7 extends Schema.TaggedError()("Pty.NotFoundError", {
49
+ ptyID: ID5
50
50
  }) {
51
51
  }
52
52
 
53
53
  class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
54
- ptyID: ID3
54
+ ptyID: ID5
55
55
  }) {
56
56
  }
57
57
 
58
- class Service32 extends Context.Service()("@opencode/Pty") {
58
+ class Service49 extends Context.Service()("@opencode/Pty") {
59
59
  }
60
- var layer = Layer.effect(Service32, Effect.gen(function* () {
60
+ var layer = Layer.effect(Service49, Effect.gen(function* () {
61
61
  const bus = yield* Service82;
62
- const location = yield* Service77;
63
- const shell = yield* Service65;
62
+ const location = yield* Service76;
63
+ const shell = yield* Service50;
64
64
  const context = yield* Effect.context();
65
65
  const runFork = Effect.runForkWith(context);
66
66
  const sessions = new Map;
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
97
97
  const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
98
98
  const session = sessions.get(id);
99
99
  if (!session)
100
- return yield* new NotFoundError4({ ptyID: id });
100
+ return yield* new NotFoundError7({ ptyID: id });
101
101
  return session;
102
102
  });
103
103
  const removeSession = Effect.fnUntraced(function* (id) {
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
123
123
  return (yield* requireSession(id)).info;
124
124
  });
125
125
  const create = Effect.fn("Pty.create")(function* (input) {
126
- const id = ID3.ascending();
126
+ const id = ID5.ascending();
127
127
  const command = input.command || (yield* shell.resolve({ priority: "config" }));
128
128
  const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
129
129
  const cwd = input.cwd || location.directory;
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
268
268
  }
269
269
  };
270
270
  });
271
- return Service32.of({ list, get, create, update, remove, write, attach });
271
+ return Service49.of({ list, get, create, update, remove, write, attach });
272
272
  }));
273
- var node35 = makeLocationNode({
274
- service: Service32,
273
+ var node51 = makeLocationNode({
274
+ service: Service49,
275
275
  layer,
276
- deps: [node86, node81, node68]
276
+ deps: [node86, node80, node52]
277
277
  });
278
278
 
279
- export { Info5, CreateInput2, UpdateInput2, NotFoundError4, ExitedError2, Service32, node35, exports_pty, Event5 };
279
+ export { Info18, CreateInput3, UpdateInput2, NotFoundError7, ExitedError2, Service49, node51, exports_pty, Event9 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  absoluteColumn2
3
- } from "./workspace-6msgmcgs.js";
3
+ } from "./variant-6msgmcgs.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./workspace-8p4f9s12.js";
6
+ } from "./variant-8p4f9s12.js";
7
7
 
8
8
  // src/worktree/sql.ts
9
9
  import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service77,
3
- node81
4
- } from "./workspace-76005v5f.js";
2
+ Service76,
3
+ node80
4
+ } from "./variant-2wse4pe0.js";
5
5
  import {
6
6
  create3
7
- } from "./workspace-rdw6cm16.js";
7
+ } from "./variant-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./workspace-9rqn6x4v.js";
10
+ } from "./variant-9rqn6x4v.js";
11
11
 
12
12
  // src/formatter.ts
13
- var exports_formatter2 = {};
14
- __export(exports_formatter2, {
15
- Formatter: () => exports_formatter2,
16
- Service: () => Service36,
17
- node: () => node39
13
+ var exports_formatter3 = {};
14
+ __export(exports_formatter3, {
15
+ Formatter: () => exports_formatter3,
16
+ Service: () => Service60,
17
+ node: () => node63
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { ChildProcess } from "effect/unstable/process";
21
21
  import path from "path";
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { AppProcess } from "@opencode/util/process";
24
- class Service36 extends Context.Service()("@opencode/v2/Formatter") {
24
+ class Service60 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
- var layer = Layer.effect(Service36, Effect.gen(function* () {
27
- const location = yield* Service77;
26
+ var layer = Layer.effect(Service60, Effect.gen(function* () {
27
+ const location = yield* Service76;
28
28
  const processes = yield* AppProcess.Service;
29
29
  const commands = new WeakMap;
30
30
  const state = create3({
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
85
85
  }
86
86
  return false;
87
87
  });
88
- return Service36.of({ transform: state.transform, reload: state.reload, file });
88
+ return Service60.of({ transform: state.transform, reload: state.reload, file });
89
89
  }));
90
- var node39 = makeLocationNode({
91
- service: Service36,
90
+ var node63 = makeLocationNode({
91
+ service: Service60,
92
92
  layer,
93
- deps: [node81, AppProcess.node]
93
+ deps: [node80, AppProcess.node]
94
94
  });
95
95
 
96
- export { Service36, node39, exports_formatter2 };
96
+ export { Service60, node63, exports_formatter3 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  Service82
3
- } from "./workspace-mdrscssp.js";
3
+ } from "./variant-wjjn3hja.js";
4
4
  import {
5
- Service68,
5
+ Service64,
6
6
  Event14
7
- } from "./workspace-amrr7ry4.js";
7
+ } from "./variant-pe9k0hgm.js";
8
8
  import {
9
9
  __export
10
- } from "./workspace-9rqn6x4v.js";
10
+ } from "./variant-9rqn6x4v.js";
11
11
 
12
12
  // src/wellknown/plugin.ts
13
13
  var exports_plugin = {};
@@ -21,7 +21,7 @@ var Plugin36 = define({
21
21
  id: "opencode.wellknown",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  const bus = yield* Service82;
24
- const wellknown = yield* Service68;
24
+ const wellknown = yield* Service64;
25
25
  yield* wellknown.entries().pipe(Effect.orDie);
26
26
  yield* ctx.integration.transform((editor) => {
27
27
  wellknown.snapshot().forEach((entry) => {
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  fromPromise2
3
- } from "./workspace-zr2ceqn5.js";
3
+ } from "./variant-zr2ceqn5.js";
4
4
  import {
5
- Service67
6
- } from "./workspace-8zgc7er9.js";
5
+ Service40
6
+ } from "./variant-2p6dchyf.js";
7
7
  import {
8
8
  __export
9
- } from "./workspace-9rqn6x4v.js";
9
+ } from "./variant-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/module.ts
12
12
  var exports_module = {};
13
13
  __export(exports_module, {
14
14
  LoadError: () => LoadError2,
15
15
  PluginModule: () => exports_module,
16
- make: () => make8
16
+ make: () => make3
17
17
  });
18
18
  import { Host } from "@opencode/plugin/host";
19
19
  import { createPluginSources } from "@opencode/plugin/source";
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
22
22
  import path from "path";
23
23
  import { stat } from "node:fs/promises";
24
24
  import { fileURLToPath, pathToFileURL } from "url";
25
- var make8 = Effect.fn("PluginModule.make")(function* () {
26
- const watcher = yield* Service67;
25
+ var make3 = Effect.fn("PluginModule.make")(function* () {
26
+ const watcher = yield* Service40;
27
27
  const scope = yield* Effect.scope;
28
28
  const runPromise = yield* FiberSet.makeRuntimePromise();
29
29
  const changes = yield* PubSub.unbounded();
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
102
102
  };
103
103
  });
104
104
 
105
- export { make8, LoadError2, exports_module };
105
+ export { make3, LoadError2, exports_module };
@@ -1,72 +1,72 @@
1
1
  import {
2
- Service69
3
- } from "./workspace-j63bvea4.js";
2
+ Service66
3
+ } from "./variant-rkyj0vr4.js";
4
4
  import {
5
- Service13,
5
+ Service65,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./workspace-gxhq3ync.js";
8
+ } from "./variant-tz84jmpd.js";
9
9
  import {
10
- Service36
11
- } from "./workspace-mbx2ejk6.js";
12
- import {
13
- Service56
14
- } from "./workspace-vv04kfpz.js";
10
+ Service60
11
+ } from "./variant-ck31s172.js";
15
12
  import {
16
13
  Service55
17
- } from "./workspace-9j1vvs8j.js";
14
+ } from "./variant-5ekhjdzd.js";
15
+ import {
16
+ Service54
17
+ } from "./variant-3sh56xx4.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./workspace-6prwharc.js";
20
+ } from "./variant-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./workspace-9rqn6x4v.js";
23
+ } from "./variant-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input4,
29
- Output: () => Output3,
30
- Plugin: () => Plugin39,
28
+ Input: () => Input9,
29
+ Output: () => Output6,
30
+ Plugin: () => Plugin45,
31
31
  WriteTool: () => exports_write,
32
- name: () => name4,
33
- toModelContent: () => toModelContent2
32
+ name: () => name9,
33
+ toModelContent: () => toModelContent5
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name4 = "write";
39
- var Input4 = Schema.Struct({
38
+ var name9 = "write";
39
+ var Input9 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
43
43
  content: Schema.String.annotate({ description: "Content to write to the file" })
44
44
  });
45
- var Output3 = Schema.Struct({
45
+ var Output6 = Schema.Struct({
46
46
  operation: Schema.Literal("write"),
47
47
  target: Schema.String,
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
- var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin39 = {
51
+ var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
+ var Plugin45 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service55;
56
- const fileMutation = yield* Service13;
57
- const environment = yield* Service69;
58
- const formatter = yield* Service36;
59
- const permission = yield* Service56;
55
+ const access = yield* Service54;
56
+ const fileMutation = yield* Service65;
57
+ const environment = yield* Service66;
58
+ const formatter = yield* Service60;
59
+ const permission = yield* Service55;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name4,
61
+ name: name9,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input4,
69
- output: Output3,
68
+ input: Input9,
69
+ output: Output6,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
72
72
  type: "tool",
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
93
93
  yield* syncTextBom2(environment.files, target.absolute, bom);
94
94
  }
95
95
  return result;
96
- }).pipe(Effect.map((output) => ({ output, content: toModelContent2(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
96
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent5(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
97
97
  })).pipe(Effect.orDie);
98
98
  })
99
99
  };
100
100
 
101
- export { name4, Input4, Output3, toModelContent2, Plugin39, exports_write };
101
+ export { name9, Input9, Output6, toModelContent5, Plugin45, exports_write };
@@ -5,15 +5,15 @@ import {
5
5
  ModelInitializationError3,
6
6
  UnresolvedProviderVariablesError3,
7
7
  UnsupportedCompactionError3,
8
- Service45,
9
- node47
10
- } from "./workspace-j92jf1xs.js";
8
+ Service68,
9
+ node72
10
+ } from "./variant-eq85q6rd.js";
11
11
  import {
12
12
  SessionSchema2
13
- } from "./workspace-skyymkrr.js";
13
+ } from "./variant-y6f0p4jw.js";
14
14
  import {
15
15
  __export
16
- } from "./workspace-9rqn6x4v.js";
16
+ } from "./variant-9rqn6x4v.js";
17
17
 
18
18
  // src/session/runner/model.ts
19
19
  var exports_model = {};
@@ -22,13 +22,13 @@ __export(exports_model, {
22
22
  ModelInitializationError: () => ModelInitializationError2,
23
23
  ModelNotSelectedError: () => ModelNotSelectedError2,
24
24
  ModelUnavailableError: () => ModelUnavailableError2,
25
- Service: () => Service40,
25
+ Service: () => Service30,
26
26
  SessionRunnerModel: () => exports_model,
27
27
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
28
28
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
29
29
  UnsupportedPackageError: () => UnsupportedPackageError2,
30
30
  VariantUnavailableError: () => VariantUnavailableError2,
31
- node: () => node42,
31
+ node: () => node32,
32
32
  resolved: () => resolved2
33
33
  });
34
34
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -57,7 +57,7 @@ var ModelInitializationError2 = ModelInitializationError3;
57
57
  var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
58
58
  var UnsupportedCompactionError2 = UnsupportedCompactionError3;
59
59
 
60
- class Service40 extends Context.Service()("@opencode/SessionRunnerModel") {
60
+ class Service30 extends Context.Service()("@opencode/SessionRunnerModel") {
61
61
  }
62
62
  var resolved2 = (model, options) => ({
63
63
  model,
@@ -72,9 +72,9 @@ var resolved2 = (model, options) => ({
72
72
  compaction: options.compaction,
73
73
  transport: options.transport
74
74
  });
75
- var layer = Layer.effect(Service40, Effect.gen(function* () {
76
- const resolver = yield* Service45;
77
- return Service40.of({
75
+ var layer = Layer.effect(Service30, Effect.gen(function* () {
76
+ const resolver = yield* Service68;
77
+ return Service30.of({
78
78
  resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
79
79
  if (!session.model) {
80
80
  const resolved = yield* resolver.resolve();
@@ -92,6 +92,6 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
92
92
  })
93
93
  });
94
94
  }));
95
- var node42 = makeLocationNode({ service: Service40, layer, deps: [node47] });
95
+ var node32 = makeLocationNode({ service: Service30, layer, deps: [node72] });
96
96
 
97
- export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service40, resolved2, node42, exports_model };
97
+ export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service30, resolved2, node32, exports_model };
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./workspace-2a5m3afh.js";
3
+ } from "./variant-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./workspace-922hggd3.js";
6
+ } from "./variant-922hggd3.js";
7
7
  import {
8
- Service77
9
- } from "./workspace-76005v5f.js";
8
+ Service76
9
+ } from "./variant-2wse4pe0.js";
10
10
  import {
11
- Service69
12
- } from "./workspace-j63bvea4.js";
11
+ Service66
12
+ } from "./variant-rkyj0vr4.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service54
16
- } from "./workspace-9sh3hrkk.js";
15
+ Service47
16
+ } from "./variant-6qact9tb.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
- Entry2,
21
+ Entry4,
22
22
  Match2
23
- } from "./workspace-xnrjh0c9.js";
24
- import {
25
- Service56
26
- } from "./workspace-vv04kfpz.js";
23
+ } from "./variant-nm9hpb8x.js";
27
24
  import {
28
25
  Service55
29
- } from "./workspace-9j1vvs8j.js";
26
+ } from "./variant-5ekhjdzd.js";
27
+ import {
28
+ Service54
29
+ } from "./variant-3sh56xx4.js";
30
30
  import {
31
31
  __export
32
- } from "./workspace-9rqn6x4v.js";
32
+ } from "./variant-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/grep.ts
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
- Input: () => Input9,
39
- Output: () => Output7,
38
+ Input: () => Input8,
39
+ Output: () => Output5,
40
40
  Plugin: () => Plugin44,
41
- name: () => name9,
42
- toModelContent: () => toModelContent5
41
+ name: () => name8,
42
+ toModelContent: () => toModelContent4
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name9 = "grep";
48
- var Input9 = Schema.Struct({
47
+ var name8 = "grep";
48
+ var Input8 = Schema.Struct({
49
49
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
50
50
  description: "Regular expression or literal text to match in file contents."
51
51
  }),
@@ -65,8 +65,8 @@ var Input9 = Schema.Struct({
65
65
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
66
66
  })
67
67
  });
68
- var Output7 = Schema.Array(Match2);
69
- var toModelContent5 = (matches, truncated = false) => {
68
+ var Output5 = Schema.Array(Match2);
69
+ var toModelContent4 = (matches, truncated = false) => {
70
70
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
71
71
  let current = "";
72
72
  for (const match of matches) {
@@ -86,23 +86,23 @@ var toModelContent5 = (matches, truncated = false) => {
86
86
  var Plugin44 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service69;
90
- const ripgrep = yield* Service54;
91
- const location = yield* Service77;
92
- const access = yield* Service55;
93
- const permission = yield* Service56;
89
+ const environment = yield* Service66;
90
+ const ripgrep = yield* Service47;
91
+ const location = yield* Service76;
92
+ const access = yield* Service54;
93
+ const permission = yield* Service55;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name9,
95
+ name: name8,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
- input: Input9,
99
- output: Output7,
98
+ input: Input8,
99
+ output: Output5,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name9,
105
+ action: name8,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -136,7 +136,7 @@ var Plugin44 = {
136
136
  }))
137
137
  }), Effect.map((result) => result.map((match) => Match2.make({
138
138
  ...match,
139
- entry: Entry2.make({
139
+ entry: Entry4.make({
140
140
  ...match.entry,
141
141
  path: RelativePath2.make(path.relative(location.directory, path.resolve(cwd, match.entry.path)))
142
142
  })
@@ -144,7 +144,7 @@ var Plugin44 = {
144
144
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
145
145
  }).pipe(Effect.map((result) => ({
146
146
  output: result.matches,
147
- content: toModelContent5(result.matches.map((match) => ({
147
+ content: toModelContent4(result.matches.map((match) => ({
148
148
  ...match,
149
149
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
150
150
  })), result.truncated),
@@ -154,4 +154,4 @@ var Plugin44 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name9, Input9, Output7, toModelContent5, Plugin44, exports_grep };
157
+ export { name8, Input8, Output5, toModelContent4, Plugin44, exports_grep };
@@ -1,21 +1,21 @@
1
1
  import {
2
- ID12,
2
+ ID13,
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  mergeOverlay2
6
- } from "./workspace-0w8keya2.js";
6
+ } from "./variant-akz62yx4.js";
7
7
  import {
8
8
  __export
9
- } from "./workspace-9rqn6x4v.js";
9
+ } from "./variant-9rqn6x4v.js";
10
10
 
11
11
  // src/aisdk.ts
12
12
  var exports_aisdk = {};
13
13
  __export(exports_aisdk, {
14
14
  AISDK: () => exports_aisdk,
15
15
  InitError: () => InitError2,
16
- Service: () => Service46,
16
+ Service: () => Service69,
17
17
  locationLayer: () => locationLayer2,
18
- node: () => node48
18
+ node: () => node73
19
19
  });
20
20
  import { makeLocationNode } from "@opencode/util/effect/app-node";
21
21
  import { APICallError } from "@ai-sdk/provider";
@@ -130,7 +130,7 @@ function prepareOptions(model, pkg) {
130
130
  }
131
131
 
132
132
  class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
133
- providerID: ID12,
133
+ providerID: ID13,
134
134
  cause: Schema.Defect()
135
135
  }) {
136
136
  }
@@ -138,9 +138,9 @@ function initError(providerID) {
138
138
  return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
139
139
  }
140
140
 
141
- class Service46 extends Context.Service()("@opencode/AISDK") {
141
+ class Service69 extends Context.Service()("@opencode/AISDK") {
142
142
  }
143
- var locationLayer2 = Layer.effect(Service46, Effect.gen(function* () {
143
+ var locationLayer2 = Layer.effect(Service69, Effect.gen(function* () {
144
144
  let sdkHooks = [];
145
145
  let languageHooks = [];
146
146
  const languages = new Map;
@@ -178,7 +178,7 @@ var locationLayer2 = Layer.effect(Service46, Effect.gen(function* () {
178
178
  }
179
179
  return event;
180
180
  });
181
- const service = Service46.of({
181
+ const service = Service69.of({
182
182
  hook: {
183
183
  sdk: register(() => sdkHooks, (next) => sdkHooks = next),
184
184
  language: register(() => languageHooks, (next) => languageHooks = next)
@@ -819,6 +819,6 @@ function providerErrorMessage(error) {
819
819
  const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
820
820
  return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
821
821
  }
822
- var node48 = makeLocationNode({ service: Service46, layer: locationLayer2, deps: [] });
822
+ var node73 = makeLocationNode({ service: Service69, layer: locationLayer2, deps: [] });
823
823
 
824
- export { InitError2, Service46, locationLayer2, node48, exports_aisdk };
824
+ export { InitError2, Service69, locationLayer2, node73, exports_aisdk };