@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
@@ -1,16 +1,16 @@
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
  optional2,
7
7
  statics2
8
8
  } from "./repository-cache-z5v4ffb3.js";
9
9
  import {
10
10
  Ref4,
11
- Service82,
12
- node86
13
- } from "./repository-cache-k9gaxmgh.js";
11
+ Service81,
12
+ node85
13
+ } from "./repository-cache-8pvf9cdd.js";
14
14
  import {
15
15
  __export
16
16
  } from "./repository-cache-9rqn6x4v.js";
@@ -19,15 +19,15 @@ import {
19
19
  var exports_rpc = {};
20
20
  __export(exports_rpc, {
21
21
  Rpc: () => exports_rpc,
22
- Service: () => Service19,
22
+ Service: () => Service71,
23
23
  define: () => define2,
24
- node: () => node22
24
+ node: () => node75
25
25
  });
26
26
  import { define as define2 } from "@opencode/schema/rpc";
27
27
  import { Event } from "@opencode/schema/event";
28
28
  import { makeLocationNode } from "@opencode/util/effect/app-node";
29
29
  import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
30
- class Service19 extends Context.Service()("@opencode/Rpc") {
30
+ class Service71 extends Context.Service()("@opencode/Rpc") {
31
31
  }
32
32
 
33
33
  class DeclaredError extends Error {
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
39
39
  this.data = data;
40
40
  }
41
41
  }
42
- var layer = Layer.effect(Service19, Effect.gen(function* () {
42
+ var layer = Layer.effect(Service71, Effect.gen(function* () {
43
43
  const bus = yield* Service85;
44
- const location = yield* Service82;
44
+ const location = yield* Service81;
45
45
  const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
46
46
  const closed = yield* Deferred.make();
47
47
  const callContext = {
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
118
118
  const registered = events.get(name);
119
119
  if (!registered)
120
120
  return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
121
- return bus.subscribe(registered.definition).pipe(Stream.provideService(Service82, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
121
+ return bus.subscribe(registered.definition).pipe(Stream.provideService(Service81, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
122
122
  }
123
123
  }
124
124
  };
125
125
  };
126
- return Service19.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
126
+ return Service71.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
127
127
  }));
128
- var node22 = makeLocationNode({ service: Service19, layer, deps: [node89, node86] });
128
+ var node75 = makeLocationNode({ service: Service71, layer, deps: [node89, node85] });
129
129
  var fields = {
130
130
  id: Event.ID,
131
131
  created: Schema.Finite,
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
210
210
  };
211
211
  });
212
212
 
213
- export { Service19, node22, exports_rpc, define2 };
213
+ export { Service71, node75, exports_rpc, define2 };
@@ -1,19 +1,19 @@
1
1
  import {
2
- Service61
3
- } from "./repository-cache-na3b46a7.js";
2
+ Service57
3
+ } from "./repository-cache-ey9nrxd1.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
  unavailable3
12
- } from "./repository-cache-rhjbct0v.js";
12
+ } from "./repository-cache-s8d7rejh.js";
13
13
  import {
14
14
  File2,
15
- Service44
16
- } from "./repository-cache-7z1jx34y.js";
15
+ Service33
16
+ } from "./repository-cache-hbvyahhm.js";
17
17
  import {
18
18
  __export
19
19
  } from "./repository-cache-9rqn6x4v.js";
