@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
@@ -0,0 +1,257 @@
1
+ import {
2
+ node80
3
+ } from "./repository-cache-5xte2yyn.js";
4
+ import {
5
+ node84
6
+ } from "./repository-cache-gtdxectv.js";
7
+ import {
8
+ node83
9
+ } from "./repository-cache-t8z4ntba.js";
10
+ import {
11
+ node85,
12
+ boundNode2
13
+ } from "./repository-cache-8pvf9cdd.js";
14
+ import {
15
+ node82
16
+ } from "./repository-cache-1hyfwtsr.js";
17
+ import {
18
+ node73
19
+ } from "./repository-cache-pk0dmpdf.js";
20
+ import {
21
+ node72
22
+ } from "./repository-cache-hnvjv21h.js";
23
+ import {
24
+ node45
25
+ } from "./repository-cache-g2qvt889.js";
26
+ import {
27
+ configured7,
28
+ node59
29
+ } from "./repository-cache-z0mn1t4q.js";
30
+ import {
31
+ node54
32
+ } from "./repository-cache-24ra19qx.js";
33
+ import {
34
+ node17
35
+ } from "./repository-cache-23fc6a7j.js";
36
+ import {
37
+ node16
38
+ } from "./repository-cache-za7dxrd4.js";
39
+ import {
40
+ node19
41
+ } from "./repository-cache-25m6jntb.js";
42
+ import {
43
+ DirectoryNotFoundError2,
44
+ node18
45
+ } from "./repository-cache-4evmdpem.js";
46
+ import {
47
+ node58
48
+ } from "./repository-cache-pzc1z4et.js";
49
+ import {
50
+ node57
51
+ } from "./repository-cache-fpen5yq5.js";
52
+ import {
53
+ node62
54
+ } from "./repository-cache-136rxf1v.js";
55
+ import {
56
+ node44
57
+ } from "./repository-cache-k7myrtme.js";
58
+ import {
59
+ node32
60
+ } from "./repository-cache-1ycwwje8.js";
61
+ import {
62
+ Service45,
63
+ node47
64
+ } from "./repository-cache-mx9vqzsb.js";
65
+ import {
66
+ node35
67
+ } from "./repository-cache-qd284e96.js";
68
+ import {
69
+ node81
70
+ } from "./repository-cache-2eegacq4.js";
71
+ import {
72
+ node77
73
+ } from "./repository-cache-2ntc19nv.js";
74
+ import {
75
+ node49
76
+ } from "./repository-cache-vs7zhs8r.js";
77
+ import {
78
+ configured5,
79
+ node36
80
+ } from "./repository-cache-hbvyahhm.js";
81
+ import {
82
+ node30
83
+ } from "./repository-cache-mr0cv7ny.js";
84
+ import {
85
+ node43
86
+ } from "./repository-cache-dqr3pwk6.js";
87
+ import {
88
+ node29
89
+ } from "./repository-cache-6qprtkrf.js";
90
+ import {
91
+ node41
92
+ } from "./repository-cache-0cwe34aq.js";
93
+ import {
94
+ node27
95
+ } from "./repository-cache-63jfzrme.js";
96
+ import {
97
+ node37
98
+ } from "./repository-cache-mq56jt1j.js";
99
+ import {
100
+ node31
101
+ } from "./repository-cache-ezx2brb0.js";
102
+ import {
103
+ node26
104
+ } from "./repository-cache-cd8v38ms.js";
105
+ import {
106
+ node38
107
+ } from "./repository-cache-cg5q9ras.js";
108
+ import {
109
+ node64
110
+ } from "./repository-cache-kvk0xsab.js";
111
+ import {
112
+ node53
113
+ } from "./repository-cache-d04ep358.js";
114
+ import {
115
+ node51
116
+ } from "./repository-cache-k07nhkpw.js";
117
+ import {
118
+ node75
119
+ } from "./repository-cache-f31q5wm1.js";
120
+ import {
121
+ node40
122
+ } from "./repository-cache-am5vmnvv.js";
123
+ import {
124
+ node39
125
+ } from "./repository-cache-ez5pkgh4.js";
126
+ import {
127
+ node66
128
+ } from "./repository-cache-3ske6nsv.js";
129
+ import {
130
+ node21
131
+ } from "./repository-cache-cmkn1bh9.js";
132
+ import {
133
+ node2
134
+ } from "./repository-cache-qm621tfa.js";
135
+ import {
136
+ Service70,
137
+ node74
138
+ } from "./repository-cache-mjxa0fkz.js";
139
+ import {
140
+ node68
141
+ } from "./repository-cache-rx1rzkp9.js";
142
+ import {
143
+ node10,
144
+ bound2
145
+ } from "./repository-cache-6f890ccd.js";
146
+ import {
147
+ node13
148
+ } from "./repository-cache-vsa820f9.js";
149
+ import {
150
+ node12
151
+ } from "./repository-cache-2r3bm1pf.js";
152
+ import {
153
+ node7
154
+ } from "./repository-cache-ethnw1sn.js";
155
+ import {
156
+ node3
157
+ } from "./repository-cache-ys3h2zrn.js";
158
+ import {
159
+ node63
160
+ } from "./repository-cache-xwgk07kc.js";
161
+ import {
162
+ node14
163
+ } from "./repository-cache-k1php5wk.js";
164
+ import {
165
+ node11
166
+ } from "./repository-cache-br622wkd.js";
167
+ import {
168
+ __export
169
+ } from "./repository-cache-9rqn6x4v.js";
170
+
171
+ // src/instance.ts
172
+ var exports_instance = {};
173
+ __export(exports_instance, {
174
+ Instance: () => exports_instance,
175
+ Service: () => Service45,
176
+ graph: () => graph2,
177
+ layer: () => layer2,
178
+ node: () => node47
179
+ });
180
+ import { Context, Effect, Layer } from "effect";
181
+ import { LayerNode } from "@opencode/util/effect/layer-node";
182
+ import { Node } from "@opencode/util/effect/app-node";
183
+ var nodes = [
184
+ node85,
185
+ node74,
186
+ node54,
187
+ node59,
188
+ node80,
189
+ node45,
190
+ node41,
191
+ node75,
192
+ node39,
193
+ node83,
194
+ node82,
195
+ node72,
196
+ node58,
197
+ node73,
198
+ node21,
199
+ node81,
200
+ node10,
201
+ node3,
202
+ node66,
203
+ node19,
204
+ node18,
205
+ node64,
206
+ node63,
207
+ node51,
208
+ node37,
209
+ node30,
210
+ node36,
211
+ node68,
212
+ node17,
213
+ node16,
214
+ node32,
215
+ node77,
216
+ node43,
217
+ node53,
218
+ node44,
219
+ node31,
220
+ node27,
221
+ node35,
222
+ node84,
223
+ node57,
224
+ node62,
225
+ node7,
226
+ node29,
227
+ node12,
228
+ node49,
229
+ node13,
230
+ node14,
231
+ node26,
232
+ node38,
233
+ node11,
234
+ node40,
235
+ node2
236
+ ];
237
+ var graph2 = LayerNode.group(nodes);
238
+ var vanillaReplacements = [
239
+ node59.replace(configured7({ project: false, global: false })),
240
+ node36.replace(configured5({ project: false, global: false }))
241
+ ];
242
+ function layer2(ref, options = {}) {
243
+ const startedAt = performance.now();
244
+ const replacements = [
245
+ ...options.discovery === false ? vanillaReplacements : [],
246
+ ...options.replacements ?? [],
247
+ node85.replace(boundNode2(ref)),
248
+ node10.replace(bound2(options.plugins ?? []))
249
+ ];
250
+ return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.catchCause((cause) => Layer.unwrap(Effect.failCause(cause).pipe(Effect.catch((error) => error instanceof DirectoryNotFoundError2 ? Effect.fail(error) : Effect.die(error))))), Layer.tap((context) => Effect.addFinalizer(() => Context.get(context, Service70).shutdown)), Layer.tap(() => Effect.logInfo("location services booted", {
251
+ directory: ref.directory,
252
+ workspaceID: ref.workspaceID,
253
+ durationMs: Math.round(performance.now() - startedAt)
254
+ })));
255
+ }
256
+
257
+ export { graph2, layer2, exports_instance };
@@ -8,11 +8,11 @@ import {
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
- Service: () => Service40,
11
+ Service: () => Service31,
12
12
  SessionModelTransport: () => exports_model_transport,
13
- layer: () => layer17,
13
+ layer: () => layer16,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node43
15
+ node: () => node34
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
33
33
  });
