@opencode/core 0.0.0-dev-20648 → 0.0.0-dev-20649

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 (778) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{pty-pr3txkn9.js → mime-00qg2tcw.js} +13 -13
  8. package/dist/chunks/{pty-bt3wk4ae.js → mime-03d19y83.js} +4 -4
  9. package/dist/chunks/{pty-7pgwfb4h.js → mime-04mq6ee8.js} +27 -27
  10. package/dist/chunks/{pty-ckf8nxjz.js → mime-06x8he3q.js} +4 -4
  11. package/dist/chunks/{pty-csn018d7.js → mime-070fvye4.js} +42 -42
  12. package/dist/chunks/{pty-d45sg6xs.js → mime-0fan8waa.js} +20 -20
  13. package/dist/chunks/{pty-acg7byny.js → mime-0hwq8h39.js} +9 -9
  14. package/dist/chunks/{pty-q0xm7vwc.js → mime-0j77ygfz.js} +6 -6
  15. package/dist/chunks/{pty-0paq2nw3.js → mime-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{pty-0vbcp93d.js → mime-0vbcp93d.js} +2 -2
  17. package/dist/chunks/{pty-f33yc4k3.js → mime-0yzyde6c.js} +21 -21
  18. package/dist/chunks/{pty-a2hf6yb4.js → mime-12n08y7q.js} +8 -8
  19. package/dist/chunks/{pty-1qq73t15.js → mime-13qx119e.js} +10 -10
  20. package/dist/chunks/{pty-f34j0f4a.js → mime-16c21bq7.js} +10 -10
  21. package/dist/chunks/{pty-d3mnj8kh.js → mime-170w37en.js} +1 -1
  22. package/dist/chunks/{pty-g9jfc9ac.js → mime-1b37m1mh.js} +15 -15
  23. package/dist/chunks/{pty-1dazxqgg.js → mime-1dazxqgg.js} +2 -2
  24. package/dist/chunks/{pty-84h8c373.js → mime-1dvck2a7.js} +2 -2
  25. package/dist/chunks/{pty-09pca8az.js → mime-1j858gve.js} +24 -24
  26. package/dist/chunks/{pty-tb7q8jz9.js → mime-1mdr38wd.js} +18 -18
  27. package/dist/chunks/{pty-yrcj3v3g.js → mime-1rn5pcm9.js} +4 -4
  28. package/dist/chunks/{pty-1ygqh575.js → mime-1ygqh575.js} +2 -2
  29. package/dist/chunks/{pty-vpxjmme6.js → mime-23h4de3k.js} +16 -16
  30. package/dist/chunks/{pty-27qxacty.js → mime-27xqmrb2.js} +15 -15
  31. package/dist/chunks/{pty-2a5m3afh.js → mime-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{pty-b56sn4ad.js → mime-2at4bpy3.js} +10 -10
  33. package/dist/chunks/{pty-4ts7tf6z.js → mime-2ccvkpx1.js} +2 -2
  34. package/dist/chunks/{pty-2k8khapm.js → mime-2k8khapm.js} +1 -1
  35. package/dist/chunks/{pty-anfgajne.js → mime-2nhfnjcw.js} +16 -16
  36. package/dist/chunks/{pty-cwtckkf6.js → mime-2nthby9b.js} +27 -27
  37. package/dist/chunks/{pty-q0jcpdgf.js → mime-2sdz7qh7.js} +48 -48
  38. package/dist/chunks/{pty-wpybfb3e.js → mime-2vdde78z.js} +9 -9
  39. package/dist/chunks/{pty-bvjche96.js → mime-2wjfq3y1.js} +2 -2
  40. package/dist/chunks/{pty-ad0bmy2v.js → mime-31b5zmy0.js} +25 -25
  41. package/dist/chunks/{pty-rfyh9d2c.js → mime-34vqaa0j.js} +27 -27
  42. package/dist/chunks/{pty-vxp3kcg3.js → mime-38adaqc0.js} +5 -5
  43. package/dist/chunks/{pty-p1a0bpjp.js → mime-393wq71a.js} +25 -25
  44. package/dist/chunks/{pty-yas84py3.js → mime-3ch2ac9z.js} +13 -13
  45. package/dist/chunks/{pty-3fc6dm20.js → mime-3fc6dm20.js} +1 -1
  46. package/dist/chunks/{pty-nkxt7aqy.js → mime-3fw4vykw.js} +33 -33
  47. package/dist/chunks/{pty-4c91ejxn.js → mime-3h16yct6.js} +7 -7
  48. package/dist/chunks/{pty-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
  49. package/dist/chunks/{pty-ehypbcz6.js → mime-3hx84xbv.js} +27 -27
  50. package/dist/chunks/{pty-em95cejf.js → mime-3ktk39h6.js} +12 -12
  51. package/dist/chunks/{pty-6pdpv8kk.js → mime-3py696r4.js} +11 -11
  52. package/dist/chunks/{pty-g3msn0ej.js → mime-3qhg2zya.js} +5 -5
  53. package/dist/chunks/{pty-89rvcjqs.js → mime-3rd28rcz.js} +11 -11
  54. package/dist/chunks/{pty-b3jqpnzw.js → mime-3rz5q6jx.js} +13 -13
  55. package/dist/chunks/{pty-3smtnn6g.js → mime-3smtnn6g.js} +1 -1
  56. package/dist/chunks/{pty-k9s9h972.js → mime-3thfs4vd.js} +3 -3
  57. package/dist/chunks/{pty-3tvqynh2.js → mime-3tvqynh2.js} +1 -1
  58. package/dist/chunks/{pty-3zsf4n22.js → mime-3zsf4n22.js} +1 -1
  59. package/dist/chunks/{pty-48km10qy.js → mime-43efg38y.js} +14 -14
  60. package/dist/chunks/mime-459hb6np.js +253 -0
  61. package/dist/chunks/{pty-mt3n9ssm.js → mime-4tamdkr5.js} +5 -5
  62. package/dist/chunks/{pty-bp8hqz04.js → mime-4x0vy5hp.js} +3 -3
  63. package/dist/chunks/{pty-54ma36ye.js → mime-54ma36ye.js} +1 -1
  64. package/dist/chunks/{pty-sv5c54x8.js → mime-564aqkfr.js} +40 -40
  65. package/dist/chunks/{pty-xexk5p4t.js → mime-58phr483.js} +70 -70
  66. package/dist/chunks/{pty-9rh5dvbx.js → mime-59s0kgwy.js} +3 -3
  67. package/dist/chunks/{pty-5daktx2q.js → mime-5daktx2q.js} +1 -1
  68. package/dist/chunks/{pty-ph20cxtq.js → mime-5fb55ywp.js} +9 -9
  69. package/dist/chunks/{pty-j17byzzq.js → mime-5g9khqm3.js} +11 -11
  70. package/dist/chunks/{pty-gtmxr1a9.js → mime-5g9tk4c4.js} +23 -23
  71. package/dist/chunks/{pty-5m9w47nd.js → mime-5m9w47nd.js} +1 -1
  72. package/dist/chunks/{pty-tp4ajszw.js → mime-5mqyks12.js} +36 -36
  73. package/dist/chunks/{pty-5t3nmthw.js → mime-5t3nmthw.js} +2 -2
  74. package/dist/chunks/{pty-c19p4hyh.js → mime-5wn8k982.js} +25 -25
  75. package/dist/chunks/{pty-a2zg833y.js → mime-61zpm44j.js} +11 -11
  76. package/dist/chunks/{pty-5rz2hsq0.js → mime-6540dvt1.js} +7 -7
  77. package/dist/chunks/{pty-kpxf0xq6.js → mime-6cpwc79d.js} +24 -24
  78. package/dist/chunks/{pty-kvvk39gs.js → mime-6m42r3np.js} +21 -21
  79. package/dist/chunks/{pty-6xb47vfp.js → mime-6xb47vfp.js} +1 -1
  80. package/dist/chunks/{pty-f75zav2x.js → mime-71az546q.js} +2 -2
  81. package/dist/chunks/{pty-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{pty-923rcr6j.js → mime-7hwp9pe8.js} +11 -11
  83. package/dist/chunks/{pty-r79jpe1g.js → mime-7zx1qa5e.js} +14 -14
  84. package/dist/chunks/{pty-84txncab.js → mime-84txncab.js} +1 -1
  85. package/dist/chunks/{pty-2k71kv7p.js → mime-86qzxe6p.js} +4 -4
  86. package/dist/chunks/{pty-tcezcvh9.js → mime-89znhe33.js} +4 -4
  87. package/dist/chunks/{pty-8d7r5vzw.js → mime-8d7r5vzw.js} +1 -1
  88. package/dist/chunks/{pty-rtjv9fpq.js → mime-8gxsn6kg.js} +35 -35
  89. package/dist/chunks/{pty-q8zbp1h0.js → mime-8nzt4413.js} +11 -11
  90. package/dist/chunks/{pty-dmpsdkb3.js → mime-93exgp6v.js} +54 -54
  91. package/dist/chunks/{pty-kyr1z5gy.js → mime-93ymncz8.js} +21 -21
  92. package/dist/chunks/{pty-zt18z2tx.js → mime-93z3pz9m.js} +32 -32
  93. package/dist/chunks/{pty-0retw3c6.js → mime-99773vnq.js} +37 -37
  94. package/dist/chunks/{pty-qs7m5bs1.js → mime-9cnwn640.js} +16 -16
  95. package/dist/chunks/{pty-kb9j3d72.js → mime-9e5bzkjp.js} +3 -3
  96. package/dist/chunks/{pty-cmwkp3r5.js → mime-9hn6k4tm.js} +8 -8
  97. package/dist/chunks/{pty-h921bxg9.js → mime-9hyysrhy.js} +11 -11
  98. package/dist/chunks/{pty-ndphwy30.js → mime-9ne60yjh.js} +20 -20
  99. package/dist/chunks/{pty-ctdhhp9a.js → mime-9pnm2vv9.js} +30 -30
  100. package/dist/chunks/{pty-vgd5xkr1.js → mime-9qvg3h9w.js} +85 -85
  101. package/dist/chunks/{pty-6rhsmm9b.js → mime-a1nag75j.js} +4 -4
  102. package/dist/chunks/{pty-aaet6srn.js → mime-aaet6srn.js} +2 -2
  103. package/dist/chunks/{pty-mxvxcxwy.js → mime-addxnjmp.js} +4 -4
  104. package/dist/chunks/{pty-f8m0k53h.js → mime-aet780dh.js} +9 -9
  105. package/dist/chunks/{pty-nm21rvpv.js → mime-ag7r9101.js} +11 -11
  106. package/dist/chunks/{pty-sqvzcy4n.js → mime-as7cf5zz.js} +4 -4
  107. package/dist/chunks/{pty-scgrse2b.js → mime-b3f8fkhc.js} +5 -5
  108. package/dist/chunks/{pty-c8449nhm.js → mime-b644w2ar.js} +11 -11
  109. package/dist/chunks/{pty-b6gygkdw.js → mime-b6gygkdw.js} +2 -2
  110. package/dist/chunks/{pty-ksx0wd75.js → mime-bryryzyy.js} +11 -11
  111. package/dist/chunks/{pty-nche7t88.js → mime-bxcw0mka.js} +8 -8
  112. package/dist/chunks/{pty-mt4678g7.js → mime-c2hscm47.js} +26 -26
  113. package/dist/chunks/{pty-d7jcpxfr.js → mime-c9e1chd6.js} +13 -13
  114. package/dist/chunks/{pty-8jypv1cv.js → mime-cca1v9sb.js} +10 -10
  115. package/dist/chunks/{pty-4kbb9d62.js → mime-ccdh6zge.js} +10 -10
  116. package/dist/chunks/{pty-6tsxpv82.js → mime-cn48saaq.js} +19 -19
  117. package/dist/chunks/{pty-8k3tzzhw.js → mime-cs0pyha6.js} +45 -45
  118. package/dist/chunks/{pty-dhng9vzx.js → mime-d009mnpz.js} +29 -29
  119. package/dist/chunks/{pty-h462srpz.js → mime-d9v54453.js} +8 -8
  120. package/dist/chunks/{pty-dpkg50ah.js → mime-dpkg50ah.js} +1 -1
  121. package/dist/chunks/{pty-wd3qynhg.js → mime-ds0wtj4e.js} +1 -1
  122. package/dist/chunks/{pty-ev7nexnv.js → mime-ds77a3s3.js} +34 -34
  123. package/dist/chunks/{pty-fv8pqfsd.js → mime-dtm252p1.js} +5 -5
  124. package/dist/chunks/{pty-9cfex9y1.js → mime-dtt66365.js} +22 -22
  125. package/dist/chunks/{pty-5qd3pb7m.js → mime-e3qxr5gk.js} +2 -2
  126. package/dist/chunks/{pty-gzqsmt5r.js → mime-e5ncbec4.js} +4 -4
  127. package/dist/chunks/{pty-y71s8m6t.js → mime-e9dcgzx6.js} +4 -4
  128. package/dist/chunks/{pty-mjex1bph.js → mime-ea5vh3bk.js} +41 -41
  129. package/dist/chunks/{pty-ef5x83kb.js → mime-ef5x83kb.js} +1 -1
  130. package/dist/chunks/{pty-mk442ktg.js → mime-eqdfs7ht.js} +6 -6
  131. package/dist/chunks/{pty-0akqd5d4.js → mime-esfhhzdr.js} +21 -21
  132. package/dist/chunks/{pty-etq0c3wd.js → mime-etq0c3wd.js} +1 -1
  133. package/dist/chunks/{pty-ay5x7dxy.js → mime-f3cq72f8.js} +34 -34
  134. package/dist/chunks/{pty-z4snssz9.js → mime-f3kq77fw.js} +20 -20
  135. package/dist/chunks/{pty-xvjb85ys.js → mime-f44mjg6h.js} +4 -4
  136. package/dist/chunks/{pty-qeh1kqdq.js → mime-faajnp1h.js} +8 -8
  137. package/dist/chunks/{pty-9r9wb4j2.js → mime-fb2y2dbg.js} +11 -11
  138. package/dist/chunks/{pty-nj17t0gr.js → mime-fd1b7pt2.js} +15 -15
  139. package/dist/chunks/{pty-emwywv8g.js → mime-fhz5gfgy.js} +5 -5
  140. package/dist/chunks/{pty-hzrfc1p4.js → mime-fpnx24t4.js} +3 -3
  141. package/dist/chunks/{pty-thkc5986.js → mime-g530ctaj.js} +11 -11
  142. package/dist/chunks/{pty-gd4qta3r.js → mime-gd4qta3r.js} +1 -1
  143. package/dist/chunks/{pty-624z605s.js → mime-gdmg3xqt.js} +18 -18
  144. package/dist/chunks/{pty-k70p9jzb.js → mime-gh5z95q3.js} +9 -9
  145. package/dist/chunks/{pty-0099bvhy.js → mime-ghcmpcfh.js} +9 -9
  146. package/dist/chunks/{pty-nxkfy0rg.js → mime-ghe998k5.js} +11 -11
  147. package/dist/chunks/{pty-rvghhgda.js → mime-gkhvwrqw.js} +17 -17
  148. package/dist/chunks/{pty-9se51ysk.js → mime-gphzfxhq.js} +27 -27
  149. package/dist/chunks/{pty-4kc2bv9g.js → mime-h05y6get.js} +33 -33
  150. package/dist/chunks/{pty-9d8x5jdk.js → mime-h1qnxspz.js} +31 -31
  151. package/dist/chunks/{pty-3cegwx68.js → mime-h2b79v29.js} +2 -2
  152. package/dist/chunks/{pty-z1f2d5px.js → mime-h696b5ha.js} +30 -30
  153. package/dist/chunks/{pty-h6vf3j39.js → mime-h6vf3j39.js} +1 -1
  154. package/dist/chunks/{pty-d036g1ys.js → mime-h9dg90ta.js} +7 -7
  155. package/dist/chunks/{pty-txjh0ez7.js → mime-ha65gv77.js} +17 -17
  156. package/dist/chunks/{pty-gq70b9ca.js → mime-har29xsp.js} +7 -7
  157. package/dist/chunks/{pty-m995qhkc.js → mime-hkx83aab.js} +5 -5
  158. package/dist/chunks/{pty-rrpq0de9.js → mime-hs1x7rht.js} +5 -5
  159. package/dist/chunks/{pty-32t0bw84.js → mime-hy49mbwe.js} +12 -12
  160. package/dist/chunks/{pty-j56e64zr.js → mime-j56e64zr.js} +1 -1
  161. package/dist/chunks/{pty-6fgykvfe.js → mime-j6gcmj6w.js} +3 -3
  162. package/dist/chunks/{pty-xqpfqqd7.js → mime-j9g4e7w9.js} +20 -20
  163. package/dist/chunks/{pty-da3p7k9k.js → mime-jk8bzzjw.js} +4 -4
  164. package/dist/chunks/{pty-cfsekr6v.js → mime-jktqzjpa.js} +8 -8
  165. package/dist/chunks/{pty-9tyz0y11.js → mime-jrc5bn6s.js} +11 -11
  166. package/dist/chunks/{pty-ddy3e1gr.js → mime-jskn7g1e.js} +3 -3
  167. package/dist/chunks/{pty-ap8tz65t.js → mime-jxd6d72w.js} +3 -3
  168. package/dist/chunks/{pty-1p7f10vm.js → mime-k1qrnqst.js} +8 -8
  169. package/dist/chunks/{pty-3z4a0cq1.js → mime-k63gn3x0.js} +4 -4
  170. package/dist/chunks/{pty-bw9phdsx.js → mime-kbx4g6d9.js} +30 -30
  171. package/dist/chunks/{pty-sm2pca5m.js → mime-kj8me5dh.js} +5 -5
  172. package/dist/chunks/{pty-zge3vb8x.js → mime-kn1g41v8.js} +24 -24
  173. package/dist/chunks/{pty-55t9wqe0.js → mime-ksgsjq6b.js} +20 -20
  174. package/dist/chunks/{pty-wa3vteb6.js → mime-kvvdvz0d.js} +37 -37
  175. package/dist/chunks/{pty-nanknxd5.js → mime-ky7drcmt.js} +13 -13
  176. package/dist/chunks/{pty-xbe8mphx.js → mime-kz8ps502.js} +12 -12
  177. package/dist/chunks/{pty-m3fdjcah.js → mime-m3fdjcah.js} +1 -1
  178. package/dist/chunks/{pty-97c348b2.js → mime-m6yxcdx8.js} +32 -32
  179. package/dist/chunks/{pty-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
  180. package/dist/chunks/{pty-a1gpj94z.js → mime-mhkvc446.js} +3 -3
  181. package/dist/chunks/{pty-efk260vg.js → mime-myn0gkp2.js} +16 -16
  182. package/dist/chunks/{pty-wja9eyn5.js → mime-mypwhdkk.js} +6 -6
  183. package/dist/chunks/{pty-42q8eg0m.js → mime-mz925t54.js} +5 -5
  184. package/dist/chunks/{pty-zqfdtaf3.js → mime-n11krz91.js} +42 -42
  185. package/dist/chunks/{pty-gap9jj81.js → mime-n14gvf56.js} +14 -14
  186. package/dist/chunks/{pty-5rpr6ftq.js → mime-n88acrca.js} +17 -17
  187. package/dist/chunks/{pty-gj71zhbs.js → mime-n8vdnqrc.js} +5 -5
  188. package/dist/chunks/{pty-8j0pg7vy.js → mime-na7gn6xf.js} +29 -29
  189. package/dist/chunks/{pty-pk028k88.js → mime-ncj3k1yy.js} +26 -26
  190. package/dist/chunks/{pty-e3cy6mqt.js → mime-ndn3sg6m.js} +5 -5
  191. package/dist/chunks/{pty-x8t7tj7c.js → mime-npzkpwms.js} +8 -8
  192. package/dist/chunks/{pty-t4y1vgnz.js → mime-p02g0fw2.js} +24 -24
  193. package/dist/chunks/{pty-a6syyywt.js → mime-p1dcwdyv.js} +26 -26
  194. package/dist/chunks/{pty-hsf7jdvw.js → mime-p1ve58ng.js} +30 -30
  195. package/dist/chunks/{pty-2vqnfsz1.js → mime-p6cz1f6w.js} +16 -16
  196. package/dist/chunks/{pty-23897brc.js → mime-pd812h7a.js} +8 -8
  197. package/dist/chunks/{pty-zg438qz9.js → mime-pe057h99.js} +44 -44
  198. package/dist/chunks/{pty-t17teb9f.js → mime-penzfr98.js} +19 -19
  199. package/dist/chunks/{pty-mjv4r1bw.js → mime-pfcsshcq.js} +26 -26
  200. package/dist/chunks/mime-phz3h32g.js +18 -0
  201. package/dist/chunks/{pty-pjvnvgmy.js → mime-pjvnvgmy.js} +1 -1
  202. package/dist/chunks/{pty-pknna89w.js → mime-pknna89w.js} +1 -1
  203. package/dist/chunks/{pty-dshcjhsp.js → mime-pkw6pxyw.js} +30 -30
  204. package/dist/chunks/{pty-ykher12f.js → mime-pzhq4eaf.js} +17 -17
  205. package/dist/chunks/{pty-y8p3zjbc.js → mime-q3ersh05.js} +6 -6
  206. package/dist/chunks/{pty-qr3e0xf1.js → mime-qjev0pmq.js} +6 -6
  207. package/dist/chunks/{pty-2sejkfem.js → mime-qmqgtz8f.js} +9 -9
  208. package/dist/chunks/{pty-qnc92qwc.js → mime-qnc92qwc.js} +1 -1
  209. package/dist/chunks/{pty-x3mar638.js → mime-qreg5ges.js} +175 -175
  210. package/dist/chunks/{pty-qsdy395h.js → mime-qsdy395h.js} +1 -1
  211. package/dist/chunks/{pty-2hpka7mt.js → mime-qt8b63p3.js} +18 -18
  212. package/dist/chunks/{pty-qxjc9qry.js → mime-qxjc9qry.js} +3 -3
  213. package/dist/chunks/{pty-53ybeb94.js → mime-r7a7bxfj.js} +28 -28
  214. package/dist/chunks/{pty-r8xr0va3.js → mime-r8xr0va3.js} +1 -1
  215. package/dist/chunks/{pty-bydnjh3t.js → mime-r9w3djhf.js} +9 -9
  216. package/dist/chunks/{pty-rdw6cm16.js → mime-rdw6cm16.js} +1 -1
  217. package/dist/chunks/{pty-wv396vej.js → mime-rhjbct0v.js} +8 -8
  218. package/dist/chunks/{pty-874yzzjt.js → mime-rq7mwymb.js} +20 -20
  219. package/dist/chunks/{pty-d8h4y8x2.js → mime-ry36jsf7.js} +11 -11
  220. package/dist/chunks/{pty-gcytf9y4.js → mime-s0txbpxx.js} +26 -26
  221. package/dist/chunks/{pty-v8cctvef.js → mime-sb6an3dy.js} +7 -7
  222. package/dist/chunks/{pty-0y9mdftf.js → mime-sjq3gc3m.js} +3 -3
  223. package/dist/chunks/{pty-bd8ayshm.js → mime-spf27589.js} +4 -4
  224. package/dist/chunks/{pty-8rqycdgd.js → mime-sxz6gkc3.js} +4 -4
  225. package/dist/chunks/{pty-zp1h7pbg.js → mime-szavfcg2.js} +22 -22
  226. package/dist/chunks/{pty-ab4j4ym1.js → mime-t4cg2ngh.js} +328 -328
  227. package/dist/chunks/{pty-tazgh4e4.js → mime-tazgh4e4.js} +1 -1
  228. package/dist/chunks/{pty-e04nd2rq.js → mime-tcqa4h8g.js} +10 -10
  229. package/dist/chunks/{pty-tdstcens.js → mime-tdstcens.js} +1 -1
  230. package/dist/chunks/{pty-p6drkcnf.js → mime-tevtjb4d.js} +15 -15
  231. package/dist/chunks/{pty-phze5rqg.js → mime-tgwh4g45.js} +3 -3
  232. package/dist/chunks/{pty-9ex8f1cq.js → mime-tk9ew89t.js} +8 -8
  233. package/dist/chunks/{pty-gbvzc8kx.js → mime-tz5y8hw2.js} +20 -20
  234. package/dist/chunks/{pty-v0es1rhs.js → mime-v0es1rhs.js} +2 -2
  235. package/dist/chunks/{pty-ky8w6whr.js → mime-v1q4cba8.js} +6 -6
  236. package/dist/chunks/{pty-c04nv0t5.js → mime-v553wp33.js} +48 -48
  237. package/dist/chunks/{pty-8wbxkt1z.js → mime-v7z2bvyd.js} +4 -4
  238. package/dist/chunks/{pty-d7tem15s.js → mime-v9aw5k7b.js} +13 -13
  239. package/dist/chunks/{pty-f83zg7kr.js → mime-va8pbtsb.js} +24 -24
  240. package/dist/chunks/{pty-mb37bn90.js → mime-vb17zyzn.js} +14 -14
  241. package/dist/chunks/{pty-veqvce7d.js → mime-veqvce7d.js} +1 -1
  242. package/dist/chunks/{pty-y1202j2k.js → mime-vjmwwnet.js} +4 -4
  243. package/dist/chunks/{pty-67edg2p2.js → mime-vk6h2smq.js} +17 -17
  244. package/dist/chunks/{pty-tc6qcdy5.js → mime-vkt5fbj2.js} +8 -8
  245. package/dist/chunks/{pty-thrtz6av.js → mime-vq5be08n.js} +3 -3
  246. package/dist/chunks/{pty-cq5kxxzs.js → mime-vqbdn0d9.js} +17 -17
  247. package/dist/chunks/{pty-eqkxs06z.js → mime-vqfzq50h.js} +6 -6
  248. package/dist/chunks/{pty-bmcex1jf.js → mime-vw2nt98j.js} +9 -9
  249. package/dist/chunks/{pty-q581keqr.js → mime-vw5a0rfv.js} +2 -2
  250. package/dist/chunks/{pty-4wwqnvbr.js → mime-vxzh5eqq.js} +4 -4
  251. package/dist/chunks/{pty-0zrv4f4y.js → mime-vy452p9v.js} +11 -11
  252. package/dist/chunks/{pty-vzs5sf6e.js → mime-vzs5sf6e.js} +1 -1
  253. package/dist/chunks/{pty-g5w8qwbj.js → mime-w19d8598.js} +7 -7
  254. package/dist/chunks/{pty-g6yfr6ja.js → mime-w2h15q85.js} +5 -5
  255. package/dist/chunks/{pty-p48syh26.js → mime-w2p0hagm.js} +16 -16
  256. package/dist/chunks/{pty-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{pty-dppya6f9.js → mime-w4afprn7.js} +24 -24
  258. package/dist/chunks/{pty-bncrevqt.js → mime-wbfm5czg.js} +22 -22
  259. package/dist/chunks/{pty-wd87259q.js → mime-wd87259q.js} +1 -1
  260. package/dist/chunks/{pty-qtx5aasq.js → mime-wpwvc70n.js} +11 -11
  261. package/dist/chunks/{pty-8yen0vmk.js → mime-ws8rf1n9.js} +19 -19
  262. package/dist/chunks/{pty-gb39ghec.js → mime-wvy7zsan.js} +9 -9
  263. package/dist/chunks/{pty-ad0mmn42.js → mime-x4aqza7e.js} +9 -9
  264. package/dist/chunks/{pty-hqq5g41y.js → mime-xawtvtgk.js} +42 -42
  265. package/dist/chunks/{pty-xkntkrq7.js → mime-xkntkrq7.js} +2 -2
  266. package/dist/chunks/{pty-b69jv39p.js → mime-xp3fh2h7.js} +1 -1
  267. package/dist/chunks/{pty-qq6e0a1m.js → mime-xz9m3t1f.js} +22 -22
  268. package/dist/chunks/{pty-y1fvbwt7.js → mime-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{pty-7ppg2tjj.js → mime-y5jr1bsy.js} +85 -85
  270. package/dist/chunks/{pty-fggkqnd8.js → mime-y8j7y9g5.js} +16 -16
  271. package/dist/chunks/{pty-vjjaysxc.js → mime-yjspgx20.js} +2 -2
  272. package/dist/chunks/{pty-w7qxzhtt.js → mime-yqpe8af8.js} +20 -20
  273. package/dist/chunks/{pty-v5zgyzx5.js → mime-ywq4z9t2.js} +9 -9
  274. package/dist/chunks/{pty-yac0akaj.js → mime-yx80kbmw.js} +5 -5
  275. package/dist/chunks/{pty-z0bkrqjs.js → mime-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{pty-sf4w6t5k.js → mime-z2mbgn3s.js} +50 -50
  277. package/dist/chunks/{pty-92n0272q.js → mime-z92vphtz.js} +17 -17
  278. package/dist/chunks/{pty-84pbkp20.js → mime-z99td3vh.js} +23 -23
  279. package/dist/chunks/{pty-1nxxv4qb.js → mime-ze3jqpvg.js} +20 -20
  280. package/dist/chunks/{pty-m5canyms.js → mime-zq5qms4d.js} +11 -11
  281. package/dist/chunks/{pty-zr2ceqn5.js → mime-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{pty-ngts6ef0.js → mime-zrq8kphx.js} +8 -8
  283. package/dist/chunks/{pty-zxq2ej10.js → mime-zxq2ej10.js} +1 -1
  284. package/dist/chunks/{pty-6v23mrsw.js → mime-zxxyec0p.js} +11 -11
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +7 -7
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +83 -83
  290. package/dist/config/discovery.js +84 -84
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +99 -99
  293. package/dist/config/plugin/agent.js +116 -116
  294. package/dist/config/plugin/command.js +205 -205
  295. package/dist/config/plugin/compaction.js +154 -154
  296. package/dist/config/plugin/compatibility.js +134 -134
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +117 -117
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +90 -90
  301. package/dist/config/plugin/location-watcher.js +116 -116
  302. package/dist/config/plugin/mcp.js +123 -123
  303. package/dist/config/plugin/policy.js +117 -117
  304. package/dist/config/plugin/provider.js +116 -116
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +118 -118
  307. package/dist/config/plugin/skill-file.js +102 -102
  308. package/dist/config/plugin/skill.js +137 -137
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +117 -117
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +117 -117
  313. package/dist/config/plugin/worktree.js +118 -118
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +119 -119
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +85 -85
  319. package/dist/database/database.js +66 -66
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration.gen.js +49 -49
  385. package/dist/database/migration.js +51 -51
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +76 -76
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +363 -363
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +93 -93
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +95 -95
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +70 -70
  409. package/dist/file-access.js +104 -104
  410. package/dist/file-mutation.js +94 -94
  411. package/dist/file-retention.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +218 -218
  418. package/dist/filesystem/protected.js +3 -3
  419. package/dist/filesystem/search.js +103 -103
  420. package/dist/filesystem/watcher-binding.js +3 -3
  421. package/dist/filesystem/watcher.js +13 -13
  422. package/dist/filesystem.js +106 -106
  423. package/dist/form.js +82 -82
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +87 -87
  426. package/dist/generate.js +103 -103
  427. package/dist/git.js +6 -6
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +99 -99
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +354 -354
  451. package/dist/instruction-discovery.js +85 -85
  452. package/dist/instructions/builtins.js +87 -87
  453. package/dist/instructions/index.js +5 -5
  454. package/dist/integration/connection.js +3 -3
  455. package/dist/integration.js +87 -87
  456. package/dist/job.js +78 -78
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +73 -73
  459. package/dist/location-activity.js +131 -131
  460. package/dist/location-lifecycle.js +107 -107
  461. package/dist/location-service-map.js +86 -86
  462. package/dist/location-services.js +351 -351
  463. package/dist/location.js +81 -81
  464. package/dist/managed-policy.js +5 -5
  465. package/dist/mcp/client.js +91 -91
  466. package/dist/mcp/index.js +109 -109
  467. package/dist/mcp/instructions.js +127 -127
  468. package/dist/mcp/oauth.js +78 -78
  469. package/dist/mcp/stdio.js +90 -90
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +99 -99
  472. package/dist/model-resolver.js +98 -98
  473. package/dist/model.js +100 -100
  474. package/dist/models-dev.js +107 -107
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +80 -80
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +115 -115
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +88 -88
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +75 -75
  484. package/dist/plugin/agent.js +102 -102
  485. package/dist/plugin/command.js +100 -100
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +211 -211
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +326 -326
  491. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  492. package/dist/plugin/models-dev.js +96 -96
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +4 -4
  495. package/dist/plugin/plan.js +102 -102
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  498. package/dist/plugin/provider/azure.js +117 -117
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +93 -93
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +112 -112
  505. package/dist/plugin/provider/digitalocean.js +93 -93
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/github-copilot.js +95 -95
  509. package/dist/plugin/provider/gitlab.js +93 -93
  510. package/dist/plugin/provider/google-vertex.js +90 -90
  511. package/dist/plugin/provider/kilo.js +1 -1
  512. package/dist/plugin/provider/llmgateway.js +78 -78
  513. package/dist/plugin/provider/lmstudio.js +116 -116
  514. package/dist/plugin/provider/local.js +113 -113
  515. package/dist/plugin/provider/modal.js +92 -92
  516. package/dist/plugin/provider/nvidia.js +1 -1
  517. package/dist/plugin/provider/ollama.js +116 -116
  518. package/dist/plugin/provider/openai.js +95 -95
  519. package/dist/plugin/provider/opencode.js +96 -96
  520. package/dist/plugin/provider/openrouter.js +91 -91
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +79 -79
  523. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  524. package/dist/plugin/provider/sap-ai-core.js +91 -91
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  527. package/dist/plugin/provider/vercel.js +90 -90
  528. package/dist/plugin/provider/vllm.js +116 -116
  529. package/dist/plugin/provider/xai.js +91 -91
  530. package/dist/plugin/provider/zenmux.js +1 -1
  531. package/dist/plugin/provider.js +155 -155
  532. package/dist/plugin/sdk.js +76 -76
  533. package/dist/plugin/service.js +3 -3
  534. package/dist/plugin/skill.js +130 -130
  535. package/dist/plugin/source-directory.js +1 -1
  536. package/dist/plugin/supervisor.js +345 -345
  537. package/dist/plugin/tool-input-repair.js +4 -4
  538. package/dist/plugin/update.js +6 -6
  539. package/dist/plugin/vcs/git.js +86 -86
  540. package/dist/plugin/vcs/hg.js +86 -86
  541. package/dist/plugin/verbosity.js +93 -93
  542. package/dist/plugin/warming.js +114 -114
  543. package/dist/plugin/websearch/exa.js +7 -7
  544. package/dist/plugin/websearch/firecrawl.js +8 -8
  545. package/dist/plugin/websearch/index.js +9 -9
  546. package/dist/plugin/websearch/mcp.js +2 -2
  547. package/dist/plugin/websearch/parallel.js +8 -8
  548. package/dist/plugin/websearch/tavily.js +4 -4
  549. package/dist/plugin/websearch/tinyfish.js +8 -8
  550. package/dist/plugin.js +218 -218
  551. package/dist/project/schema.js +2 -2
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +80 -80
  554. package/dist/provider.js +99 -99
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +99 -99
  558. package/dist/reference/instructions.js +89 -89
  559. package/dist/reference.js +91 -91
  560. package/dist/repository-cache.js +81 -81
  561. package/dist/repository.js +1 -1
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +97 -97
  564. package/dist/rpc.js +86 -86
  565. package/dist/schema.js +1 -1
  566. package/dist/session/affinity.js +1 -1
  567. package/dist/session/command.js +74 -74
  568. package/dist/session/compaction.js +133 -133
  569. package/dist/session/context.js +153 -153
  570. package/dist/session/diff.js +88 -88
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +7 -7
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +214 -214
  575. package/dist/session/execution.js +127 -127
  576. package/dist/session/generate.js +154 -154
  577. package/dist/session/history.js +15 -15
  578. package/dist/session/inbox.js +88 -88
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +79 -79
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +97 -97
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +120 -120
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +129 -129
  588. package/dist/session/projector.js +86 -86
  589. package/dist/session/prompt.js +105 -105
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +90 -90
  592. package/dist/session/run-coordinator.js +1 -1
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +224 -224
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +98 -98
  597. package/dist/session/runner/publish-llm-event.js +113 -113
  598. package/dist/session/runner/retry.js +4 -4
  599. package/dist/session/runner/step.js +125 -125
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +162 -162
  603. package/dist/session/shell.js +130 -130
  604. package/dist/session/skill.js +103 -103
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +73 -73
  607. package/dist/session/store.js +87 -87
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +203 -203
  610. package/dist/session/system-prompt.js +5 -5
  611. package/dist/session/title.js +157 -157
  612. package/dist/session/to-session-error.js +111 -111
  613. package/dist/session/transfer.js +207 -207
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +211 -211
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +13 -13
  620. package/dist/shell.js +132 -132
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +107 -107
  623. package/dist/skill.js +112 -112
  624. package/dist/snapshot.js +93 -93
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +128 -128
  629. package/dist/tool/plugin/edit.js +120 -120
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +124 -124
  632. package/dist/tool/plugin/grep.js +122 -122
  633. package/dist/tool/plugin/mcp-resource.js +117 -117
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +122 -122
  636. package/dist/tool/plugin/question.js +105 -105
  637. package/dist/tool/plugin/read.js +125 -125
  638. package/dist/tool/plugin/shell.js +206 -206
  639. package/dist/tool/plugin/skill.js +113 -113
  640. package/dist/tool/plugin/subagent.js +210 -210
  641. package/dist/tool/plugin/webfetch.js +110 -110
  642. package/dist/tool/plugin/websearch.js +114 -114
  643. package/dist/tool/plugin/write.js +122 -122
  644. package/dist/tool/read-filesystem.js +100 -100
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +7 -7
  647. package/dist/tool.js +16 -16
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/git-executable.js +2 -2
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +7 -7
  658. package/dist/v1/config/command.js +3 -3
  659. package/dist/v1/config/error.js +4 -4
  660. package/dist/v1/config/mcp.js +4 -4
  661. package/dist/v1/config/migrate.js +92 -92
  662. package/dist/v1/config/permission.js +7 -7
  663. package/dist/v1/config/plugin.js +1 -1
  664. package/dist/v1/config/provider-options.js +1 -1
  665. package/dist/v1/config/provider.js +4 -4
  666. package/dist/variant.js +93 -93
  667. package/dist/vcs/patch.js +1 -1
  668. package/dist/vcs.js +89 -89
  669. package/dist/websearch.js +84 -84
  670. package/dist/wellknown/plugin.js +76 -76
  671. package/dist/wellknown.js +81 -81
  672. package/dist/workspace/driver.js +5 -5
  673. package/dist/workspace/sql.js +1 -1
  674. package/dist/workspace.js +80 -80
  675. package/dist/worktree/directory.js +2 -2
  676. package/dist/worktree/git.js +8 -8
  677. package/dist/worktree/sql.js +5 -5
  678. package/dist/worktree/strategies.js +89 -89
  679. package/dist/worktree.js +98 -98
  680. package/package.json +8 -8
  681. package/dist/chunks/pty-7fj5dwt0.js +0 -18
  682. package/dist/chunks/pty-7r9y934d.js +0 -253
  683. /package/dist/chunks/{pty-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
  684. /package/dist/chunks/{pty-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
  685. /package/dist/chunks/{pty-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
  686. /package/dist/chunks/{pty-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
  687. /package/dist/chunks/{pty-1kg9ymc8.js → mime-1kg9ymc8.js} +0 -0
  688. /package/dist/chunks/{pty-24dcb14g.js → mime-24dcb14g.js} +0 -0
  689. /package/dist/chunks/{pty-2710q6r3.js → mime-2710q6r3.js} +0 -0
  690. /package/dist/chunks/{pty-2axfhc9x.js → mime-2axfhc9x.js} +0 -0
  691. /package/dist/chunks/{pty-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
  692. /package/dist/chunks/{pty-34c7v6d4.js → mime-34c7v6d4.js} +0 -0
  693. /package/dist/chunks/{pty-359p4xyc.js → mime-359p4xyc.js} +0 -0
  694. /package/dist/chunks/{pty-3asan66x.js → mime-3asan66x.js} +0 -0
  695. /package/dist/chunks/{pty-3t0ybcrp.js → mime-3t0ybcrp.js} +0 -0
  696. /package/dist/chunks/{pty-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
  697. /package/dist/chunks/{pty-3w5fmr99.js → mime-3w5fmr99.js} +0 -0
  698. /package/dist/chunks/{pty-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
  699. /package/dist/chunks/{pty-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
  700. /package/dist/chunks/{pty-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
  701. /package/dist/chunks/{pty-4vcrnpx2.js → mime-4vcrnpx2.js} +0 -0
  702. /package/dist/chunks/{pty-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
  703. /package/dist/chunks/{pty-53557ph1.js → mime-53557ph1.js} +0 -0
  704. /package/dist/chunks/{pty-550bvhaj.js → mime-550bvhaj.js} +0 -0
  705. /package/dist/chunks/{pty-6prwharc.js → mime-6prwharc.js} +0 -0
  706. /package/dist/chunks/{pty-6q2bdcd1.js → mime-6q2bdcd1.js} +0 -0
  707. /package/dist/chunks/{pty-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
  708. /package/dist/chunks/{pty-7m9af43g.js → mime-7m9af43g.js} +0 -0
  709. /package/dist/chunks/{pty-822emrt2.js → mime-822emrt2.js} +0 -0
  710. /package/dist/chunks/{pty-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
  711. /package/dist/chunks/{pty-8n3pysct.js → mime-8n3pysct.js} +0 -0
  712. /package/dist/chunks/{pty-8wj87zfr.js → mime-8wj87zfr.js} +0 -0
  713. /package/dist/chunks/{pty-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
  714. /package/dist/chunks/{pty-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
  715. /package/dist/chunks/{pty-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
  716. /package/dist/chunks/{pty-af5trqkr.js → mime-af5trqkr.js} +0 -0
  717. /package/dist/chunks/{pty-afrmfg78.js → mime-afrmfg78.js} +0 -0
  718. /package/dist/chunks/{pty-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
  719. /package/dist/chunks/{pty-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
  720. /package/dist/chunks/{pty-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
  721. /package/dist/chunks/{pty-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
  722. /package/dist/chunks/{pty-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
  723. /package/dist/chunks/{pty-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
  724. /package/dist/chunks/{pty-d9fn303g.js → mime-d9fn303g.js} +0 -0
  725. /package/dist/chunks/{pty-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
  726. /package/dist/chunks/{pty-dajrwvna.js → mime-dajrwvna.js} +0 -0
  727. /package/dist/chunks/{pty-dap0rakb.js → mime-dap0rakb.js} +0 -0
  728. /package/dist/chunks/{pty-df08tz66.js → mime-df08tz66.js} +0 -0
  729. /package/dist/chunks/{pty-dy18nga0.js → mime-dy18nga0.js} +0 -0
  730. /package/dist/chunks/{pty-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
  731. /package/dist/chunks/{pty-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
  732. /package/dist/chunks/{pty-ec1grn59.js → mime-ec1grn59.js} +0 -0
  733. /package/dist/chunks/{pty-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
  734. /package/dist/chunks/{pty-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
  735. /package/dist/chunks/{pty-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
  736. /package/dist/chunks/{pty-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
  737. /package/dist/chunks/{pty-faypxj3z.js → mime-faypxj3z.js} +0 -0
  738. /package/dist/chunks/{pty-fd410y7t.js → mime-fd410y7t.js} +0 -0
  739. /package/dist/chunks/{pty-fxgpk5d8.js → mime-fxgpk5d8.js} +0 -0
  740. /package/dist/chunks/{pty-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
  741. /package/dist/chunks/{pty-g86h250q.js → mime-g86h250q.js} +0 -0
  742. /package/dist/chunks/{pty-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
  743. /package/dist/chunks/{pty-gftt206x.js → mime-gftt206x.js} +0 -0
  744. /package/dist/chunks/{pty-hk9envan.js → mime-hk9envan.js} +0 -0
  745. /package/dist/chunks/{pty-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
  746. /package/dist/chunks/{pty-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
  747. /package/dist/chunks/{pty-jjkms2e6.js → mime-jjkms2e6.js} +0 -0
  748. /package/dist/chunks/{pty-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
  749. /package/dist/chunks/{pty-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
  750. /package/dist/chunks/{pty-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
  751. /package/dist/chunks/{pty-mp448xyj.js → mime-mp448xyj.js} +0 -0
  752. /package/dist/chunks/{pty-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
  753. /package/dist/chunks/{pty-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
  754. /package/dist/chunks/{pty-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
  755. /package/dist/chunks/{pty-njntx4h6.js → mime-njntx4h6.js} +0 -0
  756. /package/dist/chunks/{pty-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
  757. /package/dist/chunks/{pty-q74kybfr.js → mime-q74kybfr.js} +0 -0
  758. /package/dist/chunks/{pty-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
  759. /package/dist/chunks/{pty-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
  760. /package/dist/chunks/{pty-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
  761. /package/dist/chunks/{pty-qg3g05ea.js → mime-qg3g05ea.js} +0 -0
  762. /package/dist/chunks/{pty-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
  763. /package/dist/chunks/{pty-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
  764. /package/dist/chunks/{pty-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
  765. /package/dist/chunks/{pty-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
  766. /package/dist/chunks/{pty-w803qqfp.js → mime-w803qqfp.js} +0 -0
  767. /package/dist/chunks/{pty-wc3fc9cn.js → mime-wc3fc9cn.js} +0 -0
  768. /package/dist/chunks/{pty-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
  769. /package/dist/chunks/{pty-wtztk69x.js → mime-wtztk69x.js} +0 -0
  770. /package/dist/chunks/{pty-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
  771. /package/dist/chunks/{pty-x61499pn.js → mime-x61499pn.js} +0 -0
  772. /package/dist/chunks/{pty-y44na4kk.js → mime-y44na4kk.js} +0 -0
  773. /package/dist/chunks/{pty-y8cydn3q.js → mime-y8cydn3q.js} +0 -0
  774. /package/dist/chunks/{pty-y8f7s663.js → mime-y8f7s663.js} +0 -0
  775. /package/dist/chunks/{pty-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
  776. /package/dist/chunks/{pty-ym463w8f.js → mime-ym463w8f.js} +0 -0
  777. /package/dist/chunks/{pty-z5v4ffb3.js → mime-z5v4ffb3.js} +0 -0
  778. /package/dist/chunks/{pty-z9919s4g.js → mime-z9919s4g.js} +0 -0
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./mime-9rqn6x4v.js";
4
4
 
5
5
  // src/session/system-prompt.ts
6
6
  var exports_system_prompt = {};
7
7
  __export(exports_system_prompt, {
8
8
  SessionSystemPrompt: () => exports_system_prompt,
9
- make: () => make16,
10
- render: () => render3
9
+ make: () => make15,
10
+ render: () => render2
11
11
  });
12
12
 
13
13
  // src/session/runner/prompt/system.txt
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
29
29
  `;
30
30
 
31
31
  // src/session/system-prompt.ts
32
- function make16(tools) {
33
- return render3(system_default, tools);
32
+ function make15(tools) {
33
+ return render2(system_default, tools);
34
34
  }
35
- function render3(prompt, tools) {
35
+ function render2(prompt, tools) {
36
36
  const instructions = [];
37
37
  if (tools.includes("shell")) {
38
38
  instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
47
47
  `));
48
48
  }
49
49
 
50
- export { make16, render3, exports_system_prompt };
50
+ export { make15, render2, exports_system_prompt };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./pty-z5v4ffb3.js";
3
+ } from "./mime-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./pty-9rqn6x4v.js";
6
+ } from "./mime-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/mcp.ts
9
9
  var exports_mcp5 = {};
10
10
  __export(exports_mcp5, {
11
11
  ConfigMCPV1: () => exports_mcp5,
12
- Info: () => Info11,
12
+ Info: () => Info17,
13
13
  Local: () => Local2,
14
14
  OAuth: () => OAuth2,
15
15
  Remote: () => Remote2
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
64
64
  description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
65
65
  })
66
66
  }).annotate({ identifier: "McpRemoteConfig" });
67
- var Info11 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
67
+ var Info17 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
68
68
 
69
- export { Local2, OAuth2, Remote2, Info11, exports_mcp5 };
69
+ export { Local2, OAuth2, Remote2, Info17, exports_mcp5 };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service44
3
- } from "./pty-ph20cxtq.js";
2
+ Service79
3
+ } from "./mime-5fb55ywp.js";
4
4
  import {
5
- Service57
6
- } from "./pty-eqkxs06z.js";
5
+ Service41
6
+ } from "./mime-vqfzq50h.js";
7
7
  import {
8
8
  detect2
9
- } from "./pty-3smtnn6g.js";
9
+ } from "./mime-3smtnn6g.js";
10
10
  import {
11
11
  awaitActivation2
12
- } from "./pty-7fj5dwt0.js";
12
+ } from "./mime-phz3h32g.js";
13
13
  import {
14
- Service62
15
- } from "./pty-ngts6ef0.js";
14
+ Service64
15
+ } from "./mime-zrq8kphx.js";
16
16
  import {
17
17
  AttachmentError2,
18
18
  SkillNotFoundError2
19
- } from "./pty-wpybfb3e.js";
19
+ } from "./mime-2vdde78z.js";
20
20
  import {
21
21
  prepare3,
22
- Service53
23
- } from "./pty-t4y1vgnz.js";
22
+ Service32
23
+ } from "./mime-p02g0fw2.js";
24
24
  import {
25
25
  __export
26
- } from "./pty-9rqn6x4v.js";
26
+ } from "./mime-9rqn6x4v.js";
27
27
 
28
28
  // src/session/prompt.ts
29
29
  var exports_prompt = {};
@@ -39,10 +39,10 @@ import path from "path";
39
39
  import { fileURLToPath } from "url";
40
40
  var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
41
41
  const fs = yield* FSUtil.Service;
42
- const instances = yield* Service57;
42
+ const instances = yield* Service41;
43
43
  return yield* Effect.gen(function* () {
44
44
  yield* awaitActivation2;
45
- const hooks = yield* Service62;
45
+ const hooks = yield* Service64;
46
46
  const event = yield* hooks.trigger("session", "prompt", {
47
47
  sessionID: request.session.id,
48
48
  messageID: request.messageID,
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
61
61
  const selected = yield* Effect.gen(function* () {
62
62
  if (!requested?.length)
63
63
  return;
64
- const skillService = yield* Service53;
64
+ const skillService = yield* Service32;
65
65
  const prepared = new Map;
66
66
  return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
67
67
  const name = prepared.get(attachment.id);
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
126
126
  var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
127
127
  if (!mime.startsWith("image/"))
128
128
  return { data: Base64.make(data), mime };
129
- const image = yield* Service44;
129
+ const image = yield* Service79;
130
130
  const label = attachmentLabel(input);
131
131
  const content = { uri: label, content: data, encoding: "base64", mime };
132
132
  const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./pty-emrn6kk6.js";
4
+ } from "./mime-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/delete.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  useragent2
3
- } from "./pty-m5canyms.js";
3
+ } from "./mime-zq5qms4d.js";
4
4
  import {
5
5
  Service83
6
- } from "./pty-gzqsmt5r.js";
6
+ } from "./mime-e5ncbec4.js";
7
7
  import {
8
8
  OAuth3,
9
- Event17
10
- } from "./pty-ctdhhp9a.js";
9
+ Event20
10
+ } from "./mime-9pnm2vv9.js";
11
11
  import {
12
12
  key2
13
- } from "./pty-mxvxcxwy.js";
13
+ } from "./mime-addxnjmp.js";
14
14
  import {
15
- ID12,
15
+ ID14,
16
16
  MethodID2,
17
17
  AuthorizationError2
18
- } from "./pty-dshcjhsp.js";
18
+ } from "./mime-pkw6pxyw.js";
19
19
  import {
20
- Service27
21
- } from "./pty-1p7f10vm.js";
20
+ Service13
21
+ } from "./mime-k1qrnqst.js";
22
22
  import {
23
- ID11,
23
+ ID13,
24
24
  mergeOverlay2,
25
25
  mergeHeaders2
26
- } from "./pty-9se51ysk.js";
26
+ } from "./mime-gphzfxhq.js";
27
27
  import {
28
28
  mergeCapabilities2
29
- } from "./pty-7pgwfb4h.js";
29
+ } from "./mime-04mq6ee8.js";
30
30
  import {
31
- ID3,
32
- Input13,
31
+ ID8,
32
+ Input14,
33
33
  Response2
34
- } from "./pty-c19p4hyh.js";
34
+ } from "./mime-5wn8k982.js";
35
35
 
36
36
  // src/plugin/provider/opencode.ts
37
37
  import { Duration, Effect, Equal, Option, Schema, Scope, Semaphore, Stream } from "effect";
@@ -47,7 +47,7 @@ var methodID = MethodID2.make("device");
47
47
  var RemoteResponse = Schema.Struct({
48
48
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
49
49
  websearch: Schema.Struct({
50
- providerID: ID3
50
+ providerID: ID8
51
51
  }).pipe(Schema.optional),
52
52
  mcp: Schema.Struct({
53
53
  servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
@@ -99,7 +99,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
99
99
  }
100
100
  function oauth(http) {
101
101
  return {
102
- integrationID: ID12.make("opencode"),
102
+ integrationID: ID14.make("opencode"),
103
103
  method: {
104
104
  id: methodID,
105
105
  type: "oauth",
@@ -166,7 +166,7 @@ var OpencodePlugin2 = define({
166
166
  const bus = yield* Service83;
167
167
  const client = yield* HttpClient.HttpClient;
168
168
  const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
169
- const managed = yield* Service27;
169
+ const managed = yield* Service13;
170
170
  const scope = yield* Scope.Scope;
171
171
  const loading = Semaphore.makeUnsafe(1);
172
172
  let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
@@ -215,7 +215,7 @@ var OpencodePlugin2 = define({
215
215
  providers.update(providerID, (provider) => {
216
216
  if (source && source.provider !== provider)
217
217
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
218
- provider.integrationID = ID12.make("opencode");
218
+ provider.integrationID = ID14.make("opencode");
219
219
  if (item.canonical !== undefined)
220
220
  provider.canonical = item.canonical;
221
221
  if (item.name !== undefined)
@@ -281,7 +281,7 @@ var OpencodePlugin2 = define({
281
281
  sourceConnection: snapshot.connection
282
282
  });
283
283
  }
284
- const item = providers.get(ID11.opencode);
284
+ const item = providers.get(ID13.opencode);
285
285
  if (!item)
286
286
  return;
287
287
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -293,7 +293,7 @@ var OpencodePlugin2 = define({
293
293
  });
294
294
  });
295
295
  yield* ctx.model.transform((models) => {
296
- const item = models.provider.get(ID11.opencode);
296
+ const item = models.provider.get(ID13.opencode);
297
297
  if (!item)
298
298
  return;
299
299
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -327,7 +327,7 @@ var OpencodePlugin2 = define({
327
327
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
328
328
  const token = credential.type === "oauth" ? credential.access : credential.key;
329
329
  const server = yield* normalizeServer(serverUrl(credential));
330
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
330
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
331
331
  query: input.query,
332
332
  providerID: descriptor.providerID
333
333
  }));
@@ -382,10 +382,10 @@ var OpencodePlugin2 = define({
382
382
  });
383
383
  const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
384
384
  yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
385
- explainers = yield* Effect.forEach(next.connection ? new Set([ID11.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
385
+ explainers = yield* Effect.forEach(next.connection ? new Set([ID13.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
386
386
  });
387
387
  yield* guard(snapshot);
388
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
388
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
389
389
  yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
390
390
  })
391
391
  });
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service49,
3
- node53
4
- } from "./pty-9cfex9y1.js";
2
+ Service59,
3
+ node61
4
+ } from "./mime-dtt66365.js";
5
5
  import {
6
6
  Service80,
7
7
  node84
8
- } from "./pty-bvjche96.js";
8
+ } from "./mime-2wjfq3y1.js";
9
9
  import {
10
- Service48,
11
- node52
12
- } from "./pty-mjex1bph.js";
10
+ Service58,
11
+ node60
12
+ } from "./mime-ea5vh3bk.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./pty-zxq2ej10.js";
16
+ } from "./mime-zxq2ej10.js";
17
17
  import {
18
18
  __export
19
- } from "./pty-9rqn6x4v.js";
19
+ } from "./mime-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/source.ts
22
22
  var exports_source = {};
23
23
  __export(exports_source, {
24
24
  ConfigPluginSource: () => exports_source,
25
- Service: () => Service10,
25
+ Service: () => Service8,
26
26
  empty: () => empty2,
27
27
  layer: () => layer7,
28
- node: () => node12
28
+ node: () => node10
29
29
  });
30
30
  import { FSUtil } from "@opencode/util/fs-util";
31
31
  import { Host } from "@opencode/plugin/host";
@@ -33,11 +33,11 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
34
34
  import path from "path";
35
35
  import { fileURLToPath, pathToFileURL } from "url";
36
- class Service10 extends Context.Service()("@opencode/ConfigPluginSource") {
36
+ class Service8 extends Context.Service()("@opencode/ConfigPluginSource") {
37
37
  }
38
- var layer7 = Layer.effect(Service10, Effect.gen(function* () {
39
- const config = yield* Service48;
40
- const watcher = yield* Service49;
38
+ var layer7 = Layer.effect(Service8, Effect.gen(function* () {
39
+ const config = yield* Service58;
40
+ const watcher = yield* Service59;
41
41
  const fs = yield* FSUtil.Service;
42
42
  const location = yield* Service80;
43
43
  const configuredChanges = yield* PubSub.unbounded();
@@ -58,7 +58,7 @@ var layer7 = Layer.effect(Service10, Effect.gen(function* () {
58
58
  yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
59
59
  }
60
60
  });
61
- return Service10.of({
61
+ return Service8.of({
62
62
  operations: Effect.fn("ConfigPluginSource.operations")(function* () {
63
63
  const entries = yield* config.entries();
64
64
  const operations = yield* scan(fs, location, entries);
@@ -70,14 +70,14 @@ var layer7 = Layer.effect(Service10, Effect.gen(function* () {
70
70
  })), Stream.fromPubSub(configuredChanges))
71
71
  });
72
72
  }));
73
- var node12 = makeLocationNode({
74
- service: Service10,
73
+ var node10 = makeLocationNode({
74
+ service: Service8,
75
75
  layer: layer7,
76
- deps: [node52, FSUtil.node, node53, node84]
76
+ deps: [node60, FSUtil.node, node61, node84]
77
77
  });
78
78
  var empty2 = makeLocationNode({
79
- service: Service10,
80
- layer: Layer.succeed(Service10, Service10.of({
79
+ service: Service8,
80
+ layer: Layer.succeed(Service8, Service8.of({
81
81
  operations: () => Effect.succeed([]),
82
82
  changes: () => Stream.never
83
83
  })),
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
137
137
  return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
138
138
  }
139
139
 
140
- export { Service10, layer7, node12, empty2, exports_source };
140
+ export { Service8, layer7, node10, empty2, exports_source };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getViewSelectedFieldsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./pty-emrn6kk6.js";
4
+ } from "./mime-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/select.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service48
3
- } from "./pty-mjex1bph.js";
2
+ Service58
3
+ } from "./mime-ea5vh3bk.js";
4
4
  import {
5
- Service9
6
- } from "./pty-zqfdtaf3.js";
5
+ Service7
6
+ } from "./mime-n11krz91.js";
7
7
  import {
8
8
  observe2
9
- } from "./pty-qsdy395h.js";
9
+ } from "./mime-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./pty-9rqn6x4v.js";
12
+ } from "./mime-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/compaction.ts
15
15
  var exports_compaction = {};
16
16
  __export(exports_compaction, {
17
17
  ConfigCompactionPlugin: () => exports_compaction,
18
- Plugin: () => Plugin33
18
+ Plugin: () => Plugin24
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin33 = define({
22
+ var Plugin24 = define({
23
23
  id: "opencode.config.compaction",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service48;
26
- const compaction = yield* Service9;
25
+ const config = yield* Service58;
26
+ const compaction = yield* Service7;
27
27
  const loaded = yield* observe2(config, ctx.event, compaction.reload());
28
28
  yield* compaction.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -39,4 +39,4 @@ var Plugin33 = define({
39
39
  })
40
40
  });
41
41
 
42
- export { Plugin33, exports_compaction };
42
+ export { Plugin24, exports_compaction };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  create3
3
- } from "./pty-rdw6cm16.js";
3
+ } from "./mime-rdw6cm16.js";
4
4
  import {
5
5
  which2
6
- } from "./pty-qaymkmh1.js";
6
+ } from "./mime-qaymkmh1.js";
7
7
  import {
8
8
  __export
9
- } from "./pty-9rqn6x4v.js";
9
+ } from "./mime-9rqn6x4v.js";
10
10
 
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
- Options: () => Options9,
15
- Service: () => Service76,
14
+ Options: () => Options10,
15
+ Service: () => Service73,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
- configured: () => configured10,
18
+ configured: () => configured11,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
21
  list: () => list4,
22
22
  login: () => login2,
23
23
  name: () => name15,
24
- node: () => node80,
24
+ node: () => node77,
25
25
  ps: () => ps2,
26
- resolve: () => resolve4
26
+ resolve: () => resolve3
27
27
  });
28
28
  import path from "path";
29
29
  import { readFile } from "fs/promises";
@@ -43,11 +43,11 @@ var META = {
43
43
  sh: { login: true },
44
44
  zsh: { login: true }
45
45
  };
46
- var Options9 = Schema.Struct({
46
+ var Options10 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service76 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service73 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
164
164
  }
165
165
  var defaultConfigured;
166
166
  var defaultCompatible;
167
- function resolve4(input, configShell, options, bin) {
167
+ function resolve3(input, configShell, options, bin) {
168
168
  const filter = input.priority === "compat" ? { compatible: true } : undefined;
169
169
  if (configShell)
170
170
  return select(configShell, options, filter, bin);
@@ -180,7 +180,7 @@ function resolve4(input, configShell, options, bin) {
180
180
  defaultConfigured = { bin, value };
181
181
  return value;
182
182
  }
183
- resolve4.reset = () => {
183
+ resolve3.reset = () => {
184
184
  defaultConfigured = undefined;
185
185
  defaultCompatible = undefined;
186
186
  };
@@ -188,7 +188,7 @@ async function list4(options, bin) {
188
188
  const shells = process.platform === "win32" ? win(options, bin) : await unix();
189
189
  return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
190
190
  }
191
- var layer = (options) => Layer.effect(Service76, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service73, Effect.gen(function* () {
192
192
  const global = yield* Global.Service;
193
193
  const state = create3({
194
194
  name: "shell-select",
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service76, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service76.of({
202
+ return Service73.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
- resolve: (input) => Effect.sync(() => resolve4(input, state.get().shell, options, global.bin)),
205
+ resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
206
206
  list: () => Effect.promise(() => list4(options, global.bin))
207
207
  });
208
208
  }));
209
- function configured10(options) {
210
- return makeLocationNode({ service: Service76, layer: layer(options), deps: [Global.node] });
209
+ function configured11(options) {
210
+ return makeLocationNode({ service: Service73, layer: layer(options), deps: [Global.node] });
211
211
  }
212
- var node80 = configured10();
212
+ var node77 = configured11();
213
213
 
214
- export { Options9, Service76, gitbash2, name15, login2, ps2, args2, environment2, resolve4, list4, configured10, node80, exports_select };
214
+ export { Options10, Service73, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured11, node77, exports_select };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Ref4
3
- } from "./pty-bvjche96.js";
3
+ } from "./mime-2wjfq3y1.js";
4
4
  import {
5
5
  __export
6
- } from "./pty-9rqn6x4v.js";
6
+ } from "./mime-9rqn6x4v.js";
7
7
 
8
8
  // src/location-service-map.ts
9
9
  var exports_location_service_map = {};
10
10
  __export(exports_location_service_map, {
11
11
  LocationServiceMap: () => exports_location_service_map,
12
- Service: () => Service79,
12
+ Service: () => Service49,
13
13
  canonical: () => canonical3,
14
- node: () => node83,
14
+ node: () => node51,
15
15
  reload: () => reload2
16
16
  });
17
17
  import { Context, Effect, Exit, Layer, RcMap } from "effect";
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
19
19
  import { Node } from "@opencode/util/effect/app-node";
20
20
  import { AbsolutePath } from "@opencode/schema/schema";
21
21
  import path from "path";
22
- class Service79 extends Context.Service()("@opencode/example/LocationServiceMap") {
22
+ class Service49 extends Context.Service()("@opencode/example/LocationServiceMap") {
23
23
  static get(ref) {
24
- return Layer.unwrap(Effect.map(Service79, (locations) => locations.get(ref)));
24
+ return Layer.unwrap(Effect.map(Service49, (locations) => locations.get(ref)));
25
25
  }
26
26
  }
27
- var node83 = LayerNode.unbound(Service79, Node.tags.values.global);
27
+ var node51 = LayerNode.unbound(Service49, Node.tags.values.global);
28
28
  var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
29
- const locations = yield* Service79;
29
+ const locations = yield* Service49;
30
30
  const refs = Array.from(yield* RcMap.keys(locations.rcMap));
31
31
  yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
32
32
  discard: true,
@@ -45,4 +45,4 @@ function canonical3(ref) {
45
45
  });
46
46
  }
47
47
 
48
- export { Service79, node83, reload2, canonical3, exports_location_service_map };
48
+ export { Service49, node51, reload2, canonical3, exports_location_service_map };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./pty-m5canyms.js";
3
+ } from "./mime-zq5qms4d.js";
4
4
  import {
5
5
  call2
6
- } from "./pty-1ygqh575.js";
6
+ } from "./mime-1ygqh575.js";
7
7
  import {
8
8
  __export
9
- } from "./pty-9rqn6x4v.js";
9
+ } from "./mime-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/firecrawl.ts
12
12
  var exports_firecrawl = {};
13
13
  __export(exports_firecrawl, {
14
- Plugin: () => Plugin6,
14
+ Plugin: () => Plugin8,
15
15
  WebSearchFirecrawl: () => exports_firecrawl,
16
- endpoint: () => endpoint2
16
+ endpoint: () => endpoint6
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Option, Schema } from "effect";
20
20
  import { HttpClient } from "effect/unstable/http";
21
- var endpoint2 = "https://mcp.firecrawl.dev/v2/mcp";
21
+ var endpoint6 = "https://mcp.firecrawl.dev/v2/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  query: Schema.String,
24
24
  limit: Schema.Number.pipe(Schema.optional)
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
37
37
  })
38
38
  }));
39
39
  var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
40
- var Plugin6 = define({
40
+ var Plugin8 = define({
41
41
  id: "opencode.websearch.firecrawl",
42
42
  effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
43
43
  const http = yield* HttpClient.HttpClient;
@@ -59,7 +59,7 @@ var Plugin6 = define({
59
59
  execute: (input) => Effect.gen(function* () {
60
60
  const connection = yield* ctx.integration.connection.active("firecrawl");
61
61
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
62
- const result = yield* call2(http, endpoint2, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
62
+ const result = yield* call2(http, endpoint6, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
63
63
  "User-Agent": useragent2(ctx.app),
64
64
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
65
65
  });
@@ -77,4 +77,4 @@ var Plugin6 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint2, Plugin6, exports_firecrawl };
80
+ export { endpoint6, Plugin8, exports_firecrawl };