@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,15 +1,15 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./pty-gd4qta3r.js";
3
+ } from "./provider-gd4qta3r.js";
4
4
  import {
5
5
  ascending2
6
- } from "./pty-k4bwy1x5.js";
6
+ } from "./provider-k4bwy1x5.js";
7
7
  import {
8
8
  create3
9
- } from "./pty-kg06axw8.js";
9
+ } from "./provider-kg06axw8.js";
10
10
  import {
11
11
  __export
12
- } from "./pty-9rqn6x4v.js";
12
+ } from "./provider-9rqn6x4v.js";
13
13
 
14
14
  // src/tool-output.ts
15
15
  var exports_tool_output2 = {};
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
18
18
  MAX_BYTES: () => MAX_BYTES2,
19
19
  MAX_LINES: () => MAX_LINES2,
20
20
  RETENTION: () => RETENTION3,
21
- Service: () => Service77,
21
+ Service: () => Service61,
22
22
  ToolOutput: () => exports_tool_output2,
23
- node: () => node82
23
+ node: () => node64
24
24
  });
25
25
  import path from "path";
26
26
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
32
32
  var RETENTION3 = Duration.days(7);
33
33
  var DIRECTORY3 = "tool-output";
34
34
 
35
- class Service77 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service61 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service77, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service61, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
122
122
  metadata: { ...result.metadata, truncated: true, outputPath: file }
123
123
  };
124
124
  });
125
- return Service77.of({
125
+ return Service61.of({
126
126
  transform: state.transform,
127
127
  reload: state.reload,
128
128
  truncate,
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
139
139
  layer: cleanupLayer,
140
140
  deps: [FSUtil.node, Global.node]
141
141
  });
142
- var node82 = makeLocationNode({
143
- service: Service77,
142
+ var node64 = makeLocationNode({
143
+ service: Service61,
144
144
  layer,
145
145
  deps: [FSUtil.node, Global.node, cleanupNode]
146
146
  });
147
147
 
148
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service77, node82, exports_tool_output2 };
148
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service61, node64, exports_tool_output2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./pty-p8qxwesx.js";
3
+ } from "./provider-p8qxwesx.js";
4
4
  import {
5
- Info17
6
- } from "./pty-hj3nn2ka.js";
5
+ Info22
6
+ } from "./provider-nj1fe1jb.js";
7
7
  import {
8
8
  __export
9
- } from "./pty-9rqn6x4v.js";
9
+ } from "./provider-9rqn6x4v.js";
10
10
 
11
11
  // src/v1/config/agent.ts
12
- var exports_agent3 = {};
13
- __export(exports_agent3, {
14
- ConfigAgentV1: () => exports_agent3,
15
- Info: () => Info16
12
+ var exports_agent4 = {};
13
+ __export(exports_agent4, {
14
+ ConfigAgentV1: () => exports_agent4,
15
+ Info: () => Info15
16
16
  });
17
17
  import { Schema, SchemaGetter } from "effect";
18
18
  var Color = Schema.Union([
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
44
44
  description: "Maximum number of agentic iterations before forcing text-only response"
45
45
  }),
46
46
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
47
- permission: Schema.optional(Info17)
47
+ permission: Schema.optional(Info22)
48
48
  }), [Schema.Record(Schema.String, Schema.Any)]);
49
49
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
50
50
  var normalize = (agent) => {
@@ -66,9 +66,9 @@ var normalize = (agent) => {
66
66
  const steps = agent.steps ?? agent.maxSteps;
67
67
  return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
68
68
  };
69
- var Info16 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
69
+ var Info15 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
70
70
  decode: SchemaGetter.transform(normalize),
71
71
  encode: SchemaGetter.passthrough({ strict: false })
72
72
  })).annotate({ identifier: "AgentConfig" });
73
73
 
