@opencode/core 2.1.1 → 2.1.2

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 (485) hide show
  1. package/dist/agent.js +69 -69
  2. package/dist/aisdk-native.js +74 -74
  3. package/dist/aisdk.js +79 -79
  4. package/dist/app.js +9 -9
  5. package/dist/bus.js +60 -60
  6. package/dist/chunks/{repository-cache-jnk63p10.js → repository-cache-068g2d37.js} +28 -28
  7. package/dist/chunks/{repository-cache-mhdex35g.js → repository-cache-07rqgew6.js} +5 -5
  8. package/dist/chunks/{repository-cache-b2ckp95n.js → repository-cache-09390rf8.js} +13 -13
  9. package/dist/chunks/{repository-cache-b4nzaj04.js → repository-cache-0cg871e2.js} +3 -3
  10. package/dist/chunks/{repository-cache-8d1pd201.js → repository-cache-0cwe34aq.js} +21 -21
  11. package/dist/chunks/{repository-cache-v210v162.js → repository-cache-0javqkgf.js} +7 -7
  12. package/dist/chunks/{repository-cache-6nq3099y.js → repository-cache-0nz7j1v1.js} +1 -1
  13. package/dist/chunks/{repository-cache-94p6wp9x.js → repository-cache-136rxf1v.js} +16 -16
  14. package/dist/chunks/{repository-cache-fbxj9tpm.js → repository-cache-14z3krkx.js} +4 -4
  15. package/dist/chunks/{repository-cache-7303zb1f.js → repository-cache-1bsm6gb2.js} +15 -15
  16. package/dist/chunks/{repository-cache-a0kr73jj.js → repository-cache-1g044nmy.js} +9 -9
  17. package/dist/chunks/{repository-cache-9m35c2r0.js → repository-cache-1hyfwtsr.js} +7 -7
  18. package/dist/chunks/{repository-cache-1ngx28bn.js → repository-cache-1rf4yw31.js} +2 -2
  19. package/dist/chunks/{repository-cache-0vf8bfn5.js → repository-cache-1rj8m5vq.js} +4 -4
  20. package/dist/chunks/{repository-cache-f94wsmf1.js → repository-cache-1sj4xbsw.js} +1 -1
  21. package/dist/chunks/{repository-cache-t5nm1h7p.js → repository-cache-1ycwwje8.js} +38 -38
  22. package/dist/chunks/{repository-cache-qsbh95pa.js → repository-cache-2296e4cw.js} +16 -16
  23. package/dist/chunks/{repository-cache-3hkcw4we.js → repository-cache-23fc6a7j.js} +12 -12
  24. package/dist/chunks/{repository-cache-0vtn597b.js → repository-cache-24ra19qx.js} +19 -19
  25. package/dist/chunks/{repository-cache-ezhy60ay.js → repository-cache-25m6jntb.js} +27 -27
  26. package/dist/chunks/{repository-cache-s5met55r.js → repository-cache-2eegacq4.js} +7 -7
  27. package/dist/chunks/{repository-cache-77d0na5t.js → repository-cache-2ntc19nv.js} +43 -43
  28. package/dist/chunks/{repository-cache-rmtct2jg.js → repository-cache-2r3bm1pf.js} +17 -17
  29. package/dist/chunks/{repository-cache-fww2ha2b.js → repository-cache-3g642jy4.js} +8 -8
  30. package/dist/chunks/{repository-cache-yfdycbsw.js → repository-cache-3ske6nsv.js} +18 -18
  31. package/dist/chunks/{repository-cache-3ns80m0h.js → repository-cache-3wvrfr7w.js} +11 -11
  32. package/dist/chunks/{repository-cache-15e8hpnt.js → repository-cache-3wxjf8vr.js} +8 -8
  33. package/dist/chunks/{repository-cache-63t8kvdx.js → repository-cache-3xcrjpsd.js} +14 -14
  34. package/dist/chunks/{repository-cache-0qb6tpgj.js → repository-cache-41bqvch9.js} +9 -9
  35. package/dist/chunks/{repository-cache-pnf7bv7v.js → repository-cache-4evmdpem.js} +19 -19
  36. package/dist/chunks/{repository-cache-yew0zm8m.js → repository-cache-4m3ygwz0.js} +10 -10
  37. package/dist/chunks/{repository-cache-tza759th.js → repository-cache-4nxvs59q.js} +13 -13
  38. package/dist/chunks/{repository-cache-57myy5jh.js → repository-cache-4xpgt2w9.js} +3 -3
  39. package/dist/chunks/{repository-cache-065m31h9.js → repository-cache-4xtxvh3c.js} +9 -9
  40. package/dist/chunks/{repository-cache-dzxp512b.js → repository-cache-58a6xtee.js} +50 -50
  41. package/dist/chunks/{repository-cache-qmqgtz8f.js → repository-cache-5d607bsg.js} +7 -7
  42. package/dist/chunks/{repository-cache-kqe08t1d.js → repository-cache-5f1cq77a.js} +9 -9
  43. package/dist/chunks/{repository-cache-7vt9yzvg.js → repository-cache-5j9zz1y4.js} +9 -9
  44. package/dist/chunks/{repository-cache-h1schjng.js → repository-cache-5mnspefx.js} +29 -29
  45. package/dist/chunks/{repository-cache-gnrrjsmd.js → repository-cache-5xn7qbr2.js} +16 -14
  46. package/dist/chunks/{repository-cache-wqz8rkkb.js → repository-cache-5xte2yyn.js} +13 -13
  47. package/dist/chunks/{repository-cache-r8tt5pdh.js → repository-cache-60xtzwnm.js} +17 -17
  48. package/dist/chunks/{repository-cache-3fcx2j2w.js → repository-cache-63jfzrme.js} +17 -17
  49. package/dist/chunks/{repository-cache-9hn6k4tm.js → repository-cache-6f890ccd.js} +7 -7
  50. package/dist/chunks/{repository-cache-6kthashm.js → repository-cache-6khagj97.js} +27 -27
  51. package/dist/chunks/{repository-cache-r8qzytx6.js → repository-cache-6nhfh867.js} +6 -6
  52. package/dist/chunks/{repository-cache-py3kkmfq.js → repository-cache-6pc27hjz.js} +5 -5
  53. package/dist/chunks/{repository-cache-v7kdkfkp.js → repository-cache-6qprtkrf.js} +24 -24
  54. package/dist/chunks/{repository-cache-6qn8gjqg.js → repository-cache-6yftxg5c.js} +19 -19
  55. package/dist/chunks/{repository-cache-dv4jvz6s.js → repository-cache-78c4e6ad.js} +19 -19
  56. package/dist/chunks/{repository-cache-kq77jz7h.js → repository-cache-7b2pfqtj.js} +4 -4
  57. package/dist/chunks/{repository-cache-t5gc52ef.js → repository-cache-84cpmds6.js} +22 -22
  58. package/dist/chunks/{repository-cache-w1eejvng.js → repository-cache-84txncab.js} +4 -4
  59. package/dist/chunks/{repository-cache-k9gaxmgh.js → repository-cache-8pvf9cdd.js} +15 -15
  60. package/dist/chunks/{repository-cache-7p9sqgn0.js → repository-cache-8s3pces3.js} +10 -10
  61. package/dist/chunks/{repository-cache-kx8xg74a.js → repository-cache-8s4xtewj.js} +12 -12
  62. package/dist/chunks/{repository-cache-pfhhvb3w.js → repository-cache-8w6fvyhj.js} +1 -1
  63. package/dist/chunks/{repository-cache-3ty6jwen.js → repository-cache-8wmb0r1y.js} +3 -3
  64. package/dist/chunks/{repository-cache-c15zmvx5.js → repository-cache-8xnvw0w1.js} +9 -9
  65. package/dist/chunks/{repository-cache-95tpv30c.js → repository-cache-95hwhe14.js} +13 -13
  66. package/dist/chunks/{repository-cache-wp7khyzv.js → repository-cache-95t8ye7z.js} +39 -39
  67. package/dist/chunks/{repository-cache-8vy56zzm.js → repository-cache-96dnwma2.js} +30 -30
  68. package/dist/chunks/{repository-cache-q0p071b0.js → repository-cache-9bh5q6pj.js} +1 -1
  69. package/dist/chunks/{repository-cache-tgfxvvf8.js → repository-cache-9da6j7qw.js} +12 -12
  70. package/dist/chunks/{repository-cache-vnm2wjz3.js → repository-cache-9f77xx3w.js} +12 -12
  71. package/dist/chunks/{repository-cache-z6c3x22d.js → repository-cache-9hwaqfsw.js} +3 -3
  72. package/dist/chunks/{repository-cache-ewj35nqb.js → repository-cache-9j0x65xk.js} +3 -3
  73. package/dist/chunks/{repository-cache-842mqg42.js → repository-cache-9sr4q53q.js} +9 -9
  74. package/dist/chunks/{repository-cache-t4rnqcab.js → repository-cache-a9vzac7j.js} +5 -5
  75. package/dist/chunks/{repository-cache-w12shgbp.js → repository-cache-acd8cc5y.js} +20 -20
  76. package/dist/chunks/{repository-cache-txwpsv2p.js → repository-cache-am5vmnvv.js} +18 -18
  77. package/dist/chunks/{repository-cache-77a66swy.js → repository-cache-amsnh37f.js} +7 -7
  78. package/dist/chunks/{repository-cache-1ptgpzsy.js → repository-cache-apagrtrt.js} +16 -16
  79. package/dist/chunks/{repository-cache-0fztarvd.js → repository-cache-atj1s5r2.js} +12 -12
  80. package/dist/chunks/{repository-cache-6bq45c98.js → repository-cache-aws4c0c0.js} +19 -19
  81. package/dist/chunks/{repository-cache-c2sed5cq.js → repository-cache-axe3mf62.js} +3 -3
  82. package/dist/chunks/{repository-cache-1ze9gtzp.js → repository-cache-baqyxak2.js} +1 -1
  83. package/dist/chunks/{repository-cache-mn5j6xz9.js → repository-cache-be5vje8s.js} +15 -7
  84. package/dist/chunks/{repository-cache-dmpxat65.js → repository-cache-befx3zey.js} +4 -4
  85. package/dist/chunks/{repository-cache-kf0zwkk2.js → repository-cache-begyvfqb.js} +20 -20
  86. package/dist/chunks/{repository-cache-x7wne18b.js → repository-cache-bf876wkh.js} +10 -10
  87. package/dist/chunks/{repository-cache-4tyzw6xh.js → repository-cache-bkafj4ay.js} +7 -7
  88. package/dist/chunks/{repository-cache-jsg4jcbs.js → repository-cache-bnqg0hxn.js} +3 -3
  89. package/dist/chunks/{repository-cache-hh0jpq4c.js → repository-cache-br622wkd.js} +63 -63
  90. package/dist/chunks/{repository-cache-tzaz3z0t.js → repository-cache-btpxpz9q.js} +4 -4
  91. package/dist/chunks/{repository-cache-dqjdwcmj.js → repository-cache-bzcwmnv3.js} +9 -9
  92. package/dist/chunks/{repository-cache-1ep4rre3.js → repository-cache-bzeyqsqd.js} +3 -3
  93. package/dist/chunks/{repository-cache-yjxqy5ha.js → repository-cache-c02r2nwt.js} +9 -9
  94. package/dist/chunks/{repository-cache-v30mg9q2.js → repository-cache-cbfm0wb6.js} +7 -7
  95. package/dist/chunks/{repository-cache-scqf7y3w.js → repository-cache-cd8v38ms.js} +84 -84
  96. package/dist/chunks/{repository-cache-mx97exft.js → repository-cache-cg5q9ras.js} +30 -30
  97. package/dist/chunks/{repository-cache-8g2mbw9h.js → repository-cache-cmkn1bh9.js} +16 -16
  98. package/dist/chunks/{repository-cache-37cqxn50.js → repository-cache-ctxez2a7.js} +4 -4
  99. package/dist/chunks/{repository-cache-vhwx28nx.js → repository-cache-cz1210nh.js} +18 -13
  100. package/dist/chunks/{repository-cache-6xjvsea3.js → repository-cache-d04ep358.js} +8 -8
  101. package/dist/chunks/{repository-cache-9hzyxvsk.js → repository-cache-d72a72b9.js} +12 -12
  102. package/dist/chunks/{repository-cache-njebe5fw.js → repository-cache-dcdf7gkr.js} +17 -17
  103. package/dist/chunks/{repository-cache-h7q4kewv.js → repository-cache-dh0nadn9.js} +36 -36
  104. package/dist/chunks/{repository-cache-y71avatq.js → repository-cache-dpkg50ah.js} +3 -3
  105. package/dist/chunks/{repository-cache-z86wre2g.js → repository-cache-dqr3pwk6.js} +20 -20
  106. package/dist/chunks/{repository-cache-xfkkasph.js → repository-cache-drwq78ky.js} +3 -3
  107. package/dist/chunks/{repository-cache-rfmm8jvy.js → repository-cache-dsx0mmc6.js} +21 -21
  108. package/dist/chunks/repository-cache-e5ybad6w.js +257 -0
  109. package/dist/chunks/{repository-cache-mk935gd8.js → repository-cache-eg5kq0wk.js} +9 -9
  110. package/dist/chunks/{repository-cache-a75ad8v4.js → repository-cache-ek8edefh.js} +1 -1
  111. package/dist/chunks/{repository-cache-d2qeb4wf.js → repository-cache-ethnw1sn.js} +12 -12
  112. package/dist/chunks/{repository-cache-tfp3dpkf.js → repository-cache-ettmqyzq.js} +2 -2
  113. package/dist/chunks/{repository-cache-na3b46a7.js → repository-cache-ey9nrxd1.js} +19 -19
  114. package/dist/chunks/{repository-cache-8t50b4ww.js → repository-cache-ez5pkgh4.js} +23 -23
  115. package/dist/chunks/{repository-cache-zmy0eq9j.js → repository-cache-ezx2brb0.js} +16 -16
  116. package/dist/chunks/{repository-cache-jargxt5j.js → repository-cache-f31q5wm1.js} +13 -13
  117. package/dist/chunks/{repository-cache-qcy13bhz.js → repository-cache-f8yphcvr.js} +16 -16
  118. package/dist/chunks/{repository-cache-zp864mkb.js → repository-cache-fpen5yq5.js} +20 -20
  119. package/dist/chunks/{repository-cache-1q92ejr7.js → repository-cache-g2qvt889.js} +19 -19
  120. package/dist/chunks/{repository-cache-gp5jn49f.js → repository-cache-g5ngm8f4.js} +28 -28
  121. package/dist/chunks/{repository-cache-gkge597h.js → repository-cache-g90zrjvy.js} +17 -17
  122. package/dist/chunks/{repository-cache-2v5tj3gs.js → repository-cache-gen6sgf1.js} +10 -10
  123. package/dist/chunks/{repository-cache-zx24wvbj.js → repository-cache-gm3f9v0x.js} +4 -4
  124. package/dist/chunks/{repository-cache-fzdrxngq.js → repository-cache-gng93yft.js} +1 -1
  125. package/dist/chunks/{repository-cache-djbskq1b.js → repository-cache-gtdxectv.js} +1 -1
  126. package/dist/chunks/{repository-cache-gec8gq51.js → repository-cache-gxdr2vwe.js} +7 -7
  127. package/dist/chunks/{repository-cache-6e57763q.js → repository-cache-gye9bare.js} +1 -1
  128. package/dist/chunks/{repository-cache-rrymd76b.js → repository-cache-h1g26er5.js} +21 -21
  129. package/dist/chunks/{repository-cache-7z1jx34y.js → repository-cache-hbvyahhm.js} +21 -21
  130. package/dist/chunks/{repository-cache-ek4c2f0v.js → repository-cache-hehc42eq.js} +8 -8
  131. package/dist/chunks/{repository-cache-hjygm116.js → repository-cache-hm1sg1ry.js} +34 -34
  132. package/dist/chunks/{repository-cache-h1f52gh9.js → repository-cache-hnvjv21h.js} +30 -23
  133. package/dist/chunks/{repository-cache-k1jycaz7.js → repository-cache-hspen3n6.js} +24 -24
  134. package/dist/chunks/{repository-cache-6hjx5zpb.js → repository-cache-hwjyn0yt.js} +8 -8
  135. package/dist/chunks/{repository-cache-dzr38x1r.js → repository-cache-j2xqfvk3.js} +9 -9
  136. package/dist/chunks/{repository-cache-nbs22qen.js → repository-cache-jcwtgcwh.js} +3 -3
  137. package/dist/chunks/{repository-cache-fj6qct2w.js → repository-cache-k07nhkpw.js} +37 -37
  138. package/dist/chunks/{repository-cache-zs22chpb.js → repository-cache-k1php5wk.js} +22 -22
  139. package/dist/chunks/{repository-cache-6s242g8e.js → repository-cache-k20z56w2.js} +35 -35
  140. package/dist/chunks/{repository-cache-4prqf89h.js → repository-cache-k2vh0b3r.js} +26 -26
  141. package/dist/chunks/{repository-cache-gpqw730e.js → repository-cache-k4q5zqd4.js} +7 -7
  142. package/dist/chunks/{repository-cache-rpjgfq5s.js → repository-cache-k7myrtme.js} +7 -7
  143. package/dist/chunks/{repository-cache-ms89s1xg.js → repository-cache-k9tkpxn3.js} +144 -144
  144. package/dist/chunks/{repository-cache-s2b0mt3v.js → repository-cache-ka0kb0pp.js} +1 -1
  145. package/dist/chunks/{repository-cache-tdbmj82j.js → repository-cache-kdz0rk07.js} +7 -7
  146. package/dist/chunks/{repository-cache-7jwh32ts.js → repository-cache-ke7rr379.js} +25 -25
  147. package/dist/chunks/{repository-cache-savvjd0x.js → repository-cache-kg7htk1j.js} +46 -24
  148. package/dist/chunks/{repository-cache-vbfgae2j.js → repository-cache-kkp8zx71.js} +3 -3
  149. package/dist/chunks/{repository-cache-5dycw2n2.js → repository-cache-kkq0x60e.js} +8 -8
  150. package/dist/chunks/{repository-cache-2ky2kwtz.js → repository-cache-kp3dd9gy.js} +2 -2
  151. package/dist/chunks/{repository-cache-g2kfam58.js → repository-cache-kvk0xsab.js} +10 -10
  152. package/dist/chunks/{repository-cache-43x4yszk.js → repository-cache-m12bw8xw.js} +14 -14
  153. package/dist/chunks/{repository-cache-exgm3bba.js → repository-cache-mjfbh2zj.js} +12 -12
  154. package/dist/chunks/{repository-cache-0xfcnhey.js → repository-cache-mjxa0fkz.js} +28 -28
  155. package/dist/chunks/{repository-cache-yv2cmth8.js → repository-cache-mk9tkz9j.js} +1 -1
  156. package/dist/chunks/{repository-cache-9v5raxs8.js → repository-cache-mkqa88c4.js} +2 -2
  157. package/dist/chunks/{repository-cache-vhj1m4b0.js → repository-cache-mq56jt1j.js} +22 -22
  158. package/dist/chunks/{repository-cache-sz15zhhw.js → repository-cache-mqqhst8y.js} +3 -3
  159. package/dist/chunks/{repository-cache-x06a86kn.js → repository-cache-mr0cv7ny.js} +15 -15
  160. package/dist/chunks/{repository-cache-dzse07y5.js → repository-cache-mx9vqzsb.js} +5 -5
  161. package/dist/chunks/{repository-cache-j5w7gx2k.js → repository-cache-n196avmr.js} +33 -33
  162. package/dist/chunks/{repository-cache-x4jd4xmr.js → repository-cache-n99h6tw9.js} +31 -31
  163. package/dist/chunks/{repository-cache-21n0xhjn.js → repository-cache-nsxxvcpe.js} +13 -13
  164. package/dist/chunks/{repository-cache-bf4bmw04.js → repository-cache-pk0dmpdf.js} +8 -8
  165. package/dist/chunks/{repository-cache-fncqf4dd.js → repository-cache-psj2x98s.js} +4 -4
  166. package/dist/chunks/{repository-cache-46mephjz.js → repository-cache-pzc1z4et.js} +28 -28
  167. package/dist/chunks/{repository-cache-p7pstqch.js → repository-cache-qd284e96.js} +13 -13
  168. package/dist/chunks/{repository-cache-sxy57xts.js → repository-cache-qd9a1hat.js} +83 -83
  169. package/dist/chunks/{repository-cache-fcrkznn8.js → repository-cache-qgn6gcr1.js} +4 -4
  170. package/dist/chunks/{repository-cache-4wehpdsn.js → repository-cache-qm621tfa.js} +29 -29
  171. package/dist/chunks/{repository-cache-znqen040.js → repository-cache-qrtd1qkj.js} +9 -9
  172. package/dist/chunks/{repository-cache-2577k5af.js → repository-cache-qs0n9k2z.js} +9 -9
  173. package/dist/chunks/{repository-cache-kh81xvt5.js → repository-cache-qy7ffa5a.js} +2 -2
  174. package/dist/chunks/{repository-cache-y50tnaxc.js → repository-cache-qz7vxdk7.js} +8 -8
  175. package/dist/chunks/{repository-cache-r8mc9fw8.js → repository-cache-rbyshrxq.js} +6 -6
  176. package/dist/chunks/{repository-cache-47cwnsyn.js → repository-cache-rjzs5m1z.js} +7 -7
  177. package/dist/chunks/repository-cache-rvyd7pdz.js +517 -0
  178. package/dist/chunks/{repository-cache-g9rqxbv3.js → repository-cache-rw0rmakh.js} +5 -5
  179. package/dist/chunks/{repository-cache-rjf4ffg7.js → repository-cache-rx1rzkp9.js} +16 -16
  180. package/dist/chunks/{repository-cache-brcmb8c2.js → repository-cache-s1aqfa5x.js} +33 -33
  181. package/dist/chunks/repository-cache-s2jpy0bd.js +26 -0
  182. package/dist/chunks/{repository-cache-hfkjwy2f.js → repository-cache-s3ertt83.js} +10 -10
  183. package/dist/chunks/{repository-cache-jaym3td0.js → repository-cache-s7ggtf3y.js} +20 -20
  184. package/dist/chunks/{repository-cache-rhjbct0v.js → repository-cache-s8d7rejh.js} +3 -3
  185. package/dist/chunks/{repository-cache-pmx6p9t5.js → repository-cache-se9m0ate.js} +24 -24
  186. package/dist/chunks/{repository-cache-a3c7ahw6.js → repository-cache-sfjrjc0q.js} +3 -3
  187. package/dist/chunks/{repository-cache-86eqfcce.js → repository-cache-sfy3bb98.js} +7 -7
  188. package/dist/chunks/{repository-cache-gtsbe4v4.js → repository-cache-sq37fes3.js} +8 -8
  189. package/dist/chunks/{repository-cache-e80seqcp.js → repository-cache-sxcaecc0.js} +2 -2
  190. package/dist/chunks/{repository-cache-szwj80cc.js → repository-cache-t1r0yajc.js} +1 -1
  191. package/dist/chunks/{repository-cache-83whknbm.js → repository-cache-t720n0zt.js} +32 -32
  192. package/dist/chunks/{repository-cache-00x4qneg.js → repository-cache-t89fqycx.js} +6 -6
  193. package/dist/chunks/{repository-cache-g5g9rrdp.js → repository-cache-t8z4ntba.js} +7 -7
  194. package/dist/chunks/{repository-cache-c5ggqzvz.js → repository-cache-t95zrypp.js} +8 -8
  195. package/dist/chunks/{repository-cache-h74mnx9x.js → repository-cache-tcxc2yk9.js} +10 -10
  196. package/dist/chunks/{repository-cache-r38tb40c.js → repository-cache-tkt1yh5w.js} +8 -8
  197. package/dist/chunks/{repository-cache-hbb7npd7.js → repository-cache-tt8gc4fv.js} +3 -3
  198. package/dist/chunks/{repository-cache-3rq8r7zt.js → repository-cache-twwrpnjg.js} +13 -13
  199. package/dist/chunks/{repository-cache-a4db0rvv.js → repository-cache-v1vh7s4p.js} +7 -7
  200. package/dist/chunks/{repository-cache-ys5mczsm.js → repository-cache-vbj53afp.js} +7 -7
  201. package/dist/chunks/{repository-cache-1acjjqhc.js → repository-cache-vep9yay1.js} +4 -14
  202. package/dist/chunks/{repository-cache-by5v678g.js → repository-cache-vnkjks7b.js} +4 -4
  203. package/dist/chunks/{repository-cache-f39mejfg.js → repository-cache-vs7zhs8r.js} +12 -12
  204. package/dist/chunks/{repository-cache-hs0qwjvp.js → repository-cache-vsa820f9.js} +31 -31
  205. package/dist/chunks/{repository-cache-5f5dfnyg.js → repository-cache-vzjp43bk.js} +1 -1
  206. package/dist/chunks/{repository-cache-mmfyj663.js → repository-cache-w0cy9m9e.js} +6 -6
  207. package/dist/chunks/{repository-cache-fmnd8f8t.js → repository-cache-w7fj1zb2.js} +7 -7
  208. package/dist/chunks/{repository-cache-z6dhcqsk.js → repository-cache-w94dkyq7.js} +25 -25
  209. package/dist/chunks/{repository-cache-5m84d531.js → repository-cache-wrmbd4ct.js} +6 -6
  210. package/dist/chunks/{repository-cache-4bk9s89f.js → repository-cache-wwh9ddtq.js} +9 -9
  211. package/dist/chunks/{repository-cache-xkrbr206.js → repository-cache-wwkjqs8e.js} +7 -7
  212. package/dist/chunks/{repository-cache-n268d91j.js → repository-cache-x1jjhmsh.js} +13 -13
  213. package/dist/chunks/{repository-cache-ht1p01b4.js → repository-cache-x41h92ne.js} +10 -10
  214. package/dist/chunks/{repository-cache-haz4dce7.js → repository-cache-x51ersaw.js} +15 -15
  215. package/dist/chunks/{repository-cache-y8tjtsy7.js → repository-cache-x98xddc7.js} +8 -8
  216. package/dist/chunks/{repository-cache-gpz4bnby.js → repository-cache-xh38a0x5.js} +1 -1
  217. package/dist/chunks/{repository-cache-knhxpfbp.js → repository-cache-xhbe8e91.js} +14 -14
  218. package/dist/chunks/{repository-cache-yfsa45n4.js → repository-cache-xwgk07kc.js} +30 -30
  219. package/dist/chunks/{repository-cache-pmx89wj9.js → repository-cache-y1yvzwwp.js} +12 -12
  220. package/dist/chunks/{repository-cache-twy8yh4t.js → repository-cache-y642zbcz.js} +21 -21
  221. package/dist/chunks/{repository-cache-a58n7r3a.js → repository-cache-ys3h2zrn.js} +38 -38
  222. package/dist/chunks/{repository-cache-bjx1sjef.js → repository-cache-ywt8jp22.js} +7 -7
  223. package/dist/chunks/{repository-cache-nxhdjhjw.js → repository-cache-z0mn1t4q.js} +41 -41
  224. package/dist/chunks/{repository-cache-8reangzk.js → repository-cache-z1fx9rk1.js} +2 -2
  225. package/dist/chunks/{repository-cache-ps8kb85m.js → repository-cache-za7dxrd4.js} +13 -13
  226. package/dist/chunks/{repository-cache-cgc2saxs.js → repository-cache-zj2b8f8d.js} +24 -24
  227. package/dist/chunks/{repository-cache-baaqp4zd.js → repository-cache-zvt5dnpc.js} +3 -3
  228. package/dist/chunks/{repository-cache-zz6a9he3.js → repository-cache-zzv2xjb0.js} +32 -32
  229. package/dist/codemode/instructions.js +6 -6
  230. package/dist/codemode/tool.js +2 -2
  231. package/dist/command.js +73 -73
  232. package/dist/config/discovery.js +68 -68
  233. package/dist/config/normalize.js +83 -83
  234. package/dist/config/plugin/agent.js +96 -96
  235. package/dist/config/plugin/command.js +176 -176
  236. package/dist/config/plugin/compaction.js +127 -127
  237. package/dist/config/plugin/compatibility.js +110 -110
  238. package/dist/config/plugin/formatter.js +95 -95
  239. package/dist/config/plugin/image.js +94 -94
  240. package/dist/config/plugin/instruction.js +95 -95
  241. package/dist/config/plugin/location-watcher.js +94 -94
  242. package/dist/config/plugin/mcp.js +101 -101
  243. package/dist/config/plugin/policy.js +95 -95
  244. package/dist/config/plugin/provider.js +94 -94
  245. package/dist/config/plugin/reference.js +96 -96
  246. package/dist/config/plugin/shell.js +96 -96
  247. package/dist/config/plugin/skill-file.js +83 -83
  248. package/dist/config/plugin/skill-scan.js +3 -3
  249. package/dist/config/plugin/skill.js +113 -113
  250. package/dist/config/plugin/snapshot.js +94 -94
  251. package/dist/config/plugin/source.js +97 -97
  252. package/dist/config/plugin/tool-output.js +95 -95
  253. package/dist/config/plugin/websearch.js +95 -95
  254. package/dist/config/plugin/worktree.js +96 -96
  255. package/dist/config.js +100 -100
  256. package/dist/credential.js +73 -73
  257. package/dist/database/database.js +58 -58
  258. package/dist/database/drizzle/effect-sqlite/driver.js +9 -9
  259. package/dist/database/drizzle/effect-sqlite/index.js +6 -6
  260. package/dist/database/drizzle/effect-sqlite/session.js +6 -6
  261. package/dist/database/drizzle/index.js +10 -10
  262. package/dist/database/drizzle/sqlite-core/effect/db.js +4 -4
  263. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  264. package/dist/database/drizzle/sqlite-core/effect/session.js +5 -5
  265. package/dist/database/drizzle.js +10 -10
  266. package/dist/database/migration.gen.js +41 -41
  267. package/dist/database/migration.js +43 -43
  268. package/dist/database/v1-migration.bun.js +9 -9
  269. package/dist/effect/app-node-builder.js +235 -235
  270. package/dist/effect/keyed-mutex.js +3 -3
  271. package/dist/environment/environment.js +76 -76
  272. package/dist/environment/index.js +78 -78
  273. package/dist/event-logger.js +10 -10
  274. package/dist/file-access.js +86 -86
  275. package/dist/file-mutation.js +77 -77
  276. package/dist/filesystem/location-watcher-policy.js +5 -5
  277. package/dist/filesystem/location-watcher.js +186 -186
  278. package/dist/filesystem/search.js +84 -84
  279. package/dist/filesystem/watcher.js +13 -13
  280. package/dist/filesystem.js +81 -81
  281. package/dist/form.js +61 -61
  282. package/dist/formatter/builtins.js +3 -3
  283. package/dist/formatter.js +73 -73
  284. package/dist/generate.js +87 -87
  285. package/dist/git.js +8 -8
  286. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +2 -2
  287. package/dist/github-copilot/copilot-provider.js +3 -3
  288. package/dist/github-copilot/models.js +76 -76
  289. package/dist/github-copilot/responses/openai-responses-language-model.js +7 -7
  290. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +4 -4
  291. package/dist/image/photon.js +1 -1
  292. package/dist/image.js +5 -5
  293. package/dist/instance/service.js +5 -5
  294. package/dist/instance.js +317 -317
  295. package/dist/instruction-discovery.js +74 -74
  296. package/dist/instructions/builtins.js +73 -73
  297. package/dist/instructions/index.js +3 -3
  298. package/dist/integration.js +66 -66
  299. package/dist/job.js +68 -68
  300. package/dist/kv.js +63 -63
  301. package/dist/location-activity.js +104 -77
  302. package/dist/location-lifecycle.js +89 -89
  303. package/dist/location-service-map.js +72 -72
  304. package/dist/location-services.js +316 -316
  305. package/dist/location.js +73 -73
  306. package/dist/managed-policy.js +7 -7
  307. package/dist/mcp/client.js +18 -18
  308. package/dist/mcp/index.js +91 -91
  309. package/dist/mcp/instructions.js +106 -106
  310. package/dist/mcp/oauth.js +14 -14
  311. package/dist/mcp/stdio.js +73 -73
  312. package/dist/modal/models.js +76 -76
  313. package/dist/model-resolver.js +83 -83
  314. package/dist/model.js +87 -87
  315. package/dist/models-dev.js +91 -91
  316. package/dist/permission/saved.js +71 -71
  317. package/dist/permission.js +89 -89
  318. package/dist/persistent-pty/index.js +74 -74
  319. package/dist/persistent-pty.js +62 -62
  320. package/dist/plugin/agent.js +66 -66
  321. package/dist/plugin/command.js +84 -84
  322. package/dist/plugin/hooks.js +5 -5
  323. package/dist/plugin/host.js +179 -179
  324. package/dist/plugin/identity.js +3 -3
  325. package/dist/plugin/instance.js +5 -5
  326. package/dist/plugin/internal.js +291 -291
  327. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  328. package/dist/plugin/models-dev.js +80 -80
  329. package/dist/plugin/module.js +95 -95
  330. package/dist/plugin/optimize.js +4 -4
  331. package/dist/plugin/plan.js +84 -84
  332. package/dist/plugin/provider/amazon-bedrock.js +75 -75
  333. package/dist/plugin/provider/azure.js +95 -95
  334. package/dist/plugin/provider/chatgpt.js +93 -93
  335. package/dist/plugin/provider/cloudflare-ai-gateway.js +92 -92
  336. package/dist/plugin/provider/cloudflare-workers-ai.js +92 -92
  337. package/dist/plugin/provider/configured.js +91 -91
  338. package/dist/plugin/provider/digitalocean.js +77 -77
  339. package/dist/plugin/provider/github-copilot.js +79 -79
  340. package/dist/plugin/provider/gitlab.js +77 -77
  341. package/dist/plugin/provider/google-vertex.js +92 -92
  342. package/dist/plugin/provider/llmgateway.js +67 -67
  343. package/dist/plugin/provider/lmstudio.js +100 -100
  344. package/dist/plugin/provider/local.js +97 -97
  345. package/dist/plugin/provider/modal.js +77 -77
  346. package/dist/plugin/provider/ollama.js +100 -100
  347. package/dist/plugin/provider/openai.js +95 -95
  348. package/dist/plugin/provider/opencode.js +82 -82
  349. package/dist/plugin/provider/openrouter.js +76 -76
  350. package/dist/plugin/provider/poe.js +67 -67
  351. package/dist/plugin/provider/sap-ai-core.js +75 -75
  352. package/dist/plugin/provider/snowflake-cortex.js +93 -93
  353. package/dist/plugin/provider/vercel.js +75 -75
  354. package/dist/plugin/provider/vllm.js +98 -98
  355. package/dist/plugin/provider/xai.js +76 -76
  356. package/dist/plugin/provider.js +136 -136
  357. package/dist/plugin/sdk.js +67 -67
  358. package/dist/plugin/service.js +3 -3
  359. package/dist/plugin/skill.js +110 -110
  360. package/dist/plugin/supervisor.js +306 -306
  361. package/dist/plugin/tool-input-repair.js +3 -3
  362. package/dist/plugin/update.js +6 -6
  363. package/dist/plugin/vcs/git.js +72 -72
  364. package/dist/plugin/vcs/hg.js +72 -72
  365. package/dist/plugin/verbosity.js +78 -78
  366. package/dist/plugin/warming.js +93 -93
  367. package/dist/plugin/websearch/exa.js +6 -6
  368. package/dist/plugin/websearch/firecrawl.js +5 -5
  369. package/dist/plugin/websearch/index.js +8 -8
  370. package/dist/plugin/websearch/mcp.js +5 -5
  371. package/dist/plugin/websearch/parallel.js +7 -7
  372. package/dist/plugin/websearch/tavily.js +6 -6
  373. package/dist/plugin/websearch/tinyfish.js +7 -7
  374. package/dist/plugin.js +186 -186
  375. package/dist/project/schema.js +7 -7
  376. package/dist/project.js +74 -74
  377. package/dist/provider.js +74 -74
  378. package/dist/pty.js +82 -82
  379. package/dist/reference/instructions.js +76 -76
  380. package/dist/reference.js +76 -76
  381. package/dist/repository-cache.js +69 -69
  382. package/dist/repository.js +3 -3
  383. package/dist/ripgrep.js +79 -79
  384. package/dist/rpc.js +72 -72
  385. package/dist/session/command.js +64 -64
  386. package/dist/session/compaction.js +111 -111
  387. package/dist/session/context.js +128 -128
  388. package/dist/session/diff.js +72 -72
  389. package/dist/session/environment.js +3 -3
  390. package/dist/session/error.js +4 -4
  391. package/dist/session/execution/restart.js +110 -110
  392. package/dist/session/execution.js +108 -108
  393. package/dist/session/generate.js +128 -128
  394. package/dist/session/history.js +6 -6
  395. package/dist/session/inbox.js +78 -78
  396. package/dist/session/info.js +2 -2
  397. package/dist/session/instruction-entry.js +66 -66
  398. package/dist/session/instruction-state.js +2 -2
  399. package/dist/session/instructions.js +80 -80
  400. package/dist/session/model-request.js +100 -100
  401. package/dist/session/model-transport.js +7 -7
  402. package/dist/session/move.js +108 -108
  403. package/dist/session/projector.js +72 -72
  404. package/dist/session/prompt.js +87 -87
  405. package/dist/session/revert.js +77 -77
  406. package/dist/session/run-coordinator.js +3 -3
  407. package/dist/session/runner/index.js +3 -3
  408. package/dist/session/runner/llm.js +189 -189
  409. package/dist/session/runner/model.js +83 -83
  410. package/dist/session/runner/publish-llm-event.js +93 -93
  411. package/dist/session/runner/retry.js +4 -4
  412. package/dist/session/runner/step.js +105 -105
  413. package/dist/session/runner/to-llm-message.js +7 -7
  414. package/dist/session/schema.js +5 -5
  415. package/dist/session/session.js +136 -136
  416. package/dist/session/shell.js +105 -105
  417. package/dist/session/skill.js +85 -85
  418. package/dist/session/stats.js +8 -8
  419. package/dist/session/store.js +72 -72
  420. package/dist/session/subagent-job.js +174 -174
  421. package/dist/session/system-prompt.js +3 -3
  422. package/dist/session/title.js +131 -131
  423. package/dist/session/to-session-error.js +92 -92
  424. package/dist/session/transfer.js +107 -107
  425. package/dist/session.js +183 -183
  426. package/dist/shell/parse.js +4 -4
  427. package/dist/shell/select.js +7 -7
  428. package/dist/shell.js +104 -104
  429. package/dist/skill/discovery.js +5 -5
  430. package/dist/skill/instructions.js +87 -87
  431. package/dist/skill.js +94 -94
  432. package/dist/snapshot.js +79 -79
  433. package/dist/tool/mcp.js +103 -103
  434. package/dist/tool/plugin/edit.js +98 -98
  435. package/dist/tool/plugin/glob.js +101 -101
  436. package/dist/tool/plugin/grep.js +101 -101
  437. package/dist/tool/plugin/mcp-resource.js +95 -95
  438. package/dist/tool/plugin/opencode.js +89 -89
  439. package/dist/tool/plugin/patch.js +100 -100
  440. package/dist/tool/plugin/question.js +85 -85
  441. package/dist/tool/plugin/read.js +102 -102
  442. package/dist/tool/plugin/shell.js +176 -176
  443. package/dist/tool/plugin/skill.js +91 -91
  444. package/dist/tool/plugin/subagent.js +177 -177
  445. package/dist/tool/plugin/todo.js +113 -113
  446. package/dist/tool/plugin/webfetch.js +92 -92
  447. package/dist/tool/plugin/websearch.js +96 -96
  448. package/dist/tool/plugin/write.js +98 -98
  449. package/dist/tool/read-filesystem.js +81 -81
  450. package/dist/tool-output.js +5 -5
  451. package/dist/tool.js +11 -11
  452. package/dist/types/job.d.ts +1 -0
  453. package/dist/types/location-activity.d.ts +2 -1
  454. package/dist/types/session/error.d.ts +1 -0
  455. package/dist/types/session/execution.d.ts +2 -5
  456. package/dist/types/session/history.d.ts +10 -0
  457. package/dist/types/session/run-coordinator.d.ts +2 -5
  458. package/dist/types/session/transfer.d.ts +10 -2
  459. package/dist/types/worktree/git.d.ts +3 -3
  460. package/dist/v1/config/agent.js +4 -4
  461. package/dist/v1/config/mcp.js +3 -3
  462. package/dist/v1/config/migrate.js +76 -76
  463. package/dist/v1/config/permission.js +3 -3
  464. package/dist/v1/config/plugin.js +3 -3
  465. package/dist/v1/config/provider.js +3 -3
  466. package/dist/variant.js +78 -78
  467. package/dist/vcs.js +75 -75
  468. package/dist/voice.js +75 -75
  469. package/dist/websearch.js +73 -73
  470. package/dist/wellknown/plugin.js +66 -66
  471. package/dist/wellknown.js +71 -71
  472. package/dist/workspace/driver.js +7 -7
  473. package/dist/workspace.js +70 -70
  474. package/dist/worktree/git.js +7 -7
  475. package/dist/worktree/strategies.js +74 -74
  476. package/dist/worktree.js +80 -80
  477. package/package.json +8 -8
  478. package/dist/chunks/repository-cache-9wrj4pc9.js +0 -257
  479. package/dist/chunks/repository-cache-v061a9c2.js +0 -517
  480. package/dist/chunks/repository-cache-w2nph7ph.js +0 -26
  481. /package/dist/chunks/{repository-cache-x2gnjtg4.js → repository-cache-6b2stqvb.js} +0 -0
  482. /package/dist/chunks/{repository-cache-4v4bfvma.js → repository-cache-6vq97qmv.js} +0 -0
  483. /package/dist/chunks/{repository-cache-7v6vae4w.js → repository-cache-a20pjse5.js} +0 -0
  484. /package/dist/chunks/{repository-cache-bq3hn31g.js → repository-cache-b0b3nmkz.js} +0 -0
  485. /package/dist/chunks/{repository-cache-rd8qctj1.js → repository-cache-hpfdwx7h.js} +0 -0
