@opencode-ai/core 0.0.0-dev-19163 → 0.0.0-dev-19167

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 +81 -81
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +4 -4
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{pty-4m423yy7.js → provider-03vfzkzq.js} +4 -4
  9. package/dist/chunks/{pty-daafe3cw.js → provider-0an26ms7.js} +24 -24
  10. package/dist/chunks/{pty-0e0xafbb.js → provider-0e0xafbb.js} +2 -2
  11. package/dist/chunks/{pty-qatzdmex.js → provider-0e2qvb29.js} +11 -11
  12. package/dist/chunks/{pty-8sjvb6k9.js → provider-0gfwxnmp.js} +4 -4
  13. package/dist/chunks/{pty-0paq2nw3.js → provider-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{pty-0s9ayhjt.js → provider-0s9ayhjt.js} +1 -1
  15. package/dist/chunks/{pty-aqf60yyg.js → provider-12fwxsz1.js} +11 -11
  16. package/dist/chunks/{pty-z9e33hn5.js → provider-13v61wc5.js} +11 -11
  17. package/dist/chunks/{pty-1ct4r87x.js → provider-1ct4r87x.js} +1 -1
  18. package/dist/chunks/{pty-dqffspr6.js → provider-1gdnynhy.js} +11 -11
  19. package/dist/chunks/{pty-htm1sggk.js → provider-1r2601w8.js} +16 -16
  20. package/dist/chunks/{pty-xvr7v4w4.js → provider-1sjs8vrb.js} +21 -21
  21. package/dist/chunks/{pty-xazv95zf.js → provider-1txwkh2f.js} +10 -10
  22. package/dist/chunks/{pty-dw29rff5.js → provider-1wwcepag.js} +27 -27
  23. package/dist/chunks/{pty-nyr9gh09.js → provider-1y3t3jga.js} +7 -7
  24. package/dist/chunks/{pty-m8a2ky82.js → provider-1yert1cs.js} +11 -11
  25. package/dist/chunks/{pty-21r38tys.js → provider-21r38tys.js} +1 -1
  26. package/dist/chunks/{pty-6h73sxmp.js → provider-2402vzrj.js} +5 -5
  27. package/dist/chunks/{pty-z63w68vq.js → provider-29x78va6.js} +6 -6
  28. package/dist/chunks/{pty-2a5m3afh.js → provider-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{pty-zn2pq4p8.js → provider-2ady357n.js} +5 -5
  30. package/dist/chunks/{pty-1a53kk3r.js → provider-2f9fbt2v.js} +8 -8
  31. package/dist/chunks/{pty-jkm93dg3.js → provider-2fg54z85.js} +3 -3
  32. package/dist/chunks/{pty-2ht70gj7.js → provider-2ht70gj7.js} +1 -1
  33. package/dist/chunks/{pty-6t4t7zkh.js → provider-2kst325v.js} +13 -13
  34. package/dist/chunks/{pty-8m98nkw1.js → provider-2mdyj6yh.js} +32 -32
  35. package/dist/chunks/{pty-1wjnnkdq.js → provider-2mrcrp87.js} +31 -31
  36. package/dist/chunks/{pty-ypf8xw7k.js → provider-2n1s0jqh.js} +4 -4
  37. package/dist/chunks/{pty-5k3f87xj.js → provider-2rcaaecz.js} +1 -1
  38. package/dist/chunks/{pty-n38qs1ar.js → provider-2rcn8zjb.js} +9 -9
  39. package/dist/chunks/{pty-jk2agv8z.js → provider-2x63360j.js} +3 -3
  40. package/dist/chunks/{pty-3fc6dm20.js → provider-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{pty-f1sefvse.js → provider-3gqntfgq.js} +17 -17
  42. package/dist/chunks/{pty-3hepkmqq.js → provider-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{pty-mq0gvw52.js → provider-3pmbcp29.js} +12 -12
  44. package/dist/chunks/{pty-3qzbfqsy.js → provider-3qzbfqsy.js} +2 -2
  45. package/dist/chunks/{pty-577kxxzn.js → provider-3rbjgaka.js} +8 -8
  46. package/dist/chunks/{pty-3smtnn6g.js → provider-3smtnn6g.js} +1 -1
  47. package/dist/chunks/{pty-3tvqynh2.js → provider-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{pty-711hfp6y.js → provider-3x6030n9.js} +2 -2
  49. package/dist/chunks/{pty-eb76gdww.js → provider-3zp16sz2.js} +22 -22
  50. package/dist/chunks/{pty-c8sxadgy.js → provider-4297rwmf.js} +19 -19
  51. package/dist/chunks/{pty-s3eqpch7.js → provider-42my878b.js} +1 -1
  52. package/dist/chunks/{pty-8vdjpmsk.js → provider-448mcdzf.js} +10 -10
  53. package/dist/chunks/{pty-dajeemk8.js → provider-44rmg5yj.js} +11 -11
  54. package/dist/chunks/{pty-454k5vzh.js → provider-454k5vzh.js} +1 -1
  55. package/dist/chunks/{pty-197cqqzc.js → provider-4dj65k8e.js} +7 -7
  56. package/dist/chunks/{pty-p4q7gpc5.js → provider-4n7667v4.js} +5 -5
  57. package/dist/chunks/{pty-4r2nyarf.js → provider-4r2nyarf.js} +1 -1
  58. package/dist/chunks/{pty-8r3ep68x.js → provider-52dgv1qd.js} +28 -28
  59. package/dist/chunks/{pty-hbgrn803.js → provider-56fdxhwp.js} +8 -8
  60. package/dist/chunks/{pty-n2srwrws.js → provider-5aegsqc7.js} +22 -22
  61. package/dist/chunks/{pty-5daktx2q.js → provider-5daktx2q.js} +1 -1
  62. package/dist/chunks/{pty-5fmxt4p5.js → provider-5fmxt4p5.js} +1 -1
  63. package/dist/chunks/{pty-0jhvtgy0.js → provider-5g2e3aap.js} +23 -23
  64. package/dist/chunks/{pty-24hac89k.js → provider-5h2h4z1f.js} +16 -16
  65. package/dist/chunks/{pty-79swe9gn.js → provider-5j6fg35e.js} +20 -20
  66. package/dist/chunks/{pty-5jvc5tg2.js → provider-5jvc5tg2.js} +1 -1
  67. package/dist/chunks/{pty-edj46y5c.js → provider-5mm0tfy6.js} +4 -4
  68. package/dist/chunks/{pty-qq0tkz6q.js → provider-5p910kp8.js} +3 -3
  69. package/dist/chunks/{pty-xgdp3zrt.js → provider-641qsbhy.js} +9 -9
  70. package/dist/chunks/{pty-ja7ysnjt.js → provider-659fgswj.js} +11 -11
  71. package/dist/chunks/{pty-g0nz2j4g.js → provider-671zgf57.js} +5 -5
  72. package/dist/chunks/{pty-7w74e5nf.js → provider-69j7xj95.js} +9 -9
  73. package/dist/chunks/{pty-mtcjf44p.js → provider-6e958v7x.js} +4 -4
  74. package/dist/chunks/{pty-3vk4r4y0.js → provider-6eedbjdx.js} +20 -20
  75. package/dist/chunks/{pty-mevw1mz1.js → provider-6g7pxxrt.js} +35 -35
  76. package/dist/chunks/{pty-f0v448q8.js → provider-6h5wf9jw.js} +5 -5
  77. package/dist/chunks/{pty-84hk3ncg.js → provider-6khe0rk5.js} +11 -11
  78. package/dist/chunks/{pty-72nftnjy.js → provider-72nftnjy.js} +2 -2
  79. package/dist/chunks/{pty-znvcphkc.js → provider-73nqhwcr.js} +4 -4
  80. package/dist/chunks/{pty-xqsy6kp0.js → provider-79xc10f4.js} +1 -1
  81. package/dist/chunks/{pty-7bmhse3q.js → provider-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{pty-0jwsre1p.js → provider-7dqw4kz8.js} +5 -5
  83. package/dist/chunks/{pty-6kqyta9q.js → provider-7e69hvtd.js} +46 -46
  84. package/dist/chunks/{pty-r59d39z4.js → provider-7ewed3mq.js} +15 -15
  85. package/dist/chunks/{pty-efcf8wyf.js → provider-7gaxprrm.js} +8 -8
  86. package/dist/chunks/{pty-hdjt7769.js → provider-7jjxgj4q.js} +28 -28
  87. package/dist/chunks/{pty-x8sc7ayy.js → provider-7jypvd16.js} +14 -14
  88. package/dist/chunks/{pty-rakype68.js → provider-7kpptg10.js} +1 -1
  89. package/dist/chunks/{pty-g41n1fn3.js → provider-7tfg2zmn.js} +5 -5
  90. package/dist/chunks/{pty-3z7ymfy8.js → provider-7tqf86yy.js} +7 -7
  91. package/dist/chunks/provider-7zk4hah4.js +4 -0
  92. package/dist/chunks/{pty-t2fc4mz5.js → provider-806j49yq.js} +4 -4
  93. package/dist/chunks/{pty-kk59jywv.js → provider-818qf5z9.js} +11 -11
  94. package/dist/chunks/{pty-96t26a3p.js → provider-853kgd97.js} +11 -11
  95. package/dist/chunks/{pty-vvqvsvmp.js → provider-87687fkt.js} +8 -8
  96. package/dist/chunks/{pty-9d4efts8.js → provider-892hb7ze.js} +5 -5
  97. package/dist/chunks/{pty-r6sc6mvs.js → provider-8g54fgwv.js} +282 -282
  98. package/dist/chunks/{pty-f3wdts17.js → provider-8gq481r1.js} +4 -4
  99. package/dist/chunks/{pty-w53v2v29.js → provider-8ztds29y.js} +81 -81
  100. package/dist/chunks/{pty-zt0ezf4m.js → provider-9be6zmap.js} +23 -23
  101. package/dist/chunks/{pty-424y433t.js → provider-9ety662n.js} +24 -24
  102. package/dist/chunks/{pty-emveyfrq.js → provider-9rrsjx5v.js} +21 -21
  103. package/dist/chunks/{pty-cd07jt91.js → provider-9zy34hsg.js} +12 -12
  104. package/dist/chunks/{pty-dr4sghex.js → provider-a2z678qc.js} +11 -11
  105. package/dist/chunks/{pty-4q10ewvh.js → provider-a4mp6cfj.js} +44 -44
  106. package/dist/chunks/{pty-aaet6srn.js → provider-aaet6srn.js} +2 -2
  107. package/dist/chunks/{pty-18m7380n.js → provider-affy9bjp.js} +10 -10
  108. package/dist/chunks/{pty-ry0tsm5j.js → provider-apngs9tj.js} +7 -7
  109. package/dist/chunks/{pty-v2yjmh4r.js → provider-b0hcp35g.js} +9 -9
  110. package/dist/chunks/{pty-mcxg6pmm.js → provider-b0z70ywn.js} +1 -1
  111. package/dist/chunks/{pty-95andwzg.js → provider-b13177gh.js} +34 -34
  112. package/dist/chunks/{pty-gm79ndkw.js → provider-b60kwn70.js} +47 -47
  113. package/dist/chunks/{pty-b6gygkdw.js → provider-b6gygkdw.js} +2 -2
  114. package/dist/chunks/{pty-np8tmzys.js → provider-b9rr2wfs.js} +15 -15
  115. package/dist/chunks/{pty-b9wsbatv.js → provider-b9wsbatv.js} +1 -1
  116. package/dist/chunks/{pty-14hw9dzz.js → provider-bd3tpn96.js} +25 -25
  117. package/dist/chunks/{pty-qkzfms5c.js → provider-bfhprby2.js} +4 -4
  118. package/dist/chunks/{pty-ps7vy79j.js → provider-bh14fpxk.js} +11 -11
  119. package/dist/chunks/{pty-bsvvsrn1.js → provider-bphmvjfp.js} +5 -5
  120. package/dist/chunks/{pty-rjszc2zh.js → provider-bq9d524y.js} +26 -26
  121. package/dist/chunks/{pty-yrzsrb4b.js → provider-cb182ger.js} +7 -7
  122. package/dist/chunks/{pty-c9xamxgt.js → provider-cgmv5ttt.js} +8 -8
  123. package/dist/chunks/{pty-x97dk724.js → provider-d3hfvarq.js} +20 -20
  124. package/dist/chunks/{pty-y0p5t1h8.js → provider-d8ecvvew.js} +17 -17
  125. package/dist/chunks/{pty-0ez61b8c.js → provider-de8s0qqs.js} +4 -2
  126. package/dist/chunks/{pty-bhg5kqfm.js → provider-dpfrdvp5.js} +14 -14
  127. package/dist/chunks/{pty-kmm37hgd.js → provider-dqarh4b4.js} +24 -24
  128. package/dist/chunks/{pty-xykes5tk.js → provider-dv4b3fh8.js} +64 -64
  129. package/dist/chunks/provider-dxj72tfx.js +18 -0
  130. package/dist/chunks/{pty-ysg26a53.js → provider-dy4ht7ys.js} +167 -167
  131. package/dist/chunks/{pty-zv0yd62f.js → provider-dzwkm0n0.js} +11 -11
  132. package/dist/chunks/{pty-rhmzvdhw.js → provider-e76cs59w.js} +8 -8
  133. package/dist/chunks/{pty-vknt59z3.js → provider-efwdxecf.js} +15 -15
  134. package/dist/chunks/{pty-czdk2zk8.js → provider-encf5598.js} +24 -24
  135. package/dist/chunks/{pty-wfk53g9c.js → provider-epazzsys.js} +11 -11
  136. package/dist/chunks/{pty-rkj48kta.js → provider-ess3gj99.js} +24 -24
  137. package/dist/chunks/{pty-7xskqjj7.js → provider-esv8q2ns.js} +29 -29
  138. package/dist/chunks/{pty-h7ywdgbk.js → provider-ey5akwsf.js} +33 -33
  139. package/dist/chunks/{pty-8f4vc4xx.js → provider-f4g7wt00.js} +12 -12
  140. package/dist/chunks/{pty-m98c39mt.js → provider-fdht7pma.js} +22 -22
  141. package/dist/chunks/{pty-gs214jzb.js → provider-ff9ttd4n.js} +26 -26
  142. package/dist/chunks/{pty-hspkxs5s.js → provider-fhmdyj6b.js} +2 -2
  143. package/dist/chunks/{pty-86s3977f.js → provider-fhvjqr7f.js} +1 -1
  144. package/dist/chunks/{pty-a8ez5wrk.js → provider-fryhykgw.js} +21 -21
  145. package/dist/chunks/{pty-fxbjtjnd.js → provider-fxbjtjnd.js} +1 -1
  146. package/dist/chunks/{pty-fxypknc8.js → provider-fxypknc8.js} +1 -1
  147. package/dist/chunks/{pty-1n116cmy.js → provider-g0ysksx1.js} +9 -9
  148. package/dist/chunks/{pty-4z6b0fg6.js → provider-g19vc6v7.js} +6 -6
  149. package/dist/chunks/{pty-hrvm11jt.js → provider-g2dy4bvs.js} +3 -3
  150. package/dist/chunks/{pty-d72308c8.js → provider-g2gt0w0k.js} +2 -2
  151. package/dist/chunks/{pty-s34rn1a3.js → provider-g91mrpv7.js} +31 -31
  152. package/dist/chunks/{pty-gd4qta3r.js → provider-gd4qta3r.js} +1 -1
  153. package/dist/chunks/{pty-q6yya7b3.js → provider-gfhhve88.js} +5 -5
  154. package/dist/chunks/{pty-d2degc6b.js → provider-ggnnjyyr.js} +33 -33
  155. package/dist/chunks/{pty-fkjvn1ms.js → provider-gm2nd0w6.js} +8 -8
  156. package/dist/chunks/{pty-yjkzbzhw.js → provider-gpyn4hbp.js} +49 -49
  157. package/dist/chunks/{pty-2b4wwmr0.js → provider-h182avfb.js} +9 -9
  158. package/dist/chunks/{pty-h6vf3j39.js → provider-h6vf3j39.js} +1 -1
  159. package/dist/chunks/{pty-13bwbegs.js → provider-h7e5g0tn.js} +6 -6
  160. package/dist/chunks/{pty-dh8qxndx.js → provider-hcbz9q61.js} +4 -4
  161. package/dist/chunks/{pty-wb7d89zp.js → provider-hcg81cqs.js} +10 -10
  162. package/dist/chunks/{pty-v8qpgep3.js → provider-hdt492b8.js} +16 -16
  163. package/dist/chunks/{pty-heyhwy2w.js → provider-heyhwy2w.js} +1 -1
  164. package/dist/chunks/{pty-93a8yfjt.js → provider-hhpzk61m.js} +2 -2
  165. package/dist/chunks/{pty-mj1y46es.js → provider-hqdatdk6.js} +15 -15
  166. package/dist/chunks/{pty-r23rhjn4.js → provider-hvpcewnc.js} +17 -17
  167. package/dist/chunks/{pty-23eh64wy.js → provider-hz02q9m3.js} +18 -18
  168. package/dist/chunks/{pty-mhkvc446.js → provider-j028xdjb.js} +3 -3
  169. package/dist/chunks/{pty-10jtetaj.js → provider-j5208yae.js} +4 -4
  170. package/dist/chunks/{pty-kmmek74m.js → provider-j78wwk7e.js} +35 -35
  171. package/dist/chunks/{pty-paphc93g.js → provider-j935v87r.js} +2 -2
  172. package/dist/chunks/{pty-zrtmz43p.js → provider-j9qb87cx.js} +24 -24
  173. package/dist/chunks/{pty-330abkrs.js → provider-jb91wb7s.js} +8 -8
  174. package/dist/chunks/{pty-cqdg1gmd.js → provider-jdneq8r1.js} +15 -15
  175. package/dist/chunks/{pty-e5b0qn1c.js → provider-jp5dra8g.js} +1 -1
  176. package/dist/chunks/{pty-6hjfxebm.js → provider-jvaeg9cc.js} +18 -18
  177. package/dist/chunks/{pty-k4bwy1x5.js → provider-k4bwy1x5.js} +1 -1
  178. package/dist/chunks/{pty-jzd86gch.js → provider-kdngb1xv.js} +20 -20
  179. package/dist/chunks/{pty-bdzxech8.js → provider-kfsq4zjw.js} +9 -9
  180. package/dist/chunks/{pty-kg06axw8.js → provider-kg06axw8.js} +1 -1
  181. package/dist/chunks/{pty-7d25qaph.js → provider-ksd37v8k.js} +12 -12
  182. package/dist/chunks/{pty-hw4pv20g.js → provider-kvsjn1dr.js} +2 -2
  183. package/dist/chunks/{pty-9cb708z9.js → provider-kwdr293w.js} +10 -10
  184. package/dist/chunks/{pty-ttmf2k06.js → provider-m1nyv0n4.js} +8 -8
  185. package/dist/chunks/{pty-7vdhmnjr.js → provider-m3g36xn6.js} +14 -14
  186. package/dist/chunks/{pty-b3cmtr1b.js → provider-m53hvte5.js} +9 -9
  187. package/dist/chunks/{pty-3dxrpf6g.js → provider-m54g5aqe.js} +23 -23
  188. package/dist/chunks/{pty-m9w0rfyh.js → provider-m9w0rfyh.js} +1 -1
  189. package/dist/chunks/{pty-h9yys4qj.js → provider-m9zrzv44.js} +43 -43
  190. package/dist/chunks/{pty-m1wfp3t7.js → provider-me1jjq5a.js} +9 -9
  191. package/dist/chunks/{pty-ja1egbcz.js → provider-mnne67dr.js} +23 -23
  192. package/dist/chunks/{pty-z78tg67p.js → provider-n4z1ma14.js} +5 -5
  193. package/dist/chunks/{pty-jpg38yrs.js → provider-n9mr47st.js} +6 -6
  194. package/dist/chunks/{pty-e2xsqmtw.js → provider-nbw8mv70.js} +13 -13
  195. package/dist/chunks/{pty-mqfwwqaz.js → provider-nc3b1wgh.js} +15 -15
  196. package/dist/chunks/{pty-vy6rh34j.js → provider-nfcew73a.js} +56 -56
  197. package/dist/chunks/{pty-hj3nn2ka.js → provider-nj1fe1jb.js} +20 -20
  198. package/dist/chunks/{pty-jhr1c1vq.js → provider-ns2ynd12.js} +31 -31
  199. package/dist/chunks/{pty-2pgk7vty.js → provider-nw5vcmzd.js} +2 -2
  200. package/dist/chunks/{pty-4ga1afgc.js → provider-nyz6bxeq.js} +27 -27
  201. package/dist/chunks/{pty-9c013v9n.js → provider-p166mkhm.js} +29 -29
  202. package/dist/chunks/{pty-pae9v2p1.js → provider-pae9v2p1.js} +1 -1
  203. package/dist/chunks/{pty-d09xjcdz.js → provider-pdsr7cn0.js} +13 -13
  204. package/dist/chunks/{pty-pjvnvgmy.js → provider-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{pty-pknna89w.js → provider-pknna89w.js} +1 -1
  206. package/dist/chunks/{pty-y7gew26p.js → provider-pnhc5zr1.js} +3 -3
  207. package/dist/chunks/{pty-qv548fbc.js → provider-pnk3f66d.js} +41 -41
  208. package/dist/chunks/{pty-st4exd81.js → provider-psvzf7ga.js} +2 -2
  209. package/dist/chunks/provider-pv1faaae.js +247 -0
  210. package/dist/chunks/{pty-j2w5jyet.js → provider-pvwgdgnb.js} +28 -28
  211. package/dist/chunks/{pty-a65r260q.js → provider-qey6vfz4.js} +15 -15
  212. package/dist/chunks/{pty-wcx5mfjt.js → provider-qfzsxjsm.js} +25 -25
  213. package/dist/chunks/provider-qgmahjq5.js +51 -0
  214. package/dist/chunks/{pty-qsdy395h.js → provider-qsdy395h.js} +1 -1
  215. package/dist/chunks/{pty-qyhcknjv.js → provider-qte5mmnh.js} +4 -4
  216. package/dist/chunks/{pty-9qm9egsn.js → provider-qvbcabdc.js} +2 -2
  217. package/dist/chunks/{pty-stxyg5sw.js → provider-qwz28wt1.js} +13 -13
  218. package/dist/chunks/{pty-pytss4s1.js → provider-qxd9wqy8.js} +14 -14
  219. package/dist/chunks/{pty-edfr7fce.js → provider-qyjj80vx.js} +10 -10
  220. package/dist/chunks/{pty-74hz777x.js → provider-r29jw8yz.js} +17 -17
  221. package/dist/chunks/{pty-ab9238g2.js → provider-r33ff4dw.js} +4 -4
  222. package/dist/chunks/{pty-r8dhm0tv.js → provider-r8dhm0tv.js} +1 -1
  223. package/dist/chunks/{pty-ebavfnsr.js → provider-rxyedsv0.js} +6 -6
  224. package/dist/chunks/{pty-ggk3wd08.js → provider-s0eq18p3.js} +7 -7
  225. package/dist/chunks/{pty-xkc3e3r9.js → provider-s7m5rr3e.js} +20 -20
  226. package/dist/chunks/{pty-sba4qhjf.js → provider-sba4qhjf.js} +1 -1
  227. package/dist/chunks/{pty-vcdr3jqb.js → provider-sm99xz24.js} +3 -3
  228. package/dist/chunks/provider-stfyv1aw.js +22 -0
  229. package/dist/chunks/{pty-kw39nwz6.js → provider-sz27z7nv.js} +26 -26
  230. package/dist/chunks/{pty-cd5w3ehc.js → provider-t1hbjjff.js} +46 -46
  231. package/dist/chunks/{pty-mvw1ngtk.js → provider-t22pecrr.js} +37 -37
  232. package/dist/chunks/{pty-n8qe30xq.js → provider-t4es3k9e.js} +9 -9
  233. package/dist/chunks/{pty-tazgh4e4.js → provider-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{pty-tcezcvh9.js → provider-tcezcvh9.js} +1 -1
  235. package/dist/chunks/{pty-tjykrgmx.js → provider-tjykrgmx.js} +1 -1
  236. package/dist/chunks/{pty-cjw2t2ym.js → provider-tsbgh63p.js} +6 -6
  237. package/dist/chunks/{pty-evgernt9.js → provider-ttvaqn65.js} +9 -9
  238. package/dist/chunks/{pty-hh9b9ghc.js → provider-txfvyzt9.js} +5 -5
  239. package/dist/chunks/{pty-46e97tr7.js → provider-v08zexc0.js} +10 -10
  240. package/dist/chunks/{pty-8wktkxzr.js → provider-v33hnsqv.js} +10 -10
  241. package/dist/chunks/{pty-hp466exx.js → provider-v44x7myj.js} +10 -10
  242. package/dist/chunks/{pty-kc9eqfnd.js → provider-v4e1m8df.js} +27 -27
  243. package/dist/chunks/{pty-7afcqx0a.js → provider-vhbtg5gj.js} +25 -25
  244. package/dist/chunks/{pty-2g2ws9me.js → provider-vhct9xs4.js} +9 -9
  245. package/dist/chunks/{pty-0v53mg2y.js → provider-vncycja5.js} +4 -4
  246. package/dist/chunks/{pty-7egpt7q5.js → provider-vqk7jqfs.js} +43 -43
  247. package/dist/chunks/{pty-xb34m1tb.js → provider-vwna6rrk.js} +16 -16
  248. package/dist/chunks/{pty-14hmenm3.js → provider-vwwkt776.js} +3 -3
  249. package/dist/chunks/{pty-b742egg5.js → provider-vzcqb4ye.js} +27 -27
  250. package/dist/chunks/{pty-6z5bwd8g.js → provider-w3jym6ha.js} +6 -6
  251. package/dist/chunks/{pty-w3wsvvr9.js → provider-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{pty-vdjb0chr.js → provider-w8e4nwz3.js} +4 -4
  253. package/dist/chunks/{pty-wd87259q.js → provider-wd87259q.js} +1 -1
  254. package/dist/chunks/{pty-92c2hcx4.js → provider-wkfd3kg3.js} +16 -16
  255. package/dist/chunks/{pty-sm7swcp1.js → provider-wrwb82ns.js} +18 -18
  256. package/dist/chunks/{pty-jj3qxa52.js → provider-wsfy2223.js} +4 -4
  257. package/dist/chunks/{pty-x1ezjp6w.js → provider-x1ezjp6w.js} +1 -1
  258. package/dist/chunks/{pty-f8jgm434.js → provider-xc5kj15j.js} +6 -6
  259. package/dist/chunks/{pty-71528wd2.js → provider-xchn1187.js} +7 -7
  260. package/dist/chunks/{pty-g3m9axkp.js → provider-xg9wzphz.js} +4 -4
  261. package/dist/chunks/{pty-1v32g1wv.js → provider-xjn6wd3a.js} +24 -24
  262. package/dist/chunks/{pty-rnswsqfz.js → provider-xp0tb8fr.js} +9 -9
  263. package/dist/chunks/{pty-4vefptct.js → provider-xpfgzvr8.js} +7 -7
  264. package/dist/chunks/{pty-ap3jkc54.js → provider-xqywgcz5.js} +14 -14
  265. package/dist/chunks/{pty-bp916t1p.js → provider-xtddbfj7.js} +6 -6
  266. package/dist/chunks/{pty-19sjfhb0.js → provider-y0v6q609.js} +11 -11
  267. package/dist/chunks/{pty-y1fvbwt7.js → provider-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{pty-y71avatq.js → provider-y71avatq.js} +1 -1
  269. package/dist/chunks/{pty-kx2gvdct.js → provider-yd25cjpk.js} +4 -4
  270. package/dist/chunks/{pty-yfbd16n1.js → provider-yfbd16n1.js} +2 -2
  271. package/dist/chunks/{pty-tdrv38f9.js → provider-yfvv8zpt.js} +9 -9
  272. package/dist/chunks/{pty-ajtjthsy.js → provider-yg7sb877.js} +2 -2
  273. package/dist/chunks/{pty-k3ed8yxa.js → provider-yzgp7g2d.js} +8 -8
  274. package/dist/chunks/{pty-z1k01bn4.js → provider-z1k01bn4.js} +2 -2
  275. package/dist/chunks/{pty-vep9yay1.js → provider-z3xgatyd.js} +4 -4
  276. package/dist/chunks/{pty-bgjnmd4j.js → provider-z7y4prgk.js} +18 -18
  277. package/dist/chunks/{pty-fh5krs60.js → provider-zhj1bw0n.js} +24 -24
  278. package/dist/chunks/{pty-39cxv2jc.js → provider-zjam9g86.js} +6 -6
  279. package/dist/chunks/{pty-2xe3bfbr.js → provider-zm4j8yda.js} +41 -41
  280. package/dist/chunks/{pty-p3wf1qr1.js → provider-zshmhtvs.js} +20 -20
  281. package/dist/chunks/{pty-yzx76hw4.js → provider-ztade2sn.js} +15 -15
  282. package/dist/chunks/{pty-mz3gf8c0.js → provider-zwcjdryk.js} +83 -83
  283. package/dist/chunks/{pty-hv2h1j34.js → provider-zxkgzhhn.js} +19 -19
  284. package/dist/chunks/{pty-zxq2ej10.js → provider-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +7 -7
  287. package/dist/codemode/tool.js +2 -2
  288. package/dist/command.js +81 -81
  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 +116 -116
  293. package/dist/config/plugin/command.js +207 -207
  294. package/dist/config/plugin/compaction.js +153 -153
  295. package/dist/config/plugin/entry-observer.js +1 -1
  296. package/dist/config/plugin/formatter.js +116 -116
  297. package/dist/config/plugin/image.js +114 -114
  298. package/dist/config/plugin/instruction.js +85 -85
  299. package/dist/config/plugin/location-watcher.js +116 -116
  300. package/dist/config/plugin/mcp.js +125 -125
  301. package/dist/config/plugin/policy.js +113 -113
  302. package/dist/config/plugin/provider.js +112 -112
  303. package/dist/config/plugin/reference.js +116 -116
  304. package/dist/config/plugin/shell.js +117 -117
  305. package/dist/config/plugin/skill-file.js +96 -96
  306. package/dist/config/plugin/skill.js +134 -134
  307. package/dist/config/plugin/snapshot.js +114 -114
  308. package/dist/config/plugin/source.js +116 -116
  309. package/dist/config/plugin/tool-output.js +116 -116
  310. package/dist/config/plugin/websearch.js +114 -114
  311. package/dist/config/plugin/worktree.js +117 -117
  312. package/dist/config/variable.js +3 -3
  313. package/dist/config/watch.js +1 -1
  314. package/dist/config.js +118 -118
  315. package/dist/credential/sql.js +2 -2
  316. package/dist/credential.js +80 -80
  317. package/dist/database/database.js +64 -64
  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 +74 -74
  390. package/dist/database/v1-migration.js +1 -1
  391. package/dist/effect/app-node-builder.js +358 -358
  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 +90 -90
  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 +68 -68
  405. package/dist/file-mutation.js +85 -85
  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 +220 -220
  415. package/dist/filesystem/protected.js +1 -1
  416. package/dist/filesystem/search.js +89 -89
  417. package/dist/filesystem/watcher-binding.js +3 -3
  418. package/dist/filesystem/watcher.js +15 -15
  419. package/dist/filesystem.js +90 -90
  420. package/dist/form.js +80 -80
  421. package/dist/formatter/builtins.js +4 -4
  422. package/dist/formatter.js +78 -78
  423. package/dist/generate.js +88 -88
  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 +349 -349
  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 +83 -83
  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 +83 -83
  458. package/dist/location-mutation.js +77 -77
  459. package/dist/location-service-map.js +81 -81
  460. package/dist/location-services.js +346 -346
  461. package/dist/location.js +82 -82
  462. package/dist/mcp/client.js +86 -86
  463. package/dist/mcp/index.js +98 -98
  464. package/dist/mcp/instructions.js +120 -120
  465. package/dist/mcp/oauth.js +2 -2
  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 +83 -83
  470. package/dist/model.js +8 -8
  471. package/dist/models-dev.js +74 -74
  472. package/dist/oauth/page.js +1 -1
  473. package/dist/permission/saved.js +78 -78
  474. package/dist/permission/sql.js +5 -5
  475. package/dist/permission.js +109 -109
  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 +98 -98
  482. package/dist/plugin/command.js +95 -95
  483. package/dist/plugin/hooks.js +5 -5
  484. package/dist/plugin/host.js +211 -211
  485. package/dist/plugin/instance.js +1 -1
  486. package/dist/plugin/internal.js +320 -320
  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/plan.js +96 -96
  491. package/dist/plugin/promise.js +1 -1
  492. package/dist/plugin/provider/alibaba.js +2 -2
  493. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  494. package/dist/plugin/provider/anthropic.js +2 -2
  495. package/dist/plugin/provider/azure.js +117 -117
  496. package/dist/plugin/provider/cerebras.js +2 -2
  497. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  498. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  499. package/dist/plugin/provider/cohere.js +2 -2
  500. package/dist/plugin/provider/configured.js +113 -113
  501. package/dist/plugin/provider/dynamic.js +2 -2
  502. package/dist/plugin/provider/factory.js +1 -1
  503. package/dist/plugin/provider/gateway.js +2 -2
  504. package/dist/plugin/provider/github-copilot.js +79 -79
  505. package/dist/plugin/provider/gitlab.js +3 -3
  506. package/dist/plugin/provider/google-vertex.js +2 -2
  507. package/dist/plugin/provider/kilo.js +2 -2
  508. package/dist/plugin/provider/llmgateway.js +75 -75
  509. package/dist/plugin/provider/lmstudio.js +116 -116
  510. package/dist/plugin/provider/mistral.js +2 -2
  511. package/dist/plugin/provider/modal.js +78 -78
  512. package/dist/plugin/provider/nvidia.js +2 -2
  513. package/dist/plugin/provider/ollama.js +116 -116
  514. package/dist/plugin/provider/openai-compatible.js +1 -1
  515. package/dist/plugin/provider/openai.js +77 -77
  516. package/dist/plugin/provider/opencode.js +75 -75
  517. package/dist/plugin/provider/openrouter.js +3 -3
  518. package/dist/plugin/provider/perplexity.js +2 -2
  519. package/dist/plugin/provider/sap-ai-core.js +3 -3
  520. package/dist/plugin/provider/sdk-factory.js +1 -1
  521. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  522. package/dist/plugin/provider/venice.js +2 -2
  523. package/dist/plugin/provider/vercel.js +2 -2
  524. package/dist/plugin/provider/vllm.js +116 -116
  525. package/dist/plugin/provider/xai.js +76 -76
  526. package/dist/plugin/provider/zenmux.js +2 -2
  527. package/dist/plugin/provider.js +154 -154
  528. package/dist/plugin/sdk.js +74 -74
  529. package/dist/plugin/service.js +3 -3
  530. package/dist/plugin/skill.js +131 -131
  531. package/dist/plugin/source-directory.js +1 -1
  532. package/dist/plugin/supervisor.js +337 -337
  533. package/dist/plugin/system-prompt.js +2 -2
  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 +111 -111
  539. package/dist/plugin/websearch/exa.js +7 -7
  540. package/dist/plugin/websearch/firecrawl.js +8 -8
  541. package/dist/plugin/websearch/index.js +8 -8
  542. package/dist/plugin/websearch/mcp.js +4 -4
  543. package/dist/plugin/websearch/parallel.js +8 -8
  544. package/dist/plugin/websearch/tavily.js +6 -6
  545. package/dist/plugin.js +222 -222
  546. package/dist/project/schema.js +8 -8
  547. package/dist/project/sql.js +4 -4
  548. package/dist/project.js +85 -85
  549. package/dist/provider.js +5 -5
  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 +86 -86
  556. package/dist/repository-cache.js +76 -76
  557. package/dist/repository.js +3 -3
  558. package/dist/ripgrep/binary.js +2 -2
  559. package/dist/ripgrep.js +87 -87
  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 +125 -125
  564. package/dist/session/context.js +145 -145
  565. package/dist/session/environment.js +5 -5
  566. package/dist/session/error.js +7 -7
  567. package/dist/session/event.js +1 -1
  568. package/dist/session/execution/restart.js +214 -214
  569. package/dist/session/execution.js +118 -118
  570. package/dist/session/generate.js +144 -144
  571. package/dist/session/history.js +14 -14
  572. package/dist/session/inbox.js +78 -78
  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 +124 -124
  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 +223 -223
  588. package/dist/session/runner/max-steps.js +1 -1
  589. package/dist/session/runner/model.js +85 -85
  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 +119 -119
  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 +167 -167
  596. package/dist/session/shell.js +130 -130
  597. package/dist/session/skill.js +97 -97
  598. package/dist/session/sql.js +5 -5
  599. package/dist/session/stats.js +71 -71
  600. package/dist/session/store.js +82 -82
  601. package/dist/session/subagent-completion.js +1 -1
  602. package/dist/session/subagent-job.js +203 -203
  603. package/dist/session/system-prompt.js +5 -5
  604. package/dist/session/title.js +149 -149
  605. package/dist/session/to-session-error.js +105 -105
  606. package/dist/session/transfer.js +210 -210
  607. package/dist/session/usage.js +1 -1
  608. package/dist/session.js +209 -209
  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 +7 -7
  613. package/dist/shell.js +132 -132
  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 +84 -84
  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 +117 -117
  622. package/dist/tool/plugin/edit.js +112 -112
  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 +114 -114
  628. package/dist/tool/plugin/question.js +95 -95
  629. package/dist/tool/plugin/read.js +120 -120
  630. package/dist/tool/plugin/shell.js +210 -210
  631. package/dist/tool/plugin/skill.js +105 -105
  632. package/dist/tool/plugin/subagent.js +212 -212
  633. package/dist/tool/plugin/webfetch.js +102 -102
  634. package/dist/tool/plugin/websearch.js +108 -108
  635. package/dist/tool/plugin/write.js +116 -116
  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 +11 -11
  640. package/dist/util/error.js +1 -1
  641. package/dist/util/iife.js +1 -1
  642. package/dist/util/lazy.js +1 -1
  643. package/dist/util/slug.js +1 -1
  644. package/dist/util/token.js +1 -1
  645. package/dist/util/which.js +1 -1
  646. package/dist/util/wildcard.js +1 -1
  647. package/dist/v1/config/agent.js +7 -7
  648. package/dist/v1/config/attachment.js +4 -4
  649. package/dist/v1/config/command.js +3 -3
  650. package/dist/v1/config/config.js +16 -16
  651. package/dist/v1/config/error.js +4 -4
  652. package/dist/v1/config/formatter.js +3 -3
  653. package/dist/v1/config/layout.js +1 -1
  654. package/dist/v1/config/lsp.js +3 -3
  655. package/dist/v1/config/mcp.js +4 -4
  656. package/dist/v1/config/migrate.js +4 -4
  657. package/dist/v1/config/permission.js +7 -7
  658. package/dist/v1/config/plugin.js +3 -3
  659. package/dist/v1/config/provider-options.js +1 -1
  660. package/dist/v1/config/provider.js +4 -4
  661. package/dist/v1/config/server.js +2 -2
  662. package/dist/v1/config/skills.js +3 -3
  663. package/dist/v1/permission.js +1 -1
  664. package/dist/vcs/patch.js +1 -1
  665. package/dist/vcs.js +85 -85
  666. package/dist/websearch.js +80 -80
  667. package/dist/wellknown/plugin.js +74 -74
  668. package/dist/wellknown.js +77 -77
  669. package/dist/workspace/driver.js +5 -5
  670. package/dist/workspace/sql.js +1 -1
  671. package/dist/workspace.js +78 -78
  672. package/dist/worktree/directory.js +2 -2
  673. package/dist/worktree/git.js +7 -7
  674. package/dist/worktree/refresh.js +338 -338
  675. package/dist/worktree/sql.js +5 -5
  676. package/dist/worktree.js +91 -91
  677. package/package.json +7 -9
  678. package/dist/chunks/pty-1x11rq2a.js +0 -18
  679. package/dist/chunks/pty-4y7bcn0g.js +0 -4
  680. package/dist/chunks/pty-580rqf4t.js +0 -247
  681. package/dist/chunks/pty-rmy3e5eg.js +0 -103
  682. package/dist/chunks/pty-tek6fqmc.js +0 -22
  683. /package/dist/chunks/{pty-0fabt78z.js → provider-0fabt78z.js} +0 -0
  684. /package/dist/chunks/{pty-0qkdqm5v.js → provider-0qkdqm5v.js} +0 -0
  685. /package/dist/chunks/{pty-0zkw76rk.js → provider-0zkw76rk.js} +0 -0
  686. /package/dist/chunks/{pty-17cy0kzp.js → provider-17cy0kzp.js} +0 -0
  687. /package/dist/chunks/{pty-1cnp2v09.js → provider-1cnp2v09.js} +0 -0
  688. /package/dist/chunks/{pty-1kg9ymc8.js → provider-1kg9ymc8.js} +0 -0
  689. /package/dist/chunks/{pty-2710q6r3.js → provider-2710q6r3.js} +0 -0
  690. /package/dist/chunks/{pty-2axfhc9x.js → provider-2axfhc9x.js} +0 -0
  691. /package/dist/chunks/{pty-2c3vjs8z.js → provider-2c3vjs8z.js} +0 -0
  692. /package/dist/chunks/{pty-359p4xyc.js → provider-359p4xyc.js} +0 -0
  693. /package/dist/chunks/{pty-3asan66x.js → provider-3asan66x.js} +0 -0
  694. /package/dist/chunks/{pty-3t738kvx.js → provider-3t738kvx.js} +0 -0
  695. /package/dist/chunks/{pty-3v8g72cx.js → provider-3v8g72cx.js} +0 -0
  696. /package/dist/chunks/{pty-3wcehsnq.js → provider-3wcehsnq.js} +0 -0
  697. /package/dist/chunks/{pty-41nvscxy.js → provider-41nvscxy.js} +0 -0
  698. /package/dist/chunks/{pty-43n2bw4t.js → provider-43n2bw4t.js} +0 -0
  699. /package/dist/chunks/{pty-4knz6hnm.js → provider-4knz6hnm.js} +0 -0
  700. /package/dist/chunks/{pty-4y7fprxs.js → provider-4y7fprxs.js} +0 -0
  701. /package/dist/chunks/{pty-53557ph1.js → provider-53557ph1.js} +0 -0
  702. /package/dist/chunks/{pty-550bvhaj.js → provider-550bvhaj.js} +0 -0
  703. /package/dist/chunks/{pty-6prwharc.js → provider-6prwharc.js} +0 -0
  704. /package/dist/chunks/{pty-7akdwqpd.js → provider-7akdwqpd.js} +0 -0
  705. /package/dist/chunks/{pty-7m9af43g.js → provider-7m9af43g.js} +0 -0
  706. /package/dist/chunks/{pty-822emrt2.js → provider-822emrt2.js} +0 -0
  707. /package/dist/chunks/{pty-88xbtdfr.js → provider-88xbtdfr.js} +0 -0
  708. /package/dist/chunks/{pty-8n3pysct.js → provider-8n3pysct.js} +0 -0
  709. /package/dist/chunks/{pty-982e01ww.js → provider-982e01ww.js} +0 -0
  710. /package/dist/chunks/{pty-9a4afbnw.js → provider-9a4afbnw.js} +0 -0
  711. /package/dist/chunks/{pty-9rqn6x4v.js → provider-9rqn6x4v.js} +0 -0
  712. /package/dist/chunks/{pty-a1tpkmh4.js → provider-a1tpkmh4.js} +0 -0
  713. /package/dist/chunks/{pty-af5trqkr.js → provider-af5trqkr.js} +0 -0
  714. /package/dist/chunks/{pty-afrmfg78.js → provider-afrmfg78.js} +0 -0
  715. /package/dist/chunks/{pty-aqzs7mqg.js → provider-aqzs7mqg.js} +0 -0
  716. /package/dist/chunks/{pty-atq7p7m5.js → provider-atq7p7m5.js} +0 -0
  717. /package/dist/chunks/{pty-bkyjaxrp.js → provider-bkyjaxrp.js} +0 -0
  718. /package/dist/chunks/{pty-bmr6ed5q.js → provider-bmr6ed5q.js} +0 -0
  719. /package/dist/chunks/{pty-cf4snx6d.js → provider-cf4snx6d.js} +0 -0
  720. /package/dist/chunks/{pty-cvy3z8tj.js → provider-cvy3z8tj.js} +0 -0
  721. /package/dist/chunks/{pty-d9fn303g.js → provider-d9fn303g.js} +0 -0
  722. /package/dist/chunks/{pty-d9jj8t3e.js → provider-d9jj8t3e.js} +0 -0
  723. /package/dist/chunks/{pty-dajrwvna.js → provider-dajrwvna.js} +0 -0
  724. /package/dist/chunks/{pty-dap0rakb.js → provider-dap0rakb.js} +0 -0
  725. /package/dist/chunks/{pty-df08tz66.js → provider-df08tz66.js} +0 -0
  726. /package/dist/chunks/{pty-dy18nga0.js → provider-dy18nga0.js} +0 -0
  727. /package/dist/chunks/{pty-e5kj55wp.js → provider-e5kj55wp.js} +0 -0
  728. /package/dist/chunks/{pty-e73j6tqm.js → provider-e73j6tqm.js} +0 -0
  729. /package/dist/chunks/{pty-eh3zwz77.js → provider-eh3zwz77.js} +0 -0
  730. /package/dist/chunks/{pty-emrn6kk6.js → provider-emrn6kk6.js} +0 -0
  731. /package/dist/chunks/{pty-f0mxakyp.js → provider-f0mxakyp.js} +0 -0
  732. /package/dist/chunks/{pty-f6n9ztr4.js → provider-f6n9ztr4.js} +0 -0
  733. /package/dist/chunks/{pty-faypxj3z.js → provider-faypxj3z.js} +0 -0
  734. /package/dist/chunks/{pty-fd410y7t.js → provider-fd410y7t.js} +0 -0
  735. /package/dist/chunks/{pty-fxgpk5d8.js → provider-fxgpk5d8.js} +0 -0
  736. /package/dist/chunks/{pty-g4wezp1m.js → provider-g4wezp1m.js} +0 -0
  737. /package/dist/chunks/{pty-g86h250q.js → provider-g86h250q.js} +0 -0
  738. /package/dist/chunks/{pty-gebd4c9n.js → provider-gebd4c9n.js} +0 -0
  739. /package/dist/chunks/{pty-hk9envan.js → provider-hk9envan.js} +0 -0
  740. /package/dist/chunks/{pty-j2ntwpah.js → provider-j2ntwpah.js} +0 -0
  741. /package/dist/chunks/{pty-j5zkgpj8.js → provider-j5zkgpj8.js} +0 -0
  742. /package/dist/chunks/{pty-jr7sbwjy.js → provider-jr7sbwjy.js} +0 -0
  743. /package/dist/chunks/{pty-jwfs4k6c.js → provider-jwfs4k6c.js} +0 -0
  744. /package/dist/chunks/{pty-jzg6c2d5.js → provider-jzg6c2d5.js} +0 -0
  745. /package/dist/chunks/{pty-mntxs535.js → provider-mntxs535.js} +0 -0
  746. /package/dist/chunks/{pty-mp448xyj.js → provider-mp448xyj.js} +0 -0
  747. /package/dist/chunks/{pty-msx8hqn2.js → provider-msx8hqn2.js} +0 -0
  748. /package/dist/chunks/{pty-n05xt0ee.js → provider-n05xt0ee.js} +0 -0
  749. /package/dist/chunks/{pty-n3j8tn72.js → provider-n3j8tn72.js} +0 -0
  750. /package/dist/chunks/{pty-njntx4h6.js → provider-njntx4h6.js} +0 -0
  751. /package/dist/chunks/{pty-p8qxwesx.js → provider-p8qxwesx.js} +0 -0
  752. /package/dist/chunks/{pty-q3sfg36h.js → provider-q3sfg36h.js} +0 -0
  753. /package/dist/chunks/{pty-q74kybfr.js → provider-q74kybfr.js} +0 -0
  754. /package/dist/chunks/{pty-qaymkmh1.js → provider-qaymkmh1.js} +0 -0
  755. /package/dist/chunks/{pty-qb87gjwd.js → provider-qb87gjwd.js} +0 -0
  756. /package/dist/chunks/{pty-qfa1cgps.js → provider-qfa1cgps.js} +0 -0
  757. /package/dist/chunks/{pty-qrg20bc0.js → provider-qrg20bc0.js} +0 -0
  758. /package/dist/chunks/{pty-rcb2kzg1.js → provider-rcb2kzg1.js} +0 -0
  759. /package/dist/chunks/{pty-sdp7kfr6.js → provider-sdp7kfr6.js} +0 -0
  760. /package/dist/chunks/{pty-se0s1eqw.js → provider-se0s1eqw.js} +0 -0
  761. /package/dist/chunks/{pty-sk3qaz4a.js → provider-sk3qaz4a.js} +0 -0
  762. /package/dist/chunks/{pty-ssg3fenm.js → provider-ssg3fenm.js} +0 -0
  763. /package/dist/chunks/{pty-twg0f83k.js → provider-twg0f83k.js} +0 -0
  764. /package/dist/chunks/{pty-w803qqfp.js → provider-w803qqfp.js} +0 -0
  765. /package/dist/chunks/{pty-wer8tq1h.js → provider-wer8tq1h.js} +0 -0
  766. /package/dist/chunks/{pty-wtztk69x.js → provider-wtztk69x.js} +0 -0
  767. /package/dist/chunks/{pty-x0ckcb58.js → provider-x0ckcb58.js} +0 -0
  768. /package/dist/chunks/{pty-x1b8g1yb.js → provider-x1b8g1yb.js} +0 -0
  769. /package/dist/chunks/{pty-x61499pn.js → provider-x61499pn.js} +0 -0
  770. /package/dist/chunks/{pty-y44na4kk.js → provider-y44na4kk.js} +0 -0
  771. /package/dist/chunks/{pty-y8cydn3q.js → provider-y8cydn3q.js} +0 -0
  772. /package/dist/chunks/{pty-ygaqb7jw.js → provider-ygaqb7jw.js} +0 -0
  773. /package/dist/chunks/{pty-z9919s4g.js → provider-z9919s4g.js} +0 -0
  774. /package/dist/chunks/{pty-zbjnn3ac.js → provider-zbjnn3ac.js} +0 -0
@@ -1,57 +1,57 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./pty-qyhcknjv.js";
4
+ } from "./provider-qte5mmnh.js";
5
5
  import {
6
- Service69,
7
- node74
8
- } from "./pty-92c2hcx4.js";
6
+ Service76,
7
+ node81
8
+ } from "./provider-wkfd3kg3.js";
9
9
  import {
10
- Service62,
11
- node66
12
- } from "./pty-daafe3cw.js";
10
+ Service73,
11
+ node77
12
+ } from "./provider-0an26ms7.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./pty-gd4qta3r.js";
15
+ } from "./provider-gd4qta3r.js";
16
16
  import {
17
- Service76,
17
+ Service75,
18
18
  args2,
19
- node81
20
- } from "./pty-qatzdmex.js";
19
+ node80
20
+ } from "./provider-0e2qvb29.js";
21
21
  import {
22
- Service52,
23
- node55
24
- } from "./pty-k3ed8yxa.js";
22
+ Service65,
23
+ node68
24
+ } from "./provider-yzgp7g2d.js";
25
25
  import {
26
- Service42,
27
- node45
28
- } from "./pty-577kxxzn.js";
26
+ Service60,
27
+ node63
28
+ } from "./provider-3rbjgaka.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./pty-qq0tkz6q.js";
31
+ } from "./provider-5p910kp8.js";
32
32
  import {
33
33
  latest2,
34
- Service43,
35
- node46
36
- } from "./pty-7egpt7q5.js";
34
+ Service62,
35
+ node65
36
+ } from "./provider-vqk7jqfs.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./pty-cd07jt91.js";
40
+ } from "./provider-9zy34hsg.js";
41
41
  import {
42
42
  __export
43
- } from "./pty-9rqn6x4v.js";
43
+ } from "./provider-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError4,
49
+ NotFoundError: () => NotFoundError8,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service41,
51
+ Service: () => Service59,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node44
54
+ node: () => node62
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode-ai/util/process";
62
62
  import { makeGlobalNode, makeLocationNode } from "@opencode-ai/util/effect/app-node";
