@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,22 +1,22 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./pty-p8qxwesx.js";
3
+ } from "./provider-p8qxwesx.js";
4
4
  import {
5
- Service69
6
- } from "./pty-92c2hcx4.js";
5
+ Service76
6
+ } from "./provider-wkfd3kg3.js";
7
7
  import {
8
8
  externalDirectoryPermission2,
9
9
  Service15
10
- } from "./pty-1a53kk3r.js";
10
+ } from "./provider-2f9fbt2v.js";
11
11
  import {
12
- Service49
13
- } from "./pty-vy6rh34j.js";
12
+ Service54
13
+ } from "./provider-nfcew73a.js";
14
14
  import {
15
- Service6
16
- } from "./pty-hv2h1j34.js";
15
+ Service11
16
+ } from "./provider-zxkgzhhn.js";
17
17
  import {
18
18
  NotFound2
19
- } from "./pty-2a5m3afh.js";
19
+ } from "./provider-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
- Service5
31
- } from "./pty-vknt59z3.js";
30
+ Service12
31
+ } from "./provider-efwdxecf.js";
32
32
  import {
33
33
  __export
34
- } from "./pty-9rqn6x4v.js";
34
+ } from "./provider-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/read.ts
37
37
  var exports_read = {};
38
38
  __export(exports_read, {
39
- Input: () => Input2,
40
- Plugin: () => Plugin15,
39
+ Input: () => Input10,
40
+ Plugin: () => Plugin41,
41
41
  ReadTool: () => exports_read,
42
- name: () => name2,
43
- toModelContent: () => toModelContent2
42
+ name: () => name10,
43
+ toModelContent: () => toModelContent5
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 name2 = "read";
49
+ var name10 = "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 Input2 = LocationInput;
60
+ var Input10 = LocationInput;
61
61
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
62
- var Plugin15 = {
62
+ var Plugin41 = {
63
63
  id: "opencode.tool.read",
64
64
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
65
- const reader = yield* Service5;
65
+ const reader = yield* Service12;
66
66
  const mutation = yield* Service15;
67
- const permission = yield* Service49;
68
- const sessionInstructions = yield* Service6;
67
+ const permission = yield* Service54;
68
+ const sessionInstructions = yield* Service11;
69
69
  const fs = yield* FSUtil.Service;
70
- const location = yield* Service69;
70
+ const location = yield* Service76;
71
71
  yield* ctx.tool.transform((editor) => editor.add({
72
- name: name2,
72
+ name: name10,
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: Input2,
75
+ input: Input10,
76
76
  output: Output,
77
77
  execute: (input, context) => {
78
78
  return Effect.gen(function* () {
@@ -90,7 +90,7 @@ var Plugin15 = {
90
90
  source
91
91
  });
92
92
  yield* permission.assert({
93
- action: name2,
93
+ action: name10,
94
94
  resources: [target.resource],
95
95
  save: ["*"],
96
96
  sessionID: context.sessionID,
@@ -141,7 +141,7 @@ var Plugin15 = {
141
141
  return { output: result.content, path: result.path };
142
142
  }).pipe(Effect.map((result) => ({
143
143
  output: result.output,
144
- content: toModelContent2(result.path, input.offset, result.output),
144
+ content: toModelContent5(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 toModelContent2 = (path, offset, output) => {
176
+ var toModelContent5 = (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 toModelContent2 = (path, offset, output) => {
208
208
  `);
209
209
  };
210
210
 
211
- export { name2, Input2, Plugin15, toModelContent2, exports_read };
211
+ export { name10, Input10, Plugin41, toModelContent5, exports_read };
@@ -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/instance.ts
6
6
  var exports_instance2 = {};
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./pty-p8qxwesx.js";
3
+ } from "./provider-p8qxwesx.js";
4
4
  import {
5
- Service69
6
- } from "./pty-92c2hcx4.js";
5
+ Service76
6
+ } from "./provider-wkfd3kg3.js";
7
7
  import {
8
- Service43
9
- } from "./pty-7egpt7q5.js";
8
+ Service62
9
+ } from "./provider-vqk7jqfs.js";
10
10
  import {
11
11
  LocalSource2,
12
12
  GitSource2
13
- } from "./pty-hdjt7769.js";
13
+ } from "./provider-7jjxgj4q.js";
14
14
  import {
15
15
  observe2
16
- } from "./pty-qsdy395h.js";
16
+ } from "./provider-qsdy395h.js";
17
17
  import {
18
18
  __export
19
- } from "./pty-9rqn6x4v.js";
19
+ } from "./provider-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/reference.ts
22
22
  var exports_reference = {};
23
23
  __export(exports_reference, {
24
24
  ConfigReferencePlugin: () => exports_reference,
25
- Plugin: () => Plugin34
25
+ Plugin: () => Plugin16
26
26
  });
27
27
  import { define } from "@opencode-ai/plugin/effect/plugin";
28
28
  import path from "path";
29
29
  import { Effect } from "effect";
30
30
  import { Global } from "@opencode-ai/util/global";
31
- var Plugin34 = define({
31
+ var Plugin16 = define({
32
32
  id: "opencode.config.reference",
33
33
  effect: Effect.fn(function* (ctx) {
34
- const config = yield* Service43;
35
- const location = yield* Service69;
34
+ const config = yield* Service62;
35
+ const location = yield* Service76;
36
36
  const global = yield* Global.Service;
37
37
  const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
38
38
  yield* ctx.reference.transform((editor) => {
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
72
72
  return path.isAbsolute(value) ? value : path.resolve(directory, value);
73
73
  }
74
74
 
75
- export { Plugin34, exports_reference };
75
+ export { Plugin16, exports_reference };
@@ -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/oauth/page.ts
6
6
  var exports_page = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./pty-qfa1cgps.js";
3
+ } from "./provider-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  jitCompatCheck2
3
- } from "./pty-emrn6kk6.js";
3
+ } from "./provider-emrn6kk6.js";
4
4
  import {
5
5
  SQLiteEffectDatabase2
6
- } from "./pty-71528wd2.js";
6
+ } from "./provider-xchn1187.js";
7
7
  import {
8
8
  EffectSQLiteSession2
9
- } from "./pty-rakype68.js";
9
+ } from "./provider-7kpptg10.js";
10
10
 
11
11
  // src/database/drizzle/effect-sqlite/driver.ts
12
12
  import * as Effect from "effect/Effect";
@@ -1,47 +1,47 @@
1
1
  import {
2
- ID6,
3
- Service53
4
- } from "./pty-424y433t.js";
2
+ ID8,
3
+ Service57
4
+ } from "./provider-9ety662n.js";
5
5
  import {
6
6
  latest2,
7
- Service43
8
- } from "./pty-7egpt7q5.js";
7
+ Service62
8
+ } from "./provider-vqk7jqfs.js";
9
9
  import {
10
10
  SessionSchema2
11
- } from "./pty-qq0tkz6q.js";
11
+ } from "./provider-5p910kp8.js";
12
12
  import {
13
- Service67
14
- } from "./pty-y0p5t1h8.js";
13
+ Service45
14
+ } from "./provider-d8ecvvew.js";
15
15
  import {
16
16
  evaluate2,
17
- Service49
18
- } from "./pty-vy6rh34j.js";
17
+ Service54
18
+ } from "./provider-nfcew73a.js";
19
19
  import {
20
- Service22
21
- } from "./pty-w53v2v29.js";
20
+ Service21
21
+ } from "./provider-8ztds29y.js";
22
22
  import {
23
23
  NO_TEXT2
24
- } from "./pty-x1ezjp6w.js";
24
+ } from "./provider-x1ezjp6w.js";
25
25
  import {
26
- make8
27
- } from "./pty-kk59jywv.js";
26
+ make10
27
+ } from "./provider-818qf5z9.js";
28
28
  import {
29
29
  __export
30
- } from "./pty-9rqn6x4v.js";
30
+ } from "./provider-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/subagent.ts
33
33
  var exports_subagent = {};
34
34
  __export(exports_subagent, {
35
- Input: () => Input11,
36
- Output: () => Output7,
37
- Plugin: () => Plugin24,
35
+ Input: () => Input2,
36
+ Output: () => Output2,
37
+ Plugin: () => Plugin32,
38
38
  SubagentTool: () => exports_subagent,
39
- description: () => description4,
40
- name: () => name11
39
+ description: () => description2,
40
+ name: () => name2
41
41
  });
42
42
  import { ToolFailure } from "@opencode-ai/ai";
43
43
  import { Effect, Schema } from "effect";
44
- var name11 = "subagent";
44
+ var name2 = "subagent";
45
45
  var backgroundResult = (sessionID) => ({
46
46
  sessionID,
47
47
  status: "running",
@@ -52,7 +52,7 @@ var backgroundResult = (sessionID) => ({
52
52
  ].join(`
53
53
  `)
54
54
  });
55
- var Input11 = Schema.Struct({
55
+ var Input2 = Schema.Struct({
56
56
  agent: Schema.String.annotate({ description: "The type of specialized agent to use for this task" }),
57
57
  description: Schema.String.annotate({ description: "A short 3-5 word label for the task, displayed to the user" }),
58
58
  prompt: Schema.String.annotate({ description: "The task for the subagent to perform" }),
@@ -63,12 +63,12 @@ var Input11 = Schema.Struct({
63
63
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
64
64
  })
65
65
  });
66
- var Output7 = Schema.Struct({
66
+ var Output2 = Schema.Struct({
67
67
  sessionID: SessionSchema2.ID,
68
68
  status: Schema.Literals(["completed", "running"]),
69
69
  output: Schema.String
70
70
  });
71
- var description4 = [
71
+ var description2 = [
72
72
  "Spawns an agent in a child session to work on the specified task.",
73
73
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
74
74
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -77,21 +77,21 @@ var description4 = [
77
77
  "Use background only for independent work that can run while you continue elsewhere."
78
78
  ].join(`
79
79
  `);
80
- var Plugin24 = {
80
+ var Plugin32 = {
81
81
  id: "opencode.tool.subagent",
82
82
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
83
- const sessions = yield* Service22;
84
- const jobs = yield* Service67;
85
- const agents = yield* Service53;
86
- const config = yield* Service43;
87
- const permission = yield* Service49;
88
- const subagents = yield* make8;
83
+ const sessions = yield* Service21;
84
+ const jobs = yield* Service45;
85
+ const agents = yield* Service57;
86
+ const config = yield* Service62;
87
+ const permission = yield* Service54;
88
+ const subagents = yield* make10;
89
89
  yield* ctx.tool.transform((editor) => editor.add({
90
- name: name11,
90
+ name: name2,
91
91
  options: { codemode: false },
92
- description: description4,
93
- input: Input11,
94
- output: Output7,
92
+ description: description2,
93
+ input: Input2,
94
+ output: Output2,
95
95
  execute: (input, context) => Effect.gen(function* () {
96
96
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
97
97
  let current = parent;
@@ -111,7 +111,7 @@ var Plugin24 = {
111
111
  if (agent.mode === "primary")
112
112
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
113
113
  yield* permission.assert({
114
- action: name11,
114
+ action: name2,
115
115
  resources: [agent.id],
116
116
  save: [agent.id],
117
117
  sessionID: context.sessionID,
@@ -134,7 +134,7 @@ var Plugin24 = {
134
134
  const child = existing ?? (yield* sessions.create({
135
135
  parentID: context.sessionID,
136
136
  title: input.description,
137
- agent: ID6.make(input.agent),
137
+ agent: ID8.make(input.agent),
138
138
  model
139
139
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
140
140
  const background = input.background === true;
@@ -184,13 +184,13 @@ ${output.output}
184
184
  })))
185
185
  })).pipe(Effect.orDie);
186
186
  yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
187
- const tool = event.tools[name11];
187
+ const tool = event.tools[name2];
188
188
  if (!tool)
189
189
  return;
190
190
  const selected = yield* agents.resolve(event.agent);
191
191
  if (!selected)
192
192
  return;
193
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name11, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
193
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name2, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
194
194
  if (available.length === 0)
195
195
  return;
196
196
  tool.description = [
@@ -204,4 +204,4 @@ ${output.output}
204
204
  })
205
205
  };
206
206
 
207
- export { name11, Input11, Output7, description4, Plugin24, exports_subagent };
207
+ export { name2, Input2, Output2, description2, Plugin32, exports_subagent };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service79
3
- } from "./pty-qyhcknjv.js";
3
+ } from "./provider-qte5mmnh.js";
4
4
  import {
5
5
  Service16,
6
6
  Event2
7
- } from "./pty-f1sefvse.js";
7
+ } from "./provider-3gqntfgq.js";
8
8
 
9
9
  // src/plugin/models-dev.ts
10
10
  import { define } from "@opencode-ai/plugin/effect/plugin";
@@ -0,0 +1,247 @@
1
+ import {
2
+ node60
3
+ } from "./provider-9ety662n.js";
4
+ import {
5
+ node74
6
+ } from "./provider-7tqf86yy.js";
7
+ import {
8
+ node73
9
+ } from "./provider-9be6zmap.js";
10
+ import {
11
+ node71
12
+ } from "./provider-encf5598.js";
13
+ import {
14
+ node70
15
+ } from "./provider-qfzsxjsm.js";
16
+ import {
17
+ node55
18
+ } from "./provider-1sjs8vrb.js";
19
+ import {
20
+ node81,
21
+ boundNode2
22
+ } from "./provider-wkfd3kg3.js";
23
+ import {
24
+ configured7,
25
+ node65
26
+ } from "./provider-vqk7jqfs.js";
27
+ import {
28
+ node77
29
+ } from "./provider-0an26ms7.js";
30
+ import {
31
+ node17
32
+ } from "./provider-1y3t3jga.js";
33
+ import {
34
+ node16
35
+ } from "./provider-4dj65k8e.js";
36
+ import {
37
+ node21
38
+ } from "./provider-13v61wc5.js";
39
+ import {
40
+ node20
41
+ } from "./provider-87687fkt.js";
42
+ import {
43
+ node69
44
+ } from "./provider-ggnnjyyr.js";
45
+ import {
46
+ node44
47
+ } from "./provider-r29jw8yz.js";
48
+ import {
49
+ node46
50
+ } from "./provider-69j7xj95.js";
51
+ import {
52
+ node41
53
+ } from "./provider-7e69hvtd.js";
54
+ import {
55
+ Service32,
56
+ node35
57
+ } from "./provider-n9mr47st.js";
58
+ import {
59
+ node36
60
+ } from "./provider-qey6vfz4.js";
61
+ import {
62
+ node68
63
+ } from "./provider-yzgp7g2d.js";
64
+ import {
65
+ node57
66
+ } from "./provider-nfcew73a.js";
67
+ import {
68
+ node34
69
+ } from "./provider-nbw8mv70.js";
70
+ import {
71
+ configured5,
72
+ node51
73
+ } from "./provider-zhj1bw0n.js";
74
+ import {
75
+ node38
76
+ } from "./provider-vwna6rrk.js";
77
+ import {
78
+ node42
79
+ } from "./provider-fdht7pma.js";
80
+ import {
81
+ node40
82
+ } from "./provider-vhbtg5gj.js";
83
+ import {
84
+ node53
85
+ } from "./provider-7jjxgj4q.js";
86
+ import {
87
+ node31
88
+ } from "./provider-z7y4prgk.js";
89
+ import {
90
+ node56
91
+ } from "./provider-dqarh4b4.js";
92
+ import {
93
+ node39
94
+ } from "./provider-zshmhtvs.js";
95
+ import {
96
+ node28
97
+ } from "./provider-zwcjdryk.js";
98
+ import {
99
+ node61
100
+ } from "./provider-xjn6wd3a.js";
101
+ import {
102
+ node80
103
+ } from "./provider-0e2qvb29.js";
104
+ import {
105
+ node64
106
+ } from "./provider-9zy34hsg.js";
107
+ import {
108
+ node62
109
+ } from "./provider-b60kwn70.js";
110
+ import {
111
+ node47
112
+ } from "./provider-nc3b1wgh.js";
113
+ import {
114
+ node45
115
+ } from "./provider-kdngb1xv.js";
116
+ import {
117
+ node50
118
+ } from "./provider-5g2e3aap.js";
119
+ import {
120
+ node43
121
+ } from "./provider-t22pecrr.js";
122
+ import {
123
+ node24
124
+ } from "./provider-5j6fg35e.js";
125
+ import {
126
+ node2
127
+ } from "./provider-ey5akwsf.js";
128
+ import {
129
+ node18
130
+ } from "./provider-2f9fbt2v.js";
131
+ import {
132
+ node6,
133
+ bound2
134
+ } from "./provider-pae9v2p1.js";
135
+ import {
136
+ node12
137
+ } from "./provider-4297rwmf.js";
138
+ import {
139
+ node14
140
+ } from "./provider-zxkgzhhn.js";
141
+ import {
142
+ node15
143
+ } from "./provider-efwdxecf.js";
144
+ import {
145
+ node4
146
+ } from "./provider-j78wwk7e.js";
147
+ import {
148
+ node3
149
+ } from "./provider-d3hfvarq.js";
150
+ import {
151
+ node23
152
+ } from "./provider-b13177gh.js";
153
+ import {
154
+ node11
155
+ } from "./provider-ff9ttd4n.js";
156
+ import {
157
+ node10
158
+ } from "./provider-dv4b3fh8.js";
159
+ import {
160
+ __export
161
+ } from "./provider-9rqn6x4v.js";
162
+
163
+ // src/instance.ts
164
+ var exports_instance = {};
165
+ __export(exports_instance, {
166
+ Instance: () => exports_instance,
167
+ Service: () => Service32,
168
+ graph: () => graph2,
169
+ layer: () => layer2,
170
+ node: () => node35
171
+ });
172
+ import { Effect, Layer } from "effect";
173
+ import { LayerNode } from "@opencode-ai/util/effect/layer-node";
174
+ import { Node } from "@opencode-ai/util/effect/app-node";
175
+ var nodes = [
176
+ node81,
177
+ node77,
178
+ node65,
179
+ node60,
180
+ node55,
181
+ node53,
182
+ node47,
183
+ node50,
184
+ node71,
185
+ node70,
186
+ node69,
187
+ node74,
188
+ node24,
189
+ node68,
190
+ node6,
191
+ node4,
192
+ node3,
193
+ node43,
194
+ node21,
195
+ node20,
196
+ node80,
197
+ node23,
198
+ node62,
199
+ node56,
200
+ node38,
201
+ node51,
202
+ node18,
203
+ node17,
204
+ node16,
205
+ node41,
206
+ node57,
207
+ node42,
208
+ node64,
209
+ node46,
210
+ node39,
211
+ node31,
212
+ node36,
213
+ node73,
214
+ node44,
215
+ node15,
216
+ node40,
217
+ node14,
218
+ node34,
219
+ node12,
220
+ node11,
221
+ node28,
222
+ node61,
223
+ node10,
224
+ node45,
225
+ node2
226
+ ];
227
+ var graph2 = LayerNode.group(nodes);
228
+ var vanillaReplacements = [
229
+ node65.replace(configured7({ project: false, global: false })),
230
+ node51.replace(configured5({ project: false, global: false }))
231
+ ];
232
+ function layer2(ref, options = {}) {
233
+ const startedAt = performance.now();
234
+ const replacements = [
235
+ ...options.discovery === false ? vanillaReplacements : [],
236
+ ...options.replacements ?? [],
237
+ node81.replace(boundNode2(ref, { discovery: options.discovery })),
238
+ node6.replace(bound2(options.plugins ?? []))
239
+ ];
240
+ return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.orDie, Layer.tap(() => Effect.logInfo("location services booted", {
241
+ directory: ref.directory,
242
+ workspaceID: ref.workspaceID,
243
+ durationMs: Math.round(performance.now() - startedAt)
244
+ })));
245
+ }
246
+
247
+ export { graph2, layer2, exports_instance };