34
34
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
35
35
 
36
- class Service40 extends Context.Service()("@opencode/SessionModelTransport") {
36
+ class Service31 extends Context.Service()("@opencode/SessionModelTransport") {
37
37
  }
38
38
  var transportError = (message, input) => new AIError({
39
39
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
57
57
  return Effect.fail(observation.error);
58
58
  };
59
59
  var observationTerminal = (observation) => observation.type !== "frame";
60
- var makeLayer2 = (connector) => Layer.effect(Service40, Effect.gen(function* () {
60
+ var makeLayer2 = (connector) => Layer.effect(Service31, Effect.gen(function* () {
61
61
  const scope = yield* Scope.Scope;
62
62
  const states = new Map;
63
63
  const state = (sessionID) => {
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service40, Effect.gen(function* ()
367
367
  }, { discard: true });
368
368
  });
369
369
  yield* Effect.addFinalizer(() => closeAll);
370
- return Service40.of({ bind, close, closeAll });
370
+ return Service31.of({ bind, close, closeAll });
371
371
  }));
372
- var layer17 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
372
+ var layer16 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
373
373
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
374
374
  })));
375
- var node43 = makeGlobalNode({ service: Service40, layer: layer17, deps: [webSocketConstructor2] });
375
+ var node34 = makeGlobalNode({ service: Service31, layer: layer16, deps: [webSocketConstructor2] });
376
376
 
