@opencode/core 0.0.0-dev-20025 → 0.0.0-dev-20026

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 (802) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -80
  3. package/dist/aisdk-native.js +89 -88
  4. package/dist/aisdk.js +94 -93
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +73 -72
  7. package/dist/chunks/variant-02av72dv.js +89 -0
  8. package/dist/chunks/{kv-kghsa48y.js → variant-0bzevza6.js} +21 -21
  9. package/dist/chunks/{kv-wzr2e2gd.js → variant-0f3fkebw.js} +12 -12
  10. package/dist/chunks/{kv-djncmbp2.js → variant-0kdyx93j.js} +23 -23
  11. package/dist/chunks/{kv-c4v1hkzh.js → variant-0krcabsn.js} +6 -6
  12. package/dist/chunks/{kv-0paq2nw3.js → variant-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{kv-g1sxm558.js → variant-0xezjjjn.js} +8 -8
  14. package/dist/chunks/{kv-6wr1j3sy.js → variant-0z6w7vfv.js} +12 -12
  15. package/dist/chunks/{kv-saaf3fxb.js → variant-17j9h1rv.js} +11 -11
  16. package/dist/chunks/{kv-vncycja5.js → variant-1a6p2twq.js} +4 -4
  17. package/dist/chunks/{kv-1bbkgx8g.js → variant-1bbkgx8g.js} +1 -1
  18. package/dist/chunks/{kv-1dazxqgg.js → variant-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{kv-j3cbebdz.js → variant-1j4qs2dp.js} +13 -13
  20. package/dist/chunks/{kv-xpzqyyxp.js → variant-1w0wkfxf.js} +5 -5
  21. package/dist/chunks/{kv-6w5xh4x4.js → variant-1wyzf5g7.js} +2 -2
  22. package/dist/chunks/{kv-dqrd5jg2.js → variant-1xcw6xjf.js} +31 -31
  23. package/dist/chunks/{kv-21r38tys.js → variant-21r38tys.js} +1 -1
  24. package/dist/chunks/{kv-6zdscwh2.js → variant-21xkm9mw.js} +25 -25
  25. package/dist/chunks/{kv-2402vzrj.js → variant-2402vzrj.js} +1 -1
  26. package/dist/chunks/{kv-z63w68vq.js → variant-29x78va6.js} +6 -6
  27. package/dist/chunks/{kv-2a5m3afh.js → variant-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{kv-h896pcm5.js → variant-2a6rn6yr.js} +6 -6
  29. package/dist/chunks/{kv-6zt78djw.js → variant-2d0rz701.js} +16 -16
  30. package/dist/chunks/{kv-nqnxh7mc.js → variant-2d57kztd.js} +6 -6
  31. package/dist/chunks/{kv-cg58rktj.js → variant-2eyvmpqy.js} +35 -35
  32. package/dist/chunks/{kv-q9qfx9t0.js → variant-2g7pkq9k.js} +23 -23
  33. package/dist/chunks/{kv-yvvvp4gn.js → variant-2hr5nhwa.js} +8 -8
  34. package/dist/chunks/{kv-1f9k274t.js → variant-2n3rws7p.js} +31 -31
  35. package/dist/chunks/{kv-qdbakdjh.js → variant-2p623br6.js} +5 -5
  36. package/dist/chunks/{kv-nxw95max.js → variant-2ptfhmaq.js} +16 -16
  37. package/dist/chunks/{kv-cbtw62a5.js → variant-31rgt9cd.js} +15 -15
  38. package/dist/chunks/{kv-twg0f83k.js → variant-34c7v6d4.js} +1 -0
  39. package/dist/chunks/{kv-yt0fqk68.js → variant-3cz8rj72.js} +5 -5
  40. package/dist/chunks/{kv-3fc6dm20.js → variant-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{kv-ssdqnhy0.js → variant-3g33scay.js} +4 -4
  42. package/dist/chunks/{kv-jymhh06g.js → variant-3h50d2d8.js} +5 -5
  43. package/dist/chunks/{kv-3hepkmqq.js → variant-3hepkmqq.js} +1 -1
  44. package/dist/chunks/{kv-taxb8c86.js → variant-3prdw56f.js} +41 -41
  45. package/dist/chunks/{kv-3smtnn6g.js → variant-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{kv-3tvqynh2.js → variant-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{kv-jqb7tdaw.js → variant-3wwqqeqp.js} +8 -8
  48. package/dist/chunks/{kv-3zsf4n22.js → variant-3zsf4n22.js} +1 -1
  49. package/dist/chunks/{kv-hx22bhvn.js → variant-45p7gsnq.js} +24 -24
  50. package/dist/chunks/{kv-4f1gf0mj.js → variant-4h2qm5xd.js} +43 -43
  51. package/dist/chunks/{kv-hzed07nt.js → variant-4hz2mmtn.js} +6 -6
  52. package/dist/chunks/{kv-d5g8gbry.js → variant-4n6z1r8s.js} +24 -24
  53. package/dist/chunks/{kv-f828m53h.js → variant-54tcyq79.js} +2 -2
  54. package/dist/chunks/{kv-b2k91mhf.js → variant-557d9c8t.js} +23 -23
  55. package/dist/chunks/{kv-gqb9mtgp.js → variant-563rq041.js} +92 -92
  56. package/dist/chunks/{kv-1ygqh575.js → variant-56gdpj1q.js} +9 -9
  57. package/dist/chunks/{kv-2hptpgkz.js → variant-5b64cte8.js} +14 -14
  58. package/dist/chunks/{kv-5daktx2q.js → variant-5daktx2q.js} +1 -1
  59. package/dist/chunks/{kv-5ekn9679.js → variant-5ekn9679.js} +1 -1
  60. package/dist/chunks/{kv-b7kqv799.js → variant-5hwa0061.js} +2 -2
  61. package/dist/chunks/{kv-b06qraw3.js → variant-5jf3agd7.js} +1 -1
  62. package/dist/chunks/{kv-g7rwz86d.js → variant-5mef3xk7.js} +17 -17
  63. package/dist/chunks/{kv-tt61f65p.js → variant-5mvsdnr7.js} +4 -4
  64. package/dist/chunks/{kv-5t3nmthw.js → variant-5t3nmthw.js} +2 -2
  65. package/dist/chunks/{kv-etdwcn18.js → variant-62m7qsdd.js} +3 -3
  66. package/dist/chunks/{kv-669tq793.js → variant-669tq793.js} +1 -1
  67. package/dist/chunks/{kv-e03c71z8.js → variant-6mmx0pze.js} +10 -10
  68. package/dist/chunks/{kv-6msgmcgs.js → variant-6msgmcgs.js} +1 -1
  69. package/dist/chunks/{kv-qy6w65wj.js → variant-6p55r51m.js} +1 -1
  70. package/dist/chunks/{kv-6j9fjes3.js → variant-6rxwp35s.js} +19 -19
  71. package/dist/chunks/{kv-g190xswt.js → variant-6sr3ve8g.js} +21 -21
  72. package/dist/chunks/{kv-by29td28.js → variant-6w0aczmv.js} +11 -11
  73. package/dist/chunks/{kv-th0fvjg2.js → variant-6wjad31y.js} +7 -7
  74. package/dist/chunks/{kv-b0qgzce7.js → variant-6zedfc54.js} +27 -27
  75. package/dist/chunks/{kv-d74pyvff.js → variant-71zkw7xr.js} +9 -9
  76. package/dist/chunks/{kv-6d54emcz.js → variant-72v9w41r.js} +58 -58
  77. package/dist/chunks/{kv-g3dp65zv.js → variant-75x4dgvy.js} +8 -8
  78. package/dist/chunks/{kv-jtg3fve7.js → variant-7836xe6r.js} +7 -7
  79. package/dist/chunks/{kv-7bmhse3q.js → variant-7bmhse3q.js} +1 -1
  80. package/dist/chunks/{kv-8rqjran1.js → variant-7c8esnqs.js} +25 -25
  81. package/dist/chunks/{kv-dq6dnsx7.js → variant-7d4hdxdy.js} +11 -11
  82. package/dist/chunks/{kv-qgn6gcr1.js → variant-7dqw4kz8.js} +5 -5
  83. package/dist/chunks/{kv-g2t41m45.js → variant-7xgrqf4n.js} +18 -18
  84. package/dist/chunks/{kv-mrn44fwv.js → variant-7y60eay9.js} +28 -28
  85. package/dist/chunks/{kv-e5ndp2dx.js → variant-7yrwfpwm.js} +11 -11
  86. package/dist/chunks/{kv-9mnxndb9.js → variant-80dj63ps.js} +6 -6
  87. package/dist/chunks/{kv-3zgzsr0q.js → variant-834a0b17.js} +7 -7
  88. package/dist/chunks/{kv-52094frg.js → variant-83xz4qq9.js} +23 -23
  89. package/dist/chunks/{kv-h0gywk7f.js → variant-84sj45vf.js} +13 -13
  90. package/dist/chunks/{kv-8d7r5vzw.js → variant-8d7r5vzw.js} +1 -1
  91. package/dist/chunks/{kv-hdmd1s5h.js → variant-8eh51za7.js} +9 -9
  92. package/dist/chunks/{kv-2fm1txxr.js → variant-8epdgwc0.js} +26 -26
  93. package/dist/chunks/{kv-j3h20tjh.js → variant-8fz7s7fk.js} +3 -3
  94. package/dist/chunks/{kv-5acpzame.js → variant-8mvw6bgy.js} +25 -25
  95. package/dist/chunks/{kv-gbwwsy1c.js → variant-8nx8zez9.js} +13 -13
  96. package/dist/chunks/{kv-xmvnvct5.js → variant-8qdtva9t.js} +17 -17
  97. package/dist/chunks/{kv-sycq1qnd.js → variant-8tpythmx.js} +24 -24
  98. package/dist/chunks/variant-8wj87zfr.js +14 -0
  99. package/dist/chunks/{kv-j6bphecn.js → variant-9byqxeta.js} +17 -17
  100. package/dist/chunks/{kv-vtxr0yy2.js → variant-9cyfspf3.js} +5 -5
  101. package/dist/chunks/{kv-6dtbrkj0.js → variant-9esb0m0p.js} +1 -1
  102. package/dist/chunks/{kv-2499yhnb.js → variant-9f1seg8j.js} +26 -26
  103. package/dist/chunks/{kv-mzd4qxry.js → variant-9jwjh49g.js} +32 -32
  104. package/dist/chunks/{kv-4pfvz1zp.js → variant-9mye8vwy.js} +7 -7
  105. package/dist/chunks/{kv-zq6zx8a5.js → variant-9qw4j31g.js} +11 -11
  106. package/dist/chunks/{kv-jea42s8g.js → variant-9r5qhkng.js} +28 -28
  107. package/dist/chunks/{kv-vjptwcqz.js → variant-a5fr2mj9.js} +23 -23
  108. package/dist/chunks/{kv-0z42gnwd.js → variant-a5t4p5xt.js} +24 -24
  109. package/dist/chunks/{kv-vmzm20dx.js → variant-a6x7shte.js} +3 -3
  110. package/dist/chunks/{kv-aaet6srn.js → variant-aaet6srn.js} +2 -2
  111. package/dist/chunks/{kv-szbjvnna.js → variant-af7j52hr.js} +4 -4
  112. package/dist/chunks/{kv-1gqe2a33.js → variant-ajk3nktm.js} +32 -32
  113. package/dist/chunks/{kv-hf4dxjes.js → variant-apg24jar.js} +33 -33
  114. package/dist/chunks/{kv-mmt72t0k.js → variant-ar8vm0ff.js} +13 -13
  115. package/dist/chunks/{kv-t9d84gp7.js → variant-avd8ev9v.js} +4 -4
  116. package/dist/chunks/{kv-eyjms8xz.js → variant-avrnkb01.js} +46 -46
  117. package/dist/chunks/{kv-y3pxdktb.js → variant-b51jbz85.js} +5 -5
  118. package/dist/chunks/variant-b6ck6p7e.js +26 -0
  119. package/dist/chunks/{kv-b6gygkdw.js → variant-b6gygkdw.js} +2 -2
  120. package/dist/chunks/{kv-bk6ae5dx.js → variant-b8y4420x.js} +43 -43
  121. package/dist/chunks/{kv-srtmpgmy.js → variant-b9dsjnj7.js} +8 -8
  122. package/dist/chunks/{kv-4db76nbv.js → variant-bfhm6t97.js} +13 -13
  123. package/dist/chunks/{kv-74zt4j78.js → variant-bjn6skbd.js} +5 -5
  124. package/dist/chunks/{kv-ec87kc5z.js → variant-bjn91642.js} +4 -4
  125. package/dist/chunks/{kv-a1bz86dw.js → variant-bjtzbw4r.js} +3 -3
  126. package/dist/chunks/{kv-14xcmtnt.js → variant-c5ezeqt5.js} +27 -27
  127. package/dist/chunks/{kv-xdzjzbp4.js → variant-c8swy7ka.js} +15 -15
  128. package/dist/chunks/{kv-cjgt99j3.js → variant-cenw4sj9.js} +159 -159
  129. package/dist/chunks/{kv-8xsa2z82.js → variant-cgrt34rb.js} +26 -26
  130. package/dist/chunks/{kv-18ezz3e7.js → variant-cm9mwwq8.js} +21 -21
  131. package/dist/chunks/{kv-dmwq5kqt.js → variant-cmh4zy5x.js} +13 -13
  132. package/dist/chunks/variant-cr86fwsy.js +252 -0
  133. package/dist/chunks/{kv-ctefx7dc.js → variant-ctefx7dc.js} +1 -1
  134. package/dist/chunks/{kv-f447m1fr.js → variant-d27k1qq2.js} +13 -13
  135. package/dist/chunks/{kv-bx8h19nq.js → variant-d42e34ke.js} +54 -54
  136. package/dist/chunks/{kv-2ny4609t.js → variant-dbdtaeh3.js} +58 -46
  137. package/dist/chunks/{kv-3mpqv36z.js → variant-dcer5810.js} +28 -28
  138. package/dist/chunks/{kv-tng621aa.js → variant-dfjemdtf.js} +30 -30
  139. package/dist/chunks/{kv-8n2kyc0a.js → variant-dngx6zgq.js} +2 -2
  140. package/dist/chunks/{kv-xfkkasph.js → variant-drwq78ky.js} +4 -4
  141. package/dist/chunks/{kv-tj17d411.js → variant-dtss6q18.js} +11 -11
  142. package/dist/chunks/{kv-f5gy8qwh.js → variant-dvc89yjx.js} +8 -8
  143. package/dist/chunks/{kv-nyh2ypn1.js → variant-e37stjd8.js} +11 -11
  144. package/dist/chunks/{kv-5qd3pb7m.js → variant-e3qxr5gk.js} +2 -2
  145. package/dist/chunks/{kv-gfb2xgah.js → variant-e6y173sj.js} +9 -9
  146. package/dist/chunks/{kv-s8d7rejh.js → variant-eaj1djv9.js} +6 -6
  147. package/dist/chunks/{kv-scpwyfk8.js → variant-ecnb5xks.js} +17 -17
  148. package/dist/chunks/{kv-a9dbeg1s.js → variant-edv89m0p.js} +40 -40
  149. package/dist/chunks/{kv-ef5x83kb.js → variant-ef5x83kb.js} +1 -1
  150. package/dist/chunks/{kv-pckzp1dd.js → variant-ehd2w0yp.js} +17 -17
  151. package/dist/chunks/{kv-1x75wf9g.js → variant-engkm2d6.js} +5 -5
  152. package/dist/chunks/{kv-7f4nfbjm.js → variant-eqvqvd13.js} +9 -9
  153. package/dist/chunks/{kv-erw5rpbs.js → variant-erw5rpbs.js} +2 -2
  154. package/dist/chunks/{kv-etq0c3wd.js → variant-etq0c3wd.js} +1 -1
  155. package/dist/chunks/{kv-2085ns88.js → variant-f747t98r.js} +16 -16
  156. package/dist/chunks/{kv-0b6h44sv.js → variant-fbc9vsj2.js} +20 -20
  157. package/dist/chunks/{kv-0d6ct406.js → variant-fczcbajx.js} +328 -328
  158. package/dist/chunks/{kv-rx89pc2r.js → variant-fhpv401t.js} +47 -47
  159. package/dist/chunks/{kv-mqdxs2wn.js → variant-fjeqa7jj.js} +8 -8
  160. package/dist/chunks/{kv-e5tcccaa.js → variant-fx8cm3j5.js} +10 -10
  161. package/dist/chunks/{kv-8q61w4ba.js → variant-fzgxakwn.js} +6 -6
  162. package/dist/chunks/{kv-44bdxtcq.js → variant-fzhdr1mx.js} +1 -1
  163. package/dist/chunks/{kv-8v6rjhh5.js → variant-g04dwg7s.js} +4 -4
  164. package/dist/chunks/{kv-btqa3k48.js → variant-g1zq083n.js} +13 -13
  165. package/dist/chunks/{kv-5dayhn2v.js → variant-g20tdqpk.js} +37 -37
  166. package/dist/chunks/{kv-9jwxq161.js → variant-g2yz86wh.js} +2 -2
  167. package/dist/chunks/{kv-j710vash.js → variant-gbdr24b9.js} +12 -12
  168. package/dist/chunks/{kv-gd4qta3r.js → variant-gd4qta3r.js} +1 -1
  169. package/dist/chunks/{kv-pv9k352q.js → variant-gf45v5rv.js} +9 -9
  170. package/dist/chunks/{kv-cfpkc3c9.js → variant-gfvb90ym.js} +2 -2
  171. package/dist/chunks/{kv-z9d24bxr.js → variant-gga0wymx.js} +62 -62
  172. package/dist/chunks/{kv-xw59r1n4.js → variant-gs9rpsen.js} +8 -8
  173. package/dist/chunks/{kv-gv6a8nnw.js → variant-gv6a8nnw.js} +2 -2
  174. package/dist/chunks/{kv-h6r3nrb9.js → variant-h6r3nrb9.js} +1 -1
  175. package/dist/chunks/{kv-h6vf3j39.js → variant-h6vf3j39.js} +1 -1
  176. package/dist/chunks/{kv-bgxcxs0p.js → variant-hcz3zddy.js} +5 -5
  177. package/dist/chunks/{kv-31d7kfed.js → variant-hkafdcbz.js} +1 -1
  178. package/dist/chunks/{kv-03zcn7km.js → variant-hpfrvn9v.js} +16 -16
  179. package/dist/chunks/{kv-04tskj1d.js → variant-j55501wg.js} +6 -6
  180. package/dist/chunks/{kv-j56e64zr.js → variant-j56e64zr.js} +1 -1
  181. package/dist/chunks/{kv-yazkjqj6.js → variant-jes8xwtq.js} +3 -3
  182. package/dist/chunks/{kv-a8z9aywv.js → variant-jfmkgsry.js} +20 -20
  183. package/dist/chunks/{kv-vrqcba6b.js → variant-jk953tft.js} +4 -4
  184. package/dist/chunks/{kv-3gmnjn1e.js → variant-jn81emqq.js} +16 -16
  185. package/dist/chunks/{kv-twegnk1a.js → variant-jx4tygjy.js} +10 -10
  186. package/dist/chunks/{kv-tc43054m.js → variant-k5y748ge.js} +3 -3
  187. package/dist/chunks/{kv-rjq8wmvv.js → variant-kad49353.js} +14 -14
  188. package/dist/chunks/{kv-9b7gtj9m.js → variant-kfd45557.js} +16 -16
  189. package/dist/chunks/{kv-44ke2mar.js → variant-knb7evpn.js} +2 -2
  190. package/dist/chunks/{kv-btb98dpx.js → variant-kns7re6s.js} +10 -10
  191. package/dist/chunks/{kv-48jv4090.js → variant-kqbmdx55.js} +32 -32
  192. package/dist/chunks/{kv-ep7hvg3f.js → variant-kzynzy4y.js} +14 -14
  193. package/dist/chunks/{kv-m3fdjcah.js → variant-m3fdjcah.js} +1 -1
  194. package/dist/chunks/{kv-we2ehp3j.js → variant-m74j5n8t.js} +51 -51
  195. package/dist/chunks/{kv-m9w0rfyh.js → variant-m9w0rfyh.js} +1 -1
  196. package/dist/chunks/{kv-0aw7dz0t.js → variant-md1qfzvn.js} +29 -29
  197. package/dist/chunks/{kv-10jtetaj.js → variant-mjncxbbh.js} +6 -6
  198. package/dist/chunks/{kv-jg5nd6aq.js → variant-mm84f3fs.js} +27 -27
  199. package/dist/chunks/{kv-kahgbyje.js → variant-mn93ga5d.js} +17 -17
  200. package/dist/chunks/{kv-73b8rws5.js → variant-n2cj49gr.js} +24 -24
  201. package/dist/chunks/{kv-3k0jy8d1.js → variant-n3hpqbgj.js} +11 -11
  202. package/dist/chunks/{kv-xypewtc4.js → variant-n7hwxzgv.js} +29 -29
  203. package/dist/chunks/{kv-a1dpd8an.js → variant-na0h3a6c.js} +22 -22
  204. package/dist/chunks/{kv-z543s5m4.js → variant-ngjw7veb.js} +3 -3
  205. package/dist/chunks/{kv-wp96n48x.js → variant-nj481gba.js} +5 -5
  206. package/dist/chunks/{kv-4nfmj2pa.js → variant-nk7804dj.js} +11 -11
  207. package/dist/chunks/{kv-5c7xdf35.js → variant-nmvjxe16.js} +10 -10
  208. package/dist/chunks/{kv-r9ds02vs.js → variant-nq97rzw1.js} +21 -21
  209. package/dist/chunks/{kv-jte7tjff.js → variant-nv7t75ky.js} +14 -14
  210. package/dist/chunks/{kv-nby32ptr.js → variant-nydghdxw.js} +27 -27
  211. package/dist/chunks/{kv-k3c624dm.js → variant-nzks3jc8.js} +3 -3
  212. package/dist/chunks/{kv-p37cw4rj.js → variant-p37cw4rj.js} +1 -1
  213. package/dist/chunks/{kv-gxa50yrh.js → variant-p8djes8h.js} +19 -19
  214. package/dist/chunks/{kv-57ez7d0k.js → variant-pef6k0gg.js} +9 -9
  215. package/dist/chunks/{kv-pjvnvgmy.js → variant-pjvnvgmy.js} +1 -1
  216. package/dist/chunks/{kv-pknna89w.js → variant-pknna89w.js} +1 -1
  217. package/dist/chunks/{kv-rv6yjsw0.js → variant-ppxpc5nv.js} +3 -3
  218. package/dist/chunks/{kv-8p4f9s12.js → variant-psazpmmj.js} +3 -2
  219. package/dist/chunks/{kv-fzz5a1bx.js → variant-pt7424fw.js} +9 -9
  220. package/dist/chunks/{kv-hfdr1yjj.js → variant-q7azfttr.js} +4 -4
  221. package/dist/chunks/{kv-50p05jhk.js → variant-q7mj73f6.js} +25 -25
  222. package/dist/chunks/variant-qapv375x.js +4 -0
  223. package/dist/chunks/{kv-qcaxkbzb.js → variant-qmkkft71.js} +21 -21
  224. package/dist/chunks/{kv-qsdy395h.js → variant-qsdy395h.js} +1 -1
  225. package/dist/chunks/{kv-cpneeje0.js → variant-r2m716tb.js} +9 -9
  226. package/dist/chunks/{kv-gh6rxzv3.js → variant-r39jerzg.js} +12 -12
  227. package/dist/chunks/{kv-bwf58ycy.js → variant-r6cdbtvh.js} +4 -4
  228. package/dist/chunks/{kv-dq2ts99x.js → variant-r8bjv7hd.js} +15 -15
  229. package/dist/chunks/{kv-e7w4bzfp.js → variant-r9684t3a.js} +13 -13
  230. package/dist/chunks/{kv-saj8ej6e.js → variant-rbqcddk9.js} +11 -11
  231. package/dist/chunks/{kv-w7tywmb9.js → variant-rc0khjqf.js} +12 -12
  232. package/dist/chunks/{kv-rdw6cm16.js → variant-rdw6cm16.js} +1 -1
  233. package/dist/chunks/{kv-p0aq747x.js → variant-rh1n8m2g.js} +11 -11
  234. package/dist/chunks/{kv-j3s2z371.js → variant-rhafb4aa.js} +9 -9
  235. package/dist/chunks/{kv-ahg2fzmr.js → variant-rt8yt3bf.js} +17 -17
  236. package/dist/chunks/{kv-4wxt30p3.js → variant-rtgnjske.js} +33 -33
  237. package/dist/chunks/{kv-ygknhksg.js → variant-rwnjws6z.js} +10 -10
  238. package/dist/chunks/{kv-17hzcrm0.js → variant-s07fdbeq.js} +19 -19
  239. package/dist/chunks/{kv-1v02azyb.js → variant-s41dxx30.js} +1 -1
  240. package/dist/chunks/{kv-yrznvahk.js → variant-s4enseaf.js} +2 -2
  241. package/dist/chunks/{kv-0jq9fyba.js → variant-s5d9hk7s.js} +9 -9
  242. package/dist/chunks/{kv-6vaskwyw.js → variant-s7h606h9.js} +19 -19
  243. package/dist/chunks/{kv-z37ms1s1.js → variant-sjgae2xy.js} +17 -17
  244. package/dist/chunks/{kv-hc50k08t.js → variant-stas9bdh.js} +9 -9
  245. package/dist/chunks/{kv-9jgjgdd1.js → variant-t0yy7xg2.js} +76 -76
  246. package/dist/chunks/{kv-ab55kpvp.js → variant-t3hvp6ye.js} +35 -35
  247. package/dist/chunks/{kv-ryr1zws9.js → variant-t6055e0v.js} +31 -31
  248. package/dist/chunks/{kv-tazgh4e4.js → variant-tazgh4e4.js} +1 -1
  249. package/dist/chunks/{kv-277eer69.js → variant-tbmac1c7.js} +4 -4
  250. package/dist/chunks/{kv-tcezcvh9.js → variant-tcezcvh9.js} +1 -1
  251. package/dist/chunks/{kv-tdstcens.js → variant-tdstcens.js} +1 -1
  252. package/dist/chunks/{kv-ks1687eg.js → variant-tk2xtqnn.js} +30 -30
  253. package/dist/chunks/{kv-tvtrv512.js → variant-tvtrv512.js} +1 -1
  254. package/dist/chunks/{kv-tk40ge2q.js → variant-v1nyvan4.js} +38 -38
  255. package/dist/chunks/{kv-cyets4p7.js → variant-v1x57w6y.js} +32 -32
  256. package/dist/chunks/{kv-pe889297.js → variant-v7eyjk8c.js} +34 -34
  257. package/dist/chunks/{kv-veqvce7d.js → variant-veqvce7d.js} +1 -1
  258. package/dist/chunks/{kv-gnezz7kq.js → variant-vkepkbsm.js} +19 -19
  259. package/dist/chunks/{kv-9bqmh40y.js → variant-vrk0cgw0.js} +21 -21
  260. package/dist/chunks/{kv-v3sgzvyr.js → variant-vtd2qwnf.js} +1 -1
  261. package/dist/chunks/{kv-t8t07vn8.js → variant-vya4f7hk.js} +13 -13
  262. package/dist/chunks/{kv-vzcthcp8.js → variant-vzcthcp8.js} +1 -1
  263. package/dist/chunks/{kv-w3wsvvr9.js → variant-w3wsvvr9.js} +1 -1
  264. package/dist/chunks/{kv-w1ad28wa.js → variant-was7srj9.js} +8 -8
  265. package/dist/chunks/{kv-tdx2ferx.js → variant-wbtey438.js} +8 -8
  266. package/dist/chunks/{kv-wd87259q.js → variant-wd87259q.js} +1 -1
  267. package/dist/chunks/{kv-742d1swr.js → variant-wnsqmkbm.js} +26 -26
  268. package/dist/chunks/{kv-eqk40qcs.js → variant-wtm3ybk1.js} +3 -3
  269. package/dist/chunks/{kv-x1ezjp6w.js → variant-x1ezjp6w.js} +1 -1
  270. package/dist/chunks/{kv-6hh8tjw2.js → variant-xb02k0wq.js} +4 -4
  271. package/dist/chunks/{kv-y49vr829.js → variant-xe0jn6g3.js} +5 -5
  272. package/dist/chunks/{kv-skyymkrr.js → variant-xkhfjrgz.js} +3 -3
  273. package/dist/chunks/{kv-cyrsd82e.js → variant-xycc92pn.js} +30 -30
  274. package/dist/chunks/{kv-y1fvbwt7.js → variant-y1fvbwt7.js} +1 -1
  275. package/dist/chunks/{kv-y71avatq.js → variant-y71avatq.js} +1 -1
  276. package/dist/chunks/{kv-z7f79qsj.js → variant-yaktvxn2.js} +18 -18
  277. package/dist/chunks/{kv-fm57n0ag.js → variant-ybday7y9.js} +8 -8
  278. package/dist/chunks/{kv-we5eykgc.js → variant-yf5fe4my.js} +18 -18
  279. package/dist/chunks/{kv-aej8eep8.js → variant-yh7kjdpc.js} +9 -9
  280. package/dist/chunks/{kv-yp2x3t23.js → variant-yp2x3t23.js} +1 -1
  281. package/dist/chunks/{kv-pnapwefn.js → variant-yq6sxka3.js} +52 -48
  282. package/dist/chunks/{kv-yrhqyw5v.js → variant-yrhqyw5v.js} +1 -1
  283. package/dist/chunks/{kv-z0bkrqjs.js → variant-z0bkrqjs.js} +1 -1
  284. package/dist/chunks/{kv-wxqhnnpd.js → variant-z16bdfpw.js} +9 -9
  285. package/dist/chunks/{kv-3w0fmcng.js → variant-z3pw5915.js} +5 -5
  286. package/dist/chunks/{kv-na3wjac3.js → variant-zd5rdewp.js} +5 -5
  287. package/dist/chunks/{kv-zeh9ct20.js → variant-zeh9ct20.js} +2 -2
  288. package/dist/chunks/{kv-p1aa38cv.js → variant-zqy8ejrp.js} +14 -14
  289. package/dist/chunks/{kv-zr2ceqn5.js → variant-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{kv-zav06jzw.js → variant-zvt5dnpc.js} +4 -4
  291. package/dist/chunks/{kv-9065type.js → variant-zxbrzaq9.js} +13 -13
  292. package/dist/chunks/{kv-zxq2ej10.js → variant-zxq2ej10.js} +1 -1
  293. package/dist/chunks/{kv-rwjqg74r.js → variant-zzexawz9.js} +26 -26
  294. package/dist/codemode/catalog.js +1 -1
  295. package/dist/codemode/instructions.js +9 -9
  296. package/dist/codemode/tool.js +3 -3
  297. package/dist/codemode/web.js +1 -1
  298. package/dist/command.js +83 -82
  299. package/dist/config/discovery.js +82 -81
  300. package/dist/config/markdown.js +1 -1
  301. package/dist/config/normalize.js +106 -105
  302. package/dist/config/plugin/agent.js +125 -124
  303. package/dist/config/plugin/command.js +214 -213
  304. package/dist/config/plugin/compaction.js +162 -161
  305. package/dist/config/plugin/compatibility.js +141 -140
  306. package/dist/config/plugin/entry-observer.js +1 -1
  307. package/dist/config/plugin/formatter.js +124 -123
  308. package/dist/config/plugin/image.js +123 -122
  309. package/dist/config/plugin/instruction.js +90 -89
  310. package/dist/config/plugin/location-watcher.js +123 -122
  311. package/dist/config/plugin/mcp.js +132 -131
  312. package/dist/config/plugin/policy.js +124 -123
  313. package/dist/config/plugin/provider.js +123 -122
  314. package/dist/config/plugin/reference.js +125 -124
  315. package/dist/config/plugin/shell.js +123 -122
  316. package/dist/config/plugin/skill-file.js +102 -101
  317. package/dist/config/plugin/skill.js +144 -143
  318. package/dist/config/plugin/snapshot.js +123 -122
  319. package/dist/config/plugin/source.js +126 -125
  320. package/dist/config/plugin/tool-output.js +125 -124
  321. package/dist/config/plugin/websearch.js +122 -121
  322. package/dist/config/plugin/worktree.js +125 -124
  323. package/dist/config/variable.js +3 -3
  324. package/dist/config/watch.js +1 -1
  325. package/dist/config.js +128 -127
  326. package/dist/credential/sql.js +2 -2
  327. package/dist/credential.js +85 -84
  328. package/dist/database/database.js +66 -65
  329. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  331. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  332. package/dist/database/drizzle/index.js +13 -13
  333. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  336. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  341. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  342. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  343. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  344. package/dist/database/drizzle.js +14 -14
  345. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  346. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  347. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  348. package/dist/database/migration/20260225215848_workspace.js +1 -1
  349. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  350. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  351. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  352. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  353. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  354. package/dist/database/migration/20260323234822_events.js +1 -1
  355. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  356. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  357. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  358. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  359. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  360. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  361. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  362. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  363. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  364. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  365. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  366. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  367. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  368. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  369. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  370. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  371. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  372. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  373. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  374. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  375. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  376. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  377. package/dist/database/migration/20260611035744_credential.js +1 -1
  378. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  379. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  380. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  381. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  382. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  383. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  384. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  385. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  386. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  387. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  388. package/dist/database/migration/20260812213948_worktree.js +1 -1
  389. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  390. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  391. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  392. package/dist/database/migration/20260923013825_project_time_active.js +6 -0
  393. package/dist/database/migration.gen.js +49 -48
  394. package/dist/database/migration.js +51 -50
  395. package/dist/database/path.js +2 -2
  396. package/dist/database/schema.gen.js +1 -1
  397. package/dist/database/schema.sql.js +1 -1
  398. package/dist/database/sqlite.bun.js +1 -1
  399. package/dist/database/sqlite.js +1 -1
  400. package/dist/database/sqlite.node.js +1 -1
  401. package/dist/database/sqlite.workerd.js +1 -1
  402. package/dist/database/v1-migration.bun.js +80 -79
  403. package/dist/database/v1-migration.js +1 -1
  404. package/dist/effect/app-node-builder.js +370 -369
  405. package/dist/effect/app-node-platform.js +2 -2
  406. package/dist/effect/keyed-mutex.js +1 -1
  407. package/dist/effect/websocket-constructor.js +1 -1
  408. package/dist/environment/driver.js +1 -1
  409. package/dist/environment/environment.js +93 -92
  410. package/dist/environment/exec-defaults.js +2 -2
  411. package/dist/environment/files.js +1 -1
  412. package/dist/environment/index.js +95 -94
  413. package/dist/environment/local.js +2 -2
  414. package/dist/environment/memory.js +2 -2
  415. package/dist/environment/unavailable.js +1 -1
  416. package/dist/event/sql.js +1 -1
  417. package/dist/event-logger.js +74 -73
  418. package/dist/file-access.js +104 -103
  419. package/dist/file-mutation.js +94 -93
  420. package/dist/file-retention.js +1 -1
  421. package/dist/file.js +1 -1
  422. package/dist/filesystem/fff.bun.js +2 -2
  423. package/dist/filesystem/fff.js +1 -1
  424. package/dist/filesystem/fff.node.js +2 -2
  425. package/dist/filesystem/fff.workerd.js +2 -2
  426. package/dist/filesystem/ignore.js +1 -1
  427. package/dist/filesystem/location-watcher-policy.js +6 -6
  428. package/dist/filesystem/location-watcher.js +225 -224
  429. package/dist/filesystem/protected.js +1 -1
  430. package/dist/filesystem/search.js +103 -102
  431. package/dist/filesystem/watcher-binding.js +3 -3
  432. package/dist/filesystem/watcher.js +15 -15
  433. package/dist/filesystem.js +102 -101
  434. package/dist/form.js +84 -83
  435. package/dist/formatter/builtins.js +2 -2
  436. package/dist/formatter.js +85 -84
  437. package/dist/generate.js +105 -104
  438. package/dist/git.js +10 -10
  439. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  440. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  441. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  443. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  444. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  445. package/dist/github-copilot/copilot-provider.js +17 -17
  446. package/dist/github-copilot/models.js +99 -98
  447. package/dist/github-copilot/openai-compatible-error.js +1 -1
  448. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  449. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  450. package/dist/github-copilot/responses/openai-error.js +1 -1
  451. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  452. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  453. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  454. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  455. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  457. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  458. package/dist/id/id.js +1 -1
  459. package/dist/image/photon.js +2 -2
  460. package/dist/image.js +6 -6
  461. package/dist/instance/service.js +5 -5
  462. package/dist/instance.js +361 -360
  463. package/dist/instruction-discovery.js +81 -80
  464. package/dist/instructions/builtins.js +87 -86
  465. package/dist/instructions/index.js +3 -3
  466. package/dist/integration/connection.js +1 -1
  467. package/dist/integration.js +86 -85
  468. package/dist/job.js +79 -78
  469. package/dist/kv/sql.js +2 -2
  470. package/dist/kv.js +73 -72
  471. package/dist/location-activity.js +135 -134
  472. package/dist/location-lifecycle.js +107 -105
  473. package/dist/location-mutation.js +104 -103
  474. package/dist/location-service-map.js +86 -85
  475. package/dist/location-services.js +358 -357
  476. package/dist/location.js +89 -88
  477. package/dist/managed-policy.js +5 -5
  478. package/dist/mcp/client.js +91 -90
  479. package/dist/mcp/index.js +108 -107
  480. package/dist/mcp/instructions.js +128 -127
  481. package/dist/mcp/oauth.js +78 -77
  482. package/dist/mcp/stdio.js +90 -89
  483. package/dist/mime.js +1 -1
  484. package/dist/modal/models.js +99 -98
  485. package/dist/model-resolver.js +98 -97
  486. package/dist/model.js +96 -95
  487. package/dist/models-dev.js +107 -106
  488. package/dist/oauth/page.js +1 -1
  489. package/dist/permission/saved.js +82 -81
  490. package/dist/permission/sql.js +5 -5
  491. package/dist/permission.js +111 -110
  492. package/dist/persistent-pty/binary.bun.js +1 -1
  493. package/dist/persistent-pty/daemon.js +1 -1
  494. package/dist/persistent-pty/index.js +88 -87
  495. package/dist/persistent-pty/pty-binding.js +1 -1
  496. package/dist/persistent-pty.js +75 -74
  497. package/dist/plugin/agent.js +104 -103
  498. package/dist/plugin/command.js +101 -100
  499. package/dist/plugin/compaction.js +133 -132
  500. package/dist/plugin/hooks.js +5 -5
  501. package/dist/plugin/host.js +218 -217
  502. package/dist/plugin/identity.js +3 -3
  503. package/dist/plugin/instance.js +1 -1
  504. package/dist/plugin/internal.js +332 -331
  505. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  506. package/dist/plugin/models-dev.js +96 -95
  507. package/dist/plugin/module.js +5 -5
  508. package/dist/plugin/optimize.js +2 -2
  509. package/dist/plugin/plan.js +102 -101
  510. package/dist/plugin/promise.js +1 -1
  511. package/dist/plugin/provider/amazon-bedrock.js +90 -89
  512. package/dist/plugin/provider/azure.js +122 -121
  513. package/dist/plugin/provider/cerebras.js +1 -1
  514. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -120
  515. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -120
  516. package/dist/plugin/provider/cohere.js +2 -2
  517. package/dist/plugin/provider/configured.js +119 -118
  518. package/dist/plugin/provider/digitalocean.js +93 -92
  519. package/dist/plugin/provider/dynamic.js +2 -2
  520. package/dist/plugin/provider/factory.js +1 -1
  521. package/dist/plugin/provider/gateway.js +2 -2
  522. package/dist/plugin/provider/github-copilot.js +93 -92
  523. package/dist/plugin/provider/gitlab.js +91 -90
  524. package/dist/plugin/provider/google-vertex.js +90 -89
  525. package/dist/plugin/provider/kilo.js +1 -1
  526. package/dist/plugin/provider/llmgateway.js +77 -76
  527. package/dist/plugin/provider/lmstudio.js +122 -121
  528. package/dist/plugin/provider/modal.js +92 -91
  529. package/dist/plugin/provider/nvidia.js +1 -1
  530. package/dist/plugin/provider/ollama.js +122 -121
  531. package/dist/plugin/provider/openai.js +92 -91
  532. package/dist/plugin/provider/opencode.js +94 -93
  533. package/dist/plugin/provider/openrouter.js +91 -90
  534. package/dist/plugin/provider/perplexity.js +2 -2
  535. package/dist/plugin/provider/poe.js +78 -77
  536. package/dist/plugin/provider/prompt-cache-key.js +90 -89
  537. package/dist/plugin/provider/sap-ai-core.js +91 -90
  538. package/dist/plugin/provider/sdk-factory.js +1 -1
  539. package/dist/plugin/provider/snowflake-cortex.js +122 -121
  540. package/dist/plugin/provider/venice.js +2 -2
  541. package/dist/plugin/provider/vercel.js +90 -89
  542. package/dist/plugin/provider/vllm.js +120 -119
  543. package/dist/plugin/provider/xai.js +91 -90
  544. package/dist/plugin/provider/zenmux.js +1 -1
  545. package/dist/plugin/provider.js +160 -159
  546. package/dist/plugin/sdk.js +76 -75
  547. package/dist/plugin/service.js +1 -1
  548. package/dist/plugin/skill.js +141 -140
  549. package/dist/plugin/source-directory.js +1 -1
  550. package/dist/plugin/supervisor.js +349 -348
  551. package/dist/plugin/tool-input-repair.js +4 -4
  552. package/dist/plugin/update.js +6 -6
  553. package/dist/plugin/vcs/git.js +86 -85
  554. package/dist/plugin/vcs/hg.js +86 -85
  555. package/dist/plugin/warming.js +121 -120
  556. package/dist/plugin/websearch/exa.js +7 -7
  557. package/dist/plugin/websearch/firecrawl.js +6 -6
  558. package/dist/plugin/websearch/index.js +9 -9
  559. package/dist/plugin/websearch/mcp.js +6 -6
  560. package/dist/plugin/websearch/parallel.js +8 -8
  561. package/dist/plugin/websearch/tavily.js +6 -6
  562. package/dist/plugin/websearch/tinyfish.js +8 -8
  563. package/dist/plugin.js +227 -226
  564. package/dist/project/schema.js +8 -8
  565. package/dist/project/sql.js +4 -4
  566. package/dist/project.js +90 -89
  567. package/dist/provider.js +95 -94
  568. package/dist/pty/protocol.js +1 -1
  569. package/dist/pty/schema.js +3 -3
  570. package/dist/pty/ticket.js +1 -1
  571. package/dist/pty.js +98 -97
  572. package/dist/reference/instructions.js +89 -88
  573. package/dist/reference.js +91 -90
  574. package/dist/repository-cache.js +81 -80
  575. package/dist/repository.js +1 -1
  576. package/dist/ripgrep/binary.js +2 -2
  577. package/dist/ripgrep.js +95 -94
  578. package/dist/rpc.js +86 -85
  579. package/dist/schema.js +1 -1
  580. package/dist/session/command.js +74 -73
  581. package/dist/session/compaction.js +132 -131
  582. package/dist/session/context.js +150 -149
  583. package/dist/session/diff.js +88 -87
  584. package/dist/session/environment.js +5 -5
  585. package/dist/session/error.js +5 -5
  586. package/dist/session/event.js +1 -1
  587. package/dist/session/execution/restart.js +224 -223
  588. package/dist/session/execution.js +126 -125
  589. package/dist/session/generate.js +153 -152
  590. package/dist/session/history.js +15 -15
  591. package/dist/session/inbox.js +86 -85
  592. package/dist/session/info.js +3 -3
  593. package/dist/session/instruction-entry.js +77 -76
  594. package/dist/session/instruction-state.js +8 -8
  595. package/dist/session/instructions.js +97 -96
  596. package/dist/session/message-updater.js +4 -4
  597. package/dist/session/message.js +1 -1
  598. package/dist/session/model-request.js +119 -118
  599. package/dist/session/model-transport.js +9 -9
  600. package/dist/session/move.js +130 -129
  601. package/dist/session/projector.js +86 -85
  602. package/dist/session/prompt.js +105 -104
  603. package/dist/session/provider-context.js +3 -3
  604. package/dist/session/revert.js +90 -89
  605. package/dist/session/run-coordinator.js +1 -1
  606. package/dist/session/runner/index.js +3 -3
  607. package/dist/session/runner/llm.js +229 -228
  608. package/dist/session/runner/max-steps.js +1 -1
  609. package/dist/session/runner/model.js +98 -97
  610. package/dist/session/runner/publish-llm-event.js +3 -3
  611. package/dist/session/runner/retry.js +112 -111
  612. package/dist/session/runner/step.js +124 -123
  613. package/dist/session/runner/to-llm-message.js +2 -2
  614. package/dist/session/schema.js +5 -5
  615. package/dist/session/session.js +172 -171
  616. package/dist/session/shell.js +138 -137
  617. package/dist/session/skill.js +103 -102
  618. package/dist/session/sql.js +5 -5
  619. package/dist/session/stats.js +73 -72
  620. package/dist/session/store.js +87 -86
  621. package/dist/session/subagent-completion.js +1 -1
  622. package/dist/session/subagent-job.js +208 -207
  623. package/dist/session/system-prompt.js +3 -3
  624. package/dist/session/title.js +154 -153
  625. package/dist/session/to-session-error.js +111 -110
  626. package/dist/session/transfer.js +220 -219
  627. package/dist/session/usage.js +1 -1
  628. package/dist/session.js +214 -213
  629. package/dist/shell/parse.js +6 -6
  630. package/dist/shell/result.js +1 -1
  631. package/dist/shell/scan.js +1 -1
  632. package/dist/shell/select.js +13 -13
  633. package/dist/shell.js +138 -137
  634. package/dist/skill/discovery.js +6 -6
  635. package/dist/skill/instructions.js +105 -104
  636. package/dist/skill.js +110 -109
  637. package/dist/snapshot.js +91 -90
  638. package/dist/state.js +1 -1
  639. package/dist/tool/html-markdown.js +1 -1
  640. package/dist/tool/http-body.js +1 -1
  641. package/dist/tool/mcp.js +125 -124
  642. package/dist/tool/plugin/edit.js +120 -119
  643. package/dist/tool/plugin/file-diff.js +1 -1
  644. package/dist/tool/plugin/glob.js +120 -119
  645. package/dist/tool/plugin/grep.js +124 -123
  646. package/dist/tool/plugin/opencode.js +3 -3
  647. package/dist/tool/plugin/patch.js +122 -121
  648. package/dist/tool/plugin/question.js +101 -100
  649. package/dist/tool/plugin/read.js +125 -124
  650. package/dist/tool/plugin/shell.js +215 -214
  651. package/dist/tool/plugin/skill.js +113 -112
  652. package/dist/tool/plugin/subagent.js +219 -218
  653. package/dist/tool/plugin/webfetch.js +112 -111
  654. package/dist/tool/plugin/websearch.js +110 -109
  655. package/dist/tool/plugin/write.js +122 -121
  656. package/dist/tool/read-filesystem.js +100 -99
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +8 -8
  659. package/dist/tool.js +10 -10
  660. package/dist/types/database/migration/20260923013825_project_time_active.d.ts +3 -0
  661. package/dist/types/project/schema.d.ts +5 -0
  662. package/dist/types/project/sql.d.ts +16 -0
  663. package/dist/types/project.d.ts +3 -0
  664. package/dist/util/error-summary.js +1 -1
  665. package/dist/util/error.js +1 -1
  666. package/dist/util/git-executable.js +2 -2
  667. package/dist/util/iife.js +1 -1
  668. package/dist/util/lazy.js +1 -1
  669. package/dist/util/slug.js +1 -1
  670. package/dist/util/token.js +1 -1
  671. package/dist/util/which.js +1 -1
  672. package/dist/util/wildcard.js +1 -1
  673. package/dist/v1/config/agent.js +7 -7
  674. package/dist/v1/config/attachment.js +4 -4
  675. package/dist/v1/config/command.js +3 -3
  676. package/dist/v1/config/config.js +16 -16
  677. package/dist/v1/config/error.js +4 -4
  678. package/dist/v1/config/formatter.js +5 -5
  679. package/dist/v1/config/layout.js +1 -1
  680. package/dist/v1/config/lsp.js +5 -5
  681. package/dist/v1/config/mcp.js +4 -4
  682. package/dist/v1/config/migrate.js +92 -91
  683. package/dist/v1/config/permission.js +7 -7
  684. package/dist/v1/config/plugin.js +3 -3
  685. package/dist/v1/config/provider-options.js +1 -1
  686. package/dist/v1/config/provider.js +4 -4
  687. package/dist/v1/config/server.js +2 -2
  688. package/dist/v1/config/skills.js +3 -3
  689. package/dist/v1/permission.js +1 -1
  690. package/dist/variant.js +91 -90
  691. package/dist/vcs/patch.js +1 -1
  692. package/dist/vcs.js +89 -88
  693. package/dist/websearch.js +78 -77
  694. package/dist/wellknown/plugin.js +76 -75
  695. package/dist/wellknown.js +81 -80
  696. package/dist/workspace/driver.js +5 -5
  697. package/dist/workspace/sql.js +1 -1
  698. package/dist/workspace.js +80 -79
  699. package/dist/worktree/directory.js +2 -2
  700. package/dist/worktree/git.js +8 -8
  701. package/dist/worktree/sql.js +5 -5
  702. package/dist/worktree/strategies.js +89 -88
  703. package/dist/worktree.js +96 -95
  704. package/package.json +8 -8
  705. package/dist/chunks/kv-0mesazry.js +0 -4
  706. package/dist/chunks/kv-53x5pmg1.js +0 -26
  707. package/dist/chunks/kv-mkcktwrm.js +0 -252
  708. package/dist/chunks/kv-vkcvdpjh.js +0 -65
  709. /package/dist/chunks/{kv-0qkdqm5v.js → variant-0qkdqm5v.js} +0 -0
  710. /package/dist/chunks/{kv-0zkw76rk.js → variant-0zkw76rk.js} +0 -0
  711. /package/dist/chunks/{kv-17cy0kzp.js → variant-17cy0kzp.js} +0 -0
  712. /package/dist/chunks/{kv-1cnp2v09.js → variant-1cnp2v09.js} +0 -0
  713. /package/dist/chunks/{kv-1kg9ymc8.js → variant-1kg9ymc8.js} +0 -0
  714. /package/dist/chunks/{kv-24dcb14g.js → variant-24dcb14g.js} +0 -0
  715. /package/dist/chunks/{kv-2710q6r3.js → variant-2710q6r3.js} +0 -0
  716. /package/dist/chunks/{kv-2axfhc9x.js → variant-2axfhc9x.js} +0 -0
  717. /package/dist/chunks/{kv-2c3vjs8z.js → variant-2c3vjs8z.js} +0 -0
  718. /package/dist/chunks/{kv-359p4xyc.js → variant-359p4xyc.js} +0 -0
  719. /package/dist/chunks/{kv-3asan66x.js → variant-3asan66x.js} +0 -0
  720. /package/dist/chunks/{kv-3v8g72cx.js → variant-3v8g72cx.js} +0 -0
  721. /package/dist/chunks/{kv-3w5fmr99.js → variant-3w5fmr99.js} +0 -0
  722. /package/dist/chunks/{kv-3wcehsnq.js → variant-3wcehsnq.js} +0 -0
  723. /package/dist/chunks/{kv-43n2bw4t.js → variant-43n2bw4t.js} +0 -0
  724. /package/dist/chunks/{kv-4knz6hnm.js → variant-4knz6hnm.js} +0 -0
  725. /package/dist/chunks/{kv-4vcrnpx2.js → variant-4vcrnpx2.js} +0 -0
  726. /package/dist/chunks/{kv-4y7fprxs.js → variant-4y7fprxs.js} +0 -0
  727. /package/dist/chunks/{kv-53557ph1.js → variant-53557ph1.js} +0 -0
  728. /package/dist/chunks/{kv-550bvhaj.js → variant-550bvhaj.js} +0 -0
  729. /package/dist/chunks/{kv-6prwharc.js → variant-6prwharc.js} +0 -0
  730. /package/dist/chunks/{kv-7akdwqpd.js → variant-7akdwqpd.js} +0 -0
  731. /package/dist/chunks/{kv-7m9af43g.js → variant-7m9af43g.js} +0 -0
  732. /package/dist/chunks/{kv-822emrt2.js → variant-822emrt2.js} +0 -0
  733. /package/dist/chunks/{kv-88xbtdfr.js → variant-88xbtdfr.js} +0 -0
  734. /package/dist/chunks/{kv-8n3pysct.js → variant-8n3pysct.js} +0 -0
  735. /package/dist/chunks/{kv-922hggd3.js → variant-922hggd3.js} +0 -0
  736. /package/dist/chunks/{kv-9a4afbnw.js → variant-9a4afbnw.js} +0 -0
  737. /package/dist/chunks/{kv-9rqn6x4v.js → variant-9rqn6x4v.js} +0 -0
  738. /package/dist/chunks/{kv-a6k6eb26.js → variant-a6k6eb26.js} +0 -0
  739. /package/dist/chunks/{kv-af5trqkr.js → variant-af5trqkr.js} +0 -0
  740. /package/dist/chunks/{kv-afrmfg78.js → variant-afrmfg78.js} +0 -0
  741. /package/dist/chunks/{kv-aqzs7mqg.js → variant-aqzs7mqg.js} +0 -0
  742. /package/dist/chunks/{kv-atq7p7m5.js → variant-atq7p7m5.js} +0 -0
  743. /package/dist/chunks/{kv-bkyjaxrp.js → variant-bkyjaxrp.js} +0 -0
  744. /package/dist/chunks/{kv-bmr6ed5q.js → variant-bmr6ed5q.js} +0 -0
  745. /package/dist/chunks/{kv-cf4snx6d.js → variant-cf4snx6d.js} +0 -0
  746. /package/dist/chunks/{kv-cvy3z8tj.js → variant-cvy3z8tj.js} +0 -0
  747. /package/dist/chunks/{kv-d9fn303g.js → variant-d9fn303g.js} +0 -0
  748. /package/dist/chunks/{kv-d9jj8t3e.js → variant-d9jj8t3e.js} +0 -0
  749. /package/dist/chunks/{kv-dajrwvna.js → variant-dajrwvna.js} +0 -0
  750. /package/dist/chunks/{kv-dap0rakb.js → variant-dap0rakb.js} +0 -0
  751. /package/dist/chunks/{kv-df08tz66.js → variant-df08tz66.js} +0 -0
  752. /package/dist/chunks/{kv-dy18nga0.js → variant-dy18nga0.js} +0 -0
  753. /package/dist/chunks/{kv-e5kj55wp.js → variant-e5kj55wp.js} +0 -0
  754. /package/dist/chunks/{kv-e73j6tqm.js → variant-e73j6tqm.js} +0 -0
  755. /package/dist/chunks/{kv-ec1grn59.js → variant-ec1grn59.js} +0 -0
  756. /package/dist/chunks/{kv-eh3zwz77.js → variant-eh3zwz77.js} +0 -0
  757. /package/dist/chunks/{kv-emrn6kk6.js → variant-emrn6kk6.js} +0 -0
  758. /package/dist/chunks/{kv-f0mxakyp.js → variant-f0mxakyp.js} +0 -0
  759. /package/dist/chunks/{kv-f6n9ztr4.js → variant-f6n9ztr4.js} +0 -0
  760. /package/dist/chunks/{kv-faypxj3z.js → variant-faypxj3z.js} +0 -0
  761. /package/dist/chunks/{kv-fd410y7t.js → variant-fd410y7t.js} +0 -0
  762. /package/dist/chunks/{kv-fxgpk5d8.js → variant-fxgpk5d8.js} +0 -0
  763. /package/dist/chunks/{kv-g4wezp1m.js → variant-g4wezp1m.js} +0 -0
  764. /package/dist/chunks/{kv-g86h250q.js → variant-g86h250q.js} +0 -0
  765. /package/dist/chunks/{kv-gebd4c9n.js → variant-gebd4c9n.js} +0 -0
  766. /package/dist/chunks/{kv-gftt206x.js → variant-gftt206x.js} +0 -0
  767. /package/dist/chunks/{kv-hjbc5kem.js → variant-hjbc5kem.js} +0 -0
  768. /package/dist/chunks/{kv-hk9envan.js → variant-hk9envan.js} +0 -0
  769. /package/dist/chunks/{kv-j2ntwpah.js → variant-j2ntwpah.js} +0 -0
  770. /package/dist/chunks/{kv-j5zkgpj8.js → variant-j5zkgpj8.js} +0 -0
  771. /package/dist/chunks/{kv-jjkms2e6.js → variant-jjkms2e6.js} +0 -0
  772. /package/dist/chunks/{kv-jr7sbwjy.js → variant-jr7sbwjy.js} +0 -0
  773. /package/dist/chunks/{kv-jwfs4k6c.js → variant-jwfs4k6c.js} +0 -0
  774. /package/dist/chunks/{kv-jzg6c2d5.js → variant-jzg6c2d5.js} +0 -0
  775. /package/dist/chunks/{kv-mp448xyj.js → variant-mp448xyj.js} +0 -0
  776. /package/dist/chunks/{kv-msx8hqn2.js → variant-msx8hqn2.js} +0 -0
  777. /package/dist/chunks/{kv-n05xt0ee.js → variant-n05xt0ee.js} +0 -0
  778. /package/dist/chunks/{kv-n3j8tn72.js → variant-n3j8tn72.js} +0 -0
  779. /package/dist/chunks/{kv-njntx4h6.js → variant-njntx4h6.js} +0 -0
  780. /package/dist/chunks/{kv-q3sfg36h.js → variant-q3sfg36h.js} +0 -0
  781. /package/dist/chunks/{kv-q74kybfr.js → variant-q74kybfr.js} +0 -0
  782. /package/dist/chunks/{kv-qaymkmh1.js → variant-qaymkmh1.js} +0 -0
  783. /package/dist/chunks/{kv-qb87gjwd.js → variant-qb87gjwd.js} +0 -0
  784. /package/dist/chunks/{kv-qfa1cgps.js → variant-qfa1cgps.js} +0 -0
  785. /package/dist/chunks/{kv-qg3g05ea.js → variant-qg3g05ea.js} +0 -0
  786. /package/dist/chunks/{kv-qrg20bc0.js → variant-qrg20bc0.js} +0 -0
  787. /package/dist/chunks/{kv-rcb2kzg1.js → variant-rcb2kzg1.js} +0 -0
  788. /package/dist/chunks/{kv-sdp7kfr6.js → variant-sdp7kfr6.js} +0 -0
  789. /package/dist/chunks/{kv-sk3qaz4a.js → variant-sk3qaz4a.js} +0 -0
  790. /package/dist/chunks/{kv-ssg3fenm.js → variant-ssg3fenm.js} +0 -0
  791. /package/dist/chunks/{kv-w803qqfp.js → variant-w803qqfp.js} +0 -0
  792. /package/dist/chunks/{kv-wc3fc9cn.js → variant-wc3fc9cn.js} +0 -0
  793. /package/dist/chunks/{kv-wer8tq1h.js → variant-wer8tq1h.js} +0 -0
  794. /package/dist/chunks/{kv-wtztk69x.js → variant-wtztk69x.js} +0 -0
  795. /package/dist/chunks/{kv-x0ckcb58.js → variant-x0ckcb58.js} +0 -0
  796. /package/dist/chunks/{kv-x61499pn.js → variant-x61499pn.js} +0 -0
  797. /package/dist/chunks/{kv-y44na4kk.js → variant-y44na4kk.js} +0 -0
  798. /package/dist/chunks/{kv-y8cydn3q.js → variant-y8cydn3q.js} +0 -0
  799. /package/dist/chunks/{kv-y8f7s663.js → variant-y8f7s663.js} +0 -0
  800. /package/dist/chunks/{kv-ygaqb7jw.js → variant-ygaqb7jw.js} +0 -0
  801. /package/dist/chunks/{kv-ym463w8f.js → variant-ym463w8f.js} +0 -0
  802. /package/dist/chunks/{kv-z9919s4g.js → variant-z9919s4g.js} +0 -0
@@ -1,46 +1,46 @@
1
1
  import {
2
- Service80
3
- } from "./kv-pckzp1dd.js";
2
+ Service75
3
+ } from "./variant-ehd2w0yp.js";
4
4
  import {
5
- Service57
6
- } from "./kv-d5g8gbry.js";
5
+ Service62
6
+ } from "./variant-4n6z1r8s.js";
7
7
  import {
8
- Service15,
8
+ Service26,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./kv-j3cbebdz.js";
11
+ } from "./variant-1j4qs2dp.js";
12
12
  import {
13
13
  Service17
14
- } from "./kv-btb98dpx.js";
14
+ } from "./variant-kns7re6s.js";
15
15
  import {
16
- Service63
17
- } from "./kv-we2ehp3j.js";
16
+ Service65
17
+ } from "./variant-m74j5n8t.js";
18
18
  import {
19
- Service19,
19
+ Service28,
20
20
  resolvePath2
21
- } from "./kv-we5eykgc.js";
21
+ } from "./variant-yf5fe4my.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./kv-6prwharc.js";
24
+ } from "./variant-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./kv-9rqn6x4v.js";
27
+ } from "./variant-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input5,
34
- Output: () => Output4,
35
- Plugin: () => Plugin40,
36
- name: () => name5
33
+ Input: () => Input11,
34
+ Output: () => Output7,
35
+ Plugin: () => Plugin29,
36
+ name: () => name11
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name5 = "edit";
43
- var Input5 = Schema.Struct({
42
+ var name11 = "edit";
43
+ var Input11 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input5 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output4 = Schema.Struct({
53
+ var Output7 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
103
103
  return result;
104
104
  }, []);
105
105
  };
106
- var Plugin40 = {
106
+ var Plugin29 = {
107
107
  id: "opencode.tool.edit",
108
108
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
109
- const access = yield* Service19;
110
- const fileMutation = yield* Service15;
111
- const environment = yield* Service57;
109
+ const access = yield* Service28;
110
+ const fileMutation = yield* Service26;
111
+ const environment = yield* Service62;
112
112
  const formatter = yield* Service17;
113
- const location = yield* Service80;
114
- const permission = yield* Service63;
113
+ const location = yield* Service75;
114
+ const permission = yield* Service65;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
- name: name5,
116
+ name: name11,
117
117
  options: { codemode: false, permission: "edit" },
118
118
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
119
- input: Input5,
120
- output: Output4,
119
+ input: Input11,
120
+ output: Output7,
121
121
  execute: (input, context) => {
122
122
  return Effect.gen(function* () {
123
123
  const permissionSource = {
@@ -194,4 +194,4 @@ var Plugin40 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name5, Input5, Output4, Plugin40, exports_edit };
197
+ export { name11, Input11, Output7, Plugin29, exports_edit };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./kv-9rqn6x4v.js";
3
+ } from "./variant-9rqn6x4v.js";
4
4
 
5
5
  // src/id/id.ts
6
6
  var exports_id = {};
@@ -1,59 +1,59 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./kv-eqk40qcs.js";
4
+ } from "./variant-wtm3ybk1.js";
5
5
  import {
6
- Service82,
7
- node86
8
- } from "./kv-wzr2e2gd.js";
6
+ Service83,
7
+ node87
8
+ } from "./variant-0f3fkebw.js";
9
9
  import {
10
- Service56,
11
- node58
12
- } from "./kv-ahg2fzmr.js";
10
+ Service54,
11
+ node57
12
+ } from "./variant-rt8yt3bf.js";
13
13
  import {
14
- Service50,
15
- node52
16
- } from "./kv-h896pcm5.js";
14
+ Service47,
15
+ node49
16
+ } from "./variant-2a6rn6yr.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./kv-ec1grn59.js";
19
+ } from "./variant-ec1grn59.js";
20
20
  import {
21
21
  make16
22
- } from "./kv-yp2x3t23.js";
22
+ } from "./variant-yp2x3t23.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service48
26
- } from "./kv-zav06jzw.js";
25
+ Service44
26
+ } from "./variant-zvt5dnpc.js";
27
27
  import {
28
28
  UserInterruptedError2
29
- } from "./kv-3zgzsr0q.js";
29
+ } from "./variant-834a0b17.js";
30
30
  import {
31
- Service65,
32
- node69
33
- } from "./kv-2085ns88.js";
31
+ Service66,
32
+ node70
33
+ } from "./variant-f747t98r.js";
34
34
  import {
35
35
  toSessionError2
36
- } from "./kv-8v6rjhh5.js";
36
+ } from "./variant-g04dwg7s.js";
37
37
  import {
38
38
  nextPromotable2
39
- } from "./kv-qcaxkbzb.js";
39
+ } from "./variant-qmkkft71.js";
40
40
  import {
41
41
  __export
42
- } from "./kv-9rqn6x4v.js";
42
+ } from "./variant-9rqn6x4v.js";
43
43
 
