@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,17 +1,17 @@
1
1
  import {
2
2
  provider2,
3
3
  model2
4
- } from "./provider-0paq2nw3.js";
4
+ } from "./kv-0paq2nw3.js";
5
5
  import {
6
6
  aisdk2
7
- } from "./provider-q72rqnyr.js";
7
+ } from "./kv-sanedfh0.js";
8
8
  import {
9
9
  Capabilities2,
10
10
  compatibility2
11
- } from "./provider-3qp2570d.js";
11
+ } from "./kv-drmw43ea.js";
12
12
  import {
13
13
  __export
14
- } from "./provider-9rqn6x4v.js";
14
+ } from "./kv-9rqn6x4v.js";
15
15
 
16
16
  // src/v1/config/migrate.ts
17
17
  var exports_migrate = {};
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./provider-9rqn6x4v.js";
3
+ } from "./kv-9rqn6x4v.js";
4
4
 
5
5
  // src/integration/connection.ts
6
6
  var exports_connection = {};
7
7
  __export(exports_connection, {
8
8
  CredentialInfo: () => CredentialInfo2,
9
9
  EnvInfo: () => EnvInfo2,
10
- Info: () => Info23,
10
+ Info: () => Info24,
11
11
  IntegrationConnection: () => exports_connection,
12
12
  Status: () => Status3,
13
13
  key: () => key2
@@ -15,7 +15,7 @@ __export(exports_connection, {
15
15
  import { Connection } from "@opencode/schema/connection";
16
16
  var CredentialInfo2 = Connection.CredentialInfo;
17
17
  var EnvInfo2 = Connection.EnvInfo;
18
- var Info23 = Connection.Info;
18
+ var Info24 = Connection.Info;
19
19
  var Status3 = Connection.Status;
20
20
  function key2(connection) {
21
21
  if (!connection)
@@ -23,4 +23,4 @@ function key2(connection) {
23
23
  return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
24
24
  }
25
25
 
26
- export { CredentialInfo2, EnvInfo2, Info23, Status3, key2, exports_connection };
26
+ export { CredentialInfo2, EnvInfo2, Info24, Status3, key2, exports_connection };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  create3
3
- } from "./provider-rdw6cm16.js";
3
+ } from "./kv-rdw6cm16.js";
4
4
  import {
5
5
  which2
6
- } from "./provider-qaymkmh1.js";
6
+ } from "./kv-qaymkmh1.js";
7
7
  import {
8
8
  __export
9
- } from "./provider-9rqn6x4v.js";
9
+ } from "./kv-9rqn6x4v.js";
10
10
 
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
- Options: () => Options5,
15
- Service: () => Service38,
14
+ Options: () => Options10,
15
+ Service: () => Service82,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
- configured: () => configured6,
18
+ configured: () => configured11,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
- list: () => list3,
21
+ list: () => list4,
22
22
  login: () => login2,
23
23
  name: () => name15,
24
- node: () => node42,
24
+ node: () => node86,
25
25
  ps: () => ps2,
26
- resolve: () => resolve3
26
+ resolve: () => resolve4
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 Options5 = Schema.Struct({
46
+ var Options10 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service38 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service82 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 resolve3(input, configShell, options, bin) {
167
+ function resolve4(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,15 +180,15 @@ function resolve3(input, configShell, options, bin) {
180
180
  defaultConfigured = { bin, value };
181
181
  return value;
182
182
  }
183
- resolve3.reset = () => {
183
+ resolve4.reset = () => {
184
184
  defaultConfigured = undefined;
185
185
  defaultCompatible = undefined;
186
186
  };
187
- async function list3(options, bin) {
187
+ 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(Service38, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service82, 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(Service38, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service38.of({
202
+ return Service82.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
- resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
206
- list: () => Effect.promise(() => list3(options, global.bin))
205
+ resolve: (input) => Effect.sync(() => resolve4(input, state.get().shell, options, global.bin)),
206
+ list: () => Effect.promise(() => list4(options, global.bin))
207
207
  });
208
208
  }));
209
- function configured6(options) {
210
- return makeLocationNode({ service: Service38, layer: layer(options), deps: [Global.node] });
209
+ function configured11(options) {
210
+ return makeLocationNode({ service: Service82, layer: layer(options), deps: [Global.node] });
211
211
  }
212
- var node42 = configured6();
212
+ var node86 = configured11();
213
213
 
214
- export { Options5, Service38, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list3, configured6, node42, exports_select };
214
+ export { Options10, Service82, gitbash2, name15, login2, ps2, args2, environment2, resolve4, list4, configured11, node86, exports_select };
@@ -1,56 +1,56 @@
1
1
  import {
2
- Service82,
3
- node85
4
- } from "./provider-y7gnf2d1.js";
2
+ Service83,
3
+ node87
4
+ } from "./kv-tnxzcmvm.js";
5
5
  import {
6
- Event20,
6
+ Event19,
7
7
  Service75,
8
- node78
9
- } from "./provider-y117vq4z.js";
8
+ node79
9
+ } from "./kv-fsh2y1zv.js";
10
10
  import {
11
- Service54,
12
- node57
13
- } from "./provider-crkpb7cs.js";
11
+ Service51,
12
+ node54
13
+ } from "./kv-3v7e0nj5.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./provider-z5v4ffb3.js";
16
+ } from "./kv-z5v4ffb3.js";
17
17
  import {
18
- Service79,
19
- node82
20
- } from "./provider-435p4ksb.js";
18
+ Service76,
19
+ node80
20
+ } from "./kv-8cseh6jw.js";
21
21
  import {
22
22
  substitute2
23
- } from "./provider-4ts7tf6z.js";
23
+ } from "./kv-4ts7tf6z.js";
24
24
  import {
25
25
  normalize2
26
- } from "./provider-g66y9f43.js";
26
+ } from "./kv-28r17msq.js";
27
27
  import {
28
- names3,
28
+ names4,
29
29
  discover3
30
- } from "./provider-q4c9f7y5.js";
30
+ } from "./kv-6ze8z48e.js";
31
31
  import {
32
32
  plan2
33
- } from "./provider-j56e64zr.js";
33
+ } from "./kv-j56e64zr.js";
34
34
  import {
35
- Service55,
35
+ Service52,
36
36
  Event11,
37
- node58
38
- } from "./provider-0jq8n27z.js";
37
+ node55
38
+ } from "./kv-c1eyt60v.js";
39
39
  import {
40
40
  __export
41
- } from "./provider-9rqn6x4v.js";
41
+ } from "./kv-9rqn6x4v.js";
42
42
 