@@ -22,7 +22,7 @@ import {
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin39
25
+ Plugin: () => Plugin5
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
@@ -31,17 +31,17 @@ import { sameDirectory } from "@opencode/util/path";
31
31
  import path, { dirname, join } from "path";
32
32
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
33
33
  import { HttpClient, HttpClientRequest } from "effect/http";
34
- var Plugin39 = define({
34
+ var Plugin5 = define({
35
35
  id: "opencode.config.instruction",
36
36
  effect: Effect.fn(function* (ctx) {
37
- const discovery = yield* Service44;
37
+ const discovery = yield* Service33;
38
38
  yield* Effect.gen(function* () {
39
- const config = yield* Service60;
39
+ const config = yield* Service56;
40
40
  const fs = yield* FSUtil.Service;
41
41
  const global = yield* Global.Service;
42
42
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
43
- const location = yield* Service82;
44
- const watcher = yield* Service61;
43
+ const location = yield* Service81;
44
+ const watcher = yield* Service57;
45
45
  const changes = yield* PubSub.sliding(1);
46
46
  const watches = yield* FiberMap.make();
47
47
  const lock = Semaphore.makeUnsafe(1);
@@ -174,4 +174,4 @@ function isUrl(source) {
174
174
  return URL.canParse(source) && /^https?:$/.test(new URL(source).protocol);
175
175
  }
176
176
 
177
- export { Plugin39, exports_instruction };
177
+ export { Plugin5, exports_instruction };
@@ -2,9 +2,9 @@ import {
2
2
  llmClient2
3
3
  } from "./repository-cache-775gj3j1.js";
4
4
  import {
5
- Service71,
6
- node75
7
- } from "./repository-cache-46mephjz.js";
5
+ Service55,
6
+ node58
7
+ } from "./repository-cache-pzc1z4et.js";
8
8
  import {
9
9
  retry2
10
10
  } from "./repository-cache-fcy631f0.js";
@@ -17,10 +17,10 @@ var exports_generate2 = {};
17
17
  __export(exports_generate2, {
18
18
  Generate: () => exports_generate2,
19
19
  ModelSelectionError: () => ModelSelectionError2,
20
- Service: () => Service70,
21
- UnavailableError: () => UnavailableError4,
22
- layer: () => layer26,
23
- node: () => node74
20
+ Service: () => Service54,
21
+ UnavailableError: () => UnavailableError3,
22
+ layer: () => layer21,
23
+ node: () => node57
24
24
  });
25
25
  import { LLM, LLMClient } from "@opencode/ai";
26
26
  import { SessionID } from "@opencode/schema/session-id";
@@ -31,17 +31,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
31
31
  }) {
32
32
  }
33
33
 
34
- class UnavailableError4 extends Schema.TaggedError()("Generate.UnavailableError", {
34
+ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
35
35
  message: Schema.String,
36
36
  service: Schema.optional(Schema.String)
37
37
  }) {
38
38
  }
39
39
 
40
- class Service70 extends Context.Service()("@opencode/Generate") {
40
+ class Service54 extends Context.Service()("@opencode/Generate") {
41
41
  }
42
- var layer26 = Layer.effect(Service70, Effect.gen(function* () {
42
+ var layer21 = Layer.effect(Service54, Effect.gen(function* () {
43
43
  const llm = yield* LLMClient.Service;
44
- const resolver = yield* Service71;
44
+ const resolver = yield* Service55;
45
45
  const runText = Effect.fn("Generate.text")(function* (input) {
46
46
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
47
47
  "SessionRunnerModel.VariantUnavailableError",
@@ -51,7 +51,7 @@ var layer26 = Layer.effect(Service70, Effect.gen(function* () {
51
51
  "SessionRunnerModel.UnresolvedProviderVariablesError",
52
52
  "SessionRunnerModel.UnsupportedCompactionError"
53
53
  ], (error) => {
54
- const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError4({ message: error.message, service: error.providerID });
54
+ const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
55
55
  return Effect.fail(mapped);
56
56
  }));
57
57
  if (!resolved)
@@ -62,21 +62,21 @@ var layer26 = Layer.effect(Service70, Effect.gen(function* () {
62
62
  model: resolved.model,
63
63
  prompt: input.prompt,
64
64
  http: { headers: { "x-opencode-session": SessionID.create() } }
65
- })).pipe(retry2, Effect.mapError((error) => new UnavailableError4({
65
+ })).pipe(retry2, Effect.mapError((error) => new UnavailableError3({
66
66
  message: error.message,
67
67
  service: resolved.ref.providerID
68
68
  })));
69
69
  return response.text;
70
70
  });
71
- const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError4({
71
+ const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
72
72
  message: "Generation credentials are unavailable"
73
73
  })));
74
- return Service70.of({ text });
74
+ return Service54.of({ text });
75
75
  }));
76
- var node74 = makeLocationNode({
77
- service: Service70,
78
- layer: layer26,
79
- deps: [node75, llmClient2]
76
+ var node57 = makeLocationNode({
77
+ service: Service54,
78
+ layer: layer21,
79
+ deps: [node58, llmClient2]
80
80
  });
81
81
 
82
- export { ModelSelectionError2, UnavailableError4, Service70, layer26, node74, exports_generate2 };
82
+ export { ModelSelectionError2, UnavailableError3, Service54, layer21, node57, exports_generate2 };
@@ -1,7 +1,7 @@
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
  create3
7
7
  } from "./repository-cache-rdw6cm16.js";
@@ -13,21 +13,21 @@ import {
13
13
  var exports_command4 = {};
14
14
  __export(exports_command4, {
15
15
  Command: () => exports_command4,
16
- Event: () => Event10,
16
+ Event: () => Event8,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info9,
19
- NotFoundError: () => NotFoundError7,
20
- Service: () => Service54,
21
- layer: () => layer23,
22
- node: () => node57
18
+ Info: () => Info8,
19
+ NotFoundError: () => NotFoundError5,
20
+ Service: () => Service42,
21
+ layer: () => layer18,
22
+ node: () => node45
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event10 } from "@opencode/schema/command";
28
- var Info9 = Command.Info;
27
+ import { Event as Event8 } from "@opencode/schema/command";
28
+ var Info8 = Command.Info;
29
29
 
30
- class NotFoundError7 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service54 extends Context.Service()("@opencode/Command") {
42
+ class Service42 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer23 = Layer.effect(Service54, Effect.gen(function* () {
44
+ var layer18 = Layer.effect(Service42, Effect.gen(function* () {
45
45
  const bus = yield* Service85;
46
46
  const state = create3({
47
47
  name: "command",
@@ -51,11 +51,11 @@ var layer23 = Layer.effect(Service54, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info9.make({
54
+ const info = (definition) => Info8.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service54.of({
58
+ return Service42.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -66,14 +66,14 @@ var layer23 = Layer.effect(Service54, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError7({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError5({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node57 = makeLocationNode({
75
- service: Service54,
76
- layer: layer23,
74
+ var node45 = makeLocationNode({
75
+ service: Service42,
76
+ layer: layer18,
77
77
  deps: [node89]
78
78
  });
79
79
  function errorMessage(error) {
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info9, NotFoundError7, ExecutionError2, Service54, layer23, node57, exports_command4, Event10 };
89
+ export { Info8, NotFoundError5, ExecutionError2, Service42, layer18, node45, exports_command4, Event8 };
@@ -1,54 +1,54 @@
1
1
  import {
2
- Service61
3
- } from "./repository-cache-na3b46a7.js";
2
+ Service57
3
+ } from "./repository-cache-ey9nrxd1.js";
4
4
  import {
5
5
  AbsolutePath2
6
6
  } from "./repository-cache-z5v4ffb3.js";
7
7
  import {
8
- Service82
9
- } from "./repository-cache-k9gaxmgh.js";
8
+ Service81
9
+ } from "./repository-cache-8pvf9cdd.js";
10
10
  import {
11
- Service60
12
- } from "./repository-cache-nxhdjhjw.js";
11
+ Service56
12
+ } from "./repository-cache-z0mn1t4q.js";
13
13
  import {
14
14
  DirectorySource2,
15
15
  UrlSource2,
16
- Source4
17
- } from "./repository-cache-vhj1m4b0.js";
16
+ Source3
17
+ } from "./repository-cache-mq56jt1j.js";
18
18
  import {
19
- Service15
20
- } from "./repository-cache-a4db0rvv.js";
19
+ Service7
20
+ } from "./repository-cache-v1vh7s4p.js";
21
21
  import {
22
22
  parse2
23
- } from "./repository-cache-3ty6jwen.js";
23
+ } from "./repository-cache-8wmb0r1y.js";
24
24
  import {
25
25
  ignore2,
26
- scan3
27
- } from "./repository-cache-1ep4rre3.js";
26
+ scan2
27
+ } from "./repository-cache-bzeyqsqd.js";
28
28
  import {
29
29
  __export
30
30
  } from "./repository-cache-9rqn6x4v.js";
31
31
 
32
32
  // src/config/plugin/skill.ts
33
- var exports_skill3 = {};
34
- __export(exports_skill3, {
35
- ConfigSkillPlugin: () => exports_skill3,
36
- Plugin: () => Plugin49
33
+ var exports_skill = {};
34
+ __export(exports_skill, {
35
+ ConfigSkillPlugin: () => exports_skill,
36
+ Plugin: () => Plugin3
37
37
  });
38
38
  import { define } from "@opencode/plugin/effect/plugin";
39
39
  import { FSUtil } from "@opencode/util/fs-util";
40
40
  import { Global } from "@opencode/util/global";
41
41
  import path from "path";
42
42
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
43
- var Plugin49 = define({
43
+ var Plugin3 = define({
44
44
  id: "opencode.config.skill",
45
45
  effect: Effect.fn(function* (ctx) {
46
- const config = yield* Service60;
47
- const discovery = yield* Service15;
46
+ const config = yield* Service56;
47
+ const discovery = yield* Service7;
48
48
  const fs = yield* FSUtil.Service;
49
49
  const global = yield* Global.Service;
50
- const location = yield* Service82;
51
- const watcher = yield* Service61;
50
+ const location = yield* Service81;
51
+ const watcher = yield* Service57;
52
52
  const loaded = {
53
53
  entries: yield* config.entries(),
54
54
  skills: []
@@ -91,7 +91,7 @@ var Plugin49 = define({
91
91
  const sources = () => {
92
92
  const result = [];
93
93
  const add = (source) => {
94
- if (result.some((item) => Source4.equals(item, source)))
94
+ if (result.some((item) => Source3.equals(item, source)))
95
95
  return;
96
96
  result.push(source);
97
97
  };
@@ -116,13 +116,13 @@ var Plugin49 = define({
116
116
  };
117
117
  const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
118
118
  const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
119
- source: Source4.key(source),
119
+ source: Source3.key(source),
120
120
  cause
121
121
  }).pipe(Effect.as([]))));
122
122
  const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
123
123
  const skills = [];
124
124
  for (const directory of directories) {
125
- for (const filepath of yield* scan3(directory)) {
125
+ for (const filepath of yield* scan2(directory)) {
126
126
  const resolved = yield* fs.realPath(filepath).pipe(Effect.orElseSucceed(() => filepath));
127
127
  if (!roots.some((root) => FSUtil.contains(root, resolved)))
128
128
  yield* watch(resolved, "file");
@@ -144,7 +144,7 @@ var Plugin49 = define({
144
144
  }
145
145
  }
146
146
  yield* Effect.logDebug("skill source loaded", {
147
- source: Source4.key(source),
147
+ source: Source3.key(source),
148
148
  type: source.type,
149
149
  directories,
150
150
  skills: skills.map((skill) => skill.id)
@@ -163,7 +163,7 @@ var Plugin49 = define({
163
163
  if (file) {
164
164
  yield* Effect.logInfo("skills rescanned", {
165
165
  file,
166
- sources: current.map(Source4.key),
166
+ sources: current.map(Source3.key),
167
167
  skills: loaded.skills.map((skill) => skill.id)
168
168
  });
169
169
  }
@@ -179,4 +179,4 @@ var Plugin49 = define({
179
179
  })
180
180
  });
181
181
 
182
- export { Plugin49, exports_skill3 };
182
+ export { Plugin3, exports_skill };
@@ -1,14 +1,14 @@
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
  makeUnsafe2
7
- } from "./repository-cache-y71avatq.js";
7
+ } from "./repository-cache-dpkg50ah.js";
8
8
  import {
9
9
  Service85,
10
10
  node89
11
- } from "./repository-cache-8reangzk.js";
11
+ } from "./repository-cache-z1fx9rk1.js";
12
12
  import {
13
13
  SessionEvent2
14
14
  } from "./repository-cache-ec1grn59.js";
@@ -17,14 +17,14 @@ import {
17
17
  } from "./repository-cache-gftt206x.js";
18
18
  import {
19
19
  SessionSchema2
20
- } from "./repository-cache-c2sed5cq.js";
20
+ } from "./repository-cache-axe3mf62.js";
21
21
  import {
22
22
  SessionMessageTable2,
23
23
  SessionInboxTable2
24
24
  } from "./repository-cache-c1fqxshp.js";
25
25
  import {
26
26
  decodeMessageRowSync2
27
- } from "./repository-cache-zx24wvbj.js";
27
+ } from "./repository-cache-gm3f9v0x.js";
28
28
  import {
29
29
  __export
30
30
  } from "./repository-cache-9rqn6x4v.js";
@@ -35,12 +35,12 @@ __export(exports_inbox, {
35
35
  Compaction: () => Compaction2,
36
36
  CompactionPayload: () => CompactionPayload2,
37
37
  Delivery: () => Delivery2,
38
- Info: () => Info8,
38
+ Info: () => Info9,
39
39
  Item: () => Item2,
40
40
  LifecycleConflict: () => LifecycleConflict2,
41
41
  Move: () => Move2,
42
42
  MovePayload: () => MovePayload2,
43
- Service: () => Service51,
43
+ Service: () => Service46,
44
44
  SessionInbox: () => exports_inbox,
45
45
  Synthetic: () => Synthetic2,
46
46
  SyntheticPayload: () => SyntheticPayload2,
@@ -48,12 +48,12 @@ __export(exports_inbox, {
48
48
  UserPayload: () => UserPayload2,
49
49
  find: () => find2,
50
50
  has: () => has2,
51
- layer: () => layer22,
51
+ layer: () => layer20,
52
52
  list: () => list3,
53
- make: () => make18,
53
+ make: () => make16,
54
54
  moveIDs: () => moveIDs2,
55
55
  nextPromotable: () => nextPromotable2,
56
- node: () => node54,
56
+ node: () => node48,
57
57
  projectAdmitted: () => projectAdmitted2,
58
58
  projectCancelled: () => projectCancelled2,
59
59
  projectDelivered: () => projectDelivered2,
@@ -68,7 +68,7 @@ import {
68
68
  Compaction as Compaction2,
69
69
  CompactionPayload as CompactionPayload2,
70
70
  Delivery as Delivery2,
71
- Info as Info8,
71
+ Info as Info9,
72
72
  Item as Item2,
73
73
  Move as Move2,
74
74
  MovePayload as MovePayload2,
@@ -153,9 +153,9 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
153
153
  return yield* new LifecycleConflict2({ id });
154
154
  });
155
155
 
156
- class Service51 extends Context.Service()("@opencode/SessionInbox") {
156
+ class Service46 extends Context.Service()("@opencode/SessionInbox") {
157
157
  }
158
- var make18 = Effect.fn("SessionInbox.make")(function* () {
158
+ var make16 = Effect.fn("SessionInbox.make")(function* () {
159
159
  const database = yield* Service86;
160
160
  const db = database.db;
161
161
  const bus = yield* Service85;
@@ -175,7 +175,7 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
175
175
  inboxID: request.id,
176
176
  sessionID: request.sessionID,
177
177
  item: request.item
178
- }).pipe(Effect.map((event) => Info8.make({
178
+ }).pipe(Effect.map((event) => Info9.make({
179
179
  id: request.id,
180
180
  sessionID: request.sessionID,
181
181
  time: { created: DateTime.makeUnsafe(event.created) },
@@ -229,8 +229,8 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
229
229
  queue
230
230
  };
231
231
  });
232
- var layer22 = Layer.effect(Service51, make18());
233
- var node54 = makeGlobalNode({ service: Service51, layer: layer22, deps: [node90, node89] });
232
+ var layer20 = Layer.effect(Service46, make16());
233
+ var node48 = makeGlobalNode({ service: Service46, layer: layer20, deps: [node90, node89] });
234
234
  var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
235
235
  const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
236
236
  if (message !== undefined)
@@ -328,4 +328,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
328
328
  return rows;
329
329
  }));
330
330
 
331
- export { Compaction2, CompactionPayload2, Delivery2, Info8, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service51, make18, layer22, node54, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
331
+ export { Compaction2, CompactionPayload2, Delivery2, Info9, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service46, make16, layer20, node48, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  useragent2
3
- } from "./repository-cache-yew0zm8m.js";
3
+ } from "./repository-cache-4m3ygwz0.js";
4
4
  import {
5
5
  Service85
6
- } from "./repository-cache-8reangzk.js";
6
+ } from "./repository-cache-z1fx9rk1.js";
7
7
  import {
8
8
  OAuth3,
9
- Event20
10
- } from "./repository-cache-7jwh32ts.js";
9
+ Event21
10
+ } from "./repository-cache-ke7rr379.js";
11
11
  import {
12
12
  ID14,
13
13
  MethodID2
14
- } from "./repository-cache-g5g9rrdp.js";
14
+ } from "./repository-cache-t8z4ntba.js";
15
15
  import {
16
16
  success2,
17
17
  error2
@@ -20,13 +20,13 @@ import {
20
20
  ID13,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./repository-cache-9m35c2r0.js";
23
+ } from "./repository-cache-1hyfwtsr.js";
24
24
  import {
25
25
  get5
26
26
  } from "./repository-cache-54ma36ye.js";
27
27
  import {
28
28
  configuredSettings2
29
- } from "./repository-cache-tzaz3z0t.js";
29
+ } from "./repository-cache-btpxpz9q.js";
30
30
 
31
31
  // src/plugin/provider/openai.ts
32
32
  import { define } from "@opencode/plugin/effect/plugin";
@@ -165,7 +165,7 @@ var headless = (app) => ({
165
165
  }),
166
166
  refresh: (value) => refresh(headlessMethodID, value, app)
167
167
  });
168
- var OpenAIPlugin2 = define({
168
+ var OpenAIPlugin3 = define({
169
169
  id: "opencode.provider.openai",
170
170
  effect: Effect.fn(function* (ctx) {
171
171
  const bus = yield* Service85;
@@ -243,7 +243,7 @@ var OpenAIPlugin2 = define({
243
243
  for (const name of ["context", "compaction"])
244
244
  yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID13.openai });
245
245
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
246
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
246
+ yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
247
247
  })
248
248
  });
249
249
  function headers(contentType, app) {
@@ -334,4 +334,4 @@ function claim(token) {
334
334
  return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
335
335
  }
336
336
 
337
- export { OpenAIPlugin2 };
337
+ export { OpenAIPlugin3 };
@@ -3,21 +3,21 @@ import {
3
3
  } from "./repository-cache-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./repository-cache-c2sed5cq.js";
6
+ } from "./repository-cache-axe3mf62.js";
7
7
  import {
8
8
  MessageDecodeError2
9
- } from "./repository-cache-37cqxn50.js";
9
+ } from "./repository-cache-ctxez2a7.js";
10
10
  import {
11
11
  InitializationBlocked2,
12
12
  read3
13
- } from "./repository-cache-rhjbct0v.js";
13
+ } from "./repository-cache-s8d7rejh.js";
14
14
  import {
15
15
  SessionMessageTable2
16
16
  } from "./repository-cache-c1fqxshp.js";
17
17
  import {
18
18
  initial2,
19
19
  preview3
20
- } from "./repository-cache-1ze9gtzp.js";
20
+ } from "./repository-cache-baqyxak2.js";
21
21
  import {
22
22
  messageToText2
23
23
  } from "./repository-cache-8mywswrd.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  migrations2
3
- } from "./repository-cache-bq3hn31g.js";
3
+ } from "./repository-cache-b0b3nmkz.js";
4
4
  import {
5
5
  schema_gen_default
6
6
  } from "./repository-cache-pkyv6v7h.js";
@@ -1,7 +1,7 @@
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
  __export
7
7
  } from "./repository-cache-9rqn6x4v.js";