74
- export { Info16, exports_agent3 };
74
+ export { Info15, exports_agent4 };
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./pty-p8qxwesx.js";
3
+ } from "./provider-p8qxwesx.js";
4
4
  import {
5
5
  latest2,
6
- Service43
7
- } from "./pty-7egpt7q5.js";
6
+ Service62
7
+ } from "./provider-vqk7jqfs.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./pty-2a5m3afh.js";
10
+ } from "./provider-2a5m3afh.js";
11
11
  import {
12
- Service62
13
- } from "./pty-daafe3cw.js";
12
+ Service73
13
+ } from "./provider-0an26ms7.js";
14
14
  import {
15
- Service67
16
- } from "./pty-y0p5t1h8.js";
15
+ Service45
16
+ } from "./provider-d8ecvvew.js";
17
17
  import {
18
18
  resolvePath2,
19
19
  Service15
20
- } from "./pty-1a53kk3r.js";
20
+ } from "./provider-2f9fbt2v.js";
21
21
  import {
22
- Service49
23
- } from "./pty-vy6rh34j.js";
22
+ Service54
23
+ } from "./provider-nfcew73a.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./pty-fxbjtjnd.js";
29
+ } from "./provider-fxbjtjnd.js";
30
30
  import {
31
- Service76,
31
+ Service75,
32
32
  name15
33
- } from "./pty-qatzdmex.js";
33
+ } from "./provider-0e2qvb29.js";
34
34
  import {
35
- NotFoundError4,
36
- Service41
37
- } from "./pty-gm79ndkw.js";
35
+ NotFoundError8,
36
+ Service59
37
+ } from "./provider-b60kwn70.js";
38
38
  import {
39
- Service22
40
- } from "./pty-w53v2v29.js";
39
+ Service21
40
+ } from "./provider-8ztds29y.js";
41
41
  import {
42
42
  scan2
43
- } from "./pty-dh8qxndx.js";
43
+ } from "./provider-hcbz9q61.js";
44
44
  import {
45
45
  __export
46
- } from "./pty-9rqn6x4v.js";
46
+ } from "./provider-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell = {};
50
- __export(exports_shell, {
49
+ var exports_shell2 = {};
50
+ __export(exports_shell2, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input6,
53
- Plugin: () => Plugin19,
54
- ShellTool: () => exports_shell,
55
- name: () => name6
52
+ Input: () => Input7,
53
+ Plugin: () => Plugin38,
54
+ ShellTool: () => exports_shell2,
55
+ name: () => name7
56
56
  });
57
57
  import { ToolFailure } from "@opencode-ai/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name6 = "shell";
59
+ var name7 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. DO NOT run sleep commands or poll the output file to check for completion. You can read from the file when its current output would be useful, such as when inspecting logs from a background server. Otherwise, continue with other work or end your response.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input6 = Schema.Struct({
73
+ var Input7 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
115
115
  truncated: false,
116
116
  status: "running"
117
117
  });
118
- var Plugin19 = {
118
+ var Plugin38 = {
119
119
  id: "opencode.tool.shell",
120
120
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
121
- const sessions = yield* Service22;
122
- const jobs = yield* Service67;
121
+ const sessions = yield* Service21;
122
+ const jobs = yield* Service45;
123
123
  const scope = yield* Scope.Scope;
124
- const environment = yield* Service62;
124
+ const environment = yield* Service73;
125
125
  const mutation = yield* Service15;
126
- const shell = yield* Service41;
127
- const shellSelect = yield* Service76;
126
+ const shell = yield* Service59;
127
+ const shellSelect = yield* Service75;
128
128
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
129
- const permission = yield* Service49;
130
- const config = yield* Service43;
129
+ const permission = yield* Service54;
130
+ const config = yield* Service62;
131
131
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
132
132
  const source = {
133
133
  type: "tool",
@@ -155,7 +155,7 @@ var Plugin19 = {
155
155
  });
156
156
  if (parsed.commands.length > 0)
157
157
  yield* permission.assert({
158
- action: name6,
158
+ action: name7,
159
159
  resources: parsed.commands.map((command) => command.resource),
160
160
  save: parsed.commands.map((command) => command.save),
161
161
  sessionID: context.sessionID,
@@ -192,10 +192,10 @@ var Plugin19 = {
192
192
  yield* jobs.completeBackground(info.notificationID);
193
193
  }, Effect.forkIn(scope, { startImmediately: true }));
194
194
  yield* ctx.tool.transform((editor) => editor.add({
195
- name: name6,
195
+ name: name7,
196
196
  options: { codemode: false },
197
197
  description: description(),
198
- input: Input6,
198
+ input: Input7,
199
199
  output: Output,
200
200
  execute: (input, context) => Effect.gen(function* () {
201
201
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -214,7 +214,7 @@ var Plugin19 = {
214
214
  const run = Effect.gen(function* () {
215
215
  const result = yield* shell.result(info);
216
216
  if (!result.capture)
217
- return yield* new NotFoundError4({ id: info.id });
217
+ return yield* new NotFoundError8({ id: info.id });
218
218
  const output = output2(result);
219
219
  return {
220
220
  ...output,
@@ -228,7 +228,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
228
228
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
229
229
  const job = yield* jobs.start({
230
230
  id: info.id,
231
- type: name6,
231
+ type: name7,
232
232
  title: info.command,
233
233
  metadata: { sessionID: context.sessionID, shellID: info.id },
234
234
  recovery: {
@@ -258,7 +258,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
258
258
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
259
259
  })).pipe(Effect.orDie);
260
260
  yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
261
- const tool = event.tools[name6];
261
+ const tool = event.tools[name7];
262
262
  if (!tool)
263
263
  return;
264
264
  tool.description = description(name15(yield* compatibleShell));
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
266
266
  })
267
267
  };
268
268
 
269
- export { name6, DEFAULT_TIMEOUT_MS2, Input6, Plugin19, exports_shell };
269
+ export { name7, DEFAULT_TIMEOUT_MS2, Input7, Plugin38, exports_shell2 };
@@ -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/memory.ts
11
11
  var exports_memory = {};
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./pty-982e01ww.js";
3
+ } from "./provider-982e01ww.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./pty-qq0tkz6q.js";
6
+ } from "./provider-5p910kp8.js";
7
7
  import {
8
8
  MessageDecodeError2
9
- } from "./pty-m1wfp3t7.js";
9
+ } from "./provider-me1jjq5a.js";
10
10
  import {
11
11
  InitializationBlocked2,
12
12
  read3
13
- } from "./pty-mtcjf44p.js";
13
+ } from "./provider-6e958v7x.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./pty-hrvm11jt.js";
16
+ } from "./provider-g2dy4bvs.js";
17
17
  import {
18
18
  initial2,
19
19
  preview3
20
- } from "./pty-g3m9axkp.js";
20
+ } from "./provider-xg9wzphz.js";
21
21
  import {
22
22
  __export
23
- } from "./pty-9rqn6x4v.js";
23
+ } from "./provider-9rqn6x4v.js";
24
24
 
25
25
  // src/session/history.ts
26
26
  var exports_history = {};
@@ -30,7 +30,7 @@ __export(exports_history, {
30
30
  entriesForRunner: () => entriesForRunner2,
31
31
  firstUserMessage: () => firstUserMessage2,
32
32
  latestCompaction: () => latestCompaction2,
33
- load: () => load3,
33
+ load: () => load2,
34
34
  preview: () => preview2
35
35
  });
36
36
  import { and, asc, desc, eq, gte, sql } from "drizzle-orm";
@@ -48,7 +48,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID) {
48
48
  const rows = yield* db.select().from(SessionMessageTable2).where(and(eq(SessionMessageTable2.session_id, sessionID), compaction ? gte(SessionMessageTable2.seq, compaction.seq) : undefined)).orderBy(asc(SessionMessageTable2.seq)).all().pipe(Effect.orDie);
49
49
  return yield* Effect.forEach(rows, (row) => decodeMessageRow2(row).pipe(Effect.map((message) => ({ seq: row.seq, message }))));
50
50
  });
51
- var load3 = Effect.fn("SessionHistory.load")(function* (db, sessionID) {
51
+ var load2 = Effect.fn("SessionHistory.load")(function* (db, sessionID) {
52
52
  return (yield* messageEntries(db, sessionID)).map((entry) => entry.message);
53
53
  });
54
54
  var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions) {
@@ -84,4 +84,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
84
84
  return message?.type === "user" ? message : undefined;
85
85
  });
86
86
 
87
- export { latestCompaction2, decodeMessageRow2, load3, entriesForRunner2, preview2, firstUserMessage2, exports_history };
87
+ export { latestCompaction2, decodeMessageRow2, load2, entriesForRunner2, preview2, firstUserMessage2, exports_history };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  mergeOverlay2
3
- } from "./pty-4z6b0fg6.js";
3
+ } from "./provider-g19vc6v7.js";
4
4
  import {
5
- Service59
6
- } from "./pty-wcx5mfjt.js";
5
+ Service67
6
+ } from "./provider-qfzsxjsm.js";
7
7
  import {
8
- Service43
9
- } from "./pty-7egpt7q5.js";
8
+ Service62
9
+ } from "./provider-vqk7jqfs.js";
10
10
 