43
43
  // src/config.ts
44
44
  var exports_config = {};
45
45
  __export(exports_config, {
46
46
  Config: () => exports_config,
47
- Options: () => Options7,
48
- Service: () => Service53,
47
+ Options: () => Options6,
48
+ Service: () => Service50,
49
49
  Test: () => Test2,
50
- configured: () => configured8,
50
+ configured: () => configured7,
51
51
  latest: () => latest2,
52
- layer: () => layer20,
53
- node: () => node56,
52
+ layer: () => layer19,
53
+ node: () => node53,
54
54
  testLayer: () => testLayer2
55
55
  });
56
56
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
64
64
  function latest2(entries, key) {
65
65
  return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
66
66
  }
67
- var Options7 = Schema.Struct({
67
+ var Options6 = Schema.Struct({
68
68
  project: Schema.optional(Schema.Boolean),
69
69
  global: Schema.optional(Schema.Boolean),
70
70
  file: Schema.optional(Schema.String),
71
71
  content: Schema.optional(Schema.String)
72
72
  });
73
73
 
74
- class Service53 extends Context.Service()("@opencode/Config") {
74
+ class Service50 extends Context.Service()("@opencode/Config") {
75
75
  }
76
76
 
77
77
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
89
89
  setEntries: (next) => Ref.set(entries, next),
90
90
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
91
91
  });
92
- return Context.empty().pipe(Context.add(Service53, service), Context.add(Test2, service));
92
+ return Context.empty().pipe(Context.add(Service50, service), Context.add(Test2, service));
93
93
  }));
