@opencode/core 0.0.0-dev-20241 → 0.0.0-dev-20248

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 (796) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{pty-gqpj6er6.js → repository-cache-058qq49r.js} +27 -27
  8. package/dist/chunks/{pty-z4x8vcyx.js → repository-cache-078rgkvc.js} +18 -18
  9. package/dist/chunks/{pty-9sbw2ymd.js → repository-cache-07vj3bh8.js} +23 -23
  10. package/dist/chunks/{pty-7k5pzz91.js → repository-cache-08cc3crx.js} +12 -12
  11. package/dist/chunks/{pty-6f3gsd2m.js → repository-cache-097j89tx.js} +52 -52
  12. package/dist/chunks/{pty-5zzhnchw.js → repository-cache-0988adk2.js} +10 -10
  13. package/dist/chunks/{pty-af04s6ss.js → repository-cache-0f9afca0.js} +5 -5
  14. package/dist/chunks/{pty-m563m38r.js → repository-cache-0nqfdzfg.js} +11 -11
  15. package/dist/chunks/{pty-0paq2nw3.js → repository-cache-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{pty-nvsf456q.js → repository-cache-0qm7vwzr.js} +23 -23
  17. package/dist/chunks/{pty-1q4zsn8w.js → repository-cache-0thxwbsq.js} +11 -11
  18. package/dist/chunks/{pty-yfj51pwm.js → repository-cache-0vvxryhs.js} +20 -20
  19. package/dist/chunks/{pty-2k2q6fw8.js → repository-cache-0xpxvgpn.js} +9 -9
  20. package/dist/chunks/{pty-sqa4x5n4.js → repository-cache-11jdz1a5.js} +8 -8
  21. package/dist/chunks/{pty-ngad3z0g.js → repository-cache-13zjnhww.js} +15 -15
  22. package/dist/chunks/{pty-3dek0r7g.js → repository-cache-19jrchnq.js} +16 -16
  23. package/dist/chunks/{pty-f2n192rq.js → repository-cache-1acjjqhc.js} +4 -4
  24. package/dist/chunks/{pty-1dazxqgg.js → repository-cache-1dazxqgg.js} +2 -2
  25. package/dist/chunks/{pty-y84esdn3.js → repository-cache-1e3wa6g2.js} +3 -3
  26. package/dist/chunks/{pty-nc3tx9jz.js → repository-cache-1jrf61rm.js} +8 -8
  27. package/dist/chunks/{pty-e6btmr3s.js → repository-cache-1qksrx13.js} +171 -171
  28. package/dist/chunks/{pty-yckhfgep.js → repository-cache-1v8zdmks.js} +31 -31
  29. package/dist/chunks/{pty-21r38tys.js → repository-cache-21r38tys.js} +1 -1
  30. package/dist/chunks/{pty-vx1akz9y.js → repository-cache-23hratnr.js} +17 -17
  31. package/dist/chunks/{pty-rr5w79wt.js → repository-cache-292dnxcy.js} +11 -11
  32. package/dist/chunks/{pty-g7ev7cxw.js → repository-cache-29kpjvxb.js} +14 -14
  33. package/dist/chunks/{pty-2a5m3afh.js → repository-cache-2a5m3afh.js} +1 -1
  34. package/dist/chunks/{pty-zk8c4w5t.js → repository-cache-2cmv458r.js} +5 -5
  35. package/dist/chunks/{pty-v7h219eh.js → repository-cache-2fem29gc.js} +25 -25
  36. package/dist/chunks/{pty-2k8khapm.js → repository-cache-2k8khapm.js} +1 -1
  37. package/dist/chunks/{pty-em4dwj0d.js → repository-cache-2q54vq3t.js} +11 -11
  38. package/dist/chunks/{pty-3s3yvxep.js → repository-cache-32ymn5e1.js} +6 -6
  39. package/dist/chunks/{pty-mfqp6xfm.js → repository-cache-33w4ejhs.js} +9 -9
  40. package/dist/chunks/{pty-m2fxrq1x.js → repository-cache-36z7zph9.js} +17 -17
  41. package/dist/chunks/{pty-3fc6dm20.js → repository-cache-3fc6dm20.js} +1 -1
  42. package/dist/chunks/{pty-3hepkmqq.js → repository-cache-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{pty-sf6t82jx.js → repository-cache-3k4dry0a.js} +26 -26
  44. package/dist/chunks/{pty-0c3h0e6z.js → repository-cache-3sdjj4an.js} +16 -16
  45. package/dist/chunks/{pty-3smtnn6g.js → repository-cache-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{pty-3tvqynh2.js → repository-cache-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{pty-3zsf4n22.js → repository-cache-3zsf4n22.js} +1 -1
  48. package/dist/chunks/{pty-0bfcnrg1.js → repository-cache-427t97hr.js} +1 -1
  49. package/dist/chunks/{pty-natfc3ay.js → repository-cache-4a2epabq.js} +4 -4
  50. package/dist/chunks/{pty-44h5tttr.js → repository-cache-4dgbcxzg.js} +4 -4
  51. package/dist/chunks/{pty-9r13wbwg.js → repository-cache-4e1ama98.js} +3 -3
  52. package/dist/chunks/{pty-61n243wx.js → repository-cache-4jaemszs.js} +1 -1
  53. package/dist/chunks/{pty-24wggvhe.js → repository-cache-4jemq3kp.js} +16 -16
  54. package/dist/chunks/{pty-5qkxfyep.js → repository-cache-4jv7e9dq.js} +9 -9
  55. package/dist/chunks/{pty-45wxwjsv.js → repository-cache-4t3er74t.js} +39 -39
  56. package/dist/chunks/{pty-2x3f6yxr.js → repository-cache-4t56bhmg.js} +12 -12
  57. package/dist/chunks/{pty-afh0ypz9.js → repository-cache-4vekh9c8.js} +29 -29
  58. package/dist/chunks/repository-cache-51rgksg0.js +507 -0
  59. package/dist/chunks/{pty-57ez7d0k.js → repository-cache-57ez7d0k.js} +2 -2
  60. package/dist/chunks/{pty-5daktx2q.js → repository-cache-5daktx2q.js} +1 -1
  61. package/dist/chunks/{pty-a3zfxb3h.js → repository-cache-5nh1jpgd.js} +26 -26
  62. package/dist/chunks/{pty-9sayw2ch.js → repository-cache-5nsxsham.js} +5 -5
  63. package/dist/chunks/{pty-5t3nmthw.js → repository-cache-5t3nmthw.js} +2 -2
  64. package/dist/chunks/{pty-b81v50pn.js → repository-cache-5x0bqqwq.js} +5 -5
  65. package/dist/chunks/{pty-669tq793.js → repository-cache-669tq793.js} +1 -1
  66. package/dist/chunks/{pty-ab9238g2.js → repository-cache-6anwy9fs.js} +6 -6
  67. package/dist/chunks/{pty-6msgmcgs.js → repository-cache-6msgmcgs.js} +1 -1
  68. package/dist/chunks/{pty-6rm5yzkt.js → repository-cache-6rm5yzkt.js} +1 -1
  69. package/dist/chunks/{pty-zd8qt3bk.js → repository-cache-6vjypkf7.js} +24 -24
  70. package/dist/chunks/{pty-1bbkgx8g.js → repository-cache-73tb2d7t.js} +3 -3
  71. package/dist/chunks/{pty-7bmhse3q.js → repository-cache-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{pty-92873q6k.js → repository-cache-7c5r8mwm.js} +23 -23
  73. package/dist/chunks/{pty-32zdxkvs.js → repository-cache-7jr3mcnt.js} +33 -33
  74. package/dist/chunks/{pty-petzbryk.js → repository-cache-7rwbexbt.js} +6 -6
  75. package/dist/chunks/{pty-hbznj76v.js → repository-cache-7w99qc9d.js} +3 -3
  76. package/dist/chunks/{pty-3zar4bb6.js → repository-cache-7x0c6mmr.js} +29 -29
  77. package/dist/chunks/{pty-4s7et4sz.js → repository-cache-81vvr7wj.js} +68 -68
  78. package/dist/chunks/{pty-rq80fhnt.js → repository-cache-87f3zbh4.js} +11 -11
  79. package/dist/chunks/{pty-nw2v4mce.js → repository-cache-88bzbqnm.js} +13 -13
  80. package/dist/chunks/{pty-zrb5rc4f.js → repository-cache-88rp6a5n.js} +27 -27
  81. package/dist/chunks/{pty-8d7r5vzw.js → repository-cache-8d7r5vzw.js} +1 -1
  82. package/dist/chunks/{pty-xa84kt07.js → repository-cache-8mzhkqz2.js} +25 -25
  83. package/dist/chunks/{pty-30krspkn.js → repository-cache-8qvzptz7.js} +4 -4
  84. package/dist/chunks/{pty-b10jyf86.js → repository-cache-91aa3a25.js} +16 -16
  85. package/dist/chunks/{pty-tjznwxx0.js → repository-cache-91nb1jqk.js} +37 -37
  86. package/dist/chunks/{pty-94ek1h2f.js → repository-cache-94ek1h2f.js} +2 -2
  87. package/dist/chunks/{pty-73hkkxz0.js → repository-cache-9609hank.js} +4 -4
  88. package/dist/chunks/{pty-zdewfq3n.js → repository-cache-9brpyp0y.js} +5 -5
  89. package/dist/chunks/{pty-v4yy06kz.js → repository-cache-9hy0f780.js} +48 -48
  90. package/dist/chunks/repository-cache-9s8z1thm.js +26 -0
  91. package/dist/chunks/repository-cache-9sh4wc5j.js +18 -0
  92. package/dist/chunks/{pty-wkmn09sz.js → repository-cache-9t1gynrw.js} +32 -32
  93. package/dist/chunks/{pty-jam4tn4y.js → repository-cache-9y7gjzcp.js} +9 -9
  94. package/dist/chunks/{pty-6n4wvebq.js → repository-cache-a4ns85mx.js} +20 -20
  95. package/dist/chunks/{pty-hqwm4sk8.js → repository-cache-a910jp2g.js} +15 -15
  96. package/dist/chunks/{pty-evxzpz7n.js → repository-cache-aa27w7jm.js} +11 -11
  97. package/dist/chunks/{pty-arey8x0d.js → repository-cache-aabh3rnp.js} +9 -9
  98. package/dist/chunks/{pty-aaet6srn.js → repository-cache-aaet6srn.js} +2 -2
  99. package/dist/chunks/{pty-bmwcq5x5.js → repository-cache-abeafk4b.js} +21 -21
  100. package/dist/chunks/{pty-vy4zg7qh.js → repository-cache-afed7ext.js} +5 -5
  101. package/dist/chunks/{pty-3jhgxqxx.js → repository-cache-affanax3.js} +26 -26
  102. package/dist/chunks/{pty-gk5v5xhs.js → repository-cache-aj81xsja.js} +24 -24
  103. package/dist/chunks/{pty-nf1sbg18.js → repository-cache-asmhed6t.js} +8 -8
  104. package/dist/chunks/{pty-b6gygkdw.js → repository-cache-b6gygkdw.js} +2 -2
  105. package/dist/chunks/{pty-16hsz39w.js → repository-cache-b7xasgp7.js} +32 -32
  106. package/dist/chunks/{pty-78kppgjr.js → repository-cache-b8286ec0.js} +8 -8
  107. package/dist/chunks/{pty-nyw6c0bv.js → repository-cache-bkyxyg8h.js} +26 -26
  108. package/dist/chunks/{pty-ykp63ekt.js → repository-cache-bqedhbkq.js} +4 -4
  109. package/dist/chunks/{pty-es2axc3h.js → repository-cache-bqrz9ag7.js} +26 -26
  110. package/dist/chunks/{pty-btx594cc.js → repository-cache-bvpkk3q2.js} +3 -3
  111. package/dist/chunks/{pty-jfkvjta7.js → repository-cache-bw43118n.js} +29 -29
  112. package/dist/chunks/{pty-3r1sf261.js → repository-cache-by47bvwa.js} +13 -13
  113. package/dist/chunks/{pty-1t09j7vg.js → repository-cache-bzgzbtys.js} +10 -10
  114. package/dist/chunks/{pty-31bxas0a.js → repository-cache-c1y3bnfr.js} +25 -25
  115. package/dist/chunks/{pty-c2egcwd5.js → repository-cache-c5yp82fd.js} +20 -20
  116. package/dist/chunks/{pty-6fjgv3tx.js → repository-cache-c8fx5zam.js} +7 -7
  117. package/dist/chunks/{pty-pqcp81t9.js → repository-cache-c9xaha6y.js} +15 -15
  118. package/dist/chunks/{pty-bfh6ya47.js → repository-cache-cafc3hsg.js} +22 -22
  119. package/dist/chunks/{pty-a1rbvmj7.js → repository-cache-cd4qqjqw.js} +33 -33
  120. package/dist/chunks/{pty-ckecvw8r.js → repository-cache-ckecvw8r.js} +2 -2
  121. package/dist/chunks/{pty-fm4n3eyq.js → repository-cache-cn13n8vv.js} +14 -14
  122. package/dist/chunks/{pty-79qaa2kf.js → repository-cache-cwa6csj7.js} +9 -9
  123. package/dist/chunks/{pty-yrq2792c.js → repository-cache-cwvtaad0.js} +3 -3
  124. package/dist/chunks/{pty-140xbb54.js → repository-cache-db9rkawd.js} +44 -44
  125. package/dist/chunks/{pty-cp4trhpy.js → repository-cache-dgfhv2ra.js} +13 -13
  126. package/dist/chunks/{pty-4jg0yvch.js → repository-cache-dn7htzk3.js} +20 -20
  127. package/dist/chunks/{pty-zq6stcrg.js → repository-cache-dpahde6h.js} +8 -8
  128. package/dist/chunks/{pty-15y67vk6.js → repository-cache-dqw8sfxx.js} +2 -2
  129. package/dist/chunks/{pty-8g2qdxs9.js → repository-cache-ds2pk4bj.js} +30 -30
  130. package/dist/chunks/{pty-9hqygntd.js → repository-cache-dtnqh7xf.js} +27 -22
  131. package/dist/chunks/{pty-g0445xdp.js → repository-cache-dv1qgsyq.js} +8 -8
  132. package/dist/chunks/{pty-bf10k29y.js → repository-cache-dzk760wa.js} +3 -3
  133. package/dist/chunks/{pty-tz4n1mmd.js → repository-cache-e2hjzebn.js} +4 -4
  134. package/dist/chunks/{pty-rqzzs8tq.js → repository-cache-e3k6knef.js} +13 -13
  135. package/dist/chunks/{pty-eveqn7cq.js → repository-cache-e6zyer8f.js} +17 -17
  136. package/dist/chunks/{pty-9jdec6an.js → repository-cache-ea3ghczx.js} +21 -21
  137. package/dist/chunks/{pty-ecfe7b91.js → repository-cache-ecfe7b91.js} +2 -2
  138. package/dist/chunks/{pty-pakcngh0.js → repository-cache-eeaf82dq.js} +7 -7
  139. package/dist/chunks/{pty-ef5x83kb.js → repository-cache-ef5x83kb.js} +1 -1
  140. package/dist/chunks/{pty-p7a39gy5.js → repository-cache-eqkxs06z.js} +6 -6
  141. package/dist/chunks/{pty-etq0c3wd.js → repository-cache-etq0c3wd.js} +1 -1
  142. package/dist/chunks/{pty-dy3v49r2.js → repository-cache-ev9gp3cm.js} +11 -11
  143. package/dist/chunks/{pty-bnpy9ev6.js → repository-cache-eyj2vfft.js} +17 -17
  144. package/dist/chunks/{pty-h00myp85.js → repository-cache-f01042q8.js} +49 -49
  145. package/dist/chunks/{pty-gs4tkc79.js → repository-cache-f7rj482f.js} +8 -8
  146. package/dist/chunks/{pty-3wa2an9q.js → repository-cache-f8akmggk.js} +28 -28
  147. package/dist/chunks/{pty-3p17msm4.js → repository-cache-fj1n3k37.js} +9 -9
  148. package/dist/chunks/{pty-7r0mserh.js → repository-cache-fnyn8exm.js} +21 -21
  149. package/dist/chunks/{pty-6h8axav6.js → repository-cache-ftyydgn8.js} +9 -9
  150. package/dist/chunks/{pty-78jvmpng.js → repository-cache-fy93ygep.js} +30 -30
  151. package/dist/chunks/{pty-g5agzp2h.js → repository-cache-g5agzp2h.js} +2 -2
  152. package/dist/chunks/{pty-rceabfjb.js → repository-cache-g5wjn8h2.js} +4 -4
  153. package/dist/chunks/{pty-y2yz6ws7.js → repository-cache-g9by7d7e.js} +14 -14
  154. package/dist/chunks/{pty-dke02a2q.js → repository-cache-g9tjzdrf.js} +22 -22
  155. package/dist/chunks/{pty-gd4qta3r.js → repository-cache-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{pty-wkq7w2hk.js → repository-cache-gqf2e7w5.js} +22 -22
  157. package/dist/chunks/{pty-gv6a8nnw.js → repository-cache-gv6a8nnw.js} +2 -2
  158. package/dist/chunks/{pty-d99kb9jw.js → repository-cache-h4xmhyrc.js} +15 -15
  159. package/dist/chunks/{pty-h6vf3j39.js → repository-cache-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{pty-01vst05w.js → repository-cache-h7gdr3a3.js} +42 -42
  161. package/dist/chunks/{pty-6b6tf05m.js → repository-cache-ht7262xq.js} +14 -14
  162. package/dist/chunks/{pty-7y5p1sr1.js → repository-cache-hz6g7x4z.js} +8 -8
  163. package/dist/chunks/{pty-a3he3nyv.js → repository-cache-j1fzn4b4.js} +29 -29
  164. package/dist/chunks/{pty-j56e64zr.js → repository-cache-j56e64zr.js} +1 -1
  165. package/dist/chunks/{pty-1wpnfrkj.js → repository-cache-j6k053yf.js} +4 -4
  166. package/dist/chunks/{pty-p87y7hpb.js → repository-cache-jd97cc84.js} +2 -2
  167. package/dist/chunks/{pty-j62n369y.js → repository-cache-jg9znx1t.js} +5 -5
  168. package/dist/chunks/{pty-49exe669.js → repository-cache-k8hpw67k.js} +5 -5
  169. package/dist/chunks/{pty-xpzjeq3a.js → repository-cache-kayzqgev.js} +20 -20
  170. package/dist/chunks/{pty-kpgsxh3c.js → repository-cache-kbckyd8w.js} +13 -13
  171. package/dist/chunks/{pty-sd182w7n.js → repository-cache-kf2m36k8.js} +24 -24
  172. package/dist/chunks/{pty-zdcx8jr2.js → repository-cache-kjz0qpx3.js} +8 -8
  173. package/dist/chunks/{pty-3meec69r.js → repository-cache-kn0wphkh.js} +17 -17
  174. package/dist/chunks/{pty-haszz9qj.js → repository-cache-kpcpgk5c.js} +82 -82
  175. package/dist/chunks/{pty-r4ezxwjb.js → repository-cache-m1yw9ks4.js} +10 -10
  176. package/dist/chunks/{pty-qwmtame2.js → repository-cache-m1zaf8q8.js} +11 -11
  177. package/dist/chunks/{pty-m3fdjcah.js → repository-cache-m3fdjcah.js} +1 -1
  178. package/dist/chunks/{pty-b7qnbf45.js → repository-cache-m5gw4h36.js} +4 -4
  179. package/dist/chunks/{pty-m9w0rfyh.js → repository-cache-m9w0rfyh.js} +1 -1
  180. package/dist/chunks/{pty-f3ngv102.js → repository-cache-magykp64.js} +4 -4
  181. package/dist/chunks/{pty-rqdx9gb6.js → repository-cache-mfzsbzca.js} +16 -16
  182. package/dist/chunks/{pty-7qcv56qz.js → repository-cache-mgmaefw5.js} +6 -6
  183. package/dist/chunks/{pty-48vtn20n.js → repository-cache-mtqw2cwj.js} +10 -10
  184. package/dist/chunks/{pty-wq4mmp7m.js → repository-cache-n1ka8r9d.js} +4 -4
  185. package/dist/chunks/{pty-rp4sv622.js → repository-cache-nng2ktcm.js} +2 -2
  186. package/dist/chunks/{pty-pkfctg7d.js → repository-cache-npc9mpth.js} +44 -44
  187. package/dist/chunks/{pty-29j3yxrv.js → repository-cache-nsbfzarf.js} +27 -27
  188. package/dist/chunks/{pty-k3c624dm.js → repository-cache-nzks3jc8.js} +3 -3
  189. package/dist/chunks/{pty-399vjpvh.js → repository-cache-p5hvz7y2.js} +10 -10
  190. package/dist/chunks/{pty-hdthj1pw.js → repository-cache-pb1eahw5.js} +8 -8
  191. package/dist/chunks/{pty-dqczjf24.js → repository-cache-pe82yt1p.js} +3 -3
  192. package/dist/chunks/{pty-pjvnvgmy.js → repository-cache-pjvnvgmy.js} +1 -1
  193. package/dist/chunks/{pty-3nqrbqk0.js → repository-cache-pkaxfq83.js} +35 -35
  194. package/dist/chunks/{pty-pknna89w.js → repository-cache-pknna89w.js} +1 -1
  195. package/dist/chunks/{pty-3dqaahn9.js → repository-cache-pkqjp23s.js} +4 -4
  196. package/dist/chunks/{pty-81y2sag2.js → repository-cache-pnef2ahb.js} +25 -25
  197. package/dist/chunks/{pty-dnmtb8jk.js → repository-cache-prak7c72.js} +31 -31
  198. package/dist/chunks/{pty-e7bpba2x.js → repository-cache-pxm4np1h.js} +15 -15
  199. package/dist/chunks/{pty-6pc27hjz.js → repository-cache-py3kkmfq.js} +6 -6
  200. package/dist/chunks/{pty-vt27zn5n.js → repository-cache-q3tmtmkh.js} +11 -11
  201. package/dist/chunks/{pty-tx9w5tca.js → repository-cache-qby9dwvd.js} +8 -8
  202. package/dist/chunks/{pty-rhafb4aa.js → repository-cache-qg0jgkcp.js} +9 -9
  203. package/dist/chunks/{pty-agwtjn7h.js → repository-cache-qg8cy7et.js} +10 -10
  204. package/dist/chunks/{pty-zdq65h6r.js → repository-cache-qjd41qs4.js} +3 -3
  205. package/dist/chunks/{pty-e6hmchc5.js → repository-cache-qjnxxf51.js} +5 -5
  206. package/dist/chunks/{pty-qsdy395h.js → repository-cache-qsdy395h.js} +1 -1
  207. package/dist/chunks/{pty-vb7xznyv.js → repository-cache-qwggzqz9.js} +30 -30
  208. package/dist/chunks/{pty-hybxtsjq.js → repository-cache-r21ez3wq.js} +9 -9
  209. package/dist/chunks/{pty-7fp69wc6.js → repository-cache-r2gywbkr.js} +5 -5
  210. package/dist/chunks/{pty-jc00fynt.js → repository-cache-r5h1gx5m.js} +11 -11
  211. package/dist/chunks/{pty-rdw6cm16.js → repository-cache-rdw6cm16.js} +1 -1
  212. package/dist/chunks/{pty-mmd2gt62.js → repository-cache-repe8m51.js} +23 -23
  213. package/dist/chunks/{pty-qpaq7ft3.js → repository-cache-rrytxcw3.js} +16 -16
  214. package/dist/chunks/{pty-ratrq7cm.js → repository-cache-ryr25ayn.js} +4 -4
  215. package/dist/chunks/{pty-0zfem7mk.js → repository-cache-s0xttw3k.js} +18 -18
  216. package/dist/chunks/{pty-6r5c1vje.js → repository-cache-se8vzq67.js} +20 -20
  217. package/dist/chunks/{pty-0gefkeg7.js → repository-cache-sjr0pt8x.js} +11 -11
  218. package/dist/chunks/{pty-rsr04b2n.js → repository-cache-sqghgrkn.js} +10 -10
  219. package/dist/chunks/{pty-fbk8frwm.js → repository-cache-ss901cdy.js} +3 -3
  220. package/dist/chunks/{pty-807f613b.js → repository-cache-ssz3s5wm.js} +40 -40
  221. package/dist/chunks/{pty-dfe8djrf.js → repository-cache-sx1n432n.js} +4 -4
  222. package/dist/chunks/{pty-s30fyz93.js → repository-cache-syf57q56.js} +4 -4
  223. package/dist/chunks/{pty-ka2whr6h.js → repository-cache-t043jrc7.js} +40 -40
  224. package/dist/chunks/{pty-dj9sq318.js → repository-cache-t0fxg8b9.js} +5 -5
  225. package/dist/chunks/{pty-eaj1djv9.js → repository-cache-t550f9t1.js} +8 -8
  226. package/dist/chunks/{pty-h958fs6f.js → repository-cache-t7ag8xg6.js} +12 -12
  227. package/dist/chunks/{pty-tazgh4e4.js → repository-cache-tazgh4e4.js} +1 -1
  228. package/dist/chunks/{pty-tcezcvh9.js → repository-cache-tcezcvh9.js} +1 -1
  229. package/dist/chunks/{pty-tdstcens.js → repository-cache-tdstcens.js} +1 -1
  230. package/dist/chunks/{pty-4k009h74.js → repository-cache-th00ytsn.js} +24 -24
  231. package/dist/chunks/{pty-bvam09wt.js → repository-cache-tjm97nt9.js} +20 -20
  232. package/dist/chunks/{pty-tvtrv512.js → repository-cache-tvtrv512.js} +1 -1
  233. package/dist/chunks/{pty-htjsxrd7.js → repository-cache-v6f0g2q9.js} +13 -13
  234. package/dist/chunks/{pty-veqvce7d.js → repository-cache-veqvce7d.js} +1 -1
  235. package/dist/chunks/{pty-h24wanpd.js → repository-cache-vfm2ry0n.js} +18 -18
  236. package/dist/chunks/{pty-mfjdmrp8.js → repository-cache-vrxara3k.js} +45 -45
  237. package/dist/chunks/{pty-a0vpxxed.js → repository-cache-vstzsebn.js} +5 -5
  238. package/dist/chunks/{pty-vzcthcp8.js → repository-cache-vzcthcp8.js} +1 -1
  239. package/dist/chunks/{pty-vzs5sf6e.js → repository-cache-vzs5sf6e.js} +1 -1
  240. package/dist/chunks/{pty-84txncab.js → repository-cache-w1eejvng.js} +5 -5
  241. package/dist/chunks/{pty-w3wsvvr9.js → repository-cache-w3wsvvr9.js} +1 -1
  242. package/dist/chunks/{pty-9j0dwt0n.js → repository-cache-w9cye5bh.js} +5 -5
  243. package/dist/chunks/{pty-wd3x2cqz.js → repository-cache-wd3x2cqz.js} +2 -2
  244. package/dist/chunks/{pty-wd87259q.js → repository-cache-wd87259q.js} +1 -1
  245. package/dist/chunks/{pty-wkcsbyg1.js → repository-cache-wfv2770d.js} +23 -23
  246. package/dist/chunks/{pty-1xjcf8r7.js → repository-cache-wjqrnc96.js} +15 -15
  247. package/dist/chunks/{pty-6hjx5zpb.js → repository-cache-wk5z6jzv.js} +9 -9
  248. package/dist/chunks/{pty-jk65v3xz.js → repository-cache-wm6eqmjh.js} +3 -3
  249. package/dist/chunks/{pty-464e7j92.js → repository-cache-wtp2v689.js} +33 -33
  250. package/dist/chunks/{pty-ch9ek5wv.js → repository-cache-wtvz5zte.js} +18 -18
  251. package/dist/chunks/{pty-x1ezjp6w.js → repository-cache-x1ezjp6w.js} +1 -1
  252. package/dist/chunks/{pty-xpdm92c9.js → repository-cache-x3jaej8z.js} +11 -11
  253. package/dist/chunks/{pty-6pd7t5p9.js → repository-cache-x8mth232.js} +11 -11
  254. package/dist/chunks/{pty-j0ct8xdg.js → repository-cache-x9wftsq0.js} +5 -5
  255. package/dist/chunks/{pty-c7f1t297.js → repository-cache-xczp8xr7.js} +22 -22
  256. package/dist/chunks/repository-cache-xdc9t4mb.js +252 -0
  257. package/dist/chunks/{pty-drwq78ky.js → repository-cache-xfkkasph.js} +4 -4
  258. package/dist/chunks/{pty-dmqcgk4z.js → repository-cache-xkntkrq7.js} +5 -5
  259. package/dist/chunks/{pty-kvj59xr5.js → repository-cache-xqspxtf3.js} +1 -1
  260. package/dist/chunks/{pty-h98gf4gh.js → repository-cache-xrrx02dm.js} +37 -37
  261. package/dist/chunks/{pty-1rh4yqvv.js → repository-cache-y16p1w2y.js} +9 -9
  262. package/dist/chunks/{pty-y1fvbwt7.js → repository-cache-y1fvbwt7.js} +1 -1
  263. package/dist/chunks/{pty-y71avatq.js → repository-cache-y71avatq.js} +1 -1
  264. package/dist/chunks/{pty-ef8z397z.js → repository-cache-y9v1kb8k.js} +18 -18
  265. package/dist/chunks/{pty-q752a5kc.js → repository-cache-yb7k7myq.js} +6 -6
  266. package/dist/chunks/{pty-pt3xaqgj.js → repository-cache-ydgy0jv4.js} +8 -8
  267. package/dist/chunks/{pty-1n9x896q.js → repository-cache-ym34xzwb.js} +6 -6
  268. package/dist/chunks/{pty-yrhqyw5v.js → repository-cache-yrhqyw5v.js} +1 -1
  269. package/dist/chunks/{pty-yrznvahk.js → repository-cache-yrznvahk.js} +2 -2
  270. package/dist/chunks/{pty-mxbk4svv.js → repository-cache-yt1agsr0.js} +81 -81
  271. package/dist/chunks/{pty-s7c8pqjf.js → repository-cache-yw0b1808.js} +5 -5
  272. package/dist/chunks/{pty-50a34wry.js → repository-cache-yx1pxd6d.js} +11 -11
  273. package/dist/chunks/{pty-77qrrhbk.js → repository-cache-yyqd12fs.js} +7 -7
  274. package/dist/chunks/{pty-z07pqspn.js → repository-cache-z07pqspn.js} +3 -3
  275. package/dist/chunks/{pty-y6mhz57t.js → repository-cache-z0aj456m.js} +4 -4
  276. package/dist/chunks/{pty-z0bkrqjs.js → repository-cache-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{pty-mvz1jaak.js → repository-cache-z45tr6e4.js} +22 -22
  278. package/dist/chunks/{pty-ts860kc8.js → repository-cache-z5crsmww.js} +13 -13
  279. package/dist/chunks/{pty-z63w68vq.js → repository-cache-z63w68vq.js} +2 -2
  280. package/dist/chunks/{pty-c86zcgcw.js → repository-cache-z9r8pcs3.js} +14 -14
  281. package/dist/chunks/{pty-k2s68ryd.js → repository-cache-za7gw4wk.js} +6 -6
  282. package/dist/chunks/{pty-24171fwy.js → repository-cache-zd55pfdc.js} +34 -34
  283. package/dist/chunks/{pty-zeh9ct20.js → repository-cache-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{pty-4pkc64bv.js → repository-cache-zp0a9bvk.js} +12 -12
  285. package/dist/chunks/{pty-p8y8cyr8.js → repository-cache-zp37bve8.js} +20 -20
  286. package/dist/chunks/{pty-zr2ceqn5.js → repository-cache-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{pty-te1pvy5w.js → repository-cache-zsdgyv36.js} +34 -34
  288. package/dist/chunks/{pty-990hcqnx.js → repository-cache-ztnbdf6q.js} +24 -24
  289. package/dist/chunks/{pty-vmyhsb96.js → repository-cache-zvq7xtcr.js} +23 -23
  290. package/dist/chunks/{pty-zxq2ej10.js → repository-cache-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +7 -7
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +79 -79
  296. package/dist/config/discovery.js +82 -82
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +106 -106
  299. package/dist/config/plugin/agent.js +125 -125
  300. package/dist/config/plugin/command.js +214 -214
  301. package/dist/config/plugin/compaction.js +160 -160
  302. package/dist/config/plugin/compatibility.js +141 -141
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +124 -124
  305. package/dist/config/plugin/image.js +123 -123
  306. package/dist/config/plugin/instruction.js +90 -90
  307. package/dist/config/plugin/location-watcher.js +125 -125
  308. package/dist/config/plugin/mcp.js +132 -132
  309. package/dist/config/plugin/policy.js +124 -124
  310. package/dist/config/plugin/provider.js +123 -123
  311. package/dist/config/plugin/reference.js +125 -125
  312. package/dist/config/plugin/shell.js +125 -125
  313. package/dist/config/plugin/skill-file.js +102 -102
  314. package/dist/config/plugin/skill.js +144 -144
  315. package/dist/config/plugin/snapshot.js +123 -123
  316. package/dist/config/plugin/source.js +126 -126
  317. package/dist/config/plugin/tool-output.js +125 -125
  318. package/dist/config/plugin/websearch.js +124 -124
  319. package/dist/config/plugin/worktree.js +125 -125
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +128 -128
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +85 -85
  325. package/dist/database/database.js +66 -66
  326. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +13 -13
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +14 -14
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  390. package/dist/database/migration.gen.js +49 -49
  391. package/dist/database/migration.js +51 -51
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +76 -76
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +370 -370
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +1 -1
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +93 -93
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +95 -95
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +1 -1
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +70 -70
  415. package/dist/file-access.js +104 -104
  416. package/dist/file-mutation.js +94 -94
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/ignore.js +1 -1
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +227 -227
  425. package/dist/filesystem/protected.js +1 -1
  426. package/dist/filesystem/search.js +99 -99
  427. package/dist/filesystem/watcher-binding.js +1 -1
  428. package/dist/filesystem/watcher.js +15 -15
  429. package/dist/filesystem.js +102 -102
  430. package/dist/form.js +84 -84
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +89 -89
  433. package/dist/generate.js +103 -103
  434. package/dist/git.js +6 -6
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +99 -99
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/id/id.js +1 -1
  455. package/dist/image/photon.js +2 -2
  456. package/dist/image.js +6 -6
  457. package/dist/instance/service.js +5 -5
  458. package/dist/instance.js +361 -361
  459. package/dist/instruction-discovery.js +79 -79
  460. package/dist/instructions/builtins.js +87 -87
  461. package/dist/instructions/index.js +5 -5
  462. package/dist/integration/connection.js +3 -3
  463. package/dist/integration.js +86 -86
  464. package/dist/job.js +79 -79
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +73 -73
  467. package/dist/location-activity.js +132 -132
  468. package/dist/location-lifecycle.js +107 -107
  469. package/dist/location-service-map.js +86 -86
  470. package/dist/location-services.js +358 -358
  471. package/dist/location.js +81 -81
  472. package/dist/managed-policy.js +5 -5
  473. package/dist/mcp/client.js +91 -91
  474. package/dist/mcp/index.js +104 -104
  475. package/dist/mcp/instructions.js +126 -126
  476. package/dist/mcp/oauth.js +78 -78
  477. package/dist/mcp/stdio.js +90 -90
  478. package/dist/mime.js +1 -1
  479. package/dist/modal/models.js +99 -99
  480. package/dist/model-resolver.js +98 -98
  481. package/dist/model.js +102 -102
  482. package/dist/models-dev.js +103 -103
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +82 -82
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +113 -113
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +84 -84
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +75 -75
  492. package/dist/plugin/agent.js +104 -104
  493. package/dist/plugin/command.js +101 -101
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +218 -218
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +5 -5
  498. package/dist/plugin/internal.js +333 -333
  499. package/dist/plugin/mcp-codemode-defaults.js +1 -1
  500. package/dist/plugin/models-dev.js +96 -96
  501. package/dist/plugin/module.js +7 -7
  502. package/dist/plugin/optimize.js +4 -4
  503. package/dist/plugin/plan.js +102 -102
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  506. package/dist/plugin/provider/azure.js +122 -122
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +119 -119
  512. package/dist/plugin/provider/digitalocean.js +93 -93
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/gateway.js +2 -2
  516. package/dist/plugin/provider/github-copilot.js +94 -94
  517. package/dist/plugin/provider/gitlab.js +93 -93
  518. package/dist/plugin/provider/google-vertex.js +90 -90
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +77 -77
  521. package/dist/plugin/provider/lmstudio.js +122 -122
  522. package/dist/plugin/provider/modal.js +92 -92
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +122 -122
  525. package/dist/plugin/provider/openai.js +94 -94
  526. package/dist/plugin/provider/opencode.js +95 -95
  527. package/dist/plugin/provider/openrouter.js +91 -91
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +78 -78
  530. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  531. package/dist/plugin/provider/sap-ai-core.js +91 -91
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  534. package/dist/plugin/provider/venice.js +2 -2
  535. package/dist/plugin/provider/vercel.js +90 -90
  536. package/dist/plugin/provider/vllm.js +122 -122
  537. package/dist/plugin/provider/xai.js +91 -91
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +161 -161
  540. package/dist/plugin/sdk.js +74 -74
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +139 -139
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +352 -352
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +84 -84
  548. package/dist/plugin/vcs/hg.js +84 -84
  549. package/dist/plugin/verbosity.js +93 -93
  550. package/dist/plugin/warming.js +121 -121
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +6 -6
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +6 -6
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +229 -229
  559. package/dist/project/schema.js +2 -2
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +80 -80
  562. package/dist/provider.js +101 -101
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +99 -99
  566. package/dist/reference/instructions.js +89 -89
  567. package/dist/reference.js +91 -91
  568. package/dist/repository-cache.js +81 -81
  569. package/dist/repository.js +3 -3
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +97 -97
  572. package/dist/rpc.js +86 -86
  573. package/dist/schema.js +1 -1
  574. package/dist/session/command.js +74 -74
  575. package/dist/session/compaction.js +132 -132
  576. package/dist/session/context.js +152 -152
  577. package/dist/session/diff.js +88 -88
  578. package/dist/session/environment.js +3 -3
  579. package/dist/session/error.js +5 -5
  580. package/dist/session/event.js +1 -1
  581. package/dist/session/execution/restart.js +221 -221
  582. package/dist/session/execution.js +128 -128
  583. package/dist/session/generate.js +151 -151
  584. package/dist/session/history.js +13 -13
  585. package/dist/session/inbox.js +90 -90
  586. package/dist/session/info.js +3 -3
  587. package/dist/session/instruction-entry.js +79 -79
  588. package/dist/session/instruction-state.js +8 -8
  589. package/dist/session/instructions.js +97 -97
  590. package/dist/session/message-updater.js +4 -4
  591. package/dist/session/message.js +1 -1
  592. package/dist/session/model-request.js +119 -119
  593. package/dist/session/model-transport.js +9 -9
  594. package/dist/session/move.js +130 -130
  595. package/dist/session/projector.js +86 -86
  596. package/dist/session/prompt.js +105 -105
  597. package/dist/session/provider-context.js +3 -3
  598. package/dist/session/revert.js +90 -90
  599. package/dist/session/run-coordinator.js +3 -3
  600. package/dist/session/runner/index.js +3 -3
  601. package/dist/session/runner/llm.js +231 -231
  602. package/dist/session/runner/max-steps.js +1 -1
  603. package/dist/session/runner/model.js +98 -98
  604. package/dist/session/runner/publish-llm-event.js +3 -3
  605. package/dist/session/runner/retry.js +2 -2
  606. package/dist/session/runner/step.js +126 -126
  607. package/dist/session/runner/to-llm-message.js +2 -2
  608. package/dist/session/schema.js +5 -5
  609. package/dist/session/session.js +170 -170
  610. package/dist/session/shell.js +138 -138
  611. package/dist/session/skill.js +103 -103
  612. package/dist/session/sql.js +5 -5
  613. package/dist/session/stats.js +73 -73
  614. package/dist/session/store.js +87 -87
  615. package/dist/session/subagent-completion.js +1 -1
  616. package/dist/session/subagent-job.js +210 -210
  617. package/dist/session/system-prompt.js +3 -3
  618. package/dist/session/title.js +156 -156
  619. package/dist/session/to-session-error.js +111 -111
  620. package/dist/session/transfer.js +214 -214
  621. package/dist/session/usage.js +1 -1
  622. package/dist/session.js +216 -216
  623. package/dist/shell/parse.js +6 -6
  624. package/dist/shell/result.js +1 -1
  625. package/dist/shell/scan.js +1 -1
  626. package/dist/shell/select.js +13 -13
  627. package/dist/shell.js +138 -138
  628. package/dist/skill/discovery.js +6 -6
  629. package/dist/skill/instructions.js +107 -107
  630. package/dist/skill.js +112 -112
  631. package/dist/snapshot.js +93 -93
  632. package/dist/state.js +1 -1
  633. package/dist/tool/html-markdown.js +1 -1
  634. package/dist/tool/http-body.js +1 -1
  635. package/dist/tool/mcp.js +125 -125
  636. package/dist/tool/plugin/edit.js +120 -120
  637. package/dist/tool/plugin/file-diff.js +1 -1
  638. package/dist/tool/plugin/glob.js +124 -124
  639. package/dist/tool/plugin/grep.js +124 -124
  640. package/dist/tool/plugin/mcp-resource.js +116 -116
  641. package/dist/tool/plugin/opencode.js +3 -3
  642. package/dist/tool/plugin/patch.js +122 -122
  643. package/dist/tool/plugin/question.js +105 -105
  644. package/dist/tool/plugin/read.js +123 -123
  645. package/dist/tool/plugin/shell.js +213 -213
  646. package/dist/tool/plugin/skill.js +111 -111
  647. package/dist/tool/plugin/subagent.js +219 -219
  648. package/dist/tool/plugin/webfetch.js +112 -112
  649. package/dist/tool/plugin/websearch.js +114 -114
  650. package/dist/tool/plugin/write.js +122 -122
  651. package/dist/tool/read-filesystem.js +100 -100
  652. package/dist/tool/runtime.js +1 -1
  653. package/dist/tool-output.js +8 -8
  654. package/dist/tool.js +14 -14
  655. package/dist/util/error-summary.js +1 -1
  656. package/dist/util/error.js +1 -1
  657. package/dist/util/git-executable.js +2 -2
  658. package/dist/util/iife.js +1 -1
  659. package/dist/util/lazy.js +1 -1
  660. package/dist/util/slug.js +1 -1
  661. package/dist/util/token.js +1 -1
  662. package/dist/util/which.js +1 -1
  663. package/dist/util/wildcard.js +1 -1
  664. package/dist/v1/config/agent.js +5 -5
  665. package/dist/v1/config/attachment.js +4 -4
  666. package/dist/v1/config/command.js +3 -3
  667. package/dist/v1/config/config.js +16 -16
  668. package/dist/v1/config/error.js +2 -2
  669. package/dist/v1/config/formatter.js +7 -7
  670. package/dist/v1/config/layout.js +1 -1
  671. package/dist/v1/config/lsp.js +5 -5
  672. package/dist/v1/config/mcp.js +4 -4
  673. package/dist/v1/config/migrate.js +92 -92
  674. package/dist/v1/config/permission.js +3 -3
  675. package/dist/v1/config/plugin.js +1 -1
  676. package/dist/v1/config/provider-options.js +1 -1
  677. package/dist/v1/config/provider.js +4 -4
  678. package/dist/v1/config/server.js +2 -2
  679. package/dist/v1/config/skills.js +3 -3
  680. package/dist/v1/permission.js +1 -1
  681. package/dist/variant.js +91 -91
  682. package/dist/vcs/patch.js +1 -1
  683. package/dist/vcs.js +89 -89
  684. package/dist/websearch.js +84 -84
  685. package/dist/wellknown/plugin.js +76 -76
  686. package/dist/wellknown.js +79 -79
  687. package/dist/workspace/driver.js +7 -7
  688. package/dist/workspace/sql.js +1 -1
  689. package/dist/workspace.js +80 -80
  690. package/dist/worktree/directory.js +2 -2
  691. package/dist/worktree/git.js +10 -10
  692. package/dist/worktree/sql.js +5 -5
  693. package/dist/worktree/strategies.js +89 -89
  694. package/dist/worktree.js +96 -96
  695. package/package.json +8 -8
  696. package/dist/chunks/pty-9zdhvgqs.js +0 -18
  697. package/dist/chunks/pty-f3b7p96q.js +0 -252
  698. package/dist/chunks/pty-j9x84jzd.js +0 -26
  699. package/dist/chunks/pty-k31j77h5.js +0 -507
  700. /package/dist/chunks/{pty-0qkdqm5v.js → repository-cache-0qkdqm5v.js} +0 -0
  701. /package/dist/chunks/{pty-0zkw76rk.js → repository-cache-0zkw76rk.js} +0 -0
  702. /package/dist/chunks/{pty-17cy0kzp.js → repository-cache-17cy0kzp.js} +0 -0
  703. /package/dist/chunks/{pty-1cnp2v09.js → repository-cache-1cnp2v09.js} +0 -0
  704. /package/dist/chunks/{pty-1kg9ymc8.js → repository-cache-1kg9ymc8.js} +0 -0
  705. /package/dist/chunks/{pty-24dcb14g.js → repository-cache-24dcb14g.js} +0 -0
  706. /package/dist/chunks/{pty-2710q6r3.js → repository-cache-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{pty-2axfhc9x.js → repository-cache-2axfhc9x.js} +0 -0
  708. /package/dist/chunks/{pty-2c3vjs8z.js → repository-cache-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{pty-34c7v6d4.js → repository-cache-34c7v6d4.js} +0 -0
  710. /package/dist/chunks/{pty-359p4xyc.js → repository-cache-359p4xyc.js} +0 -0
  711. /package/dist/chunks/{pty-3asan66x.js → repository-cache-3asan66x.js} +0 -0
  712. /package/dist/chunks/{pty-3v8g72cx.js → repository-cache-3v8g72cx.js} +0 -0
  713. /package/dist/chunks/{pty-3w5fmr99.js → repository-cache-3w5fmr99.js} +0 -0
  714. /package/dist/chunks/{pty-3wcehsnq.js → repository-cache-3wcehsnq.js} +0 -0
  715. /package/dist/chunks/{pty-43n2bw4t.js → repository-cache-43n2bw4t.js} +0 -0
  716. /package/dist/chunks/{pty-4knz6hnm.js → repository-cache-4knz6hnm.js} +0 -0
  717. /package/dist/chunks/{pty-4vcrnpx2.js → repository-cache-4vcrnpx2.js} +0 -0
  718. /package/dist/chunks/{pty-4y7fprxs.js → repository-cache-4y7fprxs.js} +0 -0
  719. /package/dist/chunks/{pty-53557ph1.js → repository-cache-53557ph1.js} +0 -0
  720. /package/dist/chunks/{pty-550bvhaj.js → repository-cache-550bvhaj.js} +0 -0
  721. /package/dist/chunks/{pty-5qd3pb7m.js → repository-cache-5qd3pb7m.js} +0 -0
  722. /package/dist/chunks/{pty-6prwharc.js → repository-cache-6prwharc.js} +0 -0
  723. /package/dist/chunks/{pty-7akdwqpd.js → repository-cache-7akdwqpd.js} +0 -0
  724. /package/dist/chunks/{pty-7m9af43g.js → repository-cache-7m9af43g.js} +0 -0
  725. /package/dist/chunks/{pty-822emrt2.js → repository-cache-822emrt2.js} +0 -0
  726. /package/dist/chunks/{pty-88xbtdfr.js → repository-cache-88xbtdfr.js} +0 -0
  727. /package/dist/chunks/{pty-8n3pysct.js → repository-cache-8n3pysct.js} +0 -0
  728. /package/dist/chunks/{pty-8wj87zfr.js → repository-cache-8wj87zfr.js} +0 -0
  729. /package/dist/chunks/{pty-922hggd3.js → repository-cache-922hggd3.js} +0 -0
  730. /package/dist/chunks/{pty-9a4afbnw.js → repository-cache-9a4afbnw.js} +0 -0
  731. /package/dist/chunks/{pty-9rqn6x4v.js → repository-cache-9rqn6x4v.js} +0 -0
  732. /package/dist/chunks/{pty-a6k6eb26.js → repository-cache-a6k6eb26.js} +0 -0
  733. /package/dist/chunks/{pty-af5trqkr.js → repository-cache-af5trqkr.js} +0 -0
  734. /package/dist/chunks/{pty-afrmfg78.js → repository-cache-afrmfg78.js} +0 -0
  735. /package/dist/chunks/{pty-aqzs7mqg.js → repository-cache-aqzs7mqg.js} +0 -0
  736. /package/dist/chunks/{pty-atq7p7m5.js → repository-cache-atq7p7m5.js} +0 -0
  737. /package/dist/chunks/{pty-bkyjaxrp.js → repository-cache-bkyjaxrp.js} +0 -0
  738. /package/dist/chunks/{pty-bmr6ed5q.js → repository-cache-bmr6ed5q.js} +0 -0
  739. /package/dist/chunks/{pty-cf4snx6d.js → repository-cache-cf4snx6d.js} +0 -0
  740. /package/dist/chunks/{pty-cvy3z8tj.js → repository-cache-cvy3z8tj.js} +0 -0
  741. /package/dist/chunks/{pty-d9fn303g.js → repository-cache-d9fn303g.js} +0 -0
  742. /package/dist/chunks/{pty-d9jj8t3e.js → repository-cache-d9jj8t3e.js} +0 -0
  743. /package/dist/chunks/{pty-dajrwvna.js → repository-cache-dajrwvna.js} +0 -0
  744. /package/dist/chunks/{pty-dap0rakb.js → repository-cache-dap0rakb.js} +0 -0
  745. /package/dist/chunks/{pty-df08tz66.js → repository-cache-df08tz66.js} +0 -0
  746. /package/dist/chunks/{pty-dy18nga0.js → repository-cache-dy18nga0.js} +0 -0
  747. /package/dist/chunks/{pty-e5kj55wp.js → repository-cache-e5kj55wp.js} +0 -0
  748. /package/dist/chunks/{pty-e73j6tqm.js → repository-cache-e73j6tqm.js} +0 -0
  749. /package/dist/chunks/{pty-ec1grn59.js → repository-cache-ec1grn59.js} +0 -0
  750. /package/dist/chunks/{pty-eh3zwz77.js → repository-cache-eh3zwz77.js} +0 -0
  751. /package/dist/chunks/{pty-emrn6kk6.js → repository-cache-emrn6kk6.js} +0 -0
  752. /package/dist/chunks/{pty-f0mxakyp.js → repository-cache-f0mxakyp.js} +0 -0
  753. /package/dist/chunks/{pty-f6n9ztr4.js → repository-cache-f6n9ztr4.js} +0 -0
  754. /package/dist/chunks/{pty-faypxj3z.js → repository-cache-faypxj3z.js} +0 -0
  755. /package/dist/chunks/{pty-fd410y7t.js → repository-cache-fd410y7t.js} +0 -0
  756. /package/dist/chunks/{pty-fxgpk5d8.js → repository-cache-fxgpk5d8.js} +0 -0
  757. /package/dist/chunks/{pty-g4wezp1m.js → repository-cache-g4wezp1m.js} +0 -0
  758. /package/dist/chunks/{pty-g86h250q.js → repository-cache-g86h250q.js} +0 -0
  759. /package/dist/chunks/{pty-gebd4c9n.js → repository-cache-gebd4c9n.js} +0 -0
  760. /package/dist/chunks/{pty-gftt206x.js → repository-cache-gftt206x.js} +0 -0
  761. /package/dist/chunks/{pty-hjbc5kem.js → repository-cache-hjbc5kem.js} +0 -0
  762. /package/dist/chunks/{pty-hk9envan.js → repository-cache-hk9envan.js} +0 -0
  763. /package/dist/chunks/{pty-j2ntwpah.js → repository-cache-j2ntwpah.js} +0 -0
  764. /package/dist/chunks/{pty-j5zkgpj8.js → repository-cache-j5zkgpj8.js} +0 -0
  765. /package/dist/chunks/{pty-jjkms2e6.js → repository-cache-jjkms2e6.js} +0 -0
  766. /package/dist/chunks/{pty-jr7sbwjy.js → repository-cache-jr7sbwjy.js} +0 -0
  767. /package/dist/chunks/{pty-jwfs4k6c.js → repository-cache-jwfs4k6c.js} +0 -0
  768. /package/dist/chunks/{pty-jzg6c2d5.js → repository-cache-jzg6c2d5.js} +0 -0
  769. /package/dist/chunks/{pty-mp448xyj.js → repository-cache-mp448xyj.js} +0 -0
  770. /package/dist/chunks/{pty-msx8hqn2.js → repository-cache-msx8hqn2.js} +0 -0
  771. /package/dist/chunks/{pty-n05xt0ee.js → repository-cache-n05xt0ee.js} +0 -0
  772. /package/dist/chunks/{pty-n3j8tn72.js → repository-cache-n3j8tn72.js} +0 -0
  773. /package/dist/chunks/{pty-njntx4h6.js → repository-cache-njntx4h6.js} +0 -0
  774. /package/dist/chunks/{pty-q3sfg36h.js → repository-cache-q3sfg36h.js} +0 -0
  775. /package/dist/chunks/{pty-q74kybfr.js → repository-cache-q74kybfr.js} +0 -0
  776. /package/dist/chunks/{pty-qaymkmh1.js → repository-cache-qaymkmh1.js} +0 -0
  777. /package/dist/chunks/{pty-qb87gjwd.js → repository-cache-qb87gjwd.js} +0 -0
  778. /package/dist/chunks/{pty-qfa1cgps.js → repository-cache-qfa1cgps.js} +0 -0
  779. /package/dist/chunks/{pty-qg3g05ea.js → repository-cache-qg3g05ea.js} +0 -0
  780. /package/dist/chunks/{pty-qrg20bc0.js → repository-cache-qrg20bc0.js} +0 -0
  781. /package/dist/chunks/{pty-rcb2kzg1.js → repository-cache-rcb2kzg1.js} +0 -0
  782. /package/dist/chunks/{pty-sdp7kfr6.js → repository-cache-sdp7kfr6.js} +0 -0
  783. /package/dist/chunks/{pty-sk3qaz4a.js → repository-cache-sk3qaz4a.js} +0 -0
  784. /package/dist/chunks/{pty-ssg3fenm.js → repository-cache-ssg3fenm.js} +0 -0
  785. /package/dist/chunks/{pty-w803qqfp.js → repository-cache-w803qqfp.js} +0 -0
  786. /package/dist/chunks/{pty-wc3fc9cn.js → repository-cache-wc3fc9cn.js} +0 -0
  787. /package/dist/chunks/{pty-wer8tq1h.js → repository-cache-wer8tq1h.js} +0 -0
  788. /package/dist/chunks/{pty-wtztk69x.js → repository-cache-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{pty-x0ckcb58.js → repository-cache-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{pty-x61499pn.js → repository-cache-x61499pn.js} +0 -0
  791. /package/dist/chunks/{pty-y44na4kk.js → repository-cache-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{pty-y8cydn3q.js → repository-cache-y8cydn3q.js} +0 -0
  793. /package/dist/chunks/{pty-y8f7s663.js → repository-cache-y8f7s663.js} +0 -0
  794. /package/dist/chunks/{pty-ygaqb7jw.js → repository-cache-ygaqb7jw.js} +0 -0
  795. /package/dist/chunks/{pty-ym463w8f.js → repository-cache-ym463w8f.js} +0 -0
  796. /package/dist/chunks/{pty-z9919s4g.js → repository-cache-z9919s4g.js} +0 -0
@@ -1,36 +1,36 @@
1
1
  import {
2
2
  key2
3
- } from "./pty-44h5tttr.js";
3
+ } from "./repository-cache-4dgbcxzg.js";
4
4
  import {
5
5
  Service83
6
- } from "./pty-b7qnbf45.js";
6
+ } from "./repository-cache-m5gw4h36.js";
7
7
  import {
8
8
  OAuth3,
9
- Event17
10
- } from "./pty-78jvmpng.js";
9
+ Event19
10
+ } from "./repository-cache-fy93ygep.js";
11
11
  import {
12
- ID9,
12
+ ID13,
13
13
  MethodID2
14
- } from "./pty-afh0ypz9.js";
14
+ } from "./repository-cache-4vekh9c8.js";
15
15
  import {
16
- ID8,
16
+ ID12,
17
17
  aisdk2,
18
18
  mergeOverlay2,
19
- Service67
20
- } from "./pty-3zar4bb6.js";
19
+ Service73
20
+ } from "./repository-cache-7x0c6mmr.js";
21
21
  import {
22
- ID7
23
- } from "./pty-a3he3nyv.js";
22
+ ID11
23
+ } from "./repository-cache-j1fzn4b4.js";
24
24
  import {
25
- load3,
26
- derive3
27
- } from "./pty-dke02a2q.js";
25
+ load2,
26
+ derive2
27
+ } from "./repository-cache-g9tjzdrf.js";
28
28
  import {
29
29
  useragent2
30
- } from "./pty-1q4zsn8w.js";
30
+ } from "./repository-cache-0thxwbsq.js";
31
31
  import {
32
- ID14
33
- } from "./pty-9jdec6an.js";
32
+ ID9
33
+ } from "./repository-cache-ea3ghczx.js";
34
34
 
35
35
  // src/plugin/provider/github-copilot.ts
36
36
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -62,7 +62,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
62
62
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
63
63
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
64
64
  var oauth = (app) => ({
65
- integrationID: ID9.make("github-copilot"),
65
+ integrationID: ID13.make("github-copilot"),
66
66
  method: {
67
67
  id: methodID,
68
68
  type: "oauth",
@@ -160,7 +160,7 @@ var oauth = (app) => ({
160
160
  var GithubCopilotPlugin2 = define({
161
161
  id: "opencode.provider.github.copilot",
162
162
  effect: Effect.fn(function* (ctx) {
163
- const providers = yield* Service67;
163
+ const providers = yield* Service73;
164
164
  const bus = yield* Service83;
165
165
  const loading = Semaphore.makeUnsafe(1);
166
166
  const loaded = {};
@@ -177,9 +177,9 @@ var GithubCopilotPlugin2 = define({
177
177
  return;
178
178
  }
179
179
  const url = copilotBaseURL2(credential.metadata) ?? baseURL();
180
- const provider = yield* providers.get(ID8.githubCopilot);
180
+ const provider = yield* providers.get(ID12.githubCopilot);
181
181
  const remote = yield* Effect.tryPromise({
182
- try: () => load3(url, {
182
+ try: () => load2(url, {
183
183
  ...provider?.headers,
184
184
  Authorization: `Bearer ${credential.refresh}`,
185
185
  "User-Agent": useragent2(ctx.app),
@@ -199,13 +199,13 @@ var GithubCopilotPlugin2 = define({
199
199
  editor.method.update(oauth(ctx.app));
200
200
  });
201
201
  yield* ctx.provider.transform((evt) => {
202
- const item = evt.get(ID8.githubCopilot);
202
+ const item = evt.get(ID12.githubCopilot);
203
203
  if (!item)
204
204
  return;
205
205
  if (loaded.models) {
206
206
  evt.add({
207
207
  info: item.provider,
208
- models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
208
+ models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
209
209
  sourceConnection: loaded.connection
210
210
  });
211
211
  return;
@@ -219,17 +219,17 @@ var GithubCopilotPlugin2 = define({
219
219
  }
220
220
  });
221
221
  yield* ctx.model.transform((models) => {
222
- if (models.get(ID8.githubCopilot, ID7.make("gpt-5-chat-latest"))) {
223
- models.update(ID8.githubCopilot, ID7.make("gpt-5-chat-latest"), (model) => {
222
+ if (models.get(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"))) {
223
+ models.update(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"), (model) => {
224
224
  model.enabled = false;
225
225
  });
226
226
  }
227
227
  });
228
228
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
229
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
229
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
230
230
  yield* refresh().pipe(Effect.forkScoped);
231
231
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
232
- if (evt.model.providerID !== ID8.githubCopilot)
232
+ if (evt.model.providerID !== ID12.githubCopilot)
233
233
  return;
234
234
  if (evt.package !== "@ai-sdk/github-copilot")
235
235
  return;
@@ -238,7 +238,7 @@ var GithubCopilotPlugin2 = define({
238
238
  evt.sdk = mod.createOpenaiCompatible(evt.options);
239
239
  }));
240
240
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
241
- if (evt.model.providerID !== ID8.githubCopilot)
241
+ if (evt.model.providerID !== ID12.githubCopilot)
242
242
  return;
243
243
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
244
244
  return;
@@ -248,13 +248,13 @@ var GithubCopilotPlugin2 = define({
248
248
  evt.headers["X-Interaction-Id"] = evt.sessionID;
249
249
  if (interaction !== "conversation-agent")
250
250
  evt.headers["x-initiator"] = "agent";
251
- }), { providerID: ID8.githubCopilot });
251
+ }), { providerID: ID12.githubCopilot });
252
252
  yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
253
- if (evt.model.providerID !== ID8.githubCopilot)
253
+ if (evt.model.providerID !== ID12.githubCopilot)
254
254
  return;
255
255
  if (!loaded.baseURL || !loaded.token || !loaded.models)
256
256
  return;
257
- const agent = yield* ctx.agent.get({ agentID: ID14.make("title") }).pipe(Effect.orElseSucceed(() => {
257
+ const agent = yield* ctx.agent.get({ agentID: ID9.make("title") }).pipe(Effect.orElseSucceed(() => {
258
258
  return;
259
259
  }));
260
260
  if (agent?.data.model)
@@ -265,9 +265,9 @@ var GithubCopilotPlugin2 = define({
265
265
  evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
266
266
  return;
267
267
  }));
268
- }), { providerID: ID8.githubCopilot });
268
+ }), { providerID: ID12.githubCopilot });
269
269
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
270
- if (evt.model.providerID !== ID8.githubCopilot)
270
+ if (evt.model.providerID !== ID12.githubCopilot)
271
271
  return;
272
272
  const token = evt.request.headers.get("x-api-key");
273
273
  if (!token)
@@ -275,9 +275,9 @@ var GithubCopilotPlugin2 = define({
275
275
  const text = yield* Effect.promise(() => evt.request.clone().text());
276
276
  const body = Option.getOrUndefined(decodeBody(text));
277
277
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
278
- }), { providerID: ID8.githubCopilot });
278
+ }), { providerID: ID12.githubCopilot });
279
279
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
280
- if (evt.model.providerID !== ID8.githubCopilot)
280
+ if (evt.model.providerID !== ID12.githubCopilot)
281
281
  return;
282
282
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
283
283
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./pty-qfa1cgps.js";
3
+ } from "./repository-cache-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -7,16 +7,16 @@ import {
7
7
  deletePatch2,
8
8
  countPatch2,
9
9
  chunksByFile2
10
- } from "./pty-tazgh4e4.js";
10
+ } from "./repository-cache-tazgh4e4.js";
11
11
  import {
12
12
  Service80
13
- } from "./pty-p87y7hpb.js";
13
+ } from "./repository-cache-jd97cc84.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./pty-b10jyf86.js";
16
+ } from "./repository-cache-91aa3a25.js";
17
17
  import {
18
18
  __export
19
- } from "./pty-9rqn6x4v.js";
19
+ } from "./repository-cache-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/hg.ts
22
22
  var exports_hg = {};
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./pty-b7qnbf45.js";
4
+ } from "./repository-cache-m5gw4h36.js";
5
5
  import {
6
6
  __export
7
- } from "./pty-9rqn6x4v.js";
7
+ } from "./repository-cache-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,40 +12,40 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event18,
15
+ Event: () => Event20,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID11,
20
- Info: () => Info27,
19
+ ID: () => ID15,
20
+ Info: () => Info30,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError8,
24
- Reply: () => Reply2,
25
- Service: () => Service70,
23
+ NotFoundError: () => NotFoundError10,
24
+ Reply: () => Reply3,
25
+ Service: () => Service76,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
28
  layer: () => layer25,
29
- node: () => node74,
29
+ node: () => node79,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event18 } from "@opencode/schema/form";
36
+ import { Event as Event20 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID11 = Form.ID;
39
- var Info27 = Form.Info;
38
+ var ID15 = Form.ID;
39
+ var Info30 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
43
43
  var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
- var Reply2 = Form.Reply;
45
+ var Reply3 = Form.Reply;
46
46
 
47
- class NotFoundError8 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID11
47
+ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
48
+ id: ID15
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError8 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID11
56
+ id: ID15
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID11
64
+ id: ID15
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID11,
72
+ id: ID15,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service70 extends Context.Service()("@opencode/Form") {
82
+ class Service76 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer25 = Layer.effect(Service70, Effect.gen(function* () {
84
+ var layer25 = Layer.effect(Service76, Effect.gen(function* () {
85
85
  const bus = yield* Service83;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
88
88
  capacity: Number.MAX_SAFE_INTEGER,
89
89
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
90
90
  });
91
- const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError8({ id })))));
91
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
- const id = input.id ?? ID11.create();
93
+ const id = input.id ?? ID15.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
95
95
  if (Option.isSome(existing))
96
96
  return yield* new AlreadyExistsError2({ id });
@@ -159,9 +159,9 @@ var layer25 = Layer.effect(Service70, Effect.gen(function* () {
159
159
  closed = true;
160
160
  }).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
161
161
  yield* Effect.addFinalizer(() => close);
162
- return Service70.of({ create, ask, get, list, state, reply, cancel, close });
162
+ return Service76.of({ create, ask, get, list, state, reply, cancel, close });
163
163
  }));
164
- var node74 = makeLocationNode({ service: Service70, layer: layer25, deps: [node87] });
164
+ var node79 = makeLocationNode({ service: Service76, layer: layer25, deps: [node87] });
165
165
  function validateAnswer2(form, answer) {
166
166
  const fields = new Map(form.map((field) => [field.key, field]));
167
167
  for (const key of Object.keys(answer)) {
@@ -313,4 +313,4 @@ function isDateTime(value) {
313
313
  return !Number.isNaN(new Date(value).getTime());
314
314
  }
315
315
 
316
- export { ID11, Info27, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError8, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service70, layer25, node74, validateAnswer2, validateFields2, exports_form, Event18 };
316
+ export { ID15, Info30, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service76, layer25, node79, validateAnswer2, validateFields2, exports_form, Event20 };
@@ -1,65 +1,65 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./pty-b7qnbf45.js";
4
+ } from "./repository-cache-m5gw4h36.js";
5
5
  import {
6
6
  Service80,
7
7
  node84
8
- } from "./pty-p87y7hpb.js";
8
+ } from "./repository-cache-jd97cc84.js";
9
9
  import {
10
- Service60,
10
+ Service46,
11
11
  login2,
12
- node63
13
- } from "./pty-0zfem7mk.js";
12
+ node49
13
+ } from "./repository-cache-s0xttw3k.js";
14
14
  import {
15
15
  lazy2
16
- } from "./pty-88xbtdfr.js";
16
+ } from "./repository-cache-88xbtdfr.js";
17
17
  import {
18
18
  __export
19
- } from "./pty-9rqn6x4v.js";
19
+ } from "./repository-cache-9rqn6x4v.js";
20
20
 
21
21
  // src/pty.ts
22
22
  var exports_pty = {};
23
23
  __export(exports_pty, {
24
- CreateInput: () => CreateInput3,
25
- Event: () => Event11,
24
+ CreateInput: () => CreateInput2,
25
+ Event: () => Event2,
26
26
  ExitedError: () => ExitedError2,
27
- ID: () => ID6,
28
- Info: () => Info21,
29
- NotFoundError: () => NotFoundError7,
27
+ ID: () => ID2,
28
+ Info: () => Info2,
29
+ NotFoundError: () => NotFoundError2,
30
30
  Pty: () => exports_pty,
31
- Service: () => Service59,
31
+ Service: () => Service14,
32
32
  UpdateInput: () => UpdateInput2,
33
- node: () => node62
33
+ node: () => node16
34
34
  });
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  import { Context, Effect, Layer, Schema } from "effect";
37
37
  import { Pty } from "@opencode/schema/pty";
38
- import { Event as Event11 } from "@opencode/schema/pty";
38
+ import { Event as Event2 } from "@opencode/schema/pty";
39
39
  var BUFFER_LIMIT = 1024 * 1024 * 2;
40
40
  var EXITED_LIMIT = 25;
41
41
  var pty = lazy2(() => import("#pty"));
42
- var ID6 = Pty.ID;
43
- var Info21 = Pty.Info;
44
- var CreateInput3 = Pty.CreateInput;
42
+ var ID2 = Pty.ID;
43
+ var Info2 = Pty.Info;
44
+ var CreateInput2 = Pty.CreateInput;
45
45
  var UpdateInput2 = Pty.UpdateInput;
46
46
 
47
- class NotFoundError7 extends Schema.TaggedError()("Pty.NotFoundError", {
48
- ptyID: ID6
47
+ class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
48
+ ptyID: ID2
49
49
  }) {
50
50
  }
51
51
 
52
52
  class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
53
- ptyID: ID6
53
+ ptyID: ID2
54
54
  }) {
55
55
  }
56
56
 
57
- class Service59 extends Context.Service()("@opencode/Pty") {
57
+ class Service14 extends Context.Service()("@opencode/Pty") {
58
58
  }
59
- var layer = Layer.effect(Service59, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service14, Effect.gen(function* () {
60
60
  const bus = yield* Service83;
61
61
  const location = yield* Service80;
62
- const shell = yield* Service60;
62
+ const shell = yield* Service46;
63
63
  const context = yield* Effect.context();
64
64
  const runFork = Effect.runForkWith(context);
65
65
  const sessions = new Map;
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
96
96
  const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
97
97
  const session = sessions.get(id);
98
98
  if (!session)
99
- return yield* new NotFoundError7({ ptyID: id });
99
+ return yield* new NotFoundError2({ ptyID: id });
100
100
  return session;
101
101
  });
102
102
  const removeSession = Effect.fnUntraced(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
122
122
  return (yield* requireSession(id)).info;
123
123
  });
124
124
  const create = Effect.fn("Pty.create")(function* (input) {
125
- const id = ID6.ascending();
125
+ const id = ID2.ascending();
126
126
  const command = input.command || (yield* shell.resolve({ priority: "config" }));
127
127
  const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
128
128
  const cwd = input.cwd || location.directory;
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
267
267
  }
268
268
  };
269
269
  });