63
63
  import { FSUtil } from "@opencode-ai/util/fs-util";
64
64
  import { Global } from "@opencode-ai/util/global";
65
- class NotFoundError4 extends Schema.TaggedError()("Shell.NotFoundError", {
65
+ class NotFoundError8 extends Schema.TaggedError()("Shell.NotFoundError", {
66
66
  id: Shell.ID
67
67
  }) {
68
68
  }
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
70
70
  var RETENTION2 = Duration.days(7);
71
71
  var DIRECTORY2 = "shell";
72
72
 
73
- class Service41 extends Context.Service()("@opencode/Shell") {
73
+ class Service59 extends Context.Service()("@opencode/Shell") {
74
74
  }
75
75
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
76
76
  const fs = yield* FSUtil.Service;
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
86
86
  layer: cleanupLayer,
87
87
  deps: [FSUtil.node, Global.node]
88
88
  });
89
- var layer = () => Layer.effect(Service41, Effect.gen(function* () {
89
+ var layer = () => Layer.effect(Service59, Effect.gen(function* () {
90
90
  const bus = yield* Service79;
91
- const location = yield* Service69;
91
+ const location = yield* Service76;
92
92
  const global = yield* Global.Service;
93
- const shell = yield* Service76;
94
- const environment = yield* Service62;
95
- const hooks = yield* Service52;
96
- const environments = yield* Service42;
97
- const config = yield* Service43;
93
+ const shell = yield* Service75;
94
+ const environment = yield* Service73;
95
+ const hooks = yield* Service65;
96
+ const environments = yield* Service60;
97
+ const config = yield* Service62;
98
98
  const context = yield* Effect.context();
99
99
  const runFork = Effect.runForkWith(context);
100
100
  const commands = new Map;
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service41, Effect.gen(function* () {
115
115
  const require2 = Effect.fnUntraced(function* (id) {
116
116
  const command = commands.get(id);
117
117
  if (!command)
118
- return yield* new NotFoundError4({ id });
118
+ return yield* new NotFoundError8({ id });
119
119
  return command;
120
120
  });
121
121
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service41, Effect.gen(function* () {
128
128
  commands.delete(id);
129
129
  if (command.timeoutFiber)
130
130
  yield* Fiber.interrupt(command.timeoutFiber);
131
- yield* Deferred.fail(command.done, new NotFoundError4({ id }));
131
+ yield* Deferred.fail(command.done, new NotFoundError8({ id }));
132
132
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
133
133
  yield* bus.publish(Shell.Event.Deleted, { id });
134
134
  });
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service41, Effect.gen(function* () {
314
314
  const command = yield* Deferred.await(ready);
315
315
  return command.info;
316
316
  });
317
- return Service41.of({ create, list, get, wait, result, timeout, output, remove });
317
+ return Service59.of({ create, list, get, wait, result, timeout, output, remove });
318
318
  }));
319
- var node44 = makeLocationNode({
320
- service: Service41,
319
+ var node62 = makeLocationNode({
320
+ service: Service59,
321
321
  layer: layer(),
322
322
  deps: [
323
323
  node84,
324
- node74,
325
- Global.node,
326
324
  node81,
327
- node66,
328
- node55,
329
- node45,
330
- node46,
325
+ Global.node,
326
+ node80,
327
+ node77,
328
+ node68,
329
+ node63,
330
+ node65,
331
331
  cleanupNode
332
332
  ]
333
333
  });
334
334
 
335
- export { NotFoundError4, RETENTION2, DIRECTORY2, Service41, cleanup2, node44, exports_shell4 };
335
+ export { NotFoundError8, RETENTION2, DIRECTORY2, Service59, cleanup2, node62, exports_shell4 };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./pty-2a5m3afh.js";
5
+ } from "./provider-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./pty-9rqn6x4v.js";
8
+ } from "./provider-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/local.ts
11
11
  var exports_local = {};
@@ -1,45 +1,45 @@
1
1
  import {
2
- Service44
3
- } from "./pty-rkj48kta.js";
2
+ Service63
3
+ } from "./provider-ess3gj99.js";
4
4
  import {
5
5
  unavailable3
6
- } from "./pty-mtcjf44p.js";
6
+ } from "./provider-6e958v7x.js";
7
7
  import {
8
8
  AbsolutePath2
9
- } from "./pty-p8qxwesx.js";
9
+ } from "./provider-p8qxwesx.js";
10
10
  import {
11
11
  File2,
12
- Service54
13
- } from "./pty-fh5krs60.js";
12
+ Service48
13
+ } from "./provider-zhj1bw0n.js";
14
14
  import {
15
- Service69
16
- } from "./pty-92c2hcx4.js";
15
+ Service76
16
+ } from "./provider-wkfd3kg3.js";
17
17
  import {
18
18
  __export
19
- } from "./pty-9rqn6x4v.js";
19
+ } from "./provider-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin39
25
+ Plugin: () => Plugin12
26
26
  });
