@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,29 +1,29 @@
1
1
  import {
2
- Service76
3
- } from "./provider-g762atc6.js";
2
+ Service58
3
+ } from "./kv-bezhzanq.js";
4
4
  import {
5
- Service45
6
- } from "./provider-ff0htmxq.js";
5
+ Service43
6
+ } from "./kv-4mwpykj0.js";
7
7
  import {
8
8
  detect2
9
- } from "./provider-3smtnn6g.js";
9
+ } from "./kv-3smtnn6g.js";
10
10
  import {
11
11
  awaitActivation2
12
- } from "./provider-4v7qdvcn.js";
12
+ } from "./kv-dxj72tfx.js";
13
13
  import {
14
- Service65
15
- } from "./provider-9y0w708y.js";
14
+ Service67
15
+ } from "./kv-g1sxm558.js";
16
16
  import {
17
17
  AttachmentError2,
18
18
  SkillNotFoundError2
19
- } from "./provider-veqfhemw.js";
19
+ } from "./kv-yhq47pcp.js";
20
20
  import {
21
21
  prepare3,
22
- Service61
23
- } from "./provider-cywzwz9x.js";
22
+ Service55
23
+ } from "./kv-aa77x952.js";
24
24
  import {
25
25
  __export
26
- } from "./provider-9rqn6x4v.js";
26
+ } from "./kv-9rqn6x4v.js";
27
27
 
28
28
  // src/session/prompt.ts
29
29
  var exports_prompt = {};
@@ -39,10 +39,10 @@ import path from "path";
39
39
  import { fileURLToPath } from "url";
40
40
  var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
41
41
  const fs = yield* FSUtil.Service;
42
- const instances = yield* Service45;
42
+ const instances = yield* Service43;
43
43
  return yield* Effect.gen(function* () {
44
44
  yield* awaitActivation2;
45
- const hooks = yield* Service65;
45
+ const hooks = yield* Service67;
46
46
  const event = yield* hooks.trigger("session", "prompt", {
47
47
  sessionID: request.session.id,
48
48
  messageID: request.messageID,
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
61
61
  const selected = yield* Effect.gen(function* () {
62
62
  if (!requested?.length)
63
63
  return;
64
- const skillService = yield* Service61;
64
+ const skillService = yield* Service55;
65
65
  const prepared = new Map;
66
66
  return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
67
67
  const name = prepared.get(attachment.id);
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
126
126
  var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
127
127
  if (!mime.startsWith("image/"))
128
128
  return { data: Base64.make(data), mime };
129
- const image = yield* Service76;
129
+ const image = yield* Service58;
130
130
  const label = attachmentLabel(input);
131
131
  const content = { uri: label, content: data, encoding: "base64", mime };
132
132
  const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./provider-9rqn6x4v.js";
3
+ } from "./kv-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/web.ts
6
6
  var exports_web = {};
@@ -4,7 +4,7 @@ import {
4
4
  orderSelectedFields2,
5
5
  mapUpdateSet2,
6
6
  getTableLikeName2
7
- } from "./provider-emrn6kk6.js";
7
+ } from "./kv-emrn6kk6.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/update.ts
10
10
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Ref4
3
- } from "./provider-435p4ksb.js";
3
+ } from "./kv-8cseh6jw.js";
4
4
  import {
5
5
  __export
6
- } from "./provider-9rqn6x4v.js";
6
+ } from "./kv-9rqn6x4v.js";
7
7
 
8
8
  // src/location-service-map.ts
9
9
  var exports_location_service_map = {};
10
10
  __export(exports_location_service_map, {
11
11
  LocationServiceMap: () => exports_location_service_map,
12
- Service: () => Service51,
12
+ Service: () => Service62,
13
13
  canonical: () => canonical3,
14
- node: () => node54,
14
+ node: () => node66,
15
15
  reload: () => reload2
16
16
  });
17
17
  import { Context, Effect, Exit, Layer, RcMap } from "effect";
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
19
19
  import { Node } from "@opencode/util/effect/app-node";
20
20
  import { AbsolutePath } from "@opencode/schema/schema";
21
21
  import path from "path";
22
- class Service51 extends Context.Service()("@opencode/example/LocationServiceMap") {
22
+ class Service62 extends Context.Service()("@opencode/example/LocationServiceMap") {
23
23
  static get(ref) {
24
- return Layer.unwrap(Effect.map(Service51, (locations) => locations.get(ref)));
24
+ return Layer.unwrap(Effect.map(Service62, (locations) => locations.get(ref)));
25
25
  }
26
26
  }
27
- var node54 = LayerNode.unbound(Service51, Node.tags.values.global);
27
+ var node66 = LayerNode.unbound(Service62, Node.tags.values.global);
28
28
  var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
29
- const locations = yield* Service51;
29
+ const locations = yield* Service62;
30
30
  const refs = Array.from(yield* RcMap.keys(locations.rcMap));
31
31
  yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
32
32
  discard: true,
@@ -45,4 +45,4 @@ function canonical3(ref) {
45
45
  });
46
46
  }
