@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
@@ -8,7 +8,7 @@ __export(exports_permission, {
8
8
  Action: () => Action2,
9
9
  ConfigPermissionV1: () => exports_permission,
10
10
  Entries: () => Entries2,
11
- Info: () => Info13,
11
+ Info: () => Info15,
12
12
  Object: () => Object2,
13
13
  Rule: () => Rule2
14
14
  });
@@ -21,11 +21,11 @@ var Entries2 = (value) => Schema.ObjectKeyword.check(Schema.makeFilter((input) =
21
21
  var Object2 = Entries2(Action2).annotate({ identifier: "PermissionObjectConfig" });
22
22
  var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
23
23
  var actionOnly = new Set(["question", "websearch", "doom_loop"]);
24
- var Info13 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule2), {
24
+ var Info15 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule2), {
25
25
  decode: SchemaGetter.transform((input) => typeof input === "string" ? { "*": input } : input),
26
26
  encode: SchemaGetter.passthrough({ strict: false })
27
27
  })).check(Schema.makeFilter((rules) => rules.every(([key, rule]) => !actionOnly.has(key) || typeof rule === "string"), {
28
28
  expected: "question, websearch, and doom_loop to be ask, allow, or deny"
29
29
  })).annotate({ identifier: "PermissionConfig" });
30
30
 
31
- export { Action2, Entries2, Object2, Rule2, Info13, exports_permission };
31
+ export { Action2, Entries2, Object2, Rule2, Info15, exports_permission };
@@ -1,12 +1,12 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./repository-cache-k9gaxmgh.js";
2
+ Service81,
3
+ node85
4
+ } from "./repository-cache-8pvf9cdd.js";
5
5
  import {
6
6
  Key3,
7
- make20,
7
+ make21,
8
8
  combine2
9
- } from "./repository-cache-rhjbct0v.js";
9
+ } from "./repository-cache-s8d7rejh.js";
10
10
  import {
11
11
  __export
12
12
  } from "./repository-cache-9rqn6x4v.js";