27
27
  import { define } from "@opencode-ai/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode-ai/util/fs-util";
29
29
  import { Global } from "@opencode-ai/util/global";
30
30
  import { dirname, join } from "path";
31
31
  import { Effect, PubSub, Semaphore, Stream } from "effect";
32
- var Plugin39 = define({
32
+ var Plugin12 = define({
33
33
  id: "opencode.config.instruction",
34
34
  effect: Effect.fn(function* () {
35
- const discovery = yield* Service54;
35
+ const discovery = yield* Service48;
36
36
  if (!discovery.project && !discovery.global)
37
37
  return;
38
38
  yield* Effect.gen(function* () {
39
39
  const fs = yield* FSUtil.Service;
40
40
  const global = yield* Global.Service;
41
- const location = yield* Service69;
42
- const watcher = yield* Service44;
41
+ const location = yield* Service76;
42
+ const watcher = yield* Service63;
43
43
  const changes = yield* PubSub.sliding(1);
44
44
  const lock = Semaphore.makeUnsafe(1);
45
45
  const start = yield* fs.resolve(location.directory);
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
114
114
  return [start, ...ancestorDirectories(dirname(start), stop)];
115
115
  }
116
116
 
117
- export { Plugin39, exports_instruction };
117
+ export { Plugin12, exports_instruction };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./provider-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/promise.ts
6
6
  var exports_promise = {};
@@ -1,36 +1,36 @@
1
1
  import {
2
- Service49
3
- } from "./pty-vy6rh34j.js";
2
+ Service54
3
+ } from "./provider-nfcew73a.js";
4
4
  import {
5
- ID3,
5
+ ID5,
6
6
  Name2,
7
7
  toModelOutput3,
8
8
  prepare3,
9
- Service48
10
- } from "./pty-kmm37hgd.js";
9
+ Service53
10
+ } from "./provider-dqarh4b4.js";
11
11
  import {
12
12
  __export
13
- } from "./pty-9rqn6x4v.js";
13
+ } from "./provider-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/skill.ts
16
- var exports_skill2 = {};
17
- __export(exports_skill2, {
18
- Input: () => Input12,
19
- Output: () => Output8,
20
- Plugin: () => Plugin26,
21
- SkillTool: () => exports_skill2,
16
+ var exports_skill3 = {};
17
+ __export(exports_skill3, {
18
+ Input: () => Input11,
19
+ Output: () => Output7,
20
+ Plugin: () => Plugin42,
21
+ SkillTool: () => exports_skill3,
22
22
  description: () => description5,
23
- name: () => name12,
23
+ name: () => name11,
24
24
  toModelOutput: () => toModelOutput2
25
25
  });
26
26
  import { ToolFailure } from "@opencode-ai/ai";
27
27
  import { Effect, Schema } from "effect";
28
28
  import { FSUtil } from "@opencode-ai/util/fs-util";
29
- var name12 = "skill";
30
- var Input12 = Schema.Struct({
31
- id: ID3.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
29
+ var name11 = "skill";
30
+ var Input11 = Schema.Struct({
31
+ id: ID5.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
32
32
  });
33
- var Output8 = Schema.Struct({
33
+ var Output7 = Schema.Struct({
34
34
  name: Name2,
35
35
  directory: Schema.String,
36
36
  output: Schema.String
@@ -43,25 +43,25 @@ var description5 = [
43
43
  `);
44
44
  var toModelOutput2 = toModelOutput3;
45
45
  var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
46
- var Plugin26 = {
46
+ var Plugin42 = {
47
47
  id: "opencode.tool.skill",
48
48
  effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
49
49
  const fs = yield* FSUtil.Service;
50
- const skills = yield* Service48;
51
- const permission = yield* Service49;
50
+ const skills = yield* Service53;
51
+ const permission = yield* Service54;
52
52
  yield* ctx.tool.transform((editor) => editor.add({
53
- name: name12,
53
+ name: name11,
54
54
  options: { codemode: false },
55
55
  description: description5,
56
- input: Input12,
57
- output: Output8,
56
+ input: Input11,
57
+ output: Output7,
58
58
  execute: (input, context) => Effect.gen(function* () {
59
59
  const skill = yield* skills.get(input.id);
60
60
  if (!skill)
61
61
  return yield* unableToLoad(input.id);
62
62
  return yield* Effect.gen(function* () {
63
63
  yield* permission.assert({
64
- action: name12,
64
+ action: name11,
65
65
  resources: [skill.id],
66
66
  save: [skill.id],
67
67
  sessionID: context.sessionID,
@@ -79,4 +79,4 @@ var Plugin26 = {
79
79
  })
80
80
  };
81
81
 
82
- export { name12, Input12, Output8, description5, toModelOutput2, Plugin26, exports_skill2 };
82
+ export { name11, Input11, Output7, description5, toModelOutput2, Plugin42, exports_skill3 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./provider-9rqn6x4v.js";
4
4
 
5
5
  // src/tool/plugin/opencode.ts
6
6
  var exports_opencode = {};
7
7
  __export(exports_opencode, {
8
8
  MoveInput: () => MoveInput2,
9
9
  OpenCodeTools: () => exports_opencode,
10
- Plugin: () => Plugin25
10
+ Plugin: () => Plugin36
11
11
  });
12
12
  import { SystemPart, ToolFailure } from "@opencode-ai/ai";
13
13
  import { AbsolutePath } from "@opencode-ai/schema/schema";
@@ -20,7 +20,7 @@ var MoveInput2 = Schema.Struct({
20
20
  })
21
21
  });
22
22
  var MoveOutput = Schema.Struct({ sessionID: Session.ID, directory: AbsolutePath });
23
- var Plugin25 = {
23
+ var Plugin36 = {
24
24
  id: "opencode.tools",
25
25
  effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
26
26
  yield* ctx.session.hook("context", (event) => Effect.sync(() => {
@@ -51,4 +51,4 @@ var Plugin25 = {
51
51
  })
52
52
  };
53
53
 
54
- export { MoveInput2, Plugin25, exports_opencode };
54
+ export { MoveInput2, Plugin36, exports_opencode };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service43
3
- } from "./pty-7egpt7q5.js";
2
+ Service62
3
+ } from "./provider-vqk7jqfs.js";
4
4
  import {
5
- Service46
6
- } from "./pty-7w74e5nf.js";
5
+ Service43
6
+ } from "./provider-69j7xj95.js";
7
7
  import {
8
8
  observe2
9
- } from "./pty-qsdy395h.js";
9
+ } from "./provider-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./pty-9rqn6x4v.js";
12
+ } from "./provider-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/image.ts
15
15
  var exports_image = {};
16
16
  __export(exports_image, {
17
17
  ConfigImagePlugin: () => exports_image,
18
- Plugin: () => Plugin28
18
+ Plugin: () => Plugin9
19
19
  });
20
20
  import { define } from "@opencode-ai/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin28 = define({
22
+ var Plugin9 = define({
23
23
  id: "opencode.config.image",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service43;
26
- const image = yield* Service46;
25
+ const config = yield* Service62;
26
+ const image = yield* Service43;
27
27
  const loaded = yield* observe2(config, ctx.event, image.reload());
28
28
  yield* image.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -43,4 +43,4 @@ var Plugin28 = define({
43
43
  })
44
44
  });
45
45
 
46
- export { Plugin28, exports_image };
46
+ export { Plugin9, exports_image };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./pty-mntxs535.js";
3
+ } from "./provider-mntxs535.js";
4
4
  import {
5
5
  __export
6
- } from "./pty-9rqn6x4v.js";
6
+ } from "./provider-9rqn6x4v.js";
7
7
 
8
8
  // src/session/runner/retry.ts
9
9
  var exports_retry = {};
10
10
  __export(exports_retry, {
11
11
  SessionRunnerRetry: () => exports_retry,
12
12
  isRetryable: () => isRetryable2,
13
- make: () => make10,
13
+ make: () => make9,
14
14
  policy: () => policy2
15
15
  });
16
16
  import { Clock, Duration, Effect, Pull, Schedule } from "effect";
@@ -80,7 +80,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
80
80
  return { retry: true, attempt, delay: normalized };
81
81
  });
82
82
  });
83
- var make10 = (bus, sessionID) => Effect.gen(function* () {
83
+ var make9 = (bus, sessionID) => Effect.gen(function* () {
84
84
  const decide = yield* policy2(sessionID);
85
85
  const wait = (input) => Effect.gen(function* () {
86
86
  const scheduled = yield* Clock.currentTimeMillis;
@@ -97,4 +97,4 @@ var make10 = (bus, sessionID) => Effect.gen(function* () {
97
97
  return { decide, wait };
98
98
  });
99
99
 
100
- export { isRetryable2, policy2, make10, exports_retry };
100
+ export { isRetryable2, policy2, make9, exports_retry };
@@ -1,73 +1,73 @@
1
1
  import {
2
- Service62
3
- } from "./pty-daafe3cw.js";
2
+ Service73
3
+ } from "./provider-0an26ms7.js";
4
4
  import {
5
5
  Service14,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./pty-nyr9gh09.js";
8
+ } from "./provider-1y3t3jga.js";
9
9
  import {
10
10
  Service13
11
- } from "./pty-197cqqzc.js";
11
+ } from "./provider-4dj65k8e.js";
12
12
  import {
13
13
  externalDirectoryPermission2,
14
14
  Service15
15
- } from "./pty-1a53kk3r.js";
15
+ } from "./provider-2f9fbt2v.js";
16
16
  import {
17
- Service49
18
- } from "./pty-vy6rh34j.js";
17
+ Service54
18
+ } from "./provider-nfcew73a.js";
19
19
  import {
20
20
  fileDiff2
21
- } from "./pty-6prwharc.js";
21
+ } from "./provider-6prwharc.js";
22
22
  import {
23
23
  __export
24
- } from "./pty-9rqn6x4v.js";
24
+ } from "./provider-9rqn6x4v.js";
25
25
 
26
26
  // src/tool/plugin/write.ts
27
27
  var exports_write = {};
28
28
  __export(exports_write, {
29
- Input: () => Input3,
30
- Output: () => Output2,
31
- Plugin: () => Plugin16,
29
+ Input: () => Input6,
30
+ Output: () => Output4,
31
+ Plugin: () => Plugin37,
32
32
  WriteTool: () => exports_write,
33
- name: () => name3,
34
- toModelContent: () => toModelContent3
33
+ name: () => name6,
34
+ toModelContent: () => toModelContent2
35
35
  });
36
36
  import { ToolFailure } from "@opencode-ai/ai";
37
37
  import { Effect, Schema } from "effect";
38
38
  import { Bom } from "@opencode-ai/util/bom";
39
- var name3 = "write";
40
- var Input3 = Schema.Struct({
39
+ var name6 = "write";
40
+ var Input6 = Schema.Struct({
41
41
  path: Schema.String.annotate({
42
42
  description: "Path to the file to write to"
43
43
  }),
44
44
  content: Schema.String.annotate({ description: "Content to write to the file" })
45
45
  });
46
- var Output2 = Schema.Struct({
46
+ var Output4 = Schema.Struct({
47
47
  operation: Schema.Literal("write"),
48
48
  target: Schema.String,
49
49
  resource: Schema.String,
50
50
  existed: Schema.Boolean
51
51
  });
52
- var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
53
- var Plugin16 = {
52
+ var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
53
+ var Plugin37 = {
54
54
  id: "opencode.tool.write",
55
55
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
56
56
  const mutation = yield* Service15;
57
57
  const fileMutation = yield* Service14;
58
- const environment = yield* Service62;
58
+ const environment = yield* Service73;
59
59
  const formatter = yield* Service13;
60
- const permission = yield* Service49;
60
+ const permission = yield* Service54;
61
61
  yield* ctx.tool.transform((editor) => editor.add({
62
- name: name3,
62
+ name: name6,
63
63
  options: { codemode: false, permission: "edit" },
64
64
  description: `Writes a file to the local filesystem, overwriting if one exists.
65
65
 
66
66
  Missing parent directories are created automatically.
67
67
 
68
68
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
69
- input: Input3,
70
- output: Output2,
69
+ input: Input6,
70
+ output: Output4,
71
71
  execute: (input, context) => Effect.gen(function* () {
72
72
  const source = {
73
73
  type: "tool",
@@ -101,9 +101,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
101
101
  yield* syncTextBom2(environment.files, target.absolute, bom);
102
102
  }
103
103
  return result;
104
- }).pipe(Effect.map((output) => ({ output, content: toModelContent3(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
104
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent2(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
105
105
  })).pipe(Effect.orDie);
106
106
  })
107
107
  };
108
108
 
109
- export { name3, Input3, Output2, toModelContent3, Plugin16, exports_write };
109
+ export { name6, Input6, Output4, toModelContent2, Plugin37, exports_write };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./provider-9rqn6x4v.js";
4
4
 
5
5
  // src/session/system-prompt.ts
6
6
  var exports_system_prompt2 = {};
7
7
  __export(exports_system_prompt2, {
8
8
  SessionSystemPrompt: () => exports_system_prompt2,
9
- make: () => make17,
10
- render: () => render3
9
+ make: () => make15,
10
+ render: () => render2
11
11
  });
12
12
 
13
13
  // src/session/runner/prompt/system.txt
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent powered by OpenCode, a coding agent ha
29
29
  `;
30
30
 
31
31
  // src/session/system-prompt.ts
32
- function make17(tools) {
33
- return render3(system_default, tools);
32
+ function make15(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 { make17, render3, exports_system_prompt2 };
50
+ export { make15, render2, exports_system_prompt2 };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  fromPromise2
3
- } from "./pty-b9wsbatv.js";
3
+ } from "./provider-b9wsbatv.js";
4
4
  import {
5
- Service44
6
- } from "./pty-rkj48kta.js";
5
+ Service63
6
+ } from "./provider-ess3gj99.js";
7
7
  import {
8
8
  __export
9
- } from "./pty-9rqn6x4v.js";
9
+ } from "./provider-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/module.ts
12
12
  var exports_module = {};
13
13
  __export(exports_module, {
14
14
  LoadError: () => LoadError2,
15
15
  PluginModule: () => exports_module,
16
- make: () => make3
16
+ make: () => make4
17
17
  });
18
18
  import { Host } from "@opencode-ai/plugin/host";
19
19
  import { createPluginSources } from "@opencode-ai/plugin/source";
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
22
22
  import path from "path";
23
23
  import { stat } from "node:fs/promises";
24
24
  import { fileURLToPath, pathToFileURL } from "url";
25
- var make3 = Effect.fn("PluginModule.make")(function* () {
26
- const watcher = yield* Service44;
25
+ var make4 = Effect.fn("PluginModule.make")(function* () {
26
+ const watcher = yield* Service63;
27
27
  const scope = yield* Effect.scope;
28
28
  const runPromise = yield* FiberSet.makeRuntimePromise();
29
29
  const changes = yield* PubSub.unbounded();
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
102
102
  };
103
103
  });
104
104
 
105
- export { make3, LoadError2, exports_module };
105
+ export { make4, LoadError2, exports_module };