11
11
  // src/plugin/provider/configured.ts
12
12
  import { Effect, Option } from "effect";
13
13
  var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
14
- const catalog = yield* Service59;
14
+ const catalog = yield* Service67;
15
15
  const current = (yield* catalog.provider.get(id))?.settings;
16
- const service = yield* Effect.serviceOption(Service43);
16
+ const service = yield* Effect.serviceOption(Service62);
17
17
  const entries = Option.isSome(service) ? yield* service.value.entries() : [];
18
18
  return foldSettings2(entries, id, current);
19
19
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
- Service69
3
- } from "./pty-92c2hcx4.js";
2
+ Service76
3
+ } from "./provider-wkfd3kg3.js";
4
4
  import {
5
5
  PATCH_CONTEXT_LINES2,
6
6
  MAX_PATCH_BYTES2,
@@ -10,18 +10,18 @@ import {
10
10
  deletePatch2,
11
11
  countPatch2,
12
12
  chunksByFile2
13
- } from "./pty-tazgh4e4.js";
13
+ } from "./provider-tazgh4e4.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./pty-jzd86gch.js";
16
+ } from "./provider-kdngb1xv.js";
17
17
  import {
18
18
  __export
19
- } from "./pty-9rqn6x4v.js";
19
+ } from "./provider-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/hg.ts
22
22
  var exports_hg = {};