@@ -15,20 +15,20 @@ import {
15
15
  var exports_builtins = {};
16
16
  __export(exports_builtins, {
17
17
  InstructionBuiltIns: () => exports_builtins,
18
- Service: () => Service37,
19
- node: () => node40
18
+ Service: () => Service27,
19
+ node: () => node30
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 Service37 extends Context.Service()("@opencode/InstructionBuiltIns") {
24
+ class Service27 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
- var layer = Layer.effect(Service37, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service27, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
- const location = yield* Service82;
29
- return Service37.of({
28
+ const location = yield* Service81;
29
+ return Service27.of({
30
30
  load: () => Effect.succeed(combine2([
31
- make20({
31
+ make21({
32
32
  key: Key3.make("core/date"),
33
33
  codec: Schema.toCodecJson(Schema.String),
34
34
  read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
@@ -37,7 +37,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
37
37
  changed: (_previous, date) => `Today's date is now: ${date}`
38
38
  }
39
39
  }),
40
- make20({
40
+ make21({
41
41
  key: Key3.make("core/environment"),
42
42
  codec: Schema.toCodecJson(Schema.String),
43
43
  read: Effect.sync(() => [
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
60
60
  ]))
61
61
  });
62
62
  }));
63
- var node40 = makeLocationNode({ service: Service37, layer, deps: [Global.node, node86] });
63
+ var node30 = makeLocationNode({ service: Service27, layer, deps: [Global.node, node85] });
64
64
 
65
- export { Service37, node40, exports_builtins };
65
+ export { Service27, node30, exports_builtins };
@@ -6,15 +6,15 @@ import {
6
6
  var exports_service2 = {};
7
7
  __export(exports_service2, {
8
8
  Instance: () => exports_service2,
9
- Service: () => Service52,
10
- node: () => node55
9
+ Service: () => Service45,
10
+ node: () => node47
11
11
  });
12
12
  import { Context } from "effect";
13
13
  import { Node } from "@opencode/util/effect/app-node";
14
14
  import { LayerNode } from "@opencode/util/effect/layer-node";
15
15
 
16
- class Service52 extends Context.Service()("@opencode/Instance") {
16
+ class Service45 extends Context.Service()("@opencode/Instance") {
17
17
  }
18
- var node55 = LayerNode.unbound(Service52, Node.tags.values.global);
18
+ var node47 = LayerNode.unbound(Service45, Node.tags.values.global);
19
19
 
20
- export { Service52, node55, exports_service2 };
20
+ export { Service45, node47, exports_service2 };
@@ -4,26 +4,26 @@ import {
4
4
  Failed2
5
5
  } from "./repository-cache-hgz4x7wa.js";
6
6
  import {
7
- Service82
8
- } from "./repository-cache-k9gaxmgh.js";
7
+ Service81
8
+ } from "./repository-cache-8pvf9cdd.js";
9
9
  import {
10
- Service55
11
- } from "./repository-cache-0vtn597b.js";
10
+ Service52
11
+ } from "./repository-cache-24ra19qx.js";
12
12
  import {
13
- Service24
14
- } from "./repository-cache-ps8kb85m.js";
13
+ Service14
14
+ } from "./repository-cache-za7dxrd4.js";
15
15
  import {
16
- Service13,
16
+ Service15,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./repository-cache-3hkcw4we.js";
19
+ } from "./repository-cache-23fc6a7j.js";
20
20
  import {
21
- Service63
22
- } from "./repository-cache-77d0na5t.js";
21
+ Service73
22
+ } from "./repository-cache-2ntc19nv.js";
23
23
  import {
24
- Service17,
24
+ Service65,
25
25
  resolvePath2
26
- } from "./repository-cache-rjf4ffg7.js";
26
+ } from "./repository-cache-rx1rzkp9.js";
27
27
  import {
28
28
  fileDiff2
29
29
  } from "./repository-cache-6prwharc.js";
@@ -35,12 +35,12 @@ import {
35
35
  var exports_patch = {};
36
36
  __export(exports_patch, {
37
37
  Applied: () => Applied2,
38
- Input: () => Input4,
39
- Output: () => Output3,
38
+ Input: () => Input2,
39
+ Output: () => Output2,
40
40
  PatchTool: () => exports_patch,
41
- Plugin: () => Plugin20,
42
- name: () => name4,
43
- toModelContent: () => toModelContent4
41
+ Plugin: () => Plugin22,
42
+ name: () => name2,
43
+ toModelContent: () => toModelContent2
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai";
46
46
  import { FileDiff } from "@opencode/schema/file-diff";
@@ -85,8 +85,8 @@ It is important to remember:
85
85
  `;
86
86
 
87
87
  // src/tool/plugin/patch.ts
88
- var name4 = "patch";
89
- var Input4 = Schema.Struct({
88
+ var name2 = "patch";
89
+ var Input2 = Schema.Struct({
90
90
  patchText: Schema.String.annotate({
91
91
  description: "The full patch text describing add, update, and delete operations"
92
92
  })
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
96
96
  resource: Schema.String,
97
97
  target: Schema.String
98
98
  });
99
- var Output3 = Schema.Struct({
99
+ var Output2 = Schema.Struct({
100
100
  applied: Schema.Array(Applied2),
101
101
  files: Schema.Array(FileDiff.Info)
102
102
  });
103
- var toModelContent4 = (output) => [
103
+ var toModelContent2 = (output) => [
104
104
  "Success. Updated the following files:",
105
105
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
106
106
  ].join(`
107
107
  `);
108
- var Plugin20 = {
108
+ var Plugin22 = {
109
109
  id: "opencode.tool.patch",
110
110
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
111
- const environment = yield* Service55;
112
- const access = yield* Service17;
113
- const fileMutation = yield* Service13;
114
- const formatter = yield* Service24;
115
- const location = yield* Service82;
116
- const permission = yield* Service63;
111
+ const environment = yield* Service52;
112
+ const access = yield* Service65;
113
+ const fileMutation = yield* Service15;
114
+ const formatter = yield* Service14;
115
+ const location = yield* Service81;
116
+ const permission = yield* Service73;
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name4,
118
+ name: name2,
119
119
  options: { codemode: false, permission: "edit" },
120
120
  description: patch_default,
121
- input: Input4,
122
- output: Output3,
121
+ input: Input2,
122
+ output: Output2,
123
123
  execute: (input, context) => {
124
124
  const applied = [];
125
125
  const parsed = Patch.parse(input.patchText);
@@ -266,7 +266,7 @@ var Plugin20 = {
266
266
  return { applied, files };
267
267
  }).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
268
268
  output,
269
- content: toModelContent4(output),
269
+ content: toModelContent2(output),
270
270
  metadata: { files: output.files }
271
271
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
272
272
  }
@@ -326,4 +326,4 @@ function trimDiff(diff) {
326
326
  `);
327
327
  }
328
328
 
329
- export { name4, Input4, Applied2, Output3, toModelContent4, Plugin20, exports_patch };
329
+ export { name2, Input2, Applied2, Output2, toModelContent2, Plugin22, exports_patch };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node50
5
- } from "./repository-cache-yew0zm8m.js";
6
- import {
7
- Service66,
8
4
  node70
9
- } from "./repository-cache-s5met55r.js";
5
+ } from "./repository-cache-4m3ygwz0.js";
6
+ import {
7
+ Service77,
8
+ node81
9
+ } from "./repository-cache-2eegacq4.js";
10
10
  import {
11
11
  DeclinedError2
12
- } from "./repository-cache-77d0na5t.js";
12
+ } from "./repository-cache-2ntc19nv.js";
13
13
  import {
14
14
  CancelledError2
15
- } from "./repository-cache-15e8hpnt.js";
15
+ } from "./repository-cache-3wxjf8vr.js";
16
16
  import {
17
- Error3
18
- } from "./repository-cache-z86wre2g.js";
17
+ Error4
18
+ } from "./repository-cache-dqr3pwk6.js";
19
19
  import {
20
20
  get5
21
21
  } from "./repository-cache-54ma36ye.js";
22
22
  import {
23
- Service40,
24
- node43
25
- } from "./repository-cache-mk935gd8.js";
23
+ Service31,
24
+ node34
25
+ } from "./repository-cache-eg5kq0wk.js";
26
26
  import {
27
- make15
28
- } from "./repository-cache-xfkkasph.js";
27
+ make14
28
+ } from "./repository-cache-drwq78ky.js";
29
29
  import {
30
30
  toLLMMessages2
31
- } from "./repository-cache-5f5dfnyg.js";
31
+ } from "./repository-cache-vzjp43bk.js";
32
32
  import {
33
33
  __export
34
34
  } from "./repository-cache-9rqn6x4v.js";
@@ -36,12 +36,12 @@ import {
36
36
  // src/session/model-request.ts
37
37
  var exports_model_request = {};
38
38
  __export(exports_model_request, {
39
- Service: () => Service39,
39
+ Service: () => Service30,
40
40
  SessionModelRequest: () => exports_model_request,
41
41
  baseTranscript: () => baseTranscript2,
42
42
  boundImages: () => boundImages2,
43
- layer: () => layer16,
44
- node: () => node42,
43
+ layer: () => layer15,
44
+ node: () => node33,
45
45
  outputLimit: () => outputLimit2,
46
46
  unsupportedParts: () => unsupportedParts2
47
47
  });
@@ -79,7 +79,7 @@ var baseTranscript2 = (input) => {
79
79
  return {
80
80
  providerMetadataKey,
81
81
  system: [
82
- input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
82
+ input.agent.system ? input.agent.system : make14(input.tools.definitions.map((tool) => tool.name)),
83
83
  input.initial
84
84
  ].filter((part) => part.length > 0).map(SystemPart.make),
85
85
  messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
@@ -160,11 +160,11 @@ var boundImages2 = (messages) => {
160
160
  });
161
161
  };
162
162
 
163
- class Service39 extends Context.Service()("@opencode/SessionModelRequest") {
163
+ class Service30 extends Context.Service()("@opencode/SessionModelRequest") {
164
164
  }
165
- var layer16 = Layer.effect(Service39, Effect.gen(function* () {
166
- const hooks = yield* Service66;
167
- const transport = yield* Service40;
165
+ var layer15 = Layer.effect(Service30, Effect.gen(function* () {
166
+ const hooks = yield* Service77;
167
+ const transport = yield* Service31;
168
168
  const app = yield* Metadata2;
169
169
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
170
170
  const session = input.session;
@@ -172,7 +172,7 @@ var layer16 = Layer.effect(Service39, Effect.gen(function* () {
172
172
  const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
173
173
  const tools = input.tools ?? {
174
174
  definitions: [],
175
- execute: () => new Error3({ message: "Tools are not available for this request" })
175
+ execute: () => new Error4({ message: "Tools are not available for this request" })
176
176
  };
177
177
  const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
178
178
  const shaped = yield* shape({
@@ -217,7 +217,7 @@ var layer16 = Layer.effect(Service39, Effect.gen(function* () {
217
217
  const baseURL = base.model.route.endpoint.baseURL;
218
218
  const modelHook = yield* hooks.trigger("session", "model.request", {
219
219
  ...scope,
220
- baseURL: typeof baseURL === "string" ? baseURL : undefined,
220
+ baseURL,
221
221
  headers: { ...base.http?.headers }
222
222
  });
223
223
  const route = modelHook.baseURL !== undefined && modelHook.baseURL !== baseURL ? base.model.route.with({ endpoint: { baseURL: modelHook.baseURL } }) : base.model.route;
@@ -266,17 +266,17 @@ var layer16 = Layer.effect(Service39, Effect.gen(function* () {
266
266
  };
267
267
  });
268
268
  const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
269
- return Service39.of({
269
+ return Service30.of({
270
270
  primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
271
271
  compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
272
272
  generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
273
273
  title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
274
274
  });
275
275
  }));
276
- var node42 = makeLocationNode({
277
- service: Service39,
278
- layer: layer16,
279
- deps: [node70, node43, node50]
276
+ var node33 = makeLocationNode({
277
+ service: Service30,
278
+ layer: layer15,
279
+ deps: [node81, node34, node70]
280
280
  });
281
281
 
282
- export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service39, layer16, node42, exports_model_request };
282
+ export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service30, layer15, node33, exports_model_request };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  WorktreeError2
3
- } from "./repository-cache-c5ggqzvz.js";
3
+ } from "./repository-cache-t95zrypp.js";
4
4
  import {
5
- Service63
6
- } from "./repository-cache-77d0na5t.js";
5
+ Service73
6
+ } from "./repository-cache-2ntc19nv.js";
7
7
  import {
8
- Service17
9
- } from "./repository-cache-rjf4ffg7.js";
8
+ Service65
9
+ } from "./repository-cache-rx1rzkp9.js";
10
10
  import {
11
11
  DirectoryUnavailableError2
12
12
  } from "./repository-cache-0vbcp93d.js";
13
13
  import {
14
- Info5,
14
+ Info17,
15
15
  List2,
16
16
  InvalidDirectoryError2,
17
17
  StrategyUnavailableError2,
18
18
  OperationError2
19
- } from "./repository-cache-jnk63p10.js";
19
+ } from "./repository-cache-068g2d37.js";
20
20
  import {
21
21
  __export
22
22
  } from "./repository-cache-9rqn6x4v.js";
@@ -27,7 +27,7 @@ __export(exports_opencode, {
27
27
  ModelsInput: () => ModelsInput2,
28
28
  MoveInput: () => MoveInput2,
29
29
  OpenCodeTools: () => exports_opencode,
30
- Plugin: () => Plugin28,
30
+ Plugin: () => Plugin21,
31
31
  RenameInput: () => RenameInput2,
32
32
  WorktreeCreateInput: () => WorktreeCreateInput2,
33
33
  WorktreeRemoveInput: () => WorktreeRemoveInput2
@@ -97,11 +97,11 @@ var ModelsOutput = Schema.Struct({
97
97
  total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
98
98
  next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
99
99
  });
100
- var Plugin28 = {
100
+ var Plugin21 = {
101
101
  id: "opencode.tools",
102
102
  effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
103
- const access = yield* Service17;
104
- const permission = yield* Service63;
103
+ const access = yield* Service65;
104
+ const permission = yield* Service73;
105
105
  const hook = (event) => Effect.sync(() => {
106
106
  event.system.push(SystemPart.make("When you create a worktree outside the current working directory and intend to use it as your primary working directory, consider using `execute` to call `tools.opencode.session_move` and make the worktree the session's working directory."));
107
107
  });
@@ -153,7 +153,7 @@ var Plugin28 = {
153
153
  name: "worktree_create",
154
154
  description: "Create a named worktree. Returns its directory.",
155
155
  input: WorktreeCreateInput2,
156
- output: Info5,
156
+ output: Info17,
157
157
  options: { namespace: "opencode", codemode: true, pinned: true },
158
158
  execute: (input) => ctx.worktree.create({ projectID: ctx.location.project.id, name: input.name }).pipe(Effect.map((output) => ({ output, content: `Created worktree in ${output.directory}.` })), Effect.mapError((error) => new ToolFailure({ message: `Unable to create worktree ${input.name}`, error })))
159
159
  });
@@ -250,4 +250,4 @@ function removeFailure(directory, error) {
250
250
  return `Unable to remove worktree ${directory}.`;
251
251
  }
252
252
 
253
- export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin28, exports_opencode };
253
+ export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin21, exports_opencode };
@@ -4,7 +4,7 @@ import {
4
4
  packageName2,
5
5
  timeouts2,
6
6
  mergeOverlay2
7
- } from "./repository-cache-9m35c2r0.js";
7
+ } from "./repository-cache-1hyfwtsr.js";
8
8
  import {
9
9
  __export
10
10
  } from "./repository-cache-9rqn6x4v.js";
@@ -14,9 +14,9 @@ var exports_aisdk = {};
14
14
  __export(exports_aisdk, {
15
15
  AISDK: () => exports_aisdk,
16
16
  InitError: () => InitError2,
17
- Service: () => Service77,
17
+ Service: () => Service69,
18
18
  locationLayer: () => locationLayer2,
19
- node: () => node81
19
+ node: () => node73
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { APICallError } from "@ai-sdk/provider";
@@ -159,9 +159,9 @@ function initError(providerID) {
159
159
  return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
160
160
  }
161
161
 
162
- class Service77 extends Context.Service()("@opencode/AISDK") {
162
+ class Service69 extends Context.Service()("@opencode/AISDK") {
163
163
  }
164
- var locationLayer2 = Layer.effect(Service77, Effect.gen(function* () {
164
+ var locationLayer2 = Layer.effect(Service69, Effect.gen(function* () {
165
165
  let sdkHooks = [];
166
166
  let languageHooks = [];
167
167
  const languages = new Map;
@@ -199,7 +199,7 @@ var locationLayer2 = Layer.effect(Service77, Effect.gen(function* () {
199
199
  }
200
200
  return event;
201
201
  });
202
- const service = Service77.of({
202
+ const service = Service69.of({
203
203
  hook: {
204
204
  sdk: register(() => sdkHooks, (next) => sdkHooks = next),
205
205
  language: register(() => languageHooks, (next) => languageHooks = next)
@@ -874,6 +874,6 @@ function providerErrorMessage(error) {
874
874
  const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
875
875
  return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
876
876
  }
877
- var node81 = makeLocationNode({ service: Service77, layer: locationLayer2, deps: [] });
877
+ var node73 = makeLocationNode({ service: Service69, layer: locationLayer2, deps: [] });
878
878
 
879
- export { InitError2, Service77, locationLayer2, node81, exports_aisdk };
879
+ export { InitError2, Service69, locationLayer2, node73, exports_aisdk };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  BlockedError2
3
- } from "./repository-cache-77d0na5t.js";
3
+ } from "./repository-cache-2ntc19nv.js";
4
4
  import {
5
5
  __export
6
6
  } from "./repository-cache-9rqn6x4v.js";
@@ -9,7 +9,7 @@ import {
9
9
  var exports_plan = {};
10
10
  __export(exports_plan, {
11
11
  PlanPlugin: () => exports_plan,
12
- Plugin: () => Plugin16
12
+ Plugin: () => Plugin44
13
13
  });
14
14
  import { Message, ToolFailure } from "@opencode/ai";
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
29
29
  var leave = `<system-reminder>
30
30
  You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
31
31
  </system-reminder>`;
32
- var Plugin16 = define({
32
+ var Plugin44 = define({
33
33
  id: "opencode.plan",
34
34
  effect: Effect.fn(function* (ctx) {
35
35
  const global = yield* Global.Service;
@@ -105,4 +105,4 @@ function lastReminder(messages, enterReminder) {
105
105
  }, undefined);
106
106
  }
107
107
 
108
- export { Plugin16, exports_plan };
108
+ export { Plugin44, exports_plan };