@opencode/core 0.0.0-dev-20659 → 0.0.0-dev-20661

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 (780) 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 +7 -7
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{git-9mdv1d98.js → repository-043vq6jw.js} +7 -7
  8. package/dist/chunks/{git-57vd24f3.js → repository-0618chc0.js} +8 -8
  9. package/dist/chunks/{git-kpde0a2c.js → repository-07bwtgn1.js} +17 -17
  10. package/dist/chunks/{git-ggevdayx.js → repository-0kfggb32.js} +4 -4
  11. package/dist/chunks/{git-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{git-2k9fjx65.js → repository-0r3c1bmw.js} +5 -5
  13. package/dist/chunks/{git-8vy6cwnw.js → repository-0szg9e3a.js} +9 -9
  14. package/dist/chunks/{git-zn3xdhgm.js → repository-0te6a63x.js} +4 -4
  15. package/dist/chunks/{git-0vbcp93d.js → repository-0vbcp93d.js} +2 -2
  16. package/dist/chunks/{git-g1sxm558.js → repository-0xezjjjn.js} +8 -8
  17. package/dist/chunks/{git-h6310vsd.js → repository-0xqyf95c.js} +4 -4
  18. package/dist/chunks/{git-vs1y934m.js → repository-106g6zzb.js} +17 -17
  19. package/dist/chunks/{git-fdm4t8z9.js → repository-10h4ddzz.js} +13 -13
  20. package/dist/chunks/{git-wb9cfjnb.js → repository-10r6pp2x.js} +15 -15
  21. package/dist/chunks/{git-040b8ymy.js → repository-16f7tttd.js} +6 -6
  22. package/dist/chunks/{git-njerjs8t.js → repository-18g4yb7e.js} +26 -26
  23. package/dist/chunks/{git-yp2x3t23.js → repository-1acjjqhc.js} +4 -4
  24. package/dist/chunks/{git-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
  25. package/dist/chunks/{git-1dvck2a7.js → repository-1dvck2a7.js} +2 -2
  26. package/dist/chunks/{git-s5qxm7c2.js → repository-1ghf8zs3.js} +11 -11
  27. package/dist/chunks/{git-e6hqwnjd.js → repository-1pt39jfx.js} +9 -9
  28. package/dist/chunks/{git-3vpcsz7z.js → repository-1sb13fhj.js} +25 -25
  29. package/dist/chunks/{git-mf2m4y29.js → repository-205k8jhr.js} +35 -35
  30. package/dist/chunks/{git-v1tq3pwz.js → repository-21jd8v9m.js} +22 -22
  31. package/dist/chunks/{git-76ewd06k.js → repository-27b211kq.js} +3 -3
  32. package/dist/chunks/{git-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
  33. package/dist/chunks/{git-1j8ev5c3.js → repository-2f8h2t77.js} +24 -24
  34. package/dist/chunks/{git-v8825gx8.js → repository-2jnxrbr3.js} +10 -10
  35. package/dist/chunks/{git-rrjhvgg4.js → repository-2jpa8mfg.js} +13 -13
  36. package/dist/chunks/{git-1f2q55ad.js → repository-2na9pj0b.js} +33 -33
  37. package/dist/chunks/{git-73apqjm5.js → repository-2vn93ng9.js} +13 -13
  38. package/dist/chunks/{git-tnsjdj53.js → repository-301v9tya.js} +21 -21
  39. package/dist/chunks/{git-rwsmtxp6.js → repository-32pp5s05.js} +1 -1
  40. package/dist/chunks/{git-1ygqh575.js → repository-33w4ejhs.js} +6 -6
  41. package/dist/chunks/{git-nr6gcs3w.js → repository-379b4hhp.js} +8 -8
  42. package/dist/chunks/{git-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
  43. package/dist/chunks/{git-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
  44. package/dist/chunks/{git-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{git-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{git-3zsf4n22.js → repository-3zsf4n22.js} +1 -1
  47. package/dist/chunks/{git-vk7prk4h.js → repository-40gcpxzn.js} +28 -28
  48. package/dist/chunks/{git-9pa8tak9.js → repository-4a2kvcyx.js} +2 -2
  49. package/dist/chunks/{git-n915pjdp.js → repository-4b9xfex1.js} +18 -18
  50. package/dist/chunks/{git-n3qqcskk.js → repository-4mg116vk.js} +29 -29
  51. package/dist/chunks/{git-qj64m8dx.js → repository-4pm1k6b6.js} +4 -4
  52. package/dist/chunks/{git-ej71bdfb.js → repository-4sb6t3m1.js} +47 -47
  53. package/dist/chunks/{git-2ccvkpx1.js → repository-4ts7tf6z.js} +2 -2
  54. package/dist/chunks/{git-aryft9f9.js → repository-4ya93pvd.js} +37 -37
  55. package/dist/chunks/{git-cs0f06fr.js → repository-4zfp2qta.js} +19 -19
  56. package/dist/chunks/{git-qs9cg63q.js → repository-4zws30q5.js} +18 -18
  57. package/dist/chunks/{git-xbs48zfb.js → repository-537jbssw.js} +53 -53
  58. package/dist/chunks/{git-54ma36ye.js → repository-54ma36ye.js} +1 -1
  59. package/dist/chunks/{git-afj4khrd.js → repository-551p5xfx.js} +29 -29
  60. package/dist/chunks/{git-rj7j44bj.js → repository-573jdjzy.js} +4 -4
  61. package/dist/chunks/{git-5daktx2q.js → repository-5daktx2q.js} +1 -1
  62. package/dist/chunks/{git-kw7v3js8.js → repository-5g6sbyxh.js} +24 -24
  63. package/dist/chunks/{git-73119sgt.js → repository-5j13w0pe.js} +22 -22
  64. package/dist/chunks/{git-5m9w47nd.js → repository-5m9w47nd.js} +1 -1
  65. package/dist/chunks/{git-em4qz8cs.js → repository-5meya16s.js} +10 -10
  66. package/dist/chunks/{git-e3qxr5gk.js → repository-5qd3pb7m.js} +2 -2
  67. package/dist/chunks/{git-6xkwkya9.js → repository-5rrf9qge.js} +12 -12
  68. package/dist/chunks/{git-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
  69. package/dist/chunks/{git-ykq2zx65.js → repository-5za7wpg2.js} +15 -15
  70. package/dist/chunks/{git-2336b01z.js → repository-64s65d1n.js} +8 -8
  71. package/dist/chunks/{git-qdhh749w.js → repository-6cpse6c2.js} +13 -13
  72. package/dist/chunks/{git-nd73648e.js → repository-6h5736te.js} +32 -32
  73. package/dist/chunks/{git-h9jvq6n0.js → repository-6hvm7cgx.js} +10 -10
  74. package/dist/chunks/{git-nkh99vgj.js → repository-6sxn0fyv.js} +15 -15
  75. package/dist/chunks/{git-6g7e4dd5.js → repository-6wjv80df.js} +9 -9
  76. package/dist/chunks/{git-6xb47vfp.js → repository-6xb47vfp.js} +1 -1
  77. package/dist/chunks/{git-71az546q.js → repository-71az546q.js} +2 -2
  78. package/dist/chunks/{git-c8s4yex5.js → repository-748da515.js} +17 -17
  79. package/dist/chunks/{git-14grjhb4.js → repository-74zds2q2.js} +38 -38
  80. package/dist/chunks/{git-bzt0dk37.js → repository-7ahbtrex.js} +26 -26
  81. package/dist/chunks/{git-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{git-2m6x7dk2.js → repository-7c7bareq.js} +23 -23
  83. package/dist/chunks/{git-2p5y98w0.js → repository-7ge4ak7p.js} +6 -6
  84. package/dist/chunks/{git-cfx504ks.js → repository-7kwx6gx2.js} +18 -18
  85. package/dist/chunks/{git-td93javk.js → repository-7n7v53sw.js} +9 -9
  86. package/dist/chunks/{git-qb9x4qxp.js → repository-7zrsqeap.js} +41 -41
  87. package/dist/chunks/{git-yj5m20h0.js → repository-8a6ws7jr.js} +9 -9
  88. package/dist/chunks/{git-41bfxxgf.js → repository-8b9545xm.js} +33 -33
  89. package/dist/chunks/{git-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
  90. package/dist/chunks/{git-vgepzxbh.js → repository-8qvzptz7.js} +4 -4
  91. package/dist/chunks/{git-bsbz52zb.js → repository-8t72k94d.js} +18 -18
  92. package/dist/chunks/{git-q6jj9914.js → repository-8vwp8w5g.js} +21 -21
  93. package/dist/chunks/{git-q3gb2bnw.js → repository-94heg7e8.js} +26 -26
  94. package/dist/chunks/{git-9e5bzkjp.js → repository-9e5bzkjp.js} +3 -3
  95. package/dist/chunks/{git-zyc72cgf.js → repository-9gaqynqt.js} +3 -3
  96. package/dist/chunks/{git-avae2qkj.js → repository-9k8khh75.js} +12 -12
  97. package/dist/chunks/{git-ey7wydsb.js → repository-9r8ns7n8.js} +27 -27
  98. package/dist/chunks/repository-9sh4wc5j.js +18 -0
  99. package/dist/chunks/{git-gyn5n75h.js → repository-9vk7ehay.js} +9 -9
  100. package/dist/chunks/{git-rrt2er56.js → repository-9z6cmhkq.js} +3 -3
  101. package/dist/chunks/{git-73tb2d7t.js → repository-a1gpj94z.js} +3 -3
  102. package/dist/chunks/{git-56qj8wan.js → repository-a1pv9e77.js} +5 -5
  103. package/dist/chunks/{git-aaet6srn.js → repository-aaet6srn.js} +2 -2
  104. package/dist/chunks/{git-ydqznnpe.js → repository-ach6z8vh.js} +4 -4
  105. package/dist/chunks/{git-d1f3pbt1.js → repository-afr26chb.js} +8 -8
  106. package/dist/chunks/{git-9ptry7h8.js → repository-afssb52c.js} +1 -1
  107. package/dist/chunks/{git-4mvz68vy.js → repository-ahx40rxf.js} +31 -31
  108. package/dist/chunks/{git-mtgw43mt.js → repository-an4d28vr.js} +17 -17
  109. package/dist/chunks/{git-kkkysjtm.js → repository-atxy8ykf.js} +17 -17
  110. package/dist/chunks/{git-9ttbk61r.js → repository-az7tb05h.js} +26 -26
  111. package/dist/chunks/{git-ckxxahkn.js → repository-b1ajvfw3.js} +19 -19
  112. package/dist/chunks/{git-py3kkmfq.js → repository-b4twkq7r.js} +6 -6
  113. package/dist/chunks/{git-rr03d8em.js → repository-b513f556.js} +15 -15
  114. package/dist/chunks/{git-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
  115. package/dist/chunks/{git-73nkehxt.js → repository-bce8mqt3.js} +8 -8
  116. package/dist/chunks/{git-mpyd4te8.js → repository-benv41rp.js} +9 -9
  117. package/dist/chunks/repository-bj0bcwj5.js +26 -0
  118. package/dist/chunks/{git-00vxkvj8.js → repository-btcfg8pa.js} +12 -12
  119. package/dist/chunks/{git-143qq2q9.js → repository-btfhnvjh.js} +3 -3
  120. package/dist/chunks/{git-qzexb7dd.js → repository-bvjh5av3.js} +10 -10
  121. package/dist/chunks/{git-e8tr3786.js → repository-ccdkjy5j.js} +31 -31
  122. package/dist/chunks/{git-p0wjgz8v.js → repository-ceb6shg2.js} +9 -9
  123. package/dist/chunks/{git-tftvtmn6.js → repository-cm3vhcv0.js} +30 -30
  124. package/dist/chunks/{git-9ppqf0fm.js → repository-crvx6mgt.js} +23 -23
  125. package/dist/chunks/{git-qmqgtz8f.js → repository-cwa6csj7.js} +9 -9
  126. package/dist/chunks/{git-egnnm4z4.js → repository-cyfxky51.js} +36 -36
  127. package/dist/chunks/{git-p45atnv4.js → repository-d0zee6yx.js} +12 -12
  128. package/dist/chunks/{git-gtczcmth.js → repository-d1t6tc1e.js} +3 -3
  129. package/dist/chunks/{git-0zghx38h.js → repository-d29nyfm4.js} +9 -9
  130. package/dist/chunks/{git-rjw6hp1j.js → repository-d9kqsdy4.js} +23 -23
  131. package/dist/chunks/{git-d3c6y7f2.js → repository-dax2f43k.js} +88 -88
  132. package/dist/chunks/{git-x661k3y3.js → repository-dgpsrprm.js} +4 -4
  133. package/dist/chunks/{git-ph842b28.js → repository-dj68pnee.js} +4 -4
  134. package/dist/chunks/{git-jcm1ap69.js → repository-dmqk4yfk.js} +8 -8
  135. package/dist/chunks/{git-9bde0dy1.js → repository-dnz8myac.js} +11 -11
  136. package/dist/chunks/{git-y71avatq.js → repository-dpkg50ah.js} +4 -4
  137. package/dist/chunks/{git-vvwn34gm.js → repository-dxr8fvgz.js} +23 -23
  138. package/dist/chunks/{git-7pd5pffv.js → repository-e5p55b06.js} +9 -9
  139. package/dist/chunks/{git-1ykawk59.js → repository-e7fm67xs.js} +30 -30
  140. package/dist/chunks/{git-dyc3kv56.js → repository-ea0ampwz.js} +11 -11
  141. package/dist/chunks/{git-wz33qg6p.js → repository-eakgj8q2.js} +41 -41
  142. package/dist/chunks/{git-gjbzw0xs.js → repository-ecmranas.js} +2 -2
  143. package/dist/chunks/{git-ef5x83kb.js → repository-ef5x83kb.js} +1 -1
  144. package/dist/chunks/{git-gz56ec1j.js → repository-eqbnvekh.js} +45 -45
  145. package/dist/chunks/{git-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
  146. package/dist/chunks/{git-ag7334sc.js → repository-ey6rfqvz.js} +11 -11
  147. package/dist/chunks/{git-98f0fqab.js → repository-f1ry7jgz.js} +24 -24
  148. package/dist/chunks/{git-ncp83wn6.js → repository-f4bkz93y.js} +28 -28
  149. package/dist/chunks/{git-a3zqsen4.js → repository-fbtna4cy.js} +42 -42
  150. package/dist/chunks/{git-fcrkznn8.js → repository-fcrkznn8.js} +1 -1
  151. package/dist/chunks/{git-13kfw95c.js → repository-fwj22sb9.js} +11 -11
  152. package/dist/chunks/{git-hc1902wk.js → repository-fxgyesrr.js} +12 -12
  153. package/dist/chunks/{git-dqp200sx.js → repository-fxkzw5w5.js} +18 -18
  154. package/dist/chunks/{git-5yzzbxa7.js → repository-g0445xdp.js} +8 -8
  155. package/dist/chunks/{git-q2m05hzt.js → repository-g5pr0hqg.js} +5 -5
  156. package/dist/chunks/{git-xfkkasph.js → repository-g5w8qwbj.js} +4 -4
  157. package/dist/chunks/{git-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
  158. package/dist/chunks/{git-taaecmrd.js → repository-ggmrdx7v.js} +8 -8
  159. package/dist/chunks/{git-tc14gx3q.js → repository-gmmdfr2g.js} +11 -11
  160. package/dist/chunks/{git-b2jc1z43.js → repository-gpjhh13y.js} +14 -14
  161. package/dist/chunks/{git-7gd3hzpr.js → repository-grs6z2v9.js} +21 -21
  162. package/dist/chunks/{git-h2b79v29.js → repository-h2b79v29.js} +2 -2
  163. package/dist/chunks/{git-7wqm39p3.js → repository-h3g0cwjn.js} +10 -10
  164. package/dist/chunks/{git-k18ytf7m.js → repository-h6nxw0pd.js} +6 -6
  165. package/dist/chunks/{git-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
  166. package/dist/chunks/{git-h2wp1rwf.js → repository-h79eb4wf.js} +27 -27
  167. package/dist/chunks/{git-g5kmhmn4.js → repository-h7sfwyf5.js} +11 -11
  168. package/dist/chunks/{git-nbw2xxtv.js → repository-he1ycz2s.js} +7 -7
  169. package/dist/chunks/{git-xvvg8evz.js → repository-hjm0k3fp.js} +2 -2
  170. package/dist/chunks/{git-8pyww4v8.js → repository-hmhzhfpw.js} +13 -13
  171. package/dist/chunks/{git-f5gy8qwh.js → repository-hz0q9sdq.js} +8 -8
  172. package/dist/chunks/{git-amv1ejgv.js → repository-j07em0ca.js} +55 -55
  173. package/dist/chunks/{git-q4vzfqxg.js → repository-j4dqt27y.js} +11 -11
  174. package/dist/chunks/{git-j56e64zr.js → repository-j56e64zr.js} +1 -1
  175. package/dist/chunks/{git-1hya600g.js → repository-j7071276.js} +5 -5
  176. package/dist/chunks/{git-8fjdzkkz.js → repository-ja8t3wh1.js} +25 -25
  177. package/dist/chunks/{git-cqs54gg3.js → repository-jxnv3vs9.js} +1 -1
  178. package/dist/chunks/{git-edkvx3dd.js → repository-kadwda11.js} +29 -29
  179. package/dist/chunks/{git-6vabwvmw.js → repository-kg7g3ey4.js} +16 -16
  180. package/dist/chunks/{git-p1463psw.js → repository-kmy91h7k.js} +5 -5
  181. package/dist/chunks/{git-nf3bc7kp.js → repository-kqkwtn5n.js} +23 -23
  182. package/dist/chunks/{git-p7yhpbex.js → repository-krry4gk1.js} +40 -40
  183. package/dist/chunks/{git-2c3eq8z5.js → repository-kwqsq9eb.js} +1 -1
  184. package/dist/chunks/{git-mc9vh6yq.js → repository-kyr2t18s.js} +17 -17
  185. package/dist/chunks/{git-m3fdjcah.js → repository-m3fdjcah.js} +1 -1
  186. package/dist/chunks/{git-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{git-2pnhn36q.js → repository-magykp64.js} +21 -21
  188. package/dist/chunks/{git-w19mx1ce.js → repository-mm07xyj9.js} +42 -42
  189. package/dist/chunks/{git-653jwha5.js → repository-mqjzjjf0.js} +7 -7
  190. package/dist/chunks/{git-qdbtwst4.js → repository-my8tnftd.js} +11 -11
  191. package/dist/chunks/{git-1b4m0bzf.js → repository-n1n192bv.js} +4 -4
  192. package/dist/chunks/{git-791n53zr.js → repository-n4hagvcf.js} +11 -11
  193. package/dist/chunks/{git-hqb90bek.js → repository-n7avb6m5.js} +5 -5
  194. package/dist/chunks/{git-2bw54qtz.js → repository-n8se905m.js} +3 -3
  195. package/dist/chunks/{git-8fmcz4d2.js → repository-ng56fafc.js} +15 -15
  196. package/dist/chunks/{git-aps1yx91.js → repository-ngkc5a6n.js} +1 -1
  197. package/dist/chunks/{git-z6kknvmx.js → repository-nhy104pe.js} +57 -57
  198. package/dist/chunks/{git-1174b0hx.js → repository-nj6293bs.js} +16 -16
  199. package/dist/chunks/{git-325sge2s.js → repository-ns3eape4.js} +1 -1
  200. package/dist/chunks/{git-r3vcwrv4.js → repository-nttvqnzt.js} +31 -31
  201. package/dist/chunks/{git-16apfsbq.js → repository-nzeef16t.js} +15 -15
  202. package/dist/chunks/{git-zbfyanxm.js → repository-p558d1j2.js} +8 -8
  203. package/dist/chunks/{git-xa303ymg.js → repository-p9q8g7vd.js} +4 -4
  204. package/dist/chunks/{git-8vpe69nk.js → repository-pcr95nxz.js} +27 -27
  205. package/dist/chunks/{git-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{git-pknna89w.js → repository-pknna89w.js} +1 -1
  207. package/dist/chunks/{git-0j77ygfz.js → repository-q0xm7vwc.js} +6 -6
  208. package/dist/chunks/{git-qnc92qwc.js → repository-qnc92qwc.js} +1 -1
  209. package/dist/chunks/{git-qsdy395h.js → repository-qsdy395h.js} +1 -1
  210. package/dist/chunks/{git-x2rw7g36.js → repository-qvreyy9g.js} +5 -5
  211. package/dist/chunks/{git-2hr5nhwa.js → repository-qxmaq0sm.js} +8 -8
  212. package/dist/chunks/{git-h79qd4dv.js → repository-r44petzp.js} +12 -12
  213. package/dist/chunks/{git-xdj3jjdd.js → repository-r4xwqsmk.js} +11 -11
  214. package/dist/chunks/{git-0jq9fyba.js → repository-r9w3djhf.js} +9 -9
  215. package/dist/chunks/{git-c6cbvwxq.js → repository-ravgrsv5.js} +9 -9
  216. package/dist/chunks/{git-rdw6cm16.js → repository-rdw6cm16.js} +1 -1
  217. package/dist/chunks/{git-56espktj.js → repository-rgbeeb12.js} +23 -23
  218. package/dist/chunks/{git-c243x79n.js → repository-rvnx9ynj.js} +32 -32
  219. package/dist/chunks/{git-te2bzzsy.js → repository-ry924fh6.js} +41 -41
  220. package/dist/chunks/{git-b27vhd2z.js → repository-ryr25ayn.js} +4 -4
  221. package/dist/chunks/{git-s8d7rejh.js → repository-s8d7rejh.js} +1 -1
  222. package/dist/chunks/{git-db35ckwp.js → repository-s8xbmvwb.js} +13 -13
  223. package/dist/chunks/{git-scgrse2b.js → repository-scgrse2b.js} +2 -2
  224. package/dist/chunks/{git-satpgpy0.js → repository-scp3g09m.js} +13 -13
  225. package/dist/chunks/{git-yf6bsa4q.js → repository-spgjrcy8.js} +60 -60
  226. package/dist/chunks/{git-7eb1d2yt.js → repository-sq5ga9n2.js} +26 -26
  227. package/dist/chunks/{git-phvr3wgs.js → repository-ssby7wmp.js} +316 -316
  228. package/dist/chunks/{git-90arfvh2.js → repository-stye60hc.js} +33 -33
  229. package/dist/chunks/{git-d4g413ww.js → repository-t3vv4d42.js} +13 -13
  230. package/dist/chunks/{git-m70sbz6t.js → repository-t7n9q6bq.js} +4 -4
  231. package/dist/chunks/{git-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
  232. package/dist/chunks/{git-j5w2yx54.js → repository-tcay1cqt.js} +6 -6
  233. package/dist/chunks/{git-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
  234. package/dist/chunks/{git-wakmr75f.js → repository-tcmvd7z0.js} +34 -34
  235. package/dist/chunks/{git-mwpvndzh.js → repository-tcnkdppf.js} +23 -23
  236. package/dist/chunks/{git-ekg5h0zp.js → repository-td335a07.js} +30 -30
  237. package/dist/chunks/{git-tdstcens.js → repository-tdstcens.js} +1 -1
  238. package/dist/chunks/repository-tkybgs2z.js +253 -0
  239. package/dist/chunks/{git-0c7deste.js → repository-tvx3ewvr.js} +24 -24
  240. package/dist/chunks/{git-hjndax5w.js → repository-vc155zt0.js} +15 -15
  241. package/dist/chunks/{git-veqvce7d.js → repository-veqvce7d.js} +1 -1
  242. package/dist/chunks/{git-c3zqzp8y.js → repository-vgznchvw.js} +8 -8
  243. package/dist/chunks/{git-9smks8ax.js → repository-vh7fby3r.js} +15 -15
  244. package/dist/chunks/{git-pg3m1bkm.js → repository-vnyrj955.js} +3 -3
  245. package/dist/chunks/{git-prps3137.js → repository-vwctd27t.js} +4 -4
  246. package/dist/chunks/{git-wesm6pcv.js → repository-vwjb8r2v.js} +6 -6
  247. package/dist/chunks/{git-vzs5sf6e.js → repository-vzs5sf6e.js} +1 -1
  248. package/dist/chunks/{git-84txncab.js → repository-w1eejvng.js} +5 -5
  249. package/dist/chunks/{git-jq13pd70.js → repository-w2c5pkxk.js} +179 -179
  250. package/dist/chunks/{git-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{git-5prh4sa3.js → repository-w7d850mj.js} +19 -19
  252. package/dist/chunks/{git-2003xh4j.js → repository-w9vf9qqj.js} +9 -9
  253. package/dist/chunks/{git-wd87259q.js → repository-wd87259q.js} +1 -1
  254. package/dist/chunks/{git-2vp5hvvb.js → repository-wer47y7e.js} +10 -10
  255. package/dist/chunks/{git-82qsn231.js → repository-wg56nkx8.js} +26 -26
  256. package/dist/chunks/{git-w2h15q85.js → repository-wh6zw745.js} +5 -5
  257. package/dist/chunks/{git-af6rkajf.js → repository-wmn12sgk.js} +3 -3
  258. package/dist/chunks/{git-90g7qw2a.js → repository-wnmdvmz6.js} +16 -16
  259. package/dist/chunks/{git-pjwt2kw2.js → repository-x9gjp2wb.js} +18 -18
  260. package/dist/chunks/{git-1a1rn49g.js → repository-xa3ghtvx.js} +16 -16
  261. package/dist/chunks/{git-cth98fgx.js → repository-xdkfhf58.js} +48 -48
  262. package/dist/chunks/{git-sd9hvprw.js → repository-xgwzhbhd.js} +9 -9
  263. package/dist/chunks/{git-dmqcgk4z.js → repository-xkntkrq7.js} +5 -5
  264. package/dist/chunks/{git-yaefqgtx.js → repository-xvr70the.js} +89 -89
  265. package/dist/chunks/{git-0t098hqn.js → repository-xw8eq9f1.js} +5 -5
  266. package/dist/chunks/{git-qxjc9qry.js → repository-xyafkbt0.js} +3 -3
  267. package/dist/chunks/{git-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{git-he2r9q3j.js → repository-y1j8epp9.js} +20 -20
  269. package/dist/chunks/{git-n79tw6se.js → repository-y5dw8kr0.js} +4 -4
  270. package/dist/chunks/{git-mrkjf4y9.js → repository-yevqza3m.js} +9 -9
  271. package/dist/chunks/{git-m4qj4fpw.js → repository-yk3hsgx2.js} +11 -11
  272. package/dist/chunks/{git-zm2ry5m5.js → repository-yqvvg513.js} +23 -23
  273. package/dist/chunks/{git-kcjnae1a.js → repository-ysv4x97r.js} +10 -10
  274. package/dist/chunks/{git-9gj6hpr6.js → repository-yt3fxxnb.js} +2 -2
  275. package/dist/chunks/{git-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{git-qyzaws7n.js → repository-z37gfj8r.js} +3 -3
  277. package/dist/chunks/{git-q7v5mrmg.js → repository-z8bvm205.js} +9 -9
  278. package/dist/chunks/{git-zfs8ae4p.js → repository-zfs8ae4p.js} +4 -4
  279. package/dist/chunks/{git-2nrarbfq.js → repository-zhf35gm1.js} +32 -32
  280. package/dist/chunks/{git-gsnyd5qq.js → repository-zmnepbn3.js} +7 -7
  281. package/dist/chunks/{git-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{git-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
  283. package/dist/chunks/{git-3j8n7zh4.js → repository-zy2zpvm6.js} +18 -18
  284. package/dist/chunks/{git-tkh413by.js → repository-zze7mas3.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 +81 -81
  290. package/dist/config/discovery.js +82 -82
  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 +114 -114
  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 +116 -116
  307. package/dist/config/plugin/skill-file.js +102 -102
  308. package/dist/config/plugin/skill.js +135 -135
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +119 -119
  311. package/dist/config/plugin/tool-output.js +115 -115
  312. package/dist/config/plugin/websearch.js +115 -115
  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 +115 -115
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +83 -83
  319. package/dist/database/database.js +66 -66
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  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 +14 -14
  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 +74 -74
  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 +6 -6
  417. package/dist/filesystem/location-watcher.js +218 -218
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +103 -103
  420. package/dist/filesystem/watcher-binding.js +3 -3
  421. package/dist/filesystem/watcher.js +9 -9
  422. package/dist/filesystem.js +102 -102
  423. package/dist/form.js +82 -82
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +87 -87
  426. package/dist/generate.js +99 -99
  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 +91 -91
  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 +1 -1
  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 +134 -134
  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 +89 -89
  464. package/dist/managed-policy.js +5 -5
  465. package/dist/mcp/client.js +91 -91
  466. package/dist/mcp/index.js +109 -109
  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 +91 -91
  472. package/dist/model-resolver.js +98 -98
  473. package/dist/model.js +102 -102
  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 +113 -113
  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 +86 -86
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +75 -75
  484. package/dist/plugin/agent.js +74 -74
  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 +3 -3
  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 +117 -117
  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 +74 -74
  533. package/dist/plugin/service.js +3 -3
  534. package/dist/plugin/skill.js +134 -134
  535. package/dist/plugin/source-directory.js +1 -1
  536. package/dist/plugin/supervisor.js +343 -343
  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 +86 -86
  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 +8 -8
  545. package/dist/plugin/websearch/index.js +9 -9
  546. package/dist/plugin/websearch/mcp.js +4 -4
  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 +222 -222
  551. package/dist/project/schema.js +8 -8
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +90 -90
  554. package/dist/provider.js +93 -93
  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 +87 -87
  559. package/dist/reference.js +91 -91
  560. package/dist/repository-cache.js +81 -81
  561. package/dist/repository.js +3 -3
  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 +131 -131
  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 +5 -5
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +217 -217
  575. package/dist/session/execution.js +127 -127
  576. package/dist/session/generate.js +152 -152
  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 +93 -93
  583. package/dist/session/message-updater.js +4 -4
  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 +222 -222
  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 +2 -2
  599. package/dist/session/runner/step.js +123 -123
  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 +3 -3
  611. package/dist/session/title.js +151 -151
  612. package/dist/session/to-session-error.js +111 -111
  613. package/dist/session/transfer.js +213 -213
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +207 -207
  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 +7 -7
  620. package/dist/shell.js +132 -132
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +107 -107
  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 +128 -128
  629. package/dist/tool/plugin/edit.js +120 -120
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +120 -120
  632. package/dist/tool/plugin/grep.js +120 -120
  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 +122 -122
  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 +208 -208
  639. package/dist/tool/plugin/skill.js +113 -113
  640. package/dist/tool/plugin/subagent.js +210 -210
  641. package/dist/tool/plugin/webfetch.js +110 -110
  642. package/dist/tool/plugin/websearch.js +112 -112
  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 +14 -14
  648. package/dist/types/model.d.ts +3 -0
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/git-executable.js +2 -2
  652. package/dist/util/iife.js +1 -1
  653. package/dist/util/lazy.js +1 -1
  654. package/dist/util/slug.js +1 -1
  655. package/dist/util/token.js +1 -1
  656. package/dist/util/which.js +1 -1
  657. package/dist/util/wildcard.js +1 -1
  658. package/dist/v1/config/agent.js +7 -7
  659. package/dist/v1/config/command.js +3 -3
  660. package/dist/v1/config/error.js +4 -4
  661. package/dist/v1/config/mcp.js +4 -4
  662. package/dist/v1/config/migrate.js +92 -92
  663. package/dist/v1/config/permission.js +7 -7
  664. package/dist/v1/config/plugin.js +1 -1
  665. package/dist/v1/config/provider-options.js +1 -1
  666. package/dist/v1/config/provider.js +4 -4
  667. package/dist/variant.js +91 -91
  668. package/dist/vcs/patch.js +1 -1
  669. package/dist/vcs.js +89 -89
  670. package/dist/websearch.js +84 -84
  671. package/dist/wellknown/plugin.js +76 -76
  672. package/dist/wellknown.js +77 -77
  673. package/dist/workspace/driver.js +5 -5
  674. package/dist/workspace/sql.js +1 -1
  675. package/dist/workspace.js +78 -78
  676. package/dist/worktree/directory.js +2 -2
  677. package/dist/worktree/git.js +10 -10
  678. package/dist/worktree/sql.js +5 -5
  679. package/dist/worktree/strategies.js +89 -89
  680. package/dist/worktree.js +96 -96
  681. package/package.json +8 -8
  682. package/dist/chunks/git-1x11rq2a.js +0 -18
  683. package/dist/chunks/git-5yj8ke91.js +0 -253
  684. package/dist/chunks/git-pc7qqn66.js +0 -26
  685. /package/dist/chunks/{git-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
  686. /package/dist/chunks/{git-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
  687. /package/dist/chunks/{git-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
  688. /package/dist/chunks/{git-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
  689. /package/dist/chunks/{git-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
  690. /package/dist/chunks/{git-24dcb14g.js → repository-24dcb14g.js} +0 -0
  691. /package/dist/chunks/{git-2710q6r3.js → repository-2710q6r3.js} +0 -0
  692. /package/dist/chunks/{git-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
  693. /package/dist/chunks/{git-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
  694. /package/dist/chunks/{git-34c7v6d4.js → repository-34c7v6d4.js} +0 -0
  695. /package/dist/chunks/{git-359p4xyc.js → repository-359p4xyc.js} +0 -0
  696. /package/dist/chunks/{git-3asan66x.js → repository-3asan66x.js} +0 -0
  697. /package/dist/chunks/{git-3t0ybcrp.js → repository-3t0ybcrp.js} +0 -0
  698. /package/dist/chunks/{git-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
  699. /package/dist/chunks/{git-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
  700. /package/dist/chunks/{git-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
  701. /package/dist/chunks/{git-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
  702. /package/dist/chunks/{git-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
  703. /package/dist/chunks/{git-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
  704. /package/dist/chunks/{git-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{git-53557ph1.js → repository-53557ph1.js} +0 -0
  706. /package/dist/chunks/{git-550bvhaj.js → repository-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{git-6prwharc.js → repository-6prwharc.js} +0 -0
  708. /package/dist/chunks/{git-6q2bdcd1.js → repository-6q2bdcd1.js} +0 -0
  709. /package/dist/chunks/{git-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{git-7m9af43g.js → repository-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{git-822emrt2.js → repository-822emrt2.js} +0 -0
  712. /package/dist/chunks/{git-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{git-8n3pysct.js → repository-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{git-8wj87zfr.js → repository-8wj87zfr.js} +0 -0
  715. /package/dist/chunks/{git-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{git-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{git-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{git-af5trqkr.js → repository-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{git-afrmfg78.js → repository-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{git-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{git-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{git-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{git-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{git-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{git-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{git-d9fn303g.js → repository-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{git-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{git-dajrwvna.js → repository-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{git-dap0rakb.js → repository-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{git-df08tz66.js → repository-df08tz66.js} +0 -0
  731. /package/dist/chunks/{git-dy18nga0.js → repository-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{git-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{git-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{git-ec1grn59.js → repository-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{git-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{git-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{git-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{git-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{git-faypxj3z.js → repository-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{git-fd410y7t.js → repository-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{git-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{git-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{git-g86h250q.js → repository-g86h250q.js} +0 -0
  744. /package/dist/chunks/{git-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{git-gftt206x.js → repository-gftt206x.js} +0 -0
  746. /package/dist/chunks/{git-hk9envan.js → repository-hk9envan.js} +0 -0
  747. /package/dist/chunks/{git-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
  748. /package/dist/chunks/{git-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
  749. /package/dist/chunks/{git-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
  750. /package/dist/chunks/{git-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
  751. /package/dist/chunks/{git-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
  752. /package/dist/chunks/{git-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
  753. /package/dist/chunks/{git-mp448xyj.js → repository-mp448xyj.js} +0 -0
  754. /package/dist/chunks/{git-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
  755. /package/dist/chunks/{git-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
  756. /package/dist/chunks/{git-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
  757. /package/dist/chunks/{git-njntx4h6.js → repository-njntx4h6.js} +0 -0
  758. /package/dist/chunks/{git-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
  759. /package/dist/chunks/{git-q74kybfr.js → repository-q74kybfr.js} +0 -0
  760. /package/dist/chunks/{git-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
  761. /package/dist/chunks/{git-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
  762. /package/dist/chunks/{git-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
  763. /package/dist/chunks/{git-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
  764. /package/dist/chunks/{git-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
  765. /package/dist/chunks/{git-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
  766. /package/dist/chunks/{git-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
  767. /package/dist/chunks/{git-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
  768. /package/dist/chunks/{git-w803qqfp.js → repository-w803qqfp.js} +0 -0
  769. /package/dist/chunks/{git-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
  770. /package/dist/chunks/{git-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
  771. /package/dist/chunks/{git-wtztk69x.js → repository-wtztk69x.js} +0 -0
  772. /package/dist/chunks/{git-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
  773. /package/dist/chunks/{git-x61499pn.js → repository-x61499pn.js} +0 -0
  774. /package/dist/chunks/{git-y44na4kk.js → repository-y44na4kk.js} +0 -0
  775. /package/dist/chunks/{git-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
  776. /package/dist/chunks/{git-y8f7s663.js → repository-y8f7s663.js} +0 -0
  777. /package/dist/chunks/{git-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
  778. /package/dist/chunks/{git-ym463w8f.js → repository-ym463w8f.js} +0 -0
  779. /package/dist/chunks/{git-z5v4ffb3.js → repository-z5v4ffb3.js} +0 -0
  780. /package/dist/chunks/{git-z9919s4g.js → repository-z9919s4g.js} +0 -0
@@ -1,48 +1,48 @@
1
- import {
2
- Service80
3
- } from "./git-p45atnv4.js";
4
1
  import {
5
2
  Service83
6
- } from "./git-em4qz8cs.js";
3
+ } from "./repository-d0zee6yx.js";
4
+ import {
5
+ Service82
6
+ } from "./repository-5meya16s.js";
7
7
  import {
8
8
  group2,
9
9
  batch2,
10
10
  shutdown2,
11
11
  inherit2
12
- } from "./git-rdw6cm16.js";
12
+ } from "./repository-rdw6cm16.js";
13
13
  import {
14
- Service27,
14
+ Service32,
15
15
  awaitActivation2
16
- } from "./git-1x11rq2a.js";
16
+ } from "./repository-9sh4wc5j.js";
17
17
  import {
18
18
  make12,
19
19
  requirements3,
20
20
  storage2
21
- } from "./git-jq13pd70.js";
21
+ } from "./repository-w2c5pkxk.js";
22
22
  import {
23
23
  __export
24
- } from "./git-9rqn6x4v.js";
24
+ } from "./repository-9rqn6x4v.js";
25
25
 
26
26
  // src/plugin.ts
27
27
  var exports_plugin2 = {};
28
28
  __export(exports_plugin2, {
29
- Event: () => Event4,
30
- ID: () => ID2,
31
- Info: () => Info2,
29
+ Event: () => Event5,
30
+ ID: () => ID3,
31
+ Info: () => Info3,
32
32
  Plugin: () => exports_plugin2,
33
- Service: () => Service27,
33
+ Service: () => Service32,
34
34
  Source: () => Source2,
35
35
  State: () => State2,
36
36
  awaitActivation: () => awaitActivation2,
37
- node: () => node20
37
+ node: () => node25
38
38
  });
39
- import { Event as Event4, ID as ID2, Info as Info2, Source as Source2, State as State2 } from "@opencode/schema/plugin";
39
+ import { Event as Event5, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
40
40
  import { Plugin } from "@opencode/schema/plugin";
41
41
  import { Node } from "@opencode/util/effect/app-node";
42
42
  import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
43
- var layer = Layer.effect(Service27, Effect.gen(function* () {
44
- const bus = yield* Service80;
45
- const kv = yield* Service83;
43
+ var layer = Layer.effect(Service32, Effect.gen(function* () {
44
+ const bus = yield* Service83;
45
+ const kv = yield* Service82;
46
46
  const scope = yield* Scope.make();
47
47
  const active = new Map;
48
48
  const lock = Semaphore.makeUnsafe(1);
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
205
205
  yield* shutdown2(Scope.close(scope, exit));
206
206
  }));
207
207
  yield* Effect.addFinalizer(close);
208
- return Service27.of({
208
+ return Service32.of({
209
209
  activate,
210
210
  close,
211
211
  awaitActivation: ready.await,
@@ -222,10 +222,10 @@ function slotInfo(slot) {
222
222
  features: { server: true, ...slot.plugin.features }
223
223
  };
224
224
  }
225
- var node20 = Node.makeLocationNode({
226
- service: Service27,
225
+ var node25 = Node.makeLocationNode({
226
+ service: Service32,
227
227
  layer,
228
228
  deps: [requirements3]
229
229
  });
230
230
 
231
- export { node20, exports_plugin2, Event4, ID2, Info2, Source2, State2 };
231
+ export { node25, exports_plugin2, Event5, ID3, Info3, Source2, State2 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  ID12
3
- } from "./git-98f0fqab.js";
3
+ } from "./repository-f1ry7jgz.js";
4
4
  import {
5
5
  iife2
6
- } from "./git-1kg9ymc8.js";
6
+ } from "./repository-1kg9ymc8.js";
7
7
  import {
8
8
  configuredSettings2
9
- } from "./git-rj7j44bj.js";
9
+ } from "./repository-573jdjzy.js";
10
10
 
11
11
  // src/plugin/provider/cloudflare-workers-ai.ts
12
12
  import { Effect } from "effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./git-9rqn6x4v.js";
3
+ } from "./repository-9rqn6x4v.js";
4
4
 
5
5
  // src/environment/files.ts
6
6
  var exports_files = {};
@@ -1,26 +1,26 @@
1
1
  import {
2
- Service80,
3
- node84
4
- } from "./git-p45atnv4.js";
2
+ Service83,
3
+ node87
4
+ } from "./repository-d0zee6yx.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./git-tazgh4e4.js";
9
+ } from "./repository-tazgh4e4.js";
10
10
  import {
11
11
  root2
12
- } from "./git-gz56ec1j.js";
12
+ } from "./repository-eqbnvekh.js";
13
13
  import {
14
- Service77,
15
- node81
16
- } from "./git-c8s4yex5.js";
14
+ Service73,
15
+ node77
16
+ } from "./repository-748da515.js";
17
17
  import {
18
18
  reconcile2,
19
19
  create3
20
- } from "./git-rdw6cm16.js";
20
+ } from "./repository-rdw6cm16.js";
21
21
  import {
22
22
  __export
23
- } from "./git-9rqn6x4v.js";
23
+ } from "./repository-9rqn6x4v.js";
24
24
 
25
25
  // src/vcs.ts
26
26
  var exports_vcs = {};
@@ -29,18 +29,18 @@ __export(exports_vcs, {
29
29
  BranchList: () => BranchList2,
30
30
  DiffError: () => DiffError2,
31
31
  FileStatus: () => FileStatus2,
32
- Info: () => Info10,
32
+ Info: () => Info4,
33
33
  InitializeError: () => InitializeError2,
34
34
  Mode: () => Mode2,
35
- Service: () => Service61,
35
+ Service: () => Service25,
36
36
  Vcs: () => exports_vcs,
37
- node: () => node65
37
+ node: () => node28
38
38
  });
39
39
  import path from "path";
40
40
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
41
41
  import { FileDiff } from "@opencode/schema/file-diff";
42
42
  import { FileSystem } from "@opencode/schema/filesystem";
43
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info10, Mode as Mode2 } from "@opencode/schema/vcs";
43
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info4, Mode as Mode2 } from "@opencode/schema/vcs";
44
44
  import { VcsEvent } from "@opencode/schema/vcs-event";
45
45
  import { makeLocationNode } from "@opencode/util/effect/app-node";
46
46
  import { FSUtil } from "@opencode/util/fs-util";
@@ -54,12 +54,12 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
54
54
  }) {
55
55
  }
56
56
 
57
- class Service61 extends Context.Service()("@opencode/Vcs") {
57
+ class Service25 extends Context.Service()("@opencode/Vcs") {
58
58
  }
59
- var layer = Layer.effect(Service61, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service25, Effect.gen(function* () {
60
60
  const fs = yield* FSUtil.Service;
61
- const location = yield* Service77;
62
- const bus = yield* Service80;
61
+ const location = yield* Service73;
62
+ const bus = yield* Service83;
63
63
  const root = yield* Effect.scope;
64
64
  const fork = yield* FiberSet.makeRuntime();
65
65
  const vcs = location.vcs;
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
71
71
  canonical: location.project.canonical,
72
72
  ...vcs ? { store: vcs.store } : {}
73
73
  };
74
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info10));
74
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info4));
75
75
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
76
76
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
77
77
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
129
129
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
130
130
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
131
131
  }
132
- return Service61.of({
132
+ return Service25.of({
133
133
  transform: state.transform,
134
134
  reload: state.reload,
135
135
  initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
187
187
  })
188
188
  });
189
189
  }));
190
- var node65 = makeLocationNode({
191
- service: Service61,
190
+ var node28 = makeLocationNode({
191
+ service: Service25,
192
192
  layer,
193
- deps: [FSUtil.node, node81, node84]
193
+ deps: [FSUtil.node, node77, node87]
194
194
  });
195
195
 
196
- export { Base2, BranchList2, FileStatus2, Info10, Mode2, DiffError2, InitializeError2, Service61, node65, exports_vcs };
196
+ export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, InitializeError2, Service25, node28, exports_vcs };
@@ -4,34 +4,34 @@ import {
4
4
  MAX_TOTAL_PATCH_BYTES2,
5
5
  emptyPatch2,
6
6
  chunksByFile2
7
- } from "./git-tazgh4e4.js";
7
+ } from "./repository-tazgh4e4.js";
8
8
  import {
9
9
  gitExecutable2
10
- } from "./git-ef5x83kb.js";
10
+ } from "./repository-ef5x83kb.js";
11
11
  import {
12
- Service77
13
- } from "./git-c8s4yex5.js";
12
+ Service73
13
+ } from "./repository-748da515.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./git-1j8ev5c3.js";
16
+ } from "./repository-2f8h2t77.js";
17
17
  import {
18
18
  __export
19
- } from "./git-9rqn6x4v.js";
19
+ } from "./repository-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/git.ts
22
22
  var exports_git = {};
23
23
  __export(exports_git, {
24
- Plugin: () => Plugin4,
24
+ Plugin: () => Plugin16,
25
25
  VcsGitPlugin: () => exports_git
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { Effect } from "effect";
29
29
  import { ChildProcess } from "effect/unstable/process";
30
30
  import { AppProcess } from "@opencode/util/process";
31
- var Plugin4 = define({
31
+ var Plugin16 = define({
32
32
  id: "opencode.vcs.git",
33
33
  effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
34
- const location = yield* Service77;
34
+ const location = yield* Service73;
35
35
  if (location.vcs && location.vcs.type !== "git")
36
36
  return;
37
37
  const processes = yield* AppProcess.Service;
@@ -475,4 +475,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
475
475
  return yield* diffAgainstRef(ctx, ref, options);
476
476
  });
477
477
 
478
- export { Plugin4, exports_git };
478
+ export { Plugin16, exports_git };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./git-y71avatq.js";
3
+ } from "./repository-dpkg50ah.js";
4
4
  import {
5
- Service51,
6
- node53
7
- } from "./git-2m6x7dk2.js";
5
+ Service58,
6
+ node61
7
+ } from "./repository-7c7bareq.js";
8
8
  import {
9
9
  __export
10
- } from "./git-9rqn6x4v.js";
10
+ } from "./repository-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service44,
17
- node: () => node46,
16
+ Service: () => Service19,
17
+ node: () => node21,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode/util/fs-util";
24
24
  import { Bom } from "@opencode/util/bom";
25
- class Service44 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service19 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service44, Effect.gen(function* () {
38
- const environment = yield* Service51;
37
+ var layer = Layer.effect(Service19, Effect.gen(function* () {
38
+ const environment = yield* Service58;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service44.of({ withLock, write, writeTextPreservingBom });
59
+ return Service19.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node46 = makeLocationNode({ service: Service44, layer, deps: [node53] });
61
+ var node21 = makeLocationNode({ service: Service19, layer, deps: [node61] });
62
62
 
63
- export { Service44, readText2, syncTextBom2, node46, exports_file_mutation };
63
+ export { Service19, readText2, syncTextBom2, node21, exports_file_mutation };
@@ -1,55 +1,55 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./git-z5v4ffb3.js";
4
+ } from "./repository-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service79,
9
- node83
10
- } from "./git-h79qd4dv.js";
8
+ Service81,
9
+ node85
10
+ } from "./repository-r44petzp.js";
11
11
  import {
12
- Service77,
13
- node81
14
- } from "./git-c8s4yex5.js";
12
+ Service73,
13
+ node77
14
+ } from "./repository-748da515.js";
15
15
  import {
16
16
  create3
17
- } from "./git-rdw6cm16.js";
17
+ } from "./repository-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./git-9rqn6x4v.js";
20
+ } from "./repository-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error2,
26
- ID: () => ID3,
27
- Service: () => Service32,
25
+ Error: () => Error3,
26
+ ID: () => ID6,
27
+ Service: () => Service49,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node35,
30
- noopLayer: () => noopLayer2
29
+ node: () => node51,
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 ID3 } from "@opencode/schema/snapshot";
37
+ import { ID as ID6 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error2 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 Service32 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service49 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service32, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service49, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service79;
50
+ const git = yield* Service81;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service77;
52
+ const location = yield* Service73;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service32, 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 Error2({ 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(Service32, 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 Error2({ 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(Service32, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID3.make(yield* git.tree.capture({
85
+ return ID6.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(Service32, 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 Error2({ 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 Error2({ 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 Service32.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service49.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node35 = makeLocationNode({
144
- service: Service32,
143
+ var node51 = makeLocationNode({
144
+ service: Service49,
145
145
  layer,
146
- deps: [FSUtil.node, node83, Global.node, node81]
146
+ deps: [FSUtil.node, node85, Global.node, node77]
147
147
  });
148
- var noopLayer2 = Layer.succeed(Service32, Service32.of({
148
+ var noopLayer3 = Layer.succeed(Service49, Service49.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(Service32, Service32.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error2 && cause.operation === operation)
157
+ if (cause instanceof Error3 && cause.operation === operation)
158
158
  return cause;
159
- return new Error2({
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 { ID3, Error2, Service32, node35, noopLayer2, exports_snapshot2 };
166
+ export { ID6, Error3, Service49, node51, noopLayer3, exports_snapshot2 };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service77,
3
- node81
4
- } from "./git-c8s4yex5.js";
2
+ Service73,
3
+ node77
4
+ } from "./repository-748da515.js";
5
5
  import {
6
6
  Key3,
7
7
  make21,
8
8
  combine2
9
- } from "./git-s8d7rejh.js";
9
+ } from "./repository-s8d7rejh.js";
10
10
  import {
11
11
  __export
12
- } from "./git-9rqn6x4v.js";
12
+ } from "./repository-9rqn6x4v.js";
13
13
 
14
14
  // src/instructions/builtins.ts
15
15
  var exports_builtins = {};
16
16
  __export(exports_builtins, {
17
17
  InstructionBuiltIns: () => exports_builtins,
18
- Service: () => Service23,
19
- node: () => node26
18
+ Service: () => Service41,
19
+ node: () => node44
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
23
23
  import { Global } from "@opencode/util/global";
24
- class Service23 extends Context.Service()("@opencode/InstructionBuiltIns") {
24
+ class Service41 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
- var layer = Layer.effect(Service23, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service41, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
- const location = yield* Service77;
29
- return Service23.of({
28
+ const location = yield* Service73;
29
+ return Service41.of({
30
30
  load: () => Effect.succeed(combine2([
31
31
  make21({
32
32
  key: Key3.make("core/date"),
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
60
60
  ]))
61
61
  });
62
62
  }));
63
- var node26 = makeLocationNode({ service: Service23, layer, deps: [Global.node, node81] });
63
+ var node44 = makeLocationNode({ service: Service41, layer, deps: [Global.node, node77] });
64
64
 
65
- export { Service23, node26, exports_builtins };
65
+ export { Service41, node44, exports_builtins };
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  key2
3
- } from "./git-x661k3y3.js";
3
+ } from "./repository-dgpsrprm.js";
4
4
  import {
5
- Service80
6
- } from "./git-p45atnv4.js";
5
+ Service83
6
+ } from "./repository-d0zee6yx.js";
7
7
  import {
8
8
  OAuth3,
9
- Event20
10
- } from "./git-e8tr3786.js";
9
+ Event19
10
+ } from "./repository-ccdkjy5j.js";
11
11
  import {
12
- ID13,
12
+ ID16,
13
13
  MethodID2
14
- } from "./git-n3qqcskk.js";
14
+ } from "./repository-4mg116vk.js";
15
15
  import {
16
16
  ID12,
17
17
  aisdk2,
18
18
  mergeOverlay2,
19
19
  Service72
20
- } from "./git-98f0fqab.js";
20
+ } from "./repository-f1ry7jgz.js";
21
21
  import {
22
- ID11
23
- } from "./git-1ykawk59.js";
22
+ ID8
23
+ } from "./repository-e7fm67xs.js";
24
24
  import {
25
25
  load2,
26
26
  derive2
27
- } from "./git-mrkjf4y9.js";
27
+ } from "./repository-yevqza3m.js";
28
28
  import {
29
29
  useragent2
30
- } from "./git-2vp5hvvb.js";
30
+ } from "./repository-wer47y7e.js";
31
31
  import {
32
- ID10
33
- } from "./git-ey7wydsb.js";
32
+ ID11
33
+ } from "./repository-9r8ns7n8.js";
34
34
  import {
35
35
  get5
36
- } from "./git-54ma36ye.js";
36
+ } from "./repository-54ma36ye.js";
37
37
 
38
38
  // src/plugin/provider/github-copilot.ts
39
39
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
65
65
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
66
66
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
67
67
  var oauth = (app) => ({
68
- integrationID: ID13.make("github-copilot"),
68
+ integrationID: ID16.make("github-copilot"),
69
69
  method: {
70
70
  id: methodID,
71
71
  type: "oauth",
@@ -164,7 +164,7 @@ var GithubCopilotPlugin2 = define({
164
164
  id: "opencode.provider.github.copilot",
165
165
  effect: Effect.fn(function* (ctx) {
166
166
  const providers = yield* Service72;
167
- const bus = yield* Service80;
167
+ const bus = yield* Service83;
168
168
  const loading = Semaphore.makeUnsafe(1);
169
169
  const loaded = {};
170
170
  const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
@@ -222,14 +222,14 @@ var GithubCopilotPlugin2 = define({
222
222
  }
223
223
  });
224
224
  yield* ctx.model.transform((models) => {
225
- if (models.get(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"))) {
226
- models.update(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"), (model) => {
225
+ if (models.get(ID12.githubCopilot, ID8.make("gpt-5-chat-latest"))) {
226
+ models.update(ID12.githubCopilot, ID8.make("gpt-5-chat-latest"), (model) => {
227
227
  model.enabled = false;
228
228
  });
229
229
  }
230
230
  });
231
231
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
232
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
232
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
233
233
  yield* refresh().pipe(Effect.forkScoped);
234
234
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
235
235
  if (evt.model.providerID !== ID12.githubCopilot)
@@ -257,7 +257,7 @@ var GithubCopilotPlugin2 = define({
257
257
  return;
258
258
  if (!loaded.baseURL || !loaded.token || !loaded.models)
259
259
  return;
260
- const agent = yield* ctx.agent.get({ agentID: ID10.make("title") }).pipe(Effect.orElseSucceed(() => {
260
+ const agent = yield* ctx.agent.get({ agentID: ID11.make("title") }).pipe(Effect.orElseSucceed(() => {
261
261
  return;
262
262
  }));
263
263
  if (agent?.data.model)
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./git-98f0fqab.js";
4
+ } from "./repository-f1ry7jgz.js";
5
5
 
6
6
  // src/plugin/provider/vercel.ts
7
7
  import { Effect } from "effect";