@opencode/core 0.0.0-dev-21385 → 0.0.0-dev-21390

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 (797) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{variant-eaj1djv9.js → file-mutation-02nrjc1r.js} +4 -4
  8. package/dist/chunks/{variant-brmnc5rc.js → file-mutation-03cyahpz.js} +27 -27
  9. package/dist/chunks/{variant-wb7w7em4.js → file-mutation-06xmkky8.js} +11 -11
  10. package/dist/chunks/{variant-2s32b1pm.js → file-mutation-06xsmntz.js} +2 -2
  11. package/dist/chunks/{variant-35gn8txb.js → file-mutation-0b01yxp0.js} +43 -43
  12. package/dist/chunks/{variant-7dqw4kz8.js → file-mutation-0jwsre1p.js} +5 -5
  13. package/dist/chunks/{variant-z1593v92.js → file-mutation-0qg9wp3b.js} +14 -14
  14. package/dist/chunks/{variant-dnjvpwy6.js → file-mutation-0rv871qk.js} +4 -4
  15. package/dist/chunks/{variant-tc84sxpf.js → file-mutation-0s171grw.js} +21 -21
  16. package/dist/chunks/{variant-6d84m8eq.js → file-mutation-0s4zgerr.js} +26 -26
  17. package/dist/chunks/{variant-0vbcp93d.js → file-mutation-0vbcp93d.js} +2 -2
  18. package/dist/chunks/{variant-g7z4v8j3.js → file-mutation-10sr3c2w.js} +11 -11
  19. package/dist/chunks/{variant-06m78d2n.js → file-mutation-11bsw10t.js} +22 -22
  20. package/dist/chunks/{variant-bzeyqsqd.js → file-mutation-1ep4rre3.js} +4 -4
  21. package/dist/chunks/{variant-ywt8jp22.js → file-mutation-1ffvrpkg.js} +6 -6
  22. package/dist/chunks/{variant-07s4g8t9.js → file-mutation-1fz8ksxp.js} +50 -50
  23. package/dist/chunks/{variant-d29451tq.js → file-mutation-1sqrcqpt.js} +6 -6
  24. package/dist/chunks/{variant-9e5gtvfc.js → file-mutation-1yd7h3h8.js} +11 -11
  25. package/dist/chunks/{variant-4z5bdeag.js → file-mutation-23yr3n9z.js} +1 -1
  26. package/dist/chunks/{variant-rt4gesys.js → file-mutation-28b9pmxf.js} +34 -34
  27. package/dist/chunks/{variant-1wj6nfaq.js → file-mutation-28jszdgh.js} +18 -18
  28. package/dist/chunks/{variant-534aq8ke.js → file-mutation-2a3rnyjp.js} +1 -1
  29. package/dist/chunks/{variant-71mr81s1.js → file-mutation-2w943ba3.js} +5 -5
  30. package/dist/chunks/{variant-hqqehcc0.js → file-mutation-2yz1g7gy.js} +25 -25
  31. package/dist/chunks/{variant-zxjbgbap.js → file-mutation-30mkkrgf.js} +10 -10
  32. package/dist/chunks/{variant-dtj6q9re.js → file-mutation-37688efw.js} +12 -12
  33. package/dist/chunks/{variant-khthv2ze.js → file-mutation-37qnpxgx.js} +35 -35
  34. package/dist/chunks/{variant-q15tn0mf.js → file-mutation-3a7k8z3r.js} +22 -22
  35. package/dist/chunks/{variant-rz1bd73a.js → file-mutation-3aj445ja.js} +10 -10
  36. package/dist/chunks/{variant-s1rzhg3g.js → file-mutation-3berxp5h.js} +17 -17
  37. package/dist/chunks/{variant-3j5xnwvt.js → file-mutation-3bynrp5j.js} +29 -27
  38. package/dist/chunks/{variant-c6j5vg12.js → file-mutation-3cywy0c3.js} +3 -3
  39. package/dist/chunks/{variant-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{variant-3hwn7j4h.js → file-mutation-3hwn7j4h.js} +2 -2
  41. package/dist/chunks/{variant-y178fjw7.js → file-mutation-3jb9jjfv.js} +15 -15
  42. package/dist/chunks/{variant-4shp5hvj.js → file-mutation-3kkkyqec.js} +9 -9
  43. package/dist/chunks/{variant-gxv082ck.js → file-mutation-3pr61yv2.js} +26 -26
  44. package/dist/chunks/{variant-r10nvqfv.js → file-mutation-3qta67sk.js} +11 -11
  45. package/dist/chunks/{variant-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{variant-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{variant-fkj43v1r.js → file-mutation-3v80qfk6.js} +10 -10
  48. package/dist/chunks/{variant-t147m43n.js → file-mutation-3y1bhqyq.js} +10 -10
  49. package/dist/chunks/{variant-2qj989z5.js → file-mutation-3zqpxcym.js} +48 -48
  50. package/dist/chunks/{variant-3zsf4n22.js → file-mutation-3zsf4n22.js} +1 -1
  51. package/dist/chunks/{variant-espax8zg.js → file-mutation-41czef58.js} +4 -4
  52. package/dist/chunks/{variant-v3854d8f.js → file-mutation-41gx20tv.js} +23 -23
  53. package/dist/chunks/{variant-t5azbf2h.js → file-mutation-42ehbd6e.js} +8 -8
  54. package/dist/chunks/{variant-tw3hkfj3.js → file-mutation-45ag4h5e.js} +36 -36
  55. package/dist/chunks/{variant-gqm71yrs.js → file-mutation-4t0fmp6z.js} +17 -17
  56. package/dist/chunks/{variant-hpyx0024.js → file-mutation-4vmkhc5n.js} +11 -11
  57. package/dist/chunks/{variant-sm0dhwyq.js → file-mutation-519d1vwx.js} +7 -7
  58. package/dist/chunks/{variant-54ma36ye.js → file-mutation-54ma36ye.js} +1 -1
  59. package/dist/chunks/{variant-rg7a60r1.js → file-mutation-56spgh5t.js} +24 -24
  60. package/dist/chunks/file-mutation-57e5yzdy.js +257 -0
  61. package/dist/chunks/{variant-z0ydvj27.js → file-mutation-5g57z1ma.js} +4 -4
  62. package/dist/chunks/{variant-5m9w47nd.js → file-mutation-5m9w47nd.js} +1 -1
  63. package/dist/chunks/{variant-qmfsk48t.js → file-mutation-5mdvenct.js} +19 -19
  64. package/dist/chunks/{variant-1v4wbcc5.js → file-mutation-5t7451fr.js} +9 -9
  65. package/dist/chunks/{variant-6pcx6jwm.js → file-mutation-62mz8jvf.js} +24 -24
  66. package/dist/chunks/{variant-6827pfxn.js → file-mutation-6827pfxn.js} +1 -1
  67. package/dist/chunks/{variant-7jdm1vab.js → file-mutation-6azzqc0z.js} +8 -8
  68. package/dist/chunks/{variant-c7av8b5x.js → file-mutation-6eg9htqv.js} +4 -4
  69. package/dist/chunks/{variant-675j5d4j.js → file-mutation-6m0ab3mz.js} +14 -14
  70. package/dist/chunks/{variant-0tmgye68.js → file-mutation-6n4b0dsb.js} +9 -9
  71. package/dist/chunks/{variant-ycbx61rz.js → file-mutation-6t4vhed6.js} +5 -5
  72. package/dist/chunks/{variant-6xb47vfp.js → file-mutation-6xb47vfp.js} +1 -1
  73. package/dist/chunks/{variant-vpge477k.js → file-mutation-6zc1k7ct.js} +40 -33
  74. package/dist/chunks/{variant-59ec13pf.js → file-mutation-74q762c0.js} +15 -15
  75. package/dist/chunks/{variant-775gj3j1.js → file-mutation-775gj3j1.js} +2 -2
  76. package/dist/chunks/{variant-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{variant-fbp02deq.js → file-mutation-7djxwg8w.js} +32 -32
  78. package/dist/chunks/{variant-01133bs8.js → file-mutation-7ndcpfx4.js} +13 -13
  79. package/dist/chunks/{variant-v2hyeyf7.js → file-mutation-7r5wsdye.js} +10 -10
  80. package/dist/chunks/{variant-e10gzyda.js → file-mutation-7r9mhtn4.js} +28 -28
  81. package/dist/chunks/{variant-z0910jfv.js → file-mutation-7smjb1nk.js} +177 -177
  82. package/dist/chunks/{variant-a20pjse5.js → file-mutation-7v6vae4w.js} +3 -3
  83. package/dist/chunks/file-mutation-7x5efvhs.js +517 -0
  84. package/dist/chunks/{variant-7hgt1n33.js → file-mutation-8185hgv1.js} +8 -8
  85. package/dist/chunks/{variant-tcezcvh9.js → file-mutation-89znhe33.js} +4 -4
  86. package/dist/chunks/{variant-8m6m0r52.js → file-mutation-8m6m0r52.js} +1 -1
  87. package/dist/chunks/{variant-8mywswrd.js → file-mutation-8mywswrd.js} +1 -1
  88. package/dist/chunks/{variant-xf2pv73g.js → file-mutation-8xmp1zer.js} +48 -48
  89. package/dist/chunks/{variant-eayadx44.js → file-mutation-8y1w76e6.js} +18 -18
  90. package/dist/chunks/{variant-rga01nkp.js → file-mutation-97yqkd1k.js} +14 -14
  91. package/dist/chunks/{variant-0r684n0p.js → file-mutation-9c3np669.js} +8 -8
  92. package/dist/chunks/{variant-ky9wwhcp.js → file-mutation-9qpecfme.js} +15 -15
  93. package/dist/chunks/{variant-jp8717cv.js → file-mutation-9zs8zcdx.js} +28 -28
  94. package/dist/chunks/{variant-8ab3w9a1.js → file-mutation-a2px89rw.js} +12 -12
  95. package/dist/chunks/{variant-90prmkr9.js → file-mutation-a565ke38.js} +18 -18
  96. package/dist/chunks/{variant-88ttrsfd.js → file-mutation-a82304wy.js} +25 -25
  97. package/dist/chunks/{variant-nttemcq1.js → file-mutation-ad4w0vjn.js} +23 -23
  98. package/dist/chunks/{variant-8e1b1gzh.js → file-mutation-ak9msbxp.js} +6 -6
  99. package/dist/chunks/{variant-vm6z49tp.js → file-mutation-atdrdmj6.js} +6 -6
  100. package/dist/chunks/{variant-vnvzhrpj.js → file-mutation-aw52c1ne.js} +16 -16
  101. package/dist/chunks/{variant-qtk9pe34.js → file-mutation-b2nsbkna.js} +13 -13
  102. package/dist/chunks/{variant-7174g72w.js → file-mutation-bhs00ts1.js} +25 -25
  103. package/dist/chunks/{variant-nrh2wv08.js → file-mutation-bqjpzzk3.js} +26 -26
  104. package/dist/chunks/{variant-e0har6f2.js → file-mutation-bsa6sgws.js} +24 -24
  105. package/dist/chunks/{variant-kbx7rh90.js → file-mutation-c13z1yp1.js} +34 -34
  106. package/dist/chunks/{variant-es1vcfrp.js → file-mutation-c1fqxshp.js} +3 -3
  107. package/dist/chunks/{variant-ez4msjhj.js → file-mutation-c87k5ccs.js} +16 -16
  108. package/dist/chunks/{variant-c17c7gem.js → file-mutation-cb4re6k7.js} +3 -3
  109. package/dist/chunks/{variant-32gamwqc.js → file-mutation-ce3wexff.js} +17 -17
  110. package/dist/chunks/{variant-50st65ms.js → file-mutation-cm67jkab.js} +12 -12
  111. package/dist/chunks/{variant-pedttwxr.js → file-mutation-cmmdg65p.js} +8 -8
  112. package/dist/chunks/{variant-djszqvmq.js → file-mutation-cwa6csj7.js} +9 -9
  113. package/dist/chunks/{variant-dk2cs9kn.js → file-mutation-d5et20rv.js} +4 -4
  114. package/dist/chunks/{variant-zee1rnkq.js → file-mutation-ddt2bs9e.js} +4 -4
  115. package/dist/chunks/{variant-8cqn97gn.js → file-mutation-dfpkkgmz.js} +23 -23
  116. package/dist/chunks/{variant-4q6tth2h.js → file-mutation-dp2x8bvg.js} +11 -11
  117. package/dist/chunks/{variant-br0tr5aq.js → file-mutation-dv1qgsyq.js} +8 -8
  118. package/dist/chunks/{variant-dys7k0s0.js → file-mutation-dys7k0s0.js} +3 -3
  119. package/dist/chunks/{variant-dxm36xet.js → file-mutation-dzx86zvg.js} +14 -14
  120. package/dist/chunks/{variant-95wgg282.js → file-mutation-e27yq2dh.js} +15 -15
  121. package/dist/chunks/{variant-szkrnbvf.js → file-mutation-e4m676a8.js} +27 -27
  122. package/dist/chunks/{variant-8aftd3yf.js → file-mutation-eajv9c1q.js} +26 -26
  123. package/dist/chunks/{variant-myjtek88.js → file-mutation-eb4sm8gp.js} +13 -13
  124. package/dist/chunks/{variant-kct03rgr.js → file-mutation-ee0gr7kd.js} +21 -21
  125. package/dist/chunks/{variant-eej6y6fw.js → file-mutation-eej6y6fw.js} +2 -2
  126. package/dist/chunks/{variant-ef5x83kb.js → file-mutation-ef5x83kb.js} +1 -1
  127. package/dist/chunks/{variant-rnt9ng2n.js → file-mutation-efacs7fs.js} +7 -7
  128. package/dist/chunks/{variant-8apawthn.js → file-mutation-ehvt2tba.js} +25 -25
  129. package/dist/chunks/{variant-wpz9kdb9.js → file-mutation-em5cgnc4.js} +49 -49
  130. package/dist/chunks/{variant-44ksx02e.js → file-mutation-erxfktnw.js} +4 -4
  131. package/dist/chunks/{variant-af0tgjwm.js → file-mutation-etvgdas2.js} +15 -15
  132. package/dist/chunks/{variant-7vfwfg0s.js → file-mutation-fb8cphng.js} +13 -13
  133. package/dist/chunks/{variant-fcy631f0.js → file-mutation-fcy631f0.js} +1 -1
  134. package/dist/chunks/{variant-kf0h36at.js → file-mutation-fp29cjek.js} +7 -7
  135. package/dist/chunks/{variant-1w2wqhfv.js → file-mutation-fxaymqdw.js} +4 -4
  136. package/dist/chunks/{variant-qbqerjg9.js → file-mutation-fzp13ncj.js} +10 -11
  137. package/dist/chunks/{variant-phz50fbd.js → file-mutation-g686f6pq.js} +9 -9
  138. package/dist/chunks/{variant-kjdm35cs.js → file-mutation-g6yfr6ja.js} +5 -5
  139. package/dist/chunks/{variant-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
  140. package/dist/chunks/{variant-qne3fa44.js → file-mutation-gj71zhbs.js} +5 -5
  141. package/dist/chunks/{variant-d25qmaxv.js → file-mutation-gr66jygg.js} +47 -47
  142. package/dist/chunks/{variant-gfn1f735.js → file-mutation-gvvbrpww.js} +9 -9
  143. package/dist/chunks/{variant-cz4fyjvq.js → file-mutation-gybtzb9x.js} +24 -24
  144. package/dist/chunks/{variant-rkvys86f.js → file-mutation-gzspr1z4.js} +3 -3
  145. package/dist/chunks/{variant-amdqtsez.js → file-mutation-h4bdw36b.js} +16 -16
  146. package/dist/chunks/{variant-4fse96mq.js → file-mutation-h62a697x.js} +8 -8
  147. package/dist/chunks/{variant-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
  148. package/dist/chunks/{variant-z2a96fzh.js → file-mutation-hd1nrk2b.js} +10 -10
  149. package/dist/chunks/{variant-hgz4x7wa.js → file-mutation-hgz4x7wa.js} +1 -1
  150. package/dist/chunks/{variant-25nwtkd9.js → file-mutation-hkgnaefc.js} +19 -19
  151. package/dist/chunks/{variant-rvw0c6fm.js → file-mutation-j8th9n6h.js} +13 -13
  152. package/dist/chunks/{variant-g8barhva.js → file-mutation-j9d78s05.js} +30 -30
  153. package/dist/chunks/{variant-039htanw.js → file-mutation-jf9n6w3j.js} +11 -11
  154. package/dist/chunks/{variant-3sa7tm9a.js → file-mutation-jfbb0hnv.js} +4 -4
  155. package/dist/chunks/{variant-mb19mnqb.js → file-mutation-jfhp5m7r.js} +36 -36
  156. package/dist/chunks/{variant-74mxst5h.js → file-mutation-jgzj6jsc.js} +12 -12
  157. package/dist/chunks/{variant-vgr8962y.js → file-mutation-jjqh5zx4.js} +18 -18
  158. package/dist/chunks/{variant-j933j9sw.js → file-mutation-jjypx1zf.js} +4 -4
  159. package/dist/chunks/{variant-2gmpce6q.js → file-mutation-jpecd9th.js} +3 -3
  160. package/dist/chunks/{variant-wrdz6b4b.js → file-mutation-jsn4hjph.js} +8 -8
  161. package/dist/chunks/{variant-n78k5cgb.js → file-mutation-jt9ed28e.js} +11 -11
  162. package/dist/chunks/{variant-pg3754bv.js → file-mutation-jx6q8471.js} +40 -40
  163. package/dist/chunks/{variant-nr5642w5.js → file-mutation-k02f29ms.js} +33 -33
  164. package/dist/chunks/{variant-6yet44e5.js → file-mutation-ka369yzh.js} +33 -33
  165. package/dist/chunks/{variant-zhzgznba.js → file-mutation-kb1d5h98.js} +3 -3
  166. package/dist/chunks/{variant-wcnw1vw1.js → file-mutation-kd03d9gr.js} +4 -4
  167. package/dist/chunks/{variant-vdx8s558.js → file-mutation-kdzm5bhe.js} +15 -15
  168. package/dist/chunks/{variant-56cykqq2.js → file-mutation-kr4x12kf.js} +20 -20
  169. package/dist/chunks/{variant-kwb1v3vj.js → file-mutation-kwb1v3vj.js} +1 -1
  170. package/dist/chunks/{variant-nhpkjp8j.js → file-mutation-kxej0ekr.js} +11 -11
  171. package/dist/chunks/file-mutation-m73346m7.js +26 -0
  172. package/dist/chunks/{variant-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
  173. package/dist/chunks/{variant-maspj1v3.js → file-mutation-maspj1v3.js} +1 -1
  174. package/dist/chunks/{variant-r70qfazn.js → file-mutation-mqg3fzsn.js} +16 -16
  175. package/dist/chunks/{variant-ss358qx3.js → file-mutation-mtpeagzc.js} +3 -3
  176. package/dist/chunks/{variant-qy6ss6as.js → file-mutation-mydhh9sm.js} +85 -85
  177. package/dist/chunks/{variant-7x0ybmme.js → file-mutation-ndzdr1dv.js} +2 -2
  178. package/dist/chunks/{variant-nz56sr1f.js → file-mutation-nz56sr1f.js} +2 -2
  179. package/dist/chunks/{variant-5ffmfybm.js → file-mutation-nzs7qp78.js} +6 -6
  180. package/dist/chunks/{variant-knhekyq4.js → file-mutation-p190h37r.js} +17 -17
  181. package/dist/chunks/{variant-smq3am02.js → file-mutation-p2wcahxe.js} +89 -89
  182. package/dist/chunks/{variant-bw9zjykr.js → file-mutation-p7a39gy5.js} +6 -6
  183. package/dist/chunks/{variant-c60jy55t.js → file-mutation-pbacqn8s.js} +5 -5
  184. package/dist/chunks/{variant-dedzrhdb.js → file-mutation-pcdas667.js} +25 -25
  185. package/dist/chunks/{variant-pf31ssb9.js → file-mutation-pf31ssb9.js} +1 -1
  186. package/dist/chunks/{variant-7xyrrtj6.js → file-mutation-pfq1ksym.js} +5 -5
  187. package/dist/chunks/{variant-xamas9nz.js → file-mutation-pgfe47gj.js} +30 -30
  188. package/dist/chunks/{variant-17hwac7t.js → file-mutation-phsgz9sx.js} +5 -5
  189. package/dist/chunks/{variant-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
  190. package/dist/chunks/{variant-pknna89w.js → file-mutation-pknna89w.js} +1 -1
  191. package/dist/chunks/{variant-rkprpv83.js → file-mutation-py3kkmfq.js} +2 -2
  192. package/dist/chunks/{variant-cd12tkte.js → file-mutation-q0cbencw.js} +2 -2
  193. package/dist/chunks/{variant-tkjmt9nc.js → file-mutation-q5d81rx9.js} +11 -11
  194. package/dist/chunks/{variant-vrr7tc8c.js → file-mutation-q7rdkpep.js} +4 -4
  195. package/dist/chunks/{variant-rn69d7hp.js → file-mutation-q9eyhvvk.js} +32 -32
  196. package/dist/chunks/{variant-5qtxbxmk.js → file-mutation-q9qps9mc.js} +18 -18
  197. package/dist/chunks/{variant-m9xnn9r5.js → file-mutation-qevj7g07.js} +35 -35
  198. package/dist/chunks/{variant-9x9ct1g1.js → file-mutation-qgf6fbf9.js} +32 -32
  199. package/dist/chunks/{variant-qnc92qwc.js → file-mutation-qnc92qwc.js} +1 -1
  200. package/dist/chunks/{variant-4mwbxkt4.js → file-mutation-qnfncs7q.js} +4 -4
  201. package/dist/chunks/{variant-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
  202. package/dist/chunks/{variant-9scmkrsd.js → file-mutation-qwv7c4pn.js} +13 -13
  203. package/dist/chunks/{variant-5rzwp8tz.js → file-mutation-r2z489rp.js} +3 -3
  204. package/dist/chunks/{variant-9hvha7ke.js → file-mutation-r62a9xnm.js} +14 -14
  205. package/dist/chunks/{variant-5awj5jwe.js → file-mutation-r6zh1g81.js} +11 -11
  206. package/dist/chunks/{variant-nhzw2ksa.js → file-mutation-r7dsxv7s.js} +17 -17
  207. package/dist/chunks/{variant-0kpfwrjz.js → file-mutation-rbp8ryhp.js} +33 -33
  208. package/dist/chunks/{variant-7zj2yvh0.js → file-mutation-rcjn9711.js} +13 -13
  209. package/dist/chunks/{variant-ervcbcv7.js → file-mutation-rcjp1z92.js} +35 -35
  210. package/dist/chunks/{variant-rdw6cm16.js → file-mutation-rdw6cm16.js} +1 -1
  211. package/dist/chunks/{variant-tkb22qbm.js → file-mutation-rert0e01.js} +2 -2
  212. package/dist/chunks/{variant-6xfqa995.js → file-mutation-retn9hxc.js} +59 -59
  213. package/dist/chunks/{variant-c41wscbt.js → file-mutation-rj3eygr5.js} +2 -2
  214. package/dist/chunks/{variant-qy259e2y.js → file-mutation-rt822zgg.js} +11 -11
  215. package/dist/chunks/{variant-bjq1rgcd.js → file-mutation-rz1wjwgb.js} +24 -24
  216. package/dist/chunks/{variant-qbqbaz6q.js → file-mutation-s26hbv8p.js} +4 -4
  217. package/dist/chunks/{variant-k8x2fpjf.js → file-mutation-s4nxs4pr.js} +22 -22
  218. package/dist/chunks/{variant-c8ax2afj.js → file-mutation-sa8ekw3f.js} +2 -2
  219. package/dist/chunks/{variant-xjfe4nsj.js → file-mutation-sc1avexy.js} +17 -17
  220. package/dist/chunks/{variant-s761s72c.js → file-mutation-schnsw0c.js} +9 -9
  221. package/dist/chunks/{variant-172eh8jk.js → file-mutation-sh547pn2.js} +5 -5
  222. package/dist/chunks/{variant-0y3k4c6h.js → file-mutation-sh6a696f.js} +21 -21
  223. package/dist/chunks/{variant-9r4dpyf8.js → file-mutation-stndfsa3.js} +8 -8
  224. package/dist/chunks/{variant-tatecjgj.js → file-mutation-sxeq46ve.js} +7 -7
  225. package/dist/chunks/{variant-vj32cyzd.js → file-mutation-sxzykved.js} +37 -37
  226. package/dist/chunks/{variant-syv4x271.js → file-mutation-syv4x271.js} +1 -1
  227. package/dist/chunks/{variant-0nxkqgg0.js → file-mutation-t1nzq07k.js} +9 -9
  228. package/dist/chunks/{variant-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{variant-bnpb9r0r.js → file-mutation-tb34rtt0.js} +31 -31
  230. package/dist/chunks/{variant-ck1687dj.js → file-mutation-tc78d14m.js} +20 -20
  231. package/dist/chunks/{variant-tdstcens.js → file-mutation-tdstcens.js} +1 -1
  232. package/dist/chunks/{variant-2w37rd65.js → file-mutation-thz6jf9v.js} +29 -29
  233. package/dist/chunks/{variant-b27vhd2z.js → file-mutation-tkmwgdpd.js} +7 -7
  234. package/dist/chunks/{variant-tm0kqsz3.js → file-mutation-tm0kqsz3.js} +1 -1
  235. package/dist/chunks/{variant-pm8ty30j.js → file-mutation-tt3w6h4v.js} +22 -22
  236. package/dist/chunks/{variant-dq407baf.js → file-mutation-tt8gc4fv.js} +6 -6
  237. package/dist/chunks/{variant-8r64qjsw.js → file-mutation-twbk3118.js} +30 -30
  238. package/dist/chunks/{variant-tyytaxap.js → file-mutation-tyytaxap.js} +1 -1
  239. package/dist/chunks/{variant-v210v162.js → file-mutation-v210v162.js} +2 -2
  240. package/dist/chunks/{variant-b55ayt6p.js → file-mutation-v53hzd0w.js} +15 -15
  241. package/dist/chunks/{variant-v7p4zvkq.js → file-mutation-v7p4zvkq.js} +2 -2
  242. package/dist/chunks/{variant-ghtkshk3.js → file-mutation-vae2677r.js} +45 -45
  243. package/dist/chunks/{variant-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
  244. package/dist/chunks/{variant-pfxa3h33.js → file-mutation-vkqam852.js} +11 -11
  245. package/dist/chunks/{variant-wqhaj406.js → file-mutation-vtt8tbap.js} +54 -54
  246. package/dist/chunks/{variant-nh571ch7.js → file-mutation-vyp2z6jc.js} +27 -27
  247. package/dist/chunks/{variant-vzs5sf6e.js → file-mutation-vzs5sf6e.js} +1 -1
  248. package/dist/chunks/{variant-84txncab.js → file-mutation-w1eejvng.js} +5 -5
  249. package/dist/chunks/{variant-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{variant-t9tm1b69.js → file-mutation-w7h8reg6.js} +14 -14
  251. package/dist/chunks/{variant-gxgayqbn.js → file-mutation-w84617t1.js} +11 -11
  252. package/dist/chunks/{variant-waskdk5r.js → file-mutation-waskdk5r.js} +1 -1
  253. package/dist/chunks/{variant-wd87259q.js → file-mutation-wd87259q.js} +1 -1
  254. package/dist/chunks/{variant-p092c7br.js → file-mutation-we55t667.js} +42 -42
  255. package/dist/chunks/{variant-wjqb2vp5.js → file-mutation-wk5z6jzv.js} +9 -9
  256. package/dist/chunks/{variant-9q9t7af4.js → file-mutation-wq2p2qmk.js} +24 -24
  257. package/dist/chunks/{variant-7nx1mzpm.js → file-mutation-x5e1n3vw.js} +19 -19
  258. package/dist/chunks/{variant-drwq78ky.js → file-mutation-xfkkasph.js} +4 -4
  259. package/dist/chunks/{variant-hz3jevdr.js → file-mutation-xmy4sz0h.js} +3 -3
  260. package/dist/chunks/{variant-xywjvjxx.js → file-mutation-xw6avn3p.js} +12 -12
  261. package/dist/chunks/{variant-ve88pny4.js → file-mutation-xx5ebepc.js} +8 -8
  262. package/dist/chunks/{variant-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
  263. package/dist/chunks/{variant-y71avatq.js → file-mutation-y71avatq.js} +1 -1
  264. package/dist/chunks/{variant-mc8agtnj.js → file-mutation-y81rr1wr.js} +22 -22
  265. package/dist/chunks/{variant-1jz3qj6p.js → file-mutation-y84x4ntc.js} +22 -22
  266. package/dist/chunks/{variant-n3bbh3xq.js → file-mutation-ymkxabsa.js} +8 -8
  267. package/dist/chunks/{variant-t9tzyksx.js → file-mutation-ynfzaa2p.js} +24 -24
  268. package/dist/chunks/{variant-d1sqbt18.js → file-mutation-yv7acsrv.js} +23 -23
  269. package/dist/chunks/{variant-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
  270. package/dist/chunks/{variant-z18fegx4.js → file-mutation-z18fegx4.js} +1 -1
  271. package/dist/chunks/{variant-kqp9qa1j.js → file-mutation-z1jgb0t4.js} +3 -3
  272. package/dist/chunks/{variant-h0k6zcwv.js → file-mutation-z2jaas8m.js} +21 -21
  273. package/dist/chunks/{variant-say7vrea.js → file-mutation-z3tzxhn5.js} +6 -6
  274. package/dist/chunks/{variant-qryqqwhy.js → file-mutation-z4g16tg4.js} +16 -16
  275. package/dist/chunks/{variant-es5a2c48.js → file-mutation-zcbpwp6v.js} +10 -10
  276. package/dist/chunks/{variant-ejj11w5x.js → file-mutation-ze7vjsts.js} +17 -17
  277. package/dist/chunks/{variant-7rwcep1p.js → file-mutation-zezrz4ps.js} +15 -15
  278. package/dist/chunks/{variant-hhecb7g7.js → file-mutation-zgxd750f.js} +8 -8
  279. package/dist/chunks/{variant-0cg871e2.js → file-mutation-zjtrsxny.js} +5 -5
  280. package/dist/chunks/{variant-qv0sc65t.js → file-mutation-zn9jy13z.js} +6 -6
  281. package/dist/chunks/{variant-zr2ceqn5.js → file-mutation-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{variant-0g42q639.js → file-mutation-zvcz9zfg.js} +5 -5
  283. package/dist/chunks/{variant-41t4yrkv.js → file-mutation-zvntbwz4.js} +15 -15
  284. package/dist/chunks/{variant-azwe5p1w.js → file-mutation-zw2hpfmh.js} +4 -4
  285. package/dist/chunks/{variant-r13wq28n.js → file-mutation-zwjpxgfy.js} +45 -45
  286. package/dist/chunks/{variant-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +7 -7
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +87 -87
  292. package/dist/config/discovery.js +86 -86
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +101 -101
  295. package/dist/config/plugin/agent.js +118 -118
  296. package/dist/config/plugin/command.js +208 -208
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/compatibility.js +135 -135
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +116 -116
  302. package/dist/config/plugin/instruction.js +116 -116
  303. package/dist/config/plugin/location-watcher.js +118 -118
  304. package/dist/config/plugin/mcp.js +125 -125
  305. package/dist/config/plugin/policy.js +117 -117
  306. package/dist/config/plugin/provider.js +116 -116
  307. package/dist/config/plugin/reference.js +118 -118
  308. package/dist/config/plugin/shell.js +116 -116
  309. package/dist/config/plugin/skill-file.js +104 -104
  310. package/dist/config/plugin/skill-scan.js +3 -3
  311. package/dist/config/plugin/skill.js +138 -138
  312. package/dist/config/plugin/snapshot.js +116 -116
  313. package/dist/config/plugin/source.js +119 -119
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +115 -115
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +1 -1
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +121 -121
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +85 -85
  322. package/dist/database/database.js +68 -68
  323. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +13 -13
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +14 -14
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  387. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  388. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  389. package/dist/database/migration.gen.js +51 -51
  390. package/dist/database/migration.js +53 -53
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +78 -78
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +370 -370
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +1 -1
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +95 -95
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +97 -97
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +3 -3
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +72 -72
  414. package/dist/file-access.js +106 -106
  415. package/dist/file-mutation.js +96 -96
  416. package/dist/file-retention.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +221 -221
  423. package/dist/filesystem/protected.js +3 -3
  424. package/dist/filesystem/search.js +105 -105
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +108 -108
  428. package/dist/form.js +86 -86
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +89 -89
  431. package/dist/generate.js +106 -106
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +101 -101
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +361 -361
  456. package/dist/instruction-discovery.js +86 -86
  457. package/dist/instructions/builtins.js +89 -89
  458. package/dist/instructions/index.js +3 -3
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +89 -89
  461. package/dist/job.js +80 -80
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +75 -75
  464. package/dist/location-activity.js +155 -155
  465. package/dist/location-lifecycle.js +109 -109
  466. package/dist/location-service-map.js +88 -88
  467. package/dist/location-services.js +358 -358
  468. package/dist/location.js +87 -87
  469. package/dist/managed-policy.js +8 -8
  470. package/dist/mcp/client.js +93 -93
  471. package/dist/mcp/index.js +109 -109
  472. package/dist/mcp/instructions.js +131 -131
  473. package/dist/mcp/oauth.js +80 -80
  474. package/dist/mcp/stdio.js +92 -92
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +101 -101
  477. package/dist/model-resolver.js +100 -100
  478. package/dist/model-retry.js +1 -1
  479. package/dist/model.js +104 -104
  480. package/dist/models-dev.js +109 -109
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +86 -86
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +111 -111
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +90 -90
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +77 -77
  490. package/dist/plugin/agent.js +78 -78
  491. package/dist/plugin/command.js +104 -104
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +212 -212
  494. package/dist/plugin/identity.js +3 -3
  495. package/dist/plugin/instance.js +5 -5
  496. package/dist/plugin/internal.js +332 -332
  497. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  498. package/dist/plugin/models-dev.js +98 -98
  499. package/dist/plugin/module.js +115 -115
  500. package/dist/plugin/optimize.js +2 -2
  501. package/dist/plugin/plan.js +104 -104
  502. package/dist/plugin/promise.js +1 -1
  503. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  504. package/dist/plugin/provider/azure.js +114 -114
  505. package/dist/plugin/provider/cerebras.js +1 -1
  506. package/dist/plugin/provider/chatgpt.js +116 -116
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +112 -112
  511. package/dist/plugin/provider/databricks.js +1 -1
  512. package/dist/plugin/provider/digitalocean.js +95 -95
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/github-copilot.js +97 -97
  516. package/dist/plugin/provider/gitlab.js +95 -95
  517. package/dist/plugin/provider/google-vertex.js +113 -113
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +80 -80
  520. package/dist/plugin/provider/lmstudio.js +125 -125
  521. package/dist/plugin/provider/local.js +122 -122
  522. package/dist/plugin/provider/modal.js +94 -94
  523. package/dist/plugin/provider/neon.js +1 -1
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +125 -125
  526. package/dist/plugin/provider/openai.js +116 -116
  527. package/dist/plugin/provider/opencode.js +100 -100
  528. package/dist/plugin/provider/openrouter.js +93 -93
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +81 -81
  531. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  532. package/dist/plugin/provider/sap-ai-core.js +93 -93
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  535. package/dist/plugin/provider/vercel.js +92 -92
  536. package/dist/plugin/provider/vllm.js +125 -125
  537. package/dist/plugin/provider/xai.js +93 -93
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +168 -168
  540. package/dist/plugin/sdk.js +78 -78
  541. package/dist/plugin/service.js +1 -1
  542. package/dist/plugin/skill.js +134 -134
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +349 -349
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +88 -88
  548. package/dist/plugin/vcs/hg.js +88 -88
  549. package/dist/plugin/verbosity.js +95 -95
  550. package/dist/plugin/warming.js +114 -114
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +6 -6
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +4 -4
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +217 -217
  559. package/dist/project/schema.js +2 -2
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +88 -88
  562. package/dist/provider.js +101 -101
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +95 -95
  566. package/dist/reference/instructions.js +91 -91
  567. package/dist/reference.js +89 -89
  568. package/dist/repository-cache.js +83 -83
  569. package/dist/repository.js +3 -3
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +97 -97
  572. package/dist/rpc.js +88 -88
  573. package/dist/schema.js +1 -1
  574. package/dist/session/affinity.js +1 -1
  575. package/dist/session/command.js +76 -76
  576. package/dist/session/compaction.js +138 -138
  577. package/dist/session/context.js +155 -155
  578. package/dist/session/diff.js +90 -90
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +5 -5
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +215 -215
  583. package/dist/session/execution.js +129 -129
  584. package/dist/session/generate.js +155 -155
  585. package/dist/session/history.js +13 -13
  586. package/dist/session/inbox.js +97 -97
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +81 -81
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +99 -99
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +122 -122
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +131 -131
  596. package/dist/session/projector.js +91 -91
  597. package/dist/session/prompt.js +107 -107
  598. package/dist/session/recent-text.js +1 -1
  599. package/dist/session/revert.js +96 -96
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +223 -223
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +100 -100
  605. package/dist/session/runner/publish-llm-event.js +115 -115
  606. package/dist/session/runner/retry.js +5 -5
  607. package/dist/session/runner/step.js +126 -126
  608. package/dist/session/runner/to-llm-message.js +14 -14
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +164 -164
  611. package/dist/session/shell.js +130 -130
  612. package/dist/session/skill.js +105 -105
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +75 -75
  615. package/dist/session/store.js +87 -87
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +206 -206
  618. package/dist/session/system-prompt.js +3 -3
  619. package/dist/session/title.js +153 -153
  620. package/dist/session/to-session-error.js +113 -113
  621. package/dist/session/transfer.js +211 -211
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +212 -212
  624. package/dist/shell/parse.js +8 -8
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +15 -15
  628. package/dist/shell.js +132 -132
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +109 -109
  631. package/dist/skill.js +116 -116
  632. package/dist/snapshot.js +91 -91
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +128 -128
  637. package/dist/tool/plugin/edit.js +120 -120
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +126 -126
  640. package/dist/tool/plugin/grep.js +126 -126
  641. package/dist/tool/plugin/mcp-resource.js +119 -119
  642. package/dist/tool/plugin/opencode.js +111 -111
  643. package/dist/tool/plugin/patch.js +124 -124
  644. package/dist/tool/plugin/question.js +105 -105
  645. package/dist/tool/plugin/read.js +127 -127
  646. package/dist/tool/plugin/shell.js +209 -209
  647. package/dist/tool/plugin/skill.js +113 -113
  648. package/dist/tool/plugin/subagent.js +213 -213
  649. package/dist/tool/plugin/todo.js +136 -136
  650. package/dist/tool/plugin/webfetch.js +110 -110
  651. package/dist/tool/plugin/websearch.js +114 -114
  652. package/dist/tool/plugin/write.js +124 -124
  653. package/dist/tool/read-filesystem.js +102 -102
  654. package/dist/tool/runtime.js +1 -1
  655. package/dist/tool-output.js +7 -7
  656. package/dist/tool.js +14 -14
  657. package/dist/types/session/transfer.d.ts +2 -2
  658. package/dist/types/worktree/git.d.ts +3 -3
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +3 -3
  669. package/dist/v1/config/command.js +5 -5
  670. package/dist/v1/config/error.js +2 -2
  671. package/dist/v1/config/mcp.js +4 -4
  672. package/dist/v1/config/migrate.js +94 -94
  673. package/dist/v1/config/permission.js +1 -1
  674. package/dist/v1/config/plugin.js +3 -3
  675. package/dist/v1/config/provider-options.js +1 -1
  676. package/dist/v1/config/provider.js +4 -4
  677. package/dist/variant.js +93 -93
  678. package/dist/vcs/patch.js +1 -1
  679. package/dist/vcs.js +91 -91
  680. package/dist/voice.js +90 -90
  681. package/dist/websearch.js +86 -86
  682. package/dist/wellknown/plugin.js +78 -78
  683. package/dist/wellknown.js +83 -83
  684. package/dist/workspace/driver.js +5 -5
  685. package/dist/workspace/sql.js +1 -1
  686. package/dist/workspace.js +84 -84
  687. package/dist/worktree/directory.js +2 -2
  688. package/dist/worktree/git.js +10 -10
  689. package/dist/worktree/sql.js +5 -5
  690. package/dist/worktree/strategies.js +91 -91
  691. package/dist/worktree.js +96 -96
  692. package/package.json +8 -8
  693. package/dist/chunks/variant-0x80k0hx.js +0 -26
  694. package/dist/chunks/variant-7w5g5nar.js +0 -517
  695. package/dist/chunks/variant-928hdk85.js +0 -257
  696. /package/dist/chunks/{variant-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
  697. /package/dist/chunks/{variant-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
  698. /package/dist/chunks/{variant-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
  699. /package/dist/chunks/{variant-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
  700. /package/dist/chunks/{variant-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
  701. /package/dist/chunks/{variant-24dcb14g.js → file-mutation-24dcb14g.js} +0 -0
  702. /package/dist/chunks/{variant-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
  703. /package/dist/chunks/{variant-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
  704. /package/dist/chunks/{variant-2bv980vf.js → file-mutation-2bv980vf.js} +0 -0
  705. /package/dist/chunks/{variant-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
  706. /package/dist/chunks/{variant-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
  707. /package/dist/chunks/{variant-3asan66x.js → file-mutation-3asan66x.js} +0 -0
  708. /package/dist/chunks/{variant-3t0ybcrp.js → file-mutation-3t0ybcrp.js} +0 -0
  709. /package/dist/chunks/{variant-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
  710. /package/dist/chunks/{variant-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
  711. /package/dist/chunks/{variant-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
  712. /package/dist/chunks/{variant-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
  713. /package/dist/chunks/{variant-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
  714. /package/dist/chunks/{variant-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
  715. /package/dist/chunks/{variant-53557ph1.js → file-mutation-53557ph1.js} +0 -0
  716. /package/dist/chunks/{variant-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
  717. /package/dist/chunks/{variant-5qd3pb7m.js → file-mutation-5qd3pb7m.js} +0 -0
  718. /package/dist/chunks/{variant-6prwharc.js → file-mutation-6prwharc.js} +0 -0
  719. /package/dist/chunks/{variant-6q2bdcd1.js → file-mutation-6q2bdcd1.js} +0 -0
  720. /package/dist/chunks/{variant-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
  721. /package/dist/chunks/{variant-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
  722. /package/dist/chunks/{variant-822emrt2.js → file-mutation-822emrt2.js} +0 -0
  723. /package/dist/chunks/{variant-84wd9syh.js → file-mutation-84wd9syh.js} +0 -0
  724. /package/dist/chunks/{variant-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
  725. /package/dist/chunks/{variant-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
  726. /package/dist/chunks/{variant-8wj87zfr.js → file-mutation-8wj87zfr.js} +0 -0
  727. /package/dist/chunks/{variant-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
  728. /package/dist/chunks/{variant-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
  729. /package/dist/chunks/{variant-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
  730. /package/dist/chunks/{variant-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
  731. /package/dist/chunks/{variant-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
  732. /package/dist/chunks/{variant-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
  733. /package/dist/chunks/{variant-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
  734. /package/dist/chunks/{variant-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
  735. /package/dist/chunks/{variant-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
  736. /package/dist/chunks/{variant-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
  737. /package/dist/chunks/{variant-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
  738. /package/dist/chunks/{variant-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
  739. /package/dist/chunks/{variant-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
  740. /package/dist/chunks/{variant-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
  741. /package/dist/chunks/{variant-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
  742. /package/dist/chunks/{variant-df08tz66.js → file-mutation-df08tz66.js} +0 -0
  743. /package/dist/chunks/{variant-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
  744. /package/dist/chunks/{variant-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
  745. /package/dist/chunks/{variant-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
  746. /package/dist/chunks/{variant-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
  747. /package/dist/chunks/{variant-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
  748. /package/dist/chunks/{variant-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
  749. /package/dist/chunks/{variant-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
  750. /package/dist/chunks/{variant-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
  751. /package/dist/chunks/{variant-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
  752. /package/dist/chunks/{variant-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
  753. /package/dist/chunks/{variant-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
  754. /package/dist/chunks/{variant-g86h250q.js → file-mutation-g86h250q.js} +0 -0
  755. /package/dist/chunks/{variant-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
  756. /package/dist/chunks/{variant-gftt206x.js → file-mutation-gftt206x.js} +0 -0
  757. /package/dist/chunks/{variant-hcxmzztb.js → file-mutation-hcxmzztb.js} +0 -0
  758. /package/dist/chunks/{variant-hk9envan.js → file-mutation-hk9envan.js} +0 -0
  759. /package/dist/chunks/{variant-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
  760. /package/dist/chunks/{variant-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
  761. /package/dist/chunks/{variant-jjkms2e6.js → file-mutation-jjkms2e6.js} +0 -0
  762. /package/dist/chunks/{variant-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
  763. /package/dist/chunks/{variant-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
  764. /package/dist/chunks/{variant-jze0r7bz.js → file-mutation-jze0r7bz.js} +0 -0
  765. /package/dist/chunks/{variant-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
  766. /package/dist/chunks/{variant-m18g726c.js → file-mutation-m18g726c.js} +0 -0
  767. /package/dist/chunks/{variant-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
  768. /package/dist/chunks/{variant-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
  769. /package/dist/chunks/{variant-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
  770. /package/dist/chunks/{variant-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
  771. /package/dist/chunks/{variant-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
  772. /package/dist/chunks/{variant-pkyv6v7h.js → file-mutation-pkyv6v7h.js} +0 -0
  773. /package/dist/chunks/{variant-pyv0edze.js → file-mutation-pyv0edze.js} +0 -0
  774. /package/dist/chunks/{variant-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
  775. /package/dist/chunks/{variant-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
  776. /package/dist/chunks/{variant-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
  777. /package/dist/chunks/{variant-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
  778. /package/dist/chunks/{variant-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
  779. /package/dist/chunks/{variant-qg3g05ea.js → file-mutation-qg3g05ea.js} +0 -0
  780. /package/dist/chunks/{variant-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
  781. /package/dist/chunks/{variant-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
  782. /package/dist/chunks/{variant-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
  783. /package/dist/chunks/{variant-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
  784. /package/dist/chunks/{variant-ve7vex1e.js → file-mutation-ve7vex1e.js} +0 -0
  785. /package/dist/chunks/{variant-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
  786. /package/dist/chunks/{variant-wc3fc9cn.js → file-mutation-wc3fc9cn.js} +0 -0
  787. /package/dist/chunks/{variant-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
  788. /package/dist/chunks/{variant-wjj7prxr.js → file-mutation-wjj7prxr.js} +0 -0
  789. /package/dist/chunks/{variant-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
  790. /package/dist/chunks/{variant-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
  791. /package/dist/chunks/{variant-x61499pn.js → file-mutation-x61499pn.js} +0 -0
  792. /package/dist/chunks/{variant-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
  793. /package/dist/chunks/{variant-y8f7s663.js → file-mutation-y8f7s663.js} +0 -0
  794. /package/dist/chunks/{variant-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
  795. /package/dist/chunks/{variant-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
  796. /package/dist/chunks/{variant-z5v4ffb3.js → file-mutation-z5v4ffb3.js} +0 -0
  797. /package/dist/chunks/{variant-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./variant-dnjvpwy6.js";
4
+ } from "./file-mutation-0rv871qk.js";
5
5
  import {
6
- parse4,
6
+ parse5,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./variant-84txncab.js";
11
+ } from "./file-mutation-w1eejvng.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./variant-z5v4ffb3.js";
14
+ } from "./file-mutation-z5v4ffb3.js";
15
15
  import {
16
- Service49,
17
- node53
18
- } from "./variant-d1sqbt18.js";
16
+ Service51,
17
+ node54
18
+ } from "./file-mutation-yv7acsrv.js";
19
19
  import {
20
20
  create3
21
- } from "./variant-rdw6cm16.js";
21
+ } from "./file-mutation-rdw6cm16.js";
22
22
  import {
23
23
  __export
24
- } from "./variant-9rqn6x4v.js";
24
+ } from "./file-mutation-9rqn6x4v.js";
25
25
 
26
26
  // src/reference.ts
27
27
  var exports_reference2 = {};
@@ -31,9 +31,9 @@ __export(exports_reference2, {
31
31
  Info: () => Info9,
32
32
  LocalSource: () => LocalSource2,
33
33
  Reference: () => exports_reference2,
34
- Service: () => Service48,
35
- Source: () => Source3,
36
- node: () => node52
34
+ Service: () => Service50,
35
+ Source: () => Source4,
36
+ node: () => node53
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Context, Effect, Layer, Scope } from "effect";
@@ -42,15 +42,15 @@ import { Global } from "@opencode/util/global";
42
42
  import { Event as Event9 } from "@opencode/schema/reference";
43
43
  var LocalSource2 = Reference.LocalSource;
44
44
  var GitSource2 = Reference.GitSource;
45
- var Source3 = Reference.Source;
45
+ var Source4 = Reference.Source;
46
46
  var Info9 = Reference.Info;
47
47
 
48
- class Service48 extends Context.Service()("@opencode/Reference") {
48
+ class Service50 extends Context.Service()("@opencode/Reference") {
49
49
  }
50
- var layer = Layer.effect(Service48, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service50, Effect.gen(function* () {
51
51
  const global = yield* Global.Service;
52
52
  const bus = yield* Service85;
53
- const cache = yield* Service49;
53
+ const cache = yield* Service51;
54
54
  const scope = yield* Scope.Scope;
55
55
  const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
56
56
  const info = {
@@ -61,7 +61,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
61
61
  };
62
62
  if (source.type === "local")
63
63
  return [Info9.make({ ...info, path: source.path })];
64
- const repository = parse4(source.repository);
64
+ const repository = parse5(source.repository);
65
65
  if (!repository || !isRemote2(repository))
66
66
  return [];
67
67
  if (source.branch) {
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
107
- return Service48.of({
107
+ return Service50.of({
108
108
  transform: state.transform,
109
109
  reload: state.reload,
110
110
  list: Effect.fn("Reference.list")(function* () {
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
112
112
  })
113
113
  });
114
114
  }));
115
- var node52 = makeLocationNode({
116
- service: Service48,
115
+ var node53 = makeLocationNode({
116
+ service: Service50,
117
117
  layer,
118
- deps: [Global.node, node89, node53]
118
+ deps: [Global.node, node89, node54]
119
119
  });
120
120
 
121
- export { LocalSource2, GitSource2, Source3, Info9, Service48, node52, exports_reference2, Event9 };
121
+ export { LocalSource2, GitSource2, Source4, Info9, Service50, node53, exports_reference2, Event9 };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  match2
3
- } from "./variant-y1fvbwt7.js";
3
+ } from "./file-mutation-y1fvbwt7.js";
4
4
  import {
5
5
  __export
6
- } from "./variant-9rqn6x4v.js";
6
+ } from "./file-mutation-9rqn6x4v.js";
7
7
 
8
8
  // src/managed-policy.ts
9
9
  var exports_managed_policy = {};
10
10
  __export(exports_managed_policy, {
11
11
  ManagedPolicy: () => exports_managed_policy,
12
- Service: () => Service33,
12
+ Service: () => Service17,
13
13
  decision: () => decision2,
14
- layer: () => layer16,
15
- node: () => node36,
14
+ layer: () => layer11,
15
+ node: () => node19,
16
16
  statements: () => statements2
17
17
  });
18
18
  import { isDeepStrictEqual } from "node:util";
19
19
  import { Context, Effect, Layer, PubSub, Stream } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
21
21
 
22
- class Service33 extends Context.Service()("@opencode/ManagedPolicy") {
22
+ class Service17 extends Context.Service()("@opencode/ManagedPolicy") {
23
23
  }
24
- var layer16 = Layer.effect(Service33, Effect.gen(function* () {
24
+ var layer11 = Layer.effect(Service17, Effect.gen(function* () {
25
25
  const changes = yield* PubSub.unbounded();
26
26
  const state = { current: { statements: [] } };
27
- return Service33.of({
27
+ return Service17.of({
28
28
  changes: () => Stream.fromPubSub(changes),
29
29
  current: () => state.current,
30
30
  set: (next) => Effect.gen(function* () {
@@ -36,7 +36,7 @@ var layer16 = Layer.effect(Service33, Effect.gen(function* () {
36
36
  })
37
37
  });
38
38
  }));
39
- var node36 = makeGlobalNode({ service: Service33, layer: layer16, deps: [] });
39
+ var node19 = makeGlobalNode({ service: Service17, layer: layer11, deps: [] });
40
40
  function statements2(entries, organization) {
41
41
  return [
42
42
  ...entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.policies ?? []).map((policy) => ({ ...policy, message: "Blocked by configuration policy" })),
@@ -50,4 +50,4 @@ function decision2(policies, action, resource) {
50
50
  return policies.findLast((policy) => policy.action === action && match2(resource, policy.resource))?.effect ?? "allow";
51
51
  }
52
52
 
53
- export { Service33, layer16, node36, statements2, decision2, exports_managed_policy };
53
+ export { Service17, layer11, node19, statements2, decision2, exports_managed_policy };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service69
3
- } from "./variant-1jz3qj6p.js";
2
+ Service58
3
+ } from "./file-mutation-y84x4ntc.js";
4
4
  import {
5
- Service82
6
- } from "./variant-t9tm1b69.js";
5
+ Service79
6
+ } from "./file-mutation-w7h8reg6.js";
7
7
  import {
8
- Service68
9
- } from "./variant-wpz9kdb9.js";
8
+ Service57
9
+ } from "./file-mutation-em5cgnc4.js";
10
10
  import {
11
11
  unavailable3
12
- } from "./variant-eaj1djv9.js";
12
+ } from "./file-mutation-02nrjc1r.js";
13
13
  import {
14
14
  File2,
15
- Service28
16
- } from "./variant-nttemcq1.js";
15
+ Service34
16
+ } from "./file-mutation-ad4w0vjn.js";
17
17
  import {
18
18
  __export
19
- } from "./variant-9rqn6x4v.js";
19
+ } from "./file-mutation-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin19
25
+ Plugin: () => Plugin36
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
@@ -31,17 +31,17 @@ import { sameDirectory } from "@opencode/util/path";
31
31
  import path, { dirname, join } from "path";
32
32
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
33
33
  import { HttpClient, HttpClientRequest } from "effect/http";
34
- var Plugin19 = define({
34
+ var Plugin36 = define({
35
35
  id: "opencode.config.instruction",
36
36
  effect: Effect.fn(function* (ctx) {
37
- const discovery = yield* Service28;
37
+ const discovery = yield* Service34;
38
38
  yield* Effect.gen(function* () {
39
- const config = yield* Service68;
39
+ const config = yield* Service57;
40
40
  const fs = yield* FSUtil.Service;
41
41
  const global = yield* Global.Service;
42
42
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
43
- const location = yield* Service82;
44
- const watcher = yield* Service69;
43
+ const location = yield* Service79;
44
+ const watcher = yield* Service58;
45
45
  const changes = yield* PubSub.sliding(1);
46
46
  const watches = yield* FiberMap.make();
47
47
  const lock = Semaphore.makeUnsafe(1);
@@ -174,4 +174,4 @@ function isUrl(source) {
174
174
  return URL.canParse(source) && /^https?:$/.test(new URL(source).protocol);
175
175
  }
176
176
 
177
- export { Plugin19, exports_instruction };
177
+ export { Plugin36, exports_instruction };
@@ -1,41 +1,41 @@
1
1
  import {
2
2
  useragent2
3
- } from "./variant-g7z4v8j3.js";
3
+ } from "./file-mutation-10sr3c2w.js";
4
4
  import {
5
5
  Service85
6
- } from "./variant-dnjvpwy6.js";
6
+ } from "./file-mutation-0rv871qk.js";
7
7
  import {
8
8
  OAuth3,
9
- Event16
10
- } from "./variant-e10gzyda.js";
9
+ Event14
10
+ } from "./file-mutation-7r9mhtn4.js";
11
11
  import {
12
12
  key2
13
- } from "./variant-azwe5p1w.js";
13
+ } from "./file-mutation-zw2hpfmh.js";
14
14
  import {
15
- ID10,
15
+ ID9,
16
16
  MethodID2,
17
17
  AuthorizationError2
18
- } from "./variant-6d84m8eq.js";
18
+ } from "./file-mutation-0s4zgerr.js";
19
19
  import {
20
- Service33
21
- } from "./variant-rz1bd73a.js";
20
+ Service17
21
+ } from "./file-mutation-3aj445ja.js";
22
22
  import {
23
- ID9,
23
+ ID8,
24
24
  mergeOverlay2,
25
25
  mergeHeaders2
26
- } from "./variant-8r64qjsw.js";
26
+ } from "./file-mutation-twbk3118.js";
27
27
  import {
28
28
  mergeCapabilities2
29
- } from "./variant-vpge477k.js";
29
+ } from "./file-mutation-6zc1k7ct.js";
30
30
  import {
31
31
  supports2,
32
32
  resolve2
33
- } from "./variant-c17c7gem.js";
33
+ } from "./file-mutation-cb4re6k7.js";
34
34
  import {
35
- ID6,
36
- Input15,
35
+ ID3,
36
+ Input14,
37
37
  Response2
38
- } from "./variant-dedzrhdb.js";
38
+ } from "./file-mutation-pcdas667.js";
39
39
 
40
40
  // src/plugin/provider/opencode.ts
41
41
  import {
@@ -73,7 +73,7 @@ var RemotePolicies = Schema.Array(Schema.Unknown).pipe(Schema.decodeTo(Schema.Un
73
73
  var RemoteResponse = Schema.Struct({
74
74
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
75
75
  websearch: Schema.Struct({
76
- providerID: ID6
76
+ providerID: ID3
77
77
  }).pipe(Schema.optional),
78
78
  mcp: Schema.Struct({
79
79
  servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
@@ -124,7 +124,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
124
124
  }
125
125
  function oauth(http) {
126
126
  return {
127
- integrationID: ID10.make("opencode"),
127
+ integrationID: ID9.make("opencode"),
128
128
  method: {
129
129
  id: methodID,
130
130
  type: "oauth",
@@ -188,10 +188,11 @@ function oauth(http) {
188
188
  var OpencodePlugin2 = define({
189
189
  id: "opencode.provider.opencode",
190
190
  effect: Effect.fn(function* (ctx) {
191
+ const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
191
192
  const bus = yield* Service85;
192
193
  const client = yield* HttpClient.HttpClient;
193
194
  const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
194
- const managed = yield* Service33;
195
+ const managed = yield* Service17;
195
196
  const scope = yield* Scope.Scope;
196
197
  const loading = Semaphore.makeUnsafe(1);
197
198
  let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
@@ -245,7 +246,7 @@ var OpencodePlugin2 = define({
245
246
  providers.update(providerID, (provider) => {
246
247
  if (source && source.provider !== provider)
247
248
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
248
- provider.integrationID = ID10.make("opencode");
249
+ provider.integrationID = ID9.make("opencode");
249
250
  if (item.canonical !== undefined)
250
251
  provider.canonical = item.canonical;
251
252
  if (item.name !== undefined)
@@ -319,19 +320,19 @@ var OpencodePlugin2 = define({
319
320
  sourceConnection: snapshot.connection
320
321
  });
321
322
  }
322
- const item = providers.get(ID9.opencode);
323
+ const item = providers.get(ID8.opencode);
323
324
  if (!item)
324
325
  return;
325
326
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
326
327
  providers.update(item.provider.id, (provider) => {
327
- if (!hasKey) {
328
+ if (!hasKey && !disableFree) {
328
329
  provider.activation = "enabled";
329
330
  provider.settings = { ...provider.settings, apiKey: "public" };
330
331
  }
331
332
  });
332
333
  });
333
334
  yield* ctx.model.transform((models) => {
334
- const item = models.provider.get(ID9.opencode);
335
+ const item = models.provider.get(ID8.opencode);
335
336
  if (!item)
336
337
  return;
337
338
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -365,7 +366,7 @@ var OpencodePlugin2 = define({
365
366
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
366
367
  const token = credential.type === "oauth" ? credential.access : credential.key;
367
368
  const server = yield* normalizeServer(serverUrl(credential));
368
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input15)({
369
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
369
370
  query: input.query,
370
371
  providerID: descriptor.providerID
371
372
  }));
@@ -426,7 +427,7 @@ var OpencodePlugin2 = define({
426
427
  });
427
428
  const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
428
429
  yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
429
- explainers = yield* Effect.forEach(next.connection ? new Set([ID9.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
430
+ explainers = yield* Effect.forEach(next.connection ? new Set([ID8.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
430
431
  });
431
432
  yield* guard(snapshot);
432
433
  const polling = yield* FiberHandle.make();
@@ -437,7 +438,7 @@ var OpencodePlugin2 = define({
437
438
  onlyIfMissing: true
438
439
  });
439
440
  });
440
- yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
441
+ yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
441
442
  yield* poll();
442
443
  })
443
444
  });
@@ -489,7 +490,8 @@ function credentialHeaders(value) {
489
490
  };
490
491
  }
491
492
  function serverUrl(value) {
492
- return typeof value.metadata?.server === "string" ? value.metadata.server : defaultServer;
493
+ const server = typeof value.metadata?.server === "string" ? value.metadata.server : defaultServer;
494
+ return server.replace(/^https:\/\/console\.opencode\.ai(?=\/|$)/, defaultServer);
493
495
  }
494
496
  function withoutCredentials(body) {
495
497
  return body && Object.fromEntries(Object.entries(body).filter(([key]) => !["apiKey", "authToken", "accessToken"].includes(key)));
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  makeWithDefaults2
3
- } from "./variant-zhzgznba.js";
3
+ } from "./file-mutation-kb1d5h98.js";
4
4
  import {
5
5
  apply3
6
- } from "./variant-2gmpce6q.js";
6
+ } from "./file-mutation-jpecd9th.js";
7
7
  import {
8
8
  __export
9
- } from "./variant-9rqn6x4v.js";
9
+ } from "./file-mutation-9rqn6x4v.js";
10
10
 
11
11
  // src/database/database.ts
12
12
  var exports_database = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./variant-qfa1cgps.js";
3
+ } from "./file-mutation-qfa1cgps.js";
4
4
 
5
5
  // src/kv/sql.ts
6
6
  import { sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -2,10 +2,10 @@ import {
2
2
  NotFound3,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./variant-hgz4x7wa.js";
5
+ } from "./file-mutation-hgz4x7wa.js";
6
6
  import {
7
7
  __export
8
- } from "./variant-9rqn6x4v.js";
8
+ } from "./file-mutation-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/local.ts
11
11
  var exports_local = {};
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  useragent2
3
- } from "./variant-g7z4v8j3.js";
3
+ } from "./file-mutation-10sr3c2w.js";
4
4
  import {
5
5
  Service85
6
- } from "./variant-dnjvpwy6.js";
6
+ } from "./file-mutation-0rv871qk.js";
7
7
  import {
8
8
  OAuth3,
9
- Event16
10
- } from "./variant-e10gzyda.js";
9
+ Event14
10
+ } from "./file-mutation-7r9mhtn4.js";
11
11
  import {
12
- ID10,
12
+ ID9,
13
13
  MethodID2
14
- } from "./variant-6d84m8eq.js";
14
+ } from "./file-mutation-0s4zgerr.js";
15
15
  import {
16
- ID9
17
- } from "./variant-8r64qjsw.js";
16
+ ID8
17
+ } from "./file-mutation-twbk3118.js";
18
18
  import {
19
- ID8,
19
+ ID7,
20
20
  Family2
21
- } from "./variant-vpge477k.js";
21
+ } from "./file-mutation-6zc1k7ct.js";
22
22
  import {
23
23
  bootstrap2
24
- } from "./variant-pjvnvgmy.js";
24
+ } from "./file-mutation-pjvnvgmy.js";
25
25
 
26
26
  // src/plugin/provider/digitalocean.ts
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { Clock, Deferred, Effect, Option, Schema, Semaphore, Stream } from "effect";
29
29
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
30
- var providerID = ID9.make("digitalocean");
31
- var integrationID = ID10.make("digitalocean");
30
+ var providerID = ID8.make("digitalocean");
31
+ var integrationID = ID9.make("digitalocean");
32
32
  var methodID = MethodID2.make("browser");
33
33
  var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
34
34
  var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
148
148
  return;
149
149
  for (const router of loaded.routers) {
150
150
  const id = `router:${router.name}`;
151
- if (evt.get(providerID)?.models.has(ID8.make(id)))
151
+ if (evt.get(providerID)?.models.has(ID7.make(id)))
152
152
  continue;
153
153
  evt.models.update(providerID, id, (draft) => {
154
154
  draft.name = router.name;
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
159
159
  }
160
160
  });
161
161
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
162
- yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
162
+ yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
163
163
  yield* refresh().pipe(Effect.forkScoped);
164
164
  })
165
165
  });
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service62
3
- } from "./variant-bw9zjykr.js";
2
+ Service38
3
+ } from "./file-mutation-p7a39gy5.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./variant-pf31ssb9.js";
6
+ } from "./file-mutation-pf31ssb9.js";
7
7
  import {
8
8
  SkillNotFoundError2
9
- } from "./variant-qv0sc65t.js";
9
+ } from "./file-mutation-zn9jy13z.js";
10
10
  import {
11
- Service51
12
- } from "./variant-8aftd3yf.js";
11
+ Service49
12
+ } from "./file-mutation-eajv9c1q.js";
13
13
  import {
14
14
  __export
15
- } from "./variant-9rqn6x4v.js";
15
+ } from "./file-mutation-9rqn6x4v.js";
16
16
 
17
17
  // src/session/skill.ts
18
18
  var exports_skill4 = {};
@@ -22,8 +22,8 @@ __export(exports_skill4, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var get4 = Effect.fn("SessionSkill.get")(function* (input) {
25
- const instances = yield* Service62;
26
- const skills = yield* awaitActivation2.pipe(Effect.andThen(Service51), instances.provide(input.session));
25
+ const instances = yield* Service38;
26
+ const skills = yield* awaitActivation2.pipe(Effect.andThen(Service49), instances.provide(input.session));
27
27
  const skill = yield* skills.get(input.skill);
28
28
  if (!skill)
29
29
  return yield* new SkillNotFoundError2({ skill: input.skill });
@@ -1,66 +1,66 @@
1
1
  import {
2
- Service74
3
- } from "./variant-6pcx6jwm.js";
2
+ Service63
3
+ } from "./file-mutation-62mz8jvf.js";
4
4
  import {
5
- Service77
6
- } from "./variant-2qj989z5.js";
5
+ Service69
6
+ } from "./file-mutation-3zqpxcym.js";
7
7
  import {
8
- ID6,
8
+ ID3,
9
9
  Result2,
10
10
  ProviderRequiredError2,
11
11
  DisabledError2,
12
12
  RequestError2,
13
- Service52
14
- } from "./variant-dedzrhdb.js";
13
+ Service20
14
+ } from "./file-mutation-pcdas667.js";
15
15
  import {
16
16
  __export
17
- } from "./variant-9rqn6x4v.js";
17
+ } from "./file-mutation-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/websearch.ts
20
20
  var exports_websearch = {};
21
21
  __export(exports_websearch, {
22
- Input: () => Input10,
22
+ Input: () => Input8,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin13,
24
+ Plugin: () => Plugin8,
25
25
  WebSearchTool: () => exports_websearch,
26
- description: () => description5,
27
- name: () => name10
26
+ description: () => description4,
27
+ name: () => name8
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Effect, Schema, Semaphore } from "effect";
31
31
  import { HttpClientError } from "effect/http";
32
- var name10 = "websearch";
32
+ var name8 = "websearch";
33
33
  var NO_RESULTS2 = "No search results found. Please try a different query.";
34
34
  var providerSelectionLock = Semaphore.makeUnsafe(1);
35
35
  var httpErrors = new Map([
36
36
  [429, "Web search rate limited (HTTP 429)"],
37
37
  [401, "Web search authentication failed (HTTP 401)"]
38
38
  ]);
39
- var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
39
+ var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
40
40
 
41
41
  The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
42
- var Input10 = Schema.Struct({
42
+ var Input8 = Schema.Struct({
43
43
  query: Schema.String.annotate({ description: "Websearch query" })
44
44
  });
45
45
  var Output = Schema.Struct({
46
- provider: ID6,
46
+ provider: ID3,
47
47
  results: Schema.Array(Result2)
48
48
  });
49
- var Plugin13 = {
49
+ var Plugin8 = {
50
50
  id: "opencode.tool.websearch",
51
51
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
52
- const permission = yield* Service77;
53
- const forms = yield* Service74;
54
- const websearch = yield* Service52;
52
+ const permission = yield* Service69;
53
+ const forms = yield* Service63;
54
+ const websearch = yield* Service20;
55
55
  yield* ctx.tool.transform((editor) => editor.add({
56
- name: name10,
56
+ name: name8,
57
57
  options: { codemode: false },
58
- description: description5,
59
- input: Input10,
58
+ description: description4,
59
+ input: Input8,
60
60
  output: Output,
61
61
  execute: (input, context) => Effect.gen(function* () {
62
62
  yield* permission.assert({
63
- action: name10,
63
+ action: name8,
64
64
  resources: [input.query],
65
65
  save: ["*"],
66
66
  metadata: input,
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
176
176
  const hook = (event) => Effect.gen(function* () {
177
177
  const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
178
178
  if (disabled)
179
- delete event.tools[name10];
179
+ delete event.tools[name8];
180
180
  });
181
181
  yield* ctx.session.hook("context", hook);
182
182
  yield* ctx.session.hook("compaction", hook);
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
184
184
  })
185
185
  };
186
186
 
187
- export { name10, NO_RESULTS2, description5, Input10, Plugin13, exports_websearch };
187
+ export { name8, NO_RESULTS2, description4, Input8, Plugin8, exports_websearch };