23
23
  __export(exports_hg, {
24
- Plugin: () => Plugin8,
24
+ Plugin: () => Plugin24,
25
25
  VcsHgPlugin: () => exports_hg
26
26
  });
27
27
  import path from "path";
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
30
30
  import { define } from "@opencode-ai/plugin/effect/plugin";
31
31
  import { FSUtil } from "@opencode-ai/util/fs-util";
32
32
  import { AppProcess } from "@opencode-ai/util/process";
33
- var Plugin8 = define({
33
+ var Plugin24 = define({
34
34
  id: "opencode.vcs.hg",
35
35
  effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
36
- const location = yield* Service69;
36
+ const location = yield* Service76;
37
37
  if (location.vcs?.type !== "hg")
38
38
  return;
39
39
  const processes = yield* AppProcess.Service;
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
188
188
  return { status, diff, branch, ancestor, cat };
189
189
  }
190
190
 
191
- export { Plugin8, exports_hg };
191
+ export { Plugin24, exports_hg };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./pty-4z6b0fg6.js";
4
+ } from "./provider-g19vc6v7.js";
5
5
 
6
6
  // src/plugin/provider/vercel.ts
7
7
  import { Effect } from "effect";
@@ -1,66 +1,66 @@
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
- ID14
11
- } from "./pty-4y7bcn0g.js";
10
+ ID2
11
+ } from "./provider-7zk4hah4.js";
12
12
  import {
13
- Service76,
13
+ Service75,
14
14
  login2,
15
- node81
16
- } from "./pty-qatzdmex.js";
15
+ node80
16
+ } from "./provider-0e2qvb29.js";
17
17
  import {
18
18
  lazy2
19
- } from "./pty-88xbtdfr.js";
19
+ } from "./provider-88xbtdfr.js";
20
20
  import {
21
21
  __export
22
- } from "./pty-9rqn6x4v.js";
22
+ } from "./provider-9rqn6x4v.js";
23
23
 