377
- export { Service40, makeLayer2, layer17, node43, exports_model_transport };
377
+ export { Service31, makeLayer2, layer16, node34, exports_model_transport };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./repository-cache-9m35c2r0.js";
4
+ } from "./repository-cache-1hyfwtsr.js";
5
5
 
6
6
  // src/plugin/provider/vercel.ts
7
7
  import { Effect } from "effect";
@@ -4,12 +4,12 @@ import {
4
4
  RelativePath2
5
5
  } from "./repository-cache-z5v4ffb3.js";
6
6
  import {
7
- Service55,
8
- node58
9
- } from "./repository-cache-0vtn597b.js";
7
+ Service52,
8
+ node54
9
+ } from "./repository-cache-24ra19qx.js";
10
10
  import {
11
11
  Content2
12
- } from "./repository-cache-pnf7bv7v.js";
12
+ } from "./repository-cache-4evmdpem.js";
13
13
  import {
14
14
  detect2
15
15
  } from "./repository-cache-3smtnn6g.js";
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service7,
36
+ Service: () => Service6,
37
37
  TextPage: () => TextPage2,
38
- node: () => node9,
38
+ node: () => node7,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service7 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service6 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
330
330
  return index + 1;
331
331
  }
332
332
  };
333
- var layer = Layer.effect(Service7, Effect.gen(function* () {
334
- const environment = yield* Service55;
335
- return Service7.of({
333
+ var layer = Layer.effect(Service6, Effect.gen(function* () {
334
+ const environment = yield* Service52;
335
+ return Service6.of({
336
336
  list: environment.files.list,
337
337
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
338
338
  });
339
339
  }));
340
- var node9 = makeLocationNode({ service: Service7, layer, deps: [node58] });
340
+ var node7 = makeLocationNode({ service: Service6, layer, deps: [node54] });
341
341
 
342
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service7, read2, node9, exports_read_filesystem };
342
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service6, read2, node7, exports_read_filesystem };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  ID13
3
- } from "./repository-cache-9m35c2r0.js";
3
+ } from "./repository-cache-1hyfwtsr.js";
4
4
  import {
5
5
  iife2
6
6
  } from "./repository-cache-1kg9ymc8.js";
7
7
  import {
8
8
  configuredSettings2
9
- } from "./repository-cache-tzaz3z0t.js";
9
+ } from "./repository-cache-btpxpz9q.js";
10
10
 
11
11
  // src/plugin/provider/cloudflare-workers-ai.ts