47
47
 
48
- export { Service51, node54, reload2, canonical3, exports_location_service_map };
48
+ export { Service62, node66, reload2, canonical3, exports_location_service_map };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  collectBoundedResponseBody2
3
- } from "./provider-3v8g72cx.js";
3
+ } from "./kv-3v8g72cx.js";
4
4
  import {
5
5
  __export
6
- } from "./provider-9rqn6x4v.js";
6
+ } from "./kv-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/mcp.ts
9
- var exports_mcp = {};
10
- __export(exports_mcp, {
9
+ var exports_mcp2 = {};
10
+ __export(exports_mcp2, {
11
11
  MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
12
- WebSearchMcp: () => exports_mcp,
12
+ WebSearchMcp: () => exports_mcp2,
13
13
  call: () => call2,
14
14
  parseResponse: () => parseResponse2
15
15
  });
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
61
61
  }));
62
62
  });
63
63
 
64
- export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp };
64
+ export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp2 };
@@ -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
- ID6,
8
+ ID7,
9
9
  Name2,
10
- available3,
11
- Service61,
12
- node64
13
- } from "./provider-cywzwz9x.js";
10
+ available2,
11
+ Service55,
12
+ node59
13
+ } from "./kv-aa77x952.js";
14
14
  import {
15
15
  __export
16
- } from "./provider-9rqn6x4v.js";
16
+ } from "./kv-9rqn6x4v.js";
17
17
 
18
18
  // src/skill/instructions.ts
