@opencode/core 0.0.0-dev-20637 → 0.0.0-dev-20640

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 (779) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +75 -75
  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 +75 -75
  7. package/dist/chunks/{provider-vxxh4q2n.js → kv-00zna71j.js} +3 -3
  8. package/dist/chunks/{provider-n8hzfk5n.js → kv-018bn4f4.js} +15 -15
  9. package/dist/chunks/{provider-yspr33n3.js → kv-04bfvmpq.js} +3 -3
  10. package/dist/chunks/{provider-skwdgpes.js → kv-05jdtgp8.js} +10 -10
  11. package/dist/chunks/{provider-nfe4rdr7.js → kv-07t56emn.js} +84 -84
  12. package/dist/chunks/{provider-ax2gd5n1.js → kv-0dm71e41.js} +18 -18
  13. package/dist/chunks/{provider-3vtrhh30.js → kv-0fgqvstr.js} +11 -11
  14. package/dist/chunks/{provider-7178zsq4.js → kv-0gscdz11.js} +46 -46
  15. package/dist/chunks/{provider-kwe77dsa.js → kv-0knbg5a8.js} +8 -8
  16. package/dist/chunks/{provider-53p9d5ea.js → kv-0mxj9fd6.js} +9 -9
  17. package/dist/chunks/{provider-0paq2nw3.js → kv-0paq2nw3.js} +1 -1
  18. package/dist/chunks/{provider-0vbcp93d.js → kv-0vbcp93d.js} +2 -2
  19. package/dist/chunks/{provider-wgn1zfzh.js → kv-0y3sqs0q.js} +2 -2
  20. package/dist/chunks/{provider-pe07j12a.js → kv-11nb2wm6.js} +24 -24
  21. package/dist/chunks/{provider-2dsr8txv.js → kv-144xedv6.js} +29 -29
  22. package/dist/chunks/{provider-x2rw7g36.js → kv-150yg2gd.js} +5 -5
  23. package/dist/chunks/{provider-me3a999s.js → kv-1bf59rb9.js} +6 -6
  24. package/dist/chunks/{provider-1dazxqgg.js → kv-1dazxqgg.js} +2 -2
  25. package/dist/chunks/{provider-1dvck2a7.js → kv-1dvck2a7.js} +2 -2
  26. package/dist/chunks/{provider-db0cs2kz.js → kv-1f7zsz3w.js} +31 -31
  27. package/dist/chunks/{provider-3xtchf3h.js → kv-1k745sen.js} +8 -8
  28. package/dist/chunks/{provider-8xr2jsn8.js → kv-1qa15gwt.js} +15 -15
  29. package/dist/chunks/{provider-g66y9f43.js → kv-28r17msq.js} +18 -18
  30. package/dist/chunks/{provider-1qwpq4r3.js → kv-291skbwy.js} +6 -6
  31. package/dist/chunks/{provider-2a5m3afh.js → kv-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{provider-hxt8j9vk.js → kv-2cwhkz2n.js} +19 -19
  33. package/dist/chunks/{provider-1vcbmft8.js → kv-2fcn0a3n.js} +25 -25
  34. package/dist/chunks/{provider-t8h9k6kt.js → kv-2qkz3cac.js} +3 -3
  35. package/dist/chunks/{provider-cwa6csj7.js → kv-2sejkfem.js} +9 -9
  36. package/dist/chunks/{provider-vj3nwvwh.js → kv-2xd3k6k6.js} +22 -22
  37. package/dist/chunks/{provider-7e5rfcwt.js → kv-314vn2g9.js} +16 -16
  38. package/dist/chunks/{provider-6vnksd4p.js → kv-3axgwepp.js} +30 -30
  39. package/dist/chunks/{provider-x8fg1acq.js → kv-3dnqr9q0.js} +10 -10
  40. package/dist/chunks/{provider-6gp95x7h.js → kv-3ehr1n9z.js} +30 -30
  41. package/dist/chunks/{provider-3fc6dm20.js → kv-3fc6dm20.js} +1 -1
  42. package/dist/chunks/{provider-02jgg23j.js → kv-3fj5q6bc.js} +43 -43
  43. package/dist/chunks/{provider-3hepkmqq.js → kv-3hepkmqq.js} +1 -1
  44. package/dist/chunks/{provider-axvgx5r8.js → kv-3m2w0hrx.js} +36 -36
  45. package/dist/chunks/{provider-8nh1x9qx.js → kv-3pbt6ms1.js} +15 -15
  46. package/dist/chunks/{provider-3smtnn6g.js → kv-3smtnn6g.js} +1 -1
  47. package/dist/chunks/{provider-3tvqynh2.js → kv-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{provider-crkpb7cs.js → kv-3v7e0nj5.js} +20 -20
  49. package/dist/chunks/{provider-3zsf4n22.js → kv-3zsf4n22.js} +1 -1
  50. package/dist/chunks/kv-4639mgfq.js +26 -0
  51. package/dist/chunks/{provider-kvgh0332.js → kv-4hsstsq2.js} +15 -15
  52. package/dist/chunks/{provider-p98bz656.js → kv-4mtsj6py.js} +13 -13
  53. package/dist/chunks/{provider-ff0htmxq.js → kv-4mwpykj0.js} +6 -6
  54. package/dist/chunks/{provider-4ts7tf6z.js → kv-4ts7tf6z.js} +2 -2
  55. package/dist/chunks/{provider-hkh1gyze.js → kv-50202j3g.js} +32 -32
  56. package/dist/chunks/{provider-2502a444.js → kv-504addgz.js} +14 -14
  57. package/dist/chunks/{provider-epfa530k.js → kv-50jx1ftv.js} +17 -17
  58. package/dist/chunks/{provider-rxqangmd.js → kv-53dxyvp1.js} +13 -13
  59. package/dist/chunks/{provider-54ma36ye.js → kv-54ma36ye.js} +1 -1
  60. package/dist/chunks/{provider-zmzek11k.js → kv-59j91h7p.js} +18 -18
  61. package/dist/chunks/{provider-5daktx2q.js → kv-5daktx2q.js} +1 -1
  62. package/dist/chunks/{provider-wac6chsn.js → kv-5h5wp7dv.js} +21 -21
  63. package/dist/chunks/{provider-5m9w47nd.js → kv-5m9w47nd.js} +1 -1
  64. package/dist/chunks/{provider-v0xmac3n.js → kv-5pyjqqve.js} +2 -2
  65. package/dist/chunks/{provider-erxm7rkb.js → kv-5rmvjxjt.js} +20 -20
  66. package/dist/chunks/{provider-5t3nmthw.js → kv-5t3nmthw.js} +2 -2
  67. package/dist/chunks/{provider-dtqny3g5.js → kv-5thf4vwx.js} +11 -11
  68. package/dist/chunks/{provider-zwh81tv5.js → kv-606mcbpt.js} +18 -18
  69. package/dist/chunks/{provider-ypnqz5gf.js → kv-6443pe5d.js} +11 -11
  70. package/dist/chunks/{provider-p0r2k5hr.js → kv-6858qs0d.js} +13 -13
  71. package/dist/chunks/{provider-mcb0hy3p.js → kv-6r5yv9td.js} +27 -27
  72. package/dist/chunks/{provider-k423vsa4.js → kv-6w1vezwk.js} +22 -22
  73. package/dist/chunks/{provider-802940vn.js → kv-6w9b2v2t.js} +11 -11
  74. package/dist/chunks/{provider-6xb47vfp.js → kv-6xb47vfp.js} +1 -1
  75. package/dist/chunks/{provider-jp0zb534.js → kv-6xtnp6pv.js} +19 -19
  76. package/dist/chunks/{provider-q4c9f7y5.js → kv-6ze8z48e.js} +10 -10
  77. package/dist/chunks/{provider-71az546q.js → kv-71az546q.js} +2 -2
  78. package/dist/chunks/kv-789vsg7z.js +253 -0
  79. package/dist/chunks/{provider-8hbyspe1.js → kv-797efr59.js} +18 -18
  80. package/dist/chunks/{provider-7bmhse3q.js → kv-7bmhse3q.js} +1 -1
  81. package/dist/chunks/{provider-8phmhy56.js → kv-7c9bbt45.js} +4 -4
  82. package/dist/chunks/{provider-84txncab.js → kv-84txncab.js} +1 -1
  83. package/dist/chunks/{provider-r2gk0ttq.js → kv-89xk2mrn.js} +12 -12
  84. package/dist/chunks/{provider-gpw458b7.js → kv-8aj500b4.js} +23 -23
  85. package/dist/chunks/{provider-xb7ytst9.js → kv-8bk2q5by.js} +12 -12
  86. package/dist/chunks/{provider-435p4ksb.js → kv-8cseh6jw.js} +14 -14
  87. package/dist/chunks/{provider-8d7r5vzw.js → kv-8d7r5vzw.js} +1 -1
  88. package/dist/chunks/{provider-tge9ftn1.js → kv-906tg66d.js} +11 -11
  89. package/dist/chunks/{provider-a8wp3vm3.js → kv-90rwhrb1.js} +13 -13
  90. package/dist/chunks/{provider-w8rdajxk.js → kv-91xts6ft.js} +45 -45
  91. package/dist/chunks/{provider-9e5bzkjp.js → kv-9e5bzkjp.js} +3 -3
  92. package/dist/chunks/{provider-gj71zhbs.js → kv-9hwaqfsw.js} +5 -5
  93. package/dist/chunks/{provider-syvex6wj.js → kv-9kf9wkxz.js} +7 -7
  94. package/dist/chunks/{provider-evz588nn.js → kv-9phyjc4n.js} +11 -11
  95. package/dist/chunks/{provider-s8d7rejh.js → kv-9t7a50xb.js} +4 -4
  96. package/dist/chunks/{provider-p9tbp9qs.js → kv-9y0z6c2k.js} +8 -8
  97. package/dist/chunks/{provider-bzd9mpph.js → kv-9yev5r92.js} +75 -75
  98. package/dist/chunks/{provider-73tb2d7t.js → kv-a1gpj94z.js} +3 -3
  99. package/dist/chunks/{provider-8xcdsqe2.js → kv-a5wq81es.js} +19 -19
  100. package/dist/chunks/{provider-j82d6hxx.js → kv-a8vnbk5s.js} +50 -50
  101. package/dist/chunks/{provider-d63p7tmf.js → kv-a92h78km.js} +5 -5
  102. package/dist/chunks/{provider-cywzwz9x.js → kv-aa77x952.js} +26 -26
  103. package/dist/chunks/{provider-aaet6srn.js → kv-aaet6srn.js} +2 -2
  104. package/dist/chunks/{provider-xs6s4b8w.js → kv-ad98q5fk.js} +4 -4
  105. package/dist/chunks/{provider-x661k3y3.js → kv-addxnjmp.js} +4 -4
  106. package/dist/chunks/{provider-6hb4axps.js → kv-amzhydp5.js} +22 -22
  107. package/dist/chunks/{provider-869sfs2n.js → kv-apeyh75a.js} +45 -45
  108. package/dist/chunks/{provider-6hz8g0en.js → kv-as8ynvdv.js} +24 -24
  109. package/dist/chunks/{provider-671h762m.js → kv-at6chbkf.js} +23 -23
  110. package/dist/chunks/{provider-2jdp9x1k.js → kv-b1vjxa7a.js} +7 -7
  111. package/dist/chunks/{provider-b6gygkdw.js → kv-b6gygkdw.js} +2 -2
  112. package/dist/chunks/{provider-jy6n4x97.js → kv-bebjmbk5.js} +12 -12
  113. package/dist/chunks/{provider-g762atc6.js → kv-bezhzanq.js} +9 -9
  114. package/dist/chunks/{provider-af1qyrwf.js → kv-bkvz5s71.js} +4 -4
  115. package/dist/chunks/{provider-63j7grd1.js → kv-brsymgq7.js} +8 -8
  116. package/dist/chunks/{provider-950tcz88.js → kv-bwaap7p9.js} +1 -1
  117. package/dist/chunks/{provider-b32z9e7n.js → kv-bx744vwq.js} +5 -5
  118. package/dist/chunks/{provider-0jq8n27z.js → kv-c1eyt60v.js} +18 -18
  119. package/dist/chunks/{provider-z2zdbf9m.js → kv-c6sqj817.js} +33 -33
  120. package/dist/chunks/{provider-z7pebwj2.js → kv-cghk8e58.js} +22 -22
  121. package/dist/chunks/{provider-y1bxg4cw.js → kv-ct739ed2.js} +39 -39
  122. package/dist/chunks/{provider-3rctq0x8.js → kv-d1ve849e.js} +22 -22
  123. package/dist/chunks/{provider-y31c2br0.js → kv-d5q12aqz.js} +4 -4
  124. package/dist/chunks/{provider-xb50yt4b.js → kv-de52ckkz.js} +4 -4
  125. package/dist/chunks/{provider-kfxyjhp2.js → kv-dje26vdb.js} +3 -3
  126. package/dist/chunks/{provider-w90th1wq.js → kv-dpfrkhds.js} +8 -8
  127. package/dist/chunks/{provider-dpkg50ah.js → kv-dpkg50ah.js} +1 -1
  128. package/dist/chunks/{provider-ydm09vy0.js → kv-dpnnxfwt.js} +9 -9
  129. package/dist/chunks/{provider-3qp2570d.js → kv-drmw43ea.js} +29 -29
  130. package/dist/chunks/kv-dxj72tfx.js +18 -0
  131. package/dist/chunks/{provider-ezr7p14b.js → kv-e8wga5c8.js} +28 -28
  132. package/dist/chunks/{provider-70wfxkqk.js → kv-ebwqfc2a.js} +5 -5
  133. package/dist/chunks/{provider-54bf5ftt.js → kv-ee8xpbar.js} +25 -25
  134. package/dist/chunks/{provider-ef5x83kb.js → kv-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{provider-wjrctzxe.js → kv-ef5xnz50.js} +22 -22
  136. package/dist/chunks/{provider-etq0c3wd.js → kv-etq0c3wd.js} +1 -1
  137. package/dist/chunks/{provider-rh2bshgf.js → kv-evpcrbn2.js} +22 -22
  138. package/dist/chunks/{provider-gyx3rp2r.js → kv-ew12th47.js} +14 -14
  139. package/dist/chunks/{provider-txn8qske.js → kv-ey7zsb2z.js} +5 -5
  140. package/dist/chunks/{provider-r5rttqkx.js → kv-f87x761z.js} +26 -26
  141. package/dist/chunks/{provider-9sy89r0f.js → kv-f9pxsqr6.js} +4 -4
  142. package/dist/chunks/{provider-6j3fzm1y.js → kv-ff79g11c.js} +21 -21
  143. package/dist/chunks/{provider-5mffh87d.js → kv-fhq4beaq.js} +24 -24
  144. package/dist/chunks/{provider-q3y1480k.js → kv-fkzjdf45.js} +163 -163
  145. package/dist/chunks/{provider-6g7e4dd5.js → kv-fpecnkgp.js} +5 -5
  146. package/dist/chunks/{provider-y117vq4z.js → kv-fsh2y1zv.js} +19 -19
  147. package/dist/chunks/{provider-09q1rvk8.js → kv-fz64p049.js} +19 -19
  148. package/dist/chunks/{provider-9y0w708y.js → kv-g1sxm558.js} +8 -8
  149. package/dist/chunks/{provider-kgx9j78r.js → kv-g3ndzw54.js} +57 -57
  150. package/dist/chunks/{provider-w3ejnnxx.js → kv-g4sw2epc.js} +30 -30
  151. package/dist/chunks/{provider-xt8envp2.js → kv-g549jxts.js} +44 -44
  152. package/dist/chunks/{provider-gd4qta3r.js → kv-gd4qta3r.js} +1 -1
  153. package/dist/chunks/{provider-ykbx70vn.js → kv-gk37k7rf.js} +35 -35
  154. package/dist/chunks/{provider-5jrbfcyk.js → kv-gxxkvswg.js} +7 -7
  155. package/dist/chunks/{provider-h2b79v29.js → kv-h2b79v29.js} +2 -2
  156. package/dist/chunks/{provider-h6vf3j39.js → kv-h6vf3j39.js} +1 -1
  157. package/dist/chunks/{provider-0ym7r8mw.js → kv-hcbpprgx.js} +1 -1
  158. package/dist/chunks/{provider-b9m8jyf5.js → kv-hcbveym2.js} +11 -11
  159. package/dist/chunks/{provider-b122n9p4.js → kv-hmkvz94f.js} +11 -11
  160. package/dist/chunks/{provider-9kangp0z.js → kv-hp04rdxh.js} +8 -8
  161. package/dist/chunks/{provider-6bdkjnee.js → kv-hq1swd7v.js} +5 -5
  162. package/dist/chunks/{provider-6abn6fbv.js → kv-htjphyk5.js} +22 -22
  163. package/dist/chunks/{provider-d5577vah.js → kv-hxxy4jtt.js} +8 -8
  164. package/dist/chunks/{provider-fp9sff3r.js → kv-hydafzv0.js} +41 -41
  165. package/dist/chunks/{provider-j56e64zr.js → kv-j56e64zr.js} +1 -1
  166. package/dist/chunks/{provider-cq1crqf5.js → kv-jg575x7y.js} +22 -22
  167. package/dist/chunks/{provider-8sze2n9a.js → kv-jktqzjpa.js} +4 -4
  168. package/dist/chunks/{provider-9g978t7c.js → kv-jn9040r2.js} +30 -30
  169. package/dist/chunks/{provider-h9pnpq88.js → kv-jpqeh2wc.js} +4 -4
  170. package/dist/chunks/{provider-50wdke11.js → kv-k318agvy.js} +6 -6
  171. package/dist/chunks/{provider-g31erja1.js → kv-k70p9jzb.js} +9 -9
  172. package/dist/chunks/{provider-dwhba9yv.js → kv-kpg2gynq.js} +29 -29
  173. package/dist/chunks/{provider-m7wfyeg7.js → kv-kykapc73.js} +16 -16
  174. package/dist/chunks/{provider-m3fdjcah.js → kv-m3fdjcah.js} +1 -1
  175. package/dist/chunks/{provider-m9w0rfyh.js → kv-m9w0rfyh.js} +1 -1
  176. package/dist/chunks/{provider-90rktb5s.js → kv-mae0k732.js} +9 -9
  177. package/dist/chunks/{provider-1ygqh575.js → kv-mfqp6xfm.js} +6 -6
  178. package/dist/chunks/{provider-ap47h660.js → kv-mrwm8afd.js} +22 -22
  179. package/dist/chunks/{provider-pmv6ntjp.js → kv-n0571dh0.js} +18 -18
  180. package/dist/chunks/{provider-vbfgae2j.js → kv-n2srvep7.js} +4 -4
  181. package/dist/chunks/{provider-prq7hedt.js → kv-n37c4crj.js} +9 -9
  182. package/dist/chunks/{provider-4ezdp9ng.js → kv-n43tnyyv.js} +35 -35
  183. package/dist/chunks/{provider-my8rj7kn.js → kv-n4grcdw5.js} +29 -29
  184. package/dist/chunks/{provider-qx78w7x0.js → kv-n72xc886.js} +39 -39
  185. package/dist/chunks/{provider-ecf7yx0s.js → kv-n9tt80yh.js} +5 -5
  186. package/dist/chunks/{provider-n2thn3nx.js → kv-ncnm8wen.js} +1 -1
  187. package/dist/chunks/{provider-3v7w85me.js → kv-nhkczpkc.js} +9 -9
  188. package/dist/chunks/{provider-a8bn8zg0.js → kv-nrdmrqsx.js} +4 -4
  189. package/dist/chunks/{provider-a8ded0f6.js → kv-nt69khzf.js} +16 -16
  190. package/dist/chunks/{provider-9szwjyee.js → kv-pgdq0m2s.js} +8 -8
  191. package/dist/chunks/{provider-pjvnvgmy.js → kv-pjvnvgmy.js} +1 -1
  192. package/dist/chunks/{provider-pknna89w.js → kv-pknna89w.js} +1 -1
  193. package/dist/chunks/{provider-yb860a13.js → kv-pnedbpq6.js} +9 -9
  194. package/dist/chunks/{provider-a1r079t2.js → kv-pyfe26s8.js} +13 -13
  195. package/dist/chunks/{provider-q0xm7vwc.js → kv-q0xm7vwc.js} +2 -2
  196. package/dist/chunks/{provider-3fgq8q2e.js → kv-q2pzxhp3.js} +7 -7
  197. package/dist/chunks/{provider-394yer4d.js → kv-q3djzwyg.js} +22 -22
  198. package/dist/chunks/{provider-khr9akvx.js → kv-q7fq4b4a.js} +32 -32
  199. package/dist/chunks/{provider-3zwwsd0z.js → kv-q95kjj2t.js} +23 -23
  200. package/dist/chunks/{provider-6yx9cdwm.js → kv-qdq3033d.js} +17 -17
  201. package/dist/chunks/{provider-rzs3gq0x.js → kv-qe26s0zb.js} +8 -8
  202. package/dist/chunks/{provider-2xj975mh.js → kv-qey3k095.js} +3 -3
  203. package/dist/chunks/{provider-kadn9d92.js → kv-qfhmckpv.js} +14 -14
  204. package/dist/chunks/{provider-2k8khapm.js → kv-qgn6gcr1.js} +5 -5
  205. package/dist/chunks/{provider-a7ne0pbq.js → kv-qh99jyhd.js} +43 -43
  206. package/dist/chunks/{provider-xrh33zgb.js → kv-qj944938.js} +21 -21
  207. package/dist/chunks/{provider-qnc92qwc.js → kv-qnc92qwc.js} +1 -1
  208. package/dist/chunks/{provider-fs772d02.js → kv-qqgnk5sa.js} +6 -6
  209. package/dist/chunks/{provider-qj5ds43h.js → kv-qqmhc4xj.js} +30 -30
  210. package/dist/chunks/{provider-qsdy395h.js → kv-qsdy395h.js} +1 -1
  211. package/dist/chunks/{provider-xcyyqy34.js → kv-qvy3y2q7.js} +33 -33
  212. package/dist/chunks/{provider-xyafkbt0.js → kv-qxjc9qry.js} +3 -3
  213. package/dist/chunks/{provider-aekpz6sr.js → kv-r101cspy.js} +48 -48
  214. package/dist/chunks/{provider-xr86wyz0.js → kv-r3s59a3c.js} +26 -26
  215. package/dist/chunks/{provider-tpykdk7e.js → kv-r7kk08kn.js} +20 -20
  216. package/dist/chunks/{provider-1acjjqhc.js → kv-r8xr0va3.js} +4 -4
  217. package/dist/chunks/{provider-rdw6cm16.js → kv-rdw6cm16.js} +1 -1
  218. package/dist/chunks/{provider-2tfb63jn.js → kv-re39fj6q.js} +3 -3
  219. package/dist/chunks/{provider-fyjp43ss.js → kv-rf80fxgj.js} +5 -5
  220. package/dist/chunks/{provider-mcrs9awc.js → kv-rhvgmpzm.js} +3 -3
  221. package/dist/chunks/{provider-853df498.js → kv-rqwx90yh.js} +3 -3
  222. package/dist/chunks/{provider-h4ckqw4f.js → kv-ryd2rdzb.js} +8 -8
  223. package/dist/chunks/{provider-szp9cm9d.js → kv-ryj782zy.js} +11 -11
  224. package/dist/chunks/{provider-y32xjbbv.js → kv-s1vq5vjj.js} +4 -4
  225. package/dist/chunks/{provider-mt1f1117.js → kv-s2xdefjk.js} +13 -13
  226. package/dist/chunks/{provider-q72rqnyr.js → kv-sanedfh0.js} +29 -29
  227. package/dist/chunks/{provider-wxckm61x.js → kv-sfxc0p81.js} +45 -45
  228. package/dist/chunks/{provider-c4r1z0h4.js → kv-sppc6c79.js} +5 -5
  229. package/dist/chunks/{provider-pxchgtyc.js → kv-t11fnep0.js} +4 -4
  230. package/dist/chunks/{provider-j36g3wgd.js → kv-t1nf5an5.js} +11 -11
  231. package/dist/chunks/{provider-6hh8tjw2.js → kv-t6vsspdg.js} +7 -7
  232. package/dist/chunks/{provider-tazgh4e4.js → kv-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{provider-89znhe33.js → kv-tcezcvh9.js} +4 -4
  234. package/dist/chunks/{provider-33cp61c9.js → kv-tdhpb3v5.js} +15 -15
  235. package/dist/chunks/{provider-tdstcens.js → kv-tdstcens.js} +1 -1
  236. package/dist/chunks/{provider-kw2wghq3.js → kv-tk8acvkq.js} +17 -17
  237. package/dist/chunks/{provider-y7gnf2d1.js → kv-tnxzcmvm.js} +14 -14
  238. package/dist/chunks/{provider-5yzzbxa7.js → kv-tpw6cwsb.js} +8 -8
  239. package/dist/chunks/{provider-zgfgymxp.js → kv-tsq8mx3a.js} +9 -9
  240. package/dist/chunks/{provider-rdz0fprs.js → kv-v1m0bgap.js} +36 -36
  241. package/dist/chunks/{provider-hewdcjdf.js → kv-v2p84kh2.js} +95 -95
  242. package/dist/chunks/{provider-7cd1ytca.js → kv-v2yhfrn9.js} +10 -10
  243. package/dist/chunks/{provider-veqvce7d.js → kv-veqvce7d.js} +1 -1
  244. package/dist/chunks/{provider-mkr0nv12.js → kv-vk34wx83.js} +32 -32
  245. package/dist/chunks/{provider-zfs8ae4p.js → kv-vn72gsba.js} +4 -4
  246. package/dist/chunks/{provider-79wzcjsa.js → kv-vnnhbf40.js} +6 -6
  247. package/dist/chunks/{provider-51jbw7dx.js → kv-vpjxjfws.js} +4 -4
  248. package/dist/chunks/{provider-m5jcjszt.js → kv-vx3jgdek.js} +3 -3
  249. package/dist/chunks/{provider-5ngaw42y.js → kv-vy4j84c5.js} +15 -15
  250. package/dist/chunks/{provider-5ptdqdpf.js → kv-vz9np6hr.js} +37 -37
  251. package/dist/chunks/{provider-vzs5sf6e.js → kv-vzs5sf6e.js} +1 -1
  252. package/dist/chunks/{provider-xfkkasph.js → kv-w19d8598.js} +5 -5
  253. package/dist/chunks/{provider-w3wsvvr9.js → kv-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{provider-wd87259q.js → kv-wd87259q.js} +1 -1
  255. package/dist/chunks/{provider-w4bq55ta.js → kv-weef4h0t.js} +27 -27
  256. package/dist/chunks/{provider-r9t00hsy.js → kv-wh3mwy9y.js} +8 -8
  257. package/dist/chunks/{provider-w39jehkq.js → kv-wh6zw745.js} +5 -5
  258. package/dist/chunks/{provider-69n11mhg.js → kv-wmnwwwhc.js} +24 -24
  259. package/dist/chunks/{provider-rj109cpc.js → kv-wwctf8pa.js} +11 -11
  260. package/dist/chunks/{provider-470p4mvx.js → kv-x61eq3et.js} +17 -17
  261. package/dist/chunks/{provider-bya5pgnz.js → kv-xbq5pdxh.js} +32 -32
  262. package/dist/chunks/{provider-dmqcgk4z.js → kv-xkntkrq7.js} +5 -5
  263. package/dist/chunks/{provider-880chn4z.js → kv-xm2v5ye2.js} +11 -11
  264. package/dist/chunks/{provider-3ffq614d.js → kv-xr5yvd35.js} +8 -8
  265. package/dist/chunks/{provider-jpb5mf9j.js → kv-xvc4631w.js} +13 -13
  266. package/dist/chunks/{provider-y6t797ad.js → kv-xve1yjb3.js} +9 -9
  267. package/dist/chunks/{provider-y1fvbwt7.js → kv-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{provider-dky9q78m.js → kv-y2g779vb.js} +24 -24
  269. package/dist/chunks/{provider-cr6zmxap.js → kv-y2vqkag3.js} +6 -6
  270. package/dist/chunks/{provider-npjxmaz5.js → kv-y6d2apqa.js} +12 -12
  271. package/dist/chunks/{provider-xcmk6yw7.js → kv-y8wcetdn.js} +11 -11
  272. package/dist/chunks/{provider-xbtqc3yy.js → kv-yd0qngcd.js} +13 -13
  273. package/dist/chunks/{provider-grbwyzfx.js → kv-ygws11mx.js} +28 -28
  274. package/dist/chunks/{provider-gytvncbh.js → kv-ygz7vdjy.js} +17 -17
  275. package/dist/chunks/{provider-f62pbbwn.js → kv-yhgbfdfr.js} +10 -10
  276. package/dist/chunks/{provider-veqfhemw.js → kv-yhq47pcp.js} +6 -6
  277. package/dist/chunks/{provider-z0bkrqjs.js → kv-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{provider-kne8f3cn.js → kv-zcrspsvn.js} +4 -4
  279. package/dist/chunks/{provider-zr2ceqn5.js → kv-zr2ceqn5.js} +1 -1
  280. package/dist/chunks/{provider-vq6phmds.js → kv-zsp613gn.js} +324 -324
  281. package/dist/chunks/{provider-3sj8yt8v.js → kv-zsr4wwhv.js} +4 -4
  282. package/dist/chunks/{provider-zxq2ej10.js → kv-zxq2ej10.js} +1 -1
  283. package/dist/chunks/{provider-qygbw77c.js → kv-zyk1yjk8.js} +5 -5
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +9 -9
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +85 -85
  289. package/dist/config/discovery.js +84 -84
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +99 -99
  292. package/dist/config/plugin/agent.js +118 -118
  293. package/dist/config/plugin/command.js +207 -207
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/compatibility.js +134 -134
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +117 -117
  298. package/dist/config/plugin/image.js +116 -116
  299. package/dist/config/plugin/instruction.js +90 -90
  300. package/dist/config/plugin/location-watcher.js +116 -116
  301. package/dist/config/plugin/mcp.js +125 -125
  302. package/dist/config/plugin/policy.js +117 -117
  303. package/dist/config/plugin/provider.js +116 -116
  304. package/dist/config/plugin/reference.js +118 -118
  305. package/dist/config/plugin/shell.js +118 -118
  306. package/dist/config/plugin/skill-file.js +102 -102
  307. package/dist/config/plugin/skill.js +137 -137
  308. package/dist/config/plugin/snapshot.js +116 -116
  309. package/dist/config/plugin/source.js +119 -119
  310. package/dist/config/plugin/tool-output.js +117 -117
  311. package/dist/config/plugin/websearch.js +117 -117
  312. package/dist/config/plugin/worktree.js +118 -118
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +121 -121
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +77 -77
  318. package/dist/database/database.js +66 -66
  319. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +13 -13
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +14 -14
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration.gen.js +49 -49
  384. package/dist/database/migration.js +51 -51
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +76 -76
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +363 -363
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +1 -1
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +93 -93
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +95 -95
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +74 -74
  408. package/dist/file-access.js +104 -104
  409. package/dist/file-mutation.js +94 -94
  410. package/dist/file-retention.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/location-watcher-policy.js +6 -6
  416. package/dist/filesystem/location-watcher.js +218 -218
  417. package/dist/filesystem/protected.js +3 -3
  418. package/dist/filesystem/search.js +103 -103
  419. package/dist/filesystem/watcher-binding.js +1 -1
  420. package/dist/filesystem/watcher.js +13 -13
  421. package/dist/filesystem.js +106 -106
  422. package/dist/form.js +82 -82
  423. package/dist/formatter/builtins.js +4 -4
  424. package/dist/formatter.js +87 -87
  425. package/dist/generate.js +103 -103
  426. package/dist/git.js +10 -10
  427. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  428. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  429. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  431. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  433. package/dist/github-copilot/copilot-provider.js +17 -17
  434. package/dist/github-copilot/models.js +99 -99
  435. package/dist/github-copilot/openai-compatible-error.js +1 -1
  436. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  437. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  438. package/dist/github-copilot/responses/openai-error.js +1 -1
  439. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  440. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  441. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  442. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  443. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  446. package/dist/image/photon.js +2 -2
  447. package/dist/image.js +6 -6
  448. package/dist/instance/service.js +5 -5
  449. package/dist/instance.js +354 -354
  450. package/dist/instruction-discovery.js +83 -83
  451. package/dist/instructions/builtins.js +87 -87
  452. package/dist/instructions/index.js +3 -3
  453. package/dist/integration/connection.js +3 -3
  454. package/dist/integration.js +85 -85
  455. package/dist/job.js +76 -76
  456. package/dist/kv/sql.js +2 -2
  457. package/dist/kv.js +73 -73
  458. package/dist/location-activity.js +134 -134
  459. package/dist/location-lifecycle.js +107 -107
  460. package/dist/location-service-map.js +86 -86
  461. package/dist/location-services.js +351 -351
  462. package/dist/location.js +85 -85
  463. package/dist/managed-policy.js +5 -5
  464. package/dist/mcp/client.js +91 -91
  465. package/dist/mcp/index.js +103 -103
  466. package/dist/mcp/instructions.js +129 -129
  467. package/dist/mcp/oauth.js +75 -75
  468. package/dist/mcp/stdio.js +90 -90
  469. package/dist/mime.js +1 -1
  470. package/dist/modal/models.js +99 -99
  471. package/dist/model-resolver.js +98 -98
  472. package/dist/model.js +98 -98
  473. package/dist/models-dev.js +99 -99
  474. package/dist/oauth/page.js +1 -1
  475. package/dist/permission/saved.js +80 -80
  476. package/dist/permission/sql.js +5 -5
  477. package/dist/permission.js +107 -107
  478. package/dist/persistent-pty/binary.bun.js +1 -1
  479. package/dist/persistent-pty/daemon.js +1 -1
  480. package/dist/persistent-pty/index.js +90 -90
  481. package/dist/persistent-pty/pty-binding.js +1 -1
  482. package/dist/persistent-pty.js +75 -75
  483. package/dist/plugin/agent.js +104 -104
  484. package/dist/plugin/command.js +102 -102
  485. package/dist/plugin/hooks.js +5 -5
  486. package/dist/plugin/host.js +211 -211
  487. package/dist/plugin/identity.js +3 -3
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +326 -326
  490. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  491. package/dist/plugin/models-dev.js +96 -96
  492. package/dist/plugin/module.js +7 -7
  493. package/dist/plugin/optimize.js +2 -2
  494. package/dist/plugin/plan.js +102 -102
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  497. package/dist/plugin/provider/azure.js +117 -117
  498. package/dist/plugin/provider/cerebras.js +1 -1
  499. package/dist/plugin/provider/chatgpt.js +93 -93
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +112 -112
  504. package/dist/plugin/provider/digitalocean.js +93 -93
  505. package/dist/plugin/provider/dynamic.js +2 -2
  506. package/dist/plugin/provider/factory.js +1 -1
  507. package/dist/plugin/provider/github-copilot.js +95 -95
  508. package/dist/plugin/provider/gitlab.js +93 -93
  509. package/dist/plugin/provider/google-vertex.js +90 -90
  510. package/dist/plugin/provider/kilo.js +1 -1
  511. package/dist/plugin/provider/llmgateway.js +78 -78
  512. package/dist/plugin/provider/lmstudio.js +116 -116
  513. package/dist/plugin/provider/local.js +113 -113
  514. package/dist/plugin/provider/modal.js +92 -92
  515. package/dist/plugin/provider/nvidia.js +1 -1
  516. package/dist/plugin/provider/ollama.js +116 -116
  517. package/dist/plugin/provider/openai.js +93 -93
  518. package/dist/plugin/provider/opencode.js +96 -96
  519. package/dist/plugin/provider/openrouter.js +91 -91
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/poe.js +79 -79
  522. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  523. package/dist/plugin/provider/sap-ai-core.js +91 -91
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  526. package/dist/plugin/provider/vercel.js +90 -90
  527. package/dist/plugin/provider/vllm.js +116 -116
  528. package/dist/plugin/provider/xai.js +91 -91
  529. package/dist/plugin/provider/zenmux.js +1 -1
  530. package/dist/plugin/provider.js +155 -155
  531. package/dist/plugin/sdk.js +76 -76
  532. package/dist/plugin/service.js +3 -3
  533. package/dist/plugin/skill.js +134 -134
  534. package/dist/plugin/source-directory.js +1 -1
  535. package/dist/plugin/supervisor.js +345 -345
  536. package/dist/plugin/tool-input-repair.js +4 -4
  537. package/dist/plugin/update.js +6 -6
  538. package/dist/plugin/vcs/git.js +86 -86
  539. package/dist/plugin/vcs/hg.js +86 -86
  540. package/dist/plugin/verbosity.js +93 -93
  541. package/dist/plugin/warming.js +114 -114
  542. package/dist/plugin/websearch/exa.js +7 -7
  543. package/dist/plugin/websearch/firecrawl.js +6 -6
  544. package/dist/plugin/websearch/index.js +9 -9
  545. package/dist/plugin/websearch/mcp.js +4 -4
  546. package/dist/plugin/websearch/parallel.js +8 -8
  547. package/dist/plugin/websearch/tavily.js +6 -6
  548. package/dist/plugin/websearch/tinyfish.js +6 -6
  549. package/dist/plugin.js +222 -222
  550. package/dist/project/schema.js +4 -4
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +86 -86
  553. package/dist/provider.js +97 -97
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +93 -93
  557. package/dist/reference/instructions.js +89 -89
  558. package/dist/reference.js +87 -87
  559. package/dist/repository-cache.js +81 -81
  560. package/dist/repository.js +1 -1
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +97 -97
  563. package/dist/rpc.js +86 -86
  564. package/dist/schema.js +1 -1
  565. package/dist/session/affinity.js +1 -1
  566. package/dist/session/command.js +74 -74
  567. package/dist/session/compaction.js +133 -133
  568. package/dist/session/context.js +153 -153
  569. package/dist/session/diff.js +88 -88
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +5 -5
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +217 -217
  574. package/dist/session/execution.js +125 -125
  575. package/dist/session/generate.js +152 -152
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +88 -88
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +79 -79
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +97 -97
  582. package/dist/session/message-updater.js +4 -4
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +120 -120
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +129 -129
  587. package/dist/session/projector.js +86 -86
  588. package/dist/session/prompt.js +105 -105
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +90 -90
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +224 -224
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +98 -98
  596. package/dist/session/runner/publish-llm-event.js +113 -113
  597. package/dist/session/runner/retry.js +4 -4
  598. package/dist/session/runner/step.js +125 -125
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +164 -164
  602. package/dist/session/shell.js +130 -130
  603. package/dist/session/skill.js +103 -103
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +73 -73
  606. package/dist/session/store.js +87 -87
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +203 -203
  609. package/dist/session/system-prompt.js +3 -3
  610. package/dist/session/title.js +157 -157
  611. package/dist/session/to-session-error.js +111 -111
  612. package/dist/session/transfer.js +213 -213
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +211 -211
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +15 -15
  619. package/dist/shell.js +132 -132
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +107 -107
  622. package/dist/skill.js +110 -110
  623. package/dist/snapshot.js +89 -89
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +128 -128
  628. package/dist/tool/plugin/edit.js +120 -120
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +116 -116
  631. package/dist/tool/plugin/grep.js +124 -124
  632. package/dist/tool/plugin/mcp-resource.js +117 -117
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +118 -118
  635. package/dist/tool/plugin/question.js +103 -103
  636. package/dist/tool/plugin/read.js +119 -119
  637. package/dist/tool/plugin/shell.js +210 -210
  638. package/dist/tool/plugin/skill.js +113 -113
  639. package/dist/tool/plugin/subagent.js +212 -212
  640. package/dist/tool/plugin/webfetch.js +110 -110
  641. package/dist/tool/plugin/websearch.js +114 -114
  642. package/dist/tool/plugin/write.js +122 -122
  643. package/dist/tool/read-filesystem.js +100 -100
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +7 -7
  646. package/dist/tool.js +16 -16
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/git-executable.js +2 -2
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +5 -5
  657. package/dist/v1/config/command.js +5 -5
  658. package/dist/v1/config/error.js +2 -2
  659. package/dist/v1/config/mcp.js +4 -4
  660. package/dist/v1/config/migrate.js +92 -92
  661. package/dist/v1/config/permission.js +3 -3
  662. package/dist/v1/config/plugin.js +3 -3
  663. package/dist/v1/config/provider-options.js +1 -1
  664. package/dist/v1/config/provider.js +4 -4
  665. package/dist/variant.js +93 -93
  666. package/dist/vcs/patch.js +1 -1
  667. package/dist/vcs.js +89 -89
  668. package/dist/websearch.js +80 -80
  669. package/dist/wellknown/plugin.js +76 -76
  670. package/dist/wellknown.js +79 -79
  671. package/dist/workspace/driver.js +7 -7
  672. package/dist/workspace/sql.js +1 -1
  673. package/dist/workspace.js +80 -80
  674. package/dist/worktree/directory.js +2 -2
  675. package/dist/worktree/git.js +10 -10
  676. package/dist/worktree/sql.js +5 -5
  677. package/dist/worktree/strategies.js +89 -89
  678. package/dist/worktree.js +96 -96
  679. package/package.json +8 -8
  680. package/dist/chunks/provider-4v7qdvcn.js +0 -18
  681. package/dist/chunks/provider-9ztar93x.js +0 -26
  682. package/dist/chunks/provider-p8msd6xk.js +0 -253
  683. /package/dist/chunks/{provider-0qkdqm5v.js → kv-0qkdqm5v.js} +0 -0
  684. /package/dist/chunks/{provider-0zkw76rk.js → kv-0zkw76rk.js} +0 -0
  685. /package/dist/chunks/{provider-17cy0kzp.js → kv-17cy0kzp.js} +0 -0
  686. /package/dist/chunks/{provider-1cnp2v09.js → kv-1cnp2v09.js} +0 -0
  687. /package/dist/chunks/{provider-1kg9ymc8.js → kv-1kg9ymc8.js} +0 -0
  688. /package/dist/chunks/{provider-24dcb14g.js → kv-24dcb14g.js} +0 -0
  689. /package/dist/chunks/{provider-2710q6r3.js → kv-2710q6r3.js} +0 -0
  690. /package/dist/chunks/{provider-2axfhc9x.js → kv-2axfhc9x.js} +0 -0
  691. /package/dist/chunks/{provider-2c3vjs8z.js → kv-2c3vjs8z.js} +0 -0
  692. /package/dist/chunks/{provider-34c7v6d4.js → kv-34c7v6d4.js} +0 -0
  693. /package/dist/chunks/{provider-359p4xyc.js → kv-359p4xyc.js} +0 -0
  694. /package/dist/chunks/{provider-3asan66x.js → kv-3asan66x.js} +0 -0
  695. /package/dist/chunks/{provider-3t0ybcrp.js → kv-3t0ybcrp.js} +0 -0
  696. /package/dist/chunks/{provider-3v8g72cx.js → kv-3v8g72cx.js} +0 -0
  697. /package/dist/chunks/{provider-3w5fmr99.js → kv-3w5fmr99.js} +0 -0
  698. /package/dist/chunks/{provider-3wcehsnq.js → kv-3wcehsnq.js} +0 -0
  699. /package/dist/chunks/{provider-43n2bw4t.js → kv-43n2bw4t.js} +0 -0
  700. /package/dist/chunks/{provider-4knz6hnm.js → kv-4knz6hnm.js} +0 -0
  701. /package/dist/chunks/{provider-4vcrnpx2.js → kv-4vcrnpx2.js} +0 -0
  702. /package/dist/chunks/{provider-4y7fprxs.js → kv-4y7fprxs.js} +0 -0
  703. /package/dist/chunks/{provider-53557ph1.js → kv-53557ph1.js} +0 -0
  704. /package/dist/chunks/{provider-550bvhaj.js → kv-550bvhaj.js} +0 -0
  705. /package/dist/chunks/{provider-5qd3pb7m.js → kv-5qd3pb7m.js} +0 -0
  706. /package/dist/chunks/{provider-6prwharc.js → kv-6prwharc.js} +0 -0
  707. /package/dist/chunks/{provider-6q2bdcd1.js → kv-6q2bdcd1.js} +0 -0
  708. /package/dist/chunks/{provider-7akdwqpd.js → kv-7akdwqpd.js} +0 -0
  709. /package/dist/chunks/{provider-7m9af43g.js → kv-7m9af43g.js} +0 -0
  710. /package/dist/chunks/{provider-822emrt2.js → kv-822emrt2.js} +0 -0
  711. /package/dist/chunks/{provider-88xbtdfr.js → kv-88xbtdfr.js} +0 -0
  712. /package/dist/chunks/{provider-8n3pysct.js → kv-8n3pysct.js} +0 -0
  713. /package/dist/chunks/{provider-8wj87zfr.js → kv-8wj87zfr.js} +0 -0
  714. /package/dist/chunks/{provider-9a4afbnw.js → kv-9a4afbnw.js} +0 -0
  715. /package/dist/chunks/{provider-9rqn6x4v.js → kv-9rqn6x4v.js} +0 -0
  716. /package/dist/chunks/{provider-a6k6eb26.js → kv-a6k6eb26.js} +0 -0
  717. /package/dist/chunks/{provider-af5trqkr.js → kv-af5trqkr.js} +0 -0
  718. /package/dist/chunks/{provider-afrmfg78.js → kv-afrmfg78.js} +0 -0
  719. /package/dist/chunks/{provider-aqzs7mqg.js → kv-aqzs7mqg.js} +0 -0
  720. /package/dist/chunks/{provider-atq7p7m5.js → kv-atq7p7m5.js} +0 -0
  721. /package/dist/chunks/{provider-bkyjaxrp.js → kv-bkyjaxrp.js} +0 -0
  722. /package/dist/chunks/{provider-bmr6ed5q.js → kv-bmr6ed5q.js} +0 -0
  723. /package/dist/chunks/{provider-cf4snx6d.js → kv-cf4snx6d.js} +0 -0
  724. /package/dist/chunks/{provider-cvy3z8tj.js → kv-cvy3z8tj.js} +0 -0
  725. /package/dist/chunks/{provider-d9fn303g.js → kv-d9fn303g.js} +0 -0
  726. /package/dist/chunks/{provider-d9jj8t3e.js → kv-d9jj8t3e.js} +0 -0
  727. /package/dist/chunks/{provider-dajrwvna.js → kv-dajrwvna.js} +0 -0
  728. /package/dist/chunks/{provider-dap0rakb.js → kv-dap0rakb.js} +0 -0
  729. /package/dist/chunks/{provider-df08tz66.js → kv-df08tz66.js} +0 -0
  730. /package/dist/chunks/{provider-dy18nga0.js → kv-dy18nga0.js} +0 -0
  731. /package/dist/chunks/{provider-e5kj55wp.js → kv-e5kj55wp.js} +0 -0
  732. /package/dist/chunks/{provider-e73j6tqm.js → kv-e73j6tqm.js} +0 -0
  733. /package/dist/chunks/{provider-ec1grn59.js → kv-ec1grn59.js} +0 -0
  734. /package/dist/chunks/{provider-eh3zwz77.js → kv-eh3zwz77.js} +0 -0
  735. /package/dist/chunks/{provider-emrn6kk6.js → kv-emrn6kk6.js} +0 -0
  736. /package/dist/chunks/{provider-f0mxakyp.js → kv-f0mxakyp.js} +0 -0
  737. /package/dist/chunks/{provider-f6n9ztr4.js → kv-f6n9ztr4.js} +0 -0
  738. /package/dist/chunks/{provider-faypxj3z.js → kv-faypxj3z.js} +0 -0
  739. /package/dist/chunks/{provider-fd410y7t.js → kv-fd410y7t.js} +0 -0
  740. /package/dist/chunks/{provider-fxgpk5d8.js → kv-fxgpk5d8.js} +0 -0
  741. /package/dist/chunks/{provider-g4wezp1m.js → kv-g4wezp1m.js} +0 -0
  742. /package/dist/chunks/{provider-g86h250q.js → kv-g86h250q.js} +0 -0
  743. /package/dist/chunks/{provider-gebd4c9n.js → kv-gebd4c9n.js} +0 -0
  744. /package/dist/chunks/{provider-gftt206x.js → kv-gftt206x.js} +0 -0
  745. /package/dist/chunks/{provider-hk9envan.js → kv-hk9envan.js} +0 -0
  746. /package/dist/chunks/{provider-j2ntwpah.js → kv-j2ntwpah.js} +0 -0
  747. /package/dist/chunks/{provider-j5zkgpj8.js → kv-j5zkgpj8.js} +0 -0
  748. /package/dist/chunks/{provider-jjkms2e6.js → kv-jjkms2e6.js} +0 -0
  749. /package/dist/chunks/{provider-jr7sbwjy.js → kv-jr7sbwjy.js} +0 -0
  750. /package/dist/chunks/{provider-jwfs4k6c.js → kv-jwfs4k6c.js} +0 -0
  751. /package/dist/chunks/{provider-jzg6c2d5.js → kv-jzg6c2d5.js} +0 -0
  752. /package/dist/chunks/{provider-mp448xyj.js → kv-mp448xyj.js} +0 -0
  753. /package/dist/chunks/{provider-msx8hqn2.js → kv-msx8hqn2.js} +0 -0
  754. /package/dist/chunks/{provider-n05xt0ee.js → kv-n05xt0ee.js} +0 -0
  755. /package/dist/chunks/{provider-n3j8tn72.js → kv-n3j8tn72.js} +0 -0
  756. /package/dist/chunks/{provider-njntx4h6.js → kv-njntx4h6.js} +0 -0
  757. /package/dist/chunks/{provider-q3sfg36h.js → kv-q3sfg36h.js} +0 -0
  758. /package/dist/chunks/{provider-q74kybfr.js → kv-q74kybfr.js} +0 -0
  759. /package/dist/chunks/{provider-qaymkmh1.js → kv-qaymkmh1.js} +0 -0
  760. /package/dist/chunks/{provider-qb87gjwd.js → kv-qb87gjwd.js} +0 -0
  761. /package/dist/chunks/{provider-qfa1cgps.js → kv-qfa1cgps.js} +0 -0
  762. /package/dist/chunks/{provider-qg3g05ea.js → kv-qg3g05ea.js} +0 -0
  763. /package/dist/chunks/{provider-qrg20bc0.js → kv-qrg20bc0.js} +0 -0
  764. /package/dist/chunks/{provider-rcb2kzg1.js → kv-rcb2kzg1.js} +0 -0
  765. /package/dist/chunks/{provider-sdp7kfr6.js → kv-sdp7kfr6.js} +0 -0
  766. /package/dist/chunks/{provider-ssg3fenm.js → kv-ssg3fenm.js} +0 -0
  767. /package/dist/chunks/{provider-w803qqfp.js → kv-w803qqfp.js} +0 -0
  768. /package/dist/chunks/{provider-wc3fc9cn.js → kv-wc3fc9cn.js} +0 -0
  769. /package/dist/chunks/{provider-wer8tq1h.js → kv-wer8tq1h.js} +0 -0
  770. /package/dist/chunks/{provider-wtztk69x.js → kv-wtztk69x.js} +0 -0
  771. /package/dist/chunks/{provider-x0ckcb58.js → kv-x0ckcb58.js} +0 -0
  772. /package/dist/chunks/{provider-x61499pn.js → kv-x61499pn.js} +0 -0
  773. /package/dist/chunks/{provider-y44na4kk.js → kv-y44na4kk.js} +0 -0
  774. /package/dist/chunks/{provider-y8cydn3q.js → kv-y8cydn3q.js} +0 -0
  775. /package/dist/chunks/{provider-y8f7s663.js → kv-y8f7s663.js} +0 -0
  776. /package/dist/chunks/{provider-ygaqb7jw.js → kv-ygaqb7jw.js} +0 -0
  777. /package/dist/chunks/{provider-ym463w8f.js → kv-ym463w8f.js} +0 -0
  778. /package/dist/chunks/{provider-z5v4ffb3.js → kv-z5v4ffb3.js} +0 -0
  779. /package/dist/chunks/{provider-z9919s4g.js → kv-z9919s4g.js} +0 -0
@@ -1,41 +1,41 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./provider-dpkg50ah.js";
3
+ } from "./kv-dpkg50ah.js";
4
4
  import {
5
- Service82,
6
- node85
7
- } from "./provider-y7gnf2d1.js";
5
+ Service83,
6
+ node87
7
+ } from "./kv-tnxzcmvm.js";
8
8
  import {
9
- Event20,
9
+ Event19,
10
10
  Service75,
11
- node78
12
- } from "./provider-y117vq4z.js";
11
+ node79
12
+ } from "./kv-fsh2y1zv.js";
13
13
  import {
14
- Service79,
15
- node82
16
- } from "./provider-435p4ksb.js";
14
+ Service76,
15
+ node80
16
+ } from "./kv-8cseh6jw.js";
17
17
  import {
18
- Service78,
19
- node81
20
- } from "./provider-69n11mhg.js";
18
+ Service53,
19
+ node56
20
+ } from "./kv-wmnwwwhc.js";
21
21
  import {
22
- ID14,
23
- Service74,
24
- node77
25
- } from "./provider-5mffh87d.js";
22
+ ID18,
23
+ Service80,
24
+ node84
25
+ } from "./kv-fhq4beaq.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./provider-rdw6cm16.js";
29
+ } from "./kv-rdw6cm16.js";
30
30
  import {
31
- ID13,
31
+ ID14,
32
32
  MethodID2,
33
- Service73,
34
- node76
35
- } from "./provider-54bf5ftt.js";
33
+ Service74,
34
+ node78
35
+ } from "./kv-ee8xpbar.js";
36
36
  import {
37
37
  __export
38
- } from "./provider-9rqn6x4v.js";
38
+ } from "./kv-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
@@ -49,12 +49,12 @@ __export(exports_mcp4, {
49
49
  ResourceContent: () => ResourceContent2,
50
50
  ResourceTemplate: () => ResourceTemplate2,
51
51
  ServerName: () => ServerName2,
52
- Service: () => Service30,
52
+ Service: () => Service35,
53
53
  Status: () => Status2,
54
54
  ToolCallError: () => ToolCallError2,
55
55
  configured: () => configured4,
56
- layer: () => layer12,
57
- node: () => node33
56
+ layer: () => layer14,
57
+ node: () => node38
58
58
  });