24
24
  // src/pty.ts
25
25
  var exports_pty = {};
26
26
  __export(exports_pty, {
27
- CreateInput: () => CreateInput3,
28
- Event: () => Event18,
27
+ CreateInput: () => CreateInput2,
28
+ Event: () => Event4,
29
29
  ExitedError: () => ExitedError2,
30
- Info: () => Info27,
31
- NotFoundError: () => NotFoundError8,
30
+ Info: () => Info2,
31
+ NotFoundError: () => NotFoundError2,
32
32
  Pty: () => exports_pty,
33
- Service: () => Service68,
33
+ Service: () => Service20,
34
34
  UpdateInput: () => UpdateInput2,
35
- node: () => node73
35
+ node: () => node23
36
36
  });
37
37
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
38
38
  import { Context, Effect, Layer, Schema } from "effect";
39
39
  import { Pty } from "@opencode-ai/schema/pty";
40
- import { Event as Event18 } from "@opencode-ai/schema/pty";
40
+ import { Event as Event4 } from "@opencode-ai/schema/pty";
41
41
  var BUFFER_LIMIT = 1024 * 1024 * 2;
42
42
  var EXITED_LIMIT = 25;
43
43
  var pty = lazy2(() => import("#pty"));
44
- var Info27 = Pty.Info;
45
- var CreateInput3 = Pty.CreateInput;
44
+ var Info2 = Pty.Info;
45
+ var CreateInput2 = Pty.CreateInput;
46
46
  var UpdateInput2 = Pty.UpdateInput;
47
47
 
48
- class NotFoundError8 extends Schema.TaggedError()("Pty.NotFoundError", {
49
- ptyID: ID14
48
+ class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
49
+ ptyID: ID2
50
50
  }) {
51
51
  }
52
52
 
53
53
  class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
54
- ptyID: ID14
54
+ ptyID: ID2
55
55
  }) {
56
56
  }
57
57
 
58
- class Service68 extends Context.Service()("@opencode/Pty") {
58
+ class Service20 extends Context.Service()("@opencode/Pty") {
59
59
  }
60
- var layer = Layer.effect(Service68, Effect.gen(function* () {
60
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
61
61
  const bus = yield* Service79;
62
- const location = yield* Service69;
63
- const shell = yield* Service76;
62
+ const location = yield* Service76;
63
+ const shell = yield* Service75;
64
64
  const context = yield* Effect.context();
65
65
  const runFork = Effect.runForkWith(context);
66
66
  const sessions = new Map;
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
97
97
  const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
98
98
  const session = sessions.get(id);
99
99
  if (!session)
100
- return yield* new NotFoundError8({ ptyID: id });
100
+ return yield* new NotFoundError2({ ptyID: id });
101
101
  return session;
102
102
  });
103
103
  const removeSession = Effect.fnUntraced(function* (id) {
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
123
123
  return (yield* requireSession(id)).info;
124
124
  });
125
125
  const create = Effect.fn("Pty.create")(function* (input) {
126
- const id = ID14.ascending();
126
+ const id = ID2.ascending();
127
127
  const command = input.command || (yield* shell.resolve({ priority: "config" }));
128
128
  const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
129
129
  const cwd = input.cwd || location.directory;
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
268
268
  }
269
269
  };
270
270
  });
271
- return Service68.of({ list, get, create, update, remove, write, attach });
271
+ return Service20.of({ list, get, create, update, remove, write, attach });
272
272
  }));
273
- var node73 = makeLocationNode({
274
- service: Service68,
273
+ var node23 = makeLocationNode({
274
+ service: Service20,
275
275
  layer,
276
- deps: [node84, node74, node81]
276
+ deps: [node84, node81, node80]
277
277
  });
278
278
 
279
- export { Info27, CreateInput3, UpdateInput2, NotFoundError8, ExitedError2, Service68, node73, exports_pty, Event18 };
279
+ export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service20, node23, exports_pty, Event4 };