19
- var exports_instructions2 = {};
20
- __export(exports_instructions2, {
21
- Service: () => Service24,
22
- SkillInstructions: () => exports_instructions2,
23
- node: () => node28
19
+ var exports_instructions5 = {};
20
+ __export(exports_instructions5, {
21
+ Service: () => Service37,
22
+ SkillInstructions: () => exports_instructions5,
23
+ node: () => node40
24
24
  });
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
27
  var Summary = Schema.Struct({
28
- id: ID6,
28
+ id: ID7,
29
29
  name: Name2,
30
30
  description: Schema.String
31
31
  });
@@ -60,14 +60,14 @@ var update = (previous, current) => {
60
60
  `);
61
61
  };
62
62
 
63
- class Service24 extends Context.Service()("@opencode/SkillInstructions") {
63
+ class Service37 extends Context.Service()("@opencode/SkillInstructions") {
64
64
  }
65
- var layer = Layer.effect(Service24, Effect.gen(function* () {
66
- const skills = yield* Service61;
67
- return Service24.of({
65
+ var layer = Layer.effect(Service37, Effect.gen(function* () {
66
+ const skills = yield* Service55;
67
+ return Service37.of({
68
68
  load: Effect.fn("SkillInstructions.load")(function* (permissions) {
69
- const available = available3(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
70
- return make21({
69
+ const available = available2(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
70
+ return make22({
71
71
  key: Key3.make("core/skill-guidance"),
72
72
  codec: Schema.toCodecJson(Schema.Array(Summary)),
73
73
  read: Effect.succeed(available.length === 0 ? removed2 : available),
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
80
80
  })
81
81
  });
82
82
  }));
83
- var node28 = makeLocationNode({ service: Service24, layer, deps: [node64] });
83
+ var node40 = makeLocationNode({ service: Service37, layer, deps: [node59] });
84
84
 
85
- export { Service24, node28, exports_instructions2 };
85
+ export { Service37, node40, exports_instructions5 };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./provider-z5v4ffb3.js";
3
+ } from "./kv-z5v4ffb3.js";
4
4
  import {
5
5
  root2
6
- } from "./provider-qj5ds43h.js";
6
+ } from "./kv-qqmhc4xj.js";
7
7
  import {
8
- Service79,
9
- node82
10
- } from "./provider-435p4ksb.js";
8
+ Service76,
9
+ node80
10
+ } from "./kv-8cseh6jw.js";
11
11
  import {
12
- Service62,
13
- node65
14
- } from "./provider-w8rdajxk.js";
12
+ Service63,
13
+ node67
14
+ } from "./kv-91xts6ft.js";
15
15
  import {
16
16
  __export
17
- } from "./provider-9rqn6x4v.js";
17
+ } from "./kv-9rqn6x4v.js";
18
18
 
19
19
  // src/file-access.ts
20
20
  var exports_file_access = {};
@@ -22,8 +22,8 @@ __export(exports_file_access, {
22
22
  FileAccess: () => exports_file_access,
23
23
  Kind: () => Kind2,
24
24
  ResolveInput: () => ResolveInput2,
25
- Service: () => Service15,
26
- node: () => node18,
25
+ Service: () => Service20,
26
+ node: () => node22,
27
27
  resolvePath: () => resolvePath2
28
28
  });
29
29
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
37
37
  kind: Kind2.pipe(Schema.optional)
38
38
  });
39
39
 
40
- class Service15 extends Context.Service()("@opencode/FileAccess") {
40
+ class Service20 extends Context.Service()("@opencode/FileAccess") {
41
41
  }
42
42
  var resolvePath2 = (directory, input, home = Global.Path.home) => {
43
43
  const normalized = FSUtil.windowsPath(input);
@@ -49,10 +49,10 @@ var invocation = (context) => ({
49
49
  agent: context.agent,
50
50
  source: { type: "tool", messageID: context.messageID, id: context.id }
51
51
  });
52
- var layer = Layer.effect(Service15, Effect.gen(function* () {
52
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
53
53
  const fs = yield* FSUtil.Service;
54
- const location = yield* Service79;
55
- const permission = yield* Service62;
54
+ const location = yield* Service76;
55
+ const permission = yield* Service63;
56
56
  const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
57
57
  const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
58
58
  const worktree = path.resolve(location.project.directory);
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
101
101
  });
102
102
  return target;
103
103
  });
104
- return Service15.of({ resolve, authorizeExternal, authorizeRead });
104
+ return Service20.of({ resolve, authorizeExternal, authorizeRead });
105
105
  }));
106
- var node18 = makeLocationNode({ service: Service15, layer, deps: [FSUtil.node, node82, node65] });
106
+ var node22 = makeLocationNode({ service: Service20, layer, deps: [FSUtil.node, node80, node67] });
107
107
 
108
- export { Kind2, ResolveInput2, Service15, resolvePath2, node18, exports_file_access };
108
+ export { Kind2, ResolveInput2, Service20, resolvePath2, node22, exports_file_access };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./provider-9rqn6x4v.js";
3
+ } from "./kv-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/identity.ts
6
6
  var exports_identity = {};
7
7
  __export(exports_identity, {
8
8
  IdentityPlugin: () => exports_identity,
9
- Plugin: () => Plugin10,
9
+ Plugin: () => Plugin31,
10
10
  identity: () => identity2
11
11
  });
12
12
  import { SystemPart } from "@opencode/ai";
@@ -22,7 +22,7 @@ function identity2(model) {
22
22
  ].join(`
23
23
  `);
24
24
  }
25
- var Plugin10 = define({
25
+ var Plugin31 = define({
26
26
  id: "opencode.prompt.identity",
27
27
  effect: Effect.fn("IdentityPlugin")(function* (ctx) {
28
28
  const hook = (event) => Effect.gen(function* () {
@@ -35,4 +35,4 @@ var Plugin10 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { identity2, Plugin10, exports_identity };
38
+ export { identity2, Plugin31, exports_identity };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./provider-dpkg50ah.js";
3
+ } from "./kv-dpkg50ah.js";
4
4
  import {
5
5
  __export
6
- } from "./provider-9rqn6x4v.js";
6
+ } from "./kv-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/update.ts
9
9
  var exports_update = {};
10
10
  __export(exports_update, {
11
11
  PluginUpdate: () => exports_update,
12
- Service: () => Service3,
13
- node: () => node4
12
+ Service: () => Service4,
13
+ node: () => node6
14
14
  });
15
15
  import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
16
16
  import { Npm } from "@opencode/util/npm";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var interval = 24 * 60 * 60 * 1000;
19
19
 
20
- class Service3 extends Context.Service()("@opencode/PluginUpdate") {
20
+ class Service4 extends Context.Service()("@opencode/PluginUpdate") {
21
21
  }
22
- var layer = Layer.effect(Service3, Effect.gen(function* () {
22
+ var layer = Layer.effect(Service4, Effect.gen(function* () {
23
23
  const npm = yield* Npm.Service;
24
24
  const locks = makeUnsafe2();
25
25
  const status = new Map;
26
26
  const changes = yield* PubSub.unbounded();
27
- return Service3.of({
27
+ return Service4.of({
28
28
  check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
29
29
  const checkedAt = yield* Clock.currentTimeMillis;
30
30
  const current = status.get(target);
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
49
49
  changes: () => Stream.fromPubSub(changes)
50
50
  });
51
51
  }));
52
- var node4 = makeGlobalNode({ service: Service3, layer, deps: [Npm.node] });
52
+ var node6 = makeGlobalNode({ service: Service4, layer, deps: [Npm.node] });
53
53
 
54
- export { Service3, node4, exports_update };
54
+ export { Service4, node6, exports_update };
@@ -1,80 +1,80 @@
1
1
  import {
2
2
  Service84
3
- } from "./provider-yspr33n3.js";
3
+ } from "./kv-04bfvmpq.js";
4
4
  import {
5
- Service82
6
- } from "./provider-y7gnf2d1.js";
5
+ Service83
6
+ } from "./kv-tnxzcmvm.js";
7
7
  import {
8
- Service45
9
- } from "./provider-ff0htmxq.js";
8
+ Service43
9
+ } from "./kv-4mwpykj0.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./provider-vzs5sf6e.js";
12
+ } from "./kv-vzs5sf6e.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./provider-gftt206x.js";
15
+ } from "./kv-gftt206x.js";
16
16
  import {
17
- NotFoundError9,
17
+ NotFoundError8,
18
18
  PromptConflictError2,
19
19
  SyntheticConflictError2,
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./provider-veqfhemw.js";
23
+ } from "./kv-yhq47pcp.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./provider-ec1grn59.js";
26
+ } from "./kv-ec1grn59.js";
27
27
  import {
28
- Service63
29
- } from "./provider-kadn9d92.js";
28
+ Service65
29
+ } from "./kv-qfhmckpv.js";
30
30
  import {
31
31
  Delivery2,
32
32
  SyntheticPayload2,
33
- Service44
34
- } from "./provider-dky9q78m.js";
35
- import {
36
33
  Service42
37
- } from "./provider-y1bxg4cw.js";
34
+ } from "./kv-y2g779vb.js";
35
+ import {
36
+ Service40
37
+ } from "./kv-ct739ed2.js";
38
38
  import {
39
39
  prepare2
40
- } from "./provider-m7wfyeg7.js";
40
+ } from "./kv-kykapc73.js";
41
41
  import {
42
42
  stage2,
43
43
  clear2,
44
44
  commit2
45
- } from "./provider-jp0zb534.js";
45
+ } from "./kv-6xtnp6pv.js";
46
46
  import {
47
47
  start2
48
- } from "./provider-53p9d5ea.js";
48
+ } from "./kv-0mxj9fd6.js";
49
49
  import {
50
50
  get4
51
- } from "./provider-ydm09vy0.js";
51
+ } from "./kv-dpnnxfwt.js";
52
52
  import {
53
53
  __export
54
- } from "./provider-9rqn6x4v.js";
54
+ } from "./kv-9rqn6x4v.js";
55
55
 
56
56
  // src/session/session.ts
57
57
  var exports_session2 = {};
58
58
  __export(exports_session2, {
59
59
  Session: () => exports_session2,
60
- make: () => make13
60
+ make: () => make14
61
61
  });
62
62
  import { DateTime, Effect, Fiber, Scope } from "effect";
63
63
  import { Event } from "@opencode/schema/event";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
- var make13 = Effect.fn("Session.make")(function* () {
66
- const bus = yield* Service82;
65
+ var make14 = Effect.fn("Session.make")(function* () {
66
+ const bus = yield* Service83;
67
67
  const database = yield* Service84;
68
- const store = yield* Service63;
69
- const instances = yield* Service45;
70
- const execution = yield* Service42;
71
- const admission = yield* Service44;
68
+ const store = yield* Service65;
69
+ const instances = yield* Service43;
70
+ const execution = yield* Service40;
71
+ const admission = yield* Service42;
72
72
  const fs = yield* FSUtil.Service;
73
73
  const scope = yield* Scope.Scope;
74
74
  const get = Effect.fn("Session.get")(function* (sessionID) {
75
75
  const session = yield* store.get(sessionID);
76
76
  if (!session)
77
- return yield* new NotFoundError9({ sessionID });
77
+ return yield* new NotFoundError8({ sessionID });
78
78
  return session;
79
79
  });
80
80
  const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
@@ -135,7 +135,7 @@ var make13 = Effect.fn("Session.make")(function* () {
135
135
  });
136
136
  if (existing)
137
137
  return existing;
138
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service45, instances), Effect.provideService(FSUtil.Service, fs)));
138
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service43, instances), Effect.provideService(FSUtil.Service, fs)));
139
139
  if (session.revert)
140
140
  yield* commit2(bus, session);
141
141
  return yield* admission.admit({
@@ -151,7 +151,7 @@ var make13 = Effect.fn("Session.make")(function* () {
151
151
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
152
152
  const session = yield* get(sessionID);
153
153
  const running = yield* Effect.gen(function* () {
154
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service45, instances), Effect.tapError((error) => synthetic(sessionID, {
154
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service43, instances), Effect.tapError((error) => synthetic(sessionID, {
155
155
  text: `User shell command failed to start:
156
156
  ${input.command}
157
157
 
@@ -180,7 +180,7 @@ ${error.message}`,
180
180
  });
181
181
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
182
182
  const session = yield* get(sessionID);
183
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service45, instances));
183
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service43, instances));
184
184
  yield* bus.publish(SessionEvent2.Skill.Activated, {
185
185
  sessionID,
186
186
  id: skill.id,
@@ -237,13 +237,13 @@ ${error.message}`,
237
237
  const session = yield* get(sessionID);
238
238
  if (yield* execution.isActive(sessionID))
239
239
  return yield* new BusyError2({ sessionID });
240
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service45, instances), Effect.provideService(Service84, database), Effect.provideService(Service82, bus));
240
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service43, instances), Effect.provideService(Service84, database), Effect.provideService(Service83, bus));
241
241
  });