94
- var layer20 = (options) => Layer.effect(Service53, Effect.gen(function* () {
94
+ var layer19 = (options) => Layer.effect(Service50, Effect.gen(function* () {
95
95
  const fs = yield* FSUtil.Service;
96
- const location = yield* Service79;
97
- const watcher = yield* Service54;
98
- const bus = yield* Service82;
96
+ const location = yield* Service76;
97
+ const watcher = yield* Service51;
98
+ const bus = yield* Service83;
99
99
  const credentials = yield* Service75;
100
100
  const globalService = yield* Global.Service;
101
- const wellknown = yield* Service55;
101
+ const wellknown = yield* Service52;
102
102
  const reloadLock = Semaphore.makeUnsafe(1);
103
103
  const updateLock = Semaphore.makeUnsafe(1);
104
104
  const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
@@ -167,7 +167,7 @@ var layer20 = (options) => Layer.effect(Service53, Effect.gen(function* () {
167
167
  });
168
168
  const loadDirectory = Effect.fnUntraced(function* (directory) {
169
169
  return [
170
- ...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
170
+ ...yield* Effect.forEach(names4, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
171
171
  new Directory({ type: "directory", path: directory })
172
172
  ];
173
173
  });
@@ -221,7 +221,7 @@ var layer20 = (options) => Layer.effect(Service53, Effect.gen(function* () {
221
221
  }, (effect) => reloadLock.withPermit(effect));
222
222
  const pendingReloads = yield* PubSub.subscribe(reloads);
223
223
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
224
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
224
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
225
225
  yield* bus.subscribe(Event11.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
226
226
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
227
227
  if (!wellknown.snapshot().length)
@@ -235,7 +235,7 @@ var layer20 = (options) => Layer.effect(Service53, Effect.gen(function* () {
235
235
  yield* reloadLock.withPermit(reconcile(initial));
236
236
  const update = Effect.fn("Config.update")(function* (patch) {
237
237
  const directory = initial.global ?? AbsolutePath2.make(globalService.config);
238
- const candidates = names3.map((name) => path.join(directory, name));
238
+ const candidates = names4.map((name) => path.join(directory, name));
239
239
  const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
240
240
  const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
241
241
  `;
@@ -250,7 +250,7 @@ var layer20 = (options) => Layer.effect(Service53, Effect.gen(function* () {
250
250
  `);
251
251
  yield* requestReload;
252
252
  }, (effect) => updateLock.withPermit(effect));
253
- return Service53.of({
253
+ return Service50.of({
254
254
  entries: Effect.fnUntraced(function* () {
255
255
  return configs;
256
256
  }),
@@ -262,13 +262,13 @@ var layer20 = (options) => Layer.effect(Service53, Effect.gen(function* () {
262
262
  update
263
263
  });
264
264
  }));
265
- function configured8(options) {
265
+ function configured7(options) {
266
266
  return makeLocationNode({
267
- service: Service53,
268
- layer: layer20(options),
269
- deps: [node57, node85, FSUtil.node, Global.node, node82, node78, node58]
267
+ service: Service50,
268
+ layer: layer19(options),
269
+ deps: [node54, node87, FSUtil.node, Global.node, node80, node79, node55]
270
270
  });
271
271
  }
272
- var node56 = configured8();
272
+ var node53 = configured7();
273
273
 
274
- export { latest2, Options7, Service53, Test2, testLayer2, layer20, configured8, node56, exports_config };
274
+ export { latest2, Options6, Service50, Test2, testLayer2, layer19, configured7, node53, exports_config };
@@ -1,35 +1,35 @@
1
1
  import {
2
2
  ID10,
3
3
  Service66
4
- } from "./provider-r2gk0ttq.js";
4
+ } from "./kv-89xk2mrn.js";
5
5
  import {
6
- Service79
7
- } from "./provider-435p4ksb.js";
6
+ Service76
7
+ } from "./kv-8cseh6jw.js";
8
8
  import {
9
- Service53
10
- } from "./provider-869sfs2n.js";
9
+ Service50
10
+ } from "./kv-apeyh75a.js";
11
11
  import {
12
- Service38,
12
+ Service82,
13
13
  args2
14
- } from "./provider-6hb4axps.js";
14
+ } from "./kv-amzhydp5.js";
15
15
  import {
16
- Service21
17
- } from "./provider-hewdcjdf.js";
16
+ Service24
17
+ } from "./kv-v2p84kh2.js";
18
18
  import {
19
- make9
20
- } from "./provider-j36g3wgd.js";
19
+ make10
20
+ } from "./kv-t1nf5an5.js";
21
21
  import {
22
22
  parseOption2
23
- } from "./provider-5daktx2q.js";
23
+ } from "./kv-5daktx2q.js";
24
24
  import {
25
25
  __export
26
- } from "./provider-9rqn6x4v.js";
26
+ } from "./kv-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/command.ts
29
- var exports_command2 = {};
30
- __export(exports_command2, {
31
- ConfigCommandPlugin: () => exports_command2,
32
- Plugin: () => Plugin33
29
+ var exports_command = {};
30
+ __export(exports_command, {
31
+ ConfigCommandPlugin: () => exports_command,
32
+ Plugin: () => Plugin19
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { ConfigCommand } from "@opencode/schema/config/command";
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
41
41
  import { ChildProcess } from "effect/unstable/process";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
43
  var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
44
- var Plugin33 = define({
44
+ var Plugin19 = define({
45
45
  id: "opencode.config.command",
46
46
  effect: Effect.fn(function* (ctx) {
47
- const config = yield* Service53;
47
+ const config = yield* Service50;
48
48
  const fs = yield* FSUtil.Service;
49
49
  const loadEntry = Effect.fnUntraced(function* (entry) {
50
50
  if (entry.type === "document")
@@ -54,12 +54,12 @@ var Plugin33 = define({
54
54
  const commands = yield* loadDirectory(fs, entry.path);
55
55
  return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
56
56
  });
57
- const location = yield* Service79;
57
+ const location = yield* Service76;
58
58
  const processes = yield* AppProcess.Service;
59
- const shell = yield* Service38;
60
- const sessions = yield* Service21;
59
+ const shell = yield* Service82;
60
+ const sessions = yield* Service24;
61
61
  const agents = yield* Service66;
62
- const subagents = yield* make9;
62
+ const subagents = yield* make10;
63
63
  const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
64
64
  return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
65
65
  });
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
204
204
  var quoteTrimRegex = /^["']|["']$/g;
205
205
  var shellRegex = /!`([^`]+)`/g;
206
206
 
207
- export { Plugin33, exports_command2 };
207
+ export { Plugin19, exports_command };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  Key3,
3
3
  removed2,
4
- make21,
4
+ make22,
5
5
  diffByKey2
6
- } from "./provider-s8d7rejh.js";
6
+ } from "./kv-9t7a50xb.js";
7
7
  import {
8
8
  evaluate2
9
- } from "./provider-w8rdajxk.js";
9
+ } from "./kv-91xts6ft.js";
10
10
  import {
11
- Service30,
12
- node33
13
- } from "./provider-02jgg23j.js";
11
+ Service35,
12
+ node38
13
+ } from "./kv-3fj5q6bc.js";
14
14
  import {
15
15
  namespace2,
16
- name13
17
- } from "./provider-bya5pgnz.js";
16
+ name14
17
+ } from "./kv-xbq5pdxh.js";
18
18
  import {
19
19
  __export
20
- } from "./provider-9rqn6x4v.js";
20
+ } from "./kv-9rqn6x4v.js";
21
21
 
22
22
  // src/mcp/instructions.ts
23
- var exports_instructions5 = {};
24
- __export(exports_instructions5, {
25
- McpInstructions: () => exports_instructions5,
26
- Service: () => Service26,
27
- layer: () => layer10,
28
- node: () => node30
23
+ var exports_instructions4 = {};
24
+ __export(exports_instructions4, {
25
+ McpInstructions: () => exports_instructions4,
26
+ Service: () => Service33,
27
+ layer: () => layer12,
28
+ node: () => node36
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Context, Effect, Layer, Schema } from "effect";
@@ -61,13 +61,13 @@ var update = (previous, current) => {
61
61
  `);
62
62
  };
63
63
 
64
- class Service26 extends Context.Service()("@opencode/McpInstructions") {
64
+ class Service33 extends Context.Service()("@opencode/McpInstructions") {
65
65
  }
66
- var layer10 = Layer.effect(Service26, Effect.gen(function* () {
67
- const mcp = yield* Service30;
68
- return Service26.of({
66
+ var layer12 = Layer.effect(Service33, Effect.gen(function* () {
67
+ const mcp = yield* Service35;
68
+ return Service33.of({
69
69
  load: Effect.fn("McpInstructions.load")(function* (permissions) {
70
- const source = (value) => make21({
70
+ const source = (value) => make22({
71
71
  key: Key3.make("core/mcp-guidance"),
72
72
  codec: Schema.toCodecJson(Schema.Array(Summary)),
73
73
  read: Effect.succeed(value),
@@ -86,7 +86,7 @@ var layer10 = Layer.effect(Service26, Effect.gen(function* () {
86
86
  const codemode = owned[0]?.codemode !== false;
87
87
  if (codemode && !canExecute)
88
88
  return [];
89
- if (!owned.some((tool) => evaluate2(name13(tool.server, tool.name), "*", permissions).effect !== "deny"))
89
+ if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", permissions).effect !== "deny"))
90
90
  return [];
91
91
  return [
92
92
  codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
@@ -96,6 +96,6 @@ var layer10 = Layer.effect(Service26, Effect.gen(function* () {
96
96
  })
97
97
  });
98
98
  }));
99
- var node30 = makeLocationNode({ service: Service26, layer: layer10, deps: [node33] });
99
+ var node36 = makeLocationNode({ service: Service33, layer: layer12, deps: [node38] });
100
100
 
101
- export { Service26, layer10, node30, exports_instructions5 };
101
+ export { Service33, layer12, node36, exports_instructions4 };
@@ -1,13 +1,13 @@
1
1
  import {
2
- ID11,
2
+ ID12,
3
3
  Family2
4
- } from "./provider-3qp2570d.js";
4
+ } from "./kv-drmw43ea.js";
5
5
  import {
6
- Service53
7
- } from "./provider-869sfs2n.js";
6
+ Service50
7
+ } from "./kv-apeyh75a.js";
8
8
  import {
9
9
  foldSettings2
10
- } from "./provider-fs772d02.js";
10
+ } from "./kv-qqgnk5sa.js";
11
11
 
12
12
  // src/plugin/provider/local.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -22,7 +22,7 @@ function createLocalProviderPlugin2(input) {
22
22
  id: input.id,
23
23
  effect: Effect.fn(function* (ctx) {
24
24
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
25
- const config = yield* Service53;
25
+ const config = yield* Service50;
26
26
  const source = { current: configured(yield* config.entries(), input.providerID, origin, suffix) };
27
27
  const loaded = { models: [], hash: "[]" };
28
28
  yield* ctx.integration.transform((integrations) => {
@@ -50,7 +50,7 @@ function createLocalProviderPlugin2(input) {
50
50
  for (const item of loaded.models) {
51
51
  const spec = input.model(item);
52
52
  providers.models.update(input.providerID, spec.id, (model) => {
53
- model.modelID = ID11.make(spec.id);
53
+ model.modelID = ID12.make(spec.id);
54
54
  model.name = spec.name || spec.id;
55
55
  model.family = spec.family ? Family2.make(spec.family) : undefined;
56
56
  model.capabilities = {
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./provider-2a5m3afh.js";
5
+ } from "./kv-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./provider-9rqn6x4v.js";
8
+ } from "./kv-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/local.ts
11
11
  var exports_local = {};
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./provider-z5v4ffb3.js";
4
+ } from "./kv-z5v4ffb3.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./provider-dpkg50ah.js";
7
+ } from "./kv-dpkg50ah.js";
8
8
  import {
9
9
  MAX_TOTAL_PATCH_BYTES2,
10
10
  emptyPatch2,
11
11
  chunksByFile2
12
- } from "./provider-tazgh4e4.js";
12
+ } from "./kv-tazgh4e4.js";
13
13
  import {
14
14
  gitExecutable2
15
- } from "./provider-ef5x83kb.js";
15
+ } from "./kv-ef5x83kb.js";
16
16
  import {
17
17
  __export
18
- } from "./provider-9rqn6x4v.js";
18
+ } from "./kv-9rqn6x4v.js";
19
19
 
20
20
  // src/git.ts
21
21
  var exports_git3 = {};
@@ -23,11 +23,11 @@ __export(exports_git3, {
23
23
  Git: () => exports_git3,
24
24
  OperationError: () => OperationError3,
25
25
  Repository: () => Repository2,
26
- Service: () => Service81,
26
+ Service: () => Service78,
27
27
  TreeID: () => TreeID2,
28
28
  Worktree: () => Worktree2,
29
29
  WorktreeError: () => WorktreeError2,
30
- node: () => node84
30
+ node: () => node82
31
31
  });
32
32
  import path from "path";
33
33
  import { Context, Effect, Layer, Schema } from "effect";
@@ -93,9 +93,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
93
93
  }) {
94
94
  }
95
95
 
96
- class Service81 extends Context.Service()("@opencode/Git") {
96
+ class Service78 extends Context.Service()("@opencode/Git") {
97
97
  }
98
- var layer = Layer.effect(Service81, Effect.gen(function* () {
98
+ var layer = Layer.effect(Service78, Effect.gen(function* () {
99
99
  const fs = yield* FSUtil.Service;
100
100
  const proc = yield* AppProcess.Service;
101
101
  const locks = makeUnsafe2();
@@ -419,7 +419,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
419
419
  kind: index === 0 ? "main" : "linked"
420
420
  }));
421
421
  });
422
- return Service81.of({
422
+ return Service78.of({
423
423
  repo: { discover, clone, create },
424
424
  remote: { get: remote },
425
425
  history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
@@ -435,7 +435,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
435
435
  }
436
436
  });
437
437
  }));
438
- var node84 = makeGlobalNode({ service: Service81, layer, deps: [FSUtil.node, AppProcess.node] });
438
+ var node82 = makeGlobalNode({ service: Service78, layer, deps: [FSUtil.node, AppProcess.node] });
439
439
  function run(cwd, proc, args) {
440
440
  return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
441
441
  }
@@ -463,4 +463,4 @@ function resolvePath(cwd, value) {
463
463
  return path.resolve(cwd, normalized);
464
464
  }
465
465
 
466
- export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service81, node84, exports_git3 };
466
+ export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service78, node82, exports_git3 };