@opencode-ai/core 0.0.0-dev-19233 → 0.0.0-dev-19237

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 (774) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +73 -73
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{job-j83byb14.js → file-00z3vp5f.js} +4 -4
  9. package/dist/chunks/{job-wzmmj5c3.js → file-03ssqq1h.js} +44 -44
  10. package/dist/chunks/{job-0e0xafbb.js → file-0e0xafbb.js} +2 -2
  11. package/dist/chunks/{job-7k14zqa2.js → file-0jb3k8j6.js} +25 -25
  12. package/dist/chunks/{job-7dqw4kz8.js → file-0jwsre1p.js} +5 -5
  13. package/dist/chunks/{job-fme6xxpb.js → file-0p6bnn4j.js} +10 -10
  14. package/dist/chunks/{job-0paq2nw3.js → file-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{job-0q0f95c6.js → file-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{job-0s9ayhjt.js → file-0s9ayhjt.js} +1 -1
  17. package/dist/chunks/{job-vefskwcr.js → file-0wagesx1.js} +3 -3
  18. package/dist/chunks/{job-v6ryzxxv.js → file-129m3zyv.js} +9 -9
  19. package/dist/chunks/{job-qz0x0s1g.js → file-179n7qcx.js} +17 -17
  20. package/dist/chunks/{job-yp2x3t23.js → file-1acjjqhc.js} +4 -4
  21. package/dist/chunks/{job-1ct4r87x.js → file-1ct4r87x.js} +1 -1
  22. package/dist/chunks/{job-jy46tkpa.js → file-1j6fw132.js} +22 -22
  23. package/dist/chunks/{job-1gz0ta6j.js → file-1jpftfmz.js} +45 -45
  24. package/dist/chunks/{job-r6xmjf87.js → file-1nk2mnc0.js} +3 -3
  25. package/dist/chunks/{job-39yamgtx.js → file-1vkgnbk5.js} +11 -11
  26. package/dist/chunks/{job-p54pbamy.js → file-1zkb17nt.js} +6 -6
  27. package/dist/chunks/{job-21r38tys.js → file-21r38tys.js} +1 -1
  28. package/dist/chunks/{job-2402vzrj.js → file-2402vzrj.js} +1 -1
  29. package/dist/chunks/{job-f1a3k8hk.js → file-2931d2p1.js} +10 -10
  30. package/dist/chunks/{job-2a5m3afh.js → file-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{job-v4kmtq0v.js → file-2hgwbbq1.js} +26 -26
  32. package/dist/chunks/{job-2ht70gj7.js → file-2ht70gj7.js} +1 -1
  33. package/dist/chunks/{job-nrsmc0cn.js → file-2j2akc50.js} +6 -6
  34. package/dist/chunks/{job-1z8rthr1.js → file-2n0rqa47.js} +43 -43
  35. package/dist/chunks/{job-adhsr3tz.js → file-2rx0c1se.js} +3 -3
  36. package/dist/chunks/{job-ynf2m8sv.js → file-32vaat9j.js} +72 -72
  37. package/dist/chunks/{job-a78wm4ce.js → file-339x25ws.js} +7 -7
  38. package/dist/chunks/{job-wj9ny62y.js → file-36srvmcg.js} +3 -3
  39. package/dist/chunks/{job-jjzmpkqm.js → file-3cm4x8pz.js} +5 -5
  40. package/dist/chunks/{job-4kpe0rr7.js → file-3dab0e5z.js} +28 -28
  41. package/dist/chunks/{job-0kxr4mw8.js → file-3f4r80p6.js} +44 -44
  42. package/dist/chunks/{job-3hepkmqq.js → file-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{job-vgpse2jg.js → file-3n69sb31.js} +10 -10
  44. package/dist/chunks/{job-3qzbfqsy.js → file-3qzbfqsy.js} +2 -2
  45. package/dist/chunks/{job-3smtnn6g.js → file-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{job-3tvqynh2.js → file-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{job-cw3cp746.js → file-3v1vnpky.js} +64 -64
  48. package/dist/chunks/{job-2hg40tsn.js → file-3wwk5jwz.js} +34 -34
  49. package/dist/chunks/{job-a88tc3ry.js → file-3y04nngn.js} +16 -16
  50. package/dist/chunks/{job-8k41ncbx.js → file-3zf7jj5c.js} +35 -35
  51. package/dist/chunks/{job-454k5vzh.js → file-454k5vzh.js} +1 -1
  52. package/dist/chunks/{job-9y5wqfte.js → file-46e97tr7.js} +10 -10
  53. package/dist/chunks/{job-nhy5jxhy.js → file-47gsdddb.js} +5 -5
  54. package/dist/chunks/{job-67nr6jxm.js → file-4c7fwq4e.js} +31 -31
  55. package/dist/chunks/{job-mewap8c7.js → file-4pgqfzd8.js} +4 -4
  56. package/dist/chunks/{job-4r2nyarf.js → file-4r2nyarf.js} +1 -1
  57. package/dist/chunks/{job-zc8xf61f.js → file-4v4ajd06.js} +13 -13
  58. package/dist/chunks/{job-52bfwkce.js → file-52bfwkce.js} +1 -1
  59. package/dist/chunks/{job-vssq7284.js → file-595kwe3a.js} +1 -1
  60. package/dist/chunks/{job-5daktx2q.js → file-5daktx2q.js} +1 -1
  61. package/dist/chunks/{job-gdkf5h66.js → file-5dhjvcph.js} +4 -4
  62. package/dist/chunks/{job-kp9qc20g.js → file-5f95ff4q.js} +25 -25
  63. package/dist/chunks/{job-5fmxt4p5.js → file-5fmxt4p5.js} +1 -1
  64. package/dist/chunks/{job-be3ajq1c.js → file-5h5dsh0k.js} +25 -25
  65. package/dist/chunks/{job-5jvc5tg2.js → file-5jvc5tg2.js} +1 -1
  66. package/dist/chunks/{job-d7qhd9es.js → file-5rdj9hmq.js} +11 -11
  67. package/dist/chunks/{job-bdr6vkwq.js → file-5vgh9pjn.js} +24 -24
  68. package/dist/chunks/{job-c7vadqv7.js → file-654kmdbf.js} +5 -5
  69. package/dist/chunks/{job-fraw6xjy.js → file-6652nm96.js} +5 -5
  70. package/dist/chunks/{job-3jj6bjb6.js → file-6h414ywr.js} +5 -5
  71. package/dist/chunks/{job-ykzs9fww.js → file-6njxrdza.js} +15 -15
  72. package/dist/chunks/{job-8aaqmbct.js → file-6r2w4rfh.js} +28 -28
  73. package/dist/chunks/{job-711hfp6y.js → file-711hfp6y.js} +2 -2
  74. package/dist/chunks/{job-8j2rwc0w.js → file-71n2k0sw.js} +23 -23
  75. package/dist/chunks/{job-72nftnjy.js → file-72nftnjy.js} +2 -2
  76. package/dist/chunks/{job-7bmhse3q.js → file-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{job-s604mysz.js → file-7d289b1g.js} +27 -27
  78. package/dist/chunks/{job-6ds36eyk.js → file-7fxxes5g.js} +7 -7
  79. package/dist/chunks/{job-dtkd4wwk.js → file-7mcdhjjw.js} +36 -36
  80. package/dist/chunks/{job-vkxy9tje.js → file-7qhv6080.js} +16 -16
  81. package/dist/chunks/{job-f569ayv3.js → file-7vmn5jxr.js} +17 -17
  82. package/dist/chunks/{job-e9sa9zxz.js → file-7yr2wfkw.js} +11 -11
  83. package/dist/chunks/file-7zk4hah4.js +4 -0
  84. package/dist/chunks/{job-4f62ejdk.js → file-88nptzkr.js} +4 -4
  85. package/dist/chunks/{job-89cfd633.js → file-89cfd633.js} +1 -1
  86. package/dist/chunks/{job-rgpp5x08.js → file-8fhts7ts.js} +4 -4
  87. package/dist/chunks/{job-w8zd3pxg.js → file-8kpcqxj9.js} +9 -9
  88. package/dist/chunks/{job-8tq3sb4p.js → file-8tq3sb4p.js} +1 -1
  89. package/dist/chunks/{job-764nqqnc.js → file-934h7amq.js} +20 -20
  90. package/dist/chunks/{job-93a8yfjt.js → file-93a8yfjt.js} +2 -2
  91. package/dist/chunks/{job-mtcjf44p.js → file-97f5v037.js} +4 -4
  92. package/dist/chunks/{job-zc9338xq.js → file-9938j897.js} +8 -8
  93. package/dist/chunks/{job-9qm9egsn.js → file-9qm9egsn.js} +2 -2
  94. package/dist/chunks/{job-fkcyqnbs.js → file-9qnjdkjv.js} +10 -10
  95. package/dist/chunks/{job-v9mzkcae.js → file-9ss86a26.js} +11 -11
  96. package/dist/chunks/{job-khqnst5w.js → file-9t0ny11b.js} +11 -11
  97. package/dist/chunks/{job-9vw7vcdh.js → file-9vw7vcdh.js} +1 -1
  98. package/dist/chunks/{job-9z6xj13s.js → file-9z6xj13s.js} +1 -1
  99. package/dist/chunks/{job-a0pph4fy.js → file-a1cchfxj.js} +5 -5
  100. package/dist/chunks/{job-mgg6b1b0.js → file-a6m8wy4f.js} +16 -16
  101. package/dist/chunks/{job-aaet6srn.js → file-aaet6srn.js} +2 -2
  102. package/dist/chunks/{job-36vsdr69.js → file-acd73yp7.js} +8 -8
  103. package/dist/chunks/{job-ye3yabn9.js → file-ajc7k593.js} +36 -36
  104. package/dist/chunks/{job-ajtjthsy.js → file-ajtjthsy.js} +2 -2
  105. package/dist/chunks/{job-zbyx735k.js → file-asf9wq49.js} +10 -10
  106. package/dist/chunks/{job-vcwpx9hw.js → file-avf2awfk.js} +9 -9
  107. package/dist/chunks/{job-pzk1wccs.js → file-avffydqw.js} +29 -29
  108. package/dist/chunks/{job-b6gygkdw.js → file-b6gygkdw.js} +2 -2
  109. package/dist/chunks/{job-b9wsbatv.js → file-b9wsbatv.js} +1 -1
  110. package/dist/chunks/{job-zvt5dnpc.js → file-baaqp4zd.js} +4 -4
  111. package/dist/chunks/{job-hcpkpkrn.js → file-bffddetr.js} +24 -24
  112. package/dist/chunks/{job-npsv0nay.js → file-btqahyaw.js} +9 -9
  113. package/dist/chunks/{job-kam18kqc.js → file-bvza9xe3.js} +92 -92
  114. package/dist/chunks/{job-n4w7srb8.js → file-c1v5b0wv.js} +14 -14
  115. package/dist/chunks/{job-rw6x9wyb.js → file-c2m11pw9.js} +11 -11
  116. package/dist/chunks/{job-tm928733.js → file-c7jdh4x9.js} +10 -10
  117. package/dist/chunks/{job-enq73cty.js → file-cdbx1xhb.js} +43 -43
  118. package/dist/chunks/{job-18z4nfx4.js → file-cj6bar7a.js} +13 -13
  119. package/dist/chunks/{job-kxpygcw9.js → file-cpy6gm2a.js} +6 -6
  120. package/dist/chunks/{job-crtth3kn.js → file-crtth3kn.js} +1 -1
  121. package/dist/chunks/{job-zppqdj7p.js → file-csm9f11b.js} +15 -15
  122. package/dist/chunks/{job-yvg0r0vc.js → file-ctpqmbes.js} +8 -8
  123. package/dist/chunks/{job-nwdwhmak.js → file-d0e4f7jz.js} +9 -9
  124. package/dist/chunks/{job-d72308c8.js → file-d72308c8.js} +2 -2
  125. package/dist/chunks/{job-1q5awywt.js → file-d9wzmzc3.js} +5 -5
  126. package/dist/chunks/{job-krt69xys.js → file-d9ywy8qq.js} +155 -155
  127. package/dist/chunks/{job-pnabnhqb.js → file-dhv13n9b.js} +13 -13
  128. package/dist/chunks/{job-v517j8yy.js → file-dm4t3jdg.js} +22 -22
  129. package/dist/chunks/{job-njb9p3v3.js → file-dt1n4p4v.js} +4 -4
  130. package/dist/chunks/{job-5svb1j9h.js → file-e2611c6v.js} +11 -11
  131. package/dist/chunks/{job-7dk0wx9f.js → file-e5w0frp6.js} +8 -8
  132. package/dist/chunks/{job-rae5gv57.js → file-e5zee4hv.js} +8 -8
  133. package/dist/chunks/{job-mj4bzwnf.js → file-e9bp071a.js} +2 -2
  134. package/dist/chunks/{job-gfzbjyhz.js → file-en1kwsfy.js} +13 -13
  135. package/dist/chunks/{job-c28q5v06.js → file-ewjc977p.js} +22 -22
  136. package/dist/chunks/{job-0bf0f982.js → file-fhm8k5s2.js} +16 -16
  137. package/dist/chunks/{job-fjsjs8gs.js → file-fjsjs8gs.js} +1 -1
  138. package/dist/chunks/{job-sq1ke05s.js → file-fkpavqt9.js} +36 -36
  139. package/dist/chunks/{job-723tnx7j.js → file-fqsf7web.js} +30 -30
  140. package/dist/chunks/{job-fxbjtjnd.js → file-fxbjtjnd.js} +1 -1
  141. package/dist/chunks/{job-fxypknc8.js → file-fxypknc8.js} +1 -1
  142. package/dist/chunks/{job-g0ysksx1.js → file-fz1pdqz4.js} +9 -9
  143. package/dist/chunks/{job-1a276tzg.js → file-g2zsh1qa.js} +23 -23
  144. package/dist/chunks/{job-6esbpxbg.js → file-g3fmkc14.js} +33 -33
  145. package/dist/chunks/{job-r1543tk3.js → file-g4j6k2pz.js} +13 -13
  146. package/dist/chunks/{job-b27vhd2z.js → file-g8d3gcyj.js} +7 -7
  147. package/dist/chunks/{job-gd4qta3r.js → file-gd4qta3r.js} +1 -1
  148. package/dist/chunks/{job-3fc6dm20.js → file-gdvy8fx6.js} +4 -4
  149. package/dist/chunks/{job-k3fs0qt5.js → file-gmq3187j.js} +7 -7
  150. package/dist/chunks/{job-ahxzhcff.js → file-gpkgrk3z.js} +2 -2
  151. package/dist/chunks/{job-h6vf3j39.js → file-h6vf3j39.js} +1 -1
  152. package/dist/chunks/{job-6sg32tdv.js → file-hadacg6q.js} +2 -2
  153. package/dist/chunks/{job-13y9ya0v.js → file-hc2w1ek9.js} +16 -16
  154. package/dist/chunks/{job-2b8b9bdq.js → file-hcmmkp4d.js} +26 -26
  155. package/dist/chunks/{job-heyhwy2w.js → file-heyhwy2w.js} +1 -1
  156. package/dist/chunks/{job-r30z0r03.js → file-hk900qzg.js} +26 -26
  157. package/dist/chunks/{job-bsvvsrn1.js → file-hnyf01b0.js} +5 -5
  158. package/dist/chunks/{job-7g4de1gz.js → file-hpgd43jv.js} +46 -46
  159. package/dist/chunks/{job-xg3vtz5h.js → file-hr77wr0b.js} +4 -4
  160. package/dist/chunks/{job-hrvm11jt.js → file-hrvm11jt.js} +3 -3
  161. package/dist/chunks/file-ht5y0zrb.js +18 -0
  162. package/dist/chunks/{job-hw4pv20g.js → file-hw4pv20g.js} +2 -2
  163. package/dist/chunks/{job-z6z3ddq4.js → file-hw71hpyd.js} +6 -6
  164. package/dist/chunks/{job-952aqqdh.js → file-j2sq7sy2.js} +3 -3
  165. package/dist/chunks/{job-7ngxwvqm.js → file-jb4h4dr1.js} +23 -23
  166. package/dist/chunks/{job-nmw60bne.js → file-jntn13wn.js} +9 -9
  167. package/dist/chunks/{job-ms3efxed.js → file-jwd6g0dr.js} +8 -8
  168. package/dist/chunks/{job-6gw5f1b0.js → file-k4b13ztk.js} +12 -12
  169. package/dist/chunks/{job-k4bwy1x5.js → file-k4bwy1x5.js} +1 -1
  170. package/dist/chunks/{job-ewrksnmv.js → file-k50qz9pg.js} +17 -17
  171. package/dist/chunks/{job-ymysjfkp.js → file-k7jgc7wy.js} +6 -6
  172. package/dist/chunks/{job-kg06axw8.js → file-kg06axw8.js} +1 -1
  173. package/dist/chunks/{job-85yfw8f2.js → file-kkq1zppc.js} +4 -4
  174. package/dist/chunks/{job-ert66qwv.js → file-ktr5pece.js} +283 -283
  175. package/dist/chunks/{job-p7g4wgs5.js → file-m0m2gtc4.js} +17 -17
  176. package/dist/chunks/{job-1ydgq2r4.js → file-m3fm0fm8.js} +5 -5
  177. package/dist/chunks/{job-bntpbxe2.js → file-m3p4mq0k.js} +25 -25
  178. package/dist/chunks/{job-j5axe61t.js → file-m4je5jzf.js} +18 -18
  179. package/dist/chunks/{job-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
  180. package/dist/chunks/{job-3p4rd3p9.js → file-mb6d61vn.js} +28 -28
  181. package/dist/chunks/{job-tfyecq3b.js → file-md9ad6xb.js} +34 -34
  182. package/dist/chunks/{job-mfqp6xfm.js → file-mfqp6xfm.js} +2 -2
  183. package/dist/chunks/{job-1bbkgx8g.js → file-mhkvc446.js} +3 -3
  184. package/dist/chunks/{job-22ra2ec6.js → file-mhq5r63x.js} +46 -46
  185. package/dist/chunks/{job-hnb3gsp3.js → file-mmkbhfjj.js} +16 -16
  186. package/dist/chunks/{job-5hbtvx61.js → file-mr1e9xzf.js} +28 -28
  187. package/dist/chunks/{job-2xq5ym6z.js → file-mt2hp97g.js} +41 -41
  188. package/dist/chunks/{job-mtqwgfqs.js → file-mtqwgfqs.js} +2 -2
  189. package/dist/chunks/{job-rmtx79qf.js → file-n5f8hq7m.js} +4 -4
  190. package/dist/chunks/{job-rhwzqy16.js → file-na3f2bx6.js} +29 -29
  191. package/dist/chunks/{job-6e5er5n1.js → file-p9tbkvt9.js} +11 -11
  192. package/dist/chunks/file-pegy9qka.js +247 -0
  193. package/dist/chunks/{job-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
  194. package/dist/chunks/{job-pknna89w.js → file-pknna89w.js} +1 -1
  195. package/dist/chunks/{job-y75evwn6.js → file-pmfjm0ds.js} +20 -20
  196. package/dist/chunks/{job-gxpjz2fr.js → file-pmtj7vd7.js} +12 -12
  197. package/dist/chunks/{job-aeech1x6.js → file-prt369qg.js} +32 -32
  198. package/dist/chunks/{job-ar2zsk5h.js → file-ptz1ztyq.js} +8 -8
  199. package/dist/chunks/{job-mxstmdya.js → file-q3cgsmnj.js} +22 -22
  200. package/dist/chunks/{job-m5rgyzja.js → file-q604e6nk.js} +11 -11
  201. package/dist/chunks/{job-j292zv19.js → file-qeka1wpx.js} +16 -16
  202. package/dist/chunks/{job-gt58j5k0.js → file-qrjx5gd0.js} +29 -29
  203. package/dist/chunks/{job-qsdy395h.js → file-qsdy395h.js} +1 -1
  204. package/dist/chunks/{job-1vtw6nte.js → file-qya9qmjj.js} +20 -20
  205. package/dist/chunks/{job-29y2fmhm.js → file-r528y2ap.js} +9 -9
  206. package/dist/chunks/{job-r8dhm0tv.js → file-r8dhm0tv.js} +1 -1
  207. package/dist/chunks/{job-rhpqpny4.js → file-r911hjta.js} +22 -22
  208. package/dist/chunks/{job-bjs50m4b.js → file-rjqxra3c.js} +8 -8
  209. package/dist/chunks/{job-0far9rqk.js → file-rjrsppvq.js} +15 -15
  210. package/dist/chunks/{job-g2vkv3me.js → file-rmeyr0zp.js} +32 -32
  211. package/dist/chunks/{job-jtvvp2rb.js → file-rmftyprg.js} +34 -34
  212. package/dist/chunks/{job-9bfm6dbz.js → file-rmjbkvqc.js} +6 -6
  213. package/dist/chunks/{job-1pnbkzsb.js → file-rrp6adwx.js} +23 -23
  214. package/dist/chunks/{job-n99q5rq0.js → file-rtgawa8q.js} +4 -4
  215. package/dist/chunks/{job-gw3vps06.js → file-rtmnkjh7.js} +9 -9
  216. package/dist/chunks/{job-7c4j9tm2.js → file-rvvz5b9h.js} +13 -13
  217. package/dist/chunks/{job-s0gpr7nd.js → file-s0gpr7nd.js} +1 -1
  218. package/dist/chunks/{job-34akyan7.js → file-s0xr38aj.js} +9 -9
  219. package/dist/chunks/{job-sba4qhjf.js → file-sba4qhjf.js} +1 -1
  220. package/dist/chunks/{job-21h5670b.js → file-ssh3ax1h.js} +11 -11
  221. package/dist/chunks/{job-nraysfsj.js → file-t7xph3b4.js} +5 -5
  222. package/dist/chunks/{job-4dwv79pw.js → file-t9v5xvk5.js} +4 -4
  223. package/dist/chunks/{job-tazgh4e4.js → file-tazgh4e4.js} +1 -1
  224. package/dist/chunks/{job-tcezcvh9.js → file-tcezcvh9.js} +1 -1
  225. package/dist/chunks/{job-54ney90v.js → file-tgta4dgx.js} +27 -27
  226. package/dist/chunks/{job-s91rf68f.js → file-tjjbrw7w.js} +22 -22
  227. package/dist/chunks/{job-tjykrgmx.js → file-tjykrgmx.js} +1 -1
  228. package/dist/chunks/{job-srp77x07.js → file-tmgtet36.js} +20 -20
  229. package/dist/chunks/{job-zb979w0w.js → file-tpqfb4gb.js} +6 -6
  230. package/dist/chunks/{job-099yzkay.js → file-ttmf2k06.js} +5 -5
  231. package/dist/chunks/{job-gta7psvz.js → file-tvqb7ptv.js} +7 -7
  232. package/dist/chunks/{job-c7cd984x.js → file-tvzx8eep.js} +9 -9
  233. package/dist/chunks/{job-k4wwzjdh.js → file-tymq08ss.js} +24 -24
  234. package/dist/chunks/{job-tyqynq3b.js → file-tyqynq3b.js} +2 -2
  235. package/dist/chunks/{job-q1983gs3.js → file-v6khqva7.js} +3 -3
  236. package/dist/chunks/{job-60tbqhvj.js → file-v6vne6e8.js} +83 -83
  237. package/dist/chunks/{job-cr1qn5av.js → file-v8sg56bb.js} +8 -8
  238. package/dist/chunks/{job-be82m630.js → file-v92wz3b8.js} +37 -37
  239. package/dist/chunks/{job-t27w4pf2.js → file-v940708v.js} +15 -15
  240. package/dist/chunks/{job-g4p86hxj.js → file-v961h6fn.js} +15 -15
  241. package/dist/chunks/{job-awaee7qt.js → file-va5qff5x.js} +6 -6
  242. package/dist/chunks/{job-0v8sm5cm.js → file-vgjr9pam.js} +15 -15
  243. package/dist/chunks/{job-k2dt1yqc.js → file-vn9j9bbf.js} +20 -20
  244. package/dist/chunks/{job-vnzc40bj.js → file-vnzc40bj.js} +2 -2
  245. package/dist/chunks/{job-tve492s9.js → file-vt4ykcc5.js} +25 -25
  246. package/dist/chunks/{job-ggzqw02n.js → file-vypq2r11.js} +11 -11
  247. package/dist/chunks/{job-bkh8009q.js → file-w07k5xss.js} +13 -13
  248. package/dist/chunks/{job-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{job-9cnpj473.js → file-w4d6nzh9.js} +8 -8
  250. package/dist/chunks/{job-988qcjmk.js → file-waegbgsk.js} +18 -18
  251. package/dist/chunks/{job-wd87259q.js → file-wd87259q.js} +1 -1
  252. package/dist/chunks/{job-wefnnxbq.js → file-wefnnxbq.js} +1 -1
  253. package/dist/chunks/{job-0j000hfr.js → file-wfr7fczh.js} +15 -15
  254. package/dist/chunks/{job-9185jwfw.js → file-whc6z58z.js} +11 -11
  255. package/dist/chunks/{job-31h5rjhn.js → file-wt9rnddh.js} +18 -18
  256. package/dist/chunks/{job-yq5ja4q0.js → file-wzds84qh.js} +4 -4
  257. package/dist/chunks/{job-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
  258. package/dist/chunks/{job-3qpta3nq.js → file-x6pvac8r.js} +49 -49
  259. package/dist/chunks/{job-fyy22dcy.js → file-x9efqt87.js} +22 -22
  260. package/dist/chunks/{job-k1kwjnae.js → file-xb70hszk.js} +14 -14
  261. package/dist/chunks/{job-fb135p40.js → file-xdrtxdpg.js} +17 -17
  262. package/dist/chunks/{job-nxrz604p.js → file-xjde6dvc.js} +9 -9
  263. package/dist/chunks/{job-76wr4mq2.js → file-xr5vwsd4.js} +9 -9
  264. package/dist/chunks/{job-yfcf1nq6.js → file-xy58tbcv.js} +24 -24
  265. package/dist/chunks/{job-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{job-ybsdre70.js → file-y37eft65.js} +36 -36
  267. package/dist/chunks/{job-6t6zp6fw.js → file-y3cm0t0c.js} +10 -10
  268. package/dist/chunks/{job-jpavn7vf.js → file-y5z1eg03.js} +8 -8
  269. package/dist/chunks/{job-y71avatq.js → file-y71avatq.js} +1 -1
  270. package/dist/chunks/{job-yfbd16n1.js → file-yfbd16n1.js} +2 -2
  271. package/dist/chunks/{job-sbzv84es.js → file-yq559278.js} +9 -9
  272. package/dist/chunks/{job-sw2z68vz.js → file-yqr8waf2.js} +35 -35
  273. package/dist/chunks/{job-qq6z8s6d.js → file-yt0vhsen.js} +21 -21
  274. package/dist/chunks/{job-z1k01bn4.js → file-z1k01bn4.js} +2 -2
  275. package/dist/chunks/{job-cj7mjqre.js → file-z3h7hm3n.js} +4 -4
  276. package/dist/chunks/{job-z63w68vq.js → file-z63w68vq.js} +2 -2
  277. package/dist/chunks/{job-8qhh6y2r.js → file-z7ezyskm.js} +27 -27
  278. package/dist/chunks/{job-6g7hnhz5.js → file-z7n23fv9.js} +20 -20
  279. package/dist/chunks/{job-rbztp1s7.js → file-zmy6e5rj.js} +49 -49
  280. package/dist/chunks/{job-5hbfwtys.js → file-zp70bgmg.js} +27 -27
  281. package/dist/chunks/{job-ztxeb84j.js → file-ztxeb84j.js} +1 -1
  282. package/dist/chunks/{job-nge3vtdb.js → file-zvrekwpq.js} +6 -6
  283. package/dist/chunks/{job-zxq2ej10.js → file-zxq2ej10.js} +1 -1
  284. package/dist/chunks/{job-smvrzaws.js → file-zy8c9jht.js} +15 -15
  285. package/dist/codemode/catalog.js +3 -3
  286. package/dist/codemode/instructions.js +9 -9
  287. package/dist/codemode/tool.js +2 -2
  288. package/dist/command.js +83 -83
  289. package/dist/config/discovery.js +77 -77
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +19 -19
  292. package/dist/config/plugin/agent.js +115 -115
  293. package/dist/config/plugin/command.js +206 -206
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/entry-observer.js +1 -1
  296. package/dist/config/plugin/formatter.js +117 -117
  297. package/dist/config/plugin/image.js +115 -115
  298. package/dist/config/plugin/instruction.js +85 -85
  299. package/dist/config/plugin/location-watcher.js +115 -115
  300. package/dist/config/plugin/mcp.js +124 -124
  301. package/dist/config/plugin/policy.js +114 -114
  302. package/dist/config/plugin/provider.js +113 -113
  303. package/dist/config/plugin/reference.js +117 -117
  304. package/dist/config/plugin/shell.js +116 -116
  305. package/dist/config/plugin/skill-file.js +96 -96
  306. package/dist/config/plugin/skill.js +133 -133
  307. package/dist/config/plugin/snapshot.js +115 -115
  308. package/dist/config/plugin/source.js +117 -117
  309. package/dist/config/plugin/tool-output.js +117 -117
  310. package/dist/config/plugin/websearch.js +113 -113
  311. package/dist/config/plugin/worktree.js +118 -118
  312. package/dist/config/variable.js +3 -3
  313. package/dist/config/watch.js +1 -1
  314. package/dist/config.js +119 -119
  315. package/dist/credential/sql.js +2 -2
  316. package/dist/credential.js +81 -81
  317. package/dist/database/database.js +68 -68
  318. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  319. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  321. package/dist/database/drizzle/index.js +13 -13
  322. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  325. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  326. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  327. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  333. package/dist/database/drizzle.js +14 -14
  334. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  335. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  336. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  337. package/dist/database/migration/20260225215848_workspace.js +1 -1
  338. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  339. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  340. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  341. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  342. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  343. package/dist/database/migration/20260323234822_events.js +1 -1
  344. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  345. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  346. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  347. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  348. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  349. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  350. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  351. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  352. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  353. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  354. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  355. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  356. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  357. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  358. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  359. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  360. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  361. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  362. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  363. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  364. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  365. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  366. package/dist/database/migration/20260611035744_credential.js +1 -1
  367. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  368. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  369. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  370. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  371. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  372. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  373. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  374. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  375. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  376. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  377. package/dist/database/migration/20260812213948_worktree.js +1 -1
  378. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  379. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  380. package/dist/database/migration.gen.js +47 -47
  381. package/dist/database/migration.js +49 -49
  382. package/dist/database/path.js +2 -2
  383. package/dist/database/schema.gen.js +1 -1
  384. package/dist/database/schema.sql.js +1 -1
  385. package/dist/database/sqlite.bun.js +1 -1
  386. package/dist/database/sqlite.js +1 -1
  387. package/dist/database/sqlite.node.js +1 -1
  388. package/dist/database/sqlite.workerd.js +1 -1
  389. package/dist/database/v1-migration.bun.js +77 -77
  390. package/dist/database/v1-migration.js +1 -1
  391. package/dist/effect/app-node-builder.js +359 -359
  392. package/dist/effect/app-node-platform.js +2 -2
  393. package/dist/effect/keyed-mutex.js +1 -1
  394. package/dist/effect/websocket-constructor.js +1 -1
  395. package/dist/environment/driver.js +1 -1
  396. package/dist/environment/environment.js +88 -88
  397. package/dist/environment/exec-defaults.js +2 -2
  398. package/dist/environment/files.js +1 -1
  399. package/dist/environment/index.js +88 -88
  400. package/dist/environment/local.js +2 -2
  401. package/dist/environment/memory.js +2 -2
  402. package/dist/environment/unavailable.js +1 -1
  403. package/dist/event/sql.js +1 -1
  404. package/dist/event-logger.js +72 -72
  405. package/dist/file-mutation.js +89 -89
  406. package/dist/file-retention.js +1 -1
  407. package/dist/file.js +1 -1
  408. package/dist/filesystem/fff.bun.js +2 -2
  409. package/dist/filesystem/fff.js +1 -1
  410. package/dist/filesystem/fff.node.js +2 -2
  411. package/dist/filesystem/fff.workerd.js +2 -2
  412. package/dist/filesystem/ignore.js +1 -1
  413. package/dist/filesystem/location-watcher-policy.js +6 -6
  414. package/dist/filesystem/location-watcher.js +215 -215
  415. package/dist/filesystem/protected.js +1 -1
  416. package/dist/filesystem/search.js +99 -99
  417. package/dist/filesystem/watcher-binding.js +1 -1
  418. package/dist/filesystem/watcher.js +15 -15
  419. package/dist/filesystem.js +96 -96
  420. package/dist/form.js +82 -82
  421. package/dist/formatter/builtins.js +4 -4
  422. package/dist/formatter.js +82 -82
  423. package/dist/generate.js +91 -91
  424. package/dist/git.js +7 -7
  425. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  426. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  427. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  428. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  429. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  431. package/dist/github-copilot/copilot-provider.js +17 -17
  432. package/dist/github-copilot/models.js +3 -3
  433. package/dist/github-copilot/openai-compatible-error.js +1 -1
  434. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  435. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  436. package/dist/github-copilot/responses/openai-error.js +1 -1
  437. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  438. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  439. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  440. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  441. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  442. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  443. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  444. package/dist/id/id.js +1 -1
  445. package/dist/image/photon.js +2 -2
  446. package/dist/image.js +6 -6
  447. package/dist/instance/service.js +5 -5
  448. package/dist/instance.js +350 -350
  449. package/dist/instruction-discovery.js +83 -83
  450. package/dist/instructions/builtins.js +82 -82
  451. package/dist/instructions/index.js +3 -3
  452. package/dist/integration/connection.js +1 -1
  453. package/dist/integration.js +84 -84
  454. package/dist/job.js +77 -77
  455. package/dist/kv/sql.js +2 -2
  456. package/dist/kv.js +71 -71
  457. package/dist/location-activity.js +130 -130
  458. package/dist/location-mutation.js +81 -81
  459. package/dist/location-service-map.js +81 -81
  460. package/dist/location-services.js +347 -347
  461. package/dist/location.js +84 -84
  462. package/dist/mcp/client.js +86 -86
  463. package/dist/mcp/index.js +101 -101
  464. package/dist/mcp/instructions.js +117 -117
  465. package/dist/mcp/oauth.js +3 -3
  466. package/dist/mcp/stdio.js +85 -85
  467. package/dist/mime.js +1 -1
  468. package/dist/modal/models.js +3 -3
  469. package/dist/model-resolver.js +86 -86
  470. package/dist/model.js +8 -8
  471. package/dist/models-dev.js +86 -86
  472. package/dist/oauth/page.js +1 -1
  473. package/dist/permission/saved.js +76 -76
  474. package/dist/permission/sql.js +5 -5
  475. package/dist/permission.js +97 -97
  476. package/dist/persistent-pty/binary.bun.js +1 -1
  477. package/dist/persistent-pty/daemon.js +1 -1
  478. package/dist/persistent-pty/index.js +84 -84
  479. package/dist/persistent-pty/pty-binding.js +1 -1
  480. package/dist/persistent-pty.js +73 -73
  481. package/dist/plugin/agent.js +96 -96
  482. package/dist/plugin/command.js +94 -94
  483. package/dist/plugin/hooks.js +5 -5
  484. package/dist/plugin/host.js +212 -212
  485. package/dist/plugin/instance.js +5 -5
  486. package/dist/plugin/internal.js +321 -321
  487. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  488. package/dist/plugin/models-dev.js +75 -75
  489. package/dist/plugin/module.js +7 -7
  490. package/dist/plugin/optimize.js +4 -4
  491. package/dist/plugin/plan.js +96 -96
  492. package/dist/plugin/promise.js +1 -1
  493. package/dist/plugin/provider/alibaba.js +2 -2
  494. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  495. package/dist/plugin/provider/anthropic.js +2 -2
  496. package/dist/plugin/provider/azure.js +118 -118
  497. package/dist/plugin/provider/cerebras.js +2 -2
  498. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  499. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  500. package/dist/plugin/provider/cohere.js +2 -2
  501. package/dist/plugin/provider/configured.js +114 -114
  502. package/dist/plugin/provider/dynamic.js +2 -2
  503. package/dist/plugin/provider/factory.js +1 -1
  504. package/dist/plugin/provider/gateway.js +2 -2
  505. package/dist/plugin/provider/github-copilot.js +80 -80
  506. package/dist/plugin/provider/gitlab.js +3 -3
  507. package/dist/plugin/provider/google-vertex.js +2 -2
  508. package/dist/plugin/provider/kilo.js +2 -2
  509. package/dist/plugin/provider/llmgateway.js +76 -76
  510. package/dist/plugin/provider/lmstudio.js +117 -117
  511. package/dist/plugin/provider/mistral.js +2 -2
  512. package/dist/plugin/provider/modal.js +79 -79
  513. package/dist/plugin/provider/nvidia.js +2 -2
  514. package/dist/plugin/provider/ollama.js +117 -117
  515. package/dist/plugin/provider/openai-compatible.js +1 -1
  516. package/dist/plugin/provider/openai.js +80 -80
  517. package/dist/plugin/provider/opencode.js +76 -76
  518. package/dist/plugin/provider/openrouter.js +3 -3
  519. package/dist/plugin/provider/perplexity.js +2 -2
  520. package/dist/plugin/provider/sap-ai-core.js +3 -3
  521. package/dist/plugin/provider/sdk-factory.js +1 -1
  522. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  523. package/dist/plugin/provider/venice.js +2 -2
  524. package/dist/plugin/provider/vercel.js +2 -2
  525. package/dist/plugin/provider/vllm.js +117 -117
  526. package/dist/plugin/provider/xai.js +77 -77
  527. package/dist/plugin/provider/zenmux.js +2 -2
  528. package/dist/plugin/provider.js +155 -155
  529. package/dist/plugin/sdk.js +74 -74
  530. package/dist/plugin/service.js +3 -3
  531. package/dist/plugin/skill.js +130 -130
  532. package/dist/plugin/source-directory.js +1 -1
  533. package/dist/plugin/supervisor.js +340 -340
  534. package/dist/plugin/update.js +6 -6
  535. package/dist/plugin/variant.js +4 -4
  536. package/dist/plugin/vcs/git.js +82 -82
  537. package/dist/plugin/vcs/hg.js +82 -82
  538. package/dist/plugin/warming.js +112 -112
  539. package/dist/plugin/websearch/exa.js +3 -3
  540. package/dist/plugin/websearch/firecrawl.js +4 -4
  541. package/dist/plugin/websearch/index.js +8 -8
  542. package/dist/plugin/websearch/mcp.js +2 -2
  543. package/dist/plugin/websearch/parallel.js +4 -4
  544. package/dist/plugin/websearch/tavily.js +4 -4
  545. package/dist/plugin.js +223 -223
  546. package/dist/project/schema.js +8 -8
  547. package/dist/project/sql.js +4 -4
  548. package/dist/project.js +83 -83
  549. package/dist/provider.js +1 -1
  550. package/dist/pty/protocol.js +1 -1
  551. package/dist/pty/schema.js +3 -3
  552. package/dist/pty/ticket.js +1 -1
  553. package/dist/pty.js +94 -94
  554. package/dist/reference/instructions.js +84 -84
  555. package/dist/reference.js +84 -84
  556. package/dist/repository-cache.js +76 -76
  557. package/dist/repository.js +1 -1
  558. package/dist/ripgrep/binary.js +2 -2
  559. package/dist/ripgrep.js +93 -93
  560. package/dist/rpc.js +81 -81
  561. package/dist/schema.js +1 -1
  562. package/dist/session/command.js +72 -72
  563. package/dist/session/compaction.js +128 -128
  564. package/dist/session/context.js +146 -146
  565. package/dist/session/environment.js +5 -5
  566. package/dist/session/error.js +5 -5
  567. package/dist/session/event.js +1 -1
  568. package/dist/session/execution/restart.js +218 -218
  569. package/dist/session/execution.js +123 -123
  570. package/dist/session/generate.js +147 -147
  571. package/dist/session/history.js +12 -12
  572. package/dist/session/inbox.js +86 -86
  573. package/dist/session/info.js +3 -3
  574. package/dist/session/instruction-entry.js +77 -77
  575. package/dist/session/instruction-state.js +8 -8
  576. package/dist/session/instructions.js +91 -91
  577. package/dist/session/message-updater.js +2 -2
  578. package/dist/session/message.js +1 -1
  579. package/dist/session/model-request.js +112 -112
  580. package/dist/session/model-transport.js +9 -9
  581. package/dist/session/move.js +125 -125
  582. package/dist/session/projector.js +84 -84
  583. package/dist/session/prompt.js +99 -99
  584. package/dist/session/revert.js +85 -85
  585. package/dist/session/run-coordinator.js +3 -3
  586. package/dist/session/runner/index.js +3 -3
  587. package/dist/session/runner/llm.js +224 -224
  588. package/dist/session/runner/max-steps.js +1 -1
  589. package/dist/session/runner/model.js +86 -86
  590. package/dist/session/runner/publish-llm-event.js +3 -3
  591. package/dist/session/runner/retry.js +4 -4
  592. package/dist/session/runner/step.js +120 -120
  593. package/dist/session/runner/to-llm-message.js +1 -1
  594. package/dist/session/schema.js +5 -5
  595. package/dist/session/session.js +168 -168
  596. package/dist/session/shell.js +131 -131
  597. package/dist/session/skill.js +97 -97
  598. package/dist/session/sql.js +5 -5
  599. package/dist/session/stats.js +73 -73
  600. package/dist/session/store.js +84 -84
  601. package/dist/session/subagent-completion.js +1 -1
  602. package/dist/session/subagent-job.js +204 -204
  603. package/dist/session/system-prompt.js +3 -3
  604. package/dist/session/title.js +150 -150
  605. package/dist/session/to-session-error.js +106 -106
  606. package/dist/session/transfer.js +217 -217
  607. package/dist/session/usage.js +1 -1
  608. package/dist/session.js +210 -210
  609. package/dist/shell/parse.js +6 -6
  610. package/dist/shell/result.js +1 -1
  611. package/dist/shell/scan.js +1 -1
  612. package/dist/shell/select.js +9 -9
  613. package/dist/shell.js +133 -133
  614. package/dist/skill/discovery.js +6 -6
  615. package/dist/skill/instructions.js +101 -101
  616. package/dist/skill.js +106 -106
  617. package/dist/snapshot.js +88 -88
  618. package/dist/state.js +1 -1
  619. package/dist/tool/html-markdown.js +1 -1
  620. package/dist/tool/http-body.js +1 -1
  621. package/dist/tool/mcp.js +116 -116
  622. package/dist/tool/plugin/edit.js +114 -114
  623. package/dist/tool/plugin/file-diff.js +1 -1
  624. package/dist/tool/plugin/glob.js +119 -119
  625. package/dist/tool/plugin/grep.js +113 -113
  626. package/dist/tool/plugin/opencode.js +3 -3
  627. package/dist/tool/plugin/patch.js +116 -116
  628. package/dist/tool/plugin/question.js +99 -99
  629. package/dist/tool/plugin/read.js +120 -120
  630. package/dist/tool/plugin/shell.js +209 -209
  631. package/dist/tool/plugin/skill.js +99 -99
  632. package/dist/tool/plugin/subagent.js +211 -211
  633. package/dist/tool/plugin/webfetch.js +104 -104
  634. package/dist/tool/plugin/websearch.js +106 -106
  635. package/dist/tool/plugin/write.js +114 -114
  636. package/dist/tool/read-filesystem.js +96 -96
  637. package/dist/tool/runtime.js +1 -1
  638. package/dist/tool-output.js +8 -8
  639. package/dist/tool.js +13 -13
  640. package/dist/util/error-summary.js +1 -1
  641. package/dist/util/error.js +1 -1
  642. package/dist/util/iife.js +1 -1
  643. package/dist/util/lazy.js +1 -1
  644. package/dist/util/slug.js +1 -1
  645. package/dist/util/token.js +1 -1
  646. package/dist/util/which.js +1 -1
  647. package/dist/util/wildcard.js +1 -1
  648. package/dist/v1/config/agent.js +5 -5
  649. package/dist/v1/config/attachment.js +4 -4
  650. package/dist/v1/config/command.js +5 -5
  651. package/dist/v1/config/config.js +16 -16
  652. package/dist/v1/config/error.js +2 -2
  653. package/dist/v1/config/formatter.js +5 -5
  654. package/dist/v1/config/layout.js +1 -1
  655. package/dist/v1/config/lsp.js +5 -5
  656. package/dist/v1/config/mcp.js +4 -4
  657. package/dist/v1/config/migrate.js +4 -4
  658. package/dist/v1/config/permission.js +3 -3
  659. package/dist/v1/config/plugin.js +3 -3
  660. package/dist/v1/config/provider-options.js +1 -1
  661. package/dist/v1/config/provider.js +4 -4
  662. package/dist/v1/config/server.js +2 -2
  663. package/dist/v1/config/skills.js +3 -3
  664. package/dist/v1/permission.js +1 -1
  665. package/dist/vcs/patch.js +1 -1
  666. package/dist/vcs.js +85 -85
  667. package/dist/websearch.js +82 -82
  668. package/dist/wellknown/plugin.js +74 -74
  669. package/dist/wellknown.js +79 -79
  670. package/dist/workspace/driver.js +7 -7
  671. package/dist/workspace/sql.js +1 -1
  672. package/dist/workspace.js +78 -78
  673. package/dist/worktree/directory.js +2 -2
  674. package/dist/worktree/git.js +5 -5
  675. package/dist/worktree/refresh.js +339 -339
  676. package/dist/worktree/sql.js +5 -5
  677. package/dist/worktree.js +91 -91
  678. package/package.json +7 -7
  679. package/dist/chunks/job-n95b3jav.js +0 -18
  680. package/dist/chunks/job-w3vb4krt.js +0 -4
  681. package/dist/chunks/job-z7g6mnwh.js +0 -247
  682. /package/dist/chunks/{job-0fabt78z.js → file-0fabt78z.js} +0 -0
  683. /package/dist/chunks/{job-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
  684. /package/dist/chunks/{job-0zkw76rk.js → file-0zkw76rk.js} +0 -0
  685. /package/dist/chunks/{job-17cy0kzp.js → file-17cy0kzp.js} +0 -0
  686. /package/dist/chunks/{job-1cnp2v09.js → file-1cnp2v09.js} +0 -0
  687. /package/dist/chunks/{job-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
  688. /package/dist/chunks/{job-2710q6r3.js → file-2710q6r3.js} +0 -0
  689. /package/dist/chunks/{job-2axfhc9x.js → file-2axfhc9x.js} +0 -0
  690. /package/dist/chunks/{job-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
  691. /package/dist/chunks/{job-359p4xyc.js → file-359p4xyc.js} +0 -0
  692. /package/dist/chunks/{job-3asan66x.js → file-3asan66x.js} +0 -0
  693. /package/dist/chunks/{job-3t738kvx.js → file-3t738kvx.js} +0 -0
  694. /package/dist/chunks/{job-3v8g72cx.js → file-3v8g72cx.js} +0 -0
  695. /package/dist/chunks/{job-3wcehsnq.js → file-3wcehsnq.js} +0 -0
  696. /package/dist/chunks/{job-41nvscxy.js → file-41nvscxy.js} +0 -0
  697. /package/dist/chunks/{job-43n2bw4t.js → file-43n2bw4t.js} +0 -0
  698. /package/dist/chunks/{job-4knz6hnm.js → file-4knz6hnm.js} +0 -0
  699. /package/dist/chunks/{job-4y7fprxs.js → file-4y7fprxs.js} +0 -0
  700. /package/dist/chunks/{job-53557ph1.js → file-53557ph1.js} +0 -0
  701. /package/dist/chunks/{job-550bvhaj.js → file-550bvhaj.js} +0 -0
  702. /package/dist/chunks/{job-6prwharc.js → file-6prwharc.js} +0 -0
  703. /package/dist/chunks/{job-7akdwqpd.js → file-7akdwqpd.js} +0 -0
  704. /package/dist/chunks/{job-7m9af43g.js → file-7m9af43g.js} +0 -0
  705. /package/dist/chunks/{job-822emrt2.js → file-822emrt2.js} +0 -0
  706. /package/dist/chunks/{job-88xbtdfr.js → file-88xbtdfr.js} +0 -0
  707. /package/dist/chunks/{job-8n3pysct.js → file-8n3pysct.js} +0 -0
  708. /package/dist/chunks/{job-982e01ww.js → file-982e01ww.js} +0 -0
  709. /package/dist/chunks/{job-9a4afbnw.js → file-9a4afbnw.js} +0 -0
  710. /package/dist/chunks/{job-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
  711. /package/dist/chunks/{job-a1tpkmh4.js → file-a1tpkmh4.js} +0 -0
  712. /package/dist/chunks/{job-af5trqkr.js → file-af5trqkr.js} +0 -0
  713. /package/dist/chunks/{job-afrmfg78.js → file-afrmfg78.js} +0 -0
  714. /package/dist/chunks/{job-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
  715. /package/dist/chunks/{job-atq7p7m5.js → file-atq7p7m5.js} +0 -0
  716. /package/dist/chunks/{job-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
  717. /package/dist/chunks/{job-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
  718. /package/dist/chunks/{job-cf4snx6d.js → file-cf4snx6d.js} +0 -0
  719. /package/dist/chunks/{job-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
  720. /package/dist/chunks/{job-d9fn303g.js → file-d9fn303g.js} +0 -0
  721. /package/dist/chunks/{job-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
  722. /package/dist/chunks/{job-dajrwvna.js → file-dajrwvna.js} +0 -0
  723. /package/dist/chunks/{job-dap0rakb.js → file-dap0rakb.js} +0 -0
  724. /package/dist/chunks/{job-df08tz66.js → file-df08tz66.js} +0 -0
  725. /package/dist/chunks/{job-dy18nga0.js → file-dy18nga0.js} +0 -0
  726. /package/dist/chunks/{job-e5kj55wp.js → file-e5kj55wp.js} +0 -0
  727. /package/dist/chunks/{job-e73j6tqm.js → file-e73j6tqm.js} +0 -0
  728. /package/dist/chunks/{job-eh3zwz77.js → file-eh3zwz77.js} +0 -0
  729. /package/dist/chunks/{job-emrn6kk6.js → file-emrn6kk6.js} +0 -0
  730. /package/dist/chunks/{job-f0mxakyp.js → file-f0mxakyp.js} +0 -0
  731. /package/dist/chunks/{job-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
  732. /package/dist/chunks/{job-faypxj3z.js → file-faypxj3z.js} +0 -0
  733. /package/dist/chunks/{job-fd410y7t.js → file-fd410y7t.js} +0 -0
  734. /package/dist/chunks/{job-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
  735. /package/dist/chunks/{job-g4wezp1m.js → file-g4wezp1m.js} +0 -0
  736. /package/dist/chunks/{job-g86h250q.js → file-g86h250q.js} +0 -0
  737. /package/dist/chunks/{job-gebd4c9n.js → file-gebd4c9n.js} +0 -0
  738. /package/dist/chunks/{job-hk9envan.js → file-hk9envan.js} +0 -0
  739. /package/dist/chunks/{job-j2ntwpah.js → file-j2ntwpah.js} +0 -0
  740. /package/dist/chunks/{job-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
  741. /package/dist/chunks/{job-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
  742. /package/dist/chunks/{job-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
  743. /package/dist/chunks/{job-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
  744. /package/dist/chunks/{job-mntxs535.js → file-mntxs535.js} +0 -0
  745. /package/dist/chunks/{job-mp448xyj.js → file-mp448xyj.js} +0 -0
  746. /package/dist/chunks/{job-msx8hqn2.js → file-msx8hqn2.js} +0 -0
  747. /package/dist/chunks/{job-n05xt0ee.js → file-n05xt0ee.js} +0 -0
  748. /package/dist/chunks/{job-n3j8tn72.js → file-n3j8tn72.js} +0 -0
  749. /package/dist/chunks/{job-njntx4h6.js → file-njntx4h6.js} +0 -0
  750. /package/dist/chunks/{job-p8qxwesx.js → file-p8qxwesx.js} +0 -0
  751. /package/dist/chunks/{job-paphc93g.js → file-paphc93g.js} +0 -0
  752. /package/dist/chunks/{job-q3sfg36h.js → file-q3sfg36h.js} +0 -0
  753. /package/dist/chunks/{job-q74kybfr.js → file-q74kybfr.js} +0 -0
  754. /package/dist/chunks/{job-qaymkmh1.js → file-qaymkmh1.js} +0 -0
  755. /package/dist/chunks/{job-qb87gjwd.js → file-qb87gjwd.js} +0 -0
  756. /package/dist/chunks/{job-qfa1cgps.js → file-qfa1cgps.js} +0 -0
  757. /package/dist/chunks/{job-qrg20bc0.js → file-qrg20bc0.js} +0 -0
  758. /package/dist/chunks/{job-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
  759. /package/dist/chunks/{job-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
  760. /package/dist/chunks/{job-se0s1eqw.js → file-se0s1eqw.js} +0 -0
  761. /package/dist/chunks/{job-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
  762. /package/dist/chunks/{job-ssg3fenm.js → file-ssg3fenm.js} +0 -0
  763. /package/dist/chunks/{job-twg0f83k.js → file-twg0f83k.js} +0 -0
  764. /package/dist/chunks/{job-w803qqfp.js → file-w803qqfp.js} +0 -0
  765. /package/dist/chunks/{job-wer8tq1h.js → file-wer8tq1h.js} +0 -0
  766. /package/dist/chunks/{job-wtztk69x.js → file-wtztk69x.js} +0 -0
  767. /package/dist/chunks/{job-x0ckcb58.js → file-x0ckcb58.js} +0 -0
  768. /package/dist/chunks/{job-x1b8g1yb.js → file-x1b8g1yb.js} +0 -0
  769. /package/dist/chunks/{job-x61499pn.js → file-x61499pn.js} +0 -0
  770. /package/dist/chunks/{job-y44na4kk.js → file-y44na4kk.js} +0 -0
  771. /package/dist/chunks/{job-y8cydn3q.js → file-y8cydn3q.js} +0 -0
  772. /package/dist/chunks/{job-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
  773. /package/dist/chunks/{job-z9919s4g.js → file-z9919s4g.js} +0 -0
  774. /package/dist/chunks/{job-zbjnn3ac.js → file-zbjnn3ac.js} +0 -0
@@ -5,44 +5,44 @@ import {
5
5
  loadPackage2,
6
6
  mergeOverlay2,
7
7
  mergeHeaders2
8
- } from "./job-52bfwkce.js";
8
+ } from "./file-52bfwkce.js";
9
9
  import {
10
- Service74,
11
- node79
12
- } from "./job-29y2fmhm.js";
10
+ Service63,
11
+ node67
12
+ } from "./file-r528y2ap.js";
13
13
  import {
14
14
  map2
15
- } from "./job-vnzc40bj.js";
15
+ } from "./file-vnzc40bj.js";
16
16
  import {
17
- ID17,
17
+ ID11,
18
18
  VariantID2,
19
- Ref4
20
- } from "./job-fkcyqnbs.js";
19
+ Ref2
20
+ } from "./file-9qnjdkjv.js";
21
21
  import {
22
- ID14,
23
- Service76,
24
- node81
25
- } from "./job-s604mysz.js";
22
+ ID12,
23
+ Service64,
24
+ node68
25
+ } from "./file-7d289b1g.js";
26
26
  import {
27
- Service75,
28
- node80
29
- } from "./job-kp9qc20g.js";
27
+ Service62,
28
+ node66
29
+ } from "./file-5f95ff4q.js";
30
30
  import {
31
31
  __export
32
- } from "./job-9rqn6x4v.js";
32
+ } from "./file-9rqn6x4v.js";
33
33
 
34
34
  // src/model-resolver.ts
35
35
  var exports_model_resolver = {};
36
36
  __export(exports_model_resolver, {
37
37
  ModelResolver: () => exports_model_resolver,
38
- Service: () => Service73,
38
+ Service: () => Service61,
39
39
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
40
40
  UnsupportedPackageError: () => UnsupportedPackageError3,
41
41
  VariantUnavailableError: () => VariantUnavailableError3,
42
42
  fromCatalogModel: () => fromCatalogModel2,
43
43
  hasPackage: () => hasPackage2,
44
- layer: () => layer24,
45
- node: () => node78,
44
+ layer: () => layer22,
45
+ node: () => node65,
46
46
  resolveModel: () => resolveModel2,
47
47
  withVariant: () => withVariant2
48
48
  });
@@ -53,7 +53,7 @@ import { Context, Effect, Layer, Schema, Struct } from "effect";
53
53
  import { Npm } from "@opencode-ai/util/npm";
54
54
  class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
55
55
  providerID: ID18,
56
- modelID: ID17,
56
+ modelID: ID11,
57
57
  variant: VariantID2
58
58
  }) {
59
59
  get message() {
@@ -63,7 +63,7 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
63
63
 
64
64
  class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
65
65
  providerID: ID18,
66
- modelID: ID17,
66
+ modelID: ID11,
67
67
  package: Schema.String
68
68
  }) {
69
69
  get message() {
@@ -73,7 +73,7 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
73
73
 
74
74
  class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
75
75
  providerID: ID18,
76
- modelID: ID17,
76
+ modelID: ID11,
77
77
  variables: Schema.Array(Schema.String)
78
78
  }) {
79
79
  get message() {
@@ -81,7 +81,7 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
81
81
  }
82
82
  }
83
83
 
84
- class Service73 extends Context.Service()("@opencode/ModelResolver") {
84
+ class Service61 extends Context.Service()("@opencode/ModelResolver") {
85
85
  }
86
86
  var withVariant2 = (model, variantID) => {
87
87
  const id = variantID === "default" ? undefined : variantID;
@@ -203,14 +203,14 @@ var unsupported = (model) => new UnsupportedPackageError3({
203
203
  });
204
204
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
205
205
  var hasPackage2 = (model) => Boolean(model.package);
206
- var layer24 = Layer.effect(Service73, Effect.gen(function* () {
207
- const catalog = yield* Service75;
208
- const integrations = yield* Service76;
206
+ var layer22 = Layer.effect(Service61, Effect.gen(function* () {
207
+ const catalog = yield* Service62;
208
+ const integrations = yield* Service64;
209
209
  const npm = yield* Npm.Service;
210
- const aisdk = yield* Service74;
210
+ const aisdk = yield* Service63;
211
211
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
212
212
  const provider = yield* catalog.provider.get(selected.providerID);
213
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
213
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID12.make(selected.providerID));
214
214
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
215
215
  const runtimeInfo = yield* withVariant2(selected, variant);
216
216
  const model = yield* fromCatalogModel2(runtimeInfo, credential, {
@@ -220,7 +220,7 @@ var layer24 = Layer.effect(Service73, Effect.gen(function* () {
220
220
  const runtime = provider?.activation === "enabled" && credential === undefined && !hasConfiguredAuth(runtimeInfo) && usesAPIKeyAuth(runtimeInfo.package) ? LanguageModel.update(model, { route: model.route.with({ auth: Auth.none }) }) : model;
221
221
  return {
222
222
  model: runtime,
223
- ref: Ref4.make({
223
+ ref: Ref2.make({
224
224
  id: selected.id,
225
225
  providerID: selected.providerID,
226
226
  ...variant === undefined ? {} : { variant }
@@ -230,7 +230,7 @@ var layer24 = Layer.effect(Service73, Effect.gen(function* () {
230
230
  limit: selected.limit
231
231
  };
232
232
  });
233
- return Service73.of({
233
+ return Service61.of({
234
234
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
235
235
  const selected = requested ? yield* catalog.model.get(requested.providerID, requested.id) : yield* catalog.model.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(catalog.model.available(), (models) => models.find(hasPackage2))));
236
236
  if (!selected)
@@ -247,10 +247,10 @@ function usesAPIKeyAuth(packageName) {
247
247
  const name = packageName2(packageName);
248
248
  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/ai/providers/openai" || name?.startsWith("@opencode-ai/ai/providers/openai/") === true || name === "@opencode-ai/ai/providers/anthropic" || name === "@opencode-ai/ai/providers/anthropic-compatible" || name === "@opencode-ai/ai/providers/baseten" || name === "@opencode-ai/ai/providers/cerebras" || name === "@opencode-ai/ai/providers/cloudflare-ai-gateway" || name === "@opencode-ai/ai/providers/cloudflare-workers-ai" || name === "@opencode-ai/ai/providers/deepinfra" || name === "@opencode-ai/ai/providers/deepseek" || name === "@opencode-ai/ai/providers/fireworks" || name === "@opencode-ai/ai/providers/openai-compatible" || name === "@opencode-ai/ai/providers/google" || name === "@opencode-ai/ai/providers/groq" || name === "@opencode-ai/ai/providers/mistral" || name === "@opencode-ai/ai/providers/togetherai" || name === "@opencode-ai/ai/providers/xai" || name === "@opencode-ai/ai/providers/openrouter" || name === "@opencode-ai/ai/providers/azure" || name?.startsWith("@opencode-ai/ai/providers/azure/") === true;
249
249
  }
250
- var node78 = makeLocationNode({
251
- service: Service73,
252
- layer: layer24,
253
- deps: [node80, node81, Npm.node, node79]
250
+ var node65 = makeLocationNode({
251
+ service: Service61,
252
+ layer: layer22,
253
+ deps: [node66, node68, Npm.node, node67]
254
254
  });
255
255
 
256
- export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, Service73, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node78, exports_model_resolver };
256
+ export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, Service61, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer22, node65, exports_model_resolver };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  loadSDKFactory2
3
- } from "./job-x1b8g1yb.js";
3
+ } from "./file-x1b8g1yb.js";
4
4
 
5
5
  // src/plugin/provider/dynamic.ts
6
6
  import { Effect } from "effect";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./job-p8qxwesx.js";
4
+ } from "./file-p8qxwesx.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./job-y71avatq.js";
7
+ } from "./file-y71avatq.js";
8
8
  import {
9
9
  __export
10
- } from "./job-9rqn6x4v.js";
10
+ } from "./file-9rqn6x4v.js";
11
11
 
12
12
  // src/git.ts
13
13
  var exports_git3 = {};
@@ -15,11 +15,11 @@ __export(exports_git3, {
15
15
  Git: () => exports_git3,
16
16
  OperationError: () => OperationError3,
17
17
  Repository: () => Repository2,
18
- Service: () => Service70,
18
+ Service: () => Service74,
19
19
  TreeID: () => TreeID2,
20
20
  Worktree: () => Worktree2,
21
21
  WorktreeError: () => WorktreeError2,
22
- node: () => node75
22
+ node: () => node79
23
23
  });
24
24
  import path from "path";
25
25
  import { Context, Effect, Layer, Schema } from "effect";
@@ -85,9 +85,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
85
85
  }) {
86
86
  }
87
87
 
88
- class Service70 extends Context.Service()("@opencode/Git") {
88
+ class Service74 extends Context.Service()("@opencode/Git") {
89
89
  }
90
- var layer = Layer.effect(Service70, Effect.gen(function* () {
90
+ var layer = Layer.effect(Service74, Effect.gen(function* () {
91
91
  const fs = yield* FSUtil.Service;
92
92
  const proc = yield* AppProcess.Service;
93
93
  const locks = makeUnsafe2();
@@ -409,7 +409,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
409
409
  kind: index === 0 ? "main" : "linked"
410
410
  }));
411
411
  });
412
- return Service70.of({
412
+ return Service74.of({
413
413
  repo: { discover, clone, create },
414
414
  remote: { get: remote },
415
415
  history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
@@ -425,7 +425,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
425
425
  }
426
426
  });
427
427
  }));
428
- var node75 = makeGlobalNode({ service: Service70, layer, deps: [FSUtil.node, AppProcess.node] });
428
+ var node79 = makeGlobalNode({ service: Service74, layer, deps: [FSUtil.node, AppProcess.node] });
429
429
  function run(cwd, proc, args) {
430
430
  return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
431
431
  }
@@ -450,4 +450,4 @@ function resolvePath(cwd, value) {
450
450
  return path.resolve(cwd, normalized);
451
451
  }
452
452
 
453
- export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service70, node75, exports_git3 };
453
+ export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service74, node79, exports_git3 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./job-9rqn6x4v.js";
3
+ } from "./file-9rqn6x4v.js";
4
4
 
5
5
  // src/session/system-prompt.ts
6
6
  var exports_system_prompt = {};
7
7
  __export(exports_system_prompt, {
8
8
  SessionSystemPrompt: () => exports_system_prompt,
9
9
  make: () => make14,
10
- render: () => render3
10
+ render: () => render2
11
11
  });
12
12
 
13
13
  // src/session/runner/prompt/system.txt
@@ -30,9 +30,9 @@ var system_default = `You are an AI agent powered by OpenCode, a coding agent ha
30
30
 
31
31
  // src/session/system-prompt.ts
32
32
  function make14(tools) {
33
- return render3(system_default, tools);
33
+ return render2(system_default, tools);
34
34
  }
35
- function render3(prompt, tools) {
35
+ function render2(prompt, tools) {
36
36
  const instructions = [];
37
37
  if (tools.includes("shell")) {
38
38
  instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
47
47
  `));
48
48
  }
49
49
 
50
- export { make14, render3, exports_system_prompt };
50
+ export { make14, render2, exports_system_prompt };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./job-p8qxwesx.js";
3
+ } from "./file-p8qxwesx.js";
4
4
  import {
5
- Service68
6
- } from "./job-fb135p40.js";
5
+ Service72
6
+ } from "./file-xdrtxdpg.js";
7
7
  import {
8
8
  externalDirectoryPermission2,
9
- Service22
10
- } from "./job-mgg6b1b0.js";
9
+ Service48
10
+ } from "./file-a6m8wy4f.js";
11
11
  import {
12
- Service58
13
- } from "./job-ye3yabn9.js";
12
+ Service57
13
+ } from "./file-ajc7k593.js";
14
14
  import {
15
- Service10
16
- } from "./job-jy46tkpa.js";
15
+ Service11
16
+ } from "./file-1j6fw132.js";
17
17
  import {
18
18
  NotFound2
19
- } from "./job-2a5m3afh.js";
19
+ } from "./file-2a5m3afh.js";
20
20
  import {
21
21
  MEDIA_MIMES2,
22
22
  BinaryFileError2,
@@ -27,26 +27,26 @@ import {
27
27
  FileContent2,
28
28
  TextPage2,
29
29
  ListPage2,
30
- Service8
31
- } from "./job-0j000hfr.js";
30
+ Service12
31
+ } from "./file-wfr7fczh.js";
32
32
  import {
33
33
  __export
34
- } from "./job-9rqn6x4v.js";
34
+ } from "./file-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/read.ts
37
37
  var exports_read = {};
38
38
  __export(exports_read, {
39
- Input: () => Input9,
40
- Plugin: () => Plugin40,
39
+ Input: () => Input3,
40
+ Plugin: () => Plugin34,
41
41
  ReadTool: () => exports_read,
42
- name: () => name9,
43
- toModelContent: () => toModelContent4
42
+ name: () => name3,
43
+ toModelContent: () => toModelContent3
44
44
  });
45
45
  import { basename, dirname, join } from "path";
46
46
  import { ToolFailure } from "@opencode-ai/ai";
47
47
  import { Effect, Schema } from "effect";
48
48
  import { FSUtil } from "@opencode-ai/util/fs-util";
49
- var name9 = "read";
49
+ var name3 = "read";
50
50
  var FILENAME = "AGENTS.md";
51
51
  var LocationInput = Schema.Struct({
52
52
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -57,22 +57,22 @@ var LocationInput = Schema.Struct({
57
57
  description: "The maximum number of lines or directory entries to read (defaults to 2000)"
58
58
  })
59
59
  });
60
- var Input9 = LocationInput;
60
+ var Input3 = LocationInput;
61
61
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
62
- var Plugin40 = {
62
+ var Plugin34 = {
63
63
  id: "opencode.tool.read",
64
64
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
65
- const reader = yield* Service8;
66
- const mutation = yield* Service22;
67
- const permission = yield* Service58;
68
- const sessionInstructions = yield* Service10;
65
+ const reader = yield* Service12;
66
+ const mutation = yield* Service48;
67
+ const permission = yield* Service57;
68
+ const sessionInstructions = yield* Service11;
69
69
  const fs = yield* FSUtil.Service;
70
- const location = yield* Service68;
70
+ const location = yield* Service72;
71
71
  yield* ctx.tool.transform((editor) => editor.add({
72
- name: name9,
72
+ name: name3,
73
73
  options: { codemode: false },
74
74
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
75
- input: Input9,
75
+ input: Input3,
76
76
  output: Output,
77
77
  execute: (input, context) => {
78
78
  return Effect.gen(function* () {
@@ -90,7 +90,7 @@ var Plugin40 = {
90
90
  source
91
91
  });
92
92
  yield* permission.assert({
93
- action: name9,
93
+ action: name3,
94
94
  resources: [target.resource],
95
95
  save: ["*"],
96
96
  sessionID: context.sessionID,
@@ -141,7 +141,7 @@ var Plugin40 = {
141
141
  return { output: result.content, path: result.path };
142
142
  }).pipe(Effect.map((result) => ({
143
143
  output: result.output,
144
- content: toModelContent4(result.path, input.offset, result.output),
144
+ content: toModelContent3(result.path, input.offset, result.output),
145
145
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
146
146
  })), Effect.mapError((error) => {
147
147
  if (error instanceof ToolFailure)
@@ -173,7 +173,7 @@ ${suggestions.join(`
173
173
  });
174
174
  })
175
175
  };
176
- var toModelContent4 = (path, offset, output) => {
176
+ var toModelContent3 = (path, offset, output) => {
177
177
  if (output.type === "file" && output.encoding === "base64")
178
178
  return [
179
179
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -208,4 +208,4 @@ var toModelContent4 = (path, offset, output) => {
208
208
  `);
209
209
  };
210
210
 
211
- export { name9, Input9, Plugin40, toModelContent4, exports_read };
211
+ export { name3, Input3, Plugin34, toModelContent3, exports_read };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./job-52bfwkce.js";
4
+ } from "./file-52bfwkce.js";
5
5
  import {
6
- ID17
7
- } from "./job-fkcyqnbs.js";
6
+ ID11
7
+ } from "./file-9qnjdkjv.js";
8
8
 
9
9
  // src/plugin/provider/openrouter.ts
10
10
  import { Effect } from "effect";
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
21
21
  evt.provider.update(item.provider.id, (provider) => {
22
22
  provider.headers = { ...provider.headers, "HTTP-Referer": "https://opencode.ai/", "X-Title": "opencode" };
23
23
  });
24
- for (const modelID of [ID17.make("gpt-5-chat-latest"), ID17.make("openai/gpt-5-chat")]) {
24
+ for (const modelID of [ID11.make("gpt-5-chat-latest"), ID11.make("openai/gpt-5-chat")]) {
25
25
  if (!item.models.has(modelID))
26
26
  continue;
27
27
  evt.model.update(item.provider.id, modelID, (model) => {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./job-se0s1eqw.js";
3
+ } from "./file-se0s1eqw.js";
4
4
 
5
5
  // src/plugin/provider/gateway.ts
6
6
  var GatewayPlugin2 = createProviderPlugin2({
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./job-y71avatq.js";
3
+ } from "./file-y71avatq.js";
4
4
  import {
5
- Service63,
6
- node66
7
- } from "./job-k4wwzjdh.js";
5
+ Service70,
6
+ node74
7
+ } from "./file-tymq08ss.js";
8
8
  import {
9
9
  __export
10
- } from "./job-9rqn6x4v.js";
10
+ } from "./file-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service25,
17
- node: () => node29,
16
+ Service: () => Service18,
17
+ node: () => node21,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode-ai/util/fs-util";
24
24
  import { Bom } from "@opencode-ai/util/bom";
25
- class Service25 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service18 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service25, Effect.gen(function* () {
38
- const environment = yield* Service63;
37
+ var layer = Layer.effect(Service18, Effect.gen(function* () {
38
+ const environment = yield* Service70;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service25.of({ withLock, write, writeTextPreservingBom });
59
+ return Service18.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node29 = makeLocationNode({ service: Service25, layer, deps: [node66] });
61
+ var node21 = makeLocationNode({ service: Service18, layer, deps: [node74] });
62
62
 
63
- export { Service25, readText2, syncTextBom2, node29, exports_file_mutation };
63
+ export { Service18, readText2, syncTextBom2, node21, exports_file_mutation };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./job-9rqn6x4v.js";
3
+ } from "./file-9rqn6x4v.js";
4
4
 
5
5
  // src/provider.ts
6
6
  var exports_provider3 = {};
@@ -2,7 +2,7 @@ import {
2
2
  SQLiteEffectPreparedQuery2,
3
3
  SQLiteEffectSession2,
4
4
  SQLiteEffectTransaction2
5
- } from "./job-mj4bzwnf.js";
5
+ } from "./file-e9bp071a.js";
6
6
 
7
7
  // src/database/drizzle/effect-sqlite/session.ts
8
8
  import * as Context from "effect/Context";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./job-9rqn6x4v.js";
3
+ } from "./file-9rqn6x4v.js";
4
4
 
5
5
  // src/config/markdown.ts
6
6
  var exports_markdown = {};
@@ -2,20 +2,20 @@ import {
2
2
  AgentNotFoundError2,
3
3
  StepFailedError2,
4
4
  UserInterruptedError2
5
- } from "./job-nrsmc0cn.js";
5
+ } from "./file-2j2akc50.js";
6
6
  import {
7
7
  BlockedError2
8
- } from "./job-ye3yabn9.js";
8
+ } from "./file-ajc7k593.js";
9
9
  import {
10
10
  AuthorizationError2
11
- } from "./job-s604mysz.js";
11
+ } from "./file-7d289b1g.js";
12
12
  import {
13
13
  ModelNotSelectedError2,
14
14
  ModelUnavailableError2,
15
15
  VariantUnavailableError2,
16
16
  UnsupportedPackageError2,
17
17
  UnresolvedProviderVariablesError2
18
- } from "./job-gfzbjyhz.js";
18
+ } from "./file-en1kwsfy.js";
19
19
 
20
20
  // src/session/to-session-error.ts
21
21
  import { AIError, ToolFailure } from "@opencode-ai/ai";
@@ -2,44 +2,44 @@ import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2,
4
4
  Info32
5
- } from "./job-52bfwkce.js";
5
+ } from "./file-52bfwkce.js";
6
6
  import {
7
- Info31
8
- } from "./job-fkcyqnbs.js";
7
+ Info23
8
+ } from "./file-9qnjdkjv.js";
9
9
  import {
10
- Service79,
11
- node84
12
- } from "./job-vkxy9tje.js";
10
+ Service76,
11
+ node81
12
+ } from "./file-7qhv6080.js";
13
13
  import {
14
14
  create3
15
- } from "./job-kg06axw8.js";
15
+ } from "./file-kg06axw8.js";
16
16
  import {
17
- ID14,
18
- Service76,
19
- node81
20
- } from "./job-s604mysz.js";
17
+ ID12,
18
+ Service64,
19
+ node68
20
+ } from "./file-7d289b1g.js";
21
21
  import {
22
22
  __export
23
- } from "./job-9rqn6x4v.js";
23
+ } from "./file-9rqn6x4v.js";
24
24
 
25
25
  // src/catalog.ts
26
26
  var exports_catalog2 = {};
27
27
  __export(exports_catalog2, {
28
28
  Catalog: () => exports_catalog2,
29
- Event: () => Event17,
30
- Service: () => Service75,
31
- node: () => node80
29
+ Event: () => Event15,
30
+ Service: () => Service62,
31
+ node: () => node66
32
32
  });
33
33
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
34
34
  import { Array, Context, Effect, Layer, Order, pipe } from "effect";
35
35
  import { Catalog } from "@opencode-ai/schema/catalog";
36
- import { Event as Event17 } from "@opencode-ai/schema/catalog";
36
+ import { Event as Event15 } from "@opencode-ai/schema/catalog";
37
37
 
38
- class Service75 extends Context.Service()("@opencode/Catalog") {
38
+ class Service62 extends Context.Service()("@opencode/Catalog") {
39
39
  }
40
- var layer = Layer.effect(Service75, Effect.gen(function* () {
41
- const bus = yield* Service79;
42
- const integrations = yield* Service76;
40
+ var layer = Layer.effect(Service62, Effect.gen(function* () {
41
+ const bus = yield* Service76;
42
+ const integrations = yield* Service64;
43
43
  const available = (provider, integration) => {
44
44
  if (provider.activation === "disabled")
45
45
  return false;
@@ -94,7 +94,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
94
94
  };
95
95
  editor.providers.set(providerID, record);
96
96
  }
97
- const model = record.models.get(modelID) ?? Info31.default(providerID, modelID);
97
+ const model = record.models.get(modelID) ?? Info23.default(providerID, modelID);
98
98
  if (!record.models.has(modelID))
99
99
  record.models.set(modelID, model);
100
100
  fn(model);
@@ -128,7 +128,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
128
128
  }),
129
129
  available: Effect.fn("Catalog.provider.available")(function* () {
130
130
  const active = new Map((yield* integrations.list()).map((integration) => [integration.id, integration]));
131
- return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID14.make(provider.id))));
131
+ return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID12.make(provider.id))));
132
132
  })
133
133
  },
134
134
  model: {
@@ -183,9 +183,9 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
183
183
  })
184
184
  }
185
185
  };
186
- return Service75.of(result);
186
+ return Service62.of(result);
187
187
  }));
188
188
  var SMALL_MODEL_FAMILY_PRIORITY = ["gpt-luna", "gemini-flash-lite", "gemini-flash", "claude-haiku"];
189
- var node80 = makeLocationNode({ service: Service75, layer, deps: [node84, node81] });
189
+ var node66 = makeLocationNode({ service: Service62, layer, deps: [node81, node68] });
190
190
 
191
- export { Service75, node80, exports_catalog2, Event17 };
191
+ export { Service62, node66, exports_catalog2, Event15 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./job-se0s1eqw.js";
3
+ } from "./file-se0s1eqw.js";
4
4
 
5
5
  // src/plugin/provider/cohere.ts
6
6
  var CoherePlugin2 = createProviderPlugin2({