@@ -5,18 +5,18 @@ import {
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service48,
8
+ Service: () => Service50,
9
9
  SessionEnvironment: () => exports_environment,
10
10
  node: () => node52
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service48 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service50 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service48, () => {
17
+ var layer = Layer.sync(Service50, () => {
18
18
  const environments = new Map;
19
- return Service48.of({
19
+ return Service50.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service48, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node52 = makeGlobalNode({ service: Service48, layer, deps: [] });
29
+ var node52 = makeGlobalNode({ service: Service50, layer, deps: [] });
30
30
 
31
- export { Service48, node52, exports_environment };
31
+ export { Service50, node52, exports_environment };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./repository-cache-8reangzk.js";
4
+ } from "./repository-cache-z1fx9rk1.js";
5
5
  import {
6
6
  Key4,
7
7
  External2,
8
- Service81,
9
- node85
10
- } from "./repository-cache-7jwh32ts.js";
8
+ Service84,
9
+ node88
10
+ } from "./repository-cache-ke7rr379.js";
11
11
  import {
12
12
  create3
13
13
  } from "./repository-cache-rdw6cm16.js";
@@ -17,7 +17,7 @@ import {
17
17
  import {
18
18
  validateAnswer2,
19
19
  validateFields2
20
- } from "./repository-cache-djbskq1b.js";
20
+ } from "./repository-cache-gtdxectv.js";
21
21
  import {
22
22
  __export
23
23
  } from "./repository-cache-9rqn6x4v.js";
@@ -113,7 +113,7 @@ var attemptLifetime = Duration.toMillis(Duration.minutes(10));
113
113
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
114
114
  var scrubInterval = Duration.seconds(30);
115
115
  var layer = Layer.effect(Service79, Effect.gen(function* () {
116
- const credentials = yield* Service81;
116
+ const credentials = yield* Service84;
117
117
  const bus = yield* Service85;
118
118
  const processes = yield* AppProcess.Service;
119
119
  const scope = yield* Scope.Scope;
@@ -632,7 +632,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
632
632
  var node83 = makeLocationNode({
633
633
  service: Service79,
634
634
  layer,
635
- deps: [node85, node89, AppProcess.node]
635
+ deps: [node88, node89, AppProcess.node]
636
636
  });
637
637
 
638
638
  export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info23, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service79, node83, exports_integration, Event18 };
@@ -4,7 +4,7 @@ import {
4
4
  } from "./repository-cache-z5v4ffb3.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./repository-cache-y71avatq.js";
7
+ } from "./repository-cache-dpkg50ah.js";
8
8
  import {
9
9
  MAX_TOTAL_PATCH_BYTES2,
10
10
  emptyPatch2,
@@ -23,11 +23,11 @@ __export(exports_git3, {
23
23
  Git: () => exports_git3,
24
24
  OperationError: () => OperationError3,
25
25
  Repository: () => Repository2,
26
- Service: () => Service84,
26
+ Service: () => Service83,
27
27
  TreeID: () => TreeID2,
28
28
  Worktree: () => Worktree2,
29
29
  WorktreeError: () => WorktreeError2,
30
- node: () => node88
30
+ node: () => node87
31
31
  });
32
32
  import path from "path";
33
33
  import { Cause, Context, Effect, Exit, Layer, Option, Schedule, Schema } from "effect";
@@ -100,9 +100,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
100
100
  }) {
101
101
  }
102
102
 
103
- class Service84 extends Context.Service()("@opencode/Git") {
103
+ class Service83 extends Context.Service()("@opencode/Git") {
104
104
  }
105
- var layer = Layer.effect(Service84, Effect.gen(function* () {
105
+ var layer = Layer.effect(Service83, Effect.gen(function* () {
106
106
  const fs = yield* FSUtil.Service;
107
107
  const proc = yield* AppProcess.Service;
108
108
  const locks = makeUnsafe2();
@@ -722,7 +722,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
722
722
  kind: index === 0 ? "main" : "linked"
723
723
  }));
724
724
  });
725
- return Service84.of({
725
+ return Service83.of({
726
726
  repo: { discover, clone, create },
727
727
  remote: { get: remote },
728
728
  history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
@@ -739,7 +739,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
739
739
  objects: { pack: packObjects }
740
740
  });
741
741
  }));
742
- var node88 = makeGlobalNode({ service: Service84, layer, deps: [FSUtil.node, AppProcess.node] });
742
+ var node87 = makeGlobalNode({ service: Service83, layer, deps: [FSUtil.node, AppProcess.node] });
743
743
  function run(cwd, proc, args) {
744
744
  return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
745
745
  }
@@ -806,4 +806,4 @@ function resolvePath(cwd, value) {
806
806
  return path.resolve(cwd, normalized);
807
807
  }
808
808
 
809
- export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service84, node88, exports_git3 };
809
+ export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service83, node87, exports_git3 };
@@ -2,15 +2,15 @@ import {
2
2
  AbsolutePath2
3
3
  } from "./repository-cache-z5v4ffb3.js";
4
4
  import {
5
- Service82
6
- } from "./repository-cache-k9gaxmgh.js";
5
+ Service81
6
+ } from "./repository-cache-8pvf9cdd.js";
7
7
  import {
8
- Service60
9
- } from "./repository-cache-nxhdjhjw.js";
8
+ Service56
9
+ } from "./repository-cache-z0mn1t4q.js";
10
10
  import {
11
11
  LocalSource2,
12
12
  GitSource2
13
- } from "./repository-cache-8d1pd201.js";
13
+ } from "./repository-cache-0cwe34aq.js";
14
14
  import {
15
15
  observe2
16
16
  } from "./repository-cache-qsdy395h.js";