270
- return Service59.of({ list, get, create, update, remove, write, attach });
270
+ return Service14.of({ list, get, create, update, remove, write, attach });
271
271
  }));
272
- var node62 = makeLocationNode({
273
- service: Service59,
272
+ var node16 = makeLocationNode({
273
+ service: Service14,
274
274
  layer,
275
- deps: [node87, node84, node63]
275
+ deps: [node87, node84, node49]
276
276
  });
277
277
 
278
- export { ID6, Info21, CreateInput3, UpdateInput2, NotFoundError7, ExitedError2, Service59, node62, exports_pty, Event11 };
278
+ export { ID2, Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service14, node16, exports_pty, Event2 };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  useragent2
3
- } from "./pty-1q4zsn8w.js";
3
+ } from "./repository-cache-0thxwbsq.js";
4
4
  import {
5
5
  Service83
6
- } from "./pty-b7qnbf45.js";
6
+ } from "./repository-cache-m5gw4h36.js";
7
7
  import {
8
8
  OAuth3,
9
- Event17
10
- } from "./pty-78jvmpng.js";
9
+ Event19
10
+ } from "./repository-cache-fy93ygep.js";
11
11
  import {
12
- ID9,
12
+ ID13,
13
13
  MethodID2
14
- } from "./pty-afh0ypz9.js";
14
+ } from "./repository-cache-4vekh9c8.js";
15
15
  import {
16
- ID8
17
- } from "./pty-3zar4bb6.js";
16
+ ID12
17
+ } from "./repository-cache-7x0c6mmr.js";
18
18
  import {
19
- ID7,
19
+ ID11,
20
20
  Family2
21
- } from "./pty-a3he3nyv.js";
21
+ } from "./repository-cache-j1fzn4b4.js";
22
22
  import {
23
23
  bootstrap2
24
- } from "./pty-pjvnvgmy.js";
24
+ } from "./repository-cache-pjvnvgmy.js";
25
25
 