12
12
  import { Effect } from "effect";
@@ -11,18 +11,18 @@ import {
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event11,
14
+ Event: () => Event9,
15
15
  Native: () => Native3,
16
- Options: () => Options9,
17
- Service: () => Service61,
16
+ Options: () => Options8,
17
+ Service: () => Service57,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured11,
20
+ configured: () => configured8,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer25,
22
+ layer: () => layer24,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node65,
25
+ node: () => node60,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event11 = { Updated: FileSystem.Event.Changed };
36
+ var Event9 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
39
  return createWrapper(load4());
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options9 = Schema.Struct({
56
+ var Options8 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service61 extends Context.Service()("@opencode/Watcher") {
60
+ class Service57 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer25 = (options) => Layer.effect(Service61, Effect.gen(function* () {
65
+ var layer24 = (options) => Layer.effect(Service57, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service61.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service57.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer25 = (options) => Layer.effect(Service61, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service61.of({ subscribe });
108
+ return Service57.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer25().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer24().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service61).subscribe,
134
+ subscribe: Context.get(context, Service57).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service61, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service57, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
164
164
  }
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
- function configured11(options) {
168
- return makeGlobalNode({ service: Service61, layer: layer25(options), deps: [nativeNode2] });
167
+ function configured8(options) {
168
+ return makeGlobalNode({ service: Service57, layer: layer24(options), deps: [nativeNode2] });
169
169
  }
170
- var node65 = configured11();
170
+ var node60 = configured8();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event11, hasNativeBinding2, Native3, Options9, Service61, Test3, layer25, testLayer3, nativeLayer2, nativeNode2, configured11, node65, exports_watcher };
190
+ export { Event9, hasNativeBinding2, Native3, Options8, Service57, Test3, layer24, testLayer3, nativeLayer2, nativeNode2, configured8, node60, exports_watcher };
@@ -1,11 +1,11 @@
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
- Service76,
7
- node80
8
- } from "./repository-cache-gtsbe4v4.js";
6
+ Service67,
7
+ node71
8
+ } from "./repository-cache-sq37fes3.js";
9
9
  import {
10
10
  create3
11
11
  } from "./repository-cache-rdw6cm16.js";
@@ -17,9 +17,9 @@ import {
17
17
  var exports_websearch3 = {};
18
18
  __export(exports_websearch3, {
19
19
  DisabledError: () => DisabledError2,
20
- Event: () => Event7,
21
- ID: () => ID4,
22
- Input: () => Input14,
20
+ Event: () => Event6,
21
+ ID: () => ID5,
22
+ Input: () => Input15,
23
23
  Provider: () => Provider2,
24
24
  ProviderKey: () => ProviderKey2,
25
25
  ProviderNotFoundError: () => ProviderNotFoundError2,
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
28
28
  Response: () => Response2,
29
29
  Result: () => Result2,
30
30
  Selection: () => Selection2,
31
- Service: () => Service28,
31
+ Service: () => Service36,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node31
33
+ node: () => node39
34
34
  });
35
35
  import { WebSearch } from "@opencode/schema/websearch";
36
36
  import { SessionEvent } from "@opencode/schema/session-event";
37
37
  import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
38
38
  import { HttpClientError } from "effect/http";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
- import { Event as Event7 } from "@opencode/schema/websearch";
41
- var ID4 = WebSearch.ID;
40
+ import { Event as Event6 } from "@opencode/schema/websearch";
41
+ var ID5 = WebSearch.ID;
42
42
  var Provider2 = WebSearch.Provider;
43
- var Input14 = WebSearch.Input;
43
+ var Input15 = WebSearch.Input;
44
44
  var Result2 = WebSearch.Result;
45
45
  var Response2 = WebSearch.Response;
46
46
  var ProviderKey2 = "websearch:provider";
47
- var Selection2 = Schema.Union([ID4, Schema.Literal("random"), Schema.Literal(false)]);
47
+ var Selection2 = Schema.Union([ID5, Schema.Literal("random"), Schema.Literal(false)]);
48
48
 
49
49
  class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
50
50
  }
51
51
 
52
52
  class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
53
- providerID: ID4
53
+ providerID: ID5
54
54
  }) {
55
55
  }
56
56
 
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
58
58
  }
59
59
 
60
60
  class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
61
- providerID: ID4,
61
+ providerID: ID5,
62
62
  cause: Schema.Defect()
63
63
  }) {
64
64
  }