44
44
  // src/session/execution.ts
45
45
  var exports_execution = {};
46
46
  __export(exports_execution, {
47
- Service: () => Service47,
47
+ Service: () => Service43,
48
48
  SessionExecution: () => exports_execution,
49
- layer: () => layer18,
50
- node: () => node50,
49
+ layer: () => layer17,
50
+ node: () => node46,
51
51
  noopLayer: () => noopLayer2,
52
52
  terminal: () => terminal2
53
53
  });
54
54
  import { Cause, Context, Effect, Exit, Layer } from "effect";
55
55
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
56
- class Service47 extends Context.Service()("@opencode/SessionExecution") {
56
+ class Service43 extends Context.Service()("@opencode/SessionExecution") {
57
57
  }
58
58
  function terminal2(exit, reason) {
59
59
  if (Exit.isSuccess(exit))
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
65
65
  return { type: "interrupted", reason: "user" };
66
66
  return { type: "failed", error: toSessionError2(failure) };
67
67
  }
68
- var layer18 = Layer.effect(Service47, Effect.gen(function* () {
69
- const store = yield* Service65;
70
- const instances = yield* Service50;
71
- const bus = yield* Service82;
72
- const jobs = yield* Service56;
68
+ var layer17 = Layer.effect(Service43, Effect.gen(function* () {
69
+ const store = yield* Service66;
70
+ const instances = yield* Service47;
71
+ const bus = yield* Service83;
72
+ const jobs = yield* Service54;
73
73
  const db = (yield* Service84).db;
74
74
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
75
75
  const claimOnCommit = (sessionID) => ({
@@ -82,7 +82,7 @@ var layer18 = Layer.effect(Service47, Effect.gen(function* () {
82
82
  const session = yield* store.get(sessionID);
83
83
  if (!session)
84
84
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
85
- const result = yield* Service48.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
85
+ const result = yield* Service44.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
86
86
  return yield* DrainResult2.$match(result, {
87
87
  Complete: () => Effect.void,
88
88
  Moved: (result) => drain(sessionID, false, result.continuation, promotable),
@@ -110,7 +110,7 @@ var layer18 = Layer.effect(Service47, Effect.gen(function* () {
110
110
  }, releaseOnCommit(sessionID));
111
111
  }))
112
112
  });
113
- return Service47.of({
113
+ return Service43.of({
114
114
  active: coordinator.active,
115
115
  isActive: coordinator.isActive,
116
116
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -129,12 +129,12 @@ var layer18 = Layer.effect(Service47, Effect.gen(function* () {
129
129
  awaitIdle: coordinator.awaitIdle
130
130
  });
131
131
  }));
132
- var node50 = makeGlobalNode({
133
- service: Service47,
134
- layer: layer18,
135
- deps: [node69, node52, node86, node88, node58]
132
+ var node46 = makeGlobalNode({
133
+ service: Service43,
134
+ layer: layer17,
135
+ deps: [node70, node49, node87, node88, node57]
136
136
  });
137
- var noopLayer2 = Layer.succeed(Service47, Service47.of({
137
+ var noopLayer2 = Layer.succeed(Service43, Service43.of({
138
138
  active: Effect.succeed(new Set),
139
139
  isActive: () => Effect.succeed(false),
140
140
  resume: () => Effect.void,
@@ -143,4 +143,4 @@ var noopLayer2 = Layer.succeed(Service47, Service47.of({
143
143
  awaitIdle: () => Effect.void
144
144
  }));
145
145
 
146
- export { Service47, terminal2, layer18, node50, noopLayer2, exports_execution };
146
+ export { Service43, terminal2, layer17, node46, noopLayer2, exports_execution };
@@ -1,54 +1,54 @@
1
- import {
2
- Service82,
3
- node86
4
- } from "./kv-wzr2e2gd.js";
5
1
  import {
6
2
  Service83,
7
3
  node87
8
- } from "./kv-6wr1j3sy.js";
4
+ } from "./variant-0f3fkebw.js";
5
+ import {
6
+ Service77,
7
+ node81
8
+ } from "./variant-0z6w7vfv.js";
9
9
  import {
10
- Service80,
11
- node84
12
- } from "./kv-pckzp1dd.js";
10
+ Service75,
11
+ node79
12
+ } from "./variant-ehd2w0yp.js";
13
13
  import {
14
14
  awaitActivation2
15
- } from "./kv-ctefx7dc.js";
15
+ } from "./variant-ctefx7dc.js";
16
16
  import {
17
- Service45,
18
- node48
19
- } from "./kv-73b8rws5.js";
17
+ Service71,
18
+ node75
19
+ } from "./variant-n2cj49gr.js";
20
20
  import {
21
- node25
22
- } from "./kv-scpwyfk8.js";
21
+ node17
22
+ } from "./variant-ecnb5xks.js";
23
23
  import {
24
- Service8,
25
- node9
26
- } from "./kv-cpneeje0.js";
24
+ Service7,
25
+ node8
26
+ } from "./variant-r2m716tb.js";
27
27
  import {
28
28
  __export
29
- } from "./kv-9rqn6x4v.js";
29
+ } from "./variant-9rqn6x4v.js";
30
30
 
31
31
  // src/filesystem/location-watcher.ts
32
32
  var exports_location_watcher = {};
33
33
  __export(exports_location_watcher, {
34
34
  LocationWatcher: () => exports_location_watcher,
35
- Service: () => Service5,
36
- node: () => node6
35
+ Service: () => Service2,
36
+ node: () => node2
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
40
40
  import { FileSystem } from "@opencode/schema/filesystem";
41
41
  import path from "path";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
- class Service5 extends Context.Service()("@opencode/LocationWatcher") {
43
+ class Service2 extends Context.Service()("@opencode/LocationWatcher") {
44
44
  }
45
- var layer = Layer.effect(Service5, Effect.gen(function* () {
46
- const location = yield* Service80;
47
- const watcher = yield* Service45;
48
- const bus = yield* Service82;
45
+ var layer = Layer.effect(Service2, Effect.gen(function* () {
46
+ const location = yield* Service75;
47
+ const watcher = yield* Service71;
48
+ const bus = yield* Service83;
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service83;
51
- const policy = yield* Service8;
50
+ const git = yield* Service77;
51
+ const policy = yield* Service7;
52
52
  const publish = (update) => bus.publish(FileSystem.Event.Changed, {
53
53
  file: update.path,
54
54
  event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service5, Effect.gen(function* () {
100
100
  yield* awaitActivation2;
101
101
  yield* reconcile();
102
102
  }).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
103
- return Service5.of({});
103
+ return Service2.of({});
104
104
  }));
105
- var node6 = makeLocationNode({
106
- service: Service5,
105
+ var node2 = makeLocationNode({
106
+ service: Service2,
107
107
  layer,
108
- deps: [node48, FSUtil.node, node84, node87, node86, node25, node9]
108
+ deps: [node75, FSUtil.node, node79, node81, node87, node17, node8]
109
109
  });
110
110
 
111
- export { Service5, node6, exports_location_watcher };
111
+ export { Service2, node2, exports_location_watcher };
@@ -2,45 +2,45 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./kv-2a5m3afh.js";
5
+ } from "./variant-2a5m3afh.js";
6
6
  import {
7
- Service80
8
- } from "./kv-pckzp1dd.js";
7
+ Service75
8
+ } from "./variant-ehd2w0yp.js";
9
9
  import {
10
- Service57
11
- } from "./kv-d5g8gbry.js";
10
+ Service62
11
+ } from "./variant-4n6z1r8s.js";
12
12
  import {
13
13
  Service17
14
- } from "./kv-btb98dpx.js";
14
+ } from "./variant-kns7re6s.js";
15
15
  import {
16
- Service15,
16
+ Service26,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./kv-j3cbebdz.js";
19
+ } from "./variant-1j4qs2dp.js";
20
20
  import {
21
- Service63
22
- } from "./kv-we2ehp3j.js";
21
+ Service65
22
+ } from "./variant-m74j5n8t.js";
23
23
  import {
24
- Service19,
24
+ Service28,
25
25
  resolvePath2
26
- } from "./kv-we5eykgc.js";
26
+ } from "./variant-yf5fe4my.js";
27
27
  import {
28
28
  fileDiff2
29
- } from "./kv-6prwharc.js";
29
+ } from "./variant-6prwharc.js";
30
30
  import {
31
31
  __export
32
- } from "./kv-9rqn6x4v.js";
32
+ } from "./variant-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/patch.ts
35
35
  var exports_patch = {};
36
36
  __export(exports_patch, {
37
37
  Applied: () => Applied2,
38
- Input: () => Input3,
39
- Output: () => Output3,
38
+ Input: () => Input4,
39
+ Output: () => Output4,
40
40
  PatchTool: () => exports_patch,
41
- Plugin: () => Plugin38,
42
- name: () => name3,
43
- toModelContent: () => toModelContent2
41
+ Plugin: () => Plugin22,
42
+ name: () => name4,
43
+ toModelContent: () => toModelContent3
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai";
46
46
  import { FileDiff } from "@opencode/schema/file-diff";
@@ -85,8 +85,8 @@ It is important to remember:
85
85
  `;
86
86
 
87
87
  // src/tool/plugin/patch.ts
88
- var name3 = "patch";
89
- var Input3 = Schema.Struct({
88
+ var name4 = "patch";
89
+ var Input4 = Schema.Struct({
90
90
  patchText: Schema.String.annotate({
91
91
  description: "The full patch text describing add, update, and delete operations"
92
92
  })
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
96
96
  resource: Schema.String,
97
97
  target: Schema.String
98
98
  });
99
- var Output3 = Schema.Struct({
99
+ var Output4 = Schema.Struct({
100
100
  applied: Schema.Array(Applied2),
101
101
  files: Schema.Array(FileDiff.Info)
102
102
  });
103
- var toModelContent2 = (output) => [
103
+ var toModelContent3 = (output) => [
104
104
  "Success. Updated the following files:",
105
105
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
106
106
  ].join(`
107
107
  `);
108
- var Plugin38 = {
108
+ var Plugin22 = {
109
109
  id: "opencode.tool.patch",
110
110
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
111
- const environment = yield* Service57;
112
- const access = yield* Service19;
113
- const fileMutation = yield* Service15;
111
+ const environment = yield* Service62;
112
+ const access = yield* Service28;
113
+ const fileMutation = yield* Service26;
114
114
  const formatter = yield* Service17;
115
- const location = yield* Service80;
116
- const permission = yield* Service63;
115
+ const location = yield* Service75;
116
+ const permission = yield* Service65;
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name3,
118
+ name: name4,
119
119
  options: { codemode: false, permission: "edit" },
120
120
  description: patch_default,
121
- input: Input3,
122
- output: Output3,
121
+ input: Input4,
122
+ output: Output4,
123
123
  execute: (input, context) => {
124
124
  const applied = [];
125
125
  const parsed = Patch.parse(input.patchText);
@@ -266,7 +266,7 @@ var Plugin38 = {
266
266
  return { applied, files };
267
267
  }).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
268
268
  output,
269
- content: toModelContent2(output),
269
+ content: toModelContent3(output),
270
270
  metadata: { files: output.files }
271
271
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
272
272
  }
@@ -326,4 +326,4 @@ function trimDiff(diff) {
326
326
  `);
327
327
  }
328
328
 
329
- export { name3, Input3, Applied2, Output3, toModelContent2, Plugin38, exports_patch };
329
+ export { name4, Input4, Applied2, Output4, toModelContent3, Plugin22, exports_patch };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./kv-ym463w8f.js";
3
+ } from "./variant-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/perplexity.ts
6
6
  var PerplexityPlugin2 = createProviderPlugin2({
@@ -1,36 +1,36 @@
1
1
  import {
2
- Service82
3
- } from "./kv-wzr2e2gd.js";
2
+ Service83
3
+ } from "./variant-0f3fkebw.js";
4
4
  import {
5
- Service71
6
- } from "./kv-1gqe2a33.js";
5
+ Service50
6
+ } from "./variant-ajk3nktm.js";
7
7
  import {
8
- Error3
9
- } from "./kv-z37ms1s1.js";
8
+ Error4
9
+ } from "./variant-sjgae2xy.js";
10
10
  import {
11
- Service46
12
- } from "./kv-j710vash.js";
11
+ Service61
12
+ } from "./variant-gbdr24b9.js";
13
13
  import {
14
14
  StepFailedError2
15
- } from "./kv-3zgzsr0q.js";
15
+ } from "./variant-834a0b17.js";
16
16
  import {
17
17
  SessionEvent2
18
- } from "./kv-ec1grn59.js";
18
+ } from "./variant-ec1grn59.js";
19
19
  import {
20
20
  toSessionError2
21
- } from "./kv-8v6rjhh5.js";
21
+ } from "./variant-g04dwg7s.js";
22
22
  import {
23
23
  calculateCost2
24
- } from "./kv-tdstcens.js";
24
+ } from "./variant-tdstcens.js";
25
25
  import {
26
26
  createLLMEventPublisher2
27
- } from "./kv-erw5rpbs.js";
27
+ } from "./variant-erw5rpbs.js";
28
28
  import {
29
29
  isRetryable2
30
- } from "./kv-yazkjqj6.js";
30
+ } from "./variant-jes8xwtq.js";
31
31
  import {
32
32
  __export
33
- } from "./kv-9rqn6x4v.js";
33
+ } from "./variant-9rqn6x4v.js";
34
34
 
35
35
  // src/session/runner/step.ts
36
36
  var exports_step = {};
@@ -52,10 +52,10 @@ var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted"
52
52
  var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
53
53
  var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
54
54
  var make8 = Effect.gen(function* () {
55
- const bus = yield* Service82;
55
+ const bus = yield* Service83;
56
56
  const llm = yield* LLMClient.Service;
57
- const snapshots = yield* Service71;
58
- const toolOutput = yield* Service46;
57
+ const snapshots = yield* Service50;
58
+ const toolOutput = yield* Service61;
59
59
  const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
60
60
  const startSnapshot = yield* snapshots.capture();
61
61
  const publisher = createLLMEventPublisher2(bus, {
@@ -71,7 +71,7 @@ var make8 = Effect.gen(function* () {
71
71
  const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
72
72
  const executeTool = (call) => {
73
73
  if (input.prepared.request.toolChoice?.type === "none")
74
- return new Error3({ message: "Tools are disabled after the maximum agent steps" });
74
+ return new Error4({ message: "Tools are disabled after the maximum agent steps" });
75
75
  return input.prepared.executeTool({
76
76
  sessionID: input.sessionID,
77
77
  agent: input.agent,
@@ -1,45 +1,45 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./kv-wzr2e2gd.js";
2
+ Service83,
3
+ node87
4
+ } from "./variant-0f3fkebw.js";
5
5
  import {
6
6
  create3
7
- } from "./kv-rdw6cm16.js";
7
+ } from "./variant-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./kv-9rqn6x4v.js";
10
+ } from "./variant-9rqn6x4v.js";
11
11
 
12
12
  // src/agent.ts
13
- var exports_agent4 = {};
14
- __export(exports_agent4, {
15
- Agent: () => exports_agent4,
13
+ var exports_agent3 = {};
14
+ __export(exports_agent3, {
15
+ Agent: () => exports_agent3,
16
16
  Color: () => Color2,
17
- Event: () => Event15,
17
+ Event: () => Event12,
18
18
  ID: () => ID9,
19
- Info: () => Info24,
19
+ Info: () => Info13,
20
20
  Name: () => Name3,
21
- Service: () => Service66,
21
+ Service: () => Service67,
22
22
  defaultID: () => defaultID2,
23
- node: () => node70
23
+ node: () => node71
24
24
  });
25
25
  import path from "path";
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Array, Context, Effect, Layer } from "effect";
28
28
  import { Agent } from "@opencode/schema/agent";
29
29
  import { Global } from "@opencode/util/global";
30
- import { Event as Event15 } from "@opencode/schema/agent";
30
+ import { Event as Event12 } from "@opencode/schema/agent";
31
31
  var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
32
32
  var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
33
33
  var ID9 = Agent.ID;
34
34
  var Name3 = Agent.Name;
35
35
  var defaultID2 = ID9.make("build");
36
36
  var Color2 = Agent.Color;
37
- var Info24 = Agent.Info;
37
+ var Info13 = Agent.Info;
38
38
 
39
- class Service66 extends Context.Service()("@opencode/Agent") {
39
+ class Service67 extends Context.Service()("@opencode/Agent") {
40
40
  }
41
- var layer = Layer.effect(Service66, Effect.gen(function* () {
42
- const bus = yield* Service82;
41
+ var layer = Layer.effect(Service67, Effect.gen(function* () {
42
+ const bus = yield* Service83;
43
43
  const global = yield* Global.Service;
44
44
  const permissions = [
45
45
  { action: "external_directory", resource: SHELL_OUTPUT_GLOB(global.data), effect: "allow" },
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
57
57
  editor.default = id;
58
58
  },
59
59
  update: (id, fn) => {
60
- const defaults = Info24.default(id);
60
+ const defaults = Info13.default(id);
61
61
  const current = editor.agents.get(id) ?? {
62
62
  ...defaults,
63
63
  permissions: [...defaults.permissions, ...permissions]
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
88
88
  return fallback;
89
89
  }
90
90
  };
91
- return Service66.of({
91
+ return Service67.of({
92
92
  transform: state.transform,
93
93
  reload: state.reload,
94
94
  get: Effect.fn("Agent.get")(function* (id) {
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
116
116
  })
117
117
  });
118
118
  }));
119
- var node70 = makeLocationNode({ service: Service66, layer, deps: [node86, Global.node] });
119
+ var node71 = makeLocationNode({ service: Service67, layer, deps: [node87, Global.node] });
120
120
 
121
- export { ID9, Name3, defaultID2, Color2, Info24, Service66, node70, exports_agent4, Event15 };
121
+ export { ID9, Name3, defaultID2, Color2, Info13, Service67, node71, exports_agent3, Event12 };