26
26
  // src/plugin/provider/digitalocean.ts
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
29
29
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
30
- var providerID = ID8.make("digitalocean");
31
- var integrationID = ID9.make("digitalocean");
30
+ var providerID = ID12.make("digitalocean");
31
+ var integrationID = ID13.make("digitalocean");
32
32
  var methodID = MethodID2.make("browser");
33
33
  var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
34
34
  var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
148
148
  return;
149
149
  for (const router of loaded.routers) {
150
150
  const id = `router:${router.name}`;
151
- if (evt.get(providerID)?.models.has(ID7.make(id)))
151
+ if (evt.get(providerID)?.models.has(ID11.make(id)))
152
152
  continue;
153
153
  evt.models.update(providerID, id, (draft) => {
154
154
  draft.name = router.name;
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
159
159
  }
160
160
  });
161
161
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
162
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
162
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
163
163
  yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
164
164
  })
165
165
  });
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  render3
3
- } from "./pty-drwq78ky.js";
3
+ } from "./repository-cache-xfkkasph.js";
4
4
  import {
5
5
  __export
6
- } from "./pty-9rqn6x4v.js";
6
+ } from "./repository-cache-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/optimize.ts
9
9
  var exports_optimize = {};
@@ -13,7 +13,7 @@ __export(exports_optimize, {
13
13
  ArceePlugin: () => ArceePlugin2,
14
14
  KimiPlugin: () => KimiPlugin2,
15
15
  MetaPlugin: () => MetaPlugin2,
16
- OpenAIPlugin: () => OpenAIPlugin2,
16
+ OpenAIPlugin: () => OpenAIPlugin3,
17
17
  OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
18
18
  OptimizePlugin: () => exports_optimize,
19
19
  Plugins: () => Plugins2
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
374
374
  `;
375
375
 
376
376
  // src/plugin/optimize.ts
377
- var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
377
+ var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
378
378
  const id = model.id.toLowerCase();
379
379
  if (!id.includes("gpt"))
380
380
  return;
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
409
409
  return;
410
410
  return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
411
411
  });
412
- var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
412
+ var Plugins2 = [OpenAIPlugin3, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
413
413
  function make(id, optimize, mode = "override") {
414
414
  return define({
415
415
  id,
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
437
437
  });
438
438
  }
439
439
 
440
- export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
440
+ export { OpenAIPlugin3, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./pty-b7qnbf45.js";
4
+ } from "./repository-cache-m5gw4h36.js";
5
5
  import {
6
6
  optional2,
7
7
  statics2
8
- } from "./pty-922hggd3.js";
8
+ } from "./repository-cache-922hggd3.js";
9
9
  import {
10
10
  Ref4,
11
11
  Service80,
12
12
  node84
13
- } from "./pty-p87y7hpb.js";
13
+ } from "./repository-cache-jd97cc84.js";
14
14
  import {
15
15
  __export
16
- } from "./pty-9rqn6x4v.js";
16
+ } from "./repository-cache-9rqn6x4v.js";
17
17
 
18
18
  // src/rpc.ts
19
19
  var exports_rpc = {};
20
20
  __export(exports_rpc, {
21
21
  Rpc: () => exports_rpc,
22
- Service: () => Service57,
22
+ Service: () => Service21,
23
23
  define: () => define2,
24
- node: () => node60
24
+ node: () => node24
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 Service57 extends Context.Service()("@opencode/Rpc") {
30
+ class Service21 extends Context.Service()("@opencode/Rpc") {
31
31
  }
32
32
 
33
33
  class DeclaredError extends Error {
@@ -39,7 +39,7 @@ class DeclaredError extends Error {
39
39
  this.data = data;
40
40
  }
41
41
  }
42
- var layer = Layer.effect(Service57, Effect.gen(function* () {
42
+ var layer = Layer.effect(Service21, Effect.gen(function* () {
43
43
  const bus = yield* Service83;
44
44
  const location = yield* Service80;
45
45
  const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
@@ -123,9 +123,9 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
123
123
  }
124
124
  };
125
125
  };
126
- return Service57.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
126
+ return Service21.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
127
127
  }));
128
- var node60 = makeLocationNode({ service: Service57, layer, deps: [node87, node84] });
128
+ var node24 = makeLocationNode({ service: Service21, layer, deps: [node87, node84] });
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 { Service57, node60, exports_rpc, define2 };
213
+ export { Service21, node24, exports_rpc, define2 };