65
65
 
66
- class Service28 extends Context.Service()("@opencode/WebSearch") {
66
+ class Service36 extends Context.Service()("@opencode/WebSearch") {
67
67
  }
68
- var layer = Layer.effect(Service28, Effect.gen(function* () {
68
+ var layer = Layer.effect(Service36, Effect.gen(function* () {
69
69
  const bus = yield* Service85;
70
- const kv = yield* Service76;
70
+ const kv = yield* Service67;
71
71
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
72
72
  const cooldowns = new Map;
73
73
  const preferred = new Map;
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
124
124
  }
125
125
  return choice ? state.get().providers.get(choice) : undefined;
126
126
  });
127
- return Service28.of({
127
+ return Service36.of({
128
128
  transform: state.transform,
129
129
  reload: state.reload,
130
130
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
184
184
  const date = Date.parse(value);
185
185
  return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
186
186
  }
187
- var node31 = makeLocationNode({
188
- service: Service28,
187
+ var node39 = makeLocationNode({
188
+ service: Service36,
189
189
  layer,
190
- deps: [node89, node80]
190
+ deps: [node89, node71]
191
191
  });
192
192
 
193
- export { ID4, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service28, node31, exports_websearch3, Event7 };
193
+ export { ID5, Provider2, Input15, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service36, node39, exports_websearch3, Event6 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  Key3,
3
3
  removed2,
4
- make20,
4
+ make21,
5
5
  diffByKey2
6
- } from "./repository-cache-rhjbct0v.js";
6
+ } from "./repository-cache-s8d7rejh.js";
7
7
  import {
8
- ID7,
8
+ ID3,
9
9
  Name2,
10
10
  available3,
11
- Service62,
12
- node66
13
- } from "./repository-cache-vhj1m4b0.js";
11
+ Service34,
12
+ node37
13
+ } from "./repository-cache-mq56jt1j.js";
14
14
  import {
15
15
  __export
16
16
  } from "./repository-cache-9rqn6x4v.js";
@@ -18,14 +18,14 @@ import {
18
18
  // src/skill/instructions.ts
19
19
  var exports_instructions5 = {};
20
20
  __export(exports_instructions5, {
21
- Service: () => Service42,
21
+ Service: () => Service28,
22
22
  SkillInstructions: () => exports_instructions5,
23
- node: () => node45
23
+ node: () => node31
24
24
  });
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
27
  var Summary = Schema.Struct({
28
- id: ID7,
28
+ id: ID3,
29
29
  name: Name2,
30
30
  description: Schema.String
31
31
  });
@@ -60,14 +60,14 @@ var update = (previous, current) => {
60
60
  `);
61
61
  };
62
62
 
63
- class Service42 extends Context.Service()("@opencode/SkillInstructions") {
63
+ class Service28 extends Context.Service()("@opencode/SkillInstructions") {
64
64
  }
65
- var layer = Layer.effect(Service42, Effect.gen(function* () {
66
- const skills = yield* Service62;
67
- return Service42.of({
65
+ var layer = Layer.effect(Service28, Effect.gen(function* () {
66
+ const skills = yield* Service34;
67
+ return Service28.of({
68
68
  load: Effect.fn("SkillInstructions.load")(function* (permissions) {
69
69
  const available = available3(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
70
- return make20({
70
+ return make21({
71
71
  key: Key3.make("core/skill-guidance"),
72
72
  codec: Schema.toCodecJson(Schema.Array(Summary)),
73
73
  read: Effect.succeed(available.length === 0 ? removed2 : available),
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
80
80
  })
81
81
  });
82
82
  }));
83
- var node45 = makeLocationNode({ service: Service42, layer, deps: [node66] });
83
+ var node31 = makeLocationNode({ service: Service28, layer, deps: [node37] });
84
84
 
85
- export { Service42, node45, exports_instructions5 };
85
+ export { Service28, node31, exports_instructions5 };