@@ -22,17 +22,17 @@ import {
22
22
  var exports_reference = {};
23
23
  __export(exports_reference, {
24
24
  ConfigReferencePlugin: () => exports_reference,
25
- Plugin: () => Plugin37
25
+ Plugin: () => Plugin8
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import path from "path";
29
29
  import { Effect } from "effect";
30
30
  import { Global } from "@opencode/util/global";
31
- var Plugin37 = define({
31
+ var Plugin8 = define({
32
32
  id: "opencode.config.reference",
33
33
  effect: Effect.fn(function* (ctx) {
34
- const config = yield* Service60;
35
- const location = yield* Service82;
34
+ const config = yield* Service56;
35
+ const location = yield* Service81;
36
36
  const global = yield* Global.Service;
37
37
  const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
38
38
  yield* ctx.reference.transform((editor) => {
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
72
72
  return path.isAbsolute(value) ? value : path.resolve(directory, value);
73
73
  }
74
74
 
75
- export { Plugin37, exports_reference };
75
+ export { Plugin8, exports_reference };
@@ -2,15 +2,15 @@ import {
2
2
  PATCH_CONTEXT_LINES2
3
3
  } from "./repository-cache-tazgh4e4.js";
4
4
  import {
5
- ID6,
6
- Service58
7
- } from "./repository-cache-mx97exft.js";
5
+ ID4,
6
+ Service35
7
+ } from "./repository-cache-cg5q9ras.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./repository-cache-c2sed5cq.js";
10
+ } from "./repository-cache-axe3mf62.js";
11
11
  import {
12
12
  MessageNotFoundError2
13
- } from "./repository-cache-37cqxn50.js";
13
+ } from "./repository-cache-ctxez2a7.js";
14
14
  import {
15
15
  SessionMessageTable2
16
16
  } from "./repository-cache-c1fqxshp.js";
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
81
81
  const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
82
82
  const recorded = steps.findLast((step) => step.end)?.end;
83
83
  return yield* Effect.gen(function* () {
84
- const snapshot = yield* Service58;
84
+ const snapshot = yield* Service35;
85
85
  const running = input.active && final.completed === null;
86
86
  const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
87
87
  if (!to)
88
88
  return [];
89
89
  return yield* snapshot.diff({
90
- from: ID6.make(from),
91
- to: ID6.make(to),
90
+ from: ID4.make(from),
91
+ to: ID4.make(to),
92
92
  context: input.context ?? PATCH_CONTEXT_LINES2
93
93
  });
94
94
  }).pipe(Effect.provide(locations.get(location)));
@@ -13,7 +13,7 @@ var exports_retry = {};
13
13
  __export(exports_retry, {
14
14
  SessionRunnerRetry: () => exports_retry,
15
15
  isRetryable: () => isRetryable2,
16
- make: () => make9,
16
+ make: () => make10,
17
17
  policy: () => policy2
18
18
  });
19
19
  import { isRetryable as isRetryable2 } from "@opencode/ai";
@@ -39,7 +39,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
39
39
  return { retry: true, attempt: next.attempt, delay: normalized };
40
40
  });
41
41
  });
42
- var make9 = (bus, sessionID) => Effect.gen(function* () {
42
+ var make10 = (bus, sessionID) => Effect.gen(function* () {
43
43
  const decide = yield* policy2(sessionID);
44
44
  const wait = (input) => Effect.gen(function* () {
45
45
  const scheduled = yield* Clock.currentTimeMillis;
@@ -56,4 +56,4 @@ var make9 = (bus, sessionID) => Effect.gen(function* () {
56
56
  return { decide, wait };
57
57
  });
58
58
 
59
- export { isRetryable2, policy2, make9, exports_retry };
59
+ export { isRetryable2, policy2, make10, exports_retry };
@@ -1,16 +1,16 @@
1
1
  import {
2
- Service61
3
- } from "./repository-cache-na3b46a7.js";
2
+ Service57
3
+ } from "./repository-cache-ey9nrxd1.js";
4
4
  import {
5
- Service60
6
- } from "./repository-cache-nxhdjhjw.js";
5
+ Service56
6
+ } from "./repository-cache-z0mn1t4q.js";
7
7
  import {
8
8
  parse2
9
- } from "./repository-cache-3ty6jwen.js";
9
+ } from "./repository-cache-8wmb0r1y.js";
10
10
  import {
11
11
  ignore2,
12
- scan3
13
- } from "./repository-cache-1ep4rre3.js";
12
+ scan2
13
+ } from "./repository-cache-bzeyqsqd.js";
14
14
  import {
15
15
  __export
16
16
  } from "./repository-cache-9rqn6x4v.js";
@@ -19,18 +19,18 @@ import {
19
19
  var exports_compatibility = {};
20
20
  __export(exports_compatibility, {
21
21
  ConfigCompatibilityPlugin: () => exports_compatibility,
22
- Plugin: () => Plugin46
22
+ Plugin: () => Plugin4
23
23
  });
24
24
  import { define } from "@opencode/plugin/effect/plugin";
25
25
  import { FSUtil } from "@opencode/util/fs-util";
26
26
  import path from "path";
27
27
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
28
- var Plugin46 = define({
28
+ var Plugin4 = define({
29
29
  id: "opencode.config.compatibility",
30
30
  effect: Effect.fn(function* (ctx) {
31
- const config = yield* Service60;
31
+ const config = yield* Service56;
32
32
  const fs = yield* FSUtil.Service;
33
- const watcher = yield* Service61;
33
+ const watcher = yield* Service57;
34
34
  const watches = yield* FiberMap.make();
35
35
  const changes = yield* PubSub.sliding(1);
36
36
  const lock = Semaphore.makeUnsafe(1);
@@ -51,7 +51,7 @@ var Plugin46 = define({
51
51
  if (!resolved)
52
52
  continue;
53
53
  yield* watch(resolved, "directory");
54
- for (const filepath of yield* scan3(resolved)) {
54
+ for (const filepath of yield* scan2(resolved)) {
55
55
  const content = yield* fs.readFileStringSafe(filepath).pipe(Effect.orElseSucceed(() => {
56
56
  return;
57
57
  }));
@@ -76,4 +76,4 @@ var Plugin46 = define({
76
76
  })
77
77
  });
78
78
 
79
- export { Plugin46, exports_compatibility };
79
+ export { Plugin4, exports_compatibility };
@@ -8,9 +8,9 @@ import {
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
10
10
  __export(exports_discovery, {
11
- Service: () => Service15,
11
+ Service: () => Service7,
12
12
  SkillDiscovery: () => exports_discovery,
13
- node: () => node18
13
+ node: () => node8
14
14
  });
15
15
  import path from "path";
16
16
  import { Context, Effect, Layer, Schedule, Schema } from "effect";
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
48
48
  }) {
49
49
  }
50
50
 
51
- class Service15 extends Context.Service()("@opencode/SkillDiscovery") {
51
+ class Service7 extends Context.Service()("@opencode/SkillDiscovery") {
52
52
  }
53
- var layer = Layer.effect(Service15, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service7, Effect.gen(function* () {
54
54
  const fs = yield* FSUtil.Service;
55
55
  const global = yield* Global.Service;
56
56
  const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
63
63
  return true;
64
64
  return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
65
65
  });
66
- return Service15.of({
66
+ return Service7.of({
67
67
  pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
68
68
  const base = url.endsWith("/") ? url : `${url}/`;
69
69
  const source = new URL(base);
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
150
150
  })
151
151
  });
152
152
  }));
153
- var node18 = makeGlobalNode({ service: Service15, layer, deps: [httpClient, FSUtil.node, Global.node] });
153
+ var node8 = makeGlobalNode({ service: Service7, layer, deps: [httpClient, FSUtil.node, Global.node] });
154
154
 
155
- export { Service15, node18, exports_discovery };
155
+ export { Service7, node8, exports_discovery };
@@ -1,12 +1,12 @@
1
1
  import {
2
- Service54
3
- } from "./repository-cache-1q92ejr7.js";
2
+ Service42
3
+ } from "./repository-cache-g2qvt889.js";
4
4
  import {
5
- Service52
6
- } from "./repository-cache-dzse07y5.js";
5
+ Service45
6
+ } from "./repository-cache-mx9vqzsb.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./repository-cache-by5v678g.js";
9
+ } from "./repository-cache-vnkjks7b.js";
10
10
  import {
11
11
  __export
12
12
  } from "./repository-cache-9rqn6x4v.js";
@@ -19,8 +19,8 @@ __export(exports_command3, {
19
19
  });
20
20
  import { Effect } from "effect";
21
21
  var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
22
- const instances = yield* Service52;
23
- const commands = yield* awaitActivation2.pipe(Effect.andThen(Service54), instances.provide(input.session));
22
+ const instances = yield* Service45;
23
+ const commands = yield* awaitActivation2.pipe(Effect.andThen(Service42), instances.provide(input.session));
24
24
  yield* commands.execute({
25
25
  name: input.command,
26
26
  invocation: {
@@ -6,10 +6,10 @@ import {
6
6
  var exports_run_coordinator = {};
7
7
  __export(exports_run_coordinator, {
8
8
  SessionRunCoordinator: () => exports_run_coordinator,
9
- make: () => make17
9
+ make: () => make15
10
10
  });
11
11
  import { Deferred, Effect, Fiber, FiberSet } from "effect";
12
- var make17 = (options) => Effect.gen(function* () {
12
+ var make15 = (options) => Effect.gen(function* () {
13
13
  const executions = new Map;
14
14
  const fork = yield* FiberSet.makeRuntime();
15
15
  const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
@@ -76,17 +76,7 @@ var make17 = (options) => Effect.gen(function* () {
76
76
  return Effect.void;
77
77
  return Deferred.await(execution.done).pipe(Effect.ignoreCause, Effect.andThen(awaitIdle(key)));
78
78
  });
79
- return {
80
- active: Effect.sync(() => new Set(executions.keys())),
81
- isActive,
82
- run,
83
- wake,
84
- interrupt: (key, reason, options) => Effect.suspend(() => {
85
- const execution = executions.get(key);
86
- return interrupt(key, reason).pipe(Effect.tap(() => options?.awaitSettlement && execution ? Deferred.await(execution.done).pipe(Effect.ignoreCause) : Effect.void));
87
- }),
88
- awaitIdle
89
- };
79
+ return { active: Effect.sync(() => new Set(executions.keys())), isActive, run, wake, interrupt, awaitIdle };
90
80
  });
91
81
 
92
- export { make17, exports_run_coordinator };
82
+ export { make15, exports_run_coordinator };
@@ -6,13 +6,13 @@ import {
6
6
  var exports_service = {};
7
7
  __export(exports_service, {
8
8
  Plugin: () => exports_service,
9
- Service: () => Service34,
9
+ Service: () => Service22,
10
10
  awaitActivation: () => awaitActivation2
11
11
  });
12
12
  import { Context } from "effect";
13
13
 
14
- class Service34 extends Context.Service()("@opencode/Plugin") {
14
+ class Service22 extends Context.Service()("@opencode/Plugin") {
15
15
  }
16
- var awaitActivation2 = Service34.use((plugins) => plugins.awaitActivation);
16
+ var awaitActivation2 = Service22.use((plugins) => plugins.awaitActivation);
17
17
 
18
- export { Service34, awaitActivation2, exports_service };
18
+ export { Service22, awaitActivation2, exports_service };
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service71,
3
- node75
4
- } from "./repository-cache-46mephjz.js";
2
+ Service55,
3
+ node58
4
+ } from "./repository-cache-pzc1z4et.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./repository-cache-c2sed5cq.js";
7
+ } from "./repository-cache-axe3mf62.js";
8
8
  import {
9
9
  __export
10
10
  } from "./repository-cache-9rqn6x4v.js";
@@ -14,9 +14,9 @@ var exports_model = {};
14
14
  __export(exports_model, {
15
15
  ModelNotSelectedError: () => ModelNotSelectedError2,
16
16
  ModelUnavailableError: () => ModelUnavailableError2,
17
- Service: () => Service53,
17
+ Service: () => Service47,
18
18
  SessionRunnerModel: () => exports_model,
19
- node: () => node56,
19
+ node: () => node49,
20
20
  resolved: () => resolved2
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
39
39
  }
40
40
  }
41
41
 
42
- class Service53 extends Context.Service()("@opencode/SessionRunnerModel") {
42
+ class Service47 extends Context.Service()("@opencode/SessionRunnerModel") {
43
43
  }
44
44
  var resolved2 = (model, options) => ({
45
45
  model,
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
54
54
  compaction: options.compaction,
55
55
  transport: options.transport
56
56
  });
57
- var layer = Layer.effect(Service53, Effect.gen(function* () {
58
- const resolver = yield* Service71;
59
- return Service53.of({
57
+ var layer = Layer.effect(Service47, Effect.gen(function* () {
58
+ const resolver = yield* Service55;
59
+ return Service47.of({
60
60
  resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
61
61
  if (!session.model) {
62
62
  const resolved = yield* resolver.resolve();
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
74
74
  })
75
75
  });
76
76
  }));
77
- var node56 = makeLocationNode({ service: Service53, layer, deps: [node75] });
77
+ var node49 = makeLocationNode({ service: Service47, layer, deps: [node58] });
78
78
 
79
- export { ModelNotSelectedError2, ModelUnavailableError2, Service53, resolved2, node56, exports_model };
79
+ export { ModelNotSelectedError2, ModelUnavailableError2, Service47, resolved2, node49, exports_model };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./repository-cache-kh81xvt5.js";
4
+ } from "./repository-cache-qy7ffa5a.js";
5
5
  import {
6
6
  Service85,
7
7
  node89
8
- } from "./repository-cache-8reangzk.js";
8
+ } from "./repository-cache-z1fx9rk1.js";
9
9
  import {
10
10
  create3
11
11
  } from "./repository-cache-rdw6cm16.js";
12
12
  import {
13
13
  ID11,
14
- Service68,
15
- node72
16
- } from "./repository-cache-wqz8rkkb.js";
14
+ Service76,
15
+ node80
16
+ } from "./repository-cache-5xte2yyn.js";
17
17
  import {
18
18
  llmClient2
19
19
  } from "./repository-cache-775gj3j1.js";
20
20
  import {
21
- Service72,
22
- node76
23
- } from "./repository-cache-h1f52gh9.js";
21
+ Service68,
22
+ node72
23
+ } from "./repository-cache-hnvjv21h.js";
24
24
  import {
25
25
  estimate2
26
26
  } from "./repository-cache-h6vf3j39.js";
@@ -36,30 +36,30 @@ import {
36
36
  import {
37
37
  isNativeCompaction2,
38
38
  load5
39
- } from "./repository-cache-zx24wvbj.js";
39
+ } from "./repository-cache-gm3f9v0x.js";
40
40
  import {
41
41
  toLLMMessages2
42
- } from "./repository-cache-5f5dfnyg.js";
42
+ } from "./repository-cache-vzjp43bk.js";
43
43
  import {
44
44
  outputLimit2,
45
45
  baseTranscript2,
46
46
  unsupportedParts2,
47
47
  boundImages2,
48
- Service39,
49
- node42
50
- } from "./repository-cache-x4jd4xmr.js";
48
+ Service30,
49
+ node33
50
+ } from "./repository-cache-n99h6tw9.js";
51
51
  import {
52
- Service53,
53
- node56
54
- } from "./repository-cache-f39mejfg.js";
52
+ Service47,
53
+ node49
54
+ } from "./repository-cache-vs7zhs8r.js";
55
55
  import {
56
56
  isRetryable2,
57
57
  policy2
58
- } from "./repository-cache-hbb7npd7.js";
58
+ } from "./repository-cache-tt8gc4fv.js";
59
59
  import {
60
60
  toSessionError2,
61
61
  contentFilterError2
62
- } from "./repository-cache-mn5j6xz9.js";
62
+ } from "./repository-cache-be5vje8s.js";
63
63
  import {
64
64
  calculateCost2,
65
65
  record2,
@@ -72,13 +72,13 @@ import {
72
72
  // src/session/compaction.ts
73
73
  var exports_compaction2 = {};
74
74
  __export(exports_compaction2, {
75
- Service: () => Service10,
75
+ Service: () => Service11,
76
76
  SessionCompaction: () => exports_compaction2,
77
77
  buildPrompt: () => buildPrompt2,
78
78
  estimateContext: () => estimateContext2,
79
79
  estimatePrompt: () => estimatePrompt2,
80
80
  layer: () => layer7,
81
- node: () => node12,
81
+ node: () => node13,
82
82
  recentUserMessages: () => recentUserMessages2
83
83
  });
84
84
  import {
@@ -94,7 +94,7 @@ import {
94
94
  } from "@opencode/ai";
95
95
  import { makeLocationNode } from "@opencode/util/effect/app-node";
96
96
  import { Context, Effect, Layer, Result, Stream } from "effect";
97
- class Service10 extends Context.Service()("@opencode/SessionCompaction") {
97
+ class Service11 extends Context.Service()("@opencode/SessionCompaction") {
98
98
  }
99
99
  var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
100
100
  var SHRINK_STEPS = [0.7, 0.5, 0.35];
@@ -173,14 +173,14 @@ var buildPrompt2 = (update, legacy = false) => {
173
173
  };
174
174
  var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
175
175
  var LEGACY_HEADING = "## Additional Context";
176
- var layer7 = Layer.effect(Service10, Effect.gen(function* () {
177
- const agents = yield* Service68;
176
+ var layer7 = Layer.effect(Service11, Effect.gen(function* () {
177
+ const agents = yield* Service76;
178
178
  const bus = yield* Service85;
179
179
  const llm = yield* LLMClient.Service;
180
- const catalog = yield* Service72;
181
- const models = yield* Service53;
180
+ const catalog = yield* Service68;
181
+ const models = yield* Service47;
182
182
  const db = (yield* Service86).db;
183
- const requests = yield* Service39;
183
+ const requests = yield* Service30;
184
184
  const state = create3({
185
185
  name: "session-compaction",
186
186
  initial: () => ({ auto: true, keep: 15000 }),
@@ -472,16 +472,16 @@ ${text}`;
472
472
  }, { metadata: outcome.metadata });
473
473
  return { status: "completed" };
474
474
  });
475
- return Service10.of({
475
+ return Service11.of({
476
476
  transform: state.transform,
477
477
  reload: state.reload,
478
478
  compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
479
479
  });
480
480
  }));
481
- var node12 = makeLocationNode({
482
- service: Service10,
481
+ var node13 = makeLocationNode({
482
+ service: Service11,
483
483
  layer: layer7,
484
- deps: [node72, node89, node90, llmClient2, node76, node42, node56]
484
+ deps: [node80, node89, node90, llmClient2, node72, node33, node49]
485
485
  });
486
486
  var previousCompaction = (messages) => {
487
487
  const [first] = messages;
@@ -630,4 +630,4 @@ var estimateMedia = (mime) => {
630
630
  return 0;
631
631
  };
632
632
 
633
- export { Service10, buildPrompt2, layer7, node12, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
633
+ export { Service11, buildPrompt2, layer7, node13, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
@@ -3,7 +3,7 @@ import {
3
3
  } from "./repository-cache-8mywswrd.js";
4
4
  import {
5
5
  NativeWindow2
6
- } from "./repository-cache-zx24wvbj.js";
6
+ } from "./repository-cache-gm3f9v0x.js";
7
7
 
8
8
  // src/session/runner/to-llm-message.ts
9
9
  import {