242
242
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
243
243
  const session = yield* get(sessionID);
244
244
  if (yield* execution.isActive(sessionID))
245
245
  return yield* new BusyError2({ sessionID });
246
- yield* clear2(session).pipe(Effect.provideService(Service45, instances), Effect.provideService(Service82, bus));
246
+ yield* clear2(session).pipe(Effect.provideService(Service43, instances), Effect.provideService(Service83, bus));
247
247
  return yield* execution.wake(sessionID);
248
248
  });
249
249
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -329,4 +329,4 @@ ${error.message}`,
329
329
  return { forSession };
330
330
  });
331
331
 
332
- export { make13, exports_session2 };
332
+ export { make14, exports_session2 };
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./provider-yspr33n3.js";
4
+ } from "./kv-04bfvmpq.js";
5
5
  import {
6
6
  latestSequence2,
7
- Service82,
8
- node85
9
- } from "./provider-y7gnf2d1.js";
7
+ Service83,
8
+ node87
9
+ } from "./kv-tnxzcmvm.js";
10
10
  import {
11
11
  llmClient2
12
- } from "./provider-5t3nmthw.js";
12
+ } from "./kv-5t3nmthw.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./provider-ec1grn59.js";
15
+ } from "./kv-ec1grn59.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./provider-p9tbp9qs.js";
18
+ } from "./kv-9y0z6c2k.js";
19
19
  import {
20
- Service63,
21
- node66
22
- } from "./provider-kadn9d92.js";
20
+ Service65,
21
+ node69
22
+ } from "./kv-qfhmckpv.js";
23
23
  import {
24
- Service23,
25
- node27
26
- } from "./provider-nfe4rdr7.js";
24
+ Service26,
25
+ node30
26
+ } from "./kv-07t56emn.js";
27
27
  import {
28
28
  record2,
29
29
  add2
30
- } from "./provider-tdstcens.js";
30
+ } from "./kv-tdstcens.js";
31
31
  import {
32
32
  __export
33
- } from "./provider-9rqn6x4v.js";
33
+ } from "./kv-9rqn6x4v.js";
34
34
 
35
35
  // src/session/title.ts
36
36
  var exports_title = {};
37
37
  __export(exports_title, {
38
- Service: () => Service7,
38
+ Service: () => Service2,
39
39
  SessionTitle: () => exports_title,
40
40
  isUntitled: () => isUntitled2,
41
- layer: () => layer5,
42
- node: () => node9
41
+ layer: () => layer3,
42
+ node: () => node3
43
43
  });
44
44
  import { isDeepStrictEqual } from "node:util";
45
45
  import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
51
51
  var MAX_FIRST_MESSAGE_LENGTH = 2000;
52
52
  var titleChanged = Symbol("Session title changed");
53
53
 
54
- class Service7 extends Context.Service()("@opencode/SessionTitle") {
54
+ class Service2 extends Context.Service()("@opencode/SessionTitle") {
55
55
  }
56
56
  var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
57
57
  var isUntitled2 = (session) => isExactRootFallback({
58
58
  title: session.title,
59
59
  time: { created: DateTime.toEpochMillis(session.time.created) }
60
60
  });
61
- var layer5 = Layer.effect(Service7, Effect.gen(function* () {
62
- const bus = yield* Service82;
61
+ var layer3 = Layer.effect(Service2, Effect.gen(function* () {
62
+ const bus = yield* Service83;
63
63
  const llm = yield* LLMClient.Service;
64
- const context = yield* Service23;
65
- const store = yield* Service63;
64
+ const context = yield* Service26;
65
+ const store = yield* Service65;
66
66
  const db = (yield* Service84).db;
67
67
  const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
68
68
  const chunks = [];
@@ -145,12 +145,12 @@ Recent conversation:
145
145
  title: truncate(title)
146
146
  }, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
147
147
  });
148
- return Service7.of({ generate });
148
+ return Service2.of({ generate });
149
149
  }));
150
- var node9 = makeLocationNode({
151
- service: Service7,
152
- layer: layer5,
153
- deps: [node85, llmClient2, node27, node66, node88]
150
+ var node3 = makeLocationNode({
151
+ service: Service2,
152
+ layer: layer3,
153
+ deps: [node87, llmClient2, node30, node69, node88]
154
154
  });
155
155
 
156
- export { Service7, isUntitled2, layer5, node9, exports_title };
156
+ export { Service2, isUntitled2, layer3, node3, exports_title };