@opencode/core 0.0.0-dev-20249 → 0.0.0-dev-20250

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 (795) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{location-activity-8kp1k5ps.js → tool-089t50vm.js} +21 -21
  8. package/dist/chunks/{location-activity-0paq2nw3.js → tool-0paq2nw3.js} +1 -1
  9. package/dist/chunks/{location-activity-ewvgzyem.js → tool-0rban3yw.js} +13 -13
  10. package/dist/chunks/{location-activity-1kggeejj.js → tool-0t6cxkbd.js} +25 -25
  11. package/dist/chunks/{location-activity-qsb7s0x5.js → tool-0tdgw0ar.js} +10 -10
  12. package/dist/chunks/{location-activity-qs4mz5f3.js → tool-0z09521w.js} +2 -2
  13. package/dist/chunks/{location-activity-jaak92tj.js → tool-156zbn1d.js} +9 -9
  14. package/dist/chunks/{location-activity-1dazxqgg.js → tool-1dazxqgg.js} +2 -2
  15. package/dist/chunks/{location-activity-cvcab3e7.js → tool-1rtbc53y.js} +1 -1
  16. package/dist/chunks/{location-activity-1ygqh575.js → tool-1ygqh575.js} +2 -2
  17. package/dist/chunks/{location-activity-21r38tys.js → tool-21r38tys.js} +1 -1
  18. package/dist/chunks/{location-activity-82a973mw.js → tool-228xbxgc.js} +13 -13
  19. package/dist/chunks/{location-activity-2xgpccdx.js → tool-24ajxhwn.js} +16 -16
  20. package/dist/chunks/{location-activity-3m3dt5rv.js → tool-2756h3zt.js} +20 -20
  21. package/dist/chunks/{location-activity-n4r1a76v.js → tool-2844q2j5.js} +3 -3
  22. package/dist/chunks/{location-activity-2a5m3afh.js → tool-2a5m3afh.js} +1 -1
  23. package/dist/chunks/{location-activity-c2b0a5hv.js → tool-2f56s268.js} +19 -19
  24. package/dist/chunks/{location-activity-1hqp4yhx.js → tool-2kw3wt25.js} +5 -5
  25. package/dist/chunks/{location-activity-hj6fcrxw.js → tool-2r0dzprv.js} +7 -7
  26. package/dist/chunks/{location-activity-cwa6csj7.js → tool-2sejkfem.js} +9 -9
  27. package/dist/chunks/{location-activity-ey3ha4js.js → tool-339g4gdd.js} +20 -20
  28. package/dist/chunks/{location-activity-y0n45tja.js → tool-34er3540.js} +26 -26
  29. package/dist/chunks/{location-activity-w3h9rmhg.js → tool-38wrebp5.js} +39 -39
  30. package/dist/chunks/{location-activity-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
  31. package/dist/chunks/{location-activity-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
  32. package/dist/chunks/{location-activity-w9yg01yk.js → tool-3kzfkvq2.js} +9 -9
  33. package/dist/chunks/{location-activity-wqpd61v1.js → tool-3m8mva6z.js} +21 -21
  34. package/dist/chunks/{location-activity-t9ry9eb3.js → tool-3refetkt.js} +3 -3
  35. package/dist/chunks/{location-activity-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
  36. package/dist/chunks/{location-activity-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
  37. package/dist/chunks/{location-activity-x1h4eq31.js → tool-3zf7ee43.js} +3 -3
  38. package/dist/chunks/{location-activity-3zsf4n22.js → tool-3zsf4n22.js} +1 -1
  39. package/dist/chunks/{location-activity-792jbbde.js → tool-44g9bvrf.js} +10 -10
  40. package/dist/chunks/{location-activity-6pkj5grj.js → tool-482tjr68.js} +3 -3
  41. package/dist/chunks/{location-activity-5zfnesw8.js → tool-4gy81ws5.js} +11 -11
  42. package/dist/chunks/{location-activity-kzp9zm5q.js → tool-4qn8cb3g.js} +35 -35
  43. package/dist/chunks/{location-activity-rmjn6g9n.js → tool-4vxt5jt3.js} +20 -20
  44. package/dist/chunks/{location-activity-ckecvw8r.js → tool-54tcyq79.js} +2 -2
  45. package/dist/chunks/{location-activity-tdj3v69k.js → tool-5595mwca.js} +65 -65
  46. package/dist/chunks/{location-activity-vffygzrk.js → tool-572k1pdw.js} +33 -33
  47. package/dist/chunks/{location-activity-5daktx2q.js → tool-5daktx2q.js} +1 -1
  48. package/dist/chunks/{location-activity-cx34d9wd.js → tool-5g3whhj5.js} +11 -11
  49. package/dist/chunks/{location-activity-bex4hgfv.js → tool-5q9n4mzc.js} +9 -9
  50. package/dist/chunks/{location-activity-xhysamsz.js → tool-5r4dt47c.js} +8 -8
  51. package/dist/chunks/{location-activity-wpf825w3.js → tool-5t1f4rw7.js} +48 -48
  52. package/dist/chunks/{location-activity-5t3nmthw.js → tool-5t3nmthw.js} +2 -2
  53. package/dist/chunks/{location-activity-669tq793.js → tool-669tq793.js} +1 -1
  54. package/dist/chunks/{location-activity-ka05w473.js → tool-66ae9dn1.js} +9 -9
  55. package/dist/chunks/{location-activity-hb3510gt.js → tool-67kma7bn.js} +7 -7
  56. package/dist/chunks/{location-activity-mf9m2v67.js → tool-6bsje7ws.js} +3 -3
  57. package/dist/chunks/{location-activity-0996nyz8.js → tool-6hjx5zpb.js} +5 -5
  58. package/dist/chunks/{location-activity-hfja1tsc.js → tool-6jz68697.js} +20 -20
  59. package/dist/chunks/{location-activity-6msgmcgs.js → tool-6msgmcgs.js} +1 -1
  60. package/dist/chunks/{location-activity-6s622yr1.js → tool-6s622yr1.js} +4 -4
  61. package/dist/chunks/{location-activity-k1qrnqst.js → tool-6ysrkrkr.js} +8 -8
  62. package/dist/chunks/{location-activity-73tb2d7t.js → tool-73tb2d7t.js} +1 -1
  63. package/dist/chunks/{location-activity-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
  64. package/dist/chunks/{location-activity-4z3jq6v9.js → tool-7ef2cf21.js} +32 -32
  65. package/dist/chunks/{location-activity-52z785nj.js → tool-7fzckgvn.js} +13 -13
  66. package/dist/chunks/{location-activity-nxrarche.js → tool-7kn0n9pm.js} +5 -5
  67. package/dist/chunks/{location-activity-9gc7vjkx.js → tool-7q5pky5y.js} +4 -4
  68. package/dist/chunks/{location-activity-dwvzh0g2.js → tool-7s6gk46a.js} +8 -8
  69. package/dist/chunks/{location-activity-1kq3kam5.js → tool-8096wrwr.js} +26 -26
  70. package/dist/chunks/{location-activity-84txncab.js → tool-84txncab.js} +1 -1
  71. package/dist/chunks/{location-activity-z1x1gfhs.js → tool-853r27ye.js} +10 -10
  72. package/dist/chunks/{location-activity-p1884n00.js → tool-8bqa7fc6.js} +8 -8
  73. package/dist/chunks/{location-activity-8d7r5vzw.js → tool-8d7r5vzw.js} +1 -1
  74. package/dist/chunks/tool-8dc69bj5.js +507 -0
  75. package/dist/chunks/{location-activity-9hdv76r7.js → tool-8grz10yw.js} +15 -15
  76. package/dist/chunks/{location-activity-y2ytve36.js → tool-8qmd1pgy.js} +26 -26
  77. package/dist/chunks/{location-activity-6pc27hjz.js → tool-8sze2n9a.js} +2 -2
  78. package/dist/chunks/{location-activity-tp8se8yv.js → tool-92dd2pjn.js} +11 -11
  79. package/dist/chunks/{location-activity-4c1fyqzy.js → tool-95n4m8dv.js} +40 -40
  80. package/dist/chunks/{location-activity-cmwkp3r5.js → tool-9hn6k4tm.js} +8 -8
  81. package/dist/chunks/{location-activity-hdzjhqr6.js → tool-9wey92tn.js} +11 -11
  82. package/dist/chunks/{location-activity-xf0nr9dv.js → tool-9x77fmbz.js} +4 -4
  83. package/dist/chunks/{location-activity-dq7g0m2g.js → tool-a12ny575.js} +33 -33
  84. package/dist/chunks/{location-activity-mjymc32g.js → tool-a8bn8zg0.js} +4 -4
  85. package/dist/chunks/{location-activity-aaet6srn.js → tool-aaet6srn.js} +2 -2
  86. package/dist/chunks/{location-activity-rdbs0tt8.js → tool-ab800qgh.js} +26 -26
  87. package/dist/chunks/{location-activity-22sd1qqc.js → tool-at1kfnmk.js} +8 -8
  88. package/dist/chunks/{location-activity-rbr1ba9y.js → tool-awfma6nb.js} +6 -6
  89. package/dist/chunks/{location-activity-sxhaxdsn.js → tool-azhaj76f.js} +8 -8
  90. package/dist/chunks/{location-activity-n1ka8r9d.js → tool-b0vhkd8y.js} +4 -4
  91. package/dist/chunks/{location-activity-b6gygkdw.js → tool-b6gygkdw.js} +2 -2
  92. package/dist/chunks/{location-activity-nysy6sp5.js → tool-b8mzk2bb.js} +2 -2
  93. package/dist/chunks/{location-activity-3g74j2m4.js → tool-b9skyj6x.js} +41 -41
  94. package/dist/chunks/{location-activity-fv24634s.js → tool-bdnxdzhr.js} +20 -20
  95. package/dist/chunks/{location-activity-p0zhhjrw.js → tool-bf7nh1j5.js} +33 -33
  96. package/dist/chunks/{location-activity-xcjaeq7k.js → tool-bfz40jc4.js} +21 -21
  97. package/dist/chunks/{location-activity-wgrwsfrd.js → tool-bgyet4nh.js} +20 -20
  98. package/dist/chunks/{location-activity-tcgrsnf7.js → tool-bhnv13g4.js} +1 -1
  99. package/dist/chunks/{location-activity-z07pqspn.js → tool-bjtzbw4r.js} +3 -3
  100. package/dist/chunks/{location-activity-jnwhj7yt.js → tool-bt1rrqjq.js} +9 -9
  101. package/dist/chunks/{location-activity-yd8wbh55.js → tool-bz49ytrm.js} +33 -33
  102. package/dist/chunks/{location-activity-d0451ks6.js → tool-c0pp0gx6.js} +9 -9
  103. package/dist/chunks/{location-activity-911tzt7k.js → tool-c1741tf2.js} +3 -3
  104. package/dist/chunks/{location-activity-v9s04r34.js → tool-c2zqmqqh.js} +4 -4
  105. package/dist/chunks/{location-activity-krrw8gsp.js → tool-c8hdf53d.js} +23 -23
  106. package/dist/chunks/{location-activity-3v15n266.js → tool-cdd241tg.js} +25 -25
  107. package/dist/chunks/{location-activity-k4dd9b3k.js → tool-cf1mja65.js} +15 -15
  108. package/dist/chunks/{location-activity-gsqtgdec.js → tool-crmtq7c0.js} +15 -15
  109. package/dist/chunks/{location-activity-amzhydp5.js → tool-czkrkmgx.js} +11 -11
  110. package/dist/chunks/{location-activity-mfy27tej.js → tool-d5e4twxw.js} +10 -10
  111. package/dist/chunks/{location-activity-g8f1nww0.js → tool-d86bmrwq.js} +18 -18
  112. package/dist/chunks/{location-activity-2fgn2we9.js → tool-d9s573fh.js} +9 -9
  113. package/dist/chunks/{location-activity-f95d4cya.js → tool-dejqpjjg.js} +17 -17
  114. package/dist/chunks/{location-activity-e5gbwpdw.js → tool-dnn8jac4.js} +33 -33
  115. package/dist/chunks/{location-activity-ecfe7b91.js → tool-ecfe7b91.js} +2 -2
  116. package/dist/chunks/{location-activity-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
  117. package/dist/chunks/{location-activity-dh670703.js → tool-en84zv0j.js} +10 -10
  118. package/dist/chunks/{location-activity-kpewm0pp.js → tool-esdbr59h.js} +6 -6
  119. package/dist/chunks/{location-activity-etq0c3wd.js → tool-etq0c3wd.js} +1 -1
  120. package/dist/chunks/{location-activity-07wfsmpr.js → tool-evbd4bna.js} +4 -4
  121. package/dist/chunks/{location-activity-kwjgkwej.js → tool-f07bsgse.js} +18 -18
  122. package/dist/chunks/{location-activity-syf57q56.js → tool-f29mbr7f.js} +4 -4
  123. package/dist/chunks/{location-activity-nscznvay.js → tool-f7j90zp2.js} +9 -9
  124. package/dist/chunks/{location-activity-p0gwq84d.js → tool-f8rqg7d1.js} +3 -3
  125. package/dist/chunks/{location-activity-cjmgsq5e.js → tool-fcv60zmd.js} +14 -14
  126. package/dist/chunks/{location-activity-9kmbd9mt.js → tool-ff0svapt.js} +2 -2
  127. package/dist/chunks/{location-activity-y65d65xc.js → tool-fy2gbg5p.js} +25 -25
  128. package/dist/chunks/{location-activity-0f9akkc9.js → tool-fz3j06zq.js} +10 -10
  129. package/dist/chunks/{location-activity-2pa0jjc4.js → tool-g18xrwnx.js} +12 -12
  130. package/dist/chunks/{location-activity-pvs6fqv6.js → tool-g4cac8ef.js} +18 -18
  131. package/dist/chunks/{location-activity-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
  132. package/dist/chunks/{location-activity-a4sqpv8w.js → tool-gf60dj4k.js} +37 -37
  133. package/dist/chunks/{location-activity-94ek1h2f.js → tool-gfvb90ym.js} +2 -2
  134. package/dist/chunks/{location-activity-et4fhn49.js → tool-gvf9bzs6.js} +19 -19
  135. package/dist/chunks/{location-activity-k545rb98.js → tool-gxf934mz.js} +10 -10
  136. package/dist/chunks/{location-activity-4n830rq0.js → tool-gyb99kyw.js} +20 -20
  137. package/dist/chunks/{location-activity-ct4mjmkm.js → tool-gzgv62vm.js} +18 -18
  138. package/dist/chunks/{location-activity-h6r3nrb9.js → tool-h6r3nrb9.js} +1 -1
  139. package/dist/chunks/{location-activity-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
  140. package/dist/chunks/{location-activity-89f9fm0d.js → tool-h7yw06f0.js} +4 -4
  141. package/dist/chunks/{location-activity-qdbakdjh.js → tool-hbyhqfhs.js} +5 -5
  142. package/dist/chunks/{location-activity-xfsbkaye.js → tool-hegd5844.js} +88 -88
  143. package/dist/chunks/{location-activity-wv5fs872.js → tool-hk614gwz.js} +36 -36
  144. package/dist/chunks/{location-activity-qgrqny45.js → tool-hm0ghfbf.js} +15 -15
  145. package/dist/chunks/{location-activity-kcpj4n48.js → tool-hmwat8vc.js} +8 -8
  146. package/dist/chunks/{location-activity-t7tyx60j.js → tool-hq93snkq.js} +26 -26
  147. package/dist/chunks/{location-activity-j5jfxbva.js → tool-hrrvjwek.js} +22 -22
  148. package/dist/chunks/{location-activity-ht5y0zrb.js → tool-ht5y0zrb.js} +1 -1
  149. package/dist/chunks/{location-activity-2eabpvfh.js → tool-hvcfnpzs.js} +13 -13
  150. package/dist/chunks/{location-activity-q5t0te5a.js → tool-j15mfg1p.js} +6 -6
  151. package/dist/chunks/{location-activity-b865kx8x.js → tool-j2mr6y77.js} +11 -11
  152. package/dist/chunks/{location-activity-zrv7nm7e.js → tool-j45tg8np.js} +36 -36
  153. package/dist/chunks/{location-activity-j56e64zr.js → tool-j56e64zr.js} +1 -1
  154. package/dist/chunks/{location-activity-e8snqq2r.js → tool-j59psk5p.js} +8 -8
  155. package/dist/chunks/{location-activity-j7twtagn.js → tool-jdvtaw2e.js} +9 -9
  156. package/dist/chunks/{location-activity-tz2bjj40.js → tool-jeknfs5c.js} +2 -2
  157. package/dist/chunks/{location-activity-a1wt7dn2.js → tool-jr28mrxh.js} +24 -24
  158. package/dist/chunks/{location-activity-hevfjdd2.js → tool-jtcj11mm.js} +6 -6
  159. package/dist/chunks/{location-activity-e8d32q1s.js → tool-k2pkt5dm.js} +5 -5
  160. package/dist/chunks/{location-activity-gn3n43j7.js → tool-k514m870.js} +13 -13
  161. package/dist/chunks/{location-activity-hv8pj2g2.js → tool-k7j7s7sa.js} +4 -4
  162. package/dist/chunks/{location-activity-f73rjn58.js → tool-kne8f3cn.js} +4 -4
  163. package/dist/chunks/{location-activity-bwjpedc6.js → tool-kvny42nn.js} +24 -24
  164. package/dist/chunks/tool-kvsn2a38.js +252 -0
  165. package/dist/chunks/{location-activity-y5zh0atg.js → tool-m096yd83.js} +6 -6
  166. package/dist/chunks/{location-activity-m3fdjcah.js → tool-m3fdjcah.js} +1 -1
  167. package/dist/chunks/{location-activity-zk8c4w5t.js → tool-m64xvjj1.js} +5 -5
  168. package/dist/chunks/{location-activity-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
  169. package/dist/chunks/{location-activity-dexe5x4p.js → tool-mbevs47a.js} +6 -6
  170. package/dist/chunks/{location-activity-x2wb27pg.js → tool-mbsehe5v.js} +15 -15
  171. package/dist/chunks/{location-activity-r688vq8x.js → tool-mbwany8q.js} +8 -8
  172. package/dist/chunks/{location-activity-aeszd35j.js → tool-mc0emygj.js} +13 -13
  173. package/dist/chunks/{location-activity-bgsmen1g.js → tool-mdyteabe.js} +3 -3
  174. package/dist/chunks/{location-activity-5wgca1hz.js → tool-mpyxb9wp.js} +10 -10
  175. package/dist/chunks/{location-activity-2px4r9gg.js → tool-mx9vqzsb.js} +6 -6
  176. package/dist/chunks/{location-activity-p305v1nf.js → tool-mxw2n1pp.js} +20 -20
  177. package/dist/chunks/{location-activity-tgc9kse0.js → tool-mybpd4me.js} +7 -7
  178. package/dist/chunks/{location-activity-j3tac8rj.js → tool-n26b57vp.js} +12 -12
  179. package/dist/chunks/{location-activity-0c4a10mq.js → tool-n8j3kf0h.js} +9 -9
  180. package/dist/chunks/{location-activity-wxfw16zk.js → tool-na49kjq7.js} +15 -15
  181. package/dist/chunks/{location-activity-xz8qpa4w.js → tool-nap39a15.js} +8 -8
  182. package/dist/chunks/{location-activity-zhk4zx0p.js → tool-nb8f0xyk.js} +35 -35
  183. package/dist/chunks/tool-nd24615b.js +26 -0
  184. package/dist/chunks/{location-activity-mgnybjyp.js → tool-ne3p3r7w.js} +39 -39
  185. package/dist/chunks/{location-activity-dqky8k4e.js → tool-nrfagrkx.js} +3 -3
  186. package/dist/chunks/{location-activity-cq3yby3s.js → tool-nz49d44e.js} +5 -5
  187. package/dist/chunks/{location-activity-hd8jt5qg.js → tool-nz4rjcy7.js} +1 -1
  188. package/dist/chunks/{location-activity-nzks3jc8.js → tool-nzks3jc8.js} +3 -3
  189. package/dist/chunks/{location-activity-m8xjcd8p.js → tool-pbbypdpt.js} +3 -3
  190. package/dist/chunks/{location-activity-xxxym934.js → tool-ph842b28.js} +4 -4
  191. package/dist/chunks/{location-activity-8dm8w275.js → tool-pj0sbgvb.js} +16 -16
  192. package/dist/chunks/{location-activity-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
  193. package/dist/chunks/{location-activity-pknna89w.js → tool-pknna89w.js} +1 -1
  194. package/dist/chunks/{location-activity-wd3x2cqz.js → tool-psazpmmj.js} +2 -2
  195. package/dist/chunks/{location-activity-m82hpr9q.js → tool-q7pmkv96.js} +42 -42
  196. package/dist/chunks/{location-activity-1r0mgmnx.js → tool-q87t05d4.js} +28 -28
  197. package/dist/chunks/{location-activity-trpnn8yx.js → tool-qan9v5dp.js} +8 -8
  198. package/dist/chunks/{location-activity-qgn6gcr1.js → tool-qgn6gcr1.js} +1 -1
  199. package/dist/chunks/{location-activity-nbcz365w.js → tool-qk7cxx71.js} +1 -1
  200. package/dist/chunks/{location-activity-fdv30zvt.js → tool-qm0v3jhh.js} +4 -4
  201. package/dist/chunks/{location-activity-5n3w7w9q.js → tool-qrvqqxe1.js} +6 -6
  202. package/dist/chunks/{location-activity-qsdy395h.js → tool-qsdy395h.js} +1 -1
  203. package/dist/chunks/{location-activity-dqsw1vz6.js → tool-qt4m2w6j.js} +16 -16
  204. package/dist/chunks/{location-activity-hhc8k5d5.js → tool-r3tsythc.js} +11 -11
  205. package/dist/chunks/{location-activity-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
  206. package/dist/chunks/{location-activity-427t97hr.js → tool-rk1r2hx8.js} +1 -1
  207. package/dist/chunks/{location-activity-gcb0pgp4.js → tool-rkg3eda0.js} +6 -6
  208. package/dist/chunks/{location-activity-ga6fan7w.js → tool-rpayzx76.js} +9 -9
  209. package/dist/chunks/{location-activity-zeh9ct20.js → tool-rq775frq.js} +2 -2
  210. package/dist/chunks/{location-activity-07770t2t.js → tool-rrkxh1xc.js} +8 -8
  211. package/dist/chunks/{location-activity-cdmv03c1.js → tool-rvnp213s.js} +13 -13
  212. package/dist/chunks/{location-activity-tdhe5xga.js → tool-s0k7kba5.js} +8 -8
  213. package/dist/chunks/{location-activity-5s5cjcj1.js → tool-s61zg2sx.js} +24 -24
  214. package/dist/chunks/{location-activity-fp4vakyq.js → tool-s6667w8r.js} +26 -26
  215. package/dist/chunks/{location-activity-t550f9t1.js → tool-s8d7rejh.js} +4 -4
  216. package/dist/chunks/{location-activity-sy8g0x3h.js → tool-s8r7tdep.js} +20 -20
  217. package/dist/chunks/{location-activity-ahd542yp.js → tool-sm965ndy.js} +8 -8
  218. package/dist/chunks/{location-activity-fvyecsnj.js → tool-snak5hvk.js} +3 -3
  219. package/dist/chunks/{location-activity-kjhjjdm4.js → tool-sp6nzby6.js} +17 -17
  220. package/dist/chunks/{location-activity-nraks1dr.js → tool-ss7b6637.js} +14 -14
  221. package/dist/chunks/{location-activity-y79j09dr.js → tool-st6ezctj.js} +21 -21
  222. package/dist/chunks/{location-activity-q2b1ymqp.js → tool-sx1n432n.js} +4 -4
  223. package/dist/chunks/{location-activity-nrewq54w.js → tool-sx3y5fj3.js} +24 -24
  224. package/dist/chunks/{location-activity-xs2kjjdj.js → tool-sx8pbsn3.js} +1 -1
  225. package/dist/chunks/{location-activity-cgfzvakx.js → tool-t0v30r21.js} +33 -33
  226. package/dist/chunks/{location-activity-x0b0awdg.js → tool-t6f3tx9e.js} +16 -16
  227. package/dist/chunks/{location-activity-e5642x4e.js → tool-t8fp8shj.js} +8 -8
  228. package/dist/chunks/{location-activity-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{location-activity-tcezcvh9.js → tool-tcezcvh9.js} +1 -1
  230. package/dist/chunks/{location-activity-tdstcens.js → tool-tdstcens.js} +1 -1
  231. package/dist/chunks/{location-activity-26k5cyqx.js → tool-tf5z8ds5.js} +85 -85
  232. package/dist/chunks/{location-activity-v4qfxnag.js → tool-tgcnk5sw.js} +12 -12
  233. package/dist/chunks/{location-activity-y3bb7t5e.js → tool-tped05vh.js} +8 -8
  234. package/dist/chunks/{location-activity-7gh5yy3z.js → tool-tscedkbb.js} +17 -17
  235. package/dist/chunks/{location-activity-tvtrv512.js → tool-tvtrv512.js} +1 -1
  236. package/dist/chunks/{location-activity-t6w37xe3.js → tool-tw1518mg.js} +21 -21
  237. package/dist/chunks/{location-activity-g1q0qwac.js → tool-tw8msnma.js} +31 -31
  238. package/dist/chunks/{location-activity-wbkyxrgf.js → tool-v5hpcsb0.js} +5 -5
  239. package/dist/chunks/{location-activity-vpvxm0qy.js → tool-v6wpha0s.js} +8 -8
  240. package/dist/chunks/{location-activity-a3c7ahw6.js → tool-v7z2bvyd.js} +4 -4
  241. package/dist/chunks/{location-activity-wsy9hj9j.js → tool-v9azycg2.js} +154 -154
  242. package/dist/chunks/{location-activity-veqvce7d.js → tool-veqvce7d.js} +1 -1
  243. package/dist/chunks/{location-activity-55c57zs4.js → tool-vgc515rw.js} +6 -6
  244. package/dist/chunks/{location-activity-r9t00hsy.js → tool-vkt5fbj2.js} +8 -8
  245. package/dist/chunks/{location-activity-vzcthcp8.js → tool-vzcthcp8.js} +1 -1
  246. package/dist/chunks/{location-activity-vzs5sf6e.js → tool-vzs5sf6e.js} +1 -1
  247. package/dist/chunks/{location-activity-543samen.js → tool-w0nekgnm.js} +16 -16
  248. package/dist/chunks/{location-activity-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{location-activity-rpveba7r.js → tool-w9eep941.js} +12 -12
  250. package/dist/chunks/{location-activity-wd87259q.js → tool-wd87259q.js} +1 -1
  251. package/dist/chunks/{location-activity-r12j57sn.js → tool-wegenthg.js} +5 -5
  252. package/dist/chunks/{location-activity-ys6jnmbc.js → tool-wnys78fq.js} +8 -8
  253. package/dist/chunks/{location-activity-zdbhsfnw.js → tool-wr45tetb.js} +13 -13
  254. package/dist/chunks/{location-activity-xjeq8bvs.js → tool-x0a0yekz.js} +28 -28
  255. package/dist/chunks/{location-activity-wex19r3q.js → tool-x0jb1jdp.js} +54 -54
  256. package/dist/chunks/{location-activity-x1ezjp6w.js → tool-x1ezjp6w.js} +1 -1
  257. package/dist/chunks/{location-activity-v9xtk2pv.js → tool-x9k16b3s.js} +28 -28
  258. package/dist/chunks/{location-activity-cbnr75ht.js → tool-xb3vdrw4.js} +9 -9
  259. package/dist/chunks/{location-activity-drwq78ky.js → tool-xfkkasph.js} +4 -4
  260. package/dist/chunks/{location-activity-29m2xxjn.js → tool-xh1mjdjn.js} +7 -7
  261. package/dist/chunks/{location-activity-xkntkrq7.js → tool-xkntkrq7.js} +2 -2
  262. package/dist/chunks/{location-activity-xa9wygja.js → tool-xsdq6bqp.js} +8 -8
  263. package/dist/chunks/{location-activity-xvp1j2dc.js → tool-xvp1j2dc.js} +2 -2
  264. package/dist/chunks/{location-activity-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
  265. package/dist/chunks/{location-activity-0cpfg001.js → tool-y42b8cv2.js} +41 -41
  266. package/dist/chunks/{location-activity-y71avatq.js → tool-y71avatq.js} +1 -1
  267. package/dist/chunks/{location-activity-d35a5v29.js → tool-ya67rv83.js} +9 -9
  268. package/dist/chunks/{location-activity-93r80qa9.js → tool-yde4rd9n.js} +27 -27
  269. package/dist/chunks/{location-activity-d56mnafw.js → tool-yhrvzzm5.js} +9 -9
  270. package/dist/chunks/{location-activity-e6gsh30d.js → tool-ymc24fzh.js} +4 -4
  271. package/dist/chunks/{location-activity-rh4j9zs2.js → tool-ymxbe15q.js} +9 -9
  272. package/dist/chunks/{location-activity-1acjjqhc.js → tool-yp2x3t23.js} +4 -4
  273. package/dist/chunks/{location-activity-yrhqyw5v.js → tool-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{location-activity-yrznvahk.js → tool-yrznvahk.js} +2 -2
  275. package/dist/chunks/{location-activity-7mbd7k1y.js → tool-yw2sxgfv.js} +4 -4
  276. package/dist/chunks/{location-activity-gv6a8nnw.js → tool-yyb7tjpc.js} +2 -2
  277. package/dist/chunks/{location-activity-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{location-activity-hkfg6fzm.js → tool-z2zvggat.js} +5 -5
  279. package/dist/chunks/{location-activity-tjzmcvwf.js → tool-z35gvgt2.js} +18 -18
  280. package/dist/chunks/{location-activity-z63w68vq.js → tool-z63w68vq.js} +2 -2
  281. package/dist/chunks/{location-activity-3z59ka3t.js → tool-z6x8kbkg.js} +11 -11
  282. package/dist/chunks/{location-activity-yad8aem9.js → tool-z6zc42bw.js} +50 -50
  283. package/dist/chunks/{location-activity-z3nay82g.js → tool-zab19jja.js} +9 -9
  284. package/dist/chunks/{location-activity-0gjmdtxg.js → tool-zfn0z4x2.js} +13 -13
  285. package/dist/chunks/{location-activity-6pzy1a9a.js → tool-zh4jp52e.js} +16 -16
  286. package/dist/chunks/{location-activity-yarc8zna.js → tool-zppcctbg.js} +18 -18
  287. package/dist/chunks/{location-activity-4v89dqmj.js → tool-zq0me3ea.js} +9 -9
  288. package/dist/chunks/{location-activity-84t1kn2d.js → tool-zqvbpqdr.js} +9 -9
  289. package/dist/chunks/{location-activity-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{location-activity-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +5 -5
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +81 -81
  296. package/dist/config/discovery.js +82 -82
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +106 -106
  299. package/dist/config/plugin/agent.js +123 -123
  300. package/dist/config/plugin/command.js +212 -212
  301. package/dist/config/plugin/compaction.js +160 -160
  302. package/dist/config/plugin/compatibility.js +139 -139
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +124 -124
  305. package/dist/config/plugin/image.js +123 -123
  306. package/dist/config/plugin/instruction.js +90 -90
  307. package/dist/config/plugin/location-watcher.js +123 -123
  308. package/dist/config/plugin/mcp.js +130 -130
  309. package/dist/config/plugin/policy.js +124 -124
  310. package/dist/config/plugin/provider.js +121 -121
  311. package/dist/config/plugin/reference.js +125 -125
  312. package/dist/config/plugin/shell.js +123 -123
  313. package/dist/config/plugin/skill-file.js +102 -102
  314. package/dist/config/plugin/skill.js +142 -142
  315. package/dist/config/plugin/snapshot.js +123 -123
  316. package/dist/config/plugin/source.js +126 -126
  317. package/dist/config/plugin/tool-output.js +125 -125
  318. package/dist/config/plugin/websearch.js +122 -122
  319. package/dist/config/plugin/worktree.js +125 -125
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +120 -120
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +83 -83
  325. package/dist/database/database.js +66 -66
  326. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +13 -13
  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 +14 -14
  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/20260923013825_project_time_active.js +1 -1
  390. package/dist/database/migration.gen.js +49 -49
  391. package/dist/database/migration.js +51 -51
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +76 -76
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +370 -370
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +1 -1
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +93 -93
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +95 -95
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +1 -1
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +70 -70
  415. package/dist/file-access.js +104 -104
  416. package/dist/file-mutation.js +94 -94
  417. package/dist/file-retention.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 +221 -221
  425. package/dist/filesystem/protected.js +1 -1
  426. package/dist/filesystem/search.js +97 -97
  427. package/dist/filesystem/watcher-binding.js +1 -1
  428. package/dist/filesystem/watcher.js +7 -7
  429. package/dist/filesystem.js +102 -102
  430. package/dist/form.js +84 -84
  431. package/dist/formatter/builtins.js +2 -2
  432. package/dist/formatter.js +89 -89
  433. package/dist/generate.js +103 -103
  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 +91 -91
  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 +361 -361
  459. package/dist/instruction-discovery.js +81 -81
  460. package/dist/instructions/builtins.js +87 -87
  461. package/dist/instructions/index.js +3 -3
  462. package/dist/integration/connection.js +1 -1
  463. package/dist/integration.js +80 -80
  464. package/dist/job.js +79 -79
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +73 -73
  467. package/dist/location-activity.js +132 -132
  468. package/dist/location-lifecycle.js +107 -107
  469. package/dist/location-service-map.js +86 -86
  470. package/dist/location-services.js +358 -358
  471. package/dist/location.js +87 -87
  472. package/dist/managed-policy.js +5 -5
  473. package/dist/mcp/client.js +91 -91
  474. package/dist/mcp/index.js +102 -102
  475. package/dist/mcp/instructions.js +126 -126
  476. package/dist/mcp/oauth.js +78 -78
  477. package/dist/mcp/stdio.js +90 -90
  478. package/dist/mime.js +1 -1
  479. package/dist/modal/models.js +91 -91
  480. package/dist/model-resolver.js +96 -96
  481. package/dist/model.js +100 -100
  482. package/dist/models-dev.js +103 -103
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +80 -80
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +109 -109
  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 +82 -82
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +75 -75
  492. package/dist/plugin/agent.js +102 -102
  493. package/dist/plugin/command.js +99 -99
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +218 -218
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +5 -5
  498. package/dist/plugin/internal.js +333 -333
  499. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  500. package/dist/plugin/models-dev.js +96 -96
  501. package/dist/plugin/module.js +7 -7
  502. package/dist/plugin/optimize.js +2 -2
  503. package/dist/plugin/plan.js +102 -102
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  506. package/dist/plugin/provider/azure.js +122 -122
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +119 -119
  512. package/dist/plugin/provider/digitalocean.js +93 -93
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/gateway.js +2 -2
  516. package/dist/plugin/provider/github-copilot.js +94 -94
  517. package/dist/plugin/provider/gitlab.js +93 -93
  518. package/dist/plugin/provider/google-vertex.js +90 -90
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +77 -77
  521. package/dist/plugin/provider/lmstudio.js +122 -122
  522. package/dist/plugin/provider/modal.js +92 -92
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +122 -122
  525. package/dist/plugin/provider/openai.js +92 -92
  526. package/dist/plugin/provider/opencode.js +95 -95
  527. package/dist/plugin/provider/openrouter.js +91 -91
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +78 -78
  530. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  531. package/dist/plugin/provider/sap-ai-core.js +91 -91
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  534. package/dist/plugin/provider/venice.js +2 -2
  535. package/dist/plugin/provider/vercel.js +90 -90
  536. package/dist/plugin/provider/vllm.js +122 -122
  537. package/dist/plugin/provider/xai.js +91 -91
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +161 -161
  540. package/dist/plugin/sdk.js +76 -76
  541. package/dist/plugin/service.js +1 -1
  542. package/dist/plugin/skill.js +139 -139
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +352 -352
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +4 -4
  547. package/dist/plugin/vcs/git.js +86 -86
  548. package/dist/plugin/vcs/hg.js +86 -86
  549. package/dist/plugin/verbosity.js +93 -93
  550. package/dist/plugin/warming.js +121 -121
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +2 -2
  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 +221 -221
  559. package/dist/project/schema.js +8 -8
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +90 -90
  562. package/dist/provider.js +93 -93
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +93 -93
  566. package/dist/reference/instructions.js +87 -87
  567. package/dist/reference.js +91 -91
  568. package/dist/repository-cache.js +81 -81
  569. package/dist/repository.js +1 -1
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +95 -95
  572. package/dist/rpc.js +86 -86
  573. package/dist/schema.js +1 -1
  574. package/dist/session/command.js +74 -74
  575. package/dist/session/compaction.js +134 -134
  576. package/dist/session/context.js +152 -152
  577. package/dist/session/diff.js +88 -88
  578. package/dist/session/environment.js +5 -5
  579. package/dist/session/error.js +5 -5
  580. package/dist/session/event.js +1 -1
  581. package/dist/session/execution/restart.js +221 -221
  582. package/dist/session/execution.js +128 -128
  583. package/dist/session/generate.js +153 -153
  584. package/dist/session/history.js +13 -13
  585. package/dist/session/inbox.js +88 -88
  586. package/dist/session/info.js +3 -3
  587. package/dist/session/instruction-entry.js +79 -79
  588. package/dist/session/instruction-state.js +8 -8
  589. package/dist/session/instructions.js +93 -93
  590. package/dist/session/message-updater.js +2 -2
  591. package/dist/session/message.js +1 -1
  592. package/dist/session/model-request.js +119 -119
  593. package/dist/session/model-transport.js +9 -9
  594. package/dist/session/move.js +130 -130
  595. package/dist/session/projector.js +86 -86
  596. package/dist/session/prompt.js +105 -105
  597. package/dist/session/provider-context.js +3 -3
  598. package/dist/session/revert.js +90 -90
  599. package/dist/session/run-coordinator.js +3 -3
  600. package/dist/session/runner/index.js +3 -3
  601. package/dist/session/runner/llm.js +231 -231
  602. package/dist/session/runner/max-steps.js +1 -1
  603. package/dist/session/runner/model.js +98 -98
  604. package/dist/session/runner/publish-llm-event.js +3 -3
  605. package/dist/session/runner/retry.js +2 -2
  606. package/dist/session/runner/step.js +126 -126
  607. package/dist/session/runner/to-llm-message.js +2 -2
  608. package/dist/session/schema.js +5 -5
  609. package/dist/session/session.js +172 -172
  610. package/dist/session/shell.js +138 -138
  611. package/dist/session/skill.js +103 -103
  612. package/dist/session/sql.js +5 -5
  613. package/dist/session/stats.js +73 -73
  614. package/dist/session/store.js +85 -85
  615. package/dist/session/subagent-completion.js +1 -1
  616. package/dist/session/subagent-job.js +208 -208
  617. package/dist/session/system-prompt.js +3 -3
  618. package/dist/session/title.js +156 -156
  619. package/dist/session/to-session-error.js +111 -111
  620. package/dist/session/transfer.js +217 -217
  621. package/dist/session/usage.js +1 -1
  622. package/dist/session.js +218 -218
  623. package/dist/shell/parse.js +6 -6
  624. package/dist/shell/result.js +1 -1
  625. package/dist/shell/scan.js +1 -1
  626. package/dist/shell/select.js +7 -7
  627. package/dist/shell.js +138 -138
  628. package/dist/skill/discovery.js +6 -6
  629. package/dist/skill/instructions.js +105 -105
  630. package/dist/skill.js +112 -112
  631. package/dist/snapshot.js +93 -93
  632. package/dist/state.js +1 -1
  633. package/dist/tool/html-markdown.js +1 -1
  634. package/dist/tool/http-body.js +1 -1
  635. package/dist/tool/mcp.js +125 -125
  636. package/dist/tool/plugin/edit.js +120 -120
  637. package/dist/tool/plugin/file-diff.js +1 -1
  638. package/dist/tool/plugin/glob.js +124 -124
  639. package/dist/tool/plugin/grep.js +124 -124
  640. package/dist/tool/plugin/mcp-resource.js +114 -114
  641. package/dist/tool/plugin/opencode.js +3 -3
  642. package/dist/tool/plugin/patch.js +122 -122
  643. package/dist/tool/plugin/question.js +101 -101
  644. package/dist/tool/plugin/read.js +117 -117
  645. package/dist/tool/plugin/shell.js +215 -215
  646. package/dist/tool/plugin/skill.js +111 -111
  647. package/dist/tool/plugin/subagent.js +219 -219
  648. package/dist/tool/plugin/webfetch.js +110 -110
  649. package/dist/tool/plugin/websearch.js +112 -112
  650. package/dist/tool/plugin/write.js +114 -114
  651. package/dist/tool/read-filesystem.js +96 -96
  652. package/dist/tool/runtime.js +1 -1
  653. package/dist/tool-output.js +4 -4
  654. package/dist/tool.js +12 -12
  655. package/dist/util/error-summary.js +1 -1
  656. package/dist/util/error.js +1 -1
  657. package/dist/util/git-executable.js +2 -2
  658. package/dist/util/iife.js +1 -1
  659. package/dist/util/lazy.js +1 -1
  660. package/dist/util/slug.js +1 -1
  661. package/dist/util/token.js +1 -1
  662. package/dist/util/which.js +1 -1
  663. package/dist/util/wildcard.js +1 -1
  664. package/dist/v1/config/agent.js +5 -5
  665. package/dist/v1/config/attachment.js +2 -2
  666. package/dist/v1/config/command.js +3 -3
  667. package/dist/v1/config/config.js +14 -14
  668. package/dist/v1/config/error.js +2 -2
  669. package/dist/v1/config/formatter.js +5 -5
  670. package/dist/v1/config/layout.js +1 -1
  671. package/dist/v1/config/lsp.js +5 -5
  672. package/dist/v1/config/mcp.js +4 -4
  673. package/dist/v1/config/migrate.js +92 -92
  674. package/dist/v1/config/permission.js +3 -3
  675. package/dist/v1/config/plugin.js +1 -1
  676. package/dist/v1/config/provider-options.js +1 -1
  677. package/dist/v1/config/provider.js +4 -4
  678. package/dist/v1/config/server.js +2 -2
  679. package/dist/v1/config/skills.js +3 -3
  680. package/dist/v1/permission.js +1 -1
  681. package/dist/variant.js +91 -91
  682. package/dist/vcs/patch.js +1 -1
  683. package/dist/vcs.js +89 -89
  684. package/dist/websearch.js +82 -82
  685. package/dist/wellknown/plugin.js +76 -76
  686. package/dist/wellknown.js +77 -77
  687. package/dist/workspace/driver.js +7 -7
  688. package/dist/workspace/sql.js +1 -1
  689. package/dist/workspace.js +80 -80
  690. package/dist/worktree/directory.js +2 -2
  691. package/dist/worktree/git.js +10 -10
  692. package/dist/worktree/sql.js +5 -5
  693. package/dist/worktree/strategies.js +89 -89
  694. package/dist/worktree.js +96 -96
  695. package/package.json +8 -8
  696. package/dist/chunks/location-activity-3gtr08hr.js +0 -252
  697. package/dist/chunks/location-activity-ayng3qtk.js +0 -26
  698. package/dist/chunks/location-activity-pazdmjb1.js +0 -507
  699. /package/dist/chunks/{location-activity-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
  700. /package/dist/chunks/{location-activity-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
  701. /package/dist/chunks/{location-activity-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
  702. /package/dist/chunks/{location-activity-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
  703. /package/dist/chunks/{location-activity-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
  704. /package/dist/chunks/{location-activity-24dcb14g.js → tool-24dcb14g.js} +0 -0
  705. /package/dist/chunks/{location-activity-2710q6r3.js → tool-2710q6r3.js} +0 -0
  706. /package/dist/chunks/{location-activity-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
  707. /package/dist/chunks/{location-activity-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
  708. /package/dist/chunks/{location-activity-34c7v6d4.js → tool-34c7v6d4.js} +0 -0
  709. /package/dist/chunks/{location-activity-359p4xyc.js → tool-359p4xyc.js} +0 -0
  710. /package/dist/chunks/{location-activity-3asan66x.js → tool-3asan66x.js} +0 -0
  711. /package/dist/chunks/{location-activity-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
  712. /package/dist/chunks/{location-activity-3w5fmr99.js → tool-3w5fmr99.js} +0 -0
  713. /package/dist/chunks/{location-activity-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
  714. /package/dist/chunks/{location-activity-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
  715. /package/dist/chunks/{location-activity-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
  716. /package/dist/chunks/{location-activity-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
  717. /package/dist/chunks/{location-activity-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
  718. /package/dist/chunks/{location-activity-53557ph1.js → tool-53557ph1.js} +0 -0
  719. /package/dist/chunks/{location-activity-550bvhaj.js → tool-550bvhaj.js} +0 -0
  720. /package/dist/chunks/{location-activity-5qd3pb7m.js → tool-5qd3pb7m.js} +0 -0
  721. /package/dist/chunks/{location-activity-6prwharc.js → tool-6prwharc.js} +0 -0
  722. /package/dist/chunks/{location-activity-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
  723. /package/dist/chunks/{location-activity-7m9af43g.js → tool-7m9af43g.js} +0 -0
  724. /package/dist/chunks/{location-activity-822emrt2.js → tool-822emrt2.js} +0 -0
  725. /package/dist/chunks/{location-activity-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
  726. /package/dist/chunks/{location-activity-8n3pysct.js → tool-8n3pysct.js} +0 -0
  727. /package/dist/chunks/{location-activity-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
  728. /package/dist/chunks/{location-activity-922hggd3.js → tool-922hggd3.js} +0 -0
  729. /package/dist/chunks/{location-activity-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
  730. /package/dist/chunks/{location-activity-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
  731. /package/dist/chunks/{location-activity-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
  732. /package/dist/chunks/{location-activity-af5trqkr.js → tool-af5trqkr.js} +0 -0
  733. /package/dist/chunks/{location-activity-afrmfg78.js → tool-afrmfg78.js} +0 -0
  734. /package/dist/chunks/{location-activity-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
  735. /package/dist/chunks/{location-activity-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
  736. /package/dist/chunks/{location-activity-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
  737. /package/dist/chunks/{location-activity-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
  738. /package/dist/chunks/{location-activity-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
  739. /package/dist/chunks/{location-activity-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
  740. /package/dist/chunks/{location-activity-d9fn303g.js → tool-d9fn303g.js} +0 -0
  741. /package/dist/chunks/{location-activity-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
  742. /package/dist/chunks/{location-activity-dajrwvna.js → tool-dajrwvna.js} +0 -0
  743. /package/dist/chunks/{location-activity-dap0rakb.js → tool-dap0rakb.js} +0 -0
  744. /package/dist/chunks/{location-activity-df08tz66.js → tool-df08tz66.js} +0 -0
  745. /package/dist/chunks/{location-activity-dy18nga0.js → tool-dy18nga0.js} +0 -0
  746. /package/dist/chunks/{location-activity-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
  747. /package/dist/chunks/{location-activity-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
  748. /package/dist/chunks/{location-activity-ec1grn59.js → tool-ec1grn59.js} +0 -0
  749. /package/dist/chunks/{location-activity-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
  750. /package/dist/chunks/{location-activity-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
  751. /package/dist/chunks/{location-activity-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
  752. /package/dist/chunks/{location-activity-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
  753. /package/dist/chunks/{location-activity-faypxj3z.js → tool-faypxj3z.js} +0 -0
  754. /package/dist/chunks/{location-activity-fd410y7t.js → tool-fd410y7t.js} +0 -0
  755. /package/dist/chunks/{location-activity-fxgpk5d8.js → tool-fxgpk5d8.js} +0 -0
  756. /package/dist/chunks/{location-activity-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
  757. /package/dist/chunks/{location-activity-g86h250q.js → tool-g86h250q.js} +0 -0
  758. /package/dist/chunks/{location-activity-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
  759. /package/dist/chunks/{location-activity-gftt206x.js → tool-gftt206x.js} +0 -0
  760. /package/dist/chunks/{location-activity-hjbc5kem.js → tool-hjbc5kem.js} +0 -0
  761. /package/dist/chunks/{location-activity-hk9envan.js → tool-hk9envan.js} +0 -0
  762. /package/dist/chunks/{location-activity-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
  763. /package/dist/chunks/{location-activity-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
  764. /package/dist/chunks/{location-activity-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
  765. /package/dist/chunks/{location-activity-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
  766. /package/dist/chunks/{location-activity-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
  767. /package/dist/chunks/{location-activity-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
  768. /package/dist/chunks/{location-activity-mp448xyj.js → tool-mp448xyj.js} +0 -0
  769. /package/dist/chunks/{location-activity-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
  770. /package/dist/chunks/{location-activity-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
  771. /package/dist/chunks/{location-activity-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
  772. /package/dist/chunks/{location-activity-njntx4h6.js → tool-njntx4h6.js} +0 -0
  773. /package/dist/chunks/{location-activity-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{location-activity-q74kybfr.js → tool-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{location-activity-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{location-activity-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{location-activity-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{location-activity-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{location-activity-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{location-activity-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{location-activity-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{location-activity-sk3qaz4a.js → tool-sk3qaz4a.js} +0 -0
  783. /package/dist/chunks/{location-activity-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
  784. /package/dist/chunks/{location-activity-w803qqfp.js → tool-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{location-activity-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{location-activity-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{location-activity-wtztk69x.js → tool-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{location-activity-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{location-activity-x61499pn.js → tool-x61499pn.js} +0 -0
  790. /package/dist/chunks/{location-activity-y44na4kk.js → tool-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{location-activity-y8cydn3q.js → tool-y8cydn3q.js} +0 -0
  792. /package/dist/chunks/{location-activity-y8f7s663.js → tool-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{location-activity-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{location-activity-ym463w8f.js → tool-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{location-activity-z9919s4g.js → tool-z9919s4g.js} +0 -0
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  ID14,
3
- Service75,
4
- node79
5
- } from "./location-activity-7gh5yy3z.js";
3
+ Service77,
4
+ node81
5
+ } from "./tool-tscedkbb.js";
6
6
  import {
7
7
  ID13,
8
8
  isAISDK2,
@@ -12,23 +12,23 @@ import {
12
12
  modelSettings2,
13
13
  mergeOverlay2,
14
14
  mergeHeaders2,
15
- Service74,
16
- node78
17
- } from "./location-activity-c2b0a5hv.js";
15
+ Service76,
16
+ node80
17
+ } from "./tool-2f56s268.js";
18
18
  import {
19
- Service64,
20
- node66
21
- } from "./location-activity-ka05w473.js";
19
+ Service49,
20
+ node51
21
+ } from "./tool-66ae9dn1.js";
22
22
  import {
23
- ID12,
23
+ ID5,
24
24
  VariantID2,
25
25
  Ref2,
26
- Service73,
27
- node77
28
- } from "./location-activity-fp4vakyq.js";
26
+ Service58,
27
+ node62
28
+ } from "./tool-s6667w8r.js";
29
29
  import {
30
30
  __export
31
- } from "./location-activity-9rqn6x4v.js";
31
+ } from "./tool-9rqn6x4v.js";
32
32
 
33
33
  // src/model-resolver.ts
34
34
  var exports_model_resolver = {};
@@ -37,7 +37,7 @@ __export(exports_model_resolver, {
37
37
  ModelConfigurationError: () => ModelConfigurationError2,
38
38
  ModelInitializationError: () => ModelInitializationError2,
39
39
  ModelResolver: () => exports_model_resolver,
40
- Service: () => Service63,
40
+ Service: () => Service48,
41
41
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
42
42
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
43
43
  UnsupportedPackageError: () => UnsupportedPackageError2,
@@ -45,7 +45,7 @@ __export(exports_model_resolver, {
45
45
  fromCatalogModel: () => fromCatalogModel2,
46
46
  hasPackage: () => hasPackage2,
47
47
  layer: () => layer21,
48
- node: () => node65,
48
+ node: () => node50,
49
49
  resolveModel: () => resolveModel2,
50
50
  withVariant: () => withVariant2
51
51
  });
@@ -56,7 +56,7 @@ import { Context, Effect, Layer, Schema, Struct } from "effect";
56
56
  import { Npm } from "@opencode/util/npm";
57
57
  class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
58
58
  providerID: ID13,
59
- modelID: ID12,
59
+ modelID: ID5,
60
60
  variant: VariantID2
61
61
  }) {
62
62
  get message() {
@@ -66,7 +66,7 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
66
66
 
67
67
  class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
68
68
  providerID: ID13,
69
- modelID: ID12,
69
+ modelID: ID5,
70
70
  package: Schema.String
71
71
  }) {
72
72
  get message() {
@@ -77,7 +77,7 @@ var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
77
77
 
78
78
  class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
79
79
  providerID: ID13,
80
- modelID: ID12,
80
+ modelID: ID5,
81
81
  package: Schema.String,
82
82
  detail: Schema.String
83
83
  }) {
@@ -88,7 +88,7 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
88
88
 
89
89
  class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
90
90
  providerID: ID13,
91
- modelID: ID12,
91
+ modelID: ID5,
92
92
  package: Schema.String,
93
93
  phase: InitializationPhase2,
94
94
  detail: Schema.String
@@ -100,7 +100,7 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
100
100
 
101
101
  class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
102
102
  providerID: ID13,
103
- modelID: ID12,
103
+ modelID: ID5,
104
104
  variables: Schema.Array(Schema.String)
105
105
  }) {
106
106
  get message() {
@@ -110,7 +110,7 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
110
110
 
111
111
  class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
112
112
  providerID: ID13,
113
- modelID: ID12,
113
+ modelID: ID5,
114
114
  route: Schema.String
115
115
  }) {
116
116
  get message() {
@@ -118,7 +118,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
118
118
  }
119
119
  }
120
120
 
121
- class Service63 extends Context.Service()("@opencode/ModelResolver") {
121
+ class Service48 extends Context.Service()("@opencode/ModelResolver") {
122
122
  }
123
123
  var withVariant2 = (model, variantID) => {
124
124
  const id = variantID === "default" ? undefined : variantID;
@@ -258,12 +258,12 @@ var causeMessage = (cause) => {
258
258
  };
259
259
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
260
260
  var hasPackage2 = (model) => Boolean(model.package);
261
- var layer21 = Layer.effect(Service63, Effect.gen(function* () {
262
- const providers = yield* Service74;
263
- const models = yield* Service73;
264
- const integrations = yield* Service75;
261
+ var layer21 = Layer.effect(Service48, Effect.gen(function* () {
262
+ const providers = yield* Service76;
263
+ const models = yield* Service58;
264
+ const integrations = yield* Service77;
265
265
  const npm = yield* Npm.Service;
266
- const aisdk = yield* Service64;
266
+ const aisdk = yield* Service49;
267
267
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
268
268
  const provider = yield* providers.get(selected.providerID);
269
269
  const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
@@ -293,7 +293,7 @@ var layer21 = Layer.effect(Service63, Effect.gen(function* () {
293
293
  chunkTimeout: provider?.settings?.chunkTimeout
294
294
  };
295
295
  });
296
- return Service63.of({
296
+ return Service48.of({
297
297
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
298
298
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
299
299
  if (!selected)
@@ -310,10 +310,10 @@ function usesAPIKeyAuth(packageName) {
310
310
  const name = packageName2(packageName);
311
311
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
312
312
  }
313
- var node65 = makeLocationNode({
314
- service: Service63,
313
+ var node50 = makeLocationNode({
314
+ service: Service48,
315
315
  layer: layer21,
316
- deps: [node78, node77, node79, Npm.node, node66]
316
+ deps: [node80, node62, node81, Npm.node, node51]
317
317
  });
318
318
 
319
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service63, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer21, node65, exports_model_resolver };
319
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service48, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer21, node50, exports_model_resolver };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  Service40,
3
3
  node43
4
- } from "./location-activity-z1x1gfhs.js";
4
+ } from "./tool-853r27ye.js";
5
5
  import {
6
- Service77,
7
- node81
8
- } from "./location-activity-8dm8w275.js";
6
+ Service80,
7
+ node84
8
+ } from "./tool-pj0sbgvb.js";
9
9
  import {
10
10
  Service39,
11
11
  node42
12
- } from "./location-activity-93r80qa9.js";
12
+ } from "./tool-yde4rd9n.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./location-activity-zxq2ej10.js";
16
+ } from "./tool-zxq2ej10.js";
17
17
  import {
18
18
  __export
19
- } from "./location-activity-9rqn6x4v.js";
19
+ } from "./tool-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/source.ts
22
22
  var exports_source = {};
23
23
  __export(exports_source, {
24
24
  ConfigPluginSource: () => exports_source,
25
- Service: () => Service10,
25
+ Service: () => Service9,
26
26
  empty: () => empty2,
27
- layer: () => layer7,
28
- node: () => node12
27
+ layer: () => layer6,
28
+ node: () => node11
29
29
  });
30
30
  import { FSUtil } from "@opencode/util/fs-util";
31
31
  import { Host } from "@opencode/plugin/host";
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
34
34
  import path from "path";
35
35
  import { fileURLToPath, pathToFileURL } from "url";
36
- class Service10 extends Context.Service()("@opencode/ConfigPluginSource") {
36
+ class Service9 extends Context.Service()("@opencode/ConfigPluginSource") {
37
37
  }
38
- var layer7 = Layer.effect(Service10, Effect.gen(function* () {
38
+ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
39
39
  const config = yield* Service39;
40
40
  const watcher = yield* Service40;
41
41
  const fs = yield* FSUtil.Service;
42
- const location = yield* Service77;
42
+ const location = yield* Service80;
43
43
  const configuredChanges = yield* PubSub.unbounded();
44
44
  const watched = new Set;
45
45
  const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
@@ -58,7 +58,7 @@ var layer7 = Layer.effect(Service10, Effect.gen(function* () {
58
58
  yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
59
59
  }
60
60
  });
61
- return Service10.of({
61
+ return Service9.of({
62
62
  operations: Effect.fn("ConfigPluginSource.operations")(function* () {
63
63
  const entries = yield* config.entries();
64
64
  const operations = yield* scan(fs, location, entries);
@@ -70,14 +70,14 @@ var layer7 = Layer.effect(Service10, Effect.gen(function* () {
70
70
  })), Stream.fromPubSub(configuredChanges))
71
71
  });
72
72
  }));
73
- var node12 = makeLocationNode({
74
- service: Service10,
75
- layer: layer7,
76
- deps: [node42, FSUtil.node, node43, node81]
73
+ var node11 = makeLocationNode({
74
+ service: Service9,
75
+ layer: layer6,
76
+ deps: [node42, FSUtil.node, node43, node84]
77
77
  });
78
78
  var empty2 = makeLocationNode({
79
- service: Service10,
80
- layer: Layer.succeed(Service10, Service10.of({
79
+ service: Service9,
80
+ layer: Layer.succeed(Service9, Service9.of({
81
81
  operations: () => Effect.succeed([]),
82
82
  changes: () => Stream.never
83
83
  })),
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
137
137
  return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
138
138
  }
139
139
 
140
- export { Service10, layer7, node12, empty2, exports_source };
140
+ export { Service9, layer6, node11, empty2, exports_source };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./location-activity-bgsmen1g.js";
4
+ } from "./tool-mdyteabe.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./location-activity-y71avatq.js";
7
+ } from "./tool-y71avatq.js";
8
8
  import {
9
9
  Service83,
10
10
  node87
11
- } from "./location-activity-e6gsh30d.js";
11
+ } from "./tool-ymc24fzh.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./location-activity-ec1grn59.js";
14
+ } from "./tool-ec1grn59.js";
15
15
  import {
16
16
  SessionMessage2
17
- } from "./location-activity-gftt206x.js";
17
+ } from "./tool-gftt206x.js";
18
18
  import {
19
19
  SessionSchema2
20
- } from "./location-activity-mf9m2v67.js";
20
+ } from "./tool-6bsje7ws.js";
21
21
  import {
22
22
  SessionMessageTable2,
23
23
  SessionInboxTable2
24
- } from "./location-activity-z07pqspn.js";
24
+ } from "./tool-bjtzbw4r.js";
25
25
  import {
26
26
  __export
27
- } from "./location-activity-9rqn6x4v.js";
27
+ } from "./tool-9rqn6x4v.js";
28
28
 
29
29
  // src/session/inbox.ts
30
30
  var exports_inbox = {};
@@ -32,12 +32,12 @@ __export(exports_inbox, {
32
32
  Compaction: () => Compaction2,
33
33
  CompactionPayload: () => CompactionPayload2,
34
34
  Delivery: () => Delivery2,
35
- Info: () => Info20,
35
+ Info: () => Info16,
36
36
  Item: () => Item2,
37
37
  LifecycleConflict: () => LifecycleConflict2,
38
38
  Move: () => Move2,
39
39
  MovePayload: () => MovePayload2,
40
- Service: () => Service58,
40
+ Service: () => Service44,
41
41
  SessionInbox: () => exports_inbox,
42
42
  Synthetic: () => Synthetic2,
43
43
  SyntheticPayload: () => SyntheticPayload2,
@@ -45,12 +45,12 @@ __export(exports_inbox, {
45
45
  UserPayload: () => UserPayload2,
46
46
  find: () => find2,
47
47
  has: () => has2,
48
- layer: () => layer20,
48
+ layer: () => layer19,
49
49
  list: () => list3,
50
- make: () => make16,
50
+ make: () => make17,
51
51
  moveIDs: () => moveIDs2,
52
52
  nextPromotable: () => nextPromotable2,
53
- node: () => node60,
53
+ node: () => node46,
54
54
  projectAdmitted: () => projectAdmitted2,
55
55
  projectCancelled: () => projectCancelled2,
56
56
  projectDelivered: () => projectDelivered2,
@@ -65,7 +65,7 @@ import {
65
65
  Compaction as Compaction2,
66
66
  CompactionPayload as CompactionPayload2,
67
67
  Delivery as Delivery2,
68
- Info as Info20,
68
+ Info as Info16,
69
69
  Item as Item2,
70
70
  Move as Move2,
71
71
  MovePayload as MovePayload2,
@@ -151,9 +151,9 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
151
151
  return yield* new LifecycleConflict2({ id });
152
152
  });
153
153
 
154
- class Service58 extends Context.Service()("@opencode/SessionInbox") {
154
+ class Service44 extends Context.Service()("@opencode/SessionInbox") {
155
155
  }
156
- var make16 = Effect.fn("SessionInbox.make")(function* () {
156
+ var make17 = Effect.fn("SessionInbox.make")(function* () {
157
157
  const database = yield* Service84;
158
158
  const db = database.db;
159
159
  const bus = yield* Service83;
@@ -173,7 +173,7 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
173
173
  inboxID: request.id,
174
174
  sessionID: request.sessionID,
175
175
  item: request.item
176
- }).pipe(Effect.map((event) => Info20.make({
176
+ }).pipe(Effect.map((event) => Info16.make({
177
177
  id: request.id,
178
178
  sessionID: request.sessionID,
179
179
  time: { created: DateTime.makeUnsafe(event.created) },
@@ -227,8 +227,8 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
227
227
  queue
228
228
  };
229
229
  });
230
- var layer20 = Layer.effect(Service58, make16());
231
- var node60 = makeGlobalNode({ service: Service58, layer: layer20, deps: [node88, node87] });
230
+ var layer19 = Layer.effect(Service44, make17());
231
+ var node46 = makeGlobalNode({ service: Service44, layer: layer19, deps: [node88, node87] });
232
232
  var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
233
233
  const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
234
234
  if (message !== undefined)
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
326
326
  return rows;
327
327
  }));
328
328
 
329
- export { Compaction2, CompactionPayload2, Delivery2, Info20, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service58, make16, layer20, node60, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
329
+ export { Compaction2, CompactionPayload2, Delivery2, Info16, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service44, make17, layer19, node46, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
@@ -2,7 +2,7 @@ import {
2
2
  SQLiteEffectPreparedQuery2,
3
3
  SQLiteEffectSession2,
4
4
  SQLiteEffectTransaction2
5
- } from "./location-activity-qs4mz5f3.js";
5
+ } from "./tool-0z09521w.js";
6
6
 
7
7
  // src/database/drizzle/effect-sqlite/session.ts
8
8
  import * as Context from "effect/Context";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  directoryColumn2,
3
3
  pathColumn2
4
- } from "./location-activity-6msgmcgs.js";
4
+ } from "./tool-6msgmcgs.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./location-activity-qfa1cgps.js";
7
+ } from "./tool-qfa1cgps.js";
8
8
  import {
9
9
  ProjectTable2
10
- } from "./location-activity-wd3x2cqz.js";
10
+ } from "./tool-psazpmmj.js";
11
11
 
12
12
  // src/session/sql.ts
13
13
  import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service59
3
- } from "./location-activity-2px4r9gg.js";
2
+ Service45
3
+ } from "./tool-mx9vqzsb.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./location-activity-ht5y0zrb.js";
6
+ } from "./tool-ht5y0zrb.js";
7
7
  import {
8
8
  SkillNotFoundError2
9
- } from "./location-activity-gcb0pgp4.js";
9
+ } from "./tool-rkg3eda0.js";
10
10
  import {
11
- Service44
12
- } from "./location-activity-bwjpedc6.js";
11
+ Service69
12
+ } from "./tool-kvny42nn.js";
13
13
  import {
14
14
  __export
15
- } from "./location-activity-9rqn6x4v.js";
15
+ } from "./tool-9rqn6x4v.js";
16
16
 
17
17
  // src/session/skill.ts
18
18
  var exports_skill4 = {};
@@ -22,8 +22,8 @@ __export(exports_skill4, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var get4 = Effect.fn("SessionSkill.get")(function* (input) {
25
- const instances = yield* Service59;
26
- const skills = yield* awaitActivation2.pipe(Effect.andThen(Service44), instances.provide(input.session));
25
+ const instances = yield* Service45;
26
+ const skills = yield* awaitActivation2.pipe(Effect.andThen(Service69), instances.provide(input.session));
27
27
  const skill = yield* skills.get(input.skill);
28
28
  if (!skill)
29
29
  return yield* new SkillNotFoundError2({ skill: input.skill });
@@ -1,55 +1,55 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./location-activity-922hggd3.js";
4
+ } from "./tool-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service79,
9
- node83
10
- } from "./location-activity-v4qfxnag.js";
8
+ Service82,
9
+ node86
10
+ } from "./tool-tgcnk5sw.js";
11
11
  import {
12
- Service77,
13
- node81
14
- } from "./location-activity-8dm8w275.js";
12
+ Service80,
13
+ node84
14
+ } from "./tool-pj0sbgvb.js";
15
15
  import {
16
16
  create3
17
- } from "./location-activity-rdw6cm16.js";
17
+ } from "./tool-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./location-activity-9rqn6x4v.js";
20
+ } from "./tool-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error3,
26
- ID: () => ID6,
27
- Service: () => Service51,
25
+ Error: () => Error5,
26
+ ID: () => ID7,
27
+ Service: () => Service68,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node54,
30
- noopLayer: () => noopLayer2
29
+ node: () => node72,
30
+ noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID6 } from "@opencode/schema/snapshot";
37
+ import { ID as ID7 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error3 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error5 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service51 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service68 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service51, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service68, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service79;
50
+ const git = yield* Service82;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service77;
52
+ const location = yield* Service80;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error5({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error5({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID6.make(yield* git.tree.capture({
85
+ return ID7.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service51.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service68.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node54 = makeLocationNode({
144
- service: Service51,
143
+ var node72 = makeLocationNode({
144
+ service: Service68,
145
145
  layer,
146
- deps: [FSUtil.node, node83, Global.node, node81]
146
+ deps: [FSUtil.node, node86, Global.node, node84]
147
147
  });
148
- var noopLayer2 = Layer.succeed(Service51, Service51.of({
148
+ var noopLayer3 = Layer.succeed(Service68, Service68.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service51, Service51.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error3 && cause.operation === operation)
157
+ if (cause instanceof Error5 && cause.operation === operation)
158
158
  return cause;
159
- return new Error3({
159
+ return new Error5({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID6, Error3, Service51, node54, noopLayer2, exports_snapshot2 };
166
+ export { ID7, Error5, Service68, node72, noopLayer3, exports_snapshot2 };
@@ -7,21 +7,21 @@ import {
7
7
  deletePatch2,
8
8
  countPatch2,
9
9
  chunksByFile2
10
- } from "./location-activity-tazgh4e4.js";
10
+ } from "./tool-tazgh4e4.js";
11
11
  import {
12
- Service77
13
- } from "./location-activity-8dm8w275.js";
12
+ Service80
13
+ } from "./tool-pj0sbgvb.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./location-activity-rmjn6g9n.js";
16
+ } from "./tool-4vxt5jt3.js";
17
17
  import {
18
18
  __export
19
- } from "./location-activity-9rqn6x4v.js";
19
+ } from "./tool-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/hg.ts
22
22
  var exports_hg = {};
23
23
  __export(exports_hg, {
24
- Plugin: () => Plugin11,
24
+ Plugin: () => Plugin2,
25
25
  VcsHgPlugin: () => exports_hg
26
26
  });
27
27
  import path from "path";
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { FSUtil } from "@opencode/util/fs-util";
32
32
  import { AppProcess } from "@opencode/util/process";
33
- var Plugin11 = define({
33
+ var Plugin2 = define({
34
34
  id: "opencode.vcs.hg",
35
35
  effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
36
- const location = yield* Service77;
36
+ const location = yield* Service80;
37
37
  if (location.vcs?.type !== "hg")
38
38
  return;
39
39
  const processes = yield* AppProcess.Service;
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
188
188
  return { status, diff, branch, ancestor, cat };
189
189
  }
190
190
 
191
- export { Plugin11, exports_hg };
191
+ export { Plugin2, exports_hg };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ID14,
3
- Service75
4
- } from "./location-activity-7gh5yy3z.js";
3
+ Service77
4
+ } from "./tool-tscedkbb.js";
5
5
 
6
6
  // src/plugin/provider/llmgateway.ts
7
7
  import { Effect } from "effect";
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
9
9
  var LLMGatewayPlugin2 = define({
10
10
  id: "opencode.provider.llmgateway",
11
11
  effect: Effect.fn(function* (ctx) {
12
- const integrations = yield* Service75;
12
+ const integrations = yield* Service77;
13
13
  const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
14
14
  yield* ctx.provider.transform((evt) => {
15
15
  for (const item of evt.list()) {