59
59
  import { Mcp } from "@opencode/schema/mcp";
60
60
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -103,7 +103,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
103
103
  var endpointLoads = makeUnsafe2();
104
104
  var cloneConfig = (config) => structuredClone(config);
105
105
 
106
- class Service30 extends Context.Service()("@opencode/MCP") {
106
+ class Service35 extends Context.Service()("@opencode/MCP") {
107
107
  }
108
108
  var Options4 = Schema.Struct({
109
109
  clientInfo: Schema.optional(Schema.Struct({
@@ -111,12 +111,12 @@ var Options4 = Schema.Struct({
111
111
  version: Schema.String
112
112
  }))
113
113
  });
114
- var layer12 = (options) => Layer.effect(Service30, Effect.gen(function* () {
115
- const location = yield* Service79;
116
- const environment = yield* Service78;
117
- const bus = yield* Service82;
118
- const forms = yield* Service74;
119
- const integration = yield* Service73;
114
+ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
115
+ const location = yield* Service76;
116
+ const environment = yield* Service53;
117
+ const bus = yield* Service83;
118
+ const forms = yield* Service80;
119
+ const integration = yield* Service74;
120
120
  const credentials = yield* Service75;
121
121
  const root = yield* Effect.scope;
122
122
  const fork = yield* FiberSet.makeRuntime();
@@ -129,7 +129,7 @@ var layer12 = (options) => Layer.effect(Service30, Effect.gen(function* () {
129
129
  return;
130
130
  const remote = entry.config;
131
131
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
132
- const integrationID = ID13.make(suffix);
132
+ const integrationID = ID14.make(suffix);
133
133
  entry.integrationID = integrationID;
134
134
  owned.add(integrationID);
135
135
  const methodID = MethodID2.make(suffix);
@@ -166,7 +166,7 @@ var layer12 = (options) => Layer.effect(Service30, Effect.gen(function* () {
166
166
  const elicitation = {
167
167
  create: (input) => Effect.gen(function* () {
168
168
  if (input.params.mode === "url") {
169
- const formID = ID14.create();
169
+ const formID = ID18.create();
170
170
  const elicitationID = input.params.elicitationId;
171
171
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
172
172
  if (key)
@@ -269,7 +269,7 @@ var layer12 = (options) => Layer.effect(Service30, Effect.gen(function* () {
269
269
  entry.scope = scope;
270
270
  const authProvider = yield* connectProvider(entry);
271
271
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
272
- const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service78, environment), Scope.provide(scope));
272
+ const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service53, environment), Scope.provide(scope));
273
273
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
274
274
  if (Exit.isSuccess(result)) {
275
275
  entry.client = result.value.connection;
@@ -394,7 +394,7 @@ var layer12 = (options) => Layer.effect(Service30, Effect.gen(function* () {
394
394
  yield* startServer(name, entry);
395
395
  }).pipe(locks.withLock(name));
396
396
  });
397
- fork(bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
397
+ fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
398
398
  const state = create3({
399
399
  name: "mcp",
400
400
  initial: () => ({
@@ -420,7 +420,7 @@ var layer12 = (options) => Layer.effect(Service30, Effect.gen(function* () {
420
420
  }),
421
421
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
422
422
  });
423
- return Service30.of({
423
+ return Service35.of({
424
424
  transform: state.transform,
425
425
  reload: state.reload,
426
426
  servers: Effect.fn("MCP.servers")(function* () {
@@ -532,12 +532,12 @@ function mergeCatalogs(catalogs) {
532
532
  }
533
533
  function configured4(options) {
534
534
  return makeLocationNode({
535
- service: Service30,
536
- layer: layer12(options),
537
- deps: [node82, node81, node85, node77, node76, node78]
535
+ service: Service35,
536
+ layer: layer14(options),
537
+ deps: [node80, node56, node87, node84, node78, node79]
538
538
  });
539
539
  }
540
- var node33 = configured4();
540
+ var node38 = configured4();
541
541
  function toElicitationField(key, property, required) {
542
542
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
543
543
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
588
588
  }
589
589
  }
590
590
 
591
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service30, Options4, layer12, configured4, node33, exports_mcp4 };
591
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service35, Options4, layer14, configured4, node38, exports_mcp4 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./provider-qfa1cgps.js";
3
+ } from "./kv-qfa1cgps.js";
4
4
 
5
5
  // src/kv/sql.ts
6
6
  import { sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  key2
3
- } from "./provider-x661k3y3.js";
3
+ } from "./kv-addxnjmp.js";
4
4
  import {
5
- Service82
6
- } from "./provider-y7gnf2d1.js";
5
+ Service83
6
+ } from "./kv-tnxzcmvm.js";
7
7
  import {
8
8
  OAuth3,
9
- Event20
10
- } from "./provider-y117vq4z.js";
9
+ Event19
10
+ } from "./kv-fsh2y1zv.js";
11
11
  import {
12
- ID13,
12
+ ID14,
13
13
  MethodID2
14
- } from "./provider-54bf5ftt.js";
14
+ } from "./kv-ee8xpbar.js";
15
15
  import {
16
- ID12,
16
+ ID13,
17
17
  aisdk2,
18
18
  mergeOverlay2,
19
- Service72
20
- } from "./provider-q72rqnyr.js";
19
+ Service73
20
+ } from "./kv-sanedfh0.js";
21
21
  import {
22
- ID11
23
- } from "./provider-3qp2570d.js";
22
+ ID12
23
+ } from "./kv-drmw43ea.js";
24
24
  import {
25
- load2,
26
- derive2
27
- } from "./provider-wjrctzxe.js";
25
+ load3,
26
+ derive3
27
+ } from "./kv-ef5xnz50.js";
28
28
  import {
29
29
  useragent2
30
- } from "./provider-dtqny3g5.js";
30
+ } from "./kv-5thf4vwx.js";
31
31
  import {
32
32
  ID10
33
- } from "./provider-r2gk0ttq.js";
33
+ } from "./kv-89xk2mrn.js";
34
34
  import {
35
35
  get5
36
- } from "./provider-54ma36ye.js";
36
+ } from "./kv-54ma36ye.js";
37
37
 
38
38
  // src/plugin/provider/github-copilot.ts
39
39
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
65
65
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
66
66
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
67
67
  var oauth = (app) => ({
68
- integrationID: ID13.make("github-copilot"),
68
+ integrationID: ID14.make("github-copilot"),
69
69
  method: {
70
70
  id: methodID,
71
71
  type: "oauth",
@@ -163,8 +163,8 @@ var oauth = (app) => ({
163
163
  var GithubCopilotPlugin2 = define({
164
164
  id: "opencode.provider.github.copilot",
165
165
  effect: Effect.fn(function* (ctx) {
166
- const providers = yield* Service72;
167
- const bus = yield* Service82;
166
+ const providers = yield* Service73;
167
+ const bus = yield* Service83;
168
168
  const loading = Semaphore.makeUnsafe(1);
169
169
  const loaded = {};
170
170
  const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
@@ -180,9 +180,9 @@ var GithubCopilotPlugin2 = define({
180
180
  return;
181
181
  }
182
182
  const url = copilotBaseURL2(credential.metadata) ?? baseURL();
183
- const provider = yield* providers.get(ID12.githubCopilot);
183
+ const provider = yield* providers.get(ID13.githubCopilot);
184
184
  const remote = yield* Effect.tryPromise({
185
- try: () => load2(url, {
185
+ try: () => load3(url, {
186
186
  ...provider?.headers,
187
187
  Authorization: `Bearer ${credential.refresh}`,
188
188
  "User-Agent": useragent2(ctx.app),
@@ -202,13 +202,13 @@ var GithubCopilotPlugin2 = define({
202
202
  editor.method.update(oauth(ctx.app));
203
203
  });
204
204
  yield* ctx.provider.transform((evt) => {
205
- const item = evt.get(ID12.githubCopilot);
205
+ const item = evt.get(ID13.githubCopilot);
206
206
  if (!item)
207
207
  return;
208
208
  if (loaded.models) {
209
209
  evt.add({
210
210
  info: item.provider,
211
- models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
211
+ models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
212
212
  sourceConnection: loaded.connection
213
213
  });
214
214
  return;
@@ -222,17 +222,17 @@ var GithubCopilotPlugin2 = define({
222
222
  }
223
223
  });
224
224
  yield* ctx.model.transform((models) => {
225
- if (models.get(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"))) {
226
- models.update(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"), (model) => {
225
+ if (models.get(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"))) {
226
+ models.update(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"), (model) => {
227
227
  model.enabled = false;
228
228
  });
229
229
  }
230
230
  });
231
231
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
232
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
232
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
233
233
  yield* refresh().pipe(Effect.forkScoped);
234
234
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
235
- if (evt.model.providerID !== ID12.githubCopilot)
235
+ if (evt.model.providerID !== ID13.githubCopilot)
236
236
  return;
237
237
  if (evt.package !== "@ai-sdk/github-copilot")
238
238
  return;
@@ -241,7 +241,7 @@ var GithubCopilotPlugin2 = define({
241
241
  evt.sdk = mod.createOpenaiCompatible(evt.options);
242
242
  }));
243
243
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
244
- if (evt.model.providerID !== ID12.githubCopilot)
244
+ if (evt.model.providerID !== ID13.githubCopilot)
245
245
  return;
246
246
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
247
247
  return;
@@ -251,9 +251,9 @@ var GithubCopilotPlugin2 = define({
251
251
  evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
252
252
  if (interaction !== "conversation-agent")
253
253
  evt.headers["x-initiator"] = "agent";
254
- }), { providerID: ID12.githubCopilot });
254
+ }), { providerID: ID13.githubCopilot });
255
255
  yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
256
- if (evt.model.providerID !== ID12.githubCopilot)
256
+ if (evt.model.providerID !== ID13.githubCopilot)
257
257
  return;
258
258
  if (!loaded.baseURL || !loaded.token || !loaded.models)
259
259
  return;
@@ -268,9 +268,9 @@ var GithubCopilotPlugin2 = define({
268
268
  evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
269
269
  return;
270
270
  }));
271
- }), { providerID: ID12.githubCopilot });
271
+ }), { providerID: ID13.githubCopilot });
272
272
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
273
- if (evt.model.providerID !== ID12.githubCopilot)
273
+ if (evt.model.providerID !== ID13.githubCopilot)
274
274
  return;
275
275
  const token = evt.request.headers.get("x-api-key");
276
276
  if (!token)
@@ -278,9 +278,9 @@ var GithubCopilotPlugin2 = define({
278
278
  const text = yield* Effect.promise(() => evt.request.clone().text());
279
279
  const body = Option.getOrUndefined(decodeBody(text));
280
280
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
281
- }), { providerID: ID12.githubCopilot });
281
+ }), { providerID: ID13.githubCopilot });
282
282
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
283
- if (evt.model.providerID !== ID12.githubCopilot)
283
+ if (evt.model.providerID !== ID13.githubCopilot)
284
284
  return;
285
285
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
286
286
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service54
3
- } from "./provider-crkpb7cs.js";
2
+ Service51
3
+ } from "./kv-3v7e0nj5.js";
4
4
  import {
5
5
  unavailable3
6
- } from "./provider-s8d7rejh.js";
6
+ } from "./kv-9t7a50xb.js";
7
7
  import {
8
8
  AbsolutePath2
9
- } from "./provider-z5v4ffb3.js";
9
+ } from "./kv-z5v4ffb3.js";
10
10
  import {
11
11
  File2,
12
- Service41
13
- } from "./provider-xr86wyz0.js";
12
+ Service46
13
+ } from "./kv-r3s59a3c.js";
14
14
  import {
15
- Service79
16
- } from "./provider-435p4ksb.js";
15
+ Service76
16
+ } from "./kv-8cseh6jw.js";
17
17
  import {
18
18
  __export
19
- } from "./provider-9rqn6x4v.js";
19
+ } from "./kv-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin45
25
+ Plugin: () => Plugin15
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
@@ -30,17 +30,17 @@ import { Global } from "@opencode/util/global";
30
30
  import { sameDirectory } from "@opencode/util/path";
31
31
  import { dirname, join } from "path";
32
32
  import { Effect, PubSub, Semaphore, Stream } from "effect";
33
- var Plugin45 = define({
33
+ var Plugin15 = define({
34
34
  id: "opencode.config.instruction",
35
35
  effect: Effect.fn(function* () {
36
- const discovery = yield* Service41;
36
+ const discovery = yield* Service46;
37
37
  if (!discovery.project && !discovery.global)
38
38
  return;
39
39
  yield* Effect.gen(function* () {
40
40
  const fs = yield* FSUtil.Service;
41
41
  const global = yield* Global.Service;
42
- const location = yield* Service79;
43
- const watcher = yield* Service54;
42
+ const location = yield* Service76;
43
+ const watcher = yield* Service51;
44
44
  const changes = yield* PubSub.sliding(1);
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  const start = yield* fs.resolve(location.directory);
@@ -115,4 +115,4 @@ function ancestorDirectories(start, stop) {
115
115
  return [start, ...ancestorDirectories(dirname(start), stop)];
116
116
  }
117
117
 
118
- export { Plugin45, exports_instruction };
118
+ export { Plugin15, exports_instruction };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./provider-9rqn6x4v.js";
3
+ } from "./kv-9rqn6x4v.js";
4
4
 
5
5
  // src/mime.ts
6
6
  var exports_mime = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./provider-9rqn6x4v.js";
3
+ } from "./kv-9rqn6x4v.js";
4
4
 
5
5
  // src/database/v1-migration.ts
6
6
  var exports_v1_migration = {};
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./provider-88xbtdfr.js";
3
+ } from "./kv-88xbtdfr.js";
4
4
  import {
5
5
  load4
6
- } from "./provider-5qd3pb7m.js";
6
+ } from "./kv-5qd3pb7m.js";
7
7
  import {
8
8
  __export
9
- } from "./provider-9rqn6x4v.js";
9
+ } from "./kv-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
14
  Event: () => Event10,
15
15
  Native: () => Native3,
16
- Options: () => Options9,
17
- Service: () => Service54,
16
+ Options: () => Options8,
17
+ Service: () => Service51,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured9,
20
+ configured: () => configured8,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer21,
22
+ layer: () => layer20,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node57,
25
+ node: () => node54,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options9 = Schema.Struct({
56
+ var Options8 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service54 extends Context.Service()("@opencode/Watcher") {
60
+ class Service51 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer21 = (options) => Layer.effect(Service54, Effect.gen(function* () {
65
+ var layer20 = (options) => Layer.effect(Service51, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service54.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service51.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer21 = (options) => Layer.effect(Service54, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service54.of({ subscribe });
108
+ return Service51.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer21().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer20().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service54).subscribe,
134
+ subscribe: Context.get(context, Service51).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service54, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service51, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
164
164
  }
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
- function configured9(options) {
168
- return makeGlobalNode({ service: Service54, layer: layer21(options), deps: [nativeNode2] });
167
+ function configured8(options) {
168
+ return makeGlobalNode({ service: Service51, layer: layer20(options), deps: [nativeNode2] });
169
169
  }
170
- var node57 = configured9();
170
+ var node54 = configured8();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event10, hasNativeBinding2, Native3, Options9, Service54, Test3, layer21, testLayer3, nativeLayer2, nativeNode2, configured9, node57, exports_watcher };
190
+ export { Event10, hasNativeBinding2, Native3, Options8, Service51, Test3, layer20, testLayer3, nativeLayer2, nativeNode2, configured8, node54, exports_watcher };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./provider-9rqn6x4v.js";
3
+ } from "./kv-9rqn6x4v.js";
4
4
 
5
5
  // src/util/error-summary.ts
6
6
  var exports_error_summary = {};
@@ -0,0 +1,26 @@
1
+ import {
2
+ Plugin25
3
+ } from "./kv-wh3mwy9y.js";
4
+ import {
5
+ Plugin26
6
+ } from "./kv-1bf59rb9.js";
7
+ import {
8
+ Plugin21
9
+ } from "./kv-nhkczpkc.js";
10
+ import {
11
+ Plugin27
12
+ } from "./kv-1k745sen.js";
13
+ import {
14
+ Plugin20
15
+ } from "./kv-291skbwy.js";
16
+
17
+ // src/plugin/websearch/index.ts
18
+ var WebSearchPlugins2 = [
19
+ Plugin25,
20
+ Plugin26,
21
+ Plugin21,
22
+ Plugin27,
23
+ Plugin20
24
+ ];
25
+
26
+ export { WebSearchPlugins2 };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./provider-z5v4ffb3.js";
3
+ } from "./kv-z5v4ffb3.js";
4
4
  import {
5
5
  Info14,
6
- ID6,
6
+ ID7,
7
7
  Name2
8
- } from "./provider-cywzwz9x.js";
8
+ } from "./kv-aa77x952.js";
9
9
  import {
10
- Service53
11
- } from "./provider-869sfs2n.js";
10
+ Service50
11
+ } from "./kv-apeyh75a.js";
12
12
  import {
13
13
  __export
14
- } from "./provider-9rqn6x4v.js";
14
+ } from "./kv-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
- var exports_skill = {};
18
- __export(exports_skill, {
17
+ var exports_skill2 = {};
18
+ __export(exports_skill2, {
19
19
  OpencodeContent: () => OpencodeContent2,
20
20
  OpencodeDescription: () => OpencodeDescription2,
21
- Plugin: () => Plugin14,
21
+ Plugin: () => Plugin32,
22
22
  ReportContent: () => ReportContent2,
23
- SkillPlugin: () => exports_skill
23
+ SkillPlugin: () => exports_skill2
24
24
  });
25
25
  import { define } from "@opencode/plugin/effect/plugin";
26
26
  import { Effect } from "effect";
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
425
425
  var ReportContent2 = report_default;
426
426
  var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
427
427
  var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
428
- var Plugin14 = define({
428
+ var Plugin32 = define({
429
429
  id: "opencode.skill",
430
430
  effect: Effect.fn(function* (ctx) {
431
431
  const reportContent = yield* reportContentWithDiagnostics(ctx.app);
432
432
  yield* ctx.skill.transform((editor) => {
433
433
  editor.add(Info14.make({
434
- id: ID6.make("opencode"),
434
+ id: ID7.make("opencode"),
435
435
  name: Name2.make("OpenCode"),
436
436
  description: OpencodeDescription2,
437
437
  path: AbsolutePath2.make("/builtin/opencode.md"),
438
438
  content: OpencodeContent2
439
439
  }));
440
440
  editor.add(Info14.make({
441
- id: ID6.make("report"),
441
+ id: ID7.make("report"),
442
442
  name: Name2.make("Report"),
443
443
  description: REPORT_DESCRIPTION,
444
444
  path: AbsolutePath2.make("/builtin/report.md"),
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
466
466
  `);
467
467
  });
468
468
  var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
469
- const config = yield* Service53;
469
+ const config = yield* Service50;
470
470
  return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
471
471
  });
472
472
  function terminal() {
@@ -480,4 +480,4 @@ function shell() {
480
480
  return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
481
481
  }
482
482
 
483
- export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin14, exports_skill };
483
+ export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin32, exports_skill2 };