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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (778) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{reference-2194chap.js → mime-00qg2tcw.js} +15 -15
  8. package/dist/chunks/{reference-8bdbvaz4.js → mime-03d19y83.js} +4 -4
  9. package/dist/chunks/{reference-yt62qj12.js → mime-04mq6ee8.js} +30 -30
  10. package/dist/chunks/{reference-afdssyjb.js → mime-06x8he3q.js} +4 -4
  11. package/dist/chunks/{reference-72kjf32t.js → mime-070fvye4.js} +47 -47
  12. package/dist/chunks/{reference-veanqdwt.js → mime-0fan8waa.js} +20 -20
  13. package/dist/chunks/{reference-hndc3k9c.js → mime-0hwq8h39.js} +9 -9
  14. package/dist/chunks/{reference-q0xm7vwc.js → mime-0j77ygfz.js} +6 -6
  15. package/dist/chunks/{reference-0paq2nw3.js → mime-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{reference-0vbcp93d.js → mime-0vbcp93d.js} +2 -2
  17. package/dist/chunks/{reference-f3bkb0dd.js → mime-0yzyde6c.js} +26 -26
  18. package/dist/chunks/{reference-8tqdxazn.js → mime-12n08y7q.js} +8 -8
  19. package/dist/chunks/{reference-88ywh4qk.js → mime-13qx119e.js} +10 -10
  20. package/dist/chunks/{reference-v01fwtwf.js → mime-16c21bq7.js} +10 -10
  21. package/dist/chunks/{reference-6c09zaff.js → mime-170w37en.js} +1 -1
  22. package/dist/chunks/{reference-6t2k45be.js → mime-1b37m1mh.js} +17 -17
  23. package/dist/chunks/{reference-1dazxqgg.js → mime-1dazxqgg.js} +2 -2
  24. package/dist/chunks/{reference-84h8c373.js → mime-1dvck2a7.js} +2 -2
  25. package/dist/chunks/{reference-8mwpm1an.js → mime-1j858gve.js} +19 -19
  26. package/dist/chunks/{reference-rnht7zsd.js → mime-1mdr38wd.js} +16 -16
  27. package/dist/chunks/{reference-f29mbr7f.js → mime-1rn5pcm9.js} +4 -4
  28. package/dist/chunks/{reference-1ygqh575.js → mime-1ygqh575.js} +2 -2
  29. package/dist/chunks/{reference-0ev02b6f.js → mime-23h4de3k.js} +16 -16
  30. package/dist/chunks/{reference-tah2dmcr.js → mime-27xqmrb2.js} +15 -15
  31. package/dist/chunks/{reference-2a5m3afh.js → mime-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{reference-hbxrrpsy.js → mime-2at4bpy3.js} +10 -10
  33. package/dist/chunks/{reference-4ts7tf6z.js → mime-2ccvkpx1.js} +2 -2
  34. package/dist/chunks/{reference-qgn6gcr1.js → mime-2k8khapm.js} +5 -5
  35. package/dist/chunks/{reference-dcb7qyjw.js → mime-2nhfnjcw.js} +16 -16
  36. package/dist/chunks/{reference-7rpx7sq4.js → mime-2nthby9b.js} +30 -30
  37. package/dist/chunks/{reference-nhsamrrc.js → mime-2sdz7qh7.js} +48 -48
  38. package/dist/chunks/{reference-y0ty5fha.js → mime-2vdde78z.js} +9 -9
  39. package/dist/chunks/{reference-r0xwa5b9.js → mime-2wjfq3y1.js} +14 -14
  40. package/dist/chunks/{reference-83t40xbf.js → mime-31b5zmy0.js} +27 -27
  41. package/dist/chunks/{reference-s8w3rjvj.js → mime-34vqaa0j.js} +32 -32
  42. package/dist/chunks/{reference-0nde5ztd.js → mime-38adaqc0.js} +5 -5
  43. package/dist/chunks/{reference-pg4qvhje.js → mime-393wq71a.js} +25 -25
  44. package/dist/chunks/{reference-6jc1b2h3.js → mime-3ch2ac9z.js} +13 -13
  45. package/dist/chunks/{reference-3fc6dm20.js → mime-3fc6dm20.js} +1 -1
  46. package/dist/chunks/{reference-4qzt904k.js → mime-3fw4vykw.js} +33 -33
  47. package/dist/chunks/{reference-jnvd0kyr.js → mime-3h16yct6.js} +9 -9
  48. package/dist/chunks/{reference-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
  49. package/dist/chunks/{reference-g9s62h09.js → mime-3hx84xbv.js} +33 -33
  50. package/dist/chunks/{reference-q538z9pc.js → mime-3ktk39h6.js} +15 -15
  51. package/dist/chunks/{reference-mszqqr5a.js → mime-3py696r4.js} +11 -11
  52. package/dist/chunks/{reference-2zztsz65.js → mime-3qhg2zya.js} +8 -8
  53. package/dist/chunks/{reference-h4ckqw4f.js → mime-3rd28rcz.js} +11 -11
  54. package/dist/chunks/{reference-5c42fwyc.js → mime-3rz5q6jx.js} +13 -13
  55. package/dist/chunks/{reference-3smtnn6g.js → mime-3smtnn6g.js} +1 -1
  56. package/dist/chunks/{reference-rpwhq6pb.js → mime-3thfs4vd.js} +3 -3
  57. package/dist/chunks/{reference-3tvqynh2.js → mime-3tvqynh2.js} +1 -1
  58. package/dist/chunks/{reference-3zsf4n22.js → mime-3zsf4n22.js} +1 -1
  59. package/dist/chunks/{reference-vptjzd05.js → mime-43efg38y.js} +14 -14
  60. package/dist/chunks/mime-459hb6np.js +253 -0
  61. package/dist/chunks/{reference-vvx487fg.js → mime-4tamdkr5.js} +5 -5
  62. package/dist/chunks/{reference-gvt3vmzy.js → mime-4x0vy5hp.js} +5 -5
  63. package/dist/chunks/{reference-54ma36ye.js → mime-54ma36ye.js} +1 -1
  64. package/dist/chunks/{reference-cftre4vt.js → mime-564aqkfr.js} +39 -39
  65. package/dist/chunks/{reference-b64x0h7w.js → mime-58phr483.js} +70 -70
  66. package/dist/chunks/{reference-m6rwzraj.js → mime-59s0kgwy.js} +3 -3
  67. package/dist/chunks/{reference-5daktx2q.js → mime-5daktx2q.js} +1 -1
  68. package/dist/chunks/{reference-y15vpdnr.js → mime-5fb55ywp.js} +9 -9
  69. package/dist/chunks/{reference-d3tcrfr2.js → mime-5g9khqm3.js} +11 -11
  70. package/dist/chunks/{reference-mhb1xyd0.js → mime-5g9tk4c4.js} +25 -25
  71. package/dist/chunks/{reference-5m9w47nd.js → mime-5m9w47nd.js} +1 -1
  72. package/dist/chunks/{reference-zzpvks7y.js → mime-5mqyks12.js} +36 -36
  73. package/dist/chunks/{reference-5t3nmthw.js → mime-5t3nmthw.js} +2 -2
  74. package/dist/chunks/{reference-qmrj7qv4.js → mime-5wn8k982.js} +25 -25
  75. package/dist/chunks/{reference-2p2thyt8.js → mime-61zpm44j.js} +9 -9
  76. package/dist/chunks/{reference-gwzp9a94.js → mime-6540dvt1.js} +7 -7
  77. package/dist/chunks/{reference-9k28mjf9.js → mime-6cpwc79d.js} +27 -27
  78. package/dist/chunks/{reference-a8bn8zg0.js → mime-6m42r3np.js} +21 -21
  79. package/dist/chunks/{reference-6xb47vfp.js → mime-6xb47vfp.js} +1 -1
  80. package/dist/chunks/{reference-f75zav2x.js → mime-71az546q.js} +2 -2
  81. package/dist/chunks/{reference-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{reference-87jy24nc.js → mime-7hwp9pe8.js} +15 -15
  83. package/dist/chunks/{reference-4qyddrjz.js → mime-7zx1qa5e.js} +17 -17
  84. package/dist/chunks/{reference-84txncab.js → mime-84txncab.js} +1 -1
  85. package/dist/chunks/{reference-86qzxe6p.js → mime-86qzxe6p.js} +1 -1
  86. package/dist/chunks/{reference-tcezcvh9.js → mime-89znhe33.js} +4 -4
  87. package/dist/chunks/{reference-8d7r5vzw.js → mime-8d7r5vzw.js} +1 -1
  88. package/dist/chunks/{reference-fhyq4rkh.js → mime-8gxsn6kg.js} +37 -37
  89. package/dist/chunks/{reference-7sq9ks3h.js → mime-8nzt4413.js} +11 -11
  90. package/dist/chunks/{reference-prryrcpd.js → mime-93exgp6v.js} +60 -60
  91. package/dist/chunks/{reference-v9bgj935.js → mime-93ymncz8.js} +24 -24
  92. package/dist/chunks/{reference-tyvap7pe.js → mime-93z3pz9m.js} +26 -26
  93. package/dist/chunks/{reference-s3pmgr9t.js → mime-99773vnq.js} +46 -46
  94. package/dist/chunks/{reference-w62h0ejf.js → mime-9cnwn640.js} +19 -19
  95. package/dist/chunks/{reference-kb9j3d72.js → mime-9e5bzkjp.js} +3 -3
  96. package/dist/chunks/{reference-5xtgfte3.js → mime-9hn6k4tm.js} +8 -8
  97. package/dist/chunks/{reference-pj60644h.js → mime-9hyysrhy.js} +11 -11
  98. package/dist/chunks/{reference-3470gd9h.js → mime-9ne60yjh.js} +20 -20
  99. package/dist/chunks/{reference-9edtgxtv.js → mime-9pnm2vv9.js} +30 -30
  100. package/dist/chunks/{reference-ns7haffg.js → mime-9qvg3h9w.js} +89 -89
  101. package/dist/chunks/{reference-t11fnep0.js → mime-a1nag75j.js} +4 -4
  102. package/dist/chunks/{reference-aaet6srn.js → mime-aaet6srn.js} +2 -2
  103. package/dist/chunks/{reference-gqtdsdt7.js → mime-addxnjmp.js} +4 -4
  104. package/dist/chunks/{reference-cznc04wa.js → mime-aet780dh.js} +7 -7
  105. package/dist/chunks/{reference-0anetptk.js → mime-ag7r9101.js} +11 -11
  106. package/dist/chunks/{reference-sqvzcy4n.js → mime-as7cf5zz.js} +4 -4
  107. package/dist/chunks/{reference-qygbw77c.js → mime-b3f8fkhc.js} +5 -5
  108. package/dist/chunks/{reference-9vqr2gqg.js → mime-b644w2ar.js} +11 -11
  109. package/dist/chunks/{reference-b6gygkdw.js → mime-b6gygkdw.js} +2 -2
  110. package/dist/chunks/{reference-2avx1wba.js → mime-bryryzyy.js} +11 -11
  111. package/dist/chunks/{reference-gpp0brcr.js → mime-bxcw0mka.js} +10 -10
  112. package/dist/chunks/{reference-cag15tqf.js → mime-c2hscm47.js} +26 -26
  113. package/dist/chunks/{reference-hgc4p3n8.js → mime-c9e1chd6.js} +13 -13
  114. package/dist/chunks/{reference-7223d1z5.js → mime-cca1v9sb.js} +10 -10
  115. package/dist/chunks/{reference-qbe3snec.js → mime-ccdh6zge.js} +10 -10
  116. package/dist/chunks/{reference-wbtfkyzq.js → mime-cn48saaq.js} +19 -19
  117. package/dist/chunks/{reference-b7mddd13.js → mime-cs0pyha6.js} +42 -42
  118. package/dist/chunks/{reference-m4c3aw93.js → mime-d009mnpz.js} +27 -27
  119. package/dist/chunks/{reference-3g9wyfya.js → mime-d9v54453.js} +23 -23
  120. package/dist/chunks/{reference-nxm207yx.js → mime-dpkg50ah.js} +4 -4
  121. package/dist/chunks/{reference-b8cf1jne.js → mime-ds0wtj4e.js} +1 -1
  122. package/dist/chunks/{reference-ty1kjgn1.js → mime-ds77a3s3.js} +32 -32
  123. package/dist/chunks/{reference-50eqagw9.js → mime-dtm252p1.js} +5 -5
  124. package/dist/chunks/{reference-f43c2727.js → mime-dtt66365.js} +22 -22
  125. package/dist/chunks/{reference-5qd3pb7m.js → mime-e3qxr5gk.js} +2 -2
  126. package/dist/chunks/{reference-he0vrkkp.js → mime-e5ncbec4.js} +4 -4
  127. package/dist/chunks/{reference-yfs5p2ka.js → mime-e9dcgzx6.js} +4 -4
  128. package/dist/chunks/{reference-6jsvsf2v.js → mime-ea5vh3bk.js} +44 -44
  129. package/dist/chunks/{reference-ef5x83kb.js → mime-ef5x83kb.js} +1 -1
  130. package/dist/chunks/{reference-rm3eewz3.js → mime-eqdfs7ht.js} +6 -6
  131. package/dist/chunks/{reference-76kk80dz.js → mime-esfhhzdr.js} +24 -24
  132. package/dist/chunks/{reference-etq0c3wd.js → mime-etq0c3wd.js} +1 -1
  133. package/dist/chunks/{reference-1a1xd1b3.js → mime-f3cq72f8.js} +33 -33
  134. package/dist/chunks/{reference-ykw2g6qf.js → mime-f3kq77fw.js} +20 -20
  135. package/dist/chunks/{reference-xm3t5kx7.js → mime-f44mjg6h.js} +4 -4
  136. package/dist/chunks/{reference-dwajttkg.js → mime-faajnp1h.js} +8 -8
  137. package/dist/chunks/{reference-vpt24r21.js → mime-fb2y2dbg.js} +11 -11
  138. package/dist/chunks/{reference-4r3amq6s.js → mime-fd1b7pt2.js} +17 -17
  139. package/dist/chunks/{reference-3801kdgp.js → mime-fhz5gfgy.js} +5 -5
  140. package/dist/chunks/{reference-ss358qx3.js → mime-fpnx24t4.js} +3 -3
  141. package/dist/chunks/{reference-fvqj4f3c.js → mime-g530ctaj.js} +11 -11
  142. package/dist/chunks/{reference-gd4qta3r.js → mime-gd4qta3r.js} +1 -1
  143. package/dist/chunks/{reference-h5brs6ad.js → mime-gdmg3xqt.js} +18 -18
  144. package/dist/chunks/{reference-gh5z95q3.js → mime-gh5z95q3.js} +2 -2
  145. package/dist/chunks/{reference-cyya37fe.js → mime-ghcmpcfh.js} +9 -9
  146. package/dist/chunks/{reference-bzh6v3xd.js → mime-ghe998k5.js} +15 -15
  147. package/dist/chunks/{reference-6zr4h8f4.js → mime-gkhvwrqw.js} +20 -20
  148. package/dist/chunks/{reference-rrk1042z.js → mime-gphzfxhq.js} +32 -32
  149. package/dist/chunks/{reference-bpmpjnmg.js → mime-h05y6get.js} +35 -35
  150. package/dist/chunks/{reference-2wgr0bg0.js → mime-h1qnxspz.js} +32 -32
  151. package/dist/chunks/{reference-3cegwx68.js → mime-h2b79v29.js} +2 -2
  152. package/dist/chunks/{reference-p9yds72b.js → mime-h696b5ha.js} +23 -23
  153. package/dist/chunks/{reference-h6vf3j39.js → mime-h6vf3j39.js} +1 -1
  154. package/dist/chunks/{reference-0skng5dr.js → mime-h9dg90ta.js} +7 -7
  155. package/dist/chunks/{reference-rmg5xfkv.js → mime-ha65gv77.js} +17 -17
  156. package/dist/chunks/{reference-dppwmjh0.js → mime-har29xsp.js} +7 -7
  157. package/dist/chunks/{reference-bvc4cg79.js → mime-hkx83aab.js} +5 -5
  158. package/dist/chunks/{reference-scsdzjr7.js → mime-hs1x7rht.js} +12 -12
  159. package/dist/chunks/{reference-52jg0a30.js → mime-hy49mbwe.js} +12 -12
  160. package/dist/chunks/{reference-j56e64zr.js → mime-j56e64zr.js} +1 -1
  161. package/dist/chunks/{reference-0aacj8rv.js → mime-j6gcmj6w.js} +3 -3
  162. package/dist/chunks/{reference-rkekhv0x.js → mime-j9g4e7w9.js} +12 -12
  163. package/dist/chunks/{reference-ajgzqw9a.js → mime-jk8bzzjw.js} +4 -4
  164. package/dist/chunks/{reference-cfsekr6v.js → mime-jktqzjpa.js} +8 -8
  165. package/dist/chunks/{reference-jc4g2yrv.js → mime-jrc5bn6s.js} +11 -11
  166. package/dist/chunks/{reference-x0agx93m.js → mime-jskn7g1e.js} +5 -5
  167. package/dist/chunks/{reference-cvnd2j5s.js → mime-jxd6d72w.js} +3 -3
  168. package/dist/chunks/{reference-dvc89yjx.js → mime-k1qrnqst.js} +8 -8
  169. package/dist/chunks/{reference-k6tv6mb5.js → mime-k63gn3x0.js} +4 -4
  170. package/dist/chunks/{reference-sgdqa063.js → mime-kbx4g6d9.js} +35 -35
  171. package/dist/chunks/{reference-aabqg1yt.js → mime-kj8me5dh.js} +5 -5
  172. package/dist/chunks/{reference-94xjc4x3.js → mime-kn1g41v8.js} +26 -26
  173. package/dist/chunks/{reference-1et4t6yv.js → mime-ksgsjq6b.js} +25 -25
  174. package/dist/chunks/{reference-84gzjtx2.js → mime-kvvdvz0d.js} +37 -37
  175. package/dist/chunks/{reference-pqwyxwmm.js → mime-ky7drcmt.js} +13 -13
  176. package/dist/chunks/{reference-nfpgxjj6.js → mime-kz8ps502.js} +12 -12
  177. package/dist/chunks/{reference-m3fdjcah.js → mime-m3fdjcah.js} +1 -1
  178. package/dist/chunks/{reference-r8kdp16q.js → mime-m6yxcdx8.js} +32 -32
  179. package/dist/chunks/{reference-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
  180. package/dist/chunks/{reference-73tb2d7t.js → mime-mhkvc446.js} +3 -3
  181. package/dist/chunks/{reference-fpswryxc.js → mime-myn0gkp2.js} +16 -16
  182. package/dist/chunks/{reference-za77p82n.js → mime-mypwhdkk.js} +6 -6
  183. package/dist/chunks/{reference-nx7bjzyg.js → mime-mz925t54.js} +5 -5
  184. package/dist/chunks/{reference-4eekcfr3.js → mime-n11krz91.js} +42 -42
  185. package/dist/chunks/{reference-m2wppme0.js → mime-n14gvf56.js} +19 -19
  186. package/dist/chunks/{reference-8t7rhgz3.js → mime-n88acrca.js} +17 -17
  187. package/dist/chunks/{reference-bx0gyb4h.js → mime-n8vdnqrc.js} +5 -5
  188. package/dist/chunks/{reference-kvffqfe9.js → mime-na7gn6xf.js} +29 -29
  189. package/dist/chunks/{reference-jpdp1vnh.js → mime-ncj3k1yy.js} +26 -26
  190. package/dist/chunks/{reference-je2kf47w.js → mime-ndn3sg6m.js} +5 -5
  191. package/dist/chunks/{reference-tmcwaswb.js → mime-npzkpwms.js} +7 -7
  192. package/dist/chunks/{reference-61q39vzt.js → mime-p02g0fw2.js} +24 -24
  193. package/dist/chunks/{reference-by0ebg82.js → mime-p1dcwdyv.js} +26 -26
  194. package/dist/chunks/{reference-qjeyhcp2.js → mime-p1ve58ng.js} +30 -30
  195. package/dist/chunks/{reference-c5pjp08j.js → mime-p6cz1f6w.js} +19 -19
  196. package/dist/chunks/{reference-t2ykdevs.js → mime-pd812h7a.js} +8 -8
  197. package/dist/chunks/{reference-10pc31tr.js → mime-pe057h99.js} +44 -44
  198. package/dist/chunks/{reference-pakybbh2.js → mime-penzfr98.js} +19 -19
  199. package/dist/chunks/{reference-rpqbf71x.js → mime-pfcsshcq.js} +32 -32
  200. package/dist/chunks/mime-phz3h32g.js +18 -0
  201. package/dist/chunks/{reference-pjvnvgmy.js → mime-pjvnvgmy.js} +1 -1
  202. package/dist/chunks/{reference-pknna89w.js → mime-pknna89w.js} +1 -1
  203. package/dist/chunks/{reference-jnrqkn6c.js → mime-pkw6pxyw.js} +30 -30
  204. package/dist/chunks/{reference-ybdpay6p.js → mime-pzhq4eaf.js} +17 -17
  205. package/dist/chunks/{reference-04j0x0ww.js → mime-q3ersh05.js} +6 -6
  206. package/dist/chunks/{reference-nbgrff9b.js → mime-qjev0pmq.js} +6 -6
  207. package/dist/chunks/{reference-qmqgtz8f.js → mime-qmqgtz8f.js} +2 -2
  208. package/dist/chunks/{reference-qnc92qwc.js → mime-qnc92qwc.js} +1 -1
  209. package/dist/chunks/{reference-tqcqmy0z.js → mime-qreg5ges.js} +180 -180
  210. package/dist/chunks/{reference-qsdy395h.js → mime-qsdy395h.js} +1 -1
  211. package/dist/chunks/{reference-q3m1smny.js → mime-qt8b63p3.js} +18 -18
  212. package/dist/chunks/{reference-qxjc9qry.js → mime-qxjc9qry.js} +3 -3
  213. package/dist/chunks/{reference-dkg05a5w.js → mime-r7a7bxfj.js} +28 -28
  214. package/dist/chunks/{reference-nkf980df.js → mime-r8xr0va3.js} +4 -4
  215. package/dist/chunks/{reference-ftjf86m5.js → mime-r9w3djhf.js} +9 -9
  216. package/dist/chunks/{reference-rdw6cm16.js → mime-rdw6cm16.js} +1 -1
  217. package/dist/chunks/{reference-wv396vej.js → mime-rhjbct0v.js} +8 -8
  218. package/dist/chunks/{reference-vyfd576n.js → mime-rq7mwymb.js} +25 -25
  219. package/dist/chunks/{reference-d8h4y8x2.js → mime-ry36jsf7.js} +11 -11
  220. package/dist/chunks/{reference-g9y2cd3z.js → mime-s0txbpxx.js} +26 -26
  221. package/dist/chunks/{reference-gcrbmep4.js → mime-sb6an3dy.js} +7 -7
  222. package/dist/chunks/{reference-r0yjwmba.js → mime-sjq3gc3m.js} +6 -6
  223. package/dist/chunks/{reference-4dz5bemh.js → mime-spf27589.js} +4 -4
  224. package/dist/chunks/{reference-t2fc4mz5.js → mime-sxz6gkc3.js} +7 -7
  225. package/dist/chunks/{reference-rb1fbfth.js → mime-szavfcg2.js} +22 -22
  226. package/dist/chunks/{reference-b251r90g.js → mime-t4cg2ngh.js} +327 -327
  227. package/dist/chunks/{reference-tazgh4e4.js → mime-tazgh4e4.js} +1 -1
  228. package/dist/chunks/{reference-hgvy4kar.js → mime-tcqa4h8g.js} +10 -10
  229. package/dist/chunks/{reference-tdstcens.js → mime-tdstcens.js} +1 -1
  230. package/dist/chunks/{reference-h6d45qjv.js → mime-tevtjb4d.js} +18 -18
  231. package/dist/chunks/{reference-tvy4pmrp.js → mime-tgwh4g45.js} +3 -3
  232. package/dist/chunks/{reference-cq9vh2fv.js → mime-tk9ew89t.js} +8 -8
  233. package/dist/chunks/{reference-yy493xsn.js → mime-tz5y8hw2.js} +20 -20
  234. package/dist/chunks/{reference-v0es1rhs.js → mime-v0es1rhs.js} +2 -2
  235. package/dist/chunks/{reference-ag4901q7.js → mime-v1q4cba8.js} +6 -6
  236. package/dist/chunks/{reference-yaj5ebgj.js → mime-v553wp33.js} +48 -48
  237. package/dist/chunks/{reference-a3c7ahw6.js → mime-v7z2bvyd.js} +4 -4
  238. package/dist/chunks/{reference-yww0r5a3.js → mime-v9aw5k7b.js} +15 -15
  239. package/dist/chunks/{reference-gtzbc217.js → mime-va8pbtsb.js} +24 -24
  240. package/dist/chunks/{reference-bpy139ph.js → mime-vb17zyzn.js} +14 -14
  241. package/dist/chunks/{reference-veqvce7d.js → mime-veqvce7d.js} +1 -1
  242. package/dist/chunks/{reference-r656bzgr.js → mime-vjmwwnet.js} +4 -4
  243. package/dist/chunks/{reference-m39cm8ca.js → mime-vk6h2smq.js} +17 -17
  244. package/dist/chunks/{reference-05xfxpq7.js → mime-vkt5fbj2.js} +8 -8
  245. package/dist/chunks/{reference-83xsvayb.js → mime-vq5be08n.js} +3 -3
  246. package/dist/chunks/{reference-nk5qe5vz.js → mime-vqbdn0d9.js} +21 -21
  247. package/dist/chunks/{reference-tegs1ycp.js → mime-vqfzq50h.js} +6 -6
  248. package/dist/chunks/{reference-7zpbt3aj.js → mime-vw2nt98j.js} +9 -9
  249. package/dist/chunks/{reference-2mq34jqw.js → mime-vw5a0rfv.js} +2 -2
  250. package/dist/chunks/{reference-xf0nr9dv.js → mime-vxzh5eqq.js} +4 -4
  251. package/dist/chunks/{reference-y07dqpd7.js → mime-vy452p9v.js} +13 -13
  252. package/dist/chunks/{reference-vzs5sf6e.js → mime-vzs5sf6e.js} +1 -1
  253. package/dist/chunks/{reference-g5w8qwbj.js → mime-w19d8598.js} +7 -7
  254. package/dist/chunks/{reference-w39jehkq.js → mime-w2h15q85.js} +5 -5
  255. package/dist/chunks/{reference-qc6fgdwa.js → mime-w2p0hagm.js} +16 -16
  256. package/dist/chunks/{reference-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{reference-wz3q2ckh.js → mime-w4afprn7.js} +24 -24
  258. package/dist/chunks/{reference-gjnvnc4y.js → mime-wbfm5czg.js} +25 -25
  259. package/dist/chunks/{reference-wd87259q.js → mime-wd87259q.js} +1 -1
  260. package/dist/chunks/{reference-cqdnmg2r.js → mime-wpwvc70n.js} +11 -11
  261. package/dist/chunks/{reference-amzhydp5.js → mime-ws8rf1n9.js} +15 -15
  262. package/dist/chunks/{reference-xrzsv9ds.js → mime-wvy7zsan.js} +9 -9
  263. package/dist/chunks/{reference-wfb8b895.js → mime-x4aqza7e.js} +6 -6
  264. package/dist/chunks/{reference-3eescsqs.js → mime-xawtvtgk.js} +45 -45
  265. package/dist/chunks/{reference-xkntkrq7.js → mime-xkntkrq7.js} +2 -2
  266. package/dist/chunks/{reference-rk1r2hx8.js → mime-xp3fh2h7.js} +1 -1
  267. package/dist/chunks/{reference-pgp5awqq.js → mime-xz9m3t1f.js} +24 -24
  268. package/dist/chunks/{reference-y1fvbwt7.js → mime-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{reference-defjrdcv.js → mime-y5jr1bsy.js} +89 -89
  270. package/dist/chunks/{reference-7aj7xv8n.js → mime-y8j7y9g5.js} +16 -16
  271. package/dist/chunks/{reference-63db42yp.js → mime-yjspgx20.js} +2 -2
  272. package/dist/chunks/{reference-ht8cmbj4.js → mime-yqpe8af8.js} +20 -20
  273. package/dist/chunks/{reference-9angfs7f.js → mime-ywq4z9t2.js} +11 -11
  274. package/dist/chunks/{reference-1xmbdwss.js → mime-yx80kbmw.js} +5 -5
  275. package/dist/chunks/{reference-z0bkrqjs.js → mime-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{reference-db7cgdsw.js → mime-z2mbgn3s.js} +54 -54
  277. package/dist/chunks/{reference-tdw7b37v.js → mime-z92vphtz.js} +17 -17
  278. package/dist/chunks/{reference-td55a9w2.js → mime-z99td3vh.js} +23 -23
  279. package/dist/chunks/{reference-mp7381ha.js → mime-ze3jqpvg.js} +20 -20
  280. package/dist/chunks/{reference-w4xhwz3h.js → mime-zq5qms4d.js} +11 -11
  281. package/dist/chunks/{reference-zr2ceqn5.js → mime-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{reference-2eegacq4.js → mime-zrq8kphx.js} +8 -8
  283. package/dist/chunks/{reference-zxq2ej10.js → mime-zxq2ej10.js} +1 -1
  284. package/dist/chunks/{reference-6v23mrsw.js → mime-zxxyec0p.js} +11 -11
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +9 -9
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +85 -85
  290. package/dist/config/discovery.js +84 -84
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +99 -99
  293. package/dist/config/plugin/agent.js +116 -116
  294. package/dist/config/plugin/command.js +205 -205
  295. package/dist/config/plugin/compaction.js +154 -154
  296. package/dist/config/plugin/compatibility.js +134 -134
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +117 -117
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +90 -90
  301. package/dist/config/plugin/location-watcher.js +116 -116
  302. package/dist/config/plugin/mcp.js +123 -123
  303. package/dist/config/plugin/policy.js +117 -117
  304. package/dist/config/plugin/provider.js +116 -116
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +118 -118
  307. package/dist/config/plugin/skill-file.js +102 -102
  308. package/dist/config/plugin/skill.js +137 -137
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +117 -117
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +117 -117
  313. package/dist/config/plugin/worktree.js +118 -118
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +119 -119
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +85 -85
  319. package/dist/database/database.js +66 -66
  320. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +16 -16
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration.gen.js +49 -49
  385. package/dist/database/migration.js +51 -51
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +76 -76
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +363 -363
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +93 -93
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +95 -95
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +70 -70
  409. package/dist/file-access.js +104 -104
  410. package/dist/file-mutation.js +94 -94
  411. package/dist/file-retention.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/location-watcher-policy.js +2 -2
  417. package/dist/filesystem/location-watcher.js +218 -218
  418. package/dist/filesystem/protected.js +3 -3
  419. package/dist/filesystem/search.js +103 -103
  420. package/dist/filesystem/watcher-binding.js +3 -3
  421. package/dist/filesystem/watcher.js +13 -13
  422. package/dist/filesystem.js +106 -106
  423. package/dist/form.js +86 -86
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +87 -87
  426. package/dist/generate.js +105 -105
  427. package/dist/git.js +10 -10
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +99 -99
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +354 -354
  451. package/dist/instruction-discovery.js +85 -85
  452. package/dist/instructions/builtins.js +87 -87
  453. package/dist/instructions/index.js +5 -5
  454. package/dist/integration/connection.js +3 -3
  455. package/dist/integration.js +87 -87
  456. package/dist/job.js +78 -78
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +73 -73
  459. package/dist/location-activity.js +131 -131
  460. package/dist/location-lifecycle.js +107 -107
  461. package/dist/location-service-map.js +86 -86
  462. package/dist/location-services.js +351 -351
  463. package/dist/location.js +85 -85
  464. package/dist/managed-policy.js +5 -5
  465. package/dist/mcp/client.js +91 -91
  466. package/dist/mcp/index.js +107 -107
  467. package/dist/mcp/instructions.js +127 -127
  468. package/dist/mcp/oauth.js +78 -78
  469. package/dist/mcp/stdio.js +90 -90
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +99 -99
  472. package/dist/model-resolver.js +98 -98
  473. package/dist/model.js +100 -100
  474. package/dist/models-dev.js +107 -107
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +82 -82
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +117 -117
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +88 -88
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +75 -75
  484. package/dist/plugin/agent.js +102 -102
  485. package/dist/plugin/command.js +100 -100
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +211 -211
  488. package/dist/plugin/identity.js +1 -1
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +326 -326
  491. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  492. package/dist/plugin/models-dev.js +96 -96
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +4 -4
  495. package/dist/plugin/plan.js +102 -102
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  498. package/dist/plugin/provider/azure.js +115 -115
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +93 -93
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +112 -112
  505. package/dist/plugin/provider/digitalocean.js +93 -93
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/github-copilot.js +95 -95
  509. package/dist/plugin/provider/gitlab.js +93 -93
  510. package/dist/plugin/provider/google-vertex.js +90 -90
  511. package/dist/plugin/provider/kilo.js +1 -1
  512. package/dist/plugin/provider/llmgateway.js +78 -78
  513. package/dist/plugin/provider/lmstudio.js +116 -116
  514. package/dist/plugin/provider/local.js +113 -113
  515. package/dist/plugin/provider/modal.js +92 -92
  516. package/dist/plugin/provider/nvidia.js +1 -1
  517. package/dist/plugin/provider/ollama.js +116 -116
  518. package/dist/plugin/provider/openai.js +95 -95
  519. package/dist/plugin/provider/opencode.js +96 -96
  520. package/dist/plugin/provider/openrouter.js +91 -91
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +79 -79
  523. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  524. package/dist/plugin/provider/sap-ai-core.js +91 -91
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  527. package/dist/plugin/provider/vercel.js +90 -90
  528. package/dist/plugin/provider/vllm.js +116 -116
  529. package/dist/plugin/provider/xai.js +91 -91
  530. package/dist/plugin/provider/zenmux.js +1 -1
  531. package/dist/plugin/provider.js +155 -155
  532. package/dist/plugin/sdk.js +76 -76
  533. package/dist/plugin/service.js +3 -3
  534. package/dist/plugin/skill.js +132 -132
  535. package/dist/plugin/source-directory.js +1 -1
  536. package/dist/plugin/supervisor.js +345 -345
  537. package/dist/plugin/tool-input-repair.js +4 -4
  538. package/dist/plugin/update.js +6 -6
  539. package/dist/plugin/vcs/git.js +84 -84
  540. package/dist/plugin/vcs/hg.js +86 -86
  541. package/dist/plugin/verbosity.js +93 -93
  542. package/dist/plugin/warming.js +114 -114
  543. package/dist/plugin/websearch/exa.js +7 -7
  544. package/dist/plugin/websearch/firecrawl.js +6 -6
  545. package/dist/plugin/websearch/index.js +9 -9
  546. package/dist/plugin/websearch/mcp.js +2 -2
  547. package/dist/plugin/websearch/parallel.js +8 -8
  548. package/dist/plugin/websearch/tavily.js +6 -6
  549. package/dist/plugin/websearch/tinyfish.js +6 -6
  550. package/dist/plugin.js +216 -216
  551. package/dist/project/schema.js +2 -2
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +86 -86
  554. package/dist/provider.js +101 -101
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +97 -97
  558. package/dist/reference/instructions.js +89 -89
  559. package/dist/reference.js +91 -91
  560. package/dist/repository-cache.js +81 -81
  561. package/dist/repository.js +1 -1
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +97 -97
  564. package/dist/rpc.js +86 -86
  565. package/dist/schema.js +1 -1
  566. package/dist/session/affinity.js +1 -1
  567. package/dist/session/command.js +74 -74
  568. package/dist/session/compaction.js +133 -133
  569. package/dist/session/context.js +153 -153
  570. package/dist/session/diff.js +88 -88
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +7 -7
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +214 -214
  575. package/dist/session/execution.js +127 -127
  576. package/dist/session/generate.js +154 -154
  577. package/dist/session/history.js +15 -15
  578. package/dist/session/inbox.js +88 -88
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +79 -79
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +97 -97
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +120 -120
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +129 -129
  588. package/dist/session/projector.js +86 -86
  589. package/dist/session/prompt.js +105 -105
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +90 -90
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +224 -224
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +98 -98
  597. package/dist/session/runner/publish-llm-event.js +113 -113
  598. package/dist/session/runner/retry.js +4 -4
  599. package/dist/session/runner/step.js +125 -125
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +162 -162
  603. package/dist/session/shell.js +130 -130
  604. package/dist/session/skill.js +103 -103
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +73 -73
  607. package/dist/session/store.js +87 -87
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +203 -203
  610. package/dist/session/system-prompt.js +5 -5
  611. package/dist/session/title.js +157 -157
  612. package/dist/session/to-session-error.js +111 -111
  613. package/dist/session/transfer.js +210 -210
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +211 -211
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +9 -9
  620. package/dist/shell.js +132 -132
  621. package/dist/skill/discovery.js +2 -2
  622. package/dist/skill/instructions.js +105 -105
  623. package/dist/skill.js +112 -112
  624. package/dist/snapshot.js +93 -93
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +126 -126
  629. package/dist/tool/plugin/edit.js +114 -114
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +124 -124
  632. package/dist/tool/plugin/grep.js +124 -124
  633. package/dist/tool/plugin/mcp-resource.js +117 -117
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +120 -120
  636. package/dist/tool/plugin/question.js +105 -105
  637. package/dist/tool/plugin/read.js +125 -125
  638. package/dist/tool/plugin/shell.js +210 -210
  639. package/dist/tool/plugin/skill.js +113 -113
  640. package/dist/tool/plugin/subagent.js +212 -212
  641. package/dist/tool/plugin/webfetch.js +106 -106
  642. package/dist/tool/plugin/websearch.js +114 -114
  643. package/dist/tool/plugin/write.js +118 -118
  644. package/dist/tool/read-filesystem.js +100 -100
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +7 -7
  647. package/dist/tool.js +16 -16
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/git-executable.js +2 -2
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +7 -7
  658. package/dist/v1/config/command.js +5 -5
  659. package/dist/v1/config/error.js +4 -4
  660. package/dist/v1/config/mcp.js +4 -4
  661. package/dist/v1/config/migrate.js +92 -92
  662. package/dist/v1/config/permission.js +7 -7
  663. package/dist/v1/config/plugin.js +3 -3
  664. package/dist/v1/config/provider-options.js +1 -1
  665. package/dist/v1/config/provider.js +4 -4
  666. package/dist/variant.js +93 -93
  667. package/dist/vcs/patch.js +1 -1
  668. package/dist/vcs.js +89 -89
  669. package/dist/websearch.js +84 -84
  670. package/dist/wellknown/plugin.js +76 -76
  671. package/dist/wellknown.js +81 -81
  672. package/dist/workspace/driver.js +5 -5
  673. package/dist/workspace/sql.js +1 -1
  674. package/dist/workspace.js +80 -80
  675. package/dist/worktree/directory.js +2 -2
  676. package/dist/worktree/git.js +8 -8
  677. package/dist/worktree/sql.js +5 -5
  678. package/dist/worktree/strategies.js +89 -89
  679. package/dist/worktree.js +94 -94
  680. package/package.json +8 -8
  681. package/dist/chunks/reference-1sb9m88v.js +0 -253
  682. package/dist/chunks/reference-619r8v3y.js +0 -18
  683. /package/dist/chunks/{reference-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
  684. /package/dist/chunks/{reference-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
  685. /package/dist/chunks/{reference-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
  686. /package/dist/chunks/{reference-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
  687. /package/dist/chunks/{reference-1kg9ymc8.js → mime-1kg9ymc8.js} +0 -0
  688. /package/dist/chunks/{reference-24dcb14g.js → mime-24dcb14g.js} +0 -0
  689. /package/dist/chunks/{reference-2710q6r3.js → mime-2710q6r3.js} +0 -0
  690. /package/dist/chunks/{reference-2axfhc9x.js → mime-2axfhc9x.js} +0 -0
  691. /package/dist/chunks/{reference-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
  692. /package/dist/chunks/{reference-34c7v6d4.js → mime-34c7v6d4.js} +0 -0
  693. /package/dist/chunks/{reference-359p4xyc.js → mime-359p4xyc.js} +0 -0
  694. /package/dist/chunks/{reference-3asan66x.js → mime-3asan66x.js} +0 -0
  695. /package/dist/chunks/{reference-3t0ybcrp.js → mime-3t0ybcrp.js} +0 -0
  696. /package/dist/chunks/{reference-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
  697. /package/dist/chunks/{reference-3w5fmr99.js → mime-3w5fmr99.js} +0 -0
  698. /package/dist/chunks/{reference-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
  699. /package/dist/chunks/{reference-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
  700. /package/dist/chunks/{reference-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
  701. /package/dist/chunks/{reference-4vcrnpx2.js → mime-4vcrnpx2.js} +0 -0
  702. /package/dist/chunks/{reference-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
  703. /package/dist/chunks/{reference-53557ph1.js → mime-53557ph1.js} +0 -0
  704. /package/dist/chunks/{reference-550bvhaj.js → mime-550bvhaj.js} +0 -0
  705. /package/dist/chunks/{reference-6prwharc.js → mime-6prwharc.js} +0 -0
  706. /package/dist/chunks/{reference-6q2bdcd1.js → mime-6q2bdcd1.js} +0 -0
  707. /package/dist/chunks/{reference-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
  708. /package/dist/chunks/{reference-7m9af43g.js → mime-7m9af43g.js} +0 -0
  709. /package/dist/chunks/{reference-822emrt2.js → mime-822emrt2.js} +0 -0
  710. /package/dist/chunks/{reference-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
  711. /package/dist/chunks/{reference-8n3pysct.js → mime-8n3pysct.js} +0 -0
  712. /package/dist/chunks/{reference-8wj87zfr.js → mime-8wj87zfr.js} +0 -0
  713. /package/dist/chunks/{reference-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
  714. /package/dist/chunks/{reference-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
  715. /package/dist/chunks/{reference-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
  716. /package/dist/chunks/{reference-af5trqkr.js → mime-af5trqkr.js} +0 -0
  717. /package/dist/chunks/{reference-afrmfg78.js → mime-afrmfg78.js} +0 -0
  718. /package/dist/chunks/{reference-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
  719. /package/dist/chunks/{reference-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
  720. /package/dist/chunks/{reference-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
  721. /package/dist/chunks/{reference-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
  722. /package/dist/chunks/{reference-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
  723. /package/dist/chunks/{reference-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
  724. /package/dist/chunks/{reference-d9fn303g.js → mime-d9fn303g.js} +0 -0
  725. /package/dist/chunks/{reference-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
  726. /package/dist/chunks/{reference-dajrwvna.js → mime-dajrwvna.js} +0 -0
  727. /package/dist/chunks/{reference-dap0rakb.js → mime-dap0rakb.js} +0 -0
  728. /package/dist/chunks/{reference-df08tz66.js → mime-df08tz66.js} +0 -0
  729. /package/dist/chunks/{reference-dy18nga0.js → mime-dy18nga0.js} +0 -0
  730. /package/dist/chunks/{reference-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
  731. /package/dist/chunks/{reference-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
  732. /package/dist/chunks/{reference-ec1grn59.js → mime-ec1grn59.js} +0 -0
  733. /package/dist/chunks/{reference-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
  734. /package/dist/chunks/{reference-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
  735. /package/dist/chunks/{reference-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
  736. /package/dist/chunks/{reference-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
  737. /package/dist/chunks/{reference-faypxj3z.js → mime-faypxj3z.js} +0 -0
  738. /package/dist/chunks/{reference-fd410y7t.js → mime-fd410y7t.js} +0 -0
  739. /package/dist/chunks/{reference-fxgpk5d8.js → mime-fxgpk5d8.js} +0 -0
  740. /package/dist/chunks/{reference-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
  741. /package/dist/chunks/{reference-g86h250q.js → mime-g86h250q.js} +0 -0
  742. /package/dist/chunks/{reference-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
  743. /package/dist/chunks/{reference-gftt206x.js → mime-gftt206x.js} +0 -0
  744. /package/dist/chunks/{reference-hk9envan.js → mime-hk9envan.js} +0 -0
  745. /package/dist/chunks/{reference-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
  746. /package/dist/chunks/{reference-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
  747. /package/dist/chunks/{reference-jjkms2e6.js → mime-jjkms2e6.js} +0 -0
  748. /package/dist/chunks/{reference-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
  749. /package/dist/chunks/{reference-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
  750. /package/dist/chunks/{reference-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
  751. /package/dist/chunks/{reference-mp448xyj.js → mime-mp448xyj.js} +0 -0
  752. /package/dist/chunks/{reference-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
  753. /package/dist/chunks/{reference-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
  754. /package/dist/chunks/{reference-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
  755. /package/dist/chunks/{reference-njntx4h6.js → mime-njntx4h6.js} +0 -0
  756. /package/dist/chunks/{reference-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
  757. /package/dist/chunks/{reference-q74kybfr.js → mime-q74kybfr.js} +0 -0
  758. /package/dist/chunks/{reference-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
  759. /package/dist/chunks/{reference-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
  760. /package/dist/chunks/{reference-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
  761. /package/dist/chunks/{reference-qg3g05ea.js → mime-qg3g05ea.js} +0 -0
  762. /package/dist/chunks/{reference-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
  763. /package/dist/chunks/{reference-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
  764. /package/dist/chunks/{reference-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
  765. /package/dist/chunks/{reference-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
  766. /package/dist/chunks/{reference-w803qqfp.js → mime-w803qqfp.js} +0 -0
  767. /package/dist/chunks/{reference-wc3fc9cn.js → mime-wc3fc9cn.js} +0 -0
  768. /package/dist/chunks/{reference-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
  769. /package/dist/chunks/{reference-wtztk69x.js → mime-wtztk69x.js} +0 -0
  770. /package/dist/chunks/{reference-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
  771. /package/dist/chunks/{reference-x61499pn.js → mime-x61499pn.js} +0 -0
  772. /package/dist/chunks/{reference-y44na4kk.js → mime-y44na4kk.js} +0 -0
  773. /package/dist/chunks/{reference-y8cydn3q.js → mime-y8cydn3q.js} +0 -0
  774. /package/dist/chunks/{reference-y8f7s663.js → mime-y8f7s663.js} +0 -0
  775. /package/dist/chunks/{reference-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
  776. /package/dist/chunks/{reference-ym463w8f.js → mime-ym463w8f.js} +0 -0
  777. /package/dist/chunks/{reference-z5v4ffb3.js → mime-z5v4ffb3.js} +0 -0
  778. /package/dist/chunks/{reference-z9919s4g.js → mime-z9919s4g.js} +0 -0
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  useragent2
3
- } from "./reference-w4xhwz3h.js";
3
+ } from "./mime-zq5qms4d.js";
4
4
  import {
5
5
  Service83
6
- } from "./reference-he0vrkkp.js";
6
+ } from "./mime-e5ncbec4.js";
7
7
  import {
8
8
  OAuth3,
9
- Event16
10
- } from "./reference-9edtgxtv.js";
9
+ Event20
10
+ } from "./mime-9pnm2vv9.js";
11
11
  import {
12
- ID9,
12
+ ID14,
13
13
  MethodID2
14
- } from "./reference-jnrqkn6c.js";
14
+ } from "./mime-pkw6pxyw.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./reference-pjvnvgmy.js";
18
+ } from "./mime-pjvnvgmy.js";
19
19
  import {
20
- ID8,
20
+ ID13,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./reference-rrk1042z.js";
23
+ } from "./mime-gphzfxhq.js";
24
24
  import {
25
25
  get5
26
- } from "./reference-54ma36ye.js";
26
+ } from "./mime-54ma36ye.js";
27
27
 
28
28
  // src/plugin/provider/openai.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
@@ -47,7 +47,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
47
47
  }));
48
48
  var decodeClaims = Schema.decodeUnknownOption(Claims);
49
49
  var browser = (app) => ({
50
- integrationID: ID9.make("openai"),
50
+ integrationID: ID14.make("openai"),
51
51
  method: {
52
52
  id: browserMethodID,
53
53
  type: "oauth",
@@ -120,7 +120,7 @@ function addressInUse(error) {
120
120
  return "code" in error && error.code === "EADDRINUSE";
121
121
  }
122
122
  var headless = (app) => ({
123
- integrationID: ID9.make("openai"),
123
+ integrationID: ID14.make("openai"),
124
124
  method: {
125
125
  id: headlessMethodID,
126
126
  type: "oauth",
@@ -162,7 +162,7 @@ var headless = (app) => ({
162
162
  }),
163
163
  refresh: (value) => refresh(headlessMethodID, value, app)
164
164
  });
165
- var OpenAIPlugin2 = define({
165
+ var OpenAIPlugin3 = define({
166
166
  id: "opencode.provider.openai",
167
167
  effect: Effect.fn(function* (ctx) {
168
168
  const bus = yield* Service83;
@@ -181,7 +181,7 @@ var OpenAIPlugin2 = define({
181
181
  });
182
182
  yield* load();
183
183
  yield* ctx.provider.transform((providers) => {
184
- const item = providers.get(ID8.openai);
184
+ const item = providers.get(ID13.openai);
185
185
  if (!item)
186
186
  return;
187
187
  const account = chatgpt?.metadata?.accountID;
@@ -200,7 +200,7 @@ var OpenAIPlugin2 = define({
200
200
  });
201
201
  });
202
202
  yield* ctx.model.transform((models) => {
203
- for (const model of models.list(ID8.openai)) {
203
+ for (const model of models.list(ID13.openai)) {
204
204
  models.update(model.providerID, model.id, (draft) => {
205
205
  if (!chatgpt)
206
206
  return;
@@ -231,14 +231,14 @@ var OpenAIPlugin2 = define({
231
231
  }));
232
232
  evt.headers.originator = "opencode";
233
233
  evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
234
- }), { providerID: ID8.openai });
234
+ }), { providerID: ID13.openai });
235
235
  const omitOutputLimit = (evt) => Effect.sync(() => {
236
236
  delete evt.options.maxTokens;
237
237
  });
238
238
  for (const name of ["context", "compaction"])
239
- yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID8.openai });
239
+ yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID13.openai });
240
240
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
241
- yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
241
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
242
242
  })
243
243
  });
244
244
  function headers(contentType, app) {
@@ -329,4 +329,4 @@ function claim(token) {
329
329
  return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
330
330
  }
331
331
 
332
- export { OpenAIPlugin2 };
332
+ export { OpenAIPlugin3 };
@@ -1,55 +1,55 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./reference-z5v4ffb3.js";
4
+ } from "./mime-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
+ Service82,
9
+ node86
10
+ } from "./mime-hs1x7rht.js";
11
+ import {
8
12
  Service80,
9
13
  node84
10
- } from "./reference-scsdzjr7.js";
11
- import {
12
- Service78,
13
- node82
14
- } from "./reference-r0xwa5b9.js";
14
+ } from "./mime-2wjfq3y1.js";
15
15
  import {
16
16
  create3
17
- } from "./reference-rdw6cm16.js";
17
+ } from "./mime-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./reference-9rqn6x4v.js";
20
+ } from "./mime-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error4,
26
- ID: () => ID5,
27
- Service: () => Service49,
25
+ Error: () => Error3,
26
+ ID: () => ID9,
27
+ Service: () => Service65,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node53,
30
- noopLayer: () => noopLayer2
29
+ node: () => node68,
30
+ noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID5 } from "@opencode/schema/snapshot";
37
+ import { ID as ID9 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error4 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service49 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service65 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service49, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service65, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service80;
50
+ const git = yield* Service82;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service78;
52
+ const location = yield* Service80;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID5.make(yield* git.tree.capture({
85
+ return ID9.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service49.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service65.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node53 = makeLocationNode({
144
- service: Service49,
143
+ var node68 = makeLocationNode({
144
+ service: Service65,
145
145
  layer,
146
- deps: [FSUtil.node, node84, Global.node, node82]
146
+ deps: [FSUtil.node, node86, Global.node, node84]
147
147
  });
148
- var noopLayer2 = Layer.succeed(Service49, Service49.of({
148
+ var noopLayer3 = Layer.succeed(Service65, Service65.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service49, Service49.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error4 && cause.operation === operation)
157
+ if (cause instanceof Error3 && cause.operation === operation)
158
158
  return cause;
159
- return new Error4({
159
+ return new Error3({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID5, Error4, Service49, node53, noopLayer2, exports_snapshot2 };
166
+ export { ID9, Error3, Service65, node68, noopLayer3, exports_snapshot2 };
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./mime-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service23,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service23 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service23.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service23, awaitActivation2, exports_service };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./reference-9rqn6x4v.js";
3
+ } from "./mime-9rqn6x4v.js";
4
4
 
5
5
  // src/oauth/page.ts
6
6
  var exports_page = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./reference-qfa1cgps.js";
3
+ } from "./mime-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./reference-he0vrkkp.js";
4
+ } from "./mime-e5ncbec4.js";
5
5
  import {
6
- Key3,
7
- Service70,
8
- node74
9
- } from "./reference-9edtgxtv.js";
6
+ Key4,
7
+ Service78,
8
+ node82
9
+ } from "./mime-9pnm2vv9.js";
10
10
  import {
11
11
  create3
12
- } from "./reference-rdw6cm16.js";
12
+ } from "./mime-rdw6cm16.js";
13
13
  import {
14
14
  key2
15
- } from "./reference-gqtdsdt7.js";
15
+ } from "./mime-addxnjmp.js";
16
16
  import {
17
17
  validateAnswer2,
18
18
  validateFields2
19
- } from "./reference-f3bkb0dd.js";
19
+ } from "./mime-0yzyde6c.js";
20
20
  import {
21
21
  __export
22
- } from "./reference-9rqn6x4v.js";
22
+ } from "./mime-9rqn6x4v.js";
23
23
 
24
24
  // src/integration.ts
25
25
  var exports_integration = {};
@@ -34,17 +34,17 @@ __export(exports_integration, {
34
34
  CommandAttemptStatus: () => CommandAttemptStatus2,
35
35
  CommandMethod: () => CommandMethod2,
36
36
  EnvMethod: () => EnvMethod2,
37
- Event: () => Event15,
38
- ID: () => ID9,
39
- Info: () => Info18,
37
+ Event: () => Event18,
38
+ ID: () => ID14,
39
+ Info: () => Info23,
40
40
  Integration: () => exports_integration,
41
41
  KeyMethod: () => KeyMethod2,
42
42
  Method: () => Method2,
43
43
  MethodID: () => MethodID2,
44
44
  OAuthMethod: () => OAuthMethod2,
45
45
  Ref: () => Ref3,
46
- Service: () => Service69,
47
- node: () => node73
46
+ Service: () => Service76,
47
+ node: () => node80
48
48
  });
49
49
  import { makeLocationNode } from "@opencode/util/effect/app-node";
50
50
  import {
@@ -66,8 +66,8 @@ import {
66
66
  import { Integration } from "@opencode/schema/integration";
67
67
  import { AppProcess } from "@opencode/util/process";
68
68
  import { ChildProcess } from "effect/unstable/process";
69
- import { Event as Event15 } from "@opencode/schema/integration";
70
- var ID9 = Integration.ID;
69
+ import { Event as Event18 } from "@opencode/schema/integration";
70
+ var ID14 = Integration.ID;
71
71
  var MethodID2 = Integration.MethodID;
72
72
  var AttemptID2 = Integration.AttemptID;
73
73
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -75,7 +75,7 @@ var CommandMethod2 = Integration.CommandMethod;
75
75
  var KeyMethod2 = Integration.KeyMethod;
76
76
  var EnvMethod2 = Integration.EnvMethod;
77
77
  var Method2 = Integration.Method;
78
- var Info18 = Integration.Info;
78
+ var Info23 = Integration.Info;
79
79
  var Attempt2 = Integration.Attempt;
80
80
  var AttemptStatus2 = Integration.AttemptStatus;
81
81
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -98,19 +98,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
98
98
  }
99
99
 
100
100
  class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
101
- integrationID: ID9,
101
+ integrationID: ID14,
102
102
  attemptID: AttemptID2
103
103
  }) {
104
104
  }
105
105
  var Ref3 = Integration.Ref;
106
106
 
107
- class Service69 extends Context.Service()("@opencode/Integration") {
107
+ class Service76 extends Context.Service()("@opencode/Integration") {
108
108
  }
109
109
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
110
110
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
111
111
  var scrubInterval = Duration.seconds(30);
112
- var layer = Layer.effect(Service69, Effect.gen(function* () {
113
- const credentials = yield* Service70;
112
+ var layer = Layer.effect(Service76, Effect.gen(function* () {
113
+ const credentials = yield* Service78;
114
114
  const bus = yield* Service83;
115
115
  const processes = yield* AppProcess.Service;
116
116
  const scope = yield* Scope.Scope;
@@ -207,7 +207,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
207
207
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
208
208
  return [...credentials, ...env];
209
209
  };
210
- const project = (entry, connections) => Info18.make({
210
+ const project = (entry, connections) => Info23.make({
211
211
  id: entry.ref.id,
212
212
  name: entry.ref.name,
213
213
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -294,7 +294,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
294
294
  const persistence = yield* createCredential({
295
295
  integrationID: attempt.integrationID,
296
296
  label: attempt.label,
297
- value: Key3.make({ type: "key", key: exit.value })
297
+ value: Key4.make({ type: "key", key: exit.value })
298
298
  }).pipe(Effect.asVoid, Effect.exit);
299
299
  const settledAt = yield* Clock.currentTimeMillis;
300
300
  const terminal = Exit.isSuccess(persistence) ? {
@@ -440,7 +440,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
440
440
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
441
441
  return CommandAttempt2.make({ attemptID, time });
442
442
  });
443
- return Service69.of({
443
+ return Service76.of({
444
444
  transform: state.transform,
445
445
  reload: state.reload,
446
446
  revision: state.revision,
@@ -462,7 +462,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
462
462
  resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
463
463
  if (connection.type === "env") {
464
464
  const key = process.env[connection.name];
465
- return key ? Key3.make({ type: "key", key }) : undefined;
465
+ return key ? Key4.make({ type: "key", key }) : undefined;
466
466
  }
467
467
  const credential = yield* credentials.get(connection.id);
468
468
  if (!credential)
@@ -495,7 +495,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
495
495
  yield* createCredential({
496
496
  integrationID: input.integrationID,
497
497
  label: input.label,
498
- value: Key3.make({
498
+ value: Key4.make({
499
499
  type: "key",
500
500
  key: input.key,
501
501
  ...Object.keys(answer).length > 0 ? { configuration: answer } : {}
@@ -599,10 +599,10 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
599
599
  }
600
600
  });
601
601
  }));
602
- var node73 = makeLocationNode({
603
- service: Service69,
602
+ var node80 = makeLocationNode({
603
+ service: Service76,
604
604
  layer,
605
- deps: [node74, node87, AppProcess.node]
605
+ deps: [node82, node87, AppProcess.node]
606
606
  });
607
607
 
608
- export { ID9, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info18, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service69, node73, exports_integration, Event15 };
608
+ export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info23, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service76, node80, exports_integration, Event18 };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  useragent2
3
- } from "./reference-w4xhwz3h.js";
3
+ } from "./mime-zq5qms4d.js";
4
4
  import {
5
5
  Service83
6
- } from "./reference-he0vrkkp.js";
6
+ } from "./mime-e5ncbec4.js";
7
7
  import {
8
8
  OAuth3,
9
- Event16,
10
- Service70
11
- } from "./reference-9edtgxtv.js";
9
+ Event20,
10
+ Service78
11
+ } from "./mime-9pnm2vv9.js";
12
12
  import {
13
- ID9,
13
+ ID14,
14
14
  MethodID2,
15
- Service69
16
- } from "./reference-jnrqkn6c.js";
15
+ Service76
16
+ } from "./mime-pkw6pxyw.js";
17
17
  import {
18
18
  success2,
19
19
  error2
20
- } from "./reference-pjvnvgmy.js";
20
+ } from "./mime-pjvnvgmy.js";
21
21
  import {
22
- ID8
23
- } from "./reference-rrk1042z.js";
22
+ ID13
23
+ } from "./mime-gphzfxhq.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./reference-ag4901q7.js";
26
+ } from "./mime-v1q4cba8.js";
27
27
 
28
28
  // src/plugin/provider/snowflake-cortex.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
30
30
  import { Form } from "@opencode/schema/form";
31
31
  import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
32
32
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
33
- var providerID = ID8.make("snowflake-cortex");
34
- var integrationID = ID9.make(providerID);
33
+ var providerID = ID13.make("snowflake-cortex");
34
+ var integrationID = ID14.make(providerID);
35
35
  var methodID = MethodID2.make("browser");
36
36
  var clientID = "LOCAL_APPLICATION";
37
37
  var accountForm = Form.Fields.make([
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
53
53
  id: "opencode.provider.snowflake.cortex",
54
54
  effect: Effect.fn(function* (ctx) {
55
55
  const http = yield* HttpClient.HttpClient;
56
- const credentials = yield* Service70;
57
- const integrations = yield* Service69;
56
+ const credentials = yield* Service78;
57
+ const integrations = yield* Service76;
58
58
  const bus = yield* Service83;
59
59
  const configured = yield* configuredSettings2(providerID);
60
60
  const account = { value: "" };
@@ -184,7 +184,7 @@ var SnowflakeCortexPlugin2 = define({
184
184
  });
185
185
  }
186
186
  });
187
- yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
187
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
188
188
  yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
189
189
  const token = envToken();
190
190
  if (token)
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./reference-9rqn6x4v.js";
3
+ } from "./mime-9rqn6x4v.js";
4
4
 
5
5
  // src/workspace/driver.ts
6
6
  var exports_driver = {};
@@ -10,8 +10,8 @@ __export(exports_driver, {
10
10
  ProviderNotFound: () => ProviderNotFound2,
11
11
  RegistryService: () => RegistryService2,
12
12
  WorkspaceDriver: () => exports_driver,
13
- make: () => make18,
14
- node: () => node58,
13
+ make: () => make22,
14
+ node: () => node74,
15
15
  registry: () => registry2,
16
16
  registryNode: () => registryNode2
17
17
  });
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
29
29
  provider: Schema.String
30
30
  }) {
31
31
  }
32
- var make18 = (driver) => driver;
32
+ var make22 = (driver) => driver;
33
33
 
34
34
  class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
35
35
  }
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
44
44
  layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
45
45
  deps: []
46
46
  });
47
- var node58 = registryNode2({});
47
+ var node74 = registryNode2({});
48
48
 
49
- export { Binding2, Error5, ProviderNotFound2, make18, RegistryService2, registry2, registryNode2, node58, exports_driver };
49
+ export { Binding2, Error5, ProviderNotFound2, make22, RegistryService2, registry2, registryNode2, node74, exports_driver };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  aisdk2
3
- } from "./reference-rrk1042z.js";
3
+ } from "./mime-gphzfxhq.js";
4
4
  import {
5
5
  VariantID2
6
- } from "./reference-yt62qj12.js";
6
+ } from "./mime-04mq6ee8.js";
7
7
  import {
8
8
  __export
9
- } from "./reference-9rqn6x4v.js";
9
+ } from "./mime-9rqn6x4v.js";
10
10
 
11
11
  // src/variant.ts
12
12
  var exports_variant = {};
13
13
  __export(exports_variant, {
14
14
  Variant: () => exports_variant,
15
- resolve: () => resolve2
15
+ resolve: () => resolve4
16
16
  });
17
- function resolve2(model, supports = [{ type: "effort" }]) {
17
+ function resolve4(model, supports = [{ type: "effort" }]) {
18
18
  const protocol = model.package === undefined ? undefined : PROTOCOLS[model.package];
19
19
  if (!protocol)
20
20
  return [];
@@ -530,4 +530,4 @@ var PROTOCOLS = {
530
530
  [aisdk2("gitlab-ai-provider")]: gitlab
531
531
  };
532
532
 
533
- export { resolve2, exports_variant };
533
+ export { resolve4, exports_variant };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  create3
3
- } from "./reference-rdw6cm16.js";
3
+ } from "./mime-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./reference-9rqn6x4v.js";
6
+ } from "./mime-9rqn6x4v.js";
7
7
 
8
8
  // src/filesystem/location-watcher-policy.ts
9
9
  var exports_location_watcher_policy = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./reference-z5v4ffb3.js";
3
+ } from "./mime-z5v4ffb3.js";
4
4
 
5
5
  // src/database/path.ts
6
6
  import nodePath from "path";